/* ═══════════════════════════════════════════════════════════════
   Dartt — styles.css
   Dark startup landing page matching the mobile app design system
   ═══════════════════════════════════════════════════════════════ */

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand — electric blue (matches mobile app dartt palette) */
  --brand-50:  #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;

  /* Dark palette — deep midnight */
  --dark-50:  #f0f2f8;
  --dark-100: #e0e4f0;
  --dark-200: #c0c8e0;
  --dark-300: #94a0c0;
  --dark-400: #6878a0;
  --dark-500: #485070;
  --dark-600: #343c52;
  --dark-700: #242a3a;
  --dark-800: #1a1e28;
  --dark-850: #13161f;
  --dark-900: #0e1018;
  --dark-925: #0b0d14;
  --dark-950: #080a10;

  /* Semantic */
  --bg:             var(--dark-950);
  --bg-alt:         var(--dark-925);
  --surface:        rgba(255,255,255,0.04);
  --surface-hover:  rgba(255,255,255,0.07);
  --surface-border: rgba(255,255,255,0.07);
  --text:           #e5e7ef;
  --text-muted:     var(--dark-400);
  --white:          #ffffff;
  --success:        #4ade80;
  --error:          #f87171;
  --pickup:         #22d3ee;
  --dropoff:        #fb7185;

  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Gradient Text ===== */
.gradient-text {
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.4s; }
.reveal:nth-child(7) { transition-delay: 0.48s; }

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(8,10,16,0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}

.nav.scrolled {
  background: rgba(8,10,16,0.92);
  border-bottom-color: var(--surface-border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(59,130,246,0.3);
}

.logo-text {
  font-size: 1.375rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 2.25rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-500);
  border-radius: 2px;
  transition: width 0.2s;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.9375rem 2rem;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  color: var(--white);
  box-shadow: 0 4px 24px rgba(59,130,246,0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(59,130,246,0.4);
  transform: translateY(-2px);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--surface-border);
}

.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: rgba(255,255,255,0.12);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  animation: float 8s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
  top: 20%;
  right: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(34,211,238,0.08) 0%, transparent 70%);
  bottom: 10%;
  left: -50px;
  animation: float 12s ease-in-out infinite;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 70%);
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.2);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--brand-300);
  margin-bottom: 1.5rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(74,222,128,0); }
}

.hero-title {
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--surface-border);
}

/* ===== Phone Mockup ===== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  position: relative;
  width: 280px;
  height: 580px;
  background: var(--dark-900);
  border-radius: 40px;
  border: 3px solid rgba(255,255,255,0.1);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 20px 80px rgba(0,0,0,0.5),
    0 0 120px rgba(59,130,246,0.08);
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--dark-950);
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.phone-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 60%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

/* Mock App Screen */
.mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 16px 12px;
  background: var(--dark-900);
}

.mock-back {
  color: var(--brand-400);
  font-size: 1.25rem;
}

.mock-title {
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
}

.mock-timer {
  color: var(--brand-400);
  font-weight: 700;
  font-size: 0.8125rem;
  background: rgba(59,130,246,0.1);
  padding: 3px 10px;
  border-radius: 999px;
}

.mock-map {
  flex: 1;
  background: var(--dark-850);
  position: relative;
  overflow: hidden;
  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: 20px 20px;
}

.mock-route {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0;
}

.mock-pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--white);
  z-index: 1;
}

.mock-pin-pickup { background: var(--pickup); }
.mock-pin-dropoff { background: var(--dropoff); }

.mock-route-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--pickup), var(--dropoff));
  border-radius: 2px;
  margin: 0 -2px;
}

.mock-car {
  position: absolute;
  color: var(--brand-400);
  animation: car-drift 4s ease-in-out infinite;
}

.mock-car-1 { top: 25%; left: 20%; animation-delay: 0s; }
.mock-car-2 { top: 60%; right: 25%; animation-delay: 1.5s; }
.mock-car-3 { bottom: 20%; left: 35%; animation-delay: 3s; }

@keyframes car-drift {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(3px, -2px); }
  50% { transform: translate(-2px, 3px); }
  75% { transform: translate(2px, 1px); }
}

.mock-bids {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--dark-900);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mock-bid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: var(--dark-850);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.04);
}

