/* ============================================
   HUDA WEBPPT — VANILLA HTML/CSS VERSION
   Politeknik Negeri Jember · 2026
   ============================================ */

/* ---- Tokens ---- */
:root {
  --bg-0: #05070d;
  --bg-1: #0a0e1a;
  --bg-2: #0f1424;
  --bg-3: #141a2e;
  --surface: rgba(20, 26, 46, 0.6);
  --surface-2: rgba(28, 36, 60, 0.5);
  --border: rgba(120, 160, 220, 0.12);
  --border-bright: rgba(120, 200, 255, 0.35);

  --polije-blue: #0066cc;
  --polije-blue-light: #1e90ff;
  --accent-cyan: #00e0ff;
  --accent-cyan-soft: #4dd9ff;
  --accent-violet: #8b5cf6;
  --accent-violet-soft: #a78bfa;
  --accent-amber: #fbbf24;
  --accent-rose: #ff4d6d;
  --accent-emerald: #10d9a0;

  --text-0: #ffffff;
  --text-1: #e6ecf5;
  --text-2: #9aa6bd;
  --text-3: #5c6781;
  --text-4: #3a4258;

  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;

  --glow-cyan: 0 0 40px rgba(0, 224, 255, 0.35), 0 0 80px rgba(0, 224, 255, 0.15);
  --glow-violet: 0 0 40px rgba(139, 92, 246, 0.35);
  --shadow-elev: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px var(--border);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; width: 100%; overflow: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--text-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overscroll-behavior: none;
}
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
::selection { background: rgba(0, 224, 255, 0.3); color: #fff; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(120, 160, 220, 0.2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(120, 160, 220, 0.4); }

.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }
.uppercase { text-transform: uppercase; letter-spacing: 0.12em; }
.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.gradient-text-warm {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan-soft) 60%, var(--accent-violet-soft) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- App Shell ---- */
.app { position: fixed; inset: 0; display: flex; flex-direction: column; background: radial-gradient(ellipse at top left, #0d1428 0%, #05070d 60%, #02030a 100%); }

/* ---- Background FX ---- */
.bg-fx { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.bg-grid { position: absolute; inset: -2px; background-image: linear-gradient(rgba(120,160,220,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(120,160,220,0.05) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 90%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 0%, transparent 90%); }
.bg-glow { position: absolute; border-radius: 50%; filter: blur(140px); opacity: 0.5; animation: bgFloat 18s ease-in-out infinite; }
.bg-glow-1 { top: -10%; left: -5%; width: 700px; height: 700px; background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%); }
.bg-glow-2 { bottom: -15%; right: -10%; width: 800px; height: 800px; background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%); animation-delay: -9s; }
.bg-glow-3 { top: 30%; right: 20%; width: 500px; height: 500px; background: radial-gradient(circle, #1e90ff 0%, transparent 70%); opacity: 0.28; animation-delay: -4s; }
@keyframes bgFloat { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.05); } 66% { transform: translate(-30px,40px) scale(0.95); } }
.bg-noise { position: absolute; inset: 0; opacity: 0.025; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.bg-scanline { position: absolute; inset: 0; background: repeating-linear-gradient(180deg, transparent 0, transparent 3px, rgba(0,224,255,0.012) 3px, rgba(0,224,255,0.012) 4px); pointer-events: none; }

/* ---- Topbar ---- */
.topbar {
  position: relative; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 16px 36px;
  background: linear-gradient(180deg, rgba(10,14,26,0.85) 0%, rgba(10,14,26,0.5) 100%);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.brand-logo { width: 48px; height: 48px; object-fit: contain; filter: drop-shadow(0 0 14px rgba(0,224,255,0.5)); }
.brand-meta { display: flex; flex-direction: column; gap: 3px; }
.brand-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: 0.14em; color: var(--text-0); }
.brand-sub { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-2); letter-spacing: 0.06em; }

.topbar-center { display: flex; align-items: center; gap: 10px; }
.topbar-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border: 1px solid var(--border-bright); border-radius: 100px;
  background: rgba(0,224,255,0.08);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em;
  color: var(--accent-cyan-soft); text-transform: uppercase;
}
.topbar-tag::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.topbar-right { display: flex; align-items: center; gap: 12px; }
.clock {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-2);
  letter-spacing: 0.1em; padding: 9px 16px;
  border: 1px solid var(--border); border-radius: 8px;
  background: rgba(20,26,46,0.4);
}
.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  border: 1px solid var(--border); background: rgba(20,26,46,0.4);
  color: var(--text-2); transition: all 0.25s ease;
}
.btn-icon:hover {
  border-color: var(--border-bright); color: var(--accent-cyan);
  background: rgba(0,224,255,0.08); transform: translateY(-1px);
}

/* ---- Stage / Canvas frame ---- */
.stage { position: relative; z-index: 10; flex: 1; display: block; overflow: hidden; }
.canvas-frame {
  position: absolute; top: 50%; left: 50%;
  width: 2100px; height: 1080px;
  transform-origin: center center;
  transform: translate(-50%, calc(-50% + var(--offset-y, 0px))) scale(var(--scale, 1));
}

