/* ═══════════════════════════════════════════════════════════════
   AIRA LEARN - PRESENTATION
   World-class horizontal-scroll deck with cinematic animations
   Theme: Light, Violet/Indigo, Cyan accents, Glassmorphism
═══════════════════════════════════════════════════════════════ */

:root {
  /* Core Palette */
  --bg-primary: #ffffff;
  --bg-secondary: #f7f5ff;
  --bg-tertiary: #ede9ff;
  --bg-deep: #f3f1fe;

  /* Text */
  --text-primary: #0d0720;
  --text-secondary: #4a4068;
  --text-tertiary: #8b7fb4;

  /* Brand */
  --brand-300: #a78bfa;
  --brand-400: #7c3aed;
  --brand-500: #6d28d9;
  --brand-600: #5b21b6;
  --brand-700: #4c1d95;

  /* Accents */
  --accent-cyan: #0891b2;
  --accent-cyan-light: #06b6d4;
  --accent-pink: #db2777;
  --accent-emerald: #059669;
  --accent-amber: #d97706;
  --accent-indigo: #4f46e5;

  /* Glow */
  --glow-purple: #6d28d9;
  --glow-cyan: #0369a1;

  /* Gradients */
  --grad-brand: linear-gradient(135deg, #7c3aed 0%, #a78bfa 50%, #6d28d9 100%);
  --grad-text: linear-gradient(135deg, #7c3aed 0%, #5b21b6 60%, #4f46e5 100%);
  --grad-text-deep: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #1e3a8a 100%);
  --grad-bg-hero: radial-gradient(ellipse at top, #f3f1fe 0%, #ffffff 70%);
  --grad-aurora: linear-gradient(120deg, rgba(124, 58, 237, 0.18) 0%, rgba(6, 182, 212, 0.18) 50%, rgba(219, 39, 119, 0.12) 100%);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.65);
  --glass-bg-strong: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(124, 58, 237, 0.18);
  --glass-shadow: 0 8px 32px rgba(109, 40, 217, 0.12);
  --glass-shadow-hover: 0 20px 60px rgba(109, 40, 217, 0.22);

  /* Typography */
  --font-heading: 'Google Sans Flex', 'Google Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Google Sans Flex', 'Google Sans', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Reset / Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

::selection { background: rgba(124, 58, 237, 0.18); color: var(--text-primary); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-deep {
  background: var(--grad-text-deep);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Input cycler animation for slide 2 */
.input-cycler {
  display: inline-block;
  padding: 0.15rem 0.75rem;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(236, 72, 153, 0.15));
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 8px;
  font-weight: 600;
  color: var(--brand-600);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.input-cycler::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.input-cycler.fade-out {
  opacity: 0;
  transform: translateY(-8px);
}

.input-cycler.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Stage / Deck */
.deck {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: row;
  width: 800vw;        /* 8 slides */
  height: 100vh;
  transform: translate3d(0, 0, 0);
  transition: transform 1.1s var(--ease-out-expo);
  will-change: transform;
}

.slide {
  position: relative;
  width: 100vw;
  height: 100vh;
  flex: 0 0 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Top: clear top-bar (1.5rem + ~2rem). Bottom: clear dot-nav (~5rem) */
  padding: 5rem 5.5rem 6.5rem;
  background: var(--bg-primary);
}

.slide-inner {
  position: relative;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 5;
}

/* Backgrounds (ambient) */
.bg-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-canvas canvas {
  width: 100%;
  height: 100%;
}

.aurora-bg {
  position: absolute;
  inset: -20%;
  background: var(--grad-aurora);
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
  animation: auroraDrift 18s ease-in-out infinite alternate;
}

@keyframes auroraDrift {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { transform: translate(3%, -2%) rotate(8deg) scale(1.1); }
  100% { transform: translate(-2%, 3%) rotate(-6deg) scale(0.95); }
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 14s ease-in-out infinite;
}

.glow-orb.purple { background: radial-gradient(circle, #a78bfa, transparent 70%); }
.glow-orb.cyan   { background: radial-gradient(circle, #67e8f9, transparent 70%); }
.glow-orb.pink   { background: radial-gradient(circle, #f9a8d4, transparent 70%); }
.glow-orb.indigo { background: radial-gradient(circle, #818cf8, transparent 70%); }

.orb-a { width: 480px; height: 480px; top: -15%; left: -8%; animation-delay: 0s; }
.orb-b { width: 380px; height: 380px; bottom: -10%; right: -6%; animation-delay: -4s; }
.orb-c { width: 320px; height: 320px; top: 30%; right: 12%; animation-delay: -8s; }
.orb-d { width: 260px; height: 260px; bottom: 18%; left: 18%; animation-delay: -6s; }

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(40px, -30px) scale(1.08); }
  66%      { transform: translate(-30px, 25px) scale(0.95); }
}

.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(124, 58, 237, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 58, 237, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 60% at center, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at center, #000 30%, transparent 80%);
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

/* Navigation Arrows */
.nav-arrow {
  position: fixed;
  bottom: 1.8rem;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--glass-shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-500);
  transition: all 0.4s var(--ease-out-expo);
  z-index: 100;
}

.nav-arrow:hover:not(:disabled) {
  transform: scale(1.12);
  border-color: var(--brand-400);
  box-shadow: var(--glass-shadow-hover);
  color: var(--brand-600);
  background: #fff;
}

.nav-arrow:active:not(:disabled) {
  transform: scale(0.96);
}

.nav-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.nav-arrow svg { width: 28px; height: 28px; }

.nav-prev { left: 2rem; }
.nav-next { right: 2rem; }

/* Hint pulse on next arrow */
.nav-next::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--brand-400);
  opacity: 0;
  animation: pulseHint 2.6s ease-out infinite;
}

@keyframes pulseHint {
  0%   { transform: scale(0.95); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* Dot Indicators */
.dot-nav {
  position: fixed;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 1rem;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--glass-shadow);
  z-index: 100;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.25);
  cursor: pointer;
  transition: all 0.4s var(--ease-out-expo);
  border: none;
  padding: 0;
}

.dot:hover { background: rgba(124, 58, 237, 0.5); transform: scale(1.3); }

.dot.active {
  width: 32px;
  background: var(--grad-brand);
  box-shadow: 0 0 14px rgba(124, 58, 237, 0.55);
}

.dot-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  margin-right: 0.35rem;
  font-variant-numeric: tabular-nums;
}

/* Hint */
.swipe-hint {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-tertiary);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  z-index: 90;
  opacity: 0.55;
  animation: hintFade 4s ease-in-out infinite;
}

.swipe-hint kbd {
  font-family: var(--font-mono);
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
  font-size: 0.7rem;
  color: var(--brand-500);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

@keyframes hintFade {
  0%, 100% { opacity: 0.4; transform: translateX(0); }
  50%      { opacity: 0.9; transform: translateX(-6px); }
}

/* ═════════════════════════════════════════════════════════════
   SLIDE 1 - HERO / LOGO REVEAL
═════════════════════════════════════════════════════════════ */
.slide-1 .slide-inner {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.hero-logo-glow {
  position: absolute;
  width: 720px;
  height: 720px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, rgba(124, 58, 237, 0) 60%);
  filter: blur(20px);
  z-index: -1;
  opacity: 0;
  animation: glowReveal 2s 0.4s var(--ease-out-expo) forwards;
}

@keyframes glowReveal {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-logo {
  width: clamp(320px, 38vw, 560px);
  height: auto;
  opacity: 0;
  transform: scale(0.85) translateY(20px);
  filter: drop-shadow(0 10px 40px rgba(124, 58, 237, 0.25));
}

.slide-1.active .hero-logo {
  animation: logoReveal 1.4s 0.2s var(--ease-out-back) forwards;
}

@keyframes logoReveal {
  0%   { opacity: 0; transform: scale(0.85) translateY(20px); filter: drop-shadow(0 10px 40px rgba(124, 58, 237, 0)) blur(8px); }
  60%  { opacity: 1; transform: scale(1.04) translateY(-4px); filter: drop-shadow(0 14px 50px rgba(124, 58, 237, 0.3)) blur(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: drop-shadow(0 10px 40px rgba(124, 58, 237, 0.25)) blur(0); }
}

.hero-tagline {
  font-size: clamp(1.6rem, 2.6vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.2rem;
  max-width: 980px;
  line-height: 1.15;
}

.hero-tagline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotateX(-30deg);
  transform-origin: 50% 100%;
}

.slide-1.active .hero-tagline .word {
  animation: wordReveal 0.9s var(--ease-out-back) forwards;
}

@keyframes wordReveal {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.hero-sub {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 3rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
}

.slide-1.active .hero-sub {
  animation: fadeUp 1s 1.6s var(--ease-out-expo) forwards;
}

.hero-sub strong {
  color: var(--brand-500);
  font-weight: 600;
}

.hero-sub .pct-chip {
  display: inline-block;
  background: var(--grad-brand);
  color: #fff;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  margin: 0 0.2rem;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.hero-stats {
  display: flex;
  gap: 2.4rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stat {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.1rem 1.8rem;
  min-width: 180px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--glass-shadow);
  opacity: 0;
  transform: translateY(28px) scale(0.95);
}

.slide-1.active .hero-stat {
  animation: statReveal 0.9s var(--ease-out-back) forwards;
}

.slide-1.active .hero-stat:nth-child(1) { animation-delay: 1.8s; }
.slide-1.active .hero-stat:nth-child(2) { animation-delay: 2.0s; }
.slide-1.active .hero-stat:nth-child(3) { animation-delay: 2.2s; }

@keyframes statReveal {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-stat .val {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 0.2rem;
}

.hero-stat .lbl {
  font-size: 0.82rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Floating sparkles around logo */
.spark {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-400);
  box-shadow: 0 0 12px var(--brand-400);
  opacity: 0;
}

.slide-1.active .spark {
  animation: sparkBurst 2.4s var(--ease-out-expo) forwards;
}

@keyframes sparkBurst {
  0%   { opacity: 0; transform: translate(0,0) scale(0); }
  40%  { opacity: 1; transform: translate(var(--sx), var(--sy)) scale(1.2); }
  100% { opacity: 0; transform: translate(calc(var(--sx) * 1.6), calc(var(--sy) * 1.6)) scale(0.4); }
}

/* ═════════════════════════════════════════════════════════════
   SLIDE 2 - SECURITY FORTRESS
═════════════════════════════════════════════════════════════ */
.slide-2 .slide-inner {
  flex-direction: row;
  gap: 2.5rem;
  align-items: center;
}

.sec-left {
  flex: 1 1 52%;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-height: 100%;
}

.sec-right {
  flex: 1 1 50%;
  position: relative;
  height: 70vh;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--brand-500);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  width: max-content;
}

.eyebrow .pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-400);
  position: relative;
}
.eyebrow .pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--brand-400);
  opacity: 0.4;
  animation: pulseDot 1.8s ease-out infinite;
}
@keyframes pulseDot {
  0%   { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.5); opacity: 0; }
}

.slide-title {
  font-size: clamp(1.9rem, 3.1vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-top: 0.2rem;
}

.slide-subtitle {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 540px;
}

/* Compliance pills */
.compliance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.comp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.08);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s var(--ease-out-expo);
}

.slide-2.active .comp-chip {
  animation: fadeUp 0.7s var(--ease-out-back) forwards;
}

.slide-2.active .comp-chip:nth-child(1) { animation-delay: 0.6s; }
.slide-2.active .comp-chip:nth-child(2) { animation-delay: 0.7s; }
.slide-2.active .comp-chip:nth-child(3) { animation-delay: 0.8s; }
.slide-2.active .comp-chip:nth-child(4) { animation-delay: 0.9s; }
.slide-2.active .comp-chip:nth-child(5) { animation-delay: 1.0s; }
.slide-2.active .comp-chip:nth-child(6) { animation-delay: 1.1s; }

.comp-chip:hover {
  border-color: var(--brand-400);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.18);
}

.comp-chip .ico {
  width: 18px; height: 18px;
  color: var(--brand-500);
}

/* Security feature cards */
.sec-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-top: 0.4rem;
}

.pillar-card {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow);
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  z-index: 2;
}

.slide-2.active .pillar-card {
  animation: fadeUp 0.7s var(--ease-out-back) forwards;
}
.slide-2.active .pillar-card:nth-child(1) { animation-delay: 1.2s; }
.slide-2.active .pillar-card:nth-child(2) { animation-delay: 1.3s; }
.slide-2.active .pillar-card:nth-child(3) { animation-delay: 1.4s; }
.slide-2.active .pillar-card:nth-child(4) { animation-delay: 1.5s; }

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-400);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.18);
}

