/* ═══════════════════════════════════════════════════════════
   WASTEAI HACKATHON PRESENTATION — STYLES
   Palette: Deep Space + Electric Green + Cyan
   Fonts: Clash Display + Plus Jakarta Sans
═══════════════════════════════════════════════════════════ */

:root {
  --bg:        #050A05;
  --bg2:       #0A120A;
  --bg3:       #0F1A0F;
  --surface:   #111C11;
  --surface2:  #162016;
  --border:    rgba(184,243,105,0.15);
  --green:     #B8F369;
  --green2:    #8FD43A;
  --green-dim: rgba(184,243,105,0.12);
  --cyan:      #00F5FF;
  --cyan-dim:  rgba(0,245,255,0.12);
  --red:       #FF4444;
  --yellow:    #FFD700;
  --white:     #F0F7E8;
  --muted:     #6B8A5E;
  --font-display: 'Clash Display', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --slide-w: 1200px;
  --slide-h: 675px;
  --radius: 16px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  cursor: default;
  user-select: none;
}

/* ── Particle Canvas ── */
#particles {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── Navigation Bar ── */
.nav-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  background: rgba(5,10,5,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
}
.logo-icon { font-size: 22px; }

.nav-dots {
  display: flex; gap: 8px; align-items: center;
}
.nav-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}
.nav-dot.active {
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
  transform: scale(1.3);
}
.nav-dot:hover { background: var(--green2); }

.nav-controls {
  display: flex; align-items: center; gap: 12px;
}
.nav-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--green);
  font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.nav-btn:hover {
  background: var(--green-dim);
  border-color: var(--green);
  box-shadow: 0 0 12px var(--green-dim);
}
.slide-counter {
  font-family: var(--font-display);
  font-size: 14px; color: var(--muted);
  letter-spacing: 0.1em;
}
#currentSlide { color: var(--green); font-weight: 700; }

/* ── Progress Bar ── */
.progress-bar {
  position: fixed; top: 56px; left: 0; right: 0;
  height: 3px; background: var(--surface2); z-index: 100;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  transition: width 0.6s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 8px var(--green);
}

/* ── Canvas Wrapper ── */
.canvas-wrapper {
  position: fixed;
  top: 59px; left: 0; right: 0; bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.prezi-canvas {
  position: absolute;
  width: var(--slide-w);
  height: var(--slide-h);
  transform-origin: center center;
  transition: transform 0.85s cubic-bezier(0.77,0,0.175,1);
  will-change: transform;
}

/* ── Slides ── */
.slide {
  position: absolute;
  width: var(--slide-w);
  height: var(--slide-h);
  top: 0; left: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.slide.active {
  opacity: 1;
  pointer-events: all;
}

.slide-inner {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg2);
  border: 1px solid var(--border);
}

/* ── Shared Slide Components ── */
.slide-header {
  display: flex; align-items: center; gap: 16px;
  padding: 32px 48px 0;
}
.slide-num {
  font-family: var(--font-display);
  font-size: 64px; font-weight: 700;
  color: var(--green-dim);
  line-height: 1;
  letter-spacing: -0.02em;
}
.slide-tag {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--green);
  border: 1px solid var(--green);
  padding: 4px 12px; border-radius: 20px;
  text-transform: uppercase;
}
.slide-title {
  font-family: var(--font-display);
  font-size: 42px; font-weight: 700;
  line-height: 1.1;
  padding: 16px 48px 0;
  letter-spacing: -0.02em;
}
.slide-subtitle {
  font-size: 15px; color: var(--muted);
  padding: 8px 48px 0;
  line-height: 1.6;
}
.highlight-green { color: var(--green); }
.highlight-cyan  { color: var(--cyan); }
.highlight-red   { color: var(--red); }

/* ═══════════════════════════════════════════════════════════
   SLIDE 1 — HERO
═══════════════════════════════════════════════════════════ */
.hero-slide {
  display: flex;
  background: radial-gradient(ellipse at 20% 50%, rgba(184,243,105,0.06) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(0,245,255,0.05) 0%, transparent 50%),
              var(--bg2);
}

