:root{
  --bg:#05070b;
  --panel:#0b101a;
  --text:#ffffff;
  --muted:rgba(255,255,255,.72);
  --line:rgba(255,255,255,.10);
  --accent:#7c5cff;
  --accent2:#0ea5e9;
  --shadow:0 18px 50px rgba(0,0,0,.55);
  --radius:16px;
}
*{box-sizing:border-box}
html,body{
  margin:0;
  font-family: "Noto Sans KR", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(124,92,255,.18), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(14,165,233,.12), transparent 60%),
    radial-gradient(900px 520px at 60% 95%, rgba(124,92,255,.10), transparent 62%),
    var(--bg);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
.container{max-width:1120px;margin:0 auto;padding:0 18px}

/* Canvas starfield (no tiling seams) */
.starfield-canvas{position:fixed;inset:0;z-index:0;pointer-events:none;opacity:.55}
body > *{position:relative;z-index:1}

/* Header */
.site-header{position:sticky;top:0;z-index:20;backdrop-filter: blur(10px);background:rgba(5,7,11,.72);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0}
.brand{display:flex;align-items:center;gap:10px;font-weight:900}
.brand-icon{width:38px;height:38px;border-radius:12px;object-fit:cover;border:1px solid rgba(255,255,255,.12);box-shadow:var(--shadow);background:#fff}
.brand-name{letter-spacing:-.3px;color:#fff;font-size:18px}
.header-tagline{font-weight:900;color:rgba(255,255,255,.86);letter-spacing:-.2px}
.header-tagline .hl{color:transparent;background:linear-gradient(135deg,var(--accent),var(--accent2));-webkit-background-clip:text;background-clip:text}

/* Layout blocks */
.layout{padding:22px 0 40px}
.two-block{display:grid;grid-template-columns:77% 23%;gap:14px;align-items:stretch}
.block{border-radius:22px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.04);box-shadow:var(--shadow)}
.block.left{background:rgba(255,255,255,.04)}
.block.right{background:rgba(255,255,255,.03)}
.block-inner{padding:20px}
.banner-title{display:flex;align-items:center;justify-content:flex-start;gap:10px;padding:12px 14px;border-radius:18px;border:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.22);color:rgba(255,255,255,.92);font-weight:900;letter-spacing:-.2px;margin-bottom:12px}
.banner-title{backdrop-filter: blur(8px)}
.free-banner{width:100%;height:auto;border-radius:18px;border:1px solid rgba(255,255,255,.10);box-shadow:var(--shadow);margin-bottom:14px;object-fit:cover}

.section-kicker{display:inline-flex;padding:8px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(0,0,0,.18);color:rgba(255,255,255,.86);font-weight:900;font-size:12px}
.section-title{margin:12px 0 2px;font-size:34px;letter-spacing:-.8px}
.section-sub{margin:0 0 14px;color:rgba(255,255,255,.70);font-weight:800}

.callout{padding:14px;border-radius:16px;border:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.18)}
.callout-title{font-weight:900;color:rgba(255,255,255,.86);margin-bottom:8px}
.callout-body{color:rgba(255,255,255,.72);line-height:1.65;font-weight:700}

/* Goal highlight */
.callout-goal{border-color:rgba(124,92,255,.35);background:linear-gradient(135deg, rgba(124,92,255,.18), rgba(14,165,233,.10));box-shadow:0 18px 50px rgba(124,92,255,.12)}
.callout-goal + .callout-goal{margin-top:14px}
.callout-goal .callout-title{color:#fff}
.callout-goal .callout-body{color:rgba(255,255,255,.86)}
.callout-goal b{color:transparent;background:linear-gradient(135deg,var(--accent),var(--accent2));-webkit-background-clip:text;background-clip:text}

.principles{margin-top:14px;padding:14px;border-radius:16px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.03)}
.principles-title{font-weight:900;margin-bottom:10px}
.principles ul{margin:0;padding-left:18px;color:rgba(255,255,255,.74);line-height:1.7;font-weight:700}
.principles .x{opacity:.9}
.principles .o{opacity:.9}

