/* ===== Custom Fonts ===== */
@font-face {
  font-family: "Syne";
  src: url("../fonts/Syne-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gantari";
  src: url("../fonts/Gantari-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gantari";
  src: url("../fonts/Gantari-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ===== Design Tokens ===== */
:root {
  --color-navy: #031c41;
  --color-navy-light: #0a2a5c;
  --color-steel: #374c78;
  --color-mustard: #c4bc5a;
  --color-mustard-dark: #a8a14e;
  --color-gold: #d4c84a;
  --color-pearl: #f3f3f3;
  --color-white: #fafafa;
  --color-mint: #87bac2;
  --color-mint-light: #a8d4db;
  --color-aegean: #134d6d;
  --color-chromium: #adb0ba;
  --color-space: #232426;

  --font-heading: "Syne", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Gantari", ui-sans-serif, system-ui, sans-serif;

  --ease-brand: cubic-bezier(0.16, 1, 0.3, 1);
  --slide-duration: 0.5s;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: clamp(14px, calc(0.53125rem + 0.46875vw), 22px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-navy);
  background: var(--color-navy);
  line-height: 1.6;
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ===== Progress Bar ===== */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--color-mustard);
  z-index: 1000;
  transition: width 0.5s var(--ease-brand);
}

/* ===== Slide Container ===== */
.slide-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

/* ===== Slide System ===== */
.slide {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity var(--slide-duration) var(--ease-brand),
              transform var(--slide-duration) var(--ease-brand);
  pointer-events: none;
  overflow: hidden;
}

.slide.active { opacity: 1; transform: translateX(0); pointer-events: auto; z-index: 2; }
.slide.prev { opacity: 0; transform: translateX(-60px); z-index: 1; }
.slide.next { opacity: 0; transform: translateX(60px); z-index: 1; }

/* ===== Slide Inner Layout ===== */
.slide-inner {
  width: 100%;
  max-width: 72rem;
  padding: 2rem 3rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

/* ===== Background Themes ===== */
.slide[data-theme="dark"] {
  background: linear-gradient(135deg, #031c41 0%, #0a2a5c 50%, #051e45 100%);
  color: #ffffff;
}
.slide[data-theme="light"] { background: var(--color-white); color: var(--color-navy); }
.slide[data-theme="pearl"] {
  background-color: var(--color-pearl);
  background-image: radial-gradient(circle, rgba(3, 28, 65, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--color-navy);
}
.slide[data-theme="aegean"] {
  background: linear-gradient(135deg, #134d6d 0%, #0f3f5c 50%, #0c3350 100%);
  color: #ffffff;
}
.slide[data-theme="gold"] {
  background: radial-gradient(circle, rgba(3, 28, 65, 0.06) 1px, transparent 1px),
              linear-gradient(135deg, #c4bc5a 0%, #d4c84a 50%, #b8b050 100%);
  background-size: 24px 24px, 100% 100%;
  color: var(--color-navy);
}

/* ===== Typography ===== */
.heading-xl { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.08; letter-spacing: -0.02em; }
.heading-lg { font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; }
.heading-md { font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.15; }
.heading-sm { font-size: clamp(1rem, 1.5vw, 1.35rem); line-height: 1.2; }
.text-lg { font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.6; }
.text-base { font-size: 1rem; line-height: 1.6; }
.text-sm { font-size: 0.875rem; line-height: 1.5; }
.text-xs { font-size: 0.75rem; line-height: 1.4; }

/* ===== Color Utilities ===== */
.text-white { color: #ffffff; }
.text-white-70 { color: rgba(255,255,255,0.7); }
.text-white-60 { color: rgba(255,255,255,0.6); }
.text-white-50 { color: rgba(255,255,255,0.5); }
.text-navy { color: var(--color-navy); }
.text-steel { color: var(--color-steel); }
.text-mustard { color: var(--color-mustard); }
.text-gold { color: var(--color-gold); }
.text-aegean { color: var(--color-aegean); }
.text-chromium { color: var(--color-chromium); }

/* ===== Eyebrow ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-mustard);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s var(--ease-brand);
  text-decoration: none;
}
.btn-primary { background: var(--color-mustard); color: var(--color-navy); padding: 0.75rem 1.75rem; font-size: 0.9375rem; }
.btn-primary:hover { background: var(--color-gold); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(196, 188, 90, 0.35); }
.btn-secondary { background: transparent; color: var(--color-navy); padding: 0.75rem 1.75rem; font-size: 0.9375rem; border: 1.5px solid var(--color-navy); }
.btn-secondary:hover { background: var(--color-navy); color: var(--color-white); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #ffffff; padding: 0.75rem 1.75rem; font-size: 0.9375rem; border: 1.5px solid rgba(255,255,255,0.3); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.05); transform: translateY(-1px); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn-navy { background: var(--color-navy); color: #ffffff; padding: 1rem 2.25rem; font-size: 1.0625rem; }
.btn-navy:hover { background: var(--color-navy-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(3, 28, 65, 0.3); }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== Cards ===== */
.card { border-radius: 12px; transition: transform 0.25s var(--ease-brand), box-shadow 0.25s var(--ease-brand); }
.card-elevated { background: #ffffff; box-shadow: 0 1px 3px rgba(3, 28, 65, 0.06), 0 4px 12px rgba(3, 28, 65, 0.04); }
.card-glass { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); border-radius: 16px; padding: 1.5rem; }
.card-glass-strong { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); border-radius: 16px; padding: 2rem; }

/* ===== Grid Layouts ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { display: flex; flex-direction: column; }

.gap-05 { gap: 0.5rem; } .gap-1 { gap: 1rem; } .gap-15 { gap: 1.5rem; } .gap-2 { gap: 2rem; } .gap-3 { gap: 3rem; }
.mb-05 { margin-bottom: 0.5rem; } .mb-1 { margin-bottom: 1rem; } .mb-15 { margin-bottom: 1.5rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }

/* ===== Stat / KPI Cards ===== */
.stat-value { font-family: var(--font-heading); font-weight: 600; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.02em; color: var(--color-mustard); }
.stat-value-lg { font-family: var(--font-heading); font-weight: 600; font-size: clamp(3.5rem, 7vw, 6rem); line-height: 1; letter-spacing: -0.02em; color: var(--color-mustard); }
.stat-label { font-size: 0.9rem; font-weight: 600; margin-top: 0.5rem; opacity: 0.8; }

.kpi-pill { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 1rem; border-radius: 100px; font-size: 0.8rem; font-weight: 600; }
.kpi-pill-dark { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.9); }
.kpi-pill-light { background: rgba(3, 28, 65, 0.06); color: var(--color-navy); }
.kpi-pill strong { color: var(--color-mustard); }

/* ===== Product Icon ===== */
.app-icon { width: 48px; height: 48px; object-fit: contain; }
.app-icon-sm { width: 36px; height: 36px; object-fit: contain; }

/* ===== Product Screenshot ===== */
.screenshot { border-radius: 12px; box-shadow: 0 8px 30px rgba(3, 28, 65, 0.15), 0 2px 8px rgba(3, 28, 65, 0.08); max-height: 55vh; object-fit: contain; }
.screenshot-dark { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.15); }

/* ===== Check List ===== */
.check-list { list-style: none; display: grid; gap: 0.5rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; }
.check-list li::before {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--color-mustard);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='currentColor'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  mask-size: contain; -webkit-mask-size: contain;
}

/* ===== Comparison Cards ===== */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.comparison-card { padding: 2rem; border-radius: 16px; }
.comparison-card.negative { background: rgba(3, 28, 65, 0.04); border: 1px solid rgba(3, 28, 65, 0.08); }
.comparison-card.positive { background: rgba(196, 188, 90, 0.08); border: 1px solid rgba(196, 188, 90, 0.2); }

/* ===== Persona Cards ===== */
.persona-card { background: #ffffff; border-radius: 16px; padding: 1.5rem; box-shadow: 0 2px 8px rgba(3, 28, 65, 0.06); text-align: center; }
.persona-avatar { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 0.75rem; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.persona-photo { width: 11rem; height: 11rem; border-radius: 50%; object-fit: cover; object-position: top; margin: 0 auto 0.75rem; border: 4px solid rgba(3, 28, 65, 0.08); box-shadow: 0 4px 24px rgba(3, 28, 65, 0.12); }

/* ===== Persona Face-off ===== */
.persona-faceoff {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}
.persona-side {
  text-align: center;
}
.persona-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.persona-vs-symbol {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 600;
  color: var(--color-aegean);
  opacity: 0.6;
  line-height: 1;
}
.persona-shared-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.persona-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; margin-top: 0.75rem; }
.persona-tag { font-size: 0.7rem; padding: 0.2rem 0.6rem; border-radius: 100px; background: rgba(3, 28, 65, 0.06); color: var(--color-steel); }

/* ===== Blockquote / Testimonial ===== */
.testimonial { position: relative; padding: 1.5rem; padding-left: 2rem; border-left: 3px solid var(--color-mustard); font-style: italic; font-size: 1rem; line-height: 1.7; }
.testimonial-author { margin-top: 0.75rem; font-style: normal; font-weight: 600; font-size: 0.85rem; }
.testimonial-role { font-weight: 400; opacity: 0.7; }

/* ===== Walkthrough Steps ===== */
.step-row { display: flex; gap: 1.5rem; align-items: flex-start; }
.step-number { font-family: var(--font-heading); font-weight: 600; font-size: 1.5rem; color: var(--color-mustard); line-height: 1; flex-shrink: 0; width: 2rem; }
.step-content h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.step-content p { font-size: 0.85rem; opacity: 0.8; line-height: 1.5; }

/* ===== Workflow Step Cards (Slide 6) ===== */
.workflow-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 8px rgba(3, 28, 65, 0.06);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.workflow-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.75rem;
  color: var(--color-mustard);
  line-height: 1;
  flex-shrink: 0;
}
.workflow-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.workflow-card p { font-size: 0.8rem; color: var(--color-steel); line-height: 1.5; }
.workflow-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.workflow-features span {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: rgba(196, 188, 90, 0.12);
  color: var(--color-mustard-dark);
}

/* ===== "Why It Matters" Stat Cards (Slide 2) ===== */
.why-stat-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(3, 28, 65, 0.06);
  display: flex;
  flex-direction: column;
}
.why-stat-num {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--color-mustard);
  margin-bottom: 0.75rem;
}
.why-stat-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}
.why-stat-body {
  font-size: 0.85rem;
  color: var(--color-steel);
  line-height: 1.5;
}

/* ===== Pain Point Cards (Slide 3) ===== */
.pain-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1.5rem;
}
.pain-card h4 { font-size: 1rem; margin-bottom: 0.4rem; color: #fff; }
.pain-card p { font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

/* ===== Link Arrow ===== */
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--color-mustard); transition: gap 0.2s var(--ease-brand); }
.link-arrow:hover { gap: 10px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ===== Decorative ===== */
.slide-logo { position: absolute; top: 2rem; left: 3rem; height: 28px; z-index: 10; }
.slide-url { position: absolute; top: 2.2rem; right: 3rem; font-size: 0.75rem; font-weight: 600; opacity: 0.5; z-index: 10; }
.slide-url-bottom {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.4;
  z-index: 10;
  letter-spacing: 0.02em;
}

/* ===== Hero Decorative Layer ===== */
.hero-deco {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-glow-1 {
  width: 500px; height: 500px;
  top: -15%; right: -5%;
  background: radial-gradient(circle, rgba(19,77,109,0.2) 0%, transparent 70%);
  animation: hero-drift 18s ease-in-out infinite alternate;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  bottom: -10%; left: -5%;
  background: radial-gradient(circle, rgba(135,186,194,0.12) 0%, transparent 70%);
  animation: hero-drift 22s ease-in-out infinite alternate-reverse;
}
.hero-glow-3 {
  width: 300px; height: 300px;
  top: 30%; left: 40%;
  background: radial-gradient(circle, rgba(196,188,90,0.06) 0%, transparent 70%);
  animation: hero-drift 15s ease-in-out infinite alternate;
}
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hero-ring {
  position: absolute;
}
.hero-ring-1 {
  width: 200px; height: 200px;
  top: 8%; right: 12%;
  animation: hero-spin 25s linear infinite, hero-float 20s ease-in-out infinite;
  opacity: 0.6;
}
.hero-ring-2 {
  width: 260px; height: 260px;
  bottom: 10%; left: 6%;
  animation: hero-spin 35s linear infinite reverse, hero-float 24s ease-in-out infinite alternate;
  opacity: 0.5;
}
.hero-float-dot {
  position: absolute;
  border-radius: 50%;
  animation: hero-float-dot 6s ease-in-out infinite;
}
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}

@keyframes hero-drift {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, -30px); }
}
@keyframes hero-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
@keyframes hero-float-dot {
  0%, 100% { transform: translate(0, 0); opacity: 0.3; }
  33% { transform: translate(12px, -18px); opacity: 0.8; }
  66% { transform: translate(-8px, 12px); opacity: 0.5; }
}

