/* ============================================
   STAMPED — Main Stylesheet
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-secondary: #f4f6f9;
  --accent: #0EA5E9;
  --accent-dark: #0284C7;
  --accent-glow: rgba(14, 165, 233, 0.25);
  --white: #ffffff;
  --text: #0d0d0d;
  --gray: #5a6472;
  --gray-light: #8a95a3;
  --glass-bg: rgba(0, 0, 0, 0.03);
  --glass-bg-hover: rgba(0, 0, 0, 0.05);
  --glass-border: rgba(0, 0, 0, 0.09);
  --glass-border-hover: rgba(14, 165, 233, 0.35);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(14, 165, 233, 0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
  -webkit-text-fill-color: var(--text);
}

.section-header p {
  font-size: 1.15rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn-primary::before {
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 50px var(--accent-glow), 0 8px 24px rgba(14, 165, 233, 0.3);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
  border: 1px solid rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.btn-secondary::before {
  background: rgba(0, 0, 0, 0.03);
}

.btn-secondary:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.1);
}

.btn-dark {
  background: #1a1a1a;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-dark:hover {
  transform: translateY(-2px) scale(1.02);
  background: #222;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#nav.scrolled {
  padding: 14px 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s;
}

.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px 80px;
  gap: 0;
}

/* ============================================
   HERO MAP BACKGROUND
   ============================================ */
.hero-map-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  opacity: 0.45;
}

.map-pin {
  position: absolute;
  width: 14px;
  height: 20px;
  transform: translate(-50%, -100%);
  animation: pin-bounce 2.8s ease-in-out infinite;
  pointer-events: none;
}

.map-pin::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #0d0d0d;
  border-radius: 50% 50% 50% 0;
  transform: translateX(-50%) rotate(-45deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
}

.map-pin::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 5px;
  height: 3px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 50%;
  transform: translateX(-50%);
  filter: blur(1px);
}

@keyframes pin-bounce {
  0%, 100% { transform: translate(-50%, -100%); }
  45%       { transform: translate(-50%, calc(-100% - 9px)); }
  55%       { transform: translate(-50%, calc(-100% - 9px)); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
}

.js-ready .hero-eyebrow {
  opacity: 0;
  transform: translateY(20px);
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 8px var(--accent); }
  50% { box-shadow: 0 0 20px var(--accent), 0 0 40px var(--accent-glow); }
}

.hero-headline {
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a3a5c 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.js-ready .hero-headline {
  opacity: 0;
  transform: translateY(30px);
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.75;
}

.js-ready .hero-subheadline {
  opacity: 0;
  transform: translateY(30px);
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.js-ready .hero-cta {
  opacity: 0;
  transform: translateY(30px);
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-top: 56px;
}

.js-ready .hero-badges {
  opacity: 0;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
}

.hero-badge-icon { font-size: 1rem; }

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 1s ease 2s forwards;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--gray);
  border-bottom: 2px solid var(--gray);
  transform: rotate(45deg);
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Soft centre highlight — fully transparent at edges so ambient bleeds through */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 45%,
    rgba(255,255,255,0.35) 0%,
    rgba(255,255,255,0) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Noise texture overlay */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   PRODUCT SHOWCASE (PHONES)
   ============================================ */
#showcase {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}

#showcase::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(14, 165, 233, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.phones-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 24px;
  margin-top: 80px;
  perspective: 1200px;
}

.phone-mockup {
  position: relative;
  flex-shrink: 0;
}

.js-ready .phone-mockup { opacity: 0; transform: translateY(60px); }
.js-ready .phone-mockup.left { transform: translateY(60px) rotate(-6deg); }
.js-ready .phone-mockup.right { transform: translateY(60px) rotate(6deg); }

