/* BPID Pitch Deck — matches kodeputih.org/bpid source brand */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --black: #0A0A0A;
  --white: #FFFFFF;
  --bg-light: #F5F5F5;
  --accent: #1A56FF;
  --accent-h: #1545DD;
  --accent-soft: rgba(26, 86, 255, 0.12);
  --accent-glow: rgba(26, 86, 255, 0.35);
  --warn: #F59E0B;
  --danger: #EF4444;
  --success: #10B981;
  --tp: #0A0A0A;
  --ts: rgba(10, 10, 10, 0.55);
  --tm: rgba(10, 10, 10, 0.35);
  --bd: rgba(10, 10, 10, 0.08);
  --sans: 'Inter', -apple-system, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: var(--sans); color: var(--tp); -webkit-font-smoothing: antialiased; background: #000; }

deck-stage { background: #000; }

/* base slide surface */
.slide {
  width: 1920px; height: 1080px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  background: var(--white); color: var(--tp);
  font-family: var(--sans);
}
.slide.dark { background: var(--black); color: var(--white); }
.slide.dark .sub, .slide.dark .body-txt { color: rgba(255,255,255,0.55); }
.slide.muted { background: var(--bg-light); }

/* Header / footer chrome */
.chrome-top, .chrome-bot {
  position: absolute; left: 72px; right: 72px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 14px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--tm);
}
.slide.dark .chrome-top, .slide.dark .chrome-bot { color: rgba(255,255,255,0.3); }
.chrome-top { top: 44px; }
.chrome-bot { bottom: 44px; }
.chrome-top .brand {
  display: inline-flex; align-items: center; gap: 16px;
  font-weight: 700; color: var(--black); letter-spacing: 0.06em;
}
.slide.dark .chrome-top .brand { color: #fff; }
.chrome-top .brand .logo-sq {
  width: 22px; height: 22px; background: var(--accent); border-radius: 4px;
  display: inline-block;
}
.chrome-top .sep { opacity: 0.4; }
.chrome-top .counter { color: var(--accent); font-weight: 600; }

/* Body */
.body {
  flex: 1; padding: 140px 96px 120px;
  display: flex; flex-direction: column;
}

/* Tag labels (section labels, chips) */
.tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px; font-weight: 500;
  color: var(--accent); letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.slide.dark .tag { color: var(--accent); }
.tag-chip {
  display: inline-block;
  border: 1px solid rgba(26,86,255,0.3);
  background: rgba(26,86,255,0.05);
  color: var(--ts);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 20px; border-radius: 100px;
}
.slide.dark .tag-chip { color: rgba(255,255,255,0.7); background: rgba(26,86,255,0.1); }

/* Titles — sans, tight tracking, heavy */
.title {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 96px; line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--black);
  max-width: 1500px;
}
.slide.dark .title { color: #fff; }
.title .accent { color: var(--accent); }

.title-lg {
  font-size: 160px; font-weight: 800; line-height: 0.96;
  letter-spacing: -0.045em;
}

.kicker {
  font-family: var(--sans);
  font-size: 20px; font-weight: 500;
  color: var(--ts); line-height: 1.6;
  max-width: 900px;
  margin-top: 32px;
}
.slide.dark .kicker { color: rgba(255,255,255,0.55); }

.sub {
  font-size: 24px; font-weight: 400;
  color: var(--ts); line-height: 1.6;
  max-width: 1100px;
}

/* Number display */
.bignum {
  font-family: var(--sans);
  font-weight: 800; line-height: 0.92;
  letter-spacing: -0.05em;
  color: var(--black);
}
.slide.dark .bignum { color: #fff; }
.bignum.accent { color: var(--accent); }

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 36px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
}
.card .num {
  font-family: var(--mono);
  font-size: 13px; font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.card .c-title {
  font-size: 24px; font-weight: 700;
  color: var(--black); line-height: 1.25;
  letter-spacing: -0.015em;
}
.card .c-desc {
  font-size: 17px; color: var(--ts);
  line-height: 1.55;
}

.slide.dark .card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
}
.slide.dark .card .c-title { color: #fff; }
.slide.dark .card .c-desc { color: rgba(255,255,255,0.5); }

/* Stat tiles */
.stat {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 28px 30px;
}
.stat .v {
  font-size: 44px; font-weight: 800;
  letter-spacing: -0.03em; line-height: 1;
  color: #fff;
}
.stat .l {
  font-family: var(--mono); font-size: 13px;
  color: rgba(255,255,255,0.4); margin-top: 10px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.stat .s { font-size: 15px; margin-top: 6px; font-weight: 600; }

.slide:not(.dark) .stat {
  background: var(--white);
  border: 1px solid var(--bd);
}
.slide:not(.dark) .stat .v { color: var(--black); }
.slide:not(.dark) .stat .l { color: var(--tm); }

/* Utilities */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex-r { display: flex; flex-direction: row; gap: 32px; align-items: flex-start; }
.mt-xl { margin-top: 80px; }
.mt-lg { margin-top: 56px; }
.mt-md { margin-top: 36px; }

.divider {
  height: 1px; background: var(--bd); margin: 40px 0;
}
.slide.dark .divider { background: rgba(255,255,255,0.08); }

/* Accent rule (short vertical line) */
.rule {
  width: 56px; height: 3px; background: var(--accent);
  margin-bottom: 28px;
}

/* Badges */
.badge-apbd {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 15px; font-weight: 600;
  color: var(--success);
  letter-spacing: 0.02em;
}
.badge-warn {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: 100px;
  padding: 10px 20px;
  font-size: 15px; font-weight: 600;
  color: var(--warn);
}

/* Check list */
.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-item {
  display: flex; align-items: center; gap: 16px;
  font-size: 19px; font-weight: 500;
  color: rgba(255,255,255,0.82);
}
.check-item .dot {
  width: 28px; height: 28px;
  background: rgba(16,185,129,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--success);
  font-size: 14px; font-weight: 700;
  flex-shrink: 0;
}
.slide:not(.dark) .check-item { color: var(--tp); }

/* Table */
.tbl {
  width: 100%; border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--bd);
  border-radius: 14px; overflow: hidden;
  font-size: 18px;
}
.tbl th {
  font-family: var(--sans);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 14px 22px; text-align: left;
}
.tbl th.x { background: rgba(239,68,68,0.05); color: var(--danger); border-bottom: 1px solid rgba(239,68,68,0.15); }
.tbl th.y { background: rgba(16,185,129,0.05); color: var(--success); border-bottom: 1px solid rgba(16,185,129,0.15); }
.tbl td {
  padding: 14px 22px; vertical-align: top;
  border-top: 1px solid var(--bd);
  line-height: 1.45;
  font-size: 15px;
}
.tbl td.x { color: var(--ts); font-style: italic; }
.tbl td.y { color: var(--tp); font-weight: 500; }

/* Roadmap */
.rm { display: flex; flex-direction: column; position: relative; }
.rm::before {
  content: ""; position: absolute; left: 21px; top: 16px; bottom: 16px;
  width: 2px; background: rgba(255,255,255,0.08);
}
.slide:not(.dark) .rm::before { background: var(--bd); }
.rm-step {
  display: flex; gap: 24px; align-items: flex-start;
  padding-bottom: 22px; position: relative;
}
.rm-step:last-child { padding-bottom: 0; }
.rm-dot {
  width: 44px; height: 44px; border-radius: 50%; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 18px; font-weight: 700;
  font-family: var(--sans); position: relative; z-index: 1;
}
.rm-dot.done { background: var(--accent); color: #fff; }
.rm-dot.active { background: rgba(26,86,255,0.15); border: 2px solid var(--accent); color: var(--accent); }
.rm-dot.pending { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.3); }
.slide:not(.dark) .rm-dot.pending { background: var(--white); border: 1px solid var(--bd); color: var(--tm); }
.rm-body { flex: 1; padding-top: 4px; }
.rm-phase { font-family: var(--mono); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 6px; }
.slide:not(.dark) .rm-phase { color: var(--tm); }
.rm-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: #fff; margin-bottom: 4px; }
.slide:not(.dark) .rm-title { color: var(--black); }
.rm-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.5; max-width: 1100px; }
.slide:not(.dark) .rm-desc { color: var(--ts); }
.rm-tag {
  display: inline-block; font-size: 12px; font-weight: 700;
  font-family: var(--mono); padding: 5px 14px; border-radius: 100px;
  margin-top: 6px; letter-spacing: 0.08em; text-transform: uppercase;
}
.rm-tag.done { background: rgba(16,185,129,0.15); color: var(--success); }
.rm-tag.active { background: rgba(26,86,255,0.15); color: var(--accent); }
.rm-tag.pending { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.35); }
.slide:not(.dark) .rm-tag.pending { background: var(--bd); color: var(--tm); }

