:root {
  --bg: #0e0f12;
  --bg-elev: #16181d;
  --bg-soft: #1d2027;
  --text: #f4f5f7;
  --muted: #9aa0ac;
  --accent: #ff6b1a;
  --accent-hover: #ff8540;
  --border: #2a2e38;
  --radius: 14px;
  --max: 1200px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14,15,18,.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  font-weight: 900; letter-spacing: .04em; font-size: 1.25rem;
}
.logo span { color: var(--accent); }
nav { display: flex; gap: 28px; }
nav a { color: var(--muted); font-weight: 500; transition: color .15s; font-size: .95rem; }
nav a:hover { color: var(--text); }
nav a.active { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 20px; border-radius: 999px; font-weight: 600;
  font-size: .92rem; transition: transform .15s, background .15s, border-color .15s;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
}
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-primary { background: var(--accent); color: #1a0d05; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--bg-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 120px 0 100px;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(255,107,26,.25), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(255,107,26,.10), transparent 55%),
    linear-gradient(180deg, #0e0f12 0%, #15171c 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?w=1600&q=80');
  background-size: cover; background-position: center;
  opacity: .18; mix-blend-mode: luminosity;
}
.eyebrow {
  display: inline-block; font-size: .8rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent); font-weight: 700;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.05; font-weight: 800; letter-spacing: -.02em;
  margin-bottom: 22px;
}
.lead {
  font-size: 1.15rem; color: var(--muted); max-width: 620px; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px; max-width: 560px;
}
.hero-stats > div {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.hero-stats strong { display: block; font-size: 1.6rem; font-weight: 800; }
.hero-stats span { color: var(--muted); font-size: .85rem; }

/* ---------- Sections ---------- */
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800; letter-spacing: -.01em; margin-bottom: 8px;
}
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  flex-wrap: wrap; gap: 16px; margin-bottom: 36px;
}
.link-arrow { color: var(--accent); font-weight: 600; }
.link-arrow:hover { color: var(--accent-hover); }

.features { padding: 100px 24px; }
.features .section-title { text-align: center; margin-bottom: 56px; }
.feature-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); border-color: var(--accent); }
.feature .icon {
  font-size: 1.8rem; width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(255,107,26,.12); color: var(--accent);
  border-radius: 12px; margin-bottom: 18px;
}
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- Bike Cards ---------- */
.featured { padding: 80px 0 100px; background: linear-gradient(180deg, transparent, rgba(255,107,26,.04)); }

.bike-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.bike-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, border-color .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.bike-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.bike-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #2a2e38, #16181d) center/cover no-repeat;
}
.bike-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tag {
  align-self: flex-start;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255,107,26,.12);
}
.bike-card h3 { font-size: 1.2rem; font-weight: 700; }
.bike-spec { color: var(--muted); font-size: .9rem; }
.bike-meta {
  list-style: none; display: flex; flex-wrap: wrap; gap: 6px;
  margin: 4px 0 8px;
}
.bike-meta li {
  font-size: .78rem; color: var(--muted);
  padding: 4px 10px; background: var(--bg-soft);
  border: 1px solid var(--border); border-radius: 999px;
}
.bike-desc {
  color: var(--muted); font-size: .92rem; line-height: 1.55;
  margin: 2px 0 6px;
}
.bike-specs {
  list-style: none; margin: 4px 0 12px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}
.bike-specs li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 6px 0; gap: 12px;
  font-size: .85rem;
  border-bottom: 1px dashed rgba(255,255,255,.04);
}
.bike-specs li:last-child { border-bottom: 0; }
.bike-specs li span { color: var(--muted); }
.bike-specs li strong { color: var(--text); font-weight: 600; text-align: right; }
.price-block {
  display: flex; flex-direction: column; gap: 2px;
}
.deposit {
  font-size: .75rem; color: var(--muted);
}
.bike-foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--border);
}
.price { font-size: 1.35rem; font-weight: 800; }
.price small { font-size: .8rem; color: var(--muted); font-weight: 500; }

/* ---------- CTA ---------- */
.cta {
  padding: 60px 0 100px;
}
.cta-inner {
  background: linear-gradient(135deg, rgba(255,107,26,.18), rgba(255,107,26,.04));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta h2 { font-size: 1.8rem; margin-bottom: 6px; }
.cta p { color: var(--muted); }

/* ---------- Catalogue page ---------- */
.page-header {
  padding: 80px 0 40px;
  background:
    radial-gradient(800px 300px at 80% 0%, rgba(255,107,26,.18), transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px;
}
.catalogue-section { padding: 50px 24px 100px; }

.filters {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px;
}
.filter {
  background: var(--bg-elev);
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 10px 18px; border-radius: 999px;
  font-size: .9rem; font-weight: 500; cursor: pointer;
  transition: all .15s;
}
.filter:hover { color: var(--text); border-color: var(--accent); }
.filter.active {
  background: var(--accent); color: #1a0d05;
  border-color: var(--accent); font-weight: 700;
}
.empty-state {
  text-align: center; color: var(--muted);
  padding: 60px 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0a0b0e;
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 40px;
}
.footer-grid h4 {
  font-size: .95rem; margin-bottom: 12px; font-weight: 700;
}
.muted { color: var(--muted); font-size: .9rem; }
.copyright {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--muted); font-size: .85rem;
}

/* ---------- Mobile Nav ---------- */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color .15s;
}
.menu-toggle span {
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.menu-toggle:hover { border-color: var(--accent); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--accent); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--accent); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 49;
  padding: 32px 24px;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  display: block;
  padding: 18px 8px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav .btn {
  margin-top: 24px;
  align-self: flex-start;
  border-bottom: none;
  padding: 14px 28px;
}
.mobile-nav .back-link {
  margin-top: auto;
  border-bottom: none;
  font-size: .85rem;
  color: var(--muted);
  padding-top: 32px;
}

.version-links {
  display: block;
  margin-top: 12px;
  font-size: .8rem;
  letter-spacing: .04em;
}
.version-links a {
  color: var(--muted);
  transition: color .15s;
}
.version-links a:hover { color: var(--accent); }
.version-links a.active { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .desktop-nav { display: none; }
  .desktop-cta { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 720px) {
  .hero { padding: 80px 0 70px; }
  .cta-inner { padding: 32px; }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
  .hero-stats strong { font-size: 1.2rem; }
}