.curriculum{margin-top:18px}
.curriculum-title{font-weight:900;margin-bottom:12px}
.lesson{display:grid;grid-template-columns:56px 1fr;gap:12px;padding:14px;border-radius:18px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.03);margin-bottom:12px}
.lesson-no{width:56px;height:56px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-weight:900;color:rgba(255,255,255,.90);background:rgba(0,0,0,.22);border:1px solid rgba(255,255,255,.10)}
.lesson-title{font-weight:900;color:#fff;margin:2px 0 8px;letter-spacing:-.3px}
.bullets{margin:0;padding-left:18px;color:rgba(255,255,255,.72);line-height:1.7;font-weight:700}
.pivot{margin-top:10px;padding:10px 12px;border-radius:14px;border:1px solid rgba(124,92,255,.26);background:rgba(124,92,255,.12);color:rgba(255,255,255,.86);font-weight:800;line-height:1.6}

.side-card{padding:14px;border-radius:18px;border:1px solid rgba(124,92,255,.20);background:linear-gradient(135deg, rgba(124,92,255,.16), rgba(14,165,233,.08));margin-bottom:12px;box-shadow:0 18px 50px rgba(124,92,255,.10)}
.side-kicker{display:inline-flex;padding:7px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.04);color:rgba(255,255,255,.82);font-weight:900;font-size:12px}
.side-title{margin-top:10px;font-size:18px;font-weight:900}
.side-title-cta{font-size:20px;letter-spacing:-.3px;color:#fff}
.side-title-cta::after{content:"";display:block;margin-top:10px;height:2px;width:46px;border-radius:999px;background:linear-gradient(135deg,var(--accent),var(--accent2));opacity:.95}
.side-desc{margin:8px 0 12px;color:rgba(255,255,255,.70);line-height:1.6;font-weight:700}
.side-note{margin-top:10px;color:rgba(255,255,255,.55);font-size:12px}

@media (max-width: 920px){
  .two-block{grid-template-columns:1fr;}
  .block-inner{padding:16px}
  .section-title{font-size:28px}
  .lesson{grid-template-columns:48px 1fr}
  .lesson-no{width:48px;height:48px;border-radius:14px}
}

/* Hero */
.hero{padding:46px 0 18px}
.hero-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:16px;align-items:stretch}
.pill{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:rgba(124,92,255,.18);border:1px solid rgba(124,92,255,.28);color:rgba(255,255,255,.82);font-size:12px;font-weight:900}
.hero h1{margin:14px 0 10px;font-size:44px;line-height:1.12;letter-spacing:-.8px;color:#fff}
.accent{background:linear-gradient(135deg,var(--accent),var(--accent2));-webkit-background-clip:text;background-clip:text;color:transparent}
.lead{margin:0 0 16px;color:var(--muted);font-size:16px;line-height:1.7}
.fine{margin:10px 0 0;color:rgba(255,255,255,.50);font-size:12px}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 14px;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.06);color:#fff;font-weight:900}
.btn:hover{background:rgba(255,255,255,.10)}
.btn.primary{background:linear-gradient(135deg,var(--accent),#5e86ff);border:0;color:white;box-shadow:0 14px 30px rgba(124,92,255,.25)}

.hero-card{border:1px solid var(--line);border-radius:var(--radius);background:rgba(255,255,255,.04);box-shadow:var(--shadow);padding:16px;display:flex;flex-direction:column;gap:12px}

/* Promo block (right side action) */
.hero-card.promo{background:linear-gradient(135deg, rgba(124,92,255,.18), rgba(14,165,233,.10));border-color:rgba(255,255,255,.12)}
.promo-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(0,0,0,.18);color:rgba(255,255,255,.88);font-weight:900;font-size:12px}
.promo-title{margin-top:10px;font-size:22px;letter-spacing:-.4px;font-weight:900;color:#fff}
.promo-meta{margin-top:6px;color:rgba(255,255,255,.70);font-weight:800;font-size:13px}
.promo-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.promo-note{margin-top:10px;color:rgba(255,255,255,.55);font-size:12px}

/* old KPI styles (unused now) */
.kpi{display:none}

/* Quick nav buttons */
.quick-nav{padding:10px 0 6px}
.quick-nav-row{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.qbtn{display:flex;align-items:center;justify-content:center;padding:12px 10px;border-radius:16px;border:1px solid var(--line);background:rgba(255,255,255,.04);box-shadow:0 10px 24px rgba(0,0,0,.25);font-weight:900;color:rgba(255,255,255,.90)}
.qbtn:hover{background:rgba(255,255,255,.08)}

/* Sections */
.section{padding:34px 0}
.section.alt{background:rgba(255,255,255,.03);border-top:1px solid rgba(255,255,255,.06);border-bottom:1px solid rgba(255,255,255,.06)}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:14px}
.section-head h2{margin:0;font-size:26px;letter-spacing:-.3px;color:#fff}
.section-head p{margin:0;color:var(--muted)}

.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}

.card{border:1px solid var(--line);border-radius:var(--radius);background:rgba(255,255,255,.04);box-shadow:var(--shadow);padding:16px}
.card h3{margin:0 0 10px;font-size:18px;color:#fff}
.card p{margin:0 0 12px;color:var(--muted)}
.card-actions{margin-top:10px}

.list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.list li{padding:12px;border-radius:14px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.04)}
.list-title{font-weight:900;margin-bottom:6px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#fff}
.list-meta{color:rgba(255,255,255,.68);font-size:13px;margin-bottom:8px}
.link{color:#fff;font-size:13px;font-weight:900;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;padding:10px 12px;border-radius:12px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06)}
.link:hover{background:rgba(255,255,255,.10)}

.banner{display:flex;justify-content:space-between;gap:14px;align-items:stretch;border-radius:var(--radius);padding:18px;border:1px solid rgba(255,255,255,.10);background:linear-gradient(135deg, rgba(124,92,255,.18), rgba(14,165,233,.10));box-shadow:var(--shadow)}
.banner h3{margin:0 0 8px;color:#fff}
.banner p{margin:0;color:rgba(255,255,255,.72);line-height:1.6}
.banner-actions{display:flex;gap:10px;margin-top:14px;flex-wrap:wrap}
.banner-meta{display:flex;flex-direction:column;gap:10px;min-width:240px}
.chip{padding:10px 12px;border-radius:12px;background:rgba(0,0,0,.25);border:1px solid rgba(255,255,255,.12);color:rgba(255,255,255,.86);font-weight:900}

.review{border:1px solid rgba(255,255,255,.10);border-radius:var(--radius);background:rgba(255,255,255,.04);box-shadow:var(--shadow);padding:16px}
.review h3{margin:0 0 10px;font-size:16px;color:#fff}
.review p{margin:0 0 12px;color:rgba(255,255,255,.72);line-height:1.65}
.who{color:rgba(255,255,255,.55);font-size:12px}

/* Page bottom CTA (mobile wants action at the very bottom) */
.page-cta{padding:22px 0}
.page-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid rgba(255,255,255,.10);border-radius:var(--radius);background:rgba(255,255,255,.04);box-shadow:var(--shadow);padding:16px}
.page-cta-title{font-weight:900;color:#fff;margin-bottom:6px}
.page-cta-desc{color:rgba(255,255,255,.70);font-weight:800}
.page-cta-actions{display:flex;gap:10px;flex-wrap:wrap}

/* Footer + floating CTA */
.floating-cta{position:fixed;left:14px;right:14px;bottom:14px;z-index:30;display:flex;align-items:center;justify-content:center;padding:14px 14px;border-radius:16px;background:linear-gradient(135deg,var(--accent),#5e86ff);color:white;font-weight:900;box-shadow:0 16px 40px rgba(124,92,255,.22)}
main{padding-bottom:86px}
.footer{padding:22px 0;border-top:1px solid rgba(255,255,255,.10);background:rgba(0,0,0,.22)}
.footer-inner{display:flex;justify-content:space-between;gap:14px;align-items:center}
.footer-brand{font-weight:900;color:#fff}
.footer-meta{color:rgba(255,255,255,.55);font-size:12px;margin-top:6px}
.footer-links{display:flex;gap:12px;color:rgba(255,255,255,.70);font-weight:900}

/* Responsive */
@media (max-width: 920px){
  .container{padding:0 14px}
  .header-tagline{display:none}
  .hero{padding:26px 0 10px}
  .hero-inner{grid-template-columns:1fr}
  .hero h1{font-size:32px}

  /* mobile: keep action block at the very bottom instead */
  .hero-card.promo{display:none}

  .quick-nav-row{grid-template-columns:repeat(3,1fr)}
  .grid2{grid-template-columns:1fr}
  .cards3{grid-template-columns:1fr}
  .banner{flex-direction:column}
  .banner-meta{min-width:auto;flex-direction:row;flex-wrap:wrap}
  .page-cta-inner{flex-direction:column;align-items:flex-start}
  .footer-inner{flex-direction:column;align-items:flex-start}

  /* mobile: right CTA button full width + centered */
  .side-card .btn{width:100%;justify-content:center}
}
@media (max-width: 420px){
  .container{padding:0 12px}
  .hero h1{font-size:28px}
}