.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,243,105,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,243,105,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.orb-1 { width:400px;height:400px; background:rgba(184,243,105,0.08); top:-100px;left:-100px; }
.orb-2 { width:300px;height:300px; background:rgba(0,245,255,0.06); bottom:-50px;right:200px; }
.orb-3 { width:200px;height:200px; background:rgba(184,243,105,0.05); top:50%;right:50px; }

.hero-content {
  flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 48px 48px 60px;
  position: relative; z-index: 2;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.2em;
  color: var(--green); text-transform: uppercase;
  border: 1px solid var(--green);
  padding: 6px 14px; border-radius: 20px;
  margin-bottom: 24px;
  width: fit-content;
  background: var(--green-dim);
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50% { opacity:0.5; transform:scale(1.5); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700; line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.title-line-1 { display:block; font-size:28px; color:var(--muted); letter-spacing:0.1em; }
.title-line-2 { display:block; font-size:72px; color:var(--white); }
.title-line-3 { display:block; font-size:72px; color:var(--white); }
.title-accent  { display:block; font-size:72px; color:var(--green);
  text-shadow: 0 0 40px rgba(184,243,105,0.4); }

.hero-subtitle {
  font-size: 15px; color: var(--muted); line-height: 1.7;
  margin-bottom: 32px; max-width: 480px;
}

.hero-stats {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.stat-pill {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 20px;
  min-width: 110px;
  transition: all 0.3s;
}
.stat-pill:hover {
  border-color: var(--green);
  background: var(--green-dim);
  transform: translateY(-2px);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700;
  color: var(--green);
}
.stat-label { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* Hero Visual */
.hero-visual {
  width: 380px;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 2;
  padding-right: 40px;
}

.bin-animation { position: relative; width: 280px; height: 320px; }

.city-skyline {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: flex-end; gap: 4px;
  height: 80px; opacity: 0.3;
}
.building {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 2px 2px 0 0;
  flex: 1;
}
.b1{height:40px} .b2{height:70px} .b3{height:55px} .b4{height:80px} .b5{height:45px}

.smart-bin {
  position: absolute;
  bottom: 80px; left: 50%; transform: translateX(-50%);
  width: 100px;
}
.bin-lid {
  width: 110px; height: 16px;
  background: linear-gradient(135deg, #1a2e1a, #0f1f0f);
  border: 1px solid var(--green);
  border-radius: 4px 4px 0 0;
  margin-left: -5px;
  box-shadow: 0 0 12px rgba(184,243,105,0.3);
  animation: lid-float 3s ease-in-out infinite;
}
@keyframes lid-float {
  0%,100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-4px) rotate(1deg); }
}
.bin-body {
  width: 100px; height: 120px;
  background: linear-gradient(180deg, #0f1f0f, #0a150a);
  border: 1px solid var(--green);
  border-top: none;
  border-radius: 0 0 8px 8px;
  position: relative;
  box-shadow: 0 0 20px rgba(184,243,105,0.2), inset 0 0 20px rgba(0,0,0,0.5);
  overflow: hidden;
}
.bin-screen {
  position: absolute; inset: 8px;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(184,243,105,0.3);
  border-radius: 4px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end;
  overflow: hidden;
}
.bin-level {
  width: 100%; height: 73%;
  background: linear-gradient(180deg, rgba(255,200,0,0.8), rgba(255,100,0,0.6));
  transition: height 2s ease;
  animation: level-pulse 4s ease-in-out infinite;
}
@keyframes level-pulse {
  0%,100% { height:73%; }
  50% { height:76%; }
}
.bin-pct {
  position: absolute; top: 4px;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 8px var(--green);
}
.bin-signal {
  position: absolute; bottom: 8px; right: 8px;
  display: flex; align-items: flex-end; gap: 2px;
}
.signal-bar {
  width: 4px; background: var(--green); border-radius: 1px;
  animation: signal-anim 1.5s ease-in-out infinite;
}
.s1{height:6px; animation-delay:0s}
.s2{height:10px; animation-delay:0.2s}
.s3{height:14px; animation-delay:0.4s}
@keyframes signal-anim {
  0%,100%{opacity:1} 50%{opacity:0.3}
}
.bin-base {
  width: 90px; height: 8px; margin: 0 auto;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 0 0 4px 4px;
}

.wifi-rings {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
}
.ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid var(--green);
  transform: translate(-50%,-50%);
  animation: ring-expand 2.5s ease-out infinite;
}
.r1{width:40px;height:40px; animation-delay:0s}
.r2{width:70px;height:70px; animation-delay:0.5s}
.r3{width:100px;height:100px; animation-delay:1s}
@keyframes ring-expand {
  0%{opacity:0.8;transform:translate(-50%,-50%) scale(0.5)}
  100%{opacity:0;transform:translate(-50%,-50%) scale(1)}
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 2 — PROBLEM
═══════════════════════════════════════════════════════════ */
.problem-slide {
  background: radial-gradient(ellipse at 80% 20%, rgba(255,68,68,0.06) 0%, transparent 50%), var(--bg2);
}

.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; padding: 20px 48px;
}

.problem-card {
  background: var(--surface);
  border: 1px solid rgba(255,68,68,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  position: relative; overflow: hidden;
  transition: all 0.3s;
}
.problem-card::before {
  content:''; position:absolute; top:0;left:0;right:0;height:2px;
  background: linear-gradient(90deg, var(--red), transparent);
}
.problem-card:hover {
  border-color: rgba(255,68,68,0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,68,68,0.1);
}
.problem-icon { font-size: 28px; margin-bottom: 8px; }
.problem-stat {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}
.problem-label { font-size: 13px; color: var(--muted); line-height: 1.4; margin-bottom: 12px; }
.problem-bar {
  height: 4px; background: rgba(255,68,68,0.15);
  border-radius: 2px; overflow: hidden;
}
.problem-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--red), rgba(255,68,68,0.5));
  border-radius: 2px;
  animation: bar-grow 1.5s ease-out forwards;
}
@keyframes bar-grow { from{width:0} }

.problem-quote {
  display: flex; align-items: center; gap: 16px;
  padding: 0 48px 24px;
  margin-top: 8px;
}
.quote-line { width: 4px; height: 48px; background: var(--red); border-radius: 2px; flex-shrink: 0; }
.problem-quote p { font-size: 14px; color: var(--muted); line-height: 1.6; font-style: italic; }
.problem-quote strong { color: var(--white); }

/* ═══════════════════════════════════════════════════════════
   SLIDE 3 — SOLUTION
═══════════════════════════════════════════════════════════ */
.solution-slide {
  background: radial-gradient(ellipse at 50% 60%, rgba(184,243,105,0.07) 0%, transparent 60%), var(--bg2);
}

.solution-hub {
  position: relative;
  width: 400px; height: 280px;
  margin: 8px auto 0;
}

.hub-center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  z-index: 3;
}
.hub-core {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green2));
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 0 30px rgba(184,243,105,0.5);
  animation: hub-pulse 3s ease-in-out infinite;
}
@keyframes hub-pulse {
  0%,100%{box-shadow:0 0 30px rgba(184,243,105,0.5)}
  50%{box-shadow:0 0 50px rgba(184,243,105,0.8)}
}
.hub-icon { font-size: 28px; }
.hub-label { font-size: 9px; font-weight: 700; color: var(--bg); letter-spacing: 0.1em; }