.phone-frame {
  background: linear-gradient(145deg, #1c1c1e, #111111);
  border-radius: 44px;
  border: 1.5px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(14, 165, 233, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.08);
  padding: 12px;
  animation: float-phone 4s ease-in-out infinite;
}

.phone-mockup.left .phone-frame { animation-delay: -1s; }
.phone-mockup.right .phone-frame { animation-delay: -2s; }

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

.phone-mockup.center .phone-frame { animation-duration: 3.5s; }

.phone-screen {
  border-radius: 34px;
  overflow: hidden;
  background: #0a0a0f;
  position: relative;
}

.phone-mockup.side .phone-frame { width: 220px; }
.phone-mockup.side .phone-screen { width: 196px; height: 388px; }
.phone-mockup.center .phone-frame { width: 260px; }
.phone-mockup.center .phone-screen { width: 236px; height: 460px; }

/* Phone notch */
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: #0a0a0f;
  border-radius: 0 0 18px 18px;
  z-index: 10;
}

/* Phone Screen Content */
.phone-screen-content {
  width: 100%;
  height: 100%;
  padding: 52px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

/* Feed Screen */
.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.feed-title { font-size: 16px; font-weight: 700; }
.feed-subtitle { font-size: 9px; color: var(--gray); }

.feed-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(14, 165, 233, 0.05));
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 14px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.feed-card-image {
  height: 80px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a3a5c, #0a1a2e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.feed-card-info { display: flex; flex-direction: column; gap: 3px; }
.feed-card-name { font-size: 11px; font-weight: 600; }
.feed-card-loc { font-size: 9px; color: var(--gray); }

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--accent);
  color: white;
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  width: fit-content;
}

.feed-card.sm .feed-card-image { height: 55px; }

/* Globe Screen */
.globe-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
}

.mini-globe {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0a2a4a, #020810);
  border: 1px solid rgba(14, 165, 233, 0.3);
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.3), inset 0 0 20px rgba(14, 165, 233, 0.05);
  position: relative;
  overflow: hidden;
}

.mini-globe::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, transparent 60%);
}

.globe-pin {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
  animation: pin-pulse 2s ease-in-out infinite;
}

.globe-pin:nth-child(1) { top: 30%; left: 25%; animation-delay: 0s; }
.globe-pin:nth-child(2) { top: 45%; left: 55%; animation-delay: 0.5s; }
.globe-pin:nth-child(3) { top: 60%; left: 35%; animation-delay: 1s; }
.globe-pin:nth-child(4) { top: 25%; left: 65%; animation-delay: 1.5s; }
.globe-pin:nth-child(5) { top: 55%; left: 72%; animation-delay: 0.8s; }

@keyframes pin-pulse {
  0%, 100% { box-shadow: 0 0 6px var(--accent); transform: scale(1); }
  50% { box-shadow: 0 0 14px var(--accent), 0 0 28px var(--accent-glow); transform: scale(1.3); }
}

.globe-label { font-size: 11px; font-weight: 600; color: var(--white); }
.globe-sublabel { font-size: 9px; color: var(--gray); text-align: center; }

/* Trip Screen */
.trip-header {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 8px;
}

.trip-destination { font-size: 15px; font-weight: 700; }
.trip-dates { font-size: 9px; color: var(--gray); }

.trip-stop {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
}

.trip-stop-icon {
  width: 28px;
  height: 28px;
  background: rgba(14, 165, 233, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.trip-stop-info { display: flex; flex-direction: column; gap: 2px; }
.trip-stop-name { font-size: 10px; font-weight: 600; }
.trip-stop-detail { font-size: 8px; color: var(--gray); }

/* ============================================
   FEATURES GRID
   ============================================ */
#features {
  padding: 140px 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
  --edge-proximity: 0;
  --cursor-angle: 0deg;
}

.js-ready .feature-card {
  opacity: 0;
  transform: translateY(40px);
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

/* Border glow arc that follows the cursor */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from calc(var(--cursor-angle) - 30deg),
    transparent 0deg,
    rgba(168, 85, 247, 0) 0deg,
    rgba(168, 85, 247, 1) 10deg,
    rgba(59, 130, 246, 1) 18deg,
    rgba(0, 230, 255, 1) 24deg,
    rgba(255, 255, 255, 1) 30deg,
    rgba(0, 230, 255, 1) 36deg,
    rgba(59, 130, 246, 1) 42deg,
    rgba(168, 85, 247, 1) 50deg,
    rgba(168, 85, 247, 0) 60deg,
    transparent 60deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 2px;
  opacity: calc(var(--edge-proximity) / 100);
  pointer-events: none;
  filter: blur(0.2px) brightness(2.2) saturate(1.8);
  transition: opacity 0.2s ease;
  z-index: 1;
}

.feature-card:hover {
  border-color: transparent;
  background: var(--glass-bg-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.06), 0 0 18px rgba(0, 220, 255, 0.18);
}

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

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.3));
}

