/* ============================================================
   IntegraTeck — "Built from light"
   Dark, Apple-inspired, Amazon-night accents (mint firefly + warm amber)
   ============================================================ */
:root {
  --bg: #06070a;
  --bg-2: #0b0d12;
  --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: #f3f5f8;
  --muted: #8b93a3;
  --mint: #5ef0c8;
  --mint-2: #2fd3a8;
  --amber: #ffb86b;
  --sky: #7fb2ff;
  --grad: linear-gradient(100deg, var(--mint) 0%, #b4f5e3 45%, var(--amber) 100%);

  --f-display: "Inter Tight", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --pad: clamp(16px, 5vw, 64px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-display);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--mint); color: #04110d; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--mint); color: #000; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 16px; }

.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Ambient background ---------- */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .32; will-change: transform; }
.a1 { width: 60vw; height: 60vw; left: -15vw; top: -20vw; background: radial-gradient(circle, rgba(94,240,200,.55), transparent 65%); animation: drift1 28s ease-in-out infinite alternate; }
.a2 { width: 50vw; height: 50vw; right: -18vw; top: 30vh; background: radial-gradient(circle, rgba(127,178,255,.4), transparent 65%); animation: drift2 34s ease-in-out infinite alternate; }
.a3 { width: 45vw; height: 45vw; left: 20vw; bottom: -25vw; background: radial-gradient(circle, rgba(255,184,107,.28), transparent 65%); animation: drift3 40s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-22vw, -10vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-12vw, -30vh) scale(1.2); } }
.grain {
  position: absolute; inset: -50%; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain { 0%,100%{transform:translate(0,0)} 20%{transform:translate(-5%,3%)} 40%{transform:translate(3%,-6%)} 60%{transform:translate(-2%,5%)} 80%{transform:translate(6%,1%)} }

.cursor-glow {
  position: fixed; width: 520px; height: 520px; left: 0; top: 0; z-index: -1; pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94,240,200,.09), transparent 60%);
  transform: translate(-50%, -50%) translate(var(--cx, -999px), var(--cy, -999px));
  transition: opacity .4s;
}

