/* =========================================================
   Zairon Labs — global stylesheet
   Design tokens + shared component styles for all pages
   ========================================================= */

:root {
  /* Brand colors */
  --zl-navy: #050E1F;
  --zl-navy-2: #081428;
  --zl-blue-deep: #0A1F44;
  --zl-blue-mid: #1B4FD8;
  --zl-blue-bright: #3B82F6;
  --zl-electric: #60A5FA;
  --zl-white: #F8FAFF;
  --zl-muted: #94A3B8;
  --zl-muted-2: #64748B;
  --zl-border: rgba(59, 130, 246, 0.15);
  --zl-border-strong: rgba(59, 130, 246, 0.4);
  --zl-glow: rgba(59, 130, 246, 0.08);
  --zl-live: #34D399;

  /* Type */
  --font-display: "Syne", "Inter", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Spacing & sizing */
  --max-width: 1200px;
  --section-pad: 100px;
  --section-pad-mobile: 64px;
  --gutter: 32px;
  --radius: 12px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--zl-navy);
  color: var(--zl-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--zl-electric);
  text-decoration: none;
  transition: color 160ms ease;
}
a:hover { color: var(--zl-blue-bright); }

::selection { background: rgba(27, 79, 216, 0.4); color: var(--zl-white); }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: clamp(44px, 6vw, 76px); font-weight: 800; }
h2 { font-size: clamp(32px, 4vw, 52px); }
h3 { font-size: clamp(22px, 2vw, 28px); }
h4 { font-size: 20px; }

p { margin: 0 0 1em; color: var(--zl-white); text-wrap: pretty; }
p.lead { font-size: 20px; color: var(--zl-muted); max-width: 60ch; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--zl-electric);
  margin-bottom: 20px;
}

.mono { font-family: var(--font-mono); }

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-pad) 0; position: relative; }
@media (max-width: 768px) {
  .section { padding: var(--section-pad-mobile) 0; }
}

.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(96, 165, 250, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 40%, rgba(0, 0, 0, 0.9), transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, rgba(0, 0, 0, 0.9), transparent 70%);
}

.glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  mix-blend-mode: screen;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 200ms ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn .arrow { transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--zl-blue-mid);
  color: var(--zl-white);
  box-shadow: 0 4px 24px rgba(27, 79, 216, 0.35);
}
.btn-primary:hover {
  background: var(--zl-blue-bright);
  color: var(--zl-white);
  box-shadow: 0 6px 32px rgba(59, 130, 246, 0.55);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--zl-electric);
  border-color: rgba(96, 165, 250, 0.4);
}
.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.08);
  color: var(--zl-white);
  border-color: var(--zl-electric);
}

.btn-ghost {
  background: transparent;
  color: var(--zl-electric);
  padding: 8px 0;
  position: relative;
}
.btn-ghost::after {
  content: "";
  position: absolute;
  left: 0; bottom: 4px;
  height: 1px; width: 0;
  background: currentColor;
  transition: width 220ms ease;
}
.btn-ghost:hover::after { width: 100%; }

/* ---------- Cards ---------- */

.card {
  background: var(--zl-blue-deep);
  border: 1px solid var(--zl-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 240ms ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  border-color: var(--zl-border-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.1);
}

.card-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 14px;
  color: var(--zl-electric);
}

/* ---------- Badges & tags ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--zl-electric);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge-live {
  background: rgba(52, 211, 153, 0.12);
  color: var(--zl-live);
}
.badge-live .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--zl-live);
  box-shadow: 0 0 8px var(--zl-live);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: var(--zl-electric);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Navigation ---------- */

.zl-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: transparent;
  transition: background 220ms ease, backdrop-filter 220ms ease, padding 220ms ease, border-color 220ms ease;
  border-bottom: 1px solid transparent;
}
.zl-nav.scrolled {
  background: rgba(5, 14, 31, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  border-bottom-color: var(--zl-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--zl-white);
}
.nav-logo:hover { color: var(--zl-white); }
.nav-logo-mark {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--zl-blue-mid), var(--zl-electric));
  display: grid;
  place-items: center;
  color: var(--zl-white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 0 16px rgba(59, 130, 246, 0.5);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  color: var(--zl-muted);
  font-weight: 500;
  font-size: 15px;
  border-radius: 6px;
  transition: all 160ms ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--zl-white); background: rgba(255, 255, 255, 0.04); }
