:root {
  --ink-dark: #070b14;
  --ink-dark-2: #0d1426;
  --ink-light: #0b1220;
  --ink-muted-dark: #cbd5e1;
  --ink-muted-light: #334155;

  --surface-light: #f8fafc;
  --surface-card-light: #ffffff;
  --border-light: rgba(15, 23, 42, 0.1);

  --surface-glass: rgba(255, 255, 255, 0.055);
  --border-glass: rgba(255, 255, 255, 0.13);

  --cyan: #38bdf8;
  --blue: #2563eb;
  --indigo: #6366f1;
  --violet: #a78bfa;
  --emerald: #10b981;
  --emerald-bright: #34d399;
  --amber: #f59e0b;
  --coral: #f43f5e;
  --red: #ef4444;

  --font-body: "Heebo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Rubik", "Heebo", sans-serif;

  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: var(--ink-dark);
}

body {
  font-family: var(--font-body);
  color: #ffffff;
  background: var(--ink-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =========================================================
   DECK & SCROLL-SNAP
   ========================================================= */
.deck {
  height: 100dvh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.slide {
  position: relative;
  min-height: 100dvh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(3.5rem, 6vh, 5rem) clamp(1.5rem, 5vw, 5.5rem) clamp(5rem, 8vh, 6rem);
  overflow: hidden;
}

.slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 2.8vh, 2.25rem);
}

.slide-inner--narrow {
  max-width: 1020px;
  align-items: center;
  text-align: center;
}

.slide--centered {
  text-align: center;
}

/* =========================================================
   THEMES & PRISM BACKGROUNDS
   ========================================================= */
.slide--dark {
  background: radial-gradient(circle at 80% 15%, #13203d 0%, #070b14 62%);
  color: #ffffff;
}

.slide--broken {
  background: radial-gradient(circle at 22% 25%, #2b0f1b 0%, #090b14 60%);
}

.slide--prism {
  background:
    radial-gradient(circle at 20% 20%, rgba(56, 189, 248, 0.32) 0%, transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(52, 211, 153, 0.28) 0%, transparent 48%),
    radial-gradient(circle at 55% 45%, rgba(129, 140, 248, 0.34) 0%, transparent 55%),
    linear-gradient(135deg, #070b18 0%, #0f1b38 52%, #081c28 100%);
  color: #ffffff;
}

.slide--light {
  background:
    radial-gradient(circle at 88% 12%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 12% 88%, rgba(99, 102, 241, 0.07) 0%, transparent 42%),
    var(--surface-light);
  color: var(--ink-light);
}

.slide--finale {
  background:
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.1) 0%, transparent 42%),
    radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.12) 0%, transparent 45%),
    #ffffff;
  color: var(--ink-light);
}

.prism-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.prism-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  transform: translate3d(0, 0, 0);
}

.prism-orb--1 {
  width: 38vw;
  height: 38vw;
  top: -12vw;
  left: -8vw;
  background: rgba(56, 189, 248, 0.32);
}

.prism-orb--2 {
  width: 32vw;
  height: 32vw;
  bottom: -10vw;
  right: -6vw;
  background: rgba(99, 102, 241, 0.32);
}

.prism-orb--3 {
  width: 42vw;
  height: 42vw;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(37, 99, 235, 0.22);
}

.prism-orb--coral {
  width: 46vw;
  height: 46vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(244, 63, 94, 0.2);
}

.prism-orb--crimson {
  width: 50vw;
  height: 50vw;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(239, 68, 68, 0.22);
}

.prism-beam {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    115deg,
    transparent 42%,
    rgba(56, 189, 248, 0.06) 49%,
    rgba(167, 139, 250, 0.08) 51%,
    rgba(52, 211, 153, 0.05) 53%,
    transparent 60%
  );
  transform: rotate(-4deg);
}

.fracture-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(244, 63, 94, 0.45) 35%,
    rgba(244, 63, 94, 0.85) 50%,
    rgba(244, 63, 94, 0.35) 65%,
    transparent 100%
  );
  transform: rotate(14deg);
  filter: drop-shadow(0 0 18px rgba(244, 63, 94, 0.7));
  opacity: 0.55;
}

.prism-ray {
  position: absolute;
  width: 140%;
  height: 160px;
  left: -20%;
  filter: blur(42px);
  opacity: 0.32;
  animation: rayFloat 14s ease-in-out infinite alternate;
}

