/* FORWARD AI 페이지 전용 — 2026-11-09 대표 결정 V2-#52
   사이트 원칙(흑백만)의 예외: 이 페이지(와 홈의 FORWARD AI 띠·메뉴 점)만 색을 쓴다.
   [2026-11-09] ~~짙은 남색 + 따뜻한 갈색~~(276홀딩스와 너무 비슷하다는 대표 의견) → 차콜(#0b0d12) + 일렉트릭 블루(#3563e9, 강조 글자 #7aa2ff) — 대표 선택(4안 중 ②).
   참고: 276홀딩스 FLOW PAY, flowpoint FLOW PAY 화면 구성. 글꼴은 사이트와 같고, 큰 제목만 Pretendard 굵게.
   외부 스크립트·이미지 없음. 움직임은 CSS만, '움직임 줄이기' 설정이면 멈춘다. */

.page-forward-ai {
  --fa-navy: #0b0d12;
  --fa-navy-2: #161a23;
  --fa-navy-3: #1e2433;
  --fa-ink: #11141b;
  --fa-text: #3d4659;
  --fa-soft: #f3f5fa;
  --fa-line: #e2e5eb;
  --fa-accent: #7aa2ff;   /* 어두운 바탕 위 강조 글자 */
  --fa-btn: #3563e9;      /* 흰 글자 버튼 바탕 (대비 5:1 이상) */
  --fa-btn-h: #2347c5;
  --fa-radius: 16px;
}
.page-forward-ai main > section { border-bottom: 0; }
.fa h1, .fa h2, .fa h3, .fa-title { font-family: var(--sans); font-weight: 700; color: var(--fa-ink); letter-spacing: -0.02em; }

/* 버튼 */
.fa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 10px;
  font-family: var(--sans); font-size: 17px; font-weight: 600; text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.fa-btn-main { background: var(--fa-btn); color: #fff; border: 1px solid var(--fa-btn); }
.fa-btn-main:hover { background: var(--fa-btn-h); border-color: var(--fa-btn-h); }
.fa-btn-main::after { content: "→"; }
.fa-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); }
.fa-btn-ghost:hover { background: #fff; color: var(--fa-navy); }
.fa-btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 720px) { .fa-btn-row .fa-btn { flex: 1 1 100%; } }

/* 1. 첫 화면 */
.fa-hero { position: relative; overflow: hidden; background: var(--fa-navy); color: #fff; padding: 128px 0 120px; }
.fa-hero .wrap { position: relative; z-index: 1; }
.fa-hero .eyebrow { color: rgba(255,255,255,.72); }
.fa-hero h1 { color: #fff; font-size: clamp(52px, 9vw, 104px); line-height: 1; margin: 0 0 28px; letter-spacing: -0.035em; }
.fa-hero-lines { font-family: var(--sans); font-weight: 700; font-size: clamp(26px, 3.6vw, 40px); line-height: 1.35; letter-spacing: -0.02em; margin: 0 0 24px; color: #fff; }
.fa-hero-lines em { font-style: normal; color: var(--fa-accent); display: block; }
.fa-hero .sub { color: rgba(255,255,255,.82); max-width: 560px; font-size: 1.04em; margin: 0 0 44px; }
.fa-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.fa-bg span { position: absolute; display: block; border-radius: 6px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.06); }
.fa-bg span:nth-of-type(3n) { background: rgba(53,99,233,.18); }
.fa-bg span:nth-of-type(4n) { background: rgba(120,140,200,.10); }
.fa-bg .ln { position: absolute; left: -5%; right: -5%; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent); }
@media (prefers-reduced-motion: no-preference) {
  .fa-bg span { animation: fa-float 14s ease-in-out infinite alternate; }
  .fa-bg span:nth-of-type(2n) { animation-duration: 18s; animation-delay: -6s; }
  .fa-bg span:nth-of-type(3n) { animation-duration: 22s; animation-delay: -11s; }
  @keyframes fa-float { from { transform: translate(0, 0); opacity: .55; } to { transform: translate(-36px, 18px); opacity: 1; } }
}
@media (max-width: 720px) { .fa-hero { padding: 88px 0 80px; } .fa-bg span:nth-of-type(n+4) { display: none; } }

/* 공통 구간 */
.fa-sec { padding: 120px 0; }
.fa-sec.alt { background: var(--fa-soft); }
.fa-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.fa-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.3; margin: 0 0 14px; }
.fa-head p { color: var(--fa-text); margin: 0; }
@media (max-width: 720px) { .fa-sec { padding: 80px 0; } .fa-head { margin-bottom: 40px; } }

