/* Car Accessory Hub — Industrial Modern, Neon Accent */
:root {
  --bg: #0f1014;
  --surface: #16181f;
  --surface-2: #1f222c;
  --ink: #ffffff;
  --muted: #8b909b;
  --neon: #d6ff3f;
  --neon-deep: #b8e032;
  --line: #2a2e39;
  --red: #ff4d4d;
  --max: 1320px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* Ticker */
.ticker {
  background: var(--neon);
  color: var(--bg);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
}
.ticker-track { display: inline-block; animation: tick 30s linear infinite; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker span { margin: 0 30px; }
.ticker .dot { color: var(--bg); opacity: .5; }

/* Nav */
.nav { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 48px; width: auto; }
.nav-links { display: flex; gap: 32px; font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; }
.nav-links a { color: var(--muted); transition: color .2s; padding: 6px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--neon); }

/* Hero */
.hero {
  position: relative;
  padding: 80px 32px 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero .container { max-width: var(--max); margin: 0 auto; position: relative; }
.hero-top {
  display: flex; justify-content: space-between;
  margin-bottom: 60px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.hero-top span { color: var(--neon); }
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(60px, 11vw, 180px);
  font-weight: 700;
  line-height: .85;
  letter-spacing: -4px;
  margin-bottom: 50px;
  text-transform: uppercase;
}
.hero h1 .accent { color: var(--neon); }
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  font-style: italic;
}
.hero-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  align-items: end;
}
.hero-bottom p { color: var(--muted); font-size: 16px; max-width: 400px; }
.hero-img-band {
  max-width: var(--max);
  margin: 60px auto 0;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  position: relative;
}
.hero-img-band > div { overflow: hidden; aspect-ratio: 16/10; background: var(--surface); }
.hero-img-band img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 28px;
  background: var(--neon);
  color: var(--bg);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  border: 2px solid var(--neon);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: transparent; color: var(--neon); transform: translateY(-2px); }
.btn .arrow { font-size: 18px; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Section base */
section { padding: 100px 32px; }
.container { max-width: var(--max); margin: 0 auto; }
.label {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--neon);
  font-weight: 700;
  padding: 6px 14px;
  border: 1px solid var(--neon);
  margin-bottom: 30px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -2px;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.section-title .accent { color: var(--neon); }
.section-intro { color: var(--muted); max-width: 600px; font-size: 17px; margin-bottom: 70px; }

/* Product Categories */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-tile {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s, transform .25s;
  display: flex; flex-direction: column;
  min-height: 380px;
}
.cat-tile:hover { border-color: var(--neon); transform: translateY(-6px); }
.cat-tile .num {
  position: absolute; top: 24px; right: 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; letter-spacing: 2px; color: var(--muted); font-weight: 600;
}
.cat-tile .icon-wrap {
  width: 64px; height: 64px;
  border: 1.5px solid var(--neon);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 30px;
  color: var(--neon);
}
.cat-tile h3 { font-family: 'Space Grotesk', sans-serif; font-size: 28px; font-weight: 700; text-transform: uppercase; line-height: 1.05; margin-bottom: 14px; letter-spacing: -.5px; }
.cat-tile p { color: var(--muted); font-size: 15px; flex: 1; margin-bottom: 20px; }
.cat-tile .arrow { font-family: 'Space Grotesk', sans-serif; font-size: 13px; letter-spacing: 2px; color: var(--neon); font-weight: 700; text-transform: uppercase; }

/* Product grid */
.products { background: var(--surface); }
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.prod {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 20px;
  transition: border-color .25s;
  position: relative;
}
.prod:hover { border-color: var(--neon); }
.prod .tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--neon); color: var(--bg);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 700;
  padding: 4px 8px;
}
.prod .tag.red { background: var(--red); color: var(--ink); }
.prod-img {
  aspect-ratio: 4/3;
  background: var(--surface-2);
  overflow: hidden;
  margin-bottom: 18px;
}
.prod-img img { width: 100%; height: 100%; object-fit: cover; }
.prod h4 { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.prod .sku { font-family: 'Space Grotesk', sans-serif; font-size: 11px; letter-spacing: 2px; color: var(--muted); margin-bottom: 16px; }
.prod .price-row { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.prod .price { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; color: var(--neon); }
.prod .stock { font-family: 'Space Grotesk', sans-serif; font-size: 11px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; }

/* Why us */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.why-card {
  border: 1px solid var(--line);
  padding: 32px 24px;
  background: var(--bg);
  transition: background .25s;
}
.why-card:hover { background: var(--surface); }
.why-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 48px; font-weight: 700; color: var(--neon);
  line-height: 1; margin-bottom: 24px;
  letter-spacing: -2px;
}
.why h4 { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; letter-spacing: -.3px; }
.why p { color: var(--muted); font-size: 14px; }

/* Garage / split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.split-content p { color: var(--muted); margin-bottom: 18px; font-size: 16px; }
.split-img { aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--line); position: relative; }
.split-img img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.05); }
.split-img::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--neon); transform: translate(12px, 12px); pointer-events: none; }

/* Brands marquee */
.brands {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 50px 32px;
  background: var(--surface);
}
.brands-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  align-items: center;
  text-align: center;
}
.brand-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
  transition: color .2s;
}
.brand-item:hover { color: var(--ink); }

