:root {
  --bg: #ffffff;
  --bg2: #f4f4f5;
  --card: #ffffff;
  --line: #e3e3e8;
  --text: #141416;
  --muted: #5c5c64;
  --accent: #e30613;
  --accent-deep: #b00510;
  --dark: #101012;
  --radius: 10px;
  --font-head: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 900; font-size: 22px; letter-spacing: 0.5px; color: var(--text); }
.logo sup { font-size: 10px; }
.logo-drop { font-size: 24px; }
.logo-light { color: #fff; }

.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 24px; cursor: pointer; margin-left: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s;
}
.btn:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
.btn-small { padding: 10px 20px; font-size: 13px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero.webp') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,16,18,0.5) 0%, rgba(16,16,18,0.78) 70%, rgba(16,16,18,0.95) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 60px 24px; max-width: 980px; color: #fff; }
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--accent);
  margin-bottom: 18px;
}
.hero .eyebrow { color: #ff5a64; }
.hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(38px, 6.5vw, 76px);
  line-height: 1.02;
  letter-spacing: -1px;
}
.accent { color: var(--accent); }
.hero .accent { color: #ff3b47; }
.hero-sub { color: #d7d7dc; font-size: 18px; max-width: 680px; margin: 22px auto 34px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: #d7d7dc; font-size: 22px; animation: bob 1.6s ease-in-out infinite; z-index: 2; }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 10px); } }

/* ---------- stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--dark);
  color: #fff;
  border-top: 4px solid var(--accent);
}
.stat { padding: 30px 12px; text-align: center; border-left: 1px solid #26262c; }
.stat:first-child { border-left: none; }
.stat-num { display: block; font-family: var(--font-head); font-weight: 900; font-size: 46px; color: #fff; }
.stat-num .stat-yr { font-size: 24px; color: var(--accent); }
.stat-label { font-size: 13px; text-transform: uppercase; letter-spacing: 2px; color: #a7a7b0; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section h2 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.04;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.section-sub { color: var(--muted); font-size: 18px; margin-bottom: 44px; max-width: 640px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(227,6,19,0.12); }
.card.featured { border: 2px solid var(--accent); }
.card-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #fff;
  background: var(--accent);
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 16px;
}
.card h3 { font-family: var(--font-head); font-weight: 800; font-size: 24px; letter-spacing: 0.5px; margin-bottom: 4px; }
.card-tier { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 12px; }
.card-desc { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.specs { list-style: none; border-top: 1px solid var(--line); }
.specs li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.specs li span:first-child { color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }
.specs li span:last-child { font-weight: 600; }
.footnote { color: var(--muted); font-size: 12px; margin-top: 28px; max-width: 720px; }

/* ---------- science ---------- */
.science { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.science-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.science-img img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,0.12); }
.feature { margin-bottom: 26px; padding-left: 20px; border-left: 4px solid var(--accent); }
.feature h4 { font-family: var(--font-head); font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- simulator ---------- */
#simulator { background: var(--dark); color: #fff; }
#simulator .section-sub { color: #a7a7b0; }
#simulator .eyebrow { color: #ff5a64; }
#simulator .footnote { color: #77777f; }
.sim-wrap { max-width: 900px; margin: 0 auto; }
.sim {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #2c2c32;
  aspect-ratio: 16/9;
  user-select: none;
}
.sim img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sim-after { z-index: 1; }
.sim-before-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 50%;
  overflow: hidden;
}
.sim-before-wrap img {
  width: 100vw;
  max-width: none;
  filter: grayscale(65%) brightness(0.62) contrast(0.92);
}
.sim-before { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.sim-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--accent);
  z-index: 3;
  cursor: ew-resize;
}
.sim-handle::after {
  content: '⇔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--accent);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.sim-label {
  position: absolute;
  top: 16px;
  z-index: 4;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 6px 12px;
  border-radius: 3px;
}
.sim-label-before { left: 16px; }
.sim-label-after { right: 16px; }
.sim-slider { width: 100%; margin-top: 18px; accent-color: var(--accent); cursor: pointer; }

/* ---------- care ---------- */
.care { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- dealers ---------- */
.dealers { background: #fff; }
.dealer-box { text-align: center; max-width: 700px; }
.dealer-sub { color: var(--muted); margin-bottom: 28px; }
.dealer-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.dealer-form input {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 4px;
  padding: 15px 20px;
  font-size: 16px;
  width: 220px;
  font-family: var(--font-body);
}
.dealer-form input:focus { outline: none; border-color: var(--accent); }
.dealer-result {
  margin-top: 28px;
  background: var(--bg2);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 24px;
  font-size: 16px;
}

/* ---------- quotes ---------- */
.quote-text { font-size: 18px; font-style: italic; margin-bottom: 16px; }
.quote-by { color: var(--accent); font-size: 13px; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }

/* ---------- faq ---------- */
.faq { background: var(--bg2); border-top: 1px solid var(--line); }
.faq-list { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  text-align: left;
  padding: 22px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q span { color: var(--accent); font-size: 26px; font-weight: 400; transition: transform 0.2s; }
.faq-item.open .faq-q span { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-a p { color: var(--muted); padding-bottom: 24px; font-size: 16px; }

/* ---------- contact ---------- */
.contact-box { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-form { display: grid; gap: 14px; margin-top: 10px; }
.contact-form input, .contact-form textarea {
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 16px;
  font-family: var(--font-body);
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-result {
  margin-top: 20px;
  background: var(--bg2);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px;
}

/* ---------- footer ---------- */
footer { background: var(--dark); color: #fff; padding: 52px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.disclaimer { color: #8b8b93; font-size: 13px; max-width: 720px; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
  .science-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid #26262c; }
  .stat:nth-child(-n+2) { border-top: none; }
}
@media (max-width: 760px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .section { padding: 64px 0; }
  .cards-4 { grid-template-columns: 1fr; }
}
