/* ============================================================
   SmartDPF Landing Page
   ============================================================ */

:root {
  --dark: #16191d;
  --dark-2: #1f242a;
  --steel: #2c333b;
  --light: #f5f6f7;
  --white: #ffffff;
  --accent: #0067fd;        /* SmartDPF logo blue */
  --accent-dark: #004ed6;
  --text: #2a2f35;
  --text-muted: #6b7480;
  --text-light: #aeb6bf;
  --radius: 10px;
  --heading: "Barlow Condensed", sans-serif;
  --body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--heading);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 700; margin-bottom: 0.5em; }
h3 { font-size: 1.35rem; font-weight: 700; }

.center { text-align: center; }

.eyebrow {
  font-family: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 2rem;
}
.section-lead.center { margin-left: auto; margin-right: auto; }

.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-sm { padding: 9px 20px; font-size: 0.95rem; }
.btn-lg { padding: 18px 44px; font-size: 1.2rem; }
.btn-block { width: 100%; border: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(22, 25, 29, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}
.logo {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
}
.logo span { color: var(--accent); }
.logo small {
  font-family: var(--body);
  font-weight: 500;
  font-size: 0.65rem;
  color: var(--text-light);
  text-transform: none;
  letter-spacing: 0.05em;
}
.header-nav { display: flex; gap: 28px; }
.header-nav a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s;
}
.header-nav a:hover { color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(0,103,253,0.18), transparent 60%),
    linear-gradient(100deg, rgba(22,25,29,0.94) 0%, rgba(22,25,29,0.72) 55%, rgba(22,25,29,0.45) 100%),
    url("../images/hero-truck.jpg") center 40% / cover no-repeat var(--dark);
  color: var(--white);
  padding: 96px 0 88px;
}
.hero-inner { display: block; }
.eyebrow-lg {
  font-size: 1.5rem;
  letter-spacing: 0.12em;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 2.75rem;
}
.hero-bottom .hero-proof { flex-wrap: nowrap; }
.hero-sub {
  font-size: 1.2rem;
  color: var(--text-light);
  margin: 1.25rem 0 2rem;
  max-width: 560px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-proof {
  display: flex;
  gap: 32px;
  list-style: none;
  flex-wrap: wrap;
}
.hero-proof li {
  font-size: 0.9rem;
  color: var(--text-light);
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}
.hero-proof strong {
  display: block;
  font-family: var(--heading);
  font-size: 1.5rem;
  color: var(--white);
}
.hero-badges {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-badges img {
  width: 185px;
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0,0,0,0.45));
}

/* ---------- What ---------- */
.what { padding: 88px 0; }
.what-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
.what-copy p { margin-bottom: 1rem; color: var(--text-muted); font-size: 1.05rem; }
.what-copy p strong { color: var(--text); }
.what-copy a { color: var(--accent); font-weight: 600; text-decoration: none; }
.what-copy a:hover { text-decoration: underline; }
.what-checklist {
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}
.what-checklist h3 { color: var(--accent); margin-bottom: 16px; }
.what-checklist ul { list-style: none; }
.what-checklist li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--text-light);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.98rem;
}
.what-checklist li:last-child { border-bottom: none; }
.what-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.what-checklist li strong { color: var(--white); }

/* ---------- How It Works ---------- */
.how { padding: 88px 0; background: var(--light); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 48px 0;
}
.how-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(22,25,29,0.06);
}
.how-num {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
}
.how-card h3 { margin-bottom: 8px; }
.how-card p { color: var(--text-muted); font-size: 0.98rem; }

