/* ==========================================================================
   IMPULSO RC - BRAND IDENTITY & MODERN MOTORSPORT DESIGN SYSTEM
   Palette: Negro Grafito (#0F1115), Verde Impulso (#A6FF00), 
            Azul Tecnológico (#007BFF), Gris Claro (#F2F4F7)
   ========================================================================== */

:root {
  /* Colors */
  --bg-primary: #0F1115;
  --bg-secondary: #14171E;
  --bg-tertiary: #1A1F29;
  --bg-card: rgba(22, 27, 36, 0.75);
  --bg-card-hover: rgba(29, 36, 48, 0.9);
  
  --neon-green: #A6FF00;
  --neon-green-light: #C2FF3D;
  --neon-green-dark: #7ECC00;
  --neon-glow: rgba(166, 255, 0, 0.35);
  --neon-glow-strong: rgba(166, 255, 0, 0.65);
  
  --tech-blue: #007BFF;
  --tech-blue-light: #389BFF;
  --tech-blue-glow: rgba(0, 123, 255, 0.35);
  
  --text-primary: #F2F4F7;
  --text-secondary: #9AA4B2;
  --text-muted: #64748B;
  --text-dark: #0F1115;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-neon: rgba(166, 255, 0, 0.4);
  --border-blue: rgba(0, 123, 255, 0.4);
  
  /* Typography */
  --font-racing: 'Orbitron', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Shadows & Glass */
  --glass-bg: rgba(15, 17, 21, 0.85);
  --glass-blur: blur(16px);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.6);
  --shadow-neon: 0 0 24px rgba(166, 255, 0, 0.25);
  --shadow-blue: 0 0 24px rgba(0, 123, 255, 0.25);
  
  /* Layout */
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 15% 10%, rgba(166, 255, 0, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 85% 20%, rgba(0, 123, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 70%, rgba(166, 255, 0, 0.04) 0%, transparent 50%),
    var(--bg-primary);
  min-height: 100vh;
  position: relative;
}

/* Carbon & Speed Grid Texture */
body::before {
  content: '';
  position: fixed;
  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: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

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

/* Accessibility & Screen Reader / SEO text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography Utilities */
.racing-text {
  font-family: var(--font-racing);
  font-style: italic;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.gradient-text-neon {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--neon-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--tech-blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-neon {
  color: var(--neon-green);
}

.text-blue {
  color: var(--tech-blue-light);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-racing);
  font-size: 0.92rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  user-select: none;
}

.btn-primary {
  background: var(--neon-green);
  color: var(--text-dark);
  box-shadow: 0 0 20px var(--neon-glow);
}

.btn-primary:hover {
  background: var(--neon-green-light);
  transform: translateY(-2px) skewX(-2deg);
  box-shadow: 0 0 32px var(--neon-glow-strong);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--neon-green);
  color: var(--neon-green);
  transform: translateY(-2px);
}

.btn-blue {
  background: var(--tech-blue);
  color: #FFFFFF;
  box-shadow: 0 0 20px var(--tech-blue-glow);
}

.btn-blue:hover {
  background: var(--tech-blue-light);
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 123, 255, 0.6);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid;
}

.badge-neon {
  background: rgba(166, 255, 0, 0.1);
  color: var(--neon-green);
  border-color: rgba(166, 255, 0, 0.3);
}

.badge-blue {
  background: rgba(0, 123, 255, 0.12);
  color: var(--tech-blue-light);
  border-color: rgba(0, 123, 255, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  box-shadow: 0 0 10px currentColor;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.75); }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition);
  padding: 1.25rem 0;
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  transition: var(--transition);
}

.logo-link:hover .logo-img {
  filter: drop-shadow(0 0 12px var(--neon-glow));
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-green);
  transition: var(--transition);
}

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

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cta-text-desktop {
  display: inline;
}

.cta-text-mobile {
  display: none;
}

.mobile-toggle {
  display: none;
  background: rgba(20, 24, 32, 0.85);
  border: 1px solid var(--border-medium);
  color: var(--text-primary);
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  z-index: 102;
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease, background 0.2s ease;
  transform-origin: center;
}

.mobile-toggle:hover {
  background: rgba(166, 255, 0, 0.12);
  border-color: var(--neon-green);
}

.mobile-toggle:hover .hamburger-bar {
  background: var(--neon-green);
}

.mobile-toggle.active {
  background: rgba(166, 255, 0, 0.18);
  border-color: var(--neon-green);
}

