/* ============================================================
   CODE BAUSTEIN · futuristic landing
   ============================================================ */

:root {
  --bg: #07070b;
  --bg-soft: #0c0c14;
  --surface: rgba(20, 18, 32, 0.55);
  --surface-2: rgba(28, 26, 44, 0.7);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #ecedf3;
  --text-dim: #9a9bad;
  --text-mute: #6a6b7d;
  --violet: #a78bfa;
  --violet-2: #8b5cf6;
  --blue: #60a5fa;
  --blue-2: #3b82f6;
  --silver: #d1d5db;
  --grad: linear-gradient(135deg, #a78bfa 0%, #60a5fa 60%, #c0c4ce 100%);
  --grad-soft: linear-gradient(135deg, rgba(167,139,250,.15), rgba(96,165,250,.15));
  --glow-v: 0 0 60px rgba(167, 139, 250, 0.35);
  --glow-b: 0 0 60px rgba(96, 165, 250, 0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
*::selection { background: rgba(167, 139, 250, .35); color: #fff; }

html, body { background: var(--bg); color: var(--text); font-family: 'Space Grotesk', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body { overflow-x: hidden; line-height: 1.5; }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: normal; font-weight: 500; color: var(--text); }

/* ============ LOADER ============ */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; transition: opacity .6s cubic-bezier(.4,0,.2,1); }
.loader.done { opacity: 0; pointer-events: none; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 24px; z-index: 2; }
.loader-logo .ll-r { transform-origin: center; opacity: 0; animation: llIn .6s cubic-bezier(.16,1,.3,1) forwards; }
.loader-logo .r1 { animation-delay: .05s; }
.loader-logo .r2 { animation-delay: .15s; }
.loader-logo .r3 { animation-delay: .25s; }
.loader-logo .r4 { animation-delay: .35s; }
@keyframes llIn { from { opacity: 0; transform: translateY(10px) scale(.8); } to { opacity: 1; transform: translateY(0) scale(1); } }
.loader-bar { width: 220px; height: 1px; background: rgba(255,255,255,.08); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--blue)); transition: width .15s linear; box-shadow: 0 0 12px var(--violet); }
.loader-meta { display: flex; justify-content: space-between; width: 220px; font-family: 'JetBrains Mono', monospace; font-size: 10px; color: var(--text-mute); letter-spacing: .12em; }
.loader-curtain { position: absolute; inset: 0; background: linear-gradient(135deg, #0f0a2e 0%, var(--bg) 50%, #0a1e3f 100%); transform-origin: top; transform: scaleY(0); transition: transform .8s cubic-bezier(.76,0,.24,1); }
.loader.curtain-up .loader-curtain { transform-origin: bottom; transform: scaleY(1); transition: transform .9s cubic-bezier(.76,0,.24,1); }
.loader.curtain-up .loader-inner { opacity: 0; transition: opacity .3s; }

/* ============ BACKGROUND LAYERS ============ */
.bg-grid {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.bg-noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .35; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/></svg>");
}
.bg-aurora { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.aurora { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .55; mix-blend-mode: screen; }
.aurora.a1 { width: 700px; height: 700px; background: radial-gradient(circle, #6d28d9, transparent 70%); top: -200px; left: -150px; animation: float1 22s ease-in-out infinite; }
.aurora.a2 { width: 600px; height: 600px; background: radial-gradient(circle, #1e40af, transparent 70%); top: 30%; right: -180px; animation: float2 28s ease-in-out infinite; }
.aurora.a3 { width: 500px; height: 500px; background: radial-gradient(circle, #7c3aed, transparent 70%); bottom: -200px; left: 30%; animation: float3 32s ease-in-out infinite; opacity: .35; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(80px, 60px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-60px, 80px); } }
@keyframes float3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(120px, -50px); } }

/* ============ CURSOR ============ */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 420px; height: 420px;
  border-radius: 50%; pointer-events: none; z-index: 2;
  background: radial-gradient(circle, rgba(167,139,250,.16) 0%, rgba(96,165,250,.05) 40%, transparent 70%);
  transform: translate(-50%, -50%); transition: opacity .3s; opacity: 0;
}
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 150;
  border-radius: 50%; transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .3s, width .3s cubic-bezier(.16,1,.3,1), height .3s cubic-bezier(.16,1,.3,1), background .3s, border-color .3s;
}
.cursor-dot { width: 6px; height: 6px; background: #fff; mix-blend-mode: difference; }
.cursor-ring { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.5); backdrop-filter: invert(.05); }
.cursor-ring.hover { width: 64px; height: 64px; border-color: var(--violet); background: rgba(167,139,250,.08); }
.cursor-ring.click { width: 28px; height: 28px; background: rgba(167,139,250,.25); }
@media (hover: hover) and (pointer: fine) {
  body:hover .cursor-glow, body:hover .cursor-dot, body:hover .cursor-ring { opacity: 1; }
  body { cursor: none; }
  a, button, label, input, textarea, [data-magnetic] { cursor: none; }
}

/* ============ NAV ============ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 32px;
  transition: padding .3s ease, background .3s ease;
}
.nav.scrolled { padding: 10px 32px; }
.nav.scrolled .nav-inner { background: rgba(10, 10, 18, 0.72); border-color: var(--line-2); }
.nav-inner {
  max-width: 1340px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 12px 22px;
  background: rgba(10, 10, 18, 0.45);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--line); border-radius: 100px;
  transition: all .3s ease;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { position: relative; width: 26px; height: 26px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; }
.bm-dot { border-radius: 6px 6px 2px 6px; }
.bm-dot.bm-p { background: var(--violet); border-radius: 6px 2px 2px 2px; }
.bm-dot.bm-r { background: #ef4444; border-radius: 2px 6px 2px 2px; }
.bm-dot.bm-b { background: var(--blue); border-radius: 2px 2px 2px 6px; }
.bm-dot.bm-y { background: #facc15; border-radius: 2px 2px 6px 2px; }
.brand-text { font-weight: 600; letter-spacing: -.01em; font-size: 16px; }

.nav-links { display: flex; gap: 4px; }
.nav-link { padding: 8px 14px; font-size: 14px; font-weight: 500; color: var(--text-dim); border-radius: 100px; position: relative; transition: color .2s; }
.nav-link:hover { color: var(--text); }
.nav-link::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.05); border-radius: 100px; opacity: 0; transition: opacity .2s; }
.nav-link:hover::before { opacity: 1; }
.nav-link > span { position: relative; }

.nav-right { display: flex; align-items: center; gap: 8px; }
.lang-pill { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 100px; font-size: 12px; font-family: 'JetBrains Mono', monospace; color: var(--text-dim); cursor: pointer; background: transparent; transition: border-color .2s; }
.lang-pill:hover { border-color: var(--violet); }
.lang-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.lang-sep { opacity: .4; }
.lang-muted { color: var(--text-mute); }

/* ── Hamburger ── */
.nav-hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 40px; height: 40px; background: transparent; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; padding: 0; }
.nav-hamburger span { display: block; width: 18px; height: 1.5px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .2s; }
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile menu overlay ── */
.mm-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 998; opacity: 0; pointer-events: none; transition: opacity .3s; }
.mm-overlay.is-open { opacity: 1; pointer-events: all; }

.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 88vw);
  background: var(--bg);
  border-left: 1px solid var(--line);
  z-index: 999;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateX(0); }

.mm-inner { display: flex; flex-direction: column; height: 100%; padding: 20px 24px 32px; }

.mm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.mm-close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; color: var(--text); transition: border-color .2s; }
.mm-close:hover { border-color: var(--violet); }

.mm-links { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mm-link { font-size: 22px; font-weight: 600; color: var(--text-dim); padding: 12px 8px; border-radius: 10px; transition: color .2s, background .2s; letter-spacing: -.02em; }
.mm-link:hover { color: var(--text); background: rgba(167,139,250,.07); }

.mm-foot { display: flex; align-items: center; gap: 12px; padding-top: 32px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.mm-lang { flex-shrink: 0; }
.mm-cta { flex: 1; justify-content: center; }

.cta-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 16px;
  background: linear-gradient(135deg, rgba(167,139,250,.15), rgba(96,165,250,.15));
  border: 1px solid rgba(167,139,250,.4);
  border-radius: 100px;
  font-size: 13px; font-weight: 500;
  transition: all .25s;
  position: relative;
}
.cta-pill::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--violet), var(--blue)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .25s; }
.cta-pill:hover::before { opacity: 1; }
.cta-pill:hover { box-shadow: 0 0 30px rgba(167,139,250,.4); }
.cta-pill-arrow { width: 26px; height: 26px; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--blue)); border-radius: 50%; color: #fff; }