.slide {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,20,36,0.7) 0%, rgba(10,14,26,0.85) 100%);
  border: 1px solid var(--border); border-radius: 32px; overflow: hidden;
  box-shadow: var(--shadow-elev);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(80px) scale(0.96); filter: blur(8px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1), filter 0.7s cubic-bezier(0.22,1,0.36,1), visibility 0s linear 0.7s;
  will-change: transform, opacity;
}
.slide.active {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(0) scale(1); filter: blur(0);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1), filter 0.7s cubic-bezier(0.22,1,0.36,1), visibility 0s linear 0s;
}
.slide.prev {
  transform: translateX(-80px) scale(0.96);
}
.slide::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-cyan) 30%, var(--accent-violet) 70%, transparent 100%);
  opacity: 0.7;
}

.slide-corner { position: absolute; width: 32px; height: 32px; border-color: var(--accent-cyan); opacity: 0.7; }
.slide-corner.tl { top: 18px; left: 18px; border-top: 2px solid; border-left: 2px solid; }
.slide-corner.tr { top: 18px; right: 18px; border-top: 2px solid; border-right: 2px solid; }
.slide-corner.bl { bottom: 18px; left: 18px; border-bottom: 2px solid; border-left: 2px solid; }
.slide-corner.br { bottom: 18px; right: 18px; border-bottom: 2px solid; border-right: 2px solid; }

.slide-body { position: absolute; inset: 0; padding: 80px 120px 100px; display: flex; flex-direction: column; }
.slide-id { position: absolute; bottom: 28px; left: 40px; font-family: var(--font-mono); font-size: 13px; color: var(--text-3); letter-spacing: 0.14em; }
.slide-id-right { position: absolute; bottom: 28px; right: 40px; font-family: var(--font-mono); font-size: 13px; color: var(--text-3); letter-spacing: 0.14em; }

/* ---- Bottom Nav ---- */
.navbar {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  z-index: 40; display: flex; align-items: center; gap: 18px;
  padding: 10px 10px 10px 18px;
  background: rgba(10,14,26,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 100px;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.6);
}
.nav-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0,224,255,0.06); color: var(--text-1);
  transition: all 0.25s ease;
}
.nav-btn:hover {
  border-color: var(--accent-cyan); color: var(--accent-cyan);
  background: rgba(0,224,255,0.15); box-shadow: var(--glow-cyan);
}
.nav-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.nav-progress { display: flex; align-items: center; gap: 16px; min-width: 280px; }
.nav-progress-track { flex: 1; height: 5px; background: rgba(120,160,220,0.12); border-radius: 100px; overflow: hidden; }
.nav-progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
  border-radius: 100px; width: 0%;
  transition: width 0.7s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 0 14px var(--accent-cyan);
}
.nav-counter {
  font-family: var(--font-mono); font-size: 13px; color: var(--text-2);
  letter-spacing: 0.06em; min-width: 70px; text-align: right;
}
.nav-counter .cur { color: var(--text-0); }

/* ---- Side menu ---- */
.sidemenu {
  position: fixed; top: 0; right: 0; bottom: 0; width: 420px; z-index: 60;
  background: linear-gradient(180deg, rgba(10,14,26,0.98) 0%, rgba(5,7,13,0.98) 100%);
  border-left: 1px solid var(--border);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  transform: translateX(100%); transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
  display: flex; flex-direction: column;
}
.sidemenu.open { transform: translateX(0); }
.sidemenu-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 28px; border-bottom: 1px solid var(--border); }
.sidemenu-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.2em; color: var(--text-0); }
.sidemenu-list { flex: 1; overflow-y: auto; padding: 12px 18px 24px; }
.sidemenu-item {
  width: 100%; text-align: left;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 16px; margin-bottom: 4px;
  border-radius: 10px; border: 1px solid transparent;
  color: var(--text-2); transition: all 0.25s ease;
}
.sidemenu-item:hover { background: rgba(0,224,255,0.06); border-color: var(--border); color: var(--text-1); }
.sidemenu-item.focused { background: rgba(0,224,255,0.1); border-color: var(--accent-cyan); color: var(--text-0); box-shadow: 0 0 0 1px rgba(0,224,255,0.3), 0 0 16px -2px rgba(0,224,255,0.25); }
.sidemenu-item.active { background: linear-gradient(90deg, rgba(0,224,255,0.1) 0%, transparent 100%); border-color: var(--border-bright); color: var(--text-0); }
.sidemenu-num { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); width: 32px; flex-shrink: 0; }
.sidemenu-item.active .sidemenu-num { color: var(--accent-cyan); }
.sidemenu-name { flex: 1; font-size: 14px; font-weight: 500; line-height: 1.4; }
.sidemenu-section { padding: 18px 16px 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--text-4); text-transform: uppercase; }

.sidemenu-backdrop {
  position: fixed; inset: 0; z-index: 55;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease;
}
.sidemenu-backdrop.show { opacity: 1; pointer-events: auto; }

/* ---- Hint ---- */
.hint { position: fixed; bottom: 16px; left: 30px; z-index: 35; font-family: var(--font-mono); font-size: 11.5px; color: var(--text-3); letter-spacing: 0.06em; }
.hint kbd { display: inline-block; padding: 3px 8px; margin: 0 2px; border: 1px solid var(--border); border-radius: 5px; background: rgba(20,26,46,0.6); font-family: var(--font-mono); font-size: 11px; color: var(--text-1); }