.prism-ray--1 {
  top: 20%;
  background: linear-gradient(90deg, transparent, #38bdf8, transparent);
  transform: rotate(-12deg);
}

.prism-ray--2 {
  top: 48%;
  background: linear-gradient(90deg, transparent, #a78bfa, transparent);
  transform: rotate(8deg);
  animation-delay: -4s;
}

.prism-ray--3 {
  top: 72%;
  background: linear-gradient(90deg, transparent, #34d399, transparent);
  transform: rotate(-6deg);
  animation-delay: -8s;
}

@keyframes rayFloat {
  from {
    transform: translateY(-18px) rotate(-8deg);
  }
  to {
    transform: translateY(18px) rotate(-4deg);
  }
}

/* =========================================================
   TYPOGRAPHY — LARGE, BOLD, CRYSTAL CLEAR
   ========================================================= */
.eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #e0f2fe;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.eyebrow--light {
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.09);
  border-color: rgba(37, 99, 235, 0.24);
}

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.75rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.slide-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.4vw, 3.85rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.slide-title--dark {
  color: var(--ink-light);
}

.lead-question {
  font-size: clamp(1.35rem, 2.35vw, 2.15rem);
  font-weight: 700;
  line-height: 1.35;
  color: #7dd3fc;
  max-width: 960px;
}

/* =========================================================
   SLIDE 1: 2x2 GLASS CARDS
   ========================================================= */
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.65rem);
  margin-top: 0.5rem;
}

.glass-card {
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: clamp(1.35rem, 2.4vw, 2.15rem);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), background 0.35s var(--ease-out);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.085);
}

.glass-card--highlight {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.16), rgba(56, 189, 248, 0.12));
  border-color: rgba(52, 211, 153, 0.42);
}

.card-text {
  font-size: clamp(1.2rem, 1.9vw, 1.68rem);
  font-weight: 500;
  line-height: 1.45;
  color: #f1f5f9;
}

.card-text strong {
  font-weight: 800;
}

.accent-cyan { color: #38bdf8; }
.accent-amber { color: #fbbf24; }
.accent-coral { color: #fb7185; }
.accent-emerald { color: #34d399; }

/* =========================================================
   SLIDE 2: TRAFFIC LIGHT + AIAS
   ========================================================= */
.models-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
  align-items: stretch;
}

.model-panel {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  background: var(--surface-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 2.6vw, 2.25rem);
  backdrop-filter: blur(14px);
}

.panel-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  font-weight: 800;
  color: #ffffff;
}

.traffic-list,
.aias-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
  justify-content: center;
}

.traffic-item {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  width: 100%;
  text-align: right;
  font-family: inherit;
  font-size: clamp(1.25rem, 1.95vw, 1.7rem);
  font-weight: 500;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.25rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.traffic-dot {
  width: clamp(1.6rem, 2.4vw, 2.2rem);
  height: clamp(1.6rem, 2.4vw, 2.2rem);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.traffic-item--red .traffic-dot { background: #ef4444; }
.traffic-item--yellow .traffic-dot { background: #f59e0b; }
.traffic-item--green .traffic-dot { background: #22c55e; }

.traffic-item--red:hover,
.traffic-item--red.is-active {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.6);
}
.traffic-item--red.is-active .traffic-dot {
  box-shadow: 0 0 24px rgba(239, 68, 68, 0.9);
  transform: scale(1.1);
}

.traffic-item--yellow:hover,
.traffic-item--yellow.is-active {
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(245, 158, 11, 0.6);
}
.traffic-item--yellow.is-active .traffic-dot {
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.9);
  transform: scale(1.1);
}

.traffic-item--green:hover,
.traffic-item--green.is-active {
  background: rgba(34, 197, 94, 0.14);
  border-color: rgba(34, 197, 94, 0.6);
}
.traffic-item--green.is-active .traffic-dot {
  box-shadow: 0 0 24px rgba(34, 197, 94, 0.9);
  transform: scale(1.1);
}

.aias-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-align: right;
  font-family: inherit;
  font-size: clamp(1.15rem, 1.75vw, 1.55rem);
  font-weight: 700;
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 0.68rem 1.1rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s;
}

.aias-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
  background: rgba(56, 189, 248, 0.18);
  color: #7dd3fc;
}

.aias-item:hover,
.aias-item.is-active {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.65);
  transform: translateX(-4px);
}

.aias-item.is-active .aias-num {
  background: #38bdf8;
  color: #070b14;
}

.panel-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: clamp(1.15rem, 1.65vw, 1.48rem);
  font-weight: 700;
  color: #93c5fd;
}

.check-icon {
  width: 1.75rem;
  height: 1.75rem;
  color: #3b82f6;
  flex-shrink: 0;
}

.citation {
  font-size: clamp(0.92rem, 1.2vw, 1.12rem);
  color: #94a3b8;
  text-align: center;
}

.citation--light {
  color: #475569;
}

.citation a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid rgba(37, 99, 235, 0.35);
}

.citation a:hover {
  border-bottom-color: #2563eb;
}

/* =========================================================
   SLIDE 3: AI-PROOF ILLUSION
   ========================================================= */
