/* ==========================================================================
   BB.KZ — PRESENTATION (BUSINESS / LIGHT THEME)
   Палитра: cream, navy, gold, deep green
   ========================================================================== */

:root {
  /* === BURABAY LAKE & PINE palette ===
     Inspired by lake water, pine forest, sand beaches and KZ sun */
  --bg-page: #f4efe2;       /* warm sandy cream */
  --bg-page-2: #e7e0cc;
  --bg-card: #ffffff;
  --bg-soft: #ede7d4;
  --bg-tint: #faf6ea;

  --c-text: #1a2530;        /* deep slate */
  --c-text-dim: #475a6a;
  --c-text-mute: #8896a3;

  /* Warm bronze gold (Kazakhstan sun) */
  --c-gold: #b8853e;
  --c-gold-bright: #e0a560;
  --c-gold-dark: #8c6125;

  /* Lake teal (replaces navy) */
  --c-blue: #1f6275;
  --c-blue-light: #4f8d9e;

  /* Pine forest green */
  --c-green: #436548;
  --c-green-light: #7da086;

  /* Sunset coral */
  --c-red: #c46851;

  --c-sand: #d8b97a;

  --border: #e3dac3;
  --border-strong: #c8bda6;
  --border-soft: #ece4cf;

  --grad-gold: linear-gradient(135deg, #b8853e 0%, #e0a560 50%, #8c6125 100%);
  --grad-navy: linear-gradient(135deg, #1a2530 0%, #1f6275 100%);
  --grad-page: linear-gradient(180deg, #faf6ea 0%, #ece4cf 100%);

  --shadow-xs: 0 1px 2px rgba(26, 37, 48, 0.04);
  --shadow-sm: 0 2px 8px rgba(26, 37, 48, 0.05), 0 1px 2px rgba(26, 37, 48, 0.04);
  --shadow-md: 0 6px 20px rgba(26, 37, 48, 0.07), 0 2px 6px rgba(26, 37, 48, 0.04);
  --shadow-lg: 0 14px 40px rgba(26, 37, 48, 0.10), 0 4px 12px rgba(26, 37, 48, 0.05);
  --shadow-gold: 0 8px 24px rgba(184, 133, 62, 0.20);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--bg-page);
  color: var(--c-text);
  font-family: 'Inter', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   LOADER
   ========================================================================== */
#loader {
  position: fixed;
  inset: 0;
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; width: 320px; }
.loader-svg { width: 200px; height: 80px; margin-bottom: 30px; }
.loader-text {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 52px;
  letter-spacing: -2px;
}
.loader-bar {
  width: 100%;
  height: 2px;
  background: rgba(26, 40, 50, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 20px;
}
.loader-fill {
  height: 100%;
  width: 0%;
  background: var(--grad-gold);
  animation: loaderFill 2.2s ease-in-out forwards;
}
@keyframes loaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}
.loader-tagline {
  color: var(--c-text-mute);
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
}

/* ==========================================================================
   SUBTLE BG LAYERS
   ========================================================================== */
#particles-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}
#three-scene {
  display: none;  /* disabled in business theme */
}

/* light decorative background pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(184, 133, 62, 0.05), transparent 35%),
    radial-gradient(circle at 88% 82%, rgba(67, 101, 72, 0.04), transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(31, 98, 117, 0.02), transparent 60%);
}

/* ==========================================================================
   REVEAL OVERRIDES
   ========================================================================== */
.reveal {
  font-family: 'Inter', sans-serif;
  background: transparent !important;
  z-index: 1;
}
.reveal .slides { text-align: left; }
.reveal .slides section {
  padding: 0 !important;
  height: 100vh;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--bg-page);
}
.reveal .progress { display: none; }
.reveal .controls {
  color: var(--c-gold) !important;
  bottom: 30px !important;
  right: 30px !important;
}

.container {
  width: min(1280px, 92vw);
  margin: 0 auto;
  padding: 50px 40px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   COMMON ELEMENTS
   ========================================================================== */
.section-label {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--c-gold-dark);
  padding: 6px 14px;
  border: 1px solid rgba(184, 133, 62, 0.35);
  border-radius: 100px;
  margin-bottom: 22px;
  background: rgba(184, 133, 62, 0.06);
}
.section-label.red {
  color: var(--c-red);
  border-color: rgba(196, 104, 81, 0.3);
  background: rgba(196, 104, 81, 0.05);
}
.section-label.green {
  color: var(--c-green);
  border-color: rgba(67, 101, 72, 0.3);
  background: rgba(67, 101, 72, 0.05);
}
.section-label.gold {
  color: var(--c-gold);
  border-color: rgba(184, 133, 62, 0.4);
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 22px;
  color: var(--c-text);
}

.lead {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--c-text-dim);
  max-width: 880px;
  margin: 0 0 36px;
}

.accent-gold { color: var(--c-gold-dark); }
.accent-green { color: var(--c-green); }
.accent-blue { color: var(--c-blue); }
.accent-red { color: var(--c-red); }

.strike {
  text-decoration: line-through;
  text-decoration-color: rgba(196, 104, 81, 0.6);
  color: var(--c-text-mute);
}

em {
  font-style: italic;
  color: var(--c-gold-dark);
  font-weight: 500;
}

/* shared card base */
.bb-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   SLIDE 1 — COVER
   ========================================================================== */
.slide-cover {
  position: relative;
  overflow: hidden;
}
.cover-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
.cover-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(67, 101, 72, 0.06), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(31, 98, 117, 0.07), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(184, 133, 62, 0.08), transparent 70%),
    linear-gradient(180deg, #faf8f3 0%, #efece4 100%);
  z-index: 1;
}
/* When cover has a video, replace flat overlay with a darkening gradient
   that still feels premium and keeps text readable */
.cover-has-video .cover-overlay {
  background:
    radial-gradient(ellipse at center, rgba(10, 20, 28, 0.40) 0%, rgba(10, 20, 28, 0.65) 70%, rgba(10, 20, 28, 0.85) 100%),
    linear-gradient(180deg, rgba(10, 20, 28, 0.35) 0%, rgba(10, 20, 28, 0.55) 100%);
  z-index: 1;
}
.cover-has-video .reveal section { background: #0a141c; }

/* Light text on video background */
.cover-has-video .cover-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.20);
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.cover-has-video .cover-badge i { color: #e6b074; }

.cover-has-video .cover-title { color: #f5f1e8; }
.cover-has-video .cover-bb {
  background: linear-gradient(135deg, #e6b074 0%, #f0c889 50%, #b8853e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
}
.cover-has-video .cover-dot { color: #94c1a3; }
.cover-has-video .cover-kz { color: #a3cdd8; }

.cover-has-video .cover-subtitle { color: rgba(245, 241, 232, 0.82); }
.cover-has-video .cover-description { color: rgba(245, 241, 232, 0.85); }

.cover-has-video .meta-item {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.20);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: none;
}
.cover-has-video .meta-item:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #e6b074;
}
.cover-has-video .meta-item i { color: #e6b074; }

.cover-has-video .cover-scroll { color: rgba(245, 241, 232, 0.55); }
.cover-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 40px;
}
.cover-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  box-shadow: var(--shadow-xs);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--c-text-dim);
  margin-bottom: 44px;
  font-weight: 500;
}
.cover-badge i { color: var(--c-gold); }

.cover-title {
  font-size: clamp(56px, 9vw, 140px);
  font-weight: 900;
  letter-spacing: -5px;
  line-height: 0.95;
  margin: 0;
  color: var(--c-text);
}
.cover-bb {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cover-dot { color: var(--c-green); }
.cover-kz { color: var(--c-blue); }

.cover-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 32px);
  letter-spacing: 2px;
  color: var(--c-text-dim);
  margin: 14px 0 20px;
}
.cover-divider {
  width: 80px;
  height: 2px;
  background: var(--grad-gold);
  margin: 0 auto 24px;
}
.cover-description {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
  color: var(--c-text-dim);
  max-width: 720px;
  margin: 0 auto 44px;
}
.cover-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
}
.meta-item {
  padding: 11px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 100px;
  font-size: 13px;
  letter-spacing: 0.5px;
  color: var(--c-text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  font-weight: 500;
}
.meta-item:hover {
  border-color: var(--c-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.meta-item i { color: var(--c-gold); }

.cover-scroll {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--c-text-mute);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: floatScroll 2.5s ease-in-out infinite;
}
@keyframes floatScroll {
  0%, 100% { transform: translateY(0); opacity: 0.55; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* ==========================================================================
   DARK SLIDE OVERRIDE (used on slide 2, etc.)
   ========================================================================== */
.slide-dark {
  background: #13202b;
}
.reveal .slides section.slide-dark { background: #13202b; }
.slide-dark .section-label {
  color: #e0a560;
  border-color: rgba(200, 163, 97, 0.4);
  background: rgba(200, 163, 97, 0.10);
}
.slide-dark .section-title {
  color: #f5f1e8;
}
.slide-dark .section-title .accent-gold,
.slide-dark .accent-gold { color: #e6b074; }
.slide-dark .section-title .strike,
.slide-dark .strike {
  color: rgba(245, 241, 232, 0.45);
  text-decoration-color: rgba(224, 135, 115, 0.7);
}
.slide-dark .lead {
  color: rgba(245, 241, 232, 0.78);
}
.slide-dark em {
  color: #e6b074;
}

/* ==========================================================================
   SLIDE 2 — VISION / BENTO GRID
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
  height: 540px;
  max-height: calc(100vh - 280px);
}

.bento {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition:
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.5s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.4s ease;
  isolation: isolate;
}

.bento-bg {
  position: absolute;
  inset: 0;
  background-image: var(--bg-img);
  background-size: cover;
  background-position: center;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
  z-index: 0;
  will-change: transform;
}
.bento-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
  will-change: transform;
  pointer-events: none;
}
.bento-has-video:hover .bento-video {
  transform: translate(-50%, -50%) scale(1.06);
  filter: brightness(1.08) saturate(1.10);
}
.bento-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10, 20, 28, 0.10) 0%,
      rgba(10, 20, 28, 0.35) 45%,
      rgba(10, 20, 28, 0.75) 85%,
      rgba(10, 20, 28, 0.90) 100%);
  z-index: 1;
  transition: opacity 0.4s ease, background 0.4s ease;
}
.bento-content {
  position: relative;
  z-index: 2;
  padding: 20px 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.bento-icon {
  position: absolute;
  top: 18px;
  left: 22px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s ease;
}
.bento-content h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.3px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bento-content p {
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  color: rgba(245, 241, 232, 0.88);
  max-width: 92%;
  opacity: 0.85;
  transform: translateY(4px);
  transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Hover */
.bento:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--c-gold);
}
.bento:hover .bento-bg {
  transform: scale(1.10);
  filter: brightness(1.08) saturate(1.1);
}
.bento:hover .bento-overlay {
  background:
    linear-gradient(180deg,
      rgba(10, 20, 28, 0.05) 0%,
      rgba(10, 20, 28, 0.30) 45%,
      rgba(184, 133, 62, 0.55) 85%,
      rgba(184, 133, 62, 0.75) 100%);
}
.bento:hover .bento-icon {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  transform: rotate(-6deg) scale(1.08);
}
.bento:hover .bento-content h4 { transform: translateY(-2px); }
.bento:hover .bento-content p { opacity: 1; transform: translateY(0); }

/* Animated subtle pulse for accent cards */
.bento::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(212, 175, 111, 0.18) 0%, transparent 30%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 1;
  pointer-events: none;
  animation: bentoSheen 6s linear infinite;
}
.bento:hover::after { opacity: 1; }
@keyframes bentoSheen {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   BENTO GRID — Жильё: вертикальный "phone" слева на всю высоту
   Остальные 8 карточек в правой части (3 cols × 4 rows)
   ========================================================================== */

/* Жильё — 1 col × 4 row (phone-like) */
.bento-housing  { grid-column: 1 / span 1; grid-row: 1 / span 4; }

/* Верхний ряд: 3 карточки */
.bento-routes   { grid-column: 2 / span 1; grid-row: 1 / span 1; }
.bento-eco      { grid-column: 3 / span 1; grid-row: 1 / span 1; }
.bento-history  { grid-column: 4 / span 1; grid-row: 1 / span 2; }

/* Второй ряд */
.bento-active   { grid-column: 2 / span 1; grid-row: 2 / span 1; }
.bento-transfer { grid-column: 3 / span 1; grid-row: 2 / span 1; }

/* Третий ряд: Рестораны + AI (2-wide) */
.bento-rest     { grid-column: 2 / span 1; grid-row: 3 / span 1; }
.bento-ai       { grid-column: 3 / span 2; grid-row: 3 / span 1; }

/* Нижний ряд: Лояльность на всю ширину остатка */
.bento-loyalty  { grid-column: 2 / span 3; grid-row: 4 / span 1; }

/* В вертикальном Жилье текст внизу, размеры адаптированы под узкий блок */
.bento-housing .bento-content {
  padding: 22px 20px;
}
.bento-housing .bento-content h4 {
  font-size: 26px;
  letter-spacing: -0.5px;
}
.bento-housing .bento-content p {
  font-size: 13px;
  max-width: 100%;
  line-height: 1.5;
}
.bento-housing .bento-icon {
  width: 42px;
  height: 42px;
  font-size: 16px;
}

/* Жильё: blurred backdrop заполняет блок (без чёрных полос),
   сверху — чёткое видео в нативном 16:9 */
.bento-housing {
  background: #0a141c;
}
.bento-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(28px) brightness(0.55) saturate(1.15);
  transform: scale(1.18);
  z-index: 0;
  pointer-events: none;
  will-change: transform, filter;
  transition: filter 0.6s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bento-housing .bento-video {
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  transform: translate(-50%, -50%);
  z-index: 1;
}
.bento-housing:hover .bento-video {
  transform: translate(-50%, -50%) scale(1.03);
}
.bento-housing:hover .bento-video-bg {
  filter: blur(28px) brightness(0.70) saturate(1.25);
  transform: scale(1.22);
}

/* Overlay в "Жилье": только мягкое затемнение внизу под текстом, верх — чистый */
.bento-housing .bento-overlay {
  background:
    linear-gradient(180deg,
      transparent 0%,
      transparent 60%,
      rgba(10, 20, 28, 0.40) 75%,
      rgba(10, 20, 28, 0.85) 95%,
      rgba(10, 20, 28, 0.95) 100%);
}
.bento-housing:hover .bento-overlay {
  background:
    linear-gradient(180deg,
      transparent 0%,
      transparent 55%,
      rgba(184, 133, 62, 0.25) 75%,
      rgba(184, 133, 62, 0.75) 95%,
      rgba(184, 133, 62, 0.88) 100%);
}

@media (max-width: 1100px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, minmax(120px, 1fr));
    height: auto;
  }
  .bento-housing  { grid-column: 1 / span 1; grid-row: 1 / span 3; }
  .bento-routes   { grid-column: 2 / span 1; grid-row: 1; }
  .bento-eco      { grid-column: 3 / span 1; grid-row: 1; }
  .bento-history  { grid-column: 2 / span 2; grid-row: 2; }
  .bento-active   { grid-column: 2 / span 1; grid-row: 3; }
  .bento-transfer { grid-column: 3 / span 1; grid-row: 3; }
  .bento-rest     { grid-column: 1 / span 1; grid-row: 4; }
  .bento-ai       { grid-column: 2 / span 2; grid-row: 4; }
  .bento-loyalty  { grid-column: 1 / span 3; grid-row: 5; }
}

@media (max-width: 680px) {
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .bento, .bento-housing, .bento-routes, .bento-history,
  .bento-eco, .bento-rest, .bento-active, .bento-transfer,
  .bento-ai, .bento-loyalty {
    grid-column: auto;
    grid-row: auto;
    min-height: 140px;
  }
  .bento-housing { grid-column: 1 / span 2; min-height: 320px; }
}

/* ==========================================================================
   SLIDE 3 — PROBLEM (dark, animated stats, pulsing dots)
   ========================================================================== */
.slide-problem .grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 241, 232, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 241, 232, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  z-index: 0;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 85%);
}