.pillar-icon {
  flex: 0 0 32px;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(124, 58, 237, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-500);
}

.pillar-icon svg { width: 17px; height: 17px; }

.pillar-text h4 {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.pillar-text p {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* Shield visualization */
.shield-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(124, 58, 237, 0.22);
  pointer-events: none;
  z-index: 0;
}

.orbit-r1 { width: 420px; height: 420px; animation: orbitSpin 22s linear infinite; }
.orbit-r2 { width: 540px; height: 540px; animation: orbitSpin 32s linear infinite reverse; }
.orbit-r3 { width: 660px; height: 660px; animation: orbitSpin 44s linear infinite; opacity: 0.6; }

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.shield-svg {
  width: 280px;
  height: auto;
  z-index: 4;
  filter: drop-shadow(0 20px 60px rgba(124, 58, 237, 0.35));
  animation: shieldFloat 5s ease-in-out infinite;
}

@keyframes shieldFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.shield-badge {
  position: absolute;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.55rem 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 5;
  opacity: 0;
}

.slide-2.active .shield-badge {
  animation: badgeIn 0.8s var(--ease-out-back) forwards;
}

.shield-badge .ind {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.18), 0 0 10px rgba(5, 150, 105, 0.7);
}

.sb-1 { top: 8%; left: -2%; animation-delay: 1.6s !important; }
.sb-2 { top: 20%; right: -4%; animation-delay: 1.8s !important; }
.sb-3 { bottom: 16%; left: 4%; animation-delay: 2.0s !important; }
.sb-4 { bottom: 6%; right: 0%; animation-delay: 2.2s !important; }
.sb-5 { top: 50%; right: -8%; animation-delay: 2.4s !important; }

@keyframes badgeIn {
  to { opacity: 1; transform: scale(1); }
}

/* Encryption stream lines */
.crypt-stream {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.crypt-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-400), transparent);
  opacity: 0.45;
  animation: cryptDash 4s linear infinite;
}

@keyframes cryptDash {
  0%   { transform: translateX(-100%) scaleX(0.3); opacity: 0; }
  50%  { opacity: 0.6; }
  100% { transform: translateX(100%) scaleX(1.5); opacity: 0; }
}

/* ═════════════════════════════════════════════════════════════
   SLIDE 3 - 120+ LANGUAGES + VIDEO
═════════════════════════════════════════════════════════════ */
.slide-3 .slide-inner {
  flex-direction: row;
  gap: 2.5rem;
  align-items: center;
}

.lang-left {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-height: 100%;
}

.lang-right {
  flex: 1 1 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 480px;
}

/* Big counter */
.lang-bignum {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.lang-bignum .num {
  font-size: clamp(3rem, 5.4vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.lang-bignum .plus {
  font-size: clamp(1.7rem, 3vw, 3rem);
  color: var(--brand-400);
  font-weight: 500;
}

.lang-bignum .meta {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-left: 0.7rem;
  align-self: center;
  max-width: 240px;
  line-height: 1.35;
}

.lang-bignum .meta strong { color: var(--text-primary); font-weight: 600; }

.lang-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.2rem;
}

.lang-feat {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.55rem 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px);
}

.lang-feat .e { font-size: 1.05rem; }
.lang-feat .e-mix {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-size: 0.95rem;
  line-height: 1;
}
.lang-feat .e-mix .e-plus {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--brand-500);
  padding: 0 1px;
}

/* Floating language chips around globe / video centerpiece */
.globe-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.globe-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(124, 58, 237, 0.2) 60%, rgba(76, 29, 149, 0.5) 100%),
    radial-gradient(circle at 70% 70%, rgba(6, 182, 212, 0.4), transparent 50%);
  box-shadow:
    0 30px 80px rgba(124, 58, 237, 0.35),
    inset 0 0 60px rgba(255,255,255,0.6),
    inset -20px -20px 60px rgba(76, 29, 149, 0.3);
  overflow: hidden;
}

.globe-core::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 22px, rgba(255,255,255,0.18) 22px 23px),
    repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,255,255,0.18) 22px 23px);
  mask-image: radial-gradient(circle at 50% 50%, #000 50%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 50%, transparent 75%);
  animation: globeSpin 30s linear infinite;
}

@keyframes globeSpin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

.globe-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.22);
  pointer-events: none;
}

.gr-1 { width: 440px; height: 440px; animation: spinSlow 30s linear infinite; }
.gr-2 { width: 540px; height: 540px; animation: spinSlow 50s linear infinite reverse; border-style: dashed; }

@keyframes spinSlow {
  from { transform: translate(-50%, -50%) rotate(0); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

.lang-chip {
  position: absolute;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 6px 18px rgba(124, 58, 237, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transform: scale(0.7);
  white-space: nowrap;
  z-index: 5;
}

.lang-chip .flag {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background: rgba(124, 58, 237, 0.1);
}

.slide-3.active .lang-chip {
  animation: chipPop 0.7s var(--ease-out-back) forwards, chipFloat 6s ease-in-out infinite;
}

@keyframes chipPop {
  to { opacity: 1; transform: scale(1); }
}

@keyframes chipFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(var(--fx, 0px), var(--fy, -8px)) scale(1); }
}

/* Video player */
.video-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 16 / 9;
  margin-top: 0.4rem;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 50%, #1e3a8a 100%);
  box-shadow: 0 20px 50px rgba(76, 29, 149, 0.3), 0 0 0 1px rgba(124, 58, 237, 0.25);
  cursor: pointer;
  isolation: isolate;
}

.video-card video,
.video-card iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: none;
}

.video-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: #fff;
  text-align: center;
  padding: 1rem;
  background:
    radial-gradient(circle at 30% 30%, rgba(167, 139, 250, 0.4), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(6, 182, 212, 0.3), transparent 60%);
}

.video-card-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.25) 100%),
    repeating-linear-gradient(45deg, transparent 0 24px, rgba(255,255,255,0.04) 24px 25px);
  pointer-events: none;
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-600);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28), 0 0 0 3px rgba(255,255,255,0.18), 0 0 0 12px rgba(255,255,255,0.08);
  transition: all 0.4s var(--ease-out-back);
  position: relative;
  z-index: 2;
}

.play-btn svg { width: 26px; height: 26px; transform: translateX(2px); }

.video-card:hover .play-btn {
  transform: scale(1.08);
  background: #fff;
}

.video-meta {
  position: relative;
  z-index: 2;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.92);
}

.video-meta small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.3rem;
}

/* ═════════════════════════════════════════════════════════════
   SLIDE 4 - AUDIO & VIDEO
═════════════════════════════════════════════════════════════ */
.slide-4 .slide-inner {
  flex-direction: row;
  gap: 3rem;
  align-items: center;
}

.av-left {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.av-right {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: stretch;
}

.av-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.av-stat {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1rem 1rem;
  text-align: center;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(14px);
  transition: all 0.3s var(--ease-out-expo);
}

.av-stat:hover {
  transform: translateY(-4px);
  border-color: var(--brand-400);
}

.av-stat .v {
  font-size: 1.8rem;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.02em;
  line-height: 1;
}

.av-stat .l {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* Waveform card */
.wave-card {
  background: linear-gradient(135deg, #1e1b4b 0%, #2e1065 60%, #1e3a8a 100%);
  border-radius: 22px;
  padding: 1.1rem 1.3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(76, 29, 149, 0.38);
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out-back);
}
.wave-card:hover { transform: translateY(-2px); }

.wave-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(167, 139, 250, 0.35), transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.3), transparent 60%);
  pointer-events: none;
}

.wave-card .wc-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
  position: relative;
  z-index: 1;
}

.wave-card .avatar-bubble {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25), inset 0 -4px 8px rgba(0,0,0,0.15);
}

.wave-card .wc-meta { line-height: 1.3; }
.wave-card .wc-meta strong { font-size: 0.95rem; display: block; }
.wave-card .wc-meta span { font-size: 0.78rem; opacity: 0.7; }

.wave-card .wc-controls {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.wc-controls button {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wc-controls button:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.05);
}

.wc-controls .play-mini {
  background: #fff;
  color: var(--brand-600);
  width: 44px; height: 44px;
}

.wave-card .waveform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  height: 52px;
  position: relative;
  z-index: 1;
}

.wave-card .bar {
  flex: 1;
  background: linear-gradient(180deg, #c4b5fd, #67e8f9);
  border-radius: 99px;
  min-width: 3px;
  transform-origin: center;
}

.slide-4.active .wave-card .bar {
  animation: barPulse 1.6s ease-in-out infinite;
}

@keyframes barPulse {
  0%, 100% { transform: scaleY(0.4); opacity: 0.7; }
  50%      { transform: scaleY(1); opacity: 1; }
}

.wave-card .wc-foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.6rem;
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
}

