:root {
  color-scheme: dark;
  --bg: #090514;
  --bg-radial: radial-gradient(circle at 50% 0%, #1f113d 0%, #0c071a 50%, #06030c 100%);
  --purple: #6933FF;
  --purple-hover: #7E4DFF;
  --purple-light: #9670FF;
  --purple-glow: rgba(105, 51, 255, 0.45);
  --lime: #C9FF33;
  --lime-hover: #D5FF5C;
  --lime-glow: rgba(201, 255, 51, 0.35);
  --cyan: #00D6B9;
  --blue: #3B82F6;
  --gold: #F59E0B;
  --panel: rgba(20, 13, 38, 0.72);
  --panel-card: rgba(26, 17, 49, 0.85);
  --panel-hover: rgba(36, 24, 68, 0.95);
  --line: rgba(150, 112, 255, 0.22);
  --line-strong: rgba(150, 112, 255, 0.45);
  --text: #F8F7FF;
  --muted: #A39BBF;
  --subtle: #6D6588;
  --danger-bg: rgba(239, 68, 68, 0.08);
  --danger-border: rgba(239, 68, 68, 0.25);
  --danger-text: #FCA5A5;
  --solution-bg: rgba(105, 51, 255, 0.12);
  --solution-border: rgba(150, 112, 255, 0.35);
  --slide-pad: clamp(3rem, 6vw, 7.5rem);
  --font-main: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-heading: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
  --font-mono: "DM Mono", monospace;
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 15%, rgba(105, 51, 255, 0.16), transparent 36rem),
    radial-gradient(circle at 85% 75%, rgba(201, 255, 51, 0.08), transparent 36rem),
    radial-gradient(circle at 50% 50%, rgba(150, 112, 255, 0.06), transparent 48rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

button, a {
  font: inherit;
}

button {
  color: inherit;
}

/* Ambient Glow Lights */
.ambient {
  position: fixed;
  z-index: 0;
  width: 42rem;
  height: 42rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(120px);
  opacity: 0.15;
}

.ambient-one {
  top: -12rem;
  left: -12rem;
  background: var(--purple);
}

.ambient-two {
  bottom: -15rem;
  right: -12rem;
  background: var(--lime);
  opacity: 0.09;
}

.ambient-three {
  top: 45%;
  right: 15%;
  background: var(--purple-light);
  opacity: 0.08;
}

/* Topbar Header */
.topbar {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--slide-pad);
  background: rgba(10, 6, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 18px var(--purple-glow);
  background: transparent;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 0 24px rgba(105, 51, 255, 0.7);
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-name strong {
  color: var(--text);
  font-weight: 800;
}

.brand-name {
  color: var(--muted);
  font-weight: 500;
}

.topbar-actions {
  display: inline-flex;
  gap: 0.65rem;
}

.icon-button {
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: rgba(26, 17, 49, 0.6);
  backdrop-filter: blur(10px);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-button:hover {
  border-color: var(--purple-light);
  background: rgba(105, 51, 255, 0.25);
  color: var(--text);
  box-shadow: 0 0 16px var(--purple-glow);
  transform: translateY(-1px);
}

/* Presentation Container */
#presentation {
  position: relative;
  z-index: 1;
}

/* Slide Base */
.slide {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: 6.5rem var(--slide-pad) 4.5rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  isolation: isolate;
  overflow: hidden;
}

.slide::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(150, 112, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 112, 255, 0.08) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 80%);
}

.slide-shell {
  width: min(100%, 86rem);
  margin: 0 auto;
}

.section-marker {
  position: absolute;
  right: var(--slide-pad);
  bottom: 2rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-marker::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--purple-light);
  box-shadow: 0 0 8px var(--purple);
}

/* Typography & Badges */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--lime);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(201, 255, 51, 0.1);
  border: 1px solid rgba(201, 255, 51, 0.25);
}

h1, h2, h3 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0;
}

