/* ═══════════════════════════════════════════════════════════════════════════
   VStreet — Landing Page
   Premium dark UI · Apple-tier quality · Urban energy
   ═══════════════════════════════════════════════════════════════════════════ */

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

:root {
  --primary: #7C3AED;
  --primary-light: #a78bfa;
  --primary-dark: #5b21b6;
  --primary-glow: rgba(124, 58, 237, 0.35);
  --bg: #0A0A0A;
  --surface: #131313;
  --surface2: #1A1A1A;
  --surface3: #222222;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text: #FFFFFF;
  --text2: rgba(255, 255, 255, 0.6);
  --text3: rgba(255, 255, 255, 0.3);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font-display: 'Syne', -apple-system, 'SF Pro Display', sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ── Grain overlay ───────────────────────────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px;
}

/* ── Reveal animations ───────────────────────────────────────────────────── */
.rv {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.rv.visible {
  opacity: 1;
  transform: translateY(0);
}
.rv[data-d="1"] { transition-delay: 0.08s; }
.rv[data-d="2"] { transition-delay: 0.16s; }
.rv[data-d="3"] { transition-delay: 0.24s; }
.rv[data-d="4"] { transition-delay: 0.32s; }

/* ── Accent text ─────────────────────────────────────────────────────────── */
.accent-text {
  background: linear-gradient(135deg, #c4b5fd 0%, #7C3AED 50%, #5b21b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #7C3AED 0%, #6d28d9 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 16px 30px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.12) inset,
    0 12px 40px -8px var(--primary-glow);
  transition: transform 0.3s var(--ease-spring), box-shadow 0.35s;
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 50%);
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.12) inset,
    0 20px 60px -8px rgba(124, 58, 237, 0.5);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-primary--lg {
  font-size: 17px;
  padding: 20px 36px;
  border-radius: 18px;
  width: 100%;
  max-width: 400px;
  justify-content: center;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text2);
  font-size: 15px;
  font-weight: 550;
  padding: 15px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.btn-secondary:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.04);
}

/* ── Navigation ──────────────────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background 0.4s, border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom-color: var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; }
.nav-logo { height: 72px; width: auto; opacity: 0.9; transition: opacity 0.2s; }
.nav-logo:hover { opacity: 1; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text3);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color 0.25s, background 0.25s;
  letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.btn-nav {
  font-size: 13px;
  font-weight: 650;
  color: #fff;
  background: var(--primary);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  margin-left: 8px;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-nav:hover { opacity: 0.88; transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.active span:first-child { transform: rotate(45deg) translate(2.5px, 2.5px); }
.nav-toggle.active span:last-child { transform: rotate(-45deg) translate(2.5px, -2.5px); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-link {
  font-size: 24px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text2);
  padding: 12px 24px;
  transition: color 0.2s;
}
.mobile-link:hover, .mobile-link.accent { color: var(--text); }
.mobile-link.accent { color: var(--primary-light); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 120px 0 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.hero-orb--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
  top: -250px; left: -250px;
  animation: orbFloat1 20s ease-in-out infinite;
}
.hero-orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
  top: 100px; right: -200px;
  animation: orbFloat2 25s ease-in-out infinite;
}
.hero-orb--3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(91, 33, 182, 0.1) 0%, transparent 70%);
  bottom: -100px; left: 30%;
  animation: orbFloat3 18s ease-in-out infinite;
}
@keyframes orbFloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, 30px); } }
@keyframes orbFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-30px, 40px); } }
@keyframes orbFloat3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(20px, -30px); } }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

.hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  min-width: 0;
  max-width: 560px;
}

.hero-logo {
  height: 160px;
  width: auto;
  margin-bottom: 28px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 32px;
  letter-spacing: 0.2px;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: #30D158;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(48, 209, 88, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 80px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 0.92;
  margin-bottom: 24px;
}
.hero-title--accent {
  background: linear-gradient(135deg, #e0d4fc 0%, #7C3AED 40%, #5b21b6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 16.5px;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 40px;
  letter-spacing: 0.01em;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Phone mockup ────────────────────────────────────────────────────────── */
