/* ============================================================
   HEALTHMATRIX PRESENTATION — STYLES
   Design: Retro-Futuristic Dark Tech / Clinical AI
   Palette: Deep Navy + Cyan + Electric Blue + Accent Neons
   Fonts: Syne (Display) + Plus Jakarta Sans (Body)
   ============================================================ */

:root {
  --bg-deep:    #050a14;
  --bg-card:    #0a1628;
  --bg-card2:   #0d1f3c;
  --border:     rgba(0, 212, 255, 0.15);
  --border-mid: rgba(0, 212, 255, 0.3);
  --cyan:       #00d4ff;
  --blue:       #0066ff;
  --green:      #00ff88;
  --orange:     #ff9500;
  --pink:       #ff3cac;
  --purple:     #7b68ee;
  --red:        #ff4757;
  --yellow:     #ffd700;
  --text-white: #f0f4ff;
  --text-muted: #7a8fa6;
  --text-dim:   #4a5f7a;
  --font-display: 'Syne', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --slide-w: 100vw;
  --slide-h: 100vh;
}

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

html, body {
  width: 100%; height: 100%;
  overflow: hidden;
  background: var(--bg-deep);
  color: var(--text-white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   SLIDE SYSTEM
   ============================================================ */
.slide {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateX(60px);
  transition: opacity 0.55s cubic-bezier(0.4,0,0.2,1),
              transform 0.55s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.slide.active {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}
.slide.exit-left {
  opacity: 0;
  transform: translateX(-60px);
}

/* ============================================================
   BACKGROUNDS
   ============================================================ */
.slide-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.slide-bg-1 {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,102,255,0.25) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,212,255,0.12) 0%, transparent 60%),
              linear-gradient(160deg, #050a14 0%, #071428 50%, #050a14 100%);
}
.slide-bg-2 {
  background: radial-gradient(ellipse 70% 50% at 20% 50%, rgba(255,71,87,0.12) 0%, transparent 60%),
              radial-gradient(ellipse 50% 40% at 80% 20%, rgba(255,149,0,0.08) 0%, transparent 60%),
              linear-gradient(135deg, #050a14 0%, #0a0f1e 100%);
}
.slide-bg-3 {
  background: radial-gradient(ellipse 60% 50% at 70% 30%, rgba(0,212,255,0.1) 0%, transparent 60%),
              linear-gradient(135deg, #050a14 0%, #071428 100%);
}
.slide-bg-4 {
  background: radial-gradient(ellipse 80% 60% at 30% 60%, rgba(0,255,136,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 50% 40% at 70% 20%, rgba(0,102,255,0.12) 0%, transparent 60%),
              linear-gradient(135deg, #050a14 0%, #071428 100%);
}
.slide-bg-5 {
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0,102,255,0.1) 0%, transparent 70%),
              linear-gradient(135deg, #050a14 0%, #071428 100%);
}
.slide-bg-6 {
  background: radial-gradient(ellipse 60% 50% at 80% 40%, rgba(123,104,238,0.1) 0%, transparent 60%),
              linear-gradient(135deg, #050a14 0%, #071428 100%);
}
.slide-bg-7 {
  background: radial-gradient(ellipse 70% 50% at 20% 50%, rgba(0,212,255,0.08) 0%, transparent 60%),
              linear-gradient(135deg, #050a14 0%, #071428 100%);
}
.slide-bg-8 {
  background: radial-gradient(ellipse 60% 50% at 60% 30%, rgba(0,255,136,0.08) 0%, transparent 60%),
              linear-gradient(135deg, #050a14 0%, #071428 100%);
}
.slide-bg-9 {
  background: radial-gradient(ellipse 70% 50% at 40% 60%, rgba(0,102,255,0.1) 0%, transparent 60%),
              linear-gradient(135deg, #050a14 0%, #071428 100%);
}
.slide-bg-10 {
  background: radial-gradient(ellipse 60% 50% at 70% 40%, rgba(0,212,255,0.08) 0%, transparent 60%),
              linear-gradient(135deg, #050a14 0%, #071428 100%);
}
.slide-bg-11 {
  background: radial-gradient(ellipse 60% 50% at 30% 50%, rgba(255,71,87,0.08) 0%, transparent 60%),
              radial-gradient(ellipse 50% 40% at 70% 50%, rgba(0,255,136,0.06) 0%, transparent 60%),
              linear-gradient(135deg, #050a14 0%, #071428 100%);
}
.slide-bg-12 {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,102,255,0.2) 0%, transparent 70%),
              radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0,212,255,0.1) 0%, transparent 60%),
              linear-gradient(160deg, #050a14 0%, #071428 50%, #050a14 100%);
}

/* Hex grid background pattern */
.hex-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='104' viewBox='0 0 60 104'%3E%3Cpath d='M30 2 L58 17 L58 47 L30 62 L2 47 L2 17 Z' fill='none' stroke='%2300d4ff' stroke-width='1'/%3E%3Cpath d='M30 62 L58 77 L58 107 L30 122 L2 107 L2 77 Z' fill='none' stroke='%2300d4ff' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 104px;
}

/* ============================================================
   SLIDE CONTENT WRAPPER
   ============================================================ */
.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  padding: 0 60px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0,212,255,0.3); }
  50%       { box-shadow: 0 0 40px rgba(0,212,255,0.6); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

.animate-in {
  opacity: 0;
  animation: fadeUp 0.6s ease forwards;
  animation-delay: var(--delay, 0s);
}
.slide.active .animate-in {
  animation-play-state: running;
}
.slide:not(.active) .animate-in {
  animation-play-state: paused;
  opacity: 0;
}

/* ============================================================
   PROGRESS BAR
   ============================================================ */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  z-index: 1000;
  transition: width 0.4s ease;
  box-shadow: 0 0 12px var(--cyan);
}

/* ============================================================
   SLIDE COUNTER
   ============================================================ */
.slide-counter {
  position: fixed;
  bottom: 28px;
  right: 32px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  z-index: 100;
}

/* ============================================================
   NAV DOTS
   ============================================================ */
.nav-dots {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 100;
}
.nav-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-dim);
  cursor: pointer;
  transition: all 0.3s ease;
}
.nav-dot.active {
  background: var(--cyan);
  width: 20px;
  border-radius: 3px;
  box-shadow: 0 0 8px var(--cyan);
}

/* ============================================================
   NAV ARROWS
   ============================================================ */
.nav-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,22,40,0.8);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 100;
  transition: all 0.2s ease;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
}
.nav-arrow:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 16px rgba(0,212,255,0.3);
}
.nav-prev { left: 20px; }
.nav-next { right: 20px; }

