/* ============================================
   about/faq.html 页面专属样式
   ============================================ */


/* ---- FAQ Section ---- */
.faq-page {
  padding: 72px 20px;
  background: #f5f7fa;
}

.faq-page__inner {
  max-width: 1000px;
  margin: 0 auto;
}

.faq-page__intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 44px;
}

.faq-page__intro h2 {
  font-family: "Archivo", sans-serif;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 14px;
}

.faq-page__intro p {
  font-size: 15px;
  color: #616161;
  line-height: 1.8;
  margin: 0;
}

/* ---- Accordion ---- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item.is-open {
  border-color: rgba(76, 175, 80, 0.5);
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.1);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: "Archivo", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.5;
  transition: color 0.2s ease;
}

.faq-item__question:hover {
  color: #2e7d32;
}

.faq-item__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.12);
  color: #4caf50;
  font-size: 14px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
  background: #4caf50;
  color: #ffffff;
}

.faq-item__answer {
  display: none;
  padding: 0 24px 24px;
  font-size: 15px;
  color: #424242;
  line-height: 1.8;
}

.faq-item.is-open .faq-item__answer {
  display: block;
}

.faq-item__answer p {
  margin: 0 0 12px;
}

.faq-item__answer p:last-child {
  margin-bottom: 0;
}

.faq-item__answer ul,
.faq-item__answer ol {
  margin: 0 0 12px;
  padding-left: 22px;
}

.faq-item__answer li {
  margin-bottom: 6px;
}

.faq-item__answer li:last-child {
  margin-bottom: 0;
}

.faq-item__answer a {
  color: #4caf50;
  text-decoration: none;
  font-weight: 600;
}

.faq-item__answer a:hover {
  text-decoration: underline;
}

/* ---- Bottom CTA ---- */
.faq-cta {
  padding: 72px 20px;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  text-align: center;
}

.faq-cta h2 {
  font-family: "Archivo", sans-serif;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px;
}

.faq-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 30px;
}

.faq-cta .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.faq-cta .btn-primary {
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  background: #4caf50;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.faq-cta .btn-primary:hover {
  background: #43a047;
  transform: translateY(-2px);
}

.faq-cta .btn-outline {
  padding: 14px 34px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease;
  display: inline-block;
}

.faq-cta .btn-outline:hover {
  border-color: #4caf50;
  background: rgba(76, 175, 80, 0.12);
}

/* ---- Responsive ---- */
@media (max-width: 576px) {
  .faq-page {
    padding: 56px 16px;
  }

  .faq-page__intro {
    margin-bottom: 32px;
  }

  .faq-item__question {
    padding: 18px 18px;
    font-size: 15px;
  }

  .faq-item__answer {
    padding: 0 18px 20px;
  }
}
