/* =====================================================
   ParcelPulse - Cyber Violet Landing Page
   ===================================================== */

/* Fonts loaded via <link> in HTML for non-blocking rendering */

/* --- Custom Properties --- */
:root {
  --bg:          #0A0A1A;
  --bg-alt:      #0E0E22;
  --surface:     #12121F;
  --surface-alt: #1A1A2E;
  --border:      #2A2A3E;
  --border-glow: #3A3A5E;

  --primary:     #8B5CF6;
  --primary-d:   #7C3AED;
  --primary-dd:  #6D28D9;
  --accent:      #06B6D4;
  --accent-d:    #0891B2;
  --glow:        #D946EF;
  --glow-d:      #C026D3;

  --text-1:      #F1F5F9;
  --text-2:      #94A3B8;
  --text-3:      #64748B;
  --text-4:      #475569;

  --success:     #10B981;
  --warning:     #F59E0B;
  --error:       #EF4444;

  --font-display: 'Exo 2', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'SF Mono', 'Fira Code', monospace;

  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* --- Skip Navigation --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-1);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.25rem; }

/* =====================================================
   ANIMATIONS
   ===================================================== */

@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slide-up-sm {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes glow-breathe {
  0%, 100% {
    box-shadow: 0 0 5px rgba(139,92,246,0.3), 0 0 20px rgba(139,92,246,0.15);
  }
  50% {
    box-shadow: 0 0 10px rgba(139,92,246,0.5), 0 0 35px rgba(139,92,246,0.25), 0 0 60px rgba(139,92,246,0.1);
  }
}

@keyframes neon-pulse {
  0%, 100% { opacity: 1; filter: brightness(1); }
  50%      { opacity: 0.85; filter: brightness(1.15); }
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.5); opacity: 0; }
}

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