.hero-phone-wrap {
  flex-shrink: 0;
  perspective: 1200px;
}
.hero-phone {
  position: relative;
  will-change: transform;
}
.phone-glow {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 55%);
  pointer-events: none;
  z-index: -1;
}
.phone-frame {
  width: 280px;
  height: 570px;
  border-radius: 48px;
  background: #0c0c0e;
  border: 2px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 60px 140px -20px rgba(0, 0, 0, 0.7),
    0 0 80px -20px rgba(124, 58, 237, 0.2);
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out);
}
.phone-frame:hover { transform: rotateY(-2deg) rotateX(1deg); }

.phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

/* Map simulation */
.phone-map {
  flex: 1;
  background: #111116;
  position: relative;
  overflow: hidden;
}
.map-grid-lines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 44px, rgba(255,255,255,0.018) 44px, rgba(255,255,255,0.018) 45px),
    repeating-linear-gradient(90deg, transparent, transparent 44px, rgba(255,255,255,0.018) 44px, rgba(255,255,255,0.018) 45px);
}
.map-road {
  position: absolute;
  background: rgba(255, 255, 255, 0.035);
}
.map-road--h1 { top: 35%; left: 0; right: 0; height: 8px; }
.map-road--h2 { top: 62%; left: 10%; right: 20%; height: 6px; }
.map-road--v1 { left: 40%; top: 0; bottom: 0; width: 7px; }
.map-road--v2 { left: 68%; top: 15%; bottom: 30%; width: 5px; }
.map-road--d1 {
  top: 20%; left: 10%;
  width: 120px; height: 5px;
  transform: rotate(35deg);
}

.map-marker {
  position: absolute;
  width: 16px; height: 16px;
  border-radius: 50% 50% 50% 4px;
  background: var(--primary);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transform: rotate(45deg);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.5);
}
.map-marker--active {
  width: 20px; height: 20px;
  background: linear-gradient(135deg, #7C3AED, #a78bfa);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.7);
}
.marker-ping {
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 1.5px solid var(--primary);
  animation: marker-ping 2.5s ease-out infinite;
  transform: rotate(0deg);
}
@keyframes marker-ping {
  0% { opacity: 0.6; inset: -4px; }
  100% { opacity: 0; inset: -16px; }
}

.map-user {
  position: absolute;
  width: 12px; height: 12px;
  background: #3B82F6;
  border: 2px solid #fff;
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

/* Spot card inside phone */
.phone-spot {
  display: flex;
  gap: 12px;
  margin: 0 10px 10px;
  padding: 12px;
  background: rgba(20, 20, 28, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.phone-spot-img {
  width: 52px; height: 52px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e1e2e, #2a2a3a);
  flex-shrink: 0;
}
.phone-spot-info { flex: 1; min-width: 0; }
.phone-spot-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}
.phone-spot-name { font-size: 13px; font-weight: 700; color: #fff; }
.phone-spot-rating {
  font-size: 11px;
  font-weight: 700;
  color: #FFD60A;
  background: rgba(255, 214, 10, 0.1);
  padding: 2px 6px;
  border-radius: 6px;
}
.phone-spot-addr { font-size: 10.5px; color: var(--text3); display: block; margin-bottom: 6px; }
.phone-spot-tags { display: flex; gap: 4px; }
.phone-tag {
  font-size: 9px;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(124, 58, 237, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.2px;
}

.phone-bar {
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 72px; height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  z-index: 10;
}

/* ── Hero stats ──────────────────────────────────────────────────────────── */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 24px 48px;
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text);
  line-height: 1;
  min-width: 3ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-light);
  display: inline;
}
.stat-label {
  font-size: 12.5px;
  color: var(--text3);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.stat-sep {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Scroll cue */
.scroll-cue {
  display: flex;
  justify-content: center;
  padding-bottom: 24px;
  position: relative;
  z-index: 1;
}
.scroll-cue-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 0.8; transform: scaleY(1.2); }
}

/* ── City ticker ─────────────────────────────────────────────────────────── */
.ticker-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.ticker-section::before,
.ticker-section::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker-section::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 100%);
}
.ticker-section::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg) 0%, transparent 100%);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-content {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 0;
  flex-shrink: 0;
}
.ticker-content span {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text3);
  padding: 0 20px;
  white-space: nowrap;
  transition: color 0.3s;
}
.ticker-dot {
  width: 4px !important;
  height: 4px !important;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
  padding: 0 !important;
  flex-shrink: 0;
}

