:root {
  --bg: #050506;
  --bg-soft: #0b0b0d;
  --panel: rgba(18, 18, 22, 0.72);
  --panel-strong: rgba(22, 22, 27, 0.92);
  --line: rgba(255, 255, 255, 0.10);
  --line-red: rgba(255, 45, 45, 0.42);
  --red: #ff2b2b;
  --red-2: #ff4d4d;
  --white: #ffffff;
  --muted: #a8a8b3;
  --muted-2: #777781;
  --green: #25d366;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 43, 43, 0.16), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(255, 43, 43, 0.08), transparent 22%),
    linear-gradient(180deg, #050506 0%, #09090b 48%, #050506 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 80%);
  z-index: -1;
}

a { color: inherit; }
button, select { font: inherit; }

.site-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 110px;
}

.glass {
  background: linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.025));
  border: 1px solid var(--line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(24px) saturate(145%);
  -webkit-backdrop-filter: blur(24px) saturate(145%);
}

.topbar {
  position: sticky;
  top: 10px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  letter-spacing: -0.035em;
  font-weight: 900;
  font-size: clamp(23px, 3vw, 34px);
}
.brand-hd { color: var(--red); font-style: italic; }
.brand-motorsports { color: var(--white); font-style: italic; }
.brand-sub {
  display: block;
  color: var(--muted);
  letter-spacing: .01em;
  font-size: 12px;
  margin-top: 2px;
  font-weight: 600;
}
.brand-wrap { line-height: .98; }

.header-action {
  min-width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  text-decoration: none;
  color: white;
  border: 1px solid rgba(255, 58, 58, 0.42);
  background: rgba(255, 32, 32, .07);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 24px rgba(255, 0, 0, .12);
}
.header-action svg { width: 20px; height: 20px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.08);
  background: #070708;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,5,6,.98) 0%, rgba(5,5,6,.90) 38%, rgba(5,5,6,.20) 70%, rgba(5,5,6,.02) 100%),
    linear-gradient(180deg, transparent 60%, rgba(5,5,6,.78) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 5vw, 58px);
  align-self: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 55, 55, .32);
  background: rgba(255, 43, 43, .075);
  border-radius: 999px;
  color: #ffb3b3;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .10em;
}

.hero h1 {
  margin: 18px 0 14px;
  max-width: 670px;
  font-size: clamp(50px, 7.8vw, 96px);
  line-height: .88;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}
.hero h1 span { color: var(--red); }
.hero p {
  margin: 0;
  max-width: 520px;
  color: #d5d5da;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}

.hero-media {
  min-height: 470px;
  background: #080809;
}
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center;
  filter: saturate(.95) contrast(1.08) brightness(.78);
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
  padding: 10px;
  border-radius: 20px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  color: #dedee3;
  font-size: 13px;
  font-weight: 750;
  border-right: 1px solid rgba(255,255,255,.08);
}
.feature:last-child { border-right: 0; }
.feature-badge {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  background: rgba(255, 43, 43, .08);
  border: 1px solid rgba(255,43,43,.20);
  flex: 0 0 auto;
}
.feature-badge svg { width: 16px; height: 16px; }

.search-panel {
  margin-top: 18px;
  padding: clamp(20px, 4vw, 34px);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.search-panel::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 43, 43, .10);
  filter: blur(60px);
  top: -100px;
  right: -50px;
}

.section-kicker {
  color: var(--red-2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 850;
}
.section-title {
  margin: 8px 0 6px;
  font-size: clamp(28px, 4vw, 45px);
  letter-spacing: -0.04em;
}
.section-desc {
  margin: 0 0 24px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.6;
}

.search-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 12px;
  align-items: end;
}
.form-group { min-width: 0; }
.form-group label {
  display: block;
  color: #c7c7cd;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: "⌄";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-54%);
  pointer-events: none;
  color: var(--muted);
  font-size: 20px;
}
select {
  width: 100%;
  min-height: 54px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(5, 5, 7, .72);
  color: white;
  padding: 0 42px 0 16px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  transition: .2s ease;
}
select:focus {
  border-color: rgba(255, 43, 43, .75);
  box-shadow: 0 0 0 4px rgba(255, 43, 43, .10);
}

.primary-btn, .wa-btn, .secondary-btn {
  min-height: 54px;
  border: 0;
  border-radius: 16px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 850;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.primary-btn {
  color: white;
  background: linear-gradient(135deg, #ff3131, #be0000);
  box-shadow: 0 14px 28px rgba(219, 0, 0, .24), inset 0 1px 0 rgba(255,255,255,.22);
  white-space: nowrap;
}
.primary-btn:hover, .wa-btn:hover, .secondary-btn:hover { transform: translateY(-1px); }
.primary-btn svg, .wa-btn svg, .secondary-btn svg { width: 18px; height: 18px; }

.info-note {
  margin: 18px 0 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.info-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px var(--red);
  margin-top: 7px;
  flex: 0 0 auto;
}

.contact-panel {
  margin-top: 18px;
  border-radius: var(--radius-xl);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 10px;
}
.contact-item {
  text-decoration: none;
  min-height: 74px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.025);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.contact-item strong { display: block; font-size: 14px; }
.contact-item span { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,43,43,.25);
  background: rgba(255,43,43,.07);
  color: var(--red);
  flex: 0 0 auto;
}
.contact-icon svg { width: 18px; height: 18px; }

.page-hero {
  margin-top: 6px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255,43,43,.10), transparent 42%);
  pointer-events: none;
}
.page-hero h1 {
  margin: 7px 0 6px;
  font-size: clamp(34px, 6vw, 60px);
  letter-spacing: -0.05em;
  line-height: .96;
}
.page-hero p { margin: 0; color: var(--muted); }

