/* SaMoCode — site styles
   Brand: blues of the logo only (#4f8bdd → #66ccf8). Green/amber are status colours only. */

/* ========== 1. Tokens ========== */
:root {
  --bg: #060a13; --bg2: #0a101c; --panel: #0c1322;
  --line: rgba(150, 180, 255, .11); --line2: rgba(150, 180, 255, .2);
  --text: #e8eef8; --muted: #8a97ad; --dim: #5d6a80;
  --blue: #4f8bdd; --blue2: #5aa6ec; --cyan: #66ccf8; --ice: #8fdcff;
  --ok: #3fd68a; --run: #f5b94a;
  --c1: var(--cyan); --c2: var(--blue);
  --grad: linear-gradient(100deg, #4f8bdd 0%, #58a8ee 45%, #66ccf8 75%, #8fdcff 100%);
  --btn: linear-gradient(135deg, #4f8bdd, #3a74d4);
  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
html[lang=ar] { --font: 'IBM Plex Sans Arabic', 'Geist', system-ui, sans-serif; }

/* ========== 2. Base ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
#top { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
section[id] { scroll-margin-top: 80px; }
body { background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--mono); }
.center { text-align: center; margin-inline: auto; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
svg[viewBox="0 0 16 16"] { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[dir=rtl] .card__more svg, html[dir=rtl] .ailink > svg, html[dir=rtl] .pill > svg { transform: scaleX(-1); }

/* ========== 3. Type ========== */
.eyebrow { font-family: var(--mono); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--c1); margin-bottom: 16px; }
.h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.08; letter-spacing: -.035em; font-weight: 620; }
.h2.center { max-width: 22ch; }
.mute { color: var(--muted); }
.lead { color: var(--muted); font-size: 18px; max-width: 580px; }
.lead p + p { margin-top: 14px; }
.hero-title { font-size: clamp(40px, 6vw, 78px); line-height: 1.02; letter-spacing: -.045em; font-weight: 650; max-width: 16ch; margin: 0 auto 22px; }
.hero-title--xl { font-size: clamp(44px, 7.4vw, 96px); line-height: 1; max-width: 14ch; margin-top: 28px; }
.hero-sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 660px; margin: 0 auto; }
html[lang=ar] .eyebrow { font-family: var(--font); letter-spacing: 0; font-weight: 600; }
html[lang=ar] :is(.h2, .hero-title, .ctaband__title) { letter-spacing: 0; line-height: 1.3; }

/* ========== 4. Buttons, badges, dots ========== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 10px; font-weight: 600; font-size: 15px; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; }
.btn--sm { height: 34px; padding: 0 14px; font-size: 14px; border-radius: 8px; }
.btn--lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn--light { background: #fff; color: #0a0f1a; }
.btn--light:hover { background: #dcecff; }
.btn--ghost { border-color: var(--line2); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .45); }
.btn--grad { background: var(--btn); color: #fff; box-shadow: 0 8px 30px -8px rgba(79, 150, 230, .7), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--grad:hover { transform: translateY(-1px); box-shadow: 0 12px 40px -8px rgba(79, 150, 230, .9), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.center-btn { text-align: center; margin-top: 40px; }

.badge { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--c1) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c1) 35%, transparent); box-shadow: 0 0 30px -6px color-mix(in srgb, var(--c1) 60%, transparent); }
.badge .ico { width: 22px; height: 22px; stroke: var(--c1); }
.badge--lg { width: 60px; height: 60px; border-radius: 16px; margin-bottom: 22px; }
.badge--lg .ico { width: 28px; height: 28px; }

.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot--ok { background: var(--ok); box-shadow: 0 0 0 3px rgba(63, 214, 138, .18), 0 0 12px var(--ok); }
.dot--ai { background: var(--cyan); box-shadow: 0 0 0 3px rgba(102, 204, 248, .18), 0 0 12px var(--cyan); animation: blink 2s infinite; }
.dot--run { background: var(--run); box-shadow: 0 0 0 3px rgba(245, 185, 74, .18); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .35; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px); } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ========== 5. Navigation ========== */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s, border-color .3s; }
.nav.is-scrolled, .nav.is-open { background: rgba(6, 10, 19, .78); backdrop-filter: blur(16px) saturate(1.4); border-color: var(--line); }
.nav__in { position: relative; height: 68px; display: flex; align-items: center; gap: 28px; }
.brand img { height: 40px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links > a, .has-mega > a { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px; color: #c9d3e3; font-size: 15px; transition: color .2s, background .2s; }
.nav__links > a:hover, .has-mega > a:hover, .nav__links a.on { color: #fff; background: rgba(255, 255, 255, .06); }
.chev { width: 12px; height: 12px; transition: transform .3s; }
.has-mega:hover .chev { transform: rotate(180deg); }
.mega { position: absolute; top: 100%; left: 50%; padding-top: 10px; opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .25s, transform .35s var(--ease), visibility .25s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__in { display: grid; grid-template-columns: repeat(3, 300px); gap: 6px; padding: 16px; border-radius: 16px; border: 1px solid var(--line2); background: rgba(9, 14, 25, .97); backdrop-filter: blur(20px); box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8); }
.mega__col h5 { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); padding: 6px 10px 10px; }
html[lang=ar] .mega__col h5 { font-family: var(--font); letter-spacing: 0; }
.mega__item { display: flex; gap: 12px; padding: 10px; border-radius: 10px; transition: background .2s; }
.mega__item:hover { background: rgba(255, 255, 255, .05); }
.mega__item .ico { width: 20px; height: 20px; flex: none; margin-top: 2px; stroke: var(--cyan); }
.mega__item b { display: block; font-size: 14.5px; font-weight: 600; }
.mega__item em { display: block; font-style: normal; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.nav__cta { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.lang { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px 10px; font: 14px 'IBM Plex Sans Arabic', var(--font); }
.lang:hover { color: #fff; }
.burger { display: none; width: 38px; height: 34px; background: none; border: 1px solid var(--line2); border-radius: 8px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger i { width: 16px; height: 1.5px; background: #fff; transition: transform .3s; }
.is-open .burger i:first-child { transform: translateY(3.25px) rotate(45deg); }
.is-open .burger i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ========== 6. Heroes ========== */
.hero, .phero { position: relative; overflow: hidden; isolation: isolate; text-align: center; }
.hero::before, .phero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(1000px 520px at 50% -10%, color-mix(in srgb, var(--c2) 30%, transparent), transparent 70%), radial-gradient(600px 400px at 85% 25%, color-mix(in srgb, var(--c1) 12%, transparent), transparent 70%); }
.hero::after, .phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 30%, transparent 80%); opacity: .5; }
.phero { padding: 170px 0 90px; }
.phero--service { padding-bottom: 56px; }
.hero { padding-top: 150px; min-height: 100vh; }
.hero::before { background: radial-gradient(1200px 600px at 50% 110%, rgba(79, 139, 221, .3), transparent 60%), radial-gradient(700px 400px at 15% 20%, rgba(79, 139, 221, .12), transparent 70%), radial-gradient(700px 400px at 85% 10%, rgba(102, 204, 248, .1), transparent 70%); }
.hero-copy { position: relative; z-index: 2; }
.crumbs { display: flex; gap: 8px; justify-content: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.hero-visual .window { margin-top: 0; }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(13, 20, 36, .6); backdrop-filter: blur(8px); font-size: 14px; color: #c9d3e3; transition: border-color .3s; }
html[dir=rtl] .pill { padding: 5px 5px 5px 14px; }
.pill:hover { border-color: rgba(102, 204, 248, .5); }
.pill svg { width: 14px; height: 14px; }
.pill__tag { background: var(--btn); color: #fff; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.hero__form { display: flex; gap: 10px; justify-content: center; max-width: 520px; margin: 34px auto 0; }
.hero__form input { flex: 1; min-width: 0; height: 52px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(10, 16, 28, .7); padding: 0 16px; font-size: 16px; outline: none; transition: border-color .2s, box-shadow .2s; }
.hero__form input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(102, 204, 248, .15); }
.hero__form .btn { height: 52px; }
.hero__link { display: inline-block; margin-top: 18px; color: var(--muted); font-size: 15px; transition: color .2s; }
.hero__link:hover { color: #fff; }
.hero__glow { position: absolute; left: 50%; bottom: -20%; width: 1100px; height: 700px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(79, 139, 221, .35), transparent); filter: blur(40px); z-index: -1; }

/* globe */
.globe { position: relative; width: min(1200px, 140vw); aspect-ratio: 1; left: 50%; transform: translateX(-50%); margin: -60px 0 -34%; z-index: 1; }
html[dir=rtl] .globe { transform: translateX(50%); }
.globe canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; opacity: 0; transition: opacity 1.6s ease; }
.globe canvas.on { opacity: 1; }
.globe__fade { position: absolute; inset: 46% 0 auto; height: 21%; background: linear-gradient(transparent, var(--bg) 92%); pointer-events: none; }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(11, 17, 30, .72); backdrop-filter: blur(12px); font-size: 13px; text-align: start; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); opacity: 0; transform: translateY(12px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.chip.on { opacity: 1; transform: none; }
.chip b { display: block; font-weight: 600; font-size: 13.5px; }
.chip em { font-style: normal; color: var(--muted); font-size: 12.5px; unicode-bidi: isolate; }
.chip--a { left: 14%; top: 12%; } .chip--b { right: 14%; top: 7%; } .chip--c { right: 20%; top: 22%; }
.avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--btn); font: 700 10px var(--mono); }

/* ========== 7. Sections ========== */
.section { padding: 100px 0; }
.section--tight { padding: 50px 0; }
.stack { position: relative; z-index: 3; padding: 60px 0 40px; border-top: 1px solid var(--line); background: var(--bg); }
.stack__lead { text-align: center; color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); direction: ltr; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font: 20px var(--mono); color: #7d8aa3; transition: color .3s; }
.marquee__track span:hover { color: #fff; }
@keyframes marquee { to { transform: translateX(-50%); } }

.aisec { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; padding: 110px 0 60px; }
.aisec .lead { margin-top: 20px; }
.ailinks { display: grid; gap: 10px; margin-top: 32px; }
.ailink { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(13, 20, 36, .5); transition: border-color .3s, background .3s, transform .3s var(--ease); }
.ailink:hover { border-color: rgba(102, 204, 248, .5); background: rgba(102, 204, 248, .05); transform: translateX(4px); }
html[dir=rtl] .ailink:hover { transform: translateX(-4px); }
.ailink .ico { width: 22px; height: 22px; stroke: var(--cyan); flex: none; }
.ailink b { display: block; font-size: 15.5px; }
.ailink em { display: block; font-style: normal; color: var(--muted); font-size: 13.5px; }
.ailink > svg:last-child { width: 14px; height: 14px; margin-inline-start: auto; color: var(--muted); flex: none; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: block; padding: 28px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(17, 26, 45, .55), rgba(10, 16, 28, .55)); overflow: hidden; transition: transform .4s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(102, 204, 248, .12), transparent 45%); opacity: 0; transition: opacity .3s; }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 196, 255, .75), transparent 60%); -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 .3s; }
.spot:hover .card::before, .spot:hover .card::after { opacity: 1; }
a.card:hover { transform: translateY(-3px); }
.card > * { position: relative; }
.card__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; margin-bottom: 20px; background: color-mix(in srgb, var(--c1) 10%, transparent); border: 1px solid color-mix(in srgb, var(--c1) 30%, transparent); }
.card__ico .ico { width: 22px; height: 22px; stroke: var(--c1); }
.card__tag { display: block; font: 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--c1); margin-bottom: 8px; }
html[lang=ar] .card__tag { font-family: var(--font); letter-spacing: 0; }
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }
.card__n { display: block; font: 13px var(--mono); color: var(--c1); margin-bottom: 18px; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; opacity: .7; transition: opacity .3s, gap .3s; }
.card__more svg { width: 13px; height: 13px; }
a:hover > .card__more { opacity: 1; gap: 10px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.pillar { display: block; padding: 32px; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, color-mix(in srgb, var(--c1) 8%, transparent), rgba(10, 16, 28, .4) 60%); transition: border-color .3s, transform .4s var(--ease); }
.pillar:hover { border-color: color-mix(in srgb, var(--c1) 50%, transparent); transform: translateY(-4px); }
.pillar h3 { font-size: 22px; margin: 22px 0 8px; }
.pillar p { color: var(--muted); }