/* ── Section commons ─────────────────────────────────────────────────────── */
.section {
  padding: 120px 0;
  border-top: 1px solid var(--border);
  position: relative;
}
.section--no-border { border-top: none; }

.section-header {
  text-align: center;
  margin-bottom: 72px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary-light);
  margin-bottom: 24px;
  background: rgba(124, 58, 237, 0.06);
  border: 1px solid rgba(124, 58, 237, 0.1);
  padding: 8px 18px;
  border-radius: 100px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  letter-spacing: -2.5px;
  line-height: 0.93;
}

/* ── Animated Showcase ────────────────────────────────────────────────────── */
.showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.showcase-phone {
  width: 300px;
  height: 620px;
  border-radius: 48px;
  background: #0c0c0e;
  border: 2px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.5),
    0 80px 160px -30px rgba(0, 0, 0, 0.7),
    0 0 100px -20px rgba(124, 58, 237, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.showcase-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 20;
}

.showcase-bar {
  position: absolute;
  bottom: 6px; left: 50%;
  transform: translateX(-50%);
  width: 72px; height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  z-index: 20;
}

/* ── Scenes ──────────────────────────────────────────────────────────────── */
.sc-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: scale(0.96) translateX(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: none;
  z-index: 1;
}
.sc-scene.sc-active {
  opacity: 1;
  transform: scale(1) translateX(0);
  pointer-events: all;
  z-index: 10;
}
.sc-scene.sc-exit {
  opacity: 0;
  transform: scale(0.96) translateX(-20px);
}

/* Scene 1 — Map */
.sc-scene--map { background: #111116; }
.sc-map-bg {
  flex: 1;
  position: relative;
  overflow: hidden;
}
.sc-map-grid {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px);
}
.sc-map-road {
  position: absolute;
  background: rgba(255, 255, 255, 0.04);
}
.sc-road-h { left: 0; right: 0; height: 8px; }
.sc-road-v { top: 0; bottom: 0; width: 7px; }
.sc-road-d { width: 140px; height: 6px; transform: rotate(32deg); }

.sc-pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50% 50% 50% 4px;
  background: var(--primary);
  border: 2px solid rgba(255,255,255,0.9);
  transform: rotate(45deg);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.5);
  opacity: 0;
}
.sc-active .sc-pin { animation: pin-appear 0.4s var(--ease-spring) forwards; }
.sc-active .sc-pin--1 { animation-delay: 0.2s; }
.sc-active .sc-pin--2 { animation-delay: 0.35s; }
.sc-active .sc-pin--3 { animation-delay: 0.5s; }
.sc-active .sc-pin--4 { animation-delay: 0.65s; }
.sc-active .sc-pin--5 { animation-delay: 0.8s; }
.sc-active .sc-pin--6 { animation-delay: 0.95s; }
.sc-active .sc-pin--7 { animation-delay: 1.1s; }

@keyframes pin-appear {
  0% { opacity: 0; transform: rotate(45deg) scale(0) translateY(8px); }
  100% { opacity: 1; transform: rotate(45deg) scale(1) translateY(0); }
}