.illusion-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: #e2e8f0;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.strike-pill {
  position: relative;
  color: #fda4af;
  font-family: var(--font-display);
  font-weight: 900;
}

.strike-pill::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  top: 54%;
  height: 4px;
  border-radius: 999px;
  background: #f43f5e;
  transform: rotate(-5deg);
  box-shadow: 0 0 14px rgba(244, 63, 94, 0.85);
}

.hero-statement {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.2vw, 6.2rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #ffffff 30%, #cbd5e1 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1.4rem, 2.5vw, 2.25rem);
  font-weight: 500;
  line-height: 1.48;
  color: #cbd5e1;
  max-width: 880px;
}

/* =========================================================
   SLIDE 4: IS BROKEN
   ========================================================= */
.broken-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35em;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 7.6vw, 6.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: #ffffff;
}

.broken-en {
  color: #fb7185;
  text-shadow: 0 0 42px rgba(244, 63, 94, 0.55);
}

.broken-points {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.5rem;
}

.broken-point {
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  font-weight: 600;
  line-height: 1.38;
  color: #cbd5e1;
}

.broken-point--strong {
  font-weight: 800;
  color: #ffffff;
}

.help-row {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1rem;
}

.help-question {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.85rem);
  font-weight: 900;
  color: #ffffff;
}

.help-pill {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  font-weight: 900;
  color: #ffffff;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  padding: 0.45rem 1.75rem;
  border-radius: 999px;
  box-shadow: 0 0 36px rgba(244, 63, 94, 0.55);
  animation: pulseHelp 2.6s ease-in-out infinite;
}

@keyframes pulseHelp {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 28px rgba(244, 63, 94, 0.48);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 48px rgba(244, 63, 94, 0.8);
  }
}

/* =========================================================
   SLIDE 5: PRISM PIVOT
   ========================================================= */
.prism-diamond {
  width: clamp(74px, 9vw, 114px);
  height: clamp(74px, 9vw, 114px);
  filter: drop-shadow(0 0 28px rgba(56, 189, 248, 0.45));
}

.pivot-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.9rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 12px 44px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   SLIDE 6: SOLUTION 1
   ========================================================= */
.question-banner {
  font-size: clamp(1.35rem, 2.25vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
  color: #1e3a8a;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.09), rgba(56, 189, 248, 0.12));
  border-right: 6px solid var(--blue);
  border-radius: var(--radius-md);
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 2rem);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
}

.pillar-card {
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 2.2rem);
  border: 1.5px solid var(--border-light);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.pillar-card--core {
  background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
  border-color: rgba(37, 99, 235, 0.25);
}

.pillar-card--applied {
  background: linear-gradient(145deg, #ffffff 0%, #ecfdf5 100%);
  border-color: rgba(16, 185, 129, 0.28);
}

.pillar-text {
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  font-weight: 500;
  line-height: 1.42;
  color: var(--ink-light);
}

.pillar-card--core strong {
  color: #1d4ed8;
  font-weight: 900;
}

.pillar-card--applied strong {
  color: #047857;
  font-weight: 900;
}

.takeaways {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.takeaway-row {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(0.95rem, 1.8vw, 1.35rem) clamp(1.25rem, 2.2vw, 1.8rem);
  font-size: clamp(1.18rem, 1.8vw, 1.62rem);
  font-weight: 500;
  line-height: 1.45;
  color: #1e293b;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}

.takeaway-row strong {
  color: var(--ink-light);
  font-weight: 800;
}

/* =========================================================
   SLIDE 7: 4 ALTERNATIVES
   ========================================================= */
.alt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.85rem);
}

.alt-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  background: #ffffff;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 2.8vw, 2.35rem);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}

.alt-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 20px 44px rgba(37, 99, 235, 0.11);
}

.alt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.alt-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.85rem);
  font-weight: 900;
  line-height: 1;
  color: var(--blue);
}

.alt-icon {
  width: clamp(3rem, 4.4vw, 3.85rem);
  height: clamp(3rem, 4.4vw, 3.85rem);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0b1220, #1e293b);
  color: #ffffff;
}

.alt-icon svg {
  width: 56%;
  height: 56%;
}

.alt-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
  font-weight: 800;
  color: var(--ink-light);
  line-height: 1.15;
}

.alt-desc {
  font-size: clamp(1.22rem, 1.85vw, 1.65rem);
  font-weight: 500;
  line-height: 1.42;
  color: #334155;
}

/* =========================================================
   SLIDE 8: INTERACTIVE 2x2 MATRIX
   ========================================================= */
.matrix-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  width: 100%;
  max-width: 980px;
  margin-inline: auto;
}

.matrix-axis-top,
.matrix-axis-bottom,
.matrix-axis-side {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.1vw, 1.9rem);
  font-weight: 800;
  color: #1e293b;
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.05);
  transition: background 0.25s, color 0.25s, transform 0.25s;
}