/* ---- Loader ---- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-0);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.loader-logo { width: 110px; height: 110px; filter: drop-shadow(0 0 36px rgba(0,224,255,0.65)); animation: spin 8s linear infinite; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.loader-title { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: 0.22em; color: var(--text-0); }
.loader-bar { width: 320px; height: 4px; background: rgba(120,160,220,0.15); border-radius: 100px; overflow: hidden; }
.loader-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
  animation: load 1.6s ease-out forwards;
  box-shadow: 0 0 14px var(--accent-cyan);
}
@keyframes load { to { width: 100%; } }
.loader-status { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.2em; color: var(--text-3); text-transform: uppercase; }

/* ---- Headers ---- */
.slide-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--accent-cyan-soft); margin-bottom: 18px;
}
.slide-eyebrow::before {
  content: ''; width: 28px; height: 1.5px;
  background: var(--accent-cyan); box-shadow: 0 0 6px var(--accent-cyan);
}
.slide-h1 { font-family: var(--font-display); font-weight: 700; font-size: 72px; line-height: 1.05; letter-spacing: -0.025em; color: var(--text-0); margin-bottom: 18px; }
.slide-h2 { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1.1; letter-spacing: -0.02em; color: var(--text-0); margin-bottom: 16px; }
.slide-h3 { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.25; letter-spacing: -0.01em; color: var(--text-0); }
.slide-lead { font-size: 20px; line-height: 1.6; color: var(--text-2); max-width: 1200px; }
.slide-text { font-size: 17px; line-height: 1.7; color: var(--text-2); }
.slide-text strong { color: var(--text-1); font-weight: 600; }
.slide-divider { height: 1px; background: linear-gradient(90deg, transparent, var(--border-bright) 50%, transparent); margin: 22px 0; }

/* ---- Two col layout ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; flex: 1; min-height: 0; }
.two-col-3-2 { display: grid; grid-template-columns: 3fr 2fr; gap: 36px; flex: 1; min-height: 0; }
.two-col-2-3 { display: grid; grid-template-columns: 2fr 3fr; gap: 36px; flex: 1; min-height: 0; }
.col { display: flex; flex-direction: column; gap: 16px; min-height: 0; }

/* ---- Cards ---- */
.card {
  position: relative; padding: 26px 28px;
  background: linear-gradient(135deg, rgba(28,36,60,0.55) 0%, rgba(15,20,36,0.55) 100%);
  border: 1px solid var(--border); border-radius: 14px;
  transition: all 0.3s ease;
}
.card:hover { border-color: var(--border-bright); transform: translateY(-2px); }
.card.glow:hover { box-shadow: var(--glow-cyan); }
.card-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,224,255,0.15) 0%, rgba(139,92,246,0.15) 100%);
  border: 1px solid var(--border-bright);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-cyan); margin-bottom: 12px;
}
.card-num { position: absolute; top: 16px; right: 22px; font-family: var(--font-mono); font-size: 13px; color: var(--text-2); letter-spacing: 0.12em; font-weight: 500; }
.card-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--text-0); margin-bottom: 8px; letter-spacing: -0.01em; }
.card-desc { font-size: 16px; line-height: 1.6; color: var(--text-1); }

/* ---- Spec list ---- */
.spec-list { display: flex; flex-direction: column; gap: 10px; }
.spec-row {
  display: grid; grid-template-columns: 170px 1fr; gap: 18px;
  padding: 14px 18px; border: 1px solid var(--border); border-radius: 10px;
  background: rgba(20,26,46,0.45); font-size: 16px;
  align-items: center;
}
.spec-key { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em; color: var(--text-2); text-transform: uppercase; font-weight: 500; }
.spec-val { color: var(--text-0); font-weight: 500; }

/* ---- Stats ---- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-box {
  position: relative; padding: 24px 24px 26px;
  border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(180deg, rgba(28,36,60,0.5) 0%, rgba(15,20,36,0.4) 100%);
  overflow: hidden;
}
.stat-box::after {
  content: ''; position: absolute; top: 0; right: 0; width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(0,224,255,0.18), transparent 70%);
  pointer-events: none;
}
.stat-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-2); margin-bottom: 10px; font-weight: 500; }
.stat-val { font-family: var(--font-display); font-weight: 700; font-size: 38px; letter-spacing: -0.02em; color: var(--text-0); line-height: 1; }
.stat-unit { font-family: var(--font-mono); font-size: 14px; color: var(--accent-cyan); margin-left: 4px; }
.stat-foot { margin-top: 10px; font-size: 14px; color: var(--text-1); }

/* ---- Bullets ---- */
.bullets { display: flex; flex-direction: column; gap: 14px; }
.bullet {
  display: flex; gap: 16px; padding: 14px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 17px; line-height: 1.55; color: var(--text-1);
}
.bullet:last-child { border-bottom: none; }
.bullet strong { color: var(--text-0); font-weight: 600; }
.bullet-num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 14px; font-weight: 700;
  color: var(--accent-cyan); background: rgba(0,224,255,0.12);
  border: 1px solid var(--border-bright);
}