/* ===== Hero Badge ===== */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(196, 188, 90, 0.12);
  border: 1px solid rgba(196, 188, 90, 0.2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-mustard);
  margin-bottom: 1.5rem;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-mustard);
  box-shadow: 0 0 8px rgba(196, 188, 90, 0.6);
  animation: hero-pulse 2s ease-in-out infinite;
}
@keyframes hero-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

/* ===== Language Toggle ===== */
.lang-toggle-wrap {
  position: fixed;
  top: 1.8rem;
  right: 10rem;
  z-index: 50;
}
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid rgba(255,255,255,0.2);
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 20;
}
.lang-btn {
  padding: 4px 10px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  transition: all 0.2s var(--ease-brand);
}
.theme-dark .lang-toggle { border-color: rgba(255,255,255,0.2); }
.theme-dark .lang-btn { color: rgba(255,255,255,0.5); }
.theme-dark .lang-btn.active { background: rgba(255,255,255,0.15); color: #ffffff; }
.theme-light .lang-toggle { border-color: rgba(3, 28, 65, 0.15); }
.theme-light .lang-btn { color: rgba(3, 28, 65, 0.4); }
.theme-light .lang-btn.active { background: rgba(3, 28, 65, 0.1); color: var(--color-navy); }

/* ===== Taste Cluster Canvas ===== */
.tc-canvas-container {
  min-height: 380px;
  background: linear-gradient(160deg, #061f47 0%, #0b2d5e 100%);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 60px rgba(3,28,65,0.15), 0 4px 16px rgba(3,28,65,0.08);
  overflow: hidden;
  position: relative;
  width: 100%;
}
.tc-canvas-container canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
}

/* ===== Download / PDF Button ===== */
.nav-download {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-brand);
  flex-shrink: 0;
}
.theme-light .nav-download { background: rgba(3, 28, 65, 0.06); color: var(--color-navy); }
.theme-light .nav-download:hover { background: rgba(3, 28, 65, 0.12); }
.theme-dark .nav-download { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
.theme-dark .nav-download:hover { background: rgba(255, 255, 255, 0.2); }
.nav-download svg { width: 16px; height: 16px; }


/* ===== Reveal Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-brand),
              transform 0.6s var(--ease-brand);
}
.slide.active .reveal { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s var(--ease-brand),
              transform 0.5s var(--ease-brand);
}
.slide.active .reveal-stagger > *:nth-child(1) { transition-delay: 100ms; }
.slide.active .reveal-stagger > *:nth-child(2) { transition-delay: 180ms; }
.slide.active .reveal-stagger > *:nth-child(3) { transition-delay: 260ms; }
.slide.active .reveal-stagger > *:nth-child(4) { transition-delay: 340ms; }
.slide.active .reveal-stagger > *:nth-child(5) { transition-delay: 420ms; }
.slide.active .reveal-stagger > *:nth-child(6) { transition-delay: 500ms; }
.slide.active .reveal-stagger > * { opacity: 1; transform: translateY(0); }

.reveal-d1 { transition-delay: 100ms; }
.reveal-d2 { transition-delay: 200ms; }
.reveal-d3 { transition-delay: 300ms; }
.reveal-d4 { transition-delay: 400ms; }
.reveal-d5 { transition-delay: 500ms; }

/* ===== Navigation Bar ===== */
.nav-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 100px;
  z-index: 100;
  transition: background 0.3s var(--ease-brand), box-shadow 0.3s var(--ease-brand);
}
.nav-bar.theme-light {
  background: rgba(250, 250, 250, 0.92);
  box-shadow: 0 4px 20px rgba(3, 28, 65, 0.1), 0 1px 3px rgba(3, 28, 65, 0.06);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.nav-bar.theme-dark {
  background: rgba(3, 28, 65, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}

.nav-arrow {
  width: 36px; height: 36px;
  border-radius: 50%; border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease-brand);
  flex-shrink: 0;
}
.theme-light .nav-arrow { background: rgba(3, 28, 65, 0.06); color: var(--color-navy); }
.theme-light .nav-arrow:hover { background: rgba(3, 28, 65, 0.12); }
.theme-dark .nav-arrow { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
.theme-dark .nav-arrow:hover { background: rgba(255, 255, 255, 0.2); }
.nav-arrow:disabled { opacity: 0.3; cursor: default; }
.nav-arrow:disabled:hover { background: inherit; }
.nav-arrow svg { width: 16px; height: 16px; }

.nav-dots { display: flex; gap: 6px; align-items: center; }
.nav-dot { width: 8px; height: 8px; border-radius: 50%; border: none; cursor: pointer; transition: all 0.2s var(--ease-brand); padding: 0; }
.theme-light .nav-dot { background: rgba(3, 28, 65, 0.15); }
.theme-dark .nav-dot { background: rgba(255, 255, 255, 0.2); }
.nav-dot.active { background: var(--color-mustard) !important; width: 24px; border-radius: 100px; }

.nav-counter { font-size: 0.7rem; font-weight: 600; white-space: nowrap; min-width: 2.5rem; text-align: center; }
.theme-light .nav-counter { color: var(--color-steel); }
.theme-dark .nav-counter { color: rgba(255, 255, 255, 0.5); }

.nav-sep { width: 1px; height: 20px; flex-shrink: 0; }

/* Fullscreen button */
.nav-fullscreen {
  width: 36px; height: 36px;
  border-radius: 50%; border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease-brand);
  flex-shrink: 0;
}
.nav-fullscreen svg { width: 16px; height: 16px; }
.theme-light .nav-fullscreen { background: rgba(3, 28, 65, 0.06); color: var(--color-navy); }
.theme-light .nav-fullscreen:hover { background: rgba(3, 28, 65, 0.12); }
.theme-dark .nav-fullscreen { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
.theme-dark .nav-fullscreen:hover { background: rgba(255, 255, 255, 0.2); }
.nav-fullscreen .fs-exit { display: none; }
:fullscreen .nav-fullscreen .fs-enter { display: none; }
:fullscreen .nav-fullscreen .fs-exit { display: block; }
.theme-light .nav-sep { background: rgba(3, 28, 65, 0.1); }
.theme-dark .nav-sep { background: rgba(255, 255, 255, 0.1); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .comparison-grid { grid-template-columns: 1fr; }
  .slide-inner { padding: 2rem 2rem; }
  .heading-xl { font-size: clamp(2rem, 4vw, 3rem); }
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .slide-inner { padding: 1.5rem 1.5rem; }
  .nav-dots { display: none; }
  .slide-logo { left: 1.5rem; }
  .slide-url { right: 1.5rem; }
  .btn-group { flex-direction: column; align-items: center; }
  .lang-toggle-wrap { right: 1.5rem; }
}

/* ===== Viewport blocker overlay ===== */
.viewport-blocker {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(135deg, #031c41 0%, #0a2a5c 50%, #051e45 100%);
  color: #ffffff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  gap: 1.5rem;
}
.viewport-blocker.visible {
  display: flex;
}
.viewport-blocker svg {
  width: 56px;
  height: 56px;
  opacity: 0.5;
}
.viewport-blocker h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
}
.viewport-blocker p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  max-width: 320px;
  line-height: 1.5;
}
/* ===== Large screens ===== */
@media (min-width: 1600px) {
  html { font-size: 20px; }
  .slide-inner { max-width: 80rem; padding: 2.5rem 4rem; }
  .slide-logo { height: 32px; }
}

/* ===== 2K+ screens ===== */
@media (min-width: 2200px) {
  html { font-size: 24px; }
  .slide-inner { max-width: 90rem; padding: 3rem 5rem; }
  .slide-logo { height: 36px; top: 2.5rem; left: 3.5rem; }
  .slide-url { font-size: 0.85rem; }
  .slide-url-bottom { font-size: 0.85rem; }
  .nav-bar { bottom: 32px; padding: 10px 20px; gap: 14px; }
  .nav-arrow { width: 44px; height: 44px; }
  .nav-arrow svg { width: 20px; height: 20px; }
  .nav-dot { width: 10px; height: 10px; }
  .nav-dot.active { width: 28px; }
  .nav-download { width: 44px; height: 44px; }
  .nav-download svg { width: 20px; height: 20px; }
  .app-icon { width: 56px; height: 56px; }
}

/* ===== 4K screens ===== */
@media (min-width: 3200px) {
  html { font-size: 30px; }
  .slide-inner { max-width: 110rem; padding: 3.5rem 6rem; }
  .slide-logo { height: 44px; top: 3rem; left: 4rem; }
  .nav-bar { bottom: 40px; padding: 12px 24px; gap: 16px; }
  .nav-arrow { width: 52px; height: 52px; }
  .nav-arrow svg { width: 24px; height: 24px; }
  .nav-dot { width: 12px; height: 12px; }
  .nav-dot.active { width: 32px; }
  .nav-download { width: 52px; height: 52px; }
  .nav-download svg { width: 24px; height: 24px; }
  .app-icon { width: 64px; height: 64px; }
  .app-icon-sm { width: 48px; height: 48px; }
  .lang-toggle-wrap { top: 3rem; right: 4rem; }
  .lang-btn { padding: 6px 14px; font-size: 0.8rem; }
  .progress-bar { height: 4px; }
}

/* ===== Print / PDF ===== */
@page {
  size: landscape;
  margin: 0;
}
@media print {
  html { font-size: 14px !important; }
  body {
    overflow: visible !important;
    width: auto !important;
    height: auto !important;
    background: white !important;
  }
  .progress-bar,
  .nav-bar,
  .lang-toggle-wrap {
    display: none !important;
  }
  .slide-container {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
  }
  .slide {
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    width: 100vw !important;
    height: 100vh !important;
    page-break-after: always;
    break-after: page;
    page-break-inside: avoid;
    break-inside: avoid;
    display: flex !important;
    overflow: hidden !important;
    transition: none !important;
  }
  .slide:last-child {
    page-break-after: auto;
    break-after: auto;
  }
  .reveal, .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .slide-inner {
    max-width: none !important;
    height: 100% !important;
  }
  .slide[data-theme="dark"],
  .slide[data-theme="aegean"],
  .slide[data-theme="gold"],
  .slide[data-theme="pearl"] {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .card-glass, .card-glass-strong, .pain-card,
  .why-stat-card, .card-elevated, .workflow-card,
  .persona-card, .comparison-card, .hero-badge,
  .kpi-pill, .kpi-pill-dark, .kpi-pill-light {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .tc-canvas-container {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .slide-url-bottom {
    bottom: 1.5rem !important;
  }
}
