﻿/* ==========================================================================
   APEX ATELIER - LUXURY AUTOMOTIVE STYLESHEET
   Typography: Space Grotesk + Plus Jakarta Sans + Syne
   ========================================================================== */

:root {
  /* Core Luxury Dark Palette */
  --bg-primary: #08090c;
  --bg-surface: #0f1117;
  --bg-surface-elevated: #161922;
  --bg-card: rgba(18, 21, 29, 0.75);
  --bg-card-hover: rgba(26, 30, 42, 0.9);
  --bg-glass: rgba(15, 17, 23, 0.65);
  
  /* Precision Borders & Lines */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-active: rgba(255, 59, 48, 0.6);
  --border-glow: rgba(0, 240, 255, 0.4);

  /* Performance Accent Highlights */
  --accent-red: #ff3333;
  --accent-crimson: #e11d48;
  --accent-orange: #ff6b00;
  --accent-cyan: #00f0ff;
  --accent-green: #10b981;
  --accent-gold: #f59e0b;
  --accent-purple: #8b5cf6;

  /* Typography Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dim: #475569;

  /* Fonts */
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-telemetry: 'Space Grotesk', monospace;
  --font-display: 'Syne', sans-serif;

  /* Shadows & Optical Glows */
  --glow-red: 0 0 35px rgba(255, 51, 51, 0.25);
  --glow-cyan: 0 0 35px rgba(0, 240, 255, 0.25);
  --glow-button: 0 4px 24px rgba(255, 51, 51, 0.35);
  --card-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.6);

  /* Transitions */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-smooth);
}

/* Reset & Base Setup */
*, *::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);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #1f2430;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #333a4d;
}

::selection {
  background: rgba(255, 51, 51, 0.3);
  color: #fff;
}

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

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

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

/* Ambient Lighting & Visual Grid */
.ambient-light-orb {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(140px);
  opacity: 0.15;
  transition: opacity 0.5s ease;
}

.orb-top-left {
  top: -200px;
  left: -200px;
  background: radial-gradient(circle, var(--accent-red) 0%, transparent 70%);
}

.orb-top-right {
  top: 100px;
  right: -250px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

.grid-mesh-bg {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

/* Global Audio Activity HUD Pill */
.audio-hud-indicator {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 90;
  box-shadow: var(--card-shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-spring);
  pointer-events: none;
}

.audio-hud-indicator.active {
  opacity: 1;
  transform: translateY(0);
}

.sound-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}

.sound-wave-bars span {
  width: 3px;
  height: 100%;
  background: var(--accent-red);
  border-radius: 2px;
  animation: soundBarPulse 0.8s ease-in-out infinite alternate;
}

.sound-wave-bars span:nth-child(2) { animation-delay: 0.2s; height: 60%; background: var(--accent-orange); }
.sound-wave-bars span:nth-child(3) { animation-delay: 0.4s; height: 90%; background: var(--accent-cyan); }
.sound-wave-bars span:nth-child(4) { animation-delay: 0.15s; height: 40%; }

@keyframes soundBarPulse {
  0% { transform: scaleY(0.2); }
  100% { transform: scaleY(1); }
}

.audio-label {
  font-family: var(--font-telemetry);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
}

/* Section Common Spacing */
.section-padding {
  padding: 110px 0;
  position: relative;
  z-index: 1;
}

.section-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-heading-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.heading-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 51, 51, 0.1);
  border: 1px solid rgba(255, 51, 51, 0.25);
  color: var(--accent-red);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-telemetry);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.15;
}

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

.gradient-text {
  background: linear-gradient(135deg, #ffffff 10%, #cbd5e1 50%, var(--accent-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.apex-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8, 9, 12, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease, padding 0.3s ease;
  padding: 14px 0;
}

.apex-header.scrolled {
  background: rgba(8, 9, 12, 0.92);
  border-bottom-color: var(--border-medium);
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 12px rgba(255, 51, 51, 0.4));
  transition: transform 0.3s var(--ease-spring);
}

.brand-logo:hover .logo-mark {
  transform: scale(1.08) rotate(4deg);
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.15em;
  color: #fff;
  line-height: 1;
}