.hub-ring {
  position: absolute; top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(184,243,105,0.2);
  transform: translate(-50%,-50%);
  animation: hub-ring-spin 20s linear infinite;
}
.hub-ring-1 { width: 120px; height: 120px; }
.hub-ring-2 { width: 160px; height: 160px; animation-direction: reverse; }
@keyframes hub-ring-spin { to{transform:translate(-50%,-50%) rotate(360deg)} }

.hub-lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hub-line {
  stroke: rgba(184,243,105,0.25);
  stroke-width: 1.5;
  stroke-dasharray: 4 4;
  animation: dash-flow 2s linear infinite;
}
@keyframes dash-flow { to{stroke-dashoffset:-16} }

.hub-nodes { position: absolute; inset: 0; }
.hub-node {
  position: absolute;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; text-align: center;
}
.node-top    { top: 0; left: 50%; transform: translateX(-50%); }
.node-right  { right: 0; top: 50%; transform: translateY(-50%); }
.node-bottom { bottom: 0; left: 50%; transform: translateX(-50%); }
.node-left   { left: 0; top: 50%; transform: translateY(-50%); }

.node-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  transition: all 0.3s;
}
.hub-node:hover .node-icon {
  border-color: var(--green);
  background: var(--green-dim);
  box-shadow: 0 0 16px var(--green-dim);
}
.node-text {
  font-size: 11px; font-weight: 600; color: var(--white);
  line-height: 1.3;
}
.node-text small { color: var(--muted); font-weight: 400; font-size: 10px; }