/* ---- Flow / Diagram ---- */
.flow { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.flow-node {
  position: relative; padding: 14px 20px;
  border: 1px solid var(--border-bright); border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,224,255,0.08) 0%, rgba(139,92,246,0.08) 100%);
  font-family: var(--font-display); font-weight: 600; font-size: 13.5px;
  letter-spacing: 0.02em; color: var(--text-0); text-align: center; min-width: 140px;
}
.flow-arrow { color: var(--accent-cyan); font-size: 22px; font-weight: 700; }

/* ---- Component card ---- */
.component-card {
  display: grid; grid-template-columns: 130px 1fr; gap: 18px;
  padding: 16px; border: 1px solid var(--border); border-radius: 14px;
  background: rgba(20,26,46,0.4); transition: all 0.3s ease;
}
.component-card:hover {
  border-color: var(--border-bright);
  background: rgba(28,36,60,0.55); transform: translateY(-2px);
}
.component-card-img {
  width: 130px; height: 130px; border-radius: 10px;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 1px solid var(--border);
}
.component-card-img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.component-card-body { display: flex; flex-direction: column; gap: 6px; }
.component-card-title { font-family: var(--font-display); font-weight: 600; font-size: 15.5px; color: var(--text-0); }
.component-card-tag {
  display: inline-block; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.14em; color: var(--accent-cyan); text-transform: uppercase;
}
.component-card-desc { font-size: 12.5px; line-height: 1.55; color: var(--text-2); margin-top: 2px; }

/* ---- Cover slide ---- */
.cover { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; }
.cover-grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(0,224,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(0,224,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px; pointer-events: none; opacity: 0.6;
}
.cover-badges { display: flex; gap: 14px; margin-bottom: 28px; }
.cover-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border: 1px solid var(--border-bright); border-radius: 100px;
  background: rgba(0,224,255,0.06);
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--accent-cyan-soft); text-transform: uppercase;
}
.cover-badge.violet { border-color: rgba(167,139,250,0.35); color: var(--accent-violet-soft); background: rgba(139,92,246,0.08); }
.cover-title {
  font-family: var(--font-display); font-weight: 700; font-size: 92px;
  line-height: 1; letter-spacing: -0.04em; margin-bottom: 32px; max-width: 1500px;
}
.cover .slide-lead {
  font-size: 24px; line-height: 1.6; max-width: 1280px; color: var(--text-2);
}
.cover .slide-lead strong { color: var(--text-1); font-weight: 600; }
.cover-meta {
  display: grid; grid-template-columns: repeat(3, auto); gap: 64px;
  margin-top: 44px; padding-top: 30px;
  border-top: 1px solid var(--border); max-width: 1000px;
}
.cover-meta-item .k { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--text-3); text-transform: uppercase; margin-bottom: 6px; }
.cover-meta-item .v { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--text-0); letter-spacing: -0.01em; }
.cover-emblem { position: absolute; top: 0; right: 0; width: 360px; height: 360px; pointer-events: none; }
.cover-emblem img {
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 0 60px rgba(0,224,255,0.4));
}
@keyframes floatY { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-12px) rotate(3deg); } }

.orbit { position: absolute; border: 1px dashed rgba(0,224,255,0.18); border-radius: 50%; pointer-events: none; }
.orbit.o1 { width: 480px; height: 480px; top: -60px; right: -60px; animation: spinSlow 40s linear infinite; }
.orbit.o2 { width: 600px; height: 600px; top: -120px; right: -120px; animation: spinSlow 60s linear infinite reverse; opacity: 0.6; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ---- Table ---- */
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; }
.tbl thead th {
  text-align: left; padding: 14px 16px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  color: var(--accent-cyan-soft); text-transform: uppercase; font-weight: 600;
  border-bottom: 1px solid var(--border-bright);
  background: rgba(0,224,255,0.06);
}
.tbl tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border); color: var(--text-0); vertical-align: top; line-height: 1.55; font-weight: 400; }
.tbl tbody tr:hover td { background: rgba(0,224,255,0.04); }

/* ---- Callout ---- */
.callout {
  position: relative; padding: 20px 24px 20px 28px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(0,224,255,0.1) 0%, rgba(139,92,246,0.06) 100%);
  border: 1px solid var(--border-bright); border-left: 3px solid var(--accent-cyan);
  font-size: 16px; line-height: 1.6; color: var(--text-0);
}
.callout strong { color: var(--accent-cyan-soft); font-weight: 600; }

/* ---- Equation ---- */
.eq {
  display: flex; align-items: center; justify-content: center; gap: 22px;
  padding: 32px 28px; border: 1px solid var(--border-bright); border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,224,255,0.06) 0%, rgba(139,92,246,0.06) 100%);
  font-family: var(--font-mono); font-size: 26px; color: var(--text-0);
}
.eq-num { font-family: var(--font-display); font-size: 44px; font-weight: 700; color: var(--accent-cyan); }

