/* ============================================================
   Kaizo Auto — marketing site
   Dark "instrument-panel" theme: asphalt ground, signal-blue +
   lane-marking amber accents, dashed-lane motif, mono data type.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@600;700;800;900&family=Inter:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap");

:root {
  --bg: #090b0f;
  --bg-2: #0d1017;
  --surface: #12161e;
  --surface-2: #171c26;
  --line: #232a35;
  --line-soft: #1a212b;

  --ink: #eef2f8;
  --ink-mid: #b6c0cf;
  --ink-dim: #7c8798;

  --blue: #4c8dff;
  --blue-2: #2f6bff;
  --amber: #ffb020;
  --green: #35d07f;
  --orange: #ff9f0a;
  --red: #ff5a5f;

  --glow-blue: 0 0 0 1px rgba(76, 141, 255, 0.15), 0 24px 70px -20px rgba(47, 107, 255, 0.55);
  --radius: 18px;
  --radius-lg: 26px;
  --container: 1160px;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --display: "Archivo", var(--sans);
  --mono: "Space Mono", ui-monospace, "SF Mono", monospace;

  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; text-wrap: balance; }
p { margin: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

.lane {
  height: 3px; border-radius: 3px; border: 0;
  background-image: repeating-linear-gradient(90deg, var(--amber) 0 22px, transparent 22px 44px);
  opacity: 0.4;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, var(--blue), var(--blue-2));
  box-shadow: 0 10px 30px -8px rgba(47, 107, 255, 0.6);
}
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(47, 107, 255, 0.75); transform: translateY(-2px); }
.btn-ghost {
  color: var(--ink); background: var(--surface); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: #fff; }
.btn .stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.btn .stack small { font-size: 10px; font-weight: 500; opacity: 0.85; }
.btn .stack b { font-size: 15px; font-weight: 700; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 18px;
  height: 66px;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 18px; }
.logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: #fff; color: #0a0c10;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 20px;
  box-shadow: 0 6px 18px -6px rgba(0,0,0,0.8);
}
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-mid); font-size: 15px; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 9px 16px; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 40px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-bg .glow { position: absolute; border-radius: 50%; filter: blur(70px); }
.hero-bg .g1 { width: 620px; height: 620px; top: -280px; right: -160px; background: rgba(47,107,255,0.30); }
.hero-bg .g2 { width: 460px; height: 460px; bottom: -260px; left: -140px; background: rgba(255,176,32,0.12); }
.hero-bg .road {
  position: absolute; left: 50%; top: 8%; width: min(760px, 92vw); height: 120%;
  transform: translateX(-50%) perspective(680px) rotateX(58deg);
  transform-origin: top center;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
          mask-image: linear-gradient(to bottom, #000, transparent 72%);
  opacity: 0.5;
}
.hero-bg .road::before,
.hero-bg .road::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 2px;
  background-image: repeating-linear-gradient(to bottom, rgba(255,176,32,0.85) 0 40px, transparent 40px 88px);
  animation: lane 2.6s linear infinite;
}
.hero-bg .road::before { left: 30%; }
.hero-bg .road::after { left: 70%; }
@keyframes lane { to { background-position-y: 128px; } }
@media (prefers-reduced-motion: reduce) { .hero-bg .road::before, .hero-bg .road::after { animation: none; } }

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); font-weight: 900; }
.hero h1 .hl { color: transparent; background: linear-gradient(120deg, var(--blue), #7fb0ff); -webkit-background-clip: text; background-clip: text; }
.hero-sub { margin-top: 20px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--ink-mid); max-width: 54ch; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; }
.trust { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-dim); font-weight: 500; }
.trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

/* ---------- device mockup ---------- */
.stage { display: grid; place-items: center; position: relative; }
.device {
  width: 300px; flex: none;
  background: linear-gradient(160deg, #1c222c, #0c0f15);
  border-radius: 46px; padding: 12px;
  border: 1px solid #2a323e;
  box-shadow: var(--glow-blue), 0 50px 90px -40px rgba(0,0,0,0.9);
}
.device.tilt { transform: rotate(2.5deg); }
.screen { background: #0b0e13; border-radius: 36px; overflow: hidden; border: 1px solid #1d232d; }
.notch { display: flex; justify-content: center; padding: 9px 0 5px; }
.notch span { width: 90px; height: 6px; border-radius: 4px; background: #232a35; }
.scr-pad { padding: 8px 16px 20px; }
.scr-h { display: flex; align-items: center; gap: 9px; margin: 6px 0 4px; }
.scr-h .av { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; font-size: 17px; }
.scr-h b { font-family: var(--display); font-size: 15px; }
.scr-h small { color: var(--ink-dim); font-size: 11px; display: block; }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 12px; }
.tile { background: var(--surface-2); border: 1px solid var(--line); border-radius: 13px; padding: 11px; }
.tile .k { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-dim); }
.tile .v { font-family: var(--display); font-weight: 800; font-size: 18px; margin-top: 4px; }
.tile .v.blue { color: var(--blue); }

.qa { display: flex; gap: 8px; margin-top: 11px; }
.qa div { flex: 1; text-align: center; padding: 9px 0; border-radius: 11px; font-size: 10.5px; font-weight: 600; }
.qa .f { background: rgba(76,141,255,0.14); color: var(--blue); }
.qa .s { background: rgba(255,159,10,0.14); color: var(--orange); }
.qa .e { background: rgba(53,208,127,0.14); color: var(--green); }

.docrow { display: flex; align-items: center; gap: 10px; padding: 10px; margin-top: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; }
.docrow .di { flex: none; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,255,255,0.05); font-size: 14px; }
.docrow .dt { flex: 1; min-width: 0; }
.docrow .dt b { font-size: 12.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.docrow .dt small { color: var(--ink-dim); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.pill { flex: none; white-space: nowrap; font-family: var(--mono); font-size: 9px; font-weight: 700; padding: 4px 8px; border-radius: 999px; text-transform: uppercase; }
.pill.ok { color: var(--green); background: rgba(53,208,127,0.15); }
.pill.soon { color: var(--orange); background: rgba(255,159,10,0.16); }
.pill.exp { color: var(--red); background: rgba(255,90,95,0.16); }

/* ---------- section shells ---------- */
section { position: relative; padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 640px; margin: 0 auto clamp(34px, 5vw, 54px); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--ink-mid); font-size: 1.1rem; }

/* ---------- trust strip ---------- */
.strip { padding: 26px 0; border-block: 1px solid var(--line-soft); background: var(--bg-2); }
.strip-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 30px; }
.chip { display: inline-flex; align-items: center; gap: 9px; color: var(--ink-mid); font-size: 14px; font-weight: 500; }
.chip .ic { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; }

