/* ============================================
   FAQ — Questions, Answered Plainly
   ============================================ */

.faq {
  position: relative;
  z-index: 2;
  padding: var(--space-32) var(--space-6);
}

.faq__inner {
  max-width: 860px;
  margin: 0 auto;
}

.faq__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.faq__header .section-label {
  justify-content: center;
}

.faq__header .section-headline span {
  background: linear-gradient(135deg, var(--blue-electric), var(--blue-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Accordion list ── */
.faq__list {
  display: flex;
  flex-direction: column;
}

/* ── Individual item ── */
.faq__item {
  border-bottom: 1px solid var(--glass-border);
}

.faq__item:first-child {
  border-top: 1px solid var(--glass-border);
}

/* Remove browser default disclosure triangle */
.faq__item summary {
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

/* ── Question row ── */
.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-6);
  padding: var(--space-6) 0;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
  transition: color var(--duration-fast) var(--ease-out);
}

/* ── +/× indicator ── */
.faq__question::after {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 163, 255, 0.08);
  border: 1px solid rgba(0, 163, 255, 0.18);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  color: var(--blue-electric);
  flex-shrink: 0;
  transition:
    transform 0.25s var(--ease-out),
    background 0.2s var(--ease-out);
}

/* ── Open state ── */
details[open] > .faq__question {
  color: var(--blue-electric);
}

details[open] > .faq__question::after {
  transform: rotate(45deg);
  background: rgba(0, 163, 255, 0.14);
}

/* Faint accent on the item row when open */
details[open].faq__item {
  border-bottom-color: rgba(0, 163, 255, 0.15);
}

/* ── Answer ── */
.faq__answer {
  padding-bottom: var(--space-6);
}

.faq__answer p {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 700px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .faq {
    padding: var(--space-20) var(--space-4);
  }

  .faq__question {
    font-size: var(--text-sm);
    padding: var(--space-5) 0;
    gap: var(--space-4);
  }

  .faq__question::after {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}