.wave-card .wc-bar {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.18);
  border-radius: 99px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.wave-card .wc-bar-fill {
  position: absolute;
  inset: 0;
  width: 0%;
  background: linear-gradient(90deg, #a78bfa, #67e8f9);
  border-radius: 99px;
  box-shadow: 0 0 10px #c4b5fd;
  transition: width 0.15s linear;
}

.wave-card.is-loading .wc-bar-fill { animation: wcLoading 1.6s ease-in-out infinite; }
@keyframes wcLoading {
  0%   { width: 0%; }
  50%  { width: 60%; }
  100% { width: 0%; }
}

.wave-card .wc-meta code {
  font-family: var(--font-mono);
  background: rgba(255,255,255,0.15);
  padding: 0.05rem 0.35rem;
  border-radius: 4px;
  font-size: 0.72rem;
}

/* Tickets list (Voice/Lang capabilities) */
.capability-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.4rem;
}

.cap-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.65rem 0.9rem;
  background: rgba(124, 58, 237, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(124, 58, 237, 0.12);
  font-size: 0.88rem;
}

.cap-row .tick {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex: 0 0 22px;
}

.cap-row .tick svg { width: 12px; height: 12px; }

.cap-row strong { font-weight: 600; color: var(--text-primary); }
.cap-row span   { color: var(--text-secondary); margin-left: auto; font-size: 0.8rem; }

/* ═════════════════════════════════════════════════════════════
   SLIDE 5 - BLOOM'S TAXONOMY
═════════════════════════════════════════════════════════════ */
.slide-5 .slide-inner {
  flex-direction: row;
  gap: 2.5rem;
  align-items: center;
}

.bloom-left {
  flex: 1 1 46%;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bloom-right {
  flex: 1 1 54%;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: 100%;
}

.bloom-pyramid {
  position: relative;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  perspective: 1200px;
}

.bloom-level {
  position: relative;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  letter-spacing: 0.02em;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18), inset 0 -4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(40px) rotateX(40deg);
  transform-origin: 50% 100%;
  cursor: pointer;
  transition: transform 0.5s var(--ease-out-back), box-shadow 0.3s ease;
}

.bloom-level:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 22px 50px rgba(0,0,0,0.28), 0 0 0 2px rgba(255,255,255,0.5);
  z-index: 2;
}

.bloom-level .lv-num {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  background: rgba(255,255,255,0.22);
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.bloom-level .lv-tag {
  position: absolute;
  right: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.66rem;
  opacity: 0.85;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bloom-l1 { width: 95%; background: linear-gradient(135deg, #7c3aed, #5b21b6); }
.bloom-l2 { width: 80%; background: linear-gradient(135deg, #6366f1, #4338ca); }
.bloom-l3 { width: 65%; background: linear-gradient(135deg, #06b6d4, #0e7490); }
.bloom-l4 { width: 50%; background: linear-gradient(135deg, #059669, #047857); }
.bloom-l5 { width: 35%; background: linear-gradient(135deg, #d97706, #b45309); }
.bloom-l6 { width: 22%; background: linear-gradient(135deg, #db2777, #9d174d); }

.slide-5.active .bloom-level {
  animation: bloomIn 0.85s var(--ease-out-back) forwards;
}

.slide-5.active .bloom-l1 { animation-delay: 0.4s; }
.slide-5.active .bloom-l2 { animation-delay: 0.55s; }
.slide-5.active .bloom-l3 { animation-delay: 0.7s; }
.slide-5.active .bloom-l4 { animation-delay: 0.85s; }
.slide-5.active .bloom-l5 { animation-delay: 1.0s; }
.slide-5.active .bloom-l6 { animation-delay: 1.15s; }

@keyframes bloomIn {
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.pyramid-base-glow {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 60px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.45), transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

/* Bloom stats grid */
.bloom-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.bs-card {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s var(--ease-out-expo);
}

.bs-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-400);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.2);
}

.bs-card .bs-big {
  font-size: 1.9rem;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.bs-card .bs-big small { font-size: 0.9rem; color: var(--brand-400); }

.bs-card .bs-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
  line-height: 1.35;
}

/* Companies marquee */
.bloom-companies {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.75rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  backdrop-filter: blur(14px);
}

.bc-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.bc-head::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-300), transparent);
}

.bc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.bc-pill {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-primary);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(6, 182, 212, 0.08));
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 999px;
  padding: 0.28rem 0.7rem;
}

.bloom-ref {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(124, 58, 237, 0.12);
}

.bloom-ref a {
  color: var(--brand-500);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed var(--brand-400);
  transition: all 0.3s ease;
}

.bloom-ref a:hover {
  color: var(--brand-700);
  border-bottom-color: var(--brand-700);
}

.bloom-ref svg { width: 14px; height: 14px; }

/* Responsive (basic) */
@media (max-width: 1100px) {
  .slide { padding: 4rem 3rem; }
  .slide-2 .slide-inner,
  .slide-3 .slide-inner,
  .slide-4 .slide-inner,
  .slide-5 .slide-inner {
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
  }
  .sec-right, .lang-right, .bloom-left { height: auto; min-height: 360px; }
  .globe-core { width: 240px; height: 240px; }
  .nav-arrow { width: 52px; height: 52px; }
  .nav-prev { left: 1rem; }
  .nav-next { right: 1rem; }
}

/* Desktop-only: Show mobile message and hide content on mobile */
@media (max-width: 1024px) {
  .mobile-message {
    display: flex !important;
  }
  .nav-arrow,
  .dot-nav,
  .swipe-hint,
  .main-presentation,
  .slide {
    display: none !important;
  }
}

/* Mobile message styling (hidden by default, shown on mobile) */
.mobile-message {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.mobile-message-content {
  text-align: center;
  color: #fff;
  max-width: 400px;
}

.mobile-message-content svg {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  color: #8b5cf6;
}

.mobile-message-content h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.mobile-message-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
}

@media (max-width: 720px) {
  .slide { padding: 3.5rem 1.2rem; }
  .hero-stats { gap: 1rem; }
  .hero-stat { min-width: 140px; padding: 0.8rem 1.2rem; }
  .sec-pillars { grid-template-columns: 1fr; }
  .av-stats { grid-template-columns: 1fr 1fr; }
  .bloom-stats { grid-template-columns: 1fr; }
}

/* Utility */
.no-deck-transition { transition: none !important; }
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-out-back), transform 0.9s var(--ease-out-back);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════════════
   SLIDE 2 - SCROLLABLE SECURITY DECK
═══════════════════════════════════════════════════════════════ */

.slide-6.slide-scrollable {
  padding: 0;
  overflow: hidden;
}

.sec-scroll {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  z-index: 2;
}

/* hide scrollbars (still scrollable) */
.sec-scroll::-webkit-scrollbar { width: 8px; }
.sec-scroll::-webkit-scrollbar-track { background: transparent; }
.sec-scroll::-webkit-scrollbar-thumb { background: rgba(124, 58, 237, 0.25); border-radius: 999px; }
.sec-scroll::-webkit-scrollbar-thumb:hover { background: rgba(124, 58, 237, 0.45); }

/* Each section = ~one viewport, with snap */
.sec-stage {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 5.5rem 5rem;
  scroll-snap-align: start;
  overflow: hidden;
}

.sec-stage > .glow-orb { z-index: 0; }

/* Shared typography for sections */
.block-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-500);
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
}
.block-tag.center { margin: 0 auto 1rem; }

.block-h {
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 1rem;
}
.block-h.center { text-align: center; }

.block-h-sm {
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 0.8rem;
}

.block-sub {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 540px;
  margin-bottom: 1.6rem;
}
.block-sub.center { text-align: center; max-width: 680px; margin: 0 auto 2.4rem; }
.block-sub-sm {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.1rem;
}

.sec-split {
  width: 100%;
  max-width: 1320px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.sec-center {
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sec-twocol {
  width: 100%;
  max-width: 1320px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}

/* ═══════════════════════════════════════
   1. HERO STAGE - Two Pillars
═══════════════════════════════════════ */
.sec-hero-grid {
  width: 100%;
  max-width: 1340px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}

.sec-hero-shield {
  position: relative;
  height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.two-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 1.5rem 0 1.2rem;
}

.big-pillar {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 1.2rem 1.3rem;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-out-back), border-color 0.3s ease;
}

.big-pillar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--pillar-grad, linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(99, 102, 241, 0.03)));
  pointer-events: none;
}

.big-pillar.regulatory { --pillar-grad: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(124, 58, 237, 0.04)); }
.big-pillar.fortress   { --pillar-grad: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(192, 132, 252, 0.04)); }

.big-pillar:hover {
  transform: translateY(-4px);
  border-color: var(--brand-400);
}

.bp-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
}

.bp-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}
.bp-icon svg { width: 20px; height: 20px; }

.big-pillar.regulatory .bp-icon {
  background: linear-gradient(135deg, #06b6d4, #0e7490);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.3);
}

.bp-head h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.1;
}

.bp-head span {
  font-size: 0.74rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.bp-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 1;
}

.bp-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: var(--text-primary);
  font-weight: 500;
}

.bp-tick {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #10b981, #059669);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.18);
}
.bp-tick::after {
  content: '';
  position: absolute;
  left: 4px; top: 6px;
  width: 6px; height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.bp-quote {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--brand-500);
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(124, 58, 237, 0.2);
  position: relative;
  z-index: 1;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.scroll-cue .cue-arrow {
  display: inline-flex;
  width: 30px; height: 30px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
  animation: cueBounce 1.8s ease-in-out infinite;
}

@keyframes cueBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* Smaller shield in hero (override) */
.sec-hero-shield .shield-svg { width: 280px; height: auto; }
.sec-hero-shield .shield-stage { width: 100%; height: 100%; }

/* ═══════════════════════════════════════
   2. AES-256-GCM SECTION
═══════════════════════════════════════ */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin: 1.4rem 0;
}

.spec {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}
.spec:hover { border-color: var(--brand-400); transform: translateY(-2px); }

.spec strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.02em;
  line-height: 1;
  font-family: var(--font-mono);
}

.spec span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

.callout {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(6, 182, 212, 0.06));
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-left: 4px solid var(--brand-500);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 1rem;
  position: relative;
}

.callout-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--brand-500);
  background: rgba(124, 58, 237, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.standard-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.std-pill {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.74rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--indigo-600, #4f46e5);
  letter-spacing: 0.04em;
}

/* AES Flow Visual */
.aes-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.6rem;
  padding: 1.5rem;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 70px rgba(124, 58, 237, 0.15);
}

.aes-node {
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(255, 255, 255, 0.4));
  border: 1px solid rgba(124, 58, 237, 0.12);
}

.aes-node .aes-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 0.4rem;
}

.aes-stream {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.aes-stream span {
  font-size: 0.75rem;
  background: rgba(124, 58, 237, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.aes-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0;
}

.aes-arrow-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-500);
  letter-spacing: 0.04em;
}