/* ---- Media ---- */
.media-card {
  position: relative; border: 1px solid var(--border); border-radius: 16px;
  overflow: hidden; background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center; min-height: 220px;
}
.media-card.dark { background: linear-gradient(135deg, rgba(28,36,60,0.5) 0%, rgba(15,20,36,0.5) 100%); }
.media-card img { max-width: 100%; max-height: 100%; object-fit: contain; padding: 20px; }
.media-caption {
  position: absolute; left: 14px; bottom: 12px;
  padding: 6px 12px; background: rgba(10,14,26,0.85);
  border: 1px solid var(--border-bright); border-radius: 100px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em;
  color: var(--accent-cyan); text-transform: uppercase;
}

/* ---- Timeline ---- */
.timeline { display: flex; flex-direction: column; gap: 14px; }
.tline-row { display: grid; grid-template-columns: 200px 1fr; align-items: center; gap: 16px; }
.tline-label { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text-1); }
.tline-track { display: grid; grid-template-columns: repeat(20, 1fr); gap: 3px; height: 16px; }
.tline-cell { background: rgba(120,160,220,0.08); border-radius: 3px; }
.tline-cell.on {
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
  box-shadow: 0 0 8px rgba(0,224,255,0.5);
}
.tline-months {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px;
  margin-left: 200px; margin-top: -2px; margin-bottom: 6px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em;
  color: var(--text-3); text-transform: uppercase;
}
.tline-months span { text-align: center; padding: 4px 0; border-bottom: 1px solid var(--border); }

/* ---- TOC ---- */
.toc-list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: 18px; flex: 1; min-height: 0;
}
.toc-item {
  display: flex; align-items: center; gap: 24px;
  padding: 22px 28px; border: 1px solid var(--border); border-radius: 14px;
  background: rgba(20,26,46,0.45); transition: all 0.3s ease; cursor: pointer;
}
.toc-item:hover { border-color: var(--border-bright); background: rgba(28,36,60,0.65); transform: translateX(4px); }
.toc-num { font-family: var(--font-display); font-weight: 700; font-size: 44px; color: var(--accent-cyan); min-width: 76px; letter-spacing: -0.03em; line-height: 1; }
.toc-info { flex: 1; }
.toc-title { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--text-0); margin-bottom: 4px; letter-spacing: -0.01em; }
.toc-sub { font-size: 15px; color: var(--text-2); line-height: 1.45; }

/* ---- Closing ---- */
.closing { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 100%; position: relative; }
.closing-emblem { width: 130px; height: 130px; margin-bottom: 36px; filter: drop-shadow(0 0 40px rgba(0,224,255,0.5)); }
.closing-title { font-family: var(--font-display); font-weight: 700; font-size: 88px; line-height: 1; letter-spacing: -0.04em; margin-bottom: 18px; }
.closing-sub { font-size: 18px; color: var(--text-2); margin-bottom: 36px; max-width: 720px; }
.closing-author {
  display: flex; flex-direction: column; gap: 4px; align-items: center;
  padding: 18px 32px; border: 1px solid var(--border-bright); border-radius: 100px;
  background: rgba(0,224,255,0.06);
}
.closing-author .name { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--text-0); }
.closing-author .nim { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; color: var(--accent-cyan); }

/* ============================================
   SECTION DIVIDER (Bab 1 / 2 / 3 opening)
   ============================================ */
.section-divider { position: relative; height: 100%; display: flex; align-items: stretch; overflow: hidden; }
.sd-ghost { display: none; }
.sd-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 0; width: 100%; align-items: stretch;
}
/* ---- Left panel: solid hero block ---- */
.sd-left {
  position: relative;
  display: flex; flex-direction: column;
  align-items: flex-start; justify-content: center;
  text-align: left;
  min-width: 0;
  padding: 56px 64px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,224,255,0.16) 0%, transparent 55%),
    linear-gradient(135deg, rgba(20,30,56,0.92) 0%, rgba(12,16,32,0.96) 100%);
  border: 1px solid var(--border-bright);
  overflow: hidden;
}
/* giant ghost number inside the left panel */
.sd-left::after {
  content: attr(data-num);
  position: absolute; right: -40px; bottom: -120px;
  font-family: var(--font-display); font-weight: 800;
  font-size: 460px; line-height: 0.8; letter-spacing: -0.06em;
  color: rgba(0,224,255,0.05);
  pointer-events: none; user-select: none; z-index: 0;
}
.sd-left > * { position: relative; z-index: 1; }
.sd-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono); font-size: 14px; font-weight: 600;
  letter-spacing: 0.34em; color: var(--accent-cyan);
  text-transform: uppercase; margin-bottom: 20px;
}
.sd-eyebrow-line { width: 40px; height: 2px; background: var(--accent-cyan); box-shadow: 0 0 10px var(--accent-cyan); }
.sd-number {
  font-family: var(--font-display); font-weight: 800;
  font-size: 200px; line-height: 0.82; letter-spacing: -0.05em;
  margin-bottom: 8px;
}
.sd-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 60px; line-height: 1.04; letter-spacing: -0.025em;
  color: var(--text-0); margin-bottom: 22px;
}
.sd-divider-line {
  height: 3px; width: 120px;
  background: linear-gradient(90deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
  border-radius: 3px;
  box-shadow: 0 0 14px rgba(0,224,255,0.5); margin-bottom: 22px;
}
.sd-subtitle { font-family: var(--font-body); font-size: 20px; line-height: 1.55; color: var(--text-1); max-width: 480px; }

/* ---- Right: points list ---- */
.sd-right { display: flex; flex-direction: column; gap: 14px; min-width: 0; justify-content: center; padding: 0 0 0 56px; }
.sd-points-head {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--accent-cyan-soft); text-transform: uppercase; padding-bottom: 6px;
}
.sd-points-head-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-cyan); box-shadow: 0 0 12px var(--accent-cyan);
  animation: pulse 2.4s ease-in-out infinite;
}
.sd-points { display: flex; flex-direction: column; gap: 12px; }
.sd-point {
  position: relative;
  display: grid; grid-template-columns: 64px 1fr;
  align-items: center; gap: 22px;
  padding: 18px 24px;
  border: 1px solid var(--border); border-radius: 14px;
  background: linear-gradient(135deg, rgba(28,36,60,0.6) 0%, rgba(15,20,36,0.6) 100%);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
  overflow: hidden;
}
.sd-point::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
}
.sd-point:hover {
  border-color: var(--border-bright);
  background: linear-gradient(135deg, rgba(0,224,255,0.08) 0%, rgba(139,92,246,0.06) 100%);
  transform: translateX(4px);
}
.sd-point-marker {
  display: flex; align-items: center; justify-content: center;
  width: 64px; min-width: 64px; height: 64px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,224,255,0.18) 0%, rgba(139,92,246,0.18) 100%);
  border: 1px solid var(--border-bright);
}
.sd-point-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: 30px; letter-spacing: -0.03em; color: var(--accent-cyan);
  line-height: 1;
}
.sd-point-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sd-point-key {
  font-family: var(--font-display); font-weight: 700;
  font-size: 21px; letter-spacing: -0.01em; color: var(--text-0);
}
.sd-point-val { font-size: 15px; line-height: 1.5; color: var(--text-2); }

