@import url("assets/tokens.css");

/* fonts copied locally — re-point @font-face srcs */
@font-face { font-family: "PretendardL"; font-weight: 400; src: url("assets/fonts/Pretendard-Regular.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "PretendardL"; font-weight: 500; src: url("assets/fonts/Pretendard-Medium.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "PretendardL"; font-weight: 600; src: url("assets/fonts/Pretendard-SemiBold.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "PretendardL"; font-weight: 700; src: url("assets/fonts/Pretendard-Bold.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "PretendardL"; font-weight: 800; src: url("assets/fonts/Pretendard-ExtraBold.otf") format("opentype"); font-display: swap; }
@font-face { font-family: "PretendardL"; font-weight: 900; src: url("assets/fonts/Pretendard-Black.otf") format("opentype"); font-display: swap; }

:root {
  --ink: #20201D;
  --amber: #F59F00;
  --amber-soft: #FFF4D1;
  --cream: #FFFBF0;
  --font: "PretendardL", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", system-ui, sans-serif;
  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--kg-label-strong);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.018em;
}
img { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── icon helper ── */
.ic { display: inline-block; width: 1em; height: 1em; fill: currentColor; vertical-align: -0.125em; flex: none; }

/* ── layout ── */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.sec-pad { padding: clamp(72px, 11vw, 140px) 0; }
.sec-tint { background: var(--kg-neutral-5); }

/* ── eyebrow / titles ── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 15px; font-weight: 700; color: var(--amber);
  letter-spacing: 0.01em; margin: 0 0 18px;
}
.eyebrow .ic { width: 22px; height: 22px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.18)); }
.sec-head { max-width: 760px; }
.sec-head.center { margin: 0 auto; text-align: center; }
h2.sec-title {
  margin: 0;
  font-size: clamp(27px, 3.7vw, 44px);
  font-weight: 800; line-height: 1.28; letter-spacing: -0.03em;
  color: var(--kg-label-strong); text-wrap: balance;
}
.sec-sub {
  margin: 20px 0 0;
  font-size: clamp(16px, 1.7vw, 19px); line-height: 1.7;
  color: var(--kg-label-neutral); font-weight: 500; max-width: 620px;
}
.sec-head.center .sec-sub { margin-left: auto; margin-right: auto; }
.hl { background: linear-gradient(transparent 62%, var(--kg-yellow) 62%); padding: 0 2px; border-radius: 2px; }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; border: 0; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s;
}
.btn .ic { width: 1.05em; height: 1.05em; }
.btn-primary {
  background: var(--ink); color: #fff;
  font-size: 18px; height: 60px; padding: 0 32px; border-radius: 16px;
  box-shadow: 0 8px 20px -8px rgba(31,29,20,.5);
}
.btn-primary:hover { transform: translateY(-2px); background: #000; box-shadow: 0 14px 28px -10px rgba(31,29,20,.55); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { height: 64px; font-size: 19px; padding: 0 40px; }
.btn-ink {
  background: var(--ink); color: #fff;
  font-size: 16px; height: 52px; padding: 0 26px; border-radius: 14px;
}
.btn-ink:hover { transform: translateY(-2px); background: #000; }
.btn-ghost {
  background: #fff; color: var(--kg-label-strong);
  font-size: 16px; height: 52px; padding: 0 24px; border-radius: 14px;
  border: 1.5px solid var(--kg-line-neutral);
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.micro { margin-top: 16px; font-size: 14px; font-weight: 500; color: var(--kg-label-alternative); }
.micro b { color: var(--amber); font-weight: 700; }

/* ════════════ HEADER ════════════ */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 64px;
  display: flex; align-items: center;
  transition: background .25s, box-shadow .25s, border-color .25s;
  border-bottom: 1px solid transparent;
}
.hdr.scrolled { background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px); border-bottom-color: var(--kg-line-alternative); }
.hdr .wrap { display: flex; align-items: center; gap: 16px; }
.hdr-logo { display: flex; align-items: center; height: 26px; }
.hdr-logo svg { height: 26px; width: auto; color: var(--ink); }
.hdr-spacer { flex: 1; }
.hdr-cta {
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px;
  height: 42px; padding: 0 20px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px;
  transition: transform .15s var(--ease), background .15s;
}
.hdr-cta:hover { transform: translateY(-1px); background: #000; }

/* ════════════ HERO ════════════ */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(104px, 13vw, 150px); padding-bottom: clamp(60px, 8vw, 110px);
  background:
    radial-gradient(120% 90% at 90% 4%, var(--amber-soft) 0%, rgba(255,244,209,0) 42%),
    linear-gradient(180deg, #FFFDF8 0%, #fff 60%);
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1.18fr; gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.hero-copy { max-width: 600px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; white-space: nowrap;
  font-size: 15px; font-weight: 700; color: var(--kg-label-neutral);
  letter-spacing: 0.01em; margin-bottom: 20px;
}
.hero-eyebrow b {
  font-weight: 800; color: var(--ink);
  background: var(--kg-yellow); border-radius: 8px;
  padding: 3px 10px; margin-right: 7px;
}
.hero-eyebrow .dot { width: 22px; height: 22px; border-radius: 50%; background: none; display: grid; place-items: center; }
.hero-eyebrow .dot .ic { width: 21px; height: 21px; filter: drop-shadow(0 2px 2px rgba(0,0,0,.2)); }
.hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 50px);
  font-weight: 800; line-height: 1.26; letter-spacing: -0.04em;
  color: var(--kg-label-strong); white-space: nowrap;
}
.hero h1 .em { color: var(--ink); position: relative; white-space: nowrap; }
.hero-lead {
  margin: 24px 0 0; font-size: clamp(16px, 1.9vw, 20px); line-height: 1.65;
  color: var(--kg-label-neutral); font-weight: 500; max-width: 480px;
}
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-trust { margin-top: 30px; display: flex; align-items: center; gap: 14px; }
.hero-trust .avs { display: flex; }
.hero-trust .avs span {
  width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--cream);
  margin-left: -12px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px;
}
.hero-trust .avs span:first-child { margin-left: 0; }
.hero-trust .txt { font-size: 14px; font-weight: 600; color: var(--kg-label-neutral); line-height: 1.4; }
.hero-trust .txt b { color: var(--kg-label-strong); font-weight: 800; }

