/* ZKE landing — single static stylesheet (no framework, CSP-friendly). */
:root {
  --bg: #0b1220;
  --bg-alt: #0f1729;
  --surface: #131c30;
  --border: #233048;
  --text: #e6ecf5;
  --muted: #9aa8c0;
  --accent: #4f8cff;
  --accent-2: #38e1c4;
  --radius: 14px;
  --max: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
code {
  background: rgba(255,255,255,.06);
  padding: 0 .35em;
  border-radius: 5px;
  font-size: .9em;
}
.visually-hidden, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: .85rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(11,18,32,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; }
.brand-mark { color: var(--accent-2); display: inline-flex; }
.brand-name { font-size: 1.2rem; letter-spacing: .02em; }
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; align-items: center; }
.site-nav a { color: var(--muted); font-size: .95rem; transition: color .15s; }
.site-nav a:hover { color: var(--text); }
.site-nav .nav-cta {
  color: var(--text);
  border: 1px solid var(--border);
  padding: .4rem .9rem;
  border-radius: 999px;
}
.site-nav .nav-cta:hover { border-color: var(--accent); }
.lang-switch select {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: .35rem .5rem;
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(3.5rem, 10vw, 7rem) clamp(1rem, 4vw, 2.5rem) clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(79,140,255,.18), transparent 60%),
    radial-gradient(900px 400px at 10% 0%, rgba(56,225,196,.12), transparent 55%);
  text-align: center;
}
.hero-inner { max-width: 820px; margin: 0 auto; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .78rem;
  color: var(--accent-2);
  margin: 0 0 1rem;
  font-weight: 600;
}
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); margin: 0 0 1.2rem; }
.lede { font-size: clamp(1.05rem, 2.5vw, 1.25rem); color: var(--muted); margin: 0 auto 2rem; max-width: 640px; }
.hero-actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  padding: 0;
  margin: 2.5rem 0 0;
}
.hero-badges li {
  font-size: .82rem;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .35rem .85rem;
  background: rgba(255,255,255,.02);
}

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  transition: transform .12s, box-shadow .2s, background .2s;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #6aa0ff);
  color: #06101f;
  box-shadow: 0 8px 30px rgba(79,140,255,.35);
}
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-lg { padding: .95rem 2.1rem; font-size: 1.05rem; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 2.5rem); }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: 0 0 .6rem; text-align: center; }
.section-lede { color: var(--muted); text-align: center; max-width: 620px; margin: 0 auto 2.5rem; }

/* ── Grids & cards ──────────────────────────────────────────────────────── */
.grid { display: grid; gap: 1.1rem; margin-top: 2.2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 { font-size: 1.15rem; margin: 0 0 .55rem; }
.card p { color: var(--muted); margin: 0; font-size: .97rem; }
.card-road { position: relative; }
.road-tag {
  display: inline-block;
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent-2);
  border: 1px solid rgba(56,225,196,.35);
  border-radius: 999px;
  padding: .15rem .6rem;
  margin-bottom: .8rem;
  font-weight: 600;
}

/* ── Steps ──────────────────────────────────────────────────────────────── */
.steps {
  list-style: none;
  padding: 0;
  margin: 2.2rem 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.steps li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
}
.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #06101f;
  font-weight: 800;
  margin-bottom: .9rem;
}
.steps h3 { font-size: 1.1rem; margin: 0 0 .5rem; }
.steps p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ── Product screenshots ────────────────────────────────────────────────── */
.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2.2rem; }
.shot { margin: 0; }
.shot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  display: block;
}
.shot figcaption { color: var(--muted); font-size: .88rem; margin-top: .7rem; text-align: center; }
.shot-ph {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.02) 0 12px, transparent 12px 24px),
    var(--surface);
}
@media (max-width: 860px) { .shots { grid-template-columns: 1fr; } }

/* ── CTA ────────────────────────────────────────────────────────────────── */
.cta-inner { text-align: center; }
.cta-mail { color: var(--muted); margin-top: 1.2rem; font-size: .95rem; }
.cta-mail a { color: var(--accent); }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 2rem clamp(1rem, 4vw, 2.5rem); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: .9rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .9rem;
}
.footer-tag { color: var(--muted); }
.footer-copy { margin-left: auto; }

/* ── Architecture / extra grids ─────────────────────────────────────────── */
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.flow-title { text-align: center; margin: 2.6rem 0 0; font-size: 1.2rem; }
.steps-flow { margin-top: 1.4rem; }
.section-narrow { max-width: 800px; }

/* ── Comparison table ───────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; margin-top: 2.2rem; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.compare thead th { color: var(--muted); font-weight: 600; font-size: .9rem; }
.compare td:not(:first-child), .compare th:not(:first-child) { text-align: center; }
.compare .yes { color: var(--accent-2); font-weight: 700; }
.compare .no { color: #5b6b86; }
.compare .part { color: #c9a14a; }
.compare .col-zke { background: rgba(79,140,255,.08); }
.compare thead .col-zke { color: var(--text); font-weight: 800; }

/* ── Requirements pills ─────────────────────────────────────────────────── */
.req-list {
  list-style: none; padding: 0; margin: 1.5rem auto 0;
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; max-width: 760px;
}
.req-list li {
  border: 1px solid var(--border); border-radius: 999px;
  padding: .5rem 1rem; color: var(--muted); font-size: .92rem;
  background: rgba(255,255,255,.02);
}

/* ── FAQ accordion (native <details>) ───────────────────────────────────── */
.faq { margin-top: 2.2rem; }
.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  margin-bottom: .7rem;
}
.faq summary {
  cursor: pointer;
  padding: 1rem 2.6rem 1rem 1.2rem;
  font-weight: 600;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%);
  color: var(--accent-2); font-size: 1.35rem; line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--muted); }

/* ── Lightbox (click a screenshot to enlarge) ───────────────────────────── */
.shot img { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 50;
  display: none; align-items: center; justify-content: center;
  background: rgba(4,8,16,.92);
  padding: 2rem; cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 95vw; max-height: 90vh; border-radius: 10px; border: 1px solid var(--border); }
.lightbox-close {
  position: absolute; top: .8rem; right: 1.2rem;
  color: #fff; font-size: 2.2rem; line-height: 1;
  background: none; border: none; cursor: pointer;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .site-nav { display: none; }
}
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }
