:root {
  --bg: #0a0a0a;
  --surface: #171717;
  --surface-2: #262626;
  --red: #e11d48;
  --red-light: #fb7185;
  --white: #f8fafc;
  --muted: #a1a1aa;
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--white);
}

.racing-gradient {
  background: radial-gradient(circle at 50% 0%, rgba(225, 29, 72, 0.22), transparent 55%),
              linear-gradient(180deg, #0a0a0a 0%, #0a0a0a 100%);
}

.text-red-glow {
  color: var(--red-light);
  text-shadow: 0 0 18px rgba(225, 29, 72, 0.35);
}

.btn-primary {
  background: var(--red);
  color: white;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -8px rgba(225, 29, 72, 0.55);
}

.btn-outline {
  border: 1px solid var(--surface-2);
  color: var(--white);
  transition: all 0.15s ease;
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red-light);
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-2);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(225, 29, 72, 0.45);
  box-shadow: 0 18px 40px -12px rgba(225, 29, 72, 0.18);
}

.feature-icon {
  background: rgba(225, 29, 72, 0.12);
  color: var(--red-light);
}

.nav-link {
  color: var(--muted);
  transition: color 0.15s ease;
}

.nav-link:hover {
  color: var(--white);
}

.glass {
  background: rgba(23, 23, 23, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--surface-2);
}

.pricing-highlight {
  border-color: var(--red);
  box-shadow: 0 0 40px -10px rgba(225, 29, 72, 0.35);
  position: relative;
}

.pricing-highlight::before {
  content: "Recommended";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: white;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.check {
  color: var(--red-light);
  flex-shrink: 0;
  font-weight: 700;
}

.screenshot-card {
  transition: transform 0.2s ease;
}

.screenshot-card:hover {
  transform: translateY(-6px);
}

.screenshot-card img {
  display: block;
  transition: transform 0.3s ease;
}

.screenshot-card:hover img {
  transform: scale(1.02);
}

.asphalt-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

/* Mobile menu transition */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

#mobile-menu.open {
  max-height: 400px;
}

/* CTA pulse animation */
@keyframes cta-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.4);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(225, 29, 72, 0);
  }
}

.cta-pulse {
  animation: cta-pulse 2s infinite;
}

/* CTA modal */
#cta-modal {
  transition: opacity 0.3s ease;
}

#cta-modal.flex {
  display: flex;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--red-light);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Sticky CTA bar hidden state */
#sticky-cta.hidden-cta {
  transform: translateY(100%);
}

/* Final CTA banner hover */
#final-cta a:hover {
  transform: translateY(-2px);
  transition: transform 0.15s ease;
}

/* Count-up animation for stats */
@keyframes count-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Pro product theme */
.pro-highlight {
  border-color: #f59e0b;
  box-shadow: 0 0 40px -10px rgba(245, 158, 11, 0.35);
  position: relative;
}

.pro-highlight::before {
  content: "Recommended";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b;
  color: #000;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-pro {
  background: #f59e0b;
  color: #000;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-pro:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -8px rgba(245, 158, 11, 0.55);
}

/* Sticky top promo bar */
.promo-bar {
  background: linear-gradient(90deg, rgba(225, 29, 72, 0.2), rgba(245, 158, 11, 0.15));
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
}

.pro-gradient {
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.18), transparent 55%),
              linear-gradient(180deg, #0a0a0a 0%, #0a0a0a 100%);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cta-pulse {
    animation: none;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}

/* Coming-soon countdown */
.countdown-unit {
  text-align: center;
}

/* National team pricing card — subtle neutral highlight (no "Recommended" badge) */
.national-highlight {
  border-color: #3f3f46;
  box-shadow: 0 0 40px -16px rgba(161, 161, 170, 0.3);
}
