/* ============================================
   FAQ Section
   ============================================ */

.faq {
  position: relative;
  padding: clamp(6rem, 10vh, 12rem) 0;
  background-color: #0A0E27;
  overflow: hidden;
}

.faq__inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq__heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  color: #ffffff;
  line-height: 1;
  margin: 1.5rem 0 4rem;
  letter-spacing: 0.02em;
}

/* FAQ List */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* FAQ Item */
.faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease;
}

.faq__item:last-child {
  border-bottom: none;
}

/* Question (Label) */
.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  cursor: pointer;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  user-select: none;
  transition: color 0.3s ease;
}

.faq__question:hover {
  color: #4d65ff;
}

.faq__question span {
  flex: 1;
  padding-right: 2rem;
}

/* Icon */
.faq__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #4d65ff;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Answer Container */
.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.faq__answer-inner {
  min-height: 0;
}

.faq__answer-inner p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  padding: 0 0 2rem 0;
  margin: 0;
}

/* Expanded State */
.faq__toggle:checked ~ .faq__question .faq__icon {
  transform: rotate(180deg);
}

.faq__toggle:checked ~ .faq__answer {
  grid-template-rows: 1fr;
}

.faq__toggle:checked ~ .faq__question {
  color: #4d65ff;
}

/* Active Item Accent */
.faq__toggle:checked ~ .faq__question::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #4d65ff 0%, rgba(77, 101, 255, 0.3) 100%);
}

/* Tablet and Below */
@media (max-width: 768px) {
  .faq {
    padding: clamp(4rem, 8vh, 6rem) 0;
  }

  .faq__heading {
    margin: 1rem 0 3rem;
  }

  .faq__question {
    padding: 1.5rem 0;
    font-size: 1.125rem;
  }

  .faq__question span {
    padding-right: 1rem;
  }

  .faq__answer-inner p {
    padding-bottom: 1.5rem;
    font-size: 1rem;
  }

  .faq__icon {
    width: 20px;
    height: 20px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .faq {
    padding: 4rem 0;
  }

  .faq__heading {
    font-size: 2.5rem;
    margin: 0.75rem 0 2rem;
  }

  .faq__question {
    padding: 1.25rem 0;
  }
}

/* Blue accent line at top */
.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 101, 255, 0.6), transparent);
  z-index: 1;
}

/* Subtle radial glow behind heading */
.faq__heading {
  text-shadow: 0 0 60px rgba(77, 101, 255, 0.15);
}

/* FAQ items - stronger hover state */
.faq__item:hover {
  border-color: rgba(77, 101, 255, 0.4);
  background: rgba(77, 101, 255, 0.05);
}
