/* ===== FAQ 页面样式 ===== */

.faq-section {
  padding-top: 3rem;
}

/* FAQ 导航 */
.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.faq-nav-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  background: #fff;
  border: 2px solid #E67E22;
  color: #E67E22;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.faq-nav-btn:hover,
.faq-nav-btn.active {
  background: #E67E22;
  color: #fff;
}

/* FAQ 分类 */
.faq-category {
  margin-bottom: 2rem;
}

.faq-cat-title {
  font-size: 1.6rem;
  color: #1A3A6B;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #E67E22;
  display: inline-block;
}

/* FAQ 列表 */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #eee;
  transition: box-shadow 0.2s;
}

.faq-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.faq-item.open {
  border-color: #E67E22;
}

/* 问题按钮 */
.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 500;
  color: #1A3A6B;
  font-family: 'Noto Sans SC', sans-serif;
}

.faq-question:hover {
  background: rgba(230,126,34,0.04);
}

.faq-q-text {
  flex: 1;
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 700;
  color: #E67E22;
  min-width: 20px;
  text-align: center;
  transition: transform 0.2s;
}

/* 答案 */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.5rem;
  color: #555;
  line-height: 1.8;
}

.faq-answer p {
  margin-bottom: 0.75rem;
}

.faq-answer ul,
.faq-answer ol {
  margin: 0.75rem 0 0.75rem 1.5rem;
}

.faq-answer li {
  margin-bottom: 0.4rem;
}

.faq-answer strong {
  color: #1A3A6B;
}

/* 对比表格 */
.faq-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.faq-compare h4 {
  font-size: 1rem;
  color: #E67E22;
  margin-bottom: 0.5rem;
}

.faq-compare ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faq-compare li {
  font-size: 0.9rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid #f0f0f0;
}

/* CTA 内链 */
.faq-cta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.faq-link {
  color: #E67E22;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.faq-link:hover {
  text-decoration: underline;
}

.faq-link-primary {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: #E67E22;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s;
}

.faq-link-primary:hover {
  background: #D35400;
}

/* 移动端 */
@media (max-width: 768px) {
  .faq-nav {
    gap: 0.5rem;
  }

  .faq-nav-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  .faq-cat-title {
    font-size: 1.3rem;
  }

  .faq-question {
    font-size: 0.95rem;
    padding: 1rem 1.2rem;
  }

  .faq-answer {
    font-size: 0.92rem;
    padding: 0 1.2rem;
  }

  .faq-compare {
    grid-template-columns: 1fr;
  }
}