/* ---------- bento grid ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; position: relative; overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: #33404f; }
.card .ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-size: 20px; background: rgba(76,141,255,0.12); color: var(--blue); border: 1px solid rgba(76,141,255,0.2);
}
.card h3 { font-size: 1.25rem; margin-top: 16px; }
.card p { margin-top: 8px; color: var(--ink-mid); font-size: 0.97rem; }
.card.amber .ic { background: rgba(255,176,32,0.12); color: var(--amber); border-color: rgba(255,176,32,0.25); }
.card.green .ic { background: rgba(53,208,127,0.12); color: var(--green); border-color: rgba(53,208,127,0.25); }

.c-6 { grid-column: span 6; }
.c-4 { grid-column: span 4; }
.c-3 { grid-column: span 3; }
.c-2 { grid-column: span 2; }
.card.feature-hero { display: flex; flex-direction: column; }
.card.feature-hero .grow { flex: 1; min-height: 18px; }

.bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin-top: 18px; }
.bars i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--blue), rgba(76,141,255,0.25)); }
.donut {
  width: 120px; height: 120px; border-radius: 50%; margin: 14px auto 0;
  background: conic-gradient(var(--blue) 0 55%, var(--orange) 55% 74%, var(--green) 74% 100%);
  -webkit-mask: radial-gradient(circle 40px at center, transparent 98%, #000 100%);
          mask: radial-gradient(circle 40px at center, transparent 98%, #000 100%);
}

.widget { margin-top: 18px; background: #0d1119; border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.widget .wh { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.widget .wa { display: flex; gap: 8px; margin-top: 12px; }
.widget .wa div { flex: 1; text-align: center; font-size: 10px; font-weight: 600; padding: 10px 0; border-radius: 10px; background: rgba(255,255,255,0.05); }

/* ---------- alternating feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 72px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(60px, 8vw, 110px); }
.feature-row.rev .fr-media { order: -1; }
.fr-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.fr-copy p { margin-top: 16px; color: var(--ink-mid); font-size: 1.08rem; }
.fr-list { margin-top: 22px; padding: 0; display: grid; gap: 14px; }
.fr-list li { list-style: none; display: flex; gap: 12px; align-items: flex-start; }
.fr-list .tick { flex: none; width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; background: rgba(76,141,255,0.14); color: var(--blue); font-size: 12px; }
.fr-list b { font-weight: 600; }
.fr-list span { color: var(--ink-mid); }
.fr-media { display: grid; place-items: center; }

/* ---------- privacy band ---------- */
.privacy { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-block: 1px solid var(--line-soft); }
.privacy-inner { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; max-width: 900px; margin: 0 auto; }
.shield { width: 108px; height: 108px; border-radius: 28px; display: grid; place-items: center; font-size: 52px; background: rgba(53,208,127,0.1); border: 1px solid rgba(53,208,127,0.3); }
.privacy h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
.privacy p { margin-top: 14px; color: var(--ink-mid); font-size: 1.08rem; }

