:root {
  --navy: #0d1b3e;
  --navy-2: #1a2a55;
  --navy-3: #243466;
  --blue: #2563d4;
  --blue-2: #1f56b8;
  --blue-soft: #e9efff;
  --mist: #f4f6fa;
  --mist-2: #eef1f7;
  --slate: #6b7fa0;
  --slate-2: #8a9bba;
  --line: #e0e5ef;
  --line-2: #d3dae6;
  --text: #0d1b3e;
  --muted: #6b7fa0;
  --green: #1f8a5b;
  --amber: #b8770b;
  --red: #b8344a;
  --shadow-sm: 0 1px 2px rgba(13,27,62,.05), 0 1px 1px rgba(13,27,62,.03);
  --shadow-md: 0 4px 14px rgba(13,27,62,.06), 0 2px 4px rgba(13,27,62,.04);
  --shadow-lg: 0 24px 60px -20px rgba(13,27,62,.25), 0 8px 24px -12px rgba(13,27,62,.12);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
}
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; font-feature-settings: "zero"; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
input, textarea, select { font-family: inherit; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { display: flex; align-items: center; color: var(--navy); }
.nav-logo svg { height: 40px; width: auto; }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--navy);
  opacity: .75; transition: opacity .15s;
}
.nav-links a:hover { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .signin { font-size: 14px; font-weight: 500; color: var(--navy); opacity: .75; }
.nav-actions .signin:hover { opacity: 1; }
.lang-toggle {
  display: inline-flex; padding: 3px;
  background: var(--mist); border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-toggle button {
  padding: 5px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .04em;
  color: var(--slate); transition: all .15s;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.lang-toggle button.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.lang-toggle button:hover:not(.active) { color: var(--navy); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  transition: transform .08s ease, background .15s, box-shadow .15s, color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-2); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--mist); }
.btn-outline { background: transparent; color: var(--navy); border: 1px solid var(--line-2); }
.btn-outline:hover { border-color: var(--navy); }
.btn-lg { padding: 14px 24px; font-size: 15px; }

/* ============ HERO ============ */
.hero {
  padding: 80px 0 96px;
  background:
    radial-gradient(ellipse 800px 400px at 80% -10%, rgba(37,99,212,.08), transparent 60%),
    linear-gradient(180deg, #fff 0%, var(--mist) 100%);
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px;
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  color: var(--navy); margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(37,99,212,.18); }
.eyebrow .sep { width: 1px; height: 12px; background: var(--line); }
.eyebrow .light { color: var(--slate); font-weight: 500; }

h1.hero-title {
  font-size: 64px; font-weight: 800; letter-spacing: -.025em;
  line-height: 1.04; margin: 0 0 22px;
  color: var(--navy);
  text-wrap: balance;
}
h1.hero-title em { font-style: normal; color: var(--blue); }
.hero-sub {
  font-size: 19px; color: var(--slate); margin: 0 0 36px;
  max-width: 540px; text-wrap: pretty; line-height: 1.55;
}

.hero-meta {
  display: flex; gap: 24px; margin-top: 20px;
  font-size: 13px; color: var(--slate);
}
.hero-meta .check { color: var(--blue); margin-right: 6px; }

/* AI pill */
.ai-pill {
  display: inline-flex; align-items: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  padding: 2px 7px; margin-left: 4px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, #2563d4 0%, #6c4cf5 55%, #a855f7 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 2px 6px rgba(108,76,245,.35);
  vertical-align: 1px;
  position: relative;
}
.ai-pill::before {
  content: ""; position: absolute; inset: 0; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.25), transparent 55%);
  pointer-events: none;
}
.ai-pill-dark {
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 2px 8px rgba(168,85,247,.45);
}

