/* ==========================================================================
   itoma — engineering studio · design system
   Dark, high-tech, futuristic. Self-hosted fonts, no external CSS.
   ========================================================================== */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/spacegrotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('../fonts/spacegrotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/jbmono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('../fonts/jbmono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #04060c; --bg-2: #070b16; --bg-3: #0b1122;
  --panel: rgba(14, 21, 40, .62); --panel-2: rgba(20, 29, 54, .7);
  --line: rgba(148, 163, 255, .12); --line-2: rgba(148, 163, 255, .22);
  --text: #e8ecf8; --muted: #8e98b3; --dim: #5d6782;
  --cyan: #22d3ee; --blue: #3b82f6; --indigo: #6366f1; --violet: #a855f7; --pink: #f472b6; --green: #34d399; --amber: #fbbf24; --red: #fb7185;
  --grad: linear-gradient(100deg, #22d3ee 0%, #6366f1 50%, #a855f7 100%);
  --grad-soft: linear-gradient(135deg, rgba(34, 211, 238, .18), rgba(99, 102, 241, .12) 50%, rgba(168, 85, 247, .18));
  --radius: 22px; --radius-sm: 14px;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  --glow: 0 0 0 1px rgba(99, 102, 241, .35), 0 20px 60px -20px rgba(99, 102, 241, .55);
  --f-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Code', Consolas, monospace;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .75, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f-body); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; text-rendering: optimizeLegibility; }
body::before { /* fundal: grilă tehnică discretă */
  content: ''; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(rgba(148, 163, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 163, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 75%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.08; margin: 0; }
::selection { background: rgba(99, 102, 241, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1.25em; height: 1.25em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip { position: absolute; left: -9999px; top: 10px; z-index: 999; background: #fff; color: #000; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 10px; }

/* ---------- noise & progress ---------- */
.noise { position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .035;
  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"); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1001; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); box-shadow: 0 0 12px rgba(34, 211, 238, .7); }

/* ---------- buttons ---------- */
.btn { --bh: 48px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: var(--bh); padding: 0 22px; border-radius: 999px; border: 0; font: 600 15px/1 var(--f-body); letter-spacing: .01em; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s; isolation: isolate; }
.btn-sm { --bh: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { --bh: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { color: #04060c; background: linear-gradient(100deg, #67e8f9, #818cf8 55%, #c084fc); box-shadow: 0 10px 40px -10px rgba(99, 102, 241, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-primary::before { content: ''; position: absolute; inset: -2px; z-index: -1; border-radius: inherit; background: var(--grad); filter: blur(14px); opacity: 0; transition: opacity .3s; }
.btn-primary:hover::before { opacity: .85; }
.btn-primary:hover { box-shadow: 0 14px 50px -10px rgba(34, 211, 238, .8), inset 0 1px 0 rgba(255, 255, 255, .6); }
.btn-primary .ic { transition: transform .25s var(--ease); }
.btn-primary:hover .ic { transform: translateX(3px); }
.btn-ghost { color: var(--text); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .5); }

/* ---------- pulse ---------- */
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); animation: pulse 2s infinite; flex: 0 0 auto; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .55); } 70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }

/* ---------- NAV ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h); display: flex; align-items: center; transition: background .35s, box-shadow .35s, height .35s; }
.nav.scrolled { --nav-h: 64px; background: rgba(4, 6, 12, .72); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 40px; height: 40px; filter: drop-shadow(0 0 10px rgba(34, 211, 238, .45)); transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.05); }
.brand-name { font: 700 25px/1 var(--f-display); letter-spacing: -.03em; }
.brand-dot { color: var(--cyan); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { position: relative; padding: 9px 14px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px; background: var(--grad); box-shadow: 0 0 10px var(--cyan); }
.nav-cta-m { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 14px; border: 0; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text); cursor: pointer; place-items: center; }
.nav-toggle .ic { width: 22px; height: 22px; }
.nav-toggle .ic-close { display: none; }
.nav-open .nav-toggle .ic-open { display: none; }
.nav-open .nav-toggle .ic-close { display: block; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) 0 110px; overflow: hidden; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-grid { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%; z-index: -2; transform: perspective(600px) rotateX(62deg); transform-origin: 50% 100%;
  background-image: linear-gradient(rgba(99, 102, 241, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 102, 241, .35) 1px, transparent 1px);
  background-size: 70px 70px; mask-image: linear-gradient(to top, #000 10%, transparent 85%); -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%); animation: gridMove 6s linear infinite; opacity: .55; }
@keyframes gridMove { to { background-position: 0 70px, 0 0; } }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(90px); z-index: -3; pointer-events: none; }
.orb-a { width: 620px; height: 620px; top: -220px; left: -160px; background: radial-gradient(circle, rgba(34, 211, 238, .45), transparent 65%); animation: orb 18s ease-in-out infinite; }
.orb-b { width: 680px; height: 680px; top: 10%; right: -260px; background: radial-gradient(circle, rgba(168, 85, 247, .42), transparent 65%); animation: orb 22s ease-in-out infinite reverse; }
@keyframes orb { 50% { transform: translate(70px, 60px) scale(1.08); } }
.hero-aura { position: absolute; width: 520px; height: 520px; left: 0; top: 0; z-index: -1; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(circle, rgba(99, 102, 241, .18), transparent 60%); transform: translate(-50%, -50%); }
.hero:hover .hero-aura { opacity: 1; }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); font: 500 12.5px/1.3 var(--f-mono); color: var(--muted); letter-spacing: .02em; margin: 0 0 26px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-title { font-size: clamp(2.5rem, 4.9vw, 4.25rem); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 26px; }
.rotator { display: block; min-height: 2.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 28px rgba(99, 102, 241, .45)); }
.rotator::after { content: '_'; color: var(--cyan); -webkit-text-fill-color: var(--cyan); animation: blink 1s steps(1) infinite; margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { font-size: clamp(1.02rem, 1.4vw, 1.16rem); color: var(--muted); max-width: 610px; margin-bottom: 34px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 14px; }
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges .ic { color: var(--cyan); }
.br-d { display: none; }

/* terminal */
.hero-visual { position: relative; perspective: 1200px; }
.terminal { position: relative; border-radius: 20px; background: linear-gradient(180deg, rgba(16, 22, 42, .88), rgba(7, 10, 22, .92)); box-shadow: 0 0 0 1px var(--line-2), 0 40px 120px -30px rgba(34, 211, 238, .35), 0 30px 80px -20px rgba(0, 0, 0, .9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow: hidden; transform-style: preserve-3d; transition: transform .2s ease-out; }
.terminal::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--cyan) 75%, var(--violet) 85%, transparent 95%); -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; } }
.term-bar { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.dots { display: flex; gap: 7px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.term-title { display: inline-flex; align-items: center; gap: 7px; margin: 0 auto; font: 500 12.5px/1 var(--f-mono); color: var(--muted); }
.term-title .ic { width: 13px; height: 13px; color: var(--green); }
.term-live { display: inline-flex; align-items: center; gap: 7px; font: 600 11px/1 var(--f-mono); color: var(--green); letter-spacing: .1em; }
.term-live .pulse { width: 7px; height: 7px; }
.term-body { margin: 0; padding: 20px 22px 24px; height: 392px; overflow: hidden; font: 13.4px/1.75 var(--f-mono); color: #c9d4f2; white-space: pre-wrap; word-break: break-word; }
.term-body .p { color: var(--cyan); }
.term-body .u { color: var(--green); }
.term-body .ok { color: var(--green); }
.term-body .warn { color: var(--amber); }
.term-body .mut { color: var(--dim); }
.term-body .hl { color: #c4b5fd; }
.term-body .cur { display: inline-block; width: 8px; height: 1.1em; vertical-align: -3px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 1s steps(1) infinite; }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 16px; background: rgba(12, 18, 36, .82); box-shadow: 0 0 0 1px var(--line-2), 0 20px 50px -15px rgba(0, 0, 0, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); font-size: 13px; animation: float 6s ease-in-out infinite; }
.float-card .ic { width: 34px; height: 34px; padding: 7px; border-radius: 10px; color: var(--green); background: rgba(52, 211, 153, .12); }
.float-card b { display: block; font-family: var(--f-display); font-size: 15px; }
.float-card span { color: var(--muted); }
.fc-1 { left: -38px; bottom: -34px; }
.fc-2 { right: -26px; top: -46px; animation-delay: -3s; }
.fc-2 .ic { color: var(--cyan); background: rgba(34, 211, 238, .12); }
@keyframes float { 50% { transform: translateY(-12px); } }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- METRICS ---------- */
.metrics { position: relative; padding: 0 0 20px; margin-top: -40px; z-index: 2; }
.metrics-in { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow: hidden; padding: 0; }
.metric { position: relative; padding: 28px 26px; text-align: center; }
.metric + .metric::before { content: ''; position: absolute; left: 0; top: 22%; bottom: 22%; width: 1px; background: linear-gradient(transparent, var(--line-2), transparent); }
.metric b { display: block; font: 700 clamp(2rem, 3.4vw, 2.8rem)/1.1 var(--f-display); letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.metric b small { font-size: .55em; }
.metric > span { display: block; margin-top: 6px; color: var(--muted); font-size: 14px; }

/* ---------- SECTIONS ---------- */
.section { position: relative; padding: 130px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(11, 17, 34, .55) 15%, rgba(11, 17, 34, .55) 85%, transparent); }
.sec-head { max-width: 920px; margin: 0 auto 64px; text-align: center; }
.sec-head.left { text-align: left; margin: 0 0 40px; }
.eyebrow { display: inline-block; margin: 0 0 18px; font: 500 13px/1 var(--f-mono); letter-spacing: .08em; color: var(--cyan); text-transform: uppercase; text-shadow: 0 0 18px rgba(34, 211, 238, .55); }
.sec-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); margin-bottom: 20px; }
.sec-sub { color: var(--muted); font-size: 1.08rem; margin: 0; }
.sec-head:not(.left) .sec-sub { max-width: 640px; margin: 0 auto; }

/* ---------- CARDS / BENTO ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; padding: 30px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(20, 28, 52, .7), rgba(10, 15, 30, .7)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; transform-style: preserve-3d; }
.card-xl { grid-column: span 2; padding: 36px; }
.card h3 { font-size: 1.32rem; margin: 22px 0 12px; }
.card-xl h3 { font-size: 1.7rem; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0 0 18px; }
.card-xl p { font-size: 16.5px; max-width: 640px; }
.card:hover { box-shadow: inset 0 0 0 1px rgba(99, 102, 241, .45), 0 30px 70px -30px rgba(99, 102, 241, .6); }
.card-ico { position: relative; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; color: var(--cyan); background: rgba(34, 211, 238, .1); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .3), 0 0 30px -6px rgba(34, 211, 238, .5); }
.card-ico .ic { width: 27px; height: 27px; }
.card-ico.c2, .p-ico.c2 { color: var(--violet); background: rgba(168, 85, 247, .1); box-shadow: inset 0 0 0 1px rgba(168, 85, 247, .3), 0 0 30px -6px rgba(168, 85, 247, .55); }
.card-ico.c3, .p-ico.c3 { color: var(--green); background: rgba(52, 211, 153, .1); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .3), 0 0 30px -6px rgba(52, 211, 153, .5); }
.card-ico.c4, .case-ico.c4 { color: var(--pink); background: rgba(244, 114, 182, .1); box-shadow: inset 0 0 0 1px rgba(244, 114, 182, .3), 0 0 30px -6px rgba(244, 114, 182, .55); }
.card-ico.c5 { color: var(--amber); background: rgba(251, 191, 36, .1); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .3), 0 0 30px -6px rgba(251, 191, 36, .45); }
.card-ico.c6 { color: var(--blue); background: rgba(59, 130, 246, .12); box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .35), 0 0 30px -6px rgba(59, 130, 246, .55); }
.card-ico.c7 { color: #67e8f9; background: rgba(103, 232, 249, .08); box-shadow: inset 0 0 0 1px rgba(103, 232, 249, .3), 0 0 30px -6px rgba(103, 232, 249, .45); }
.card-ico.c8 { color: #c4b5fd; background: rgba(196, 181, 253, .08); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .3), 0 0 30px -6px rgba(196, 181, 253, .45); }
.card-glow { position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .22), transparent 65%); pointer-events: none; }
.card-glow.g2 { background: radial-gradient(circle, rgba(244, 114, 182, .22), transparent 65%); }
.ticks { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: #c3cbe2; }
.ticks .ic { width: 18px; height: 18px; margin-top: 3px; padding: 2px; border-radius: 50%; color: var(--green); background: rgba(52, 211, 153, .14); stroke-width: 2.5; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; }
.tags span { padding: 5px 11px; border-radius: 999px; font: 500 12px/1.2 var(--f-mono); color: #aab4d4; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }

/* spotlight (urmărește cursorul) */
.spot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(99, 102, 241, .16), transparent 45%); }
.spot:hover::after { opacity: 1; }
.spot::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, .85), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.spot:hover::before { opacity: 1; }

/* ---------- SECURITY ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.sec-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; }
.sec-list li { display: flex; gap: 14px; }
.sec-list b { display: block; font-family: var(--f-display); font-size: 1.05rem; margin-bottom: 4px; }
.sec-list p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.sl-ico { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: var(--cyan); background: rgba(34, 211, 238, .08); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .25); }
.radar-wrap { position: relative; display: grid; justify-items: center; }
.radar { position: relative; width: min(440px, 88vw); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(34, 211, 238, .08), rgba(4, 6, 12, .4) 70%); box-shadow: 0 0 0 1px rgba(34, 211, 238, .25), 0 0 80px -10px rgba(34, 211, 238, .35), inset 0 0 60px rgba(34, 211, 238, .08); overflow: hidden; }
.radar-ring { position: absolute; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .2); }
.r1 { inset: 16%; } .r2 { inset: 32%; } .r3 { inset: 8%; box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .1); }
.radar-cross::before, .radar-cross::after { content: ''; position: absolute; background: rgba(34, 211, 238, .16); }
.radar-cross::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.radar-cross::after { top: 50%; left: 0; right: 0; height: 1px; }
.radar-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(34, 211, 238, .55), rgba(34, 211, 238, .12) 12%, transparent 26%); animation: sweep 4s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.blip { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px var(--red); animation: blip 4s ease-out infinite; opacity: 0; }
.b1 { left: 64%; top: 26%; animation-delay: .5s; }
.b2 { left: 72%; top: 64%; animation-delay: 1.5s; background: var(--amber); box-shadow: 0 0 14px var(--amber); }
.b3 { left: 28%; top: 70%; animation-delay: 2.6s; }
.b4 { left: 22%; top: 30%; animation-delay: 3.4s; background: var(--amber); box-shadow: 0 0 14px var(--amber); }
@keyframes blip { 0% { opacity: 0; transform: scale(.4); } 8% { opacity: 1; transform: scale(1.3); } 30% { opacity: 1; transform: scale(1); } 45% { opacity: .2; background: var(--green); box-shadow: 0 0 14px var(--green); } 60%, 100% { opacity: 0; } }
.radar-core { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; display: grid; place-items: center; border-radius: 50%; color: var(--cyan); background: rgba(4, 6, 12, .85); box-shadow: 0 0 0 1px rgba(34, 211, 238, .5), 0 0 40px rgba(34, 211, 238, .45); }
.radar-core .ic { width: 38px; height: 38px; }
.posture { position: relative; width: min(380px, 100%); margin-top: -70px; padding: 20px 22px; border-radius: 18px; background: rgba(10, 15, 30, .88); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.posture-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font: 500 13px/1 var(--f-mono); color: var(--muted); }
.posture-h span { display: inline-flex; gap: 8px; align-items: center; }
.posture-h .ok { color: var(--green); letter-spacing: .12em; text-shadow: 0 0 12px rgba(52, 211, 153, .6); }
.bar { display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: center; font-size: 13px; color: #b7c1dd; margin-bottom: 9px; }
.bar i { position: relative; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.bar em { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--cyan), var(--green)); box-shadow: 0 0 12px rgba(52, 211, 153, .6); transition: width 1.4s var(--ease); }
.posture.on .bar em { width: var(--w); }
.posture.on .bar:nth-child(3) em { transition-delay: .12s; } .posture.on .bar:nth-child(4) em { transition-delay: .24s; } .posture.on .bar:nth-child(5) em { transition-delay: .36s; } .posture.on .bar:nth-child(6) em { transition-delay: .48s; }
.posture-log { margin: 12px 0 0; font: 12px/1.4 var(--f-mono); color: var(--muted); }
.posture-log .g { color: var(--green); }

/* ---------- INFRASTRUCTURE ---------- */
.stack { display: grid; gap: 14px; max-width: 1000px; margin: 0 auto; }
.stack-layer { position: relative; display: grid; grid-template-columns: 210px 1fr auto; gap: 24px; align-items: center; padding: 20px 26px; border-radius: 18px; background: linear-gradient(90deg, rgba(20, 28, 52, .75), rgba(10, 15, 30, .55)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.stack-layer:hover { transform: translateX(6px); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .4), 0 20px 50px -25px rgba(34, 211, 238, .5); }
.sl-left { display: flex; align-items: center; gap: 12px; }
.sl-left .ic { width: 26px; height: 26px; color: var(--cyan); }
.sl-left b { font: 700 1.15rem/1 var(--f-display); }
.sl-n { font: 600 11px/1 var(--f-mono); color: var(--dim); padding: 4px 7px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); }
.stack-layer p { margin: 0; color: var(--muted); font-size: 15px; }
.sl-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.sl-chips span { padding: 4px 10px; border-radius: 999px; font: 500 11.5px/1.3 var(--f-mono); color: #aab4d4; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.flow { position: absolute; left: 0; bottom: 0; height: 1px; width: 30%; background: linear-gradient(90deg, transparent, var(--cyan), transparent); animation: flow 3.6s linear infinite; opacity: .8; }
.stack-layer:nth-child(2) .flow { animation-delay: -.7s; } .stack-layer:nth-child(3) .flow { animation-delay: -1.4s; } .stack-layer:nth-child(4) .flow { animation-delay: -2.1s; } .stack-layer:nth-child(5) .flow { animation-delay: -2.8s; }
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(380%); } }
.marquee { position: relative; display: flex; overflow: hidden; margin-top: 80px; padding: 22px 0; border-block: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; flex: 0 0 auto; gap: 14px; padding-right: 14px; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font: 600 15px/1 var(--f-mono); color: var(--muted); padding: 11px 18px; border-radius: 12px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; transition: color .2s, box-shadow .2s; }
.marquee-track span:hover { color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .45); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- PROCESS ---------- */
.timeline { position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; gap: 26px; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--line); }
.timeline::after { content: ''; position: absolute; left: 50%; top: 0; width: 2px; margin-left: -1px; height: var(--fill, 0%); background: var(--grad); box-shadow: 0 0 16px rgba(34, 211, 238, .7); transition: height .15s linear; }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.tl-dot { position: absolute; left: 50%; top: 26px; z-index: 2; width: 52px; height: 52px; margin-left: -26px; display: grid; place-items: center; border-radius: 50%; color: var(--cyan); background: var(--bg-2); box-shadow: 0 0 0 1px rgba(34, 211, 238, .45), 0 0 30px -4px rgba(34, 211, 238, .55); }
.tl-dot .ic { width: 22px; height: 22px; }
.tl-card { position: relative; padding: 26px 28px; border-radius: 20px; background: linear-gradient(180deg, rgba(20, 28, 52, .7), rgba(10, 15, 30, .7)); box-shadow: inset 0 0 0 1px var(--line); }
.tl-item:nth-child(odd) .tl-card { grid-column: 1; text-align: right; }
.tl-item:nth-child(even) .tl-card { grid-column: 2; }
.tl-n { font: 600 13px/1 var(--f-mono); color: var(--cyan); letter-spacing: .1em; }
.tl-card h3 { font-size: 1.4rem; margin: 10px 0 8px; }
.tl-card p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- WORK ---------- */
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.case { position: relative; padding: 34px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(25, 34, 64, .75), rgba(10, 15, 30, .75)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.case-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.case-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; color: var(--cyan); background: rgba(34, 211, 238, .1); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .3), 0 0 30px -6px rgba(34, 211, 238, .5); }
.case-ico .ic { width: 26px; height: 26px; }
.case-tag { font: 500 12px/1 var(--f-mono); color: var(--green); padding: 7px 12px; border-radius: 999px; background: rgba(52, 211, 153, .08); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .28); }
.case h3 { font-size: 1.55rem; margin-bottom: 14px; }
.case > p { color: var(--muted); margin-bottom: 20px; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 70px; }
.why-item { padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, .02); box-shadow: inset 0 0 0 1px var(--line); }
.why-item .ic { width: 30px; height: 30px; color: var(--cyan); margin-bottom: 14px; filter: drop-shadow(0 0 10px rgba(34, 211, 238, .5)); }
.why-item b { display: block; font: 700 1.08rem/1.3 var(--f-display); margin-bottom: 6px; }
.why-item p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- PARTNERS ---------- */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 30px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(20, 28, 52, .7), rgba(10, 15, 30, .7)); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.partner:hover { box-shadow: inset 0 0 0 1px rgba(99, 102, 241, .45), 0 30px 70px -30px rgba(99, 102, 241, .6); }
.p-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 15px; margin-bottom: 14px; color: var(--cyan); background: rgba(34, 211, 238, .1); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .3), 0 0 30px -6px rgba(34, 211, 238, .5); }
.p-ico .ic { width: 26px; height: 26px; }
.p-kind { font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.partner b { font: 700 1.5rem/1.2 var(--f-display); }
.p-desc { color: var(--muted); font-size: 15px; flex: 1; }
.p-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: 14.5px; color: var(--text); }
.p-go .ic { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.partner:hover .p-go .ic { transform: translate(3px, -3px); }
.disclosure { margin: 26px auto 0; max-width: 720px; text-align: center; color: var(--dim); font-size: 13px; }

/* ---------- CONTACT ---------- */
.contact { overflow: hidden; }
.contact::before { content: ''; position: absolute; width: 900px; height: 900px; left: 50%; top: 40%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(99, 102, 241, .14), transparent 60%); pointer-events: none; z-index: -1; }
.contact-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-points li { display: flex; gap: 16px; align-items: center; }
.contact-points b { display: block; font: 600 13px/1.2 var(--f-mono); color: var(--dim); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.contact-points a, .contact-points span { color: var(--text); font-size: 16px; }
.contact-points a:hover { color: var(--cyan); }
.cp-ico { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; color: var(--cyan); background: rgba(34, 211, 238, .08); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .25); }
.glass { background: linear-gradient(180deg, rgba(18, 26, 50, .78), rgba(8, 12, 26, .82)); box-shadow: inset 0 0 0 1px var(--line-2), var(--shadow); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.form { position: relative; padding: 30px; border-radius: 26px; }
.form-h { display: flex; align-items: center; gap: 10px; margin: -6px 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font: 500 13px/1 var(--f-mono); color: var(--muted); }
.form-h .ic { color: var(--cyan); }
.form-h .pulse { margin-left: auto; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; margin-bottom: 14px; }
.field input, .field select, .field textarea { width: 100%; padding: 24px 16px 9px; border-radius: 14px; border: 0; outline: 0; background: rgba(4, 6, 12, .55); color: var(--text); font: 400 16px/1.4 var(--f-body); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none; }
.field select { cursor: pointer; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238e98b3' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: #0b1122; color: var(--text); }
.field textarea { resize: vertical; min-height: 140px; padding-bottom: 28px; }
.field label { position: absolute; left: 16px; top: 17px; color: var(--muted); font-size: 15.5px; pointer-events: none; transform-origin: 0 0; transition: transform .2s var(--ease), color .2s; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--cyan), 0 0 0 4px rgba(34, 211, 238, .12); background: rgba(4, 6, 12, .75); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select.filled + label { transform: translateY(-10px) scale(.78); color: var(--cyan); }
.field.invalid input, .field.invalid select, .field.invalid textarea { box-shadow: inset 0 0 0 1.5px var(--red); }
.field.invalid label { color: var(--red) !important; }
.counter { position: absolute; right: 14px; bottom: 10px; font: 11px/1 var(--f-mono); color: var(--dim); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 18px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent .cb { width: 22px; height: 22px; flex: 0 0 auto; margin-top: 1px; display: grid; place-items: center; border-radius: 7px; box-shadow: inset 0 0 0 1.5px var(--line-2); background: rgba(4, 6, 12, .55); transition: background .2s, box-shadow .2s; }
.consent .cb .ic { width: 14px; height: 14px; stroke-width: 3; color: #04060c; opacity: 0; transform: scale(.5); transition: .2s var(--ease); }
.consent input:checked + .cb { background: var(--cyan); box-shadow: 0 0 16px rgba(34, 211, 238, .6); }
.consent input:checked + .cb .ic { opacity: 1; transform: none; }
.consent input:focus-visible + .cb { outline: 2px solid var(--cyan); outline-offset: 3px; }
.consent.invalid .cb { box-shadow: inset 0 0 0 1.5px var(--red); }
.captcha-wrap { min-height: 78px; margin-bottom: 18px; }
.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(4, 6, 12, .3); border-top-color: #04060c; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.btn.loading .spinner { display: block; }
.btn.loading .ic { display: none; }
.btn.loading { pointer-events: none; opacity: .85; }
.form-status { margin: 14px 0 0; min-height: 1.4em; font-size: 15px; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }
.form-status .ic { display: inline-block; vertical-align: -4px; margin-right: 6px; }
.legal { margin: 8px 0 0; color: var(--dim); font-size: 12px; }
.legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.form.sent .f-row, .form.sent .field, .form.sent .consent, .form.sent .captcha-wrap, .form.sent #sendBtn { display: none; }
.success { text-align: center; padding: 30px 10px 10px; }
.success .s-ico { width: 84px; height: 84px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; color: var(--green); background: rgba(52, 211, 153, .1); box-shadow: 0 0 0 1px rgba(52, 211, 153, .45), 0 0 50px rgba(52, 211, 153, .4); animation: pop .6s var(--ease); }
.success .s-ico .ic { width: 40px; height: 40px; stroke-width: 2.4; }
.success h3 { font-size: 1.6rem; margin-bottom: 8px; }
.success p { color: var(--muted); margin: 0; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }

/* ---------- FOOTER ---------- */
.footer { position: relative; padding: 70px 0 34px; border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(11, 17, 34, .6)); }
.footer::before { content: ''; position: absolute; left: 10%; right: 10%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), var(--violet), transparent); opacity: .7; }
.footer-in { display: grid; grid-template-columns: minmax(260px, 1fr) auto; gap: 30px 60px; align-items: start; }
.f-brand p { margin: 14px 0 0; color: var(--muted); max-width: 380px; font-size: 15px; }
.f-links { display: flex; flex-wrap: nowrap; gap: 8px 26px; align-items: center; justify-content: flex-end; padding-top: 8px; white-space: nowrap; }
.f-links a { color: var(--muted); font-size: 15px; transition: color .2s; }
.f-links a:hover { color: var(--cyan); }
.f-bottom { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; padding-top: 26px; margin-top: 10px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.f-bottom a { color: var(--muted); }
.f-bottom a:hover { color: var(--cyan); }
.f-status { display: inline-flex; align-items: center; gap: 9px; margin-left: auto; font-family: var(--f-mono); font-size: 12.5px; color: var(--green); }
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 900; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 16px; color: var(--text); background: rgba(14, 21, 40, .85); box-shadow: inset 0 0 0 1px var(--line-2), 0 16px 40px -14px rgba(0, 0, 0, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transform: translateY(20px); pointer-events: none; transition: .3s var(--ease); }
.to-top .ic { transform: rotate(-90deg); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .5), 0 0 30px -6px rgba(34, 211, 238, .6); }

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .nav-links a { padding: 9px 10px; }
  .hero-in { grid-template-columns: 1fr; gap: 60px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-badges { justify-content: center; }
  .hero-visual { max-width: 640px; margin: 0 auto; width: 100%; }
  .split { grid-template-columns: 1fr; gap: 60px; }
  .contact-in { grid-template-columns: 1fr; gap: 50px; }
  .why { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav-links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 6px; margin: 0; background: rgba(4, 6, 12, .96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
  .nav-links a { font: 600 26px/1.2 var(--f-display); color: var(--text); padding: 12px 24px; opacity: 0; transform: translateY(16px); transition: opacity .4s var(--ease), transform .4s var(--ease), color .2s; }
  .nav-open .nav-links { opacity: 1; visibility: visible; }
  .nav-open .nav-links a { opacity: 1; transform: none; }
  .nav-open .nav-links a:nth-child(2) { transition-delay: .04s; } .nav-open .nav-links a:nth-child(3) { transition-delay: .08s; } .nav-open .nav-links a:nth-child(4) { transition-delay: .12s; }
  .nav-open .nav-links a:nth-child(5) { transition-delay: .16s; } .nav-open .nav-links a:nth-child(6) { transition-delay: .2s; } .nav-open .nav-links a:nth-child(7) { transition-delay: .24s; }
  .nav-links a.active::after { bottom: 4px; }
  .nav-cta-m { display: block; }
  .nav-cta { display: none; }
  .nav-toggle { display: grid; }
  .nav-open { overflow: hidden; }
  .nav-open .nav { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-xl { grid-column: span 2; }
  .metrics-in { grid-template-columns: 1fr 1fr; }
  .metric:nth-child(3)::before { display: none; }
  .stack-layer { grid-template-columns: 1fr; gap: 10px; }
  .sl-chips { justify-content: flex-start; }
  .timeline::before, .timeline::after { left: 26px; }
  .tl-item { grid-template-columns: 1fr; gap: 0; padding-left: 78px; }
  .tl-dot { left: 26px; top: 20px; }
  .tl-item:nth-child(odd) .tl-card, .tl-item:nth-child(even) .tl-card { grid-column: 1; text-align: left; }
  .cases { grid-template-columns: 1fr; }
  .partners { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
  .f-links { justify-content: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  :root { --nav-h: 66px; }
  .nav.scrolled { --nav-h: 60px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 22px; }
  .hero { padding-top: calc(var(--nav-h) + 26px); padding-bottom: 90px; }
  .pill { font-size: 11px; padding: 7px 12px 7px 10px; }
  .hero-title { font-size: clamp(2.15rem, 10vw, 2.9rem); }
  .rotator { min-height: 2.1em; }
  .hero-ctas .btn { width: 100%; }
  .term-body { height: 340px; font-size: 11.6px; padding: 16px 14px 18px; }
  .term-title { font-size: 11px; }
  .term-live { display: none; }
  .float-card { display: none; }
  .metrics { margin-top: -30px; }
  .metric { padding: 22px 12px; }
  .section { padding: 90px 0; }
  .sec-head { margin-bottom: 44px; }
  .bento { grid-template-columns: 1fr; gap: 16px; }
  .card-xl { grid-column: span 1; }
  .card, .card-xl { padding: 26px 22px; }
  .sec-list { grid-template-columns: 1fr; }
  .bar { grid-template-columns: 110px 1fr; }
  .why { grid-template-columns: 1fr; margin-top: 50px; }
  .case { padding: 26px 22px; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 22px 18px; border-radius: 22px; }
  .captcha-wrap { transform-origin: 0 0; }
  .f-status { margin-left: 0; }
  .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }
}
@media (max-width: 360px) { .captcha-wrap { transform: scale(.88); margin-bottom: 8px; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  /* fără mișcări ample (vestibular); efectele discrete (fade, tastare, contoare, particule) rămân */
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; filter: none; transition: opacity .7s ease; transition-delay: var(--d, 0s); }
  .hero-grid, .hero-orb, .float-card, .scroll-cue span { animation: none; }
  .marquee-track { animation-duration: 120s; }
}
@media print {
  .nav, .hero-canvas, .hero-grid, .hero-orb, .noise, .progress, .to-top, .marquee, .form { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ---------- 404 ---------- */
.e404 { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; overflow: hidden; isolation: isolate; }
.e404-code { font-size: clamp(7rem, 26vw, 15rem); line-height: .9; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 40px rgba(99, 102, 241, .5)); margin: 0 0 14px; }
.e404-txt { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin-bottom: 26px; }
.e404-term { margin: 0 0 30px; padding: 16px 20px; border-radius: 14px; text-align: left; font: 13px/1.8 var(--f-mono); color: #c9d4f2; background: rgba(10, 15, 30, .85); box-shadow: inset 0 0 0 1px var(--line-2); }
.e404-term .u { color: var(--green); } .e404-term .p { color: var(--cyan); } .e404-term .hl { color: #c4b5fd; } .e404-term .warn { color: var(--amber); }
.e404-term .cur { display: inline-block; width: 8px; height: 1.1em; vertical-align: -3px; background: var(--cyan); animation: blink 1s steps(1) infinite; }

/* ---------- Services: CTA card ---------- */
.card-cta { display: flex; align-items: center; background: linear-gradient(120deg, rgba(34, 211, 238, .14), rgba(99, 102, 241, .16) 45%, rgba(168, 85, 247, .18)), linear-gradient(180deg, rgba(20, 28, 52, .8), rgba(10, 15, 30, .8)); box-shadow: inset 0 0 0 1px rgba(99, 102, 241, .35); }
.cta-in { position: relative; z-index: 1; display: flex; align-items: center; gap: 30px; width: 100%; }
.cta-in h3 { margin: 10px 0 12px; font-size: 1.6rem; }
.cta-in p { margin: 0; }
.cta-in .btn { flex: 0 0 auto; }
.cta-kicker { display: inline-flex; align-items: center; gap: 10px; font: 500 12.5px/1 var(--f-mono) !important; letter-spacing: .08em; text-transform: uppercase; color: var(--green) !important; }

/* ---------- footer buttons ---------- */
.f-btn, .link-btn { padding: 0; border: 0; background: none; font: inherit; color: var(--muted); cursor: pointer; text-decoration: underline; text-decoration-color: rgba(142, 152, 179, .4); text-underline-offset: 3px; }
.f-btn:hover, .link-btn:hover { color: var(--cyan); }
.f-btn { text-decoration: none; font-size: 14px; }

/* ---------- cookie bar ---------- */
.cookie-bar { position: fixed; left: 24px; bottom: 24px; z-index: 1100; width: min(560px, calc(100vw - 48px)); display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; padding: 20px 22px; border-radius: 22px;
  background: linear-gradient(180deg, #121a33, #090e1e); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 80px -20px rgba(0, 0, 0, .95), 0 0 60px -20px rgba(99, 102, 241, .5);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: cbIn .6s var(--ease) both; }
.cookie-bar[hidden] { display: none; }
@keyframes cbIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.cb-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--amber); background: rgba(251, 191, 36, .1); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, .3), 0 0 24px -6px rgba(251, 191, 36, .5); }
.cb-ico .ic { width: 24px; height: 24px; }
.cb-txt b { font: 700 1.05rem/1.3 var(--f-display); }
.cb-txt p { margin: 4px 0 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.cb-txt strong { color: var(--text); font-weight: 600; }
.cb-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.cb-actions .ic { width: 16px; height: 16px; }

/* ---------- dialogs ---------- */
.dlg { width: min(620px, calc(100vw - 28px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 24px; color: var(--text); background: linear-gradient(180deg, #111a33, #090e1e); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 120px -20px rgba(0, 0, 0, .95), 0 0 80px -30px rgba(99, 102, 241, .6); overflow: hidden; }
.dlg-wide { width: min(780px, calc(100vw - 28px)); }
.dlg::backdrop { background: rgba(2, 4, 10, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.dlg[open] { animation: dlgIn .35s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.dlg-in { display: flex; flex-direction: column; max-height: calc(100dvh - 40px); margin: 0; }
.dlg-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.dlg-h h2 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.dlg-h h2 .ic { color: var(--cyan); }
.dlg-x { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .05); color: var(--muted); cursor: pointer; }
.dlg-x:hover { color: var(--text); background: rgba(255, 255, 255, .1); }
.dlg-lead { margin: 18px 24px 6px; color: var(--muted); font-size: 15px; }
.cat { margin: 12px 24px 0; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line); }
.cat.muted { opacity: .7; }
.cat-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cat-h b { font: 700 1rem/1.3 var(--f-display); margin-right: 10px; }
.cat p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.cat-badge { display: inline-block; vertical-align: 2px; padding: 3px 9px; border-radius: 999px; font: 500 11px/1.2 var(--f-mono); color: var(--green); background: rgba(52, 211, 153, .1); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .3); }
.cat-badge.alt { color: var(--cyan); background: rgba(34, 211, 238, .08); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .3); }
.cat-badge.none { color: var(--muted); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.switch { position: relative; flex: 0 0 auto; width: 50px; height: 28px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 1; }
.switch i { position: absolute; inset: 0; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .25s; }
.switch i::after { content: ''; position: absolute; left: 4px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: #cbd5e1; transition: transform .25s var(--ease), background .25s; }
.switch input:checked + i, .switch.on i { background: linear-gradient(90deg, var(--cyan), var(--indigo)); box-shadow: 0 0 16px rgba(34, 211, 238, .45); }
.switch input:checked + i::after, .switch.on i::after { transform: translateX(22px); background: #fff; }
.switch input:focus-visible + i { outline: 2px solid var(--cyan); outline-offset: 3px; }
.switch.locked { cursor: not-allowed; opacity: .75; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dlg-f { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; padding: 18px 24px; margin-top: 18px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .15); }
.dlg-f .ic { width: 16px; height: 16px; }
.policy { padding: 6px 24px 4px; overflow-y: auto; font-size: 15px; color: #c3cbe2; }
.policy h3 { font-size: 1.08rem; margin: 22px 0 8px; color: var(--text); }
.policy p, .policy li { line-height: 1.65; }
.policy ul { padding-left: 20px; margin: 0 0 12px; display: grid; gap: 8px; }
.policy a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.policy code { font-family: var(--f-mono); font-size: 13px; padding: 1px 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.pol-meta { margin: 14px 0 0; font: 12.5px/1 var(--f-mono); color: var(--dim); }

/* ---------- form: reCAPTCHA consent notice ---------- */
.captcha-consent { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: start; padding: 16px 18px; border-radius: 16px; background: rgba(34, 211, 238, .05); box-shadow: inset 0 0 0 1px rgba(34, 211, 238, .28); }
.captcha-consent[hidden] { display: none; }
.captcha-consent > .ic { width: 26px; height: 26px; color: var(--cyan); margin-top: 2px; }
.captcha-consent b { display: block; font: 700 1rem/1.3 var(--f-display); margin-bottom: 4px; }
.captcha-consent span { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
.captcha-consent a { color: var(--cyan); }
.captcha-consent .btn { grid-column: 2; justify-self: start; margin-top: 8px; }

@media (max-width: 1100px) {
  .footer-in { grid-template-columns: 1fr; }
  .f-links { justify-content: flex-start; flex-wrap: wrap; white-space: normal; padding-top: 0; }
}
@media (max-width: 760px) {
  .cta-in { flex-direction: column; align-items: flex-start; gap: 22px; }
}
@media (max-width: 640px) {
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; grid-template-columns: 1fr; }
  .cb-ico { display: none; }
  .cb-actions { justify-content: stretch; }
  .cb-actions .btn { flex: 1 1 auto; }
  .cb-actions .btn-primary { flex-basis: 100%; order: -1; }
  .dlg-h, .dlg-f { padding-left: 18px; padding-right: 18px; }
  .cat, .dlg-lead { margin-left: 18px; margin-right: 18px; }
  .policy { padding-left: 18px; padding-right: 18px; }
  .dlg-f .btn { flex: 1 1 auto; }
  .cta-in .btn { width: 100%; }
}