.mock-bid-best {
  border-color: rgba(59,130,246,0.3);
  background: rgba(59,130,246,0.06);
}

.mock-bid-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--dark-700);
}

.mock-bid-info {
  display: flex;
  flex-direction: column;
}

.mock-bid-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
}

.mock-rating {
  color: #fbbf24;
  font-size: 0.6875rem;
}

.mock-bid-car {
  font-size: 0.625rem;
  color: var(--text-muted);
}

.mock-bid-price {
  font-size: 0.9375rem;
  font-weight: 800;
  color: var(--brand-400);
}

.mock-bid-best .mock-bid-price {
  color: var(--white);
}

/* ===== Trust Bar ===== */
.trust-bar {
  padding: 2.5rem 0;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
  background: var(--bg-alt);
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--brand-400);
  flex-shrink: 0;
}

/* ===== Sections ===== */
.section {
  padding: 6rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-tag {
  display: inline-block;
  padding: 0.25rem 0.875rem;
  border-radius: 999px;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.15);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--white);
}

.text-left { text-align: left; }

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  border-color: rgba(59,130,246,0.2);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}

.feature-card-lg {
  grid-column: span 2;
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(59,130,246,0.1);
  color: var(--brand-400);
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

/* Price comparison visual in feature card */
.feature-visual {
  margin-top: 1.5rem;
}

.price-compare {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--dark-900);
  border-radius: var(--radius);
  border: 1px solid var(--surface-border);
}

.price-them, .price-us {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.price-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-amount {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.price-them .price-amount {
  color: var(--error);
  text-decoration: line-through;
  text-decoration-color: rgba(248,113,113,0.5);
}

.price-surge {
  font-size: 0.6875rem;
  color: var(--error);
  background: rgba(248,113,113,0.1);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}

.price-vs {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.price-badge {
  font-size: 0.6875rem;
  color: var(--success);
  background: rgba(74,222,128,0.1);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}

/* ===== Steps ===== */
.steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 2rem;
  align-items: center;
  width: 100%;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  color: var(--white);
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 20px rgba(59,130,246,0.3);
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--white);
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.step-connector {
  color: var(--brand-500);
  display: flex;
  justify-content: center;
  padding-left: 14px;
}

.step-visual {
  display: flex;
  justify-content: center;
}

.step-mock {
  background: var(--dark-850);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1rem;
  width: 100%;
  max-width: 260px;
}

.step-mock-input {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0;
  font-size: 0.8125rem;
  color: var(--text);
  border-bottom: 1px solid var(--surface-border);
}

.step-mock-input:last-of-type {
  border-bottom: none;
}

.step-mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.step-mock-dot-blue { background: var(--pickup); }
.step-mock-dot-pink { background: var(--dropoff); }

.step-mock-est {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-400);
}

.step-mock-bid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.75rem;
  background: var(--dark-800);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255,255,255,0.04);
}

.step-mock-bid:last-child { margin-bottom: 0; }

.step-mock-bid-name {
  font-size: 0.75rem;
  color: var(--text);
  font-weight: 500;
}

.step-mock-bid-price {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--brand-400);
}

/* Bid animation */
.animate-bid-1 { animation: slide-in 0.5s ease-out 0.5s both; }
.animate-bid-2 { animation: slide-in 0.5s ease-out 1.2s both; }
.animate-bid-3 { animation: slide-in 0.5s ease-out 1.9s both; }

@keyframes slide-in {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.step-mock-accepted {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  color: var(--success);
}

.step-mock-accepted span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}

.step-mock-accepted small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== Safety Section ===== */
.safety-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.safety-desc {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.safety-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.safety-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.safety-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(59,130,246,0.1);
  color: var(--brand-400);
  flex-shrink: 0;
}

.safety-item h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.125rem;
}

.safety-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Safety Phone Mockup */
.safety-visual {
  display: flex;
  justify-content: center;
}

.safety-phone {
  width: 260px;
  background: var(--dark-900);
  border-radius: 36px;
  border: 3px solid rgba(255,255,255,0.08);
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.4);
  padding: 48px 0 24px;
}

.safety-screen {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.safety-screen-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}

.safety-shield {
  color: var(--brand-400);
}

.safety-screen-sos {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.safety-sos-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(248,113,113,0.2);
}

