/* ==========================================================================
   NEXTESCAYPE — CINEMATIC "NIGHT RIDE" THEME LAYER
   Loaded LAST. Visual layer only: re-tokenizes the existing design system to
   a dark-first cinematic palette and restyles existing components.
   No selectors used by js/main.js are renamed; no behavior is altered.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKEN REMAP — flips every var()-driven style to the night palette
   -------------------------------------------------------------------------- */
:root {
  --cx-ink:#F8FAFC; --cx-ink-2:#EEF4FF; --cx-ink-3:#E0EBFD; --cx-card:#FFFFFF; --cx-card-2:#F3F7FE;
  --cx-line: rgba(37,99,235,.16); --cx-line-soft: rgba(37,99,235,.09);
  --cx-sky:#2563EB; --cx-sun:#FFD930; --cx-ember:#FC4F05; --cx-ember-soft: rgba(252,79,5,.12);
  --ne-bg:var(--cx-ink); --ne-bg-alt:var(--cx-ink-2); --ne-card-bg:var(--cx-card);
  --ne-border:var(--cx-line); --ne-border-light:var(--cx-line-soft); --ne-border-accent: rgba(37,99,235,.35);
  --ne-text-main:#18202E; --ne-text-secondary:#4B5563; --ne-text-muted:#64748B;
  --ne-primary:#2563EB; --ne-primary-dark:#2264D2; --ne-accent:#FFD930;
  --ne-primary-light: rgba(37,99,235,.10); --ne-primary-light-rgb: 224,235,253;
  --ne-success-light: rgba(34,197,94,.14);
  --ne-dark-bg:var(--cx-ink); --ne-dark-surface:var(--cx-ink-2); --ne-dark-card:var(--cx-card);
  --ne-shadow-xs:0 1px 2px rgba(255, 255, 255, 0.7); --ne-shadow-sm:0 2px 6px rgba(255, 255, 255, 0.7);
  --ne-shadow-md:0 12px 32px rgba(255, 255, 255, 0.7); --ne-shadow-lg:0 24px 48px -12px rgba(255, 255, 255, 0.7);
  --ne-shadow-xl:0 32px 72px -16px rgba(255, 255, 255, 0.7); --ne-shadow-glow:0 0 44px rgba(37,99,235,.25);
  --ne-shadow-card:0 10px 28px -10px rgba(255, 255, 255, 0.7), 0 0 0 1px var(--cx-line-soft);
  --ne-shadow-card-hover:0 20px 44px -12px rgba(255, 255, 255, 0.7), 0 0 0 1px rgba(37,99,235,.35);
}

/* --------------------------------------------------------------------------
   2. GLOBAL CANVAS
   -------------------------------------------------------------------------- */
html {
  scrollbar-color: #C4D7F7 var(--cx-ink);
}

body {
  background-color: var(--cx-ink);
  background-image:
    radial-gradient(1100px 520px at 85% -120px, rgba(37, 99, 235, 0.14), transparent 65%),
    radial-gradient(900px 480px at -10% 20%, rgba(37, 99, 235, 0.07), transparent 60%);
  background-repeat: no-repeat;
  color: var(--ne-text-secondary);
  overflow-x: clip;
}

::selection { background: rgba(37, 99, 235, 0.45); color: #FFFFFF; }

body::-webkit-scrollbar-track { background: var(--cx-ink); }
body::-webkit-scrollbar-thumb { background: #C4D7F7; }

/* Editorial type scale */
h1, h2, h3, .ne-heading { color: var(--ne-text-main); }

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--ne-text-main);
}

.section-header p { color: var(--ne-text-secondary); }

.section-header .section-tag,
.ne-pill {
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--cx-sky);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
}

.ne-pill-dark {
  background: rgba(37, 99, 235, 0.1);
  border-color: rgba(37, 99, 235, 0.25);
  color: var(--cx-sky);
}

/* Section seams: soft hairline + spotlight rhythm */
.ne-section { position: relative; }

.ne-section::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 86%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cx-line), transparent);
  pointer-events: none;
}

.ne-section-white { background-color: var(--cx-ink-2); }

/* --------------------------------------------------------------------------
   3. NAVBAR — dark glass
   -------------------------------------------------------------------------- */
.ne-navbar {
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
}

.ne-navbar--scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom-color: var(--cx-line-soft);
  box-shadow: 0 12px 40px -12px rgba(255, 255, 255, 0.7);
}

.ne-brand-logo { color: var(--ne-text-main); }
.ne-brand-tagline { color: var(--ne-text-muted); }

.ne-nav-links a { color: var(--ne-text-secondary); }
.ne-nav-links a:hover { color: var(--ne-text-main); background: rgba(37, 99, 235, 0.08); }
.ne-nav-links a.active { color: var(--cx-sky); background: rgba(37, 99, 235, 0.1); }