.aes-arrow-line {
  width: 2px; height: 18px;
  background: linear-gradient(180deg, var(--brand-400), transparent);
  position: relative;
}
.aes-arrow-line::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--brand-400);
}

.aes-engine {
  position: relative;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  color: #fff;
  border-radius: 16px;
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.4);
  overflow: hidden;
}

.aes-engine-core {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.aes-engine-core svg { width: 24px; height: 24px; color: #fff; }

.aes-engine strong {
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: 0.02em;
  display: block;
}
.aes-engine small {
  font-size: 0.75rem;
  opacity: 0.85;
  display: block;
}

.aes-pulse {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 60%);
  animation: aesPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes aesPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.aes-cipher {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  margin-top: 0.3rem;
  word-break: break-all;
}

.aes-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: 0.74rem;
  color: #10b981;
  font-weight: 600;
}
.aes-tag-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulseDot 1.8s ease-out infinite;
}

/* ═══════════════════════════════════════
   3. HMAC CHAIN
═══════════════════════════════════════ */
.cmp-table {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.cmp-row {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1.5fr;
  gap: 0;
  align-items: center;
  padding: 0.65rem 1rem;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}
.cmp-row:last-child { border-bottom: none; }

.cmp-row > div { padding: 0 0.4rem; color: var(--text-secondary); }
.cmp-row > div:first-child { font-weight: 600; color: var(--text-primary); }

.cmp-head {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.05));
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cmp-head > div { color: var(--text-primary) !important; font-weight: 700; }

.cmp-star {
  color: var(--brand-500);
  font-weight: 600;
}

.cmp-good {
  color: #059669 !important;
  font-weight: 600 !important;
  position: relative;
  padding-left: 1.2rem !important;
}
.cmp-good::before {
  content: '✓';
  position: absolute;
  left: 0.3rem;
  font-weight: 700;
}

/* HMAC Chain Blocks */
.hmac-chain {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.chain-block {
  background: var(--glass-bg-strong);
  border: 1px solid rgba(124, 58, 237, 0.22);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  position: relative;
  backdrop-filter: blur(14px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.08);
}

.chain-block:hover {
  transform: translateX(6px);
  border-color: var(--brand-400);
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.15);
}

.cb-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.74rem;
  color: var(--text-tertiary);
  margin-bottom: 0.3rem;
  font-family: var(--font-mono);
}

.cb-time { font-weight: 600; color: var(--brand-500); }
.cb-user { color: var(--text-secondary); }

.cb-action {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}
.cb-action code {
  background: rgba(124, 58, 237, 0.1);
  padding: 0.05rem 0.4rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.85em;
  color: var(--brand-600);
}

.cb-hash {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.cb-hash-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(99, 102, 241, 0.12);
  color: var(--indigo-600, #4f46e5);
  padding: 0.12rem 0.45rem;
  border-radius: 5px;
}

.cb-hash code {
  background: transparent;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}

.cb-verified {
  margin-left: auto;
  color: #10b981;
  font-weight: 700;
  font-size: 1rem;
}

.chain-link {
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, var(--brand-400), var(--brand-300));
  margin: 0 auto;
  position: relative;
}
.chain-link::before, .chain-link::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 10px; height: 10px;
  border: 2px solid var(--brand-400);
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--bg-primary);
}
.chain-link::before { top: -5px; }
.chain-link::after { bottom: -5px; }

/* Tampered block */
.chain-block.chain-broken {
  border-color: #ef4444;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.02));
  animation: chainShake 0.5s ease-out 1s 1;
}
@keyframes chainShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.cb-tamper-tag {
  position: absolute;
  top: -10px; right: 12px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.cb-strike { text-decoration: line-through; opacity: 0.6; }

.cb-hash-bad code { color: #ef4444 !important; }
.cb-failed {
  margin-left: auto;
  color: #ef4444;
  font-weight: 700;
  font-size: 1rem;
}

/* ═══════════════════════════════════════
   4. TENANT VAULT + DOCUMENT INTEGRITY (two-col)
═══════════════════════════════════════ */
.twocol-card {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 1.8rem 1.8rem 1.6rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(124, 58, 237, 0.12);
  display: flex;
  flex-direction: column;
}

/* Tenant Vault */
.vault-rack {
  margin: 1rem 0 1rem;
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.05), transparent);
  border-radius: 14px;
  padding: 1rem 0.8rem 0.5rem;
  position: relative;
}

.vault-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
}