/* Hero phone */
.hero-stage { position: relative; height: 620px; display: flex; align-items: center; justify-content: center; }
.phone {
  width: 320px; height: 640px;
  background: var(--navy);
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(13,27,62,.4);
  position: relative;
  z-index: 2;
  transform: rotate(-3deg) translateY(-6px);
}
.phone-screen {
  background: #fff;
  border-radius: 32px;
  height: 100%; width: 100%;
  overflow: hidden; position: relative;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: var(--navy); border-radius: 999px;
  z-index: 3;
}
.phone-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px 6px; font-size: 12px; font-weight: 600; color: var(--navy);
}
.phone-status .icons { display: flex; gap: 4px; align-items: center; }
.phone-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px 12px; border-bottom: 1px solid var(--line);
}
.phone-header .title { font-size: 16px; font-weight: 700; }
.phone-header .sub { font-size: 11px; color: var(--slate); letter-spacing: .05em; }
.phone-body { flex: 1; padding: 16px; overflow: hidden; background: var(--mist); }

.status-card {
  background: #fff; border-radius: 14px; border: 1px solid var(--line);
  padding: 14px; margin-bottom: 12px;
}
.status-card .row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.status-card .reg { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: .04em; }
.status-card .type { font-size: 11px; color: var(--slate); }
.status-card .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.status-card .stat .lbl { font-size: 9px; letter-spacing: .1em; color: var(--slate); font-weight: 600; }
.status-card .stat .val { font-size: 15px; font-weight: 700; color: var(--navy); }

.airworthy-row {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px; background: rgba(31,138,91,.08);
  border-radius: 8px; margin-top: 10px;
  font-size: 11px; color: var(--green); font-weight: 600;
}
.airworthy-row .dot { width: 6px; height: 6px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 3px rgba(31,138,91,.2); }

.log-card {
  background: #fff; border-radius: 14px; border: 1px solid var(--line);
  padding: 0; overflow: hidden;
}
.log-card .head { padding: 12px 14px 8px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.log-card .head .h { font-size: 12px; font-weight: 700; color: var(--navy); }
.log-card .head .badge { font-size: 9px; padding: 2px 6px; border-radius: 4px; background: var(--blue-soft); color: var(--blue); font-weight: 700; letter-spacing: .04em; }
.log-row { display: flex; justify-content: space-between; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 11px; }
.log-row:last-child { border-bottom: 0; }
.log-row .lbl { color: var(--slate); }
.log-row .val { color: var(--navy); font-weight: 600; }

.btn-fab {
  position: absolute; bottom: 28px; left: 16px; right: 16px;
  height: 48px; border-radius: 12px; background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}

/* Decorative card next to phone */
.float-card {
  position: absolute; background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  z-index: 1;
}
.float-card.fc-1 { top: 64px; left: 0; }
.float-card.fc-2 { bottom: 60px; right: 0; }
.float-card .title { font-size: 11px; color: var(--slate); letter-spacing: .08em; font-weight: 600; margin-bottom: 6px; }
.float-card .big { font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.float-card .small { font-size: 11px; color: var(--green); margin-top: 4px; font-weight: 600; }
.float-card .small.red { color: var(--amber); }

/* ============ TRUST STRIP ============ */
.trust {
  padding: 36px 0; border-bottom: 1px solid var(--line);
  background: #fff;
}
.trust-inner { display: flex; align-items: center; gap: 56px; justify-content: space-between; flex-wrap: wrap; }
.trust-label { font-size: 11px; letter-spacing: .12em; color: var(--slate); font-weight: 600; }
.trust-items { display: flex; gap: 36px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--navy); }
.trust-item .ico {
  width: 28px; height: 28px; border-radius: 6px;
  background: var(--mist); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: var(--blue);
  font-family: 'JetBrains Mono', monospace;
}

/* ============ SECTIONS ============ */
section { padding: 120px 0; }
.section-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .12em;
  color: var(--blue); margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--blue);
}
.section-title {
  font-size: 44px; font-weight: 800; letter-spacing: -.022em;
  line-height: 1.08; color: var(--navy); margin: 0 0 18px;
  text-wrap: balance; max-width: 720px;
}
.section-lead {
  font-size: 18px; color: var(--slate); max-width: 620px; margin: 0;
  line-height: 1.55; text-wrap: pretty;
}