.how-bottom {
  display: grid;
  grid-template-columns: 1.9fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1040px;
  margin: 0 auto;
}
.how-figure { text-align: center; }
.how-figure img {
  max-width: 100%;
  max-height: 230px;
}
.how-figure figcaption {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
}
.temp-compare {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--white);
}
.temp-compare h3 { color: var(--white); margin-bottom: 24px; }
.temp-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.temp-label {
  font-family: var(--heading);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  color: var(--text-light);
}
.temp-bar {
  height: 44px;
  width: var(--w);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 14px;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1.2rem;
  min-width: 90px;
}
.temp-bar.smart { background: linear-gradient(90deg, var(--accent-dark), var(--accent)); }
.temp-bar.oem { background: linear-gradient(90deg, #5a646f, #7b8794); }
.temp-note { color: var(--text-light); font-size: 0.95rem; margin-top: 8px; }

/* ---------- DPF Monitoring ---------- */
.monitor {
  background: var(--dark);
  color: var(--white);
  padding: 88px 0;
}
.monitor .section-lead { color: var(--text-light); }
.monitor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.monitor-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.monitor-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.monitor-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}
.monitor-disclaimer {
  text-align: center;
  color: var(--text-light);
  font-size: 0.85rem;
  margin-top: 40px;
}

/* ---------- Numbers band ---------- */
.numbers { background: var(--accent); padding: 56px 0; }
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.number {
  font-family: var(--heading);
  font-weight: 800;
  font-size: 3.4rem;
  color: var(--white);
  display: block;
  line-height: 1;
}
.number-label {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  display: block;
  margin-top: 8px;
}

/* ---------- Warranty ---------- */
.warranty { padding: 88px 0; }
.warranty-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.warranty-badge {
  flex-shrink: 0;
  width: 280px;
  height: auto;
}
.warranty-copy p { color: var(--text-muted); font-size: 1.1rem; max-width: 640px; }

/* ---------- Savings ---------- */
.savings {
  background:
    radial-gradient(900px 400px at 20% 120%, rgba(0,103,253,0.22), transparent 60%),
    linear-gradient(rgba(22,25,29,0.86) 0%, rgba(22,25,29,0.62) 100%),
    url("../images/fleet-parked.jpg") center 70% / cover no-repeat var(--dark);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}
.savings .section-lead { margin-left: auto; margin-right: auto; color: var(--text-light); }

/* ---------- Quote / Lead form ---------- */
.quote { padding: 88px 0; background: var(--light); }
.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}
.quote-copy > p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1.5rem; }
.quote-points { list-style: none; margin-bottom: 2rem; }
.quote-points li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: var(--text);
  font-weight: 500;
}
.quote-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.quote-brand-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  transition: opacity 0.15s;
}
.quote-brand-link:hover { opacity: 0.8; }
.quote-brand {
  width: 190px;
  height: auto;
  display: block;
}
.quote-contacts { display: flex; gap: 48px; flex-wrap: wrap; }
.quote-contacts h4 {
  font-family: var(--heading);
  text-transform: uppercase;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.quote-contacts a { color: var(--accent); font-weight: 600; text-decoration: none; }
.quote-contacts a:hover { text-decoration: underline; }
.quote-contacts p { color: var(--text-muted); font-size: 0.95rem; }

.lead-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 4px 24px rgba(22,25,29,0.08);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-field label {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1.5px solid #d5dae0;
  border-radius: 8px;
  background: var(--white);
  transition: border-color 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-field input.invalid,
.form-field select.invalid { border-color: #d64545; }
.form-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 12px;
}
.form-success {
  margin-top: 16px;
  background: #e8f7ee;
  border: 1px solid #4caf7d;
  color: #1e6b45;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 0.95rem;
}
.form-success a { color: #1e6b45; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: var(--text-light);
  padding: 56px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}
.logo-footer { font-size: 1.4rem; }
.logo-footer img { height: 34px; }
.footer-tag { font-size: 0.9rem; max-width: 360px; margin-top: 10px; }
.footer-contacts { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-contacts h4 {
  font-family: var(--heading);
  text-transform: uppercase;
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 6px;
}
.footer-contacts a { color: var(--accent); text-decoration: none; }
.footer-contacts a:hover { text-decoration: underline; }
.footer-contacts p { font-size: 0.9rem; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 0.82rem;
}
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--white); }
.footer-credits {
  font-size: 0.72rem;
  color: rgba(174,182,191,0.6);
  margin-top: 6px;
}
.footer-credits a { color: inherit; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner,
  .what-inner,
  .quote-inner,
  .how-bottom { grid-template-columns: 1fr; gap: 40px; }
  .hero-badges { flex-direction: row; justify-content: center; }
  .hero-badges img { width: min(240px, 45%); }
  .how-grid { grid-template-columns: 1fr; }
  .monitor-grid { grid-template-columns: repeat(2, 1fr); }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .warranty-inner { flex-direction: column; text-align: center; }
  .header-nav { display: none; }
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .numbers-grid { grid-template-columns: 1fr; }
  .monitor-grid { grid-template-columns: 1fr; }
  .hero { padding: 64px 0; }
  .temp-compare { padding: 28px 20px; }
  .temp-row { grid-template-columns: 1fr; gap: 6px; }
}