.vault-door {
  background: linear-gradient(180deg, #1e1b4b, #4c1d95);
  color: #fff;
  border-radius: 12px;
  padding: 1rem 0.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.3rem;
  position: relative;
  box-shadow: 0 8px 24px rgba(76, 29, 149, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  transition: transform 0.3s var(--ease-out-back);
}

.vault-door:hover { transform: translateY(-3px); }

.vault-door::before {
  content: '';
  position: absolute;
  top: 8px; bottom: 8px;
  left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.vault-icon {
  font-size: 1.4rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.vault-door strong {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.vault-door span {
  font-size: 0.7rem;
  opacity: 0.75;
  font-family: var(--font-mono);
}

.vault-door.v-a { background: linear-gradient(180deg, #1e1b4b, #4338ca); }
.vault-door.v-b { background: linear-gradient(180deg, #4c1d95, #7c3aed); }
.vault-door.v-c { background: linear-gradient(180deg, #064e3b, #0e7490); }

.vault-floor {
  text-align: center;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-500);
  font-weight: 600;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(124, 58, 237, 0.25);
}

.micro-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
}

.micro-list span {
  font-size: 0.74rem;
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  color: var(--text-secondary);
}

.micro-list span b {
  color: var(--brand-500);
  font-weight: 700;
}

/* Document Fingerprint */
.doc-fp {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(6, 182, 212, 0.04));
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 14px;
  padding: 1rem;
  margin: 0.8rem 0;
}

.doc-fp-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.doc-fp-pdf {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(124, 58, 237, 0.3);
}
.doc-fp-pdf svg { width: 22px; height: 22px; }

.doc-fp-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.doc-fp-meta strong {
  font-size: 0.88rem;
  color: var(--text-primary);
}
.doc-fp-meta span {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.doc-fp-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #059669;
}

.dot-ok {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulseDot 1.8s ease-out infinite;
}

.doc-fp-hash {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(124, 58, 237, 0.18);
  font-family: var(--font-mono);
}

.hash-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(99, 102, 241, 0.12);
  color: var(--indigo-600, #4f46e5);
  padding: 0.18rem 0.5rem;
  border-radius: 5px;
}

.doc-fp-hash code {
  font-size: 0.78rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.doc-fp-versions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.7rem;
}

.ver {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.ver-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
}
.ver-tag.v1 { background: rgba(16, 185, 129, 0.15); color: #059669; }
.ver-tag.v2 { background: rgba(124, 58, 237, 0.15); color: var(--brand-600); }

.ver code {
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  font-size: 0.72rem;
}

/* ═══════════════════════════════════════
   5. WEBHOOK FLOW DIAGRAM
═══════════════════════════════════════ */
.flow-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0 2.5rem;
  width: 100%;
  max-width: 980px;
}

.flow-node {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  min-width: 200px;
  backdrop-filter: blur(14px);
  box-shadow: 0 14px 36px rgba(124, 58, 237, 0.12);
}

.flow-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 8px 20px rgba(124, 58, 237, 0.3);
}
.flow-icon svg { width: 26px; height: 26px; }

.flow-source .flow-icon {
  background: linear-gradient(135deg, #6366f1, #4338ca);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}
.flow-target .flow-icon {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.flow-node strong {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.flow-node span {
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.flow-pipe {
  flex: 1;
  min-width: 200px;
  max-width: 360px;
  position: relative;
  height: 100px;
}

.flow-pipe-layers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.layer {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.layer-tls { background: rgba(6, 182, 212, 0.12); color: #0891b2; border: 1px solid rgba(6, 182, 212, 0.25); }
.layer-aes { background: rgba(124, 58, 237, 0.12); color: var(--brand-600); border: 1px solid rgba(124, 58, 237, 0.25); }
.layer-tag { background: rgba(16, 185, 129, 0.12); color: #059669; border: 1px solid rgba(16, 185, 129, 0.25); }

.flow-pipe-bits {
  position: relative;
  height: 24px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.12), transparent);
  border-radius: 12px;
  overflow: hidden;
  border-top: 1px solid rgba(124, 58, 237, 0.18);
  border-bottom: 1px solid rgba(124, 58, 237, 0.18);
}

.flow-pipe-bits::before,
.flow-pipe-bits::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 18px; height: 2px;
  background: var(--brand-500);
  border-radius: 99px;
  box-shadow: 0 0 8px var(--brand-400);
  transform: translateY(-50%);
  animation: pipeFlow 1.6s ease-in-out infinite;
}
.flow-pipe-bits::before { left: 0; }
.flow-pipe-bits::after  { left: 0; animation-delay: 0.6s; }

@keyframes pipeFlow {
  0%   { left: -20px; opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.flow-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  width: 100%;
  max-width: 1080px;
}

.flow-feat {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}
.flow-feat:hover { border-color: var(--brand-400); transform: translateY(-2px); }

.flow-feat strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.flow-feat span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ═══════════════════════════════════════
   6. ZERO DATA RETENTION
═══════════════════════════════════════ */
.zdr-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.zdr-row {
  display: flex;
  gap: 0.9rem;
  padding: 0.8rem 0;
  border-bottom: 1px dashed rgba(124, 58, 237, 0.15);
}
.zdr-row:last-child { border-bottom: none; }

.zdr-num {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.06));
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--brand-500);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.zdr-row > div:not(.zdr-num) {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.zdr-row strong {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.zdr-row span {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Visual flow */
.zdr-flow {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.4rem;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(236, 72, 153, 0.12);
}

.zdr-stage {
  padding: 0.85rem 1.1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.04), rgba(255, 255, 255, 0.4));
  border: 1px solid rgba(124, 58, 237, 0.14);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.zdr-stage strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.zdr-stage small {
  font-size: 0.74rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.zdr-process-tag, .zdr-stage .zdr-process-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.5rem;
  border-radius: 5px;
  margin-bottom: 0.25rem;
  align-self: flex-start;
}

.zdr-process .zdr-process-tag { background: rgba(124, 58, 237, 0.15); color: var(--brand-600); }
.zdr-encrypt .zdr-process-tag { background: rgba(16, 185, 129, 0.15); color: #059669; }

.zdr-stage.zdr-4 {
  background: linear-gradient(135deg, #1e1b4b, #4c1d95);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.zdr-stage.zdr-4 strong { color: #fff; }
.zdr-stage.zdr-4 small { color: rgba(255, 255, 255, 0.75); }

.zdr-final {
  border-color: rgba(16, 185, 129, 0.3);
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06), rgba(255, 255, 255, 0.4));
}

.zdr-arrow {
  width: 2px;
  height: 16px;
  background: linear-gradient(180deg, var(--brand-400), var(--brand-300));
  margin: 0 auto;
  position: relative;
}
.zdr-arrow::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--brand-400);
}
.zdr-arrow.zdr-arrow-back {
  background: linear-gradient(180deg, #10b981, #059669);
}
.zdr-arrow.zdr-arrow-back::after {
  border-top-color: #10b981;
}

/* ═══════════════════════════════════════
   7. AUDIT VISIBILITY (table)
═══════════════════════════════════════ */
.www-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.7rem;
  margin: 1.4rem 0 1.2rem;
}

.www-card {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}
.www-card:hover { transform: translateY(-2px); border-color: var(--brand-400); }

.www-card strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
  margin-bottom: 0.25rem;
}

.www-card span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Audit table */
.audit-table {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(99, 102, 241, 0.12);
  font-size: 0.78rem;
}

.audit-head, .audit-row {
  display: grid;
  grid-template-columns: 0.7fr 1.1fr 1.4fr 0.9fr 1fr;
  gap: 0.5rem;
  align-items: center;
  padding: 0.6rem 0.9rem;
}

.audit-head {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(6, 182, 212, 0.05));
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-primary);
}
.audit-head > div:last-child { color: var(--brand-500); }

.audit-row {
  border-top: 1px solid rgba(124, 58, 237, 0.08);
  color: var(--text-primary);
}
.audit-row:hover { background: rgba(124, 58, 237, 0.04); }

.audit-row > div:first-child {
  font-family: var(--font-mono);
  color: var(--brand-500);
  font-weight: 600;
}

.audit-row > div:nth-child(2) {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.audit-avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  text-transform: uppercase;
}

.audit-warn-av { background: linear-gradient(135deg, #ef4444, #b91c1c); }

.audit-row > div:nth-child(3) { color: var(--text-primary); }

.audit-row > div:last-child code {
  font-family: var(--font-mono);
  background: rgba(99, 102, 241, 0.08);
  padding: 0.15rem 0.45rem;
  border-radius: 5px;
  color: var(--indigo-600, #4f46e5);
  font-size: 0.7rem;
}

.audit-ok {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  border-radius: 5px;
  padding: 0.15rem 0.5rem;
}

.audit-warn {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.12);
  border-radius: 5px;
  padding: 0.15rem 0.5rem;
}

.audit-bad {
  background: rgba(239, 68, 68, 0.12) !important;
  color: #ef4444 !important;
}

.audit-foot {
  padding: 0.6rem 1rem;
  background: rgba(124, 58, 237, 0.04);
  font-size: 0.72rem;
  color: var(--text-tertiary);
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════
   8. COMPLIANCE GRID
═══════════════════════════════════════ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  width: 100%;
  max-width: 1080px;
  margin: 2rem 0 2.5rem;
}

.cert-card {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.2rem 1.1rem;
  text-align: center;
  backdrop-filter: blur(14px);
  transition: all 0.4s var(--ease-out-back);
  opacity: 0;
  transform: translateY(24px) scale(0.92);
  animation: certPop 0.7s var(--ease-out-back) forwards;
  animation-delay: var(--d, 0s);
}

.reveal.in .cert-card { animation-play-state: running; }
@keyframes certPop {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.cert-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-400);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.2);
}

.cert-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cert-card strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.cert-card span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.final-cta {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px dashed rgba(124, 58, 237, 0.18);
  width: 100%;
  max-width: 600px;
}
.final-cta strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 600;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}
.final-cta span {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* ═══════════════════════════════════════════════════════════════
   SLIDE 3 - TEXT GENERATION DEMO + VIDEO CENTER
═══════════════════════════════════════════════════════════════ */

/* Make the lang-right hold the video as centerpiece */
.video-card.video-center {
  position: relative;
  width: 86%;
  max-width: 460px;
  aspect-ratio: 16 / 10;
  margin: 0;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(76, 29, 149, 0.4), 0 0 0 1px rgba(124, 58, 237, 0.3), 0 0 0 8px rgba(124, 58, 237, 0.06);
}

/* Live text generation card */
.text-gen-card {
  background: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
  border-radius: 16px;
  padding: 0.95rem 1.1rem;
  margin-top: 0.4rem;
  color: #fff;
  box-shadow: 0 18px 40px rgba(76, 29, 149, 0.28);
  font-family: var(--font-mono);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(167, 139, 250, 0.3);
}

.text-gen-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 32px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(167, 139, 250, 0.15);
}

.tgc-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  position: relative;
  padding-bottom: 0.6rem;
  z-index: 1;
}

.tgc-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 1.4s ease-out infinite;
}

.tgc-label {
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.65rem;
}
.tgc-lang { color: #c4b5fd; }

.tgc-cursor {
  margin-left: auto;
  color: #c4b5fd;
  animation: tgcBlink 0.9s steps(2) infinite;
}
@keyframes tgcBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.tgc-body {
  min-height: 86px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Inter', 'Noto Sans', system-ui, sans-serif;
  font-weight: 400;
}
.tgc-body .typed { display: inline; }
.tgc-body .typed-cursor {
  display: inline-block;
  width: 2px; height: 1.1em;
  vertical-align: text-bottom;
  background: #c4b5fd;
  margin-left: 2px;
  animation: tgcBlink 0.9s steps(2) infinite;
}

.tgc-body .hl-en { color: #fff; font-weight: 500; }
.tgc-body .hl-loc { color: #c4b5fd; font-weight: 600; }

.tgc-foot {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.7rem;
  flex-wrap: wrap;
}

.tgc-tag {
  font-size: 0.65rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  background: rgba(167, 139, 250, 0.12);
  border: 1px solid rgba(167, 139, 250, 0.25);
  color: #c4b5fd;
  padding: 0.18rem 0.5rem;
  border-radius: 999px;
}

/* Hide old subtitle margins for slide 3 since we shrunk things */
.slide-3 .video-card .video-meta code {
  font-family: var(--font-mono);
  background: rgba(255,255,255,0.15);
  padding: 0.1rem 0.4rem;
  border-radius: 5px;
  font-size: 0.78rem;
  color: #fff;
}

/* ═══════════════════════════════════════════════════════════════
   SLIDE 2 - RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .sec-stage { padding: 5.5rem 3rem 4rem; }
  .sec-hero-grid { grid-template-columns: 1fr; }
  .sec-hero-shield { display: none; }
  .sec-split { grid-template-columns: 1fr; gap: 2rem; }
  .sec-twocol { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-features { grid-template-columns: repeat(2, 1fr); }
  .flow-diagram { flex-direction: column; gap: 1rem; }
  .flow-pipe { width: 100%; height: 80px; }
}

@media (max-width: 720px) {
  .sec-stage { padding: 5rem 1.2rem 3rem; }
  .two-pillars { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .www-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .flow-features { grid-template-columns: 1fr; }
  .vault-row { grid-template-columns: 1fr; }
  .audit-head, .audit-row {
    grid-template-columns: 1fr 1fr;
    font-size: 0.7rem;
  }
}

/* ═════════════════════════════════════════════════════════════
   SLIDE 6 - AI COURSE GENERATION
═════════════════════════════════════════════════════════════ */
.slide-6 .slide-inner.gen-inner {
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 0;
  position: relative;
}

/* Floating top-left badge */
.gen-corner-badge {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(124, 58, 237, 0.25);
  backdrop-filter: blur(12px);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-700);
  box-shadow: 0 4px 16px -6px rgba(124, 58, 237, 0.25);
  z-index: 5;
}

.gen-corner-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.55);
  animation: cbPulse 1.6s ease-in-out infinite;
}

/* 2-column split: text on left, vertical steps on right */
.gen-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  height: 100%;
}

.gen-text {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  max-width: 580px;
}

.gen-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.6vw, 3.4rem);
  line-height: 1.08;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0;
}

.gen-sub {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
  max-width: 540px;
}

.gen-sub strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Stats inline pill row, on left column under text */
.gen-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.4rem;
}

.gen-stat {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  backdrop-filter: blur(12px);
}

.gs-v {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
}

.gs-v small { font-size: 0.7rem; font-weight: 600; }

.gs-l {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* === Right column: vertical 3-step pipeline === */
.gen-vsteps {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  position: relative;
  max-width: 460px;
  margin-left: 0;
  width: 100%;
}

/* Centered dashed pipeline line — runs through the vertical centre of the
   right column; hidden behind the cards (they sit at higher z-index) so it
   visually "threads" through the gaps between cards. */
.gen-vsteps::before {
  display: none;
}

/* Continuously travelling glow on the centre line */
.gen-vsteps::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, var(--brand-500) 55%, transparent 80%);
  box-shadow:
    0 0 14px var(--brand-500),
    0 0 28px rgba(124, 58, 237, 0.45);
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  animation: vsCenterTravel 4.2s ease-in-out infinite;
}

@keyframes vsCenterTravel {
  0%   { top: 0;     opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: calc(100% - 10px); opacity: 0; }
}

.vstep {
  position: relative;
  z-index: 2; /* sit above the centred dashed line */
  display: flex;
  align-items: stretch;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(14px);
  animation: vsIn 0.6s var(--ease-out-back) forwards;
}

.vstep-input  { animation-delay: 0.2s; }
.vstep-ai     { animation-delay: 0.45s; }
.vstep-course { animation-delay: 0.7s; }
.vstep-media  { animation-delay: 0.95s; }

@keyframes vsIn {
  to { opacity: 1; transform: translateY(0); }
}

.vs-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--brand-700);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-top: 0.55rem;
}

.vs-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px -14px rgba(124, 58, 237, 0.3);
  transition: all 0.4s var(--ease-out-expo);
}

.vs-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -14px rgba(124, 58, 237, 0.45);
}

.vs-card-ai {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.07), rgba(6, 182, 212, 0.05));
  border-color: rgba(124, 58, 237, 0.25);
}

.vs-card-course {
  background: rgba(255, 255, 255, 0.92);
}

.vs-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.vs-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.vs-icon svg { width: 18px; height: 18px; }

.vs-icon-input {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  transition: background 0.4s ease, color 0.4s ease;
}

.vs-icon-input.is-doc    { background: rgba(37, 99, 235, 0.12);  color: #2563eb; }
.vs-icon-input.is-prompt { background: rgba(124, 58, 237, 0.12); color: var(--brand-600); }
.vs-icon-input.is-url    { background: rgba(6, 182, 212, 0.12);  color: #0891b2; }

.vs-icon-ai {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.45);
}

.ai-orb {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, 0.4) 50%, transparent 80%);
  animation: aiOrbPulse 2.4s ease-in-out infinite;
}

