@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@400;600;700&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --asphalt: #0c0c0e;
  --carbon: #161618;
  --steel: #1e1e22;
  --chrome: #9ca3af;
  --neon: #ff4500;
  --neon-glow: rgba(255,69,0,0.35);
  --white: #f0f0f0;
  --mid: #6b7280;
  --yellow: #fbbf24;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--asphalt); color: var(--white); overflow-x: hidden; }

#progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--neon); box-shadow: 0 0 10px var(--neon-glow); z-index: 9999; }

nav { position: sticky; top: 0; z-index: 100; background: rgba(12,12,14,0.96); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,69,0,0.2); padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 52px; }
.nav-breadcrumb { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--mid); letter-spacing: 0.1em; text-transform: uppercase; }
.nav-breadcrumb span { color: var(--neon); margin: 0 5px; }
.nav-tagline { font-family: 'Bebas Neue', sans-serif; font-size: 1rem; color: var(--neon); letter-spacing: 0.15em; }

.hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--asphalt); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 65% 50%, rgba(255,69,0,0.06) 0%, transparent 70%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='1' height='1' fill='rgba(255,255,255,0.02)'/%3E%3C/svg%3E"); background-size: 4px 4px; }
.speed-lines { position: absolute; inset: 0; background: repeating-linear-gradient(-8deg, transparent 0, transparent 60px, rgba(255,69,0,0.015) 60px, rgba(255,69,0,0.015) 62px); }
.road { position: absolute; bottom: 0; left: 0; right: 0; height: 100px; background: linear-gradient(180deg, transparent 0%, #0d0d0d 100%); }
.road::before { content: ''; position: absolute; bottom: 28px; left: 0; right: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--yellow) 0, var(--yellow) 40px, transparent 40px, transparent 80px); opacity: 0.5; }

.hero-moto-svg { position: absolute; bottom: 0; right: 0; width: 60%; max-width: 700px; filter: drop-shadow(0 0 60px rgba(255,69,0,0.2)); }
.hero-content { position: relative; z-index: 10; padding: 3rem 4rem 5rem; max-width: 640px; }
.hero-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; letter-spacing: 0.3em; color: var(--neon); text-transform: uppercase; margin-bottom: 1rem; }
.hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(4rem, 9vw, 8rem); line-height: 0.9; letter-spacing: 0.03em; color: var(--white); margin-bottom: 1rem; }
.hero h1 .accent { color: var(--neon); }
.hero-desc { font-size: 1rem; color: rgba(240,240,240,0.65); line-height: 1.7; max-width: 480px; margin-bottom: 2.5rem; }
.hero-stats { display: flex; gap: 2.5rem; }
.stat-item { text-align: center; }
.stat-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.5rem; letter-spacing: 0.05em; color: var(--neon); display: block; line-height: 1; filter: drop-shadow(0 0 8px var(--neon-glow)); }
.stat-label { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; letter-spacing: 0.15em; color: var(--mid); text-transform: uppercase; }

.rpm-gauge { position: absolute; top: 2rem; right: 3rem; width: 140px; height: 140px; z-index: 20; }

.content-wrapper { max-width: 1280px; margin: 0 auto; padding: 4rem 2rem; display: grid; grid-template-columns: 1fr 320px; gap: 3rem; }
@media (max-width: 900px) { .content-wrapper { grid-template-columns: 1fr; } .hero-moto-svg { opacity: 0.3; width: 100%; } .hero-content { padding: 2rem 1.5rem 3rem; } }

.section-block { margin-bottom: 3.5rem; opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.section-block.visible { opacity: 1; transform: translateY(0); }

.section-title { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; letter-spacing: 0.08em; color: var(--white); margin-bottom: 0.4rem; display: flex; align-items: center; gap: 0.75rem; }
.section-title .neon-bar { display: inline-block; width: 30px; height: 3px; background: var(--neon); box-shadow: 0 0 8px var(--neon-glow); flex-shrink: 0; }
.section-subtitle { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.2em; color: var(--mid); text-transform: uppercase; margin-bottom: 1.5rem; padding-left: calc(30px + 0.75rem); }
.prose { font-size: 0.98rem; line-height: 1.8; color: rgba(240,240,240,0.75); }
.prose strong { color: var(--neon); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.cat-card { background: var(--carbon); border: 1px solid rgba(255,69,0,0.15); border-top: 3px solid var(--neon); border-radius: 3px; padding: 1.25rem; transition: border-color 0.2s, transform 0.2s; }
.cat-card:hover { border-color: rgba(255,69,0,0.5); transform: translateY(-3px); }
.cat-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.15rem; letter-spacing: 0.06em; color: var(--neon); margin-bottom: 0.5rem; }
.cat-card p { font-size: 0.85rem; color: rgba(240,240,240,0.65); line-height: 1.6; }
.cat-card .sub { font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--mid); margin-top: 0.5rem; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: 0.88rem; }
.spec-table th { background: rgba(255,69,0,0.1); color: var(--neon); padding: 0.7rem 1rem; text-align: left; border-bottom: 2px solid rgba(255,69,0,0.3); font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; }
.spec-table td { padding: 0.7rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.04); color: rgba(240,240,240,0.75); }
.spec-table tr:hover td { background: rgba(255,69,0,0.05); }