/* ── HERO VISUAL ── */
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 720px; }
.hero-visual .scene { position: relative; inset: auto; }
.hv-blob {
  position: absolute; inset: 4% -2% 0 2%; border-radius: 42% 58% 56% 44% / 50% 46% 54% 50%;
  background: linear-gradient(150deg, #FFE07A 0%, var(--kg-yellow) 48%, var(--amber) 100%);
  filter: blur(2px); opacity: .92;
  animation: blobMorph 14s ease-in-out infinite;
}
@keyframes blobMorph {
  0%,100% { border-radius: 42% 58% 56% 44% / 50% 46% 54% 50%; }
  50% { border-radius: 54% 46% 42% 58% / 44% 56% 44% 56%; }
}
.hv-arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hv-pin { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background:#fff; box-shadow: var(--kg-shadow-lg); color: var(--ink); }
.hv-pin .ic { width: 22px; height: 22px; }
.hv-pin.korea { right: 1%; top: 6%; background: var(--ink); color: var(--kg-yellow); }
.hv-pin.home  { left: 0; bottom: 14%; }
.hv-pin small { position:absolute; top: 50px; font-size: 11px; font-weight: 800; color: var(--kg-label-neutral); white-space: nowrap; background:#fff; padding: 2px 8px; border-radius: 999px; box-shadow: var(--kg-shadow-sm); }

/* live class card */
.lc-card {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 76%; background: #fff; border-radius: 24px; padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(31,29,20,.32), 0 8px 20px -8px rgba(31,29,20,.18);
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translate(-50%,calc(-50% - 6px)); } 50% { transform: translate(-50%,calc(-50% + 6px)); } }
.lc-screen {
  position: relative; aspect-ratio: 16/11; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, #4C6EF5 0%, #5F3DC4 55%, #862E9C 100%);
  display: grid; place-items: center;
}
.lc-screen::after { content:""; position:absolute; inset:0; background: radial-gradient(60% 60% at 50% 38%, rgba(255,255,255,.22), transparent 70%); }
.lc-teacher { position: relative; z-index: 1; display: grid; place-items: center; gap: 10px; }
.lc-ava {
  width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 30px; color: #fff;
  background: linear-gradient(135deg, #FFD8A8, #FF8787);
  box-shadow: 0 0 0 4px rgba(255,255,255,.5), 0 6px 16px rgba(0,0,0,.25);
}
.lc-tname { font-size: 13px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.3); }
.lc-live {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
  color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  padding: 5px 10px; border-radius: 999px;
}
.lc-live .blink { width: 7px; height: 7px; border-radius: 50%; background: var(--kg-status-negative); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.lc-shield {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: linear-gradient(120deg, #B6F0FF, #C3B6FF, #FFC9E6);
  color: var(--ink); font-size: 10px; font-weight: 800;
  padding: 5px 9px; border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.lc-kids { display: flex; gap: 8px; margin-top: 12px; }
.lc-kid { flex: 1; aspect-ratio: 1/.82; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 14px; position: relative; }
.lc-kid.active { outline: 2.5px solid var(--kg-yellow); outline-offset: 1px; }
.lc-foot { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding: 0 2px 2px; color: var(--kg-label-neutral); font-size: 12px; font-weight: 600; }
.lc-foot .ic { width: 14px; height: 14px; color: var(--amber); }

/* floating chips */
.chip {
  position: absolute; z-index: 5; background: #fff; border-radius: 14px;
  box-shadow: 0 12px 26px -10px rgba(31,29,20,.28), 0 2px 6px rgba(31,29,20,.08);
  padding: 11px 14px; display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--kg-label-strong);
}
.chip .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.chip .ico .ic { width: 19px; height: 19px; }
.chip small { display: block; font-size: 11px; font-weight: 600; color: var(--kg-label-alternative); }
.chip strong { display: block; font-size: 14px; font-weight: 800; }
.chip.c-rating { top: 4%; right: -2%; animation: floatY 7s ease-in-out infinite .4s; }
.chip.c-rating .ico { background: var(--amber-soft); color: var(--amber); }
.chip.c-cert { top: 40%; left: -8%; animation: floatY 6.5s ease-in-out infinite .9s; }
.chip.c-cert .ico { background: var(--kg-status-positive); color: #fff; }
.chip.c-time { bottom: 6%; right: -3%; animation: floatY 7.5s ease-in-out infinite .2s; }
.chip.c-time .ico { background: #E7EDFF; color: var(--kg-indigo-90); }

/* ════════════ BENEFIT ════════════ */
.benefit { background: #fff; }
.ben-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.ben-card {
  background: #fff; border: 1px solid var(--kg-line-alternative); border-radius: 20px;
  padding: 30px 28px; box-shadow: var(--kg-shadow-lg); position: relative; overflow: hidden;
}
.ben-card .num { position: absolute; top: 18px; right: 22px; font-size: 13px; font-weight: 800; color: var(--kg-label-disable); }
.ben-ico { width: 56px; height: 56px; background: none; display: grid; place-items: center; margin-bottom: 14px; }
.ben-ico .ic { width: 56px; height: 56px; }
.ben-card h3 { margin: 0 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -0.03em; }
.ben-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--kg-label-neutral); font-weight: 500; }
.ben-cta { margin-top: 40px; text-align: center; }

/* ════════════ PAIN ════════════ */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 52px; }
.pain-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--kg-line-alternative); border-radius: 18px; padding: 26px 28px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pain-card:hover { transform: translateY(-3px); box-shadow: var(--kg-shadow-lg); }
.pain-ico { width: 50px; height: 50px; background: none; display: grid; place-items: center; flex: none; }
.pain-ico .ic { width: 48px; height: 48px; }
.pain-card h3 { margin: 2px 0 8px; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; color: var(--kg-label-strong); }
.pain-card p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--kg-label-neutral); font-weight: 500; }

/* ════════════ SOLUTION ════════════ */
.sol-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 52px; }
.sol-card {
  background: #fff; border-radius: 22px; padding: 34px 30px;
  border: 1px solid var(--kg-line-alternative); box-shadow: var(--kg-shadow);
  position: relative;
}
.sol-card .badge { display: none; }
.sol-card .badge .ic { width: 15px; height: 15px; }
.sol-ico { width: 64px; height: 64px; background: none; display: grid; place-items: center; margin-bottom: 18px; }
.sol-ico .ic { width: 64px; height: 64px; }
.sol-card h3 { margin: 0 0 12px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.sol-card p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--kg-label-neutral); font-weight: 500; }
.sol-cta { margin-top: 44px; text-align: center; }

