:root {
  --carbon-950: #060809;
  --carbon-900: #0b0d0f;
  --carbon-850: #101316;
  --carbon-800: #15191d;
  --carbon-700: #1e242a;
  --carbon-600: #2a323a;
  --carbon-500: #3b4652;
  --racing-orange: #F26B38;
  --racing-orange-glow: rgba(242, 107, 56, 0.4);
  --racing-orange-hover: #ff7f4d;
  --racing-orange-dark: #cc4f1f;
  --cyber-cyan: #00e5ff;
  --neon-green: #39e58c;
  --silver-100: #f8fafc;
  --silver-200: #e2e8f0;
  --silver-300: #cbd5e1;
  --silver-400: #94a3b8;
  --silver-500: #64748b;
  --pure-white: #ffffff;
  --glass-bg: rgba(21, 25, 29, 0.78);
  --glass-card: rgba(26, 32, 38, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(242, 107, 56, 0.45);
  --font-main: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--carbon-950);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(242, 107, 56, 0.12), transparent 70%),
    radial-gradient(circle at 90% 20%, rgba(0, 229, 255, 0.03), transparent 40%),
    linear-gradient(180deg, var(--carbon-950) 0%, var(--carbon-900) 100%);
  background-attachment: fixed;
  color: var(--silver-200);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* Site Header */
.site-header {
  height: 64px;
  background: rgba(11, 13, 15, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.header-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.5px;
  color: var(--pure-white);
}

.brand-logo span {
  color: var(--racing-orange);
  position: relative;
}

.brand-icon {
  width: 26px;
  height: 26px;
  fill: var(--racing-orange);
  filter: drop-shadow(0 0 8px var(--racing-orange-glow));
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--silver-300);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--racing-orange);
  transition: width 0.25s ease;
  box-shadow: 0 0 8px var(--racing-orange);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pure-white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  background: linear-gradient(135deg, var(--racing-orange) 0%, #d85724 100%);
  color: #fff;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 15px rgba(242, 107, 56, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--racing-orange-hover) 0%, var(--racing-orange) 100%);
  box-shadow: 0 0 20px var(--racing-orange-glow);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 6px 8px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pure-white);
  margin: 4px 0;
  transition: 0.25s ease;
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  width: 100%;
  background: rgba(15, 18, 22, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--racing-orange);
  padding: 24px;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9);
}

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

.mobile-nav a {
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav a.active {
  color: var(--racing-orange);
}

/* Layout */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--racing-orange);
  margin-bottom: 12px;
  background: rgba(242, 107, 56, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(242, 107, 56, 0.25);
}

.section-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--racing-orange);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--racing-orange);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
  color: var(--pure-white);
  line-height: 1.18;
}

.section-desc {
  color: var(--silver-400);
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Enhanced Hero Section */
.hero-section {
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-title {
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.2px;
  color: var(--pure-white);
  margin-bottom: 20px;
}

.hero-title span.highlight {
  background: linear-gradient(135deg, #ffffff 0%, var(--racing-orange) 60%, #ff8c5a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--silver-300);
  line-height: 1.65;
  margin-bottom: 30px;
  max-width: 620px;
}

.hero-telemetry-ribbon {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
}

.telemetry-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  padding: 10px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.telemetry-pill .pill-val {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--pure-white);
}

.telemetry-pill .pill-lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--silver-400);
  letter-spacing: 0.5px;
}

/* Interactive Price Slider Card */
.slider-interactive-card {
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.slider-interactive-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(242, 107, 56, 0.4), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.slider-value-display {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--racing-orange);
  text-shadow: 0 0 20px var(--racing-orange-glow);
  background: rgba(242, 107, 56, 0.08);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(242, 107, 56, 0.3);
}

.custom-range {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: var(--carbon-700);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--racing-orange);
  cursor: pointer;
  box-shadow: 0 0 16px var(--racing-orange), 0 0 0 4px rgba(255, 255, 255, 0.9);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 24px var(--racing-orange), 0 0 0 5px #fff;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: var(--silver-400);
}

.slider-meta-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.meta-stat-item {
  text-align: center;
}

.meta-stat-item .stat-num {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--pure-white);
}

.meta-stat-item .stat-txt {
  font-size: 0.72rem;
  color: var(--silver-500);
  text-transform: uppercase;
}

