

:root {
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: #161c1b;
  background: #f5f7f4;
  font-synthesis: none;
  --ink: #111817;
  --muted: #65706d;
  --green: #58dd42;
  --green-dark: #1f9e31;
  --green-soft: #e9fbe6;
  --line: #dfe5df;
  --cream: #f5f7f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.site-shell {
  overflow: hidden;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(20, 29, 26, 0.1);
  backdrop-filter: blur(14px);
}

.topline {
  color: #c7d0ce;
  background: #111817;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topline-inner {
  display: flex;
  min-height: 28px;
  align-items: center;
  justify-content: space-between;
}

.topline-status {
  display: flex;
  gap: 8px;
  align-items: center;
}

.topline-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.nav {
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: space-between;
}

.brand,
.nav-links button,
.login,
.menu-button,
footer button {
  border: 0;
  background: none;
  cursor: pointer;
}

.brand {
  padding: 0;
}

.brand img {
  display: block;
  width: 154px;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links button {
  position: relative;
  padding: 26px 0;
  color: #3a4442;
  font-size: 13px;
  font-weight: 650;
}

.nav-links button::after {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--green-dark);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-links button:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.login {
  padding: 12px 9px;
  font-size: 13px;
  font-weight: 650;
}

.primary,
.outline-button,
.secondary-light,
.text-button,
.analyse-button {
  display: inline-flex;
  border: 0;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 750;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary {
  min-height: 50px;
  padding: 0 23px;
  color: #102010;
  background: var(--green);
  border-radius: 3px;
  box-shadow: 0 10px 30px rgba(43, 212, 57, 0.12);
}

.primary:hover {
  background: #6ee957;
  box-shadow: 0 13px 38px rgba(43, 212, 57, 0.23);
  transform: translateY(-2px);
}

.primary.compact {
  min-height: 41px;
  padding: 0 16px;
  font-size: 12px;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
}

.hero {
  position: relative;
  min-height: 820px;
  padding-top: 100px;
  color: white;
  background: #101514 url("/static/nexecu/img/hero-nexecu-v9.png") center/cover no-repeat;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 11, 0.98) 0%, rgba(8, 13, 11, 0.85) 45%, rgba(8, 13, 11, 0.37) 78%, rgba(8, 13, 11, 0.48) 100%),
    linear-gradient(0deg, rgba(4, 9, 7, 0.55), transparent 60%);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.15;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 656px;
  padding: 78px 0 88px;
  align-items: center;
  grid-template-columns: minmax(0, 1.15fr) minmax(370px, 0.72fr);
  gap: 72px;
}

.eyebrow {
  display: flex;
  margin-bottom: 17px;
  align-items: center;
  gap: 10px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.eyebrow.light {
  color: #7bef69;
}

.pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(88, 221, 66, 0.12);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(47px, 5.2vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero h1 span {
  display: block;
  margin-top: 9px;
  color: var(--green);
}

.hero-copy > p {
  max-width: 620px;
  margin: 29px 0 34px;
  color: #c9d0cd;
  font-size: 18px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 13px;
}

.hero-cta {
  min-height: 56px;
}

.secondary-light {
  min-height: 56px;
  padding: 0 24px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.04);
}

.secondary-light:hover {
  border-color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.09);
}

.hero-proof {
  display: flex;
  margin-top: 55px;
  gap: 0;
}

.hero-proof div {
  display: flex;
  padding: 0 29px;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-proof div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-proof strong {
  font-size: 21px;
}

.hero-proof span {
  margin-top: 5px;
  color: #929c99;
  font-size: 11px;
}

.analyser {
  padding: 25px;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 6px;
  background: rgba(250, 252, 249, 0.97);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.34);
}

.analyser-head {
  display: flex;
  margin-bottom: 20px;
  align-items: center;
  gap: 12px;
}

.status-icon {
  display: grid;
  width: 43px;
  height: 43px;
  color: #176d28;
  border-radius: 4px;
  background: var(--green-soft);
  place-items: center;
}

.analyser-head div:nth-child(2) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.analyser-head span {
  color: #77817e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.analyser-head strong {
  margin-top: 3px;
  font-size: 17px;
}

.analyser-head small {
  padding: 5px 7px;
  color: #1a7129;
  border: 1px solid #a6dca8;
  border-radius: 2px;
  background: #effbec;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.dropzone {
  display: flex;
  width: 100%;
  min-height: 154px;
  border: 1px dashed #a6b0ac;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--ink);
  border-radius: 3px;
  background: #f4f7f3;
  cursor: pointer;
}

.dropzone:hover,
.dropzone.has-file {
  border-color: #35ac3d;
  background: #effaed;
}

.dropzone input {
  display: none;
}

.upload-icon {
  display: grid;
  width: 43px;
  height: 43px;
  margin-bottom: 11px;
  color: #18722a;
  border-radius: 50%;
  background: #e2f7df;
  place-items: center;
}

.dropzone strong {
  max-width: 95%;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropzone > span:last-child {
  margin-top: 6px;
  color: #818a87;
  font-size: 10px;
}

.analyser-list {
  display: grid;
  margin: 17px 0;
  gap: 9px;
}

.analyser-list span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #58615f;
  font-size: 11px;
}

.analyser-list svg {
  color: #25a338;
}

.analyse-button {
  width: 100%;
  min-height: 47px;
  color: #132113;
  border-radius: 3px;
  background: var(--green);
  font-size: 12px;
}

.analyse-button:disabled {
  color: #7a817f;
  background: #dfe4df;
  cursor: not-allowed;
}

.privacy {
  margin: 10px 0 0;
  color: #929a97;
  font-size: 9px;
  text-align: center;
}

.brands-strip {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 15, 13, 0.83);
  backdrop-filter: blur(10px);
}

.brands {
  display: flex;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  color: #a7afac;
}

.brands span {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.03em;
  opacity: 0.7;
}

.section {
  padding: 105px 0;
}

.section-heading {
  margin-bottom: 47px;
}

.section-heading h2,
.modules-copy h2,
.confidence-copy h2,
.pricing-box h2,
.faq-intro h2 {
  margin: 0;
  font-size: clamp(35px, 4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.section-heading.split {
  display: grid;
  align-items: end;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 70px;
}

.section-heading.split > p,
.section-heading.centered > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.section-heading.centered {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading.centered p {
  margin-top: 17px;
}

.what {
  background: white;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 366px;
  padding: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #f8faf7;
}

.feature-card.dark-card {
  color: white;
  border-color: #18211f;
  background: var(--ink);
}

.feature-card.dark-card::after {
  position: absolute;
  right: -70px;
  bottom: -80px;
  width: 210px;
  height: 210px;
  content: "";
  border: 1px solid rgba(88, 221, 66, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(88, 221, 66, 0.03), 0 0 0 60px rgba(88, 221, 66, 0.02);
}

.feature-number {
  position: absolute;
  top: 31px;
  right: 31px;
  color: #cbd2ce;
  font-size: 11px;
  font-weight: 800;
}

.dark-card .feature-number {
  color: #4e5d59;
}

.feature-icon,
.vehicle-icon,
.process-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 27px;
  color: #16812b;
  border-radius: 4px;
  background: var(--green-soft);
  place-items: center;
}

.dark-card .feature-icon {
  color: var(--green);
  background: rgba(88, 221, 66, 0.12);
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
}

.feature-card > p {
  min-height: 68px;
  margin: 0;
  color: #6b7572;
  font-size: 13px;
  line-height: 1.7;
}

.dark-card > p {
  color: #a9b2af;
}

.feature-card ul {
  display: grid;
  margin: 24px 0 0;
  padding: 20px 0 0;
  gap: 10px;
  border-top: 1px solid var(--line);
  list-style: none;
}

.dark-card ul {
  border-color: #34403d;
}

.feature-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #505a57;
  font-size: 11px;
}

.dark-card li {
  color: #b1bbb7;
}

.feature-card li svg {
  color: #22a837;
}

.vehicles {
  background: var(--cream);
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.vehicle-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.vehicle-card:hover {
  border-color: #9fd79b;
  box-shadow: 0 16px 40px rgba(17, 31, 24, 0.08);
  transform: translateY(-5px);
}

.vehicle-card h3 {
  margin: 0 0 6px;
  font-size: 19px;
}

.vehicle-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 12px;
}

.vehicle-card > span {
  color: #238631;
  font-size: 11px;
  font-weight: 750;
}

.vehicle-card > svg {
  position: absolute;
  right: 25px;
  bottom: 25px;
  color: #a7b0ad;
}

.ecus {
  background: white;
}

.ecu-toolbar {
  display: flex;
  margin-bottom: 28px;
  align-items: center;
  justify-content: space-between;
}

.vehicle-tabs {
  display: flex;
  padding: 4px;
  border-radius: 4px;
  background: #eef1ed;
}

.vehicle-tabs button {
  min-height: 38px;
  padding: 0 20px;
  border: 0;
  color: #6b7471;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.vehicle-tabs button.active {
  color: var(--ink);
  background: white;
  box-shadow: 0 3px 10px rgba(23, 33, 29, 0.08);
}

.search {
  display: flex;
  width: 290px;
  height: 45px;
  padding: 0 14px;
  border: 1px solid var(--line);
  align-items: center;
  gap: 10px;
  border-radius: 3px;
}

.search svg {
  color: #87908d;
}

.search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 12px;
}

.ecu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.ecu-card {
  position: relative;
  min-height: 217px;
  padding: 23px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fbfcfa;
  transition: border 180ms ease, transform 180ms ease;
}

.ecu-card:hover {
  border-color: #83cf7d;
  transform: translateY(-3px);
}

.ecu-top,
.ecu-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.maker-logo {
  display: grid;
  width: 36px;
  height: 36px;
  color: #267d31 !important;
  border: 1px solid #b9dfb8;
  border-radius: 50%;
  background: #effaed;
  font-size: 10px !important;
  font-weight: 900 !important;
  place-items: center;
}

.ecu-top > span:last-child {
  color: #78827f;
  font-size: 9px;
  text-transform: uppercase;
}

.ecu-card > small {
  display: block;
  margin-top: 21px;
  color: #818b88;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.ecu-card h3 {
  margin: 4px 0 20px;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.ecu-meta {
  padding-top: 14px;
  border-top: 1px solid #e5e9e5;
}

.ecu-meta span {
  color: #7b8582;
  font-size: 10px;
}

.ecu-meta strong {
  color: #333d3a;
}

.ecu-arrow {
  color: #279637 !important;
}

.popular {
  position: absolute;
  top: 12px;
  right: -31px;
  width: 110px;
  padding: 3px 0;
  color: #186526;
  background: var(--green);
  font-size: 7px;
  letter-spacing: 0.1em;
  text-align: center;
  transform: rotate(45deg);
}

.outline-button {
  min-height: 48px;
  margin: 32px auto 0;
  padding: 0 20px;
  border: 1px solid #bdc6c2;
  border-radius: 3px;
  background: transparent;
  font-size: 11px;
}

.outline-button:hover {
  border-color: #269d36;
  background: var(--green-soft);
}

.empty-state {
  padding: 50px;
  color: var(--muted);
  border: 1px dashed var(--line);
  text-align: center;
}

.modules {
  color: white;
  background: #111817;
}

.modules-layout {
  display: grid;
  align-items: start;
  grid-template-columns: 0.76fr 1.24fr;
  gap: 95px;
}

.modules-copy h2 {
  margin-bottom: 23px;
}

.modules-copy > p {
  color: #a2aca9;
  font-size: 14px;
  line-height: 1.75;
}

.module-stat {
  display: flex;
  margin: 38px 0 30px;
  flex-direction: column;
}

.module-stat strong {
  color: var(--green);
  font-size: 38px;
}

.module-stat span {
  margin-top: 4px;
  color: #89938f;
  font-size: 11px;
}

.module-list {
  border-top: 1px solid #34403d;
}

.module-list button {
  display: grid;
  width: 100%;
  min-height: 67px;
  padding: 0 11px;
  border: 0;
  border-bottom: 1px solid #34403d;
  align-items: center;
  color: white;
  background: transparent;
  cursor: pointer;
  grid-template-columns: 42px 1fr auto 28px;
  text-align: left;
  transition: background 160ms ease;
}

.module-list button:hover {
  background: rgba(88, 221, 66, 0.06);
}

.module-index {
  color: #58635f;
  font-size: 9px;
}

.module-name {
  display: flex;
  flex-direction: column;
}

.module-name strong {
  font-size: 14px;
}

.module-name small {
  margin-top: 3px;
  color: #77817e;
  font-size: 9px;
}

.module-count {
  margin-right: 26px;
  color: #81908b;
  font-size: 10px;
}

.module-list button > svg {
  color: var(--green);
}

.process {
  background: var(--cream);
}

.process-grid {
  display: grid;
  margin-top: 68px;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
}

.process-card {
  position: relative;
  text-align: center;
}

.process-number {
  color: #c7ceca;
  font-size: 10px;
  font-weight: 800;
}

.process-icon {
  width: 62px;
  height: 62px;
  margin: 15px auto 20px;
  border: 1px solid #b8ddb8;
  border-radius: 50%;
  background: white;
}

.process-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.process-card p {
  max-width: 280px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.process-line {
  position: absolute;
  top: 50px;
  left: calc(50% + 55px);
  width: calc(100% - 40px);
  border-top: 1px dashed #b9c2bd;
}

.confidence {
  color: white;
  background: #1d2725;
}

.confidence-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.confidence-copy > p {
  margin-top: 22px;
  color: #a8b2af;
  line-height: 1.7;
}

.confidence-points {
  display: grid;
  gap: 14px;
}

.confidence-points > div {
  display: flex;
  padding: 21px;
  border: 1px solid #3d4845;
  align-items: center;
  gap: 16px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.025);
}

.confidence-points > div > span {
  display: grid;
  min-width: 40px;
  height: 40px;
  color: var(--green);
  border-radius: 3px;
  background: rgba(88, 221, 66, 0.1);
  place-items: center;
}

.confidence-points p {
  display: flex;
  margin: 0;
  flex-direction: column;
}

.confidence-points strong {
  font-size: 13px;
}

.confidence-points small {
  margin-top: 5px;
  color: #929c99;
  font-size: 10px;
}

.pricing {
  padding-top: 80px;
  padding-bottom: 80px;
  background: white;
}

.pricing-box {
  display: grid;
  padding: 58px 65px;
  align-items: center;
  color: white;
  border-radius: 6px;
  background: #121a18;
  grid-template-columns: 1fr auto;
  gap: 60px;
  box-shadow: inset 0 0 0 1px #29332f;
}

.pricing-box > div {
  max-width: 670px;
}

.pricing-box h2 {
  font-size: 41px;
}

.pricing-box p {
  margin: 17px 0 0;
  color: #aab3b0;
  font-size: 13px;
  line-height: 1.7;
}

.faq {
  background: white;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 100px;
}

.faq-intro p {
  margin: 20px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.text-button {
  padding: 5px 0;
  color: #1f8d31;
  background: transparent;
  font-size: 12px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item > button {
  display: flex;
  width: 100%;
  min-height: 76px;
  padding: 0;
  border: 0;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  text-align: left;
}

.faq-item button i {
  display: grid;
  width: 28px;
  height: 28px;
  color: #358941;
  border-radius: 50%;
  background: #edf8ec;
  font-size: 18px;
  font-style: normal;
  place-items: center;
}

.faq-item > div {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.faq-item > div > p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.faq-item.open > div {
  padding-bottom: 24px;
  grid-template-rows: 1fr;
}

footer {
  color: #c4cdca;
  background: #0d1312;
}

.footer-main {
  display: grid;
  padding-top: 70px;
  padding-bottom: 60px;
  grid-template-columns: 1.6fr 0.7fr 0.7fr 0.9fr;
  gap: 60px;
}

.footer-brand img {
  width: 158px;
}

.footer-brand p {
  max-width: 280px;
  margin-top: 20px;
  color: #747f7c;
  font-size: 12px;
  line-height: 1.7;
}

.footer-main > div:not(.footer-brand) {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

.footer-main strong {
  margin-bottom: 7px;
  color: white;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-main button,
.footer-main span {
  padding: 0;
  color: #7d8784;
  font-size: 11px;
  text-align: left;
}

.footer-main button:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  min-height: 62px;
  border-top: 1px solid #242c2a;
  align-items: center;
  justify-content: space-between;
  color: #56605d;
  font-size: 9px;
}

@media (max-width: 1050px) {
  .nav-links {
    gap: 18px;
  }

  .nav-links button {
    font-size: 11px;
  }

  .login {
    display: none;
  }

  .hero-content {
    gap: 35px;
    grid-template-columns: 1fr 390px;
  }

  .hero h1 {
    font-size: 53px;
  }

  .ecu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 34px, 680px);
  }

  .topline {
    display: none;
  }

  .nav {
    height: 67px;
  }

  .nav-links {
    position: absolute;
    top: 67px;
    right: 0;
    left: 0;
    display: none;
    padding: 18px 24px 27px;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
    background: white;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links button {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
    text-align: left;
  }

  .nav-links button::after {
    display: none;
  }

  .nav-actions .compact {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .hero {
    padding-top: 67px;
  }

  .hero-content {
    padding: 65px 0 110px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy .eyebrow,
  .hero-buttons,
  .hero-proof {
    justify-content: center;
  }

  .hero h1,
  .hero-copy > p {
    margin-right: auto;
    margin-left: auto;
  }

  .analyser {
    max-width: 500px;
    margin: 0 auto;
  }

  .feature-grid,
  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-heading.split {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .ecu-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modules-layout,
  .confidence-grid,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .process-grid {
    gap: 30px;
  }

  .process-line {
    display: none;
  }

  .pricing-box {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 580px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand img {
    width: 138px;
  }

  .section {
    padding: 77px 0;
  }

  .hero-content {
    padding-top: 52px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-proof {
    margin-top: 42px;
  }

  .hero-proof div {
    padding: 0 12px;
  }

  .hero-proof strong {
    font-size: 16px;
  }

  .hero-proof span {
    font-size: 8px;
  }

  .brands {
    overflow: hidden;
    gap: 30px;
  }

  .brands span {
    flex: 0 0 auto;
    font-size: 12px;
  }

  .section-heading h2,
  .modules-copy h2,
  .confidence-copy h2,
  .faq-intro h2 {
    font-size: 34px;
  }

  .feature-grid,
  .vehicle-grid,
  .ecu-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .ecu-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .vehicle-tabs {
    overflow: auto;
  }

  .vehicle-tabs button {
    flex: 1 0 auto;
  }

  .search {
    width: 100%;
  }

  .modules-layout {
    gap: 40px;
  }

  .module-count {
    display: none;
  }

  .module-list button {
    grid-template-columns: 35px 1fr 25px;
  }

  .pricing-box {
    padding: 38px 25px;
  }

  .pricing-box h2 {
    font-size: 33px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 40px 24px;
  }

  .footer-bottom {
    padding: 20px 0;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

/* Premium automotive experience */
.hero-content {
  display: flex;
  max-width: 1180px;
  align-items: center;
  grid-template-columns: none;
}

.hero-copy {
  max-width: 720px;
  animation: heroReveal 900ms cubic-bezier(0.2, 0.72, 0.2, 1) both;
}

.hero-features {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 15, 13, 0.83);
  backdrop-filter: blur(10px);
}

.hero-feature-grid {
  display: grid;
  min-height: 86px;
  align-items: center;
  grid-template-columns: repeat(4, 1fr);
}

.hero-feature {
  display: flex;
  height: 100%;
  padding: 0 24px;
  align-items: center;
  gap: 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-feature:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-feature > svg {
  min-width: 27px;
  color: var(--green);
}

.hero-feature span {
  display: flex;
  flex-direction: column;
}

.hero-feature strong {
  color: white;
  font-size: 11px;
}

.hero-feature small {
  margin-top: 4px;
  color: #7e8985;
  font-size: 9px;
}

.luxury {
  position: relative;
  padding-bottom: 0;
  overflow: hidden;
  color: white;
  background: #0b1110;
}

.luxury::before {
  position: absolute;
  top: -240px;
  left: 16%;
  width: 560px;
  height: 560px;
  content: "";
  border-radius: 50%;
  background: rgba(62, 202, 63, 0.09);
  filter: blur(100px);
}

.luxury-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
}

.luxury-heading > div:first-child {
  max-width: 710px;
}

.gallery-controls {
  display: flex;
  gap: 8px;
}

.gallery-controls button {
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid #394440;
  color: white;
  border-radius: 3px;
  background: #17201e;
  cursor: pointer;
  place-items: center;
  transition: border-color 180ms ease, background 180ms ease;
}

.gallery-controls button:first-child svg {
  transform: rotate(180deg);
}

.gallery-controls button:hover {
  border-color: var(--green);
  color: #142013;
  background: var(--green);
}

.luxury-track {
  display: flex;
  width: 100%;
  padding: 0 max(24px, calc((100vw - 1180px) / 2));
  overflow-x: auto;
  gap: 16px;
  scroll-behavior: smooth;
  scroll-padding-left: max(24px, calc((100vw - 1180px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.luxury-track::-webkit-scrollbar {
  display: none;
}

.luxury-card {
  position: relative;
  min-width: min(430px, 82vw);
  height: 520px;
  overflow: hidden;
  border: 1px solid #293330;
  border-radius: 4px;
  background: #131a18;
  scroll-snap-align: start;
}

.luxury-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.06);
  transition:
    transform 750ms cubic-bezier(0.2, 0.75, 0.2, 1),
    filter 500ms ease;
}

.luxury-card:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.065);
}

.luxury-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 10, 9, 0.12) 35%, rgba(6, 10, 9, 0.97) 100%);
}

.brand-marker {
  position: absolute;
  top: 22px;
  left: 22px;
  display: flex;
  height: 40px;
  padding: 0 13px 0 6px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  background: rgba(9, 14, 12, 0.68);
  backdrop-filter: blur(10px);
}

.brand-marker > span {
  display: grid;
  width: 27px;
  height: 27px;
  color: #153015;
  border-radius: 50%;
  background: var(--green);
  font-size: 11px;
  font-weight: 900;
  place-items: center;
}

.brand-marker small {
  color: white;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.luxury-info {
  position: absolute;
  right: 25px;
  bottom: 25px;
  left: 25px;
  display: grid;
  align-items: end;
  grid-template-columns: 35px 1fr;
}

.luxury-info > span {
  padding-bottom: 7px;
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.luxury-info small {
  color: #9ba5a1;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.luxury-info h3 {
  margin: 5px 0 0;
  font-size: 25px;
  letter-spacing: -0.03em;
}

.car-spec {
  display: flex;
  margin-top: 20px;
  padding: 15px 0 0 35px;
  gap: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  grid-column: 1 / -1;
}

.car-spec span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c6cecb;
  font-size: 10px;
}

.car-spec svg {
  color: var(--green);
}

.luxury-marquee {
  margin-top: 72px;
  padding: 24px 0;
  overflow: hidden;
  border-top: 1px solid #26302d;
  color: #4d5b57;
  white-space: nowrap;
}

.luxury-marquee > div {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 25px;
  animation: marquee 26s linear infinite;
}

.luxury-marquee span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.luxury-marquee i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 720ms ease,
    transform 720ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.feature-card:nth-child(2),
.vehicle-card:nth-child(2),
.ecu-card:nth-child(2),
.process-card:nth-child(2) {
  transition-delay: 90ms;
}

.feature-card:nth-child(3),
.vehicle-card:nth-child(3),
.ecu-card:nth-child(3),
.process-card:nth-child(3) {
  transition-delay: 180ms;
}

.vehicle-card:nth-child(4),
.ecu-card:nth-child(4) {
  transition-delay: 270ms;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 860px) {
  .hero {
    padding-bottom: 76px;
  }

  .hero-feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-feature {
    min-height: 66px;
  }

  .luxury-card {
    height: 470px;
  }
}

@media (max-width: 580px) {
  .hero-features {
    position: relative;
  }

  .hero-feature-grid {
    width: 100%;
  }

  .hero-feature {
    padding: 0 14px;
  }

  .hero-feature:nth-child(odd) {
    border-left: 0;
  }

  .hero-feature strong {
    font-size: 9px;
  }

  .hero-feature small {
    display: none;
  }

  .luxury-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }

  .luxury-card {
    min-width: 84vw;
    height: 440px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
