/* ============================================
   FAQ Page
   ============================================ */

/* --- Hero --- */
.faq-hero {
  padding: 10rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.faq-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(
    ellipse,
    rgba(99, 102, 241, 0.1) 0%,
    rgba(37, 99, 235, 0.04) 40%,
    transparent 70%
  );
  z-index: 0;
}

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

.faq-hero h1 {
  font-size: 3.5rem;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  margin-top: 1.5rem;
}

.faq-hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.75;
}

/* --- FAQ Section (Light) --- */
.faq-section {
  background: var(--bg-light);
  padding: 5rem 2rem 6rem;
}

.faq-section .container {
  max-width: 780px;
}

/* --- FAQ Groups --- */
.faq-group {
  margin-bottom: 3rem;
}

.faq-group:last-child {
  margin-bottom: 0;
}

.faq-group-title {
  font-family: 'Manrope', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

/* --- FAQ Item --- */
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 0.6rem;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.is-open {
  border-color: rgba(99, 102, 241, 0.2);
}

/* --- Question Button --- */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  line-height: 1.4;
  transition: color 0.3s;
}

.faq-question:hover {
  color: var(--neon-indigo);
}

.faq-icon {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-body-light);
  transition: transform 0.3s;
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  color: var(--neon-indigo);
}

/* --- Answer --- */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.4rem;
}

.faq-item.is-open .faq-answer {
  max-height: 300px;
  padding: 0 1.4rem 1.2rem;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--text-body-light);
  line-height: 1.75;
}

.faq-answer a {
  color: var(--neon-indigo);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  color: var(--neon-violet);
}

/* --- CTA reuse --- */
.cta-box {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
}

.cta-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .faq-hero {
    padding: 8rem 1.5rem 3rem;
  }

  .faq-hero h1 {
    font-size: 2.4rem;
  }

  .faq-section {
    padding: 3rem 1.5rem 4rem;
  }

  .faq-question {
    font-size: 0.9rem;
    padding: 1rem 1.1rem;
  }
}