/* Slide 1: Cover / Intro */
.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  background: rgba(105, 51, 255, 0.15);
  border: 1px solid rgba(150, 112, 255, 0.35);
  color: var(--purple-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

.intro-badge .live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 10px var(--lime);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.intro-grid h1 {
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  line-height: 1.12;
  margin-bottom: 1.4rem;
  background: linear-gradient(135deg, #FFFFFF 30%, #DFDEE6 70%, #9670FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro-grid .highlight-text {
  color: var(--lime);
  -webkit-text-fill-color: var(--lime);
}

.intro-grid .lede {
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.65;
  color: var(--muted);
  max-width: 38rem;
  margin-bottom: 2rem;
}

.stats-bar {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}

.stat-pill {
  flex: 1;
  padding: 1rem 1.2rem;
  border-radius: 1.1rem;
  background: rgba(22, 14, 43, 0.7);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.stat-pill:hover {
  border-color: var(--purple-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--purple-glow);
}

.stat-pill strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  line-height: 1.1;
  color: var(--lime);
  font-weight: 800;
}

.stat-pill span {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.prompt {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 1.2rem;
  border-radius: 9999px;
  background: rgba(105, 51, 255, 0.15);
  border: 1px solid rgba(150, 112, 255, 0.3);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
}

.prompt .key {
  display: inline-grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 0 12px var(--purple-glow);
}

.intro-visual {
  position: relative;
  min-height: 28rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-frame-glow {
  position: absolute;
  inset: -1.5rem;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 70%);
  filter: blur(30px);
  z-index: 0;
  border-radius: 3rem;
  animation: auraBreath 6s ease-in-out infinite alternate;
}

@keyframes auraBreath {
  0% { opacity: 0.6; transform: scale(0.96); }
  100% { opacity: 1; transform: scale(1.04); }
}

.intro-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/3;
  max-width: 32rem;
  overflow: hidden;
  border: 1px solid rgba(201, 255, 51, 0.35);
  border-radius: 2.2rem;
  background: linear-gradient(145deg, #FFFFFF, #F1EEFF);
  box-shadow:
    0 2.5rem 6rem rgba(0, 0, 0, 0.6),
    0 0 32px rgba(105, 51, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
  transition: transform 0.4s ease;
}

.intro-frame:hover {
  transform: translateY(-4px) scale(1.02);
}

.intro-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Slide 2: Ecosystem Map */
.map-slide .slide-shell {
  max-width: 86rem;
}

.map-header {
  text-align: center;
  margin-bottom: 2.8rem;
}

.map-header h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin-top: 0.5rem;
}

.map-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.map-card {
  padding: 2rem;
  border-radius: 1.6rem;
  background: var(--panel-card);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.map-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--lime));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.map-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px var(--purple-glow);
}

.map-card:hover::before {
  opacity: 1;
}

.map-card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.6rem;
}

.map-card-num {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--lime);
  padding: 0.3rem 0.65rem;
  border-radius: 0.6rem;
  background: rgba(201, 255, 51, 0.12);
  border: 1px solid rgba(201, 255, 51, 0.25);
}

.map-card-head h3 {
  font-size: 1.25rem;
  color: var(--text);
}

.map-pill-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.map-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  background: rgba(14, 9, 28, 0.65);
  border: 1px solid rgba(150, 112, 255, 0.14);
  text-decoration: none;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.map-pill:hover {
  background: rgba(105, 51, 255, 0.22);
  border-color: var(--purple-light);
  transform: translateX(4px);
  color: #fff;
}

.map-pill .tag {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--muted);
  text-transform: uppercase;
}

/* Product Story Slide Layout */
.product-layout {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 3.5rem;
  align-items: center;
}

.product-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.type-chip {
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  background: rgba(105, 51, 255, 0.2);
  border: 1px solid var(--purple-light);
  color: #C0A8FF;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.progress-chip {
  padding: 0.3rem 0.85rem;
  border-radius: 9999px;
  background: rgba(201, 255, 51, 0.12);
  border: 1px solid rgba(201, 255, 51, 0.3);
  color: var(--lime);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.product-title {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
  color: #FFFFFF;
}

.domain-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: 0.75rem;
  background: rgba(14, 9, 28, 0.75);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  text-decoration: none;
  margin-bottom: 1.4rem;
  transition: all 0.2s ease;
}

.domain-chip:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-1px);
}

