:root {
  --bg: #f3f7ff;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: rgba(255, 255, 255, 0.94);
  --surface-dark: rgba(16, 33, 67, 0.42);
  --text: #102143;
  --muted: #61708f;
  --border: rgba(54, 86, 146, 0.12);
  --blue: #2463eb;
  --blue-strong: #1644c7;
  --cyan: #2db8f3;
  --orange: #ff9e2c;
  --orange-strong: #ff6f3d;
  --shadow: 0 24px 80px rgba(26, 60, 124, 0.12);
  --shadow-strong: 0 32px 90px rgba(16, 33, 67, 0.22);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --sidebar-width: 288px;
  --slide-width: 1600;
  --slide-height: 900;
  --slide-scale: 1;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  overflow: hidden;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 170, 60, 0.2), transparent 26%),
    radial-gradient(circle at top right, rgba(45, 184, 243, 0.18), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
}

body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(12px);
  z-index: 0;
}

body::before {
  top: 64px;
  right: 10%;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(36, 99, 235, 0.2), rgba(36, 99, 235, 0));
}

body::after {
  bottom: 56px;
  left: 8%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 111, 61, 0.18), rgba(255, 111, 61, 0));
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.presentation-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  padding: 16px 20px 18px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
}

.presentation-header,
.presentation-main,
.presentation-footer {
  width: min(100%, 1680px);
  margin: 0 auto;
}

.presentation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-name,
.brand-meta {
  display: block;
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-meta,
.presentation-hint {
  color: var(--muted);
  font-size: 0.9rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ghost-button,
.nav-button,
.button,
.progress-dot {
  border: 0;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.ghost-button:hover,
.nav-button:hover,
.button:hover,
.progress-dot:hover,
.ghost-button:focus-visible,
.nav-button:focus-visible,
.button:focus-visible,
.progress-dot:focus-visible {
  transform: translateY(-1px);
}

.ghost-button,
.nav-button,
.footer-status,
.progress-rail,
.slide,
.glass-card,
.info-pill,
.visual-note,
.quote-chip,
.quote-band,
.bullet-panel,
.metric-panel,
.closing-panel,
.brand-panel {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.ghost-button {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--blue-strong);
}

.presentation-main {
  min-height: 0;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  gap: 16px;
}

.progress-rail {
  min-height: 0;
  padding: 22px;
  border-radius: var(--radius-xl);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
}

.eyebrow,
.mini-label,
.traction-label,
.canvas-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow,
.mini-label,
.canvas-kicker {
  color: var(--blue-strong);
  background: rgba(36, 99, 235, 0.08);
  border: 1px solid rgba(36, 99, 235, 0.1);
}

.traction-label {
  color: var(--orange-strong);
  background: rgba(255, 111, 61, 0.08);
  border: 1px solid rgba(255, 111, 61, 0.12);
}

.progress-copy h1 {
  margin: 18px 0 12px;
  font-size: clamp(1.9rem, 2.1vw, 2.45rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.progress-copy p,
.progress-dot,
.canvas-lead,
.glass-card p,
.glass-card span,
.info-pill span,
.bullet-panel span,
.quote-band,
.quote-chip p,
.metric-panel p,
.closing-panel span,
.visual-note p,
.brand-panel span,
.micro-stats span,
.footer-status {
  color: var(--muted);
  line-height: 1.5;
}

.progress-dots {
  min-height: 0;
  display: grid;
  gap: 10px;
  align-content: start;
}

.progress-dot {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 18px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
}

.progress-dot-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(36, 99, 235, 0.08);
  color: var(--blue-strong);
  font-weight: 800;
}

.progress-dot.is-active {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(36, 99, 235, 0.14);
  color: var(--text);
}

.progress-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--blue-strong);
}

.slide-viewport {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 40px;
  --slide-scale: 1;
}

.slide-viewport:fullscreen {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 170, 60, 0.12), transparent 24%),
    radial-gradient(circle at top right, rgba(45, 184, 243, 0.14), transparent 24%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 40px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(34px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s ease;
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.slide-scaler {
  position: relative;
  width: calc(var(--slide-width) * 1px * var(--slide-scale));
  height: calc(var(--slide-height) * 1px * var(--slide-scale));
  overflow: hidden;
}

.slide-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--slide-width) * 1px);
  height: calc(var(--slide-height) * 1px);
  padding: 68px 72px;
  border-radius: 40px;
  overflow: hidden;
  transform: scale(var(--slide-scale));
  transform-origin: top left;
  background:
    radial-gradient(circle at top right, rgba(45, 184, 243, 0.13), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(238, 244, 255, 0.94));
  box-shadow: var(--shadow-strong);
}