.solution-tagline {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; padding: 12px 48px;
}
.tag-item { font-size: 14px; font-weight: 600; color: var(--green); }
.tag-sep { color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   SLIDE 4 — TECHNOLOGY
═══════════════════════════════════════════════════════════ */
.tech-slide {
  background: radial-gradient(ellipse at 30% 70%, rgba(0,245,255,0.05) 0%, transparent 50%), var(--bg2);
}

.tech-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 14px; padding: 16px 48px;
}

.tech-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: relative; overflow: hidden;
  transition: all 0.3s;
  cursor: default;
}
.tech-card:hover {
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,245,255,0.1);
}
.tc-glow {
  position: absolute; top: -20px; right: -20px;
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(0,245,255,0.06);
  filter: blur(20px);
  transition: all 0.3s;
}
.tech-card:hover .tc-glow { background: rgba(0,245,255,0.15); }
.tc-icon { font-size: 28px; margin-bottom: 10px; }
.tech-card h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
  color: var(--white); margin-bottom: 8px;
}
.tech-card p { font-size: 12px; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.tc-tag {
  display: inline-block;
  font-size: 10px; font-weight: 600; letter-spacing: 0.1em;
  color: var(--cyan); border: 1px solid rgba(0,245,255,0.3);
  padding: 2px 8px; border-radius: 20px;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════
   SLIDE 5 — HOW IT WORKS
═══════════════════════════════════════════════════════════ */
.flow-slide { background: var(--bg2); }

.flow-diagram {
  display: flex; align-items: flex-start;
  gap: 8px; padding: 16px 32px 12px;
  overflow-x: auto;
}

.flow-step {
  display: flex; flex-direction: column; align-items: center;
  gap: 12px; min-width: 140px; text-align: center;
}
.fs-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--green);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 0 16px rgba(184,243,105,0.2);
}
.fs-num {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700;
  color: var(--green);
}
.fs-pulse {
  position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid rgba(184,243,105,0.3);
  animation: fs-pulse-anim 2s ease-in-out infinite;
}
@keyframes fs-pulse-anim {
  0%,100%{transform:scale(1);opacity:0.5}
  50%{transform:scale(1.1);opacity:0.2}
}
.fs-content h4 {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  color: var(--white); margin-bottom: 4px;
}
.fs-content p { font-size: 11px; color: var(--muted); line-height: 1.4; }

.flow-arrow {
  font-size: 20px; color: var(--green);
  margin-top: 18px; flex-shrink: 0;
  opacity: 0.6;
}

.arch-layers {
  display: flex; align-items: center;
  gap: 0; padding: 8px 48px;
  overflow-x: auto;
}
.arch-layer {
  flex: 1; padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  background: var(--surface);
  transition: all 0.3s;
}
.arch-layer:hover { border-color: var(--green); background: var(--green-dim); }
.arch-layer span { display: block; font-size: 12px; font-weight: 600; color: var(--white); }
.arch-layer small { font-size: 10px; color: var(--muted); }
.al-1 { border-color: rgba(0,245,255,0.3); }
.al-2 { border-color: rgba(184,243,105,0.2); }
.al-3 { border-color: rgba(184,243,105,0.4); }
.al-4 { border-color: var(--green); box-shadow: 0 0 12px rgba(184,243,105,0.15); }
.arch-arrow-v { font-size: 16px; color: var(--green); padding: 0 8px; opacity: 0.6; }

/* ═══════════════════════════════════════════════════════════
   SLIDE 6 — DASHBOARD
═══════════════════════════════════════════════════════════ */
.dashboard-slide { background: var(--bg2); }

.dashboard-mockup {
  margin: 12px 48px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(184,243,105,0.08);
}

.dash-header {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.dash-logo { font-size: 14px; font-weight: 700; color: var(--green); flex: 1; }
.dash-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; color: var(--muted);
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 1s ease-in-out infinite;
}
.dash-time { font-family: monospace; font-size: 12px; color: var(--cyan); }

.dash-body {
  display: flex; gap: 0; height: 380px;
}

.dash-map {
  flex: 1; position: relative;
  background: #060e06;
  border-right: 1px solid var(--border);
  overflow: hidden;
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,243,105,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,243,105,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-title {
  position: absolute; top: 12px; left: 12px;
  font-size: 11px; font-weight: 600; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase;
}

.map-bin {
  position: absolute;
  display: flex; flex-direction: column; align-items: center;
  gap: 3px; cursor: pointer;
  transition: transform 0.2s;
}
.map-bin:hover { transform: scale(1.2); }
.mb-dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid;
  animation: mb-pulse 2s ease-in-out infinite;
}
.bin-critical .mb-dot { background: rgba(255,68,68,0.3); border-color: var(--red); box-shadow: 0 0 8px var(--red); }
.bin-warning  .mb-dot { background: rgba(255,215,0,0.3); border-color: var(--yellow); box-shadow: 0 0 8px var(--yellow); }
.bin-ok       .mb-dot { background: rgba(184,243,105,0.3); border-color: var(--green); box-shadow: 0 0 8px var(--green); }
@keyframes mb-pulse {
  0%,100%{transform:scale(1)} 50%{transform:scale(1.3)}
}
.mb-label {
  font-size: 9px; font-weight: 600;
  background: rgba(0,0,0,0.8);
  padding: 1px 4px; border-radius: 3px;
  white-space: nowrap;
}
.bin-critical .mb-label { color: var(--red); }
.bin-warning  .mb-label { color: var(--yellow); }
.bin-ok       .mb-label { color: var(--green); }

.route-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.route-line {
  fill: none; stroke: var(--cyan);
  stroke-width: 2; stroke-dasharray: 6 4;
  opacity: 0.6;
  animation: route-dash 3s linear infinite;
}
@keyframes route-dash { to{stroke-dashoffset:-40} }

.dash-panels {
  width: 260px; display: flex; flex-direction: column;
  gap: 0;
}
.dash-panel {
  flex: 1; padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.dash-panel:last-child { border-bottom: none; }
.dp-title {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--muted); text-transform: uppercase;
  margin-bottom: 8px;
}
.dp-stat-row {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--muted);
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dp-val { font-weight: 700; color: var(--white); }
.dp-val.red { color: var(--red); }
.dp-val.yellow { color: var(--yellow); }
.dp-val.green { color: var(--green); }
.dp-val.cyan { color: var(--cyan); }

.mini-chart {
  display: flex; align-items: flex-end; gap: 8px;
  height: 60px; padding-top: 8px;
}
.mc-bar {
  flex: 1; background: linear-gradient(180deg, var(--green), rgba(184,243,105,0.3));
  border-radius: 3px 3px 0 0;
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 2px;
  transition: height 1s ease;
}
.mc-bar.mc-red { background: linear-gradient(180deg, var(--red), rgba(255,68,68,0.3)); }
.mc-bar span { font-size: 8px; color: rgba(255,255,255,0.5); writing-mode: vertical-rl; }