.slide-problem .pulse-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.slide-problem .pulse {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #e08773;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(224, 135, 115, 0.7);
}
.slide-problem .pulse::before {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid #e08773;
  border-radius: 50%;
  opacity: 0;
  animation: pulseRing 2.6s ease-out infinite;
}
.slide-problem .pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid #e08773;
  border-radius: 50%;
  opacity: 0;
  animation: pulseRing 2.6s ease-out infinite;
  animation-delay: 1.3s;
}
@keyframes pulseRing {
  0%   { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(4); opacity: 0; }
}
.slide-problem .pulse-1 { top: 12%; left: 6%; }
.slide-problem .pulse-2 { top: 18%; right: 8%; animation-delay: 0.4s; }
.slide-problem .pulse-3 { top: 70%; left: 4%; }
.slide-problem .pulse-4 { top: 78%; right: 6%; animation-delay: 0.8s; }
.slide-problem .pulse-5 { top: 45%; left: 12%; opacity: 0.6; }
.slide-problem .pulse-6 { top: 55%; right: 14%; opacity: 0.6; animation-delay: 1.1s; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
}
.problem-card {
  position: relative;
  padding: 26px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.35s ease;
  border-left: 3px solid #e08773;
  overflow: hidden;
}
.problem-card::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(224, 135, 115, 0.10), transparent 70%);
  pointer-events: none;
}
.problem-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 135, 115, 0.35);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}
.problem-num {
  position: absolute;
  top: 22px;
  right: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(245, 241, 232, 0.35);
  letter-spacing: 2px;
  font-weight: 600;
}
.stat-line {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.stat-big {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 5vw, 64px);
  letter-spacing: -2.5px;
  line-height: 1;
  background: linear-gradient(135deg, #ff8a73 0%, #e08773 50%, #c46851 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 16px rgba(224, 135, 115, 0.25));
}
.stat-zero .stat-big {
  background: linear-gradient(135deg, #ffb8a8 0%, #e08773 50%, #8a3526 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: line-through;
  text-decoration-color: rgba(224, 135, 115, 0.45);
  text-decoration-thickness: 2px;
  animation: zeroPulse 2.4s ease-in-out infinite;
}
@keyframes zeroPulse {
  0%, 100% { filter: drop-shadow(0 4px 12px rgba(224, 135, 115, 0.20)); }
  50%      { filter: drop-shadow(0 4px 24px rgba(224, 135, 115, 0.55)); }
}
.stat-cap {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(245, 241, 232, 0.55);
  font-weight: 500;
}
.problem-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #f5f1e8;
  letter-spacing: -0.2px;
}
.problem-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(245, 241, 232, 0.72);
  margin: 0;
}

/* ==========================================================================
   SLIDE 4 — FORMULA (CONSTELLATION)
   ========================================================================== */
.slide-constellation {
  background: #ede4ce !important;
}
.reveal .slides section.slide-constellation { background: #ede4ce; }

.slide-constellation .con-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(184, 133, 62, 0.13) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 20%, rgba(67, 101, 72, 0.05) 0%, transparent 40%),
    radial-gradient(ellipse at 80% 80%, rgba(31, 98, 117, 0.05) 0%, transparent 40%);
}
.slide-constellation .con-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(184, 133, 62, 0.18) 1px, transparent 1.5px);
  background-size: 32px 32px;
  background-position: 0 0;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.constellation {
  position: relative;
  width: min(720px, 65vh, 90vw);
  aspect-ratio: 1 / 1;
  margin: 10px auto 0;
  z-index: 2;
}

.constellation-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: visible;
}

.con-line {
  fill: none;
  stroke-linecap: round;
}
.con-line-radial {
  stroke: #b8853e;
  stroke-width: 1.8;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: drawLine 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--delay, 0s);
  filter: drop-shadow(0 0 6px rgba(184, 133, 62, 0.45));
  transition: stroke 0.3s ease, stroke-width 0.3s ease, filter 0.3s ease;
}
.con-line-radial.active {
  stroke: #e0a560;
  stroke-width: 3;
  filter: drop-shadow(0 0 12px rgba(200, 163, 97, 0.85));
}
.con-line-edge {
  stroke: rgba(184, 133, 62, 0.50);
  stroke-width: 1;
  stroke-dasharray: 4 6;
  opacity: 0;
  animation: edgeFadeIn 0.9s ease forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}
@keyframes edgeFadeIn {
  to { opacity: 1; }
}

.con-vertex {
  fill: #e0a560;
  filter: drop-shadow(0 0 8px rgba(200, 163, 97, 0.7));
  opacity: 0;
  animation: vertexAppear 0.6s ease forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes vertexAppear {
  0%   { opacity: 0; transform: scale(0); transform-origin: center; }
  60%  { opacity: 1; transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}

/* CENTER */
.con-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  margin-top: -100px;
  margin-left: -100px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffffff 0%, #faf6ec 70%, #f0e6cf 100%);
  border: 2px solid #b8853e;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow:
    0 0 60px rgba(184, 133, 62, 0.30),
    0 16px 48px rgba(26, 40, 50, 0.12);
}
.con-center-ring {
  position: absolute;
  inset: -14px;
  border: 1px dashed rgba(184, 133, 62, 0.50);
  border-radius: 50%;
  animation: ringSpin 30s linear infinite;
}
.con-center-ring::before {
  content: '';
  position: absolute;
  inset: -16px;
  border: 1px dashed rgba(184, 133, 62, 0.25);
  border-radius: 50%;
  animation: ringSpin 50s linear infinite reverse;
}
@keyframes ringSpin {
  to { transform: rotate(360deg); }
}
.con-center-inner {
  text-align: center;
  z-index: 2;
}
.con-bb-text {
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
}
.con-bb-text .cover-bb {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.con-bb-text .cover-dot { color: var(--c-green); }
.con-bb-text .cover-kz { color: var(--c-blue); }
.con-sub {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--c-text-mute);
  font-weight: 600;
}

/* NODES — positioned at hex vertices (radius 36% of container so cards fit inside) */
.con-pos {
  position: absolute;
  width: 180px;
  z-index: 5;
}
.con-pos-1 { top: 14%; left: 50%; transform: translate(-50%, -50%); }
.con-pos-2 { top: 32%; left: 81%; transform: translate(-50%, -50%); }
.con-pos-3 { top: 68%; left: 81%; transform: translate(-50%, -50%); }
.con-pos-4 { top: 86%; left: 50%; transform: translate(-50%, -50%); }
.con-pos-5 { top: 68%; left: 19%; transform: translate(-50%, -50%); }
.con-pos-6 { top: 32%; left: 19%; transform: translate(-50%, -50%); }

.con-node {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: default;
  position: relative;
}
.con-node::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
  background: var(--grad-gold);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}
.con-node:hover {
  transform: translateY(-4px);
  border-color: var(--c-gold);
  box-shadow: 0 14px 32px rgba(184, 133, 62, 0.25);
}
.con-node i {
  display: block;
  font-size: 24px;
  color: var(--c-gold-dark);
  margin-bottom: 8px;
  transition: transform 0.4s ease;
}
.con-node:hover i {
  transform: scale(1.15) rotate(-6deg);
}
.con-node h5 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--c-text);
  letter-spacing: -0.2px;
  line-height: 1.2;
}
.con-node p {
  font-size: 11.5px;
  color: var(--c-text-dim);
  margin: 0;
  line-height: 1.35;
}

@media (max-height: 820px) {
  .constellation { width: min(580px, 60vh, 86vw); }
  .con-center { width: 160px; height: 160px; margin-top: -80px; margin-left: -80px; }
  .con-bb-text { font-size: 26px; }
  .con-pos { width: 160px; }
  .con-node { padding: 12px 10px; }
  .con-node i { font-size: 20px; margin-bottom: 6px; }
  .con-node h5 { font-size: 13px; }
  .con-node p { font-size: 11px; }
}

@media (max-width: 760px) {
  .constellation { width: min(440px, 85vw); }
  .con-pos { width: 130px; }
  .con-node i { font-size: 18px; }
  .con-node h5 { font-size: 12px; }
  .con-node p { font-size: 10px; }
}

/* ==========================================================================
   OLD FORMULA STYLES (kept for fallback, not in use)
   ========================================================================== */
.formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.formula-item {
  padding: 14px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--c-text);
  transition: all 0.3s ease;
}
.formula-item:hover {
  border-color: var(--c-gold);
  box-shadow: var(--shadow-md);
  transform: scale(1.04);
}
.formula-op {
  font-size: 22px;
  color: var(--c-gold-dark);
  font-weight: 300;
}
.formula-result {
  text-align: center;
  margin-top: 40px;
}
.formula-equals {
  font-size: 40px;
  color: var(--c-gold-dark);
  font-weight: 200;
  margin-bottom: 12px;
}
.formula-final {
  font-size: clamp(72px, 10vw, 130px);
  font-weight: 900;
  letter-spacing: -4px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.formula-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--c-text-dim);
  margin-top: 4px;
}

/* ==========================================================================
   SLIDE 5 — PHILOSOPHY (tabs + animated detail panel)
   ========================================================================== */

/* Per-pillar accent colors (CSS variables) */
.phil-c-gold  { --c: #b8853e; --bg: rgba(184, 133, 62, 0.10); --br: rgba(184, 133, 62, 0.30); }
.phil-c-blue  { --c: #1f6275; --bg: rgba(31, 98, 117, 0.10);  --br: rgba(31, 98, 117, 0.30); }
.phil-c-sky   { --c: #4f8d9e; --bg: rgba(79, 141, 158, 0.12); --br: rgba(79, 141, 158, 0.32); }
.phil-c-red   { --c: #c46851; --bg: rgba(196, 104, 81, 0.10);  --br: rgba(196, 104, 81, 0.30); }
.phil-c-green { --c: #436548; --bg: rgba(67, 101, 72, 0.10);  --br: rgba(67, 101, 72, 0.30); }

/* Tabs strip */
.phil-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 16px 0 22px;
}
.phil-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: left;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.phil-tab::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.phil-tab:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.phil-tab.active {
  border-color: var(--c-gold);
  background: rgba(184, 133, 62, 0.04);
  box-shadow: var(--shadow-gold);
}
.phil-tab.active::after {
  transform: scaleX(1);
}
.phil-tab-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--c-text-mute);
  font-weight: 600;
}
.phil-tab-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--br);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}
.phil-tab-icon i {
  font-size: 16px;
  color: var(--c);
}
.phil-tab.active .phil-tab-icon {
  transform: scale(1.08);
}
.phil-tab h4 {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  color: var(--c-text);
  line-height: 1.25;
  letter-spacing: -0.1px;
}

/* Detail panel */
.phil-detail {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  min-height: 320px;
  overflow: hidden;
}
.phil-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(184, 133, 62, 0.10);
  z-index: 6;
}
.phil-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--grad-gold);
  animation: philProgress 10s linear infinite;
  transform-origin: left;
}
@keyframes philProgress {
  0%   { width: 0%; opacity: 0.95; }
  98%  { width: 100%; opacity: 0.95; }
  100% { width: 100%; opacity: 0; }
}
.phil-panel {
  display: none;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  min-height: 320px;
}
.phil-panel.active {
  display: grid;
  animation: panelFadeIn 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes panelFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.phil-panel-left {
  position: relative;
  padding: 32px 30px;
  background: linear-gradient(135deg, rgba(168,136,74,0.04) 0%, rgba(168,136,74,0.01) 100%);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.phil-panel-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent, var(--c-gold));
}
.phil-accent-gold  { --accent: #b8853e; --accent-bg: rgba(184, 133, 62, 0.08); --accent-br: rgba(184, 133, 62, 0.25); }
.phil-accent-blue  { --accent: #1f6275; --accent-bg: rgba(31, 98, 117, 0.08); --accent-br: rgba(31, 98, 117, 0.25); }
.phil-accent-sky   { --accent: #4f8d9e; --accent-bg: rgba(79, 141, 158, 0.10); --accent-br: rgba(79, 141, 158, 0.28); }
.phil-accent-red   { --accent: #c46851; --accent-bg: rgba(196, 104, 81, 0.08); --accent-br: rgba(196, 104, 81, 0.25); }
.phil-accent-green { --accent: #436548; --accent-bg: rgba(67, 101, 72, 0.08); --accent-br: rgba(67, 101, 72, 0.25); }

.phil-big-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-br);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.phil-big-icon i {
  font-size: 30px;
  color: var(--accent);
}
.phil-panel-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--c-text-mute);
  font-weight: 600;
  margin-bottom: 8px;
}
.phil-panel-left h3 {
  font-size: 26px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--c-text);
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.phil-panel-lead {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--c-text-dim);
  margin: 0;
}

.phil-panel-list {
  padding: 28px 32px;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.phil-panel-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--c-text-dim);
  opacity: 0;
  transform: translateX(-12px);
}
.phil-panel.active .phil-panel-list li {
  animation: bulletIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes bulletIn {
  to { opacity: 1; transform: translateX(0); }
}
.phil-panel-list li i {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-bg);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  margin-top: 2px;
}
.phil-panel-list li strong {
  color: var(--c-text);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .phil-tabs { grid-template-columns: repeat(5, 1fr); gap: 8px; }
  .phil-tab { padding: 12px 10px; }
  .phil-tab h4 { font-size: 11.5px; }
  .phil-panel { grid-template-columns: 1fr; }
  .phil-panel-left { border-right: none; border-bottom: 1px solid var(--border); padding: 24px 24px; }
  .phil-panel-list { padding: 22px 24px; }
}
@media (max-width: 720px) {
  .phil-tabs { grid-template-columns: repeat(2, 1fr); }
  .phil-panel-left h3 { font-size: 22px; }
  .phil-panel-list li { font-size: 13px; }
}

