/* FAQ页样式 */

/* Hero区域 */
.hero-section {
  background: var(--gradient-hero);
  color: var(--color-surface);
  padding: 140px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, color-mix(in srgb, var(--color-surface) 10%, transparent) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, color-mix(in srgb, var(--color-surface) 8%, transparent) 0%, transparent 40%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.hero-content .subtitle {
  font-size: 16px;
  margin-bottom: 12px;
  opacity: 0.95;
  font-weight: 300;
}

.hero-content .description {
  font-size: 15px;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 120px 0 80px;
  }

  .hero-content h1 {
    font-size: 28px;
    letter-spacing: 1px;
  }

  .hero-content .subtitle {
    font-size: 14px;
  }

  .hero-content .description {
    font-size: 14px;
  }
}

/* FAQ内容区 */
.faq-content {
  padding: 60px 0;
  background: var(--color-bg);
}

/* 分类区块 */
.faq-category {
  margin-bottom: 60px;
}

.faq-category:last-of-type {
  margin-bottom: 40px;
}

.category-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--color-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.category-icon {
  font-size: 32px;
}

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

/* FAQ项 */
.faq-item {
  background: var(--color-surface);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow);
  border-color: var(--color-primary);
}

.faq-question-wrapper {
  padding: 20px 24px 12px;
}

.faq-question {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
}

/* 答案区域 */
.faq-answer-wrapper {
  padding: 0 24px 20px;
}

.faq-answer {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin: 0;
}

/* CTA区域 */
.faq-cta {
  text-align: center;
  padding: 60px 40px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: 16px;
  color: #ffffff;
  margin-top: 60px;
}

.faq-cta h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.faq-cta p {
  font-size: 16px;
  margin-bottom: 24px;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
  background: #ffffff;
  color: var(--color-primary);
  border: 2px solid #ffffff;
}

.cta-buttons .btn-primary:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.cta-buttons .btn-outline:hover {
  background: #ffffff;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 992px) {
  .category-title {
    font-size: 24px;
  }

  .category-icon {
    font-size: 28px;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-answer {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .faq-content {
    padding: 40px 0;
  }

  .faq-category {
    margin-bottom: 40px;
  }

  .category-title {
    font-size: 22px;
  }

  .category-icon {
    font-size: 24px;
  }

  .faq-question-wrapper {
    padding: 16px 20px;
  }

  .faq-question {
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 20px 16px;
    font-size: 14px;
  }

  .faq-cta {
    padding: 40px 24px;
    margin-top: 40px;
  }

  .faq-cta h3 {
    font-size: 24px;
  }

  .faq-cta p {
    font-size: 14px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .category-title {
    font-size: 20px;
  }

  .faq-question-wrapper {
    padding: 14px 16px;
  }

  .faq-answer {
    padding: 0 16px 14px;
  }

  .faq-cta {
    padding: 30px 20px;
  }

  .faq-cta h3 {
    font-size: 22px;
  }
}