/* Live valuation card (cover hero) */
.lvc {
  display: inline-flex; flex-direction: column; align-items: flex-start;
  background: #0A0A0A; border-radius: 24px;
  padding: 40px 56px; margin-top: 32px;
  position: relative; overflow: hidden;
  border: 1px solid rgba(26,86,255,0.2);
  box-shadow: 0 0 60px rgba(26,86,255,0.18), 0 24px 80px rgba(0,0,0,0.55);
}
.lvc::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 520px 260px at 20% -10%, rgba(26,86,255,0.3), transparent 65%),
              radial-gradient(ellipse 380px 220px at 85% 110%, rgba(59,130,246,0.18), transparent 65%);
  pointer-events: none;
}
.lvc-label {
  font-family: var(--mono);
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.lvc-val {
  font-size: 104px; font-weight: 800;
  color: #fff; letter-spacing: -0.035em; line-height: 1;
  position: relative; z-index: 1;
}
.lvc-sub {
  font-family: var(--mono); font-size: 17px;
  color: rgba(255,255,255,0.4); margin-top: 14px;
  position: relative; z-index: 1;
}
.lvc-live {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 14px; font-weight: 600;
  color: var(--success); letter-spacing: 0.08em;
  margin-top: 14px; position: relative; z-index: 1;
}
.lvc-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

/* animations — baseline visible, animate in only if desired */
.anim { opacity: 1; }
[data-deck-active] .anim { animation: fadeUp 500ms cubic-bezier(.2,.8,.2,1) both; }
[data-deck-active] .anim.d1 { animation-delay: 50ms; }
[data-deck-active] .anim.d2 { animation-delay: 110ms; }
[data-deck-active] .anim.d3 { animation-delay: 170ms; }
[data-deck-active] .anim.d4 { animation-delay: 230ms; }
[data-deck-active] .anim.d5 { animation-delay: 290ms; }
[data-deck-active] .anim.d6 { animation-delay: 350ms; }
[data-deck-active] .anim.d7 { animation-delay: 410ms; }
[data-deck-active] .anim.d8 { animation-delay: 470ms; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tweaks panel */
.tweaks-panel {
  position: fixed; bottom: 24px; right: 24px;
  background: #0A0A0A; color: #fff;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; padding: 20px;
  min-width: 280px; z-index: 9999;
  display: none;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  font-family: var(--sans);
}
.tweaks-panel.open { display: block; }
.tweaks-panel h4 {
  font-size: 14px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.tw-group { margin-bottom: 14px; }
.tw-label {
  display: block;
  font-family: var(--mono); font-size: 11px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 8px;
}
.tw-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.tw-opt {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-size: 12px; font-weight: 500;
  padding: 6px 14px; border-radius: 100px;
  cursor: pointer; font-family: var(--sans);
  transition: all 0.15s;
}
.tw-opt:hover { background: rgba(255,255,255,0.1); }
.tw-opt.active { background: var(--accent); border-color: var(--accent); color: #fff; }