.definition {
  padding: 1.1rem 1.4rem;
  border-radius: 1.2rem;
  background: rgba(26, 17, 49, 0.65);
  border-left: 3px solid var(--purple-light);
  margin-bottom: 1.3rem;
}

.definition span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--purple-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.definition p {
  margin: 0;
  font-size: 1.02rem;
  color: #E2DEF0;
  line-height: 1.55;
}

.statement-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.statement {
  padding: 1.2rem 1.3rem;
  border-radius: 1.2rem;
  backdrop-filter: blur(10px);
}

.statement span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.statement p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.statement.problem {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
}

.statement.problem span {
  color: #F87171;
}

.statement.problem p {
  color: #E6D2D4;
}

.statement.solution {
  background: var(--solution-bg);
  border: 1px solid var(--solution-border);
}

.statement.solution span {
  color: var(--lime);
}

.statement.solution p {
  color: #E0DAF5;
}

/* Media Showcase Frame */
.media-wrap {
  position: relative;
}

.media-frame {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(22rem, 50vh, 34rem);
  border: 1px solid var(--line-strong);
  border-radius: 2rem;
  background: linear-gradient(160deg, #160D2E 0%, #0D071B 100%);
  box-shadow:
    0 2.5rem 6rem rgba(0, 0, 0, 0.5),
    0 0 32px rgba(105, 51, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.media-frame:hover {
  transform: translateY(-3px);
  box-shadow:
    0 3rem 7rem rgba(0, 0, 0, 0.6),
    0 0 40px rgba(105, 51, 255, 0.35);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 1.8rem;
  transition: transform 0.35s ease;
}

.media-frame:hover img {
  transform: scale(1.02);
}

.media-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding-inline: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

.media-caption span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime);
}

/* Slide Product Flow */
.flow-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: start;
}

.flow-title {
  font-size: clamp(2rem, 3.2vw, 2.9rem);
  margin-bottom: 1.4rem;
  color: #FFFFFF;
}

.flow-cards {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.6rem;
}

.flow-info-card {
  padding: 1.3rem 1.5rem;
  border-radius: 1.3rem;
  background: var(--panel-card);
  border: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.card-label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--lime);
}

.flow-info-card p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.55;
  color: #DFDEE6;
}

/* PO Contact Card & Lark Button */
.po-card {
  padding: 1.3rem 1.5rem;
  border-radius: 1.3rem;
  background: linear-gradient(145deg, rgba(32, 20, 64, 0.9), rgba(18, 11, 38, 0.9));
  border: 1px solid rgba(150, 112, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.po-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.po-avatar {
  display: inline-grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  min-width: 3.2rem;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  border: 2px solid rgba(201, 255, 51, 0.65);
  box-shadow: 0 0 18px var(--purple-glow);
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}

.po-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.po-details strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
}

.po-details span {
  font-size: 0.8rem;
  color: var(--muted);
}

.po-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.lark-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, #6933FF, #00D6B9);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0, 214, 185, 0.25);
  transition: all 0.2s ease;
}

.lark-button:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 22px rgba(0, 214, 185, 0.45);
  color: #FFFFFF;
}

.email-link {
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-mono);
  padding: 0.45rem 0.8rem;
  border-radius: 0.65rem;
  background: rgba(14, 9, 28, 0.5);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}

.email-link:hover {
  color: var(--lime);
  border-color: var(--lime);
}

.open-app-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--purple), #8B5CF6);
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 6px 24px var(--purple-glow);
  transition: all 0.25s ease;
}

.open-app-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(105, 51, 255, 0.6);
  background: linear-gradient(135deg, var(--purple-hover), #9D74FF);
}

/* 5 Steps Interactive Roadmap */
.steps-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.step-card {
  display: flex;
  gap: 1.2rem;
  padding: 1.15rem 1.35rem;
  border-radius: 1.25rem;
  background: var(--panel-card);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: all 0.25s ease;
  position: relative;
}

.step-card:hover {
  border-color: var(--purple-light);
  transform: translateX(4px);
  background: var(--panel-hover);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  min-width: 2.2rem;
  border-radius: 50%;
  background: rgba(105, 51, 255, 0.2);
  border: 1px solid rgba(201, 255, 51, 0.4);
  color: var(--lime);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
}