/* ---------- Custom cursor (fine pointers only, enabled by JS) ---------- */
.cur { display: none; }
.has-cursor, .has-cursor * { cursor: none !important; }
.has-cursor input:not([type="checkbox"]):not([type="radio"]), .has-cursor textarea { cursor: text !important; }
.has-cursor .cur { display: block; position: fixed; inset: 0; z-index: 200; pointer-events: none; }
/* Arrow tip sits at the pointer position (path starts at 3.5,2.2 in a 24px box) */
.cur-arrow { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: -2.2px 0 0 -3.5px; will-change: transform; transition: opacity .2s; }
.cur-arrow svg { width: 100%; height: 100%; overflow: visible; transform-origin: 3.5px 2.2px; transition: transform .3s var(--ease-spring), filter .3s; filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)); }
.cur-arrow path { fill: var(--mint); stroke: #06070a; stroke-width: 1.4; stroke-linejoin: round; transition: fill .25s; }
.cur.hover .cur-arrow svg { transform: scale(1.12); filter: drop-shadow(0 1px 2px rgba(0,0,0,.55)) drop-shadow(0 0 8px rgba(94,240,200,.55)); }
.cur.hover .cur-arrow path { fill: #8ff7da; }
.cur.down .cur-arrow svg { transform: scale(.9); }
.cur.text .cur-arrow, .cur.gone .cur-arrow { opacity: 0; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap;
  transition: transform .5s var(--ease), background .3s, box-shadow .4s, border-color .3s, color .3s;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--text); color: #05070a; box-shadow: 0 0 0 0 rgba(94,240,200,0); }
.btn-primary:hover { background: #fff; box-shadow: 0 10px 40px -8px rgba(94,240,200,.55); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.02); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }
.btn[disabled] { opacity: .4; pointer-events: none; }
.text-link { display: inline-flex; gap: 6px; color: var(--mint); font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .3s; }
.text-link:hover { border-color: var(--mint); }
.link-btn { font-size: 14px; color: var(--muted); padding: 8px 10px; transition: color .3s; }
.link-btn:hover { color: var(--text); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(calc(100% - 24px), 1180px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background .5s, border-color .5s, backdrop-filter .5s, top .5s var(--ease);
}
.nav.scrolled { background: rgba(10,12,16,.62); border-color: var(--line); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(145deg, #12161d, #07090c); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 24px -6px rgba(94,240,200,.5); }
.brand-mark svg { width: 20px; height: 20px; fill: none; stroke: var(--mint); stroke-width: 3; stroke-linecap: round; }
.brand-word b { font-weight: 700; color: var(--mint); }
.nav-links { display: flex; gap: 4px; }
@media (min-width: 861px) { .nav-links .mobile-only { display: none; } }
.nav-links a { font-size: 14px; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: color .3s, background .3s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.lang { position: relative; display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; font-size: 12px; font-weight: 600; }
.lang-opt { position: relative; z-index: 1; width: 34px; height: 26px; display: grid; place-items: center; color: var(--muted); transition: color .3s; }
.lang-opt.is-on { color: #05070a; }
.lang-pill { position: absolute; top: 3px; left: 3px; width: 34px; height: 26px; border-radius: 999px; background: var(--mint); transition: transform .5s var(--ease-spring); }
.lang.en .lang-pill { transform: translateX(34px); }
.burger { display: none; width: 40px; height: 40px; border-radius: 50%; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: 120px var(--pad) 90px; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-inner { position: relative; z-index: 2; max-width: 980px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 28px; padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: #c9cfda; background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(94,240,200,.6); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(94,240,200,.6); } 80%,100% { box-shadow: 0 0 0 10px rgba(94,240,200,0); } }
.hero-title { margin: 0; font-size: clamp(48px, 10.5vw, 136px); line-height: .94; font-weight: 700; letter-spacing: -0.045em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .word { display: inline-block; transform: translateY(110%); filter: blur(8px); opacity: 0; transition: transform 1.3s var(--ease), filter 1.3s var(--ease), opacity 1s; }
.hero-title .serif { font-weight: 400; letter-spacing: -0.02em; padding-right: .06em; }
.loaded .hero-title .word { transform: none; filter: none; opacity: 1; }
.loaded .hero-title .line:nth-child(2) .word { transition-delay: .12s; }
.loaded .hero-title .line:nth-child(3) .word { transition-delay: .24s; }
.hero-sub { max-width: 640px; margin: 30px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: #aab2c0; }
.hero-ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.hero-chips { list-style: none; padding: 0; margin: 48px auto 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--muted); }
.hero-chips li { display: flex; gap: 8px; align-items: baseline; }
.chip-k { color: var(--text); font-weight: 600; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line-2); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--text); animation: wheel 2s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: rgba(255,255,255,.012); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 32px; width: max-content; animation: marquee 40s linear infinite; font-size: clamp(20px, 2.6vw, 32px); font-weight: 500; letter-spacing: -0.02em; color: #c3c9d3; }
.marquee-track i { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); align-self: center; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(96px, 14vw, 180px) var(--pad); max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { margin: 0 0 16px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.eyebrow, .chip-k, .url, .ba-tags b, .badge, .tile-k, .total > span, .pay legend, .field > span, .copy, .from, .once, .price em, .fine { font-family: var(--f-mono); }
.field > span, .pay legend { font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; }
.hero-sub em { font-family: var(--f-serif); font-size: 1.18em; color: var(--text); }
.copy a { color: #8b93a3; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.copy a:hover { color: var(--mint); border-color: var(--mint); }
.check a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.sig { display: flex; flex-direction: column; gap: 2px; margin: 22px 0 0; padding-left: 16px; border-left: 2px solid var(--mint); }
.sig b { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 30px; letter-spacing: -0.01em; line-height: 1.1; }
.sig span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
h2 { margin: 0; font-size: clamp(40px, 6.4vw, 84px); line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
h2 .serif { font-weight: 400; }
h3 { letter-spacing: -0.025em; }
.lead { margin: 22px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: #aab2c0; max-width: 640px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(36px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- Before / After ---------- */
.ba { position: relative; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: #0d0f14; overflow: hidden; box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.02), 0 0 80px -30px rgba(94,240,200,.25); }
.browser-bar { position: relative; z-index: 4; display: flex; align-items: center; gap: 16px; height: 48px; padding: 0 16px; background: #12151b; border-bottom: 1px solid var(--line); }
.lights { display: flex; gap: 7px; } .lights i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f38; }
.lights i:nth-child(1) { background: #ff5f57; } .lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.url { flex: 1; max-width: 360px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 6px; height: 30px; border-radius: 9px; background: rgba(255,255,255,.05); font-size: 13px; color: var(--muted); }
.url svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.ba-tags { display: flex; gap: 6px; font-size: 11px; }
.ba-tags b { padding: 4px 9px; border-radius: 999px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; transition: opacity .3s; }
.tag-before { background: rgba(255,255,255,.08); color: #cfd4dc; }
.tag-after { background: rgba(94,240,200,.15); color: var(--mint); }
/* No overscroll containment: at the top/bottom the wheel/touch hands off to the page */
.ba-viewport { position: relative; height: min(70vh, 640px); overflow-y: auto; overscroll-behavior: auto; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent; cursor: grab; }
.ba-viewport.dragging { cursor: grabbing; user-select: none; }
.ba-stage { position: relative; overflow: hidden; }
.ba-layer img { width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); overflow: hidden; background: #fff; }
.ba-before img { display: block; width: 100%; height: auto; }

/* Before/after labels: an arrow pointing at the feature + a short phrase (no circles).
   --x/--y: arrow tip in % of the image. r/l/t/b: label right, left, above or below the tip.
   --w: label max width (--ws on phones). */
.ba-stage { container-type: inline-size; }
.ba-after { position: relative; }
.ba-before { z-index: 2; } /* keeps the after-side labels underneath the old site */
.note { --c: var(--mint); position: absolute; left: var(--x); top: var(--y); z-index: 2; width: 0; height: 0; pointer-events: none; font-size: clamp(7px, 1.4cqw, 12.5px); }
.ba-before .note { --c: #ff6b6b; }
/* Arrow: its tip sits just beside the feature, the tail runs to the label */
.note::after { content: ""; position: absolute; top: -.4em; width: 2.8em; height: .8em; background: var(--c); clip-path: polygon(0 50%, .8em 0, .8em 36%, 100% 36%, 100% 64%, .8em 64%, .8em 100%); filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.6)); }
.note.r::after { left: .6em; }
.note.l::after { right: .6em; transform: scaleX(-1); }
.note span { position: absolute; top: 0; transform: translateY(-50%); width: max-content; max-width: var(--w, 12.5em); padding: .5em .9em; border-radius: 1.1em; background: rgba(8,10,14,.9); border: 1px solid var(--c); color: #fff; font-weight: 600; line-height: 1.2; letter-spacing: .01em; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.note.r span { left: 3.4em; }
.note.l span { right: 3.4em; }
/* t / b: label above or below the tip, arrow pointing down or up */
.note.t::after, .note.b::after { left: 0; transform-origin: 0 50%; }
.note.b::after { transform: rotate(90deg) translateX(.6em); }
.note.t::after { transform: rotate(-90deg) translateX(.6em); }
.note.t span, .note.b span { left: 0; transform: translateX(-50%); }
.note.b span { top: 3.4em; }
.note.t span { top: auto; bottom: 3.4em; }
.note span::before { content: "✓"; margin-right: .5em; color: var(--c); font-weight: 800; }
.ba-before .note span::before { content: "✕"; }
/* Phones: shorter arrows and no icon, so labels fit in the margins (color still marks old vs new) */
@container (max-width: 560px) {
  .note span { max-width: var(--ws, var(--w, 11em)); padding: .35em .55em; }
  .note span::before { display: none; }
  .note::after { width: 1.7em; }
  .note.r::after { left: .4em; }
  .note.l::after { right: .4em; }
  .note.b::after { transform: rotate(90deg) translateX(.4em); }
  .note.t::after { transform: rotate(-90deg) translateX(.4em); }
  .note.r span { left: 2.1em; }
  .note.l span { right: 2.1em; }
  .note.b span { top: 2.1em; }
  .note.t span { bottom: 2.1em; }
}
.ba-divider { position: absolute; z-index: 3; top: 48px; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 18px rgba(94,240,200,.8); pointer-events: none; }
.ba-handle { position: absolute; z-index: 5; top: calc(50% + 24px); left: var(--pos); width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,12,16,.7); border: 1.5px solid #fff; backdrop-filter: blur(10px); cursor: ew-resize; touch-action: none; transition: transform .35s var(--ease-spring), box-shadow .3s; box-shadow: 0 0 0 6px rgba(94,240,200,.0); }
.ba-handle:hover, .ba-handle.drag { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(94,240,200,.18); }
.ba-handle svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ba-foot { margin: 18px 0 0; text-align: right; }

/* ---------- Showcase (Dim Sum) ---------- */
.showcase { margin-top: clamp(100px, 14vw, 180px); display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.showcase-copy h3 { margin: 0 0 18px; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.showcase-copy p { color: #aab2c0; margin: 0 0 22px; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .42em; width: 16px; height: 16px; border-radius: 50%; background: rgba(94,240,200,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.2 2.2 4.8-4.8' fill='none' stroke='%235ef0c8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
/* No preserve-3d: it let the glow below cut through the tilted screen as a moving light band */
.device { position: relative; perspective: 1400px; isolation: isolate; }
.device-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 18px 18px 6px 6px; border: 10px solid #1a1d23; background: #000; overflow: hidden; box-shadow: 0 50px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08), 0 0 140px -30px rgba(255,184,107,.45); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); will-change: transform; }
.device::before { content: ""; position: absolute; inset: 8% -6% -10%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,214,160,.16), transparent); filter: blur(30px); }
.device-base { height: 16px; margin: 0 -6%; border-radius: 0 0 18px 18px; background: linear-gradient(#2a2e36, #121418); box-shadow: 0 20px 40px -10px rgba(0,0,0,.8); }
.device-scroll { position: absolute; inset: 0 0 auto 0; transition: transform var(--scroll-dur, 6s) cubic-bezier(.45,0,.2,1); }
.device-scroll img { width: 100%; height: auto; }
.device:hover .device-scroll, .device:focus-within .device-scroll, .device.play .device-scroll { transform: translateY(calc(-100% + var(--screen-h, 300px))); }

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.step { position: relative; padding: 36px 28px 40px; background: var(--bg); transition: background .5s; }
.step:hover { background: #0c0f14; }
.step-n { display: block; font-size: clamp(56px, 7vw, 88px); font-weight: 800; line-height: 1; letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); margin-bottom: 36px; transition: color .6s, -webkit-text-stroke-color .6s; }
.step:hover .step-n { color: var(--mint); -webkit-text-stroke-color: transparent; }
.step h3 { margin: 0 0 10px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.steps .step:nth-child(2) { transition-delay: .08s; } .steps .step:nth-child(3) { transition-delay: .16s; } .steps .step:nth-child(4) { transition-delay: .24s; }

/* ---------- Spotlight cards ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(94,240,200,.1), transparent 45%); }
.spot:hover::before { opacity: 1; }

/* ---------- Pricing ---------- */
.build-card { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: linear-gradient(140deg, rgba(94,240,200,.07), rgba(255,255,255,.02) 40%, rgba(255,184,107,.05)); margin-bottom: 20px; }
.build-card h3 { margin: 0 0 14px; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; }
.build-card p { margin: 0; }
.build-price { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding-left: 40px; border-left: 1px solid var(--line); }
.from, .once { font-size: 14px; color: var(--muted); }
.big { font-size: clamp(64px, 8vw, 104px); font-weight: 700; letter-spacing: -0.06em; line-height: 1; }
.big small { font-size: .35em; font-weight: 500; vertical-align: top; margin-right: 6px; letter-spacing: 0; color: var(--muted); }
.build-price .btn { margin-top: 20px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plan { display: flex; flex-direction: column; padding: 34px 30px 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); transition: transform .6s var(--ease), border-color .4s; }
.plan:hover { transform: translateY(-6px); border-color: var(--line-2); }
.plan header h3 { margin: 0 0 6px; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 34px; letter-spacing: -0.01em; line-height: 1; }
.plan header p { margin: 0; font-size: 15px; }
.price { margin: 28px 0 26px; font-size: 64px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; }
.price small { font-size: 22px; font-weight: 500; color: var(--muted); margin-right: 4px; vertical-align: top; letter-spacing: 0; }
.price em { font-style: normal; font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .ticks { flex: 1; font-size: 15px; color: #c8ced8; }
.plan-featured { background: linear-gradient(170deg, rgba(94,240,200,.1), rgba(255,255,255,.025) 50%); border-color: rgba(94,240,200,.35); box-shadow: 0 30px 80px -30px rgba(94,240,200,.25); }
.plan-featured::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, var(--mint) 85%, transparent); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 6s linear infinite; pointer-events: none; }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --ang: 360deg; } }
.badge { position: absolute; top: 20px; right: 20px; font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--mint); color: #04110d; }
.fine { margin: 22px 0 0; font-size: 14px; color: var(--muted); text-align: center; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-photo { position: relative; aspect-ratio: 4/5; border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(circle at 30% 20%, rgba(94,240,200,.25), transparent 50%), radial-gradient(circle at 80% 90%, rgba(255,184,107,.2), transparent 50%), #0c0f14; border: 1px solid var(--line-2); display: grid; place-items: center; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; z-index: 1; filter: brightness(.82) saturate(.78) contrast(1.04); }
/* Dimmed, with a dark fade at the edges, so the photo blends into the dark page */
.about-photo.has-photo::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(6,7,10,.7), transparent 40%), radial-gradient(120% 90% at 50% 35%, transparent 55%, rgba(6,7,10,.45)), linear-gradient(160deg, rgba(94,240,200,.06), transparent 50%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); border-radius: inherit; }
.about-photo.has-photo .ring, .about-photo.has-photo .about-initial { display: none; }
.about-initial { font: italic 400 clamp(140px, 18vw, 240px)/1 var(--f-serif); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ring { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(94,240,200,.25); animation: ring 5s ease-in-out infinite; }
@keyframes ring { 50% { transform: scale(1.12); opacity: .4; } }
.about-copy .lead { margin-bottom: 16px; }
.build-note { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(94,240,200,.18); background: rgba(94,240,200,.05); font-size: 14.5px; color: var(--muted); }
.build-note b { color: var(--text, #fff); font-weight: 600; }
.about-copy .values { margin: 22px 0; gap: 10px; font-size: 15.5px; }
.lang-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.extras { max-width: 760px; margin: 34px auto 0; padding: 22px 26px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); background: var(--surface); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.extras .kicker { margin: 0; }
.extras ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; flex: 1; }
.extras li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13.5px; }
.lang-badges span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; background: var(--surface); }

/* ---------- Start ---------- */
.start-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 20px; align-items: start; }
.start-card { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); border: 1px solid var(--line-2); background: rgba(14,17,22,.75); backdrop-filter: blur(16px); }
.start-card h3 { margin: 22px 0 10px; font-size: 28px; }
.start-card > p { margin: 0 0 26px; }
.call-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0; position: sticky; top: 100px; }
.call-card .btn { margin-bottom: 18px; }
.start-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(94,240,200,.1); border: 1px solid rgba(94,240,200,.25); }
.start-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--mint); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 0 0 16px; border: 1px solid var(--line-2); border-radius: 14px; }
.seg label { position: relative; }
.seg input, .pp input, .pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; transition: background .3s, color .3s; }
.seg input:checked + span { background: var(--surface-2); color: var(--text); }
.seg input:focus-visible + span, .pp input:focus-visible + span, .pay-opt input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }

.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.pp span { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: 14px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .3s, background .3s, transform .4s var(--ease-spring); }
.pp b { font-size: 15px; } .pp em { font-style: normal; color: var(--muted); font-size: 14px; }
.pp input:checked + span { border-color: var(--mint); background: rgba(94,240,200,.08); transform: scale(1.02); }
.pp input:checked + span em { color: var(--mint); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; font-size: 13px; color: var(--muted); }
.field.full { grid-column: 1 / -1; }
.field input { height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: var(--text); font: inherit; font-size: 16px; transition: border-color .3s, background .3s, box-shadow .3s; }
.field input::placeholder { color: #4f5664; }
.field input:focus { outline: none; border-color: var(--mint); background: rgba(94,240,200,.04); box-shadow: 0 0 0 4px rgba(94,240,200,.12); }
.field input.bad { border-color: #ff6b6b; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 0; font-size: 14px; color: #b9c0cc; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--mint); }
.pay { border: 0; padding: 0; margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay legend { font-size: 13px; color: var(--muted); margin-bottom: 8px; padding: 0; }
.pay-opt span { display: flex; flex-direction: column; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .3s, background .3s; }
.pay-opt small { color: var(--muted); font-size: 12.5px; }
.pay-opt input:checked + span { border-color: var(--mint); background: rgba(94,240,200,.06); }
.total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: 22px 0 0; padding: 18px 20px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px dashed var(--line-2); font-size: 14px; color: var(--muted); }
.total > b { font-size: 26px; color: var(--text); letter-spacing: -0.03em; margin-right: auto; }
.total-once b { color: var(--amber); margin-left: 6px; }
.form-error { margin: 16px 0 0; padding: 10px 14px; border-radius: 10px; background: rgba(255,107,107,.1); color: #ff9b9b; font-size: 14px; }
.signup .btn-block { margin-top: 22px; }
.privacy { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { padding: 0 var(--pad) 40px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-big { font-size: clamp(64px, 17vw, 260px); font-weight: 800; letter-spacing: -0.07em; line-height: .8; text-align: center; margin: 60px 0 50px; background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
.footer-row { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer-row p { margin: 12px 0 0; font-size: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; text-align: right; }
.footer-links a { color: #c6ccd6; transition: color .3s; } .footer-links a:hover { color: var(--mint); }
.copy { max-width: var(--max); margin: 36px auto 0; font-size: 13px; color: #5b6270; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .4s var(--ease-spring); }
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(3,4,6,.7); backdrop-filter: blur(10px); animation: fade .3s; }
.modal[hidden] { display: none; }
.modal-card { position: relative; width: min(100%, 460px); max-height: calc(100svh - 32px); overflow: auto; padding: 36px 30px 30px; border-radius: var(--r-lg); background: #0f1218; border: 1px solid var(--line-2); box-shadow: 0 40px 120px -20px #000; animation: pop .5s var(--ease-spring); display: grid; gap: 14px; }
.modal-card h3 { margin: 0; font-size: 28px; }
.modal-card p { margin: 0; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; font-size: 22px; color: var(--muted); background: var(--surface-2); }
.pay-box { padding: 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); font-size: 14px; color: #c3c9d3; display: grid; gap: 10px; }
.check-anim { justify-self: center; width: 64px; height: 64px; }
.check-anim svg { fill: none; stroke: var(--mint); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.check-anim circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease) forwards; }
.check-anim path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .showcase, .about-grid, .start-grid { grid-template-columns: 1fr; }
  .call-card { position: relative; top: 0; }
  .about-photo { max-width: 380px; }
}
@media (max-width: 860px) {
  .nav-links { position: fixed; top: 74px; left: 12px; right: 12px; flex-direction: column; padding: 12px; border-radius: 22px; background: rgba(12,14,19,.95); border: 1px solid var(--line-2); backdrop-filter: blur(20px); opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: opacity .35s, transform .45s var(--ease); }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { font-size: 18px; padding: 14px 16px; color: var(--text); }
  .burger { display: block; }
  .nav-actions .btn-sm { display: none; }
  .build-card { grid-template-columns: 1fr; }
  .build-price { padding: 28px 0 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .nav { padding-left: 14px; }
  .brand-word { font-size: 16px; }
  .link-btn { display: none; }
  .steps { grid-template-columns: 1fr; }
  .fields, .pay { grid-template-columns: 1fr; }
  .plan-pick { grid-template-columns: 1fr; }
  .pp span { flex-direction: row; justify-content: space-between; }
  .ba-tags { display: none; }
  .ba-viewport { height: 62vh; }
  .footer-links { text-align: left; }
  .hero-chips { gap: 8px 18px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-title .word { opacity: 1; transform: none; filter: none; }
  .marquee-track { animation: none; }
  .cursor-glow { display: none; }
}