/* ============================================================
   KEYBOARD HINT
   ============================================================ */
.key-hint {
  position: fixed;
  bottom: 28px;
  left: 32px;
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  z-index: 100;
}

/* ============================================================
   SPEAKER NOTES
   ============================================================ */
.speaker-notes {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(5,10,20,0.95);
  border-top: 1px solid var(--border);
  padding: 10px 60px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  z-index: 50;
  display: none;
  backdrop-filter: blur(8px);
}
.speaker-notes.visible { display: block; }
.speaker-notes strong { color: var(--cyan); }

/* ============================================================
   SLIDE HEADER (shared)
   ============================================================ */
.slide-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}
.slide-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: rgba(0,212,255,0.12);
  line-height: 1;
  letter-spacing: -0.02em;
  min-width: 80px;
}
.slide-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.slide-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.1;
}

/* ============================================================
   SLIDE 1 — TITLE
   ============================================================ */
.title-slide {
  align-items: center;
  text-align: center;
  gap: 0;
  padding-bottom: 60px;
}
.title-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-mid);
  border-radius: 100px;
  padding: 6px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 20px;
  background: rgba(0,212,255,0.05);
}
.badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-glow 2s infinite;
}
.title-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-white);
  justify-content: center;
}
.title-main {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-white);
  margin-bottom: 16px;
}
.gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.title-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.title-meta {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(10,22,40,0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 28px;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
}
.meta-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}
.meta-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.meta-value {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
}
.meta-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}
.title-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(10,22,40,0.8);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 20px;
  min-width: 110px;
  backdrop-filter: blur(8px);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 3px;
}
.stat-num.cyan   { color: var(--cyan); }
.stat-num.green  { color: var(--green); }
.stat-num.orange { color: var(--orange); }
.stat-num.pink   { color: var(--pink); }
.stat-lbl {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================================
   SLIDE 2 — PROBLEM
   ============================================================ */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.problem-card {
  background: var(--bg-card);
  border-radius: 14px;
  padding: 22px 18px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}
.problem-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
}
.card-red::before   { background: linear-gradient(90deg, var(--red), transparent); }
.card-orange::before { background: linear-gradient(90deg, var(--orange), transparent); }
.card-yellow::before { background: linear-gradient(90deg, var(--yellow), transparent); }
.card-purple::before { background: linear-gradient(90deg, var(--purple), transparent); }
.problem-card:hover { transform: translateY(-4px); border-color: var(--border-mid); }
.problem-icon { font-size: 28px; margin-bottom: 10px; }
.problem-card h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}
.problem-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.impact-bar {
  display: flex;
  align-items: center;
  background: rgba(10,22,40,0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 28px;
  backdrop-filter: blur(8px);
}
.impact-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.impact-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--cyan);
}
.impact-lbl {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
}
.impact-sep {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ============================================================
   SLIDE 3 — OBJECTIVES
   ============================================================ */
.objectives-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.obj-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 20px;
  transition: all 0.2s ease;
}
.obj-item:hover {
  border-color: var(--border-mid);
  background: var(--bg-card2);
  transform: translateX(4px);
}
.obj-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: rgba(0,212,255,0.2);
  min-width: 48px;
  line-height: 1;
}
.obj-content { flex: 1; }
.obj-content h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 3px;
}
.obj-content p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
}
.obj-icon { font-size: 22px; }