/* ============ HERO ============ */
.hero {
  position: relative; z-index: 3;
  min-height: 100vh; padding: 160px 32px 80px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-inner { max-width: 1340px; margin: 0 auto; width: 100%; position: relative; z-index: 2; }
.hero-inner > .eyebrow, .hero-inner > .hero-title, .hero-inner > .hero-sub, .hero-inner > .hero-actions, .hero-inner > .hero-meta, .hero-inner > .terminal { position: relative; z-index: 2; }
.hero-title { max-width: 1100px; }
.hero-sub { max-width: 580px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.eyebrow-sep { opacity: .3; }
.eyebrow-mono { color: var(--text-mute); }

.hero-title {
  font-size: clamp(54px, 9vw, 144px);
  line-height: .96; letter-spacing: -0.04em;
  font-weight: 500;
  margin-bottom: 40px;
}
.hero-title .line { display: block; }
.hero-title .word { display: inline-block; margin-right: 0.18em; }
.hero-title .word.grad {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  position: relative;
}
.hero-title .word.italic { font-weight: 400; color: var(--silver); margin-right: .1em; }

.hero-sub {
  max-width: 580px;
  font-size: 19px; line-height: 1.55; color: var(--text-dim);
  margin-bottom: 44px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 80px; }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 15px; font-weight: 500;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary { color: #fff; }
.btn-primary .btn-bg {
  position: absolute; inset: 0; background: linear-gradient(135deg, var(--violet) 0%, var(--blue) 100%);
  z-index: -1; transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--blue), var(--violet)); z-index: -2; }
.btn-primary:hover .btn-bg { transform: translateX(100%); }
.btn-primary:hover { box-shadow: 0 8px 40px rgba(167,139,250,.5); }
.btn-icon { width: 22px; height: 22px; display: grid; place-items: center; background: rgba(255,255,255,.18); border-radius: 50%; transition: transform .25s; }
.btn:hover .btn-icon { transform: translateX(4px) rotate(-45deg); }

.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-icon-sm { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--text-dim); transition: transform .25s; }
.btn-ghost:hover .btn-icon-sm { transform: translateY(3px); }

.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; padding: 28px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  max-width: 760px;
}
.meta-cell { padding: 0 28px; border-right: 1px solid var(--line); }
.meta-cell:first-child { padding-left: 0; }
.meta-cell:last-child { border-right: none; }
.meta-num { display: block; font-size: 36px; font-weight: 500; letter-spacing: -.02em; line-height: 1; margin-bottom: 8px; font-feature-settings: 'tnum'; }
.meta-label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; }

/* hero 3D cubes */
.hero-cubes { position: absolute; inset: 0; pointer-events: none; perspective: 1400px; perspective-origin: 50% 50%; z-index: 0; }
.cube { position: absolute; width: 140px; height: 140px; transform-style: preserve-3d; opacity: .55; }
.cube span { position: absolute; inset: 0; border: 1px solid rgba(167,139,250,.25); background: linear-gradient(135deg, rgba(20,18,32,.6), rgba(28,26,44,.3)); backdrop-filter: blur(8px); }
.cube span:nth-child(1) { transform: rotateY(0deg) translateZ(70px); }
.cube span:nth-child(2) { transform: rotateY(90deg) translateZ(70px); }
.cube span:nth-child(3) { transform: rotateY(180deg) translateZ(70px); }
.cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(70px); }
.cube span:nth-child(5) { transform: rotateX(90deg) translateZ(70px); }
.cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(70px); }
.cube.c1 { top: 12%; right: 8%; animation: spin1 28s linear infinite; }
.cube.c2 { top: 60%; right: 22%; width: 90px; height: 90px; animation: spin2 22s linear infinite; opacity: .4; }
.cube.c2 span { transform: none; }
.cube.c2 span:nth-child(1) { transform: rotateY(0deg) translateZ(45px); }
.cube.c2 span:nth-child(2) { transform: rotateY(90deg) translateZ(45px); }
.cube.c2 span:nth-child(3) { transform: rotateY(180deg) translateZ(45px); }
.cube.c2 span:nth-child(4) { transform: rotateY(-90deg) translateZ(45px); }
.cube.c2 span:nth-child(5) { transform: rotateX(90deg) translateZ(45px); }
.cube.c2 span:nth-child(6) { transform: rotateX(-90deg) translateZ(45px); }
.cube.c3 { top: 30%; right: 38%; width: 60px; height: 60px; animation: spin3 18s linear infinite; opacity: .3; }
.cube.c3 span:nth-child(1) { transform: rotateY(0deg) translateZ(30px); }
.cube.c3 span:nth-child(2) { transform: rotateY(90deg) translateZ(30px); }
.cube.c3 span:nth-child(3) { transform: rotateY(180deg) translateZ(30px); }
.cube.c3 span:nth-child(4) { transform: rotateY(-90deg) translateZ(30px); }
.cube.c3 span:nth-child(5) { transform: rotateX(90deg) translateZ(30px); }
.cube.c3 span:nth-child(6) { transform: rotateX(-90deg) translateZ(30px); }
.cube.c4 { bottom: 14%; right: 4%; width: 110px; height: 110px; animation: spin1 32s linear infinite reverse; opacity: .45; }
.cube.c4 span:nth-child(1) { transform: rotateY(0deg) translateZ(55px); }
.cube.c4 span:nth-child(2) { transform: rotateY(90deg) translateZ(55px); }
.cube.c4 span:nth-child(3) { transform: rotateY(180deg) translateZ(55px); }
.cube.c4 span:nth-child(4) { transform: rotateY(-90deg) translateZ(55px); }
.cube.c4 span:nth-child(5) { transform: rotateX(90deg) translateZ(55px); }
.cube.c4 span:nth-child(6) { transform: rotateX(-90deg) translateZ(55px); }

@keyframes spin1 { from { transform: rotateX(15deg) rotateY(0); } to { transform: rotateX(15deg) rotateY(360deg); } }
@keyframes spin2 { from { transform: rotateX(-25deg) rotateY(0); } to { transform: rotateX(-25deg) rotateY(360deg); } }
@keyframes spin3 { from { transform: rotateX(45deg) rotateY(0) rotateZ(0); } to { transform: rotateX(45deg) rotateY(360deg) rotateZ(360deg); } }

.scroll-hint { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: .5; }
.sh-line { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, var(--text-dim)); animation: scrollHint 2s ease-in-out infinite; }
.sh-label { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .15em; color: var(--text-mute); }
@keyframes scrollHint { 0% { transform: translateY(-100%); } 100% { transform: translateY(0); } }

/* ============ HERO CANVAS ============ */
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .85; pointer-events: none; }

/* ============ HERO GLOBE ============ */
.hero-globe-wrap { position: absolute; top: 50%; right: -80px; transform: translateY(-50%); width: 540px; height: 540px; pointer-events: none; z-index: 1; opacity: .9; }
.hero-globe { position: relative; width: 100%; height: 100%; animation: globeFloat 8s ease-in-out infinite; }
.globe-svg { width: 100%; height: 100%; animation: globeSpin 38s linear infinite; filter: drop-shadow(0 0 40px rgba(167,139,250,.3)); }
.g-meridians { transform-origin: center; }
@keyframes globeSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes globeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.globe-ring { position: absolute; top: 50%; left: 50%; border-radius: 50%; border: 1px dashed rgba(167,139,250,.25); transform: translate(-50%, -50%); }
.globe-ring.r-a { width: 110%; height: 110%; animation: ringSpin 20s linear infinite; }
.globe-ring.r-b { width: 125%; height: 125%; animation: ringSpin 30s linear infinite reverse; border-color: rgba(96,165,250,.18); }
@keyframes ringSpin { from { transform: translate(-50%,-50%) rotate(0); } to { transform: translate(-50%,-50%) rotate(360deg); } }
.globe-pulse { position: absolute; top: 50%; left: 50%; width: 70%; height: 70%; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, rgba(167,139,250,.18), transparent 60%); animation: globePulse 3s ease-in-out infinite; }
@keyframes globePulse { 0%, 100% { opacity: .4; transform: translate(-50%,-50%) scale(1); } 50% { opacity: .9; transform: translate(-50%,-50%) scale(1.08); } }

.globe-readout { position: absolute; left: 8px; bottom: 20px; padding: 14px 16px; background: rgba(10,10,18,.7); backdrop-filter: blur(14px); border: 1px solid var(--line); border-radius: 12px; display: flex; flex-direction: column; gap: 8px; min-width: 180px; }
.gr-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.gr-k { color: var(--text-mute); letter-spacing: .08em; }
.gr-v { color: var(--text); }
.gr-v span { color: var(--text-mute); font-size: 9px; margin-left: 2px; }