.brand-sub {
  font-family: var(--font-telemetry);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-red);
  margin-top: 3px;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-telemetry);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-num {
  font-size: 0.68rem;
  color: var(--accent-red);
  opacity: 0.8;
}

.badge-count {
  background: var(--accent-red);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 999px;
  margin-left: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-red), var(--accent-cyan));
  transition: width 0.3s var(--ease-spring);
}

.nav-link:hover {
  color: #fff;
}

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

/* Nav Actions Hub */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-compare-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-medium);
  border-radius: 999px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-family: var(--font-telemetry);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-compare-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: var(--accent-cyan);
}

.compare-bubble {
  background: var(--accent-cyan);
  color: #000;
  font-weight: 800;
  font-size: 0.72rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Buttons System */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-red) 0%, #d41818 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 22px;
  border-radius: 8px;
  font-family: var(--font-telemetry);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s var(--ease-spring), filter 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-button);
  filter: brightness(1.1);
  color: #fff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-glow {
  box-shadow: 0 4px 20px rgba(255, 51, 51, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  padding: 10px 22px;
  border-radius: 8px;
  font-family: var(--font-telemetry);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.w-100 {
  width: 100%;
}

/* Mobile Hamburger Button */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  cursor: pointer;
}

.mobile-toggle-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(85vw, 360px);
  height: 100vh;
  background: rgba(12, 14, 19, 0.98);
  backdrop-filter: blur(25px);
  border-left: 1px solid var(--border-medium);
  z-index: 105;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: right 0.4s var(--ease-spring);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.8);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}

.drawer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #fff;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.drawer-link {
  font-family: var(--font-telemetry);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  transition: background 0.2s ease;
}

.drawer-link i {
  color: var(--accent-red);
  width: 20px;
}

.drawer-link:hover {
  background: rgba(255, 255, 255, 0.08);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 20px;
}
/* ==========================================================================
   HERO SECTION STYLING
   ========================================================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-glow-spot {
  position: absolute;
  top: 25%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 51, 51, 0.18) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  transition: background 0.8s ease;
}

.hero-content-wrapper {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

/* Top Telemetry Live Pill */
.hero-telemetry-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 6px 18px;
  font-family: var(--font-telemetry);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.telemetry-live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: telemetryPulse 1.5s infinite;
}

@keyframes telemetryPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--accent-green); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.telemetry-divider {
  color: var(--border-medium);
}

.telemetry-time {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Split Hero Grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr;
  align-items: center;
  gap: 40px;
}

.hero-intro {
  display: flex;
  flex-direction: column;
}

.hero-tag-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-pill-badge {
  background: rgba(255, 51, 51, 0.15);
  border: 1px solid var(--accent-red);
  color: #ff6b6b;
  font-family: var(--font-telemetry);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.hero-year-badge {
  font-family: var(--font-telemetry);
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.hero-line-1 {
  font-size: 0.48em;
  font-family: var(--font-telemetry);
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 4px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 30px;
  font-weight: 400;
  line-height: 1.6;
}

/* Specs HUD Strip */
.hero-spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 14px 18px;
  gap: 12px;
  margin-bottom: 32px;
  backdrop-filter: blur(12px);
}

.spec-block {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-subtle);
  padding-right: 10px;
}

.spec-block:last-child {
  border-right: none;
  padding-right: 0;
}

.spec-title {
  font-family: var(--font-telemetry);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-val {
  font-family: var(--font-telemetry);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-top: 2px;
}

/* CTA Group */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-hero-explore {
  padding: 14px 28px;
  font-size: 0.95rem;
}

.btn-hero-sound {
  padding: 14px 24px;
  font-size: 0.95rem;
  border-color: rgba(0, 240, 255, 0.3);
  color: var(--accent-cyan);
}

.btn-hero-sound:hover {
  border-color: var(--accent-cyan);
  box-shadow: var(--glow-cyan);
  color: #fff;
}

/* Hero Showcase Tabs */
.hero-slider-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider-label {
  font-family: var(--font-telemetry);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.hero-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 6px;
  font-family: var(--font-telemetry);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-tab.active {
  background: rgba(255, 51, 51, 0.15);
  border-color: var(--accent-red);
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 51, 51, 0.25);
}

/* Visual Stage */
.hero-visual-stage {
  position: relative;
  perspective: 1000px;
}

.stage-chassis-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: radial-gradient(circle at center, rgba(30, 35, 48, 0.4) 0%, rgba(10, 11, 14, 0.8) 100%);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
}

