/* =========================================================
   DTZ Vision — design tokens
   ========================================================= */
:root {
  --bg: #05070d;
  --bg-2: #080c17;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #eef2ff;
  --muted: #94a3b8;
  --dim: #64748b;

  --blue: #2563eb;
  --blue-2: #3b82f6;
  --cyan: #22d3ee;
  --violet: #8b5cf6;
  --green: #34d399;

  --grad: linear-gradient(110deg, #60a5fa 0%, #22d3ee 45%, #a78bfa 100%);
  --grad-btn: linear-gradient(120deg, #2563eb 0%, #3b82f6 50%, #06b6d4 100%);

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 0 0 1px rgba(59, 130, 246, 0.35), 0 20px 60px -15px rgba(37, 99, 235, 0.55);

  --f-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --container: 1200px;
  --nav-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(59, 130, 246, 0.45); color: #fff; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--dim); }

/* ---------- buttons ---------- */
.btn {
  --pad: 12px 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15px/1 var(--f-body); white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn .ico { transition: transform .25s ease; }
.btn:hover .ico { transform: translateX(3px); }
.btn--sm { --pad: 10px 18px; font-size: 14px; }
.btn--lg { --pad: 17px 28px; font-size: 16px; }
.btn--primary { background: var(--grad-btn); background-size: 200% 100%; color: #fff; box-shadow: 0 10px 30px -10px rgba(37, 99, 235, .8), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 40px -12px rgba(34, 211, 238, .6), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(8px); }
.btn--ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn--light { background: #fff; color: #0b1226; }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(0,0,0,.45); }
.btn--outline-light { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.btn--outline-light:hover { background: rgba(255,255,255,.16); transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; transition: inset .3s ease; }
.nav__inner {
  width: min(var(--container), 100% - 28px); margin-inline: auto; height: 62px;
  display: flex; align-items: center; gap: 24px; padding: 0 10px 0 18px;
  border-radius: 999px; border: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.nav.is-scrolled .nav__inner { background: rgba(8, 12, 23, .72); border-color: var(--line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 10px 40px -15px rgba(0,0,0,.7); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 20px/1 var(--f-display); letter-spacing: -.02em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 6px 18px -6px rgba(37,99,235,.9); }
.brand b { font-weight: 500; color: var(--muted); margin-left: 4px; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links a { padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: var(--surface-2); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer; place-items: center; }
.nav__toggle .ico { width: 20px; height: 20px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 60px) 0 110px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .55; }
.hero__grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 20%, transparent 75%); opacity: .55; }
.hero__glow { position: absolute; z-index: -3; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.hero__glow--a { width: 620px; height: 620px; top: -180px; left: -120px; background: radial-gradient(circle, rgba(37,99,235,.55), transparent 65%); animation: drift 16s ease-in-out infinite alternate; }
.hero__glow--b { width: 560px; height: 560px; bottom: -200px; right: -120px; background: radial-gradient(circle, rgba(34,211,238,.32), rgba(139,92,246,.22) 45%, transparent 70%); animation: drift 19s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.12); } }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero__inner > * { min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #c7d2fe; background: rgba(59,130,246,.1); border: 1px solid rgba(96,165,250,.28); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34,211,238,.7); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(34,211,238,0); } 100% { box-shadow: 0 0 0 0 rgba(34,211,238,0); } }

.hero__title { font-size: clamp(42px, 6.4vw, 80px); font-weight: 700; margin: 26px 0 22px; letter-spacing: -0.035em; line-height: 1.02; }
.rotator { display: inline-block; position: relative; vertical-align: bottom; }
.rotator__word { display: inline-block; color: #fff; position: relative; transition: opacity .35s ease, transform .35s ease, filter .35s ease; }
.rotator__word::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .09em; border-radius: 4px; background: var(--grad); opacity: .9; }
.rotator__word.is-out { opacity: 0; transform: translateY(.35em); filter: blur(6px); }
.hero__lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 580px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; font-size: 14px; color: var(--muted); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust .ico { color: var(--green); }

.hero__visual { position: relative; perspective: 1200px; }
.editor {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(180deg, rgba(15,23,42,.92), rgba(8,12,23,.92));
  border: 1px solid var(--line-2); box-shadow: var(--shadow), 0 0 80px -30px rgba(59,130,246,.6);
  transform: rotateY(-8deg) rotateX(4deg); transform-style: preserve-3d; transition: transform .2s ease-out;
}
.editor::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(96,165,250,.7), transparent 40%, transparent 60%, rgba(34,211,238,.5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.editor__bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.r { background: #ff5f57; } .dot.y { background: #febc2e; } .dot.g { background: #28c840; }
.editor__file { margin-left: 12px; font: 500 12.5px var(--f-mono); color: var(--muted); }
.editor__badge { margin-left: auto; font: 500 11.5px var(--f-mono); color: var(--green); }
.editor__code { margin: 0; padding: 22px 22px 26px; font: 400 13.5px/1.85 var(--f-mono); color: #cbd5e1; overflow: hidden; counter-reset: ln; white-space: normal; }
.editor__code .ln { display: block; min-height: 1.85em; white-space: pre; position: relative; padding-left: 34px; clip-path: inset(0 100% 0 0); }
.editor__code .ln::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; width: 20px; text-align: right; color: #334155; }
.editor__code.is-typing .ln { animation: type .55s steps(28, end) forwards; animation-delay: calc(var(--i) * .32s); }
.editor__code.is-typing .ln:last-child::after { content: ""; display: inline-block; width: 8px; height: 1.1em; margin-left: 4px; vertical-align: -3px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
@keyframes type { to { clip-path: inset(0 0 0 0); } }
@keyframes blink { 50% { opacity: 0; } }
.editor__code b, .editor__code i { font-weight: 400; font-style: normal; }
.editor__code .k { color: #c084fc; }
.editor__code .f { color: #60a5fa; }
.editor__code .s { color: #34d399; }
.editor__code .n { color: #fbbf24; }
.editor__code .c { color: #475569; font-style: italic; }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px;
  background: rgba(13, 19, 36, .82); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); font-size: 13px; animation: bob 6s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: 11.5px; }
.float-card strong { font: 700 17px/1.2 var(--f-display); }
.float-card__icon { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(59,130,246,.18); color: #93c5fd; }
.float-card__icon.ok { background: rgba(52,211,153,.16); color: var(--green); }
.float-card--a { left: -42px; bottom: -34px; }
.float-card--b { right: -26px; top: -30px; animation-delay: -2s; }
.float-card--c { right: 24px; bottom: -22px; padding: 9px 14px; font: 500 12.5px var(--f-mono); gap: 8px; animation-delay: -4s; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; box-shadow: 0 0 10px var(--green); animation: ping-g 1.8s infinite; }
@keyframes ping-g { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.7); } 70%, 100% { box-shadow: 0 0 0 8px rgba(52,211,153,0); } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px; border-radius: 20px; border: 2px solid var(--line-2); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- marquee ---------- */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 56px; animation: marquee 38s linear infinite; }
.marquee__track span { font: 600 20px var(--f-display); color: #475569; letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee__track span::after { content: "✦"; font-size: 12px; color: var(--blue-2); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 90px; border: 1px solid var(--line); border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), transparent); overflow: hidden; }
.stat { padding: 38px 24px; text-align: center; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 24%; bottom: 24%; width: 1px; background: var(--line-2); }
.stat strong { display: block; font: 700 clamp(38px, 4.6vw, 56px)/1 var(--f-display); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { display: block; margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* ---------- sections ---------- */
.section { padding: 130px 0; position: relative; }
.section--alt { background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(37,99,235,.08), transparent 70%), var(--bg-2); border-block: 1px solid var(--line); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12.5px var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.section__head .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; }
h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 700; letter-spacing: -.03em; }
.section__head p, .lead { color: var(--muted); font-size: 17.5px; margin-top: 18px; }

/* ---------- bento services ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; padding: 32px; border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--line); transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.card:hover { transform: translateY(-4px); border-color: rgba(96,165,250,.35); box-shadow: 0 30px 60px -30px rgba(37,99,235,.55); }
.card--xl { grid-row: span 2; display: flex; flex-direction: column; }
.card h3 { font-size: 22px; margin: 22px 0 12px; }
.card--xl h3 { font-size: 28px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #2563eb, #3b82f6); box-shadow: 0 10px 25px -8px rgba(37,99,235,.8), inset 0 1px 0 rgba(255,255,255,.3); }
.card__icon .ico { width: 24px; height: 24px; }
.card__icon.c2 { background: linear-gradient(135deg, #0891b2, #22d3ee); box-shadow: 0 10px 25px -8px rgba(34,211,238,.7), inset 0 1px 0 rgba(255,255,255,.3); }
.card__icon.c3 { background: linear-gradient(135deg, #7c3aed, #a78bfa); box-shadow: 0 10px 25px -8px rgba(139,92,246,.7), inset 0 1px 0 rgba(255,255,255,.3); }
.card__icon.c4 { background: linear-gradient(135deg, #059669, #34d399); box-shadow: 0 10px 25px -8px rgba(52,211,153,.6), inset 0 1px 0 rgba(255,255,255,.3); }
.card__icon.c5 { background: linear-gradient(135deg, #db2777, #f472b6); box-shadow: 0 10px 25px -8px rgba(244,114,182,.6), inset 0 1px 0 rgba(255,255,255,.3); }
.checks { margin-top: 20px; display: grid; gap: 9px; font-size: 14.5px; color: #cbd5e1; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border-radius: 6px; background: rgba(52,211,153,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* spotlight */
.spot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(96,165,250,.13), transparent 45%); }
.spot:hover::after { opacity: 1; }

.card__art { margin-top: auto; padding-top: 32px; }
.art-modules { display: flex; flex-wrap: wrap; gap: 10px; }
.art-modules span { font: 500 12.5px var(--f-mono); padding: 9px 13px; border-radius: 10px; background: rgba(59,130,246,.08); border: 1px solid rgba(96,165,250,.2); color: #93c5fd; animation: glowcycle 6s ease-in-out infinite; }
.art-modules span:nth-child(2) { animation-delay: 1s; } .art-modules span:nth-child(3) { animation-delay: 2s; } .art-modules span:nth-child(4) { animation-delay: 3s; } .art-modules span:nth-child(5) { animation-delay: 4s; } .art-modules span:nth-child(6) { animation-delay: 5s; }
@keyframes glowcycle { 0%, 70%, 100% { background: rgba(59,130,246,.08); color: #93c5fd; } 10%, 25% { background: rgba(34,211,238,.22); color: #fff; border-color: rgba(34,211,238,.6); } }
.art-flow { position: absolute; right: 26px; top: 34px; display: flex; align-items: center; gap: 0; }
.art-flow i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--cyan); }
.art-flow b { position: relative; width: 70px; height: 2px; background: repeating-linear-gradient(90deg, rgba(34,211,238,.6) 0 6px, transparent 6px 12px); background-size: 24px 2px; animation: dash 1s linear infinite; }
@keyframes dash { to { background-position: 24px 0; } }
.art-pulse { position: absolute; right: 22px; top: 40px; width: 120px; height: 24px; fill: none; stroke: #a78bfa; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 2.8s ease-in-out infinite; }
@keyframes draw { 60% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -340; } }

/* ---------- split / orbit ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.orbit { position: relative; aspect-ratio: 1; width: min(100%, 480px); margin-inline: auto; }
.orbit__ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px dashed rgba(96,165,250,.28); animation: spin 28s linear infinite; }
.orbit__ring.r1 { width: 44%; height: 44%; animation-duration: 16s; border-style: solid; border-color: rgba(34,211,238,.25); }
.orbit__ring.r2 { width: 72%; height: 72%; animation-direction: reverse; animation-duration: 24s; }
.orbit__ring.r3 { width: 100%; height: 100%; animation-duration: 36s; border-color: var(--line-2); }
.orbit__node { position: absolute; top: 0; left: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 15px; display: grid; place-items: center; background: #0d1426; border: 1px solid var(--line-2); color: #93c5fd; box-shadow: 0 10px 30px -10px rgba(37,99,235,.7); animation: spin 28s linear infinite reverse; }
.orbit__ring.r1 .orbit__node { animation-duration: 16s; }
.orbit__ring.r2 .orbit__node { animation-duration: 24s; animation-direction: normal; color: var(--cyan); }
.orbit__ring.r3 .orbit__node { animation-duration: 36s; color: #c4b5fd; }
.orbit__node.n2 { top: auto; bottom: 0; margin: 0 0 -25px -25px; }
.orbit__node .ico { width: 22px; height: 22px; }
.orbit__core { position: absolute; inset: 0; margin: auto; width: 22%; height: 22%; border-radius: 28%; box-shadow: 0 0 0 12px rgba(37,99,235,.08), 0 0 0 26px rgba(37,99,235,.05), 0 0 90px 10px rgba(37,99,235,.55); }
.orbit__core img { width: 100%; height: 100%; border-radius: 28%; }
@keyframes spin { to { transform: rotate(360deg); } }

.feats { display: grid; gap: 14px; margin-top: 34px; }
.feat { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s, transform .3s; }
.feat:hover { border-color: rgba(96,165,250,.35); background: var(--surface-2); transform: translateX(6px); }
.feat > .ico { width: 22px; height: 22px; color: var(--cyan); margin-top: 2px; }
.feat strong { display: block; font-weight: 600; font-size: 16px; }
.feat span { display: block; color: var(--muted); font-size: 14.5px; margin-top: 2px; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 37px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, rgba(59,130,246,.6), rgba(34,211,238,.6), rgba(139,92,246,.6), transparent); }
.step { position: relative; text-align: center; padding: 0 12px; }
.step__n { position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 26px; border-radius: 22px; font: 700 24px var(--f-display); background: #0b1122; border: 1px solid var(--line-2); box-shadow: 0 0 0 8px var(--bg), 0 20px 40px -15px rgba(37,99,235,.7); transition: transform .35s, box-shadow .35s; }
.step__n::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.step:hover .step__n { transform: translateY(-6px) rotate(-4deg); }
.step h3 { font-size: 21px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- portfolio ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.work { border-radius: var(--r-lg); overflow: hidden; background: #0a0f1e; border: 1px solid var(--line); transition: transform .4s ease, border-color .4s, box-shadow .4s; display: flex; flex-direction: column; }
.work:hover { transform: translateY(-6px); border-color: rgba(96,165,250,.35); box-shadow: 0 40px 70px -35px rgba(37,99,235,.7); }
.work__media { position: relative; height: 190px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 30% 20%, rgba(59,130,246,.35), transparent 60%), radial-gradient(circle at 80% 90%, rgba(34,211,238,.22), transparent 55%), #0b1224; }
.work__media::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 18px 18px; }
.work:hover .work__media > * { transform: scale(1.05); }
.work__media > * { position: relative; transition: transform .5s ease; }
.work__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.work__sector { font: 600 11.5px var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); }
.work h3 { font-size: 21px; margin: 10px 0 10px; }
.work p { color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 20px; }
.tags span { font: 500 12px var(--f-mono); padding: 5px 10px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); color: #cbd5e1; }

.mini-code { width: 62%; display: grid; gap: 9px; padding: 20px; border-radius: 14px; background: rgba(5,7,13,.7); border: 1px solid var(--line-2); }
.mini-code i { height: 7px; border-radius: 4px; background: #334155; }
.mini-code i.k { background: #a78bfa; } .mini-code i.s { background: #34d399; }
.m-code { background: radial-gradient(circle at 25% 25%, rgba(139,92,246,.35), transparent 60%), radial-gradient(circle at 80% 80%, rgba(59,130,246,.3), transparent 55%), #0b1224; }

.m-sync { display: flex !important; align-items: center; justify-content: center; gap: 0; }
.m-sync .node { width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; font: 700 14px var(--f-display); background: #0d1529; border: 1px solid rgba(96,165,250,.45); box-shadow: 0 0 30px -5px rgba(59,130,246,.6); }
.m-sync .wire { position: relative; width: 110px; height: 2px; background: rgba(96,165,250,.3); }
.m-sync .wire i { position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: travel 2.4s linear infinite; }
.m-sync .wire i:nth-child(2) { animation-delay: .8s; } .m-sync .wire i:nth-child(3) { animation-delay: 1.6s; }
@keyframes travel { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }

.m-site { background: radial-gradient(circle at 70% 20%, rgba(52,211,153,.28), transparent 55%), radial-gradient(circle at 20% 90%, rgba(59,130,246,.3), transparent 55%), #0b1224; }
.browser { width: 68%; border-radius: 12px; overflow: hidden; background: #0d1426; border: 1px solid var(--line-2); box-shadow: 0 20px 40px -15px rgba(0,0,0,.7); }
.browser__bar { display: flex; gap: 5px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 7px; height: 7px; border-radius: 50%; background: #334155; }
.browser__hero { height: 52px; margin: 10px; border-radius: 8px; background: linear-gradient(110deg, #2563eb, #22d3ee); }
.browser__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin: 0 10px 10px; }
.browser__row i { height: 26px; border-radius: 6px; background: #1e293b; }

.m-pulse { background: radial-gradient(circle at 50% 0%, rgba(139,92,246,.3), transparent 60%), #0b1224; place-items: stretch !important; }
.m-pulse svg { width: 100%; height: 100%; position: absolute !important; inset: 0; }
.m-pulse .line { fill: none; stroke: #a78bfa; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.m-pulse .area { fill: rgba(139,92,246,.18); }
.uptime { position: absolute !important; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--f-mono); padding: 6px 11px; border-radius: 999px; background: rgba(5,7,13,.7); border: 1px solid var(--line-2); }

.m-dash { background: radial-gradient(circle at 80% 20%, rgba(34,211,238,.28), transparent 55%), #0b1224; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; }
.bars i { width: 20px; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #22d3ee, #2563eb); opacity: .9; transform-origin: bottom; }
.work.is-in .bars i { animation: grow 1s cubic-bezier(.2,.8,.2,1) both; }
.bars i:nth-child(2) { animation-delay: .08s !important; } .bars i:nth-child(3) { animation-delay: .16s !important; } .bars i:nth-child(4) { animation-delay: .24s !important; } .bars i:nth-child(5) { animation-delay: .32s !important; } .bars i:nth-child(6) { animation-delay: .4s !important; } .bars i:nth-child(7) { animation-delay: .48s !important; }
@keyframes grow { from { transform: scaleY(0); } }

.m-funnel { background: radial-gradient(circle at 30% 30%, rgba(244,114,182,.25), transparent 55%), radial-gradient(circle at 80% 80%, rgba(139,92,246,.28), transparent 55%), #0b1224; }
.funnel { width: 60%; display: grid; gap: 8px; justify-items: center; }
.funnel i { height: 22px; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, #db2777, #8b5cf6); opacity: .85; }
.funnel i:nth-child(2) { opacity: .7; } .funnel i:nth-child(3) { opacity: .55; } .funnel i:nth-child(4) { opacity: .95; background: linear-gradient(90deg, #34d399, #22d3ee); }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: start; }
.about p + p { color: var(--muted); margin-top: 16px; }
.about .lead strong { color: var(--text); }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; }
.mv__item { display: flex; gap: 14px; padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.mv__item > .ico { width: 24px; height: 24px; color: var(--cyan); }
.mv__item strong { display: block; font: 600 17px var(--f-display); margin-bottom: 4px; }
.mv__item span { color: var(--muted); font-size: 14.5px; }

.timeline { position: relative; display: grid; gap: 14px; padding-left: 8px; }
.timeline::before { content: ""; position: absolute; left: 38px; top: 30px; bottom: 30px; width: 2px; background: linear-gradient(180deg, rgba(59,130,246,.15), rgba(59,130,246,.7), rgba(34,211,238,.9)); }
.tl { position: relative; display: flex; gap: 22px; align-items: flex-start; padding: 18px 20px 18px 0; }
.tl__year { position: relative; z-index: 1; flex-shrink: 0; width: 62px; height: 34px; display: grid; place-items: center; border-radius: 999px; font: 600 13px var(--f-mono); background: #0b1122; border: 1px solid var(--line-2); color: #93c5fd; }
.tl--now .tl__year { background: var(--grad-btn); color: #fff; border: 0; box-shadow: 0 0 25px -2px rgba(34,211,238,.7); }
.tl h3 { font-size: 18px; margin: 5px 0 4px; }
.tl p { color: var(--muted); font-size: 14.5px; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 80px; }
.value { padding: 28px 24px; border-radius: var(--r-lg); background: linear-gradient(180deg, var(--surface), transparent); border: 1px solid var(--line); transition: transform .3s, border-color .3s; }
.value:hover { transform: translateY(-4px); border-color: rgba(96,165,250,.35); }
.value > .ico { width: 28px; height: 28px; color: var(--cyan); margin-bottom: 18px; }
.value h3 { font-size: 19px; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 90px 30px; border-radius: 36px; background: radial-gradient(circle at 15% 20%, rgba(255,255,255,.22), transparent 40%), linear-gradient(125deg, #1d4ed8 0%, #2563eb 35%, #0891b2 75%, #6d28d9 110%); box-shadow: 0 50px 100px -40px rgba(37,99,235,.8); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%); }
.cta__shine { position: absolute; z-index: -1; top: -50%; left: -30%; width: 40%; height: 200%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent); transform: rotate(20deg); animation: shine 6s ease-in-out infinite; }
@keyframes shine { 0% { left: -40%; } 60%, 100% { left: 130%; } }
.cta h2 { color: #fff; font-size: clamp(30px, 4.4vw, 54px); }
.cta p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 560px; margin: 18px auto 0; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.channels { display: grid; gap: 12px; margin-top: 34px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, transform .3s, background .3s; min-width: 0; }
a.channel:hover { border-color: rgba(96,165,250,.4); background: var(--surface-2); transform: translateX(6px); }
.channel__ic { width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px; display: grid; place-items: center; background: rgba(59,130,246,.14); color: #93c5fd; }
.channel small { display: block; color: var(--dim); font-size: 12.5px; }
.channel strong { display: block; font-weight: 600; font-size: 15.5px; overflow-wrap: anywhere; }

.form { position: relative; padding: 36px; border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015)); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.form::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(96,165,250,.6), transparent 35%, transparent 65%, rgba(34,211,238,.45)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 13.5px; font-weight: 500; color: #cbd5e1; }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(5,7,13,.6); color: var(--text); font: 400 15px var(--f-body); transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field select option { background: #0b1122; }
.field input::placeholder, .field textarea::placeholder { color: #475569; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-2); background: rgba(5,7,13,.85); box-shadow: 0 0 0 4px rgba(59,130,246,.18); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #f87171; box-shadow: 0 0 0 4px rgba(248,113,113,.14); }
.form__err { color: #fca5a5; font-size: 14px; }
.form .btn[disabled] { opacity: .7; cursor: wait; }
.form__ok { text-align: center; padding: 50px 10px; }
.form__ok-ic { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(52,211,153,.15); color: var(--green); box-shadow: 0 0 0 10px rgba(52,211,153,.06); }
.form__ok-ic .ico { width: 34px; height: 34px; stroke-width: 2.5; }
.form__ok h3 { font-size: 26px; margin-bottom: 8px; }
.form__ok p { color: var(--muted); }

/* ---------- footer ---------- */
.footer { margin-top: 40px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding: 70px 0 50px; }
.footer__brand p { color: var(--muted); font-size: 14.5px; margin: 18px 0 20px; max-width: 360px; }
.footer h4 { font: 600 14px var(--f-body); letter-spacing: .02em; margin-bottom: 18px; }
.footer ul { display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); }
.footer ul a { transition: color .2s; overflow-wrap: anywhere; }
.footer ul a:hover { color: var(--text); }
.social { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); transition: color .2s, background .2s; }
.social:hover { color: #fff; background: #0a66c2; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }

/* ---------- WhatsApp ---------- */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 14px 30px -8px rgba(37,211,102,.7); transition: transform .25s; }
.wa svg { width: 32px; height: 32px; }
.wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: wa 2.4s ease-out infinite; }
.wa:hover { transform: scale(1.08); }
@keyframes wa { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal[data-delay="1"] { transition-delay: .1s; } .reveal[data-delay="2"] { transition-delay: .2s; } .reveal[data-delay="3"] { transition-delay: .3s; } .reveal[data-delay="4"] { transition-delay: .4s; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 80px; }
  .hero__copy { text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__ctas, .hero__trust { justify-content: center; }
  .hero__visual { max-width: 600px; margin-inline: auto; width: 100%; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--xl { grid-row: auto; grid-column: 1 / -1; }
  .works { grid-template-columns: 1fr 1fr; }
  .split, .about, .contact { grid-template-columns: 1fr; gap: 60px; }
  .orbit { width: min(100%, 400px); }
  .values { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: grid; }
  .nav__inner { background: rgba(8, 12, 23, .72); border-color: var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; padding: 12px; gap: 2px;
    border-radius: 22px; background: #0a0f1d; border: 1px solid var(--line-2); box-shadow: 0 30px 80px -10px rgba(0,0,0,.9);
  }
  .nav.is-open .nav__links a:last-child { color: #fff; background: var(--grad-btn); margin-top: 6px; text-align: center; }
  .nav.is-open .nav__links a { padding: 14px 16px; font-size: 16px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps::before { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .container { width: calc(100% - 32px); }
  .section { padding: 90px 0; }
  .hero { padding-top: calc(var(--nav-h) + 40px); padding-bottom: 90px; }
  .hero__title { font-size: clamp(38px, 11vw, 52px); }
  .hero__ctas .btn { width: 100%; }
  .editor { transform: none !important; }
  .editor__code { font-size: 11px; padding: 16px 14px 20px; }
  .editor__code .ln { padding-left: 24px; }
  .float-card--a { left: -6px; bottom: -40px; }
  .float-card--b { right: -6px; top: -62px; }
  .float-card--c { display: none; }
  .bento, .works, .values, .mv { grid-template-columns: 1fr; }
  .card { padding: 26px; }
  .art-flow, .art-pulse { display: none; }
  .steps { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .form__grid { grid-template-columns: 1fr; }
  .cta { padding: 64px 22px; border-radius: 28px; }
  .cta__btns .btn { width: 100%; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .stat { padding: 28px 12px; }
  .scroll-cue { display: none; }
  .wa { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa svg { width: 28px; height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .editor__code .ln { clip-path: none; }
}