.alert-item {
  font-size: 11px; padding: 4px 6px;
  border-radius: 4px; margin-bottom: 4px;
  line-height: 1.4;
}
.alert-critical { background: rgba(255,68,68,0.1); color: #ff8888; }
.alert-warn { background: rgba(255,215,0,0.1); color: #ffd700; }
.alert-info { background: rgba(184,243,105,0.1); color: var(--green); }

/* ═══════════════════════════════════════════════════════════
   SLIDE 7 — ROUTE OPTIMIZATION
═══════════════════════════════════════════════════════════ */
.route-slide { background: var(--bg2); }

.route-comparison {
  display: flex; align-items: center; gap: 20px;
  padding: 12px 48px;
}

.route-box {
  flex: 1; background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
}
.route-box:hover { transform: translateY(-2px); }
.route-old { border-color: rgba(255,68,68,0.3); }
.route-new { border-color: rgba(184,243,105,0.4); box-shadow: 0 0 20px rgba(184,243,105,0.08); }

.route-box-header {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.route-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  padding: 3px 8px; border-radius: 20px;
}
.badge-red { background: rgba(255,68,68,0.2); color: var(--red); border: 1px solid rgba(255,68,68,0.3); }
.badge-green { background: var(--green-dim); color: var(--green); border: 1px solid rgba(184,243,105,0.3); }
.route-box-title { font-size: 13px; font-weight: 600; color: var(--white); }

.route-visual { padding: 8px; }
.route-visual svg { width: 100%; height: 100px; }

.route-metrics {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; border-top: 1px solid var(--border);
}
.rm-item {
  padding: 8px 12px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.rm-item span { display: block; font-size: 10px; color: var(--muted); }
.rm-item strong { font-size: 14px; color: var(--white); }
.green-text { color: var(--green) !important; }

.route-vs {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
}

.route-savings {
  display: flex; justify-content: center; gap: 24px;
  padding: 12px 48px;
}
.saving-item {
  text-align: center;
  background: var(--green-dim);
  border: 1px solid rgba(184,243,105,0.3);
  border-radius: var(--radius);
  padding: 12px 24px;
  transition: all 0.3s;
}
.saving-item:hover {
  background: rgba(184,243,105,0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184,243,105,0.1);
}
.saving-num {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 700;
  color: var(--green);
  text-shadow: 0 0 20px rgba(184,243,105,0.4);
}
.saving-label { font-size: 11px; color: var(--muted); margin-top: 2px; }

/* ═══════════════════════════════════════════════════════════
   SLIDE 8 — IMPACT
═══════════════════════════════════════════════════════════ */
.impact-slide {
  background: radial-gradient(ellipse at 50% 100%, rgba(184,243,105,0.06) 0%, transparent 50%), var(--bg2);
}

.impact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; padding: 16px 48px;
}

.impact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: all 0.3s;
}
.impact-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,243,105,0.08);
}
.ic-icon { font-size: 28px; margin-bottom: 8px; }
.impact-card h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
  color: var(--white); margin-bottom: 10px;
}
.impact-card ul { list-style: none; }
.impact-card li {
  font-size: 12px; color: var(--muted);
  padding: 3px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  line-height: 1.4;
}
.impact-card li:last-child { border-bottom: none; }

.impact-banner {
  margin: 8px 48px;
  padding: 14px 24px;
  background: linear-gradient(135deg, rgba(184,243,105,0.1), rgba(0,245,255,0.05));
  border: 1px solid rgba(184,243,105,0.3);
  border-radius: var(--radius);
  font-size: 13px; color: var(--muted);
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.impact-banner strong { color: var(--green); }

/* ═══════════════════════════════════════════════════════════
   SLIDE 9 — TECH STACK
═══════════════════════════════════════════════════════════ */
.stack-slide { background: var(--bg2); }

.stack-layout {
  display: flex; gap: 24px;
  padding: 16px 48px;
}

.stack-left { flex: 1; display: flex; flex-direction: column; gap: 10px; }

.stack-layer {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 16px;
  transition: all 0.3s;
}
.stack-layer:hover { border-color: var(--cyan); background: var(--cyan-dim); }
.sl-label {
  font-family: var(--font-display);
  font-size: 12px; font-weight: 600;
  color: var(--cyan); min-width: 80px;
  letter-spacing: 0.05em;
}
.sl-items { display: flex; flex-wrap: wrap; gap: 6px; }
.sl-items span {
  font-size: 11px; color: var(--muted);
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 3px 8px; border-radius: 4px;
}

.stack-right { width: 320px; }

.timeline { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.tl-title {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 600;
  color: var(--white); margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.tl-item {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
}
.tl-item:last-child { border-bottom: none; }
.tl-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--surface2);
  border: 2px solid var(--border);
  flex-shrink: 0; margin-top: 3px;
}
.tl-done .tl-dot { background: var(--green); border-color: var(--green); box-shadow: 0 0 8px var(--green); }
.tl-active .tl-dot { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulse-dot 1s infinite; }
.tl-content strong { display: block; font-size: 13px; color: var(--white); margin-bottom: 2px; }
.tl-content span { font-size: 11px; color: var(--muted); }

/* ═══════════════════════════════════════════════════════════
   SLIDE 10 — WIN SLIDE
═══════════════════════════════════════════════════════════ */
.win-slide {
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 50%, rgba(184,243,105,0.1) 0%, transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(0,245,255,0.06) 0%, transparent 40%),
              var(--bg2);
}