@keyframes scanline {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

.anim-fade       { animation: fade-in 0.6s var(--ease-out) forwards; opacity: 0; will-change: opacity; }
.anim-slide      { animation: slide-up 0.6s var(--ease-out) forwards; opacity: 0; will-change: opacity, transform; }
.anim-slide-sm   { animation: slide-up-sm 0.4s var(--ease-out) forwards; opacity: 0; will-change: opacity, transform; }
.anim-breathe    { animation: glow-breathe 3s ease-in-out infinite; }
.anim-float      { animation: float 4s ease-in-out infinite; }

@media (prefers-reduced-motion: reduce) {
  .anim-fade,
  .anim-slide,
  .anim-slide-sm {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .anim-breathe,
  .anim-float {
    animation: none;
  }
}

.delay-1 { animation-delay: 100ms; }
.delay-2 { animation-delay: 200ms; }
.delay-3 { animation-delay: 300ms; }
.delay-4 { animation-delay: 400ms; }
.delay-5 { animation-delay: 500ms; }
.delay-6 { animation-delay: 600ms; }
.delay-7 { animation-delay: 700ms; }

/* --- Glow utilities --- */
.glow-primary {
  box-shadow: 0 0 5px rgba(139,92,246,0.3), 0 0 20px rgba(139,92,246,0.2), 0 0 40px rgba(139,92,246,0.1);
}
.glow-accent {
  box-shadow: 0 0 5px rgba(6,182,212,0.3), 0 0 20px rgba(6,182,212,0.2), 0 0 40px rgba(6,182,212,0.1);
}
.glow-magenta {
  box-shadow: 0 0 5px rgba(217,70,239,0.3), 0 0 20px rgba(217,70,239,0.2), 0 0 40px rgba(217,70,239,0.1);
}
.glow-text {
  text-shadow: 0 0 8px rgba(139,92,246,0.5), 0 0 25px rgba(139,92,246,0.3);
}
.glow-text-accent {
  text-shadow: 0 0 8px rgba(6,182,212,0.5), 0 0 25px rgba(6,182,212,0.3);
}
.glow-text-magenta {
  text-shadow: 0 0 8px rgba(217,70,239,0.5), 0 0 25px rgba(217,70,239,0.3);
}

/* =====================================================
   GLOBAL SCANLINE OVERLAY
   ===================================================== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.012) 2px,
    rgba(255,255,255,0.012) 4px
  );
}

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(10,10,26,0.85);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  color: var(--primary);
  filter: drop-shadow(0 0 6px rgba(139,92,246,0.4));
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--primary), var(--glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover {
  color: var(--text-1);
  background: rgba(139,92,246,0.08);
}

.nav-cta {
  margin-left: 8px;
  padding: 8px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  background: var(--primary);
  border-radius: var(--radius-sm);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.nav-cta:hover {
  background: var(--primary-d);
  box-shadow: 0 0 12px rgba(139,92,246,0.4);
  transform: translateY(-1px);
}

/* Mobile menu */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  border-radius: var(--radius-sm);
}

.mobile-toggle:hover { background: rgba(139,92,246,0.08); }

.mobile-toggle svg { width: 22px; height: 22px; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 140px 24px 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Gradient mesh */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(139,92,246,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(6,182,212,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgba(217,70,239,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 90% 70% at 60% 50%, rgba(139,92,246,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Hero text side */
.hero-content { display: flex; flex-direction: column; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(6,182,212,0.1);
  border: 1px solid rgba(6,182,212,0.2);
  border-radius: 100px;
  width: fit-content;
  margin-bottom: 24px;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  animation: neon-pulse 2s ease-in-out infinite;
}

.hero-title { margin-bottom: 8px; }

.hero-title .highlight {
  background: linear-gradient(135deg, var(--primary), var(--glow) 60%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(139,92,246,0.3));
}

.hero-subtitle {
  display: block;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  color: var(--text-2);
  margin-top: 4px;
  line-height: 1.4;
}

.hero-desc {
  margin-top: 20px;
  font-size: 1rem;
  color: var(--text-3);
  max-width: 480px;
  line-height: 1.7;
}

/* Hero CTA buttons */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--primary-dd));
  box-shadow: 0 0 0 1px rgba(139,92,246,0.3), 0 2px 8px rgba(139,92,246,0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-d), var(--primary));
  box-shadow: 0 0 0 1px rgba(139,92,246,0.5), 0 0 20px rgba(139,92,246,0.3), 0 4px 16px rgba(139,92,246,0.2);
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--text-1);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.btn-secondary:hover {
  background: var(--surface-alt);
  border-color: var(--border-glow);
  box-shadow: 0 0 12px rgba(6,182,212,0.15), 0 4px 16px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-2);
  background: transparent;
  border: 1px solid transparent;
  padding: 12px 16px;
}

.btn-ghost:hover {
  color: var(--text-1);
  background: rgba(139,92,246,0.06);
}

.btn-tag {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(139,92,246,0.15);
  color: var(--primary);
}

.btn-tag.soon {
  background: rgba(245,158,11,0.15);
  color: var(--warning);
}

/* Hero visual side */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Animated Map Visual */
.map-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.map-visual .map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    linear-gradient(var(--primary) 1px, transparent 1px),
    linear-gradient(90deg, var(--primary) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-visual .map-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 70%, rgba(139,92,246,0.12) 0%, transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(6,182,212,0.10) 0%, transparent 50%);
}

.map-visual .map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-label {
  position: absolute;
  font-size: 9px;
  font-family: var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
}

.map-label.origin {
  left: 12%;
  bottom: 18%;
  color: var(--text-4);
  opacity: 0.5;
}

.map-label.dest {
  right: 8%;
  top: 14%;
  color: var(--accent);
  opacity: 0.6;
}

.live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  color: var(--success);
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 100px;
}

.live-badge .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  position: relative;
}

.live-badge .live-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--success);
  animation: pulse-ring 1.5s ease-out infinite;
}

/* Floating cards around map */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(18,18,31,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  z-index: 2;
}

.floating-card.card-eta {
  left: -20px;
  bottom: 40px;
  animation: float 4s ease-in-out infinite;
}

.floating-card.card-stops {
  right: -16px;
  top: 40px;
  animation: float 4s ease-in-out infinite 1s;
}

.floating-card .fc-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-card .fc-icon svg { width: 16px; height: 16px; }

.floating-card .fc-icon.cyan {
  background: rgba(6,182,212,0.15);
  color: var(--accent);
}

