.faq-content {
  --background: #f4f5f8; /* 设置内容区域的背景色 */
  padding: 16px;
}

ion-title {
  color:#3880ff;
  font-weight: bold;
  text-align: left;
}

.faq-list {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #eaf5ff, #fff); /* 渐变背景 */
}

.faq-accordion-group {
  background-color: #fff;
}

.faq-accordion {
  --background: #fff; /* 默认关闭时的背景色 */
  transition: background-color 0.3s ease;

  &[expanded] {
    --background: #f9f9f9; /* 展开时的背景色 */
  }
}

.faq-item-header {
  --color: #333; /* 文本颜色 */
  --border-width: 0;
  --padding-start: 16px;
  --padding-end: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;

  &:hover {
    background-color: #f0f0f0;
  }

  &[expanded] {
    --color: #3880ff; /* 展开时的文本颜色 */
    background-color: #eaf5ff;
  }

  &::after {
    content: "▼"; /* 关闭时显示向下的箭头 */
    float: right;
    margin-top: 4px;
    color: #333;
    transition: transform 0.3s ease;
  }

  &[expanded]::after {
    content: "▲"; /* 展开时显示向上的箭头 */
    color: #3880ff;
    transform: rotate(-180deg);
  }

  ion-icon {
    margin-right: 8px;
    color: #3880ff;
    font-size: 1.2rem;
  }
}

.faq-item-content {
  padding: 16px;
  border-top: 1px solid #eaeaea;
  background-color: #f9f9f9;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 分隔线 */
.faq-accordion:not(:last-child) .faq-item-header {
  border-bottom: 1px solid #eaeaea;
}

/* 页面顶部标题 */
.faq-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 24px;
  color: #333;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffcc00, #ff9900);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 添加一个欢迎信息 */
.welcome-message {
  text-align: center;
  margin-bottom: 24px;
  color: #666;
  font-size: 1.2rem;
  font-weight: 300;
}