* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000;
  color: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: 90%;
  max-width: 1500px;
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
}

.header-nav {
  display: flex;
  gap: 28px;
}

.header-nav a {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.86);
  transition: opacity 0.25s ease;
}

.header-nav a:hover {
  opacity: 0.72;
}

/* HERO */
.chassis-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: end;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.8)),
    radial-gradient(circle at top right, rgba(130, 233, 255, 0.08), transparent 30%),
    radial-gradient(circle at bottom left, rgba(35, 255, 145, 0.06), transparent 26%),
    #070707;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.08), rgba(0,0,0,0.72)),
    linear-gradient(to right, rgba(0,0,0,0.62), rgba(0,0,0,0.18));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 92px 0 62px;
}

.eyebrow {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}

.chassis-hero h1 {
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 18px;
  max-width: 980px;
}

.hero-description {
  font-size: 20px;
  line-height: 1.7;
  max-width: 940px;
  color: rgba(255,255,255,0.82);
}

/* SUBNAV */
.subnav-section {
  padding: 34px 0 10px;
  background: #000;
}

.subnav-card {
  background: linear-gradient(180deg, #0d0d10 0%, #070707 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 30px;
}

.subnav-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 26px;
}

.subnav-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.62);
  margin-bottom: 10px;
}

.subnav-top h2 {
  font-size: 38px;
  letter-spacing: -1px;
}

.back-link {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
}

.back-link:hover {
  color: #fff;
}

.trim-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trim-tab {
  border: 1px solid rgba(255,255,255,0.14);
  background: transparent;
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.trim-tab:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.28);
}

.trim-tab.active {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* CONTENT */
.content-section {
  padding: 26px 0 90px;
}

.content-grid {
  display: block;
}

.main-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.content-card {
  background: linear-gradient(180deg, #0c0c0f 0%, #060606 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 34px;
}

.content-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.62);
  margin-bottom: 12px;
}

.panel-heading {
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}

.lead-text {
  font-size: 19px;
  line-height: 1.72;
  color: rgba(255,255,255,0.82);
}

/* EXPLORER */
.explorer-card {
  overflow: hidden;
}

.explorer-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 24px;
}

.explorer-lead {
  max-width: 920px;
}

.explorer-legend {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
  font-size: 13px;
  color: rgba(255,255,255,0.72);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 8px;
}

.legend-live {
  background: rgba(57,255,151,0.5);
  box-shadow: 0 0 12px rgba(57,255,151,0.35);
}

.legend-selected {
  background: #39ff97;
  box-shadow: 0 0 16px rgba(57,255,151,0.8);
}

.explorer-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
  align-items: start;
}

.explorer-visual-wrap {
  min-width: 0;
}

.explorer-visual {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255,255,255,0.08);
}

.explorer-car-image {
  position: absolute;
  width: 110%;
  height: 110%;
  object-fit: contain;
  top: -5%;
  left: -5%;
  z-index: 1;
}

/* HOTSPOTS */
.hotspot {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(0,255,120,0.4);
  background: rgba(0,255,120,0.08);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.25s ease;
  letter-spacing: 0.4px;
}

.hotspot:hover {
  background: rgba(0,255,120,0.25);
  border: 1px solid rgba(0,255,120,0.9);
  box-shadow: 0 0 15px rgba(0,255,120,0.5);
}

.active-hotspot {
  background: rgba(0,255,120,0.28) !important;
  border: 1px solid rgba(0,255,120,0.95) !important;
  box-shadow: 0 0 18px rgba(0,255,120,0.55);
}

/* hotspot positions */
.engine {
  top: 45%;
  right: 13%;
  width: 82px;
}

.interior {
  top: 40%;
  left: 45%;
}

.exhaust {
  bottom: 35%;
  left: 45%;
}

.brakes {
  bottom: 37%;
  left: 20%;
}

.suspension {
  bottom: 30%;
  right: 15%;
}

.fuel {
  bottom: 33%;
  left: 5%;
}

.lighting {
  top: 30%;
  left: 2%;
}

/* right panel */
.explorer-info {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 28px;
}

