/* FAQ Page Styles */

/* ============================================
   HERO SECTION
   ============================================ */

.faq-hero {
  padding: 120px 20px 60px;
  background: var(--black);
  text-align: center;
}

.faq-hero .display-heading {
  font-size: clamp(2.5rem, 8vw, 5rem);
  line-height: 1.1;
}

/* ============================================
   FAQ PAGE SECTION
   ============================================ */

.faq-page-section {
  padding: 60px 20px 100px;
  background: var(--black);
}

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

/* ============================================
   FAQ CATEGORY
   ============================================ */

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

.faq-category-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--magenta);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  padding-bottom: 15px;
  border-bottom: 3px solid var(--magenta);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */

.faq-accordion {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid rgba(234, 0, 138, 0.3);
}

.faq-item:last-child {
  border-bottom: none;
}

/* Question Button */
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question span:first-child {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  padding-right: 20px;
  flex: 1;
  transition: color 0.3s ease;
}

.faq-question:hover span:first-child {
  color: var(--cyan);
}

/* Plus/Minus Icon */
.faq-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background-color: var(--magenta);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Horizontal line (always visible) */
.faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  transform: translateY(-50%);
}

/* Vertical line (rotates to form X when active) */
.faq-icon::after {
  top: 0;
  left: 50%;
  width: 3px;
  height: 100%;
  transform: translateX(-50%);
}

/* Active state - rotate to X */
.faq-item.active .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 20px;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  padding-right: 44px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.faq-cta {
  text-align: center;
  padding: 60px 0 0;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 15px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 768px) {
  .faq-hero {
    padding: 100px 20px 40px;
  }

  .faq-page-section {
    padding: 40px 15px 80px;
  }

  .faq-category-title {
    font-size: 1.5rem;
  }

  .faq-question {
    padding: 18px 0;
  }

  .faq-question span:first-child {
    font-size: 1rem;
  }

  .faq-icon {
    width: 20px;
    height: 20px;
  }

  .faq-answer p {
    font-size: 0.95rem;
    padding-right: 0;
  }

  .faq-cta {
    padding: 40px 0 0;
  }
}

@media (max-width: 480px) {
  .faq-hero {
    padding: 80px 15px 30px;
  }

  .faq-question {
    padding: 15px 0;
  }

  .faq-question span:first-child {
    font-size: 0.95rem;
  }

  .faq-answer p {
    font-size: 0.9rem;
    line-height: 1.7;
  }
}