.feature-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
#testimonials {
  padding: 140px 0;
  overflow: hidden;
  background: transparent;
  position: relative;
}

/* Pixel art traveler character */
.traveler-character {
  position: absolute;
  width: 72px;
  height: auto;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  pointer-events: none;
  z-index: 10;
  left: 0;
  transform-origin: bottom center;
  /* JS drives transform; this is the pre-load state */
  opacity: 0;
  transition: opacity 0.3s;
}

.traveler-character.ready { opacity: 1; }

.testimonials-track-wrapper {
  position: relative;
  margin-top: 60px;
  overflow: hidden;
}

.testimonials-track-wrapper::before,
.testimonials-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.testimonials-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}

.testimonials-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}

.testimonials-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scroll-testimonials 40s linear infinite;
}

.testimonials-track:hover { animation-play-state: paused; }

@keyframes scroll-testimonials {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.testimonial-card {
  width: 340px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  transition: border-color var(--transition);
}

.testimonial-card:hover {
  border-color: var(--glass-border-hover);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.star { color: #F59E0B; font-size: 14px; }

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.3), rgba(14, 165, 233, 0.1));
  border: 1px solid rgba(14, 165, 233, 0.3);
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.testimonial-location {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ============================================
   HOW IT WORKS
   ============================================ */
#how-it-works {
  padding: 140px 0;
  position: relative;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 120px;
  margin-top: 80px;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.step.reverse { direction: rtl; }
.step.reverse > * { direction: ltr; }

.js-ready .step-content { opacity: 0; transform: translateX(-60px); }
.js-ready .step.reverse .step-content { transform: translateX(60px); }

.step-number {
  font-size: 8rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22) 0%, rgba(14, 165, 233, 0.05) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  display: block;
}

.step-icon-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.step-name {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.75;
  max-width: 440px;
}

.step-visual {
  display: flex;
  justify-content: center;
}

.js-ready .step-visual { opacity: 0; transform: translateX(60px); }
.js-ready .step.reverse .step-visual { transform: translateX(-60px); }

.step-phone {
  width: 240px;
  background: linear-gradient(145deg, #1c1c1e, #111111);
  border-radius: 44px;
  border: 1.5px solid rgba(255,255,255,0.12);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(14, 165, 233, 0.1);
  padding: 12px;
  animation: float-phone 4s ease-in-out infinite;
}

.step-phone .phone-screen {
  border-radius: 34px;
  height: 440px;
  background: #0a0a0f;
  overflow: hidden;
}

.step-phone-content {
  width: 100%;
  height: 100%;
  padding: 52px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Step 1 - Rating UI */
.rating-ui-place {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 14px;
  margin-bottom: 6px;
}

.rating-ui-emoji { font-size: 28px; }
.rating-ui-info { flex: 1; }
.rating-ui-name { font-size: 13px; font-weight: 700; }
.rating-ui-type { font-size: 10px; color: var(--gray); }

.score-display {
  text-align: center;
  padding: 20px 0;
}

.score-number {
  font-size: 60px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.score-label { font-size: 11px; color: var(--gray); margin-top: 4px; }

.score-slider {
  height: 6px;
  background: rgba(14, 165, 233, 0.2);
  border-radius: 3px;
  margin: 8px 0;
  position: relative;
}

.score-slider-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 82%;
  background: linear-gradient(to right, var(--accent), #38BDF8);
  border-radius: 3px;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* Step 2 - Share UI */
.share-trip-header {
  text-align: center;
  padding: 10px 0;
}

.share-trip-dest { font-size: 16px; font-weight: 700; }
.share-trip-count { font-size: 10px; color: var(--gray); margin-top: 3px; }

.share-privacy-toggle {
  display: flex;
  gap: 6px;
  padding: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
}

.privacy-option {
  flex: 1;
  text-align: center;
  padding: 6px 4px;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 600;
  color: var(--gray);
}

.privacy-option.active {
  background: rgba(14, 165, 233, 0.2);
  color: var(--accent);
}

.lock-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 9px;
  color: var(--accent);
  font-weight: 600;
}

/* Step 3 - Discover UI */
.discover-globe-mini {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0a2a4a, #020810);
  border: 1px solid rgba(14, 165, 233, 0.3);
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.3);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.discover-globe-mini::after {
  content: '🌍';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  opacity: 0.6;
}

.discover-card {
  padding: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.discover-card-emoji { font-size: 20px; }
.discover-card-info { flex: 1; }
.discover-card-place { font-size: 11px; font-weight: 600; }
.discover-card-by { font-size: 9px; color: var(--gray); }

/* ============================================
   GLOBE SHOWCASE
   ============================================ */
#globe-showcase {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  background: #06101a;
  color: #ffffff;
}

#globe-showcase .section-tag {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.3);
}

#globe-showcase .globe-showcase-content h2 {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#globe-showcase .globe-showcase-content p {
  color: rgba(255,255,255,0.6);
}

#globe-showcase .globe-stat-label {
  color: rgba(255,255,255,0.5);
}

#globe-showcase .globe-stat-number {
  color: var(--accent);
}

