/* LockCar marketing site */
:root {
  --navy: #0f172a;
  --navy-2: #1e293b;
  --ink: #0b1220;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --soft: #f4f7fb;
  --green: #16a34a;
  --green-soft: #dcfce7;
  --amber: #b45309;
  --amber-soft: #fef3c7;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px -12px rgba(15, 23, 42, .18);
  --font-head: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); letter-spacing: -0.025em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.4vw, 4rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.12; font-weight: 800; }
h3 { font-size: 1.125rem; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font-family: var(--font-head);
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--text); max-width: 34rem; margin-top: 20px; }
.body-lg { font-size: 1.125rem; max-width: 36rem; margin-top: 16px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 10px;
  font: 600 .9688rem/1 var(--font-body); text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 1.0313rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -10px rgba(15, 23, 42, .7); }
.btn-primary:hover { background: var(--navy-2); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: #94a3b8; }
.btn-ghost { color: var(--ink); }
.btn-ghost:hover { background: var(--soft); }
.btn-light { background: #fff; color: var(--navy); margin-top: 28px; }
.btn-light:hover { background: #e2e8f0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--navy); text-decoration: none;
  font: 800 1.25rem/1 var(--font-head); letter-spacing: -0.03em;
}
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav { display: flex; gap: 4px; margin-left: 20px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 500; font-size: .9688rem; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.header-actions { margin-left: auto; display: flex; gap: 8px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60rem 30rem at 85% 10%, #e8f0ff 0%, transparent 60%),
    radial-gradient(40rem 24rem at 0% 100%, #eefbf3 0%, transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--muted); font-size: .9688rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.300l2.600 2.600L13 6.500' fill='none' stroke='%2316a34a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-glow {
  position: absolute; width: 84%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, #dbe7ff 0%, #eaf1ff 55%, transparent 100%);
}
.hero-phone { position: relative; width: min(520px, 100%); filter: drop-shadow(0 40px 50px rgba(15, 23, 42, .28)); }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px;
  background: #fff; color: var(--ink);
  font-weight: 600; font-size: .9063rem;
  box-shadow: var(--shadow); border: 1px solid var(--line);
  animation: float 6s ease-in-out infinite;
}
.chip svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-a { left: 0; top: 22%; }
.chip-b { right: 0; bottom: 20%; animation-delay: -3s; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22, 163, 74, .18); flex: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Sections */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 46rem; margin-bottom: clamp(32px, 4vw, 52px); }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }

.checks { margin: 28px 0 32px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink); font-weight: 500; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.500 11.300l3 3 6-6.300' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Demo card */
.demo {
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  padding: 22px; box-shadow: var(--shadow);
  max-width: 420px; width: 100%; justify-self: end;
}
.demo-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.demo-tag { font: 700 .75rem/1 var(--font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.demo-live { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; color: var(--green); }
.demo-car { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.demo-car svg { width: 64px; height: 32px; flex: none; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linejoin: round; }
.demo-name { font: 700 1.125rem/1.2 var(--font-head); color: var(--ink); }
.demo-sub { font-size: .9063rem; color: var(--muted); }
.demo-state {
  display: flex; align-items: center; gap: 14px;
  margin: 18px 0; padding: 16px; border-radius: 14px;
  background: var(--soft); transition: background-color .25s;
}
.demo-state strong { display: block; font: 700 1.0625rem/1.25 var(--font-head); color: var(--ink); }
.demo-state small { display: block; font-size: .875rem; color: var(--muted); }
.demo-icon {
  width: 46px; height: 46px; flex: none; border-radius: 12px;
  display: grid; place-items: center; background: var(--navy); color: #fff;
  transition: background-color .25s;
}
.demo-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.demo-icon .shackle { transform-origin: 16px 11px; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.demo-state[data-state="unlocked"] { background: var(--green-soft); }
.demo-state[data-state="unlocked"] .demo-icon { background: var(--green); }
.demo-state[data-state="unlocked"] .shackle { transform: rotate(32deg) translateY(-1px); }
.demo-state[data-state="busy"] { background: var(--amber-soft); }
.demo-state[data-state="busy"] .demo-icon { background: var(--amber); }
.demo-foot { margin-top: 12px; text-align: center; font-size: .8125rem; color: var(--muted); }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cbd5e1; }
.card-icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  display: grid; place-items: center; background: var(--navy); color: #fff;
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card p { margin-top: 8px; color: var(--text); font-size: 1rem; }

/* Dashboard (dark) */
.section-dark { background: var(--navy); color: #cbd5e1; position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(48rem 26rem at 100% 0%, rgba(59, 130, 246, .22), transparent 60%);
  pointer-events: none;
}
.section-dark .wrap { position: relative; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: #4ade80; }
.steps { display: grid; gap: 14px; }
.steps li {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 22px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
}
.step-n { font: 800 .9375rem/1.6 var(--font-head); color: #4ade80; letter-spacing: .04em; }
.steps p { margin-top: 4px; font-size: 1rem; color: #94a3b8; }

/* CTA band */
.band-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding: clamp(28px, 4vw, 48px); border-radius: 24px;
  background: linear-gradient(120deg, #eefbf3 0%, #e8f0ff 100%);
  border: 1px solid var(--line);
}
.band { padding: clamp(48px, 6vw, 80px) 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.contact-card h3 { font-size: 1.375rem; }
.contact-card p { margin: 8px 0 22px; }
.contact-card .contact-alt { margin: 16px 0 0; text-align: center; font-size: .9375rem; color: var(--muted); }
.contact-alt a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-row { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { color: var(--text); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.copyright { margin-left: auto; color: var(--muted); font-size: .9063rem; }

/* Scroll reveal (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .nav { display: none; }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid, .split, .contact { grid-template-columns: 1fr; }
  .hero-art { min-height: 0; margin-top: 8px; }
  .hero-phone { width: min(440px, 78vw); }
  .chip-a { left: 2%; top: 14%; }
  .chip-b { right: 2%; bottom: 14%; }
  .demo { justify-self: start; max-width: none; }
  .copyright { margin-left: 0; width: 100%; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .header-row { height: 60px; gap: 12px; }
  .brand { font-size: 1.125rem; }
  .brand-mark { width: 26px; height: 26px; }
  .header-actions .btn { height: 40px; padding: 0 12px; font-size: .9063rem; }
  .cards { grid-template-columns: 1fr; }
  .cta-row .btn { flex: 1 1 100%; }
  .band-inner .btn { width: 100%; }
  .chip { font-size: .8125rem; padding: 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .chip { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .demo-icon .shackle { transition: none; }
}
