/* ============================================================
   Edukasi Pemdi — PermenPANRB 8/2026
   ============================================================ */
:root {
  --bg: #0a0f1f;
  --bg-soft: #0f1729;
  --panel: #131c33;
  --panel-2: #18233e;
  --line: rgba(255, 255, 255, 0.08);
  --text: #e8edf7;
  --muted: #93a0bd;
  --primary: #3b82f6;
  --primary-2: #22d3ee;
  --accent: #f59e0b;
  --green: #22c55e;
  --red: #ef4444;
  --lama: #64748b;
  --baru: #22d3ee;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --maxw: 1180px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; font-weight: 700; }
canvas { max-width: 100%; }

/* Scroll progress */
#scrollProgress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  z-index: 200; transition: width 0.1s linear;
}

/* ---------- NAVBAR ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px, 4vw, 40px);
  background: rgba(10, 15, 31, 0.7);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s;
}
.nav.scrolled { padding-top: 9px; padding-bottom: 9px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); }
.brand-badge {
  display: grid; place-items: center; width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  border-radius: 10px; font-weight: 700; font-size: 14px; color: #04121f;
}
.brand-text { font-size: 19px; font-weight: 600; }
.brand-text strong { color: var(--primary-2); }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  font-size: 14px; color: var(--muted); padding: 7px 12px; border-radius: 9px;
  transition: 0.2s; font-weight: 500;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--panel-2); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; display: grid; place-items: center;
  text-align: center; padding: 120px 20px 60px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(34, 211, 238, 0.18), transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 60%, rgba(59, 130, 246, 0.16), transparent 70%),
    radial-gradient(ellipse 50% 50% at 15% 70%, rgba(245, 158, 11, 0.10), transparent 70%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000, transparent 75%);
  opacity: 0.5;
}
.hero-inner { position: relative; z-index: 1; max-width: 920px; }
.hero-tag {
  display: inline-block; font-size: 13px; letter-spacing: 1.5px; font-weight: 600;
  color: var(--primary-2); border: 1px solid rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.08); padding: 7px 16px; border-radius: 99px; margin-bottom: 26px;
}
.hero-title { font-size: clamp(36px, 7vw, 76px); letter-spacing: -1.5px; }
.hero-title .grad {
  background: linear-gradient(120deg, #60a5fa, #22d3ee 60%, #34d399);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title .strike { position: relative; color: var(--muted); }
.hero-title .strike::after {
  content: ""; position: absolute; left: -4%; right: -4%; top: 52%; height: 5px;
  background: var(--red); border-radius: 3px; transform: rotate(-4deg);
}
.hero-sub { font-size: clamp(16px, 2.2vw, 20px); color: var(--muted); margin: 26px auto 34px; max-width: 760px; }
.hero-sub strong { color: var(--text); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 12px;
  font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: 0.2s;
  font-family: var(--font);
}
.btn-primary { background: linear-gradient(120deg, var(--primary), var(--primary-2)); color: #04121f; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(34, 211, 238, 0.5); }
.btn-ghost { background: var(--panel); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--panel-2); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.hero-stats { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 50px; }
.hstat {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 22px; min-width: 130px;
}
.hstat b { display: block; font-family: var(--display); font-size: 30px; color: var(--primary-2); }
.hstat span { font-size: 13px; color: var(--muted); }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); font-size: 30px; color: var(--muted); animation: bounce 1.8s infinite; z-index: 1; }
@keyframes bounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* ---------- SECTIONS ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 90px clamp(16px, 4vw, 40px); }
.section.alt { background: var(--bg-soft); max-width: 100%; }
.section.alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.eyebrow { color: var(--primary-2); font-weight: 600; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(28px, 4.5vw, 44px); margin: 12px 0 14px; letter-spacing: -1px; }
.lead { color: var(--muted); font-size: 17px; }
.lead strong { color: var(--text); }
.sub-head { text-align: center; font-size: 24px; margin: 60px 0 28px; }

/* ---------- RINGKASAN CARDS ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.rcard {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: 0.25s; position: relative; overflow: hidden;
}
.rcard:hover { transform: translateY(-5px); border-color: rgba(34, 211, 238, 0.4); }
.rcard .ricon { font-size: 32px; margin-bottom: 14px; }
.rcard h3 { font-size: 20px; margin-bottom: 8px; }
.rcard p { color: var(--muted); font-size: 15px; }
.why-banner {
  margin-top: 28px; background: linear-gradient(120deg, rgba(59, 130, 246, 0.12), rgba(34, 211, 238, 0.06));
  border: 1px solid rgba(34, 211, 238, 0.25); border-radius: var(--radius); padding: 30px 34px;
}
.why-banner h3 { font-size: 22px; margin-bottom: 8px; color: var(--primary-2); }
.why-banner p { color: var(--text); }

/* ---------- COMPARE ---------- */
.legend { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; font-size: 13px; color: var(--muted); }
.legend .dot { display: inline-block; width: 11px; height: 11px; border-radius: 99px; margin-right: 5px; vertical-align: middle; }
.dot.lama { background: var(--lama); } .dot.baru { background: var(--baru); }
.dot.t-tinggi { background: var(--red); } .dot.t-sedang { background: var(--accent); } .dot.t-rendah { background: var(--green); }
.legend-impact .dot { margin-left: 10px; }
.compare-list { display: flex; flex-direction: column; gap: 14px; }
.crow {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: 0.2s;
}
.crow:hover { border-color: rgba(255, 255, 255, 0.16); }
.crow-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 22px; cursor: pointer;
}
.crow-head h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; }
.impact-pill { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 99px; text-transform: uppercase; letter-spacing: 0.5px; }
.impact-pill.tinggi { background: rgba(239, 68, 68, 0.15); color: #fca5a5; }
.impact-pill.sedang { background: rgba(245, 158, 11, 0.15); color: #fcd34d; }
.impact-pill.rendah { background: rgba(34, 197, 94, 0.15); color: #86efac; }
.crow-toggle { color: var(--muted); transition: 0.3s; font-size: 18px; }
.crow.open .crow-toggle { transform: rotate(180deg); }
.crow-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.crow.open .crow-body { max-height: 320px; }
.crow-cell { padding: 0 22px 22px; }
.crow-cell.lama { border-right: 1px solid var(--line); }
.crow-cell .tag { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; display: inline-block; margin-bottom: 8px; padding: 3px 9px; border-radius: 6px; }
.crow-cell.lama .tag { background: rgba(100, 116, 139, 0.2); color: #cbd5e1; }
.crow-cell.baru .tag { background: rgba(34, 211, 238, 0.15); color: var(--baru); }
.crow-cell p { font-size: 14.5px; color: var(--text); }
.crow-cell.lama p { color: var(--muted); }

/* ---------- KOMPARASI INDEKS & BUKTI DUKUNG ---------- */
.ki-compare { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; margin-bottom: 26px; }
.ki-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.ki-card.lama { border-left: 4px solid var(--lama); }
.ki-card.baru { border-left: 4px solid var(--baru); }
.ki-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.ki-card.lama .ki-tag { color: #cbd5e1; }
.ki-card.baru .ki-tag { color: var(--baru); }
.ki-struktur { font-family: var(--display); font-size: 19px; font-weight: 700; margin: 8px 0 4px; }
.ki-meta { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.ki-card p { font-size: 13.5px; color: var(--muted); }
.ki-arrow { font-family: var(--display); font-size: 34px; color: var(--primary-2); text-align: center; }

.ki-summary { margin-bottom: 30px; }
.ki-inv { font-size: 13px; color: var(--muted); background: var(--panel); border: 1px dashed var(--line); border-radius: 12px; padding: 13px 18px; margin-bottom: 16px; }
.ki-inv b { color: var(--text); }
.ki-evi { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.ki-evi-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; border-left: 4px solid var(--ec); }
.ki-evi-card.tersedia { --ec: #22c55e; }
.ki-evi-card.baru { --ec: #3b82f6; }
.ki-evi-card b { font-family: var(--display); font-size: 32px; color: var(--ec); line-height: 1; }
.ki-evi-card span { font-size: 13px; color: var(--muted); }
.ki-sum-bar { display: flex; height: 16px; border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.ki-seg { transition: flex 0.4s; }
.ki-sum-legend { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 12px; font-size: 13px; color: var(--muted); }
.ki-sum-item i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.ki-sum-item b { color: var(--text); }
.ki-sum-note { font-style: italic; opacity: 0.8; }

.ki-filter { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
.ki-fbtn {
  padding: 8px 16px; border-radius: 99px; background: var(--panel); border: 1px solid var(--line);
  color: var(--muted); font-family: var(--font); font-weight: 600; font-size: 13px; cursor: pointer; transition: 0.18s;
}
.ki-fbtn:hover { color: var(--text); border-color: var(--fc, var(--primary-2)); }
.ki-fbtn.active { background: var(--fc, linear-gradient(120deg, var(--primary), var(--primary-2))); color: #04121f; border-color: transparent; }
.ki-fbtn.active[data-f="all"] { background: linear-gradient(120deg, var(--primary), var(--primary-2)); }

.ki-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.ki-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; border-top: 3px solid var(--ac); transition: 0.2s; }
.ki-item:hover { transform: translateY(-4px); background: var(--panel-2); }
.ki-item-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.ki-no { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ac); line-height: 1.1; }
.ki-item-title { flex: 1; }
.ki-item-title b { display: block; font-size: 14.5px; line-height: 1.35; }
.ki-item-title small { color: var(--muted); font-size: 12px; }
.ki-status { flex-shrink: 0; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; padding: 4px 9px; border-radius: 99px; color: var(--sc); background: color-mix(in srgb, var(--sc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--sc) 35%, transparent); }
.ki-lbl { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--primary-2); margin-bottom: 5px; }
.ki-asal { font-size: 13px; color: var(--muted); padding: 12px 0; border-top: 1px solid var(--line); }
.ki-bukti { border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.ki-bukti .ki-lbl { display: flex; align-items: center; gap: 8px; }
.ki-bukti.reuse .ki-lbl { color: var(--green); }
.ki-bukti.baru .ki-lbl { color: #60a5fa; }
.ki-cnt { font-family: var(--display); font-size: 11px; font-weight: 700; color: var(--text); background: var(--panel-2); border-radius: 99px; padding: 1px 8px; }
.ki-bukti ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.ki-bukti li { font-size: 13px; color: var(--text); padding-left: 22px; position: relative; }
.ki-bukti.reuse li::before { content: "📎"; position: absolute; left: 0; font-size: 12px; }
.ki-bukti.baru li::before { content: "✚"; position: absolute; left: 2px; font-size: 12px; color: #60a5fa; font-weight: 700; }
.ki-src { font-size: 10.5px; font-weight: 700; color: var(--primary-2); background: rgba(34, 211, 238, 0.12); border-radius: 5px; padding: 1px 6px; white-space: nowrap; }
.ki-empty { font-size: 12.5px; color: var(--muted); font-style: italic; padding-left: 2px; }

.ki-ref { margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; }
.ki-ref summary { cursor: pointer; padding: 16px 0; font-weight: 600; color: var(--primary-2); font-family: var(--display); }
.ki-ref[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.ki-ref-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; padding-bottom: 20px; }
.ki-ref-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.ki-ref-card h4 { font-size: 14px; color: var(--text); margin-bottom: 8px; }
.ki-ref-card ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.ki-ref-card li { font-size: 12.5px; color: var(--muted); padding-left: 14px; position: relative; }
.ki-ref-card li::before { content: "•"; position: absolute; left: 0; color: var(--primary-2); }

@media (max-width: 700px) {
  .ki-compare { grid-template-columns: 1fr; }
  .ki-arrow { transform: rotate(90deg); }
  .ki-evi { grid-template-columns: 1fr; }
}

/* ---------- POHON KINERJA & CASCADING ---------- */
.pk-org { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 24px; margin-bottom: 26px; }
.pk-org-main { display: flex; align-items: center; gap: 14px; }
.pk-org-icon { font-size: 30px; }
.pk-org-main b { display: block; font-size: 17px; }
.pk-org-main span { font-size: 13px; color: var(--muted); }
.pk-org-dasar { font-size: 12px; color: var(--muted); font-style: italic; }
.ptab-pane { display: none; }
.ptab-pane.active { display: block; animation: fadeUp 0.4s ease; }
.pk-legend { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-bottom: 14px; font-size: 12.5px; color: var(--muted); }
.pk-leg i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: middle; }
.pk-tools { display: flex; gap: 8px; justify-content: center; margin-bottom: 20px; }

/* tree */
.pk-tree { overflow-x: auto; }
.pk-root, .pk-children { list-style: none; }
.pk-children { margin-left: 26px; padding-left: 22px; border-left: 2px solid var(--line); }
.pk-node { position: relative; margin: 10px 0; }
.pk-children > .pk-node::before { content: ""; position: absolute; left: -22px; top: 28px; width: 18px; height: 2px; background: var(--line); }
.pk-node:not(.open) > .pk-children { display: none; }
.pk-card { display: flex; gap: 10px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--lc); border-radius: 14px; padding: 14px 16px; transition: 0.2s; max-width: 680px; }
.pk-card[data-toggle] { cursor: pointer; }
.pk-card[data-toggle]:hover { background: var(--panel-2); border-color: var(--lc); }
.pk-twist { color: var(--lc); font-size: 14px; margin-top: 2px; transition: transform 0.25s; }
.pk-node:not(.open) > .pk-card .pk-twist { transform: rotate(-90deg); }
.pk-leaf-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lc); margin-top: 7px; flex-shrink: 0; }
.pk-card-body { flex: 1; }
.pk-card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.pk-level { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px; color: var(--lc); background: color-mix(in srgb, var(--lc) 15%, transparent); padding: 3px 9px; border-radius: 99px; }
.pk-aspek-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-left: 3px; vertical-align: middle; }
.pk-jabatan { font-size: 15px; display: block; }
.pk-sasaran { font-size: 13px; color: var(--muted); margin: 3px 0 8px; }
.pk-ind { font-size: 12.5px; color: var(--text); background: var(--bg-soft); border-radius: 9px; padding: 8px 11px; }
.pk-ind-lbl { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; color: var(--primary-2); margin-bottom: 3px; }
.pk-target { display: inline-block; font-weight: 700; color: var(--green); white-space: nowrap; margin-left: 4px; }

/* cascading */
.cas-jenis { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.cas-jcard { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--jc); border-radius: 14px; padding: 16px 18px; }
.cas-jcard b { color: var(--jc); font-size: 15px; display: block; margin-bottom: 4px; }
.cas-jcard span { font-size: 13px; color: var(--muted); }
.cas-flow { max-width: 820px; margin: 0 auto; }
.cas-row { display: grid; grid-template-columns: 150px 1fr; gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; border-left: 4px solid var(--cc); }
.cas-lvl { background: color-mix(in srgb, var(--cc) 12%, transparent); padding: 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; justify-content: center; }
.cas-no { width: 34px; height: 34px; border-radius: 10px; background: var(--cc); color: #04121f; font-family: var(--display); font-weight: 700; font-size: 18px; display: grid; place-items: center; }
.cas-tingkat { font-size: 12px; font-weight: 600; color: var(--text); }
.cas-detail { padding: 16px 20px; }
.cas-detail b { font-size: 15.5px; }
.cas-peran { font-size: 12px; color: var(--cc); font-weight: 600; display: block; margin: 2px 0 8px; }
.cas-kinerja { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.cas-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.cas-chip { font-size: 11.5px; padding: 4px 10px; border-radius: 99px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--text); }
.cas-chip.tgt { color: var(--green); }
.cas-chip.cas { color: var(--primary-2); }
.cas-arrow { text-align: center; font-size: 24px; color: var(--muted); margin: 4px 0; }
.cas-note { max-width: 820px; margin: 22px auto 0; text-align: center; font-size: 13px; color: var(--muted); background: var(--panel); border: 1px dashed var(--line); border-radius: 12px; padding: 14px 20px; }

@media (max-width: 600px) {
  .cas-jenis { grid-template-columns: 1fr; }
  .cas-row { grid-template-columns: 1fr; }
  .cas-lvl { flex-direction: row; }
}

/* ---------- ASPEK ---------- */
.aspek-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.aspek-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.acard {
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
  cursor: pointer; transition: 0.22s; position: relative; border-left: 4px solid var(--ac, var(--primary));
}
.acard:hover { transform: translateY(-4px); background: var(--panel-2); }
.acard .a-top { display: flex; align-items: center; justify-content: space-between; }
.acard .a-icon { font-size: 26px; }
.acard .a-bobot { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ac); }
.acard h3 { font-size: 15.5px; margin: 12px 0 4px; }
.acard .a-count { font-size: 12px; color: var(--muted); }
.acard .a-indikator { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.acard.open .a-indikator { max-height: 600px; margin-top: 12px; }
.acard.open { grid-column: 1 / -1; cursor: default; }
.ind-item { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.ind-item .ind-w { flex-shrink: 0; font-family: var(--display); font-weight: 700; color: var(--ac); font-size: 13px; background: rgba(255,255,255,0.05); border-radius: 6px; padding: 2px 7px; }
.ind-item .ind-x b { display: block; }
.ind-item .ind-x span { color: var(--muted); font-size: 12.5px; }
.aspek-desc { font-size: 13px; color: var(--muted); margin-top: 8px; }
.aspek-chart-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 90px; }
.aspek-chart-wrap h3 { font-size: 18px; text-align: center; margin-bottom: 16px; }
.chart-note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 14px; }

/* ---------- SIMULASI ---------- */
.sim-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.sim-controls { display: flex; flex-direction: column; gap: 16px; }
.simrow { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.simrow-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; }
.simrow-top .s-name { font-weight: 600; }
.simrow-top .s-name small { color: var(--muted); font-weight: 400; }
.simrow-top .s-val { font-family: var(--display); font-weight: 700; color: var(--primary-2); font-size: 17px; min-width: 36px; text-align: right; }
input[type="range"] { -webkit-appearance: none; width: 100%; height: 6px; border-radius: 99px; background: var(--panel-2); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-2)); cursor: pointer; border: 3px solid var(--bg); box-shadow: 0 0 0 1px var(--line); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--primary-2); cursor: pointer; border: none; }
.sim-result { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; position: sticky; top: 90px; }
.gauge { position: relative; width: 240px; max-width: 100%; margin: 0 auto; }
.gauge-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.gauge-value { font-family: var(--display); font-size: 46px; font-weight: 700; line-height: 1; }
.gauge-label { font-size: 12px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.sim-predikat { margin: 18px 0 10px; }
.sim-predikat .p-name { font-family: var(--display); font-size: 24px; font-weight: 700; }
.sim-predikat .p-label { font-size: 13px; color: var(--muted); }
.sim-predikat .p-desc { font-size: 13px; color: var(--muted); margin-top: 10px; }
.sim-formula { font-family: var(--display); font-size: 13px; color: var(--muted); margin: 14px 0; }

/* ---------- LADDER / KEMATANGAN ---------- */
.ladder { display: flex; flex-direction: column; gap: 12px; }
.lrow {
  display: grid; grid-template-columns: 60px 1fr; gap: 18px; align-items: stretch;
  background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: 0.2s;
}
.lrow:hover { transform: translateX(6px); }
.lrow .l-level { display: grid; place-items: center; font-family: var(--display); font-size: 28px; font-weight: 700; color: #04121f; }
.lrow .l-body { padding: 18px 22px 18px 4px; }
.lrow .l-body h3 { font-size: 19px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lrow .l-range { font-size: 12px; font-weight: 600; color: var(--muted); background: var(--panel-2); padding: 3px 10px; border-radius: 99px; }
.lrow .l-body p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ---------- TIMELINE / PROSES ---------- */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tstep { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.tstep .t-icon { font-size: 30px; }
.tstep h3 { font-size: 20px; margin: 10px 0 14px; }
.tstep .t-col { margin-bottom: 14px; }
.tstep .t-col h4 { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--primary-2); margin-bottom: 8px; }
.tstep .t-col.instansi h4 { color: var(--accent); }
.tstep ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.tstep li { font-size: 13.5px; color: var(--muted); padding-left: 18px; position: relative; }
.tstep li::before { content: "›"; position: absolute; left: 2px; color: var(--primary-2); font-weight: 700; }
.metode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.mcard { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 22px; border-top: 3px solid var(--primary); }
.mcard h3 { font-size: 17px; margin-bottom: 6px; }
.mcard .m-by { font-size: 12px; color: var(--primary-2); font-weight: 600; margin-bottom: 10px; }
.mcard p { font-size: 13.5px; color: var(--muted); }

/* ---------- TINDAK LANJUT ---------- */
.tl-progress { display: flex; align-items: center; gap: 16px; max-width: 600px; margin: 0 auto 34px; }
.tl-bar { flex: 1; height: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 99px; overflow: hidden; }
.tl-bar span { display: block; height: 100%; width: 0%; background: linear-gradient(90deg, var(--green), var(--primary-2)); transition: width 0.4s; }
#tlProgressText { font-family: var(--display); font-weight: 700; font-size: 14px; white-space: nowrap; }
.tl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.tlcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tlcard h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.tlcheck { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; cursor: pointer; border-top: 1px solid var(--line); }
.tlcheck:first-of-type { border-top: none; }
.tlcheck input { display: none; }
.tlcheck .box { flex-shrink: 0; width: 20px; height: 20px; border: 2px solid var(--muted); border-radius: 6px; margin-top: 2px; display: grid; place-items: center; transition: 0.2s; font-size: 13px; color: transparent; }
.tlcheck input:checked + .box { background: var(--green); border-color: var(--green); color: #04121f; }
.tlcheck span.txt { font-size: 13.5px; transition: 0.2s; }
.tlcheck input:checked ~ span.txt { color: var(--muted); text-decoration: line-through; }

/* ---------- QUIZ ---------- */
.quiz-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; max-width: 720px; margin: 0 auto; }
.quiz-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.quiz-progress { height: 6px; background: var(--panel-2); border-radius: 99px; overflow: hidden; flex: 1; margin-left: 16px; }
.quiz-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--primary-2)); transition: width 0.3s; }
.quiz-q { font-family: var(--display); font-size: 21px; margin-bottom: 22px; }
.quiz-opts { display: flex; flex-direction: column; gap: 11px; }
.qopt {
  text-align: left; padding: 15px 18px; border-radius: 12px; background: var(--bg-soft);
  border: 1px solid var(--line); color: var(--text); cursor: pointer; font-size: 15px; transition: 0.18s;
  font-family: var(--font); display: flex; gap: 12px; align-items: center;
}
.qopt:hover:not(:disabled) { border-color: var(--primary-2); background: var(--panel-2); }
.qopt .q-key { width: 26px; height: 26px; flex-shrink: 0; border-radius: 7px; background: var(--panel-2); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.qopt.correct { border-color: var(--green); background: rgba(34, 197, 94, 0.12); }
.qopt.correct .q-key { background: var(--green); color: #04121f; }
.qopt.wrong { border-color: var(--red); background: rgba(239, 68, 68, 0.12); }
.qopt.wrong .q-key { background: var(--red); color: #fff; }
.quiz-explain { margin-top: 18px; padding: 14px 18px; border-radius: 12px; background: var(--bg-soft); border-left: 3px solid var(--primary-2); font-size: 14px; color: var(--muted); display: none; }
.quiz-explain.show { display: block; }
.quiz-explain b { color: var(--text); }
.quiz-nav { margin-top: 22px; display: flex; justify-content: flex-end; }
.quiz-result { text-align: center; }
.quiz-result .score-ring { font-family: var(--display); font-size: 64px; font-weight: 700; color: var(--primary-2); }
.quiz-result p { color: var(--muted); margin: 10px 0 22px; }

/* ---------- TANGGAPAN KRITIS ---------- */
.tab-switch { display: flex; gap: 10px; justify-content: center; margin-bottom: 34px; flex-wrap: wrap; }
.tab-btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border-radius: 99px;
  background: var(--panel); border: 1px solid var(--line); color: var(--muted);
  font-family: var(--font); font-weight: 600; font-size: 15px; cursor: pointer; transition: 0.2s;
}
.tab-btn:hover { color: var(--text); border-color: rgba(34, 211, 238, 0.4); }
.tab-btn.active { background: linear-gradient(120deg, var(--primary), var(--primary-2)); color: #04121f; border-color: transparent; }
.tab-count { background: rgba(0, 0, 0, 0.18); border-radius: 99px; padding: 1px 9px; font-size: 13px; font-weight: 700; }
.tab-btn:not(.active) .tab-count { background: var(--panel-2); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeUp 0.4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.resp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 16px; }
.resp-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; border-left: 4px solid var(--rc, var(--primary)); transition: 0.22s;
}
.resp-card.q { --rc: #f59e0b; }
.resp-card.s { --rc: #22c55e; }
.resp-card:hover { transform: translateY(-4px); background: var(--panel-2); }
.resp-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.resp-no { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--rc); line-height: 1; }
.resp-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--rc); background: rgba(255, 255, 255, 0.06); padding: 4px 10px; border-radius: 99px; }
.resp-main { font-size: 15px; color: var(--text); font-weight: 500; }
.resp-sub { font-size: 13px; color: var(--muted); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.resp-disclaimer { max-width: 760px; margin: 30px auto 0; text-align: center; font-size: 13px; color: var(--muted); background: var(--panel); border: 1px dashed var(--line); border-radius: 14px; padding: 16px 22px; }

/* ---------- GLOSARIUM ---------- */
.glos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gcard { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; transition: 0.2s; }
.gcard:hover { border-color: rgba(34, 211, 238, 0.4); }
.gcard h3 { font-size: 16px; color: var(--primary-2); margin-bottom: 6px; }
.gcard p { font-size: 13.5px; color: var(--muted); }

/* ---------- FOOTER ---------- */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 50px 20px; margin-top: 40px; }
.footer-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.footer-inner > div { display: flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--display); font-size: 18px; margin-bottom: 14px; }
.footer-inner p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.footer-inner .muted { font-size: 12px; opacity: 0.7; }

/* ---------- REVEAL ANIM ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .scroll-hint, .hero-bg { animation: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .aspek-layout, .sim-layout { grid-template-columns: 1fr; }
  .aspek-chart-wrap, .sim-result { position: static; }
  .timeline { grid-template-columns: 1fr; }
  .nav-links {
    position: fixed; top: 64px; right: 0; left: 0; flex-direction: column; gap: 0;
    background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 10px;
    transform: translateY(-130%); transition: transform 0.3s; max-height: 80vh; overflow: auto;
  }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 12px; border-radius: 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 560px) {
  .crow-body { grid-template-columns: 1fr; }
  .crow-cell.lama { border-right: none; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
  .crow.open .crow-body { max-height: 520px; }
  .acard.open { grid-column: auto; }
}