/* Sub-page hero */
.sub-hero {
  padding: 100px 32px 80px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.sub-hero .container { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.sub-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(54px, 9vw, 140px); font-weight: 700; line-height: .9; letter-spacing: -3px; text-transform: uppercase; }
.sub-hero h1 .accent { color: var(--neon); }
.sub-hero p { color: var(--muted); font-size: 17px; max-width: 480px; }

/* Spec table */
.spec-table { margin-top: 60px; border-top: 1px solid var(--line); }
.spec-row {
  display: grid;
  grid-template-columns: 80px 1.2fr 1fr 100px;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  transition: background .2s;
}
.spec-row:hover { background: rgba(214,255,63,.03); }
.spec-row .id { font-size: 12px; letter-spacing: 2px; color: var(--neon); font-weight: 700; }
.spec-row .name { font-size: 18px; font-weight: 700; }
.spec-row .desc { font-size: 14px; color: var(--muted); }
.spec-row .price { font-size: 22px; font-weight: 700; color: var(--ink); text-align: right; }

/* CTA */
.cta {
  background: var(--neon);
  color: var(--bg);
  text-align: center;
}
.cta .label { color: var(--bg); border-color: var(--bg); }
.cta h2 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(48px, 8vw, 110px); font-weight: 700; letter-spacing: -3px; line-height: .9; text-transform: uppercase; margin-bottom: 36px; }
.cta .btn { background: var(--bg); color: var(--neon); border-color: var(--bg); }
.cta .btn:hover { background: transparent; color: var(--bg); border-color: var(--bg); }

/* Footer */
footer { background: #08090c; padding: 80px 32px 30px; border-top: 1px solid var(--line); }
.foot-grid { max-width: var(--max); margin: 0 auto 50px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; color: var(--neon); }
.foot-grid p, .foot-grid a { font-family: 'Space Grotesk', sans-serif; color: var(--muted); font-size: 14px; margin-bottom: 8px; display: block; }
.foot-grid a:hover { color: var(--neon); }
.foot-bottom { max-width: var(--max); margin: 0 auto; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-family: 'Space Grotesk', sans-serif; font-size: 12px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }

/* Legal */
.legal { max-width: 800px; margin: 0 auto; padding: 100px 32px; }
.legal h1 { font-family: 'Space Grotesk', sans-serif; font-size: 80px; font-weight: 700; letter-spacing: -3px; text-transform: uppercase; margin-bottom: 12px; }
.legal h1 .accent { color: var(--neon); }
.legal .updated { font-family: 'Space Grotesk', sans-serif; color: var(--muted); font-size: 12px; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 50px; }
.legal h2 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: -.5px; margin: 36px 0 12px; color: var(--neon); }
.legal p { color: var(--muted); margin-bottom: 18px; font-size: 16px; }

@media (max-width: 880px) {
  .hero-bottom, .split, .sub-hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-img-band, .cat-grid, .prod-grid, .why, .foot-grid, .brands-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { font-size: 11px; gap: 14px; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
  .spec-row .price { text-align: left; }
  section { padding: 70px 24px; }
}