.ne-navbar-toggler span { background: var(--ne-text-main); }

.ne-mobile-drawer {
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
}

.ne-mobile-drawer-links a { color: var(--ne-text-secondary); }
.ne-mobile-drawer-links a:hover { color: var(--ne-text-main); background: rgba(37, 99, 235, 0.08); }

/* Secondary button becomes dark-glass ghost */
.btn-ne-secondary {
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid var(--cx-line) !important;
  color: var(--ne-text-main) !important;
}

.btn-ne-secondary:hover {
  background: rgba(255, 255, 255, 0.9) !important;
  border-color: rgba(37, 99, 235, 0.45) !important;
  color: #FFFFFF !important;
  box-shadow: 0 0 32px -8px rgba(37, 99, 235, 0.45);
}

.btn-ne-call {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--cx-line);
  color: var(--ne-text-main);
}

.btn-ne-call:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(37, 99, 235, 0.45);
  color: #FFFFFF;
}

.btn-playstore {
  background: #E0EBFD;
  border: 1px solid rgba(37, 99, 235, 0.176);
  box-shadow: 0 10px 30px -8px rgba(255, 255, 255, 0.7), 0 0 36px -14px rgba(37, 99, 235, 0.5);
}

.btn-playstore:hover {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 16px 40px -10px rgba(255, 255, 255, 0.7), 0 0 48px -12px rgba(37, 99, 235, 0.65);
}

.ne-trust-badge {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--cx-line-soft);
  color: var(--ne-text-secondary);
}

.ne-trust-badge:hover {
  border-color: rgba(37, 99, 235, 0.4);
  color: var(--ne-text-main);
}

/* --------------------------------------------------------------------------
   4. HERO — night sky, aurora, glowing device
   -------------------------------------------------------------------------- */
#hero {
  background:
    radial-gradient(1200px 600px at 78% 8%, rgba(37, 99, 235, 0.18), transparent 62%),
    radial-gradient(800px 420px at 12% 92%, rgba(252, 79, 5, 0.07), transparent 60%),
    linear-gradient(180deg, #F8FAFC 0%, var(--cx-ink) 100%);
  overflow: hidden;
}

/* starfield replaces the light dot grid */
.hero-ambient-bg {
  background-image:
    radial-gradient(1.4px 1.4px at 22% 28%, rgba(37, 99, 235, 0.55) 48%, transparent 52%),
    radial-gradient(1.1px 1.1px at 68% 14%, rgba(37, 99, 235, 0.4) 48%, transparent 52%),
    radial-gradient(1.6px 1.6px at 84% 42%, rgba(167, 216, 255, 0.5) 48%, transparent 52%),
    radial-gradient(1px 1px at 40% 8%, rgba(37, 99, 235, 0.35) 48%, transparent 52%),
    radial-gradient(1.2px 1.2px at 8% 56%, rgba(37, 99, 235, 0.3) 48%, transparent 52%),
    radial-gradient(1.5px 1.5px at 55% 36%, rgba(167, 216, 255, 0.4) 48%, transparent 52%),
    radial-gradient(1px 1px at 92% 70%, rgba(37, 99, 235, 0.3) 48%, transparent 52%),
    radial-gradient(1.2px 1.2px at 31% 72%, rgba(37, 99, 235, 0.25) 48%, transparent 52%);
  background-size: 1200px 800px;
  opacity: 0.9;
  animation: cx-twinkle 7s ease-in-out infinite alternate;
}

@keyframes cx-twinkle {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

.hero-glow-orb {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0.08) 42%, transparent 70%);
  filter: blur(8px);
  animation: cx-breathe 9s ease-in-out infinite alternate;
}

@keyframes cx-breathe {
  from { transform: scale(0.94); opacity: 0.8; }
  to { transform: scale(1.06); opacity: 1; }
}

.hero-tag {
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.3);
  color: var(--cx-sky);
}

.hero-title {
  font-size: clamp(2.9rem, 6.2vw, 5rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: var(--ne-text-main);
  text-wrap: balance;
}

.hero-title .highlight {
  background: linear-gradient(120deg, #2563EB 0%, var(--cx-sky) 55%, #8FD8FF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 28px rgba(37, 99, 235, 0.35));
}

.hero-subtitle { color: var(--ne-text-secondary); }

/* Device emits light */
.hero-phone-stage .android-phone.phone-hero {
  box-shadow:
    0 40px 90px -20px rgba(255, 255, 255, 0.7),
    0 0 90px -18px rgba(37, 99, 235, 0.5),
    0 0 0 1px rgba(37, 99, 235, 0.096);
}

.hero-phone-stage::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -8%;
  width: 72%; height: 16%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.3), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

.hero-floating-card {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--cx-line);
  box-shadow: 0 18px 44px -12px rgba(255, 255, 255, 0.7);
}