/* ---------- faq ---------- */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 6px 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 0; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--blue); font-size: 20px; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 16px; color: var(--ink-mid); }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta-box { position: relative; overflow: hidden; background: linear-gradient(140deg, #14203a, #0e1017); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px) 24px; }
.cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 90% at 50% -10%, rgba(47,107,255,0.35), transparent 70%); }
.cta-box > * { position: relative; }
.cta h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.cta p { margin-top: 14px; color: var(--ink-mid); font-size: 1.15rem; }
.cta .hero-actions { justify-content: center; margin-top: 30px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 46px 0 40px; background: var(--bg-2); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--ink-mid); font-size: 14.5px; }
.footer-links a:hover { color: var(--ink); }
.footer small { color: var(--ink-dim); font-size: 13px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   Privacy policy page
   ============================================================ */
.policy-page { padding: clamp(40px, 6vw, 72px) 0 60px; }
.policy-card {
  max-width: 820px; margin: 0 auto;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 48px);
}
.policy-card h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 10px 0 6px; }
.policy-card h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.policy-card p, .policy-card li { color: var(--ink-mid); }
.policy-card p { margin-top: 12px; }
.policy-card ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.policy-card a { color: var(--blue); }
.policy-card strong { color: var(--ink); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .stage { order: -1; }
  .feature-row, .feature-row.rev { grid-template-columns: 1fr; }
  .feature-row.rev .fr-media { order: 0; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .c-6, .c-4, .c-3, .c-2, .card.feature-hero { grid-column: span 2; grid-row: auto; }
  .privacy-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 14px 24px;
  }
  .nav-links.open a { padding: 8px 0; width: 100%; }
  .nav-toggle {
    display: inline-grid; place-items: center; margin-left: auto;
    width: 40px; height: 40px; border-radius: 10px; background: var(--surface);
    border: 1px solid var(--line); color: var(--ink); font-size: 18px; cursor: pointer;
  }
  .bento { grid-template-columns: 1fr; }
  .c-6, .c-4, .c-3, .c-2, .card.feature-hero { grid-column: span 1; }
}