.step-text {
  font-size: 0.94rem;
  color: #E2DEF0;
  line-height: 1.5;
  margin: 0;
  align-self: center;
}

/* Slide Closing */
.closing-slide {
  text-align: center;
}

.closing-slide .slide-shell {
  max-width: 54rem;
}

.closing-title {
  font-size: clamp(2.3rem, 4.2vw, 3.8rem);
  line-height: 1.15;
  margin: 0.8rem 0 1.4rem;
  background: linear-gradient(135deg, #FFFFFF, #DFDEE6 60%, #9670FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.closing-slide .lede {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.closing-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.closing-btn {
  padding: 0.9rem 1.8rem;
  border-radius: 9999px;
  background: rgba(26, 17, 49, 0.85);
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.closing-btn:hover {
  background: var(--purple);
  border-color: var(--purple-light);
  box-shadow: 0 0 24px var(--purple-glow);
  transform: translateY(-2px);
}

.closing-btn.primary {
  background: linear-gradient(135deg, var(--purple), #8B5CF6);
  border-color: rgba(201, 255, 51, 0.4);
  color: #fff;
}

/* Floating Navigation Rail */
.rail {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.rail-progress {
  width: 3px;
  height: 6rem;
  border-radius: 9999px;
  background: rgba(150, 112, 255, 0.2);
  overflow: hidden;
  position: relative;
}

#railProgress {
  display: block;
  width: 100%;
  background: linear-gradient(180deg, var(--purple), var(--lime));
  transition: height 0.25s ease;
}

.rail-counter {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rail-counter strong {
  color: var(--lime);
  font-size: 1rem;
}

.rail-arrow {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(22, 14, 43, 0.8);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rail-arrow:hover:not(:disabled) {
  border-color: var(--purple-light);
  background: var(--purple);
  box-shadow: 0 0 16px var(--purple-glow);
  transform: scale(1.1);
}

.rail-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Overview Modal Dialog */
.overview {
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 2rem;
  background: rgba(15, 9, 31, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  color: var(--text);
  max-width: 58rem;
  width: 90vw;
  max-height: 85vh;
  box-shadow: 0 3rem 8rem rgba(0, 0, 0, 0.7), 0 0 40px var(--purple-glow);
}

.overview::backdrop {
  background: rgba(5, 3, 10, 0.8);
  backdrop-filter: blur(8px);
}

.overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.8rem 2.2rem;
  border-bottom: 1px solid var(--line);
}

.overview-head h2 {
  font-size: 1.5rem;
  margin-top: 0.3rem;
}

.dialog-close {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(26, 17, 49, 0.8);
  color: var(--muted);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dialog-close:hover {
  color: #fff;
  border-color: var(--purple-light);
  background: var(--purple);
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0.85rem;
  padding: 2rem 2.2rem;
  overflow-y: auto;
  max-height: calc(85vh - 7rem);
}

.overview-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: 1rem;
  background: rgba(26, 17, 49, 0.6);
  border: 1px solid var(--line);
  text-align: left;
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
}

.overview-item:hover {
  border-color: var(--lime);
  background: rgba(105, 51, 255, 0.22);
  transform: translateY(-2px);
}

.overview-item span {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--lime);
  font-weight: 700;
}

.overview-item strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: #FFFFFF;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(2rem);
  z-index: 50;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  background: rgba(26, 17, 49, 0.95);
  border: 1px solid var(--purple-light);
  box-shadow: 0 0 24px var(--purple-glow);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Animations & Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active .reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .intro-grid,
  .product-layout,
  .flow-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .map-columns {
    grid-template-columns: 1fr;
  }

  .intro-visual {
    order: -1;
    min-height: 20rem;
  }

  .statement-stack {
    grid-template-columns: 1fr;
  }

  .rail {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --slide-pad: 1.5rem;
  }

  .slide {
    padding-top: 5.5rem;
    padding-bottom: 3.5rem;
  }

  .stats-bar {
    flex-direction: column;
    gap: 0.75rem;
  }

  .brand-name {
    display: none;
  }
}