/* ==========================================================================
   SLIDE 6 — COMPARE TABLE
   ========================================================================== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.compare-table th, .compare-table td {
  padding: 13px 18px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table th {
  background: var(--bg-soft);
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--c-text);
  font-size: 12px;
  text-transform: uppercase;
}
.compare-table th.bb-col {
  background: rgba(184, 133, 62, 0.12);
  color: var(--c-gold-dark);
  text-align: center;
}
.compare-table td.bb-col {
  background: rgba(184, 133, 62, 0.04);
  color: var(--c-gold-dark);
  text-align: center;
  font-weight: 600;
}
.compare-table td { color: var(--c-text-dim); }
.compare-table td .fa-check {
  color: var(--c-green);
  font-size: 14px;
}
.compare-table tbody tr:hover { background: var(--bg-tint); }

/* ==========================================================================
   SLIDE 7 — POSITIONING
   ========================================================================== */
.pos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.pos-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
}
.pos-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-gold);
}
.pos-gov::before { background: linear-gradient(180deg, #436548, #7da086); }
.pos-hotel::before { background: var(--grad-gold); }
.pos-tourist::before { background: linear-gradient(180deg, #1f6275, #4f8d9e); }
.pos-bank::before { background: linear-gradient(180deg, #c46851, #e08773); }
.pos-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pos-tag {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-gold-dark);
  margin-bottom: 14px;
  font-weight: 700;
}
.pos-gov .pos-tag { color: var(--c-green); }
.pos-tourist .pos-tag { color: var(--c-blue); }
.pos-bank .pos-tag { color: var(--c-red); }
.pos-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text-dim);
  margin: 0;
}

/* ==========================================================================
   SLIDE 8 — ECOSYSTEM ORBIT
   ========================================================================== */
.eco-orbit {
  position: relative;
  width: min(600px, 70vh);
  height: min(600px, 70vh);
  margin: 20px auto 0;
}
.eco-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.eco-rings circle {
  fill: none;
  stroke: rgba(184, 133, 62, 0.25);
  stroke-width: 1;
  stroke-dasharray: 3 6;
}
.eco-rings .ring-outer {
  animation: ringRotate 60s linear infinite;
  transform-origin: 300px 300px;
}
.eco-rings .ring-inner {
  animation: ringRotate 45s linear infinite reverse;
  transform-origin: 300px 300px;
  stroke: rgba(67, 101, 72, 0.22);
}
@keyframes ringRotate { to { transform: rotate(360deg); } }

.eco-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 180px;
  height: 180px;
  margin-top: -90px;
  margin-left: -90px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--c-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 10px 40px rgba(184, 133, 62, 0.25);
  animation: pulseGlow 3s ease-in-out infinite;
}
.eco-center span {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 10px 30px rgba(184, 133, 62, 0.2); }
  50% { box-shadow: 0 14px 50px rgba(184, 133, 62, 0.35); }
}
.eco-pos {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  height: 92px;
  margin-left: -65px;
  margin-top: -46px;
  z-index: 5;
}
.eco-pos-1 { transform: translate(0, -230px); }
.eco-pos-2 { transform: translate(163px, -163px); }
.eco-pos-3 { transform: translate(230px, 0); }
.eco-pos-4 { transform: translate(163px, 163px); }
.eco-pos-5 { transform: translate(0, 230px); }
.eco-pos-6 { transform: translate(-163px, 163px); }
.eco-pos-7 { transform: translate(-230px, 0); }
.eco-pos-8 { transform: translate(-163px, -163px); }

.eco-item {
  width: 100%;
  height: 100%;
  padding: 12px 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.eco-item:hover {
  border-color: var(--c-gold);
  background: rgba(184, 133, 62, 0.04);
  box-shadow: var(--shadow-md);
}
.eco-item i {
  font-size: 20px;
  color: var(--c-gold-dark);
  display: block;
}
.eco-item span {
  font-size: 12px;
  color: var(--c-text);
  font-weight: 500;
  letter-spacing: 0.1px;
  line-height: 1.15;
}

@media (max-width: 900px) {
  .eco-orbit { width: min(440px, 80vw); height: min(440px, 80vw); }
  .eco-pos { width: 96px; height: 78px; margin-left: -48px; margin-top: -39px; }
  .eco-pos-1 { transform: translate(0, -170px); }
  .eco-pos-2 { transform: translate(120px, -120px); }
  .eco-pos-3 { transform: translate(170px, 0); }
  .eco-pos-4 { transform: translate(120px, 120px); }
  .eco-pos-5 { transform: translate(0, 170px); }
  .eco-pos-6 { transform: translate(-120px, 120px); }
  .eco-pos-7 { transform: translate(-170px, 0); }
  .eco-pos-8 { transform: translate(-120px, -120px); }
  .eco-center { width: 130px; height: 130px; margin-top: -65px; margin-left: -65px; }
  .eco-center span { font-size: 22px; }
}

/* ==========================================================================
   SLIDE 9 — MARKET
   ========================================================================== */
.market-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 28px 0 24px;
}
.market-stat {
  padding: 26px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.35s ease;
}
.market-stat:hover {
  border-color: var(--c-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.stat-value {
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -1.5px;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 13px;
  color: var(--c-text-dim);
  letter-spacing: 0.3px;
}
.market-chart-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  height: 240px;
}
.market-note {
  font-size: 11px;
  color: var(--c-text-mute);
  letter-spacing: 1px;
  margin-top: 10px;
}

/* ==========================================================================
   SLIDE 10 — FEATURES
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.feature-card {
  padding: 26px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
  position: relative;
}
.feature-card:hover {
  border-color: var(--c-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.feature-card i {
  font-size: 26px;
  color: var(--c-gold-dark);
  margin-bottom: 14px;
}
.feature-card h5 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--c-text);
}
.feature-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--c-text-dim);
  margin: 0;
}

/* ==========================================================================
   SLIDE 11 — MAP
   ========================================================================== */
.map-mock {
  position: relative;
  width: 100%;
  height: 340px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin: 24px 0;
  overflow: hidden;
}

/* Two-column layout for the live-map slide — карта на всю высоту слайда */
.slide-map { padding: 0 !important; }
.slide-map .container.map-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 0;
  align-items: stretch;
  height: 100vh;
  width: 100vw;
  max-width: none;
  padding: 0;
  margin: 0;
}
.map-col-left {
  display: flex;
  align-items: stretch;
  height: 100%;
}
.map-col-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 60px;
  overflow-y: auto;
}
.map-col-right .section-title { margin-top: 12px; }
.map-col-right .lead { margin-bottom: 28px; }
.map-col-right .map-features {
  justify-content: flex-start;
}
@media (max-width: 1024px) {
  .slide-map .container.map-layout { grid-template-columns: 1fr; height: 100vh; }
  .map-col-left { min-height: 50vh; }
  .map-col-right { padding: 24px; }
}

/* Live Leaflet map — на весь левый блок */
.map-live {
  position: relative;
  width: 100%;
  height: 100%;
  background: #dde8ee;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  overflow: hidden;
  z-index: 1;
}
.map-live .leaflet-container {
  width: 100%;
  height: 100%;
  background: #dde8ee;
  font-family: 'Inter', sans-serif;
}
/* AOS may apply a transform that throws off Leaflet hit-testing — neutralize for this block */
.map-live[data-aos] {
  transform: none !important;
  opacity: 1 !important;
}
.map-live .leaflet-control-attribution {
  background: rgba(255,255,255,0.85);
  font-size: 10px;
  padding: 2px 6px;
}
.map-live .leaflet-control-zoom a {
  background: var(--bg-card);
  color: var(--c-text);
  border-color: var(--border);
}
.map-live .leaflet-control-zoom a:hover {
  background: var(--c-gold-dark, #b8853e);
  color: #fff;
}

/* Custom pin */
.bb-pin {
  position: relative;
  width: 22px;
  height: 22px;
  pointer-events: auto;
}
.bb-pin .bb-pin-dot {
  position: absolute;
  inset: 4px;
  background: linear-gradient(135deg, #e0a560, #b8853e);
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(26,40,50,0.35);
  z-index: 2;
}
.bb-pin .bb-pin-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(184, 133, 62, 0.45);
  animation: bbPinPulse 2.2s ease-out infinite;
  z-index: 1;
}
@keyframes bbPinPulse {
  0%   { transform: scale(0.5); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

.bb-popup {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.45;
  color: var(--c-text);
  min-width: 180px;
}
.bb-popup strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-gold-dark, #b8853e);
  margin-bottom: 4px;
}

/* Origin vs Destination pins */
.bb-pin-origin .bb-pin-dot { background: linear-gradient(135deg, #5fa3c7, #2f6e90); }
.bb-pin-origin .bb-pin-pulse { background: rgba(95, 163, 199, 0.45); }
.bb-pin-dest   .bb-pin-dot { background: linear-gradient(135deg, #4ade80, #2f9e44); }
.bb-pin-dest   .bb-pin-pulse { background: rgba(47, 158, 68, 0.45); }

/* ---------- 2GIS-style route panel (right column on slide 11) ---------- */
.map-col-right.dgis {
  background: #f6f7fb;
  padding: 28px 32px;
  gap: 0;
  font-family: 'Inter', sans-serif;
}
.dgis-header { margin-bottom: 18px; }
.dgis-title {
  font-family: 'Inter', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a2832;
  margin: 6px 0 0 0;
  line-height: 1.15;
}

/* Mode tabs */
.dgis-tabs {
  display: flex;
  gap: 6px;
  background: #ecedf3;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 16px;
}
.dgis-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: #5a6675;
  cursor: pointer;
  transition: all .18s ease;
}
.dgis-tab i { font-size: 14px; }
.dgis-tab:hover { color: #1a2832; }
.dgis-tab.active {
  background: #fff;
  color: #1a2832;
  box-shadow: 0 1px 3px rgba(26,40,50,0.10), 0 1px 2px rgba(26,40,50,0.06);
}

/* Route A→B card */
.dgis-route-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px 14px 14px;
  box-shadow: 0 1px 3px rgba(26,40,50,0.08), 0 4px 14px rgba(26,40,50,0.04);
}
.dgis-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  padding: 6px 0;
}
.dgis-dot {
  flex-shrink: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  margin-top: 4px;
  position: relative;
  z-index: 2;
}
.dgis-dot-origin { background: #2f80ed; box-shadow: 0 0 0 3px rgba(47,128,237,0.18); }
.dgis-dot-dest   { background: #2f9e44; box-shadow: 0 0 0 3px rgba(47,158,68,0.20); }
.dgis-connector {
  position: absolute;
  left: 20px;
  top: 36px;
  bottom: 36px;
  width: 0;
  border-left: 2px dotted #cdd3dc;
  z-index: 1;
}
.dgis-point-body { flex: 1; min-width: 0; }
.dgis-point-label {
  font-size: 11px;
  font-weight: 600;
  color: #8a93a3;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.dgis-point-value {
  font-size: 15px;
  font-weight: 600;
  color: #1a2832;
  line-height: 1.3;
}
.dgis-origin-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.dgis-origin-pill {
  padding: 6px 12px;
  background: #f0f1f5;
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #5a6675;
  cursor: pointer;
  transition: all .18s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.dgis-origin-pill i { font-size: 11px; }
.dgis-origin-pill:hover { background: #e5e7ee; color: #1a2832; }
.dgis-origin-pill.active {
  background: #1a2832;
  color: #fff;
}

/* Точность геолокации */
.dgis-accuracy {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  background: #eef0f5;
  color: #5a6675;
  border: 1px solid transparent;
}
.dgis-accuracy.good { background: #e9f7ec; color: #1f6b2c; border-color: rgba(47,158,68,0.30); }
.dgis-accuracy.ok   { background: #fff3df; color: #8a5a00; border-color: rgba(217,160,40,0.35); }
.dgis-accuracy.bad  { background: #fdecec; color: #9a2727; border-color: rgba(220,53,53,0.30); }

/* Big summary block */
.dgis-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #2f9e44, #1f7a32);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(47,158,68,0.30);
}
.dgis-summary-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.dgis-summary-main i { font-size: 18px; opacity: 0.9; }
.dgis-summary-divider {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.30);
}
.dgis-summary-sub {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.95;
}
.dgis-summary-sub i { font-size: 13px; opacity: 0.85; }

/* Suggestions grid */
.dgis-suggest-label {
  margin: 18px 0 10px 0;
  font-size: 12px;
  font-weight: 700;
  color: #8a93a3;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.dgis-suggest-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  max-height: 40vh;
  overflow-y: auto;
}
.dgis-suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  transition: all .18s ease;
  box-shadow: 0 1px 2px rgba(26,40,50,0.05);
}
.dgis-suggest-item:hover {
  border-color: #2f9e44;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47,158,68,0.15);
}
.dgis-suggest-item.active {
  background: #e9f7ec;
  border-color: #2f9e44;
}
.dgis-suggest-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  background: #f0f8f2;
  border-radius: 9px;
  color: #2f9e44;
  font-size: 13px;
  flex-shrink: 0;
}
.dgis-suggest-item.active .dgis-suggest-icon {
  background: #2f9e44; color: #fff;
}
.dgis-suggest-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a2832;
  line-height: 1.25;
}

/* Scrollbar */
.dgis-suggest-list::-webkit-scrollbar { width: 6px; }
.dgis-suggest-list::-webkit-scrollbar-track { background: transparent; }
.dgis-suggest-list::-webkit-scrollbar-thumb { background: #d0d4dd; border-radius: 3px; }
.map-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 35%, rgba(95, 163, 199, 0.30) 0%, transparent 18%),
    radial-gradient(circle at 65% 55%, rgba(95, 163, 199, 0.35) 0%, transparent 20%),
    radial-gradient(circle at 80% 30%, rgba(95, 163, 199, 0.25) 0%, transparent 15%),
    radial-gradient(circle at 40% 75%, rgba(143, 184, 154, 0.25) 0%, transparent 22%),
    linear-gradient(135deg, rgba(217, 199, 154, 0.20), rgba(95, 163, 199, 0.10));
}
.map-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(26,40,50,0.04) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(26,40,50,0.04) 40px);
}
.map-pin {
  position: absolute;
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 2;
}
.map-pin i {
  font-size: 30px;
  color: var(--c-red);
  filter: drop-shadow(0 4px 8px rgba(26,40,50,0.25));
  animation: pinBounce 2.5s ease-in-out infinite;
}
.pin-2 i { animation-delay: 0.4s; }
.pin-3 i { animation-delay: 0.8s; }
.pin-4 i { animation-delay: 1.2s; }
.pin-5 i { animation-delay: 1.6s; }
.pin-6 i { animation-delay: 2s; }
@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.pin-label {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  color: var(--c-text);
  font-weight: 500;
  margin-top: 4px;
  white-space: nowrap;
}
.pin-1 { top: 25%; left: 22%; transform: translate(-50%, -50%); }
.pin-2 { top: 38%; left: 48%; transform: translate(-50%, -50%); }
.pin-3 { top: 60%; left: 35%; transform: translate(-50%, -50%); }
.pin-4 { top: 70%; left: 68%; transform: translate(-50%, -50%); }
.pin-5 { top: 22%; left: 75%; transform: translate(-50%, -50%); }
.pin-6 { top: 50%; left: 82%; transform: translate(-50%, -50%); }

.map-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.map-feat {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 100px;
  font-size: 13px;
  color: var(--c-text);
  font-weight: 500;
}
.map-feat i { color: var(--c-gold-dark); margin-right: 8px; }

/* ==========================================================================
   SLIDE 12 — GNPP
   ========================================================================== */
.gnpp-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin: 30px 0;
  flex-wrap: nowrap;
}
.flow-step {
  flex: 1;
  padding: 22px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  text-align: center;
  transition: all 0.3s ease;
}
.flow-step:hover {
  border-color: var(--c-green);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.flow-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 14px;
  background: rgba(67, 101, 72, 0.08);
  border: 1px solid rgba(67, 101, 72, 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.flow-icon i {
  font-size: 20px;
  color: var(--c-green);
}
.flow-num {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--c-text-mute);
  letter-spacing: 1px;
  font-weight: 600;
}
.flow-step h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text);
  margin: 0 0 6px;
}
.flow-step p {
  font-size: 12px;
  color: var(--c-text-dim);
  margin: 0;
  line-height: 1.4;
}
.flow-arrow {
  display: flex;
  align-items: center;
  padding: 0 10px;
  color: var(--c-gold);
  font-size: 16px;
}
.gnpp-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.gnpp-ben {
  padding: 14px;
  background: rgba(67, 101, 72, 0.06);
  border: 1px solid rgba(67, 101, 72, 0.20);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 13px;
  color: var(--c-text);
  font-weight: 500;
}
.gnpp-ben i { color: var(--c-green); margin-right: 8px; }

/* ==========================================================================
   SLIDE 12 — INTERACTIVE GNPP DEMO
   ========================================================================== */
.slide-gnpp .container.gnpp-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  max-width: none;
  width: 100%;
  padding: 32px 48px;
}
@media (max-width: 1100px) {
  .slide-gnpp .container.gnpp-layout { grid-template-columns: 1fr; gap: 32px; }
}