.sc-user-dot {
  position: absolute;
  top: 45%; left: 50%;
  width: 10px; height: 10px;
  background: #3B82F6;
  border: 2px solid #fff;
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
  opacity: 0;
}
.sc-active .sc-user-dot { animation: pin-appear 0.4s var(--ease-spring) 0.1s forwards; }

.sc-map-label {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text2);
  background: rgba(20, 20, 28, 0.9);
  backdrop-filter: blur(12px);
  padding: 10px 18px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.06);
  z-index: 5;
  opacity: 0;
}
.sc-active .sc-map-label { animation: fade-up 0.5s var(--ease-out) 1.2s forwards; }
@keyframes fade-up {
  0% { opacity: 0; transform: translateX(-50%) translateY(8px); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Scene 2 — Spot detail */
.sc-scene--detail { background: #111116; }
.sc-detail-hero {
  height: 200px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16162a 40%, #1e1e3a 100%);
  position: relative;
  flex-shrink: 0;
}
.sc-detail-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(transparent, #111116);
}
.sc-detail-body {
  padding: 0 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sc-detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  opacity: 0;
}
.sc-active .sc-detail-head { animation: fade-up-item 0.4s var(--ease-out) 0.15s forwards; }

.sc-detail-name {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.sc-detail-addr {
  font-size: 12px;
  color: var(--text3);
  margin-top: 3px;
}
.sc-detail-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #FFD60A;
  background: rgba(255, 214, 10, 0.08);
  padding: 5px 10px;
  border-radius: 8px;
  flex-shrink: 0;
}
.sc-detail-tags {
  display: flex;
  gap: 6px;
  opacity: 0;
}
.sc-active .sc-detail-tags { animation: fade-up-item 0.4s var(--ease-out) 0.3s forwards; }

.sc-detail-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-light);
  background: rgba(124, 58, 237, 0.1);
  padding: 5px 10px;
  border-radius: 6px;
  letter-spacing: 0.2px;
}
.sc-detail-stats {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  opacity: 0;
}
.sc-active .sc-detail-stats { animation: fade-up-item 0.4s var(--ease-out) 0.45s forwards; }

.sc-ds { display: flex; flex-direction: column; align-items: center; flex: 1; gap: 2px; }
.sc-ds-val { font-size: 16px; font-weight: 700; color: #fff; }
.sc-ds-lbl { font-size: 10px; color: var(--text3); }

.sc-detail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #7C3AED, #6d28d9);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  padding: 14px;
  border-radius: 14px;
  margin-top: auto;
  opacity: 0;
  box-shadow: 0 8px 24px -4px var(--primary-glow);
}
.sc-active .sc-detail-btn { animation: fade-up-item 0.4s var(--ease-out) 0.6s forwards; }

@keyframes fade-up-item {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Scene 3 — Social */
.sc-scene--social {
  background: #111116;
  padding: 50px 16px 16px;
  gap: 10px;
}
.sc-social-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  opacity: 0;
}
.sc-active .sc-social-header { animation: fade-up-item 0.4s var(--ease-out) 0.1s forwards; }

.sc-social-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}
.sc-social-count {
  font-size: 12px;
  font-weight: 600;
  color: #30D158;
  background: rgba(48, 209, 88, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
}

.sc-friend {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  opacity: 0;
}
.sc-active .sc-friend--1 { animation: slide-in-friend 0.4s var(--ease-out) 0.25s forwards; }
.sc-active .sc-friend--2 { animation: slide-in-friend 0.4s var(--ease-out) 0.38s forwards; }
.sc-active .sc-friend--3 { animation: slide-in-friend 0.4s var(--ease-out) 0.51s forwards; }
.sc-active .sc-friend--4 { animation: slide-in-friend 0.4s var(--ease-out) 0.64s forwards; }

@keyframes slide-in-friend {
  0% { opacity: 0; transform: translateX(24px); }
  100% { opacity: 1; transform: translateX(0); }
}

.sc-friend-av {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.sc-friend-info { flex: 1; min-width: 0; }
.sc-friend-name { display: block; font-size: 13px; font-weight: 650; color: #fff; }
.sc-friend-status { display: block; font-size: 11px; color: var(--text3); margin-top: 1px; }
.sc-friend-live {
  width: 8px; height: 8px;
  background: #FF453A;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
.sc-friend-online {
  width: 8px; height: 8px;
  background: #30D158;
  border-radius: 50%;
  flex-shrink: 0;
}

.sc-social-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 14px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: 14px;
  color: var(--primary-light);
  font-size: 13px;
  font-weight: 650;
  opacity: 0;
}
.sc-active .sc-social-cta { animation: fade-up-item 0.4s var(--ease-out) 0.8s forwards; }

/* Scene 4 — Favorites */
.sc-scene--favs {
  background: #111116;
  padding: 50px 16px 16px;
  gap: 10px;
}
.sc-favs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  opacity: 0;
}
.sc-active .sc-favs-header { animation: fade-up-item 0.4s var(--ease-out) 0.1s forwards; }

.sc-fav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  opacity: 0;
}
.sc-active .sc-fav--1 { animation: slide-in-friend 0.4s var(--ease-out) 0.25s forwards; }
.sc-active .sc-fav--2 { animation: slide-in-friend 0.4s var(--ease-out) 0.4s forwards; }
.sc-active .sc-fav--3 { animation: slide-in-friend 0.4s var(--ease-out) 0.55s forwards; }

.sc-fav-img {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1e1e2e, #2a2a3a);
  flex-shrink: 0;
}
.sc-fav-info { flex: 1; min-width: 0; }
.sc-fav-name { display: block; font-size: 14px; font-weight: 650; color: #fff; }
.sc-fav-meta { display: block; font-size: 11px; color: var(--text3); margin-top: 2px; }
.sc-fav-heart { flex-shrink: 0; }

/* ── Showcase dots ───────────────────────────────────────────────────────── */
.showcase-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.sc-dot {
  width: 32px; height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
}
.sc-dot:hover { background: rgba(255, 255, 255, 0.15); }
.sc-dot--active { background: rgba(124, 58, 237, 0.2); }
.sc-dot-fill {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0s;
}
.sc-dot--active .sc-dot-fill {
  animation: dot-progress 4s linear forwards;
}
@keyframes dot-progress {
  0% { width: 0; }
  100% { width: 100%; }
}

/* ── Showcase labels ─────────────────────────────────────────────────────── */
.showcase-labels {
  display: flex;
  gap: 24px;
  justify-content: center;
}
.sc-label {
  font-size: 13px;
  font-weight: 550;
  color: var(--text3);
  cursor: pointer;
  padding: 6px 0;
  position: relative;
  transition: color 0.3s;
}
.sc-label:hover { color: var(--text2); }
.sc-label--active { color: var(--text); }
.sc-label--active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

/* Showcase responsive */
@media (max-width: 640px) {
  .showcase-phone {
    width: 260px;
    height: 540px;
    border-radius: 40px;
  }
  .showcase-labels { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .sc-label { font-size: 12px; }
}

/* ── How it works ────────────────────────────────────────────────────────── */
.steps {
  display: flex;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.step {
  flex: 1;
  position: relative;
  padding: 32px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.3s;
  overflow: hidden;
}
.step::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.step:hover {
  border-color: rgba(124, 58, 237, 0.2);
  transform: translateY(-4px);
}
.step:hover::before { opacity: 1; }

.step-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 800;
  color: rgba(124, 58, 237, 0.12);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -2px;
}
.step-line {
  width: 32px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  margin-bottom: 20px;
}
.step-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.step-desc {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.7;
}

/* ── Features ────────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(124, 58, 237, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feature-card:hover {
  border-color: rgba(124, 58, 237, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -20px rgba(124, 58, 237, 0.15);
}
.feature-card:hover::after { opacity: 1; }

.feature-icon {
  width: 48px; height: 48px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}
.feature-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text2);
  line-height: 1.7;
}

/* ── Testimonials ────────────────────────────────────────────────────────── */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.3s, transform 0.3s;
}
.testimonial:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}
.testimonial-stars { display: flex; gap: 2px; }
.testimonial-quote {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text);
  font-weight: 300;
  font-style: normal;
  flex: 1;
  letter-spacing: 0.005em;
}
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -2px var(--primary-glow);
}
.testimonial-name { font-size: 14px; font-weight: 600; margin-bottom: 2px; letter-spacing: -0.01em; }
.testimonial-role { font-size: 12px; font-weight: 400; color: var(--text3); letter-spacing: 0.02em; }