.mobile-toggle.active .hamburger-bar {
  background: var(--neon-green);
}

.mobile-toggle.active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 12, 16, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-backdrop.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

body.menu-locked {
  overflow: hidden !important;
  touch-action: none;
}

.mobile-nav-cta {
  display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding-top: 8.5rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge-wrap {
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-racing);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.08;
  font-style: italic;
  font-weight: 900;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-title span.racing-highlight {
  display: inline-block;
  color: var(--neon-green);
  text-shadow: 0 0 30px var(--neon-glow);
  position: relative;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-racing);
  font-size: 1.85rem;
  font-weight: 800;
  font-style: italic;
  color: var(--neon-green);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* Hero Media Display */
.hero-media {
  position: relative;
  z-index: 1;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-neon);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--neon-glow);
  background: var(--bg-card);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.hero-image-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.hero-image-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-card:hover img {
  transform: scale(1.04);
}

/* Floating Telemetry Widget */
.hero-telemetry-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(15, 17, 21, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.telemetry-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.telemetry-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(166, 255, 0, 0.12);
  color: var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.telemetry-data h4 {
  font-family: var(--font-racing);
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.1;
}

.telemetry-data p {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   TICKER / MARQUEE BAR
   ========================================================================== */

.ticker-strip {
  background: var(--neon-green);
  color: var(--text-dark);
  padding: 0.85rem 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-racing);
  font-weight: 800;
  font-style: italic;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-1deg) scale(1.02);
  box-shadow: 0 0 25px var(--neon-glow);
  margin-block: 2rem;
  position: relative;
  z-index: 5;
}

.ticker-track {
  display: inline-flex;
  animation: marquee 24s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 3rem;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  background: var(--text-dark);
  border-radius: 50%;
}

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

/* ==========================================================================
   SECTION COMMON
   ========================================================================== */

.section {
  padding-block: 5.5rem;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-subtitle {
  font-family: var(--font-racing);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-green);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-family: var(--font-racing);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================================================
   VEHICLE LINES (SHOWCASE & INTERACTIVE TABS)
   ========================================================================== */

.vehicle-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.vehicle-tab-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-racing);
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.vehicle-tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
  background: var(--bg-tertiary);
}

.vehicle-tab-btn.active {
  background: var(--neon-green);
  color: var(--text-dark);
  border-color: var(--neon-green);
  box-shadow: 0 0 16px var(--neon-glow);
}

.vehicle-tab-btn[data-category="aviones"].active,
.vehicle-tab-btn[data-category="barcos"].active {
  background: var(--tech-blue);
  color: #FFFFFF;
  border-color: var(--tech-blue);
  box-shadow: 0 0 16px var(--tech-blue-glow);
}

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.vehicle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.vehicle-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-neon);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(166, 255, 0, 0.15);
}

.vehicle-card.alt-blue:hover {
  border-color: var(--border-blue);
  box-shadow: var(--shadow-lg), 0 0 24px rgba(0, 123, 255, 0.2);
}

.vehicle-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.vehicle-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-card-media img {
  transform: scale(1.08);
}

.vehicle-category-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.vehicle-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.vehicle-card-title {
  font-family: var(--font-racing);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.vehicle-card-subtitle {
  font-size: 0.82rem;
  color: var(--neon-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
}

.vehicle-card.alt-blue .vehicle-card-subtitle {
  color: var(--tech-blue-light);
}

.vehicle-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.vehicle-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.vehicle-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.spec-name {
  color: var(--text-muted);
}

.spec-val {
  color: var(--text-primary);
  font-weight: 600;
  font-family: var(--font-racing);
}

/* ==========================================================================
   BRAND VALUES (4 PILLARS)
   ========================================================================== */

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--neon-green);
  opacity: 0;
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-medium);
  background: var(--bg-card-hover);
}

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

.pillar-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon-green);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.pillar-card:hover .pillar-icon-box {
  background: var(--neon-green);
  color: var(--text-dark);
  box-shadow: 0 0 20px var(--neon-glow);
}

.pillar-card.pillar-blue:hover .pillar-icon-box {
  background: var(--tech-blue);
  color: #FFFFFF;
  box-shadow: 0 0 20px var(--tech-blue-glow);
}

