/* UniGoes design system v1 — tanpa build process, tanpa emoji. */
:root {
  --ink: #1d2140;
  --ink-2: #4a4f72;
  --muted: #6b7094;
  --line: #e4e6f2;
  --bg: #fafaff;
  --surface: #ffffff;
  --primary: #5252e8;
  --primary-600: #4040cf;
  --primary-soft: #ececff;
  --coral: #d9412f;
  --coral-soft: #ffe7e1;
  --teal: #0b8f83;
  --teal-soft: #d6f5ef;
  --amber: #b86e00;
  --amber-soft: #fff1cf;
  --sky: #1d6fd1;
  --sky-soft: #dcecff;
  --lavender-soft: #efe9ff;
  --success: #157a43;
  --success-soft: #dcf5e6;
  --danger: #c22a2a;
  --danger-soft: #fde4e4;
  --info: #1d6fd1;
  --info-soft: #dcecff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(29, 33, 64, .06), 0 2px 8px rgba(29, 33, 64, .05);
  --shadow: 0 8px 30px rgba(60, 60, 140, .12);
  --shadow-lg: 0 18px 50px rgba(60, 60, 140, .18);
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 68px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
.accent-blue { --a: #5252e8; --a-soft: #ececff; }
.accent-purple { --a: #8a3fd1; --a-soft: #f1e6ff; }
.accent-coral { --a: #d9412f; --a-soft: #ffe7e1; }
.accent-teal { --a: #0b8f83; --a-soft: #d6f5ef; }
.accent-amber { --a: #b86e00; --a-soft: #fff1cf; }
.accent-sky { --a: #1d6fd1; --a-soft: #dcecff; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 800; }
h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid #ffb800; outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }
.icon-xs { width: 1em; height: 1em; }
.icon-lg { width: 1.6em; height: 1.6em; }
.muted { color: var(--muted); }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { justify-content: space-between; }
.grow { flex: 1; }
.mt-0 { margin-top: 0 !important; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; } .mb-0 { margin-bottom: 0 !important; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.hidden { display: none !important; }

/* Animasi dasar */
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-12px) rotate(var(--r, 0deg)); } }
@keyframes blob { 0%, 100% { border-radius: 42% 58% 60% 40% / 45% 45% 55% 55%; } 50% { border-radius: 58% 42% 40% 60% / 55% 60% 40% 45%; } }
@keyframes borderflow { 0% { background-position: 0 0, 0% 50%; } 100% { background-position: 0 0, 200% 50%; } }
@keyframes shimmer { from { background-position: -200% 0; } to { background-position: 200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes toastIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }

html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
html.js .reveal.is-visible { opacity: 1; transform: none; }
.enter { animation: fadeUp .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }

/* Tombol */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 700; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none !important; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; min-height: 46px; line-height: 1.1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(82, 82, 232, .32); }
.btn-primary:hover { background: var(--primary-600); box-shadow: 0 12px 26px rgba(82, 82, 232, .4); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(217, 65, 47, .28); }
.btn-ghost { background: var(--surface); color: var(--primary); border-color: var(--primary-soft); }
.btn-ghost:hover { border-color: var(--primary); }
.btn-soft { background: var(--primary-soft); color: var(--primary-600); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-sm { padding: 8px 14px; min-height: 36px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.icon-btn:hover { background: var(--primary-soft); }

/* Kartu, badge, progress */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.card-hover { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card-hover:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--a, var(--primary)); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.badge-success { background: var(--success-soft); color: var(--success); }
.badge-warning { background: var(--amber-soft); color: var(--amber); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-info { background: var(--info-soft); color: var(--info); }
.badge-neutral { background: #eceef7; color: var(--ink-2); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--ink-2); cursor: pointer; text-decoration: none !important; transition: all .2s; }
.chip:hover, .chip.is-active { background: var(--primary); color: #fff; border-color: var(--primary); }
.bar { height: 10px; background: #eceef7; border-radius: 99px; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--a, var(--primary)), #9a8cff); transition: width 1s var(--ease); }
.bar.in-view > i, html:not(.js) .bar > i { width: var(--w, 0%); }
.ring { --size: 112px; width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--a, var(--primary)) calc(var(--p, 0) * 1%), #eceef7 0); position: relative; flex: none; }
.ring::before { content: ""; position: absolute; inset: 11px; background: var(--surface); border-radius: 50%; }
.ring > span { position: relative; font-weight: 800; font-size: 1.3rem; }
.tag-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--a-soft, var(--primary-soft)); color: var(--a, var(--primary)); }
.tag-icon .icon { width: 26px; height: 26px; }

/* Navbar */
.announce { background: var(--ink); color: #fff; text-align: center; padding: 8px 16px; font-size: .9rem; }
.navbar { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 255, .88); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.navbar .container { display: flex; align-items: center; gap: 16px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; color: var(--ink); text-decoration: none !important; letter-spacing: -.02em; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--primary), #9a5bff 60%, #ff7a63); box-shadow: 0 6px 16px rgba(82, 82, 232, .35); }
.logo b { color: var(--primary); }
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { display: inline-flex; gap: 7px; align-items: center; padding: 9px 14px; border-radius: 999px; font-weight: 600; color: var(--ink-2); text-decoration: none !important; transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.is-active { background: var(--primary-soft); color: var(--primary-600); }
.nav-end { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.nav-toggle { display: none; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; display: none; z-index: 60; animation: scaleIn .18s var(--ease); transform-origin: top right; }
.dropdown.is-open .dropdown-menu { display: block; }
.dropdown-menu a, .dropdown-menu button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; color: var(--ink); font: inherit; font-weight: 600; background: none; border: 0; cursor: pointer; text-align: left; text-decoration: none !important; }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--primary-soft); }
.notif-dot { background: var(--coral); color: #fff; border-radius: 99px; font-size: .7rem; padding: 1px 7px; margin-left: auto; }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-grid; margin-left: auto; }
  .nav-end { margin-left: 0; }
  .nav-links { position: fixed; inset: var(--nav-h) 0 auto 0; flex-direction: column; background: var(--surface); padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); margin: 0; display: none; max-height: calc(100vh - var(--nav-h)); overflow: auto; }
  .navbar.is-open .nav-links { display: flex; animation: fadeUp .25s var(--ease); }
  .nav-links a { padding: 14px; }
  .navbar .container { flex-wrap: wrap; }
  .nav-end .btn-ghost { display: none; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; background: radial-gradient(1200px 500px at 85% -10%, #e6e0ff 0, transparent 60%), radial-gradient(900px 480px at -10% 30%, #ffe7e1 0, transparent 55%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--line); padding: 6px 14px; border-radius: 99px; font-weight: 700; font-size: .85rem; color: var(--primary-600); box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.hero h1 .grad { background: linear-gradient(100deg, var(--primary), #9a5bff 50%, #ff7a63); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 36em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.blob { position: absolute; filter: blur(2px); opacity: .55; animation: blob 14s ease-in-out infinite; z-index: 0; pointer-events: none; }
.blob.b1 { width: 320px; height: 320px; right: -80px; top: 40px; background: linear-gradient(135deg, #b9aaff, #ffb3a3); }
.blob.b2 { width: 220px; height: 220px; left: -60px; bottom: -40px; background: linear-gradient(135deg, #9be8d8, #c8d8ff); animation-delay: -5s; }
.hero-visual { position: relative; min-height: 380px; }
.float-card { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; box-shadow: var(--shadow); animation: floaty 6s ease-in-out infinite; }
.float-card.f1 { top: 10px; left: 6%; --r: -3deg; width: 240px; }
.float-card.f2 { top: 150px; right: 0; --r: 3deg; width: 220px; animation-delay: -2s; }
.float-card.f3 { bottom: 0; left: 14%; --r: -1deg; width: 250px; animation-delay: -4s; }
.float-card h4 { margin: 0 0 6px; font-size: .95rem; }
.float-card .row { gap: 10px; flex-wrap: nowrap; }
@media (max-width: 900px) {
  .hero { padding: 40px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 330px; }
  .float-card.f1 { left: 0; } .float-card.f2 { right: 0; top: 120px; } .float-card.f3 { left: 6%; }
}

/* Section */
.section { padding: 64px 0; }
.section-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.section-head p { color: var(--muted); }
.section.tint { background: linear-gradient(180deg, #f3f1ff, #fafaff); }
.exam-card { position: relative; display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none !important; overflow: hidden; }
.exam-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--a); }
.exam-card h3 { margin: 4px 0 0; }
.exam-card p { color: var(--muted); font-size: .95rem; margin: 0; flex: 1; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.steps::before { content: ""; position: absolute; left: 16%; right: 16%; top: 44px; border-top: 3px dashed var(--line); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 24px; }
.step .num { position: absolute; top: 10px; right: 14px; font-weight: 800; color: var(--a-soft); font-size: 2.6rem; }
.step .tag-icon { margin-bottom: 10px; width: 64px; height: 64px; border-radius: 20px; box-shadow: var(--shadow-sm); }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .steps::before { display: none; } }
.deadline { display: flex; gap: 14px; align-items: center; }
.deadline .count { min-width: 62px; text-align: center; background: var(--a-soft, var(--primary-soft)); color: var(--a, var(--primary)); border-radius: 14px; padding: 8px 6px; font-weight: 800; line-height: 1.1; }
.deadline .count small { display: block; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.empty { text-align: center; padding: 36px 20px; border: 2px dashed var(--line); border-radius: var(--radius); background: var(--surface); animation: fadeIn .5s both; }
.empty .tag-icon { width: 64px; height: 64px; border-radius: 20px; margin-bottom: 10px; }
.empty h3 { margin-bottom: .3em; }
.empty p { color: var(--muted); max-width: 34em; margin: 0 auto 14px; }

/* Pricing */
.price-card { display: flex; flex-direction: column; gap: 12px; position: relative; }
.price-card.is-featured { border: 3px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(90deg, var(--primary), #ff7a63, #14b8a6, var(--primary)) border-box; background-size: 100% 100%, 300% 100%; animation: borderflow 6s linear infinite; box-shadow: var(--shadow); }
.price-card .price { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; }
.price-card .price small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--success); margin-top: 3px; }
.ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(90deg, var(--primary), #ff7a63); color: #fff; font-size: .78rem; font-weight: 800; padding: 4px 14px; border-radius: 99px; }

/* Accordion */
.accordion { display: grid; gap: 10px; max-width: 780px; margin: 0; }
.acc-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; background: none; border: 0; font: inherit; font-weight: 700; text-align: left; cursor: pointer; color: var(--ink); }
.acc-btn .minus { display: none; }
.acc-item.is-open .acc-btn .plus { display: none; }
.acc-item.is-open .acc-btn .minus { display: inline-block; }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }

/* Footer */
.footer { background: linear-gradient(135deg, #2a2a7a, #5252e8 60%, #8a3fd1); color: #e9e9ff; padding: 52px 0 28px; position: relative; overflow: hidden; margin-top: 40px; }
.footer::before { content: ""; position: absolute; width: 300px; height: 300px; right: -80px; top: -100px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.footer a { color: #fff; }
.footer .logo { color: #fff; }
.footer .logo b { color: #ffd166; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; position: relative; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer small { opacity: .8; display: block; margin-top: 24px; line-height: 1.5; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 40; opacity: 0; pointer-events: none; transition: opacity .25s; box-shadow: var(--shadow); }
.to-top.is-shown { opacity: 1; pointer-events: auto; }

/* Form */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .label { font-weight: 700; font-size: .92rem; }
.input, select.input, textarea.input { width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 2px solid var(--line); border-radius: 12px; padding: 11px 14px; min-height: 46px; transition: border-color .2s, box-shadow .2s; }
textarea.input { min-height: 100px; resize: vertical; }
.input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px rgba(82, 82, 232, .15); }
.input.is-invalid { border-color: var(--danger); animation: shake .3s; }
.input.is-valid { border-color: #35b36b; }
.input-icon { position: relative; }
.input-icon > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 44px; }
.input-icon .pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; background: none; cursor: pointer; color: var(--muted); border-radius: 50%; display: grid; place-items: center; }
.hint { font-size: .85rem; color: var(--muted); }
.field-error { font-size: .85rem; color: var(--danger); display: none; }
.is-invalid ~ .field-error, .field.has-error .field-error { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--primary); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 16px; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; margin-bottom: 14px; font-weight: 600; animation: fadeUp .3s var(--ease); }
.alert-success { background: var(--success-soft); color: var(--success); }
.alert-danger { background: var(--danger-soft); color: var(--danger); }
.alert-info { background: var(--info-soft); color: var(--info); }
.alert-warning { background: var(--amber-soft); color: var(--amber); }
.alert .icon { margin-top: 3px; }

/* Auth */
.auth-page { min-height: 100vh; display: grid; place-items: center; padding: 24px 16px; background: radial-gradient(700px 400px at 10% 0, #e6e0ff, transparent 60%), radial-gradient(600px 400px at 100% 100%, #ffe7e1, transparent 60%), var(--bg); position: relative; overflow: hidden; }
.auth-card { width: min(100%, 460px); background: var(--surface); border-radius: 24px; padding: 32px 28px; box-shadow: var(--shadow-lg); position: relative; z-index: 1; animation: scaleIn .45s var(--ease); }
.auth-card .logo { justify-content: center; width: 100%; margin-bottom: 18px; }
.auth-card h1 { font-size: 1.6rem; text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); margin-bottom: 22px; }
.auth-links { text-align: center; margin-top: 16px; font-size: .95rem; }

/* Shell siswa */
.shell > * { min-width: 0; }
.shell { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; padding: 28px 0 40px; align-items: start; }
.side { position: sticky; top: calc(var(--nav-h) + 16px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; display: grid; gap: 2px; }
.side a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; font-weight: 600; color: var(--ink-2); text-decoration: none !important; transition: background .2s; }
.side a:hover { background: var(--primary-soft); }
.side a.is-active { background: var(--primary); color: #fff; }
.page-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.page-title h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0; }
@media (max-width: 900px) {
  .shell { grid-template-columns: minmax(0, 1fr); gap: 16px; padding-top: 16px; }
  .side { position: static; display: flex; overflow-x: auto; gap: 6px; padding: 8px; scrollbar-width: thin; }
  .side a { white-space: nowrap; flex: none; }
}
.stat { display: flex; gap: 14px; align-items: center; }
.stat .num { font-size: 1.8rem; font-weight: 800; line-height: 1; }
.stat .lbl { color: var(--muted); font-size: .85rem; }
.gradient-card { color: #fff; background: linear-gradient(135deg, var(--primary), #8a3fd1 70%, #d9412f); border: 0; position: relative; overflow: hidden; }
.gradient-card::after { content: ""; position: absolute; width: 180px; height: 180px; right: -50px; top: -60px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.gradient-card .muted { color: #e4e1ff; }
.skeleton { background: linear-gradient(90deg, #eceef7 25%, #f6f7fc 37%, #eceef7 63%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: 10px; min-height: 16px; }

/* Roadmap */
.timeline { position: relative; display: grid; gap: 18px; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 8px; bottom: 8px; width: 3px; background: var(--line); border-radius: 3px; }
.week { position: relative; }
.week::before { content: ""; position: absolute; left: -29px; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 4px solid var(--a, var(--primary)); }
.week.is-done::before { background: var(--success); border-color: var(--success); }
.task { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); transition: opacity .3s; }
.task:first-of-type { border-top: 0; }
.task-check { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: transparent; flex: none; transition: all .25s var(--ease); }
.task-check:hover { border-color: var(--primary); }
.task.is-done .task-check { background: var(--success); border-color: var(--success); color: #fff; animation: pop .35s var(--ease); }
.task.is-done .task-title { text-decoration: line-through; color: var(--muted); }
.task-title { font-weight: 600; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

/* Kampus & beasiswa */
.uni-card { display: flex; flex-direction: column; gap: 10px; position: relative; }
.uni-card .logo-ph { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; color: var(--a); background: var(--a-soft); font-size: 1.1rem; }
.uni-card .meta { display: grid; gap: 4px; font-size: .92rem; color: var(--ink-2); }
.uni-card .meta .icon { color: var(--muted); }
.bookmark { position: absolute; top: 16px; right: 16px; }
.bookmark[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.filters { display: grid; grid-template-columns: 2fr repeat(3, 1fr) auto; gap: 10px; align-items: end; margin-bottom: 22px; }
.filters .field { margin: 0; }
.filter-toggle { display: none; }
@media (max-width: 860px) {
  .filter-toggle { display: inline-flex; margin-bottom: 12px; }
  .filters { display: none; grid-template-columns: 1fr; background: var(--surface); padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); }
  .filters.is-open { display: grid; animation: fadeUp .25s var(--ease); }
}
.kv { display: grid; grid-template-columns: 160px 1fr; gap: 8px 16px; }
.kv dt { color: var(--muted); font-weight: 600; } .kv dd { margin: 0; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; gap: 0; } .kv dt { margin-top: 10px; } }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.prose h3 { margin-top: 1.4em; } .prose ul { padding-left: 1.2em; } .prose { max-width: 720px; line-height: 1.75; }
.read-progress { position: fixed; top: 0; left: 0; height: 4px; width: 0; background: linear-gradient(90deg, var(--primary), #ff7a63); z-index: 80; }

/* Tes minat bakat */
.quiz { max-width: 720px; margin: 0 auto; }
.stepper { display: flex; justify-content: space-between; font-weight: 700; font-size: .9rem; margin-bottom: 8px; color: var(--muted); }
.q-screen { display: none; animation: fadeUp .35s var(--ease); }
.q-screen.is-current { display: block; }
.q-text { font-size: 1.3rem; font-weight: 700; margin-bottom: 18px; }
.answers { display: grid; gap: 10px; }
.ans { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; background: var(--surface); cursor: pointer; font-weight: 600; transition: all .2s; }
.ans:hover { border-color: var(--primary); transform: translateX(3px); }
.ans input { position: absolute; opacity: 0; }
.ans .dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; flex: none; }
.ans:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.ans:has(input:checked) .dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.ans:has(input:focus-visible) { outline: 3px solid #ffb800; }
.riasec-row { display: grid; grid-template-columns: 130px 1fr 44px; gap: 10px; align-items: center; margin-bottom: 10px; }
@media (max-width: 520px) { .riasec-row { grid-template-columns: 100px 1fr 38px; } }

/* Tabel */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
table.table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table th, .table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: .93rem; vertical-align: middle; }
.table th { background: #f4f5fc; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafaff; }

/* Ujian */
.exam-body { background: #f6f7fb; min-height: 100vh; }
.exam-top { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.exam-top .container { display: flex; gap: 12px; align-items: center; justify-content: space-between; min-height: 60px; }
.timer { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 1.2rem; display: inline-flex; gap: 8px; align-items: center; padding: 6px 14px; background: var(--primary-soft); border-radius: 99px; }
.timer.is-warn { background: var(--amber-soft); color: var(--amber); }
.timer.is-danger { background: var(--danger-soft); color: var(--danger); }
.exam-layout { display: grid; grid-template-columns: 1fr 280px; gap: 20px; padding: 20px 0 100px; align-items: start; }
.q-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.q-card .q-content { font-size: 1.1rem; margin-bottom: 18px; white-space: pre-wrap; }
.palette { position: sticky; top: 76px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.palette-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.pal { position: relative; aspect-ratio: 1; border-radius: 10px; border: 2px solid var(--line); background: var(--surface); font: inherit; font-weight: 700; cursor: pointer; min-height: 40px; }
.pal.is-answered { background: var(--primary-soft); border-color: var(--primary); color: var(--primary-600); }
.pal.is-current { box-shadow: 0 0 0 3px #ffb800; }
.pal.is-marked::after { content: ""; position: absolute; top: -5px; right: -5px; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); border: 2px solid #fff; }
.legend { display: grid; gap: 4px; font-size: .82rem; color: var(--muted); margin-top: 12px; }
.exam-nav { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 0; z-index: 30; }
.exam-nav .container { display: flex; gap: 10px; justify-content: space-between; align-items: center; }
.save-state { font-size: .82rem; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
.save-state.is-error { color: var(--danger); font-weight: 700; }
@media (max-width: 900px) {
  .exam-layout { grid-template-columns: 1fr; }
  .palette { position: static; order: -1; padding: 12px; }
  .palette-grid { grid-template-columns: repeat(8, 1fr); }
  .palette .legend { display: none; }
  .exam-nav .btn { padding-inline: 14px; }
}
.modal-back { position: fixed; inset: 0; background: rgba(20, 22, 50, .55); display: none; align-items: center; justify-content: center; z-index: 90; padding: 16px; }
.modal-back.is-open { display: flex; animation: fadeIn .2s; }
.modal { background: var(--surface); border-radius: 20px; padding: 26px; width: min(100%, 460px); box-shadow: var(--shadow-lg); animation: scaleIn .25s var(--ease); max-height: 92vh; overflow: auto; }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 2px solid var(--line); border-radius: 12px; margin-bottom: 8px; cursor: pointer; background: var(--surface); }
.opt:hover { border-color: var(--primary); }
.opt:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.opt input { margin-top: 4px; accent-color: var(--primary); width: 18px; height: 18px; }
.opt.is-correct { border-color: var(--success); background: var(--success-soft); }
.opt.is-wrong { border-color: var(--danger); background: var(--danger-soft); }
.explain { margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--info-soft); }

/* Toast */
.toasts { position: fixed; right: 16px; top: 80px; z-index: 100; display: grid; gap: 10px; width: min(360px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border-left: 5px solid var(--primary); box-shadow: var(--shadow); border-radius: 12px; padding: 12px 14px; font-weight: 600; animation: toastIn .3s var(--ease); }
.toast.success { border-color: #35b36b; } .toast.danger { border-color: var(--danger); } .toast.warning { border-color: #f0a000; }
.toast .icon { margin-top: 3px; }

/* Badge gamifikasi */
.badge-card { text-align: center; padding: 18px 12px; }
.badge-card .tag-icon { width: 60px; height: 60px; border-radius: 50%; margin-bottom: 8px; }
.badge-card.is-locked { opacity: .55; filter: grayscale(.8); }

/* Admin */
.admin-wrap { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.admin-side { background: #1b1d3c; color: #cfd1f5; padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .logo { color: #fff; padding: 4px 10px 16px; }
.admin-side .logo b { color: #ffd166; }
.admin-side a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; color: #cfd1f5; border-radius: 10px; font-weight: 600; text-decoration: none !important; }
.admin-side a:hover { background: rgba(255, 255, 255, .08); }
.admin-side a.is-active { background: var(--primary); color: #fff; }
.admin-side .grp { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; opacity: .6; padding: 14px 12px 4px; }
.admin-main { padding: 20px clamp(16px, 3vw, 32px) 48px; min-width: 0; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.crumbs { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.admin-burger { display: none; }
@media (max-width: 960px) {
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-side { position: fixed; z-index: 70; width: 270px; transform: translateX(-100%); transition: transform .25s var(--ease); }
  .admin-wrap.nav-open .admin-side { transform: none; }
  .admin-burger { display: inline-grid; }
}
.nowrap { white-space: nowrap; }
.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.inline-form { display: inline; }
.qr-opt { display: grid; grid-template-columns: 40px 1fr 90px; gap: 8px; align-items: center; margin-bottom: 8px; }
.share-card { background: linear-gradient(135deg, var(--primary), #8a3fd1 70%, #d9412f); color: #fff; border-radius: 24px; padding: 28px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
  .bar > i { width: var(--w, 0%); }
}
@media print { .navbar, .footer, .side, .to-top, .toasts { display: none !important; } }

code { overflow-wrap: anywhere; word-break: break-word; }
.alert > span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .exam-nav .container { gap: 6px; }
  .exam-nav .btn { flex: 1 1 0; min-width: 0; padding: 10px 8px; font-size: .85rem; justify-content: center; }
}

/* ==========================================================================
   UniGoes v2 — "Lembar Jawab"
   Bahasa visual: kertas kotak-kotak, tinta pulpen, stabilo, bulatan LJK.
   Datar (tanpa gradasi), sudut kecil, satu momen gerak di hero.
   ========================================================================== */
:root {
  --ink: #0f1a3d;
  --ink-2: #39446b;
  --muted: #5f6a8f;
  --line: #dde3f1;
  --bg: #f6f8fc;
  --paper-grid: #dbe3f4;
  --primary: #2340e0;
  --primary-600: #1a31b8;
  --primary-soft: #e3e8ff;
  --yellow: #ffd83d;
  --yellow-soft: #fff4bd;
  --pink: #ff7aa6;
  --mint: #4fe0a8;
  --coral: #d93a3a;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: none;
  --shadow: 0 10px 28px rgba(15, 26, 61, .12);
  --shadow-lg: 0 18px 44px rgba(15, 26, 61, .2);
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Bricolage Grotesque", "Instrument Sans", ui-sans-serif, system-ui, sans-serif;
}
.accent-blue { --a: #2340e0; --a-soft: #e3e8ff; --hl: #9db2ff; }
.accent-purple { --a: #7a3fd0; --a-soft: #eee3ff; --hl: #c9a8ff; }
.accent-coral { --a: #c8284f; --a-soft: #ffe0e8; --hl: #ff8fb0; }
.accent-teal { --a: #0a7f6b; --a-soft: #d2f7e8; --hl: #5ee0b0; }
.accent-amber { --a: #8a5a00; --a-soft: #fff0b8; --hl: #ffd83d; }
.accent-sky { --a: #0f63b8; --a-soft: #d8ebff; --hl: #7cc0ff; }

body { font-size: 16.5px; line-height: 1.6; }
h1, h2, h3, h4, .logo, .price-card .price, .stat .num, .count, .ring > span { font-family: var(--display); }
h1, h2 { letter-spacing: -.025em; font-weight: 700; line-height: 1.08; }
h3, h4 { letter-spacing: -.01em; font-weight: 650; }
h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); }
p, li { max-width: 68ch; }
.card p, .section-head p, td p { max-width: none; }

/* Gerak: hanya yang menjawab aksi pengguna, ditambah satu momen di hero */
html.js .reveal, html.js .reveal.is-visible { opacity: 1; transform: none; transition: none; }
.card-hover:hover { transform: none; }
.btn:hover { transform: none; }
.ans:hover { transform: none; }

/* Tombol: persegi lembut, tepi tinta, bayangan keras yang "ditekan" saat hover */
.btn { border-radius: 10px; border: 2px solid var(--ink); padding: 11px 20px; box-shadow: 3px 3px 0 var(--ink); transition: transform .12s, box-shadow .12s, background .15s; }
.btn:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-600); box-shadow: 1px 1px 0 var(--ink); }
.btn-coral { background: var(--pink); color: var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--yellow-soft); }
.btn-soft { background: var(--yellow); color: var(--ink); border-color: var(--ink); }
.btn-danger { background: #fff; color: var(--danger); border-color: var(--danger); box-shadow: 3px 3px 0 var(--danger); }
.btn-sm { box-shadow: 2px 2px 0 var(--ink); padding: 7px 13px; }
.icon-btn { border-radius: 10px; border: 1.5px solid var(--ink); }
.icon-btn:hover { background: var(--yellow-soft); }
.btn[disabled], .btn.is-loading { box-shadow: none; }

/* Kartu datar. Kartu yang bisa diklik memakai bayangan warna stabilo */
.card { border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); box-shadow: none; }
a.card-hover, .card-hover { border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--hl, var(--yellow)); transition: transform .12s, box-shadow .12s; }
a.card-hover:hover, .card-hover:hover { border-color: var(--ink); transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--hl, var(--yellow)); }
.badge { border-radius: 6px; font-weight: 650; }
.chip { border-radius: 8px; border: 1.5px solid var(--line); }
.chip:hover, .chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Progres: isi datar; bulatan LJK untuk centang */
.bar { height: 10px; border-radius: 3px; background: var(--line); }
.bar > i { border-radius: 3px; background: var(--a, var(--primary)); }
.ring { background: conic-gradient(var(--a, var(--primary)) calc(var(--p, 0) * 1%), var(--line) 0); }
.tag-icon { border-radius: 10px; background: var(--a-soft, var(--primary-soft)); }

/* Logo: empat bulatan jawaban, satu terisi */
.logo { font-weight: 700; font-size: 1.4rem; letter-spacing: -.03em; }
.logo-mark { width: 34px; height: 34px; border-radius: 8px; background-color: var(--ink); box-shadow: 2px 2px 0 var(--yellow);
  background-image:
    radial-gradient(circle at 30% 30%, var(--yellow) 0 4.4px, transparent 4.8px),
    radial-gradient(circle at 70% 30%, transparent 0 3.2px, #fff 3.5px 4.7px, transparent 5px),
    radial-gradient(circle at 30% 70%, transparent 0 3.2px, #fff 3.5px 4.7px, transparent 5px),
    radial-gradient(circle at 70% 70%, transparent 0 3.2px, #fff 3.5px 4.7px, transparent 5px); }
.logo-mark .icon { display: none; }
.logo b { color: var(--primary); }

/* Navbar */
.announce { background: var(--yellow); color: var(--ink); font-weight: 600; }
.navbar { background: rgba(246, 248, 252, .94); border-bottom: 1.5px solid var(--ink); backdrop-filter: none; }
.nav-links a { border-radius: 8px; color: var(--ink); font-weight: 600; }
.nav-links a:hover { background: var(--yellow-soft); color: var(--ink); }
.nav-links a.is-active { background: var(--yellow); color: var(--ink); }
.dropdown-menu { border-radius: 10px; border: 1.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--yellow-soft); }
.notif-dot { background: var(--pink); color: var(--ink); font-weight: 700; border-radius: 6px; }

/* Hero: kertas kotak + lembar jawab */
.hero { padding: 56px 0 84px; background-color: var(--bg);
  background-image: linear-gradient(var(--paper-grid) 1px, transparent 1px), linear-gradient(90deg, var(--paper-grid) 1px, transparent 1px);
  background-size: 32px 32px; background-position: -1px -1px; border-bottom: 1.5px solid var(--ink); }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 90px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 13ch; margin-bottom: .45em; }
.hero p.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 34em; }
.hero-cta { margin-top: 28px; }
.sheet { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 10px; box-shadow: 8px 8px 0 var(--ink); padding: 18px 20px 60px; transform: rotate(1.6deg); max-width: 400px; margin-inline: auto; }
.sheet-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--display); font-weight: 650; padding-bottom: 10px; border-bottom: 2px dashed var(--line); margin-bottom: 8px; }
.sheet-head span:last-child { font-family: var(--font); font-weight: 500; font-size: .8rem; color: var(--muted); align-self: center; }
.sheet-row { display: grid; grid-template-columns: 26px repeat(4, 1fr); gap: 10px; align-items: center; padding: 7px 0; }
.sheet-row > b { font-family: var(--display); font-size: .95rem; color: var(--muted); font-weight: 600; }
.bub { position: relative; width: 100%; max-width: 40px; aspect-ratio: 1; border: 1.8px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 650; color: var(--ink-2); background: #fff; }
.bub.on { animation: fillBub .35s ease-out both; animation-delay: calc(.5s + var(--r) * .32s); }
@keyframes fillBub { from { background: #fff; color: var(--ink-2); } to { background: var(--ink); color: #fff; } }
.sheet-note { position: absolute; right: -14px; bottom: -34px; width: 230px; background: var(--yellow); border: 2px solid var(--ink); border-radius: 6px; padding: 10px 13px; font-weight: 600; font-size: .88rem; line-height: 1.35; transform: rotate(-3deg); box-shadow: 3px 3px 0 var(--ink); }
.hero-visual { min-height: 0; padding-bottom: 40px; }
@media (max-width: 900px) {
  .hero { padding: 36px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: none; }
  .sheet { transform: rotate(1deg); max-width: 360px; }
  .sheet-note { right: -4px; }
}

/* Seksi: judul rata kiri, latar bergantian datar */
.section { padding: 72px 0; }
.section-head { max-width: 680px; margin: 0 0 32px; text-align: left; }
.section-head h2 { margin-bottom: .3em; }
.section.tint { background: #eaeffb; border-block: 1.5px solid var(--ink); }

/* Kartu ujian */
.exam-card { padding: 20px; }
.exam-card::before { display: none; }
.exam-card h3 { font-size: 1.35rem; margin-top: 8px; }
.exam-card .tag-icon { background: var(--hl); color: var(--ink); border: 1.5px solid var(--ink); }

/* Tiga langkah: urutan sungguhan, jadi bernomor */
.steps { gap: 0; border: 1.5px solid var(--ink); border-radius: var(--radius); background: #fff; overflow: hidden; }
.steps::before { display: none; }
.step { text-align: left; padding: 28px 26px; border: 0; border-radius: 0; border-right: 1.5px solid var(--ink); }
.step:last-child { border-right: 0; }
.step .tag-icon { display: none; }
.step .num { position: static; display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 50%; border: 2px solid var(--ink); background: var(--a-soft); color: var(--ink); font: 700 1.25rem var(--display); }
.step:nth-child(1) .num { background: var(--hl, #9db2ff); } .step:nth-child(2) .num { background: var(--pink); } .step:nth-child(3) .num { background: var(--mint); }
@media (max-width: 800px) { .step { border-right: 0; border-bottom: 1.5px solid var(--ink); } .step:last-child { border-bottom: 0; } }

.deadline .count { border-radius: 8px; background: var(--hl, var(--yellow)); color: var(--ink); border: 1.5px solid var(--ink); font-size: 1.5rem; }
.deadline .count small { letter-spacing: 0; text-transform: none; font-size: .7rem; }
.empty { border: 2px dashed var(--ink-2); border-radius: var(--radius); background: transparent; animation: none; }

/* Harga */
.price-card.is-featured { background: var(--yellow-soft); border: 2px solid var(--ink); animation: none; box-shadow: 6px 6px 0 var(--ink); }
.ribbon { background: var(--ink); color: var(--yellow); border-radius: 6px; font-weight: 700; }
.checklist .icon { color: var(--primary); }

/* FAQ */
.acc-item { border-radius: 10px; border: 1.5px solid var(--ink); }
.acc-btn { font-family: var(--display); font-size: 1.05rem; font-weight: 600; }
.acc-item.is-open { background: var(--yellow-soft); }

/* Footer */
.footer { background: var(--ink); color: #d8def5; margin-top: 0; }
.footer::before { display: none; }
.footer .logo b { color: var(--yellow); }
.footer .logo-mark { box-shadow: 2px 2px 0 var(--primary); }
.footer a { color: #fff; text-decoration: underline; text-decoration-color: var(--yellow); text-underline-offset: 3px; }
.footer .logo { text-decoration: none; }

/* Form */
.input, select.input, textarea.input { border: 1.5px solid var(--ink-2); border-radius: 8px; }
.input:focus { border-color: var(--ink); box-shadow: 3px 3px 0 var(--yellow); }
.alert { border-radius: 8px; border: 1.5px solid currentColor; animation: none; }
.check input, .opt input { accent-color: var(--ink); }

/* Auth */
.auth-page { background-color: var(--bg); background-image: linear-gradient(var(--paper-grid) 1px, transparent 1px), linear-gradient(90deg, var(--paper-grid) 1px, transparent 1px); background-size: 32px 32px; }
.auth-card { border: 2px solid var(--ink); border-radius: 12px; box-shadow: 8px 8px 0 var(--ink); animation: none; }
.blob { display: none; }

/* Shell siswa */
.side { border: 1.5px solid var(--ink); border-radius: var(--radius); background: #fff; }
.side a { border-radius: 8px; color: var(--ink); }
.side a:hover { background: var(--yellow-soft); }
.side a.is-active { background: var(--ink); color: #fff; }
.gradient-card { background: var(--ink); color: #fff; border: 0; border-radius: var(--radius); box-shadow: 6px 6px 0 var(--primary); }
.gradient-card::after { display: none; }
.gradient-card .muted, .gradient-card .hint { color: #c9d1f2 !important; }
.gradient-card > *, .gradient-card .row { position: relative; z-index: 1; }
.share-card { background: var(--ink); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--yellow); }
.skeleton { background: var(--line); animation: none; }

/* Roadmap: centang berupa bulatan LJK */
.timeline::before { width: 2px; background: var(--ink); border-radius: 0; }
.week::before { border: 2px solid var(--ink); background: #fff; }
.week.is-done::before { background: var(--ink); border-color: var(--ink); }
.task-check { border: 2px solid var(--ink); width: 28px; height: 28px; }
.task-check:hover { background: var(--yellow-soft); border-color: var(--ink); }
.task.is-done .task-check { background: var(--ink); border-color: var(--ink); color: var(--yellow); animation: none; }

.uni-card .logo-ph { border-radius: 8px; background: var(--hl, var(--yellow)); color: var(--ink); border: 1.5px solid var(--ink); }
.bookmark[aria-pressed="true"] { background: var(--ink); color: var(--yellow); border-color: var(--ink); }
.read-progress { background: var(--ink); }

/* Pilihan jawaban = bulatan LJK terisi tinta */
.ans { border: 1.5px solid var(--ink-2); border-radius: 10px; }
.ans:hover { border-color: var(--ink); background: var(--yellow-soft); }
.ans .dot { border: 1.8px solid var(--ink); }
.ans:has(input:checked) { border-color: var(--ink); background: var(--yellow-soft); box-shadow: 3px 3px 0 var(--ink); }
.ans:has(input:checked) .dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.q-screen { animation: none; }

.table-wrap { border: 1.5px solid var(--ink); border-radius: 10px; }
.table th { background: var(--yellow-soft); color: var(--ink); border-bottom: 1.5px solid var(--ink); }
.table tbody tr:hover { background: #f1f4fc; }

/* Ujian */
.exam-body { background: var(--bg); }
.exam-top { border-bottom: 1.5px solid var(--ink); }
.timer { border-radius: 8px; background: var(--yellow); border: 1.5px solid var(--ink); font-family: var(--display); }
.timer.is-warn { background: #ffb347; color: var(--ink); }
.timer.is-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.q-card { border: 1.5px solid var(--ink); border-radius: 12px; box-shadow: 5px 5px 0 var(--line); }
.palette { border: 1.5px solid var(--ink); border-radius: 12px; }
.pal { border: 1.5px solid var(--ink); border-radius: 50%; font-family: var(--display); background: #fff; }
.pal.is-answered { background: var(--ink); color: #fff; border-color: var(--ink); }
.pal.is-current { box-shadow: 0 0 0 3px var(--yellow), 0 0 0 4.5px var(--ink); }
.pal.is-marked::after { background: var(--pink); border: 1.5px solid var(--ink); }
.exam-nav { border-top: 1.5px solid var(--ink); }
.opt { border: 1.5px solid var(--ink-2); border-radius: 10px; }
.opt:hover { border-color: var(--ink); background: var(--yellow-soft); }
.opt:has(input:checked) { border-color: var(--ink); background: var(--yellow-soft); box-shadow: 3px 3px 0 var(--ink); }
.explain { border-radius: 8px; border-left: 5px solid var(--primary); }
.modal { border: 2px solid var(--ink); border-radius: 12px; box-shadow: 8px 8px 0 var(--ink); animation: none; }
.toast { border: 1.5px solid var(--ink); border-left-width: 6px; border-radius: 8px; box-shadow: 3px 3px 0 var(--ink); }

/* Admin */
.admin-side { background: var(--ink); }
.admin-side a { border-radius: 8px; }
.admin-side a.is-active { background: var(--yellow); color: var(--ink); }
.admin-side .grp { letter-spacing: .02em; text-transform: none; font-size: .78rem; }
.admin-side .logo b { color: var(--yellow); }

/* Hormati preferensi kurangi gerak: lembar langsung terisi */
@media (prefers-reduced-motion: reduce) {
  .bub.on { animation: none; background: var(--ink); color: #fff; }
}

/* ==========================================================================
   UniGoes v3 — "Permen Pastel"
   Gradasi pink-kuning lembut, kertas kotak dengan selotip, stiker dan
   label mengilap. Menimpa lapisan v2 di atas. Gerak hanya bila diizinkan.
   ========================================================================== */
:root {
  --ink: #35123b;
  --ink-2: #5b3a5f;
  --muted: #7a5678;
  --line: #f4d9e7;
  --bg: #fff7fb;
  --paper-grid: #f7d6e6;
  --primary: #c4178f;
  --primary-600: #a30f74;
  --primary-soft: #ffe3f1;
  --yellow: #ffd23f;
  --yellow-soft: #fff3c4;
  --pink: #ff6fae;
  --mint: #3fd6a6;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 4px 14px rgba(196, 23, 143, .07);
  --shadow: 0 14px 34px rgba(196, 23, 143, .13);
  --shadow-lg: 0 24px 54px rgba(196, 23, 143, .2);
  --grad-brand: linear-gradient(135deg, #ff4fa0 0%, #ff8fb8 45%, #ffd23f 100%);
}
.accent-blue { --a: #5a4fe0; --a-soft: #ece9ff; --hl: #b9b2ff; }
.accent-purple { --a: #9b3fc4; --a-soft: #f5e8ff; --hl: #d7a8f0; }
.accent-coral { --a: #d92a6e; --a-soft: #ffe3ee; --hl: #ff9bbd; }
.accent-teal { --a: #0c8f7e; --a-soft: #d9f7ee; --hl: #6fe3c2; }
.accent-amber { --a: #a86400; --a-soft: #fff1bf; --hl: #ffd23f; }
.accent-sky { --a: #2370d6; --a-soft: #deecff; --hl: #8bc1ff; }

body { background: var(--bg); position: relative; isolation: isolate; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 620px at -5% -5%, #ffd3e8 0, transparent 62%),
    radial-gradient(800px 560px at 105% 8%, #fff0a8 0, transparent 58%),
    radial-gradient(900px 700px at 55% 108%, #ffdcec 0, transparent 62%); }
a { color: var(--primary-600); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

/* Tombol: pil mengilap */
.btn { border: 0; border-radius: 999px; padding: 12px 24px; box-shadow: none; font-weight: 700; transition: transform .18s var(--ease), box-shadow .18s var(--ease), filter .18s; }
.btn:hover, .btn:active { box-shadow: none; transform: none; }
.btn-primary { color: #fff; background: linear-gradient(180deg, #e5399f 0%, #c4178f 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .38), 0 10px 22px rgba(196, 23, 143, .34); }
.btn-primary:hover { background: linear-gradient(180deg, #ee45aa 0%, #cc1c97 100%); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), 0 14px 28px rgba(196, 23, 143, .4); }
.btn-coral { color: #fff; background: linear-gradient(180deg, #ff7a5c, #e8514a); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .35), 0 10px 22px rgba(232, 81, 74, .3); }
.btn-ghost { background: #fff; color: var(--primary-600); border: 2px solid #ffc4de; box-shadow: 0 4px 12px rgba(196, 23, 143, .08); }
.btn-ghost:hover { background: #fff; border-color: var(--primary); }
.btn-soft { background: linear-gradient(180deg, #ffe27a, #ffd23f); color: var(--ink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 0 6px 14px rgba(240, 180, 0, .3); }
.btn-danger { background: #fff; color: var(--danger); border: 2px solid #f6b9b9; box-shadow: none; }
.btn-sm { box-shadow: none; padding: 8px 16px; }
.btn-primary.btn-sm { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .38), 0 6px 14px rgba(196, 23, 143, .3); }
.btn-soft.btn-sm { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 0 4px 10px rgba(240, 180, 0, .28); }
.btn[disabled], .btn.is-loading { box-shadow: none; filter: grayscale(.2); }
.icon-btn { border-radius: 50%; border: 2px solid #ffd0e5; background: #fff; }
.icon-btn:hover { background: var(--primary-soft); }
@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); }
  .btn:active { transform: translateY(0) scale(.97); }
}

/* Kartu lembut */
.card { background: rgba(255, 255, 255, .92); border: 1.5px solid #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
a.card-hover, .card-hover { border: 1.5px solid #fff; box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); transition: transform .22s var(--ease), box-shadow .22s var(--ease); }
a.card-hover:hover, .card-hover:hover { border-color: #fff; box-shadow: 0 16px 36px color-mix(in srgb, var(--a, var(--primary)) 22%, transparent), 0 0 0 2px var(--hl, #ffc4de); }
@media (prefers-reduced-motion: no-preference) { a.card-hover:hover, .card-hover:hover { transform: translateY(-5px); } }
.badge { border-radius: 999px; }
.chip { border: 1.5px solid #f6cfe2; border-radius: 999px; background: #fff; }
.chip:hover, .chip.is-active { background: linear-gradient(180deg, #e5399f, #c4178f); border-color: transparent; color: #fff; }
.bar { height: 12px; border-radius: 999px; background: #fbe4ef; overflow: hidden; }
.bar > i { border-radius: 999px; background: linear-gradient(90deg, var(--a, var(--primary)), var(--hl, var(--pink))); }
.ring { background: conic-gradient(var(--a, var(--primary)) calc(var(--p, 0) * 1%), #fbe4ef 0); }
.tag-icon { border-radius: 16px; background: var(--a-soft, var(--primary-soft)); color: var(--a, var(--primary)); border: 2px solid #fff; box-shadow: 0 6px 14px color-mix(in srgb, var(--a, var(--primary)) 20%, transparent); }

/* Logo */
.logo-mark { display: inline-grid; place-items: center; border-radius: 12px; color: #fff; background-color: transparent; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 6px 14px rgba(255, 79, 160, .35);
  background-image: var(--grad-brand); }
.logo-mark .icon { display: block; width: 20px; height: 20px; filter: drop-shadow(0 1px 1px rgba(120, 20, 90, .35)); }
.logo b { color: var(--primary); }

/* Navbar */
.announce { background: linear-gradient(90deg, #ffd3e8, #fff0a8); color: var(--ink); }
.navbar { background: rgba(255, 248, 252, .82); border-bottom: 1px solid #ffd3e6; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav-links a { border-radius: 999px; }
.nav-links a:hover { background: var(--primary-soft); }
.nav-links a.is-active { background: linear-gradient(180deg, #ffe27a, #ffd23f); }
.dropdown-menu { border: 0; border-radius: 18px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line); }
.dropdown-menu a:hover, .dropdown-menu button:hover { background: var(--primary-soft); }
.notif-dot { background: linear-gradient(#ff6b8a, #d92a5c); color: #fff; border-radius: 999px; }

/* Hero: gradasi pink-kuning, kertas kotak, selotip, stiker */
.hero { padding: 64px 0 96px; border-bottom: 0;
  background: radial-gradient(700px 480px at 12% 10%, rgba(255, 143, 184, .55), transparent 65%), radial-gradient(640px 460px at 92% 18%, rgba(255, 226, 122, .7), transparent 62%), radial-gradient(700px 500px at 60% 100%, rgba(255, 190, 220, .55), transparent 65%), linear-gradient(180deg, #ffeaf4, #fff6dc); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .55) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .55) 1px, transparent 1px);
  background-size: 36px 36px; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); mask-image: linear-gradient(180deg, #000 30%, transparent 95%); }
.hero::after { display: none; }
.hero h1 { max-width: 14ch; }
.hero h1 .grad { background: linear-gradient(100deg, #c4178f 0%, #ec3c86 50%, #f2641f 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { background: rgba(255, 255, 255, .85); border: 1.5px solid #fff; color: var(--primary-600); box-shadow: 0 6px 16px rgba(196, 23, 143, .12); }
.blob { display: block; opacity: .5; filter: blur(8px); }
.blob.b1 { background: linear-gradient(135deg, #ff9bc8, #ffe27a); }
.blob.b2 { background: linear-gradient(135deg, #ffd1e6, #fff0a8); }

.hero-visual { min-height: 0; padding: 34px 8px 30px; }
.paper { position: relative; max-width: 440px; margin-inline: auto; padding: 84px 22px 30px; border-radius: 8px; transform: rotate(2deg);
  background-color: #fff; background-image: linear-gradient(#d3e4ef 1px, transparent 1px), linear-gradient(90deg, #d3e4ef 1px, transparent 1px); background-size: 28px 28px;
  box-shadow: 0 30px 60px rgba(150, 20, 100, .25), 0 2px 0 rgba(255, 255, 255, .8) inset; }
.paper-label { position: absolute; left: -16px; top: -30px; padding: 4px 24px 8px; border-radius: 26px; color: #fff; font: 800 clamp(1.7rem, 3.6vw, 2.3rem)/1.1 var(--display); letter-spacing: -.02em; transform: rotate(-3deg);
  background: linear-gradient(180deg, #ee45aa, #bd128a); border: 4px solid #fff; box-shadow: 0 8px 0 #8d0e69, 0 18px 26px rgba(150, 20, 100, .3); text-shadow: 0 2px 0 rgba(120, 10, 90, .35); }
.paper-sub { position: absolute; right: 26px; top: 40px; font: 700 1.05rem/1.1 var(--display); color: var(--ink); text-align: center; border: 2px solid #8f8f9b; border-radius: 50%; padding: 10px 16px; transform: rotate(-5deg); background: rgba(255, 255, 255, .8); }
.tape { position: absolute; top: -20px; right: -30px; width: 128px; height: 40px; transform: rotate(24deg); z-index: 2; opacity: .96;
  background: linear-gradient(135deg, #ffe985, #f3be0a 50%, #ffe985); box-shadow: 0 6px 12px rgba(150, 100, 0, .25);
  clip-path: polygon(0 0, 100% 0, 96% 25%, 100% 50%, 96% 75%, 100% 100%, 0 100%, 4% 75%, 0 50%, 4% 25%); }
.note-pill { position: relative; display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; margin: 16px 0; padding: 13px 20px; border-radius: 18px; color: #fff; font-weight: 700; font-size: 1.02rem; line-height: 1.25;
  background: linear-gradient(180deg, var(--p1), var(--p2)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .28), 0 7px 0 rgba(0, 0, 0, .16), 0 16px 22px rgba(60, 10, 60, .2); }
.note-pill .icon { width: 1.6em; height: 1.6em; }
.note-pill .n { position: absolute; top: -11px; right: -9px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #fff; color: #fff; font-size: .82rem; font-weight: 800; background: linear-gradient(#ff6b8a, #d92a5c); box-shadow: 0 4px 8px rgba(120, 10, 60, .3); }
.note-pill.p1 { --p1: #7a9f23; --p2: #587a10; transform: rotate(-2deg); }
.note-pill.p2 { --p1: #3d68a8; --p2: #264b82; margin-left: 38px; transform: rotate(1.5deg); }
.note-pill.p3 { --p1: #a8703a; --p2: #84521f; margin-left: 12px; transform: rotate(-1deg); }
.note-pill.p4 { --p1: #8d3ba6; --p2: #6a2a82; margin-left: 46px; transform: rotate(1.2deg); }
.sticker { position: absolute; left: -22px; bottom: 6px; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; border: 4px solid #fff; color: var(--ink); transform: rotate(-12deg);
  background: linear-gradient(145deg, #ffe985, #ffc21a); box-shadow: 0 10px 20px rgba(150, 100, 0, .3); }
.sticker .icon { width: 34px; height: 34px; }
@media (prefers-reduced-motion: no-preference) { .sticker { animation: floaty 5s ease-in-out infinite; --r: -12deg; } }
@media (max-width: 900px) {
  .hero { padding: 40px 0 64px; }
  .paper { max-width: 400px; padding-top: 78px; }
  .note-pill.p2 { margin-left: 22px; } .note-pill.p4 { margin-left: 26px; }
  .tape { right: -10px; } .paper-label { left: -8px; } .sticker { left: -8px; }
}
@media (max-width: 420px) { .paper-sub { display: none; } .note-pill { font-size: .95rem; padding: 12px 16px; } }

/* Seksi */
.section-head h2 { display: inline; background: linear-gradient(transparent 62%, rgba(255, 210, 63, .7) 62%); padding: 0 .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.section-head h2 + p { margin-top: 14px; }
.section.tint { background: linear-gradient(180deg, rgba(255, 220, 238, .65), rgba(255, 243, 196, .65)); border-block: 0; }
.exam-card { overflow: hidden; }
.exam-card::before { display: block; content: ""; position: absolute; right: -34px; top: -34px; width: 120px; height: 120px; border-radius: 50%; background: var(--a-soft); opacity: .9; height: 120px; inset: -34px -34px auto auto; }
.exam-card > * { position: relative; }
.exam-card .tag-icon { background: #fff; color: var(--a); border: 2px solid var(--a-soft); }
.steps { gap: 18px; border: 0; background: none; overflow: visible; }
.step { border: 1.5px solid #fff; border-radius: var(--radius); background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.step:last-child { border-right: 1.5px solid #fff; }
.step .num { border: 3px solid #fff; color: #fff; box-shadow: 0 8px 16px rgba(196, 23, 143, .25), inset 0 2px 0 rgba(255, 255, 255, .4); text-shadow: 0 1px 0 rgba(0, 0, 0, .15); }
.step:nth-child(1) .num { background: linear-gradient(145deg, #7a6cf5, #4a3fd0); }
.step:nth-child(2) .num { background: linear-gradient(145deg, #ff7aae, #d92a6e); }
.step:nth-child(3) .num { background: linear-gradient(145deg, #3fd6a6, #0c8f7e); }
@media (max-width: 800px) { .step { border-bottom: 1.5px solid #fff; } }
.deadline .count { border: 2px solid #fff; border-radius: 18px; background: var(--a-soft); color: var(--a); box-shadow: 0 6px 14px color-mix(in srgb, var(--a) 18%, transparent); }
.empty { border: 2px dashed #f2b3d1; border-radius: var(--radius); background: rgba(255, 255, 255, .6); }
.price-card.is-featured { border: 3px solid transparent; background: linear-gradient(#fffbea, #fffbea) padding-box, var(--grad-brand) border-box; box-shadow: var(--shadow-lg); }
.ribbon { background: linear-gradient(180deg, #ee45aa, #bd128a); color: #fff; border-radius: 999px; box-shadow: 0 6px 12px rgba(196, 23, 143, .3); }
.checklist .icon { color: var(--primary); }
.acc-item { border: 1.5px solid #fff; border-radius: 18px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.acc-item.is-open { background: #fffbea; }

/* Footer */
.footer { background: linear-gradient(160deg, #3b1242, #6e1a5f 70%, #8a2a62); }
.footer .logo-mark { box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 6px 14px rgba(0, 0, 0, .25); }

/* Form */
.input, select.input, textarea.input { border: 1.5px solid #efc3d9; border-radius: 14px; background: #fff; }
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(196, 23, 143, .16); }
.alert { border-radius: 14px; }
.check input, .opt input { accent-color: var(--primary); }

/* Auth */
.auth-page { background: radial-gradient(700px 500px at 0% 0%, #ffc7e1, transparent 60%), radial-gradient(700px 500px at 100% 100%, #fff0a8, transparent 60%), linear-gradient(180deg, #fff0f7, #fff8e0); }
.auth-card { border: 0; border-radius: 28px; box-shadow: var(--shadow-lg), 0 0 0 1px #fff; background: rgba(255, 255, 255, .94); }

/* Shell siswa */
.side { border: 1.5px solid #fff; border-radius: var(--radius); background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.side a { border-radius: 999px; }
.side a:hover { background: var(--primary-soft); }
.side a.is-active { background: linear-gradient(180deg, #e5399f, #c4178f); color: #fff; box-shadow: 0 6px 14px rgba(196, 23, 143, .3); }
.gradient-card { background: linear-gradient(135deg, #a8137f 0%, #d92a7e 58%, #e8514a 100%); box-shadow: var(--shadow-lg); border-radius: var(--radius); }
.gradient-card::after { display: block; background: rgba(255, 255, 255, .14); }
.gradient-card .muted, .gradient-card .hint { color: #ffe3f1 !important; }
.share-card { background: linear-gradient(135deg, #3b1242, #7a1c66); box-shadow: var(--shadow-lg); }
.skeleton { background: #fbe4ef; }

/* Roadmap */
.timeline::before { width: 3px; background: linear-gradient(#ffb3d3, #ffe27a); border-radius: 3px; }
.week::before { border: 3px solid var(--primary); background: #fff; }
.week.is-done::before { background: var(--primary); border-color: var(--primary); }
.task-check { border: 2px solid #efb5d2; background: #fff; }
.task-check:hover { background: var(--primary-soft); border-color: var(--primary); }
.task.is-done .task-check { background: linear-gradient(180deg, #e5399f, #c4178f); border-color: transparent; color: #fff; }
.uni-card .logo-ph { border: 2px solid #fff; border-radius: 16px; background: var(--a-soft, var(--yellow-soft)); color: var(--a, var(--ink)); box-shadow: 0 6px 14px rgba(196, 23, 143, .12); }
.bookmark[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.read-progress { background: linear-gradient(90deg, #ff4fa0, #ffd23f); }

/* Jawaban */
.ans, .opt { border: 1.5px solid #f0cfe0; border-radius: 16px; background: #fff; }
.ans:hover, .opt:hover { border-color: var(--primary); background: #fff5fa; }
.ans:has(input:checked), .opt:has(input:checked) { border-color: var(--primary); background: #fff3fa; box-shadow: 0 0 0 4px rgba(196, 23, 143, .14); }
.ans:has(input:checked) .dot { background: var(--primary); border-color: var(--primary); color: #fff; }
.ans .dot { border: 2px solid #d9a3c0; }

.table-wrap { border: 0; border-radius: 18px; box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); }
.table th { background: #fff0f7; color: var(--ink); border-bottom: 1.5px solid #f4d9e7; }
.table tbody tr:hover { background: #fff8fb; }

/* Ujian: tetap tenang, hanya warna yang berubah */
.exam-body { background: linear-gradient(180deg, #fff3f9, #fff9e6); }
.exam-top { border-bottom: 1px solid #f4d0e2; background: rgba(255, 255, 255, .9); }
.timer { border-radius: 999px; background: linear-gradient(180deg, #ffe27a, #ffd23f); border: 0; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 0 4px 10px rgba(240, 180, 0, .3); }
.timer.is-warn { background: #ffb347; }
.timer.is-danger { background: var(--danger); color: #fff; }
.q-card { border: 1.5px solid #fff; border-radius: 22px; box-shadow: var(--shadow), 0 0 0 1px var(--line); background: #fff; }
.palette { border: 1.5px solid #fff; border-radius: 22px; box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); background: rgba(255, 255, 255, .95); }
.pal { border: 1.5px solid #efc3d9; background: #fff; }
.pal.is-answered { background: var(--primary); color: #fff; border-color: var(--primary); }
.pal.is-current { box-shadow: 0 0 0 3px var(--yellow), 0 0 0 5px var(--primary); }
.pal.is-marked::after { background: var(--yellow); border: 1.5px solid var(--ink); }
.exam-nav { border-top: 1px solid #f4d0e2; background: rgba(255, 255, 255, .94); }
.explain { border-left: 5px solid var(--primary); border-radius: 12px; }
.modal { border: 0; border-radius: 26px; box-shadow: var(--shadow-lg); }
.toast { border: 0; border-left: 6px solid var(--primary); border-radius: 14px; box-shadow: var(--shadow); }

/* Admin */
.admin-side { background: linear-gradient(180deg, #3b1242, #5a1a55); }
.admin-side a { border-radius: 999px; }
.admin-side a.is-active { background: linear-gradient(180deg, #ffe27a, #ffd23f); color: var(--ink); }

@media (prefers-reduced-motion: reduce) { .sticker, .blob { animation: none !important; } }

/* v3.1 — rapikan menu, tambah detail visual (tata letak tidak berubah) */
.nav-links { align-items: center; gap: 2px; }
.nav-links a { white-space: nowrap; padding: 8px 12px; font-size: .95rem; }
@media (min-width: 1121px) and (max-width: 1400px) { .nav-links a .icon { display: none; } .nav-links a { padding: 8px 10px; } }
@media (max-width: 1120px) { .nav-links a { white-space: normal; } }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; left: 12%; top: 8%; border-radius: 50%; z-index: -1; filter: blur(34px);
  background: radial-gradient(circle, rgba(255, 255, 255, .85), rgba(255, 210, 63, .35) 55%, transparent 72%); }
.hero .eyebrow, .hero h1, .hero .lead { position: relative; z-index: 1; }
.card.accent-blue, .card.accent-coral, .card.accent-teal, .card.accent-purple, .card.accent-amber, .card.accent-sky { background-image: linear-gradient(180deg, color-mix(in srgb, var(--a-soft) 55%, #fff) 0, rgba(255, 255, 255, .92) 70px); }
.section.tint { background-image: radial-gradient(rgba(255, 255, 255, .8) 1.4px, transparent 1.6px), linear-gradient(180deg, rgba(255, 220, 238, .65), rgba(255, 243, 196, .65)); background-size: 26px 26px, auto; }
.section-head h2 { text-shadow: 0 1px 0 rgba(255, 255, 255, .8); }
.stat .num, .count span { background: linear-gradient(120deg, var(--a, var(--primary)), #ff6fae); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .paper { animation: paperIn .7s var(--ease) both; }
  .note-pill { animation: pillIn .6s var(--ease) both; }
  .note-pill.p1 { animation-delay: .15s; } .note-pill.p2 { animation-delay: .27s; } .note-pill.p3 { animation-delay: .39s; } .note-pill.p4 { animation-delay: .51s; }
  .tape { animation: tapeIn .5s .6s var(--ease) both; }
}
@keyframes paperIn { from { opacity: 0; transform: translateY(26px) rotate(0deg); } to { opacity: 1; transform: rotate(2deg); } }
@keyframes pillIn { from { opacity: 0; translate: 0 18px; scale: .92; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes tapeIn { from { opacity: 0; scale: 1.3; } to { opacity: .96; scale: 1; } }
.ribbon { white-space: nowrap; }
.price-card.is-featured { padding-top: 34px; }

/* ==========================================================================
   v3.2 — tombol tema/bahasa dan mode gelap
   ========================================================================== */
.prefs { display: flex; align-items: center; gap: 8px; }
.theme-toggle .ico-sun { display: none; }
html[data-theme="dark"] .theme-toggle .ico-sun { display: inline-block; }
html[data-theme="dark"] .theme-toggle .ico-moon { display: none; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: #fff; border: 2px solid #ffd0e5; box-shadow: 0 2px 8px rgba(196, 23, 143, .08); }
.lang-switch a { padding: 4px 10px; border-radius: 999px; font-weight: 800; font-size: .78rem; letter-spacing: .02em; color: var(--primary-600); text-decoration: none !important; line-height: 1.2; }
.lang-switch a.is-active { background: linear-gradient(180deg, #e5399f, #c4178f); color: #fff; }
.auth-prefs { position: absolute; top: 16px; right: 16px; z-index: 5; }
@media (max-width: 560px) {
  .nav-end { gap: 6px; }
  .prefs { gap: 6px; }
  .prefs .icon-btn { width: 38px; height: 38px; }
  .lang-switch a { padding: 3px 8px; font-size: .72rem; }
  .navbar .container { gap: 8px; }
}

html[data-theme="dark"] { color-scheme: dark;
  --ink: #fbe8f3; --ink-2: #e7cadb; --muted: #bf9db3; --line: #4a2a46; --bg: #170d1b; --surface: #241528;
  --paper-grid: #3a2038; --primary: #ff5db1; --primary-600: #ff8ccb; --primary-soft: #3d1c3b;
  --yellow-soft: #3f3414; --success: #6fe3a0; --success-soft: #153324; --danger: #ff8a8a; --danger-soft: #3d1b20;
  --info: #7ab8ff; --info-soft: #172c47; --amber: #ffcf5a; --amber-soft: #3d3010; --coral-soft: #3d1c24; --teal-soft: #11332f; --sky-soft: #172c47; --lavender-soft: #2e1d44;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .35); --shadow: 0 14px 34px rgba(0, 0, 0, .45); --shadow-lg: 0 24px 54px rgba(0, 0, 0, .55);
}
html[data-theme="dark"] .accent-blue { --a: #9a92ff; --a-soft: #2a2550; --hl: #5a52c0; }
html[data-theme="dark"] .accent-purple { --a: #cf94f2; --a-soft: #3a2250; --hl: #8a4ab0; }
html[data-theme="dark"] .accent-coral { --a: #ff86ae; --a-soft: #47213a; --hl: #b04a72; }
html[data-theme="dark"] .accent-teal { --a: #55dcc2; --a-soft: #123a35; --hl: #26806f; }
html[data-theme="dark"] .accent-amber { --a: #ffd05c; --a-soft: #43360f; --hl: #b08a1a; }
html[data-theme="dark"] .accent-sky { --a: #72b8ff; --a-soft: #172f4d; --hl: #2f6fb0; }

html[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
html[data-theme="dark"] body::before { background: radial-gradient(900px 620px at -5% -5%, rgba(255, 79, 160, .22) 0, transparent 62%), radial-gradient(800px 560px at 105% 8%, rgba(255, 210, 63, .14) 0, transparent 58%), radial-gradient(900px 700px at 55% 108%, rgba(255, 111, 174, .14) 0, transparent 62%); }
html[data-theme="dark"] .navbar { background: rgba(23, 13, 27, .86); border-bottom-color: #3d2039; }
html[data-theme="dark"] .announce { background: linear-gradient(90deg, #4a1d45, #4a3d14); color: var(--ink); }
html[data-theme="dark"] .nav-links a.is-active, html[data-theme="dark"] .admin-side a.is-active, html[data-theme="dark"] .btn-soft, html[data-theme="dark"] .timer { color: #35123b; }
html[data-theme="dark"] .nav-links a:hover { background: var(--primary-soft); }
html[data-theme="dark"] .card, html[data-theme="dark"] .step, html[data-theme="dark"] .acc-item, html[data-theme="dark"] .side, html[data-theme="dark"] .q-card, html[data-theme="dark"] .palette, html[data-theme="dark"] .auth-card, html[data-theme="dark"] a.card-hover, html[data-theme="dark"] .card-hover { background-color: rgba(36, 21, 40, .92); border-color: rgba(255, 255, 255, .06); }
html[data-theme="dark"] .card.accent-blue, html[data-theme="dark"] .card.accent-coral, html[data-theme="dark"] .card.accent-teal, html[data-theme="dark"] .card.accent-purple, html[data-theme="dark"] .card.accent-amber, html[data-theme="dark"] .card.accent-sky { background-image: linear-gradient(180deg, color-mix(in srgb, var(--a-soft) 80%, transparent) 0, transparent 70px); }
html[data-theme="dark"] .modal, html[data-theme="dark"] .dropdown-menu, html[data-theme="dark"] .toast, html[data-theme="dark"] .table-wrap { background: var(--surface); }
html[data-theme="dark"] .acc-item.is-open { background: #2c1a2e; }
html[data-theme="dark"] .icon-btn, html[data-theme="dark"] .chip, html[data-theme="dark"] .btn-ghost, html[data-theme="dark"] .lang-switch, html[data-theme="dark"] .task-check { background: var(--surface); border-color: #5a2d52; color: var(--primary-600); }
html[data-theme="dark"] .icon-btn { color: var(--ink); }
html[data-theme="dark"] .lang-switch a { color: var(--primary-600); }
html[data-theme="dark"] .lang-switch a.is-active { color: #fff; }
html[data-theme="dark"] .btn-ghost:hover { background: var(--primary-soft); border-color: var(--primary); }
html[data-theme="dark"] .btn-danger { background: transparent; border-color: #7a3a40; }
html[data-theme="dark"] .eyebrow { background: rgba(36, 21, 40, .85); border-color: #4a2a46; color: var(--primary-600); }
html[data-theme="dark"] .hero { background: radial-gradient(700px 480px at 12% 10%, rgba(255, 79, 160, .32), transparent 65%), radial-gradient(640px 460px at 92% 18%, rgba(255, 210, 63, .2), transparent 62%), radial-gradient(700px 500px at 60% 100%, rgba(255, 111, 174, .18), transparent 65%), linear-gradient(180deg, #26112a, #1d1424); }
html[data-theme="dark"] .hero::before { background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); }
html[data-theme="dark"] .hero h1 .grad { background: linear-gradient(100deg, #ff7ac0, #ffb066); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="dark"] .hero-visual::before { background: radial-gradient(circle, rgba(255, 140, 200, .35), rgba(255, 210, 63, .14) 55%, transparent 72%); }
html[data-theme="dark"] .paper-sub { color: #35123b; }
html[data-theme="dark"] .section.tint { background-image: radial-gradient(rgba(255, 255, 255, .06) 1.4px, transparent 1.6px), linear-gradient(180deg, rgba(74, 29, 69, .5), rgba(70, 58, 20, .35)); background-size: 26px 26px, auto; }
html[data-theme="dark"] .section-head h2 { background: linear-gradient(transparent 64%, rgba(255, 210, 63, .28) 64%); text-shadow: none; }
html[data-theme="dark"] .bar, html[data-theme="dark"] .skeleton { background: #3a2338; }
html[data-theme="dark"] .ring { background: conic-gradient(var(--a, var(--primary)) calc(var(--p, 0) * 1%), #3a2338 0); }
html[data-theme="dark"] .ring > span, html[data-theme="dark"] .ring::after { background-color: var(--surface); }
html[data-theme="dark"] .tag-icon, html[data-theme="dark"] .deadline .count, html[data-theme="dark"] .uni-card .logo-ph { border-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .exam-card .tag-icon { background: var(--surface); border-color: var(--a-soft); }
html[data-theme="dark"] .empty { background: rgba(36, 21, 40, .6); border-color: #6a2f5e; }
html[data-theme="dark"] .price-card.is-featured { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-brand) border-box; }
html[data-theme="dark"] .input, html[data-theme="dark"] select.input, html[data-theme="dark"] textarea.input { background: #1d1022; border-color: #5a2d52; color: var(--ink); }
html[data-theme="dark"] .input::placeholder { color: #8f6e86; }
html[data-theme="dark"] .input:focus { box-shadow: 0 0 0 4px rgba(255, 93, 177, .22); }
html[data-theme="dark"] .ans, html[data-theme="dark"] .opt, html[data-theme="dark"] .pal { background: var(--surface); border-color: #54304f; }
html[data-theme="dark"] .ans:hover, html[data-theme="dark"] .opt:hover { background: #2e1a30; }
html[data-theme="dark"] .ans:has(input:checked), html[data-theme="dark"] .opt:has(input:checked) { background: #3a1d38; }
html[data-theme="dark"] .pal.is-answered { color: #fff; }
html[data-theme="dark"] .table th { background: #2e1a30; color: var(--ink); border-bottom-color: var(--line); }
html[data-theme="dark"] .table tbody tr:hover { background: #2a1a2d; }
html[data-theme="dark"] .exam-body { background: linear-gradient(180deg, #1c1020, #1b1722); }
html[data-theme="dark"] .exam-top, html[data-theme="dark"] .exam-nav { background: rgba(28, 16, 32, .94); border-color: #3d2039; }
html[data-theme="dark"] .auth-page { background: radial-gradient(700px 500px at 0% 0%, rgba(255, 79, 160, .3), transparent 60%), radial-gradient(700px 500px at 100% 100%, rgba(255, 210, 63, .16), transparent 60%), linear-gradient(180deg, #1d1022, #1b1722); }
html[data-theme="dark"] .alert { border-color: transparent; }
html[data-theme="dark"] .alert-info { background: var(--info-soft); color: #b9dcff; }
html[data-theme="dark"] .alert-success { background: var(--success-soft); color: #b5f2cf; }
html[data-theme="dark"] .alert-danger { background: var(--danger-soft); color: #ffc2c2; }
html[data-theme="dark"] .alert-warning { background: var(--amber-soft); color: #ffe09a; }
html[data-theme="dark"] .explain { background: #2a1a2d; }
html[data-theme="dark"] .timeline::before { background: linear-gradient(#a03a7c, #8a7424); }
html[data-theme="dark"] .week::before, html[data-theme="dark"] .logo-mark .icon { background-color: transparent; }
html[data-theme="dark"] .week::before { background: var(--surface); }
html[data-theme="dark"] .bookmark { background: var(--surface); color: var(--ink); border-color: #5a2d52; }
html[data-theme="dark"] .logo b { color: var(--primary-600); }
html[data-theme="dark"] .hint, html[data-theme="dark"] .muted { color: var(--muted); }
html[data-theme="dark"] a { color: var(--primary-600); }
html[data-theme="dark"] .btn-primary, html[data-theme="dark"] .btn-primary:hover, html[data-theme="dark"] .side a.is-active, html[data-theme="dark"] .chip.is-active, html[data-theme="dark"] .chip:hover, html[data-theme="dark"] .lang-switch a.is-active, html[data-theme="dark"] .ribbon { color: #fff; }
html[data-theme="dark"] .admin-side { background: linear-gradient(180deg, #1d0e22, #2a1230); }
html[data-theme="dark"] .badge { filter: none; }
@media (prefers-reduced-motion: no-preference) { body, .card, .navbar { transition: background-color .25s, border-color .25s; } }
@media (max-width: 1120px) { .navbar .container { flex-wrap: nowrap; } .logo { white-space: nowrap; } .nav-end { margin-left: auto; } .nav-toggle { margin-left: 0; } }
@media (max-width: 560px) {
  .navbar .container { gap: 6px; }
  .prefs .icon-btn { width: 34px; height: 34px; }
  .lang-switch { padding: 2px; }
  .lang-switch a { padding: 3px 7px; font-size: .7rem; }
  .nav-end .btn-sm { padding: 7px 12px; }
  .logo { font-size: 1.25rem; }
}
fieldset.q-screen { padding-top: 22px; }
fieldset.q-screen > legend.q-text { float: left; width: 100%; margin: 0 0 14px; padding: 0; }
fieldset.q-screen > legend.q-text + * { clear: both; }
@media (max-width: 1120px) { .navbar .nav-toggle { order: 3; } .navbar .nav-end { order: 2; } }
.nav-end .btn { white-space: nowrap; }
html[data-theme="dark"] .badge-neutral { background: #3a2338; color: var(--ink-2); }
html[data-theme="dark"] .badge-info { background: var(--info-soft); color: var(--info); }
html[data-theme="dark"] .badge-success { background: var(--success-soft); color: var(--success); }
html[data-theme="dark"] .badge-danger { background: var(--danger-soft); color: var(--danger); }
html[data-theme="dark"] .badge-warning { background: var(--amber-soft); color: var(--amber); }
html[data-theme="dark"] .btn[style*="background:#fff"], html[data-theme="dark"] .gradient-card .btn[style*="background"] { color: #a30f74 !important; }
html[data-theme="dark"] .skip-link { background: #fff; color: #35123b; }

/* ===== Fase 2: kupon ===== */
.coupon-box { display: grid; gap: 8px; max-width: 560px; margin: 0 auto 24px; padding: 16px 18px; background: var(--surface); border: 2px dashed var(--line); border-radius: 16px; }
.coupon-box .hint { margin: 0; min-height: 1.2em; }
.coupon-note { margin: 0; color: var(--success, #1a8a4f); font-weight: 600; }
html[data-theme="dark"] .coupon-box { background: var(--surface); border-color: var(--line); }

/* ===== Fase 2: bagan analitik (SVG dari server) ===== */
.chart { margin: 0; }
.chart figcaption { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; margin-bottom: 6px; }
.chart-svg { width: 100%; height: auto; display: block; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-axis { fill: var(--muted); font-size: 11px; }
.chart-val { fill: var(--ink); font-size: 11px; font-weight: 700; }
.chart-bar { fill: var(--primary); }
.chart-svg g:hover .chart-bar { opacity: .75; }
.chart-table summary { cursor: pointer; font-size: .85rem; color: var(--muted); margin-top: 6px; }

/* ===== Fase 2: gambar di soal/materi dan pustaka media ===== */
.rich-img { margin: 10px 0; }
.rich-img img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: block; }
.media-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.media-card { padding: 0; overflow: hidden; }
.media-card img { width: 100%; height: 150px; object-fit: contain; background: #fff; border-bottom: 1px solid var(--line); display: block; }
.media-meta { padding: 12px 14px; display: grid; gap: 2px; word-break: break-word; }
@media (max-width: 600px) { .chart-axis, .chart-val { font-size: 16px; } }

