/* AICreator FAQ Section(TASK-010) — 독립 CSS, fq- 프리픽스.
   Pricing과 같은 다크 톤을 이어받아 Final CTA로 자연스럽게 연결된다. */

.fq-root {
  --fq-bg-0: #05060a;
  --fq-bg-1: #0a0d16;
  --fq-text: #f8fafc;
  --fq-text-dim: rgba(248, 250, 252, 0.72);
  --fq-text-faint: rgba(248, 250, 252, 0.45);
  --fq-border: rgba(255, 255, 255, 0.12);
  --fq-accent-a: #5b7cff;
  --fq-accent-c: #22d3ee;
  --fq-ease: cubic-bezier(0.16, 1, 0.3, 1);

  position: relative;
  background: linear-gradient(180deg, var(--fq-bg-1), var(--fq-bg-0));
  color: var(--fq-text);
  padding: clamp(64px, 9vw, 120px) max(24px, 4vw);
  font-family: 'Noto Sans KR', sans-serif;
}
.fq-root * { box-sizing: border-box; }
.fq-container { max-width: 760px; margin: 0 auto; }

.fq-heading { text-align: center; margin: 0 auto clamp(40px, 6vw, 64px); }
.fq-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #8b9bff; margin-bottom: 16px; }
.fq-title { font-size: clamp(1.9rem, 3.2vw, 2.6rem); font-weight: 800; margin: 0; word-break: keep-all; }

.fq-list { display: flex; flex-direction: column; gap: 12px; }
.fq-item {
  border: 1px solid var(--fq-border); border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  transition: border-color 0.25s var(--fq-ease);
}
.fq-item:has(.fq-question[aria-expanded="true"]) { border-color: rgba(91,124,255,0.4); }

.fq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: transparent; border: none; text-align: left; cursor: pointer;
  font-size: 15.5px; font-weight: 700; color: var(--fq-text);
}
.fq-question:hover { background: rgba(255,255,255,0.03); }
.fq-question:focus-visible { outline: 2px solid var(--fq-accent-c); outline-offset: -2px; }

.fq-chevron { flex-shrink: 0; width: 20px; height: 20px; color: var(--fq-text-faint); transition: transform 0.3s var(--fq-ease); }
.fq-chevron svg { width: 20px; height: 20px; }
.fq-question[aria-expanded="true"] .fq-chevron { transform: rotate(180deg); color: var(--fq-accent-c); }

.fq-panel { padding: 0 24px 22px; }
.fq-answer { font-size: 14px; color: var(--fq-text-dim); line-height: 1.7; margin: 0; word-break: keep-all; }
.fq-inline-link { color: var(--fq-accent-c); text-decoration: underline; }

/* ── Scroll-reveal 초기 상태(FOUC 방지, JS가 IntersectionObserver로 in) ── */
.fq-reveal { opacity: 0; }

/* ── Reduced Motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .fq-root *, .fq-root *::before, .fq-root *::after { transition-duration: 0.1s !important; animation-duration: 0.1s !important; }
  .fq-reveal { opacity: 1 !important; transform: none !important; }
}

@media (max-width: 640px) {
  .fq-question { padding: 16px 18px; font-size: 14.5px; }
  .fq-panel { padding: 0 18px 18px; }
}