/* ── Download / CTA ──────────────────────────────────────────────────────── */
.section-download {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid var(--border);
}
.download-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.download-orb {
  position: absolute;
  width: 800px; height: 800px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 60%);
  filter: blur(80px);
}

.download-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.download-logo { height: 140px; width: auto; margin-bottom: 36px; opacity: 0.85; }
.download-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 0.95;
  margin-bottom: 20px;
}
.download-sub {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 48px;
  max-width: 400px;
}

.store-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 28px;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 22px;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  min-width: 180px;
}
.store-badge:hover {
  border-color: var(--border-hover);
  background: var(--surface3);
  transform: translateY(-2px);
}
.store-badge svg { opacity: 0.7; flex-shrink: 0; }
.store-label {
  display: block;
  font-size: 10px;
  color: var(--text3);
  font-weight: 500;
  margin-bottom: 1px;
  letter-spacing: 0.2px;
}
.store-name {
  display: block;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.download-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 400px;
  margin-bottom: 20px;
  color: var(--text3);
  font-size: 13px;
  font-weight: 500;
}
.download-divider-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}
.download-hint {
  font-size: 13px;
  color: var(--text3);
  margin-top: 16px;
}

/* ── About ──────────────────────────────────────────────────────────────── */
.about-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.about-content p {
  font-size: 16px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 20px;
}
.about-content p:last-child { margin-bottom: 0; }
.about-content strong { color: var(--text); font-weight: 600; }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(124, 58, 237, 0.2); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-size: 15px;
  font-weight: 650;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--primary-light);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s var(--ease-out);
}
.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}