.info-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: rgba(57,255,151,0.84);
  margin-bottom: 12px;
}

.info-title {
  font-size: 34px;
  letter-spacing: -0.9px;
  margin-bottom: 14px;
}

.info-description {
  font-size: 17px;
  line-height: 1.78;
  color: rgba(255,255,255,0.82);
  margin-bottom: 22px;
}

.info-section-block + .info-section-block {
  margin-top: 22px;
}

.info-section-block h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 12px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-btn {
  border: 1px solid rgba(57,255,151,0.22);
  background: rgba(57,255,151,0.08);
  color: #d8ffe9;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
}

.pill-btn:hover {
  background: rgba(57,255,151,0.16);
  border-color: rgba(57,255,151,0.35);
}

.pill-btn.active {
  background: #39ff97;
  color: #000;
  border-color: #39ff97;
  box-shadow: 0 0 18px rgba(57,255,151,0.28);
}

/* VIDEO CARDS */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.video-grid {
  grid-template-columns: repeat(2, 1fr);
}

.guide-card {
  background: #0f0f12;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 22px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  border-color: rgba(57,255,151,0.28);
}

.guide-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  letter-spacing: -0.4px;
}

.guide-card p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin-bottom: 16px;
}

.video-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(57,255,151,0.09);
  color: #e7fff1;
  border: 1px solid rgba(57,255,151,0.2);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.22s ease;
}

.video-link:hover {
  background: rgba(57,255,151,0.16);
  border-color: rgba(57,255,151,0.42);
}

/* JOB DETAIL */
#systemDeepDive .lead-text {
  margin-bottom: 18px;
}

.job-detail-card {
  background: #0f0f12;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  padding: 26px;
}

.job-detail-top {
  margin-bottom: 22px;
}

.job-detail-top h3 {
  font-size: 30px;
  letter-spacing: -0.7px;
  margin-bottom: 10px;
}

.job-detail-top p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
}

.job-detail-section + .job-detail-section {
  margin-top: 24px;
}

.job-detail-section h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(255,255,255,0.72);
  margin-bottom: 12px;
}

/* tools now bullets */
.tools-list,
.step-list,
.source-list {
  list-style: none;
}

.tools-list li,
.source-list li {
  position: relative;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.84);
  margin-bottom: 10px;
}

.tools-list li::before,
.source-list li::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39ff97;
  opacity: 0.9;
  box-shadow: 0 0 10px rgba(57, 255, 151, 0.4);
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.step-list li {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 16px 18px;
  line-height: 1.75;
  color: rgba(255,255,255,0.84);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #39ff97;
  color: #000;
  font-size: 13px;
  font-weight: 800;
  margin-right: 10px;
  flex-shrink: 0;
}

.source-list a {
  color: #d8ffe9;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.embed-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
}

.embed-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.job-empty {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  line-height: 1.8;
}

/* RESPONSIVE */
@media (max-width: 1280px) {
  .explorer-layout {
    grid-template-columns: 1fr;
  }

  .video-grid,
  .guides-grid {
    grid-template-columns: 1fr;
  }

  .chassis-hero h1,
  .panel-heading {
    font-size: 54px;
  }
}

@media (max-width: 900px) {
  .header-inner,
  .subnav-top,
  .explorer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-nav {
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .chassis-hero {
    min-height: 360px;
  }

  .chassis-hero h1,
  .panel-heading {
    font-size: 38px;
    letter-spacing: -1.1px;
  }

  .hero-description,
  .lead-text,
  .info-description,
  .job-detail-top p,
  .tools-list li,
  .source-list li {
    font-size: 16px;
  }

  .subnav-top h2 {
    font-size: 30px;
  }

  .content-card {
    padding: 24px;
  }

  .trim-tab {
    width: 100%;
    text-align: center;
  }

  .explorer-visual {
    height: 390px;
  }

  .info-title {
    font-size: 28px;
  }

  .guide-card h3,
  .job-detail-top h3 {
    font-size: 24px;
  }

  .hotspot {
    font-size: 9px;
    padding: 5px 8px;
  }
}