/* ════════════ STATS ════════════ */
.stats { background: var(--ink); color: #fff; }
.stats .sec-title { color: #fff; }
.stats .eyebrow { color: var(--kg-yellow); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.stat-card { text-align: center; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.stat-num {
  font-family: var(--kg-font-num); font-weight: 900; letter-spacing: -0.04em;
  font-size: clamp(40px, 5.6vw, 64px); line-height: 1; color: var(--kg-yellow);
}
.stat-num .u { font-size: .42em; }
.stat-label { margin-top: 16px; font-size: 16px; font-weight: 600; color: rgba(255,255,255,.78); line-height: 1.5; }

/* ════════════ TESTIMONIALS ════════════ */
.tm-marquee { margin-top: 48px; overflow: hidden; padding: 8px 0 12px; -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.tm-track { display: flex; gap: 20px; width: max-content; animation: tmscroll 48s linear infinite; }
.tm-marquee:hover .tm-track { animation-play-state: paused; }
@keyframes tmscroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 10px)); } }
.tm-card {
  flex: 0 0 360px; background: #fff;
  border: 1px solid var(--kg-line-alternative); border-radius: 20px; padding: 28px;
  box-shadow: var(--kg-shadow); display: flex; flex-direction: column; gap: 16px;
}
.tm-stars { display: flex; gap: 2px; color: var(--kg-yellow); }
.tm-stars .ic { width: 17px; height: 17px; }
.tm-quote { margin: 0; font-size: 16px; line-height: 1.7; color: var(--kg-label-normal); font-weight: 500; flex: 1; }
.tm-who { display: flex; align-items: center; gap: 12px; padding-top: 4px; border-top: 1px solid var(--kg-line-alternative); }
.tm-ava { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px; flex: none; }
.tm-meta b { display: block; font-size: 14px; font-weight: 800; color: var(--kg-label-strong); }
.tm-meta span { font-size: 13px; color: var(--kg-label-alternative); font-weight: 500; }

/* ════════════ TIMEZONE ════════════ */
.tz-panel {
  margin-top: 48px; background: #fff; border: 1px solid var(--kg-line-alternative);
  border-radius: 24px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--kg-shadow-lg);
}
.tz-cap { font-size: 13px; font-weight: 700; color: var(--kg-label-alternative); margin-bottom: 24px; display: flex; align-items: center; gap: 7px; }
.tz-cap .ic { width: 16px; height: 16px; color: var(--amber); }
.tz-row { display: grid; grid-template-columns: 168px 1fr; gap: 20px; align-items: center; padding: 18px 0; border-top: 1px solid var(--kg-line-alternative); }
.tz-row:first-of-type { border-top: 0; }
.tz-kr { display: flex; align-items: center; gap: 12px; }
.tz-kr .badge { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--kg-yellow); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex: none; }
.tz-kr b { font-size: 17px; font-weight: 800; color: var(--kg-label-strong); }
.tz-kr small { display: block; font-size: 12px; color: var(--kg-label-alternative); font-weight: 600; }
.tz-locals { display: flex; flex-wrap: wrap; gap: 8px; }
.tz-pill {
  display: inline-flex; align-items: baseline; gap: 6px; white-space: nowrap;
  background: var(--kg-neutral-5); border: 1px solid var(--kg-line-alternative);
  border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--kg-label-neutral);
}
.tz-pill b { font-weight: 800; color: var(--kg-label-strong); }
.tz-pill .day { font-size: 11px; color: var(--amber); font-weight: 700; }