/* ============================================
   SLIDE TRANSITION ENTRANCE ANIMATIONS
   Reveal child elements when slide.active
   ============================================ */
.slide.active .anim-up { animation: animUp 0.7s cubic-bezier(0.22,1,0.36,1) backwards; }
.slide.active .anim-fade { animation: animFade 0.6s cubic-bezier(0.22,1,0.36,1) backwards; }
.slide.active .anim-right { animation: animRight 0.6s cubic-bezier(0.22,1,0.36,1) backwards; }
@keyframes animUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes animFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes animRight { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: translateX(0); } }
.d-1 { animation-delay: 0.1s; }
.d-2 { animation-delay: 0.2s; }
.d-3 { animation-delay: 0.3s; }
.d-4 { animation-delay: 0.4s; }
.d-5 { animation-delay: 0.5s; }
.d-6 { animation-delay: 0.6s; }
.d-7 { animation-delay: 0.7s; }

/* ============================================
   LATAR BELAKANG slide — editorial layout
   ============================================ */
.latar-grid {
  display: grid; grid-template-columns: 1.55fr 1fr;
  gap: 36px; flex: 1; min-height: 0;
}
.latar-main {
  display: flex; flex-direction: column;
  gap: 22px; min-height: 0;
}
.latar-block {
  position: relative;
  padding: 24px 28px 26px 32px;
  background: linear-gradient(135deg, rgba(28,36,60,0.55) 0%, rgba(15,20,36,0.5) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  border-left: 3px solid var(--accent-cyan);
}
.latar-block::after {
  content: ''; position: absolute; right: 0; top: 0; width: 140px; height: 100%;
  background: radial-gradient(ellipse at right center, rgba(0,224,255,0.08), transparent 70%);
  pointer-events: none; border-radius: 0 16px 16px 0;
}
.latar-block-label {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent-cyan); margin-bottom: 12px;
}
.latar-text {
  font-size: 19px; line-height: 1.65;
  color: var(--text-1); letter-spacing: -0.005em;
}
.latar-text strong { color: var(--text-0); font-weight: 600; }
.latar-text em { color: var(--accent-cyan-soft); font-style: italic; font-weight: 500; }

.callout-lg {
  font-size: 19px;
  line-height: 1.6;
  padding: 24px 28px 24px 32px;
  border-left-width: 4px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(0,224,255,0.14) 0%, rgba(139,92,246,0.08) 100%);
}

.latar-side {
  display: flex; flex-direction: column;
  gap: 18px; min-height: 0;
}
.latar-stats {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.latar-stat {
  position: relative;
  padding: 22px 22px 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(28,36,60,0.55) 0%, rgba(15,20,36,0.4) 100%);
  overflow: hidden;
}
.latar-stat::after {
  content: ''; position: absolute; top: 0; right: 0; width: 90px; height: 90px;
  background: radial-gradient(circle at top right, rgba(0,224,255,0.22), transparent 70%);
  pointer-events: none;
}
.latar-stat-label {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-cyan-soft); margin-bottom: 10px;
}
.latar-stat-val {
  font-family: var(--font-display); font-weight: 700;
  font-size: 44px; letter-spacing: -0.03em; line-height: 1;
  color: var(--text-0);
}
.latar-stat-unit {
  font-family: var(--font-mono); font-size: 14px;
  color: var(--accent-cyan); margin-left: 4px; font-weight: 500;
}
.latar-stat-foot {
  margin-top: 10px; font-size: 13.5px; color: var(--text-1);
}