@keyframes aiOrbPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.85); }
  50%      { opacity: 1; transform: scale(1.05); }
}

.ai-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px dashed rgba(124, 58, 237, 0.45);
  animation: ringSpin 8s linear infinite;
}

.vs-icon-course {
  background: linear-gradient(135deg, #06b6d4, var(--brand-500));
  color: #fff;
}

.vs-icon-media {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  overflow: hidden;
}

.media-anim {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}

.media-wave {
  width: 3px;
  height: 12px;
  background: #fff;
  border-radius: 2px;
  animation: mediaWave 1.2s ease-in-out infinite;
}

.media-wave:nth-child(1) { animation-delay: 0s; }
.media-wave:nth-child(2) { animation-delay: 0.2s; }
.media-wave:nth-child(3) { animation-delay: 0.4s; }

@keyframes mediaWave {
  0%, 100% { height: 6px; opacity: 0.5; }
  50% { height: 18px; opacity: 1; }
}

.vs-meta {
  flex: 1;
  min-width: 0;
}

.vs-meta strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.25s ease;
}

.vs-meta span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  margin-top: 0.1rem;
  transition: opacity 0.25s ease;
}

.vs-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--brand-700);
}

.vs-tag-ai {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
}

.vs-tag-course {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
}

.vs-tag-media {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
}

/* AI agent chips row */
.ai-agents {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(124, 58, 237, 0.18);
}

.ai-chip {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.22rem 0.5rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(124, 58, 237, 0.18);
  color: var(--brand-700);
  letter-spacing: 0.03em;
  transition: all 0.3s ease;
}

.ai-chip.active {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px -4px rgba(124, 58, 237, 0.5);
  transform: translateY(-1px);
}

/* Module rows in course card */
.vs-modules {
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(124, 58, 237, 0.18);
}

.vsm-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  color: var(--text-primary);
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-back);
}

.vsm-row.in {
  opacity: 1;
  transform: translateX(0);
}

.vsm-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
  flex-shrink: 0;
}

.vsm-bullet-cert {
  background: linear-gradient(135deg, #06b6d4, var(--brand-500));
  width: 8px;
  height: 8px;
  box-shadow: 0 0 8px rgba(6, 182, 212, 0.6);
}

.vsm-cert {
  margin-top: 0.18rem;
  padding-top: 0.4rem;
  border-top: 1px dashed rgba(6, 182, 212, 0.25);
  font-weight: 600;
}

/* Media content in step 4 */
.vs-media-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px dashed rgba(245, 158, 11, 0.25);
}

.media-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.65rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.media-item:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(2px);
}

.media-compact {
  padding: 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(245, 158, 11, 0.12);
}

.media-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(239, 68, 68, 0.15));
  color: #f59e0b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.media-icon svg { width: 14px; height: 14px; }

.media-info {
  flex: 1;
  min-width: 0;
}

.media-info strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
}

.media-info span {
  display: block;
  font-size: 0.68rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  margin-top: 0.05rem;
}

/* Audio waveform animation */
.media-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 20px;
}

.media-waveform span {
  width: 2px;
  background: linear-gradient(180deg, #f59e0b, #ef4444);
  border-radius: 2px;
  animation: waveformAnim 0.8s ease-in-out infinite;
  opacity: 0.3;
}

.media-waveform span:nth-child(1) { animation-delay: 0s; height: 6px; }
.media-waveform span:nth-child(2) { animation-delay: 0.1s; height: 10px; }
.media-waveform span:nth-child(3) { animation-delay: 0.2s; height: 14px; }
.media-waveform span:nth-child(4) { animation-delay: 0.3s; height: 18px; }
.media-waveform span:nth-child(5) { animation-delay: 0.4s; height: 14px; }
.media-waveform span:nth-child(6) { animation-delay: 0.5s; height: 10px; }
.media-waveform span:nth-child(7) { animation-delay: 0.6s; height: 6px; }
.media-waveform span:nth-child(8) { animation-delay: 0.7s; height: 10px; }
.media-waveform span:nth-child(9) { animation-delay: 0.8s; height: 14px; }
.media-waveform span:nth-child(10) { animation-delay: 0.9s; height: 18px; }
.media-waveform span:nth-child(11) { animation-delay: 1s; height: 14px; }
.media-waveform span:nth-child(12) { animation-delay: 1.1s; height: 10px; }
.media-waveform span:nth-child(13) { animation-delay: 1.2s; height: 6px; }
.media-waveform span:nth-child(14) { animation-delay: 1.3s; height: 10px; }
.media-waveform span:nth-child(15) { animation-delay: 1.4s; height: 14px; }

@keyframes waveformAnim {
  0%, 100% { transform: scaleY(0.5); opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Video preview frames */
.media-preview {
  display: flex;
  gap: 4px;
  align-items: center;
}

.preview-frame {
  width: 24px;
  height: 16px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(239, 68, 68, 0.2));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 3px;
  animation: framePulse 1.5s ease-in-out infinite;
}

.preview-frame:nth-child(1) { animation-delay: 0s; }
.preview-frame:nth-child(2) { animation-delay: 0.3s; }
.preview-frame:nth-child(3) { animation-delay: 0.6s; }

@keyframes framePulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.05); }
}

.vsm-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
}

/* Connector between steps — visual replaced by the centred dashed pipeline
   on .gen-vsteps::before. We keep the element to preserve the 22px gap that
   the dashed line shines through, but hide the old left-aligned gradient bar
   and the old travelling particle. */
.vs-link {
  position: relative;
  margin-left: 0;
  height: 36px;
  width: 100%;
  background: transparent;
  border-radius: 0;
  pointer-events: none;
  z-index: 0;
}

.vsl-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 0;
  border-left: 2px dashed rgba(124, 58, 237, 0.38);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.vsl-particle {
  display: none;
}

/* Responsive */
@media (max-width: 1080px) {
  .gen-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .gen-vsteps {
    margin-left: 0;
    max-width: 100%;
  }
  .gen-corner-badge {
    position: static;
    align-self: flex-start;
    margin-bottom: 1rem;
  }
}

.gen-header {
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.gen-header .eyebrow {
  margin: 0 auto;
  display: inline-flex;
}

.gen-header .slide-title {
  margin: 0.7rem auto 0.45rem;
  font-size: clamp(1.55rem, 2.1vw, 2rem);
  line-height: 1.18;
}

.gen-header .slide-subtitle {
  margin: 0 auto;
  max-width: 760px;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* === IDE-style live console === */
.gen-console {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  align-items: stretch;
  gap: 0;
  height: 56vh;
  max-height: 460px;
  position: relative;
}

.console-pane {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* LEFT terminal pane (dark) */
.console-left {
  background: linear-gradient(150deg, #1a1430 0%, #0f0a24 60%, #1a1430 100%);
  border: 1px solid rgba(124, 58, 237, 0.35);
  box-shadow:
    0 20px 60px -20px rgba(91, 33, 182, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.console-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(124, 58, 237, 0.22);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
}

.cb-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.cb-red    { background: #ff5f57; }
.cb-amber  { background: #febc2e; }
.cb-green  { background: #28c840; }

.cb-title {
  margin-left: 0.5rem;
  letter-spacing: 0.04em;
}

.cb-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cb-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
  animation: cbPulse 1.6s ease-in-out infinite;
}

@keyframes cbPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  50%      { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
}

.console-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  overflow: hidden;
}

.cl-section {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.cl-section-grow {
  flex: 1;
  min-height: 0;
}

.cl-label {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(196, 181, 253, 0.7);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.cl-arrow {
  color: var(--brand-400);
}

/* Prompt pre-block */
.cl-prompt {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(124, 58, 237, 0.22);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.92);
  white-space: pre;
  overflow: hidden;
}

.tk-comment { color: rgba(148, 163, 184, 0.7); font-style: italic; }
.tk-flag    { color: #c084fc; }
.tk-str     { color: #5eead4; }
.tk-num     { color: #fbbf24; }

.cl-cursor {
  display: inline-block;
  width: 8px;
  height: 1em;
  background: #c084fc;
  vertical-align: -2px;
  margin-left: 4px;
  animation: cursorBlink 0.9s steps(1) infinite;
}

/* Agent log stream */
.cl-stream {
  flex: 1;
  overflow: hidden;
  padding: 0.7rem 0.85rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(124, 58, 237, 0.18);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.85);
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  position: relative;
}

.log-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(6px);
  animation: logIn 0.4s var(--ease-out-expo) forwards;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@keyframes logIn {
  to { opacity: 1; transform: translateY(0); }
}

.log-time {
  color: rgba(148, 163, 184, 0.55);
  font-size: 0.68rem;
}

.log-status {
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.log-status.ok    { color: #4ade80; }
.log-status.run   { color: #fbbf24; }

.log-agent {
  color: #c084fc;
  font-weight: 600;
  width: 78px;
  flex-shrink: 0;
}

.log-msg {
  color: rgba(226, 232, 240, 0.85);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.log-spinner {
  display: inline-block;
  animation: logSpin 0.8s linear infinite;
}

@keyframes logSpin {
  to { transform: rotate(360deg); }
}

/* === Beam connector === */
.console-beam {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beam-trail {
  position: absolute;
  top: 50%;
  left: 4px;
  right: 4px;
  height: 2px;
  background: linear-gradient(90deg,
    rgba(124, 58, 237, 0.5) 0%,
    rgba(192, 132, 252, 0.7) 50%,
    rgba(6, 182, 212, 0.5) 100%);
  transform: translateY(-50%);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.5);
}

.beam-particle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, #c084fc 40%, transparent 70%);
  transform: translateY(-50%);
  box-shadow: 0 0 16px rgba(192, 132, 252, 0.9);
  animation: beamTravel 2.4s linear infinite;
}

@keyframes beamTravel {
  0%   { left: 0%;   opacity: 0; transform: translateY(-50%) scale(0.5); }
  10%  { opacity: 1; transform: translateY(-50%) scale(1); }
  90%  { opacity: 1; transform: translateY(-50%) scale(1); }
  100% { left: 100%; opacity: 0; transform: translateY(-50%) scale(0.5); }
}

/* RIGHT output pane (light) */
.console-right {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  box-shadow:
    0 20px 60px -20px rgba(124, 58, 237, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.output-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.08), rgba(6, 182, 212, 0.05));
  border-bottom: 1px solid var(--glass-border);
}

.oh-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.oh-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.oh-icon svg { width: 16px; height: 16px; }

.oh-left strong {
  display: block;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.oh-left span {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.oh-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.oh-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
}

.gen-stage-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.gs-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.18rem 0.5rem;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
  letter-spacing: 0.05em;
}

/* STAGE 1: Input deck (cycling cards) */
.input-deck {
  position: relative;
  flex: 1;
  min-height: 200px;
}

.input-card {
  position: absolute;
  inset: 0;
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-back);
  box-shadow: 0 8px 24px -12px rgba(91, 33, 182, 0.22);
}

.input-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.input-card.exit {
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
}

.ic-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.ic-icon svg { width: 16px; height: 16px; }

.ic-pdf-icon    { background: rgba(239, 68, 68, 0.12); color: #dc2626; }
.ic-doc-icon    { background: rgba(37, 99, 235, 0.12); color: #2563eb; }
.ic-prompt-icon { background: rgba(124, 58, 237, 0.12); color: var(--brand-600); }
.ic-url-icon    { background: rgba(6, 182, 212, 0.12); color: #0891b2; }

.ic-ext { font-family: var(--font-mono); }

.ic-meta strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.ic-meta span {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
}

.ic-lines {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  margin-top: 0.25rem;
}

.ic-lines span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.18), rgba(124, 58, 237, 0.05));
  animation: lineScan 2.4s ease-in-out infinite;
}

.ic-lines span:nth-child(2) { animation-delay: 0.3s; }
.ic-lines span:nth-child(3) { animation-delay: 0.6s; }
.ic-lines span:nth-child(4) { animation-delay: 0.9s; }

@keyframes lineScan {
  0%, 100% { opacity: 0.5; transform: scaleX(0.92); transform-origin: left; }
  50%      { opacity: 1;   transform: scaleX(1); }
}

.ic-prompt-body {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-primary);
  line-height: 1.55;
  padding: 0.65rem 0.7rem;
  background: rgba(124, 58, 237, 0.06);
  border-left: 3px solid var(--brand-500);
  border-radius: 6px;
}

.ic-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--brand-500);
  vertical-align: -2px;
  margin-right: 4px;
  animation: cursorBlink 0.9s steps(1) infinite;
}

@keyframes cursorBlink {
  50% { opacity: 0; }
}

.input-hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  font-family: var(--font-mono);
}

.ih-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
  animation: dotPulse 1.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50%      { opacity: 1;   transform: scale(1.2); box-shadow: 0 0 12px var(--brand-400); }
}

/* ARROWS */
.gen-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--brand-500);
}

.ga-line {
  position: absolute;
  inset: 50% 4px auto 4px;
  height: 2px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.15), rgba(124, 58, 237, 0.5), rgba(124, 58, 237, 0.15));
  transform: translateY(-50%);
  overflow: hidden;
  border-radius: 2px;
}

.ga-pulse {
  position: absolute;
  top: 0;
  left: -30%;
  height: 100%;
  width: 30%;
  background: linear-gradient(90deg, transparent, var(--brand-500), transparent);
  animation: arrowPulse 2.2s ease-in-out infinite;
}

@keyframes arrowPulse {
  0%   { left: -30%; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.ga-tip {
  width: 22px;
  height: 22px;
  z-index: 2;
  background: var(--bg-primary);
  border-radius: 50%;
  padding: 2px;
}

/* STAGE 2: AI Engine */
.gen-engine {
  align-items: center;
  text-align: center;
}

.engine-core {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0.2rem auto 0.1rem;
}

.engine-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(124, 58, 237, 0.3);
  animation: ringSpin 14s linear infinite;
}

.engine-ring-2 {
  inset: 18px;
  border-color: rgba(6, 182, 212, 0.28);
  animation-duration: 18s;
  animation-direction: reverse;
}

.engine-ring-3 {
  inset: 36px;
  border-color: rgba(236, 72, 153, 0.22);
  animation-duration: 22s;
}

@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

.engine-orb {
  position: absolute;
  inset: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow:
    0 0 30px rgba(124, 58, 237, 0.55),
    0 0 60px rgba(124, 58, 237, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.15);
  animation: orbBreathe 3s ease-in-out infinite;
}

.engine-orb svg {
  width: 50%;
  height: 50%;
  animation: orbSpin 12s linear infinite;
}

@keyframes orbBreathe {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.55), 0 0 60px rgba(124, 58, 237, 0.3), inset 0 0 20px rgba(255, 255, 255, 0.15);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.7), 0 0 90px rgba(124, 58, 237, 0.45), inset 0 0 30px rgba(255, 255, 255, 0.25);
  }
}