/* ════════════ CLASSES ════════════ */
.cls-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; margin-top: 48px; }
.cls-card { display: flex; flex-direction: column; transition: transform .2s var(--ease); }
.cls-card:hover { transform: translateY(-4px); }
.cls-thumb { position: relative; aspect-ratio: 16/9; border-radius: 14px; display: grid; place-items: center; overflow: visible; box-shadow: var(--kg-shadow-sm); }
.cls-thumb img.cls-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.cls-mark { position: absolute; right: 14px; bottom: 11px; width: 52px; height: 52px; color: #fff; opacity: .3; }
.cls-mark .ic { width: 100%; height: 100%; }
.cls-shield {
  position: absolute; top: -12px; left: 12px; z-index: 2;
  width: 54px; height: 54px; padding: 0; font-size: 0;
  background: url('https://www.gguge.com/images/membership/gguge-members-badge.png') center / contain no-repeat;
  filter: drop-shadow(0 4px 8px rgba(120,90,200,.35));
}
.cls-shield::after { content: none; }
.cls-tava {
  width: 22px; height: 22px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 10px;
}
.cls-body { padding: 14px 2px 0; display: flex; flex-direction: column; gap: 9px; }
.cls-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: -11px; }
.cls-tag { font-size: 12px; font-weight: 600; color: var(--kg-label-neutral); background: var(--kg-neutral-10); border-radius: 6px; padding: 4px 9px; white-space: nowrap; }
.cls-teacher { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--kg-label-neutral); }
.cls-cnt { color: var(--kg-label-alternative); font-weight: 600; }
.cls-title { margin: 0; font-size: 16.5px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.42; color: var(--kg-label-strong); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.84em; }
.cls-rate { display: flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--kg-label-strong); font-weight: 700; }
.cls-rate .ic { width: 14px; height: 14px; color: var(--kg-yellow); }
.cls-cta { margin-top: 44px; text-align: center; }