/* ── Footer links ───────────────────────────────────────────────────────── */
.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 12px;
}
.footer-link {
  font-size: 12px;
  color: var(--text3);
  transition: color 0.2s;
}
.footer-link:hover { color: var(--text2); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-left {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer-logo { height: 64px; width: auto; opacity: 0.5; }
.footer-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--text3);
}
.footer-copy {
  font-size: 13px;
  color: var(--text3);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: repeat(2, 1fr); }
  .testimonial:last-child { grid-column: 1 / -1; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  #hero { padding-top: 100px; }
  .hero-layout {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
  }
  .hero-sub { text-align: center; }
  .hero-actions { justify-content: center; }

  .hero-phone-wrap { display: block; }
  .phone-frame {
    width: 240px;
    height: 490px;
    border-radius: 40px;
    transform: rotateY(0) rotateX(0);
  }
  .phone-frame:hover { transform: rotateY(0) rotateX(0); }

  .hero-stats { gap: 28px; }
  .stat-number { font-size: 28px; }

  .steps { flex-direction: column; max-width: 480px; }

  .section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }
}

@media (max-width: 640px) {
  .features-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .testimonial:last-child { max-width: 100%; }

  .hero-title { letter-spacing: -2px; }
  .section-title { letter-spacing: -1.5px; }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }
  .btn-primary, .btn-secondary { justify-content: center; }

  .store-row { flex-direction: column; align-items: center; }
  .store-badge { width: 100%; max-width: 280px; }

  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-left { flex-direction: column; }
}

@media (max-width: 480px) {
  .hero-phone-wrap { display: none; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .stat-sep { display: none; }
}

/* ── Reduced motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .rv { opacity: 1; transform: none; }
}