/* ============ TERMINAL ============ */
.terminal { margin-top: 56px; max-width: 580px; background: rgba(10,10,18,.85); backdrop-filter: blur(20px); border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 0 40px rgba(167,139,250,.08); }
.term-chrome { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: rgba(255,255,255,.02); border-bottom: 1px solid var(--line); }
.term-dot { width: 10px; height: 10px; border-radius: 50%; }
.td-r { background: #ef4444; } .td-y { background: #f59e0b; } .td-g { background: #22c55e; }
.term-title { margin-left: 10px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-mute); }
.term-badge { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.3); border-radius: 100px; font-family: 'JetBrains Mono', monospace; font-size: 9.5px; color: #4ade80; letter-spacing: .1em; }
.tb-dot { width: 5px; height: 5px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 6px #22c55e; animation: blink 1.4s ease-in-out infinite; }
.term-body { padding: 16px 18px; font-family: 'JetBrains Mono', monospace; font-size: 12.5px; line-height: 1.75; color: var(--text); height: 150px; overflow: hidden; }
.term-line { display: block; opacity: 0; animation: termIn .2s ease forwards; }
.term-prompt { color: var(--violet); margin-right: 8px; }
.term-cmd { color: var(--text); }
.term-out { color: var(--text-dim); }
.term-ok { color: #4ade80; }
.term-key { color: var(--blue); }
.term-cursor { display: inline-block; width: 7px; height: 14px; background: var(--violet); margin-left: 2px; vertical-align: middle; animation: termBlink 1s steps(2) infinite; box-shadow: 0 0 8px var(--violet); }
@keyframes termIn { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: translateY(0); } }
@keyframes termBlink { 50% { opacity: 0; } }

/* ============ SCAN LINE (section reveal) ============ */
.has-scan { position: relative; }
.has-scan::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--violet) 30%, var(--blue) 70%, transparent);
  box-shadow: 0 0 20px rgba(167,139,250,.6);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1.4s cubic-bezier(.76,0,.24,1);
}
.has-scan.in-view::before { transform: scaleX(1); }
.has-scan::after {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 120px; pointer-events: none;
  background: linear-gradient(to bottom, rgba(167,139,250,.08), transparent);
  opacity: 0; transition: opacity .8s ease .2s;
}
.has-scan.in-view::after { opacity: 1; }

/* ============ SIGNAL SECTION ============ */
.signal { padding: 100px 32px 140px; }
.signal-grid { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.signal-title { font-size: clamp(36px, 5vw, 64px); font-weight: 500; line-height: 1; letter-spacing: -.035em; margin: 16px 0 22px; }
.signal-title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.signal-desc { font-size: 17px; line-height: 1.55; color: var(--text-dim); max-width: 480px; margin-bottom: 28px; }
.signal-pills { display: flex; flex-direction: column; gap: 10px; }
.sig-pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 100px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-dim); width: fit-content; }
.sp-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 8px var(--violet); }
.sig-pill:nth-child(2) .sp-dot { background: var(--blue); box-shadow: 0 0 8px var(--blue); }
.sig-pill:nth-child(3) .sp-dot { background: #22c55e; box-shadow: 0 0 8px #22c55e; }

.signal-right { position: relative; }
.signal-window { position: relative; background: linear-gradient(180deg, rgba(20,18,32,.85), rgba(12,12,20,.85)); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; backdrop-filter: blur(20px); box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(167,139,250,.1); z-index: 2; }
.signal-window::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(167,139,250,.4), transparent 50%, rgba(96,165,250,.3)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.sigw-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-mute); letter-spacing: .08em; }
.sigw-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: blink 1.6s ease-in-out infinite; }
.sigw-wave { height: 120px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.sigw-wave::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(167,139,250,.15), transparent); transform: translateX(-100%); animation: waveSweep 4s ease-in-out infinite; }
@keyframes waveSweep { 0%, 100% { transform: translateX(-100%); } 50% { transform: translateX(100%); } }
.sigw-rows { padding: 14px 18px; display: flex; flex-direction: column; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; }
.sgr { display: flex; align-items: center; gap: 10px; color: var(--text-dim); animation: sgrSlide .5s ease backwards; }
.sgr:nth-child(1) { animation-delay: .1s; } .sgr:nth-child(2) { animation-delay: .2s; } .sgr:nth-child(3) { animation-delay: .3s; } .sgr:nth-child(4) { animation-delay: .4s; } .sgr:nth-child(5) { animation-delay: .5s; }
@keyframes sgrSlide { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }
.sgr-t { color: var(--text-mute); }
.sgr-c { padding: 2px 7px; border-radius: 4px; font-size: 10px; font-weight: 500; }
.sgr-ok { background: rgba(34,197,94,.12); color: #4ade80; }
.sgr-warn { background: rgba(245,158,11,.15); color: #fbbf24; }
.sgr-x { color: var(--blue); font-weight: 500; min-width: 38px; }
.sgr code { color: var(--text); font-family: inherit; flex: 1; overflow: hidden; text-overflow: ellipsis; }
.sgr-ms { color: var(--text-mute); margin-left: auto; }

.signal-orbits { position: absolute; top: 50%; right: -60px; width: 380px; height: 380px; transform: translateY(-50%); pointer-events: none; opacity: .5; z-index: 1; }
.orbit { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); border-radius: 50%; border: 1px solid rgba(167,139,250,.2); }
.orbit.o1 { width: 100%; height: 100%; animation: orbitSpin 12s linear infinite; }
.orbit.o2 { width: 70%; height: 70%; animation: orbitSpin 8s linear infinite reverse; border-color: rgba(96,165,250,.2); }
.orbit.o3 { width: 40%; height: 40%; animation: orbitSpin 5s linear infinite; }
.orbit-node { position: absolute; top: -3px; left: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px var(--violet); transform: translateX(-50%); }
.orbit.o2 .orbit-node { background: var(--blue); box-shadow: 0 0 10px var(--blue); }
.orbit.o3 .orbit-node { background: #fff; }
@keyframes orbitSpin { from { transform: translate(-50%,-50%) rotate(0); } to { transform: translate(-50%,-50%) rotate(360deg); } }

/* ============ HOLO SHIMMER (service cards) ============ */
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(167,139,250,.18) 48%, rgba(96,165,250,.18) 52%, transparent 70%);
  transform: translateX(-100%); transition: opacity .25s;
}
.service-card:hover::before { opacity: 1; animation: holoShimmer 1.2s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes holoShimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ============ MARQUEE ============ */
.marquee-wrap { position: relative; z-index: 3; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(7,7,11,.5); backdrop-filter: blur(10px); }
.marquee-mask { mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent); overflow: hidden; }
.marquee { display: flex; gap: 0; width: max-content; animation: marquee 50s linear infinite; }
.marquee-track { display: flex; gap: 32px; align-items: center; padding-right: 32px; }
.m-item { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--text-dim); white-space: nowrap; letter-spacing: -.01em; }
.m-dot { color: var(--violet); font-size: 8px; opacity: .6; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { position: relative; z-index: 3; padding: 140px 32px; }
.section-head { max-width: 1340px; margin: 0 auto 80px; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-tag { display: inline-flex; align-items: center; gap: 10px; padding: 6px 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 100px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-dim); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px; white-space: nowrap; }
.tag-num { color: var(--violet); }
.section-title { font-size: clamp(40px, 5.5vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -.035em; margin-bottom: 24px; }
.section-title .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-desc { max-width: 620px; font-size: 18px; line-height: 1.55; color: var(--text-dim); }

/* ============ SERVICES ============ */
.service-grid { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.service-card {
  position: relative; padding: 32px 28px 30px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px;
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: transform .4s cubic-bezier(.2,.8,.2,1), border-color .25s;
  overflow: hidden;
}
.service-card:hover { transform: translateY(-4px); border-color: rgba(167,139,250,.35); }
.sc-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(167,139,250,.12), transparent 40%); }
.service-card:hover .sc-glow { opacity: 1; }

.sc-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; }
.sc-icon { width: 52px; height: 52px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(167,139,250,.15), rgba(96,165,250,.05)); border: 1px solid rgba(167,139,250,.3); border-radius: 14px; color: var(--violet); }
.sc-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-mute); }
.sc-title { font-size: 26px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.sc-desc { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; margin-bottom: 22px; }
.sc-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.sc-list li { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-dim); position: relative; padding-left: 16px; }
.sc-list li::before { content: '+'; position: absolute; left: 0; color: var(--violet); }
.sc-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text); font-weight: 500; transition: gap .25s; }
.sc-link:hover { gap: 12px; color: var(--violet); }

.service-card-cta { background: linear-gradient(135deg, rgba(167,139,250,.1), rgba(96,165,250,.06)); border-color: rgba(167,139,250,.25); display: flex; flex-direction: column; justify-content: center; }
.sc-title-lg { font-size: 32px; font-weight: 500; letter-spacing: -.025em; line-height: 1.05; margin-bottom: 16px; }
.sc-cta { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); border-radius: 100px; font-size: 13.5px; align-self: flex-start; margin-top: 14px; transition: all .25s; }
.sc-cta:hover { background: linear-gradient(135deg, var(--violet), var(--blue)); border-color: transparent; }