/* ════════════ RETURN (귀국) ════════════ */
.ret-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.ret-steps { display: flex; flex-direction: column; gap: 0; }
.ret-step { display: flex; gap: 18px; align-items: flex-start; position: relative; padding-bottom: 28px; }
.ret-step:not(:last-child)::before { content:""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: repeating-linear-gradient(var(--kg-line-neutral) 0 5px, transparent 5px 11px); }
.ret-step .n { width: 48px; height: 48px; border-radius: 14px; background: var(--amber-soft); color: var(--ink); font-weight: 800; font-size: 19px; display: grid; place-items: center; flex: none; box-shadow: var(--kg-shadow); }
.ret-step .stxt { padding-top: 9px; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; color: var(--kg-label-strong); }
.ret-visual {
  background: linear-gradient(150deg, var(--ink), #3a3a36); border-radius: 24px; padding: 40px;
  color: #fff; aspect-ratio: 4/3.4; display: flex; flex-direction: column; justify-content: center; gap: 18px;
  box-shadow: var(--kg-shadow-xl); position: relative; overflow: hidden;
}
.ret-visual .deskline { font-size: 13px; font-weight: 700; color: var(--kg-yellow); letter-spacing: .04em; }
.ret-book { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.ret-book .ic { width: 26px; height: 26px; color: var(--kg-yellow); flex: none; }
.ret-book b { font-size: 16px; font-weight: 700; }
.ret-book small { display: block; font-size: 12.5px; color: rgba(255,255,255,.6); font-weight: 500; margin-top: 2px; }

/* ════════════ SUMMER ════════════ */
.summer .inner {
  background: linear-gradient(135deg, #FFE07A 0%, var(--kg-yellow) 52%, var(--amber) 100%);
  border-radius: 28px; padding: clamp(40px, 6vw, 72px); position: relative; overflow: hidden;
  text-align: center;
}
.summer .inner::before, .summer .inner::after { content:""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.22); }
.summer .inner::before { width: 220px; height: 220px; top: -80px; left: -60px; }
.summer .inner::after { width: 300px; height: 300px; bottom: -140px; right: -80px; }
.summer .eyebrow { color: var(--ink); opacity: .7; justify-content: center; width: 100%; }
.summer h2 { position: relative; margin: 0; font-size: clamp(27px, 3.7vw, 42px); font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.3; }
.summer p { position: relative; margin: 20px auto 0; max-width: 600px; font-size: clamp(15px, 1.7vw, 18px); line-height: 1.65; color: #6b5400; font-weight: 600; }
.summer .btn { position: relative; margin-top: 36px; }
.summer .btn-ink:hover { background: #000; }

/* ════════════ FAQ ════════════ */
.faq-list { margin-top: 44px; max-width: 820px; margin-left: auto; margin-right: auto; border-top: 1px solid var(--kg-line-neutral); }
.faq-item { border-bottom: 1px solid var(--kg-line-neutral); }
.faq-q { width: 100%; background: none; border: 0; text-align: left; padding: 26px 8px; display: flex; align-items: center; gap: 16px; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; color: var(--kg-label-strong); }
.faq-q .q { color: var(--amber); font-weight: 800; flex: none; }
.faq-q .tog { margin-left: auto; width: 26px; height: 26px; border-radius: 50%; background: var(--kg-neutral-10); display: grid; place-items: center; color: var(--kg-label-neutral); transition: transform .3s var(--ease), background .2s; flex: none; }
.faq-q .tog .ic { width: 13px; height: 13px; }
.faq-item.open .faq-q .tog { transform: rotate(180deg); background: var(--ink); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a .inner { padding: 0 8px 26px 48px; font-size: 16px; line-height: 1.7; color: var(--kg-label-neutral); font-weight: 500; }
.faq-a em { font-style: normal; color: var(--amber); font-weight: 700; }

/* ════════════ FINAL CTA ════════════ */
.final { background: var(--ink); color: #fff; text-align: center; overflow: hidden; }
.final h2 { margin: 0 auto; font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.25; max-width: 700px; color: #fff; text-wrap: balance; perspective: 700px; }
.flip-word { display: inline-block; color: var(--kg-yellow); transform-origin: 50% 100%; backface-visibility: hidden; will-change: transform, opacity; }
.flip-word.flip-out { animation: flipWordOut .3s ease forwards; }
.flip-word.flip-in { animation: flipWordIn .42s cubic-bezier(.2,.8,.25,1); }
@keyframes flipWordOut { to { transform: rotateX(90deg) translateY(-6px); opacity: 0; } }
@keyframes flipWordIn { from { transform: rotateX(-90deg) translateY(6px); opacity: 0; } to { transform: rotateX(0) translateY(0); opacity: 1; } }
.final .checks { margin: 36px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; max-width: 640px; }
.final .check { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.82); }
.final .check .ic { width: 16px; height: 16px; color: var(--kg-status-positive); }
.final .btn { margin-top: 40px; }
.final .btn-primary { background: #fff; color: var(--ink); box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.final .btn-primary:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(0,0,0,.6); }

/* ════════════ FOOTER ════════════ */
.ftr { background: #fff; border-top: 1px solid var(--kg-line-alternative); padding: 40px 0; }
.ftr .wrap { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ftr-logo svg { height: 22px; color: var(--kg-label-neutral); }
.ftr-copy { font-size: 13px; color: var(--kg-label-alternative); font-weight: 500; }
.ftr-links { margin-left: auto; display: flex; gap: 22px; }
.ftr-links a { font-size: 14px; font-weight: 600; color: var(--kg-label-neutral); }
.ftr-links a:hover { color: var(--ink); }

/* ════════════ STICKY MOBILE CTA ════════════ */
.sticky-cta { display: none; }

/* ════════════ REVEAL ════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ════════════ RESPONSIVE ════════════ */
@media (max-width: 984px) {
  .ben-grid, .sol-grid, .stat-grid { grid-template-columns: 1fr; }
  .stat-grid { gap: 14px; }
  .cls-grid { grid-template-columns: repeat(2, 1fr); }
  .ret-grid { grid-template-columns: 1fr; }
  .ret-visual { order: -1; height: auto !important; aspect-ratio: auto; padding: 28px; }
}
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero h1 { white-space: normal; }
  .hero-copy { max-width: none; text-align: center; margin: 0 auto; }
  .hero-eyebrow, .hero-actions, .hero-trust { justify-content: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  /* 모바일 히어로: 선생님 비주얼을 전체폭으로 최상단 (사용자 디자인 대응) */
  .hero-visual { order: -1; margin: 0 auto 18px; max-width: none; width: 100%; }
  .hero-actions .btn-primary { width: 100%; }
  .pain-grid { grid-template-columns: 1fr; }
  .cls-grid { grid-template-columns: 1fr; }
  .tz-row { grid-template-columns: 1fr; gap: 12px; padding: 20px 0; }
  .tm-card { flex-basis: 280px; }
  .ftr-links { margin-left: 0; width: 100%; }
  body { padding-bottom: 84px; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255,255,255,0), #fff 28%);
    transform: translateY(130%);
    transition: transform .34s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
  }
  .sticky-cta.show { transform: translateY(0); pointer-events: auto; }
  .sticky-cta .btn-primary { width: 100%; max-width: 600px; margin: 0 auto; display: flex; height: 56px; box-shadow: 0 6px 20px -4px rgba(245,159,0,.5); }
  .chip strong { font-size: 13px; }
  .chip { padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .lc-card, .chip, .hv-blob, .lc-live .blink { animation: none !important; }
  .tm-track { animation: none !important; }
  .tm-marquee { overflow-x: auto; }
  html { scroll-behavior: auto; }
}