.pillar-title {
  font-family: var(--font-racing);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.pillar-tagline {
  font-size: 0.82rem;
  color: var(--neon-green);
  font-weight: 700;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pillar-card.pillar-blue .pillar-tagline {
  color: var(--tech-blue-light);
}

.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   ECOSYSTEM & EXPERIENCES
   ========================================================================== */

.ecosystem-section {
  background: var(--bg-secondary);
  border-block: 1px solid var(--border-subtle);
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-icon-badge {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(166, 255, 0, 0.1);
  border: 1px solid rgba(166, 255, 0, 0.25);
  color: var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-body h4 {
  font-family: var(--font-racing);
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--text-primary);
}

.feature-body p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

.ecosystem-display-card {
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.ecosystem-display-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  background: var(--neon-glow);
  filter: blur(60px);
  pointer-events: none;
}

/* ==========================================================================
   CIRCUITO NACIONAL & CALENDARIO PREVIEW
   ========================================================================== */

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-neon);
}

.event-date-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.event-city-badge {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--neon-green);
}

.event-title {
  font-family: var(--font-racing);
  font-size: 1.2rem;
  font-weight: 800;
  font-style: italic;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
}

.event-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   WAITLIST & REGISTRATION (PRIMARY CTA)
   ========================================================================== */

.waitlist-section {
  position: relative;
  background: 
    radial-gradient(circle at 50% 30%, rgba(166, 255, 0, 0.08) 0%, transparent 60%),
    var(--bg-primary);
  border-block: 1px solid var(--border-medium);
}

.waitlist-card {
  background: rgba(20, 24, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px var(--neon-glow);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  position: relative;
  overflow: hidden;
}

.waitlist-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-green), var(--tech-blue), var(--neon-green));
}