/* 2. 장점 카드 */
.fa-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fa-card { background: var(--fa-soft); border-radius: var(--fa-radius); padding: 32px 30px 34px; }
.fa-sec.alt .fa-card { background: #fff; border: 1px solid var(--fa-line); }
.fa-icon { width: 48px; height: 48px; border-radius: 12px; background: #e6edff; display: grid; place-items: center; margin-bottom: 22px; color: #2347c5; }
.fa-sec.alt .fa-icon { background: #e6edff; }
.fa-icon svg { width: 26px; height: 26px; }
.fa-card h3 { font-size: 21px; line-height: 1.45; margin: 0 0 10px; }
.fa-card p { color: var(--fa-text); font-size: 16.5px; line-height: 1.75; margin: 0; }
.fa-cards.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .fa-cards, .fa-cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fa-cards, .fa-cards.four { grid-template-columns: 1fr; } }

/* 3. 번호 카드 */
.fa-cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fa-case { background: #fff; border-radius: var(--fa-radius); padding: 32px 30px; box-shadow: 0 1px 2px rgba(15,26,46,.04), 0 8px 24px rgba(15,26,46,.05); }
.fa-case-top { display: flex; justify-content: space-between; align-items: flex-start; }
.fa-case-num { font-family: var(--sans); font-weight: 700; font-size: 40px; line-height: 1; color: #b8bfcc; letter-spacing: -0.02em; }
.fa-tag { font-size: 13px; line-height: 1; padding: 7px 10px; border-radius: 999px; background: var(--fa-soft); color: var(--fa-text); }
.fa-case h3 { font-size: 20px; line-height: 1.45; margin: 22px 0 20px; padding-bottom: 20px; border-bottom: 1px solid var(--fa-line); }
.fa-case dt { font-size: 13px; font-weight: 600; color: var(--fa-ink); margin: 0 0 6px; }
.fa-case dd { margin: 0 0 18px; color: var(--fa-text); font-size: 16px; line-height: 1.7; }
.fa-check { list-style: none; margin: 0; padding: 0; }
.fa-check li { position: relative; padding-left: 24px; margin: 0 0 6px; color: var(--fa-ink); font-size: 16px; line-height: 1.65; }
.fa-check li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--fa-btn); font-weight: 700; }
.fa-center { text-align: center; margin-top: 48px; }
.fa-center .fa-btn-main { min-width: 300px; }
@media (max-width: 960px) { .fa-cases { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
@media (max-width: 600px) { .fa-center .fa-btn-main { min-width: 0; width: 100%; } }

/* 4. 어두운 비교 상자 */
.fa-compare { background: linear-gradient(135deg, var(--fa-navy) 0%, #161c2b 100%); border-radius: 20px; padding: 48px; }
.fa-compare-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; }
.fa-col { padding: 34px 30px; }
.fa-col.before { background: rgba(0,0,0,.18); }
.fa-col.after { background: var(--fa-navy-3); }
.fa-col.effect { background: rgba(255,255,255,.04); border-left: 1px solid rgba(255,255,255,.06); }
.fa-col-label { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; margin: 0 0 22px; color: rgba(255,255,255,.62); }
.fa-col.effect .fa-col-label { color: var(--fa-accent); }
.fa-col dl { margin: 0; }
.fa-col dt { font-size: 14px; color: rgba(255,255,255,.62); margin: 0 0 4px; }
.fa-col dd { margin: 0 0 22px; font-family: var(--sans); font-weight: 700; font-size: 21px; line-height: 1.4; color: rgba(255,255,255,.72); }
.fa-col.after dd { color: #fff; }
.fa-col dd:last-child { margin-bottom: 0; }
.fa-effect { list-style: none; margin: 0; padding: 0; }
.fa-effect li { font-family: var(--sans); font-weight: 700; font-size: clamp(28px, 3vw, 38px); line-height: 1.2; color: var(--fa-accent); margin: 0 0 22px; letter-spacing: -0.02em; }
.fa-effect li small { display: block; font-size: 14px; font-weight: 400; color: rgba(255,255,255,.68); letter-spacing: 0; margin-top: 6px; }
.fa-note { color: var(--fa-text); font-size: 14.5px; margin: 0 0 14px; }
@media (max-width: 860px) {
  .fa-compare { padding: 20px; border-radius: 16px; }
  .fa-compare-grid { grid-template-columns: 1fr; }
  .fa-col.effect { border-left: 0; border-top: 1px solid rgba(255,255,255,.06); }
}

/* 5. 흐름도 */
.fa-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; max-width: 980px; margin: 0 auto; }
.fa-node { width: 168px; height: 168px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; margin: 0 auto;
  font-family: var(--sans); font-weight: 700; font-size: 21px; line-height: 1.35; color: var(--fa-ink); background: #fff; border: 1px solid #d5dae3; }
.fa-node small { display: block; font-size: 13px; font-weight: 500; color: var(--fa-text); margin-top: 4px; }
.fa-node.core { background: var(--fa-navy); border-color: var(--fa-navy); color: #fff; box-shadow: 0 10px 30px rgba(15,26,46,.25); }
.fa-node.core small { color: var(--fa-accent); }
.fa-node.partner { background: #3563e9; border-color: #3563e9; color: #fff; }
.fa-node.partner small { color: #fff; }
.fa-arrows { display: grid; gap: 14px; min-width: 150px; }
.fa-arrow { display: grid; gap: 6px; justify-items: center; }
.fa-arrow-line { width: 100%; height: 10px; position: relative; }
.fa-arrow-line::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1.5px; background: #9aa3b4; }
.fa-arrow-line::after { content: ""; position: absolute; top: 0; width: 8px; height: 8px; border-top: 1.5px solid #9aa3b4; border-right: 1.5px solid #9aa3b4; }
.fa-arrow.right .fa-arrow-line::after { right: 1px; transform: rotate(45deg); }
.fa-arrow.left .fa-arrow-line::after { left: 1px; transform: rotate(-135deg); }
.fa-arrow-label { font-size: 14.5px; color: var(--fa-ink); display: inline-flex; align-items: center; gap: 8px; text-align: center; line-height: 1.4; }
.fa-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--fa-navy); }
.fa-dot.t { background: #3563e9; }
.fa-flow-back { max-width: 980px; margin: 18px auto 0; text-align: center; }
.fa-flow-back .fa-arrow-label { justify-content: center; }
.fa-flow-back-line { height: 28px; margin: 0 16.6% 10px; border: 1.5px solid #9aa3b4; border-top: 0; border-radius: 0 0 14px 14px; position: relative; }
.fa-flow-back-line::after { content: ""; position: absolute; left: -5px; top: -2px; width: 8px; height: 8px; border-top: 1.5px solid #9aa3b4; border-left: 1.5px solid #9aa3b4; transform: rotate(45deg); }
@media (max-width: 860px) {
  .fa-flow { grid-template-columns: 1fr; gap: 18px; max-width: 360px; }
  .fa-node { width: 140px; height: 140px; font-size: 19px; }
  .fa-arrows { min-width: 0; }
  .fa-arrow-line { width: 10px; height: 34px; margin: 0 auto; }
  .fa-arrow-line::before { left: 4px; right: auto; top: 0; bottom: 0; width: 1.5px; height: auto; }
  .fa-arrow.right .fa-arrow-line::after { right: auto; left: 1px; top: auto; bottom: 1px; transform: rotate(135deg); }
  .fa-arrow.left .fa-arrow-line::after { left: 1px; top: 1px; transform: rotate(-45deg); }
  .fa-arrows { grid-template-columns: 1fr 1fr; }
  .fa-flow-back-line { display: none; }
}

/* 6. 3단계 줄 카드 */
.fa-steps { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 12px; }
.fa-step { display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--fa-line); border-radius: 12px; padding: 22px 26px; }
.fa-step-num { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--fa-navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.fa-step strong { display: block; font-size: 19px; font-weight: 700; color: var(--fa-ink); line-height: 1.4; }
.fa-step span.d { display: block; color: var(--fa-text); font-size: 16px; line-height: 1.6; margin-top: 2px; }
.fa-more { max-width: 820px; margin: 20px auto 0; text-align: center; }
.fa-more summary { display: inline-flex; align-items: center; gap: 8px; list-style: none; cursor: pointer; padding: 12px 22px; border: 1px solid #cfd4dd; border-radius: 10px; background: #fff; font-size: 15.5px; color: var(--fa-ink); }
.fa-more summary::-webkit-details-marker { display: none; }
.fa-more summary::after { content: "⌄"; font-size: 18px; line-height: 1; transform: translateY(-3px); }
.fa-more[open] summary::after { content: "⌃"; transform: translateY(3px); }
.fa-more ol { text-align: left; margin: 20px 0 0; padding: 26px 28px 26px 52px; background: #fff; border: 1px solid var(--fa-line); border-radius: 12px; }
.fa-more ol li { margin: 0 0 12px; color: var(--fa-text); font-size: 16px; line-height: 1.7; }
.fa-more ol li:last-child { margin: 0; }
.fa-more ol li strong { color: var(--fa-ink); }
.fa-disclaimer { max-width: 820px; margin: 24px auto 0; text-align: center; color: var(--fa-text); font-size: 14.5px; }

/* 7. 안심 카드 링크 */
.fa-link { text-align: center; margin: 36px 0 0; font-size: 16px; }
.fa-link a { color: var(--fa-ink); }

/* 8. FAQ — 사이트 공통 .faq를 이 페이지 글꼴·색에 맞춤 */
.fa-faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--fa-ink); }
.fa-faq summary { font-family: var(--sans); font-weight: 600; font-size: 18px; color: var(--fa-ink); }
.fa-faq .answer { color: var(--fa-text); }

/* 9. 마지막 문의 띠 */
.fa-cta { background: var(--fa-navy); color: #fff; text-align: center; padding: 112px 0; }
.fa-cta h2 { color: #fff; font-size: clamp(28px, 3.8vw, 44px); line-height: 1.3; margin: 0 0 16px; }
.fa-cta p { color: rgba(255,255,255,.78); margin: 0 0 40px; }
.fa-cta .fa-btn-row { justify-content: center; }
@media (max-width: 720px) { .fa-cta { padding: 80px 0; } }

/* 첫 화면 배경 무늬 위치 (CSP상 인라인 스타일을 쓰지 않으므로 여기서 지정) */
.fa-bg .l1 { top: 22%; transform: rotate(-4deg); }
.fa-bg .l2 { top: 55%; transform: rotate(3deg); }
.fa-bg .l3 { top: 80%; transform: rotate(-2deg); }
.fa-bg span:nth-of-type(1)  { top: 6%;  left: 62%; width: 48px; height: 30px; }
.fa-bg span:nth-of-type(2)  { top: 14%; left: 78%; width: 40px; height: 34px; }
.fa-bg span:nth-of-type(3)  { top: 30%; left: 70%; width: 56px; height: 34px; }
.fa-bg span:nth-of-type(4)  { top: 46%; left: 58%; width: 54px; height: 38px; }
.fa-bg span:nth-of-type(5)  { top: 40%; left: 88%; width: 36px; height: 30px; }
.fa-bg span:nth-of-type(6)  { top: 64%; left: 74%; width: 66px; height: 36px; }
.fa-bg span:nth-of-type(7)  { top: 74%; left: 52%; width: 44px; height: 28px; }
.fa-bg span:nth-of-type(8)  { top: 84%; left: 86%; width: 30px; height: 26px; }
.fa-bg span:nth-of-type(9)  { top: 10%; left: 40%; width: 34px; height: 24px; }
.fa-bg span:nth-of-type(10) { top: 58%; left: 94%; width: 40px; height: 40px; }
.fa-bg span:nth-of-type(11) { top: 24%; left: 92%; width: 52px; height: 26px; }
.fa-bg span:nth-of-type(12) { top: 88%; left: 64%; width: 50px; height: 30px; }
@media (max-width: 720px) { .fa-bg span:nth-of-type(-n+6) { left: auto; right: 4%; } }
