/* =========================================================
   RAG 기반 AI 에이전트 풀스택 서비스 개발 - 원페이지 과정 홍보
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --c-bg: #ffffff;
  --c-tint: #f5f7fc;
  --c-dark: #0b1020;
  --c-dark-2: #131a33;
  --c-text: #1b2033;
  --c-sub: #5a6178;
  --c-line: #e3e7f1;
  --c-primary: #5b5bf7;
  --c-primary-d: #4343e0;
  --c-accent: #12d6b0;
  --c-warm: #ff7a59;
  --grad: linear-gradient(100deg, #8b7bff 0%, #4f8bff 45%, #12d6b0 100%);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(18, 26, 60, .08);
  --shadow-lg: 0 24px 60px rgba(18, 26, 60, .16);

  --container: 1180px;
  --header-h: 68px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 999; padding: 10px 16px; background: var(--c-primary); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 15px; line-height: 1.2; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--c-primary); color: #fff; box-shadow: 0 8px 20px rgba(91, 91, 247, .35); }
.btn-primary:hover { background: var(--c-primary-d); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn-outline { color: var(--c-primary); border-color: var(--c-primary); background: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(11, 16, 32, .82); backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 18px; letter-spacing: -.02em; }
.logo-mark { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--grad); font-weight: 900; color: #0b1020; }
.logo-text b { font-weight: 800; }
.gnb { display: flex; gap: 26px; margin-left: auto; }
.gnb a { color: rgba(255, 255, 255, .72); font-size: 15px; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s; }
.gnb a:hover, .gnb a.is-active { color: #fff; border-color: var(--c-accent); }
.menu-toggle { display: none; }

/* ---------- 5. Hero ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--c-dark); padding: 88px 0 96px; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 380px at 85% 10%, rgba(91, 91, 247, .45), transparent 70%),
    radial-gradient(520px 360px at 10% 90%, rgba(18, 214, 176, .25), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 44px 44px;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.badge { display: inline-block; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.badge-accent { background: rgba(18, 214, 176, .16); border-color: rgba(18, 214, 176, .5); color: #7ff0d8; }
.hero h1 { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.18; letter-spacing: -.035em; font-weight: 800; }
.hero h1 em { font-style: normal; color: rgba(255, 255, 255, .55); }
.hero h1 em.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-course { margin-top: 18px; font-size: clamp(17px, 2vw, 21px); font-weight: 700; color: #c9ccff; }
.hero-sub { margin-top: 14px; color: rgba(255, 255, 255, .74); font-size: 17px; }
.hero-sub b { color: #fff; }
.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; max-width: 620px; }
.hero-facts li { padding: 14px 12px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.hero-facts strong { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.hero-facts small { font-size: 14px; margin-left: 2px; }
.hero-facts span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, .5); }
.br-pc { display: inline; }

/* countdown card */
.countdown-card { padding: 28px; border-radius: 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); box-shadow: var(--shadow-lg); backdrop-filter: blur(6px); }
.cd-label { font-weight: 700; color: #ffb39e; font-size: 15px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0 10px; text-align: center; }
.countdown div { padding: 12px 0 8px; border-radius: 12px; background: rgba(0, 0, 0, .3); }
.countdown b { display: block; font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.countdown span { font-size: 12px; color: rgba(255, 255, 255, .6); }
.cd-date { font-size: 13px; color: rgba(255, 255, 255, .6); }
.seat { margin: 22px 0; }
.seat-head { display: flex; justify-content: space-between; font-size: 14px; color: rgba(255, 255, 255, .75); margin-bottom: 8px; }
.seat-head b { color: #fff; }
.seat-bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.seat-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--c-warm), #ffb35c); border-radius: inherit; }
.cd-phone { display: block; margin-top: 14px; text-align: center; font-weight: 700; color: #fff; }
.cd-phone small { font-weight: 400; color: rgba(255, 255, 255, .55); }

/* ---------- 6. Sections common ---------- */
.section { padding: 104px 0; }
.section-tint { background: var(--c-tint); }
.section-dark { background: var(--c-dark); color: #fff; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--c-primary); margin-bottom: 14px; }
.section-dark .eyebrow { color: var(--c-accent); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.3; letter-spacing: -.03em; font-weight: 800; }
.section-lead { margin-top: 18px; color: var(--c-sub); font-size: 17px; }
.section-dark .section-lead { color: rgba(255, 255, 255, .7); }
.sub-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 64px 0 22px; }
.hl { color: var(--c-primary); }
.fine { margin-top: 18px; font-size: 13px; color: var(--c-sub); }

/* ---------- 7. Pain cards ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pain-card { padding: 30px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.pain-q { font-size: 19px; font-weight: 800; letter-spacing: -.02em; line-height: 1.45; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px dashed var(--c-line); }
.pain-a { color: var(--c-sub); }
.pain-a b { color: var(--c-text); }

/* ---------- 8. Info table ---------- */
.info-table-wrap { margin-top: 8px; }
.info-table { border-top: 2px solid var(--c-text); }
.info-table > div { display: grid; grid-template-columns: 180px 1fr; border-bottom: 1px solid var(--c-line); }
.info-table dt { padding: 18px 20px; background: var(--c-tint); font-weight: 700; }
.info-table dd { padding: 18px 20px; }
.info-table dd small { display: block; margin-top: 4px; color: var(--c-sub); font-size: 13px; }
.info-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* ---------- 9. Target + check ---------- */
.target-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.target-card { padding: 28px 24px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.target-card .ico { font-size: 30px; }
.target-card h3 { margin: 14px 0 8px; font-size: 18px; font-weight: 800; }
.target-card p { color: var(--c-sub); font-size: 15px; }
.check-box { display: grid; grid-template-columns: 300px 1fr; gap: 40px; margin-top: 48px; padding: 40px; border-radius: 22px; background: #fff; border: 2px solid var(--c-primary); }
.check-copy h3 { font-size: 22px; font-weight: 800; }
.check-copy p { margin-top: 10px; color: var(--c-sub); }
.check-form { display: grid; gap: 10px; }
.check-form label { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--c-tint); cursor: pointer; transition: background .2s; }
.check-form label:has(input:checked) { background: #ecebff; }
.check-form input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--c-primary); flex: none; }
.check-form small { color: var(--c-sub); }
.check-result { margin-top: 8px; padding: 14px 16px; border-radius: var(--radius-sm); font-weight: 700; background: var(--c-tint); color: var(--c-sub); }
.check-result.ok { background: #e3fbf5; color: #087a63; }
.check-result a { text-decoration: underline; }

/* ---------- 10. Architecture ---------- */
.arch { max-width: 860px; margin: 0 auto; display: grid; gap: 10px; }
.arch-layer { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 16px; }
.arch-split { grid-template-columns: 150px repeat(3, 1fr); }
.arch-tag { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--c-accent); text-transform: uppercase; }
.arch-box { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--c-dark-2); border: 1px solid rgba(255, 255, 255, .12); font-weight: 700; }
.arch-box small { display: block; font-weight: 400; font-size: 13px; color: rgba(255, 255, 255, .6); margin-top: 2px; }
.arch-core { background: linear-gradient(135deg, rgba(91, 91, 247, .5), rgba(18, 214, 176, .25)); border-color: rgba(139, 123, 255, .7); }
.arch-arrow { padding-left: 166px; color: rgba(255, 255, 255, .35); line-height: 1; }
.arch-base { margin-top: 12px; padding: 14px; text-align: center; border-radius: var(--radius-sm); border: 1px dashed rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .8); font-weight: 700; }
.stack { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 48px; }
.stack li { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }

/* ---------- 11. Curriculum ---------- */
.phase-bar { display: flex; height: 40px; border-radius: 999px; overflow: hidden; margin-bottom: 28px; font-size: 13px; font-weight: 700; color: #fff; }
.phase-bar i { font-style: normal; width: var(--w); display: grid; place-items: center; white-space: nowrap; overflow: hidden; padding: 0 8px; }
.phase-bar .p1 { background: #8b7bff; } .phase-bar .p2 { background: #5b5bf7; }
.phase-bar .p3 { background: #4f8bff; } .phase-bar .p4 { background: #12b896; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 24px; }
.tabs button { padding: 16px 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--c-line); background: #fff; cursor: pointer; font-weight: 800; font-size: 13px; letter-spacing: .06em; color: var(--c-primary); transition: all .2s; }
.tabs button span { display: block; margin-top: 4px; font-size: 16px; letter-spacing: -.01em; color: var(--c-text); }
.tabs button[aria-selected="true"] { background: var(--c-primary); border-color: var(--c-primary); color: #c9ccff; box-shadow: 0 10px 24px rgba(91, 91, 247, .3); }
.tabs button[aria-selected="true"] span { color: #fff; }
.tab-panel { padding: 32px; border-radius: 22px; background: var(--c-tint); }
.panel-goal { margin-bottom: 20px; font-size: 17px; }
.panel-goal b { display: inline-block; margin-right: 8px; padding: 2px 10px; border-radius: 6px; background: var(--c-text); color: #fff; font-size: 13px; vertical-align: 2px; }
.module-list { display: grid; gap: 12px; }
.module-list li { padding: 20px 24px; border-radius: var(--radius-sm); background: #fff; box-shadow: 0 2px 10px rgba(18, 26, 60, .04); }
.m-head { display: flex; align-items: center; gap: 14px; }
.m-no { font-weight: 900; color: var(--c-primary); font-size: 15px; }
.m-head h3 { font-size: 18px; font-weight: 800; letter-spacing: -.02em; flex: 1; }
.m-hour { padding: 3px 10px; border-radius: 999px; background: #ecebff; color: var(--c-primary); font-weight: 800; font-size: 13px; }
.module-list p { margin-top: 8px; padding-left: 33px; color: var(--c-sub); font-size: 15px; }

/* ---------- 12. Projects ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.proj-card { display: flex; flex-direction: column; padding: 30px 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--c-primary); }
.proj-card:nth-child(2) { border-top-color: #4f8bff; }
.proj-card:nth-child(3) { border-top-color: var(--c-accent); }
.proj-type { font-size: 13px; font-weight: 800; color: var(--c-primary); letter-spacing: .06em; }
.proj-card h3 { margin: 8px 0 12px; font-size: 21px; font-weight: 800; }
.proj-card > p:not(.proj-type) { color: var(--c-sub); flex: 1; }
.proj-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.proj-tech li { padding: 4px 10px; border-radius: 6px; background: var(--c-tint); font-size: 13px; font-weight: 600; }

/* ---------- 13. Support ---------- */
.money-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.money-card { padding: 32px 28px; border-radius: var(--radius); background: var(--c-tint); }
.money-label { font-weight: 700; color: var(--c-sub); }
.money-value { margin: 6px 0 14px; font-size: 30px; font-weight: 900; letter-spacing: -.03em; color: var(--c-primary); }
.money-desc { color: var(--c-sub); font-size: 15px; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: s; }
.steps li { position: relative; padding: 26px 20px; border-radius: var(--radius); border: 1px solid var(--c-line); background: #fff; }
.steps li b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: 15px; }
.steps h4 { margin: 14px 0 6px; font-size: 17px; font-weight: 800; }
.steps p { color: var(--c-sub); font-size: 14px; }

/* ---------- 14. Benefits + timeline ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit { padding: 26px 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.benefit h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.benefit h3::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: #e3fbf5; color: #087a63; font-size: 13px; }
.benefit p { color: var(--c-sub); font-size: 15px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, #8b7bff, #12d6b0); }
.timeline li { position: relative; padding: 44px 18px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 7px; left: 0; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--c-primary); }
.tl-when { font-size: 13px; font-weight: 800; color: var(--c-primary); }
.timeline h4 { margin: 4px 0 6px; font-size: 18px; font-weight: 800; }
.timeline p { color: var(--c-sub); font-size: 15px; }

/* ---------- 15. FAQ ---------- */
.faq { border-top: 2px solid var(--c-text); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { position: relative; padding: 22px 48px 22px 40px; font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 6px; top: 21px; font-weight: 900; color: var(--c-primary); }
.faq summary::after { content: "+"; position: absolute; right: 12px; top: 16px; font-size: 26px; font-weight: 300; color: var(--c-sub); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 24px 40px; color: var(--c-sub); }

/* ---------- 16. Apply ---------- */
.apply-inner { display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: start; }
.apply-copy h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.3; letter-spacing: -.03em; font-weight: 800; }
.apply-copy > p:not(.eyebrow) { margin-top: 18px; color: rgba(255, 255, 255, .7); }
.apply-contact { margin-top: 36px; display: grid; gap: 12px; }
.apply-contact li { display: flex; gap: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.apply-contact span { width: 76px; flex: none; color: rgba(255, 255, 255, .5); }
.apply-contact a { font-weight: 700; }
.apply-form { padding: 36px; border-radius: 22px; background: #fff; color: var(--c-text); box-shadow: var(--shadow-lg); }
.apply-form h3 { font-size: 22px; font-weight: 800; margin-bottom: 20px; }
.field { margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field > label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 14px; }
.field i { color: var(--c-warm); font-style: normal; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--c-line); background: #fff; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(91, 91, 247, .15); }
.field.has-error input { border-color: #e5484d; }
.err { min-height: 0; color: #e5484d; font-size: 13px; margin-top: 4px; }
.err:empty { display: none; }
.agree label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.agree input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--c-primary); flex: none; }
.agree-detail { margin: 6px 0 0 28px; font-size: 13px; color: var(--c-sub); }
.agree-detail summary { cursor: pointer; text-decoration: underline; }
.agree-detail p { margin-top: 6px; padding: 10px 12px; border-radius: 8px; background: var(--c-tint); }
.form-done { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: #e3fbf5; color: #087a63; font-weight: 700; }

/* ---------- 17. Footer ---------- */
.site-footer { padding: 48px 0 120px; background: #070a15; color: rgba(255, 255, 255, .5); font-size: 13px; }
.site-footer p + p { margin-top: 6px; }
.footer-logo { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.footer-links { display: flex; gap: 16px; margin-top: 14px !important; }
.footer-links b { color: rgba(255, 255, 255, .8); }
.copy { margin-top: 18px !important; }

/* ---------- 18. Floating CTA ---------- */
.floating { position: fixed; right: 24px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s, transform .3s; }
.floating.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.fl-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 76px; height: 76px; border-radius: 20px; font-size: 12px; font-weight: 800; box-shadow: var(--shadow-lg); transition: transform .15s; }
.fl-btn:hover { transform: translateY(-2px); }
.fl-btn span { font-size: 22px; line-height: 1; }
.fl-phone { background: #fff; color: var(--c-text); }
.fl-kakao { background: #fee500; color: #191919; }
.fl-apply { background: var(--c-primary); color: #fff; }
.fl-top { display: grid; place-items: center; width: 76px; height: 40px; border-radius: 14px; background: rgba(11, 16, 32, .8); color: #fff; font-weight: 800; }

/* ---------- 19. Reveal animation ---------- */
/* JS 가 실행될 때만 숨겼다가 보여준다 → JS 오류가 나도 내용은 보인다. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .countdown-card { max-width: 480px; }
  .target-grid, .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .apply-inner { grid-template-columns: 1fr; gap: 40px; }
  .apply-form { max-width: 560px; }
}

@media (max-width: 860px) {
  :root { --header-h: 60px; }
  .menu-toggle {
    display: grid; gap: 5px; margin-left: auto; width: 42px; height: 42px; place-content: center;
    background: none; border: 0; cursor: pointer;
  }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-cta { display: none; }
  .gnb {
    position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 20px;
    background: rgba(11, 16, 32, .97); border-bottom: 1px solid rgba(255, 255, 255, .08);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .2s;
  }
  .gnb.is-open { transform: none; opacity: 1; visibility: visible; }
  .gnb a { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); font-size: 16px; }
  .gnb a.is-active { border-bottom-color: rgba(255, 255, 255, .06); color: var(--c-accent); }

  .section { padding: 76px 0; }
  .section-head { margin-bottom: 40px; }
  .hero { padding: 56px 0 64px; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .br-pc { display: none; }
  .pain-grid, .proj-grid, .money-grid { grid-template-columns: 1fr; }
  .check-box { grid-template-columns: 1fr; gap: 20px; padding: 28px 22px; }
  .info-table > div { grid-template-columns: 1fr; }
  .info-table dt { padding: 12px 16px; }
  .info-table dd { padding: 12px 16px 16px; }
  .tabs { grid-template-columns: repeat(2, 1fr); }
  .tab-panel { padding: 20px; }
  .module-list p { padding-left: 0; }
  .phase-bar { flex-direction: column; height: auto; border-radius: 14px; }
  .phase-bar i { width: 100%; padding: 8px; }
  .arch-layer, .arch-split { grid-template-columns: 1fr; gap: 6px; }
  .arch-arrow { padding-left: 0; text-align: center; }
  .steps { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 24px; margin-top: 40px; }
  .timeline::before { top: 0; bottom: 0; left: 8px; right: auto; width: 2px; height: auto; }
  .timeline li { padding: 0 0 0 40px; }
  .timeline li::before { top: 2px; }

  /* 모바일 : 화면 아래 고정 바 */
  .floating { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08); }
  .fl-btn { flex: 1; width: auto; height: 52px; flex-direction: row; gap: 6px; border-radius: 12px; font-size: 14px; box-shadow: none; margin: 0 4px; }
  .fl-btn span { font-size: 16px; }
  .fl-phone { background: var(--c-tint); }
  .fl-top { display: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .target-grid, .benefit-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .countdown b { font-size: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .apply-form { padding: 26px 20px; }
  .faq summary { font-size: 16px; padding-right: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
