/* ============================================================
   GHOST-LINK 5G — PRESENTATION STYLES
   Palette: Deep Space Black + Electric Cyan + Signal Green
   Fonts: Syne (display) + Space Mono (code/labels) + Outfit (body)
============================================================ */

:root {
  --bg:        #050810;
  --bg2:       #0a0f1e;
  --bg3:       #0f1628;
  --surface:   #111827;
  --surface2:  #1a2235;
  --border:    rgba(0, 255, 178, 0.15);
  --border2:   rgba(0, 255, 178, 0.08);
  --cyan:      #00FFB2;
  --cyan-dim:  rgba(0, 255, 178, 0.6);
  --cyan-glow: rgba(0, 255, 178, 0.15);
  --blue:      #00B4FF;
  --blue-dim:  rgba(0, 180, 255, 0.5);
  --orange:    #FF6B2B;
  --text:      #E8EDF5;
  --text-dim:  #8A9BB5;
  --text-mute: #4A5568;
  --font-display: 'Syne', sans-serif;
  --font-mono:    'Space Mono', monospace;
  --font-body:    'Outfit', sans-serif;
}

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

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

/* ── BACKGROUND GRID ── */
.bg-grid {
  position: fixed; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(0,255,178,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,178,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.bg-noise {
  position: fixed; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

/* ── RADAR RINGS ── */
.radar-ring {
  position: fixed;
  border-radius: 50%;
  border: 1px solid var(--cyan);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  animation: radarPulse 6s ease-out infinite;
}
.r1 { width: 300px; height: 300px; bottom: -100px; right: -80px; animation-delay: 0s; }
.r2 { width: 500px; height: 500px; bottom: -200px; right: -180px; animation-delay: 2s; }
.r3 { width: 700px; height: 700px; bottom: -300px; right: -280px; animation-delay: 4s; }

@keyframes radarPulse {
  0%   { opacity: 0.3; transform: scale(0.8); }
  100% { opacity: 0;   transform: scale(1.2); }
}

/* ── PROGRESS BAR ── */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 100;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px var(--cyan);
}

/* ── SLIDE COUNTER ── */
.slide-counter {
  position: fixed; top: 24px; right: 80px; z-index: 100;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  display: flex; align-items: center; gap: 6px;
}
.slide-counter .divider { color: var(--border); }
#currentSlide { color: var(--cyan); }

/* ── NAV DOTS ── */
.nav-dots {
  position: fixed; right: 24px; top: 50%; transform: translateY(-50%);
  z-index: 100;
  display: flex; flex-direction: column; gap: 10px;
}
.nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-mute);
  border: none; cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.nav-dot.active {
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  transform: scale(1.4);
}
.nav-dot:hover { background: var(--cyan-dim); }

/* ── ARROW BUTTONS ── */
.arrow-btn {
  position: fixed; bottom: 32px; z-index: 100;
  width: 44px; height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-dim);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.arrow-btn svg { width: 18px; height: 18px; }
.arrow-btn:hover { background: var(--surface2); border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 16px var(--cyan-glow); }
.arrow-btn.prev { right: 88px; }
.arrow-btn.next { right: 36px; }
.arrow-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ── SLIDES CONTAINER ── */
.slides-container {
  position: fixed; inset: 0; z-index: 10;
}

/* ── SLIDE BASE ── */
.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 80px 80px;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.slide.exit {
  opacity: 0;
  transform: translateY(-30px);
}

.slide-inner {
  width: 100%; max-width: 1100px;
  position: relative;
}

/* ── SLIDE LABELS ── */
.slide-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.8;
}

/* ── SLIDE TITLES ── */
.slide-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}
.slide-title .accent { color: var(--cyan); }

/* ── ACCENT ── */
.accent { color: var(--cyan); }

/* ============================================================
   SLIDE 1 — TITLE
============================================================ */
.title-slide {
  display: flex; flex-direction: column;
  align-items: flex-start;
  padding-top: 20px;
}