.psec { padding: 60px 0 110px; }
.psec__head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.psec .window { margin-top: 48px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; }
.feat h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 15px; }

.sgroup { padding: 30px 0 70px; }
.sgroup__head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.sgroup__head h2 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.02em; font-weight: 600; }
.sgroup__line { width: 44px; height: 2px; flex: none; background: linear-gradient(90deg, var(--c1), var(--c2)); box-shadow: 0 0 12px var(--c1); }
.sgroup__n { margin-inline-start: auto; font: 14px var(--mono); color: var(--dim); }
.sgroup .cards { margin-top: 0; }

.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.steps__line { position: absolute; top: 21px; left: 22px; right: 22px; height: 2px; background: var(--line2); }
.steps__line span { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); background: var(--grad); box-shadow: 0 0 16px rgba(102, 204, 248, .7); }
html[dir=rtl] .steps__line span { inset: 0 0 0 auto; }
.step__n { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line2); font: 13px var(--mono); color: var(--muted); margin-bottom: 22px; transition: all .5s var(--ease); }
.step.on .step__n { color: #fff; border-color: var(--cyan); background: #0b1a2e; box-shadow: 0 0 0 5px var(--bg), 0 0 24px rgba(102, 204, 248, .6); }
.step h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.model { padding: 32px; border-radius: 18px; border: 1px solid var(--line); background: rgba(13, 20, 36, .5); }
.model--hi { border-color: rgba(102, 204, 248, .45); background: linear-gradient(180deg, rgba(79, 139, 221, .14), rgba(13, 20, 36, .5)); box-shadow: 0 30px 80px -40px rgba(79, 139, 221, .7); }
.model__n { font: 13px var(--mono); color: var(--cyan); }
.model h3 { font-size: 21px; margin: 14px 0 8px; }
.model p { color: var(--muted); }

.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 56px; border-radius: 24px; border: 1px solid var(--line); background: radial-gradient(600px 300px at 0 0, rgba(79, 139, 221, .14), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(102, 204, 248, .12), transparent 70%), var(--bg2); }
.why .lead { margin-top: 20px; }
.why__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why__list li { padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: rgba(6, 10, 19, .5); }
.why__list b { display: block; font-size: 16px; margin-bottom: 6px; }
.why__list span { color: var(--muted); font-size: 14.5px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 24px; direction: ltr; }
.chips span { font: 14px var(--mono); padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(13, 20, 36, .6); color: #c9d3e3; transition: border-color .3s, color .3s; }
.chips span:hover { border-color: var(--cyan); color: #fff; }

.faq { max-width: 820px; margin: 40px auto 0; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(13, 20, 36, .5); transition: border-color .3s; }
.faq details[open] { border-color: var(--line2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; inset: 6px 0 auto; height: 2px; background: var(--muted); border-radius: 2px; transition: transform .3s; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: none; }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

.prose .h2 { margin-bottom: 20px; }
.prose .lead { max-width: 760px; }
.figure img { width: 100%; border-radius: 18px; border: 1px solid var(--line2); }
.figure figcaption { margin-top: 12px; text-align: center; color: var(--muted); font-size: 14px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; padding-bottom: 120px; }
.form { display: grid; gap: 14px; padding: 28px; border-radius: 18px; border: 1px solid var(--line2); background: rgba(10, 16, 28, .75); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.form :is(input, select, textarea) { width: 100%; border-radius: 10px; border: 1px solid var(--line2); background: #070c16; padding: 12px 14px; font-size: 15px; color: var(--text); outline: none; resize: vertical; transition: border-color .2s, box-shadow .2s; }
.form :is(input, select, textarea):focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(102, 204, 248, .12); }
.form .btn { margin-top: 6px; }
.form__ok { display: none; text-align: center; color: var(--ok); }
.form.sent .form__ok { display: block; }
.cinfo { display: grid; gap: 12px; }
.ci { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(13, 20, 36, .5); }
.ci b { display: block; font-size: 15px; }
.ci :is(a, em) { font-style: normal; color: var(--muted); font-size: 14.5px; }
.ci a:hover { color: #fff; }

/* CTA band */
.ctaband { position: relative; padding: 130px 0; overflow: hidden; border-top: 1px solid var(--line); text-align: center; }
.ctaband__glow { position: absolute; left: 50%; top: 0; width: 900px; height: 500px; transform: translate(-50%, -40%); background: radial-gradient(closest-side, rgba(79, 150, 230, .35), transparent); filter: blur(30px); }
.ctaband__in { position: relative; }
.ctaband__mark { height: 76px; width: auto; margin: 0 auto; filter: drop-shadow(0 0 22px rgba(102, 204, 248, .55)); animation: float 6s ease-in-out infinite; }
.ctaband__title { font-size: clamp(38px, 5.5vw, 72px); letter-spacing: -.045em; line-height: 1.04; font-weight: 650; margin: 24px 0 16px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 28px; background: #04070e; }
.foot__in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 40px; }
.foot .brand img { height: 46px; }
.foot__brand p { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 300px; }
.foot__social { display: flex; gap: 14px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.foot__col { display: grid; gap: 10px; align-content: start; font-size: 14.5px; }
.foot__col h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.foot__col :is(a, span) { color: var(--muted); transition: color .2s; }
.foot__col a:hover, .foot__social a:hover { color: #fff; }
.foot__bar { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.foot__bar .mono { display: flex; align-items: center; gap: 8px; direction: ltr; }
.foot__bar .dot { width: 6px; height: 6px; }

/* ========== 8. Product windows (visuals) ========== */
.window { position: relative; margin-top: 44px; border-radius: 16px; border: 1px solid var(--line2); background: linear-gradient(180deg, rgba(17, 26, 45, .9), rgba(10, 16, 28, .95)); box-shadow: 0 40px 120px -40px rgba(79, 139, 221, .4); overflow: hidden; direction: ltr; text-align: left; }
.window::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--c1), transparent 30%, transparent 70%, var(--c2)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .6; pointer-events: none; }
.window__bar { height: 44px; display: flex; align-items: center; gap: 6px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(6, 10, 19, .5); font-size: 13px; }
.lights { display: flex; gap: 7px; margin-right: 12px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: #2a3346; }
.tab { font: 12.5px var(--mono); color: var(--dim); padding: 6px 12px; border-radius: 6px; }
.tab--on { color: var(--text); background: rgba(255, 255, 255, .06); }
.crumb { font: 12.5px var(--mono); color: var(--muted); }
.crumb b { color: var(--text); font-weight: 500; }
.status { margin-left: auto; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--muted); padding: 4px 10px; border: 1px solid var(--line2); border-radius: 999px; }
.status--ok { color: #bfeccf; border-color: rgba(63, 214, 138, .3); }
.status--ai { color: #c4ecff; border-color: rgba(102, 204, 248, .35); }
.ck { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.caret { display: inline-block; width: 2px; height: 1.2em; background: var(--cyan); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.wires .w { fill: none; stroke: #26324a; stroke-width: 2; transition: stroke .4s; }
.wires .w.on { stroke: var(--cyan); filter: drop-shadow(0 0 4px rgba(102, 204, 248, .8)); }
.pulse { fill: #fff; filter: drop-shadow(0 0 6px var(--cyan)); }
.viz-foot { display: flex; gap: 28px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.viz-foot b { color: #fff; font-family: var(--mono); margin-left: 4px; }

/* AI hub */
.hub { display: grid; grid-template-columns: 1.25fr 1fr; min-height: 440px; }
.hub__map { position: relative; margin: 26px; aspect-ratio: 1; max-height: 420px; justify-self: center; width: calc(100% - 52px); }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub__lines line { stroke: rgba(102, 204, 248, .28); stroke-width: .35; stroke-dasharray: 1.2 1.6; animation: flowIn 1.6s linear infinite; transition: stroke .4s, stroke-width .4s; }
.hub__lines line.ping { stroke: var(--ice); stroke-width: .7; filter: drop-shadow(0 0 1.2px var(--cyan)); }
@keyframes flowIn { to { stroke-dashoffset: -5.6; } }
.hub__app { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 12px; border: 1px solid var(--line2); background: #0c1424; font-size: 12.5px; white-space: nowrap; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .8); transition: border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.hub__app .ico { width: 17px; height: 17px; stroke: var(--cyan); }
.hub__app.ping { border-color: var(--cyan); box-shadow: 0 0 28px -4px rgba(102, 204, 248, .7); transform: translate(-50%, -50%) scale(1.06); }
.core { position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%); display: grid; place-items: center; }
.core__orb { position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e6f7ff 0%, #8fdcff 18%, #4f8bdd 52%, #12305e 100%); box-shadow: 0 0 60px rgba(102, 204, 248, .55), inset 0 -10px 30px rgba(6, 10, 19, .6); animation: breathe 3.2s ease-in-out infinite; }
.core__ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 55%, rgba(143, 220, 255, .9) 75%, transparent 90%); -webkit-mask: radial-gradient(circle, transparent 64%, #000 66%, #000 70%, transparent 72%); mask: radial-gradient(circle, transparent 64%, #000 66%, #000 70%, transparent 72%); animation: spin 4s linear infinite; }
.core__ring--2 { inset: -18%; opacity: .5; animation-duration: 7s; animation-direction: reverse; }
.core b { position: relative; font: 600 clamp(16px, 2vw, 22px) var(--font); letter-spacing: .04em; color: #06213f; }
@keyframes breathe { 50% { transform: scale(1.06); box-shadow: 0 0 90px rgba(102, 204, 248, .75), inset 0 -10px 30px rgba(6, 10, 19, .6); } }
.hub__feed { border-left: 1px solid var(--line); padding: 20px; background: rgba(6, 10, 19, .35); }
.hub__feed h6 { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; margin-bottom: 14px; }
.hub__feed ul { list-style: none; display: grid; gap: 10px; }
.hub__feed li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: 13px; color: #c9d3e3; animation: feedIn .5s var(--ease); }
.hub__feed li:first-child { border-color: rgba(102, 204, 248, .4); background: rgba(102, 204, 248, .06); }
.hub__feed li b { display: block; font-size: 11.5px; color: var(--cyan); font-weight: 500; font-family: var(--mono); margin-bottom: 2px; }
.hub__feed time { font: 11px var(--mono); color: var(--dim); }
.hub__feed .ok { width: 18px; height: 18px; border-radius: 50%; margin-top: 2px; background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%2306213f' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; box-shadow: 0 0 12px rgba(102, 204, 248, .6); }
@keyframes feedIn { from { opacity: 0; transform: translateY(-10px); } }

/* code editor */
.editor { display: grid; grid-template-columns: 44px 1fr 260px; min-height: 380px; font: 14px/1.75 var(--mono); }
.editor__gutter { padding: 22px 10px 22px 0; text-align: right; color: #3d4960; user-select: none; border-right: 1px solid var(--line); }
.editor__code { padding: 22px; white-space: pre; overflow: hidden; color: #c9d3e3; }
.editor__code code { font-family: inherit; }
.tk-k { color: #82b1ff; } .tk-s { color: #a5e3c8; } .tk-c { color: #56627a; font-style: italic; } .tk-f { color: #7cc4ff; } .tk-t { color: #ffcb6b; } .tk-p { color: #89ddff; }
.assist { border-left: 1px solid var(--line); padding: 18px; background: rgba(6, 10, 19, .35); font: 13.5px var(--font); }
.assist__head { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 16px; }
.assist__list { list-style: none; display: grid; gap: 10px; }
.assist__list li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); color: #c9d3e3; opacity: 0; transform: translateX(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.assist__list li.on { opacity: 1; transform: none; }

/* pipeline */
.pipe { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 380px; }
.pipe__graph { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr; align-items: center; gap: 14px 26px; padding: 34px 26px; border-right: 1px solid var(--line); }
.job { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel); font-size: 12.5px; transition: border-color .4s, box-shadow .4s; }
.job:nth-child(1) { grid-area: 1 / 1 / 3; } .job:nth-child(2) { grid-area: 1 / 2; } .job:nth-child(3) { grid-area: 2 / 2; } .job:nth-child(4) { grid-area: 1 / 3 / 3; } .job:nth-child(5) { grid-area: 1 / 4 / 3; }
.job__name { flex: 1; line-height: 1.3; }
.job__t { font: 11px var(--mono); color: var(--dim); }
.job__ico { position: relative; width: 16px; height: 16px; flex: none; border-radius: 50%; border: 1.5px solid #3a4660; }
.job.run { border-color: rgba(245, 185, 74, .55); box-shadow: 0 0 24px -6px rgba(245, 185, 74, .5); }
.job.run .job__ico { border-color: var(--run); border-top-color: transparent; animation: spin .8s linear infinite; }
.job.ok { border-color: rgba(63, 214, 138, .4); }
.job.ok .job__ico { border: 0; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23062014' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.term { height: 380px; padding: 20px 22px; overflow: hidden; background: rgba(3, 6, 12, .4); font: 12.5px/1.85 var(--mono); color: #9aa7bd; }
.term div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: fadeIn .35s var(--ease); }
.term .g { color: var(--ok); } .term .c { color: var(--cyan); } .term .y { color: var(--run); } .term .w { color: #fff; }

/* dashboard */
.dash { padding: 22px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpi { padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.kpi > span { display: block; color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.kpi b { font-size: 28px; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.kpi .hl { color: var(--cyan); }
.chart { display: grid; grid-template-columns: 1fr 240px; gap: 12px; margin-top: 14px; }
.chart > svg { width: 100%; height: 220px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.chart .grid line { stroke: rgba(150, 180, 255, .08); stroke-dasharray: 3 5; }
.checks { display: grid; gap: 8px; align-content: start; }
.checks div { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; color: #c9d3e3; }

/* n8n flow */
.flow { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 34px; padding: 56px 32px; min-height: 300px; align-items: center; background-image: radial-gradient(rgba(150, 180, 255, .12) 1px, transparent 1px); background-size: 22px 22px; }
.node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; border-radius: 14px; border: 1px solid var(--line2); background: var(--panel); transition: border-color .4s, box-shadow .4s; }
.node:nth-child(odd) { transform: translateY(-30px); } .node:nth-child(even) { transform: translateY(40px); }
.node__ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; margin-bottom: 8px; background: rgba(79, 139, 221, .14); }
.node__ico .ico { width: 19px; height: 19px; stroke: var(--blue2); }
.node--trigger .node__ico .ico { stroke: var(--ice); }
.node--ai .node__ico { background: rgba(102, 204, 248, .16); } .node--ai .node__ico .ico { stroke: var(--cyan); }
.node b { font-size: 14px; } .node em { font-style: normal; font-size: 12px; color: var(--muted); }
.node__ok { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--cyan); display: grid; place-items: center; opacity: 0; transform: scale(.4); transition: all .35s var(--ease); }
.node__ok .ck { width: 11px; height: 11px; stroke: #06213f; stroke-width: 2.6; }
.node.run { border-color: rgba(245, 185, 74, .6); box-shadow: 0 0 30px -6px rgba(245, 185, 74, .6); }
.node.on { border-color: rgba(102, 204, 248, .55); box-shadow: 0 0 30px -10px rgba(102, 204, 248, .7); }
.node.on .node__ok { opacity: 1; transform: none; }

/* browser */
.url { margin-left: 12px; flex: 1; max-width: 420px; padding: 4px 14px; border-radius: 8px; background: rgba(255, 255, 255, .04); font: 12.5px var(--mono); color: var(--muted); }
.bro { display: grid; grid-template-columns: 1fr 240px; min-height: 420px; }
.site { display: grid; gap: 16px; align-content: start; padding: 22px; background: #0a0f1b; }
.bk { opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.bk.in { opacity: 1; transform: none; }
.bk--nav { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 10px; background: rgba(255, 255, 255, .03); }
.bk--nav i { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.bk--nav span { width: 56px; height: 8px; border-radius: 4px; background: #2a3550; }
.bk--nav em { margin-left: auto; width: 80px; height: 26px; border-radius: 7px; background: #fff; }
.bk--hero { display: grid; gap: 10px; justify-items: center; padding: 26px 0 10px; }
.bk--hero span { height: 16px; border-radius: 6px; background: #e8eef8; }
.bk--hero .l1 { width: 60%; height: 22px; } .bk--hero .l2 { width: 44%; height: 22px; background: var(--grad); } .bk--hero .l3 { width: 52%; height: 9px; margin-top: 6px; background: #3a4660; }
.bk--hero em { width: 120px; height: 32px; margin-top: 10px; border-radius: 8px; background: var(--btn); }
.bk--img { height: 110px; border-radius: 12px; background: radial-gradient(circle at 30% 40%, rgba(102, 204, 248, .5), transparent 50%), radial-gradient(circle at 70% 60%, rgba(79, 139, 221, .55), transparent 50%), #111a2d; }
.bk--cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bk--cards i { height: 64px; border-radius: 10px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .02); }
.lh { display: grid; gap: 14px; align-content: start; padding: 20px; border-left: 1px solid var(--line); }
.lh h6 { font-size: 13px; color: var(--muted); font-weight: 500; }
.lh__row { position: relative; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; align-items: center; }
.lh__row svg { width: 44px; height: 44px; transform: rotate(-90deg); }
.lh__row circle { fill: none; stroke: #1d2740; stroke-width: 3; }
.lh__row .arc { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 97.4; stroke-dashoffset: 97.4; transition: stroke-dashoffset 1.6s var(--ease); }
.scored .lh__row .arc { stroke-dashoffset: calc(97.4 - 97.4 * var(--v) / 100); }
.lh__row b { position: absolute; left: 0; top: 50%; width: 44px; transform: translateY(-50%); text-align: center; font-size: 13px; color: var(--ok); }
.lh__row span { font-size: 13.5px; color: #c9d3e3; }

/* phone */
.stage { position: relative; height: 620px; display: grid; place-items: center; direction: ltr; }
.phone { position: relative; width: 290px; height: 590px; padding: 12px; border-radius: 46px; background: linear-gradient(145deg, #2a3346, #0c111c); box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 50px 120px -30px rgba(79, 139, 221, .55), inset 0 0 0 2px rgba(255, 255, 255, .05); }
.phone__notch { position: absolute; top: 22px; left: 50%; z-index: 3; width: 92px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); }
.app { position: relative; height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 62px 18px 18px; border-radius: 36px; overflow: hidden; background: linear-gradient(180deg, #0e1628, #070b14); }
.app__top { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; }
.app__top i { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan), var(--blue)); }
.app__card { display: grid; gap: 2px; padding: 18px; border-radius: 18px; background: linear-gradient(135deg, #4f8bdd, #2f66c4); animation: pop 6s infinite; }
.app__card span { font-size: 12px; opacity: .8; } .app__card b { font-size: 26px; letter-spacing: -.02em; } .app__card em { font-style: normal; font-size: 12px; color: #d4f3ff; }
.app__row { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); font-size: 13px; animation: rowIn 6s infinite both; }
.app__row:nth-of-type(4) { animation-delay: .15s; } .app__row:nth-of-type(5) { animation-delay: .3s; }
.app__row i { width: 34px; height: 34px; flex: none; border-radius: 10px; background: rgba(102, 204, 248, .15); }
.app__row b { display: block; font-size: 13px; } .app__row em { font-style: normal; color: var(--muted); font-size: 11.5px; } .app__row strong { margin-left: auto; font-size: 13px; }
.app__tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .05); }
.app__tabbar i { width: 22px; height: 22px; border-radius: 7px; background: #2a3550; } .app__tabbar i.on { background: var(--cyan); }
.app__toast { position: absolute; left: 12px; right: 12px; top: 54px; display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line2); background: rgba(20, 28, 46, .92); backdrop-filter: blur(10px); font-size: 12.5px; animation: toast 6s infinite; }
.app__toast b { display: block; } .app__toast em { font-style: normal; color: var(--muted); font-size: 11.5px; }
@keyframes toast { 0%, 40% { transform: translateY(-120px); opacity: 0; } 48%, 80% { transform: none; opacity: 1; } 90%, 100% { transform: translateY(-120px); opacity: 0; } }
@keyframes rowIn { 0% { opacity: 0; transform: translateX(30px); } 10%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.94); } 8%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.float { position: absolute; z-index: 2; display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(11, 17, 30, .85); backdrop-filter: blur(10px); font-size: 13px; animation: float 6s ease-in-out infinite; }
.float b { font-size: 18px; } .float span { color: var(--muted); }
.float--a { left: calc(50% - 330px); top: 120px; flex-direction: column; align-items: flex-start; gap: 2px; }
.float--b { right: calc(50% - 360px); bottom: 140px; animation-delay: -3s; }

/* design */
.dsg { display: grid; grid-template-columns: 170px 1fr 200px; min-height: 420px; font-size: 13px; }
.dsg h6 { margin: 4px 0 10px; font-size: 11.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; font-weight: 500; }
.dsg__layers { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-right: 1px solid var(--line); }
.dsg__layers span { padding: 6px 10px; border-radius: 6px; color: #c9d3e3; }
.dsg__layers span:nth-child(3) { background: rgba(102, 204, 248, .12); color: #fff; }
.dsg__canvas { position: relative; display: grid; place-items: center; padding: 24px; background-image: radial-gradient(rgba(150, 180, 255, .1) 1px, transparent 1px); background-size: 18px 18px; }
.art { position: relative; width: 100%; max-width: 440px; aspect-ratio: 4 / 3.2; border-radius: 10px; overflow: hidden; background: #f4f6fb; transition: background .8s; }
.d { position: absolute; border: 1.5px dashed #9aa6bb; border-radius: 6px; transition: all .8s var(--ease); }
.d--nav { inset: 4% 4% auto; height: 8%; } .d--h1 { left: 20%; right: 20%; top: 20%; height: 8%; } .d--h2 { left: 28%; right: 28%; top: 31%; height: 5%; }
.d--btn { left: 40%; right: 40%; top: 41%; height: 7%; border-radius: 20px; } .d--img { left: 6%; right: 6%; top: 53%; height: 18%; }
.d--c1, .d--c2, .d--c3 { top: 76%; width: 27%; height: 18%; } .d--c1 { left: 6%; } .d--c2 { left: 36.5%; } .d--c3 { right: 6%; }
.styled .art { background: #0b1220; }
.styled .d { border-color: transparent; }
.styled .d--nav { background: rgba(255, 255, 255, .06); } .styled .d--h1 { background: #e8eef8; } .styled .d--h2 { background: var(--grad); }
.styled .d--btn { background: var(--btn); box-shadow: 0 8px 20px -6px rgba(79, 150, 230, .8); }
.styled .d--img { background: radial-gradient(circle at 30% 50%, rgba(102, 204, 248, .6), transparent 55%), radial-gradient(circle at 75% 50%, rgba(79, 139, 221, .6), transparent 55%), #111a2d; }
.styled :is(.d--c1, .d--c2, .d--c3) { background: #141f35; box-shadow: inset 0 0 0 1px rgba(150, 180, 255, .15); }
.cursor { position: absolute; left: 30%; top: 40%; width: 22px; height: 22px; fill: #fff; stroke: #0b1220; stroke-width: 1.2; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .5)); animation: cur 5.2s ease-in-out infinite; }
@keyframes cur { 0%, 100% { left: 30%; top: 40%; } 25% { left: 58%; top: 30%; } 50% { left: 52%; top: 52%; } 75% { left: 36%; top: 78%; } }
.dsg__insp { padding: 16px; border-left: 1px solid var(--line); }
.sw { display: flex; gap: 8px; margin-bottom: 18px; } .sw i { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line2); }
.ty { margin-bottom: 18px; font-size: 22px; color: #c9d3e3; } .ty span { display: block; font-size: 12px; color: var(--muted); } .ty--mono { font: 13px var(--mono); }

/* schema */
.sch { padding: 20px; }
.sch__q { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line2); background: #070c16; font: 13px var(--mono); color: #c9d3e3; white-space: nowrap; overflow: hidden; }
.sch__p { color: var(--cyan); }
.sch__res { margin-left: auto; padding-left: 14px; flex: none; font-style: normal; color: var(--cyan); opacity: 0; transition: opacity .4s; }
.done .sch__res { opacity: 1; }
.sch__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; padding: 40px 10px 20px; }
.tbl { position: relative; z-index: 1; overflow: hidden; border-radius: 12px; border: 1px solid var(--line2); background: var(--panel); font: 12.5px var(--mono); transition: border-color .5s, box-shadow .5s; }
.tbl:nth-child(2) { transform: translateY(30px); }
.tbl h6 { padding: 10px 14px; font-size: 13px; font-weight: 500; color: #fff; background: rgba(102, 204, 248, .1); border-bottom: 1px solid var(--line2); }
.tbl div { display: flex; justify-content: space-between; padding: 8px 14px; border-bottom: 1px solid var(--line); }
.tbl div:last-child { border: 0; } .tbl em { font-style: normal; color: var(--muted); }
.done .tbl:nth-child(-n+2) { border-color: rgba(102, 204, 248, .5); box-shadow: 0 0 30px -10px rgba(102, 204, 248, .7); }
.done .wires .w:first-child { stroke: var(--cyan); filter: drop-shadow(0 0 4px rgba(102, 204, 248, .8)); }

/* ========== 9. Reveal ========== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.window.reveal { transform: translateY(40px) scale(.98); }
.window.reveal.in { transform: none; }

/* ========== 10. Responsive ========== */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .is-open .nav__links { display: flex; position: absolute; top: 68px; inset-inline: 0; flex-direction: column; align-items: stretch; padding: 12px 24px 24px; background: rgba(6, 10, 19, .97); border-bottom: 1px solid var(--line); }
  .is-open .nav__links > a, .is-open .has-mega > a { padding: 12px 0; font-size: 17px; background: none; }
  .mega, .chev { display: none; }
  .burger { display: flex; }
  .aisec, .contact-grid, .why { grid-template-columns: 1fr; }
  .why { padding: 36px; }
  .pillars, .models { grid-template-columns: 1fr; }
  .cards--4 { grid-template-columns: 1fr 1fr; }
  .chip--c { display: none; }
  .editor { grid-template-columns: 40px 1fr; } .assist { display: none; }
  .pipe, .hub, .bro, .dsg, .chart { grid-template-columns: 1fr; }
  .pipe__graph { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--line); }
  .term { height: 260px; }
  .hub__feed, .lh { border-left: 0; border-top: 1px solid var(--line); }
  .lh { grid-template-columns: 1fr 1fr; }
  .dsg__layers, .dsg__insp { display: none; }
  .flow { grid-template-columns: repeat(3, 1fr); row-gap: 60px; }
  .float--a { left: 4%; } .float--b { right: 4%; }
  .foot__in { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 32px); }
  .nav__cta .btn--light { display: none; }
  .hero { padding-top: 120px; }
  .phero { padding: 130px 0 60px; }
  .section { padding: 70px 0; }
  .hero__form { flex-direction: column; }
  .globe { width: 170vw; margin-bottom: -60%; }
  .chip--a { left: 24%; top: 4%; } .chip--b { display: none; }
  .cards, .cards--2, .cards--4, .feats, .why__list, .form__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps__line { top: 22px; bottom: 22px; left: 21px; right: auto; width: 2px; height: auto; }
  .steps__line span { width: 2px; height: var(--p, 0%); }
  html[dir=rtl] .steps__line { left: auto; right: 21px; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 18px; }
  .step__n { grid-row: 1 / 3; margin: 0; }
  .editor { font-size: 11.5px; min-height: 300px; } .editor__code { padding: 16px 12px; }
  .pipe__graph { grid-template-columns: 1fr 1fr; grid-template-rows: auto; padding: 20px 16px; }
  .job:nth-child(n) { grid-area: auto; }
  .kpis { grid-template-columns: 1fr 1fr; } .kpi b { font-size: 22px; }
  .flow { grid-template-columns: 1fr 1fr; gap: 16px; padding: 30px 16px; }
  .node:nth-child(n) { transform: none; }
  .wires { display: none; }
  .sch__grid { grid-template-columns: 1fr; gap: 14px; } .tbl:nth-child(2) { transform: none; }
  .hub__app { padding: 7px 9px; font-size: 11px; } .hub__app .ico { width: 14px; height: 14px; }
  .stage { height: 600px; } .float { display: none; }
  .foot__in { grid-template-columns: 1fr 1fr; } .foot__brand { grid-column: 1 / -1; }
  .foot__bar { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.form__err { display: none; text-align: center; color: #ff8a8a; }
.form.failed .form__err { display: block; }