/* ============================================================
   SLIDE 4 — SOLUTION
   ============================================================ */
.solution-hero {
  background: rgba(10,22,40,0.8);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 28px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}
.solution-tagline {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.highlight-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-white);
}
.highlight-text.cyan  { color: var(--cyan); }
.highlight-text.green { color: var(--green); }
.solution-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.solution-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.sol-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 18px 14px;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.2s ease;
  position: relative;
  overflow: hidden;
}
.sol-card:hover { transform: translateY(-4px); }
.sol-card-icon { font-size: 26px; margin-bottom: 8px; }
.sol-card h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}
.sol-model {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 2px 8px;
  border-radius: 100px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.teal-card   .sol-model { background: rgba(0,212,255,0.15); color: var(--cyan); }
.red-card    .sol-model { background: rgba(255,71,87,0.15);  color: var(--red); }
.blue-card   .sol-model { background: rgba(0,102,255,0.15);  color: #6699ff; }
.purple-card .sol-model { background: rgba(123,104,238,0.15); color: var(--purple); }
.teal-card   { border-color: rgba(0,212,255,0.2); }
.red-card    { border-color: rgba(255,71,87,0.2); }
.blue-card   { border-color: rgba(0,102,255,0.2); }
.purple-card { border-color: rgba(123,104,238,0.2); }
.sol-card p { font-size: 11.5px; color: var(--text-muted); line-height: 1.4; }
.solution-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(10,22,40,0.6);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
}
.flow-step {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 14px;
  background: rgba(0,212,255,0.05);
  border-radius: 6px;
  border: 1px solid var(--border);
}
.flow-step.highlight-step {
  background: rgba(0,212,255,0.15);
  border-color: var(--cyan);
  color: var(--cyan);
  font-weight: 700;
}
.flow-arrow { color: var(--cyan); font-size: 16px; font-weight: 700; }

/* ============================================================
   SLIDE 5 — ARCHITECTURE
   ============================================================ */
.arch-diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 16px;
}
.arch-layer {
  border-radius: 12px;
  padding: 14px 20px;
  border: 1px solid var(--border);
}
.layer-frontend { background: rgba(0,212,255,0.05); border-color: rgba(0,212,255,0.25); }
.layer-backend  { background: rgba(0,102,255,0.05); border-color: rgba(0,102,255,0.25); }
.layer-models   { background: rgba(123,104,238,0.05); border-color: rgba(123,104,238,0.25); }
.layer-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.arch-boxes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.arch-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10,22,40,0.8);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-white);
  flex: 1;
  min-width: 140px;
  justify-content: center;
}
.arch-icon { font-size: 16px; }
.box-diabetes { border-color: rgba(0,212,255,0.3); color: var(--cyan); }
.box-heart    { border-color: rgba(255,71,87,0.3);  color: var(--red); }
.box-kidney   { border-color: rgba(0,102,255,0.3);  color: #6699ff; }
.box-alz      { border-color: rgba(123,104,238,0.3); color: var(--purple); }
.arch-arrow-down {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
  padding: 6px 0;
  letter-spacing: 0.1em;
}
.arch-note {
  background: rgba(0,212,255,0.05);
  border: 1px dashed rgba(0,212,255,0.3);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ============================================================
   SLIDE 6 — TECH STACK
   ============================================================ */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.tech-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.tech-cat-header {
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.teal-header   { background: rgba(0,212,255,0.12); color: var(--cyan); }
.blue-header   { background: rgba(0,102,255,0.12); color: #6699ff; }
.purple-header { background: rgba(123,104,238,0.12); color: var(--purple); }
.orange-header { background: rgba(255,149,0,0.12); color: var(--orange); }
.tech-items { padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; }
.tech-item { display: flex; align-items: center; gap: 8px; }
.tech-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
  min-width: 90px;
  text-align: center;
}
.react-badge    { background: rgba(97,218,251,0.15); color: #61dafb; }
.js-badge       { background: rgba(247,223,30,0.15);  color: #f7df1e; }
.axios-badge    { background: rgba(0,212,255,0.15);   color: var(--cyan); }
.vercel-badge   { background: rgba(255,255,255,0.1);  color: #fff; }
.flask-badge    { background: rgba(0,255,136,0.15);   color: var(--green); }
.python-badge   { background: rgba(255,212,59,0.15);  color: #ffd43b; }
.pickle-badge   { background: rgba(0,102,255,0.15);   color: #6699ff; }
.render-badge   { background: rgba(123,104,238,0.15); color: var(--purple); }
.sklearn-badge  { background: rgba(255,149,0,0.15);   color: var(--orange); }
.xgb-badge      { background: rgba(255,71,87,0.15);   color: var(--red); }
.pandas-badge   { background: rgba(0,212,255,0.15);   color: var(--cyan); }
.scaler-badge   { background: rgba(0,255,136,0.15);   color: var(--green); }
.pima-badge     { background: rgba(0,212,255,0.15);   color: var(--cyan); }
.cleveland-badge { background: rgba(255,71,87,0.15);  color: var(--red); }
.uci-badge      { background: rgba(0,102,255,0.15);   color: #6699ff; }
.oasis-badge    { background: rgba(123,104,238,0.15); color: var(--purple); }
.tech-desc { font-size: 11px; color: var(--text-muted); }

/* ============================================================
   SLIDE 7 — METHODOLOGY
   ============================================================ */
.pipeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 20px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.pipe-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 160px;
}
.pipe-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--bg-deep);
  margin-bottom: 12px;
  flex-shrink: 0;
}
.c1 { background: var(--cyan); }
.c2 { background: var(--blue); }
.c3 { background: var(--purple); }
.c4 { background: var(--orange); }
.c5 { background: var(--green); }
.pipe-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
  width: 100%;
}
.pipe-content h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}
.pipe-content p {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.5;
}
.pipe-connector {
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  margin-top: 22px;
  flex-shrink: 0;
}
.why-rf {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(0,212,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 20px;
}
.why-label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  margin-right: 6px;
}
.why-tag {
  font-size: 12px;
  color: var(--text-muted);
  background: rgba(0,212,255,0.08);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
}

/* ============================================================
   SLIDE 8 — KEY FEATURES
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}
.feat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 16px;
  transition: all 0.2s ease;
  position: relative;
}
.feat-card:hover {
  border-color: var(--border-mid);
  transform: translateY(-3px);
}
.feat-primary {
  grid-row: 1 / 3;
  background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(0,102,255,0.08));
  border-color: rgba(0,212,255,0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feat-icon-large { font-size: 36px; margin-bottom: 12px; }
.feat-primary h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 8px;
}
.feat-primary p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.feat-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--cyan);
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 100px;
  padding: 3px 10px;
}
.feat-icon { font-size: 22px; margin-bottom: 8px; }
.feat-card h3 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}
.feat-card p { font-size: 11.5px; color: var(--text-muted); line-height: 1.4; }

/* ============================================================
   SLIDE 9 — SCREENSHOTS
   ============================================================ */
.screenshots-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
  margin-bottom: 14px;
}
.screenshot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.screenshot-card:hover { border-color: var(--border-mid); }
.ss-main { grid-row: 1 / 3; }
.ss-placeholder {
  height: 100%;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: repeating-linear-gradient(
    45deg,
    rgba(0,212,255,0.02),
    rgba(0,212,255,0.02) 10px,
    transparent 10px,
    transparent 20px
  );
  border: 2px dashed rgba(0,212,255,0.2);
  border-radius: 12px;
  gap: 8px;
  text-align: center;
}
.ss-main .ss-placeholder { min-height: 260px; }
.ss-icon { font-size: 28px; }
.ss-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.ss-hint { font-size: 10.5px; color: var(--text-dim); }
.ss-note {
  background: rgba(0,212,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 12.5px;
  color: var(--text-muted);
}
.ss-note code {
  background: rgba(0,212,255,0.1);
  color: var(--cyan);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* ============================================================
   SLIDE 10 — RESULTS
   ============================================================ */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 14px;
  position: relative;
  overflow: hidden;
}
.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}
.r-diabetes::before { background: linear-gradient(90deg, var(--cyan), transparent); }
.r-heart::before    { background: linear-gradient(90deg, var(--red), transparent); }
.r-kidney::before   { background: linear-gradient(90deg, #6699ff, transparent); }
.r-alz::before      { background: linear-gradient(90deg, var(--purple), transparent); }
.result-disease {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 6px;
}
.result-model-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.result-metrics { display: flex; flex-direction: column; gap: 6px; }
.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: var(--text-muted);
  padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.metric-row.highlight-row {
  border-bottom: none;
  padding-top: 6px;
}
.metric-val { font-weight: 600; color: var(--text-white); font-size: 11px; }
.cyan-val   { color: var(--cyan) !important; }
.red-val    { color: var(--red) !important; }
.blue-val   { color: #6699ff !important; }
.purple-val { color: var(--purple) !important; }
.key-finding {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(0,212,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.finding-icon { font-size: 18px; flex-shrink: 0; }
.key-finding strong { color: var(--cyan); }

/* ============================================================
   SLIDE 11 — CHALLENGES & LEARNINGS
   ============================================================ */
.cl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cl-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.challenges-section { border-color: rgba(255,71,87,0.2); }
.learnings-section  { border-color: rgba(0,255,136,0.2); }
.cl-heading {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 16px;
}
.cl-items { display: flex; flex-direction: column; gap: 12px; }
.cl-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.cl-bullet { font-size: 14px; flex-shrink: 0; margin-top: 2px; }
.cl-item strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  display: block;
  margin-bottom: 3px;
}
.cl-item p { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

/* ============================================================
   SLIDE 12 — CONCLUSION
   ============================================================ */
.conclusion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
.conclusion-left, .conclusion-right {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.conclusion-left { border-color: rgba(0,255,136,0.2); }
.conclusion-right { border-color: rgba(0,102,255,0.2); }
.conc-heading {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 14px;
}
.conc-points { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.conc-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}
.conc-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.impact-quote {
  font-family: var(--font-display);
  font-size: 13px;
  font-style: italic;
  color: var(--cyan);
  border-left: 3px solid var(--cyan);
  padding-left: 12px;
  line-height: 1.5;
}
.future-items { display: flex; flex-direction: column; gap: 10px; }
.future-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.future-num {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: rgba(0,102,255,0.4);
  min-width: 28px;
  line-height: 1;
}
.future-item strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-white);
  display: block;
  margin-bottom: 2px;
}
.future-item p { font-size: 11.5px; color: var(--text-muted); line-height: 1.4; }
.final-cta {
  background: rgba(10,22,40,0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 24px;
  backdrop-filter: blur(8px);
}
.cta-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.4);
  color: var(--cyan);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.cta-btn:hover {
  background: rgba(0,212,255,0.2);
  box-shadow: 0 0 16px rgba(0,212,255,0.3);
}
.cta-divider { color: var(--text-dim); }
.cta-text { font-size: 12.5px; color: var(--text-muted); }

/* ============================================================
   SCRIPTS MODAL
   ============================================================ */
.scripts-btn {
  position: fixed;
  top: 20px;
  right: 80px;
  background: rgba(10,22,40,0.9);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 200;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.scripts-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.scripts-modal {
  position: fixed;
  inset: 0;
  background: rgba(5,10,20,0.95);
  z-index: 500;
  display: none;
  overflow-y: auto;
  backdrop-filter: blur(12px);
}
.scripts-modal.open { display: block; }
.scripts-content {
  max-width: 800px;
  margin: 60px auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}
.scripts-content h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 28px;
}
.scripts-close {
  position: absolute;
  top: 20px; right: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
}
.scripts-close:hover { border-color: var(--red); color: var(--red); }
.script-section { margin-bottom: 28px; }
.script-section h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.script-text p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}
.script-text strong { color: var(--text-white); }

/* ============================================================
   NOTES TOGGLE BUTTON
   ============================================================ */
.notes-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(10,22,40,0.9);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  z-index: 200;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}
.notes-btn:hover { border-color: var(--cyan); color: var(--cyan); }

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--border-mid); border-radius: 3px; }