.title-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--cyan);
  background: rgba(0,255,178,0.08);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.main-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 110px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
  display: flex; align-items: baseline; gap: 0;
  flex-wrap: wrap;
}
.ghost-word {
  color: var(--text);
  text-shadow: 0 0 40px rgba(0,255,178,0.3);
}
.link-word {
  color: var(--cyan-dim);
}
.title-5g {
  font-size: clamp(32px, 5vw, 64px);
  color: var(--cyan);
  margin-left: 16px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-shadow: 0 0 30px var(--cyan);
  align-self: flex-end;
  margin-bottom: 8px;
}

.title-subtitle {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.8vw, 20px);
  font-weight: 300;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.title-divider {
  width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  margin-bottom: 20px;
}

.title-desc {
  font-size: clamp(13px, 1.4vw, 16px);
  color: var(--text-dim);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 32px;
}
.title-desc em { color: var(--cyan); font-style: normal; font-weight: 600; }

.stat-row {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.stat-pill {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 14px 20px;
  border-radius: 4px;
  min-width: 110px;
  position: relative;
  overflow: hidden;
}
.stat-pill::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--cyan), transparent);
}
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.stat-label {
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Signal wave */
.signal-wave-wrap {
  width: 100%; max-width: 500px;
  height: 50px;
  opacity: 0.6;
}
.signal-svg { width: 100%; height: 100%; }
.wave-line {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.w1 {
  stroke: var(--cyan);
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawWave 3s ease forwards, waveFloat 4s ease-in-out 3s infinite;
}
.w2 {
  stroke: var(--blue);
  opacity: 0.5;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawWave 3s ease 0.5s forwards, waveFloat 4s ease-in-out 3.5s infinite;
}
@keyframes drawWave {
  to { stroke-dashoffset: 0; }
}
@keyframes waveFloat {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-20px); }
}

/* ============================================================
   CONTENT GRID
============================================================ */
.content-grid.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.lead-text {
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}
.lead-text strong { color: var(--cyan); font-weight: 600; }

.body-text {
  font-size: clamp(13px, 1.3vw, 15px);
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 20px;
}

.highlight-box {
  display: flex; align-items: center; gap: 12px;
  background: rgba(0,255,178,0.06);
  border: 1px solid var(--border);
  border-left: 3px solid var(--cyan);
  padding: 12px 16px;
  border-radius: 2px;
  font-size: 13px;
  color: var(--cyan-dim);
  font-family: var(--font-mono);
}
.hb-icon { font-size: 16px; color: var(--cyan); }

/* ── OBJECTIVE DIAGRAM ── */
.visual-block { display: flex; justify-content: center; align-items: center; }
.objective-diagram {
  display: flex; flex-direction: column; align-items: center; gap: 0;
}
.od-node {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 12px 20px;
  border-radius: 4px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
  position: relative;
  min-width: 130px;
}
.od-node span { display: block; font-size: 9px; color: var(--text-mute); font-weight: 400; margin-top: 2px; }
.od-node.ghost-node {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 20px rgba(0,255,178,0.2);
}
.ghost-pulse {
  position: absolute; inset: -4px;
  border-radius: 6px;
  border: 1px solid var(--cyan);
  animation: ghostPulse 2s ease-in-out infinite;
}
@keyframes ghostPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.08); }
}
.od-arrow {
  display: flex; flex-direction: column; align-items: center;
  position: relative;
}
.od-arrow svg { width: 4px; height: 60px; }
.od-label {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 9px;
  color: var(--cyan); opacity: 0.7; white-space: nowrap;
}

/* ============================================================
   SLIDE 3 — SUMMARY CARDS
============================================================ */
.summary-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.s-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  padding: 24px 18px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.s-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  opacity: 0;
  transition: opacity 0.3s;
}
.s-card:hover { border-color: var(--border); transform: translateY(-3px); }
.s-card:hover::before { opacity: 1; }
.s-card-icon {
  font-size: 24px;
  color: var(--cyan);
  margin-bottom: 12px;
  display: block;
}
.s-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.s-card p {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.6;
}

.summary-tagline {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.05em;
  border-top: 1px solid var(--border2);
  padding-top: 20px;
  font-style: italic;
}

/* ============================================================
   SLIDE 4 — PHYSICS
============================================================ */
.physics-list { display: flex; flex-direction: column; gap: 20px; }
.phy-item {
  display: flex; gap: 20px; align-items: flex-start;
}
.phy-num {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: rgba(0,255,178,0.2);
  line-height: 1;
  min-width: 40px;
  flex-shrink: 0;
}
.phy-content h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.phy-content p {
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
}

