/* FAQ Page Styles - 极简扁平硬朗风格 (4px精细版) - 字体放大版 */
body {
  background-color: #f7f9fc;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333333;
  margin: 0;
  padding: 0;
}

.faq-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 20px;
  box-sizing: border-box;
}

/* 主标题：居中加粗，配以精致的短底边装饰条 */
.faq-page-title {
  text-align: center;
  font-size: 26px; /* 放大至 26px */
  color: #0f294d; /* 统一使用首页深蓝黑色 */
  margin-top: 10px;
  margin-bottom: 45px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.faq-page-title::after {
  content: '';
  display: block;
  width: 32px;
  height: 3px;
  background-color: #2563eb; /* 首页标准蓝 */
  margin: 12px auto 0;
  border-radius: 2px;
}

.faq-page-category {
  margin-bottom: 40px;
}

/* 分类标题：左侧竖向蓝色指示条，替代突兀的横贯全屏底边线 */
.faq-page-category-title {
  font-size: 19px; /* 放大至 19px */
  color: #0f294d;
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 4px solid #2563eb; /* 竖向装饰线 */
  border-bottom: none; /* 去除生硬底线 */
  font-weight: 700;
  line-height: 1.25;
}

.faq-page-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-page-items-item {
  border: 1px solid #e2e8f0;
  border-radius: 4px; /* 统一 4px 圆角 */
  overflow: hidden;
  background: #ffffff;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.faq-page-items-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-color: #cbd5e0;
}

/* 问题条目：轻盈白底，配合顺滑的悬浮反馈 */
.faq-page-items-item-question {
  padding: 16px 20px;
  background: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  color: #2d3748;
  transition: all 0.2s ease;
  font-size: 15.5px; /* 放大至 15.5px */
}

.faq-page-items-item-question:hover {
  background: #f8fafc;
  color: #2563eb;
}

.faq-page-items-item-question-toggle {
  font-size: 20px;
  font-weight: 400;
  color: #a0aec0;
  transition: transform 0.25s ease, color 0.2s ease;
  user-select: none;
}

.faq-page-items-item-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease-in-out;
  background: #ffffff;
}

/* 展开状态的答案面板 */
.faq-page-items-item-answer-active {
  max-height: 1000px;
}

.faq-page-items-item-answer p {
  padding: 16px 20px;
  border-top: 1px solid #edf2f7; /* 把分割线和内边距都移入段落，避免动画期间容器高度计算错误产生黑线 */
  line-height: 1.7;
  color: #4a5568;
  margin: 0;
  font-size: 15px; /* 放大至 15px */
}

.faq-page-items-item-answer a {
  color: #2563eb;
  text-decoration: none;
  font-weight: 700;
}

.faq-page-items-item-answer a:hover {
  color: #0052cc;
  text-decoration: underline;
}

/* 展开状态的样式：使用优雅淡蓝渐变和局部蓝色高亮，避免整块纯蓝底色的生硬感 */
.faq-page-items-item-active {
  border-color: #2563eb; /* 展开时亮蓝边框 */
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.05);
}

.faq-page-items-item-active .faq-page-items-item-question {
  background: #f5f8ff; /* 极轻柔淡蓝背景 */
  color: #2563eb; /* 仅高亮字体 */
}

.faq-page-items-item-active .faq-page-items-item-question:hover {
  background: #ebf2ff;
}

.faq-page-items-item-active .faq-page-items-item-question-toggle {
  transform: rotate(45deg);
  color: #2563eb; /* 旋转的展开图标同样使用蓝色高亮 */
}

/* Responsive Design */
@media screen and (max-width: 767px) {
  .faq-page {
    padding: 30px 12px;
  }

  .faq-page-title {
    font-size: 22px;
  }

  .faq-page-category-title {
    font-size: 17.5px;
    margin-bottom: 15px;
    padding-left: 10px;
  }

  .faq-page-items-item-question {
    padding: 14px 16px;
    font-size: 14.5px;
  }

  .faq-page-items-item-answer p {
    font-size: 14px;
    line-height: 1.6;
  }
}