.safety-sos-ring-1 {
  animation: sos-pulse 2s ease-in-out infinite;
}

.safety-sos-ring-2 {
  inset: -12px;
  animation: sos-pulse 2s ease-in-out infinite 0.5s;
}

@keyframes sos-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.safety-sos-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 24px rgba(239,68,68,0.4);
}

.safety-screen-actions {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.safety-action {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem;
  background: var(--dark-850);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.04);
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.safety-action svg {
  color: var(--brand-400);
}

/* ===== Driver Section ===== */
.driver-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.driver-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}

.driver-card:hover {
  border-color: rgba(59,130,246,0.2);
  transform: translateY(-4px);
}

.driver-card-value {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
}

.driver-card-value svg {
  color: var(--brand-400);
}

.driver-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.driver-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.driver-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ===== Testimonials ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.testimonial:hover {
  border-color: rgba(59,130,246,0.15);
  transform: translateY(-2px);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial p {
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-400));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.8125rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.875rem;
  color: var(--white);
}

.testimonial-author span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ===== Download CTA ===== */
.section-download {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 8rem 0;
}

.download-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.download-orb-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.12) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  filter: blur(80px);
}

.download-orb-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,0.1) 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
  filter: blur(80px);
}

.download-inner {
  position: relative;
  z-index: 1;
}

.download-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--white);
}

.download-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ===== Store Badges ===== */
.store-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--surface-border);
  transition: border-color 0.3s, transform 0.25s, box-shadow 0.3s;
  color: var(--white);
}

.store-badge:hover {
  border-color: rgba(59,130,246,0.25);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.store-badge small {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-muted);
  line-height: 1;
}

.store-badge strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--surface-border);
  padding: 4rem 0 2.5rem;
  background: var(--bg);
}

.footer-top {
  display: flex;
  gap: 4rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.footer-brand {
  flex: 1;
  min-width: 220px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.625rem;
  margin-bottom: 1.25rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  color: var(--text-muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.footer-social a:hover {
  color: var(--white);
  border-color: rgba(59,130,246,0.3);
  background: rgba(59,130,246,0.1);
}

.footer-links {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 110px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--surface-border);
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--dark-500);
}

.footer-heart {
  color: var(--dark-500);
}

/* ===== Legal Pages ===== */
.legal-page {
  padding: 7rem 0 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.legal-page h1 {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.legal-date {
  color: var(--text-muted);
  font-size: 0.8125rem;
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 2.5rem;
  margin-bottom: 0.625rem;
}

.legal-page p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  line-height: 1.75;
}

.legal-page ul {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0.5rem 0 1rem 1.5rem;
  line-height: 1.8;
}

.legal-page li {
  margin-bottom: 0.25rem;
}

.legal-page strong {
  color: var(--text);
}

.legal-page a {
  color: var(--brand-400);
  transition: color 0.2s;
}

.legal-page a:hover {
  color: var(--brand-300);
}

/* ===== Mobile Nav ===== */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(8,10,16,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--surface-border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    padding: 0.875rem 1.5rem;
    width: 100%;
    text-align: center;
    font-size: 1rem;
  }

  .nav-links a::after { display: none; }

  .nav-toggle { display: flex; }

  .nav-actions .btn { display: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-stats { justify-content: center; }

  .hero-visual { order: -1; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card-lg {
    grid-column: span 2;
  }

  .safety-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .safety-content .section-title { text-align: center; }
  .safety-desc { text-align: center; }

  .driver-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .step {
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
  }

  .step-visual {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 68px;
  }
}

@media (max-width: 640px) {
  .hero { padding: 8rem 0 4rem; min-height: auto; }

  .phone-mockup {
    width: 240px;
    height: 500px;
    border-radius: 32px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-lg {
    grid-column: span 1;
  }

  .driver-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }

  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .step {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .step-number {
    margin: 0 auto;
  }

  .step-visual {
    padding-left: 0;
    justify-content: center;
  }

  .step-connector {
    padding-left: 0;
  }

  .section { padding: 4rem 0; }

  .trust-items { gap: 1.5rem; }
}

/* ===== Smooth scroll offset for fixed nav ===== */
[id] {
  scroll-margin-top: 80px;
}