#interactive-globe-canvas {
  width: 100%;
  height: 600px;
  display: block;
  cursor: grab;
}

#interactive-globe-canvas:active { cursor: grabbing; }

.globe-showcase-content {
  text-align: center;
  margin-bottom: 60px;
}

.globe-showcase-content h2 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #0d0d0d 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.globe-showcase-content p {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.globe-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 48px;
}

.globe-stat {
  text-align: center;
}

.globe-stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--accent);
  display: block;
}

.globe-stat-label {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 4px;
}

/* ============================================
   DOWNLOAD CTA
   ============================================ */
#download-cta {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  background: transparent;
}

#download-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(14, 165, 233, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.download-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.download-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a3a5c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.download-content p {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 48px;
  line-height: 1.7;
}

.download-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  transition: all var(--transition);
  color: var(--white);
  text-decoration: none;
}

.app-store-btn:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255,255,255,0.3);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.app-store-btn-icon { font-size: 2rem; }
.app-store-btn-text { text-align: left; }
.app-store-btn-sub { font-size: 0.7rem; color: var(--gray); display: block; }
.app-store-btn-name { font-size: 1rem; font-weight: 700; display: block; line-height: 1.2; }

.download-phone-mockup {
  width: 260px;
  margin: 0 auto;
  background: linear-gradient(145deg, #1c1c1e, #111111);
  border-radius: 44px;
  border: 1.5px solid rgba(255,255,255,0.12);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.5),
    0 0 80px rgba(14, 165, 233, 0.15);
  padding: 12px;
  animation: float-phone 4s ease-in-out infinite;
}

.download-phone-screen {
  border-radius: 34px;
  height: 460px;
  background: #0a0a0f;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 20px;
  position: relative;
}

.onboarding-globe {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #0a2a4a, #020810);
  border: 1px solid rgba(14, 165, 233, 0.4);
  box-shadow: 0 0 40px rgba(14, 165, 233, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
}

.onboarding-globe::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(14, 165, 233, 0.15);
  animation: orbit 4s linear infinite;
}

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