.hero-img-box {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-car-image {
  width: 92%;
  height: 92%;
  object-fit: cover;
  border-radius: 12px;
  filter: contrast(1.08) brightness(1.02);
  transition: transform 0.6s var(--ease-spring), opacity 0.4s ease;
}

/* Tachometer Dial Gauge */
.hero-tachometer-dial {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 90px;
  height: 90px;
  z-index: 5;
  background: rgba(10, 11, 14, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tacho-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.tacho-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 8;
}

.tacho-progress {
  fill: none;
  stroke: var(--accent-red);
  stroke-width: 8;
  stroke-dasharray: 440;
  stroke-dashoffset: 390; /* Initial idle offset */
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear, stroke 0.3s ease;
}

.tacho-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.tacho-num {
  font-family: var(--font-telemetry);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.tacho-unit {
  font-family: var(--font-telemetry);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: 0.05em;
}

/* Floating Price Card */
.hero-price-floating-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(12, 14, 19, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-medium);
  border-radius: 12px;
  padding: 14px 20px;
  z-index: 5;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.price-eyebrow {
  font-family: var(--font-telemetry);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin: 2px 0;
}

.price-monthly {
  font-size: 0.76rem;
  color: var(--accent-cyan);
  font-weight: 500;
}

/* Metrics Bar */
.metrics-bar {
  max-width: 1400px;
  width: 100%;
  margin: 50px auto 0;
  padding: 24px 32px;
  background: rgba(15, 17, 23, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 2;
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.metric-number {
  font-family: var(--font-telemetry);
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-text {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 2px;
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: var(--border-subtle);
}

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

.apex-footer {
  background: #050608;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.logo-mark.small {
  width: 28px;
  height: 28px;
}

.footer-mission {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

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

.footer-social-links a {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.footer-social-links a:hover {
  background: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
  transform: translateY(-2px);
}

.footer-col-title {
  font-family: var(--font-telemetry);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  margin-bottom: 20px;
}

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

.footer-links li a, .footer-links li span {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links li a:hover {
  color: var(--accent-red);
  padding-left: 4px;
}

.newsletter-sub {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-size: 0.86rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-form input:focus {
  border-color: var(--accent-red);
}

.newsletter-disclaimer {
  font-size: 0.72rem;
  color: var(--text-muted);
}

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

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

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

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

@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .stage-chassis-wrapper {
    max-height: 520px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .mobile-toggle-btn {
    display: flex;
  }
  .metrics-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .metric-divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
  .hero-spec-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-spec-strip {
    grid-template-columns: 1fr;
  }
  .metrics-bar {
    grid-template-columns: 1fr;
  }
  .hero-price-floating-card {
    position: static;
    margin-top: 14px;
    width: 100%;
  }
}

/* ==========================================================================
   HERO AMBIENT STOCK VIDEO BACKDROP
   ========================================================================== */

.hero-video-bg-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.06);
  object-fit: cover;
  opacity: 0.32;
  filter: contrast(1.15) brightness(0.85) saturate(1.1);
  transition: opacity 0.5s ease;
}

.hero-video-tint-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 65% 45%, rgba(10, 11, 14, 0.45) 0%, rgba(8, 9, 12, 0.94) 80%),
    linear-gradient(to bottom, rgba(8, 9, 12, 0.65) 0%, rgba(8, 9, 12, 0.98) 100%);
}

.hero-video-scanline {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.3) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  opacity: 0.35;
}

.btn-video-toggle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--text-secondary);
  font-family: var(--font-telemetry);
  font-size: 0.7rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  pointer-events: auto;
  transition: all var(--transition-fast);
}

.btn-video-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: var(--accent-cyan);
}