.slide-viewport:fullscreen .slide,
.slide-viewport:fullscreen .slide-canvas {
  border-radius: 0;
}

.slide-closing .slide-canvas {
  background:
    linear-gradient(135deg, rgba(22, 68, 199, 0.94), rgba(45, 184, 243, 0.88)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.slide-closing .canvas-kicker,
.slide-closing .canvas-lead,
.slide-closing .closing-panel span,
.slide-closing .closing-panel strong {
  color: rgba(255, 255, 255, 0.9);
}

.slide-closing .canvas-kicker {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.canvas-grid {
  display: grid;
  gap: 42px;
  height: 100%;
  align-items: center;
}

.canvas-grid-split {
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
}

.canvas-grid-balance {
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.95fr);
}

.canvas-stack {
  display: grid;
  gap: 28px;
  height: 100%;
  align-content: start;
}

.canvas-heading {
  display: grid;
  gap: 16px;
}

.compact-heading {
  max-width: 1080px;
}

.canvas-copy {
  display: grid;
  gap: 22px;
  align-content: center;
}

.canvas-copy-hero {
  gap: 24px;
}

.canvas-copy h2,
.canvas-heading h2 {
  margin: 0;
  font-size: 64px;
  line-height: 0.98;
  letter-spacing: -0.06em;
  max-width: 11.8ch;
}

.canvas-heading h2 {
  max-width: 14ch;
}

.canvas-lead {
  margin: 0;
  font-size: 27px;
  max-width: 26ch;
}

.canvas-heading .canvas-lead {
  max-width: 40ch;
}

.canvas-visual {
  position: relative;
  display: grid;
  align-items: center;
  justify-items: center;
  gap: 24px;
  height: 100%;
}

.hero-visual {
  padding: 20px 0;
}

.visual-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-items: center;
}

.phone-frame {
  width: 308px;
  padding: 10px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(54, 86, 146, 0.16);
  box-shadow: var(--shadow-strong);
}

.phone-frame img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 28px;
}

.phone-frame-hero {
  width: 320px;
}

.phone-frame-small {
  width: 246px;
}

.phone-shadow-blue {
  box-shadow: 0 30px 80px rgba(22, 68, 199, 0.22);
}

.phone-shadow-cyan {
  box-shadow: 0 30px 80px rgba(45, 184, 243, 0.22);
}

.floating-tag {
  position: absolute;
  top: 0;
  right: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(36, 99, 235, 0.12);
  color: var(--blue-strong);
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 18px 50px rgba(16, 33, 67, 0.12);
}

.visual-note,
.quote-chip {
  padding: 18px 20px;
  border-radius: var(--radius-lg);
}

.visual-note {
  position: absolute;
  left: 0;
  bottom: 20px;
  width: 330px;
}

.visual-note p,
.quote-chip p {
  margin: 10px 0 0;
  font-size: 19px;
}

.pill-row,
.card-grid,
.metric-grid,
.phone-strip {
  display: grid;
  gap: 18px;
}

.pill-row-three,
.card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pill-row-two,
.metric-grid-two-large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-pill,
.glass-card,
.metric-panel,
.bullet-panel,
.brand-panel,
.closing-panel {
  padding: 20px 22px;
  border-radius: var(--radius-lg);
}

.info-pill strong,
.glass-card h3,
.glass-card strong,
.metric-panel strong,
.bullet-panel strong,
.brand-panel strong,
.closing-panel strong {
  display: block;
}

.accent-orange {
  background: linear-gradient(160deg, rgba(255, 158, 44, 0.16), rgba(255, 255, 255, 0.96));
}

.accent-blue {
  background: linear-gradient(160deg, rgba(36, 99, 235, 0.12), rgba(255, 255, 255, 0.96));
}

.accent-cyan {
  background: linear-gradient(160deg, rgba(45, 184, 243, 0.15), rgba(255, 255, 255, 0.96));
}

.info-pill strong,
.metric-panel strong {
  font-size: 28px;
  margin-bottom: 8px;
}