.latar-cta {
  position: relative;
  padding: 22px 24px;
  border: 1px solid var(--border-bright);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0,224,255,0.1) 0%, rgba(139,92,246,0.08) 100%);
  display: flex; flex-direction: column; gap: 8px;
  flex: 1;
  box-shadow: 0 0 0 1px rgba(0,224,255,0.05) inset, 0 20px 40px -20px rgba(0,224,255,0.18);
}
.latar-cta-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,224,255,0.18) 0%, rgba(139,92,246,0.18) 100%);
  border: 1px solid var(--border-bright);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-cyan); margin-bottom: 4px;
}
.latar-cta-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 22px; color: var(--text-0); letter-spacing: -0.01em;
}
.latar-cta-desc {
  font-size: 15px; line-height: 1.55;
  color: var(--text-1);
}

/* ---- Latar points (icon + title + desc) ---- */
.latar-points {
  display: flex; flex-direction: column;
  gap: 18px; flex: 1;
}
.latar-point {
  display: flex; align-items: flex-start; gap: 24px;
  padding: 28px 32px;
  border: 1px solid var(--border); border-radius: 16px;
  background: linear-gradient(135deg, rgba(28,36,60,0.55) 0%, rgba(15,20,36,0.5) 100%);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.latar-point:hover {
  border-color: var(--border-bright);
  transform: translateX(4px);
}
.latar-point-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(0,0,0,0.5);
}
.latar-point-body {
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0;
}
.latar-point-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; color: var(--text-0);
  letter-spacing: -0.01em;
}
.latar-point-desc {
  font-size: 17px; line-height: 1.55;
  color: var(--text-1);
}

/* ---- Rumusan / Tujuan list (chip style like TOC) ---- */
.rumusan-list {
  display: flex; flex-direction: column;
  gap: 18px; flex: 1;
}
.rumusan-item {
  display: flex; align-items: center; gap: 24px;
  padding: 24px 28px;
  border: 1px solid var(--border); border-radius: 14px;
  background: rgba(20,26,46,0.5);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.rumusan-item:hover {
  border-color: var(--border-bright);
  transform: translateX(4px);
}
.rumusan-num {
  flex-shrink: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: 40px; letter-spacing: -0.03em;
  color: var(--accent-cyan); line-height: 1;
  min-width: 70px;
}
.rumusan-body { flex: 1; min-width: 0; }
.rumusan-q {
  font-family: var(--font-body);
  font-size: 20px; line-height: 1.5;
  color: var(--text-0); font-weight: 500;
}
.rumusan-q strong { color: var(--accent-cyan-soft); font-weight: 700; }

/* ---- Penelitian Terdahulu cards ---- */
.penelitian-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 18px; flex: 1; min-height: 0;
}
.penelitian-card {
  display: flex; align-items: flex-start; gap: 22px;
  padding: 26px 28px;
  border: 1px solid var(--border); border-radius: 16px;
  background: linear-gradient(135deg, rgba(28,36,60,0.55) 0%, rgba(15,20,36,0.5) 100%);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.penelitian-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-2px);
}
.penelitian-num {
  flex-shrink: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: 40px; letter-spacing: -0.03em;
  color: var(--accent-cyan); line-height: 1;
  min-width: 64px;
}
.penelitian-body {
  display: flex; flex-direction: column; gap: 6px;
  min-width: 0;
}
.penelitian-author {
  font-family: var(--font-mono); font-size: 13px;
  font-weight: 600; letter-spacing: 0.04em;
  color: var(--text-2);
}
.penelitian-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 19px; color: var(--text-0);
  line-height: 1.35; letter-spacing: -0.01em;
}
.penelitian-diff {
  font-size: 15px; line-height: 1.5;
  color: var(--accent-cyan-soft); font-weight: 500;
  margin-top: 4px;
}

/* ---- Table Large variant ---- */
.tbl-lg { font-size: 20px; }
.tbl-lg thead th {
  padding: 22px 24px;
  font-size: 15px; font-weight: 700;
  letter-spacing: 0.18em;
}
.tbl-lg tbody td {
  padding: 26px 24px;
  font-size: 20px; line-height: 1.5;
  color: var(--text-0); font-weight: 500;
  border-bottom: 1px solid rgba(120,160,220,0.15);
}
.tbl-lg tbody tr:hover td { background: rgba(0,224,255,0.05); }