/* Quick Filter Badges in Hero */
.hero-quick-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.quick-filter-btn {
  background: var(--carbon-800);
  border: 1px solid var(--glass-border);
  color: var(--silver-300);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quick-filter-btn:hover,
.quick-filter-btn.active {
  background: rgba(242, 107, 56, 0.15);
  border-color: var(--racing-orange);
  color: var(--pure-white);
}

/* Cars Data Grid */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.data-card {
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.data-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(242, 107, 56, 0.12);
}

.card-media {
  position: relative;
  width: 100%;
  height: 230px;
  background-color: var(--carbon-800);
  overflow: hidden;
}

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

.data-card:hover .card-media img {
  transform: scale(1.06);
}

.card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(11,13,15,0.7) 100%);
  pointer-events: none;
}

.badge-price {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(11, 13, 15, 0.92);
  backdrop-filter: blur(10px);
  color: var(--pure-white);
  border: 1px solid rgba(242, 107, 56, 0.6);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.02rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.badge-tier {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--racing-orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.badge-status {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 229, 255, 0.15);
  color: var(--cyber-cyan);
  border: 1px solid rgba(0, 229, 255, 0.4);
  font-size: 0.68rem;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.card-content {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--pure-white);
  letter-spacing: -0.3px;
}

.card-subtext {
  font-size: 0.86rem;
  color: var(--silver-400);
  margin-bottom: 18px;
  line-height: 1.4;
}

/* Telemetry Grid inside Cards */
.telemetry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(16, 20, 24, 0.85);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

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

.stat-label {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--silver-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.stat-val {
  font-size: 0.95rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--silver-200);
}

.card-footer-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.action-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--racing-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.data-card:hover .action-link {
  color: var(--racing-orange-hover);
  transform: translateX(4px);
}

/* Filter Bar for Inventory */
.inventory-controls-panel {
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 36px;
}

.search-filter-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
}

.search-input-wrapper {
  position: relative;
}

.search-input-wrapper svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--silver-500);
}

.search-input {
  width: 100%;
  background: var(--carbon-900);
  border: 1px solid var(--glass-border);
  padding: 12px 16px 12px 42px;
  border-radius: 8px;
  color: var(--pure-white);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input:focus {
  border-color: var(--racing-orange);
  box-shadow: 0 0 0 3px rgba(242, 107, 56, 0.2);
}

.filter-select {
  background: var(--carbon-900);
  border: 1px solid var(--glass-border);
  color: var(--silver-200);
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
  cursor: pointer;
}

.filter-select:focus {
  border-color: var(--racing-orange);
}

.filter-tier-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.filter-btn {
  background: var(--carbon-850);
  border: 1px solid var(--glass-border);
  color: var(--silver-300);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: rgba(242, 107, 56, 0.5);
  color: var(--pure-white);
}

.filter-btn.active {
  background: var(--racing-orange);
  border-color: var(--racing-orange);
  color: #fff;
  box-shadow: 0 2px 10px rgba(242, 107, 56, 0.3);
}

.results-count-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--silver-400);
  font-family: var(--font-mono);
}

/* Brand Matrix Table */
.brand-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  overflow: hidden;
}

.brand-matrix-table th {
  background: var(--carbon-800);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.8rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  color: var(--silver-400);
  letter-spacing: 1px;
  border-bottom: 1px solid var(--glass-border);
}

.brand-matrix-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.92rem;
}

.brand-matrix-table tr:last-child td {
  border-bottom: none;
}

.brand-matrix-table tr:hover td {
  background: rgba(242, 107, 56, 0.04);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--racing-orange) 0%, #d85724 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(242, 107, 56, 0.3);
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--racing-orange-hover) 0%, var(--racing-orange) 100%);
  box-shadow: 0 0 28px var(--racing-orange-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--carbon-800);
  border: 1px solid var(--glass-border);
  color: var(--pure-white);
  font-weight: 600;
  padding: 14px 26px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--carbon-700);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Calculator Styles */
.calculator-box {
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 36px;
  margin-bottom: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--silver-300);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-row input,
.form-row select,
.form-row textarea {
  background: var(--carbon-900);
  border: 1px solid var(--glass-border);
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--pure-white);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--racing-orange);
  box-shadow: 0 0 0 3px rgba(242, 107, 56, 0.15);
}

