/* ==========================================================================
   Cendekia Nusantara — design system
   Biru royal sebagai warna utama, amber sebagai aksen hangat, mint & coral
   sebagai warna pendukung untuk kategori/jenjang.
   ========================================================================== */
:root {
  --b950: #050f26; --b900: #0a1a42; --b800: #0f2a66; --b700: #163a8f; --b600: #1f4fd1;
  --b500: #2f66f3; --b400: #5b8bff; --b200: #c7d8ff; --b100: #e4ecff; --b50: #f2f6ff;
  --amber: #ffb627; --amber-d: #e89a00; --amber-l: #fff3d6;
  --mint: #12c2a0; --mint-l: #dcfaf3; --coral: #ff6b5b; --coral-l: #ffe7e3; --violet: #7c5cff; --violet-l: #ece8ff;
  --ink: #0a1a42; --text: #3d4b6b; --muted: #6d7a98; --line: #e3e9f6; --bg: #f6f8fd; --white: #fff;
  --r-sm: 10px; --r: 16px; --r-lg: 24px; --r-xl: 32px;
  --sh-sm: 0 1px 2px rgba(10, 26, 66, .06), 0 2px 8px rgba(10, 26, 66, .05);
  --sh: 0 10px 30px -10px rgba(10, 26, 66, .18);
  --sh-lg: 0 30px 60px -20px rgba(10, 26, 66, .28);
  --sh-blue: 0 14px 30px -10px rgba(31, 79, 209, .55);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--b600); text-decoration: none; }