.proxy-table-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.proxy-table-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border2);
  background: rgba(0,255,178,0.04);
}
.proxy-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border2);
  font-size: 12px;
  gap: 8px;
  align-items: center;
}
.proxy-row:last-child { border-bottom: none; }
.proxy-row.header-row {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.02);
}
.pr-metric {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  display: inline-block;
}
.pr-metric.snr { background: rgba(0,255,178,0.1); color: var(--cyan); }
.pr-metric.lat { background: rgba(0,180,255,0.1); color: var(--blue); }
.pr-metric.pkt { background: rgba(255,107,43,0.1); color: var(--orange); }

/* ============================================================
   SLIDE 5 — LSTM
============================================================ */
.lstm-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.lstm-gates { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.gate-item {
  display: flex; gap: 16px; align-items: flex-start;
}
.gate-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.gate-icon.forget { background: rgba(255,107,43,0.15); color: var(--orange); border: 1px solid rgba(255,107,43,0.3); }
.gate-icon.input  { background: rgba(0,180,255,0.15); color: var(--blue); border: 1px solid rgba(0,180,255,0.3); }
.gate-icon.output { background: rgba(0,255,178,0.15); color: var(--cyan); border: 1px solid var(--border); }
.gate-item strong { font-size: 13px; color: var(--text); display: block; margin-bottom: 4px; }
.gate-item p { font-size: 12px; color: var(--text-dim); line-height: 1.5; }

.lstm-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 16px;
}
.lstm-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.8;
}
.lstm-flow {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.lf-item {
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 10px;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.4;
  flex: 1;
  min-width: 80px;
}
.lf-arrow {
  color: var(--cyan);
  font-size: 16px;
  flex-shrink: 0;
}
.cell-item {
  border-color: var(--border);
  color: var(--text);
  font-weight: 600;
}
.cell-gates {
  display: flex; gap: 4px; justify-content: center;
  margin-bottom: 6px;
}
.cg {
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
  font-family: var(--font-mono);
}
.cg.forget { background: rgba(255,107,43,0.2); color: var(--orange); }
.cg.input-g { background: rgba(0,180,255,0.2); color: var(--blue); }
.cg.output-g { background: rgba(0,255,178,0.2); color: var(--cyan); }

.output-labels {
  display: flex; flex-direction: column; gap: 3px;
  margin-bottom: 6px;
}
.ol {
  font-size: 9px; padding: 2px 6px; border-radius: 2px;
  font-family: var(--font-mono);
}
.ol.empty { background: rgba(255,255,255,0.05); color: var(--text-mute); }
.ol.walk  { background: rgba(0,180,255,0.15); color: var(--blue); }
.ol.fall  { background: rgba(255,107,43,0.2); color: var(--orange); font-weight: 700; }

.accuracy-badge {
  display: flex; flex-direction: column; align-items: center;
  background: rgba(0,255,178,0.06);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px;
}
.ab-num {
  font-family: var(--font-mono);
  font-size: 36px;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 20px var(--cyan);
  line-height: 1;
}
.ab-label {
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ============================================================
   SLIDE 6 — ARCHITECTURE
============================================================ */
.arch-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.arch-stack { display: flex; flex-direction: column; align-items: stretch; }
.arch-layer {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 4px;
  padding: 14px 16px;
  position: relative;
  transition: border-color 0.3s;
}
.arch-layer:hover { border-color: var(--border); }
.arch-layer.layer-1 { border-left: 3px solid var(--cyan); }
.arch-layer.layer-2 { border-left: 3px solid var(--blue); }
.arch-layer.layer-3 { border-left: 3px solid #9B59B6; }
.arch-layer.layer-4 { border-left: 3px solid var(--orange); }
.al-icon { font-size: 20px; flex-shrink: 0; }
.al-content { flex: 1; }
.al-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--text); }
.al-sub { font-size: 11px; color: var(--text-mute); margin-top: 2px; font-family: var(--font-mono); }
.al-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  color: var(--text-mute);
  background: var(--bg3);
  padding: 3px 8px;
  border-radius: 2px;
  flex-shrink: 0;
}
.arch-arrow-down {
  text-align: center;
  color: var(--cyan);
  font-size: 18px;
  padding: 4px 0;
  opacity: 0.5;
}