.calc-result-banner {
  background: rgba(11, 13, 15, 0.9);
  border: 1px solid rgba(242, 107, 56, 0.4);
  padding: 24px 30px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cost-num {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--racing-orange);
  text-shadow: 0 0 20px var(--racing-orange-glow);
  margin-top: 4px;
}

/* Vehicle Detail Page Dossier Layout */
.detail-hero {
  padding: 40px 0 20px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 40px;
}

.detail-media-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--carbon-900);
  height: 440px;
}

.detail-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-quick-specs {
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 28px;
}

.spec-matrix-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.spec-matrix-card {
  background: var(--carbon-900);
  border: 1px solid var(--glass-border);
  padding: 14px 18px;
  border-radius: 8px;
}

.spec-matrix-card .lbl {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--silver-500);
  text-transform: uppercase;
}

.spec-matrix-card .val {
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--pure-white);
  margin-top: 4px;
}

.dossier-card {
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
}

.dossier-card h3 {
  font-size: 1.4rem;
  color: var(--pure-white);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.fault-item {
  background: var(--carbon-900);
  border-left: 4px solid var(--racing-orange);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 16px;
}

.fault-item strong {
  color: var(--pure-white);
  font-size: 1.05rem;
}

.fault-item p {
  color: var(--silver-400);
  font-size: 0.92rem;
  margin-top: 6px;
}

/* Contact Page Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}

.contact-card {
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 32px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-row label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--silver-300);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-msg {
  display: none;
  background: rgba(57, 229, 140, 0.12);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.92rem;
}

.dispatch-badge-card {
  background: var(--carbon-900);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.dispatch-pulse-dot {
  width: 12px;
  height: 12px;
  background: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--neon-green);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 18px var(--neon-green); }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Legal & Guide Content */
.legal-content,
.guide-article {
  background: var(--glass-card);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.legal-content h1,
.guide-article h1 {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--pure-white);
  margin-bottom: 12px;
}

.legal-content h2,
.guide-article h2 {
  font-size: 1.4rem;
  color: var(--pure-white);
  margin: 32px 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.legal-content p,
.guide-article p {
  color: var(--silver-300);
  margin-bottom: 18px;
  font-size: 1rem;
}

.legal-content ul,
.guide-article ul {
  padding-left: 24px;
  margin-bottom: 24px;
  color: var(--silver-300);
}

.legal-content li,
.guide-article li {
  margin-bottom: 8px;
}

.cookie-table,
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--carbon-900);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.cookie-table th,
.spec-table th,
.cookie-table td,
.spec-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.cookie-table th,
.spec-table th {
  background: var(--carbon-800);
  color: var(--silver-400);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.guide-callout {
  background: rgba(242, 107, 56, 0.08);
  border-left: 4px solid var(--racing-orange);
  padding: 18px 22px;
  border-radius: 0 8px 8px 0;
  margin: 20px 0;
  color: var(--silver-200);
}

/* Footer */
.site-footer {
  background: var(--carbon-950);
  border-top: 1px solid var(--carbon-800);
  padding: 70px 0 30px;
  margin-top: 80px;
  font-size: 0.9rem;
  color: var(--silver-400);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--pure-white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--silver-400);
}

.footer-col ul li a:hover {
  color: var(--racing-orange);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  max-width: 440px;
  background: rgba(16, 20, 24, 0.96);
  border: 1px solid var(--racing-orange);
  backdrop-filter: blur(16px);
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: none;
}

.cookie-content h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--pure-white);
}

.cookie-content p {
  font-size: 0.85rem;
  color: var(--silver-300);
  line-height: 1.45;
  margin-bottom: 16px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.cookie-actions button {
  padding: 9px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-cookie-accept {
  background: var(--racing-orange);
  color: #fff;
}

.btn-cookie-accept:hover {
  background: var(--racing-orange-hover);
}

.btn-cookie-reject {
  background: var(--carbon-700);
  color: var(--silver-300);
  border: 1px solid var(--glass-border) !important;
}

.btn-cookie-reject:hover {
  background: var(--carbon-600);
}

.btn-cookie-pref {
  background: transparent;
  color: var(--silver-400);
  font-size: 0.8rem;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .detail-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .cars-grid {
    grid-template-columns: 1fr;
  }
  .search-filter-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .calc-result-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .detail-media-wrap {
    height: 280px;
  }
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}