/* CodeZyron — brand stylesheet
   Layout concept: a dark "control room" — deep navy-black ground, electric-blue signal lines,
   wide techno display type lifted from the logo, content laid on a 12-col grid that collapses to one column on phones. */
:root {
  --bg: #04060c;
  --bg-2: #080d19;
  --panel: #0b1222;
  --line: rgba(96, 150, 255, 0.14);
  --line-strong: rgba(96, 150, 255, 0.32);
  --fg: #e9eefb;
  --muted: #8d98b4;
  --blue: #1f6fff;
  --cyan: #2db8ff;
  --white: #ffffff;
  --ok: #2fd39a;
  --err: #ff6b7a;
  --grad: linear-gradient(100deg, #2db8ff 0%, #1f6fff 55%, #3d4dff 100%);
  --font-display: "Michroma", "Eurostile", "Arial Black", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --r: 14px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue); color: var(--white); }
[hidden] { display: none !important; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; letter-spacing: .01em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.35rem); }
h3 { font-size: 1.02rem; letter-spacing: .03em; }
p { margin: 0; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--muted); max-width: 62ch; }
.eyebrow {
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--cyan); display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--grad); }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: gradShift 6s ease-in-out infinite; }
@keyframes gradShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 999; background: var(--bg); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.loader img { width: 110px; animation: pulseLogo 1.2s ease-in-out infinite; }
.loader .bar { width: 160px; height: 2px; background: var(--line); margin-top: 22px; overflow: hidden; border-radius: 2px; }
.loader .bar span { display: block; height: 100%; width: 40%; background: var(--grad); animation: loadBar 1s ease-in-out infinite; }
.loader > div { display: grid; justify-items: center; }
.loader.done { opacity: 0; visibility: hidden; }
@keyframes pulseLogo { 50% { transform: scale(1.06); filter: drop-shadow(0 0 18px rgba(45,184,255,.6)); } }
@keyframes loadBar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