/* Phone frame */
.gnpp-demo { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phone-frame {
  position: relative;
  width: 340px;
  height: 700px;
  background: #1a2832;
  border-radius: 46px;
  padding: 14px;
  box-shadow:
    0 30px 80px rgba(26,40,50,0.35),
    0 10px 30px rgba(26,40,50,0.20),
    inset 0 0 0 2px rgba(255,255,255,0.05);
}
.phone-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 26px;
  background: #1a2832;
  border-radius: 0 0 18px 18px;
  z-index: 5;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: #f6f7fb;
  border-radius: 34px;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

/* Scenes — only active visible */
.gnpp-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 38px 20px 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.gnpp-scene.active { opacity: 1; pointer-events: auto; transform: none; }

.scene-status-bar {
  display: flex; justify-content: space-between;
  font-size: 11px; font-weight: 700;
  color: #1a2832;
  margin-bottom: 12px;
  padding: 0 4px;
}
.scene-status-bar i { font-size: 10px; margin-left: 4px; }
.scene-app-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 4px 14px;
  font-size: 14px; font-weight: 700; color: #1a2832;
}
.scene-app-bar i { color: #5a6675; font-size: 14px; }

/* SCENE 1: Booking */
.booking-hotel {
  display: flex; gap: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(26,40,50,0.06);
  margin-bottom: 14px;
}
.booking-hotel-img {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, #5fa3c7, #2f6e90);
  border-radius: 10px;
  flex-shrink: 0;
  background-image:
    radial-gradient(circle at 30% 70%, rgba(255,255,255,0.4), transparent 40%),
    linear-gradient(135deg, #5fa3c7, #2f6e90);
}
.booking-hotel-name { font-size: 14px; font-weight: 700; color: #1a2832; margin-bottom: 4px; }
.booking-hotel-rating { font-size: 11px; color: #5a6675; }
.booking-hotel-rating i { color: #f5b820; }
.booking-field { margin-bottom: 10px; }
.booking-field label {
  display: block;
  font-size: 10px; font-weight: 700;
  color: #8a93a3; letter-spacing: 0.4px;
  text-transform: uppercase; margin-bottom: 4px;
}
.booking-input {
  background: #fff;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px; font-weight: 600; color: #1a2832;
  box-shadow: 0 1px 3px rgba(26,40,50,0.06);
  position: relative;
}
.booking-input.typing::after {
  content: '|';
  margin-left: 2px;
  color: #2f9e44;
  animation: caret 0.9s ease-in-out infinite;
}
@keyframes caret { 50% { opacity: 0; } }
.booking-btn {
  margin-top: auto;
  padding: 14px;
  background: linear-gradient(135deg, #2f9e44, #1f7a32);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px; font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(47,158,68,0.30);
}

/* SCENE 2: Plate input */
.plate-hint {
  background: #eef5fd;
  color: #2f6e90;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 11px;
  margin-bottom: 14px;
  display: flex; gap: 8px; align-items: flex-start;
  border: 1px solid #d4e6f5;
}
.plate-hint i { margin-top: 2px; }
.plate-card {
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(26,40,50,0.10);
  display: flex; align-items: stretch; gap: 10px;
  margin-bottom: 16px;
  border: 2px solid #1a2832;
}
.plate-region {
  background: #00afca;
  width: 38px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  padding: 3px 0 4px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.10);
}
.plate-flag {
  width: 28px;
  height: 28px;
  display: block;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.18));
}
.plate-region-label {
  font-size: 9px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.8px;
  line-height: 1;
  background: rgba(0,0,0,0.18);
  padding: 2px 5px;
  border-radius: 3px;
  margin-top: 2px;
}
.plate-numbers {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 2px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 26px; font-weight: 900;
  color: #1a2832;
  letter-spacing: 2px;
}
.plate-char {
  display: inline-block;
  min-width: 18px; text-align: center;
  transition: color .15s ease, transform .15s ease;
}
.plate-char.typed {
  color: #1a2832;
  animation: plateBlink 0.3s ease;
}
.plate-char.empty { color: #cdd3dc; }
@keyframes plateBlink {
  0% { transform: scale(1.3); color: #2f9e44; }
  100% { transform: scale(1); color: #1a2832; }
}
.plate-sep { width: 6px; }
.plate-keyboard {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.plate-keyboard button {
  padding: 12px 0;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 700;
  color: #1a2832;
  cursor: pointer;
  transition: all .12s ease;
  box-shadow: 0 1px 2px rgba(26,40,50,0.06);
}
.plate-keyboard button.key-fn { background: #e5e7ee; color: #1a2832; }
.plate-keyboard button.pressed {
  background: #2f9e44; color: #fff; transform: scale(0.92);
}

/* SCENE 3: Sync */
.sync-stage {
  position: relative;
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px;
  padding: 24px 0;
}
.sync-node {
  background: #fff;
  padding: 18px 22px;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(26,40,50,0.08);
  text-align: center;
  width: 80%;
}
.sync-node-icon {
  width: 50px; height: 50px;
  margin: 0 auto 10px;
  background: linear-gradient(135deg, #2f9e44, #1f7a32);
  color: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.sync-node-icon.gnpp-color { background: linear-gradient(135deg, #b8853e, #8c6125); }
.sync-node-label { font-size: 14px; font-weight: 800; color: #1a2832; }
.sync-node-sub { font-size: 11px; color: #5a6675; margin-top: 3px; }
.sync-wire {
  position: relative;
  width: 4px; height: 60px;
  background: linear-gradient(180deg, #d0d4dd, #d0d4dd);
  border-radius: 2px;
}
.sync-packet {
  position: absolute;
  left: 50%; top: 0;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1a2832, #2f3e4e);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; font-weight: 700;
  padding: 4px 8px;
  border-radius: 100px;
  white-space: nowrap;
  opacity: 0;
}
.gnpp-scene.scene-sync.active .sync-packet {
  animation: packetTravel 1.8s ease-in-out 0.3s infinite;
}
.gnpp-scene.scene-sync.active .sync-packet-2 {
  animation-delay: 1.1s;
}
@keyframes packetTravel {
  0%   { top: -10px; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 70px; opacity: 0; }
}
.sync-status {
  margin-top: 10px;
  padding: 12px 18px;
  background: #e9f7ec;
  border: 1px solid rgba(47,158,68,0.30);
  border-radius: 100px;
  color: #1f6b2c;
  font-size: 13px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  opacity: 0;
  align-self: center;
}
.gnpp-scene.scene-sync.active .sync-status {
  animation: fadeInUp 0.5s ease 2.2s forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* SCENE 4: Barrier with OCR */
.scene-barrier { padding: 38px 0 0 0; }
.barrier-sky {
  position: relative;
  height: 200px;
  background: linear-gradient(180deg, #dceaf0 0%, #b8d4dd 100%);
  overflow: visible;
}
.barrier-camera {
  position: absolute;
  top: 30px; right: 40px;
  width: 44px; height: 44px;
  background: #1a2832;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.20);
  z-index: 3;
}
.barrier-camera-led {
  position: absolute;
  bottom: -4px; right: -4px;
  width: 10px; height: 10px;
  background: #ff3030;
  border-radius: 50%;
  box-shadow: 0 0 8px #ff3030;
  animation: ledBlink 1s ease-in-out infinite;
}
@keyframes ledBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.barrier-post {
  position: absolute;
  bottom: 0;
  width: 10px; height: 130px;
  background: linear-gradient(180deg, #b8853e, #8c6125);
}
.barrier-post-left  { left: 26px; }
.barrier-post-right { right: 26px; }
.barrier-arm {
  position: absolute;
  bottom: 110px; left: 26px; right: 26px;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #ff3030 0 22px,
    #fff 22px 44px
  );
  border-radius: 4px;
  transform-origin: left center;
  transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
  z-index: 4;
}
.barrier-arm.open { transform: rotate(-65deg); }
.barrier-road {
  position: relative;
  flex: 1;
  background: linear-gradient(180deg, #5a6675 0%, #3e4855 100%);
  overflow: hidden;
}
.barrier-road::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, #fff 0 18px, transparent 18px 36px);
  transform: translateY(-50%);
}
.barrier-car {
  position: absolute;
  left: 50%; bottom: -10px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  transition: transform 0.6s ease;
}
.gnpp-scene.scene-barrier.active .barrier-car {
  animation: carDrive 4s ease-out forwards;
}
@keyframes carDrive {
  0%   { bottom: -80px; }
  60%  { bottom: 60px; }
  100% { bottom: 60px; }
}
.barrier-car-body {
  width: 110px; height: 56px;
  background: linear-gradient(180deg, #2f6e90, #1a4866);
  border-radius: 16px 16px 8px 8px;
  position: relative;
  box-shadow: 0 8px 18px rgba(0,0,0,0.30);
}
.barrier-car-body::before {
  content: '';
  position: absolute;
  top: 8px; left: 14px; right: 14px;
  height: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05));
  border-radius: 8px 8px 4px 4px;
}
.barrier-car-plate {
  background: #fff;
  color: #1a2832;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 900;
  padding: 3px 8px;
  border-radius: 3px;
  margin-top: 6px;
  border: 1px solid #1a2832;
  letter-spacing: 1px;
}
.barrier-scan {
  position: absolute;
  left: 30%; right: 30%;
  top: 30%;
  height: 60px;
  border: 2px dashed #2f9e44;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
}
.gnpp-scene.scene-barrier.active .barrier-scan {
  animation: scanPulse 1.5s ease-in-out 1.5s infinite;
}
@keyframes scanPulse {
  0%, 100% { opacity: 0; transform: scale(0.95); }
  50%      { opacity: 1; transform: scale(1.0); }
}
.barrier-readout {
  position: absolute;
  bottom: 16px; left: 16px; right: 16px;
  background: rgba(26,40,50,0.92);
  color: #fff;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 12px;
  backdrop-filter: blur(8px);
  opacity: 0;
}
.gnpp-scene.scene-barrier.active .barrier-readout {
  animation: fadeInUp 0.4s ease 2.5s forwards;
}
.barrier-readout-row {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 4px;
}
.barrier-readout-row:last-child { margin-bottom: 0; }
.barrier-readout-row strong {
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 1px;
  color: #4ade80;
}
.barrier-readout-row.check { color: #4ade80; }

/* SCENE 5: Success */
.scene-success {
  align-items: center; justify-content: center;
  text-align: center; padding: 50px 24px;
}
.success-check {
  width: 110px; height: 110px;
  margin: 0 auto 18px;
}
.success-check svg {
  width: 100%; height: 100%;
}
.success-check circle {
  fill: none;
  stroke: #2f9e44;
  stroke-width: 4;
  stroke-dasharray: 251;
  stroke-dashoffset: 251;
}
.success-check path {
  fill: none;
  stroke: #2f9e44;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 70;
  stroke-dashoffset: 70;
}
.gnpp-scene.scene-success.active .success-check circle {
  animation: drawCircle 0.6s ease forwards;
}
.gnpp-scene.scene-success.active .success-check path {
  animation: drawCheck 0.4s ease 0.5s forwards;
}
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck  { to { stroke-dashoffset: 0; } }
.success-title {
  font-size: 22px; font-weight: 800;
  color: #1a2832; margin: 0 0 8px;
}
.success-sub {
  font-size: 13px; color: #5a6675;
  margin: 0 0 22px;
  line-height: 1.45;
}
.success-meta {
  background: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 4px 14px rgba(26,40,50,0.06);
  display: flex; flex-direction: column; gap: 8px;
  width: 100%;
}
.success-meta div {
  display: flex; justify-content: space-between;
  font-size: 12px;
}
.success-meta span { color: #8a93a3; }
.success-meta strong { color: #1a2832; font-family: 'JetBrains Mono', monospace; }

/* Demo controls (under phone) */
.gnpp-controls {
  display: flex; gap: 8px;
}
.gnpp-ctrl {
  width: 44px; height: 44px;
  background: #fff;
  border: 1px solid rgba(26,40,50,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #1a2832;
  font-size: 14px;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 2px 6px rgba(26,40,50,0.06);
}
.gnpp-ctrl:hover {
  border-color: var(--c-green, #436548);
  color: var(--c-green, #436548);
  transform: translateY(-1px);
}
.gnpp-ctrl-play {
  background: var(--c-green, #436548);
  color: #fff;
  width: 52px; height: 52px;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(67,101,72,0.30);
}
.gnpp-ctrl-play:hover { background: #2f4a35; color: #fff; }

/* Right column: steps */
.gnpp-info .lead { margin-bottom: 22px; }
.gnpp-steps {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 8px;
}
.gnpp-step {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(26,40,50,0.10);
  border-radius: 14px;
  cursor: pointer;
  transition: all .25s ease;
}
.gnpp-step:hover {
  border-color: var(--c-green, #436548);
  background: #fff;
}
.gnpp-step.active {
  background: linear-gradient(135deg, rgba(67,101,72,0.10), rgba(125,160,134,0.05));
  border-color: var(--c-green, #436548);
  box-shadow: 0 6px 18px rgba(67,101,72,0.15);
  transform: translateX(4px);
}
.gnpp-step-num {
  width: 32px; height: 32px;
  flex-shrink: 0;
  background: #fff;
  border: 2px solid rgba(26,40,50,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800; font-size: 13px;
  color: #5a6675;
  transition: all .25s ease;
}
.gnpp-step.active .gnpp-step-num {
  background: var(--c-green, #436548);
  color: #fff;
  border-color: var(--c-green, #436548);
}
.gnpp-step-body h5 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: #1a2832;
}
.gnpp-step-body p {
  margin: 0;
  font-size: 12px;
  color: #5a6675;
  line-height: 1.4;
}

/* ==========================================================================
   SLIDE 13 — INTERACTIVE ECO DEMO
   ========================================================================== */
.slide-eco .container.eco-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  max-width: none;
  width: 100%;
  padding: 32px 48px;
}
@media (max-width: 1100px) {
  .slide-eco .container.eco-layout { grid-template-columns: 1fr; gap: 32px; }
}
.eco-demo { display: flex; flex-direction: column; align-items: center; gap: 18px; }

/* Eco scenes share .phone-frame / .phone-screen styles from slide 12.
   Define scene visibility under .eco-scene. */
.eco-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 38px 20px 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.eco-scene.active { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- SCENE 1: Checkout with eco tip ---------- */
.eco-checkout-base {
  display: flex; justify-content: space-between;
  padding: 14px;
  background: #fff;
  border-radius: 12px;
  font-size: 13px; font-weight: 600;
  color: #1a2832;
  margin-bottom: 12px;
  box-shadow: 0 1px 3px rgba(26,40,50,0.06);
}
.eco-tip-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  color: #1f6b2c;
  margin: 6px 0 10px;
  letter-spacing: 0.3px;
}
.eco-tip-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}
.eco-tip {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  padding: 12px 8px;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 1px 2px rgba(26,40,50,0.05);
}
.eco-tip i { color: #2f9e44; font-size: 18px; }
.eco-tip-amount { font-size: 13px; font-weight: 800; color: #1a2832; }
.eco-tip-cause { font-size: 10px; color: #5a6675; }
.eco-tip:hover { border-color: rgba(47,158,68,0.40); transform: translateY(-1px); }
.eco-tip.selected {
  border-color: #2f9e44;
  background: linear-gradient(135deg, #e9f7ec, #fff);
  box-shadow: 0 6px 16px rgba(47,158,68,0.20);
}
.eco-tip.selected i {
  animation: tipBounce .4s ease;
}
@keyframes tipBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}
.eco-checkout-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px;
  background: linear-gradient(135deg, #2f9e44, #1f7a32);
  color: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(47,158,68,0.25);
}
.eco-checkout-total span { font-size: 13px; font-weight: 600; opacity: 0.9; }
.eco-checkout-total strong {
  font-size: 18px; font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.5px;
}
.eco-pay-btn {
  margin-top: auto;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
}

/* ---------- SCENE 2: Fund collection ---------- */
.scene-eco-fund { background: linear-gradient(180deg, #f6f7fb 0%, #e9f7ec 100%); }
.fund-counter {
  display: flex; flex-direction: column; align-items: center;
  margin: 20px 0 18px;
  position: relative; z-index: 2;
}
.fund-counter-label {
  font-size: 11px; font-weight: 700;
  color: #5a6675;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.fund-counter-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 38px; font-weight: 900;
  color: #1f6b2c;
  line-height: 1;
  letter-spacing: -1px;
}
.fund-counter-curr {
  font-size: 14px; font-weight: 700;
  color: #2f9e44;
  margin-top: 2px;
}
.fund-progress {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(26,40,50,0.05);
  position: relative; z-index: 2;
}
.fund-progress-bar {
  height: 8px;
  background: rgba(26,40,50,0.08);
  border-radius: 100px;
  overflow: hidden;
  position: relative;
}
.fund-progress-bar::before {
  content: '';
  display: block;
  width: var(--pct, 0%);
  height: 100%;
  background: linear-gradient(90deg, #2f9e44, #4ade80);
  border-radius: 100px;
  transition: width 0.4s ease;
  box-shadow: 0 0 12px rgba(47,158,68,0.50);
}
.fund-progress-meta {
  display: flex; justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
}
.fund-progress-meta span:first-child { color: #1f6b2c; font-weight: 800; }
.fund-progress-meta span:last-child { color: #5a6675; }
.fund-contributors {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  flex: 1;
  overflow-y: auto;
  position: relative; z-index: 2;
  box-shadow: 0 2px 8px rgba(26,40,50,0.05);
}
.fund-contrib-label {
  font-size: 11px; font-weight: 700;
  color: #5a6675;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.fund-contrib-list { display: flex; flex-direction: column; gap: 6px; }
.fund-contrib-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(26,40,50,0.08);
  animation: contribIn 0.4s ease forwards;
  opacity: 0;
}
.fund-contrib-item:last-child { border-bottom: none; }
@keyframes contribIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.fund-contrib-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 10px;
  flex-shrink: 0;
}
.fund-contrib-name { flex: 1; font-weight: 600; color: #1a2832; }
.fund-contrib-amount {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  color: #2f9e44;
  font-size: 12px;
}

/* Coin rain overlay */
.fund-coin-rain {
  position: absolute;
  inset: 38px 20px 20px;
  pointer-events: none;
  overflow: hidden;
}
.fund-coin {
  position: absolute;
  width: 18px; height: 18px;
  background: radial-gradient(circle at 30% 30%, #ffe17a, #e6a323 70%);
  border-radius: 50%;
  border: 1px solid #b88420;
  box-shadow: 0 2px 6px rgba(184,132,32,0.40);
  animation: coinFall 1.8s linear forwards;
}
.fund-coin::after {
  content: '₸';
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 900;
  color: #7a5a14;
}
@keyframes coinFall {
  0%   { top: -20px; opacity: 0; transform: rotate(0deg); }
  10%  { opacity: 1; }
  100% { top: 100%; opacity: 0; transform: rotate(360deg); }
}

/* ---------- SCENE 3: Real-world action (tree planting) ---------- */
.scene-eco-action { padding: 0; }
.action-sky {
  position: relative;
  height: 55%;
  background: linear-gradient(180deg, #aee0f0 0%, #d6eef6 50%, #ffe9c2 100%);
  overflow: hidden;
}
.action-sun {
  position: absolute;
  top: 26px; right: 36px;
  width: 50px; height: 50px;
  background: radial-gradient(circle, #fff5b0 0%, #ffd56a 60%, #ffba30 100%);
  border-radius: 50%;
  box-shadow: 0 0 30px rgba(255,213,106,0.60);
  animation: sunGlow 4s ease-in-out infinite;
}
@keyframes sunGlow {
  0%, 100% { box-shadow: 0 0 30px rgba(255,213,106,0.60); }
  50%      { box-shadow: 0 0 50px rgba(255,213,106,0.85); }
}
.action-mountain {
  position: absolute;
  bottom: 0;
  width: 60%;
  height: 70%;
  background: linear-gradient(180deg, #6e8a76 0%, #4f6b58 100%);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}
.action-mountain-1 { left: -20%; height: 75%; background: linear-gradient(180deg, #8aa792 0%, #6b8576 100%); }
.action-mountain-2 { left: 25%;  height: 85%; }
.action-mountain-3 { right: -15%; height: 70%; background: linear-gradient(180deg, #7b988a 0%, #58756a 100%); }

.action-ground {
  position: relative;
  flex: 1;
  background: linear-gradient(180deg, #7c5a3a 0%, #5a4225 100%);
  overflow: hidden;
}
.action-ground::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 12px;
  background: linear-gradient(180deg, #4d8c5d 0%, #3e7a4f 50%, #2f5a3b 100%);
}
.action-tree {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scale(0);
  transform-origin: bottom center;
  width: 130px;
  height: 170px;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.25));
}
.scene-eco-action.active .action-tree {
  animation: treeGrow 2.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
}
@keyframes treeGrow {
  0%   { transform: translateX(-50%) scale(0); }
  60%  { transform: translateX(-50%) scale(1.08); }
  100% { transform: translateX(-50%) scale(1); }
}
.tree-leaves { opacity: 0; }
.scene-eco-action.active .tree-l1 { animation: leafIn 0.4s ease 1.2s forwards; }
.scene-eco-action.active .tree-l2 { animation: leafIn 0.4s ease 1.5s forwards; }
.scene-eco-action.active .tree-l3 { animation: leafIn 0.4s ease 1.8s forwards; }
@keyframes leafIn { to { opacity: 1; } }
.action-shovel {
  position: absolute;
  bottom: 30px; right: 25px;
  width: 60px; height: 70px;
  background: linear-gradient(180deg, transparent 0 50%, #b0b0b0 50% 60%, #6b6b6b 60% 100%);
  transform: rotate(-25deg);
  border-radius: 2px;
  opacity: 0.7;
}
.action-soil-pile {
  position: absolute;
  bottom: 12px;
  left: 35%; right: 35%;
  height: 14px;
  background: radial-gradient(ellipse at center top, #5a4225, #3e2c18);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.action-banner {
  position: absolute;
  bottom: 20px; left: 16px; right: 16px;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.95);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.20);
  backdrop-filter: blur(8px);
  opacity: 0;
  z-index: 5;
}
.scene-eco-action.active .action-banner {
  animation: fadeInUp 0.5s ease 2.4s forwards;
}
.action-banner > i {
  font-size: 28px; color: #2f9e44;
  filter: drop-shadow(0 2px 4px rgba(47,158,68,0.30));
}
.action-banner strong {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px;
  font-weight: 900;
  color: #1f6b2c;
  line-height: 1;
}
.action-banner span {
  font-size: 11px; color: #5a6675;
  font-weight: 600;
}

/* ---------- SCENE 4: Before/After photo report ---------- */
.report-photo {
  position: relative;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(26,40,50,0.15);
  margin-bottom: 14px;
}
.report-before, .report-after, .report-after-img {
  position: absolute; inset: 0;
}
.report-before {
  background:
    radial-gradient(ellipse 30% 20% at 20% 70%, rgba(80,60,40,0.50), transparent),
    radial-gradient(ellipse 25% 15% at 70% 55%, rgba(60,40,20,0.40), transparent),
    radial-gradient(ellipse 15% 12% at 50% 80%, rgba(50,30,10,0.45), transparent),
    linear-gradient(180deg, #8a9ba0 0%, #6a7a7e 50%, #4a5856 100%);
}
.report-before::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(0,0,0,0.20) 0%, transparent 8%),
    radial-gradient(circle at 75% 60%, rgba(0,0,0,0.15) 0%, transparent 6%),
    radial-gradient(circle at 40% 75%, rgba(0,0,0,0.18) 0%, transparent 7%);
}
.report-after { width: 50%; overflow: hidden; right: 0; left: auto; }
.report-after-img {
  width: 200%; right: 0;
  background:
    radial-gradient(ellipse 40% 30% at 50% 70%, rgba(80,140,200,0.50), transparent),
    linear-gradient(180deg, #b8e0ec 0%, #6fb5cd 60%, #2f6e90 100%);
}
.report-after-img::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 8% 4% at 30% 55%, rgba(255,255,255,0.40), transparent),
    radial-gradient(ellipse 10% 5% at 60% 65%, rgba(255,255,255,0.30), transparent),
    radial-gradient(ellipse 6% 3% at 75% 50%, rgba(255,255,255,0.35), transparent);
}
.report-slider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 0;
  cursor: ew-resize;
  z-index: 3;
}
.report-slider-line {
  position: absolute; inset: 0;
  border-left: 2px solid #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.50);
}
.report-slider-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 36px; height: 36px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  gap: 2px;
  font-size: 8px;
  color: #1a2832;
  box-shadow: 0 2px 8px rgba(0,0,0,0.30);
}
.scene-eco-report.active .report-slider {
  animation: sliderSweep 4s ease-in-out 0.5s infinite alternate;
}
@keyframes sliderSweep {
  0%   { left: 25%; }
  100% { left: 75%; }
}
.scene-eco-report.active .report-after {
  animation: afterReveal 4s ease-in-out 0.5s infinite alternate;
}
@keyframes afterReveal {
  0%   { width: 75%; }
  100% { width: 25%; }
}
.report-label {
  position: absolute;
  top: 12px;
  padding: 4px 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  z-index: 2;
}
.report-label-before { left: 12px; }
.report-label-after { right: 12px; background: rgba(47,158,68,0.85); }

.report-meta { padding: 4px 4px 0; }
.report-meta h5 {
  font-size: 13px; font-weight: 700; color: #1a2832;
  margin: 0 0 10px;
}
.report-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 12px;
}
.report-stats div {
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  text-align: center;
  font-size: 10px; color: #5a6675;
  box-shadow: 0 1px 3px rgba(26,40,50,0.05);
}
.report-stats i { color: #2f9e44; font-size: 12px; display: block; margin-bottom: 2px; }
.report-stats strong { display: block; font-size: 14px; color: #1a2832; font-weight: 800; }

/* ---------- SCENE 5: Badge earned ---------- */
.scene-eco-badge {
  align-items: center; justify-content: flex-start;
  text-align: center;
  padding-top: 50px;
  background: radial-gradient(ellipse at top, rgba(47,158,68,0.10), transparent 60%), #f6f7fb;
  overflow: hidden;
}
.badge-medal {
  position: relative;
  width: 130px; height: 130px;
  margin-bottom: 18px;
  transform: scale(0);
}
.scene-eco-badge.active .badge-medal {
  animation: medalPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}
@keyframes medalPop {
  0%   { transform: scale(0) rotate(-180deg); }
  100% { transform: scale(1) rotate(0deg); }
}
.badge-medal-ring {
  position: absolute; inset: 0;
  border: 6px solid transparent;
  background: linear-gradient(135deg, #ffd56a, #b8853e, #ffd56a, #b8853e) border-box;
  border-radius: 50%;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: ringSpin 6s linear infinite;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
.badge-medal-core {
  position: absolute; inset: 10px;
  background: linear-gradient(135deg, #2f9e44, #1f7a32);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 48px;
  box-shadow:
    inset 0 -8px 20px rgba(0,0,0,0.20),
    inset 0 8px 20px rgba(255,255,255,0.15);
}
.badge-title {
  font-size: 24px; font-weight: 900;
  color: #1a2832;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  opacity: 0;
}
.scene-eco-badge.active .badge-title { animation: fadeInUp 0.5s ease 1s forwards; }
.badge-sub {
  font-size: 12px; color: #5a6675;
  margin: 0 0 20px;
  opacity: 0;
}
.scene-eco-badge.active .badge-sub { animation: fadeInUp 0.5s ease 1.2s forwards; }
.badge-progress {
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(26,40,50,0.05);
  opacity: 0;
}
.scene-eco-badge.active .badge-progress { animation: fadeInUp 0.5s ease 1.4s forwards; }
.badge-progress-row {
  display: flex; justify-content: space-between;
  font-size: 11px;
  margin-bottom: 6px;
}
.badge-progress-row span { color: #5a6675; font-weight: 600; }
.badge-progress-row strong {
  font-family: 'JetBrains Mono', monospace;
  color: #2f9e44; font-weight: 800;
}
.badge-progress-bar {
  height: 6px;
  background: rgba(26,40,50,0.08);
  border-radius: 100px;
  overflow: hidden;
}
.badge-progress-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #2f9e44, #4ade80);
  border-radius: 100px;
}
.scene-eco-badge.active .badge-progress-fill {
  animation: barFill 1.0s ease 1.8s forwards;
}
@keyframes barFill { to { width: 33%; } }
.badge-stats {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  opacity: 0;
}
.scene-eco-badge.active .badge-stats { animation: fadeInUp 0.5s ease 1.6s forwards; }
.badge-stats div {
  background: #fff;
  border-radius: 10px;
  padding: 10px 6px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(26,40,50,0.05);
}
.badge-stats i { color: #2f9e44; font-size: 14px; display: block; margin-bottom: 4px; }
.badge-stats span {
  display: block;
  font-size: 9px; color: #8a93a3;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.badge-stats strong {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px; font-weight: 800;
  color: #1a2832;
}

/* Confetti */
.badge-confetti {
  position: absolute;
  inset: 38px 20px 20px;
  pointer-events: none;
  overflow: hidden;
}
.badge-confetti span {
  position: absolute;
  width: 8px; height: 12px;
  top: -20px;
  border-radius: 2px;
  animation: confettiFall 2.5s linear forwards;
}
@keyframes confettiFall {
  0%   { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(700px) rotate(720deg); opacity: 0; }
}

/* Right column adjustments */
.eco-info .lead { margin-bottom: 22px; }

/* Legacy eco-flex (kept in case used elsewhere) */
.eco-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  margin-top: 30px;
}
.eco-left h4, .eco-right h4 {
  font-size: 17px;
  margin: 0 0 16px;
  color: var(--c-green);
  font-weight: 600;
  letter-spacing: 0.3px;
}
.eco-mock {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}
.eco-mock-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  font-size: 14px;
  color: var(--c-text-dim);
  border-bottom: 1px solid var(--border-soft);
}
.eco-mock-row:last-child { border-bottom: none; }
.eco-mock-row.eco-add { color: var(--c-green); }
.eco-mock-row.eco-total {
  font-weight: 700;
  font-size: 16px;
  color: var(--c-gold-dark);
  margin-top: 6px;
  padding-top: 14px;
  border-top: 2px solid rgba(184, 133, 62, 0.25);
}
.eco-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.eco-badge {
  padding: 7px 13px;
  background: rgba(67, 101, 72, 0.08);
  border: 1px solid rgba(67, 101, 72, 0.22);
  border-radius: 100px;
  font-size: 12px;
  color: var(--c-green);
  font-weight: 500;
}
.eco-badge i { margin-right: 6px; }
.eco-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.eco-list li {
  padding: 7px 0;
  font-size: 14px;
  color: var(--c-text-dim);
}
.eco-list li i { color: var(--c-green); margin-right: 10px; }

/* ==========================================================================
   SLIDE 14 — INTERACTIVE LOYALTY DEMO
   ========================================================================== */
.slide-loyalty .container.loy-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  max-width: none;
  width: 100%;
  padding: 32px 48px;
}
@media (max-width: 1100px) {
  .slide-loyalty .container.loy-layout { grid-template-columns: 1fr; gap: 32px; }
}
.loy-demo { display: flex; flex-direction: column; align-items: center; gap: 18px; }

.loy-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 38px 20px 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .4s ease, transform .4s ease;
}
.loy-scene.active { opacity: 1; pointer-events: auto; transform: none; }

/* ---------- SCENE 1: Earn points ---------- */
.loy-earn-card {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(26,40,50,0.06);
}
.loy-earn-hotel {
  display: flex; align-items: center; gap: 12px;
}
.loy-earn-hotel-img {
  width: 48px; height: 48px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 30% 70%, rgba(255,255,255,0.4), transparent 40%),
    linear-gradient(135deg, #b8853e, #8c6125);
  flex-shrink: 0;
}
.loy-earn-hotel-name { font-size: 13px; font-weight: 700; color: #1a2832; }
.loy-earn-hotel-meta { font-size: 11px; color: #5a6675; margin-top: 2px; }

.loy-earn-stage {
  position: relative;
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
}
.loy-earn-plus {
  font-family: 'JetBrains Mono', monospace;
  font-size: 64px; font-weight: 900;
  color: #b8853e;
  line-height: 1;
  letter-spacing: -2px;
  text-shadow: 0 4px 16px rgba(184,133,62,0.30);
  transform: scale(0);
}
.scene-loy-earn.active .loy-earn-plus {
  animation: pointsPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}
@keyframes pointsPop {
  0%   { transform: scale(0) rotate(-30deg); }
  60%  { transform: scale(1.2); }
  100% { transform: scale(1) rotate(0); }
}
.loy-earn-plus-label {
  font-size: 12px; font-weight: 700;
  color: #5a6675;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0;
}
.scene-loy-earn.active .loy-earn-plus-label {
  animation: fadeInUp 0.4s ease 0.9s forwards;
}
.loy-earn-sparkles { position: absolute; inset: 0; pointer-events: none; }
.loy-earn-sparkles span {
  position: absolute;
  width: 6px; height: 6px;
  background: radial-gradient(circle, #ffe17a, #b8853e);
  border-radius: 50%;
  animation: sparkleFly 1.2s ease-out forwards;
}
@keyframes sparkleFly {
  0%   { transform: translate(0,0) scale(0); opacity: 1; }
  40%  { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1.5); opacity: 0; }
}
.loy-earn-balance {
  background: linear-gradient(135deg, #b8853e, #8c6125);
  color: #fff;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  box-shadow: 0 6px 18px rgba(184,133,62,0.30);
}
.loy-earn-balance span { font-size: 12px; opacity: 0.9; font-weight: 600; }
.loy-earn-balance strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 22px; font-weight: 900;
}

/* ---------- SCENE 2: Tier ladder ---------- */
.loy-tier-current { text-align: center; margin: 6px 0 14px; }
.loy-tier-current-label {
  font-size: 22px; font-weight: 900;
  color: #1a2832;
  letter-spacing: -0.02em;
  transition: color .4s ease;
}
.loy-tier-current-sub {
  font-size: 11px; color: #8a93a3;
  font-weight: 600; margin-top: 2px;
  letter-spacing: 0.3px;
}
.loy-ladder {
  list-style: none;
  padding: 0; margin: 0;
  flex: 1;
  display: flex; flex-direction: column;
  gap: 6px;
  position: relative;
}
.loy-rung {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(26,40,50,0.06);
  transition: all .4s ease;
  opacity: 0.55;
}
.loy-rung.unlocked {
  opacity: 1;
  border-color: #b8853e;
  background: linear-gradient(135deg, #fff8eb, #fff);
}
.loy-rung.current {
  opacity: 1;
  border-color: #b8853e;
  background: linear-gradient(135deg, #b8853e, #8c6125);
  color: #fff;
  transform: translateX(4px);
  box-shadow: 0 6px 18px rgba(184,133,62,0.30);
}
.loy-rung-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #f0f1f5;
  display: flex; align-items: center; justify-content: center;
  color: #5a6675;
  font-size: 12px;
  flex-shrink: 0;
  transition: all .4s ease;
}
.loy-rung.unlocked .loy-rung-dot { background: rgba(184,133,62,0.15); color: #b8853e; }
.loy-rung.current .loy-rung-dot { background: rgba(255,255,255,0.20); color: #fff; }
.loy-rung-body strong {
  display: block;
  font-size: 12px; font-weight: 700;
  color: inherit;
}
.loy-rung-body span {
  display: block;
  font-size: 10px;
  color: inherit;
  opacity: 0.75;
  margin-top: 1px;
}
.loy-levelup {
  position: absolute;
  top: 130px; left: 50%;
  transform: translate(-50%, -10px);
  padding: 8px 16px;
  background: linear-gradient(135deg, #ffe17a, #b8853e);
  color: #1a2832;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(184,133,62,0.45);
  opacity: 0;
  z-index: 10;
}
.loy-levelup.show {
  animation: levelupPop 1.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes levelupPop {
  0%   { transform: translate(-50%, -30px) scale(0); opacity: 0; }
  20%  { transform: translate(-50%, -10px) scale(1.1); opacity: 1; }
  35%  { transform: translate(-50%, -10px) scale(1); opacity: 1; }
  85%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, -20px) scale(1); }
}

/* ---------- SCENE 3: Tier perks ---------- */
.loy-perks-stage {
  flex: 1;
  display: flex; align-items: center;
  position: relative;
  margin: 10px 0;
}
.loy-perk-card {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 6px 24px rgba(26,40,50,0.08);
  position: relative;
}
.loy-perk-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, #b8853e, #8c6125);
  color: #fff;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(184,133,62,0.30);
}
.loy-perk-card h4 {
  font-size: 17px; font-weight: 800;
  color: #1a2832;
  margin: 0 0 6px;
  line-height: 1.25;
}
.loy-perk-card p {
  font-size: 12px; color: #5a6675;
  line-height: 1.45; margin: 0;
}
.loy-perk-badge {
  position: absolute;
  top: 16px; right: 16px;
  padding: 4px 10px;
  background: #e9f7ec;
  color: #1f6b2c;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.4px;
  border-radius: 100px;
}
.loy-perks-dots {
  display: flex; justify-content: center; gap: 6px;
  padding: 6px 0;
}
.loy-perks-dots span {
  width: 6px; height: 6px;
  background: #d0d4dd;
  border-radius: 50%;
  transition: all .25s ease;
}
.loy-perks-dots span.active {
  background: #b8853e;
  width: 20px;
  border-radius: 100px;
}

/* ---------- SCENE 4: Redeem points ---------- */
.loy-redeem-row {
  display: flex; justify-content: space-between;
  padding: 14px;
  background: #fff;
  border-radius: 12px;
  font-size: 13px; font-weight: 600;
  color: #1a2832;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(26,40,50,0.06);
}
.loy-redeem-toggle {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(26,40,50,0.06);
  border: 2px solid transparent;
  transition: all .25s ease;
}
.loy-redeem-toggle.active {
  border-color: #b8853e;
  background: linear-gradient(135deg, #fff8eb, #fff);
}
.loy-redeem-toggle-title {
  font-size: 13px; font-weight: 700;
  color: #1a2832;
  display: flex; align-items: center; gap: 8px;
}
.loy-redeem-toggle-title i { color: #b8853e; }
.loy-redeem-toggle-sub { font-size: 11px; color: #5a6675; margin-top: 2px; }
.loy-toggle-switch {
  width: 42px; height: 24px;
  background: #d0d4dd;
  border-radius: 100px;
  position: relative;
  cursor: pointer;
  transition: all .25s ease;
  flex-shrink: 0;
}
.loy-toggle-switch span {
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.20);
  transition: all .25s ease;
}
.loy-toggle-switch.on { background: linear-gradient(135deg, #b8853e, #8c6125); }
.loy-toggle-switch.on span { left: 20px; }

.loy-redeem-discount {
  display: flex; justify-content: space-between;
  padding: 12px 14px;
  background: rgba(184,133,62,0.08);
  border: 1px dashed rgba(184,133,62,0.40);
  border-radius: 12px;
  font-size: 12px; font-weight: 700;
  color: #8a5a00;
  margin-bottom: 10px;
  opacity: 0;
  max-height: 0;
  padding-top: 0; padding-bottom: 0;
  overflow: hidden;
  transition: all .35s ease;
}
.loy-redeem-discount.show {
  opacity: 1;
  max-height: 50px;
  padding: 12px 14px;
}
.loy-redeem-discount i { color: #b8853e; margin-right: 6px; }
.loy-redeem-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px;
  background: linear-gradient(135deg, #1a2832, #2f3e4e);
  color: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
}
.loy-redeem-total span { font-size: 13px; opacity: 0.85; }
.loy-redeem-total strong {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px; font-weight: 900;
  transition: color .25s ease;
}
.loy-redeem-total strong.changed { color: #4ade80; }
.loy-pay-btn { margin-top: auto; }
.loy-coins-flying {
  position: absolute;
  inset: 38px 20px 20px;
  pointer-events: none;
  overflow: hidden;
}
.loy-coin-fly {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffe17a, #b8853e 70%);
  border: 1px solid #8c6125;
  box-shadow: 0 2px 6px rgba(184,132,32,0.40);
  animation: coinFlyAcross 1s ease-in-out forwards;
}
.loy-coin-fly::after {
  content: '₸';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 900;
  color: #7a5a14;
}
@keyframes coinFlyAcross {
  0%   { transform: translate(0,0) scale(0.4); opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(1.1); opacity: 0; }
}

/* ---------- SCENE 5: Exclusive offers feed ---------- */
.loy-offers-feed {
  flex: 1;
  display: flex; flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.loy-offer {
  display: flex; gap: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(26,40,50,0.06);
  position: relative;
  opacity: 0;
  transform: translateX(20px);
  animation: offerSlide 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes offerSlide {
  to { opacity: 1; transform: translateX(0); }
}
.loy-offer::before {
  content: '';
  position: absolute;
  left: 0; top: 12px; bottom: 12px;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, #b8853e, #8c6125);
}
.loy-offer-img {
  width: 60px; height: 60px;
  border-radius: 10px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #5fa3c7, #2f6e90);
}
.loy-offer-body { flex: 1; min-width: 0; }
.loy-offer-tag {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(184,133,62,0.12);
  color: #8a5a00;
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.4px;
  border-radius: 100px;
  margin-bottom: 4px;
}
.loy-offer-title {
  font-size: 13px; font-weight: 700;
  color: #1a2832;
  line-height: 1.25;
  margin-bottom: 3px;
}
.loy-offer-meta {
  font-size: 11px; color: #5a6675;
  display: flex; align-items: center; gap: 6px;
}
.loy-offer-price {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  color: #1f6b2c;
}
.loy-offer-old {
  text-decoration: line-through;
  color: #c0c4cc;
  margin-right: 4px;
  font-weight: 600;
}

/* Legacy loyalty grid (kept for backwards compat if used) */
.loyalty-levels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.lvl {
  padding: 26px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.35s ease;
  overflow: hidden;
}
.lvl::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
}
.lvl-1::before { background: linear-gradient(90deg, #4f8d9e, #1f6275); }
.lvl-2::before { background: linear-gradient(90deg, #7da086, #436548); }
.lvl-3::before { background: linear-gradient(90deg, #e0a560, #b8853e); }
.lvl-4::before { background: linear-gradient(90deg, #e08773, #c46851); }
.lvl-5::before { background: var(--grad-gold); }
.lvl:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.lvl-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--c-text-mute);
  margin-bottom: 12px;
}
.lvl h5 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
  color: var(--c-text);
}
.lvl p {
  font-size: 13px;
  color: var(--c-text-dim);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   SLIDE 15 — HOTEL CABINET
   ========================================================================== */
.cabinet-mock {
  display: grid;
  grid-template-columns: 220px 1fr;
  margin-top: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 320px;
}
.cabinet-sidebar {
  background: var(--bg-soft);
  padding: 22px 0;
  border-right: 1px solid var(--border);
}
.cab-logo {
  padding: 0 22px 20px;
  font-size: 20px;
  font-weight: 800;
  border-bottom: 1px solid var(--border);
  color: var(--c-text);
}
.cab-menu { padding: 10px 0; }
.cab-item {
  padding: 11px 22px;
  font-size: 13px;
  color: var(--c-text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}
.cab-item:hover {
  background: var(--bg-card);
  color: var(--c-text);
}
.cab-item.active {
  background: rgba(184, 133, 62, 0.08);
  color: var(--c-gold-dark);
  border-right: 2px solid var(--c-gold);
  font-weight: 600;
}
.cab-item i { width: 18px; text-align: center; }
.cabinet-main { padding: 26px; }
.cab-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.cab-stat {
  padding: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.cs-val {
  font-size: 24px;
  font-weight: 800;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2px;
}
.cs-lbl {
  font-size: 10px;
  color: var(--c-text-mute);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.cab-chart { height: 170px; }
.cab-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
}
.cab-features span {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  border-radius: 100px;
  font-size: 13px;
  color: var(--c-text-dim);
}
.cab-features i { color: var(--c-green); margin-right: 6px; }

/* ==========================================================================
   SLIDE 16 — GOV
   ========================================================================== */
.gov-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.gov-item {
  padding: 22px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  font-size: 13px;
  color: var(--c-text);
  font-weight: 500;
  transition: all 0.3s ease;
}
.gov-item:hover {
  border-color: var(--c-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.gov-item i {
  display: block;
  font-size: 22px;
  color: var(--c-gold-dark);
  margin-bottom: 10px;
}

/* ==========================================================================
   SLIDE 17 — REAL AI CHAT (OpenAI)
   ========================================================================== */
.slide-ai .container.ai-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 28px;
  max-width: none;
  width: 100%;
  padding: 24px 36px;
  height: 100vh;
  box-sizing: border-box;
  align-items: stretch;
}
@media (max-width: 1100px) {
  .slide-ai .container.ai-layout { grid-template-columns: 1fr; height: auto; }
}
.ai-main {
  display: flex; flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}
.ai-header { margin-bottom: 14px; flex-shrink: 0; }
.ai-header .section-title { margin-top: 6px; font-size: 28px; }

.ai-chat-window {
  flex: 1;
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(26,40,50,0.08), 0 2px 6px rgba(26,40,50,0.04);
  overflow: hidden;
  min-height: 0;
}

/* Topbar */
.ai-chat-topbar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #1a2832 0%, #2f3e4e 100%);
  color: #fff;
  flex-shrink: 0;
}
.ai-chat-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0a560, #b8853e);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: #1a2832;
  box-shadow: 0 4px 12px rgba(224,165,96,0.40);
}
.ai-chat-title { flex: 1; }
.ai-chat-title > div:first-child {
  font-size: 14px; font-weight: 700;
  letter-spacing: -0.01em;
}
.ai-chat-sub {
  font-size: 11px;
  opacity: 0.7;
  display: flex; align-items: center; gap: 6px;
  margin-top: 2px;
  font-family: 'JetBrains Mono', monospace;
}
.ai-chat-dot {
  width: 7px; height: 7px;
  background: #2f9e44;
  border-radius: 50%;
  box-shadow: 0 0 8px #2f9e44;
  animation: aiDotPulse 1.5s ease-in-out infinite;
}
@keyframes aiDotPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.ai-chat-clear {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
  width: 32px; height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}
.ai-chat-clear:hover { background: rgba(255,255,255,0.10); color: #fff; }

/* Messages area */
.ai-chat-messages {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 22px 18px;
  display: flex; flex-direction: column;
  gap: 14px;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(224,165,96,0.06), transparent 70%),
    #fafafb;
  scroll-behavior: smooth;
}
.ai-chat-messages::-webkit-scrollbar { width: 8px; }
.ai-chat-messages::-webkit-scrollbar-track { background: transparent; }
.ai-chat-messages::-webkit-scrollbar-thumb {
  background: rgba(184, 133, 62, 0.40);
  border-radius: 4px;
  border: 2px solid #fafafb;
}
.ai-chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(184, 133, 62, 0.65);
}

.ai-message {
  display: flex; gap: 10px;
  max-width: 88%;
  animation: aiMsgIn .3s ease;
}
@keyframes aiMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ai-message.user { align-self: flex-end; flex-direction: row-reverse; }
.ai-message.assistant { align-self: flex-start; }

.ai-msg-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  margin-top: 4px;
  overflow: hidden;
}
.ai-message.assistant .ai-msg-avatar {
  background: linear-gradient(135deg, #e0a560, #b8853e);
  color: #1a2832;
  box-shadow: 0 2px 6px rgba(224,165,96,0.30);
}
.ai-msg-avatar-svg {
  background: transparent !important;
  box-shadow: 0 2px 8px rgba(47,110,144,0.30) !important;
  padding: 0;
}
.ai-msg-avatar-svg svg {
  width: 100%;
  height: 100%;
  display: block;
}
.ai-message.user .ai-msg-avatar {
  background: linear-gradient(135deg, #2f6e90, #1a4866);
  color: #fff;
}

.ai-msg-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.55;
  word-wrap: break-word;
}
.ai-message.assistant .ai-msg-bubble {
  background: #fff;
  border: 1px solid rgba(26,40,50,0.08);
  color: #1a2832;
  border-top-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(26,40,50,0.05);
}
.ai-message.user .ai-msg-bubble {
  background: linear-gradient(135deg, #2f6e90, #1a4866);
  color: #fff;
  border-top-right-radius: 4px;
  box-shadow: 0 2px 8px rgba(47,110,144,0.25);
}
.ai-msg-bubble strong { color: inherit; font-weight: 700; }
.ai-msg-bubble code {
  background: rgba(26,40,50,0.06);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
}
.ai-msg-bubble ul, .ai-msg-bubble ol { margin: 6px 0 6px 18px; padding: 0; }
.ai-msg-bubble li { margin-bottom: 3px; }

/* Topbar avatar — make SVG fill the circle nicely */
.ai-chat-avatar {
  overflow: hidden;
  padding: 0;
}
.ai-chat-avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Quick reply chips under AI message */
.ai-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 42px; /* выровнено под бабл, после аватара */
  margin-top: -6px;
  animation: aiMsgIn .3s ease;
}
.ai-quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1.5px solid rgba(184,133,62,0.40);
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  color: #1a2832;
  cursor: pointer;
  transition: all .18s ease;
  box-shadow: 0 1px 3px rgba(184,133,62,0.10);
}
.ai-quick-chip i {
  color: #b8853e;
  font-size: 10px;
}
.ai-quick-chip:hover {
  background: linear-gradient(135deg, #fff8eb, #fff);
  border-color: #b8853e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(184,133,62,0.20);
}
.ai-quick-chip:active { transform: translateY(0); }
.ai-quick-chip-own {
  background: #1a2832;
  color: #fff;
  border-color: #1a2832;
}
.ai-quick-chip-own i { color: #e0a560; }
.ai-quick-chip-own:hover {
  background: #2f3e4e;
  border-color: #2f3e4e;
}

/* Typing indicator */
.ai-typing {
  display: flex; gap: 4px;
  padding: 14px 16px;
}
.ai-typing span {
  width: 7px; height: 7px;
  background: #b8853e;
  border-radius: 50%;
  animation: aiTyping 1.2s ease-in-out infinite;
}
.ai-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-typing span:nth-child(3) { animation-delay: 0.30s; }
@keyframes aiTyping {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-4px); }
}

/* Route card (tool output) */
.ai-route-card, .ai-plan-card {
  margin-top: 8px;
  background: linear-gradient(135deg, #fff8eb, #fff);
  border: 1px solid rgba(184,133,62,0.30);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 4px 14px rgba(184,133,62,0.10);
}
.ai-card-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed rgba(184,133,62,0.30);
}
.ai-card-header i {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #e0a560, #b8853e);
  color: #fff;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.ai-card-title {
  font-size: 14px; font-weight: 800;
  color: #1a2832;
  flex: 1;
  line-height: 1.25;
}
.ai-card-meta {
  font-size: 11px;
  color: #8a5a00;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
}

.ai-route-stops { display: flex; flex-direction: column; gap: 4px; }
.ai-route-stop {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 10px;
  padding: 8px 0;
  position: relative;
}
.ai-route-stop:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 13px; top: 30px; bottom: -6px;
  width: 2px;
  background: rgba(184,133,62,0.30);
}
.ai-stop-num {
  width: 28px; height: 28px;
  background: #fff;
  border: 2px solid #b8853e;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; font-weight: 800;
  color: #b8853e;
  z-index: 1;
}
.ai-stop-body strong {
  display: block;
  font-size: 13px; font-weight: 700;
  color: #1a2832;
}
.ai-stop-body span {
  font-size: 12px;
  color: #5a6675;
  line-height: 1.4;
}
.ai-stop-time {
  font-size: 11px;
  font-weight: 700;
  color: #b8853e;
  font-family: 'JetBrains Mono', monospace;
}

.ai-plan-days { display: flex; flex-direction: column; gap: 14px; }
.ai-plan-day-title {
  font-size: 13px; font-weight: 800;
  color: #1a2832;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 8px;
}
.ai-plan-day-title::before {
  content: 'День ' attr(data-day);
  background: linear-gradient(135deg, #b8853e, #8c6125);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.4px;
}
.ai-plan-activity {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  padding: 8px 10px;
  background: #fff;
  border-radius: 10px;
  margin-bottom: 5px;
  box-shadow: 0 1px 3px rgba(26,40,50,0.04);
}
.ai-plan-time {
  font-size: 11px; font-weight: 800;
  color: #b8853e;
  font-family: 'JetBrains Mono', monospace;
  align-self: center;
}
.ai-plan-text strong {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #1a2832;
  margin-bottom: 2px;
}
.ai-plan-text span {
  font-size: 11px;
  color: #5a6675;
  line-height: 1.4;
}

/* Suggested prompts */
.ai-chat-suggest {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 10px 14px 4px;
  border-top: 1px solid rgba(26,40,50,0.06);
  background: #fafafb;
  flex-shrink: 0;
  max-height: 90px;
  overflow-y: auto;
}
.ai-suggest-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid rgba(184,133,62,0.30);
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #5a6675;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.ai-suggest-chip i { color: #b8853e; font-size: 11px; }
.ai-suggest-chip:hover {
  background: linear-gradient(135deg, #fff8eb, #fff);
  border-color: #b8853e;
  color: #1a2832;
  transform: translateY(-1px);
}

/* Input row */
.ai-chat-input {
  display: flex; gap: 10px;
  padding: 12px 14px 14px;
  background: #fafafb;
  flex-shrink: 0;
}
.ai-chat-input input {
  flex: 1;
  padding: 13px 18px;
  background: #fff;
  border: 1px solid rgba(26,40,50,0.10);
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1a2832;
  outline: none;
  transition: all .2s ease;
}
.ai-chat-input input:focus {
  border-color: #b8853e;
  box-shadow: 0 0 0 3px rgba(184,133,62,0.12);
}
.ai-chat-send {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, #e0a560, #b8853e);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  transition: all .2s ease;
  box-shadow: 0 4px 12px rgba(184,133,62,0.30);
  flex-shrink: 0;
}
.ai-chat-send:hover { transform: scale(1.06); }
.ai-chat-send:disabled {
  background: #d0d4dd;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Right side capabilities */
.ai-side {
  display: flex; flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 70px 0 24px;
  overflow-y: auto;
}
.ai-side-label {
  font-size: 11px;
  font-weight: 800;
  color: #8a93a3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ai-cap {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(26,40,50,0.08);
  border-radius: 14px;
  transition: all .2s ease;
  box-shadow: 0 1px 3px rgba(26,40,50,0.04);
}
.ai-cap:hover {
  border-color: rgba(184,133,62,0.40);
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(184,133,62,0.10);
}
.ai-cap > i {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, rgba(224,165,96,0.15), rgba(184,133,62,0.10));
  color: #b8853e;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.ai-cap h6 {
  font-size: 13px; font-weight: 700;
  margin: 0 0 3px;
  color: #1a2832;
}
.ai-cap p {
  font-size: 11px;
  color: #5a6675;
  margin: 0;
  line-height: 1.4;
}

/* legacy .ai-chat preserved below */
.ai-chat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  margin: 24px 0 20px;
}
.ai-msg {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.ai-msg.ai-user { justify-content: flex-end; }
.ai-bubble {
  padding: 13px 18px;
  border-radius: 16px;
  max-width: 78%;
  font-size: 14px;
  line-height: 1.55;
}
.ai-user .ai-bubble {
  background: var(--grad-gold);
  color: #fff;
  font-weight: 500;
  border-bottom-right-radius: 4px;
}
.ai-bot .ai-bubble {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--c-text);
  border-bottom-left-radius: 4px;
}
.ai-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(184, 133, 62, 0.10);
  border: 1px solid rgba(184, 133, 62, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ai-avatar i { color: var(--c-gold-dark); font-size: 14px; }
.ai-types {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ai-type {
  padding: 20px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.ai-type:hover {
  border-color: var(--c-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.ai-type i {
  font-size: 22px;
  color: var(--c-gold-dark);
  margin-bottom: 10px;
}
.ai-type h6 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--c-text);
}
.ai-type p {
  font-size: 12px;
  color: var(--c-text-dim);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   SLIDE 18 — LANG
   ========================================================================== */
.lang-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
  margin-top: 40px;
}
.lang-card {
  padding: 26px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}
.lang-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-gold);
  box-shadow: var(--shadow-md);
}
.lang-card.lang-now {
  border-color: rgba(184, 133, 62, 0.45);
  background: rgba(184, 133, 62, 0.04);
}
.lang-flag {
  font-size: 38px;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}
.lang-card h5 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--c-text);
}
.lang-tag {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-text-mute);
  padding: 3px 9px;
  background: var(--bg-soft);
  border-radius: 100px;
  display: inline-block;
  font-weight: 600;
}
.lang-now .lang-tag {
  color: var(--c-gold-dark);
  background: rgba(184, 133, 62, 0.10);
}

/* ==========================================================================
   SLIDE 19 — 3D GLOBE EXPANSION
   ========================================================================== */
.slide-scale.slide-dark {
  background: #0a1a1f !important;
  color: #f4efe2 !important;
}
.slide-scale .container.scale-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(360px, 1fr);
  gap: 32px;
  align-items: stretch;
  max-width: none;
  width: 100vw;
  padding: 24px 36px;
  height: 100vh;
  box-sizing: border-box;
}
@media (max-width: 1100px) {
  .slide-scale .container.scale-layout { grid-template-columns: 1fr; gap: 24px; height: auto; }
}
.scale-globe-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 560px;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
#scale-globe {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
#scale-globe > div,
#scale-globe canvas {
  max-width: 100% !important;
  max-height: 100% !important;
}
#scale-globe canvas {
  cursor: grab;
  display: block;
}
#scale-globe canvas:active {
  cursor: grabbing;
}
.scale-globe-overlay {
  position: absolute;
  top: 24px; left: 24px;
  pointer-events: none;
  z-index: 3;
}
.scale-globe-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(10, 26, 31, 0.65);
  border: 1px solid rgba(224, 165, 96, 0.40);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  color: #e0a560;
  letter-spacing: 0.4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.30);
}
.scale-globe-badge-dot {
  width: 8px; height: 8px;
  background: #ffd56a;
  border-radius: 50%;
  box-shadow: 0 0 12px #ffd56a;
  animation: globeBadgePulse 1.6s ease-in-out infinite;
}
@keyframes globeBadgePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.6; }
}

/* Right info column on dark slide */
.slide-scale.slide-dark .section-title { color: #f4efe2 !important; }
.slide-scale.slide-dark .section-label { color: #e0a560 !important; opacity: 0.85; }
.slide-scale.slide-dark .lead { color: rgba(244, 239, 226, 0.78) !important; }
.slide-scale.slide-dark .accent-gold { color: #e0a560 !important; }

.scale-info {
  display: flex; flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 28px 0 28px 8px;
  color: #f4efe2;
  position: relative;
  z-index: 5;
}
.scale-info .section-title {
  font-size: 32px;
  line-height: 1.15;
  margin: 8px 0 16px;
}
.scale-info .lead {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 22px;
}
.scale-timeline-v {
  list-style: none;
  padding: 0; margin: 24px 0 0 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.scale-stage {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(224, 165, 96, 0.18);
  border-radius: 14px;
  cursor: pointer;
  transition: all .3s ease;
}
.scale-stage:hover {
  border-color: rgba(224, 165, 96, 0.45);
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(3px);
}
.scale-stage.active {
  border-color: #e0a560;
  background: linear-gradient(135deg, rgba(184, 133, 62, 0.18), rgba(140, 97, 37, 0.08));
  box-shadow: 0 6px 22px rgba(184,133,62,0.25);
  transform: translateX(6px);
}
.scale-stage-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 18px;
  font-weight: 800;
  color: #e0a560;
  letter-spacing: -0.5px;
  display: flex; align-items: center;
  padding: 6px 10px;
  background: rgba(224, 165, 96, 0.12);
  border-radius: 10px;
  justify-content: center;
}
.scale-stage.active .scale-stage-year {
  background: linear-gradient(135deg, #e0a560, #b8853e);
  color: #1a2832;
  box-shadow: 0 4px 12px rgba(224,165,96,0.35);
}
.scale-stage-body h5 {
  margin: 0 0 4px;
  font-size: 14px; font-weight: 700;
  color: #f4efe2;
}
.scale-stage-body p {
  margin: 0;
  font-size: 12px;
  color: rgba(244, 239, 226, 0.65);
  line-height: 1.4;
}

/* Legacy scale-timeline (kept for back-compat if used elsewhere) */
.scale-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  position: relative;
}
.scale-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(168,136,74,0.4) 10%, rgba(168,136,74,0.4) 90%, transparent);
}
.scale-step {
  text-align: center;
  position: relative;
  padding: 0 14px;
}
.scale-year {
  font-family: 'JetBrains Mono', monospace;
  font-size: 17px;
  font-weight: 700;
  color: var(--c-gold-dark);
  background: var(--bg-page);
  display: inline-block;
  padding: 11px 18px;
  border: 2px solid var(--c-gold);
  border-radius: 100px;
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}
.scale-content {
  padding: 20px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.scale-step:hover .scale-content {
  border-color: var(--c-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.scale-content h5 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--c-text);
}
.scale-content p {
  font-size: 13px;
  color: var(--c-text-dim);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   SLIDE 20 — BUSINESS
   ========================================================================== */
.biz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.biz-card {
  padding: 26px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}
.biz-card:hover {
  transform: translateY(-5px);
  border-color: var(--c-gold);
  box-shadow: var(--shadow-lg);
}
.biz-card.biz-bank {
  border-color: rgba(196, 104, 81, 0.35);
  background: rgba(196, 104, 81, 0.03);
}
.biz-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--c-gold-dark);
  margin-bottom: 12px;
  font-weight: 700;
}
.biz-card h5 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--c-text);
}
.biz-card p {
  font-size: 13px;
  color: var(--c-text-dim);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   SLIDE 21 — MVP
   ========================================================================== */
.mvp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.mvp-stage {
  padding: 26px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all 0.35s ease;
}
.mvp-stage.mvp-mid {
  border-color: rgba(67, 101, 72, 0.35);
}
.mvp-stage.mvp-top {
  border-color: rgba(184, 133, 62, 0.5);
  background: linear-gradient(180deg, rgba(184, 133, 62, 0.05), var(--bg-card));
  box-shadow: var(--shadow-gold);
}
.mvp-stage:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.mvp-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.mvp-head span:first-child {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-text);
}
.mvp-top .mvp-head span:first-child { color: var(--c-gold-dark); }
.mvp-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--c-text-mute);
  letter-spacing: 1px;
  font-weight: 600;
}
.mvp-stage ul { list-style: none; padding: 0; margin: 0; }
.mvp-stage li {
  padding: 7px 0;
  padding-left: 20px;
  position: relative;
  font-size: 13px;
  color: var(--c-text-dim);
  line-height: 1.5;
}
.mvp-stage li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 6px;
  height: 6px;
  background: var(--c-gold);
  border-radius: 50%;
}

/* ==========================================================================
   SLIDE 22 — IMPACT
   ========================================================================== */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.impact-card {
  padding: 24px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}
.impact-card:hover {
  border-color: var(--c-green);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.impact-card h5 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  color: var(--c-text);
}
.impact-card h5 i { color: var(--c-gold-dark); margin-right: 10px; }
.impact-card ul { list-style: none; padding: 0; margin: 0; }
.impact-card li {
  padding: 5px 0;
  font-size: 13px;
  color: var(--c-text-dim);
  line-height: 1.5;
}
.impact-card li::before {
  content: '— ';
  color: var(--c-gold);
  margin-right: 4px;
}

/* ==========================================================================
   SLIDE 23 — BRAND ARCH
   ========================================================================== */
.brand-arch { margin-top: 30px; text-align: center; }
.brand-master {
  display: inline-block;
  padding: 20px 46px;
  background: var(--grad-gold);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  border-radius: var(--radius-md);
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-gold);
}
.brand-top p {
  font-size: 14px;
  color: var(--c-text-dim);
  margin-top: 10px;
  letter-spacing: 1px;
}
.brand-lines {
  display: flex;
  justify-content: center;
  gap: 20%;
  margin: 26px auto 0;
  width: 80%;
}
.brand-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--c-gold), transparent);
}
.brand-children {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -8px;
}
.brand-child {
  padding: 20px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.brand-child.brand-active {
  border-color: var(--c-gold);
  background: rgba(184, 133, 62, 0.04);
  box-shadow: var(--shadow-gold);
}
.brand-child h5 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--c-text);
}
.brand-active h5 { color: var(--c-gold-dark); }
.brand-child p {
  font-size: 11px;
  color: var(--c-text-mute);
  margin: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

/* ==========================================================================
   SLIDE 24 — PARTNERS
   ========================================================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.partner-col {
  padding: 26px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s ease;
}
.partner-col:hover {
  transform: translateY(-5px);
  border-color: var(--c-gold);
  box-shadow: var(--shadow-md);
}
.partner-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-gold-dark);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184, 133, 62, 0.3);
  width: 100%;
  letter-spacing: 0.5px;
}
.partner-tag i { margin-right: 8px; }
.partner-col ul { list-style: none; padding: 0; margin: 0; }
.partner-col li {
  padding: 6px 0;
  font-size: 13px;
  color: var(--c-text-dim);
  line-height: 1.5;
}
.partner-col li::before {
  content: '◆ ';
  color: var(--c-gold);
  font-size: 9px;
  margin-right: 4px;
}

/* ==========================================================================
   SLIDE 25 — FINAL
   ========================================================================== */
.slide-final {
  position: relative;
  overflow: hidden;
  text-align: center;
}
.final-particles {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(184, 133, 62, 0.08), transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(67, 101, 72, 0.06), transparent 50%),
    radial-gradient(circle at 50% 30%, rgba(31, 98, 117, 0.05), transparent 60%);
  z-index: 0;
}
.final-container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.final-title {
  font-size: clamp(100px, 18vw, 240px);
  font-weight: 900;
  letter-spacing: -10px;
  line-height: 0.85;
  margin: 0 0 28px;
}
.final-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  color: var(--c-gold-dark);
  letter-spacing: 1px;
  margin-bottom: 36px;
}
.final-text {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  color: var(--c-text-dim);
  max-width: 760px;
  margin: 0 auto 44px;
}
.final-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}
.cta-pill {
  padding: 13px 26px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 100px;
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--c-text);
  transition: all 0.3s ease;
  cursor: default;
  font-weight: 500;
}
.cta-pill:hover {
  border-color: var(--c-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.cta-pill i { color: var(--c-gold-dark); margin-right: 10px; }
.final-sign {
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.7;
  color: var(--c-text-mute);
  max-width: 720px;
  margin: 0 auto;
}

/* ==========================================================================
   SIDE CONTROLS
   ========================================================================== */
.side-controls {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}
.ctrl-btn {
  width: 42px;
  height: 42px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 50%;
  color: var(--c-text-dim);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.3s ease;
}
.ctrl-btn:hover {
  border-color: var(--c-gold);
  color: var(--c-gold-dark);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   PROGRESS BAR
   ========================================================================== */
.bb-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(26, 40, 50, 0.05);
  z-index: 100;
}
.bb-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--grad-gold);
  transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================================================
   SLIDE COUNTER
   ========================================================================== */
.bb-counter {
  position: fixed;
  bottom: 22px;
  left: 22px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--c-text-mute);
  padding: 8px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  border-radius: 100px;
  z-index: 100;
  font-weight: 600;
}
.bb-counter #curSlide {
  color: var(--c-gold-dark);
  font-weight: 700;
}

/* ==========================================================================
   REVEAL CONTROLS — recolor for light theme
   ========================================================================== */
.reveal .controls button { color: var(--c-gold-dark) !important; }
.reveal .controls .navigate-left::before,
.reveal .controls .navigate-right::before,
.reveal .controls .navigate-up::before,
.reveal .controls .navigate-down::before { color: var(--c-gold-dark); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .philosophy-grid, .loyalty-levels { grid-template-columns: repeat(5, 1fr); gap: 10px; }
  .gov-grid { grid-template-columns: repeat(4, 1fr); }
  .lang-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid, .problem-grid, .biz-grid, .mvp-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid, .impact-grid, .market-grid { grid-template-columns: repeat(2, 1fr); }
  .gnpp-flow { flex-wrap: wrap; }
  .gnpp-benefits { grid-template-columns: repeat(2, 1fr); }
  .scale-timeline { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .scale-timeline::before { display: none; }
  .ai-types { grid-template-columns: repeat(2, 1fr); }
  .cabinet-mock { grid-template-columns: 1fr; }
  .brand-children { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .container { padding: 24px 18px; }
  .section-title { font-size: 26px; }
  .vision-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-grid, .loyalty-levels { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .problem-grid, .biz-grid, .mvp-grid { grid-template-columns: 1fr; }
  .partners-grid, .impact-grid, .market-grid { grid-template-columns: 1fr; }
  .compare-table { font-size: 11px; }
  .compare-table th, .compare-table td { padding: 8px 6px; }
  .eco-flex, .pos-grid { grid-template-columns: 1fr; }
  .gnpp-flow { flex-direction: column; }
  .flow-arrow { transform: rotate(90deg); padding: 8px 0; }
  .cover-meta { flex-direction: column; align-items: center; }
}