.win-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(184,243,105,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,243,105,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.win-orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); pointer-events: none;
}
.wo-1 { width:500px;height:500px; background:rgba(184,243,105,0.07); top:-100px;left:-100px; }
.wo-2 { width:400px;height:400px; background:rgba(0,245,255,0.05); bottom:-100px;right:-100px; }

.win-content {
  position: relative; z-index: 2;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 20px;
}

.win-badge {
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
  color: var(--green); text-transform: uppercase;
  border: 1px solid var(--green);
  padding: 6px 16px; border-radius: 20px;
  background: var(--green-dim);
}

.win-title {
  font-family: var(--font-display);
  font-size: 52px; font-weight: 700;
  line-height: 1.05; letter-spacing: -0.03em;
  color: var(--white);
}
.win-highlight {
  color: var(--green);
  text-shadow: 0 0 40px rgba(184,243,105,0.5);
}

.win-pillars {
  display: flex; gap: 20px;
}
.wp-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  min-width: 120px;
  transition: all 0.3s;
}
.wp-item:hover {
  border-color: var(--green);
  background: var(--green-dim);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(184,243,105,0.1);
}
.wp-icon { font-size: 28px; }
.wp-text { font-size: 12px; font-weight: 600; color: var(--white); text-align: center; line-height: 1.3; }

.win-quote {
  font-size: 16px; color: var(--muted);
  font-style: italic; max-width: 500px;
  line-height: 1.6;
}
.win-quote strong { color: var(--green); font-style: normal; }

.win-team { text-align: center; }
.wt-label {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 600;
  color: var(--muted); letter-spacing: 0.15em;
  text-transform: uppercase;
}
.wt-tagline { font-size: 14px; color: var(--green); margin-top: 4px; }

.win-cta { margin-top: 4px; }
.cta-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  color: var(--bg);
  background: linear-gradient(135deg, var(--green), var(--green2));
  padding: 14px 40px; border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(184,243,105,0.4);
  transition: all 0.3s;
  animation: cta-glow 2s ease-in-out infinite;
}
.cta-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 50px rgba(184,243,105,0.6);
}
@keyframes cta-glow {
  0%,100%{box-shadow:0 0 30px rgba(184,243,105,0.4)}
  50%{box-shadow:0 0 50px rgba(184,243,105,0.7)}
}

/* ── Confetti ── */
.confetti-container {
  position: absolute; inset: 0;
  pointer-events: none; overflow: hidden;
}
.confetti-piece {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 2px;
  animation: confetti-fall linear forwards;
}
@keyframes confetti-fall {
  0%   { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(700px) rotate(720deg); opacity: 0; }
}

/* ── Keyboard Hint ── */
.key-hint {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  font-size: 11px; color: var(--muted);
  background: rgba(5,10,5,0.8);
  border: 1px solid var(--border);
  padding: 6px 16px; border-radius: 20px;
  z-index: 100;
  letter-spacing: 0.05em;
  animation: hint-fade 4s ease-out 3s forwards;
}
@keyframes hint-fade { to{opacity:0;pointer-events:none} }

/* ── Slide Entry Animations ── */
.slide.active .slide-title,
.slide.active .slide-subtitle,
.slide.active .slide-header {
  animation: slide-up 0.6s cubic-bezier(0.4,0,0.2,1) both;
}
.slide.active .slide-title { animation-delay: 0.1s; }
.slide.active .slide-subtitle { animation-delay: 0.2s; }

@keyframes slide-up {
  from { opacity:0; transform:translateY(20px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }