/* ============================================================
   SPACEMAN TECHNOLOGIES — FAQ Section
   ============================================================ */

/* ── FAQ SECTION ─────────────────────────────────────────────── */
#faq {
  position: relative;
  padding: var(--sp-80) 0;
  background: var(--color-deep-space);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-header {
  text-align: center;
  margin-bottom: var(--sp-64);
}

.faq-header h2 {
  font-family: var(--font-playfair);
  font-size: clamp(30px, 4vw, var(--text-heading));
  color: var(--color-pure-white);
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-16);
}

.faq-header p {
  color: var(--color-fog);
  max-width: 600px;
  margin: 0 auto;
  font-style: italic;
}

.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.faq-item:hover {
  border-color: rgba(0, 240, 255, 0.25);
  background: rgba(255, 255, 255, 0.04);
}

.faq-item.active {
  border-color: rgba(0, 240, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(0, 240, 255, 0.08);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: #ffffff;
  font-family: var(--font-montserrat);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  gap: 16px;
  transition: color 0.25s ease;
  user-select: none;
}

.faq-question:hover {
  color: #00f0ff;
}

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  font-size: 20px;
  line-height: 1;
  color: #00f0ff;
  font-weight: 300;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  user-select: none;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: rgba(255, 209, 102, 0.15);
  border-color: rgba(255, 209, 102, 0.5);
  color: #ffd166;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.28s ease, padding 0.35s ease;
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  opacity: 1;
  padding: 0 28px 24px 28px;
}

.faq-answer p {
  font-family: var(--font-source);
  font-size: 15px;
  line-height: 1.7;
  color: #cbd5e1;
  margin: 0;
  padding-top: 4px;
}

@media (max-width: 768px) {
  .faq-question { padding: 18px 20px; font-size: 14px; }
  .faq-icon { width: 28px; height: 28px; font-size: 18px; }
  .faq-answer { padding: 0 20px; }
  .faq-item.active .faq-answer { padding: 0 20px 20px 20px; }
}