/* ---- Flow Diagram Large ---- */
.flow-lg {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; padding: 28px 0; flex-wrap: nowrap;
}
.flow-lg-node {
  position: relative;
  padding: 22px 28px;
  border: 2px solid var(--border-bright); border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,224,255,0.1) 0%, rgba(139,92,246,0.08) 100%);
  text-align: center; min-width: 180px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.flow-lg-node:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-cyan);
}
.flow-lg-node.start { border-color: var(--accent-emerald); background: linear-gradient(135deg, rgba(16,217,160,0.12) 0%, rgba(0,224,255,0.08) 100%); }
.flow-lg-node.end { border-color: var(--accent-violet-soft); background: linear-gradient(135deg, rgba(139,92,246,0.12) 0%, rgba(0,224,255,0.08) 100%); }
.flow-lg-label {
  font-family: var(--font-display); font-weight: 700;
  font-size: 20px; color: var(--text-0);
  letter-spacing: -0.01em; margin-bottom: 4px;
}
.flow-lg-sub {
  font-family: var(--font-mono); font-size: 12px;
  font-weight: 500; letter-spacing: 0.08em;
  color: var(--accent-cyan-soft); text-transform: uppercase;
}
.flow-lg-arrow {
  font-size: 32px; font-weight: 700;
  color: var(--accent-cyan);
  text-shadow: 0 0 12px rgba(0,224,255,0.5);
  flex-shrink: 0;
}

/* ---- Flow node color variants (Arsitektur) ---- */
.fn-cyan   { border-color: rgba(0,224,255,0.55) !important; background: linear-gradient(135deg, rgba(0,224,255,0.16) 0%, rgba(0,224,255,0.05) 100%) !important; }
.fn-violet { border-color: rgba(167,139,250,0.55) !important; background: linear-gradient(135deg, rgba(139,92,246,0.18) 0%, rgba(139,92,246,0.05) 100%) !important; }
.fn-emerald{ border-color: rgba(16,217,160,0.55) !important; background: linear-gradient(135deg, rgba(16,217,160,0.16) 0%, rgba(16,217,160,0.05) 100%) !important; }
.fn-amber  { border-color: rgba(251,191,36,0.55) !important; background: linear-gradient(135deg, rgba(251,191,36,0.16) 0%, rgba(251,191,36,0.05) 100%) !important; }
.fn-rose   { border-color: rgba(255,77,109,0.55) !important; background: linear-gradient(135deg, rgba(255,77,109,0.16) 0%, rgba(255,77,109,0.05) 100%) !important; }
.fn-blue   { border-color: rgba(30,144,255,0.55) !important; background: linear-gradient(135deg, rgba(30,144,255,0.18) 0%, rgba(30,144,255,0.05) 100%) !important; }
.fn-cyan .flow-lg-sub   { color: var(--accent-cyan); }
.fn-violet .flow-lg-sub { color: var(--accent-violet-soft); }
.fn-emerald .flow-lg-sub{ color: var(--accent-emerald); }
.fn-amber .flow-lg-sub  { color: var(--accent-amber); }
.fn-rose .flow-lg-sub   { color: var(--accent-rose); }
.fn-blue .flow-lg-sub   { color: var(--polije-blue-light); }

/* ---- Arsitektur: node mengisi lebar penuh per layer ---- */
.arch-row { display: flex; align-items: stretch; gap: 16px; width: 100%; }
.arch-row .flow-lg-node { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 0; }
.arch-row .flow-lg-arrow { flex: 0 0 auto; display: flex; align-items: center; }

/* ---- Math equation (rumus) ---- */
.math-eq {
  display: flex; align-items: center; justify-content: center;
  gap: 24px; flex-wrap: nowrap;
  padding: 44px 28px;
  border: 1px solid var(--border-bright); border-radius: 16px;
  background: linear-gradient(135deg, rgba(0,224,255,0.06) 0%, rgba(139,92,246,0.06) 100%);
  font-family: 'JetBrains Mono', var(--font-mono);
}
.math-var {
  font-family: var(--font-display); font-weight: 700;
  font-size: 56px; line-height: 1; color: var(--accent-cyan);
}
.math-op { font-size: 40px; font-weight: 400; color: var(--text-1); }
.math-frac {
  display: inline-flex; flex-direction: column; align-items: center;
  font-size: 30px; color: var(--text-0); line-height: 1.2;
}
.math-frac .num { padding: 0 20px 12px; }
.math-frac .den { padding: 12px 20px 0; border-top: 3px solid var(--accent-cyan); }
.math-tail { font-size: 32px; color: var(--text-1); white-space: nowrap; }
.math-eq sub { font-size: 0.62em; }
/* violet variant */
.math-eq.violet { border-color: rgba(167,139,250,0.5); background: linear-gradient(135deg, rgba(139,92,246,0.08) 0%, rgba(0,224,255,0.05) 100%); }
.math-eq.violet .math-var { color: var(--accent-violet-soft); }
.math-eq.violet .math-frac .den { border-top-color: var(--accent-violet-soft); }

/* ---- Watermark logo POLIJE di tiap slide (tipis, di belakang) ---- */
.slide-body::after {
  content: '';
  position: absolute;
  right: 56px; bottom: 64px;
  width: 340px; height: 340px;
  background: url("assets/logo-polije.png") no-repeat center / contain;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(0.2);
}
/* slide yang sudah punya logo besar: matikan watermark */
.slide[data-id="cover"] .slide-body::after,
.slide[data-id="closing"] .slide-body::after,
.slide[data-id="identitas"] .slide-body::after,
.slide[data-id="div_bab1"] .slide-body::after,
.slide[data-id="div_bab2"] .slide-body::after,
.slide[data-id="div_bab3"] .slide-body::after { display: none; }
/* pastikan konten slide di atas watermark */
.slide-body > * { position: relative; z-index: 1; }