.hero-floating-card h4 { color: var(--ne-text-main); }
.hero-floating-card p { color: var(--ne-text-muted); }

.hero-card-icon.blue { background: rgba(37, 99, 235, 0.16); color: #2563EB; }
.hero-card-icon.green { background: rgba(34, 197, 94, 0.14); color: #22C55E; }
.hero-card-icon.dark { background: var(--cx-ember-soft); color: var(--cx-ember); }

/* Scroll cue */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--ne-text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 5;
}

.hero-scroll-cue:hover { color: var(--cx-sky); }

.hero-scroll-cue .cue-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, transparent, var(--cx-sky));
  overflow: hidden;
  position: relative;
}

.hero-scroll-cue .cue-line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0;
  width: 100%;
  height: 40%;
  background: #BFE4FF;
  animation: cx-cue-drop 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes cx-cue-drop {
  0% { top: -40%; }
  70%, 100% { top: 110%; }
}

/* --------------------------------------------------------------------------
   5. PHONE FRAME — unified cinematic device treatment
   -------------------------------------------------------------------------- */
.android-phone {
  background: linear-gradient(145deg, #E0EBFD 0%, #F8FAFC 55%, #EEF4FF 100%);
  border-color: rgba(37, 99, 235, 0.128);
}

.android-phone::after {
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.064);
}

.sec-understand .android-phone,
#product-story .android-phone,
.sec-journey .android-phone,
.sec-everyone .android-phone,
.sec-showcase .android-phone {
  box-shadow:
    0 26px 60px -16px rgba(255, 255, 255, 0.7),
    0 0 56px -18px rgba(37, 99, 235, 0.38),
    0 0 0 1px rgba(37, 99, 235, 0.08);
}

/* --------------------------------------------------------------------------
   6. NEW SECTION — THE SOLO TRAVEL PROBLEM  (#story-problem)
   -------------------------------------------------------------------------- */
.sec-story-problem {
  position: relative;
  background:
    radial-gradient(900px 480px at 50% -10%, rgba(37, 99, 235, 0.08), transparent 60%),
    var(--cx-ink-2);
  overflow: hidden;
}

.problem-lede {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-family: var(--ne-font-heading);
  font-weight: 600;
  line-height: 1.45;
  color: var(--ne-text-main);
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.problem-lede .dim { color: var(--ne-text-muted); font-weight: 500; }

.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.problem-card {
  position: relative;
  padding: 1.9rem 1.6rem;
  border-radius: var(--ne-radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.75) 100%);
  border: 1px solid var(--cx-line-soft);
  overflow: hidden;
  transition: transform var(--ne-transition-smooth), border-color var(--ne-transition-smooth), box-shadow var(--ne-transition-smooth);
}

.problem-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(252, 79, 5, 0.55), transparent);
  opacity: 0;
  transition: opacity var(--ne-transition-smooth);
}

.problem-card:hover {
  transform: translateY(-6px);
  border-color: rgba(252, 79, 5, 0.3);
  box-shadow: 0 24px 48px -16px rgba(255, 255, 255, 0.7);
}

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

.problem-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cx-ember-soft);
  color: var(--cx-ember);
  margin-bottom: 1.15rem;
}

.problem-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ne-text-main);
}

.problem-card p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ne-text-muted);
  margin: 0;
}

.problem-outro {
  margin: 3.25rem auto 0;
  text-align: center;
  max-width: 640px;
}

.problem-outro p {
  font-size: 1.05rem;
  color: var(--ne-text-secondary);
}

.problem-outro .turn {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--ne-font-heading);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #2563EB, var(--cx-sky));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--cx-sky);
}

/* --------------------------------------------------------------------------
   7. NEW SECTION — SYNCHRONIZED PRODUCT STORY  (#product-story)
   -------------------------------------------------------------------------- */
.sec-product-story {
  position: relative;
  background:
    radial-gradient(1000px 600px at 85% 30%, rgba(37, 99, 235, 0.1), transparent 60%),
    var(--cx-ink);
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  margin-top: 3rem;
}

.story-chapters {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 18vh, 11rem);
  padding: 8vh 0 14vh;
}

.story-chapter {
  position: relative;
  padding-left: 1.75rem;
  border-left: 1px solid var(--cx-line-soft);
  transition: border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 520px;
}

.story-chapter .story-step-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ne-text-muted);
  margin-bottom: 1rem;
  transition: color 0.45s;
}

.story-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  border: 1px solid var(--cx-line-soft);
  background: rgba(255, 255, 255, 0.7);
  color: var(--ne-text-muted);
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-chapter h3 {
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  color: var(--ne-text-muted);
  transition: color 0.45s;
}

.story-chapter p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ne-text-muted);
  transition: color 0.45s;
  margin: 0;
}