/* ============ WHY ============ */
.why-grid { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 80px; }
.why-card { position: relative; padding: 32px 26px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; backdrop-filter: blur(20px); transition: border-color .25s, transform .4s; }
.why-card:hover { border-color: rgba(96,165,250,.3); transform: translateY(-3px); }
.why-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--violet); margin-bottom: 60px; letter-spacing: .1em; }
.why-title { font-size: 22px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.why-desc { font-size: 14px; line-height: 1.55; color: var(--text-dim); margin-bottom: 22px; }
.why-bar { height: 2px; background: rgba(255,255,255,.06); border-radius: 4px; overflow: hidden; }
.why-bar span { display: block; height: 100%; background: var(--grad); border-radius: 4px; box-shadow: 0 0 12px rgba(167,139,250,.6); }

/* showcase window */
.showcase { max-width: 1340px; margin: 0 auto; }
.showcase-window { background: linear-gradient(180deg, rgba(20,18,32,.8), rgba(12,12,20,.85)); border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(167,139,250,.08); backdrop-filter: blur(20px); }
.sw-chrome { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02); }
.sw-dot { width: 11px; height: 11px; border-radius: 50%; }
.sw-r { background: #ef4444; } .sw-y { background: #f59e0b; } .sw-g { background: #22c55e; }
.sw-url { margin-left: 14px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-mute); padding: 5px 14px; background: rgba(255,255,255,.04); border-radius: 100px; }
.sw-body { display: grid; grid-template-columns: 200px 1fr; min-height: 380px; }
.sw-side { padding: 18px 14px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.sw-brand { display: flex; align-items: center; gap: 9px; padding: 4px 8px 16px; }
.sw-brand-mark { width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(135deg, var(--violet), var(--blue)); box-shadow: 0 0 14px rgba(167,139,250,.5); flex-shrink: 0; }
.sw-brand-name { font-size: 14px; font-weight: 600; color: #fff; letter-spacing: -.01em; }
.sw-nav { display: flex; flex-direction: column; gap: 3px; }
.sw-nav-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; font-size: 12.5px; color: rgba(255,255,255,.5); transition: all .2s; }
.sw-nav-item svg { color: rgba(255,255,255,.45); transition: color .2s; }
.sw-nav-item.active { background: rgba(167,139,250,.14); color: #fff; }
.sw-nav-item.active svg { color: var(--violet); }
.showcase-window:hover .sw-nav-item:not(.active):hover { background: rgba(255,255,255,.05); color: rgba(255,255,255,.8); }
.sw-side-foot { margin-top: auto; display: flex; align-items: center; gap: 9px; padding: 10px 8px 4px; border-top: 1px solid var(--line); }
.sw-side-avatar { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #f59e0b, #ef4444); display: grid; place-items: center; font-size: 11px; font-weight: 600; color: #fff; }
.sw-side-user { font-size: 12px; color: rgba(255,255,255,.7); }
.sw-side-online { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; margin-left: auto; }
.sw-main { padding: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sw-card { position: relative; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.02); overflow: hidden; }
.sw-card-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 0 0, rgba(167,139,250,.18), transparent 60%); opacity: .5; }
.sw-card-title { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-mute); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; position: relative; }
.sw-card-num { font-size: 36px; font-weight: 500; letter-spacing: -.02em; line-height: 1; position: relative; }
.sw-unit { font-size: 18px; color: var(--text-dim); margin-left: 2px; }
.sw-bars { display: flex; gap: 4px; align-items: flex-end; height: 36px; margin-top: 12px; position: relative; }
.sw-bars span { flex: 1; background: linear-gradient(to top, var(--violet), var(--blue)); border-radius: 2px; opacity: .7; transform-origin: bottom; }
.showcase.in .sw-bars span { animation: barBreathe 2.6s ease-in-out infinite; }
.sw-bars span:nth-child(1) { height: 30%; animation-delay: 0s; }
.sw-bars span:nth-child(2) { height: 55%; animation-delay: .15s; }
.sw-bars span:nth-child(3) { height: 40%; animation-delay: .3s; }
.sw-bars span:nth-child(4) { height: 75%; animation-delay: .45s; }
.sw-bars span:nth-child(5) { height: 60%; animation-delay: .6s; }
.sw-bars span:nth-child(6) { height: 90%; animation-delay: .75s; }
.sw-bars span:nth-child(7) { height: 70%; animation-delay: .9s; }
.sw-bars span:nth-child(8) { height: 100%; opacity: 1; animation-delay: 1.05s; }
@keyframes barBreathe { 0%, 100% { transform: scaleY(1); opacity: var(--o, .7); } 50% { transform: scaleY(.82); opacity: 1; } }
.sw-spark { margin-top: 14px; height: 50px; }
.sw-spark-line { stroke-dasharray: 320; stroke-dashoffset: 320; }
.showcase.in .sw-spark-line { animation: drawStroke 2s ease .3s forwards; }
.sw-spark-dot { opacity: 0; }
.showcase.in .sw-spark-dot { animation: sparkDotIn .4s ease 2.1s forwards, nodePulse 2s ease-in-out 2.5s infinite; }
@keyframes sparkDotIn { to { opacity: 1; } }
.sw-code-cursor { display: inline-block; width: 6px; height: 12px; background: var(--violet); margin-left: 3px; vertical-align: middle; animation: termBlink 1s steps(2) infinite; box-shadow: 0 0 6px var(--violet); }
.sw-status { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; position: relative; }
.status-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 100px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-dim); width: fit-content; }
.status-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px currentColor; }
.status-pill.status-warn { color: #f59e0b; }
.status-pill.status-warn::before { background: #f59e0b; box-shadow: 0 0 8px #f59e0b; }
.sw-code { display: block; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--violet); margin-top: 6px; padding: 8px 10px; background: rgba(167,139,250,.06); border-radius: 6px; }
.sw-commit-meta { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-mute); margin-top: 8px; }

.showcase-tags { display: flex; gap: 8px; justify-content: center; margin-top: 24px; flex-wrap: wrap; }
.st-tag { padding: 5px 11px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 100px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-mute); }

/* ============ PROCESS ============ */
.process-list { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-step { position: relative; padding: 0 24px 0 0; }
.ps-rail { position: relative; height: 36px; margin-bottom: 24px; display: flex; align-items: center; }
.ps-rail::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: linear-gradient(to right, var(--violet), rgba(167,139,250,.15)); }
.process-step:last-child .ps-rail::before { background: linear-gradient(to right, var(--violet), transparent); }
.ps-dot { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 1px solid var(--violet); display: grid; place-items: center; }
.ps-dot::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.ps-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ps-num { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-mute); letter-spacing: .1em; }
.ps-time { font-family: 'JetBrains Mono', monospace; font-size: 11px; padding: 4px 9px; background: rgba(167,139,250,.1); border-radius: 100px; color: var(--violet); }
.ps-title { font-size: 24px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 10px; }
.ps-desc { font-size: 14px; line-height: 1.55; color: var(--text-dim); max-width: 280px; }

/* ============ WORK ============ */
.work-grid { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 60px; }
.work-card { position: relative; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; backdrop-filter: blur(20px); transition: border-color .3s, transform .4s; }
.work-card:hover { border-color: rgba(167,139,250,.35); transform: translateY(-3px); }
.wc-thumb { position: relative; height: 220px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, rgba(167,139,250,.12), rgba(96,165,250,.06)); margin-bottom: 18px; display: grid; place-items: center; border: 1px solid var(--line); }
.wc-pattern { position: absolute; inset: 0; width: 100%; height: 100%; }
.wc-thumb-label { position: relative; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--text-mute); letter-spacing: .05em; padding: 6px 12px; background: rgba(7,7,11,.7); border: 1px solid var(--line); border-radius: 6px; }
.wc-thumb-glow { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(167,139,250,.25), transparent 50%); }
.wc-real-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 12px; }
.work-card:hover .wc-thumb-glow { opacity: 1; }
.wc-thumb-2 { background: linear-gradient(135deg, rgba(96,165,250,.12), rgba(167,139,250,.05)); }
.wc-thumb-3 { background: linear-gradient(135deg, rgba(229,231,235,.05), rgba(96,165,250,.08)); }

/* ---- work mini product mockups ---- */
.wc-mock { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 14px; font-family: 'Space Grotesk', sans-serif; overflow: hidden; }
.wc-mock .mk-top { display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
.mk-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.25); }
.mk-dot:nth-child(1) { background: #ef4444; } .mk-dot:nth-child(2) { background: #f59e0b; } .mk-dot:nth-child(3) { background: #22c55e; }
.mk-pill { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--text-mute); padding: 3px 8px; background: rgba(255,255,255,.05); border-radius: 100px; letter-spacing: .05em; }