.waitlist-info h3 {
  font-family: var(--font-racing);
  font-size: 2.2rem;
  font-style: italic;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.waitlist-info p {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

/* Perks List */
.perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.perk-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.perk-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(166, 255, 0, 0.15);
  color: var(--neon-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* Founder Spot Progress Bar */
.spots-tracker {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.spots-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.spots-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.spots-bar-fill {
  height: 100%;
  width: 86%;
  background: linear-gradient(90deg, var(--neon-green-dark), var(--neon-green));
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px var(--neon-glow);
  transition: width 1s ease;
}

/* Form Styling */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-input, .form-select {
  width: 100%;
  background: rgba(15, 17, 21, 0.85);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--neon-green);
  box-shadow: 0 0 16px var(--neon-glow);
  background: rgba(22, 27, 36, 0.95);
}

.form-input::placeholder {
  color: var(--text-muted);
}

/* Category Checkbox Pills */
.category-checkboxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.category-pill {
  position: relative;
  cursor: pointer;
}

.category-pill input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.pill-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 0.4rem;
  background: rgba(15, 17, 21, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: var(--transition);
  text-align: center;
}

.category-pill input:checked + .pill-content {
  background: rgba(166, 255, 0, 0.15);
  border-color: var(--neon-green);
  color: var(--neon-green);
  box-shadow: 0 0 12px rgba(166, 255, 0, 0.2);
}

.form-legal {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form-legal a {
  color: var(--neon-green);
  text-decoration: underline;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */

.faq-container {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--border-neon);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-racing);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--neon-green);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
  padding-inline: 1.75rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 1.5rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: #090A0D;
  border-top: 1px solid var(--border-subtle);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--neon-green);
  color: var(--text-dark);
  border-color: var(--neon-green);
  transform: translateY(-3px);
  box-shadow: 0 0 16px var(--neon-glow);
}

.footer-col-title {
  font-family: var(--font-racing);
  font-size: 0.95rem;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: 0.05em;
}

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

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

.footer-links a:hover {
  color: var(--neon-green);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   MODAL DIALOG (FOUNDER CARD / SUCCESS)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(9, 10, 13, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-card-hover);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px var(--neon-glow);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.modal-backdrop.open .modal-card {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--neon-green);
}

/* Digital Pilot Pass */
.pilot-pass {
  background: linear-gradient(135deg, #14171E 0%, #0F1115 100%);
  border: 1px dashed var(--neon-green);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-block: 1.5rem;
  position: relative;
  text-align: left;
}

.pilot-pass-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.75rem;
}

.pass-id {
  font-family: var(--font-racing);
  font-size: 1.15rem;
  color: var(--neon-green);
  font-weight: 800;
}

.pass-tier {
  font-size: 0.75rem;
  background: rgba(166, 255, 0, 0.15);
  color: var(--neon-green);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
}

.pass-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES & MOBILE DESIGN SYSTEM
   ========================================================================== */

/* Universal Mobile Overflow Protection */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Tablet & Mobile Screens (<= 1024px) */
@media (max-width: 1024px) {
  .header {
    padding: 0.85rem 0;
  }

  .header.scrolled {
    padding: 0.65rem 0;
  }

  .mobile-toggle {
    display: inline-flex;
  }

  /* Mobile Slide-down Navigation Drawer */
  .nav-menu {
    position: fixed;
    top: 66px;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 66px);
    background: rgba(13, 16, 21, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 2px solid var(--neon-green);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(166, 255, 0, 0.15);
    padding: 1.5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transform: translateY(-115%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
    z-index: 99;
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
    padding: 0;
  }

  .nav-link {
    font-family: var(--font-racing);
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 700;
    color: var(--text-primary);
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    width: 100%;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    color: var(--neon-green);
    background: rgba(166, 255, 0, 0.05);
    padding-left: 0.85rem;
  }

  .mobile-nav-cta {
    display: block;
    margin-top: 0.75rem;
    width: 100%;
  }

  .mobile-drawer-btn {
    width: 100%;
    padding: 0.95rem;
    font-size: 0.95rem;
    justify-content: center;
    border-radius: var(--radius-sm);
  }

  /* Hero adjustments */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }
  
  .hero-media {
    max-width: 640px;
    width: 100%;
    margin-inline: auto;
  }

  .hero-image-card {
    transform: none !important;
  }

  .hero-image-card:hover {
    transform: none !important;
  }
  
  .vehicles-grid, .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .events-grid, .ecosystem-grid {
    grid-template-columns: 1fr;
  }
  
  .waitlist-card {
    grid-template-columns: 1fr;
    padding: 2.5rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Smartphone Landscape & Standard Mobile (<= 768px) */
@media (max-width: 768px) {
  /* Header compact mobile styles */
  .header {
    padding: 0.65rem 0;
  }

  .header.scrolled {
    padding: 0.55rem 0;
  }

  .header-inner {
    gap: 0.5rem;
  }

  .logo-img {
    height: 36px;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .cta-text-desktop {
    display: none;
  }

  .cta-text-mobile {
    display: inline;
  }

  #header-cta-btn {
    padding: 0.52rem 0.85rem;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    gap: 0.35rem;
  }

  .mobile-toggle {
    width: 40px;
    height: 40px;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding-top: 5.75rem;
    padding-bottom: 3.25rem;
  }

  .hero-badge-wrap {
    margin-bottom: 1rem;
  }

  .hero-badge-wrap .badge {
    font-size: 0.72rem;
    padding: 0.35rem 0.75rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.85rem);
    line-height: 1.12;
    margin-bottom: 1rem;
  }

  .hero-description {
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.25rem;
    font-size: 0.92rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 1rem;
    padding-top: 1.5rem;
  }

  .stat-number {
    font-size: 1.65rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  /* Hero Image & Floating Telemetry */
  .hero-image-card img {
    height: 300px;
  }

  .hero-telemetry-badge {
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    padding: 0.75rem 0.85rem;
    gap: 0.6rem !important;
    border-radius: var(--radius-sm);
  }

  .telemetry-live-header {
    font-size: 0.62rem;
  }

  .telemetry-data h4 {
    font-size: 0.92rem;
  }

  .telemetry-data p {
    font-size: 0.65rem;
  }

  .telemetry-micro-stats {
    font-size: 0.65rem;
    padding-top: 0.35rem;
  }

  /* Ticker Strip Mobile */
  .ticker-strip {
    font-size: 0.8rem;
    padding: 0.65rem 0;
    margin-block: 1.5rem;
  }

  /* Sections Common */
  .section {
    padding-block: 3.5rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-title {
    font-size: clamp(1.75rem, 6.5vw, 2.35rem);
    line-height: 1.15;
  }

  .section-desc {
    font-size: 0.95rem;
  }

  /* Vehicle Categories Horizontal Pill Scroll */
  .vehicle-nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.25rem 0.25rem 0.75rem;
    margin-bottom: 1.75rem;
    scrollbar-width: none;
  }

  .vehicle-nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .vehicle-tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.65rem 1.15rem;
    font-size: 0.82rem;
  }

  .vehicles-grid, .pillars-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .vehicle-card-media {
    height: 200px;
  }

  .vehicle-card-body {
    padding: 1.25rem;
  }

  .pillar-card, .ecosystem-card {
    padding: 1.5rem 1.25rem;
  }

  /* Events Grid (Circuito Nacional) */
  .events-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .event-card {
    padding: 1.35rem 1.2rem;
  }

  .event-date-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* Waitlist Form on Mobile */
  .waitlist-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
    gap: 1.75rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .category-checkboxes {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .pill-content {
    padding: 0.75rem 0.35rem;
    font-size: 0.72rem;
  }

  .form-input, .form-select {
    font-size: 16px; /* Prevents auto-zoom on iOS */
    min-height: 48px;
    padding: 0.75rem 0.95rem;
  }

  #submit-waitlist-btn {
    width: 100%;
    min-height: 50px;
    font-size: 0.95rem;
    justify-content: center;
  }

  /* FAQ Accordion Mobile */
  .faq-question {
    padding: 1.15rem 1.25rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding-inline: 1.25rem;
    font-size: 0.88rem;
  }

  /* Footer Mobile */
  .footer {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-desc {
    max-width: none;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }

  /* Toast Notification Container on Mobile */
  #toast-container {
    left: 14px !important;
    right: 14px !important;
    bottom: 16px !important;
    width: auto !important;
  }
}

/* Small Smartphone Optimization (<= 480px, e.g. iPhone 12/13/14/SE, Galaxy) */
@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .logo-img {
    height: 32px;
  }

  .header-actions {
    gap: 0.4rem;
  }

  #header-cta-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.76rem;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
  }

  .nav-menu {
    top: 60px;
    max-height: calc(100vh - 60px);
    padding: 1.25rem 1rem 1.75rem;
  }

  .hero-section {
    padding-top: 5.25rem;
    padding-bottom: 2.75rem;
  }

  .hero-badge-wrap .badge {
    font-size: 0.68rem;
    padding: 0.3rem 0.65rem;
    letter-spacing: 0.02em;
  }

  .hero-title {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

  .hero-image-card img {
    height: 270px;
  }

  .hero-telemetry-badge {
    bottom: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    padding: 0.65rem 0.75rem;
    gap: 0.45rem !important;
  }

  .telemetry-live-header {
    font-size: 0.58rem;
  }

  .telemetry-row {
    gap: 0.4rem;
  }

  .telemetry-item {
    gap: 0.45rem;
  }

  .telemetry-icon {
    width: 30px;
    height: 30px;
    font-size: 0.75rem;
  }

  .telemetry-data h4 {
    font-size: 0.85rem;
  }

  .telemetry-data p {
    font-size: 0.6rem;
  }

  .telemetry-micro-stats {
    font-size: 0.6rem;
    flex-wrap: wrap;
    gap: 4px 6px;
  }

  .waitlist-card {
    padding: 1.35rem 1rem;
  }

  .spots-tracker {
    padding: 1rem 0.85rem;
  }

  .spots-header {
    font-size: 0.78rem;
  }

  .pill-content {
    padding: 0.65rem 0.25rem;
    font-size: 0.68rem;
    gap: 0.25rem;
  }

  /* Modal Pass Mobile */
  .modal-backdrop {
    padding: 0.75rem;
  }

  .modal-card {
    padding: 1.5rem 1.15rem;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-md);
  }

  .pilot-pass {
    padding: 1rem 0.85rem;
    margin-block: 1rem;
  }

  .pass-details-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .qr-block {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }
}

/* Very Small Screens (<= 360px, e.g. Galaxy Fold outer, iPhone SE 1st gen) */
@media (max-width: 360px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 0.5rem;
  }

  .category-checkboxes {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   REAL-TIME & LIVE TELEMETRY STYLES
   ========================================================================== */
.hero-telemetry-badge {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
}

.telemetry-live-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.68rem;
  font-family: var(--font-racing);
  letter-spacing: 0.5px;
  color: var(--neon-green);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.35rem;
}

.telemetry-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.telemetry-micro-stats {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-top: 0.4rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  color: var(--text-muted);
}

.telemetry-micro-stats strong {
  color: var(--text-primary);
  font-family: var(--font-racing);
}

.spots-bar-fill {
  transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stat-number.live-pulse {
  animation: numberPulse 0.6s ease;
}

@keyframes numberPulse {
  0% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.15); filter: brightness(1.5) drop-shadow(0 0 12px var(--neon-green)); }
  100% { transform: scale(1); filter: brightness(1); }
}

.live-badge-toast {
  background: rgba(166, 255, 0, 0.15);
  border: 1px solid var(--neon-green);
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-family: var(--font-racing);
}
