:root {
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --surface-2: #F0F2F5;
  --ink: #12141A;
  --ink-2: #3A3F4B;
  --muted: #5F6573;
  --line: #E3E6EB;
  --primary: #2B50E8;
  --primary-hover: #1F3FCB;
  --primary-soft: #EBEFFE;
  --primary-ink: #FFFFFF;
  --ok: #0E7A4D;
  --ok-soft: #E1F4EA;
  --warn-soft: #FFF4DB;
  --shadow: 0 1px 2px rgba(18, 20, 26, .06), 0 4px 16px rgba(18, 20, 26, .06);
  --shadow-lg: 0 12px 40px rgba(18, 20, 26, .18);
  --r-s: 8px; --r-m: 12px; --r-l: 16px; --r-xl: 22px; --r-pill: 999px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --rail: 248px;
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0F1115; --surface: #171A20; --surface-2: #1F232B; --ink: #EEF0F4; --ink-2: #C9CDD6; --muted: #9BA1AE;
    --line: #2A2F38; --primary: #7B93FF; --primary-hover: #95A8FF; --primary-soft: #1E2742; --primary-ink: #0B0E1A;
    --ok: #5FD39A; --ok-soft: #12301F; --warn-soft: #332713;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4); --shadow-lg: 0 12px 40px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.6 var(--font); -webkit-tap-highlight-color: transparent; }
svg { display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.015em; }
p { margin: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: var(--r-s); }
.skip:focus { left: 8px; }
.ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- rangka: rail kiri + halaman ---------- */
.rail { position: fixed; inset: 0 auto 0 0; width: var(--rail); background: var(--surface); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 18px 14px; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.03em; padding: 4px 8px; }
.brand svg { width: 30px; height: 30px; }
.brand rect { fill: var(--primary); }
.brand path { stroke: var(--primary-ink); stroke-width: 3; fill: none; stroke-linecap: round; }
.rail-nav { display: grid; gap: 2px; margin-top: 22px; }
.rail-h { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 14px 10px 6px; }
.rail-nav a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r-s); text-decoration: none; color: var(--ink-2); font-weight: 500; }
.rail-nav a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.rail-nav a:hover { background: var(--surface-2); color: var(--ink); }
.rail-nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.dot { width: 10px; height: 10px; border-radius: 3px; margin: 0 5px; }
.d-dasar { background: #F59E0B; } .d-kerja { background: #10B981; } .d-jualan { background: #F43F5E; } .d-otomasi { background: #6366F1; }
.rail-help { margin-top: auto; display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: var(--r-m); background: var(--surface-2); text-decoration: none; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.rail-help svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.page { margin-left: var(--rail); min-height: 100vh; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; gap: 16px; height: 64px; padding: 0 28px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand-m { display: none; }
.search { flex: 1; max-width: 520px; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); }
.search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { border: 0; outline: none; background: none; flex: 1; min-width: 0; font-size: 15px; }
.top-cta { margin-left: auto; text-decoration: none; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: var(--r-pill); background: var(--ink); color: var(--bg); }
.demo-bar { font-size: 12.5px; text-align: center; padding: 6px 16px; background: var(--warn-soft); color: var(--ink-2); }
main { flex: 1; outline: none; padding: 28px 28px 64px; width: 100%; max-width: 1240px; }

.tabbar { display: none; }

/* ---------- tombol & kecil-kecil ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: var(--r-m); border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14.5px; text-decoration: none; cursor: pointer; transition: background .18s var(--ease), transform .18s var(--ease), border-color .18s var(--ease); white-space: nowrap; }
.btn:hover { border-color: var(--muted); }
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-soft { background: var(--primary-soft); border-color: transparent; color: var(--primary); }
.btn-lg { min-height: 50px; font-size: 15.5px; border-radius: var(--r-m); }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn.is-done { background: var(--ok-soft); border-color: transparent; color: var(--ok); }
.wide { width: 100%; }
.link { color: var(--primary); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: var(--r-pill); font-size: 12px; font-weight: 700; line-height: 1.5; }
.b-free { background: var(--ok-soft); color: var(--ok); }
.b-own { background: var(--primary-soft); color: var(--primary); }
.b-dark { background: rgba(18, 20, 26, .78); color: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--surface); padding: 7px 14px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; text-decoration: none; }
.chip:hover { border-color: var(--muted); }
.chip[aria-pressed="true"], .chip[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; color: var(--muted); font-size: 13px; font-weight: 500; }
.meta span { display: inline-flex; align-items: center; gap: 5px; }
.meta svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bar { height: 6px; border-radius: var(--r-pill); background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--primary); border-radius: inherit; transition: width .5s var(--ease); }
.sec { margin-top: 44px; }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sec-h h2 { font-size: 22px; font-weight: 800; }
.sec-h p { color: var(--muted); margin-top: 4px; font-size: 14px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }

/* ---------- ilustrasi kelas ---------- */
.thumb { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; }
.thumb svg.art { width: 100%; height: 100%; }
.thumb .badge { position: absolute; top: 10px; left: 10px; }
.thumb-sm { width: 64px; flex: none; border-radius: var(--r-s); aspect-ratio: 1; }
.thumb-sm svg.art { width: 180%; height: 100%; margin-left: -40%; }

/* ---------- beranda ---------- */
.hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; align-items: center; padding: 34px; border-radius: var(--r-xl); background: var(--primary); color: #fff; overflow: hidden; position: relative; }
.hero h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hero p { margin-top: 12px; font-size: 16.5px; color: rgba(255, 255, 255, .86); max-width: 46ch; }
.hero .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero .btn-white { background: #fff; color: #1B2D86; border-color: #fff; }
.hero .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn-line:hover { border-color: #fff; }
.hero-facts { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; font-size: 13px; color: rgba(255, 255, 255, .8); }
.hero-facts b { display: block; font-size: 22px; color: #fff; font-weight: 800; }
.hero-art { justify-self: end; width: 100%; max-width: 420px; }
@media (prefers-color-scheme: dark) { .hero { background: #233FB8; } }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat { display: flex; gap: 12px; align-items: center; padding: 14px; text-decoration: none; transition: border-color .18s var(--ease), transform .18s var(--ease); }
.cat:hover { border-color: var(--muted); transform: translateY(-1px); }
.cat .ci { width: 42px; height: 42px; border-radius: var(--r-m); display: grid; place-items: center; flex: none; }
.cat .ci svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cat b { display: block; font-size: 14.5px; }
.cat small { color: var(--muted); font-size: 12.5px; line-height: 1.4; display: block; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; padding: 12px; text-decoration: none; transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease); }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: transparent; }
.card-b { padding: 14px 4px 4px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-k { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 17px; font-weight: 800; }
.card .by { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.ava { width: 24px; height: 24px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; flex: none; }
.ava svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.card .desc { color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-f { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.price { font-weight: 800; font-size: 16px; }
.price s { color: var(--muted); font-weight: 500; font-size: 13px; margin-left: 6px; }
.card .bar { margin-top: 4px; }

.bundle { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 22px; background: var(--ink); color: var(--bg); border-radius: var(--r-xl); }
.bundle .stack { display: flex; }
.bundle .stack .thumb-sm { width: 58px; border: 3px solid var(--ink); border-radius: var(--r-m); }
.bundle .stack .thumb-sm + .thumb-sm { margin-left: -18px; }
.bundle h3 { font-size: 20px; font-weight: 800; }
.bundle p { opacity: .78; font-size: 14px; margin-top: 4px; }
.bundle .bp { text-align: right; }
.bundle .bp b { font-size: 24px; font-weight: 800; display: block; }
.bundle .bp s { opacity: .6; font-size: 13px; }
.bundle .btn { margin-top: 10px; }

.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { padding: 18px; }
.step .n { width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; font-weight: 800; font-size: 14px; margin-bottom: 12px; }
.step b { display: block; font-size: 15.5px; }
.step p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.paylogos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.paylogos span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--r-pill); background: var(--surface-2); font-size: 12.5px; font-weight: 700; }
.paylogos svg { width: 14px; height: 14px; }

.faq { display: grid; gap: 10px; }
.faq details { padding: 0 18px; }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 0; cursor: pointer; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease); flex: none; margin-top: -4px; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.faq details p { color: var(--muted); padding-bottom: 16px; }

/* ---------- katalog ---------- */
.page-h { margin-bottom: 20px; }
.page-h h1 { font-size: clamp(26px, 3vw, 34px); font-weight: 800; letter-spacing: -.03em; }
.page-h p { color: var(--muted); margin-top: 6px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.count { color: var(--muted); font-size: 14px; }
.empty { padding: 40px 20px; text-align: center; color: var(--muted); }
.empty b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }

/* ---------- halaman kelas ---------- */
.crumb { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13.5px; margin-bottom: 16px; flex-wrap: wrap; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--ink); }
.course { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.c-top .card-k { margin-bottom: 8px; display: block; }
.c-top h1 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.c-top .lead { font-size: 16.5px; color: var(--ink-2); margin-top: 12px; max-width: 62ch; }
.c-top .meta { margin-top: 16px; font-size: 14px; }
.c-top .by { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.c-top .by .ava { width: 32px; height: 32px; }
.learn-box { padding: 22px; margin-top: 28px; }
.learn-box h2, .c-sec h2 { font-size: 19px; font-weight: 800; margin-bottom: 14px; }
.gets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 22px; }
.gets li { display: flex; gap: 10px; font-size: 14.5px; }
.gets svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.c-sec { margin-top: 32px; }
.c-sec .sub { color: var(--muted); font-size: 14px; margin: -8px 0 14px; }
.mod { margin-bottom: 18px; }
.mod h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 8px; display: flex; gap: 8px; align-items: baseline; }
.mod h3 small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.lessons { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lrow { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); text-decoration: none; color: var(--ink); font-size: 14.5px; transition: border-color .15s var(--ease), background .15s var(--ease); }
a.lrow:hover { border-color: var(--muted); }
.lrow .t { flex: 1; min-width: 0; }
.lrow .d { color: var(--muted); font-size: 13px; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }
.lrow .d svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.lrow.locked { color: var(--muted); background: var(--surface-2); }
.lrow.now { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.st-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-ic.done { stroke: var(--ok); }
.pv { font-size: 11.5px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 2px 8px; border-radius: var(--r-pill); }
.fit { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fit li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.fit li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); margin-top: 8px; flex: none; }
.teacher { display: flex; gap: 16px; align-items: center; padding: 18px; }
.teacher .ava { width: 52px; height: 52px; }
.teacher .ava svg { width: 26px; height: 26px; }
.teacher b { display: block; font-size: 16px; }
.teacher p { color: var(--muted); font-size: 14px; }

.buy { position: sticky; top: 84px; padding: 14px; box-shadow: var(--shadow); }
.buy .thumb { margin-bottom: 16px; }
.buy-p { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.buy-p b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.buy-alt { color: var(--muted); font-size: 13px; margin: 4px 0 14px; }
.buy .btn + .btn { margin-top: 8px; }
.buy ul { list-style: none; padding: 14px 4px 4px; margin: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.buy ul li { display: flex; gap: 10px; align-items: center; }
.buy ul svg { width: 17px; height: 17px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.buy .progress-t { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin: 6px 0 8px; font-weight: 600; }
.buy-pad { padding: 0 4px; }
.mbuy { display: none; }

/* ---------- pemutar ---------- */
.learn { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.side { position: sticky; top: 84px; padding: 16px; max-height: calc(100vh - 104px); overflow: auto; }
.side h2 { font-size: 16px; font-weight: 800; }
.side .progress-t { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin: 8px 0 6px; font-weight: 600; }
.side .mh { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin: 18px 0 8px; }
.side .lrow { padding: 9px 10px; font-size: 13.5px; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-l); overflow: hidden; background: #0C0E14; color: #fff; }
.player svg.art { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .35; }
.player .ov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(16px, 3vw, 28px); background: linear-gradient(180deg, rgba(12, 14, 20, .2), rgba(12, 14, 20, .85)); }
.player .ov small { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.player .ov h2 { font-size: clamp(20px, 3vw, 32px); font-weight: 800; max-width: 22ch; }
.player .pb { display: flex; align-items: center; gap: 12px; font-size: 12.5px; opacity: .85; }
.player .pb .play { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; flex: none; }
.player .pb .play svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.player .pb .track { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.player .pb .track i { display: block; height: 100%; width: 0; background: #fff; transition: width .6s var(--ease); }
.player .pb .track i.full { width: 100%; }
.l-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-top: 20px; flex-wrap: wrap; }
.l-head h1 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.l-head .meta { margin-top: 6px; }
.l-body { margin-top: 18px; padding: 22px; }
.l-body p { font-size: 15.5px; color: var(--ink-2); max-width: 70ch; }
.l-body p + p { margin-top: 12px; }
.box { margin-top: 18px; border-radius: var(--r-m); padding: 16px 18px; }
.box h3 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.box h3 svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.box-prompt { background: var(--surface-2); }
.box-prompt pre { margin: 0 0 12px; white-space: pre-wrap; font: 500 14px/1.6 ui-monospace, Consolas, monospace; color: var(--ink); }
.box-task { background: var(--warn-soft); }
.l-nav { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.l-nav .sp { flex: 1; }
.lock-card { padding: 30px; text-align: center; display: grid; justify-items: center; gap: 10px; margin-top: 18px; }
.lock-card .li { width: 52px; height: 52px; border-radius: 50%; background: var(--primary-soft); display: grid; place-items: center; }
.lock-card .li svg { width: 24px; height: 24px; fill: none; stroke: var(--primary); stroke-width: 2; }
.lock-card h2 { font-size: 20px; font-weight: 800; }
.lock-card p { color: var(--muted); max-width: 44ch; }

/* ---------- kelasku ---------- */
.dash { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 26px; }
.stat { padding: 18px; }
.stat small { color: var(--muted); font-size: 13px; font-weight: 600; }
.stat b { display: block; font-size: 28px; font-weight: 800; margin-top: 4px; }
.cont { display: grid; grid-template-columns: 220px 1fr auto; gap: 20px; align-items: center; padding: 14px; text-decoration: none; }
.cont h3 { font-size: 18px; font-weight: 800; margin: 4px 0 8px; }
.cont .progress-t { font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.orders { display: grid; gap: 0; }
.order { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; padding: 14px 18px; }
.order + .order { border-top: 1px solid var(--line); }
.order b { font-size: 14.5px; }
.order .om { color: var(--muted); font-size: 12.5px; font-weight: 500; }
.st { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; }
.st-paid { background: var(--ok-soft); color: var(--ok); }
.st-pending { background: var(--warn-soft); color: var(--ink-2); }
.st-off { background: var(--surface-2); color: var(--muted); }
.note { color: var(--muted); font-size: 13.5px; margin-top: 12px; }

/* ---------- dialog bayar ---------- */
dialog { border: 0; padding: 0; background: transparent; color: var(--ink); width: min(460px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; overscroll-behavior: contain; }
dialog::backdrop { background: rgba(12, 14, 20, .55); backdrop-filter: blur(4px); }
dialog[open] .sheet { animation: rise .3s var(--ease); }
@keyframes rise { from { transform: translateY(14px); opacity: 0; } }
.sheet { background: var(--surface); border-radius: var(--r-xl); padding: 20px; display: grid; gap: 16px; box-shadow: var(--shadow-lg); }
.sheet-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.sheet-item { display: flex; gap: 12px; align-items: center; min-width: 0; }
.sheet-head h2 { font-size: 17px; font-weight: 800; }
.eyebrow { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.x { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--surface-2); display: grid; place-items: center; cursor: pointer; flex: none; }
.x svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.bill { background: var(--surface-2); border-radius: var(--r-m); padding: 12px 14px; display: grid; gap: 6px; font-size: 14px; }
.bill-row { display: flex; justify-content: space-between; color: var(--ink-2); }
.bill-row b { font-weight: 600; color: var(--ink); }
.bill-total { border-top: 1px dashed var(--line); padding-top: 8px; margin-top: 2px; font-size: 15px; }
.bill-total span, .bill-total b { font-weight: 800; color: var(--ink); }
.methods { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.methods legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; }
.method { display: grid; grid-template-columns: 38px 1fr auto; gap: 12px; align-items: center; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--r-m); cursor: pointer; position: relative; transition: border-color .15s var(--ease), background .15s var(--ease); }
.method input { position: absolute; opacity: 0; pointer-events: none; }
.method:hover { border-color: var(--muted); }
.method:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.method:has(input:focus-visible) { outline: 2px solid var(--primary); outline-offset: 2px; }
.method:has(input:checked)::after { content: ''; position: absolute; right: -6px; top: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.m-ico { width: 38px; height: 38px; border-radius: var(--r-s); display: grid; place-items: center; }
.m-ico svg { width: 20px; height: 20px; fill: #fff; }
.m-gopay { background: #00AA5B; } .m-stars { background: #2AABEE; } .m-binance { background: #F0B90B; }
.m-binance svg { fill: #1E2026; }
.m-txt b { display: block; font-size: 14.5px; }
.m-txt small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.m-amt { font-size: 13px; font-weight: 700; text-align: right; white-space: nowrap; }
.field { display: grid; gap: 6px; }
.field > span:first-child { font-weight: 700; font-size: 14px; }
.field small { color: var(--muted); font-size: 12.5px; }
.at { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-m); background: var(--surface); }
.at:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.at i { font-style: normal; padding-left: 14px; color: var(--muted); font-weight: 600; }
.at input { border: 0; background: none; outline: none; min-height: 46px; flex: 1; min-width: 0; padding: 0 14px 0 3px; font-size: 16px; }
.err { background: #FDECEC; color: #9B1C1C; padding: 10px 14px; border-radius: var(--r-s); font-size: 13.5px; font-weight: 600; }
@media (prefers-color-scheme: dark) { .err { background: #3A1515; color: #FFB4B4; } }
.fine { display: flex; gap: 8px; justify-content: center; align-items: flex-start; font-size: 12.5px; color: var(--muted); text-align: left; }
.fine svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; margin-top: 2px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: var(--r-pill); font-size: 14px; font-weight: 600; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), opacity .2s; z-index: 60; pointer-events: none; box-shadow: var(--shadow-lg); }
.toast.on { transform: translate(-50%, 0); opacity: 1; }

.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 28px 32px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.foot b { color: var(--ink); }
.foot-pay { display: grid; gap: 6px; justify-items: end; }
.pay-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-chips i { font-style: normal; font-weight: 700; font-size: 12px; padding: 3px 9px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- responsif ---------- */
@media (max-width: 1100px) {
  .course { grid-template-columns: minmax(0, 1fr) 300px; }
  .learn { grid-template-columns: 260px minmax(0, 1fr); }
  .cats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1023px) {
  .rail { display: none; }
  .page { margin-left: 0; }
  .brand-m { display: flex; padding: 0; }
  .topbar { padding: 0 20px; }
  main { padding: 22px 20px 56px; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .course, .learn { grid-template-columns: 1fr; }
  .buy, .side { position: static; max-height: none; }
  .learn .side { order: 2; }
}
@media (max-width: 767px) {
  body { font-size: 15px; }
  .topbar { gap: 10px; padding: 0 16px; height: 58px; }
  .top-cta { display: none; }
  .search { height: 40px; }
  .search input { font-size: 16px; }
  .brand-m span { display: none; }
  main { padding: 18px 16px 120px; }
  .foot { padding: 22px 16px 96px; }
  .foot-pay { justify-items: start; }
  .tabbar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; text-decoration: none; font-size: 11.5px; font-weight: 600; color: var(--muted); padding: 6px 0; border-radius: var(--r-s); }
  .tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
  .tabbar a[aria-current="page"] { color: var(--primary); }
  .hero { padding: 24px 20px; border-radius: var(--r-l); }
  .hero p { font-size: 15px; }
  .hero .acts .btn { flex: 1; }
  .hero-facts { gap: 18px; }
  .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat { padding: 12px; gap: 10px; }
  .cat .ci { width: 36px; height: 36px; }
  .cat small { display: none; }
  .grid { grid-template-columns: 1fr; gap: 14px; }
  .card { flex-direction: row; gap: 12px; padding: 10px; align-items: stretch; }
  .card .thumb { width: 116px; flex: none; aspect-ratio: 1; }
  .card .thumb .badge { display: none; }
  .card-b { padding: 2px 0 0; gap: 5px; }
  .card h3 { font-size: 15.5px; }
  .card .by, .card .desc { display: none; }
  .card-f { padding-top: 8px; }
  .bundle { grid-template-columns: 1fr; text-align: left; padding: 20px; }
  .bundle .bp { text-align: left; }
  .steps3 { grid-template-columns: 1fr; }
  .gets { grid-template-columns: 1fr; }
  .course .buy { display: none; }
  .mbuy { display: flex; position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); z-index: 25; gap: 12px; align-items: center; justify-content: space-between; padding: 10px 16px; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(18, 20, 26, .08); }
  .mbuy b { font-size: 18px; font-weight: 800; display: block; line-height: 1.2; }
  .mbuy small { color: var(--muted); font-size: 12px; }
  .mbuy .btn { min-height: 44px; }
  .c-mthumb { display: block !important; margin-bottom: 16px; }
  .dash { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 12px; }
  .stat b { font-size: 22px; }
  .stat small { font-size: 11.5px; }
  .cont { grid-template-columns: 96px 1fr; gap: 12px; padding: 10px; }
  .cont .thumb { aspect-ratio: 1; }
  .cont .btn { grid-column: 1 / -1; }
  .method { grid-template-columns: 36px 1fr; }
  .m-ico { width: 36px; height: 36px; }
  .m-amt { grid-column: 2; text-align: left; margin-top: -4px; }
  .sheet { padding: 16px; gap: 12px; }
  .l-body { padding: 16px; }
  .l-nav .btn { flex: 1; }
  .l-nav .sp { display: none; }
}
.c-mthumb { display: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media (hover: none) { .card:hover, .cat:hover { transform: none; box-shadow: none; } }

/* ---------- tambahan ---------- */
.bar i.w0 { width: 0%; }
.bar i.w5 { width: 5%; }
.bar i.w10 { width: 10%; }
.bar i.w15 { width: 15%; }
.bar i.w20 { width: 20%; }
.bar i.w25 { width: 25%; }
.bar i.w30 { width: 30%; }
.bar i.w35 { width: 35%; }
.bar i.w40 { width: 40%; }
.bar i.w45 { width: 45%; }
.bar i.w50 { width: 50%; }
.bar i.w55 { width: 55%; }
.bar i.w60 { width: 60%; }
.bar i.w65 { width: 65%; }
.bar i.w70 { width: 70%; }
.bar i.w75 { width: 75%; }
.bar i.w80 { width: 80%; }
.bar i.w85 { width: 85%; }
.bar i.w90 { width: 90%; }
.bar i.w95 { width: 95%; }
.bar i.w100 { width: 100%; }
.ci-dasar { background: #F59E0B; } .ci-kerja { background: #10B981; } .ci-jualan { background: #F43F5E; } .ci-otomasi { background: #6366F1; }
.hero-art { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; transform: rotate(-3deg); }
.hero-art .thumb { border: 3px solid rgba(255, 255, 255, .22); box-shadow: 0 10px 30px rgba(10, 20, 80, .35); }
.hero-art .thumb:nth-child(even) { transform: translateY(18px); }
.m-ico.sm { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.card-f .wide .meta { margin-bottom: 6px; }
.cont .thumb { width: 100%; }
@media (max-width: 1023px) { .hero-art { display: none; } }