.nav-links li { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  background: rgba(10, 31, 68, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid var(--zl-border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: all 180ms ease;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.nav-links li:hover > .nav-dropdown,
.nav-links li:focus-within > .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--zl-white);
}
.nav-dropdown a small {
  display: block;
  color: var(--zl-muted);
  font-size: 12px;
  margin-top: 2px;
  font-weight: 400;
}

.nav-live-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--zl-live);
  box-shadow: 0 0 8px var(--zl-live);
  margin-left: 4px;
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.nav-cta { margin-left: auto; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--zl-border);
  color: var(--zl-white);
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(360px, 86vw);
    background: var(--zl-navy);
    border-left: 1px solid var(--zl-border);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 40px;
    transform: translateX(100%);
    transition: transform 280ms ease;
    gap: 4px;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 14px 12px; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding-left: 12px;
  }
  .nav-cta { margin-left: 0; margin-top: 20px; }
}

/* ---------- Footer ---------- */

.zl-footer {
  background: #03091A;
  border-top: 1px solid var(--zl-border);
  padding: 80px 0 40px;
  margin-top: 120px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-grid h5 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--zl-electric);
  margin: 0 0 18px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid li a { color: var(--zl-muted); font-size: 14px; }
.footer-grid li a:hover { color: var(--zl-white); }
.footer-brand p { color: var(--zl-muted); font-size: 14px; max-width: 32ch; }
.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--zl-border);
  border-radius: 8px;
  color: var(--zl-muted);
}
.footer-socials a:hover { color: var(--zl-white); border-color: var(--zl-border-strong); }
.footer-bottom {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--zl-border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--zl-muted);
  font-size: 13px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 80ms; }
.reveal.delay-2 { transition-delay: 160ms; }
.reveal.delay-3 { transition-delay: 240ms; }
.reveal.delay-4 { transition-delay: 320ms; }

/* ---------- Common helpers ---------- */

.text-muted { color: var(--zl-muted); }
.text-electric { color: var(--zl-electric); }

.kicker-line {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono);
  color: var(--zl-electric);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.kicker-line::before {
  content: ""; height: 1px; width: 32px; background: currentColor;
}

/* ---------- Two column section ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Service cards ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; } }

.service-card .icon {
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid var(--zl-border);
  display: grid; place-items: center;
  color: var(--zl-electric);
  margin-bottom: 24px;
}

/* ---------- Process / steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 28px; left: 12%; right: 12%;
  height: 1px;
  background-image: linear-gradient(to right, var(--zl-border-strong) 50%, transparent 50%);
  background-size: 12px 1px;
  z-index: 0;
}
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
}
.step { position: relative; z-index: 1; }
.step-num {
  font-family: var(--font-mono);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--zl-blue-deep);
  border: 1px solid var(--zl-border-strong);
  display: grid; place-items: center;
  color: var(--zl-electric);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.step h4 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--zl-muted); font-size: 15px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero .glow-1 {
  width: 700px; height: 700px;
  top: -200px; left: -200px;
  background: radial-gradient(circle, rgba(27, 79, 216, 0.4), transparent 60%);
}
.hero .glow-2 {
  width: 500px; height: 500px;
  bottom: -150px; right: -100px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.25), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { min-height: auto; padding: 130px 0 80px; }
}
.hero h1 {
  margin-bottom: 28px;
}
.hero h1 .gradient {
  background: linear-gradient(120deg, var(--zl-white) 0%, var(--zl-electric) 60%, var(--zl-blue-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { font-size: 19px; margin-bottom: 36px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-line {
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade 700ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
@keyframes hero-fade { to { opacity: 1; transform: translateY(0); } }

/* ---------- Terminal visual ---------- */

.terminal {
  background: linear-gradient(180deg, #0B1932 0%, #07101F 100%);
  border: 1px solid var(--zl-border);
  border-radius: 14px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(59, 130, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.7;
  position: relative;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--zl-border);
}
.terminal-bar .dots { display: flex; gap: 6px; }
.terminal-bar .dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.terminal-bar .dot.r { background: #FF5F56; }
.terminal-bar .dot.y { background: #FFBD2E; }
.terminal-bar .dot.g { background: #27C93F; }
.terminal-bar .label {
  margin-left: 10px;
  color: var(--zl-muted);
  font-size: 12px;
}
.terminal-body {
  padding: 22px 22px 28px;
  min-height: 360px;
  max-height: 460px;
  overflow: hidden;
  position: relative;
}
.terminal-body::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, #07101F);
  pointer-events: none;
}
.t-line { white-space: pre-wrap; word-break: break-word; }
.t-prompt { color: var(--zl-electric); }
.t-key { color: #C084FC; }
.t-str { color: #86EFAC; }
.t-fn { color: #FBBF24; }
.t-com { color: var(--zl-muted-2); }
.t-out { color: var(--zl-muted); }
.t-ok { color: var(--zl-live); }
.cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--zl-electric);
  vertical-align: -2px;
  animation: blink 1s steps(2) infinite;
  margin-left: 2px;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Logo bar ---------- */

.logo-bar {
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.04), transparent);
  border-top: 1px solid var(--zl-border);
  border-bottom: 1px solid var(--zl-border);
  padding: 36px 0;
}
.logo-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.logo-bar-label {
  font-family: var(--font-mono);
  color: var(--zl-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}
.logo-row .logo {
  color: var(--zl-muted);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-size: 17px;
  opacity: 0.7;
  display: inline-flex; align-items: center; gap: 8px;
  transition: opacity 200ms ease, color 200ms ease;
}
.logo-row .logo:hover { opacity: 1; color: var(--zl-white); }

/* ---------- Section heading block ---------- */

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--zl-muted); font-size: 18px; }

/* ---------- Products section spotlight ---------- */

.products-spotlight {
  background: linear-gradient(180deg, var(--zl-blue-deep) 0%, #0E2956 100%);
  position: relative;
  overflow: hidden;
}
.products-spotlight::before {
  content: "";
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, var(--zl-navy) 0%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, 100% 30%, 0 90%);
}
.products-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 1024px) { .products-grid { grid-template-columns: 1fr; } }

.product-feature {
  background: rgba(5, 14, 31, 0.6);
  border: 1px solid var(--zl-border-strong);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.product-feature::after {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.2), transparent 60%);
  pointer-events: none;
}
.product-feature h3 {
  font-family: var(--font-display);
  font-size: 38px;
  margin: 18px 0 8px;
}
.product-feature .tagline {
  color: var(--zl-electric);
  font-family: var(--font-mono);
  font-size: 14px;
  margin-bottom: 18px;
}

.product-soon {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.soon-card {
  border: 1px dashed var(--zl-border-strong);
  border-radius: 12px;
  padding: 22px;
  background: rgba(10, 31, 68, 0.4);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}
.soon-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(96, 165, 250, 0.06) 50%, transparent 70%);
  background-size: 200% 100%;
  animation: shimmer 4s linear infinite;
  pointer-events: none;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.soon-card h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--zl-white);
  filter: blur(0.4px);
}
.soon-card p {
  color: var(--zl-muted);
  font-size: 14px;
  margin: 0;
}
.soon-status {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--zl-electric);
  margin-top: 12px;
  display: inline-block;
}

.waitlist-card {
  background: var(--zl-blue-deep);
  border: 1px solid var(--zl-border);
  border-radius: 12px;
  padding: 22px;
}
.waitlist-card label {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--zl-electric);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.waitlist-card form {
  display: flex; gap: 8px; margin-top: 12px;
}
.waitlist-card input {
  flex: 1;
  background: var(--zl-navy);
  border: 1px solid var(--zl-border);
  border-radius: 6px;
  color: var(--zl-white);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}
.waitlist-card input:focus { border-color: var(--zl-electric); }
.waitlist-card button {
  background: var(--zl-blue-mid);
  color: var(--zl-white);
  border: none;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 14px;
}
.waitlist-card button:hover { background: var(--zl-blue-bright); }
.waitlist-card .ok { color: var(--zl-live); font-size: 13px; margin-top: 10px; display: none; }
.waitlist-card.success .ok { display: block; }

/* ---------- Capability list ---------- */

.cap-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 28px;
}
@media (max-width: 600px) { .cap-list { grid-template-columns: 1fr; } }
.cap-list li {
  display: flex; align-items: flex-start; gap: 12px;
  color: var(--zl-white);
  font-size: 15px;
}
.cap-list li::before {
  content: "✦";
  color: var(--zl-electric);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------- Why grid ---------- */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }
.why-item .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.1);
  display: grid; place-items: center;
  color: var(--zl-electric);
  margin-bottom: 18px;
}
.why-item h4 { font-size: 20px; margin-bottom: 10px; }
.why-item p { color: var(--zl-muted); }

/* ---------- Testimonials ---------- */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }
.testi-card { padding: 32px; }
.testi-card blockquote {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--zl-white);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.testi-author {
  display: flex; align-items: center; gap: 12px;
}
.testi-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--zl-blue-mid), var(--zl-electric));
  display: grid; place-items: center;
  color: var(--zl-white);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 15px;
}
.testi-author .meta { font-size: 14px; }
.testi-author .meta .name { color: var(--zl-white); font-weight: 600; }
.testi-author .meta .role { color: var(--zl-muted); }

/* ---------- Final CTA ---------- */

.final-cta {
  position: relative;
  background: radial-gradient(ellipse at top, rgba(27, 79, 216, 0.4), transparent 65%), var(--zl-blue-deep);
  border-top: 1px solid var(--zl-border);
  border-bottom: 1px solid var(--zl-border);
  text-align: center;
  padding: 120px 0;
  overflow: hidden;
}
.final-cta .grid-bg { opacity: 0.6; }
.final-cta h2 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 18px;
}
.final-cta p {
  color: var(--zl-muted);
  font-size: 19px;
  max-width: 56ch;
  margin: 0 auto 36px;
}
.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.particles span {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--zl-electric);
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-30px) scale(1.4); opacity: 0.8; }
}

/* ---------- Case study cards ---------- */

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
@media (max-width: 900px) { .case-grid { grid-template-columns: 1fr; } }
.case-card {
  background: var(--zl-blue-deep);
  border: 1px solid var(--zl-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 240ms ease;
}
.case-card:hover {
  border-color: var(--zl-border-strong);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
.case-image {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
}
.case-body { padding: 28px; }
.case-body .tag { margin-bottom: 14px; }
.case-body h3 { font-size: 22px; margin-bottom: 10px; }
.case-body p { color: var(--zl-muted); font-size: 15px; }

/* ---------- Page hero (subpages) ---------- */

.page-hero {
  position: relative;
  padding: 180px 0 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--zl-border);
}
.page-hero h1 { font-size: clamp(40px, 5.5vw, 68px); margin-bottom: 20px; }
.page-hero p.lead { font-size: 19px; max-width: 60ch; }

/* ---------- Tech stack diagram (used in service pages) ---------- */

.diagram {
  background: var(--zl-blue-deep);
  border: 1px solid var(--zl-border);
  border-radius: 14px;
  padding: 32px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--zl-muted);
  display: grid;
  gap: 12px;
}
.diagram .row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.diagram .pill {
  border: 1px solid var(--zl-border-strong);
  background: rgba(59, 130, 246, 0.06);
  color: var(--zl-electric);
  padding: 10px 14px;
  border-radius: 8px;
}
.diagram .arrow { color: var(--zl-muted-2); }

/* ---------- Use case list ---------- */

.use-cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
  list-style: none;
  padding: 0; margin: 0;
}
@media (max-width: 768px) { .use-cases { grid-template-columns: 1fr; } }
.use-cases li {
  display: flex; gap: 14px;
  padding: 18px;
  background: rgba(10, 31, 68, 0.5);
  border: 1px solid var(--zl-border);
  border-radius: 10px;
}
.use-cases li::before {
  content: "→";
  color: var(--zl-electric);
  font-weight: 700;
}

/* ---------- Form (contact) ---------- */

.form {
  display: grid; gap: 16px;
}
.form label {
  display: block;
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--zl-electric);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}
.form input, .form textarea, .form select {
  width: 100%;
  background: var(--zl-navy);
  border: 1px solid var(--zl-border);
  border-radius: 8px;
  color: var(--zl-white);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  outline: none;
  transition: border-color 160ms ease;
}
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--zl-electric); }

/* ---------- Skip link / a11y ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--zl-blue-mid);
  color: var(--zl-white);
  padding: 12px 18px;
  z-index: 200;
}
.skip:focus { left: 16px; top: 16px; }

/* ---------- Image placeholders ---------- */
.placeholder-art {
  width: 100%; height: 100%;
  background:
    linear-gradient(135deg, rgba(96, 165, 250, 0.1), rgba(27, 79, 216, 0.05)),
    repeating-linear-gradient(
      45deg,
      rgba(96, 165, 250, 0.06),
      rgba(96, 165, 250, 0.06) 1px,
      transparent 1px,
      transparent 12px
    ),
    var(--zl-blue-deep);
  display: grid; place-items: center;
  color: var(--zl-muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}