.floating-card .fc-icon.magenta {
  background: rgba(217,70,239,0.15);
  color: var(--glow);
}

.floating-card .fc-label {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-2);
}

.floating-card .fc-value {
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.floating-card .fc-value.cyan  { color: var(--accent); }
.floating-card .fc-value.magenta { color: var(--glow); }

/* =====================================================
   SECTION DIVIDER
   ===================================================== */
.section-divider {
  height: 1px;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 30%, var(--accent) 70%, transparent 100%);
  opacity: 0.25;
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.how-it-works {
  position: relative;
  padding: 100px 24px;
}

.how-it-works::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(139,92,246,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.section-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.2);
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-badge svg { width: 12px; height: 12px; }

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

.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.35s var(--ease-out);
}

.step-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: var(--border-glow);
}

.step-card:nth-child(1):hover { box-shadow: 0 0 8px rgba(139,92,246,0.2), 0 0 30px rgba(139,92,246,0.1), 0 12px 40px rgba(0,0,0,0.3); }
.step-card:nth-child(2):hover { box-shadow: 0 0 8px rgba(6,182,212,0.2), 0 0 30px rgba(6,182,212,0.1), 0 12px 40px rgba(0,0,0,0.3); }
.step-card:nth-child(3):hover { box-shadow: 0 0 8px rgba(217,70,239,0.2), 0 0 30px rgba(217,70,239,0.1), 0 12px 40px rgba(0,0,0,0.3); }

.step-number {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-4);
  transition: color 0.3s;
}

.step-card:hover .step-number { color: var(--text-3); }

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.step-icon svg { width: 26px; height: 26px; }

.step-icon.violet  { background: rgba(139,92,246,0.1); color: var(--primary); }
.step-icon.cyan    { background: rgba(6,182,212,0.1); color: var(--accent); }
.step-icon.magenta { background: rgba(217,70,239,0.1); color: var(--glow); }

.step-card:hover .step-icon.violet  { background: rgba(139,92,246,0.2); }
.step-card:hover .step-icon.cyan    { background: rgba(6,182,212,0.2); }
.step-card:hover .step-icon.magenta { background: rgba(217,70,239,0.2); }

.step-card h3 {
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
}

/* =====================================================
   FEATURES
   ===================================================== */
.features {
  position: relative;
  padding: 100px 24px;
}

.features::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(139,92,246,0.04) 0%, transparent 70%);
  pointer-events: none;
}

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

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon { transform: scale(1.1); }

.feature-icon svg { width: 22px; height: 22px; }

.feature-icon.violet  { background: rgba(139,92,246,0.1); color: var(--primary); }
.feature-icon.cyan    { background: rgba(6,182,212,0.1); color: var(--accent); }
.feature-icon.magenta { background: rgba(217,70,239,0.1); color: var(--glow); }
.feature-icon.green   { background: rgba(16,185,129,0.1); color: var(--success); }

.feature-info h3 { margin-bottom: 4px; font-size: 1.05rem; }
.feature-info p  { font-size: 0.875rem; color: var(--text-2); line-height: 1.6; }

/* =====================================================
   DOWNLOAD
   ===================================================== */
.download {
  position: relative;
  padding: 100px 24px;
  overflow: hidden;
}

.download::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(139,92,246,0.10) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 30% 60%, rgba(217,70,239,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.download .section-inner { text-align: center; }

.download h2 { margin-bottom: 12px; }

.download-desc {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 780px;
  margin: 0 auto;
}

.dl-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all 0.35s var(--ease-out);
}

.dl-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.dl-card.featured {
  border-color: rgba(139,92,246,0.3);
  background: linear-gradient(180deg, rgba(139,92,246,0.06) 0%, var(--surface) 100%);
}

.dl-card.featured:hover {
  border-color: rgba(139,92,246,0.5);
  box-shadow: 0 0 20px rgba(139,92,246,0.15), 0 12px 40px rgba(0,0,0,0.3);
}

.dl-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.dl-icon svg { width: 28px; height: 28px; }

.dl-icon.chrome  { background: rgba(139,92,246,0.1); color: var(--primary); }
.dl-icon.firefox { background: rgba(245,158,11,0.1); color: var(--warning); }
.dl-icon.zip     { background: rgba(6,182,212,0.1); color: var(--accent); }

