@import url('./styles-home.css');

/* FAQ HERO */
.faq-hero {
  margin: 100px 0 80px;
  padding: 0;
}

.faq-hero .container {
  text-align: center;
}

.faq-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.faq-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* FAQ SECTION - Landing Page */
#faq.section {
  padding: var(--spacing-section-large-desktop) 0;
}

#faq.section h2 {
  font-size: var(--font-h2-size);
  line-height: var(--font-h2-line-height);
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: var(--spacing-title-subtitle);
  text-align: left;
}

#faq.section .section-subtitle {
  margin-bottom: var(--spacing-subtitle-content-large);
}

.faq-container {
  display: flex;
  flex-direction: column;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 0;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(17, 24, 39, 0.6);
}

.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.faq-toggle:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-toggle:focus,
.faq-toggle:focus-visible,
.faq-toggle:active {
  outline: none;
  box-shadow: none;
}

.faq-item:focus,
.faq-item:focus-visible,
.faq-item:active,
.faq-item[aria-expanded="true"] {
  outline: none;
  box-shadow: none;
  border-color: var(--border-subtle);
}

.faq-question {
  font-size: var(--font-body-size);
  font-weight: 500;
  color: var(--text-main);
  margin: 0;
  flex: 1;
  padding-right: 16px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--accent-primary);
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-toggle[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
  padding: 0 24px;
}

.faq-toggle[aria-expanded="true"] + .faq-content {
  padding-top: 0;
  padding-bottom: 24px;
}

.faq-answer {
  font-size: 15px;
  font-weight: var(--font-body-weight);
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
  opacity: 0.9;
}

/* FAQ CTA */
.faq-cta {
  padding: 96px 0;
  border-top: 1px solid var(--border-subtle);
}

.faq-cta .container {
  text-align: center;
}

.faq-cta h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 24px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .faq-hero {
    margin: 80px auto 64px;
  }

  .faq-hero h1 {
    font-size: 2rem;
  }

  #faq.section {
    padding: 96px 0;
  }

  .faq-section {
    padding: 0 20px 72px;
  }

  .faq-accordion {
    gap: 12px;
  }

  .faq-toggle {
    padding: 20px;
  }

  .faq-question {
    font-size: 15px;
    padding-right: 12px;
  }

  .faq-icon {
    font-size: 1.25rem;
    width: 20px;
    height: 20px;
  }

  .faq-content {
    padding: 0 20px;
  }

  .faq-toggle[aria-expanded="true"] + .faq-content {
    padding: 0 20px 20px;
  }

  .faq-cta {
    padding: 72px 20px;
  }

  .faq-cta h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .faq-hero {
    margin: 64px 0 48px;
  }

  .faq-hero h1 {
    font-size: 1.75rem;
  }

  .faq-subtitle {
    font-size: 1rem;
  }

  #faq.section {
    padding: var(--spacing-section-large-mobile) 0;
  }

  .faq-section {
    padding: 0 0 56px;
  }

  .faq-accordion {
    gap: 12px;
  }

  .faq-toggle {
    padding: 18px;
  }

  .faq-question {
    font-size: 15px;
  }

  .faq-answer {
    font-size: 14px;
    line-height: 1.7;
  }

  .faq-cta {
    padding: 56px 20px;
  }

  .faq-cta h2 {
    font-size: 1.5rem;
  }
}