.info-pill span,
.glass-card p,
.glass-card span,
.bullet-panel span,
.brand-panel span,
.closing-panel span,
.metric-panel p {
  font-size: 18px;
}

.issue-card {
  min-height: 210px;
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 158, 44, 0.18), rgba(36, 99, 235, 0.14));
  color: var(--blue-strong);
  font-size: 18px;
  font-weight: 800;
}

.glass-card h3 {
  margin: 18px 0 10px;
  font-size: 28px;
}

.quote-band {
  margin: 0;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  font-size: 28px;
  font-weight: 600;
}

.bullet-panel {
  display: grid;
  gap: 16px;
}

.bullet-panel div {
  display: grid;
  gap: 8px;
}

.bullet-panel strong {
  font-size: 26px;
}

.bullet-panel-strong strong {
  color: var(--blue-strong);
}

.flow-stack {
  gap: 26px;
}

.flow-layout {
  display: grid;
  grid-template-columns: 430px 1fr;
  gap: 26px;
  align-items: center;
}

.flow-steps {
  display: grid;
  gap: 16px;
}

.flow-step {
  min-height: 148px;
  align-content: start;
  display: grid;
  gap: 10px;
}

.flow-step strong {
  color: var(--blue-strong);
  font-size: 28px;
}

.phone-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  justify-items: center;
}

.metric-panel {
  min-height: 280px;
  display: grid;
  gap: 16px;
  align-content: start;
}

.metric-panel strong {
  font-size: 96px;
  line-height: 0.92;
  letter-spacing: -0.08em;
}

.metric-panel-primary {
  background: linear-gradient(160deg, rgba(22, 68, 199, 0.95), rgba(45, 184, 243, 0.82));
  color: #fff;
}

.metric-panel-primary p,
.metric-panel-primary .traction-label,
.metric-panel-primary strong {
  color: rgba(255, 255, 255, 0.92);
}

.metric-panel-primary .traction-label {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
}

.scale-visual {
  gap: 28px;
}

.brand-panel {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand-panel-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.world-ring {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.72) 38%, rgba(45, 184, 243, 0.18) 39%, rgba(36, 99, 235, 0.08) 100%);
  border: 1px solid rgba(36, 99, 235, 0.14);
  box-shadow: 0 24px 60px rgba(16, 33, 67, 0.12);
}

.world-ring-core {
  width: 154px;
  height: 154px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  box-shadow: 0 24px 50px rgba(22, 68, 199, 0.22);
}

.micro-stats {
  display: grid;
  gap: 12px;
  width: 100%;
}

.micro-stats span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(36, 99, 235, 0.1);
}

.closing-copy h2 {
  max-width: 12ch;
}

.closing-visual {
  justify-items: center;
  gap: 30px;
}

.closing-logo {
  width: 420px;
  object-fit: contain;
  filter: drop-shadow(0 24px 60px rgba(16, 33, 67, 0.24));
}

.closing-panel {
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button,
.nav-button {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button-primary,
.nav-button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-strong) 100%);
  box-shadow: 0 18px 36px rgba(255, 111, 61, 0.22);
}

.button-secondary,
.nav-button {
  color: var(--blue-strong);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(36, 99, 235, 0.16);
}

.presentation-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-status {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 20px;
  min-height: 48px;
  border-radius: 999px;
}

@media (max-width: 1320px) {
  .presentation-main {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .progress-rail {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: auto;
    align-items: center;
  }

  .progress-copy p {
    max-width: 64ch;
  }

  .progress-dots {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .presentation-shell {
    padding: 12px;
  }

  .presentation-header,
  .presentation-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions,
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .progress-rail {
    grid-template-columns: 1fr;
  }

  .progress-dots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .progress-dot {
    grid-template-columns: auto;
  }
}

@media print {
  body {
    overflow: visible;
    background: #fff;
  }

  body::before,
  body::after,
  .presentation-header,
  .progress-rail,
  .presentation-footer {
    display: none;
  }

  .presentation-shell,
  .presentation-main,
  .slide-viewport {
    display: block;
    width: 100%;
    min-height: auto;
    padding: 0;
  }

  .slide {
    position: relative;
    display: block;
    opacity: 1;
    visibility: visible;
    transform: none;
    break-after: page;
    padding: 0;
    margin-bottom: 24px;
  }

  .slide-scaler {
    width: auto;
    height: auto;
  }

  .slide-canvas {
    transform: none;
  }
}