/* ============ FEATURES ============ */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 64px;
}
.feature-card {
  background: var(--mist); border: 1px solid var(--line);
  border-radius: 20px; padding: 32px;
  display: flex; flex-direction: column;
  min-height: 460px;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: var(--blue); }
.feature-mock {
  flex: 1; margin-bottom: 24px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px;
  display: flex; flex-direction: column;
  overflow: hidden;
  min-height: 240px;
}
.feature-card h3 { font-size: 22px; font-weight: 700; margin: 0 0 8px; letter-spacing: -.01em; }
.feature-card p { font-size: 15px; color: var(--slate); margin: 0; line-height: 1.5; }
.feature-tag {
  display: inline-flex; padding: 4px 10px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue);
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  margin-bottom: 14px; align-self: flex-start;
}

/* Mock 1 — phone log entry */
.mock-log-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-log-head .reg { font-weight: 700; font-size: 13px; }
.mock-log-head .pill { margin-left: auto; font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 4px; background: var(--blue-soft); color: var(--blue); letter-spacing: .05em; }
.mock-field { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 12px; }
.mock-field .l { color: var(--slate); }
.mock-field .v { font-weight: 600; }
.mock-field:last-child { border-bottom: 0; }
.mock-defect {
  margin: 10px 14px; padding: 10px;
  background: rgba(184,119,11,.08); border-radius: 8px;
  border-left: 3px solid var(--amber);
}
.mock-defect .h { font-size: 10px; color: var(--amber); font-weight: 700; letter-spacing: .08em; margin-bottom: 4px; }
.mock-defect .d { font-size: 12px; color: var(--navy); }

/* Mock 2 — status meters */
.mock-status { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.meter { }
.meter .top { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 12px; }
.meter .top .name { font-weight: 600; }
.meter .top .pct { color: var(--slate); }
.meter .bar { height: 8px; background: var(--mist-2); border-radius: 4px; overflow: hidden; }
.meter .fill { height: 100%; background: var(--blue); border-radius: 4px; }
.meter .fill.amber { background: var(--amber); }
.meter .fill.red { background: var(--red); }
.meter .bot { display: flex; justify-content: space-between; font-size: 10px; color: var(--slate); margin-top: 4px; }

/* Mock 3 — audit pack */
.mock-audit { padding: 16px; flex: 1; }
.audit-stack { display: flex; flex-direction: column; gap: 8px; }
.audit-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line);
  border-radius: 8px; font-size: 12px;
}
.audit-row .ico { width: 24px; height: 24px; border-radius: 4px; background: var(--mist); display: flex; align-items: center; justify-content: center; }
.audit-row .name { flex: 1; font-weight: 600; }
.audit-row .check { color: var(--green); font-weight: 700; }

