:root {
  --black: #070707;
  --charcoal: #121316;
  --panel: #1b1c21;
  --white: #f8f6f2;
  --muted: rgba(248, 246, 242, 0.65);
  --red: #e10600;
  --red-dark: #9b0603;
  --yellow: #f3d13b;
  --line: rgba(248, 246, 242, 0.12);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

body {
  font-family: "Barlow Condensed", "Segoe UI", sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #101215 50%, #0b0b0d 100%);
  color: var(--white);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.site {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.chrome {
  background: #0d0d0f;
  border-bottom: 1px solid var(--line);
  padding: 12px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.65rem;
  color: var(--muted);
}

.chrome-dots {
  display: flex;
  gap: 6px;
}

.chrome-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.chrome-dots span:nth-child(2) {
  background: var(--yellow);
}

.chrome-dots span:nth-child(3) {
  background: #2fd081;
}

.navbar {
  background: #0b0b0d;
  border-bottom: 1px solid var(--line);
  padding: 18px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
}

.brand-mark {
  width: 16px;
  height: 16px;
  background: var(--red);
  transform: skewX(-20deg);
  box-shadow: 0 0 0 2px #0b0b0d, 0 0 0 3px var(--red);
}

.brand h1 {
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: 1.9rem;
  letter-spacing: 0.18em;
}

.nav-links {
  display: flex;
  gap: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

.nav-links a {
  padding: 6px 10px;
  border-bottom: 2px solid transparent;
  transition: 0.2s ease;
}

.nav-links a.active,
.nav-links a:hover {
  border-color: var(--red);
  color: var(--yellow);
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
}

.button {
  padding: 10px 16px;
  border: 1px solid var(--red);
  background: linear-gradient(120deg, var(--red), var(--red-dark));
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.button.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--white);
}

.hero {
  position: relative;
  padding: 70px 6vw 60px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 40px;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(225, 6, 0, 0.2), transparent 40%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.06), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

.hero-block {
  display: grid;
  gap: 18px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--yellow);
}

.hero-kicker span {
  width: 30px;
  height: 2px;
  background: var(--yellow);
}

.hero h2 {
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 0.92;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.6));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  box-shadow: var(--shadow);
  position: relative;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border: 2px solid rgba(225, 6, 0, 0.3);
  transform: skewX(-10deg);
}

.hero-card h3 {
  text-transform: uppercase;
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  color: var(--muted);
}

.section {
  padding: 60px 6vw;
}

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

.section-title {
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: 2.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-sub {
  color: var(--muted);
  max-width: 620px;
  line-height: 1.6;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 22px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(180deg, var(--red), transparent);
  opacity: 0.6;
}

.card h4 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.tag-row {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(225, 6, 0, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--yellow);
}

.strip {
  background: linear-gradient(120deg, #0e0f12 0%, #14161b 50%, #0b0b0d 100%);
  padding: 40px 6vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.strip::after {
  content: "";
  position: absolute;
  inset: -40px 60% -40px -10%;
  background: linear-gradient(120deg, rgba(225, 6, 0, 0.4), transparent 70%);
  transform: skewX(-15deg);
}

.strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}

.strip-panel {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 10px;
}

.strip-panel h3 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th,
.table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

.footer {
  margin-top: auto;
  background: #0b0b0d;
  border-top: 1px solid var(--line);
  padding: 24px 6vw 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  color: var(--muted);
}

.footer strong {
  color: var(--white);
}

.track-box {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
}

.track-box svg {
  width: 100%;
  height: 140px;
}

.chart {
  height: 160px;
  border-radius: 10px;
  background: linear-gradient(120deg, rgba(225, 6, 0, 0.35), rgba(243, 209, 59, 0.12));
  border: 1px solid rgba(243, 209, 59, 0.25);
}

.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
}

.result-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.result-panel h3 {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.result-kpi {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.kpi {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.kpi strong {
  display: block;
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  font-size: 2rem;
}

.track-panel {
  background: linear-gradient(150deg, rgba(225, 6, 0, 0.2), rgba(0, 0, 0, 0.6));
  border: 1px solid rgba(243, 209, 59, 0.3);
  border-radius: 12px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.track-panel::after {
  content: "SPA-FRANCORCHAMPS";
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-family: "Bebas Neue", "Barlow Condensed", sans-serif;
  letter-spacing: 0.18em;
  font-size: 1.1rem;
  opacity: 0.35;
}

.track-zoom {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.25);
}

.track-zoom svg {
  width: 100%;
  height: 240px;
}

.track-base {
  stroke: rgba(248, 246, 242, 0.18);
  stroke-width: 8;
  fill: none;
}

.track-highlight {
  stroke: var(--red);
  stroke-width: 10;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(225, 6, 0, 0.5));
  transition: stroke-dashoffset 0.6s ease;
  stroke-dasharray: 0 1000;
}

.track-label {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 10px 14px;
  background: rgba(10, 10, 12, 0.85);
  border-left: 3px solid var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.track-label.is-active {
  opacity: 1;
  transform: translateY(0);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
}

.timeline-item strong {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 960px) {
  .hero,
  .strip-inner {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .nav-links {
    flex-wrap: wrap;
  }

  .hero h2 {
    font-size: 2.6rem;
  }

  .result-grid {
    grid-template-columns: 1fr;
  }
}