.story-chapter .story-points {
  list-style: none;
  padding: 0;
  margin: 1.1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0.55;
  transition: opacity 0.45s;
}

.story-chapter .story-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: var(--ne-text-secondary);
}

.story-chapter .story-points svg {
  flex-shrink: 0;
  margin-top: 0.22rem;
  color: var(--cx-sky);
}

/* Active chapter lights up */
.story-chapter.is-active { border-left-color: transparent; }

.story-chapter.is-active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 0;
  bottom: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--cx-sky), rgba(37, 99, 235, 0.1));
  box-shadow: 0 0 18px rgba(37, 99, 235, 0.5);
}

.story-chapter.is-active .story-step-label { color: var(--cx-sky); }
.story-chapter.is-active h3 { color: var(--ne-text-main); }
.story-chapter.is-active p { color: var(--ne-text-secondary); }
.story-chapter.is-active .story-points { opacity: 1; }

.story-chapter.is-active .story-icon {
  color: #FFFFFF;
  background: linear-gradient(145deg, var(--ne-primary), #2264D2);
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 28px -4px rgba(37, 99, 235, 0.55);
}

/* chapter accent variants */
.story-chapter[data-accent="green"].is-active .story-icon { background: linear-gradient(145deg, #10B981, #0B8F67); box-shadow: 0 0 28px -4px rgba(16, 185, 129, 0.5); border-color: rgba(34, 197, 94, 0.5); }
.story-chapter[data-accent="green"].is-active .story-step-label { color: #22C55E; }
.story-chapter[data-accent="green"].is-active::before { background: linear-gradient(180deg, #22C55E, rgba(34, 197, 94, 0.1)); box-shadow: 0 0 18px rgba(34, 197, 94, 0.45); }

.story-chapter[data-accent="ember"].is-active .story-icon { background: linear-gradient(145deg, #FC4F05, #E06414); box-shadow: 0 0 28px -4px rgba(252, 79, 5, 0.5); border-color: rgba(252, 79, 5, 0.5); }
.story-chapter[data-accent="ember"].is-active .story-step-label { color: var(--cx-ember); }
.story-chapter[data-accent="ember"].is-active::before { background: linear-gradient(180deg, var(--cx-ember), rgba(252, 79, 5, 0.1)); box-shadow: 0 0 18px rgba(252, 79, 5, 0.45); }

/* Sticky device column */
.story-device-col {
  position: sticky;
  top: calc(50vh - 330px);
  height: 660px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.story-device {
  position: relative;
  width: 300px;
  aspect-ratio: 300 / 640;
  border-radius: 38px;
  background: linear-gradient(145deg, #E0EBFD 0%, #F8FAFC 55%, #EEF4FF 100%);
  border: 1px solid rgba(37, 99, 235, 0.144);
  padding: 10px;
  box-shadow:
    0 44px 90px -22px rgba(255, 255, 255, 0.7),
    0 0 90px -16px rgba(37, 99, 235, 0.45),
    0 0 0 1px rgba(37, 99, 235, 0.064);
}

.story-device .sd-speaker {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: #16203A;
  z-index: 3;
}

.story-device .sd-camera {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #E0EBFD;
  box-shadow: inset 0 0 3px rgba(80, 130, 255, 0.6);
  z-index: 3;
}

.story-device .sd-screen {
  position: absolute;
  inset: 10px;
  border-radius: 30px;
  overflow: hidden;
  background: #E0EBFD;
}

.story-device .sd-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: translateY(14px) scale(1.015);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.story-device .sd-screen img.is-shown {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.story-device .sd-glare {
  position: absolute;
  inset: 10px;
  border-radius: 30px;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.09) 0%, transparent 32%);
  pointer-events: none;
  z-index: 2;
}

/* progress rail */
.story-progress {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.story-progress .sp-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.176);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-progress .sp-dot.is-active {
  width: 26px;
  background: var(--cx-sky);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.6);
}

.story-progress .sp-caption {
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ne-text-muted);
  margin-left: 0.5rem;
  min-width: 11ch;
}

/* --------------------------------------------------------------------------
   8. UNDERSTAND (concept in 30s)
   -------------------------------------------------------------------------- */
.sec-understand {
  background:
    radial-gradient(800px 420px at 15% 0%, rgba(37, 99, 235, 0.06), transparent 60%),
    var(--cx-ink);
}

.step-phone-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.6) 100%);
  border: 1px solid var(--cx-line-soft);
  border-radius: var(--ne-radius-xl);
  transition: transform var(--ne-transition-smooth), border-color var(--ne-transition-smooth), box-shadow var(--ne-transition-smooth);
}

.step-phone-card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 24px 52px -14px rgba(255, 255, 255, 0.7), 0 0 40px -12px rgba(37, 99, 235, 0.3);
}

.step-badge-number {
  background: linear-gradient(145deg, var(--ne-primary), #2264D2);
  color: #FFFFFF;
  box-shadow: 0 0 22px -4px rgba(37, 99, 235, 0.6);
}

.step-card-header h3 { color: var(--ne-text-main); }
.step-card-header p { color: var(--ne-text-muted); }

/* --------------------------------------------------------------------------
   9. DIFFERENT (comparison)
   -------------------------------------------------------------------------- */
.sec-different { background: var(--cx-ink-2); }

.comp-card {
  border-radius: var(--ne-radius-xl);
}

.comp-card-traditional {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(100, 116, 139, 0.12);
  opacity: 0.88;
}

.comp-card-ecosystem {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(37, 99, 235, 0.35);
  box-shadow: 0 0 60px -18px rgba(37, 99, 235, 0.4);
}

.comp-header h3 { color: var(--ne-text-main); }

.comp-tag-gray { background: rgba(100, 116, 139, 0.12); color: #8CA3C7; }
.comp-tag-blue { background: rgba(37, 99, 235, 0.16); color: #2563EB; }

.comp-step-icon.cross { background: rgba(239, 68, 68, 0.14); color: #F87171; }
.comp-step-icon.check { background: rgba(34, 197, 94, 0.14); color: #22C55E; }

.comp-step-text h4 { color: var(--ne-text-main); }
.comp-step-text p { color: var(--ne-text-muted); }

.comp-divider { background: rgba(37, 99, 235, 0.08); }
.comp-divider.active { background: linear-gradient(90deg, rgba(37, 99, 235, 0.5), rgba(37, 99, 235, 0.5)); }

/* --------------------------------------------------------------------------
   10. ECOSYSTEM DIAGRAM
   -------------------------------------------------------------------------- */
.sec-ecosystem {
  background:
    radial-gradient(1000px 520px at 50% 30%, rgba(37, 99, 235, 0.09), transparent 62%),
    var(--cx-ink);
}

.ecosystem-node {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.85) 100%);
  border: 1px solid var(--cx-line-soft);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.ecosystem-node:hover {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 20px 44px -12px rgba(255, 255, 255, 0.7), 0 0 36px -10px rgba(37, 99, 235, 0.35);
}

.node-title { color: var(--ne-text-main); }
.node-badge {
  background: rgba(37, 99, 235, 0.1);
  color: var(--cx-sky);
  border-radius: var(--ne-radius-full);
  padding: 0.14rem 0.55rem;
  width: fit-content;
  display: inline-block;
}

.powered-by-tg {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.18);
  color: var(--ne-text-muted);
}
.node-list li { color: var(--ne-text-muted); }

.node-icon.blue { background: rgba(37, 99, 235, 0.16); color: #2563EB; }
.node-icon.green { background: rgba(34, 197, 94, 0.14); color: #22C55E; }
.node-icon.orange { background: var(--cx-ember-soft); color: var(--cx-ember); }
.node-icon.purple { background: rgba(167, 139, 250, 0.14); color: #B79CFF; }
.node-icon.dark { background: rgba(37, 99, 235, 0.08); color: #AFC8EE; }

.powered-by-tg { color: var(--ne-text-muted); }

.ecosystem-center-hub {
  background: radial-gradient(circle at 35% 25%, #0D63D8 0%, #0A3D9C 55%, #082B6E 100%);
  box-shadow:
    0 0 0 10px rgba(37, 99, 235, 0.07),
    0 0 0 22px rgba(37, 99, 235, 0.04),
    0 24px 60px -12px rgba(255, 255, 255, 0.7),
    0 0 80px -10px rgba(37, 99, 235, 0.55);
}

/* --------------------------------------------------------------------------
   11. JOURNEY — cinematic route timeline
   -------------------------------------------------------------------------- */
.sec-journey {
  background:
    radial-gradient(900px 500px at 88% 10%, rgba(252, 79, 5, 0.05), transparent 60%),
    var(--cx-ink-2);
}

.journey-step-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.6) 100%);
  border: 1px solid var(--cx-line-soft);
}

.journey-step-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 24px 52px -14px rgba(255, 255, 255, 0.7), 0 0 40px -12px rgba(37, 99, 235, 0.28);
}

.journey-step-num { color: var(--cx-ember); }

.journey-status-pill {
  background: rgba(34, 197, 94, 0.12);
  color: #22C55E;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.journey-step-card h3 { color: var(--ne-text-main); }
.journey-step-card p { color: var(--ne-text-muted); }

/* --------------------------------------------------------------------------
   12. EVERYONE (marketplace roles)
   -------------------------------------------------------------------------- */
.sec-everyone { background: var(--cx-ink); }

.audience-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.6) 100%);
  border: 1px solid var(--cx-line-soft);
}

.audience-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 28px 56px -14px rgba(255, 255, 255, 0.7), 0 0 44px -12px rgba(37, 99, 235, 0.3);
}

.audience-badge {
  background: rgba(37, 99, 235, 0.14);
  color: #2563EB;
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: var(--ne-radius-full);
  padding: 0.3rem 0.8rem;
  width: fit-content;
  align-self: flex-start;
}

.audience-card h3 { color: var(--ne-text-main); }
.audience-features li { color: var(--ne-text-secondary); }
.audience-features li svg { color: #22C55E; }

.audience-role-note {
  margin-top: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: var(--ne-radius-md);
  background: rgba(37, 99, 235, 0.07);
  border: 1px solid rgba(37, 99, 235, 0.16);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ne-text-muted);
}

.audience-role-note strong { color: var(--cx-sky); font-weight: 600; }

/* --------------------------------------------------------------------------
   13. TRIPGUARDIAN — harmonize (section already dark)
   -------------------------------------------------------------------------- */
.sec-tripguardian {
  background:
    radial-gradient(1100px 560px at 50% 0%, rgba(37, 99, 235, 0.12), transparent 60%),
    var(--cx-ink-2);
}

.tg-mindnode {
  background: rgba(255, 255, 255, 0.88);
  border-color: var(--cx-line);
}

.tg-feature-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.7) 100%);
  border: 1px solid var(--cx-line-soft);
}

/* Node badges now hold stroke icons — give each its accent color */
.tg-node-badge svg { width: 16px; height: 16px; }
.tg-node-badge.red { color: #F87171; }
.tg-node-badge.purple { color: #C4A3FF; }
.tg-node-badge.cyan { color: #5EEAFF; }
.tg-node-badge.blue { color: #6FB3FF; }
.tg-node-badge.amber { color: #FBBF24; }
.tg-node-badge.green { color: #34E3B0; }
.tg-node-badge.red-subtle { color: #FB7185; }
.tg-node-badge.orange { color: #FB923C; }

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

/* --------------------------------------------------------------------------
   14. PAYMENT (escrow)
   -------------------------------------------------------------------------- */
.sec-payment { background: var(--cx-ink); }

.payment-milestone-bar {
  border: 1px solid var(--cx-line-soft);
  background: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}

.payment-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.6) 100%);
  border: 1px solid var(--cx-line-soft);
}

.payment-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 24px 48px -14px rgba(255, 255, 255, 0.7), 0 0 36px -12px rgba(37, 99, 235, 0.28);
}

.payment-percent {
  background: linear-gradient(120deg, #2563EB, var(--cx-sky));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.payment-card h3 { color: var(--ne-text-main); }
.payment-card p { color: var(--ne-text-muted); }

/* --------------------------------------------------------------------------
   15. SHOWCASE CAROUSEL
   -------------------------------------------------------------------------- */
.sec-showcase {
  background:
    radial-gradient(900px 480px at 10% 20%, rgba(37, 99, 235, 0.06), transparent 60%),
    var(--cx-ink-2);
}

.showcase-carousel { scroll-snap-type: x proximity; }
.showcase-slide { scroll-snap-align: center; }

.showcase-carousel-wrapper {
  position: relative;
}

.showcase-carousel-wrapper::before,
.showcase-carousel-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 2;
  pointer-events: none;
}

.showcase-carousel-wrapper::before { left: 0; background: linear-gradient(90deg, var(--cx-ink-2), transparent); }
.showcase-carousel-wrapper::after { right: 0; background: linear-gradient(270deg, var(--cx-ink-2), transparent); }

.showcase-slide h4 { color: var(--ne-text-main); }
.showcase-slide p { color: var(--ne-text-muted); }

.btn-carousel-ctrl {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--cx-line);
  color: var(--ne-text-main);
}

.btn-carousel-ctrl:hover {
  background: var(--ne-primary);
  border-color: var(--ne-primary);
  color: #FFFFFF;
  box-shadow: 0 0 28px -6px rgba(37, 99, 235, 0.6);
}

/* --------------------------------------------------------------------------
   16. FLYWHEEL
   -------------------------------------------------------------------------- */
.sec-flywheel { background: var(--cx-ink); }

.flywheel-circle { border-color: rgba(37, 99, 235, 0.2); }

.flywheel-node-item {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--cx-line);
  color: var(--ne-text-secondary);
}

.flywheel-center-badge {
  background: radial-gradient(circle at 35% 25%, #0D63D8 0%, #0A3D9C 60%, #082B6E 100%);
  box-shadow: 0 0 60px -8px rgba(37, 99, 235, 0.55);
}

/* --------------------------------------------------------------------------
   17. REVIEWS — deliberate light "polaroid" accent card
   -------------------------------------------------------------------------- */
.sec-reviews { background: var(--cx-ink-2); }

.google-review-card {
  background: #FFFFFF;
  box-shadow:
    0 40px 90px -24px rgba(255, 255, 255, 0.7),
    0 0 100px -20px rgba(37, 99, 235, 0.35);
  border: none;
}

.google-review-card h3 { color: #111827; }
.google-review-card p { color: #4B5563; }

/* --------------------------------------------------------------------------
   18. COMMUNITY
   -------------------------------------------------------------------------- */
.sec-community { background: var(--cx-ink); }

.community-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.6) 100%);
  border: 1px solid var(--cx-line-soft);
}

.community-card h4 { color: var(--ne-text-main); }
.community-card p { color: var(--ne-text-muted); }

.community-card.facebook .community-icon { background: rgba(24, 119, 242, 0.14); color: #5E9DFF; }
.community-card.instagram .community-icon { background: rgba(225, 48, 108, 0.14); color: #FF6DA3; }
.community-card.youtube .community-icon { background: rgba(255, 0, 0, 0.14); color: #FF6B6B; }
.community-card.whatsapp .community-icon { background: rgba(37, 211, 102, 0.14); color: #4ADE80; }

.community-btn-text { color: var(--cx-sky); }

/* --------------------------------------------------------------------------
   19. FAQ
   -------------------------------------------------------------------------- */
.sec-faq { background: var(--cx-ink-2); }

.faq-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--cx-line-soft);
}

.faq-item.active {
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(255, 255, 255, 0.75);
}

.faq-question span { color: var(--ne-text-main); }
.faq-answer p, .faq-answer { color: var(--ne-text-muted); }

/* --------------------------------------------------------------------------
   20. FINAL CTA + FOOTER
   -------------------------------------------------------------------------- */
.sec-final-cta {
  background:
    radial-gradient(1100px 560px at 70% 20%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(700px 420px at 10% 90%, rgba(252, 79, 5, 0.08), transparent 60%),
    linear-gradient(180deg, var(--cx-ink) 0%, #04091a 100%);
  position: relative;
  overflow: hidden;
}

.final-cta-kicker {
  display: block;
  font-family: var(--ne-font-heading);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  letter-spacing: -0.01em;
  color: var(--cx-sky);
  margin-bottom: 0.6rem;
}

.final-cta-copy h2 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  letter-spacing: -0.03em;
  color: var(--ne-text-main);
}

.final-cta-copy p { color: var(--ne-text-secondary); }

.final-cta-phone {
  box-shadow:
    0 48px 100px -24px rgba(255, 255, 255, 0.7),
    0 0 110px -18px rgba(37, 99, 235, 0.5) !important;
}

.ne-footer {
  background: #04081A;
  border-top: 1px solid var(--cx-line-soft);
}

/* --------------------------------------------------------------------------
   21. REVEAL SYSTEM EXTENSIONS (works with existing [data-animate] JS)
   -------------------------------------------------------------------------- */
[data-animate="reveal-left"],
[data-animate="reveal-right"],
[data-animate="reveal-zoom"] {
  opacity: 0;
}

[data-animate="reveal-left"] { transform: translateX(-36px); }
[data-animate="reveal-right"] { transform: translateX(36px); }
[data-animate="reveal-zoom"] { transform: scale(0.94); }

[data-animate="reveal-left"].is-visible,
[data-animate="reveal-right"].is-visible,
[data-animate="reveal-zoom"].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   22. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  /* Pinned story collapses to natural vertical storytelling */
  .story-layout { grid-template-columns: 1fr; }
  .story-device-col { display: none; }

  .story-chapters { padding: 1rem 0 0; gap: 2.5rem; }

  .story-chapter {
    border-left-color: transparent;
    padding: 1.6rem 1.4rem;
    border-radius: var(--ne-radius-xl);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.6) 100%);
    border: 1px solid var(--cx-line-soft);
    max-width: none;
  }

  .story-chapter::before { display: none; }

  /* On mobile every chapter is fully lit */
  .story-chapter .story-step-label { color: var(--cx-sky); }
  .story-chapter h3 { color: var(--ne-text-main); }
  .story-chapter p { color: var(--ne-text-secondary); }
  .story-chapter .story-points { opacity: 1; }

  .story-chapter .story-icon {
    color: #FFFFFF;
    background: linear-gradient(145deg, var(--ne-primary), #2264D2);
    border-color: rgba(37, 99, 235, 0.5);
  }

  .story-chapter[data-accent="green"] .story-icon { background: linear-gradient(145deg, #10B981, #0B8F67); }
  .story-chapter[data-accent="green"] .story-step-label { color: #22C55E; }
  .story-chapter[data-accent="ember"] .story-icon { background: linear-gradient(145deg, #FC4F05, #E06414); }
  .story-chapter[data-accent="ember"] .story-step-label { color: var(--cx-ember); }

  .story-chapter .story-mobile-shot {
    display: block;
    margin: 1.4rem auto 0;
    width: min(240px, 70%);
    border-radius: 24px;
    border: 1px solid rgba(37, 99, 235, 0.144);
    box-shadow: 0 22px 48px -14px rgba(255, 255, 255, 0.7), 0 0 44px -14px rgba(37, 99, 235, 0.35);
  }

  .hero-scroll-cue { display: none; }
}

@media (min-width: 992px) {
  .story-chapter .story-mobile-shot { display: none; }
}

@media (max-width: 767px) {
  .problem-grid { grid-template-columns: 1fr; gap: 1rem; }
  .problem-lede { font-size: 1.3rem; }

  .hero-title { font-size: clamp(2.4rem, 10vw, 3rem); }

  .showcase-carousel-wrapper::before,
  .showcase-carousel-wrapper::after { width: 28px; }
}

/* --------------------------------------------------------------------------
   23. REDUCED MOTION — everything readable, nothing required to move
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .hero-ambient-bg,
  .hero-glow-orb,
  .hero-scroll-cue .cue-line::after {
    animation: none !important;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }

  .story-device .sd-screen img {
    transition: opacity 0.2s linear;
    transform: none;
  }

  .problem-card, .step-phone-card, .journey-step-card, .audience-card,
  .payment-card, .community-card, .ecosystem-node {
    transition: none;
  }

  html { scroll-behavior: auto; }
}

/* ---- Escapye app palette accents (sampled from app screens) ---- */
.hero-title .accent, .hero-title em, .section-kicker, .cine-kicker { text-shadow: none; }
.btn-primary, .ne-btn-primary { background: #2563EB; }
.hero-card-icon svg, .scene-slate .dot { color: #FFD930; }

/* ==========================================================================
   LIGHT THEME FIXES (Escapye app palette: #F8FAFC / #2563EB / #FFD930 / #FC4F05)
   ========================================================================== */
.btn-playstore { background: #18202E !important; border: 1px solid #18202E !important; color: #fff !important; }
.btn-playstore .subtext, .btn-playstore-text, .btn-playstore-text * { color: #fff !important; }
.btn-playstore:hover { background: #2563EB !important; border-color: #2563EB !important; }

.sec-tripguardian .section-header.dark h2,
.sec-tripguardian .section-header.dark .section-title,
.sec-tripguardian h2 { color: var(--ne-text-main) !important; }
.sec-tripguardian .section-header.dark p { color: var(--ne-text-secondary) !important; }
.tg-mode-switch { background: #fff !important; border: 1px solid var(--cx-line) !important; box-shadow: var(--ne-shadow-sm); }
.tg-switch-btn { color: var(--ne-text-secondary) !important; }
.tg-switch-btn.active { background: #2563EB !important; color: #fff !important; }
.tg-ambient-glow { opacity: .5; }

.sec-final-cta {
  background:
    radial-gradient(1100px 560px at 70% 20%, rgba(37,99,235,.14), transparent 60%),
    radial-gradient(700px 420px at 10% 90%, rgba(255,217,48,.18), transparent 60%),
    linear-gradient(180deg, #EEF4FF 0%, #E0EBFD 100%) !important;
}
.final-cta-copy h2, .final-cta-copy p { color: var(--ne-text-main); }
.final-cta-copy p { color: var(--ne-text-secondary); }
.sec-final-cta .btn-outline, .sec-final-cta a:not(.btn-playstore):not(.btn-primary) { color: var(--ne-text-main); }
.sec-final-cta .ne-pill { background: rgba(37,99,235,.1); color: #2264D2; }
.story-chapter:not(.is-active) { opacity: .75; }

/* Light footer */
.ne-footer { background: #EEF4FF !important; border-top: 1px solid var(--cx-line); color: #4B5563; }
.ne-footer h4, .ne-footer h5, .ne-footer h6, .ne-footer .footer-heading, .ne-footer strong { color: #18202E !important; }
.ne-footer a, .ne-footer p, .ne-footer li, .ne-footer span { color: #4B5563; }
.ne-footer a:hover { color: #2563EB; }
.ne-footer .ne-brand-logo, .ne-footer .ne-brand-logo * { color: #18202E !important; }
.ne-footer .ne-brand-tagline, .ne-footer [class*="tagline"] { color: #2563EB !important; }
.ne-footer .btn-playstore, .ne-footer .btn-playstore * { color: #fff !important; }
.ne-footer [class*="social"] a, .ne-footer .social-link { background: #fff !important; color: #2563EB !important; border: 1px solid var(--cx-line); }
.ne-footer .footer-logo-img { filter: brightness(0) saturate(100%) invert(31%) sepia(96%) saturate(2400%) hue-rotate(216deg) brightness(97%); }
.ne-footer .footer-logo-text { color: #18202E !important; }
.ne-footer .footer-logo-text span { color: #2563EB !important; }