.epi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.epi-card { background: var(--steel); border: 1px solid rgba(255,255,255,0.05); border-radius: 4px; padding: 1rem; text-align: center; }
.epi-card .icon { font-size: 2rem; margin-bottom: 0.5rem; display: block; }
.epi-card h4 { font-family: 'Bebas Neue', sans-serif; font-size: 0.95rem; letter-spacing: 0.05em; color: var(--white); margin-bottom: 0.4rem; }
.epi-card p { font-size: 0.78rem; color: var(--mid); line-height: 1.5; }

.timeline { position: relative; padding-left: 2.5rem; margin-top: 1.5rem; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--neon), transparent); }
.tl-item { position: relative; margin-bottom: 1.75rem; }
.tl-item::before { content: ''; position: absolute; left: -2.5rem; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--neon); border: 2px solid var(--asphalt); box-shadow: 0 0 0 2px var(--neon), 0 0 8px var(--neon-glow); }
.tl-year { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--neon); letter-spacing: 0.1em; margin-bottom: 0.25rem; }
.tl-text { font-size: 0.95rem; color: rgba(240,240,240,0.75); line-height: 1.6; }
.tl-text strong { color: var(--yellow); }

.accordion-item { border: 1px solid rgba(255,255,255,0.06); border-radius: 3px; margin-bottom: 0.75rem; overflow: hidden; }
.accordion-btn { width: 100%; background: var(--carbon); border: none; padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; cursor: pointer; color: rgba(240,240,240,0.9); font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 600; text-align: left; transition: background 0.2s; }
.accordion-btn:hover { background: rgba(255,69,0,0.08); }
.accordion-btn .acc-icon { color: var(--neon); font-size: 1.2rem; transition: transform 0.3s; }
.accordion-btn[aria-expanded="true"] .acc-icon { transform: rotate(45deg); }
.accordion-body { display: none; padding: 1.25rem; font-size: 0.92rem; color: rgba(240,240,240,0.65); line-height: 1.7; background: rgba(0,0,0,0.2); }
.accordion-body.open { display: block; }

.sidebar-block { background: var(--carbon); border: 1px solid rgba(255,255,255,0.06); border-radius: 4px; padding: 1.5rem; margin-bottom: 2rem; }
.sidebar-block h3 { font-family: 'Bebas Neue', sans-serif; font-size: 1.1rem; letter-spacing: 0.08em; color: var(--white); margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(255,69,0,0.2); }
.key-val { display: flex; justify-content: space-between; align-items: baseline; padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.key-val .k { font-family: 'JetBrains Mono', monospace; font-size: 0.72rem; color: var(--mid); letter-spacing: 0.06em; text-transform: uppercase; flex: 1; }
.key-val .v { font-size: 0.88rem; color: var(--white); font-weight: 600; text-align: right; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.75rem; }
.tag { font-family: 'JetBrains Mono', monospace; font-size: 0.65rem; padding: 3px 9px; border: 1px solid rgba(255,69,0,0.3); border-radius: 2px; color: var(--neon); letter-spacing: 0.06em; text-transform: uppercase; }

#back-top { position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px; background: var(--neon); color: #fff; border: none; border-radius: 3px; font-size: 1.1rem; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 0 20px var(--neon-glow); z-index: 200; transition: background 0.2s; }
#back-top:hover { background: #ff6a30; }
#back-top.show { display: flex; }

footer { border-top: 1px solid rgba(255,69,0,0.15); padding: 1.75rem 4rem; display: flex; justify-content: space-between; align-items: center; background: var(--carbon); font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--mid); letter-spacing: 0.08em; }