@keyframes orbSpin {
  to { transform: rotate(360deg); }
}

.engine-agent {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(124, 58, 237, 0.25);
  color: var(--brand-600);
  white-space: nowrap;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px -4px rgba(124, 58, 237, 0.3);
  opacity: 0;
  animation: agentFloat 8s ease-in-out infinite;
}

.ea-1 { transform: translate(-50%, -50%) translate(-82px, -38px); animation-delay: 0.2s; }
.ea-2 { transform: translate(-50%, -50%) translate(72px,  -52px); animation-delay: 0.7s; }
.ea-3 { transform: translate(-50%, -50%) translate(-72px,  46px); animation-delay: 1.2s; }
.ea-4 { transform: translate(-50%, -50%) translate(78px,   42px); animation-delay: 1.7s; }
.ea-5 { transform: translate(-50%, -50%) translate(-18px, -82px); animation-delay: 2.2s; }
.ea-6 { transform: translate(-50%, -50%) translate(22px,   76px); animation-delay: 2.7s; }

@keyframes agentFloat {
  0%, 100% { opacity: 0; }
  20%, 80% { opacity: 1; }
}

.engine-meta {
  text-align: center;
  margin-top: auto;
  padding-top: 0.4rem;
}

.engine-meta strong {
  display: block;
  font-size: 0.86rem;
  color: var(--text-primary);
  margin-bottom: 0.18rem;
}

.engine-meta span {
  font-size: 0.7rem;
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* Live agent status */
.engine-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.3rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--brand-700);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.es-spinner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(124, 58, 237, 0.25);
  border-top-color: var(--brand-500);
  animation: esSpin 0.9s linear infinite;
  flex-shrink: 0;
}

@keyframes esSpin {
  to { transform: rotate(360deg); }
}

.es-label {
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

/* Output tree (inside console-right) */
.output-tree {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  font-size: 0.84rem;
  padding: 0.85rem 1rem;
  overflow-y: auto;
}

.output-tree::-webkit-scrollbar { width: 4px; }
.output-tree::-webkit-scrollbar-thumb { background: rgba(124, 58, 237, 0.25); border-radius: 2px; }

.ot-row {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--glass-border);
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.55s var(--ease-out-expo), transform 0.55s var(--ease-out-back);
}

.ot-row.in {
  opacity: 1;
  transform: translateX(0);
}

.ot-row strong {
  font-weight: 600;
  color: var(--text-primary);
}

.ot-row > span:not(.ot-trunk):not(.ot-icon):not(.ot-badge):not(.ot-meta):not(.ot-chip) {
  color: var(--text-primary);
}

.ot-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  flex-shrink: 0;
}

.ot-icon svg { width: 13px; height: 13px; }

.ot-course-ic {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  color: #fff;
}

.ot-module-ic {
  background: rgba(124, 58, 237, 0.12);
  color: var(--brand-600);
}

.ot-lesson-ic {
  background: rgba(6, 182, 212, 0.14);
  color: #0891b2;
}

.ot-final-ic {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  color: #fff;
}

.ot-course {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.06), rgba(6, 182, 212, 0.06));
  border-color: rgba(124, 58, 237, 0.25);
}

.ot-module {
  margin-left: 1.1rem;
  background: rgba(124, 58, 237, 0.04);
}

.ot-lesson {
  margin-left: 2.2rem;
  padding: 0.38rem 0.55rem;
  font-size: 0.76rem;
}

.ot-final {
  margin-top: 0.25rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(124, 58, 237, 0.08));
  border-color: rgba(6, 182, 212, 0.3);
}

.ot-trunk {
  position: absolute;
  left: -0.65rem;
  top: 50%;
  width: 0.65rem;
  height: 2px;
  background: rgba(124, 58, 237, 0.25);
}

.ot-trunk::before {
  content: '';
  position: absolute;
  left: 0;
  top: -14px;
  width: 2px;
  height: 16px;
  background: rgba(124, 58, 237, 0.25);
}

.ot-badge,
.ot-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.ot-badge {
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--brand-600);
  font-weight: 600;
}

.ot-badge-cert {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.18), rgba(124, 58, 237, 0.18));
  color: var(--brand-700);
}

.ot-chip {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  padding: 0.16rem 0.4rem;
  border-radius: 5px;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.ot-chip-text  { background: rgba(124, 58, 237, 0.12); color: var(--brand-600); }
.ot-chip-audio { background: rgba(236, 72, 153, 0.14); color: #be185d; }
.ot-chip-video { background: rgba(37, 99, 235, 0.14);  color: #2563eb; }
.ot-chip-quiz  { background: rgba(6, 182, 212, 0.16);  color: #0891b2; }

/* Hide all legacy slide-6 markup if accidentally rendered */
.gen-pipeline,
.gen-stage,
.gen-arrow,
.gen-console,
.gen-header { display: none !important; }

/* ═══════════════════════════════════════════════════════════════
   SLIDE 7 - COMPLIANCE REPORTS & AUDIT LOGS
═══════════════════════════════════════════════════════════════ */
.slide-7 .slide-inner.cmp-inner {
  flex-direction: row;
  gap: 3rem;
  align-items: stretch;
}

.cmp-left {
  flex: 0 0 44%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: center;
}

.cmp-right {
  flex: 1 1 56%;
  display: flex;
  align-items: center;
}

.cmp-headline-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.4rem;
}

.cmp-hs {
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--glass-shadow);
}

.cmp-hs-v {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.cmp-hs-l {
  font-size: 0.74rem;
  color: var(--text-secondary);
  line-height: 1.35;
  margin-top: 0.2rem;
}

.cmp-standards {
  margin-top: 0.4rem;
}

.cmp-std-head {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.cmp-std-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cmp-std {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.35rem 0.7rem;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Compliance dashboard mock */
.cmp-dashboard {
  width: 100%;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 1.1rem 1.2rem 1.2rem;
  box-shadow:
    0 28px 60px -28px rgba(76, 29, 149, 0.4),
    0 0 0 1px rgba(124, 58, 237, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cmp-dash-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cmp-dash-title {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.cmp-dash-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(6, 182, 212, 0.12));
  color: var(--brand-600);
  border: 1px solid rgba(124, 58, 237, 0.25);
}

.cmp-dash-icon svg { width: 20px; height: 20px; }

.cmp-dash-title strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cmp-dash-title small {
  display: block;
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
}

.cmp-dl {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--grad-brand);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  box-shadow: 0 12px 26px -10px rgba(76, 29, 149, 0.55);
  transition: transform 0.25s var(--ease-out-back), box-shadow 0.25s ease;
}

.cmp-dl svg { width: 14px; height: 14px; }

.cmp-dl:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(76, 29, 149, 0.7);
}

.cmp-status-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.cmp-status {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.6);
  font-size: 0.74rem;
}

.cmp-status strong {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.15;
}

.cmp-status small {
  display: block;
  font-size: 0.66rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

.cmp-status-dot {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.cmp-status.cmp-warn .cmp-status-dot {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18);
}

.cmp-status.cmp-warn {
  border-color: rgba(239, 68, 68, 0.3);
  background: rgba(254, 226, 226, 0.6);
}

/* Live audit log */
.cmp-logs {
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(245, 243, 255, 0.8));
  padding: 0.85rem 0.95rem 0.9rem;
}

.cmp-logs-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(124, 58, 237, 0.18);
  margin-bottom: 0.4rem;
}

.cmp-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-emerald);
}