.dl-card h3 { margin-bottom: 6px; font-size: 1.05rem; }

.dl-card p {
  font-size: 0.8rem;
  color: var(--text-3);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease-out);
  width: 100%;
  justify-content: center;
}

.dl-btn svg { width: 16px; height: 16px; }

.dl-btn.chrome-btn {
  color: white;
  background: var(--primary);
  box-shadow: 0 0 0 1px rgba(139,92,246,0.3);
}

.dl-btn.chrome-btn:hover {
  background: var(--primary-d);
  box-shadow: 0 0 16px rgba(139,92,246,0.3);
  transform: translateY(-1px);
}

.dl-btn.firefox-btn {
  color: var(--text-2);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  cursor: default;
}

.dl-btn.zip-btn {
  color: var(--accent);
  background: rgba(6,182,212,0.08);
  border: 1px solid rgba(6,182,212,0.2);
}

.dl-btn.zip-btn:hover {
  background: rgba(6,182,212,0.15);
  box-shadow: 0 0 12px rgba(6,182,212,0.2);
  transform: translateY(-1px);
}

.dl-badge-soon {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--warning);
  background: rgba(245,158,11,0.1);
  border-radius: 100px;
  margin-bottom: 20px;
}

/* =====================================================
   DISCLAIMER BANNER
   ===================================================== */
.disclaimer {
  padding: 16px 24px;
  background: rgba(139,92,246,0.04);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.disclaimer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.disclaimer-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--primary);
  margin-top: 2px;
}

.disclaimer p {
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.6;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  padding: 48px 24px 32px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 40px;
}

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

.footer-brand .logo { margin-bottom: 12px; }

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-3);
  line-height: 1.6;
}

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

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 12px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-3);
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--primary); }

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-4);
}

.footer-badges {
  display: flex;
  gap: 10px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 600;
  font-family: var(--font-mono);
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.footer-badge svg { width: 12px; height: 12px; }

/* =====================================================
   PRIVACY PAGE
   ===================================================== */
.privacy-page {
  padding: 120px 24px 80px;
}

.privacy-inner {
  max-width: 720px;
  margin: 0 auto;
}

.privacy-inner h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}

.privacy-updated {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 40px;
}

.privacy-inner h2 {
  font-size: 1.3rem;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text-1);
}

.privacy-inner h3 {
  font-size: 1.05rem;
  margin-top: 24px;
  margin-bottom: 8px;
  color: var(--text-2);
}

.privacy-inner p,
.privacy-inner li {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 12px;
}

.privacy-inner ul {
  padding-left: 24px;
  list-style: disc;
  margin-bottom: 16px;
}

.privacy-inner li { margin-bottom: 6px; }

.privacy-inner strong { color: var(--text-1); }

.privacy-inner a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-inner a:hover { color: var(--accent); }

.privacy-inner .highlight-box {
  padding: 20px 24px;
  background: rgba(139,92,246,0.06);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.privacy-inner .highlight-box p {
  margin-bottom: 0;
  color: var(--text-1);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-content { align-items: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  .hero-visual { order: -1; }

  .map-visual { max-width: 440px; }

  .floating-card.card-eta  { left: -10px; bottom: 20px; }
  .floating-card.card-stops { right: -10px; top: 20px; }

  .steps-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  .features-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .download-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }

  .footer-top { flex-direction: column; }
}

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

  .hero { padding: 110px 16px 60px; min-height: auto; }
  .hero-actions { flex-direction: column; align-items: stretch; }

  .floating-card { display: none; }

  .how-it-works,
  .features,
  .download { padding: 60px 16px; content-visibility: visible; }

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

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

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10,10,26,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-1);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.mobile-nav a:hover { background: rgba(139,92,246,0.1); }

.mobile-nav-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  border-radius: var(--radius-sm);
}

.mobile-nav-close:hover { background: rgba(139,92,246,0.08); }
.mobile-nav-close svg { width: 24px; height: 24px; }

/* =====================================================
   CONTENT VISIBILITY (below-fold performance)
   ===================================================== */
.how-it-works,
.features,
.download {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