.onboarding-title {
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
}

.onboarding-subtitle {
  font-size: 11px;
  color: var(--gray);
  text-align: center;
  line-height: 1.5;
}

.onboarding-btn {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  border-radius: 14px;
  border: none;
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

/* Particles */
.particle-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particle-float linear infinite;
}

@keyframes particle-float {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.3; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  padding: 80px 0 40px;
  background: #f4f6f9;
  border-top: 1px solid rgba(0,0,0,0.07);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 60px;
  align-items: start;
  margin-bottom: 60px;
}

.footer-brand { max-width: 280px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.65;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--gray);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text); }

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all var(--transition);
  background: var(--glass-bg);
}

.social-icon:hover {
  border-color: var(--glass-border-hover);
  background: rgba(14, 165, 233, 0.1);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--gray);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--gray);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--text); }

/* ============================================
   PRIVACY & TERMS PAGES
   ============================================ */
.legal-page {
  min-height: 100vh;
  padding: 140px 0 80px;
}

.legal-header {
  margin-bottom: 60px;
}

.legal-header h1 {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.legal-last-updated {
  font-size: 0.9rem;
  color: var(--gray);
}

.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 48px 0 16px;
  color: var(--text);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--gray-light);
}

.legal-content p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul, .legal-content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

.legal-content .highlight-box {
  background: rgba(14, 165, 233, 0.06);
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}

.legal-content .highlight-box p {
  margin: 0;
  color: var(--gray-light);
}

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }

  .hero-headline { font-size: 3rem; }
  .hero-subheadline { font-size: 1rem; }

  .phones-wrapper {
    gap: 12px;
    transform: scale(0.8);
    transform-origin: center top;
  }

  .features-grid { grid-template-columns: 1fr; }

  .step {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .step.reverse { direction: ltr; }
  .step-visual { display: none; }
  .step-content { transform: none !important; }

  .globe-stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .phones-wrapper {
    transform: scale(0.65);
    transform-origin: center top;
    margin-top: 0;
  }

  .phone-mockup.side { display: none; }
}

/* ============================================
   ANIMATIONS — Scroll In
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Dividers suppressed — ambient layer handles background now */
.glow-divider { display: none; }

/* ============================================
   AMBIENT BACKGROUND — fixed, full page
   ============================================ */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}

/* Blue orb — top right */
.orb-1 {
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18) 0%, transparent 65%);
  top: -15vh;
  right: -10vw;
  animation: orb-float-a 16s ease-in-out infinite alternate;
}

/* Purple orb — bottom left */
.orb-2 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.14) 0%, transparent 65%);
  bottom: 0vh;
  left: -15vw;
  animation: orb-float-b 20s ease-in-out infinite alternate;
}

/* Sky-blue orb — mid right */
.orb-3 {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.13) 0%, transparent 65%);
  top: 35vh;
  right: 5vw;
  animation: orb-float-c 13s ease-in-out infinite alternate;
}

/* Violet orb — mid left */
.orb-4 {
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.11) 0%, transparent 65%);
  top: 55vh;
  left: 10vw;
  animation: orb-float-d 18s ease-in-out infinite alternate;
}

@keyframes orb-float-a {
  0%   { transform: translate(0,    0)    scale(1);    }
  100% { transform: translate(-70px, 90px) scale(1.1); }
}
@keyframes orb-float-b {
  0%   { transform: translate(0,   0)     scale(1);    }
  100% { transform: translate(80px, -70px) scale(0.92); }
}
@keyframes orb-float-c {
  0%   { transform: translate(0,    0)     scale(1);    }
  100% { transform: translate(-55px, -80px) scale(1.12); }
}
@keyframes orb-float-d {
  0%   { transform: translate(0,   0)    scale(1);    }
  100% { transform: translate(60px, 75px) scale(0.95); }
}

.aurora-divider {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
  pointer-events: none;
}