.matrix-axis-top.is-lit,
.matrix-axis-bottom.is-lit,
.matrix-axis-side.is-lit {
  background: #2563eb;
  color: #ffffff;
  transform: scale(1.04);
}

.matrix-middle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.75rem);
  width: 100%;
}

.matrix-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.35rem);
}

.matrix-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: clamp(135px, 21vh, 210px);
  padding: clamp(1.1rem, 2vw, 1.85rem);
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 2px solid var(--border-light);
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
  transition: transform 0.28s var(--ease-out), border-color 0.28s, box-shadow 0.28s, background 0.28s;
}

.matrix-cell:hover,
.matrix-cell.is-active {
  transform: translateY(-4px);
  border-color: #2563eb;
  background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.15);
}

.matrix-tag {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.15vw, 1.95rem);
  font-weight: 800;
  color: var(--ink-light);
}

.matrix-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
  font-size: clamp(1.08rem, 1.55vw, 1.42rem);
  font-weight: 800;
  background: #e2e8f0;
  color: #0f172a;
}

.matrix-pill--ai {
  background: linear-gradient(135deg, #2563eb, #10b981);
  color: #ffffff;
}

/* =========================================================
   SLIDE 9: ROADMAP FINALE
   ========================================================= */
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.15rem, 2.2vw, 1.85rem);
  margin-top: 0.5rem;
}

.roadmap-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  background: #f8fafc;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(1.6rem, 2.8vw, 2.4rem);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}

.roadmap-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.09);
}

.roadmap-step--accent {
  background: linear-gradient(155deg, #0b1220 0%, #172554 100%);
  border-color: rgba(56, 189, 248, 0.35);
  color: #ffffff;
}

.step-num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #2563eb, #10b981);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.roadmap-step--accent .step-num {
  background: linear-gradient(135deg, #38bdf8, #34d399);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step-text {
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  font-weight: 500;
  line-height: 1.48;
  color: #1e293b;
}

.step-text strong {
  display: block;
  font-size: clamp(1.42rem, 2.2vw, 1.95rem);
  font-weight: 900;
  color: var(--ink-light);
  margin-bottom: 0.45rem;
}

.roadmap-step--accent .step-text {
  color: #e2e8f0;
}

.roadmap-step--accent .step-text strong {
  color: #ffffff;
}

/* =========================================================
   PROGRESS BAR, HUD & DOT NAV
   ========================================================= */
.progress-track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(148, 163, 184, 0.2);
  z-index: 50;
}

.progress-fill {
  height: 100%;
  width: 11.11%;
  background: linear-gradient(90deg, #38bdf8, #6366f1, #10b981);
  transition: width 0.4s var(--ease-out);
}

.hud {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  color: #ffffff;
}

.hud-group {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hud-btn {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hud-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hud-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.hud-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-compress {
  display: none;
}

body.is-fullscreen .icon-expand {
  display: none;
}

body.is-fullscreen .icon-compress {
  display: block;
}

.hud-counter {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  min-width: 3.4rem;
  text-align: center;
  letter-spacing: 0.04em;
  direction: ltr;
}

.dot-nav {
  position: fixed;
  left: 1.35rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.dot-btn {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(148, 163, 184, 0.45);
  transition: height 0.3s var(--ease-out), background 0.3s, transform 0.2s;
}

.dot-btn:hover {
  background: #38bdf8;
  transform: scale(1.2);
}

.dot-btn.is-active {
  height: 28px;
  background: linear-gradient(180deg, #38bdf8, #6366f1);
}

/* =========================================================
   ENTRANCE ANIMATIONS
   ========================================================= */
.reveal,
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.slide.is-visible .reveal,
.slide.is-visible .reveal-stagger > * {
  opacity: 1;
  transform: translateY(0);
}

.slide.is-visible .reveal-stagger > *:nth-child(1) { transition-delay: 0.08s; }
.slide.is-visible .reveal-stagger > *:nth-child(2) { transition-delay: 0.16s; }
.slide.is-visible .reveal-stagger > *:nth-child(3) { transition-delay: 0.24s; }
.slide.is-visible .reveal-stagger > *:nth-child(4) { transition-delay: 0.32s; }

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 960px) {
  .grid-2x2,
  .models-grid,
  .pillars-grid,
  .alt-grid,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .slide {
    align-items: flex-start;
    padding-top: 3.5rem;
    padding-bottom: 6.25rem;
  }

  .slide--centered {
    align-items: center;
  }

  .dot-nav {
    display: none;
  }

  .matrix-middle {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .matrix-axis-side {
    justify-self: center;
  }
}

@media (max-width: 560px) {
  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .matrix-cell {
    min-height: 112px;
  }

  .hud {
    bottom: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