.cmp-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  position: relative;
}

.cmp-live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid var(--accent-emerald);
  animation: cmpLivePulse 1.4s ease-out infinite;
}

@keyframes cmpLivePulse {
  0%   { transform: scale(0.7); opacity: 0.9; }
  100% { transform: scale(2.4); opacity: 0; }
}

.cmp-log-row {
  display: grid;
  grid-template-columns: 70px 110px 1fr 130px;
  gap: 0.6rem;
  align-items: center;
  font-size: 0.74rem;
  padding: 0.4rem 0.2rem;
  border-bottom: 1px solid rgba(124, 58, 237, 0.06);
}

.cmp-log-row:last-child { border-bottom: none; }

.cmp-log-time {
  font-family: var(--font-mono);
  color: var(--brand-500);
  font-weight: 600;
  font-size: 0.7rem;
}

.cmp-log-user {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-primary);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cmp-log-action {
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cmp-log-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  justify-self: end;
  white-space: nowrap;
}

.cmp-tag-ok {
  background: rgba(16, 185, 129, 0.14);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.cmp-tag-warn {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.24);
}

.cmp-log-row.cmp-log-warn {
  background: rgba(254, 226, 226, 0.4);
  border-radius: 8px;
}

.cmp-foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px dashed rgba(124, 58, 237, 0.18);
}

.cmp-foot-stat {
  text-align: center;
}

.cmp-foot-stat strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cmp-foot-stat span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
}

/* ═══════════════════════════════════════════════════════════════
   SLIDE 8 - SCHEDULE A DEMO (CALENDLY)
═══════════════════════════════════════════════════════════════ */
.slide-8 .slide-inner.sched-inner {
  flex-direction: row;
  gap: 3rem;
  align-items: stretch;
}

.sched-left {
  flex: 0 0 36%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  justify-content: center;
}

.sched-right {
  flex: 1 1 56%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sched-cta-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.sched-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.25s var(--ease-out-back), box-shadow 0.25s ease;
}

.sched-cta svg { width: 18px; height: 18px; }

.sched-cta-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 18px 38px -14px rgba(76, 29, 149, 0.6);
}

.sched-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 46px -14px rgba(76, 29, 149, 0.8);
}

.sched-cta-note {
  font-size: 0.78rem;
  color: var(--text-tertiary);
  font-weight: 500;
}

.sched-trust {
  margin-top: 0.2rem;
}

.sched-trust-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.sched-trust-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
}

/* Calendly popup button wrap */
.sched-calendly-button-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--glass-bg-strong);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow:
    0 32px 64px -28px rgba(76, 29, 149, 0.45),
    0 0 0 1px rgba(124, 58, 237, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.sched-calendly-popup-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  border: none;
  border-radius: 14px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.3), 0 8px 24px -6px rgba(124, 58, 237, 0.5);
  transition: all 0.25s ease;
}

.sched-calendly-popup-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.4), 0 12px 32px -6px rgba(124, 58, 237, 0.6);
}

.sched-calendly-popup-btn svg {
  width: 20px;
  height: 20px;
}

.sched-calendly-note {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
}

/* Live feature showcase */
.sched-feature-showcase {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 520px;
}

.sched-showcase-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sched-showcase-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.sched-showcase-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sched-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.sched-showcase-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 16px;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s var(--ease-out-expo);
}

.sched-showcase-item.animate-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.sched-showcase-item:hover {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(124, 58, 237, 0.3);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 24px -8px rgba(124, 58, 237, 0.35);
}

.showcase-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(6, 182, 212, 0.14));
  color: var(--brand-600);
  border: 1px solid rgba(124, 58, 237, 0.25);
  flex-shrink: 0;
  box-shadow: 0 4px 12px -4px rgba(124, 58, 237, 0.3);
}

.showcase-icon svg {
  width: 20px;
  height: 20px;
}

.showcase-content strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.showcase-content span {
  display: block;
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}

/* ═══════════════════════════════════════════════════════════════
   SLIDE 7 & 8 - RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1180px) {
  .slide-7 .slide-inner.cmp-inner,
  .slide-8 .slide-inner.sched-inner {
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
    align-items: stretch;
  }
  .cmp-left,
  .cmp-right,
  .sched-left,
  .sched-right { flex: 1 1 100%; }
  .cmp-headline-stats { grid-template-columns: 1fr 1fr; }
  .cmp-status-row { grid-template-columns: 1fr 1fr; }
  .cmp-log-row { grid-template-columns: 60px 100px 1fr 110px; }
}

@media (max-width: 720px) {
  .cmp-status-row { grid-template-columns: 1fr; }
  .cmp-headline-stats { grid-template-columns: 1fr; }
  .cmp-log-row {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "time user"
      "action action"
      "tag tag";
  }
  .cmp-log-time   { grid-area: time; }
  .cmp-log-user   { grid-area: user; text-align: right; }
  .cmp-log-action { grid-area: action; }
  .cmp-log-tag    { grid-area: tag; justify-self: start; }
  .cmp-foot { grid-template-columns: 1fr; gap: 0.4rem; }
  .sched-cta { width: 100%; justify-content: center; }

  /* Slide 1 - Hero */
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.5rem); }
  .hero-subtitle { font-size: clamp(0.85rem, 3vw, 0.95rem); }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat { min-width: auto; padding: 0.7rem 1rem; }

  /* Slide 2 - AI Generation */
  .gen-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .gen-vsteps { max-width: 100%; margin-left: 0; }
  .gen-stat { padding: 0.6rem 0.9rem; }
  .vstep { padding: 0.7rem; }
  .vs-card { padding: 0.7rem; }

  /* Slide 3 - Languages */
  .lang-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .lang-features { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .lang-feat { padding: 0.5rem 0.7rem; }
  .lang-bignum { font-size: clamp(2.5rem, 10vw, 3.5rem); }
  .text-gen-card { padding: 0.8rem; }
  .tgc-head { padding-bottom: 0.5rem; }
  .tgc-body { font-size: 0.85rem; line-height: 1.4; }

  /* Slide 4 - Audio/Video */
  .av-split { grid-template-columns: 1fr; gap: 1.5rem; }
  .av-stats { grid-template-columns: 1fr; }
  .av-stat { padding: 0.7rem 0.9rem; }
  .video-card { min-height: 200px; }

  /* Slide 5 - Pedagogy */
  .slide-5 .slide-inner { flex-direction: column !important; gap: 0.8rem; overflow-y: auto; padding-bottom: 4rem; }
  .bloom-left { flex: 0 0 auto; min-height: auto; height: auto; order: 2; width: 100%; max-width: 100%; margin: 1.5rem auto 0; padding-bottom: 0.5rem; position: relative; z-index: 2; }
  .bloom-right { flex: 1 1 auto; order: 1; gap: 0.6rem; position: relative; z-index: 1; }
  .bloom-pyramid { max-width: 100%; display: flex; flex-direction: column; gap: 0.3rem; perspective: none; align-items: center; }
  .bloom-level { height: auto; min-height: 34px; font-size: 0.62rem; padding: 0.4rem 0.6rem; transform: none !important; animation: none !important; opacity: 1 !important; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 0.4rem; white-space: nowrap; }
  .bloom-level .lv-num { position: static; font-size: 0.45rem; padding: 0.04rem 0.25rem; margin-bottom: 0; }
  .bloom-level .lv-tag { position: static; font-size: 0.5rem; margin-top: 0; opacity: 0.9; }
  .bloom-l1 { width: 100%; }
  .bloom-l2 { width: 95%; }
  .bloom-l3 { width: 90%; }
  .bloom-l4 { width: 85%; }
  .bloom-l5 { width: 80%; }
  .bloom-l6 { width: 75%; }
  .bloom-stats { grid-template-columns: 1fr 1fr; gap: 0.4rem; }
  .bs-card { padding: 0.5rem; }
  .bs-big { font-size: 1.4rem; }
  .bs-label { font-size: 0.6rem; }
  .bloom-companies { padding: 0.5rem; }
  .bc-head { font-size: 0.6rem; }
  .bc-pill { font-size: 0.55rem; padding: 0.15rem 0.4rem; }
  .bloom-ref { font-size: 0.6rem; }
  .bloom-stat { padding: 0.5rem 0.7rem; }

  /* Slide 6 - Security */
  .sec-hero-grid { grid-template-columns: 1fr; }
  .sec-hero-shield { display: none; }
  .sec-pillars { grid-template-columns: 1fr; }
  .flow-features { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .www-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr 1fr; }

  /* Slide 8 - Feature Showcase */
  .sched-showcase-grid { grid-template-columns: 1fr; }
  .sched-showcase-item { padding: 0.75rem; }
  .showcase-icon { width: 36px; height: 36px; }
  .showcase-icon svg { width: 18px; height: 18px; }
  .sched-showcase-header h3 { font-size: 1.1rem; }
  .sched-showcase-sub { font-size: 0.65rem; }

  /* Navigation arrows */
  .nav-arrow { width: 48px; height: 48px; }
  .nav-prev { left: 0.5rem; bottom: 0.5rem; }
  .nav-next { right: 0.5rem; bottom: 0.5rem; }

  /* Dot navigation */
  .dot-nav { bottom: 0.5rem; right: 50%; transform: translateX(50%); padding: 0.4rem 0.8rem; gap: 0.4rem; }
  .dot { width: 8px; height: 8px; }
  .dot-label { display: none; }

  /* Global mobile fixes */
  .slide-title { font-size: clamp(1.5rem, 6vw, 2rem); }
  .slide-subtitle { font-size: clamp(0.8rem, 2.5vw, 0.9rem); }
  .eyebrow { font-size: 0.7rem; }
  .sched-left { flex: 1 1 100%; padding: 1rem; }
  .sched-right { flex: 1 1 100%; padding: 1rem; }
  .sched-inner { flex-direction: column !important; gap: 1.5rem; }
  .sched-showcase-header { text-align: center; flex-direction: column; }
  .sched-showcase-sub { font-size: 0.6rem; text-align: center; margin-top: 0.3rem; }
}