a:hover { color: var(--b700); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--b500); color: #fff; }
.ic { width: 1.1em; height: 1.1em; stroke-width: 2; vertical-align: -.18em; flex-shrink: 0; }
svg.lucide { width: 1.1em; height: 1.1em; stroke-width: 2; flex-shrink: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 860px; }
.section { padding: 96px 0; position: relative; }
.section.tight { padding: 64px 0; }
.section.alt { background: var(--bg); }
.section.dark { background: var(--b900); color: #c9d5f3; }
.section.dark h2, .section.dark h3 { color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* ------------------------------------------------------------ typography */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--b600); background: var(--b50); border: 1px solid var(--b100); padding: 6px 14px; border-radius: 99px; margin-bottom: 18px; }
.section.dark .eyebrow { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: var(--amber); }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }
.section.dark .section-head p { color: #9fb0d9; }
.grad-text { background: linear-gradient(100deg, var(--b500), var(--violet) 55%, var(--coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hl { position: relative; white-space: nowrap; z-index: 0; }
.hl::after { content: ""; position: absolute; left: -4px; right: -4px; bottom: .08em; height: .32em; background: var(--amber); opacity: .55; border-radius: 6px; z-index: -1; transform: skew(-8deg); }

/* ---------------------------------------------------------------- buttons */
.btn { --bg: var(--b600); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 14px; font-weight: 700; font-size: 15px; background: var(--bg); color: var(--fg); border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; white-space: nowrap; line-height: 1.2; position: relative; overflow: hidden; }
.btn:hover { color: var(--fg); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { box-shadow: var(--sh-blue); background: linear-gradient(135deg, var(--b500), var(--b600) 60%, var(--b700)); }
.btn-primary:hover { box-shadow: 0 18px 36px -10px rgba(31, 79, 209, .7); }
.btn-amber { --bg: var(--amber); --fg: var(--b950); box-shadow: 0 12px 26px -10px rgba(255, 170, 0, .7); }
.btn-amber:hover { --bg: #ffc247; }
.btn-white { --bg: #fff; --fg: var(--b700); box-shadow: var(--sh); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--b400); --fg: var(--b600); }
.btn-glass { --bg: rgba(255,255,255,.1); --fg: #fff; border-color: rgba(255,255,255,.25); backdrop-filter: blur(8px); }
.btn-glass:hover { --bg: rgba(255,255,255,.18); }
.btn-danger { --bg: #fee2e2; --fg: #b91c1c; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }
.btn-lg { padding: 17px 30px; font-size: 16px; border-radius: 16px; }
.btn-block { width: 100%; }
.btn .shine { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); animation: shine 3.5s infinite; }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.link-arrow .ic { transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(4px); }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--b50); color: var(--b600); white-space: nowrap; }
.badge.amber { background: var(--amber-l); color: #a86400; }
.badge.green { background: var(--mint-l); color: #067a63; }
.badge.red { background: var(--coral-l); color: #c0311f; }
.badge.violet { background: var(--violet-l); color: #5536d9; }
.badge.blue { background: var(--b100); color: var(--b700); }
.badge.dark { background: var(--b900); color: #fff; }

/* ---------------------------------------------------------------- topbar */
.topbar { background: linear-gradient(90deg, var(--b900), var(--b700) 50%, var(--b900)); color: #dbe5ff; font-size: 14px; position: relative; z-index: 60; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 14px; padding-top: 9px; padding-bottom: 9px; flex-wrap: wrap; text-align: center; }
.topbar strong { color: var(--amber); }
.topbar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.countdown { display: inline-flex; gap: 6px; font-variant-numeric: tabular-nums; }
.countdown span { background: rgba(255,255,255,.12); padding: 1px 7px; border-radius: 6px; font-weight: 700; color: #fff; font-size: 13px; }

/* ---------------------------------------------------------------- navbar */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -12px rgba(10,26,66,.15); }
.nav .container { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 800; flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text b { font-size: 18px; letter-spacing: -.02em; }
.brand-text small { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: 15px; transition: color .2s, background .2s; }
.menu > li > a:hover, .menu > li > a.active { color: var(--b600); background: var(--b50); }
.menu .dropdown { position: absolute; top: calc(100% + 8px); left: 50%; transform: translate(-50%, 8px); min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-lg); padding: 10px; opacity: 0; visibility: hidden; transition: all .25s var(--ease); }
.menu > li:hover .dropdown, .menu > li:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; color: var(--ink); }
.dropdown a:hover { background: var(--b50); }
.dropdown .di { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.dropdown b { display: block; font-size: 14px; }
.dropdown small { color: var(--muted); font-size: 12.5px; line-height: 1.4; display: block; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; margin-left: auto; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.nav.open .burger span { background: transparent; }
.nav.open .burger span::before { top: 0; transform: rotate(45deg); }
.nav.open .burger span::after { top: 0; transform: rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 110px; background: radial-gradient(1200px 600px at 85% -10%, #dfe8ff 0%, transparent 60%), radial-gradient(900px 500px at -10% 110%, #fff1d1 0%, transparent 55%), linear-gradient(180deg, #fbfcff, #f3f6ff); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 66px); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 22px; }
.hero .lead { font-size: 19px; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.avatars { display: flex; }
.avatars img { width: 42px; height: 42px; border-radius: 50%; border: 3px solid #fff; object-fit: cover; margin-left: -12px; box-shadow: var(--sh-sm); }
.avatars img:first-child { margin-left: 0; }
.hero-trust .stars { color: var(--amber); display: flex; gap: 2px; }
.hero-trust small { display: block; color: var(--muted); font-size: 13px; }
.hero-trust b { color: var(--ink); }
.hero-pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; background: #fff; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--ink); box-shadow: var(--sh-sm); margin-bottom: 24px; }
.hero-pill .badge { background: var(--b600); color: #fff; }
.hero-visual { position: relative; aspect-ratio: 1 / 1.02; }
.hero-blob { position: absolute; inset: 6% 4% 4% 8%; border-radius: 42% 58% 48% 52% / 52% 44% 56% 48%; background: linear-gradient(140deg, var(--b500), var(--violet)); animation: morph 14s ease-in-out infinite; opacity: .95; }
@keyframes morph { 0%, 100% { border-radius: 42% 58% 48% 52% / 52% 44% 56% 48%; } 50% { border-radius: 58% 42% 55% 45% / 42% 58% 42% 58%; } }
.hero-photo { position: absolute; inset: 10% 8% 8% 12%; border-radius: 36px; overflow: hidden; box-shadow: var(--sh-lg); transform: rotate(-3deg); border: 6px solid #fff; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; background: #fff; border-radius: 18px; box-shadow: var(--sh-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: 14px; animation: floaty 6s ease-in-out infinite; z-index: 2; }
.float-card b { display: block; color: var(--ink); font-size: 18px; line-height: 1.1; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.float-card .fi { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; }
.fc-1 { top: 4%; left: -4%; } .fc-2 { bottom: 16%; left: -8%; animation-delay: -2s; } .fc-3 { top: 30%; right: -6%; animation-delay: -4s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.deco { position: absolute; pointer-events: none; }
.deco-dots { width: 140px; height: 140px; background-image: radial-gradient(var(--b400) 2px, transparent 2px); background-size: 18px 18px; opacity: .35; }
.deco-ring { width: 90px; height: 90px; border: 14px solid var(--amber); border-radius: 50%; opacity: .9; }
.deco-plus { color: var(--coral); font-size: 40px; font-weight: 800; }
.spin-slow { animation: spin 20s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.stats-bar { position: relative; z-index: 3; margin-top: -60px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-lg); border: 1px solid var(--line); overflow: hidden; }
.stat { padding: 30px 26px; display: flex; gap: 16px; align-items: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .si { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; flex-shrink: 0; }
.stat b { display: block; font-size: 30px; color: var(--ink); line-height: 1; letter-spacing: -.03em; font-weight: 800; }
.stat span { font-size: 14px; color: var(--muted); }

/* --------------------------------------------------------------- marquee */
.marquee { overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: #fff; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--muted); font-size: 16px; white-space: nowrap; }
.marquee-track span .ic { color: var(--amber-d); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------------- cards */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; position: relative; }
.card.hover:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.feature .fi { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 20px; font-size: 26px; transition: transform .4s var(--ease); }
.feature:hover .fi { transform: rotate(-8deg) scale(1.08); }
.feature h3 { font-size: 20px; }
.feature p { color: var(--muted); margin: 0; }
.tone-blue { background: var(--b100); color: var(--b600); } .tone-amber { background: var(--amber-l); color: var(--amber-d); }
.tone-mint { background: var(--mint-l); color: #0a9a7f; } .tone-coral { background: var(--coral-l); color: var(--coral); }
.tone-violet { background: var(--violet-l); color: var(--violet); } .tone-dark { background: var(--b900); color: var(--amber); }

/* jenjang */
.level { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.level-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.level-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.level:hover .level-img img { transform: scale(1.08); }
.level-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5,15,38,.75)); }
.level-tag { position: absolute; left: 18px; bottom: 16px; z-index: 1; color: #fff; }
.level-tag b { font-size: 34px; display: block; line-height: 1; letter-spacing: -.03em; }
.level-tag small { opacity: .85; font-weight: 600; }
.level-icon { position: absolute; top: 16px; right: 16px; z-index: 1; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 20px; box-shadow: 0 8px 18px rgba(0,0,0,.2); }
.level-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.level-body p { color: var(--muted); font-size: 15px; }
.level-foot { margin-top: auto; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.level-foot small { color: var(--muted); display: block; font-size: 12px; }
.level-foot b { color: var(--ink); font-size: 17px; }
.check-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 9px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check-list li::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; border-radius: 50%; background: var(--mint-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a9a7f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.section.dark .check-list li::before { background-color: rgba(18,194,160,.18); }

/* about split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.photo-stack { position: relative; padding: 0 30px 40px 0; }
.photo-stack .p1 { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4/3.4; }
.photo-stack .p1 img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .p2 { position: absolute; right: 0; bottom: 0; width: 46%; border-radius: var(--r-lg); overflow: hidden; border: 6px solid #fff; box-shadow: var(--sh-lg); aspect-ratio: 1; }
.photo-stack .p2 img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack .years { position: absolute; left: -20px; top: 30px; background: var(--amber); color: var(--b950); border-radius: 22px; padding: 18px 20px; box-shadow: var(--sh-lg); text-align: center; animation: floaty 7s ease-in-out infinite; }
.photo-stack .years b { font-size: 38px; display: block; line-height: 1; }
.photo-stack .years small { font-weight: 700; font-size: 13px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 28px 0; }
.mini-stats div { background: var(--bg); border-radius: var(--r); padding: 16px; }
.mini-stats b { font-size: 26px; color: var(--b600); display: block; line-height: 1.1; }
.mini-stats small { color: var(--muted); font-size: 13px; }

/* ---------------------------------------------------------------- pricing */
.tabs { display: inline-flex; gap: 6px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--sh-sm); flex-wrap: wrap; justify-content: center; }
.tabs button { border: 0; background: transparent; padding: 11px 22px; border-radius: 12px; font-weight: 700; cursor: pointer; color: var(--muted); transition: all .25s var(--ease); display: inline-flex; gap: 8px; align-items: center; }
.tabs button:hover { color: var(--ink); }
.tabs button.active { background: var(--b600); color: #fff; box-shadow: var(--sh-blue); }
.section.dark .tabs { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.1); }
.section.dark .tabs button { color: #aebce0; }
.section.dark .tabs button.active { background: var(--amber); color: var(--b950); box-shadow: none; }
.tabs-wrap { text-align: center; margin-bottom: 40px; }
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; display: flex; flex-direction: column; position: relative; transition: transform .35s var(--ease), box-shadow .35s; color: var(--text); }
.price:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.price.pop { background: linear-gradient(160deg, var(--b600), var(--b800)); color: #cfdcff; border-color: transparent; box-shadow: var(--sh-blue); transform: scale(1.03); }
.price.pop:hover { transform: scale(1.03) translateY(-6px); }
.price.pop h3, .price.pop .amount { color: #fff; }
.price .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--amber); color: var(--b950); font-size: 12px; font-weight: 800; padding: 5px 14px; border-radius: 99px; white-space: nowrap; box-shadow: 0 8px 18px -6px rgba(255,170,0,.8); }
.price .pi { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; color: #fff; }
.price h3 { font-size: 19px; margin-bottom: 4px; }
.price .sub { font-size: 13.5px; color: var(--muted); min-height: 42px; line-height: 1.5; }
.price.pop .sub { color: #aac0f5; }
.price .strike { text-decoration: line-through; color: var(--muted); font-size: 14px; margin-top: 12px; min-height: 21px; }
.price.pop .strike { color: #93a9e0; }
.price .amount { font-size: 30px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.price .per { font-size: 13px; color: var(--muted); }
.price.pop .per { color: #aac0f5; }
.price .save { display: inline-block; margin: 10px 0 16px; font-size: 12.5px; font-weight: 800; color: #067a63; background: var(--mint-l); padding: 4px 10px; border-radius: 8px; }
.price.pop .save { background: rgba(18,194,160,.2); color: #6ff0d3; }
.price ul { list-style: none; padding: 16px 0 0; margin: 0 0 22px; border-top: 1px dashed var(--line); display: grid; gap: 9px; font-size: 14px; }
.price.pop ul { border-color: rgba(255,255,255,.18); }
.price ul li { display: flex; justify-content: space-between; gap: 8px; }
.price ul li span:last-child { font-weight: 700; color: var(--ink); text-align: right; }
.price.pop ul li span:last-child { color: #fff; }
.price ul li s { color: var(--muted); font-weight: 500; font-size: 12px; margin-right: 4px; }
.price .btn { margin-top: auto; }
.price-note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }

.cost-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); font-size: 15px; }
.cost-table th, .cost-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.cost-table thead th { background: var(--b900); color: #fff; font-weight: 700; font-size: 14px; }
.cost-table thead th:first-child { border-top-left-radius: var(--r-lg); }
.cost-table tbody tr:hover { background: var(--b50); }
.cost-table tr:last-child td { border-bottom: 0; }
.cost-table td.num, .cost-table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.cost-table tfoot td { background: var(--bg); font-weight: 800; color: var(--ink); }
.table-wrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--sh-sm); }

/* timeline gelombang */
.waves { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wave { border-radius: var(--r-lg); padding: 24px; background: #fff; border: 2px solid var(--line); position: relative; }
.wave.now { border-color: var(--b500); box-shadow: var(--sh-blue); }
.wave .pct { font-size: 40px; font-weight: 800; color: var(--b600); line-height: 1; letter-spacing: -.03em; }
.wave.now::before { content: "Sedang berlangsung"; position: absolute; top: -12px; right: 18px; background: var(--b600); color: #fff; font-size: 11.5px; font-weight: 800; padding: 4px 12px; border-radius: 99px; }
.wave.past { opacity: .55; }

/* ------------------------------------------------------------ beasiswa */
.promo { position: relative; overflow: hidden; border-radius: var(--r-xl); background: radial-gradient(600px 300px at 90% 0%, rgba(255,182,39,.35), transparent 60%), radial-gradient(500px 300px at 0% 100%, rgba(124,92,255,.45), transparent 60%), linear-gradient(135deg, var(--b700), var(--b900)); color: #cfdcff; padding: 64px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.promo h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); }
.promo .big { font-size: clamp(64px, 9vw, 120px); font-weight: 800; line-height: .9; letter-spacing: -.05em; background: linear-gradient(180deg, #fff, var(--amber)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.promo-cards { display: grid; gap: 12px; }
.promo-card { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 16px 18px; backdrop-filter: blur(10px); transition: transform .3s var(--ease), background .3s; }
.promo-card:hover { transform: translateX(-6px); background: rgba(255,255,255,.14); }
.promo-card .pi { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.promo-card b { color: #fff; display: block; }
.promo-card small { color: #a9bbe8; }
.promo-card .pct { margin-left: auto; font-weight: 800; color: var(--amber); font-size: 20px; white-space: nowrap; }

.scholar { display: flex; flex-direction: column; }
.scholar .top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.scholar .si { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; color: #fff; font-size: 24px; flex-shrink: 0; }
.scholar .disc { display: flex; gap: 10px; margin: 6px 0 18px; }
.scholar .disc div { flex: 1; background: var(--bg); border-radius: 14px; padding: 12px 14px; }
.scholar .disc b { display: block; font-size: 26px; color: var(--ink); line-height: 1.1; }
.scholar .disc small { color: var(--muted); font-size: 12.5px; }
.scholar .btn { margin-top: auto; }

.sim { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-lg); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.1fr; overflow: hidden; }
.sim-form { padding: 40px; }
.sim-result { padding: 40px; background: linear-gradient(160deg, var(--b800), var(--b950)); color: #c3d1f5; position: relative; }
.sim-result h3 { color: #fff; }
.sim-total { font-size: clamp(34px, 4vw, 46px); font-weight: 800; color: #fff; letter-spacing: -.03em; line-height: 1.1; }
.sim-rows { display: grid; gap: 10px; margin: 22px 0; font-size: 15px; }
.sim-rows div { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px dashed rgba(255,255,255,.14); }
.sim-rows s { color: #7f93c4; margin-right: 6px; font-size: 13px; }
.sim-rows b { color: #fff; }
.save-pill { display: inline-flex; gap: 8px; align-items: center; background: var(--amber); color: var(--b950); font-weight: 800; padding: 8px 16px; border-radius: 12px; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--ink); transition: all .2s; background: #fff; height: 100%; }
.choice label small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
.choice label:hover { border-color: var(--b400); }
.choice input:checked + label { border-color: var(--b600); background: var(--b50); box-shadow: 0 0 0 4px rgba(47,102,243,.12); }
.choice input:focus-visible + label { outline: 3px solid var(--b400); }
.choice .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex-shrink: 0; font-size: 16px; }

/* ------------------------------------------------------------- facilities */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 18px; }
.gallery .gi { position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; }
.gallery .gi:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery .gi:nth-child(4) { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery .gi:hover img { transform: scale(1.08); }
.gallery .cap { position: absolute; inset: auto 0 0; padding: 60px 20px 18px; background: linear-gradient(180deg, transparent, rgba(5,15,38,.85)); color: #fff; }
.gallery .cap b { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.gallery .cap small { opacity: 0; max-height: 0; display: block; transition: all .4s; color: #c9d6f7; }
.gallery .gi:hover .cap small { opacity: 1; max-height: 60px; margin-top: 4px; }

/* ---------------------------------------------------------- lms promo */
.lms-mock { position: relative; border-radius: var(--r-lg); background: #fff; box-shadow: 0 40px 80px -20px rgba(0,0,0,.5); overflow: hidden; transform: perspective(1400px) rotateY(-10deg) rotateX(4deg); transition: transform .6s var(--ease); color: var(--text); font-size: 13px; }
.lms-mock:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.lms-mock .bar { height: 34px; background: #eef2fb; display: flex; gap: 6px; align-items: center; padding: 0 14px; }
.lms-mock .bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; display: block; }
.lms-mock .bar i:nth-child(2) { background: #febc2e; } .lms-mock .bar i:nth-child(3) { background: #28c840; }
.lms-mock .bar span { margin-left: 12px; background: #fff; border-radius: 6px; padding: 2px 12px; color: var(--muted); font-size: 11px; }
.lms-mock .body { display: grid; grid-template-columns: 120px 1fr; min-height: 300px; }
.lms-mock .side { background: var(--b900); padding: 14px 10px; display: grid; gap: 6px; align-content: start; }
.lms-mock .side span { height: 10px; border-radius: 5px; background: rgba(255,255,255,.15); }
.lms-mock .side span.on { background: var(--amber); }
.lms-mock .main { padding: 16px; display: grid; gap: 12px; align-content: start; background: var(--bg); }
.lms-mock .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.lms-mock .tile { background: #fff; border-radius: 10px; padding: 12px; box-shadow: var(--sh-sm); }
.lms-mock .tile b { display: block; font-size: 18px; color: var(--ink); }
.lms-mock .prog { height: 7px; background: var(--line); border-radius: 9px; overflow: hidden; margin-top: 8px; }
.lms-mock .prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--b500), var(--mint)); border-radius: 9px; }
.lms-mock .course { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 10px; padding: 10px; box-shadow: var(--sh-sm); }
.lms-mock .course .ci { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.lms-mock .course div { flex: 1; }
.lms-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0 34px; }
.lms-feats div { display: flex; gap: 12px; align-items: flex-start; }
.lms-feats .fi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--amber); flex-shrink: 0; }
.lms-feats b { color: #fff; display: block; font-size: 15px; }
.lms-feats small { color: #9fb0d9; font-size: 13.5px; }

/* ----------------------------------------------------------- testimonial */
.testi-wrap { position: relative; }
.testi-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 4px 24px; }
.testi-track::-webkit-scrollbar { display: none; }
.testi { scroll-snap-align: start; display: flex; flex-direction: column; }
.testi .quote { font-size: 54px; line-height: .6; color: var(--b200); font-family: Georgia, serif; height: 30px; }
.testi p { font-size: 16px; color: var(--text); flex: 1; }
.testi .who { display: flex; gap: 12px; align-items: center; margin-top: 12px; }
.testi .who img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testi .who b { display: block; color: var(--ink); }
.testi .who small { color: var(--muted); font-size: 13px; }
.testi .stars { color: var(--amber); display: flex; gap: 2px; margin-bottom: 12px; }
.slider-nav { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.slider-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; transition: all .2s; color: var(--ink); }
.slider-nav button:hover { background: var(--b600); color: #fff; border-color: var(--b600); }

/* ---------------------------------------------------------------- teachers */
.teacher { text-align: center; padding: 0 0 22px; overflow: hidden; }
.teacher .ph { aspect-ratio: 1; overflow: hidden; margin-bottom: 18px; position: relative; background: var(--b50); }
.teacher .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.teacher:hover .ph img { transform: scale(1.06); }
.teacher h3 { font-size: 17px; margin-bottom: 2px; padding: 0 12px; }
.teacher .role { color: var(--b600); font-weight: 700; font-size: 13.5px; }
.teacher small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 4px; padding: 0 12px; }

/* ------------------------------------------------------------------- blog */
.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; position: relative; display: block; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.07); }
.post-card .thumb .badge { position: absolute; top: 14px; left: 14px; box-shadow: var(--sh-sm); background: #fff; }
.post-card .pc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 19px; line-height: 1.35; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--b600); }
.post-card p { color: var(--muted); font-size: 15px; }
.meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: 13px; align-items: center; }
.meta span { display: inline-flex; gap: 6px; align-items: center; }
.post-card .meta { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.feat-post { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; padding: 0; overflow: hidden; margin-bottom: 40px; }
.feat-post .thumb { min-height: 380px; position: relative; overflow: hidden; }
.feat-post .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.feat-post:hover .thumb img { transform: scale(1.05); }
.feat-post .fp-body { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.feat-post h2 { font-size: clamp(24px, 3vw, 34px); }
.feat-post h2 a { color: var(--ink); }
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: 100px; display: grid; gap: 24px; }
.sidebar .card { padding: 24px; }
.sidebar h4 { font-size: 16px; margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.cat-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.cat-list a { display: flex; justify-content: space-between; padding: 9px 12px; border-radius: 10px; color: var(--text); font-weight: 600; font-size: 14.5px; }
.cat-list a:hover, .cat-list a.active { background: var(--b50); color: var(--b600); }
.cat-list a span { background: var(--bg); border-radius: 8px; padding: 0 8px; font-size: 12px; color: var(--muted); }
.pop-list { display: grid; gap: 14px; }
.pop-list a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; color: var(--ink); font-weight: 700; font-size: 14px; line-height: 1.35; }
.pop-list img { width: 72px; height: 60px; border-radius: 10px; object-fit: cover; }
.pop-list small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; margin-top: 3px; }
.search-box { display: flex; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 5px; box-shadow: var(--sh-sm); }
.search-box input { flex: 1; border: 0; outline: 0; padding: 10px 14px; background: transparent; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; font-size: 14px; color: var(--text); transition: all .2s; cursor: pointer; }
.chip:hover, .chip.active { background: var(--b600); border-color: var(--b600); color: #fff; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pagination a, .pagination span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); font-weight: 700; color: var(--ink); background: #fff; }
.pagination .active { background: var(--b600); border-color: var(--b600); color: #fff; }

/* article */
.article-hero { padding: 56px 0 0; background: linear-gradient(180deg, var(--b50), #fff); }
.article-hero h1 { font-size: clamp(30px, 4.4vw, 50px); max-width: 900px; }
.article-cover { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; margin-top: 32px; box-shadow: var(--sh-lg); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 18px; line-height: 1.85; color: #34405d; }
.prose h2 { font-size: 26px; margin: 1.8em 0 .6em; }
.prose h3 { font-size: 21px; margin: 1.5em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.8em 0; padding: 22px 28px; background: var(--b50); border-left: 5px solid var(--b500); border-radius: 0 var(--r) var(--r) 0; font-size: 19px; font-style: italic; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 16px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: center; }
.prose th { background: var(--b50); color: var(--ink); }
.prose .callout { background: var(--amber-l); border: 1px solid #ffe2a3; border-radius: var(--r); padding: 16px 20px; margin: 1.4em 0; font-size: 16.5px; }
.prose .formula { background: var(--b900); color: #fff; font-weight: 800; font-size: 22px; text-align: center; border-radius: var(--r); padding: 22px; margin: 1.2em 0; letter-spacing: .02em; font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.prose > :first-child { margin-top: 0; }
.share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.share a, .share button { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--bg); color: var(--ink); border: 1px solid var(--line); cursor: pointer; transition: all .2s; }
.share a:hover, .share button:hover { background: var(--b600); color: #fff; border-color: var(--b600); }
.author-box { display: flex; gap: 18px; align-items: center; padding: 24px; background: var(--bg); border-radius: var(--r-lg); margin: 40px 0; }
.author-box .av { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, var(--b500), var(--violet)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px; flex-shrink: 0; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.post-nav a { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); font-weight: 700; font-size: 15px; transition: all .2s; }
.post-nav a:hover { border-color: var(--b400); background: var(--b50); }
.post-nav small { display: block; color: var(--muted); font-weight: 600; font-size: 12.5px; margin-bottom: 4px; }
.post-nav a.next { text-align: right; }
.progress-read { position: fixed; top: 0; left: 0; height: 4px; background: linear-gradient(90deg, var(--b500), var(--amber)); width: 0; z-index: 100; transition: width .1s; }

/* -------------------------------------------------------------------- faq */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .3s, border-color .3s; }
.faq details[open] { box-shadow: var(--sh); border-color: var(--b200); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 32px; height: 32px; border-radius: 10px; background: var(--b50); color: var(--b600); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; transition: transform .3s; font-weight: 500; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--b600); color: #fff; }
.faq .ans { padding: 0 26px 22px; color: var(--muted); }

/* -------------------------------------------------------------------- cta */
.cta { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: 64px; background: linear-gradient(120deg, var(--b600), var(--b700) 45%, var(--violet)); color: #dbe5ff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.8vw, 44px); }
.cta .actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); right: -120px; top: -180px; }
.cta::after { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,182,39,.25); filter: blur(60px); left: 30%; bottom: -120px; }
.cta > * { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- page hero */
.page-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--b800), var(--b950)); color: #b8c7ec; padding: 80px 0 90px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 260px at 85% 20%, rgba(255,182,39,.28), transparent 60%), radial-gradient(600px 300px at 10% 100%, rgba(124,92,255,.35), transparent 60%); }
.page-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(180deg, #000, transparent); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); max-width: 820px; }
.page-hero p.lead { font-size: 19px; max-width: 680px; margin: 0; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.crumbs a { color: #d4defa; }
.crumbs .ic { opacity: .5; }

/* ------------------------------------------------------------------ forms */
.form-card { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-lg); border: 1px solid var(--line); padding: 40px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label, .lbl { font-weight: 700; font-size: 14px; color: var(--ink); }
.field label .req { color: var(--coral); }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fbfcff; outline: none; transition: border-color .2s, box-shadow .2s, background .2s; font-size: 15px; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus { border-color: var(--b500); background: #fff; box-shadow: 0 0 0 4px rgba(47,102,243,.12); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 12.5px; color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.row3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--b600); margin-top: 2px; flex-shrink: 0; }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 700; transition: all .2s; }
.seg input:checked + span { border-color: var(--b600); background: var(--b50); color: var(--b600); }

.steps { display: flex; gap: 0; margin-bottom: 34px; counter-reset: s; }
.steps li { flex: 1; list-style: none; position: relative; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.steps li::before { counter-increment: s; content: counter(s); width: 40px; height: 40px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--muted); position: relative; z-index: 1; transition: all .3s; font-size: 15px; }
.steps li::after { content: ""; position: absolute; top: 19px; left: calc(50% + 22px); right: calc(-50% + 22px); height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps li.active { color: var(--b600); }
.steps li.active::before { background: var(--b600); border-color: var(--b600); color: #fff; box-shadow: 0 0 0 6px rgba(47,102,243,.15); }
.steps li.done::before { content: "✓"; background: var(--mint); border-color: var(--mint); color: #fff; }
.steps li.done::after { background: var(--mint); }
.steps { padding: 0; }
.step-pane { display: none; animation: fadeUp .45s var(--ease); }
.step-pane.active { display: block; }
.step-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.reg-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.summary { position: sticky; top: 100px; background: linear-gradient(165deg, var(--b800), var(--b950)); color: #c3d1f5; border-radius: var(--r-xl); padding: 30px; box-shadow: var(--sh-lg); }
.summary h3 { color: #fff; font-size: 18px; display: flex; gap: 8px; align-items: center; }
.summary .rows { display: grid; gap: 10px; font-size: 14.5px; margin: 18px 0; }
.summary .rows div { display: flex; justify-content: space-between; gap: 8px; }
.summary .rows b { color: #fff; text-align: right; }
.summary .rows s { color: #7f93c4; font-size: 12px; display: block; }
.summary hr { border: 0; border-top: 1px dashed rgba(255,255,255,.18); margin: 16px 0; }
.summary .tot { font-size: 30px; font-weight: 800; color: #fff; letter-spacing: -.02em; }

.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 14px; display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 500; }
.alert.error { background: #fff0ee; color: #b42318; border: 1px solid #ffd3cc; }
.alert.success { background: #ebfbf6; color: #05735c; border: 1px solid #b7efdf; }
.alert.info { background: var(--b50); color: var(--b700); border: 1px solid var(--b100); }
.toasts { position: fixed; top: 90px; right: 20px; z-index: 200; display: grid; gap: 10px; max-width: 380px; }
.toasts .alert { box-shadow: var(--sh-lg); animation: toastIn .5s var(--ease); margin: 0; background-color: #fff; }
.toasts .alert.error { background: #fff5f3; } .toasts .alert.success { background: #f0fdf9; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }

/* ticket / success */
.ticket { background: #fff; border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; border: 1px solid var(--line); }
.ticket-head { background: linear-gradient(135deg, var(--b600), var(--violet)); color: #fff; padding: 36px 40px; position: relative; }
.ticket-head h2 { color: #fff; }
.ticket-no { font-size: 34px; font-weight: 800; letter-spacing: .04em; font-family: ui-monospace, Menlo, monospace; background: rgba(255,255,255,.14); display: inline-block; padding: 8px 18px; border-radius: 14px; margin-top: 8px; }
.ticket-body { padding: 36px 40px; }
.ticket-cut { height: 0; border-top: 2px dashed var(--line); position: relative; margin: 0 22px; }
.ticket-cut::before, .ticket-cut::after { content: ""; position: absolute; top: -16px; width: 32px; height: 32px; border-radius: 50%; background: var(--bg); }
.ticket-cut::before { left: -38px; } .ticket-cut::after { right: -38px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.kv small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.kv b { color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; position: relative; padding-bottom: 22px; }
.timeline li::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .tn { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--b50); color: var(--b600); font-weight: 800; border: 2px solid var(--b100); }
.timeline li.done .tn { background: var(--mint); color: #fff; border-color: var(--mint); }
.timeline li.now .tn { background: var(--b600); color: #fff; border-color: var(--b600); box-shadow: 0 0 0 6px rgba(47,102,243,.15); }
.timeline b { color: var(--ink); display: block; margin-top: 9px; }
.timeline small { color: var(--muted); }
.va-box { background: var(--bg); border-radius: var(--r); padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.va-box code { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: .06em; }

/* --------------------------------------------------------------- contact */
.info-list { display: grid; gap: 16px; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: all .3s; }
.info-item:hover { box-shadow: var(--sh); transform: translateY(-2px); }
.info-item .ii { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.info-item b { color: var(--ink); display: block; }
.info-item span { color: var(--muted); font-size: 15px; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: 320px; margin-top: 16px; background: var(--bg); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ----------------------------------------------------------------- footer */
.footer { background: var(--b950); color: #93a5d1; padding: 80px 0 0; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(47,102,243,.25), transparent 70%); top: -300px; right: -200px; }
.footer .container { position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 48px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #93a5d1; transition: color .2s; }
.footer a:hover { color: var(--amber); }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .brand-text small { color: #6f82b3; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.06); display: grid; place-items: center; color: #fff; border: 1px solid rgba(255,255,255,.08); }
.socials a:hover { background: var(--b600); color: #fff; }
.newsletter { display: flex; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 5px; margin-top: 12px; }
.newsletter input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; padding: 10px 12px; color: #fff; }
.newsletter input::placeholder { color: #6f82b3; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 60px; padding: 24px 0; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; flex-wrap: wrap; }
.footer .contact-line { display: flex; gap: 10px; align-items: flex-start; }
.footer .contact-line .ic { color: var(--amber); margin-top: 4px; }
.footer-grid > * { min-width: 0; }
.footer .contact-line span { overflow-wrap: anywhere; }

/* ----------------------------------------------------------- misc widgets */
.to-top { position: fixed; left: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh); display: grid; place-items: center; cursor: pointer; z-index: 80; opacity: 0; transform: translateY(20px); transition: all .3s; color: var(--ink); }
.to-top.show { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s 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; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .ic { width: 48px; height: 48px; color: var(--b200); margin-bottom: 12px; }
.demo-note { background: var(--amber-l); border: 1px dashed #ffcf66; color: #7a4a00; padding: 12px 16px; border-radius: 12px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.value { text-align: center; padding: 26px 16px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.value .big { font-size: 38px; font-weight: 800; background: linear-gradient(135deg, var(--b500), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-bottom: 8px; }
.value b { color: var(--ink); display: block; }
.value small { color: var(--muted); font-size: 13px; }
.tl-history { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.tl-history::before { content: ""; position: absolute; top: 22px; left: 5%; right: 5%; height: 2px; background: linear-gradient(90deg, var(--b500), var(--amber)); }
.tl-history > div { position: relative; padding-top: 58px; }
.tl-history > div::before { content: ""; position: absolute; top: 12px; left: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--b500); }
.tl-history b { font-size: 26px; color: var(--b600); display: block; }
.tl-history h4 { font-size: 17px; margin: 4px 0 6px; }
.tl-history p { color: var(--muted); font-size: 14.5px; }
.ekskul { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ekskul span { padding: 10px 18px; border-radius: 99px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #dbe5ff; font-weight: 600; font-size: 15px; transition: all .25s; }
.ekskul span:hover { background: var(--amber); color: var(--b950); transform: translateY(-3px); }
.schedule { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.schedule td { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.schedule td:last-child { text-align: right; font-weight: 700; color: var(--ink); }

/* =============================================================== CHATBOT */
.cb-launcher { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; align-items: center; gap: 12px; }
.cb-bubble { background: #fff; color: var(--ink); padding: 12px 16px; border-radius: 16px 16px 4px 16px; box-shadow: var(--sh-lg); font-size: 14px; font-weight: 600; max-width: 230px; border: 1px solid var(--line); animation: fadeUp .6s var(--ease) 2s both; cursor: pointer; position: relative; }
.cb-bubble .x { position: absolute; top: -8px; left: -8px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; border: 0; font-size: 12px; cursor: pointer; display: grid; place-items: center; line-height: 1; }
.cb-fab { width: 64px; height: 64px; border-radius: 22px; border: 0; cursor: pointer; background: linear-gradient(135deg, var(--b500), var(--violet)); color: #fff; box-shadow: 0 16px 34px -10px rgba(47,102,243,.8); display: grid; place-items: center; position: relative; transition: transform .3s var(--ease), border-radius .3s; flex-shrink: 0; }
.cb-fab:hover { transform: scale(1.06) rotate(-4deg); }
.cb-fab svg { width: 30px; height: 30px; }
.cb-fab::before { content: ""; position: absolute; inset: -6px; border-radius: 26px; border: 2px solid var(--b400); animation: pulse 2.2s infinite; }
.cb-fab .dot { position: absolute; top: -3px; right: -3px; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); border: 3px solid #fff; font-size: 0; }
@keyframes pulse { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.3); opacity: 0; } }
.cb-open .cb-launcher .cb-bubble { display: none; }
.cb-open .cb-fab { border-radius: 50%; }
.cb-open .cb-fab::before, .cb-open .cb-fab .dot { display: none; }
.cb-panel { position: fixed; right: 22px; bottom: 100px; z-index: 95; width: 390px; max-width: calc(100vw - 24px); height: 620px; max-height: calc(100vh - 130px); background: #fff; border-radius: 26px; box-shadow: 0 40px 80px -20px rgba(10,26,66,.45); display: flex; flex-direction: column; overflow: hidden; transform-origin: bottom right; transform: scale(.6) translateY(40px); opacity: 0; visibility: hidden; transition: all .4s var(--ease); border: 1px solid var(--line); }
.cb-open .cb-panel { transform: none; opacity: 1; visibility: visible; }
.cb-head { background: linear-gradient(135deg, var(--b600), var(--b800)); color: #fff; padding: 18px 18px 18px 20px; display: flex; gap: 12px; align-items: center; position: relative; overflow: hidden; }
.cb-head::after { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,182,39,.25); filter: blur(40px); right: -60px; top: -80px; }
.cb-avatar { width: 46px; height: 46px; border-radius: 15px; background: #fff; display: grid; place-items: center; flex-shrink: 0; position: relative; }
.cb-avatar svg { width: 30px; height: 30px; }
.cb-avatar::after { content: ""; position: absolute; bottom: -2px; right: -2px; width: 13px; height: 13px; border-radius: 50%; background: #22c55e; border: 2.5px solid var(--b700); }
.cb-head b { display: block; font-size: 16px; }
.cb-head small { color: #bcd0ff; font-size: 12.5px; }
.cb-head .cb-actions { margin-left: auto; display: flex; gap: 6px; position: relative; z-index: 1; }
.cb-head button { width: 36px; height: 36px; border-radius: 11px; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; display: grid; place-items: center; }
.cb-head button:hover { background: rgba(255,255,255,.22); }
.cb-body { flex: 1; overflow-y: auto; padding: 20px 16px 8px; background: linear-gradient(180deg, #f6f8fe, #fff); scroll-behavior: smooth; }
.cb-msg { display: flex; gap: 8px; margin-bottom: 14px; animation: fadeUp .35s var(--ease); }
.cb-msg .mini { width: 30px; height: 30px; border-radius: 10px; background: var(--b50); display: grid; place-items: center; flex-shrink: 0; align-self: flex-end; }
.cb-msg .mini svg { width: 20px; height: 20px; }
.cb-msg .txt { background: #fff; border: 1px solid var(--line); padding: 11px 15px; border-radius: 18px 18px 18px 6px; font-size: 14.5px; line-height: 1.55; color: var(--ink); max-width: 84%; box-shadow: var(--sh-sm); }
.cb-msg .txt a { font-weight: 700; }
.cb-msg .txt ul { margin: 6px 0; padding-left: 18px; }
.cb-msg .txt li { margin-bottom: 3px; }
.cb-msg .txt .cb-card { margin-top: 10px; border-radius: 12px; background: var(--b50); padding: 10px 12px; font-size: 13.5px; }
.cb-msg .txt .cb-card div { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; }
.cb-msg .txt .cb-card b { color: var(--b700); }
.cb-msg .txt .cb-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 8px 14px; background: var(--b600); color: #fff; border-radius: 10px; font-size: 13px; }
.cb-msg .txt .cb-link:hover { background: var(--b700); color: #fff; }
.cb-msg.me { justify-content: flex-end; }
.cb-msg.me .txt { background: linear-gradient(135deg, var(--b500), var(--b600)); color: #fff; border: 0; border-radius: 18px 18px 6px 18px; }
.cb-time { font-size: 11px; color: var(--muted); margin-top: 4px; }
.cb-typing { display: inline-flex; gap: 4px; padding: 14px 16px !important; }
.cb-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--b400); animation: typing 1.2s infinite; display: block; }
.cb-typing i:nth-child(2) { animation-delay: .15s; } .cb-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-6px); opacity: 1; } }
.cb-quick { display: flex; flex-wrap: wrap; gap: 7px; margin: 4px 0 16px 38px; animation: fadeUp .4s var(--ease); }
.cb-quick button { border: 1.5px solid var(--b200); background: #fff; color: var(--b600); padding: 7px 13px; border-radius: 99px; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .2s; }
.cb-quick button:hover { background: var(--b600); color: #fff; border-color: var(--b600); }
.cb-foot { padding: 12px 14px 14px; border-top: 1px solid var(--line); background: #fff; }
.cb-form { display: flex; gap: 8px; background: var(--bg); border-radius: 16px; padding: 5px 5px 5px 14px; border: 1.5px solid var(--line); transition: border-color .2s; }
.cb-form:focus-within { border-color: var(--b400); }
.cb-form input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 14.5px; min-width: 0; }
.cb-form button { width: 42px; height: 42px; border-radius: 12px; border: 0; background: var(--b600); color: #fff; cursor: pointer; display: grid; place-items: center; }
.cb-form button:disabled { opacity: .4; }
.cb-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 8px; }

/* ============================================================ AUTH layout */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.auth-side { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--b700), var(--b950)); color: #c3d1f5; padding: 48px; display: flex; flex-direction: column; }
.auth-side::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 80% 10%, rgba(255,182,39,.3), transparent 60%), radial-gradient(500px 300px at 0% 90%, rgba(124,92,255,.4), transparent 60%); }
.auth-side > * { position: relative; }
.auth-side .brand { color: #fff; }
.auth-side h2 { color: #fff; font-size: clamp(28px, 3vw, 40px); margin-top: auto; }
.auth-side .auth-img { border-radius: var(--r-lg); overflow: hidden; margin: 32px 0; box-shadow: var(--sh-lg); aspect-ratio: 16/10; }
.auth-side .auth-img img { width: 100%; height: 100%; object-fit: cover; }
.auth-main { display: grid; place-items: center; padding: 40px 24px; }
.auth-box { width: 100%; max-width: 420px; }
.auth-box h1 { font-size: 30px; }
.demo-cred { background: var(--b50); border: 1px dashed var(--b200); border-radius: 14px; padding: 14px 16px; font-size: 14px; margin-bottom: 20px; }
.demo-cred code { background: #fff; padding: 2px 8px; border-radius: 6px; font-weight: 700; color: var(--b700); }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 20px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ============================================================== LMS/Admin */
.app { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; background: var(--bg); }
.app-side { background: var(--b950); color: #93a5d1; padding: 24px 16px; position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.app-side .brand { color: #fff; padding: 0 8px 22px; }
.app-side .brand-text small { color: #6f82b3; }
.app-side .sect { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #56699a; font-weight: 700; padding: 16px 12px 6px; }
.app-side a.item { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: #a9b8dd; font-weight: 600; font-size: 14.5px; transition: all .2s; }
.app-side a.item:hover { background: rgba(255,255,255,.06); color: #fff; }
.app-side a.item.active { background: linear-gradient(135deg, var(--b600), var(--b700)); color: #fff; box-shadow: var(--sh-blue); }
.app-side a.item .count { margin-left: auto; background: var(--coral); color: #fff; font-size: 11px; padding: 1px 8px; border-radius: 99px; }
.app-side .upgrade { margin-top: auto; background: linear-gradient(140deg, rgba(47,102,243,.35), rgba(124,92,255,.35)); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 18px; color: #d4defa; font-size: 13.5px; }
.app-side .upgrade b { color: #fff; display: block; margin-bottom: 4px; }
.app-main { min-width: 0; }
.app-top { height: 72px; background: rgba(255,255,255,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; padding: 0 28px; position: sticky; top: 0; z-index: 20; }
.app-top h1 { font-size: 20px; margin: 0; }
.app-top .who { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.app-top .who img, .app-top .who .av { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
.app-top .who .av { background: linear-gradient(135deg, var(--b500), var(--violet)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.app-top .who b { display: block; font-size: 14px; color: var(--ink); line-height: 1.2; }
.app-top .who small { color: var(--muted); font-size: 12px; }
.app-top .menu-btn { display: none; }
.app-content { padding: 28px; }
.app-grid { display: grid; gap: 22px; }
.welcome { border-radius: var(--r-lg); padding: 30px 32px; background: linear-gradient(120deg, var(--b600), var(--violet)); color: #dbe5ff; position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.welcome h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.welcome::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; border: 50px solid rgba(255,255,255,.07); right: -80px; top: -120px; }
.welcome > * { position: relative; z-index: 1; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi { background: #fff; border-radius: var(--r); padding: 20px; border: 1px solid var(--line); display: flex; gap: 14px; align-items: center; }
.kpi .ki { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.kpi b { font-size: 24px; color: var(--ink); display: block; line-height: 1.1; letter-spacing: -.02em; }
.kpi small { color: var(--muted); font-size: 13px; }
.panel { background: #fff; border-radius: var(--r-lg); border: 1px solid var(--line); padding: 24px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.panel-head h3 { font-size: 17px; margin: 0; display: flex; gap: 8px; align-items: center; }
.cols-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 22px; }
.cols-1-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.course-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: all .3s var(--ease); color: var(--text); }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); color: var(--text); }
.course-card .cc-top { height: 120px; position: relative; overflow: hidden; }
.course-card .cc-top img { width: 100%; height: 100%; object-fit: cover; opacity: .35; mix-blend-mode: luminosity; }
.course-card .cc-top .cc-ic { position: absolute; left: 20px; bottom: -22px; width: 54px; height: 54px; border-radius: 16px; background: #fff; display: grid; place-items: center; box-shadow: var(--sh); font-size: 24px; }
.course-card .cc-top .badge { position: absolute; right: 14px; top: 14px; background: rgba(255,255,255,.9); }
.course-card .cc-body { padding: 32px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.course-card h3 { font-size: 18px; margin-bottom: 4px; }
.course-card .t { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }
.bar-prog { height: 8px; background: var(--line); border-radius: 9px; overflow: hidden; }
.bar-prog i { display: block; height: 100%; border-radius: 9px; background: linear-gradient(90deg, var(--b500), var(--mint)); transition: width 1s var(--ease); }
.prog-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 8px; font-weight: 600; }
.course-card .cc-foot { margin-top: auto; padding-top: 14px; }
.ring { --p: 0; --c: var(--b600); width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--line) 0); display: grid; place-items: center; position: relative; }
.ring::before { content: ""; position: absolute; inset: 12px; background: #fff; border-radius: 50%; }
.ring span { position: relative; font-size: 26px; font-weight: 800; color: var(--ink); }
.list { display: grid; gap: 4px; }
.list-item { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; transition: background .2s; color: var(--text); }
a.list-item:hover { background: var(--bg); color: var(--text); }
.list-item .li-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; color: #fff; }
.list-item .grow { flex: 1; min-width: 0; }
.list-item b { color: var(--ink); display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-item small { color: var(--muted); font-size: 12.5px; }
.score { font-weight: 800; font-size: 18px; }
.score.good { color: #0a9a7f; } .score.mid { color: var(--amber-d); } .score.low { color: var(--coral); }
.lesson-layout { display: grid; grid-template-columns: 1fr 320px; gap: 22px; align-items: start; }
.lesson-nav { position: sticky; top: 96px; }
.lesson-nav a { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; color: var(--text); font-size: 14px; font-weight: 600; }
.lesson-nav a:hover { background: var(--bg); }
.lesson-nav a.current { background: var(--b50); color: var(--b700); }
.lesson-nav .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--bg); border: 2px solid var(--line); flex-shrink: 0; }
.lesson-nav .done .n { background: var(--mint); border-color: var(--mint); color: #fff; }
.lesson-nav .current .n { border-color: var(--b600); color: var(--b600); }
.lesson-body { padding: 36px 40px; }
.quiz-q { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-bottom: 18px; background: #fff; }
.quiz-q h4 { font-size: 17px; display: flex; gap: 12px; }
.quiz-q h4 span { width: 30px; height: 30px; border-radius: 10px; background: var(--b600); color: #fff; display: grid; place-items: center; font-size: 14px; flex-shrink: 0; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; }
.opt span { display: flex; gap: 10px; align-items: center; padding: 13px 16px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 600; transition: all .2s; }
.opt span::before { content: attr(data-l); width: 28px; height: 28px; border-radius: 8px; background: var(--bg); display: grid; place-items: center; font-weight: 800; font-size: 13px; flex-shrink: 0; transition: all .2s; }
.opt span:hover { border-color: var(--b400); }
.opt input:checked + span { border-color: var(--b600); background: var(--b50); }
.opt input:checked + span::before { background: var(--b600); color: #fff; }
.opt.right span { border-color: var(--mint); background: var(--mint-l); }
.opt.right span::before { background: var(--mint); color: #fff; }
.opt.wrong span { border-color: var(--coral); background: var(--coral-l); }
.opt.wrong span::before { background: var(--coral); color: #fff; }
.explain { margin-top: 12px; font-size: 14px; background: var(--bg); padding: 12px 14px; border-radius: 12px; }
.result-box { text-align: center; padding: 40px; border-radius: var(--r-lg); background: linear-gradient(140deg, var(--b600), var(--violet)); color: #dbe5ff; margin-bottom: 24px; }
.result-box .ring { margin: 0 auto 16px; --c: var(--amber); }
.result-box .ring::before { background: var(--b700); }
.result-box .ring span { color: #fff; }
.result-box h2 { color: #fff; }
.lb-row { display: grid; grid-template-columns: 50px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; }
.lb-row:nth-child(odd) { background: var(--bg); }
.lb-row.me { background: var(--b50); outline: 2px solid var(--b200); }
.lb-rank { font-weight: 800; font-size: 18px; text-align: center; color: var(--muted); }
.lb-row .who { display: flex; align-items: center; gap: 12px; }
.lb-row .who img { width: 42px; height: 42px; border-radius: 12px; object-fit: cover; }
.podium { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 16px; align-items: end; margin-bottom: 24px; }
.podium > div { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 12px; }
.podium img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; margin: 0 auto 10px; border: 4px solid var(--line); }
.podium .p1 { padding-top: 36px; background: linear-gradient(180deg, var(--amber-l), #fff); border-color: #ffe2a3; }
.podium .p1 img { border-color: var(--amber); width: 92px; height: 92px; }
.podium .medal { font-size: 28px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tbl th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); font-weight: 700; white-space: nowrap; }
.tbl td { padding: 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:hover td { background: #fafbff; }
.tbl .strong { color: var(--ink); font-weight: 700; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filters select, .filters input { padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px; }
.chart-bars { display: flex; align-items: flex-end; gap: 8px; height: 180px; padding-top: 10px; }
.chart-bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; }
.chart-bars i { display: block; width: 100%; max-width: 30px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--b400), var(--b600)); min-height: 4px; transition: height 1s var(--ease); }
.chart-bars small { font-size: 10.5px; color: var(--muted); }
.chart-bars b { font-size: 11px; color: var(--ink); }
.hbar { display: grid; gap: 14px; }
.hbar .r { display: grid; grid-template-columns: 110px 1fr 36px; gap: 12px; align-items: center; font-size: 14px; }
.hbar .t { height: 10px; background: var(--bg); border-radius: 9px; overflow: hidden; }
.hbar .t i { display: block; height: 100%; border-radius: 9px; }
.hbar b { text-align: right; color: var(--ink); }
.editor-toolbar { display: flex; gap: 6px; flex-wrap: wrap; padding: 8px; border: 1.5px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; background: var(--bg); }
.editor-toolbar button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 10px; cursor: pointer; font-weight: 700; font-size: 13px; }
.editor-toolbar + textarea { border-radius: 0 0 12px 12px !important; font-family: ui-monospace, Menlo, monospace; font-size: 13.5px !important; min-height: 380px !important; }
.img-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; max-height: 260px; overflow-y: auto; padding: 4px; }
.img-pick label { position: relative; cursor: pointer; }
.img-pick input { position: absolute; opacity: 0; }
.img-pick img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; border: 3px solid transparent; transition: all .2s; }
.img-pick input:checked + img { border-color: var(--b600); box-shadow: 0 0 0 3px rgba(47,102,243,.2); }

/* ============================================================ responsive */
@media (max-width: 1100px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .price.pop { transform: none; } .price.pop:hover { transform: translateY(-6px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(3, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .menu, .nav-cta .btn-ghost { display: none; }
  .burger { display: grid; }
  .nav.open .menu { display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 76px; left: 0; right: 0; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg); max-height: calc(100vh - 76px); overflow-y: auto; gap: 2px; }
  .nav.open .menu .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 10px; min-width: 0; display: none; }
  .nav.open .menu li.sub-open .dropdown { display: block; }
  .nav-cta { margin-left: auto; }
  .burger { margin-left: 0; }
  .hero-grid, .split, .promo, .cta, .sim, .blog-layout, .reg-layout, .feat-post, .auth, .lesson-layout, .cols-2-1, .cols-1-1 { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .hero { padding-top: 40px; }
  .hero-visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery .gi:nth-child(4) { grid-column: span 1; }
  .testi-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .waves { grid-template-columns: 1fr; }
  .sidebar, .summary, .lesson-nav { position: static; }
  .auth-side { display: none; }
  .tl-history { grid-template-columns: 1fr 1fr; }
  .tl-history::before { display: none; }
  .app { grid-template-columns: 1fr; }
  .app-side { position: fixed; left: 0; top: 0; bottom: 0; width: 270px; z-index: 60; transform: translateX(-100%); transition: transform .3s var(--ease); }
  .app.side-open .app-side { transform: none; box-shadow: var(--sh-lg); }
  .app-top .menu-btn { display: grid; }
  .promo, .cta { padding: 44px 32px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .container { padding: 0 16px; }
  .section { padding: 68px 0; }
  .section-head { margin-bottom: 38px; }
  .nav .container { height: 68px; gap: 12px; }
  .nav.open .menu { top: 68px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-text b { font-size: 16px; }
  .nav-cta .btn { padding: 10px 14px; font-size: 13.5px; }
  .hero h1 { font-size: 36px; }
  .hero .lead { font-size: 17px; }
  .hero-actions .btn { flex: 1; }
  .float-card { padding: 10px 12px; font-size: 12px; }
  .float-card b { font-size: 15px; }
  .float-card .fi { width: 36px; height: 36px; font-size: 16px; }
  .fc-1 { left: 0; } .fc-2 { left: 0; } .fc-3 { right: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 20px 16px; flex-direction: column; align-items: flex-start; gap: 10px; }
  .stat b { font-size: 24px; }
  .g2, .g3, .g4, .price-grid, .row2, .row3, .kv, .lms-feats, .choice-grid, .opts, .post-nav, .kpis { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery .gi:nth-child(1) { grid-column: span 1; grid-row: span 1; }
  .testi-track { grid-auto-columns: 88%; }
  .promo, .cta, .form-card, .sim-form, .sim-result, .ticket-head, .ticket-body, .lesson-body { padding: 28px 20px; }
  .feat-post .thumb { min-height: 220px; }
  .feat-post .fp-body { padding: 26px 22px; }
  .values { grid-template-columns: 1fr 1fr; }
  .tl-history { grid-template-columns: 1fr; }
  .mini-stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .mini-stats b { font-size: 20px; }
  .photo-stack .years { left: 0; }
  .steps li { font-size: 0; }
  .cb-panel { right: 12px; bottom: 92px; height: calc(100vh - 110px); }
  .cb-launcher { right: 14px; bottom: 14px; }
  .cb-bubble { display: none; }
  .to-top { left: 14px; bottom: 14px; }
  .app-content { padding: 18px 14px; }
  .app-top { padding: 0 14px; }
  .app-top .who div { display: none; }
  .welcome { flex-direction: column; align-items: flex-start; padding: 24px; }
  .lms-mock { transform: none; }
  .podium img { width: 56px; height: 56px; } .podium .p1 img { width: 68px; height: 68px; }
  .toasts { left: 14px; right: 14px; top: 80px; max-width: none; }
  .footer { padding-top: 56px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; }
  .footer-bottom { margin-top: 40px; flex-direction: column; gap: 6px; }
  .hbar .r { grid-template-columns: 80px 1fr 30px; }
  .tabs button { padding: 10px 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.ic.fill, svg.lucide.fill { fill: currentColor; }
@media (max-width: 640px) { .hide-sm { display: none; } }
@media print {
  .topbar, .nav, .footer, .cb-launcher, .cb-panel, .to-top, .app-side, .app-top, .btn, .toasts { display: none !important; }
  .section { padding: 20px 0 !important; } .app { display: block; } body { background: #fff; }
  .ticket, .card, .panel { box-shadow: none !important; }
}
