/* ============================================================
   CLK MNG — Traffic Management Platform
   Pure HTML + CSS (small vanilla JS only for modals/menu)
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --bg:            #0a0b14;
  --bg-2:          #0f1120;
  --surface:       #14162a;
  --surface-2:     #191c34;
  --line:          rgba(255,255,255,.09);
  --line-strong:   rgba(255,255,255,.16);

  --text:          #eef0fb;
  --muted:         #a2a7c4;
  --muted-2:       #757c9e;

  --brand:         #7b5cff;
  --brand-2:       #6d8bff;
  --cyan:          #22d3ee;
  --accent-grad:   linear-gradient(120deg, #6d8bff 0%, #7b5cff 52%, #22d3ee 100%);
  --accent-soft:   rgba(123,92,255,.16);

  --radius:        18px;
  --radius-sm:     12px;
  --shadow:        0 24px 60px -20px rgba(4,6,20,.75);
  --shadow-glow:   0 0 0 1px rgba(123,92,255,.35), 0 20px 60px -18px rgba(123,92,255,.45);

  --container:     1160px;
  --font:          'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display:       'Schibsted Grotesk', 'IBM Plex Sans', system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }

/* ---------- Ambient background glow ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(600px 400px at 15% -5%, rgba(109,139,255,.18), transparent 60%),
    radial-gradient(700px 500px at 90% 0%, rgba(34,211,238,.12), transparent 55%),
    radial-gradient(800px 600px at 60% 30%, rgba(123,92,255,.10), transparent 60%);
  pointer-events: none;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-2);
  padding: 6px 14px; border-radius: 999px;
  background: var(--accent-soft); border: 1px solid rgba(123,92,255,.25);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin: 18px 0 14px; }
.section-head p { color: var(--muted); font-size: 18px; }
.gradient-text {
  background: var(--accent-grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 12px;
  transition: transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary {
  color: #0a0b14; background: var(--accent-grad);
  box-shadow: 0 10px 30px -8px rgba(123,92,255,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(123,92,255,.7); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-strong); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--brand-2); background: rgba(109,139,255,.1); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10,11,20,.72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); }
.brand-mark { height: 38px; width: 38px; flex: none; filter: drop-shadow(0 6px 16px rgba(123,92,255,.45)); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word {
  font-family: var(--display); font-weight: 700; font-size: 23px;
  letter-spacing: -.03em; color: var(--text);
  display: inline-flex; align-items: baseline;
}
.brand-word .g { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-word::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); margin-left: 3px; align-self: flex-end; margin-bottom: 3px; box-shadow: 0 0 8px var(--cyan); }
.brand-tag {
  font-family: var(--display); font-size: 9px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--muted-2);
  margin-top: 5px; padding-left: 1px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-strong); align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Hero ---------- */
.hero { padding: 84px 0 72px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 62px); margin: 22px 0 20px; }
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { display: flex; align-items: center; gap: 20px; margin-top: 30px; color: var(--muted-2); font-size: 14px; flex-wrap: wrap; }
.hero-trust strong { color: var(--text); }
.hero-stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats .stat h3 { font-size: 30px; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats .stat p { font-size: 13px; color: var(--muted-2); margin-top: 2px; }

/* Hero visual — live traffic panel */
.hero-visual {
  position: relative; border-radius: 22px; padding: 22px;
  background: linear-gradient(160deg, rgba(25,28,52,.9), rgba(15,17,32,.9));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 1px;
  background: var(--accent-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5; pointer-events: none;
}
.panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-top .dots { display: flex; gap: 6px; }
.panel-top .dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.panel-badge { font-size: 12px; font-family: var(--display); color: var(--cyan); display: inline-flex; align-items: center; gap: 7px; }
.panel-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: pulse 1.6s infinite; }
.gauge { text-align: center; padding: 14px 0 4px; }
.gauge .ring {
  width: 150px; height: 150px; margin: 0 auto; border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--surface) 78%, transparent 79%),
    conic-gradient(#22d3ee 0 96%, rgba(255,255,255,.08) 96% 100%);
  display: grid; place-content: center; position: relative;
}
.gauge .ring b { font-family: var(--display); font-size: 34px; }
.gauge .ring span { font-size: 12px; color: var(--muted-2); }
.gauge > p { margin-top: 12px; color: var(--muted); font-size: 14px; }
.feed { margin-top: 16px; display: grid; gap: 8px; }
.feed-row { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 9px 12px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.feed-row .tag { margin-left: auto; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; font-family: var(--display); }
.tag.block { color: #ff9db0; background: rgba(255,80,110,.14); }
.tag.pass { color: #7ef0c6; background: rgba(46,220,160,.14); }
.feed-row .ico { width: 8px; height: 8px; border-radius: 50%; }
.ico.red { background: #ff5f7a; } .ico.green { background: #2edca0; }

/* ---------- Marquee / trusted ---------- */
.trusted { border-block: 1px solid var(--line); padding: 34px 0; }
.trusted p { text-align: center; color: var(--muted-2); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-family: var(--display); margin-bottom: 22px; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 46px; }
.logos .logo-img { height: 26px; width: auto; opacity: .55; filter: grayscale(1); transition: opacity .25s, filter .25s, transform .25s; }
.logos .logo-img:hover { opacity: .95; filter: grayscale(0); transform: translateY(-2px); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); transition: transform .25s, border-color .25s;
}
.step:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.step .num {
  counter-increment: step; width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-content: center; font-family: var(--display); font-weight: 700; font-size: 18px;
  color: #0a0b14; background: var(--accent-grad); margin-bottom: 18px;
}
.step .num::before { content: "0" counter(step); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.step-connector { position: absolute; top: 52px; right: -25px; color: var(--brand); opacity: .4; }

/* ---------- Features (alternating) ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; margin-bottom: 44px; }
.feature-row:nth-child(even) .feature-visual { order: -1; }
.feature-copy h3 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 16px; }
.feature-copy p { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.feature-list { display: grid; gap: 12px; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: 15px; }
.feature-list .check { flex: none; width: 22px; height: 22px; border-radius: 7px; background: var(--accent-soft); border: 1px solid rgba(123,92,255,.3); display: grid; place-content: center; color: var(--cyan); font-size: 12px; margin-top: 1px; }
.feature-visual {
  border-radius: var(--radius); padding: 26px; min-height: 300px;
  background: linear-gradient(160deg, var(--surface-2), var(--bg-2));
  border: 1px solid var(--line-strong); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.feature-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at 70% 10%, rgba(34,211,238,.14), transparent 60%); }

/* mini widgets inside feature visuals */
.mini-bars { display: flex; align-items: flex-end; gap: 12px; height: 150px; position: relative; z-index: 1; margin-top: 20px; }
.mini-bars .bar { flex: 1; border-radius: 8px 8px 0 0; background: var(--accent-grad); opacity: .85; }
.mini-legend { display: flex; justify-content: space-between; margin-top: 14px; color: var(--muted-2); font-size: 12px; position: relative; z-index: 1; }
.mini-title { font-family: var(--display); font-size: 14px; color: var(--muted); position: relative; z-index: 1; }
.rules { display: grid; gap: 10px; position: relative; z-index: 1; margin-top: 8px; }
.rule { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 11px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 14px; }
.rule .sw { margin-left: auto; width: 38px; height: 22px; border-radius: 999px; background: var(--accent-grad); position: relative; }
.rule .sw::after { content: ""; position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.rule.off .sw { background: var(--line-strong); } .rule.off .sw::after { right: auto; left: 3px; }
.shield-viz { display: grid; place-content: center; height: 100%; position: relative; z-index: 1; }
.shield-svg { width: 216px; height: 216px; overflow: visible; animation: floaty 6s ease-in-out infinite; }

/* soft breathing glow */
.sh-glow { transform-origin: 80px 84px; animation: shGlow 3.6s ease-in-out infinite; }
@keyframes shGlow { 0%,100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.07); } }

/* radiating pulse rings */
.sh-ring { opacity: 0; transform-origin: 80px 84px; }
.sh-ring.r1 { animation: shRing 3s ease-out infinite; }
.sh-ring.r2 { animation: shRing 3s ease-out infinite 1s; }
.sh-ring.r3 { animation: shRing 3s ease-out infinite 2s; }
@keyframes shRing { 0% { opacity: .55; transform: scale(.32); } 80% { opacity: 0; } 100% { opacity: 0; transform: scale(1.18); } }

/* rotating radar sweep */
.sh-sweep { transform-origin: 80px 84px; animation: shSpin 4s linear infinite; }
@keyframes shSpin { to { transform: rotate(360deg); } }

/* self-drawing check with glow pulse */
.sh-check { stroke-dasharray: 62; stroke-dashoffset: 62; animation: shDraw 1.1s ease-out .4s forwards, shGlowPulse 3s ease-in-out 1.6s infinite; }
@keyframes shDraw { to { stroke-dashoffset: 0; } }
@keyframes shGlowPulse { 0%,100% { filter: drop-shadow(0 0 0 rgba(34,211,238,0)); } 50% { filter: drop-shadow(0 0 7px rgba(34,211,238,.65)); } }

/* traffic particles — green pass through, red slam into the shield and rebound */
.sh-particles .p { transform-box: fill-box; transform-origin: center; }
.p-green { fill: #34e3a6; filter: drop-shadow(0 0 5px rgba(52,227,166,.9)); animation: passThrough 2.6s linear infinite; }
.p-red   { fill: #ff5f7a; filter: drop-shadow(0 0 5px rgba(255,95,122,.9)); animation: bounceOff 2.6s linear infinite; }

@keyframes passThrough {
  0%   { transform: translateX(-98px); opacity: 0; }
  12%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translateX(98px); opacity: 0; }
}
@keyframes bounceOff {
  0%   { transform: translateX(-98px) scale(1);    opacity: 0; }
  14%  { opacity: 1; }
  42%  { transform: translateX(-54px) scale(1); }      /* approach the front face */
  50%  { transform: translateX(-49px) scale(1.6);  opacity: 1; }  /* impact flash */
  60%  { transform: translateX(-64px) scale(1); }      /* recoil */
  100% { transform: translateX(-122px) scale(1); opacity: 0; }    /* fly back out */
}

@media (prefers-reduced-motion: reduce) {
  .sh-check { stroke-dashoffset: 0 !important; }
  .sh-ring, .sh-particles { display: none; }
}

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line); transition: transform .25s, border-color .25s;
}
.plan:hover { transform: translateY(-4px); }
.plan.featured { border-color: transparent; box-shadow: var(--shadow-glow); background: linear-gradient(180deg, var(--surface-2), #10122a); position: relative; }
.plan.featured::before { content: "Most popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-family: var(--display); font-size: 12px; font-weight: 600; color: #0a0b14; background: var(--accent-grad); padding: 5px 14px; border-radius: 999px; }
.plan .plan-name { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.plan .price { display: flex; align-items: flex-start; gap: 3px; margin: 16px 0 6px; }
.plan .price .cur { font-size: 22px; color: var(--muted); margin-top: 8px; }
.plan .price .amt { font-family: var(--display); font-size: 46px; font-weight: 700; line-height: 1; }
.plan .price .per { align-self: flex-end; color: var(--muted-2); font-size: 15px; margin-bottom: 6px; }
.plan .plan-desc { color: var(--muted-2); font-size: 14px; margin-bottom: 22px; }
.plan ul { display: grid; gap: 13px; margin-bottom: 28px; }
.plan ul li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--text); }
.plan ul .check { flex: none; width: 20px; height: 20px; border-radius: 6px; background: var(--accent-soft); display: grid; place-content: center; color: var(--cyan); font-size: 11px; margin-top: 2px; }
.plan .btn { margin-top: auto; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: 26px; padding: 60px 48px; text-align: center; overflow: hidden; border: 1px solid var(--line-strong); background: linear-gradient(150deg, rgba(123,92,255,.22), rgba(34,211,238,.14)); }
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.cta-band p { color: var(--muted); font-size: 18px; max-width: 560px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 34px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--muted-2); font-size: 14px; max-width: 280px; }
.footer-col h4 { font-family: var(--display); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 14px; flex-wrap: wrap; gap: 12px; }
.footer-bottom .links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Modals (stylized popups) ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(6,7,16,.72); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: relative; width: 100%; max-width: 440px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, var(--surface-2), #0d0f1e);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
  transform: translateY(16px) scale(.97); opacity: 0; transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--accent-grad); }
.modal-glow { position: absolute; top: -60px; right: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(123,92,255,.4), transparent 70%); pointer-events: none; }
.modal-body { padding: 34px 32px 32px; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-content: center; color: var(--muted); border: 1px solid var(--line); background: rgba(255,255,255,.02); font-size: 18px; transition: .2s; }
.modal-close:hover { color: var(--text); border-color: var(--line-strong); }
.modal .m-icon { width: 52px; height: 52px; border-radius: 15px; background: var(--accent-grad); display: grid; place-content: center; margin-bottom: 18px; box-shadow: 0 10px 26px -8px rgba(123,92,255,.6); }
.modal .m-icon.success { background: linear-gradient(135deg,#2edca0,#22d3ee); box-shadow: 0 10px 26px -8px rgba(46,220,160,.6); }
.modal [data-view="success"] { text-align: left; animation: popIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes popIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.modal h3 { font-size: 26px; margin-bottom: 6px; }
.modal .m-sub { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 7px; font-family: var(--display); }
.field input, .field select {
  width: 100%; padding: 13px 15px; border-radius: 12px; font-size: 15px; font-family: inherit;
  color: var(--text); background: rgba(255,255,255,.03); border: 1px solid var(--line-strong);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder { color: var(--muted-2); }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); background: rgba(123,92,255,.06); box-shadow: 0 0 0 3px rgba(123,92,255,.16); }
.field select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 42px; cursor: pointer;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%23a2a7c4" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg>');
  background-repeat: no-repeat; background-position: right 15px center;
}
/* Fix white-on-white options: force dark dropdown items (respected on Windows/Chrome) */
.field select option { background-color: #191c34; color: #eef0fb; }
.field select option:checked, .field select option:hover { background-color: #2a2e52; color: #ffffff; }
.field-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; margin: -4px 0 20px; }
.field-row a { color: var(--brand-2); } .field-row a:hover { color: var(--cyan); }
.checkbox { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.checkbox input { width: 16px; height: 16px; accent-color: var(--brand); }
.modal-foot { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); }
.modal-foot a { color: var(--brand-2); font-weight: 600; } .modal-foot a:hover { color: var(--cyan); }
.form-note { font-size: 12px; color: var(--muted-2); text-align: center; margin-top: 14px; }

/* ---------- Legal pages ---------- */
.legal { padding: 60px 0 40px; }
.legal-wrap { max-width: 820px; margin-inline: auto; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.legal .updated { color: var(--muted-2); font-size: 14px; margin-bottom: 40px; font-family: var(--display); }
.legal-card { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 42px; }
.legal-card h2 { font-size: 22px; margin: 34px 0 12px; padding-top: 4px; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card h3 { font-size: 17px; margin: 22px 0 8px; color: var(--text); }
.legal-card p { color: var(--muted); margin-bottom: 14px; font-size: 15.5px; }
.legal-card ul { display: grid; gap: 9px; margin: 0 0 16px; padding-left: 4px; }
.legal-card ul li { display: flex; gap: 11px; color: var(--muted); font-size: 15.5px; }
.legal-card ul li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; margin-top: 9px; background: var(--brand); }
.legal-card a { color: var(--brand-2); } .legal-card a:hover { color: var(--cyan); }
.legal-toc { position: sticky; top: 90px; }
.legal-nav { display: inline-flex; gap: 10px; margin-bottom: 34px; flex-wrap: wrap; }
.legal-nav a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); font-family: var(--display); }
.legal-nav a:hover, .legal-nav a.active { color: var(--text); border-color: var(--brand); background: var(--accent-soft); }

/* ---------- Animations ---------- */
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-row { grid-template-columns: 1fr; gap: 28px; }
  .feature-row:nth-child(even) .feature-visual { order: 0; }
  .steps, .pricing { grid-template-columns: 1fr; }
  .step-connector { display: none; }
  .plan.featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .nav-links {
    position: fixed; inset: 70px 0 auto 0; z-index: -1;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    padding: 8px 22px 20px; box-shadow: var(--shadow);
    transform: translateY(-10px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .28s ease, opacity .28s ease, visibility .28s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .nav .btn-ghost { display: none; }
  .section { padding: 64px 0; }
  .cta-band { padding: 44px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal-card { padding: 28px 22px; }
}