.spec-block { margin-bottom: 24px; }
.spec-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.8;
}
.spec-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
  counter-reset: spec-counter;
}
.spec-list li {
  font-size: 13px;
  color: var(--text-dim);
  padding-left: 20px;
  position: relative;
  counter-increment: spec-counter;
}
.spec-list li::before {
  content: counter(spec-counter, decimal-leading-zero);
  position: absolute; left: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
  opacity: 0.6;
}
.spec-list li strong { color: var(--text); }

.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-tags span {
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--surface2);
  border: 1px solid var(--border2);
  color: var(--text-dim);
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.05em;
}

/* ============================================================
   SLIDE 7 — IMPACT
============================================================ */
.impact-layout {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 32px;
  margin-bottom: 24px;
}
.impact-divider { background: var(--border2); }
.impact-header {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border2);
}
.impact-header.societal { color: var(--cyan); }
.impact-header.industrial { color: var(--blue); }
.ih-icon { font-size: 18px; }

.impact-item {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 16px;
}
.ii-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  margin-top: 6px;
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--cyan);
}
.ii-dot.ind { background: var(--blue); box-shadow: 0 0 6px var(--blue); }
.impact-item strong { font-size: 13px; color: var(--text); display: block; margin-bottom: 4px; }
.impact-item p { font-size: 12px; color: var(--text-dim); line-height: 1.5; }
.impact-item .accent { color: var(--cyan); }

.scalability-bar {
  display: flex; gap: 0;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 4px;
  overflow: hidden;
}
.sb-item {
  flex: 1;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  font-size: 12px;
  color: var(--text-dim);
  border-right: 1px solid var(--border2);
}
.sb-item:last-child { border-right: none; }
.sb-icon { font-size: 14px; }

/* ============================================================
   SLIDE 8 — METRICS
============================================================ */
.final-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.tu-title, .mp-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.8;
}
.tu-item {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 20px;
}
.tu-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.tu-item strong { font-size: 14px; color: var(--text); display: block; margin-bottom: 4px; }
.tu-item p { font-size: 12px; color: var(--text-dim); line-height: 1.5; }

.metric-card {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 4px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.mc-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 4px;
}
.mc-label {
  font-size: 11px;
  color: var(--text-mute);
  margin-bottom: 10px;
}
.mc-bar {
  height: 3px;
  background: var(--bg3);
  border-radius: 2px;
  overflow: hidden;
}
.mc-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  border-radius: 2px;
  animation: barGrow 1.5s ease forwards;
  transform-origin: left;
}
.mc-fill.latency { background: linear-gradient(90deg, var(--blue), #9B59B6); }
.mc-fill.sw { background: linear-gradient(90deg, var(--orange), var(--cyan)); }
@keyframes barGrow {
  from { width: 0 !important; }
}

.cta-block {
  background: rgba(0,255,178,0.06);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 18px;
  text-align: center;
}
.cta-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 4px;
}
.cta-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
}

/* ============================================================
   KEYBOARD HINT
============================================================ */
.key-hint {
  position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.1em;
  z-index: 100;
  opacity: 0;
  animation: fadeHint 3s ease 2s forwards;
}
@keyframes fadeHint {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .slide { padding: 50px 40px 70px; }
  .content-grid.two-col,
  .lstm-layout,
  .arch-layout,
  .final-layout { grid-template-columns: 1fr; gap: 24px; }
  .impact-layout { grid-template-columns: 1fr; }
  .impact-divider { display: none; }
  .summary-cards { grid-template-columns: 1fr 1fr; }
  .main-title { font-size: clamp(40px, 10vw, 70px); }
}

@media (max-width: 600px) {
  .slide { padding: 40px 24px 70px; }
  .summary-cards { grid-template-columns: 1fr; }
  .stat-row { gap: 10px; }
  .scalability-bar { flex-direction: column; }
  .sb-item { border-right: none; border-bottom: 1px solid var(--border2); }
}