/* ---------- Progress + cursor glow ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--grad); z-index: 200; box-shadow: 0 0 10px var(--cyan); }
.cursor-glow { position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: 0; background: radial-gradient(circle, rgba(31,111,255,.13), transparent 65%); transform: translate(-50%, -50%); left: -500px; top: -500px; transition: opacity .3s; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(4, 6, 12, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(4, 6, 12, .9); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img.mark { width: 40px; }
.brand img.word { width: 150px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--fg); font-size: .92rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; position: relative; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); background: rgba(31,111,255,.14); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line-strong); color: var(--fg); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; background: currentColor; margin: 4px auto; transition: transform .3s, opacity .3s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  --x: 0px; --y: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
  transform: translate(var(--x), var(--y)); position: relative; overflow: hidden; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: var(--white); box-shadow: 0 8px 30px -8px rgba(31,111,255,.7); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn-primary:hover { color: var(--white); box-shadow: 0 12px 40px -6px rgba(45,184,255,.75); }
.btn-primary:hover::after { transform: translateX(120%); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--fg); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--white); background: rgba(45,184,255,.08); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Sections ---------- */
main { position: relative; z-index: 1; }
.section { padding-block: clamp(64px, 9vw, 120px); position: relative; }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 60px); max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.alt { background: var(--bg-2); border-block: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 110px) clamp(56px, 7vw, 90px); }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .85; }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 70% 40%, rgba(31,111,255,.18), transparent 70%), linear-gradient(to bottom, transparent 70%, var(--bg)); pointer-events: none; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero h1 .line { display: block; }
.typed-wrap { display: inline-flex; align-items: baseline; min-height: 1.2em; }
.typed { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { display: inline-block; width: 3px; height: .9em; background: var(--cyan); margin-left: 6px; animation: blink 1s steps(1) infinite; transform: translateY(.08em); }
@keyframes blink { 50% { opacity: 0; } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; font-family: var(--font-mono); font-size: .78rem; color: var(--muted); letter-spacing: .06em; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 2s infinite; }
.hero-visual { position: relative; display: grid; place-items: center; min-width: 0; }
.orbit { position: relative; width: min(420px, 100%); aspect-ratio: 1; max-width: 100%; }
.orbit img { position: absolute; inset: 0; margin: auto; width: 46%; filter: drop-shadow(0 0 40px rgba(31,111,255,.55)); animation: float 6s ease-in-out infinite; }
.ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line-strong); }
.ring.r2 { inset: 13%; border-style: dashed; animation: spin 40s linear infinite; }
.ring.r3 { inset: -6%; border-color: var(--line); animation: spin 70s linear infinite reverse; }
.ring .dot { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); top: -5px; left: calc(50% - 5px); }
.chip-float { position: absolute; font-family: var(--font-mono); font-size: .72rem; padding: 8px 12px; border-radius: 10px; background: rgba(11,18,34,.85); border: 1px solid var(--line-strong); color: var(--fg); backdrop-filter: blur(8px); white-space: nowrap; animation: float 5s ease-in-out infinite; }
.chip-float b { color: var(--cyan); font-weight: 600; }
.chip-float.c1 { top: 8%; left: -4%; }
.chip-float.c2 { bottom: 14%; right: -6%; animation-delay: -2s; }
.chip-float.c3 { bottom: 2%; left: 4%; animation-delay: -3.5s; }
@keyframes float { 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding-block: 20px; overflow: hidden; position: relative; background: var(--bg-2); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-mono); font-size: .9rem; color: var(--muted); letter-spacing: .08em; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: "◆"; color: var(--blue); font-size: .6rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative; background: linear-gradient(180deg, rgba(14,22,42,.9), rgba(8,13,25,.9));
  border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px;
  display: grid; gap: 14px; align-content: start; min-width: 0;
  transition: border-color .3s, transform .4s var(--ease), box-shadow .4s;
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(45,184,255,.14), transparent 45%);
}
.card:hover { border-color: var(--line-strong); box-shadow: 0 30px 60px -30px rgba(31,111,255,.45); }
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); font-size: .95rem; }
.icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(31,111,255,.12); border: 1px solid var(--line-strong); color: var(--cyan); }
.icon svg { width: 26px; height: 26px; }
.card .tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.tag-list li { font-family: var(--font-mono); font-size: .7rem; color: var(--fg); padding: 4px 9px; border-radius: 6px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.card .more { font-weight: 700; font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; }

/* ---------- Flow diagram ---------- */
.auto-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.auto-grid > * { min-width: 0; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.check-list li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: rgba(47,211,154,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232fd39a' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; border: 1px solid rgba(47,211,154,.4); }
.check-list strong { color: var(--white); display: block; font-weight: 700; }
.check-list span { color: var(--muted); font-size: .94rem; }
.flow { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 18px; overflow-x: auto; }
.flow svg { width: 100%; min-width: 680px; height: auto; display: block; }
.flow .wire { fill: none; stroke: var(--line-strong); stroke-width: 2; }
.flow .pulse { fill: none; stroke: url(#wireGrad); stroke-width: 2.5; stroke-dasharray: 10 14; animation: dash 1.4s linear infinite; }
.flow .node rect { fill: #0e1830; stroke: var(--line-strong); }
.flow .node.hot rect { stroke: var(--cyan); filter: drop-shadow(0 0 8px rgba(45,184,255,.5)); }
.flow text { fill: var(--fg); font-family: var(--font-mono); font-size: 12px; }
.flow text.sub { fill: var(--muted); font-size: 10px; }
.flow .blip { fill: var(--cyan); }
@keyframes dash { to { stroke-dashoffset: -48; } }
.flow-caption { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--font-mono); font-size: .72rem; color: var(--muted); padding: 12px 6px 2px; }
.flow-caption b { color: var(--ok); font-weight: 600; }

/* ---------- Process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-strong), transparent); }
.step { display: grid; gap: 12px; position: relative; min-width: 0; }
.step-num { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: .9rem; background: var(--bg); border: 1px solid var(--line-strong); color: var(--cyan); position: relative; z-index: 1; transition: background .3s, color .3s; }
.step:hover .step-num { background: var(--grad); color: #fff; border-color: transparent; }
.step p { color: var(--muted); font-size: .94rem; }
.step .dur { font-family: var(--font-mono); font-size: .72rem; color: var(--cyan); letter-spacing: .06em; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--panel); }
.stat { padding: 30px 24px; display: grid; gap: 6px; border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.3rem); font-variant-numeric: tabular-nums; }
.stat .lbl { color: var(--muted); font-size: .88rem; }

/* ---------- Showcase ---------- */
.show-card { padding: 0; overflow: hidden; gap: 0; }
.show-art { aspect-ratio: 16/10; max-width: 100%; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: #0a1428; }
.show-art .win { position: absolute; inset: 12% 10% -10% 10%; border-radius: 10px 10px 0 0; background: #0d1a33; border: 1px solid var(--line-strong); transition: transform .6s var(--ease); }
.show-card:hover .show-art .win { transform: translateY(-8px) scale(1.02); }
.win .bar { height: 22px; border-bottom: 1px solid var(--line); display: flex; gap: 5px; align-items: center; padding: 0 9px; }
.win .bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); }
.win .blk { position: absolute; border-radius: 5px; background: rgba(96,150,255,.16); }
.win .blk.a { background: var(--grad); opacity: .85; }
.show-body { padding: 24px 24px 28px; display: grid; gap: 10px; }
.show-body p { color: var(--muted); font-size: .93rem; }
.show-body .kind { font-family: var(--font-mono); font-size: .7rem; color: var(--cyan); letter-spacing: .14em; text-transform: uppercase; }

/* ---------- Estimator ---------- */
.estimator { display: grid; grid-template-columns: 1.2fr .8fr; gap: 0; border: 1px solid var(--line-strong); border-radius: 20px; overflow: hidden; background: var(--panel); }
.est-form { padding: clamp(24px, 4vw, 40px); display: grid; gap: 24px; min-width: 0; }
.est-result { padding: clamp(24px, 4vw, 40px); background: linear-gradient(160deg, rgba(31,111,255,.22), rgba(4,6,12,.4)); border-left: 1px solid var(--line); display: grid; gap: 16px; align-content: start; min-width: 0; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
legend { font-weight: 700; margin-bottom: 4px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt label { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .88rem; cursor: pointer; transition: all .2s; user-select: none; }
.opt input:checked + label { background: var(--grad); border-color: transparent; color: #fff; }
.opt input:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: 2px; }
.range-row { display: flex; align-items: center; gap: 14px; }
input[type="range"] { flex: 1; accent-color: var(--blue); min-width: 0; }
.range-row output { font-family: var(--font-mono); min-width: 4ch; color: var(--cyan); }
.est-big { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; }
.est-row { display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.est-row span:first-child { color: var(--muted); }
.est-note { font-size: .8rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color .3s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 22px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .ans { padding: 0 22px 22px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; border-radius: 24px; overflow: hidden; padding: clamp(36px, 6vw, 70px); border: 1px solid var(--line-strong); background: radial-gradient(ellipse at 20% 0%, rgba(45,184,255,.28), transparent 55%), radial-gradient(ellipse at 100% 100%, rgba(61,77,255,.3), transparent 55%), var(--panel); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.cta-band > * { min-width: 0; }
.cta-band .lead { color: #b9c4de; }
.cta-band .actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page hero ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 100px) clamp(30px, 5vw, 60px); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 20%, transparent 70%); opacity: .6; }
.page-hero .wrap { position: relative; display: grid; gap: 18px; }
.crumbs { font-family: var(--font-mono); font-size: .75rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--cyan); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: .86rem; font-weight: 600; }
.field label .req { color: var(--cyan); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--fg); background: #060b17; border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(45,184,255,.15); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--err); }
.field .err { color: var(--err); font-size: .8rem; min-height: 1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.consent-check input { margin-top: 4px; accent-color: var(--blue); }
.form-status { border-radius: 12px; padding: 14px 16px; font-size: .92rem; }
.form-status.ok { background: rgba(47,211,154,.1); border: 1px solid rgba(47,211,154,.4); color: #bff3df; }
.form-status.bad { background: rgba(255,107,122,.1); border: 1px solid rgba(255,107,122,.4); color: #ffd0d5; }
.btn[disabled] { opacity: .6; cursor: progress; }

.contact-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; align-items: start; }
.contact-grid > * { min-width: 0; }
.info-list { display: grid; gap: 14px; list-style: none; margin: 0; padding: 0; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.info-list .icon { width: 44px; height: 44px; border-radius: 12px; }
.info-list small { display: block; color: var(--muted); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.map-box { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; max-width: 100%; background: var(--panel); }
.map-box iframe { width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.7); }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; display: grid; gap: 16px; }
.prose h2 { font-size: 1.15rem; margin-top: 22px; }
.prose p, .prose li { color: #c3cbe0; }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.prose .updated { font-family: var(--font-mono); font-size: .78rem; color: var(--muted); }

/* ---------- Values / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split > * { min-width: 0; }
.logo-panel { border: 1px solid var(--line); border-radius: 20px; padding: clamp(28px, 5vw, 60px); background: radial-gradient(ellipse at 50% 30%, rgba(31,111,255,.22), transparent 65%), var(--panel); display: grid; place-items: center; }
.logo-panel img { width: min(380px, 100%); animation: float 7s ease-in-out infinite; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #03050a; padding-block: 64px 30px; position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot-grid > * { min-width: 0; }
.foot-brand img { width: 190px; margin-bottom: 16px; }
.foot-brand p { color: var(--muted); font-size: .92rem; max-width: 34ch; }
.site-footer h3 { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 16px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-links a { color: #b8c2db; font-size: .93rem; }
.foot-links a:hover { color: var(--white); }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter input { flex: 1; min-width: 0; font: inherit; font-size: .9rem; background: #060b17; border: 1px solid var(--line-strong); color: var(--fg); border-radius: 999px; padding: 11px 16px; }
.newsletter input:focus { outline: none; border-color: var(--cyan); }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-bottom a { color: var(--muted); }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--fg); transition: all .25s; }
.socials a:hover { background: var(--grad); border-color: transparent; color: #fff; transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Floating widgets ---------- */
.float-stack { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 150; display: grid; gap: 12px; justify-items: end; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; color: #fff; box-shadow: 0 10px 30px -6px rgba(0,0,0,.6); transition: transform .25s var(--ease); }
.fab:hover { transform: scale(1.08); color: #fff; }
.fab svg { width: 26px; height: 26px; }
.fab-wa { background: #1fae5b; }
.fab-chat { background: var(--grad); position: relative; }
.fab-chat::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--cyan); animation: ping 2.2s infinite; }
@keyframes ping { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
.to-top { width: 44px; height: 44px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line-strong); color: var(--fg); cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: all .3s; display: grid; place-items: center; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* Chat assistant */
.chatbox { position: fixed; right: max(18px, env(safe-area-inset-right, 0px)); bottom: calc(90px + env(safe-area-inset-bottom, 0px)); width: min(370px, calc(100vw - 36px)); max-height: min(560px, calc(100vh - 140px)); z-index: 160; background: #070c19; border: 1px solid var(--line-strong); border-radius: 18px; display: grid; grid-template-rows: auto 1fr auto auto; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8), 0 0 0 1px rgba(45,184,255,.1); transform-origin: bottom right; animation: popIn .35s var(--ease); }
@keyframes popIn { from { opacity: 0; transform: scale(.9) translateY(10px); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: linear-gradient(100deg, rgba(31,111,255,.35), rgba(45,184,255,.1)); border-bottom: 1px solid var(--line); }
.chat-head img { width: 34px; }
.chat-head b { display: block; font-size: .95rem; }
.chat-head small { color: #a9c5f5; font-size: .75rem; }
.chat-head button { margin-left: auto; background: none; border: 0; color: var(--fg); font-size: 1.4rem; cursor: pointer; width: 34px; height: 34px; border-radius: 8px; }
.chat-log { padding: 16px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; min-height: 200px; }
.msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.5; animation: popIn .25s var(--ease); }
.msg.bot { background: var(--panel); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--grad); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg a { color: var(--cyan); font-weight: 600; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 50% { transform: translateY(-5px); background: var(--cyan); } }
.chat-quick { display: flex; gap: 6px; flex-wrap: wrap; padding: 0 16px 10px; }
.chat-quick button { font: inherit; font-size: .78rem; background: transparent; border: 1px solid var(--line-strong); color: var(--fg); border-radius: 999px; padding: 6px 11px; cursor: pointer; }
.chat-quick button:hover { border-color: var(--cyan); color: var(--cyan); }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; min-width: 0; font: inherit; font-size: .9rem; background: #060b17; border: 1px solid var(--line-strong); color: var(--fg); border-radius: 999px; padding: 10px 14px; }
.chat-input input:focus { outline: none; border-color: var(--cyan); }
.chat-input button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; cursor: pointer; display: grid; place-items: center; }

/* Cookie banner */
.cookie { position: fixed; left: max(18px, env(safe-area-inset-left, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 170; width: min(440px, calc(100vw - 36px)); background: #070c19; border: 1px solid var(--line-strong); border-radius: 16px; padding: 20px; display: grid; gap: 14px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.8); animation: slideUp .5s var(--ease); }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } }
.cookie p { font-size: .88rem; color: #c3cbe0; }
.cookie .row { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-prefs { display: grid; gap: 10px; font-size: .88rem; }
.cookie-prefs label { display: flex; gap: 10px; align-items: center; }
.cookie-prefs input { accent-color: var(--blue); width: 18px; height: 18px; }

.toast { position: fixed; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--panel); border: 1px solid var(--line-strong); color: var(--fg); padding: 12px 20px; border-radius: 999px; z-index: 300; font-size: .9rem; animation: slideUp .4s var(--ease); max-width: calc(100vw - 36px); }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding-block: 60px; }
.nf .code { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 11rem); line-height: 1; position: relative; }
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; }
.glitch::before { color: var(--cyan); transform: translate(3px, 0); clip-path: inset(0 0 60% 0); animation: glitch 2.4s infinite steps(2); mix-blend-mode: screen; }
.glitch::after { color: #3d4dff; transform: translate(-3px, 0); clip-path: inset(55% 0 0 0); animation: glitch 2s infinite steps(2) reverse; mix-blend-mode: screen; }
@keyframes glitch { 0% { clip-path: inset(0 0 70% 0); } 25% { clip-path: inset(40% 0 30% 0); } 50% { clip-path: inset(80% 0 5% 0); } 75% { clip-path: inset(10% 0 55% 0); } 100% { clip-path: inset(60% 0 20% 0); } }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 900px) {
  .nav-links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(4,6,12,.97); border-bottom: 1px solid var(--line); padding: 10px max(20px, env(safe-area-inset-right, 0px)) 22px max(20px, env(safe-area-inset-left, 0px)); transform: translateY(-120%); opacity: 0; transition: transform .4s var(--ease), opacity .3s; pointer-events: none; }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 14px 12px; border-radius: 10px; font-size: 1rem; }
  .menu-btn { display: block; }
  .nav-cta .btn { display: none; }
  .hero-grid, .auto-grid, .split, .contact-grid, .estimator, .cta-band { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .orbit { width: min(250px, 66%); }
  .est-result { border-left: 0; border-top: 1px solid var(--line); }
  .g-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .g-3, .g-2, .g-4, .steps, .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .chip-float { font-size: .64rem; padding: 6px 9px; }
  .chip-float.c1 { left: 0; } .chip-float.c2 { right: 0; }
  .brand img.word { width: 124px; }
  .cursor-glow { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}

/* ---------- Online-presence illustrations ---------- */
.show-art:has(svg.art) { aspect-ratio: 320 / 216; background: radial-gradient(ellipse at 50% 0%, rgba(31,111,255,.22), transparent 70%), #0a1428; }
.art { width: 100%; height: 100%; display: block; transition: transform .6s var(--ease); }
.show-card:hover .art { transform: scale(1.04) translateY(-4px); }
.art text { font-family: var(--font-mono); font-size: 9px; fill: #c3cbe0; }
.art .t { fill: #c3cbe0; font-size: 9px; }
.art .ts { fill: #2db8ff; font-size: 8px; font-weight: 600; }
.art .s { fill: #8d98b4; font-size: 8px; }
.art .h { fill: #ffffff; font-family: var(--font-body); font-size: 11px; font-weight: 700; }
.art .b { fill: #fff; font-size: 10px; font-weight: 700; }
.art .bs { fill: #fff; font-size: 8px; font-weight: 700; }
.art .g { fill: #2fd39a; font-size: 8.5px; font-weight: 600; }
.art .pin { animation: pinBounce 2.2s var(--ease) infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.art .shadow-p { animation: shadowPulse 2.2s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.art .ripple { animation: ripple 2.2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.art .caret-b { animation: blink 1s steps(1) infinite; }
.art .glow-pulse { animation: glowPulse 2.4s ease-in-out infinite; }
.art .float-s { animation: floatS 4s ease-in-out infinite; }
.art .twinkle polygon, .art .twinkle2 polygon { animation: twinkle 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.art .twinkle, .art .twinkle2 { animation: none; }
.art .msg-in { animation: msgIn 5s var(--ease) infinite both; }
.art .tdot { animation: tdot 1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.art .pop { animation: popPulse 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.art .press { animation: press 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.art .bar-grow { animation: barGrow 3.5s var(--ease) infinite both; transform-box: fill-box; transform-origin: 50% 100%; }
.art .draw { stroke-dasharray: 220; animation: drawLine 4s var(--ease) infinite both; }
@keyframes pinBounce { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-10px); } 60% { transform: translateY(0); } 70% { transform: translateY(-3px); } }
@keyframes shadowPulse { 40% { transform: scale(.6); opacity: .2; } }
@keyframes ripple { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes glowPulse { 50% { opacity: .55; filter: drop-shadow(0 0 6px #2db8ff); } }
@keyframes floatS { 50% { transform: translateY(-4px); } }
@keyframes twinkle { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.35); } }
@keyframes msgIn { 0% { opacity: 0; transform: translateY(8px); } 12%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes tdot { 50% { transform: translateY(-3px); fill: #2db8ff; } }
@keyframes popPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
@keyframes press { 0%, 80%, 100% { transform: scale(1); } 86% { transform: scale(.94); } }
@keyframes barGrow { 0% { transform: scaleY(.15); } 30%, 85% { transform: scaleY(1); } 100% { transform: scaleY(1); } }
@keyframes drawLine { 0% { stroke-dashoffset: 220; } 45%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; } }