/* ============ HOW IT WORKS ============ */
.howit {
  background: var(--navy);
  color: #fff;
}
.howit .section-eyebrow { color: var(--blue-soft); }
.howit .section-eyebrow::before { background: var(--blue-soft); }
.howit .section-title { color: #fff; }
.howit .section-lead { color: rgba(255,255,255,.65); }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  margin-top: 64px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 20px;
  overflow: hidden; background: rgba(255,255,255,.02);
}
.step {
  padding: 36px 32px 40px;
  border-right: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.step:last-child { border-right: 0; }
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: var(--blue-soft); letter-spacing: .12em;
  margin-bottom: 24px;
  display: flex; align-items: center; gap: 10px;
}
.step-num::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,.1); }
.step h3 { font-size: 24px; font-weight: 700; margin: 0 0 12px; letter-spacing: -.01em; }
.step p { color: rgba(255,255,255,.65); font-size: 15px; margin: 0; line-height: 1.55; }
.step .frame {
  margin-bottom: 28px;
  height: 200px; border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Mini phone */
.mini-phone {
  width: 130px; height: 180px; background: #0a1330; border-radius: 18px;
  padding: 6px; box-shadow: 0 12px 28px -10px rgba(0,0,0,.6);
}
.mini-phone .scr { background: #fff; border-radius: 14px; height: 100%; width: 100%; padding: 14px 10px; display: flex; flex-direction: column; gap: 6px; }
.mini-phone .lbl { font-size: 8px; color: var(--slate); letter-spacing: .08em; font-weight: 600; }
.mini-phone .input { height: 14px; background: var(--mist); border-radius: 3px; }
.mini-phone .btn-mini { margin-top: auto; height: 22px; background: var(--blue); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 9px; font-weight: 700; }

/* Sync graphic */
.sync-graphic { display: flex; align-items: center; gap: 12px; }
.sync-node {
  width: 60px; height: 60px; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: var(--blue-soft);
}
.sync-line { width: 32px; height: 2px; background: var(--blue); position: relative; }
.sync-line::after { content: ""; position: absolute; right: -4px; top: -3px; width: 0; height: 0; border-left: 6px solid var(--blue); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }

/* Audit packet visual */
.audit-pack {
  width: 130px; height: 160px; background: #fff; border-radius: 6px;
  box-shadow: 0 14px 36px -10px rgba(0,0,0,.6);
  padding: 14px 12px; display: flex; flex-direction: column; gap: 6px;
  color: var(--navy); position: relative;
}
.audit-pack::before {
  content: ""; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 90%; height: 100%; background: rgba(255,255,255,.6); border-radius: 6px; z-index: -1;
}
.audit-pack .h { font-size: 9px; color: var(--slate); letter-spacing: .1em; font-weight: 700; }
.audit-pack .ttl { font-size: 11px; font-weight: 700; letter-spacing: -.01em; }
.audit-pack .ln { height: 4px; background: var(--mist); border-radius: 2px; }
.audit-pack .ln.short { width: 60%; }
.audit-pack .stamp {
  margin-top: auto; align-self: flex-end;
  font-size: 8px; padding: 3px 6px; background: var(--green); color: #fff;
  border-radius: 3px; font-weight: 700; letter-spacing: .08em;
}

/* ============ ABOUT ============ */
.about { background: var(--mist); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start; margin-top: 56px;
}
.about-body {
  color: var(--slate); font-size: 16px; line-height: 1.7; margin: 20px 0 0;
}
.about-card {
  background: var(--navy); color: #fff;
  border-radius: 20px; padding: 40px;
  position: sticky; top: 92px;
}
.about-mission {
  font-size: 19px; font-weight: 700; line-height: 1.45;
  letter-spacing: -.01em; margin: 0 0 28px;
  padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.about-pillars { display: flex; flex-direction: column; gap: 18px; }
.about-pillar { display: flex; gap: 14px; align-items: flex-start; }
.about-pillar-ico {
  width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
  background: rgba(37,99,212,.35); color: #6ea3ff;
  display: flex; align-items: center; justify-content: center;
}
.about-pillar-ai { flex-shrink: 0; margin: 0; align-self: center; font-size: 12px !important; padding: 5px 10px !important; }
.about-pillar h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: #fff; }
.about-pillar p { margin: 0; font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.5; }

/* ============ PRICING ============ */
.pricing { background: #fff; }
.pricing-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.billing-toggle {
  display: inline-flex; padding: 4px;
  background: var(--mist); border: 1px solid var(--line);
  border-radius: 999px; align-self: flex-end;
}
.billing-toggle button {
  padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600; color: var(--slate);
  transition: all .15s;
  display: flex; align-items: center; gap: 8px;
}
.billing-toggle button.active { background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.save-tag { font-size: 10px; padding: 2px 7px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-weight: 700; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.tier {
  padding: 36px; border: 1px solid var(--line);
  border-radius: 20px; background: #fff;
  display: flex; flex-direction: column;
  transition: border-color .2s;
}
.tier.featured {
  background: var(--navy); color: #fff; border-color: var(--navy);
  position: relative;
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.tier-tag {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; color: var(--slate); margin-bottom: 12px;
}
.tier.featured .tier-tag { color: var(--blue-soft); }
.tier-name { font-size: 22px; font-weight: 700; margin: 0 0 4px; letter-spacing: -.01em; }
.tier-desc { font-size: 14px; color: var(--slate); margin: 0 0 28px; min-height: 42px; }
.tier.featured .tier-desc { color: rgba(255,255,255,.65); }

.tier-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.tier-price .currency { font-size: 18px; font-weight: 600; color: var(--slate); }
.tier-price .num { font-size: 52px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.tier-price .per { font-size: 13px; color: var(--slate); }
.tier.featured .tier-price .currency,
.tier.featured .tier-price .per { color: rgba(255,255,255,.65); }
.tier-billed { font-size: 12px; color: var(--slate); margin-bottom: 28px; }
.tier.featured .tier-billed { color: rgba(255,255,255,.55); }

.tier .btn { width: 100%; justify-content: center; padding: 14px; }
.tier-features { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.tier-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.45; }
.tier-features .check { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.tier.featured .tier-features .check { color: #6ea3ff; }
.tier-divider { height: 1px; background: var(--line); margin: 28px 0 0; }
.tier.featured .tier-divider { background: rgba(255,255,255,.12); }

.pricing-foot {
  margin-top: 48px; padding: 24px 32px;
  border: 1px dashed var(--line-2); border-radius: 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap;
}
.pricing-foot .l { font-weight: 600; font-size: 15px; }
.pricing-foot .r { color: var(--slate); font-size: 14px; }

/* ============ DEMO FORM ============ */
.demo {
  background: linear-gradient(180deg, var(--mist) 0%, #fff 100%);
}
.demo-card {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  display: grid; grid-template-columns: .8fr 1.2fr;
  overflow: hidden; box-shadow: var(--shadow-md);
}
.demo-side {
  background: var(--navy); color: #fff;
  padding: 48px 40px;
  display: flex; flex-direction: column; gap: 24px;
}
.demo-side h2 { font-size: 32px; font-weight: 700; margin: 0; letter-spacing: -.018em; line-height: 1.12; }
.demo-side p { color: rgba(255,255,255,.72); font-size: 15px; margin: 0; line-height: 1.55; }
.demo-bullets { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.demo-bullets li { display: flex; gap: 10px; font-size: 14px; color: rgba(255,255,255,.86); }
.demo-bullets .check { color: var(--blue); }
.demo-quote { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.65); font-style: italic; line-height: 1.6; }
.demo-quote .who { display: block; font-style: normal; color: rgba(255,255,255,.9); margin-top: 8px; font-weight: 600; }

.demo-form { padding: 48px 40px; }
.demo-form h3 { font-size: 22px; font-weight: 700; margin: 0 0 4px; letter-spacing: -.01em; }
.demo-form .sub { color: var(--slate); font-size: 14px; margin: 0 0 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; font-size: 14px; color: var(--navy);
  background: #fff; transition: border .15s, box-shadow .15s;
  outline: 0;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,212,.12);
}
.field.error input, .field.error select, .field.error textarea { border-color: var(--red); }
.field .err { font-size: 12px; color: var(--red); margin-top: 4px; font-weight: 500; }
.field textarea { resize: vertical; min-height: 80px; font-family: inherit; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--slate); line-height: 1.5; margin: 6px 0 22px; }
.consent input { margin-top: 2px; flex-shrink: 0; }
.consent a { color: var(--blue); text-decoration: underline; }
.submit { width: 100%; justify-content: center; padding: 14px; }

.success-state {
  text-align: center; padding: 32px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
}
.success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(31,138,91,.12); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.success-state h3 { font-size: 22px; margin: 0; color: var(--navy); }
.success-state p { color: var(--slate); margin: 0; max-width: 360px; line-height: 1.55; }
.success-state .ref {
  margin-top: 8px; font-size: 12px; padding: 8px 14px;
  background: var(--mist); border-radius: 8px; color: var(--navy);
  font-family: 'JetBrains Mono', monospace; letter-spacing: .04em;
}

/* ============ FAQ-LIKE / CTA bottom ============ */
.cta-band {
  background: var(--navy); color: #fff; padding: 80px 0;
  text-align: center;
}
.cta-band h2 { font-size: 38px; margin: 0 0 14px; font-weight: 700; letter-spacing: -.018em; }
.cta-band p { color: rgba(255,255,255,.7); margin: 0 0 28px; font-size: 17px; }

/* ============ FOOTER ============ */
.footer { background: var(--navy); color: #fff; padding: 56px 0 32px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand .desc { color: rgba(255,255,255,.6); font-size: 13px; margin-top: 14px; max-width: 280px; line-height: 1.55; }
.footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: rgba(255,255,255,.5); margin: 0 0 16px; text-transform: uppercase; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.85); padding: 6px 0; }
.footer-col a:hover { color: #fff; }
.footer-bot {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 12px;
}
.footer-bot .reg { font-family: 'JetBrains Mono', monospace; letter-spacing: .04em; }

/* ============ CONTACT ============ */
.contact { background: #fff; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; margin-top: 56px;
}
.contact-cards { display: flex; flex-direction: column; gap: 14px; }
.contact-card {
  display: flex; gap: 16px; align-items: center;
  padding: 20px 24px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--mist); color: var(--navy);
  transition: border-color .15s, box-shadow .15s;
}
a.contact-card { text-decoration: none; }
a.contact-card:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.contact-card-ico {
  width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
  background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.contact-card-label {
  font-size: 11px; font-weight: 600; letter-spacing: .08em;
  color: var(--slate); text-transform: uppercase; margin-bottom: 3px;
}
.contact-card-val { font-size: 15px; font-weight: 600; }

/* ============ COOKIE BANNER ============ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -4px 24px rgba(13,27,62,.08);
  padding: 18px 0;
}
.cookie-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cookie-text {
  font-size: 14px; color: var(--slate); line-height: 1.5;
  flex: 1; min-width: 240px; margin: 0;
}
.cookie-text strong { color: var(--navy); }
.cookie-text a { color: var(--blue); text-decoration: underline; margin-left: 4px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.footer-cookie-link {
  font-size: 12px; color: rgba(255,255,255,.5);
  background: none; border: 0; cursor: pointer; padding: 0;
  font-family: inherit; transition: color .15s;
}
.footer-cookie-link:hover { color: rgba(255,255,255,.9); }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { height: 480px; }
  h1.hero-title { font-size: 52px; }
  .features-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .step:last-child { border-bottom: 0; }
  .tiers { grid-template-columns: 1fr; }
  .tier.featured { transform: none; }
  .demo-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  section { padding: 72px 0; }

  /* Nav: hide all actions except lang-toggle — logo+toggle fits, btn overflows at 375px */
  .nav-links { display: none; }
  .nav-actions .signin { display: none; }
  .nav-actions .btn { display: none; }

  /* Hero */
  .hero { padding: 40px 0 48px; }
  h1.hero-title { font-size: 36px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  /* Phone mockup + float cards overflow on narrow screens — hide entirely */
  .hero-stage { display: none; }
  .hero-meta { flex-wrap: wrap; gap: 12px; }
  /* Typography */
  .section-title { font-size: 28px; }
  .section-lead { font-size: 16px; }
  .eyebrow { font-size: 10px; }

  /* Trust */
  .trust-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-items { gap: 14px; }

  /* Features */
  .feature-card { padding: 24px; min-height: unset; }
  .feature-card h3 { font-size: 20px; }

  /* How it works */
  .step { padding: 28px 20px; }
  .step h3 { font-size: 20px; }

  /* About */
  .about-card { padding: 28px 20px; }
  .about-mission { font-size: 16px; }

  /* Pricing */
  .pricing-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .tier { padding: 24px 20px; }
  .tier-price .num { font-size: 44px; }
  .pricing-foot { padding: 20px; flex-direction: column; gap: 10px; }

  /* Demo form */
  .demo-side { padding: 28px 20px; }
  .demo-form { padding: 28px 20px; }
  .demo-side h2 { font-size: 26px; }
  .field-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding: 40px 0 24px; }

  /* Cookie */
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
