/* ============================================================
 * 서비스 소개(랜딩) — 초등 한자 어휘 학습 플랫폼
 * Self-contained marketing styles on Wanted/Pretendard tokens.
 * ============================================================ */
:root {
  --blue-50:#f0f6ff;--blue-100:#d6e6ff;--blue-200:#a3c8ff;--blue-400:#3b89ff;--blue-500:#0066ff;--blue-600:#0052cc;--blue-700:#003e99;--blue-800:#002966;--blue-900:#001533;
  --amber-50:#fff7e8;--amber-100:#ffeac2;--amber-200:#ffd684;--amber-400:#fbab1f;--amber-500:#f59e0b;--amber-600:#d97706;--amber-700:#b45309;
  --green-500:#00bf40;--green-600:#009a36;--green-50:#e6f9ec;--violet-500:#6b4dff;--violet-50:#efebff;--red-500:#ff4242;
  --n-99:#fafafa;--n-98:#f7f7f8;--n-96:#f1f1f5;--n-94:#ebebef;--n-90:#dcdce0;--n-60:#76787d;--n-40:#46474c;--n-20:#1f2024;--n-10:#131418;
  --ink:#131418;--ink-2:#46474c;--ink-3:#76787d;
  --navy:#0f1b2e;--navy-2:#16263f;
  --font:"Pretendard Variable",Pretendard,"Noto Sans KR",system-ui,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;
  --sh-1:0 1px 2px rgba(20,25,30,.04),0 0 0 1px rgba(20,25,30,.04);
  --sh-2:0 4px 14px rgba(20,25,30,.08);
  --sh-3:0 16px 44px rgba(20,25,30,.12);
  --sh-4:0 30px 70px rgba(15,27,46,.22);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; font-feature-settings:"ss03","case","tnum"; line-height: 1.6; word-break: keep-all; }
.tnum { font-variant-numeric: tabular-nums; }
.han { font-family: var(--font); }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

/* ---------- NAV ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--n-94); }
.nav-in { display: flex; align-items: center; gap: 14px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; white-space: nowrap; flex: none; }
.logo .mark { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(150deg,#5b9bff,#0066ff); display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 18px; flex: none; }
.nav .links { display: flex; gap: 28px; margin-left: 28px; flex: none; }
.nav .links a { font-size: 14.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.nav .links a:hover { color: var(--blue-600); }
.nav .right { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-weight: 700; border: 0; border-radius: 12px; cursor: pointer; white-space: nowrap; transition: transform .12s, background .12s, box-shadow .12s; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-md { height: 52px; padding: 0 24px; font-size: 16px; }
.btn-lg { height: 60px; padding: 0 32px; font-size: 18px; border-radius: 14px; }
.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 3px 0 var(--blue-700); }
.btn-primary:hover { background: var(--blue-600); }
.btn-accent { background: var(--amber-500); color: #3a2200; box-shadow: 0 3px 0 var(--amber-700); }
.btn-accent:hover { background: var(--amber-600); color:#3a2200; }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--n-96); }
.btn-white { background: #fff; color: var(--blue-700); box-shadow: var(--sh-2); }
.btn-white:hover { background: var(--blue-50); }

/* ---------- HERO ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% -10%, #e7f0ff 0%, #fff 55%); padding: 70px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: var(--amber-50); color: var(--amber-700); font-weight: 700; font-size: 13.5px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--amber-200); }
.h1 { font-size: 52px; line-height: 1.14; font-weight: 800; letter-spacing: -.03em; margin: 20px 0 0; }
.h1 .hl { color: var(--blue-500); }
.h1 . amber { color: var(--amber-600); }
.lead { font-size: 18.5px; color: var(--ink-2); margin-top: 18px; max-width: 520px; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 34px; }
.hero-stats .st b { font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.hero-stats .st span { font-size: 13px; color: var(--ink-3); font-weight: 600; }

/* hero visual */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 540px; }
.hero-phone { position: relative; z-index: 2; }
.blob { position: absolute; border-radius: 50%; filter: blur(8px); opacity: .5; }
.blob.b1 { width: 240px; height: 240px; background: #cfe2ff; top: 30px; left: 10px; }
.blob.b2 { width: 200px; height: 200px; background: #ffe6b8; bottom: 40px; right: 20px; }
.float-card { position: absolute; z-index: 3; background: #fff; border-radius: 16px; box-shadow: var(--sh-3); padding: 13px 15px; display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; white-space: nowrap; }
.float-card .fic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.fc-xp { top: 64px; left: -8px; }
.fc-level { bottom: 120px; right: -16px; }
.fc-correct { bottom: 40px; left: 6px; }

/* ---------- SECTION SHELL ---------- */
.section { padding: 88px 0; }
.section.alt { background: linear-gradient(180deg,#f6f9ff,#fff); }
.section.navy { background: linear-gradient(160deg,var(--navy),var(--navy-2)); color: #fff; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 14px; }
.h2 { font-size: 36px; line-height: 1.25; font-weight: 800; letter-spacing: -.025em; }
.sec-sub { font-size: 17px; color: var(--ink-3); margin-top: 14px; }

/* feature value cards */
.val-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.val-card { background: #fff; border: 1px solid var(--n-94); border-radius: 18px; padding: 24px; box-shadow: var(--sh-1); }
.val-card .vic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.val-card h3 { font-size: 17px; font-weight: 800; margin: 0 0 6px; }
.val-card p { font-size: 14px; color: var(--ink-3); margin: 0; }

/* ---------- ROLE BLOCK ---------- */
.role { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.role + .role { margin-top: 110px; }
.role.flip .role-copy { order: 2; }
.role-tag { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.role-tag.student { background: var(--blue-50); color: var(--blue-700); }
.role-tag.teacher { background: var(--violet-50); color: var(--violet-500); }
.role-tag.school { background: var(--green-50); color: var(--green-600); }
.role h2 { font-size: 32px; font-weight: 800; letter-spacing: -.02em; margin: 18px 0 0; line-height: 1.2; }
.role .role-lead { font-size: 16.5px; color: var(--ink-2); margin-top: 14px; }
.flist { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.flist li { display: flex; gap: 14px; align-items: flex-start; }
.flist .fchk { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; margin-top: 1px; }
.flist b { font-size: 15.5px; font-weight: 700; display: block; }
.flist span { font-size: 14px; color: var(--ink-3); }

/* shot frames */
.shot { position: relative; }
.browser { background: #fff; border-radius: 16px; box-shadow: var(--sh-3); border: 1px solid var(--n-90); overflow: hidden; }
.browser .bbar { height: 40px; background: var(--n-98); border-bottom: 1px solid var(--n-94); display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.browser .dots { display: flex; gap: 6px; }
.browser .dots i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.browser .url { margin-left: 10px; height: 24px; flex: 1; background: #fff; border: 1px solid var(--n-94); border-radius: 7px; display: flex; align-items: center; padding: 0 12px; font-size: 12px; color: var(--ink-3); }
.iframe-clip { overflow: hidden; background: #f5f7fa; }
.iframe-clip iframe { border: 0; display: block; transform-origin: top left; pointer-events: none; }
.phone-shot { display: grid; place-items: center; }
.phone-frame { border-radius: 44px; background: #0f1b2e; padding: 12px; box-shadow: var(--sh-4); }
.phone-frame .screen-clip { border-radius: 34px; overflow: hidden; background: #eef4ff; position: relative; }
.phone-frame .notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 110px; height: 22px; background: #0f1b2e; border-radius: 999px; z-index: 5; }
.phone-frame iframe { border: 0; display: block; transform-origin: top left; pointer-events: none; }
.shot-cap { text-align: center; margin-top: 16px; font-size: 13px; color: var(--ink-3); font-weight: 600; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; background: linear-gradient(150deg,var(--blue-600),var(--blue-800)); color: #fff; border-radius: 30px; padding: 64px 40px; text-align: center; }
.cta::before { content:""; position:absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(245,158,11,.22); top: -120px; right: -80px; filter: blur(10px); }
.cta::after { content:""; position:absolute; width: 300px; height: 300px; border-radius: 50%; background: rgba(91,155,255,.3); bottom: -140px; left: -60px; filter: blur(10px); }
.cta-in { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.cta .pill { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.25); }
.cta h2 { font-size: 42px; font-weight: 900; letter-spacing: -.03em; margin: 18px 0 0; line-height: 1.15; }
.cta p { font-size: 18px; color: #d6e6ff; margin-top: 16px; }
.cta-form { display: flex; gap: 10px; max-width: 480px; margin: 30px auto 0; }
.cta-form input { flex: 1; height: 60px; border-radius: 14px; border: 0; padding: 0 20px; font-size: 16px; font-family: inherit; background: rgba(255,255,255,.95); color: var(--ink); }
.cta-form input:focus { outline: 3px solid rgba(255,255,255,.5); }
.cta-note { margin-top: 16px; font-size: 13.5px; color: #a3c8ff; display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.cta-note span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- FOOTER ---------- */
.foot { background: var(--navy); color: #9fb1c9; padding: 48px 0 36px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot .logo { color: #fff; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col b { color: #fff; font-size: 13px; display: block; margin-bottom: 12px; }
.foot-col a { display: block; font-size: 13.5px; margin-bottom: 9px; color: #9fb1c9; }
.foot-col a:hover { color: #fff; }
.foot-base { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12.5px; color: #6f8197; }

/* responsive */
@media (max-width: 920px) {
  .hero-grid, .role { grid-template-columns: 1fr; }
  .role.flip .role-copy { order: 0; }
  .h1 { font-size: 38px; }
  .val-grid { grid-template-columns: 1fr 1fr; }
  .nav .links { display: none; }
  .hero-visual { min-height: 460px; }
}
@media (max-width: 560px) {
  .val-grid { grid-template-columns: 1fr; }
  .cta-form { flex-direction: column; }
  .h1 { font-size: 32px; }
  .cta h2 { font-size: 30px; }
}

/* ============================================================
 * MOCK "SCREENSHOTS" (self-contained, no iframe)
 * ============================================================ */
/* phone */
.m-screen { width: 320px; height: 640px; background: #eef4ff; border-radius: 36px; overflow: hidden; display: flex; flex-direction: column; font-size: 14px; }
.m-status { height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 22px; font-size: 12.5px; font-weight: 700; color: #46474c; }
.m-body { flex: 1; padding: 4px 16px 16px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.m-row { display: flex; align-items: center; gap: 10px; }
.m-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--sh-1); }
.m-card.amber { border: 1.5px solid var(--amber-200); background: linear-gradient(180deg,#fffdf7,#fff); }
.m-streak { display: inline-flex; align-items: center; gap: 4px; background: #fff3ec; color: #ff7a45; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.m-xp { height: 13px; border-radius: 999px; background: var(--blue-100); overflow: hidden; }
.m-xp > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg,#3b89ff,#0066ff); }
.m-hex { width: 38px; height: 42px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 13px; flex: none; clip-path: polygon(50% 0,100% 26%,100% 74%,50% 100%,0 74%,0 26%); background: linear-gradient(160deg,#5b9bff,#0066ff); }
.m-glyph { display: grid; place-items: center; border-radius: 14px; background: linear-gradient(160deg,#fff6e3,#ffe9c2); border: 1.5px solid var(--amber-200); color: var(--amber-700); font-weight: 800; flex: none; }
.m-chip { background: #f1f1f5; color: #46474c; font-weight: 700; font-size: 13px; padding: 6px 11px; border-radius: 8px; }
.m-mini-btn { background: var(--amber-500); color: #4a2c00; font-weight: 800; font-size: 13px; padding: 8px 14px; border-radius: 10px; flex: none; white-space: nowrap; }
.m-mascot { width: 44px; height: 44px; flex: none; }
.m-tabbar { height: 60px; background: #fff; border-top: 1px solid var(--n-94); display: flex; }
.m-tabbar > div { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10px; font-weight: 700; color: #98a0aa; }
.m-tabbar > div.on { color: var(--blue-500); }

/* browser screen content */
.m-web { background: #f5f7fa; padding: 18px; height: 366px; overflow: hidden; }
.m-web-h { font-size: 17px; font-weight: 800; margin-bottom: 14px; }
.m-kpis { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 12px; }
.m-kpi { background: #fff; border: 1px solid var(--n-94); border-radius: 12px; padding: 12px; box-shadow: var(--sh-1); }
.m-kpi .v { font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.m-kpi .l { font-size: 10.5px; color: var(--ink-3); font-weight: 600; margin-top: 2px; }
.m-panel { background: #fff; border: 1px solid var(--n-94); border-radius: 14px; padding: 16px; box-shadow: var(--sh-1); }
.m-bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; }
.m-bars > div { flex: 1; border-radius: 6px 6px 0 0; }
.m-legend { display: flex; gap: 12px; font-size: 11px; color: var(--ink-3); font-weight: 600; margin-top: 10px; }
.m-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: 4px; }
.m-qrgrid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.m-qrcard { background: #fff; border: 1px solid var(--n-94); border-radius: 10px; padding: 10px; text-align: center; box-shadow: var(--sh-1); }
.m-qrcard .nm { font-size: 11.5px; font-weight: 800; margin-top: 6px; }
.m-qrcard .id { font-size: 9.5px; color: var(--ink-3); }
.m-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 11px; flex: none; }
.m-list-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; }
.m-badge { font-size: 10.5px; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