/* dashboard mock */
.wc-mock-dash { background: linear-gradient(160deg, rgba(16,14,30,.92), rgba(10,9,20,.92)); border-radius: 8px; }
.mk-body { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.mk-balance { display: flex; flex-direction: column; gap: 2px; }
.mk-cap { font-family: 'JetBrains Mono', monospace; font-size: 8.5px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .1em; }
.mk-big { font-size: 26px; font-weight: 600; color: #fff; letter-spacing: -.02em; line-height: 1; }
.mk-masked { letter-spacing: .04em; }
.mk-masked { font-feature-settings: normal; }
.mk-up { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: #4ade80; }
.mk-chart { height: 44px; }
.mk-chart svg { width: 100%; height: 100%; }
.mk-line { stroke-dasharray: 200; stroke-dashoffset: 200; }
.work-card.in .mk-line { animation: drawStroke 1.6s ease .3s forwards; }
.mk-rows { display: flex; flex-direction: column; gap: 6px; }
.mk-row { display: flex; align-items: center; gap: 8px; }
.mk-wal { width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--violet), var(--blue)); flex-shrink: 0; }
.mk-rl { flex: 1; height: 6px; border-radius: 100px; background: rgba(255,255,255,.08); }
.mk-rv { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: var(--text-mute); }
.mk-rv.mk-ok { color: #4ade80; }

/* mobile mock */
.wc-mock-mobile { align-items: center; justify-content: flex-end; padding: 0; }
.mk-phone { width: 132px; height: 196px; background: linear-gradient(165deg, #14122a, #0a0918); border-radius: 18px 18px 0 0; border: 2px solid rgba(255,255,255,.12); border-bottom: none; padding: 16px 12px 0; position: relative; box-shadow: 0 -8px 30px rgba(96,165,250,.12); }
.mk-notch { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 36px; height: 4px; border-radius: 100px; background: rgba(255,255,255,.18); }
.mk-ph-head { margin-top: 6px; margin-bottom: 10px; }
.mk-ph-hi { display: block; font-size: 9px; color: var(--text-mute); }
.mk-ph-name { display: block; font-size: 13px; font-weight: 600; color: #fff; }
.mk-ph-card { background: linear-gradient(135deg, rgba(96,165,250,.2), rgba(167,139,250,.12)); border: 1px solid rgba(96,165,250,.25); border-radius: 10px; padding: 9px; margin-bottom: 10px; }
.mk-ph-cap { display: block; font-size: 7.5px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .08em; }
.mk-ph-strong { display: block; font-size: 11px; font-weight: 600; color: #fff; margin: 2px 0 6px; }
.mk-ph-bar { height: 4px; border-radius: 100px; background: rgba(255,255,255,.15); overflow: hidden; }
.mk-ph-bar span { display: block; height: 100%; width: 0; background: #60a5fa; border-radius: 100px; }
.work-card.in .mk-ph-bar span { animation: barFill 1.2s ease .4s forwards; }
@keyframes barFill { to { width: 68%; } }
.mk-ph-stats { display: flex; gap: 8px; margin-bottom: 12px; }
.mk-ph-stat { flex: 1; display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.04); border-radius: 8px; padding: 7px; }
.mk-ring { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(167,139,250,.3); border-top-color: var(--violet); }
.mk-ring-b { border-color: rgba(96,165,250,.3); border-top-color: var(--blue); }
.mk-ph-num { font-size: 11px; font-weight: 600; color: #fff; }
.mk-ph-nav { display: flex; gap: 14px; justify-content: center; padding: 8px 0; }
.mk-ph-nav span { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.2); }
.mk-ph-nav span.on { background: var(--violet); box-shadow: 0 0 6px var(--violet); }

/* shop mock */
.wc-mock-shop { background: linear-gradient(160deg, rgba(16,14,30,.92), rgba(10,9,20,.92)); border-radius: 8px; }
.mk-shop-logo { font-size: 12px; font-weight: 700; letter-spacing: .15em; color: #fff; }
.mk-cart { margin-left: auto; font-size: 11px; position: relative; }
.mk-badge { position: absolute; top: -4px; right: -6px; width: 13px; height: 13px; border-radius: 50%; background: var(--violet); color: #fff; font-size: 8px; display: grid; place-items: center; font-family: 'JetBrains Mono', monospace; }
.mk-hero { height: 52px; border-radius: 8px; background: linear-gradient(115deg, rgba(167,139,250,.3), rgba(96,165,250,.18)); margin-bottom: 10px; padding: 9px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.mk-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.18) 50%, transparent 60%); transform: translateX(-100%); }
.work-card.in .mk-hero::after { animation: holoShimmer 1.6s ease .5s; }
.mk-hero-tag { font-size: 9px; font-weight: 600; color: #fff; }
.mk-hero-cta { width: 38px; height: 11px; border-radius: 100px; background: rgba(255,255,255,.85); }
.mk-prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.mk-prod { display: flex; flex-direction: column; gap: 4px; }
.mk-prod-img { height: 40px; border-radius: 6px; background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.06); }
.mk-prod:nth-child(2) .mk-prod-img { background: linear-gradient(135deg, rgba(96,165,250,.18), rgba(255,255,255,.03)); }
.mk-prod:nth-child(3) .mk-prod-img { background: linear-gradient(135deg, rgba(167,139,250,.18), rgba(255,255,255,.03)); }
.mk-prod-line { height: 4px; width: 80%; border-radius: 100px; background: rgba(255,255,255,.12); }
.mk-prod-price { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: #fff; }
.wc-meta { display: flex; align-items: center; gap: 8px; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-mute); margin-bottom: 10px; padding: 0 8px; }
.wc-sector { color: var(--violet); }
.wc-sep { opacity: .4; }
.wc-title { font-size: 19px; font-weight: 500; letter-spacing: -.015em; margin-bottom: 8px; padding: 0 8px; }
.wc-desc { font-size: 14px; line-height: 1.55; color: var(--text-dim); padding: 0 8px 10px; }

/* testimonial */
.testimonial { max-width: 1040px; margin: 0 auto; padding: 56px 48px; background: linear-gradient(180deg, rgba(20,18,32,.7), rgba(12,12,20,.7)); border: 1px solid var(--line-2); border-radius: 24px; position: relative; backdrop-filter: blur(20px); }
.testimonial::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(167,139,250,.4), transparent 50%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.t-quote-mark { position: absolute; top: 20px; left: 40px; font-size: 120px; line-height: 1; color: var(--violet); opacity: .25; font-weight: 500; }
.t-quote { font-size: 24px; line-height: 1.45; font-weight: 400; letter-spacing: -.015em; margin-bottom: 32px; color: var(--text); position: relative; }
.t-cite { display: flex; align-items: center; gap: 14px; position: relative; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--violet), var(--blue)); font-weight: 600; font-size: 14px; color: #fff; }
.t-name { font-weight: 500; font-size: 15px; }
.t-role { font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-mute); }
.t-stars { margin-left: auto; color: var(--violet); letter-spacing: 4px; font-size: 14px; }

/* ============ INSIGHTS ============ */
.insights-controls { display: flex; gap: 10px; align-items: center; padding-bottom: 14px; }
.ic-btn { width: 38px; height: 38px; border: 1px solid var(--line-2); border-radius: 50%; display: grid; place-items: center; color: var(--text-dim); transition: all .25s; }
.ic-btn:hover { background: rgba(167,139,250,.1); border-color: var(--violet); color: var(--violet); }
.ic-view { padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 100px; font-size: 13px; color: var(--text); transition: all .25s; }
.ic-view:hover { background: linear-gradient(135deg, var(--violet), var(--blue)); border-color: transparent; }

.insights-grid { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.insight-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; padding: 16px 16px 22px; backdrop-filter: blur(20px); transition: border-color .3s, transform .4s; }
.insight-card:hover { border-color: rgba(167,139,250,.3); transform: translateY(-3px); }
.ic-img { position: relative; height: 200px; border-radius: 12px; overflow: hidden; margin-bottom: 18px; display: grid; place-items: center; border: 1px solid var(--line); }
.ic-img-1 { background: linear-gradient(135deg, #1e1b4b, #0f0a2e); }
.ic-img-2 { background: linear-gradient(135deg, #1e3a8a, #0c1e3f); }
.ic-img-3 { background: linear-gradient(135deg, #2d1b69, #1a103d); }
.ic-img-overlay { position: absolute; inset: 0; background-image: radial-gradient(circle at 30% 30%, rgba(167,139,250,.18), transparent 50%), repeating-linear-gradient(45deg, transparent 0, transparent 12px, rgba(255,255,255,.025) 12px, rgba(255,255,255,.025) 13px); }
.ic-img-label { position: relative; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-mute); padding: 5px 10px; background: rgba(7,7,11,.6); border: 1px solid var(--line); border-radius: 6px; }

/* ---- insight thematic art ---- */
.ic-art { position: absolute; inset: 0; display: grid; place-items: center; }
.ic-art svg { width: 88%; height: 88%; filter: drop-shadow(0 0 20px rgba(167,139,250,.25)); }
.ica-ms { font-family: 'JetBrains Mono', monospace; font-size: 10px; opacity: .9; }
.ic-tagline { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .12em; color: rgba(255,255,255,.85); padding: 4px 9px; background: rgba(7,7,11,.5); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12); border-radius: 100px; }

/* security card animation */
.ica-shield { stroke-dasharray: 380; stroke-dashoffset: 380; }
.insight-card.in .ica-shield { animation: drawStroke 1.4s cubic-bezier(.7,0,.3,1) .2s forwards; }
.ica-scan { opacity: 0; }
.insight-card.in .ica-scan { animation: shieldScan 2.6s ease-in-out 1.4s infinite; }
@keyframes shieldScan { 0% { transform: translateY(-22px); opacity: 0; } 20% { opacity: .9; } 80% { opacity: .9; } 100% { transform: translateY(22px); opacity: 0; } }
.ica-mesh path { stroke-dasharray: 600; stroke-dashoffset: 600; }
.insight-card.in .ica-mesh path { animation: drawStroke 2s ease forwards; }
.ica-nodes circle { opacity: .8; }
.ica-nodes circle:nth-child(odd) { animation: nodePulse 2.4s ease-in-out infinite; }
.ica-nodes circle:nth-child(even) { animation: nodePulse 3.1s ease-in-out infinite; }

/* identity card animation */
.idn { transform-box: fill-box; transform-origin: center; }
.insight-card.in .idn { animation: nodePop .5s cubic-bezier(.34,1.56,.64,1) backwards; }
.idn:nth-child(1) { animation-delay: .2s; } .idn:nth-child(2) { animation-delay: .32s; } .idn:nth-child(3) { animation-delay: .44s; } .idn:nth-child(4) { animation-delay: .56s; } .idn:nth-child(5) { animation-delay: .68s; }
.ica-links line { stroke-dasharray: 200; stroke-dashoffset: 200; }
.insight-card.in .ica-links line { animation: drawStroke 1s ease .3s forwards; }
.ica-core-ring { transform-box: fill-box; transform-origin: center; animation: spinSlow 14s linear infinite; }
@keyframes nodePop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* edge card animation */
.ica-globe { transform-box: fill-box; transform-origin: 160px 100px; }
.ica-globe ellipse:nth-child(4), .ica-globe ellipse:nth-child(5) { animation: globePan 16s linear infinite; transform-origin: 160px 100px; }
@keyframes globePan { to { transform: rotateY(360deg); } }
.ic-art-edge svg { animation: edgeFloat 6s ease-in-out infinite; }
@keyframes edgeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@keyframes drawStroke { to { stroke-dashoffset: 0; } }
@keyframes nodePulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }
.ic-meta { display: flex; align-items: center; gap: 10px; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-mute); margin-bottom: 12px; padding: 0 6px; }
.ic-pill { padding: 3px 8px; background: rgba(167,139,250,.12); color: var(--violet); border-radius: 4px; letter-spacing: .08em; }
.ic-read { margin-left: auto; }
.ic-title { font-size: 19px; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; margin-bottom: 10px; padding: 0 6px; }
.ic-desc { font-size: 13.5px; line-height: 1.55; color: var(--text-dim); padding: 0 6px; margin-bottom: 16px; }
.ic-link { display: inline-flex; align-items: center; gap: 8px; padding: 0 6px; font-size: 13px; font-weight: 500; color: var(--violet); transition: gap .25s; }
.ic-link:hover { gap: 12px; }

/* ============ CONTACT ============ */
.contact { padding-bottom: 60px; }
.contact-inner { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-title { font-size: clamp(40px, 5vw, 68px); font-weight: 500; letter-spacing: -.035em; line-height: 1.02; margin: 20px 0 24px; }
.contact-desc { font-size: 17px; line-height: 1.55; color: var(--text-dim); max-width: 480px; margin-bottom: 44px; }

.contact-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.cc { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; backdrop-filter: blur(20px); transition: all .25s; }
.cc:hover { border-color: rgba(167,139,250,.3); transform: translateX(4px); }
.cc-icon { width: 44px; height: 44px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(167,139,250,.15), rgba(96,165,250,.05)); border: 1px solid rgba(167,139,250,.25); border-radius: 12px; color: var(--violet); flex-shrink: 0; }
.cc-label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-mute); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.cc-value { font-size: 15px; color: var(--text); line-height: 1.4; white-space: nowrap; }
.cc-value.cc-multiline { white-space: normal; }

.socials { display: flex; gap: 10px; }
.soc { width: 42px; height: 42px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: var(--text-dim); transition: all .25s; }
.soc:hover { color: var(--violet); border-color: var(--violet); transform: translateY(-2px); }

.contact-form { position: relative; padding: 36px; background: linear-gradient(180deg, rgba(20,18,32,.85), rgba(12,12,20,.85)); border: 1px solid var(--line-2); border-radius: 24px; backdrop-filter: blur(24px); overflow: hidden; }
.contact-form::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, rgba(167,139,250,.35), transparent 40%, rgba(96,165,250,.25)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.cf-glow { position: absolute; top: -100px; right: -100px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(167,139,250,.18), transparent 70%); pointer-events: none; }
.cf-head { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.cf-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: blink 2s ease-in-out infinite; }
.cf-label { font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-mute); letter-spacing: .08em; }

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cf-field { display: block; margin-bottom: 16px; position: relative; }
.cf-label-txt { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10.5px; color: var(--text-mute); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.cf-field input, .cf-field textarea { width: 100%; padding: 14px 16px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 12px; color: var(--text); font: inherit; font-size: 15px; transition: all .25s; resize: vertical; }
.cf-field input:focus, .cf-field textarea:focus { outline: none; border-color: var(--violet); background: rgba(167,139,250,.04); box-shadow: 0 0 0 4px rgba(167,139,250,.08); }
.cf-field input::placeholder, .cf-field textarea::placeholder { color: var(--text-mute); }

.cf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cf-chip { position: relative; }
.cf-chip input { position: absolute; opacity: 0; pointer-events: none; }
.cf-chip span { display: inline-block; padding: 8px 14px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 100px; font-size: 13px; color: var(--text-dim); cursor: pointer; transition: all .25s; white-space: nowrap; }
.cf-chip:hover span { border-color: var(--line-2); color: var(--text); }
.cf-chip input:checked + span { background: rgba(167,139,250,.15); border-color: var(--violet); color: #fff; }

.cf-submit { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 8px 14px 22px; border-radius: 100px; font-size: 15px; font-weight: 500; color: #fff; margin-top: 8px; overflow: hidden; isolation: isolate; transition: box-shadow .25s; }
.cf-submit-bg { position: absolute; inset: 0; background: linear-gradient(135deg, var(--violet), var(--blue)); z-index: -1; transition: transform .4s; }
.cf-submit:hover { box-shadow: 0 8px 40px rgba(167,139,250,.45); }
.cf-submit:hover .cf-submit-bg { transform: scale(1.05); }
.cf-submit-arrow { width: 26px; height: 26px; display: grid; place-items: center; background: rgba(255,255,255,.18); border-radius: 50%; }
.cf-submit.done { background: linear-gradient(135deg, #22c55e, #10b981); }
.cf-submit.done .cf-submit-bg { background: linear-gradient(135deg, #22c55e, #10b981); }

/* consent checkbox */
.cf-consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 16px; cursor: pointer;
}
.cf-consent input[type="checkbox"] { position: absolute; opacity: 0; pointer-events: none; }
.cf-consent-box {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px;
  border: 1.5px solid var(--line-2); border-radius: 5px;
  background: rgba(255,255,255,.03);
  transition: all .2s;
  display: grid; place-items: center;
}
.cf-consent input:checked ~ .cf-consent-box {
  background: linear-gradient(135deg, var(--violet), var(--blue));
  border-color: transparent;
}
.cf-consent input:checked ~ .cf-consent-box::after {
  content: '';
  width: 5px; height: 9px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
  display: block;
}
.cf-consent-text {
  font-size: 13px; line-height: 1.55; color: var(--text-dim);
}
.cf-consent-text a { color: var(--violet); transition: opacity .2s; }
.cf-consent-text a:hover { opacity: .75; }
.cf-consent.shake { animation: consentShake .45s ease; }
@keyframes consentShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}
.cf-consent-error {
  font-family: 'JetBrains Mono', monospace; font-size: 11.5px;
  color: #ef4444; margin-top: 8px;
  display: none;
}
.cf-consent-error.visible { display: block; }

/* ============ FOOTER ============ */
.footer { position: relative; z-index: 3; padding: 80px 32px 32px; border-top: 1px solid var(--line); }
.footer-mega { max-width: 1340px; margin: 0 auto 60px; display: flex; justify-content: space-between; line-height: .9; }
.fm-word { font-size: clamp(80px, 14vw, 220px); font-weight: 500; letter-spacing: -.04em; color: var(--text); opacity: .9; }
.fm-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-grid { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.fc-title { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--text-mute); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.fc-desc { font-size: 14.5px; color: var(--text-dim); max-width: 320px; line-height: 1.55; }
.fc ul { display: flex; flex-direction: column; gap: 10px; }
.fc ul li { font-size: 14.5px; color: var(--text-dim); }
.fc ul li a { transition: color .2s; }
.fc ul li a:hover { color: var(--violet); }
.footer-foot { max-width: 1340px; margin: 0 auto; padding-top: 28px; display: flex; justify-content: space-between; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--text-mute); }
.ff-status { display: inline-flex; align-items: center; gap: 8px; }
.ff-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }

/* ============ REVEAL ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */

/* Prevent horizontal overflow globally */
html, body { overflow-x: hidden; max-width: 100%; }

@media (max-width: 1280px) {
  .hero-globe-wrap { width: 420px; height: 420px; right: -100px; opacity: .7; }
  .globe-readout { display: none; }
}

@media (max-width: 1100px) {
  .service-grid, .work-grid, .insights-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); gap: 40px 18px; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); max-width: 500px; }
  .meta-cell { padding: 0 18px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .section-head-row { flex-direction: column; align-items: flex-start; }
  .signal-grid { grid-template-columns: 1fr; gap: 40px; }
  .signal-orbits { display: none; }
  .hero-globe-wrap { opacity: .3; right: -180px; }
}

@media (max-width: 720px) {
  /* Nav */
  .nav { padding: 12px 16px; }
  .nav-inner { padding: 8px 10px 8px 14px; gap: 8px; }
  .brand-text { font-size: 14px; }
  .lang-pill:not(.mm-lang) { display: none; }
  .cta-pill-label { font-size: 12px; }
  .cta-pill { padding: 7px 6px 7px 12px; gap: 6px; }

  /* Sections */
  .section { padding: 80px 16px; }
  .hero { padding: 120px 16px 60px; }
  .signal { padding: 80px 16px 100px; overflow: hidden; }
  .signal-window { max-width: 100%; overflow: hidden; }
  .signal-desc { max-width: 100%; }
  .sigw-rows { overflow: hidden; }
  .sgr code { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  /* Grids → single column */
  .service-grid, .work-grid, .insights-grid, .why-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .fc-desc { max-width: 100%; }
  .fc ul { align-items: center; }
  .footer-foot { align-items: center; }
  .cf-row { grid-template-columns: 1fr; }

  /* Hero */
  .hero-cubes { display: none; }
  .hero-globe-wrap { display: none; }
  .terminal { display: none; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); max-width: 100%; }
  .meta-cell { padding: 0 12px; }
  .meta-cell:first-child { padding-left: 0; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Footer mega — scale down so it never overflows */
  .footer { padding: 60px 16px 28px; overflow: hidden; }
  .footer-mega { margin-bottom: 40px; gap: 0; flex-direction: column; line-height: .88; }
  .fm-word { font-size: clamp(52px, 18vw, 80px); letter-spacing: -.04em; }
  .footer-foot { flex-direction: column; gap: 10px; align-items: flex-start; }

  /* Contact form */
  .contact-form { padding: 24px 20px; }
  .contact-inner { gap: 40px; }

  /* Showcase */
  .sw-body { grid-template-columns: 1fr; }
  .sw-side { display: none; }

  /* Section head */
  .section-head { margin-bottom: 48px; }
  .section-head-row { gap: 24px; }
  .insights-controls { padding-bottom: 0; }

  /* Why bars */
  .why-num { margin-bottom: 24px; }

  /* Process */
  .ps-rail::before { display: none; }
  .process-step { padding: 0 0 32px 0; border-left: 1px solid rgba(167,139,250,.25); padding-left: 20px; }
  .process-step:last-child { padding-bottom: 0; }
  .ps-dot { position: absolute; left: -8px; }
  .ps-rail { position: relative; }

  /* Testimonial */
  .testimonial { padding: 36px 24px; }
  .t-quote { font-size: 18px; }
  .t-cite { flex-wrap: wrap; }
  .t-stars { margin-left: 0; width: 100%; }

  /* Imprint / Privacy pages padding */
  .imp-hero, .pp-hero { padding: 130px 16px 60px; }
  .imp-body, .pp-body { padding: 0 16px 80px; }
  .imp-card, .pp-card { padding: 24px 20px; }
  .imp-info-grid { grid-template-columns: 1fr; }
  .imp-info-item.full { grid-column: 1; }
  .imp-reg-row { flex-direction: column; }
  .pp-rights-grid { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
  /* Even tighter nav for SE/mini */
  .nav { padding: 10px 12px; }
  .nav-inner { padding: 6px 6px 6px 12px; }
  .brand-text { font-size: 13px; }
  .cta-pill-label { display: none; }
  .cta-pill { padding: 8px; border-radius: 50%; gap: 0; }
  .cta-pill-arrow { width: 28px; height: 28px; }

  /* Hero tighter */
  .hero { padding: 110px 14px 50px; }
  .section { padding: 70px 14px; }
  .signal { padding: 70px 14px 80px; }
  .hero-sub { font-size: 16px; }

  /* Signal section — clip wave SVG overflow */
  .sigw-wave { overflow: hidden; }
  .signal-window { border-radius: 12px; }
  .sigw-rows { padding: 10px 12px; gap: 6px; }
  .sgr { font-size: 10px; gap: 6px; }
  .sgr code { max-width: 80px; }

  /* Footer */
  .fm-word { font-size: clamp(44px, 16vw, 60px); }
  .footer { padding: 50px 14px 24px; }

  /* Section titles */
  .section-title { font-size: clamp(32px, 9vw, 48px); }
  .signal-title { font-size: clamp(28px, 8vw, 42px); }
  .contact-title { font-size: clamp(32px, 9vw, 48px); }

  /* Contact form */
  .contact-form { padding: 20px 16px; }
  .cf-chips { gap: 6px; }
  .cf-chip span { padding: 6px 10px; font-size: 12px; }
}

/* ============================================================
   THEME TOGGLE BUTTON
   ============================================================ */
.theme-toggle {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--text-dim);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.theme-toggle:hover { color: var(--text); border-color: var(--line-2); background: rgba(255,255,255,.04); }
.tt-icon { position: absolute; transition: transform .5s cubic-bezier(.4,0,.2,1), opacity .3s; }
[data-theme="dark"] .tt-moon { transform: translateY(0) rotate(0); opacity: 1; }
[data-theme="dark"] .tt-sun { transform: translateY(140%) rotate(80deg); opacity: 0; }
[data-theme="light"] .tt-moon { transform: translateY(-140%) rotate(-80deg); opacity: 0; }
[data-theme="light"] .tt-sun { transform: translateY(0) rotate(0); opacity: 1; }

/* ============================================================
   THEME TRANSITION
   ============================================================ */
.theme-transitioning,
.theme-transitioning * { transition: background-color .45s ease, color .45s ease, border-color .45s ease, box-shadow .45s ease !important; }

/* ============================================================
   LIGHT THEME
   ============================================================ */
:root[data-theme="light"] {
  --bg: #f4f4f8;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.62);
  --surface-2: rgba(255, 255, 255, 0.82);
  --line: rgba(10, 12, 24, 0.08);
  --line-2: rgba(10, 12, 24, 0.16);
  --text: #0d0e16;
  --text-dim: #4a4c5e;
  --text-mute: #8b8d9f;
  --violet: #7c3aed;
  --violet-2: #6d28d9;
  --blue: #2563eb;
  --blue-2: #1d4ed8;
  --silver: #2a2b3a;
  --grad: linear-gradient(135deg, #7c3aed 0%, #2563eb 60%, #4a4c5e 100%);
  --grad-soft: linear-gradient(135deg, rgba(124,58,237,.1), rgba(37,99,235,.1));
}

[data-theme="light"] body { background: var(--bg); }

/* background layers */
[data-theme="light"] .bg-grid {
  background-image:
    linear-gradient(to right, rgba(10,12,24,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,12,24,.045) 1px, transparent 1px);
}
[data-theme="light"] .bg-noise { opacity: .12; mix-blend-mode: multiply; }
[data-theme="light"] .aurora { opacity: .35; mix-blend-mode: multiply; filter: blur(140px); }
[data-theme="light"] .aurora.a1 { background: radial-gradient(circle, #c4b5fd, transparent 70%); }
[data-theme="light"] .aurora.a2 { background: radial-gradient(circle, #93c5fd, transparent 70%); }
[data-theme="light"] .aurora.a3 { background: radial-gradient(circle, #ddd6fe, transparent 70%); opacity: .3; }

/* loader */
[data-theme="light"] .loader { background: var(--bg); }
[data-theme="light"] .loader-bar { background: rgba(10,12,24,.08); }
[data-theme="light"] .loader-curtain { background: linear-gradient(135deg, #e0e7ff 0%, #f4f4f8 50%, #ddd6fe 100%); }

/* cursor */
[data-theme="light"] .cursor-dot { background: #0d0e16; }
[data-theme="light"] .cursor-ring { border-color: rgba(10,12,24,.45); }
[data-theme="light"] .cursor-glow { background: radial-gradient(circle, rgba(124,58,237,.14) 0%, rgba(37,99,235,.04) 40%, transparent 70%); }

/* nav */
[data-theme="light"] .nav-inner { background: rgba(255,255,255,.55); border-color: var(--line); }
[data-theme="light"] .nav.scrolled .nav-inner { background: rgba(255,255,255,.82); border-color: var(--line-2); box-shadow: 0 8px 32px rgba(10,12,24,.06); }
[data-theme="light"] .nav-link::before { background: rgba(10,12,24,.05); }
[data-theme="light"] .lang-pill { background: rgba(255,255,255,.5); }
[data-theme="light"] .theme-toggle { background: rgba(255,255,255,.5); }
[data-theme="light"] .theme-toggle:hover { background: rgba(255,255,255,.8); }
[data-theme="light"] .cta-pill { background: linear-gradient(135deg, rgba(124,58,237,.1), rgba(37,99,235,.1)); border-color: rgba(124,58,237,.4); }

/* brand mark - keep dots, lighten subtly */
[data-theme="light"] .bm-dot.bm-p { background: #7c3aed; }
[data-theme="light"] .bm-dot.bm-b { background: #2563eb; }

/* eyebrow + tags + pills */
[data-theme="light"] .eyebrow { background: rgba(255,255,255,.6); border-color: var(--line); }
[data-theme="light"] .section-tag { background: rgba(255,255,255,.55); }
[data-theme="light"] .sig-pill, [data-theme="light"] .st-tag { background: rgba(255,255,255,.6); }

/* buttons */
[data-theme="light"] .btn-ghost { background: rgba(10,12,24,.03); border-color: var(--line-2); color: var(--text); }
[data-theme="light"] .btn-ghost:hover { background: rgba(10,12,24,.06); }
[data-theme="light"] .btn-primary { color: #fff; }

/* hero cubes - subtle on light */
[data-theme="light"] .cube { opacity: .25; }
[data-theme="light"] .cube span { border-color: rgba(124,58,237,.3); background: linear-gradient(135deg, rgba(255,255,255,.6), rgba(255,255,255,.3)); }

/* hero meta border */
[data-theme="light"] .hero-meta { border-color: var(--line-2); }
[data-theme="light"] .meta-cell { border-color: var(--line); }

/* marquee */
[data-theme="light"] .marquee-wrap { background: rgba(244,244,248,.5); border-color: var(--line); }

/* services + work + insights + why cards */
[data-theme="light"] .service-card,
[data-theme="light"] .work-card,
[data-theme="light"] .insight-card,
[data-theme="light"] .why-card,
[data-theme="light"] .cc { background: rgba(255,255,255,.6); border-color: var(--line); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset; }
[data-theme="light"] .service-card:hover,
[data-theme="light"] .work-card:hover,
[data-theme="light"] .insight-card:hover,
[data-theme="light"] .why-card:hover { background: rgba(255,255,255,.75); border-color: rgba(124,58,237,.35); box-shadow: 0 20px 60px rgba(10,12,24,.08); }
[data-theme="light"] .service-card-cta { background: linear-gradient(135deg, rgba(124,58,237,.08), rgba(37,99,235,.06)); border-color: rgba(124,58,237,.25); }
[data-theme="light"] .sc-cta { background: rgba(10,12,24,.04); border-color: var(--line-2); }
[data-theme="light"] .sc-icon { background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(37,99,235,.04)); border-color: rgba(124,58,237,.3); color: var(--violet); }
[data-theme="light"] .sc-list { border-color: var(--line); }
[data-theme="light"] .why-bar { background: rgba(10,12,24,.08); }
[data-theme="light"] .cc-icon { background: linear-gradient(135deg, rgba(124,58,237,.12), rgba(37,99,235,.04)); border-color: rgba(124,58,237,.25); color: var(--violet); }

/* "code-aesthetic" widgets — keep dark for editorial contrast */
[data-theme="light"] .terminal,
[data-theme="light"] .showcase-window,
[data-theme="light"] .signal-window,
[data-theme="light"] .contact-form {
  background: linear-gradient(180deg, #0f1020 0%, #08081a 100%);
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 30px 80px rgba(10,12,24,.18), 0 0 60px rgba(124,58,237,.06);
}
[data-theme="light"] .terminal .term-chrome,
[data-theme="light"] .showcase-window .sw-chrome,
[data-theme="light"] .signal-window .sigw-head,
[data-theme="light"] .sw-side,
[data-theme="light"] .signal-window .sigw-wave { border-color: rgba(255,255,255,.08); background: rgba(255,255,255,.02); }
[data-theme="light"] .signal-window .sigw-wave { background: transparent; }
[data-theme="light"] .term-title,
[data-theme="light"] .sw-url,
[data-theme="light"] .sigw-head,
[data-theme="light"] .sgr-t,
[data-theme="light"] .sw-commit-meta,
[data-theme="light"] .sw-card-title { color: rgba(255,255,255,.5); }
[data-theme="light"] .term-body,
[data-theme="light"] .sw-card-num,
[data-theme="light"] .sgr code { color: #ecedf3; }
[data-theme="light"] .term-out { color: rgba(255,255,255,.65); }
[data-theme="light"] .sw-card,
[data-theme="light"] .status-pill { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); color: rgba(255,255,255,.7); }
[data-theme="light"] .sgr { color: rgba(255,255,255,.55); }

/* contact form on light */
[data-theme="light"] .contact-form { color: #ecedf3; }
[data-theme="light"] .contact-form .cf-label-txt { color: rgba(255,255,255,.5); }
[data-theme="light"] .contact-form .cf-field input,
[data-theme="light"] .contact-form .cf-field textarea { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); color: #ecedf3; }
[data-theme="light"] .contact-form .cf-field input::placeholder,
[data-theme="light"] .contact-form .cf-field textarea::placeholder { color: rgba(255,255,255,.35); }
[data-theme="light"] .contact-form .cf-chip span { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); color: rgba(255,255,255,.65); }

/* testimonial */
[data-theme="light"] .testimonial { background: rgba(255,255,255,.65); border-color: var(--line-2); }
[data-theme="light"] .testimonial::before { background: linear-gradient(135deg, rgba(124,58,237,.4), transparent 50%); }

/* showcase window remains dark — already covered above */
[data-theme="light"] .showcase-window { background: linear-gradient(180deg, #0f1020 0%, #08081a 100%); }

/* process rail dots */
[data-theme="light"] .ps-dot { background: var(--bg); }
[data-theme="light"] .ps-time { background: rgba(124,58,237,.12); color: var(--violet); }

/* insights image placeholders */
[data-theme="light"] .ic-img-1 { background: linear-gradient(135deg, #ddd6fe, #c7d2fe); }
[data-theme="light"] .ic-img-2 { background: linear-gradient(135deg, #bfdbfe, #c7d2fe); }
[data-theme="light"] .ic-img-3 { background: linear-gradient(135deg, #e0e7ff, #ddd6fe); }
[data-theme="light"] .ic-img-overlay { background-image: radial-gradient(circle at 30% 30%, rgba(124,58,237,.2), transparent 50%), repeating-linear-gradient(45deg, transparent 0, transparent 12px, rgba(10,12,24,.04) 12px, rgba(10,12,24,.04) 13px); }
[data-theme="light"] .ic-img-label,
[data-theme="light"] .wc-thumb-label { background: rgba(255,255,255,.85); border-color: var(--line); color: var(--text-dim); }
[data-theme="light"] .ic-tagline { background: rgba(255,255,255,.75); border-color: var(--line); color: var(--text); }
[data-theme="light"] .ic-art svg { filter: drop-shadow(0 0 16px rgba(124,58,237,.18)); }
[data-theme="light"] .wc-thumb { background: linear-gradient(135deg, rgba(124,58,237,.08), rgba(37,99,235,.04)); border-color: var(--line); }
[data-theme="light"] .wc-thumb-2 { background: linear-gradient(135deg, rgba(37,99,235,.08), rgba(124,58,237,.04)); }
[data-theme="light"] .wc-thumb-3 { background: linear-gradient(135deg, rgba(124,58,237,.06), rgba(37,99,235,.08)); }

/* socials */
[data-theme="light"] .soc { background: rgba(255,255,255,.6); border-color: var(--line); }
[data-theme="light"] .soc:hover { background: rgba(255,255,255,.85); }

/* insights controls */
[data-theme="light"] .ic-btn { border-color: var(--line-2); }
[data-theme="light"] .ic-btn:hover { background: rgba(124,58,237,.08); }
[data-theme="light"] .ic-view { border-color: var(--line-2); }

/* footer */
[data-theme="light"] .footer { border-color: var(--line); }
[data-theme="light"] .footer-grid { border-color: var(--line); }

/* misc */
[data-theme="light"] .sc-link:hover { color: var(--violet); }
[data-theme="light"] .ff-dot { box-shadow: 0 0 8px #16a34a; background: #16a34a; }
[data-theme="light"] .eyebrow-dot { background: #16a34a; box-shadow: 0 0 8px #16a34a; }
[data-theme="light"] .cf-dot { background: #16a34a; box-shadow: 0 0 8px #16a34a; }
[data-theme="light"] .sigw-dot { background: #16a34a; box-shadow: 0 0 8px #16a34a; }
[data-theme="light"] .lang-dot { background: #7c3aed; box-shadow: 0 0 8px #7c3aed; }

/* hero canvas particles look different on light - lower opacity */
[data-theme="light"] .hero-canvas { opacity: .55; mix-blend-mode: multiply; }

/* globe readout panel on light */
[data-theme="light"] .globe-readout { background: rgba(255,255,255,.75); border-color: var(--line); }
[data-theme="light"] .gr-v { color: var(--text); }

/* sigw-rows - background contrast */
[data-theme="light"] .sigw-rows { background: transparent; }