.filter-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.035);
  color: #d7d7dc;
  font-size: 12px;
  font-weight: 760;
}
.filter-chip b { color: var(--red-2); }

.results-wrap { margin-top: 20px; }
.results-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 14px;
}
.results-header h2 {
  margin: 0;
  font-size: clamp(24px, 4vw, 34px);
  letter-spacing: -0.04em;
}
.results-header p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.result-card {
  position: relative;
  padding: 20px;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 40px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.07);
}
.result-card::before {
  content: "";
  position: absolute;
  height: 2px;
  left: 18px;
  right: 46%;
  top: 0;
  background: linear-gradient(90deg, var(--red), transparent);
  box-shadow: 0 0 18px rgba(255,43,43,.65);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.card-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffaaaa;
  font-size: 11px;
  font-weight: 830;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}
.price {
  font-size: clamp(25px, 4vw, 34px);
  letter-spacing: -0.045em;
  font-weight: 900;
  white-space: nowrap;
}
.price small { font-size: .43em; color: var(--muted); letter-spacing: 0; }
.result-card h3 {
  margin: 18px 0 4px;
  font-size: clamp(21px, 3.5vw, 30px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.card-sub { margin: 0; color: var(--muted); font-size: 13px; }
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 18px 0;
}
.spec {
  padding: 11px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,255,255,.07);
}
.spec span { display: block; color: var(--muted-2); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; font-weight: 750; }
.spec strong { display: block; margin-top: 4px; color: #eaeaec; font-size: 13px; line-height: 1.35; }
.wa-btn {
  width: 100%;
  color: white;
  background: linear-gradient(135deg, #21c861, #0d9f47);
  box-shadow: 0 14px 30px rgba(11, 158, 71, .18);
}
.secondary-btn {
  color: white;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
}

.empty-state {
  text-align: center;
  padding: 48px 22px;
  border-radius: var(--radius-xl);
}
.empty-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: rgba(255,43,43,.08);
  border: 1px solid rgba(255,43,43,.18);
}
.empty-icon svg { width: 26px; height: 26px; }
.empty-state h2 { margin: 0 0 8px; }
.empty-state p { margin: 0 auto 18px; max-width: 560px; color: var(--muted); line-height: 1.6; }

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.mobile-nav {
  display: none;
}

.footer-note {
  margin: 20px 0 0;
  text-align: center;
  color: #666671;
  font-size: 11px;
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { min-height: 410px; display: flex; flex-direction: column; justify-content: center; }
  .hero-media { position: absolute; inset: 0; min-height: 0; }
  .hero-media img { min-height: 100%; }
  .hero::after {
    background: linear-gradient(90deg, rgba(5,5,6,.97), rgba(5,5,6,.72) 58%, rgba(5,5,6,.42)), linear-gradient(180deg, transparent 50%, #050506 100%);
  }
  .search-form { grid-template-columns: 1fr 1fr; }
  .search-form .form-group:last-of-type { grid-column: 1 / -1; }
  .search-form .primary-btn { grid-column: 1 / -1; }
  .contact-panel { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .site-shell { width: min(100% - 18px, 1180px); padding-top: 10px; padding-bottom: 104px; }
  .topbar { top: 6px; border-radius: 17px; padding: 11px 12px; }
  .brand { font-size: 24px; }
  .brand-sub { font-size: 10px; }
  .hero { border-radius: 22px; }
  .hero-copy { padding: 28px 22px; min-height: 420px; align-items: flex-start; }
  .hero h1 { font-size: clamp(48px, 17vw, 72px); max-width: 95%; }
  .hero p { font-size: 15px; max-width: 88%; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.07); }
  .feature:last-child { border-bottom: 0; }
  .search-panel, .page-hero { border-radius: 22px; padding: 20px 16px; }
  .search-form { grid-template-columns: 1fr; }
  .search-form .form-group:last-of-type,
  .search-form .primary-btn { grid-column: auto; }
  select, .primary-btn { min-height: 56px; }
  .results-grid { grid-template-columns: 1fr; }
  .result-card { border-radius: 19px; padding: 18px; }
  .results-header { align-items: flex-start; flex-direction: column; }
  .price { font-size: 28px; }
  .spec-grid { grid-template-columns: 1fr 1fr; }
  .contact-panel { padding: 12px; border-radius: 22px; }
  .mobile-nav {
    position: fixed;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: min(94%, 440px);
    padding: 8px;
    border-radius: 22px;
    background: rgba(12,12,15,.84);
    border: 1px solid rgba(255,255,255,.11);
    box-shadow: 0 20px 50px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }
  .mobile-nav a {
    min-height: 54px;
    border-radius: 16px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #b7b7bf;
    font-size: 10px;
    font-weight: 750;
  }
  .mobile-nav a.active {
    color: white;
    background: rgba(255,43,43,.11);
    border: 1px solid rgba(255,43,43,.22);
    box-shadow: 0 0 22px rgba(255,43,43,.10);
  }
  .mobile-nav svg { width: 18px; height: 18px; }
}

@media (max-width: 390px) {
  .spec-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 50px; }
}
