/* =========================================================
   CORLOGS — Logs · Data · Intelligence
   Design tokens → base → components → sections → responsive
   ========================================================= */

:root {
  /* Brand (from logo) */
  --cyan: #00D4FF;
  --blue: #0A6CFF;
  --violet: #6A2BFF;
  --navy: #0A1733;
  --grad: linear-gradient(120deg, var(--cyan) 0%, var(--blue) 48%, var(--violet) 100%);
  --grad-soft: linear-gradient(120deg, rgba(0, 212, 255, .16), rgba(10, 108, 255, .12) 50%, rgba(106, 43, 255, .16));

  /* Surfaces */
  --bg: #04060F;
  --bg-2: #070B1A;
  --surface: rgba(255, 255, 255, .03);
  --surface-2: rgba(255, 255, 255, .055);
  --border: rgba(148, 170, 255, .08);
  --border-strong: rgba(148, 170, 255, .15);

  /* Text */
  --text: #EAF0FF;
  --muted: #97A3C4;
  --dim: #6B7699;

  /* Status */
  --ok: #3DDC97;
  --warn: #FFB547;
  --err: #FF5C7A;

  /* Type */
  --f-display: "Sora", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --f-body: "Inter", "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --f-brand: "Michroma", "Sora", sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 20px;
  --radius-lg: 28px;
  --nav-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in: cubic-bezier(.55, 0, 1, .45);
  --dur: 240ms;

  /* Z */
  --z-nav: 100;
  --z-menu: 90;
  --z-top: 80;

  color-scheme: dark;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: rgba(10, 108, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--f-mono); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.t-dim { color: var(--dim); }
.t-cyan { color: var(--cyan); }
.t-ok { color: var(--ok); }
.t-warn { color: var(--warn); }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 10px 16px; border-radius: 10px;
  background: var(--blue); color: #fff; font-weight: 600;
  transform: translateY(-160%); transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: none; }

/* Global noise overlay for depth */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: calc(var(--z-nav) + 1); pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn {
  --h: 44px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 20px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  touch-action: manipulation;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--dur) var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.97); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 54px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }

.btn--primary {
  color: #fff;
  background: var(--grad);
  background-size: 160% 100%;
  box-shadow: 0 8px 30px -8px rgba(10, 108, 255, .65), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .35) 50%, transparent 80%);
  background-size: 250% 100%; background-position: 150% 0;
  transition: background-position 700ms var(--ease);
}
.btn--primary:hover { box-shadow: 0 14px 40px -8px rgba(10, 108, 255, .85), 0 0 0 1px rgba(0, 212, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .3); transform: translateY(-1px); }
.btn--primary:hover::before { background-position: -50% 0; }

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(0, 212, 255, .45); transform: translateY(-1px); }

/* ---------- Pills / eyebrows ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--muted);
  background: rgba(10, 108, 255, .08);
  border: 1px solid rgba(0, 212, 255, .22);
}
.pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.pill__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--cyan); animation: ping 2s var(--ease) infinite; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow span {
  display: inline-grid; place-items: center; min-width: 34px; height: 24px; padding: 0 8px;
  border-radius: 6px; border: 1px solid rgba(0, 212, 255, .3);
  color: var(--cyan); font-size: 12px; letter-spacing: .06em;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: var(--z-nav);
  height: var(--nav-h);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), height var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(4, 6, 15, .72);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--border);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark { width: 37px; height: 38px; transition: transform 600ms var(--ease); }
.brand:hover .brand__mark { transform: rotate(-20deg) scale(1.05); }
.brand__word { font-family: var(--f-brand); font-size: 17px; letter-spacing: .2em; line-height: 1; }

.nav__links { display: flex; gap: clamp(8px, 1.6vw, 28px); }
.nav__links a {
  position: relative; padding: 10px 4px;
  font-size: 15px; font-weight: 500; color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.nav__links a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); opacity: 0; transform: scale(0); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { opacity: 1; transform: none; }

.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle { display: none; position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); background: rgba(255, 255, 255, .04); }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: transform var(--dur) var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: var(--z-menu);
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: 32px var(--gutter) 40px;
  background: rgba(4, 6, 15, .96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  animation: menuIn 320ms var(--ease);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--border);
  font-family: var(--f-display); font-size: clamp(28px, 8vw, 40px); font-weight: 600; letter-spacing: -.02em;
}
.mobile-menu nav a em { font-style: normal; font-family: var(--f-mono); font-size: 13px; color: var(--cyan); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 96px;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; }
.hero__aurora { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; will-change: transform; }
.hero__aurora i:nth-child(1) { width: 620px; height: 620px; top: -220px; right: -120px; background: radial-gradient(circle, rgba(10, 108, 255, .9), transparent 65%); animation: drift 18s ease-in-out infinite; }
.hero__aurora i:nth-child(2) { width: 520px; height: 520px; bottom: -220px; left: -160px; background: radial-gradient(circle, rgba(106, 43, 255, .75), transparent 65%); animation: drift 22s ease-in-out infinite reverse; }
.hero__aurora i:nth-child(3) { width: 380px; height: 380px; top: 30%; left: 42%; background: radial-gradient(circle, rgba(0, 212, 255, .45), transparent 65%); animation: drift 26s ease-in-out infinite; }
.hero__grid {
  position: absolute; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(148, 170, 255, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 170, 255, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 45%, #000 20%, transparent 75%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 200px; background: linear-gradient(transparent, var(--bg)); z-index: -1; pointer-events: none; }

.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 48px; }
.hero__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }

.hero__title {
  font-family: var(--f-display);
  font-size: clamp(40px, 5.6vw, 74px);
  font-weight: 700; line-height: 1.02; letter-spacing: -.045em;
}
.rotator { position: relative; display: inline-grid; vertical-align: bottom; }
.rotator__word {
  grid-area: 1 / 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
  opacity: 0; transform: translateY(.45em); filter: blur(8px);
  transition: opacity 500ms var(--ease), transform 600ms var(--ease), filter 500ms var(--ease);
}
.rotator__word.is-active { opacity: 1; transform: none; filter: none; }
.rotator__word.is-leaving { opacity: 0; transform: translateY(-.45em); filter: blur(8px); transition-duration: 320ms; }

.hero__lead { max-width: 500px; font-size: clamp(18px, 1.45vw, 20px); color: var(--muted); line-height: 1.7; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stats { display: flex; gap: clamp(32px, 4vw, 56px); padding-top: 16px; border-top: 1px solid var(--border); width: 100%; max-width: 520px; }
.hero__stats > div { display: flex; flex-direction: column-reverse; gap: 2px; padding-top: 18px; }
.hero__stats dt { white-space: nowrap; font-size: 12.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .12em; font-family: var(--f-mono); }
.hero__stats dd { font-family: var(--f-display); font-size: 30px; font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* Hero visual — logo orb */
.hero__visual { position: relative; display: grid; place-items: center; perspective: 1200px; }
.orb {
  position: relative; width: min(520px, 100%); aspect-ratio: 1;
  transform-style: preserve-3d;
  transition: transform 400ms var(--ease);
}
.orb__glow { position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(circle, rgba(10, 108, 255, .55), rgba(106, 43, 255, .25) 50%, transparent 70%); filter: blur(40px); animation: breathe 6s ease-in-out infinite; }
.orb__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ring { fill: none; stroke: url(#ringGrad); transform-origin: 250px 250px; }
.ring--1 { stroke-width: 1; stroke-dasharray: 2 10; opacity: .6; animation: spin 60s linear infinite; }
.ring--2 { stroke-width: 1.5; stroke-dasharray: 180 40 60 40; opacity: .45; animation: spin 36s linear infinite reverse; }
.ring--3 { stroke-width: 1; opacity: .25; }

.orbit { position: absolute; inset: var(--i); border-radius: 50%; animation: spin var(--t) linear infinite; }
.orbit span { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--c); box-shadow: 0 0 16px 2px var(--c); }
.orbit--a { --i: 2%; --t: 14s; --c: var(--cyan); }
.orbit--b { --i: 9%; --t: 20s; --c: var(--violet); animation-direction: reverse; }
.orbit--c { --i: 16%; --t: 11s; --c: var(--blue); }
.orbit--c span { width: 7px; height: 7px; margin-left: -3.5px; top: -3.5px; }

.orb__logo {
  position: absolute; inset: 27%; width: 46%; height: auto;
  filter: drop-shadow(0 20px 50px rgba(10, 108, 255, .55));
  transform: translateZ(60px);
  animation: float 7s ease-in-out infinite;
}

.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 16px;
  background: rgba(12, 18, 40, .62);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px) saturate(150%); -webkit-backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
  font-size: 14px; white-space: nowrap;
  transform: translateZ(90px);
}
.float-card strong { display: block; font-weight: 600; font-size: 14px; }
.float-card small { display: block; color: var(--muted); font-size: 12px; }
.float-card__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; flex: none; }
.float-card__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.float-card__icon--ok { color: var(--ok); background: rgba(61, 220, 151, .12); }
.float-card__icon--warn { color: var(--cyan); background: rgba(0, 212, 255, .12); }
.float-card--a { top: 10%; left: -6%; animation: float 8s ease-in-out infinite; }
.float-card--b { bottom: 16%; right: -8%; animation: float 9s ease-in-out -3s infinite; }
.float-card--c { bottom: 2%; left: 4%; display: block; font-size: 12.5px; line-height: 1.7; color: var(--muted); animation: float 10s ease-in-out -5s infinite; }

.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px; border: 1.5px solid var(--border-strong); }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: scrollDot 2s var(--ease) infinite; }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 26px 0;
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(0, 212, 255, .03), rgba(106, 43, 255, .03));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__row { display: flex; flex: none; }
.marquee__row li {
  display: flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--f-display); font-size: clamp(18px, 2vw, 24px); font-weight: 500; letter-spacing: -.01em;
  color: var(--muted); white-space: nowrap;
}
.marquee__row li::after { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(104px, 13vw, 176px) 0; }
.section--tight { padding: clamp(40px, 6vw, 80px) 0; }
.section__head { max-width: 760px; display: flex; flex-direction: column; gap: 24px; margin-bottom: clamp(56px, 7vw, 88px); }
.section__head--center { margin-inline: auto; text-align: center; align-items: center; }
.section__title {
  font-family: var(--f-display);
  font-size: clamp(34px, 4.4vw, 58px);
  font-weight: 700; line-height: 1.1; letter-spacing: -.04em;
}
.section__lead { font-size: 18.5px; color: var(--muted); max-width: 580px; line-height: 1.75; }

/* ---------- Spotlight surfaces (mouse-follow glow + gradient border) ---------- */
[data-spotlight] { --mx: 50%; --my: 50%; position: relative; isolation: isolate; overflow: hidden; }
[data-spotlight]::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(500px circle at var(--mx) var(--my), rgba(10, 108, 255, .16), transparent 45%);
  opacity: 0; transition: opacity 400ms var(--ease);
}
[data-spotlight]::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(0, 212, 255, .8), rgba(106, 43, 255, .5) 40%, transparent 70%);
  -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 400ms var(--ease);
}
[data-spotlight]:hover::before, [data-spotlight]:hover::after { opacity: 1; }

/* ---------- Pain → solution ---------- */
.pains { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pain {
  display: flex; flex-direction: column;
  padding: clamp(28px, 3.4vw, 44px);
  border-radius: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012) 60%);
  border: 1px solid var(--border);
  transition: transform 400ms var(--ease);
}
.pain:hover { transform: translateY(-4px); }
.pain__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.pain__icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  color: var(--cyan); background: var(--grad-soft);
  border: 1px solid rgba(0, 212, 255, .25);
  box-shadow: 0 10px 30px -12px rgba(10, 108, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.pain__icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pain__num { font-family: var(--f-display); font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(148, 170, 255, .25); }
.pain__label { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.pain h3 { font-family: var(--f-display); font-size: clamp(22px, 2.1vw, 28px); font-weight: 700; letter-spacing: -.025em; line-height: 1.2; margin-bottom: 14px; }
.pain__text { color: var(--muted); font-size: 17px; line-height: 1.75; max-width: 54ch; margin-bottom: 28px; }
.pain__fix {
  margin-top: auto;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 20px 24px 14px; border-radius: 18px;
  background: linear-gradient(120deg, rgba(0, 212, 255, .08), rgba(106, 43, 255, .08));
  border: 1px solid rgba(0, 212, 255, .22);
}
.pain__fix p { font-size: 15.5px; line-height: 1.6; color: #D5DDF5; }
.pain__fixlabel { display: block; margin-bottom: 4px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.pain__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 600; color: var(--cyan); white-space: nowrap; }
.pain__link span { transition: transform var(--dur) var(--ease); }
.pain__link:hover span { transform: translateX(4px); }

/* ---------- Services tabs ---------- */
.section--services::before { content: ""; position: absolute; inset: 15% 0 auto; height: 70%; z-index: -1; background: radial-gradient(ellipse 60% 50% at 50% 50%, rgba(10, 108, 255, .1), transparent 70%); }
.svc { border-radius: 32px; padding: 12px; background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .012)); border: 1px solid var(--border); }
.svc__tabs {
  display: flex; gap: 6px; padding: 6px; border-radius: 24px;
  background: rgba(4, 6, 15, .6); border: 1px solid var(--border);
  overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity;
}
.svc__tabs::-webkit-scrollbar { display: none; }
.svc__tab {
  flex: 1 0 auto; scroll-snap-align: start;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 18px; border-radius: 18px;
  font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.svc__tab svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.svc__tab:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.svc__tab.is-active { color: #fff; background: var(--grad); box-shadow: 0 8px 24px -8px rgba(10, 108, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .25); }
.svc__tab--ai:not(.is-active) { color: #C9B8FF; }
@media (min-width: 1025px) {
  .svc__tabs { display: grid; grid-template-columns: repeat(4, 1fr); overflow: visible; }
}

.svc__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(40px, 5vw, 72px); align-items: center; padding: clamp(32px, 5vw, 72px) clamp(24px, 4.5vw, 64px); }
.svc__panel[hidden] { display: none; }
.svc__panel.is-active .svc__text > * { animation: panelIn 520ms var(--ease) both; }
.svc__panel.is-active .svc__text > :nth-child(2) { animation-delay: 50ms; }
.svc__panel.is-active .svc__text > :nth-child(3) { animation-delay: 100ms; }
.svc__panel.is-active .svc__text > :nth-child(4) { animation-delay: 150ms; }
.svc__panel.is-active .svc__text > :nth-child(5) { animation-delay: 200ms; }
.svc__panel.is-active .svc__text > :nth-child(6) { animation-delay: 250ms; }
.svc__panel.is-active .viz { animation: vizIn 700ms var(--ease) both; }
.svc__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; max-width: 500px; }
.svc__kicker { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.svc__text h3 { font-family: var(--f-display); font-size: clamp(28px, 2.8vw, 38px); font-weight: 700; line-height: 1.15; letter-spacing: -.035em; }
.svc__text > p { color: var(--muted); font-size: 17.5px; line-height: 1.75; }
.svc__text strong { color: var(--text); font-weight: 600; }
.svc__list { display: grid; gap: 14px; padding: 4px 0; }
.svc__list li { position: relative; padding-left: 34px; font-size: 16px; line-height: 1.55; color: #D5DDF5; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: rgba(61, 220, 151, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233DDC97' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.svc__kpis { display: flex; gap: 12px; flex-wrap: wrap; }
.svc__kpis div { display: flex; flex-direction: column; padding: 12px 18px; border-radius: 16px; background: rgba(255, 255, 255, .035); border: 1px solid var(--border); }
.svc__kpis strong { font-family: var(--f-display); font-size: 26px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.svc__kpis span { font-size: 13px; color: var(--muted); }

/* Visual card base */
.viz {
  position: relative; margin: 0;
  padding: 28px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(13, 19, 42, .9), rgba(7, 11, 26, .95));
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 90px -40px rgba(10, 108, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.viz__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; font-size: 13px; color: var(--muted); font-weight: 500; }
.viz__head em { font-style: normal; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; color: var(--dim); border: 1px solid var(--border); }
.viz__head em.is-live { color: var(--ok); border-color: rgba(61, 220, 151, .3); }
.viz__head em.is-live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); vertical-align: 1px; animation: blink 1.4s ease-in-out infinite; }
.viz--split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; align-items: center; }

/* 1 · cost bars + agents */
.cost { position: relative; display: flex; align-items: flex-end; gap: 22px; height: 230px; padding: 0 8px; border-bottom: 1px solid var(--border); }
.cost__col { flex: 1; max-width: 120px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 10px; padding-bottom: 10px; }
.cost__col span { font-size: 12.5px; color: var(--muted); text-align: center; }
.cost__bar { position: relative; width: 100%; height: calc(var(--v) * 78%); border-radius: 14px 14px 6px 6px; background: linear-gradient(180deg, var(--cyan), var(--blue) 55%, var(--violet)); box-shadow: 0 0 30px -6px rgba(0, 212, 255, .6); transform-origin: bottom; }
.cost__bar--old { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .1) 0 8px, rgba(255, 255, 255, .05) 8px 16px); box-shadow: none; border: 1px solid var(--border-strong); }
.cost__bar b { position: absolute; top: 10px; left: 0; right: 0; text-align: center; font-family: var(--f-mono); font-size: 13px; font-weight: 500; }
.svc__panel.is-active .cost__bar { animation: growY 900ms var(--ease) both 200ms; }
.cost__badge { margin-left: auto; align-self: center; display: flex; flex-direction: column; align-items: center; padding: 16px 20px; border-radius: 20px; background: rgba(61, 220, 151, .08); border: 1px solid rgba(61, 220, 151, .3); }
.cost__badge strong { font-family: var(--f-display); font-size: 40px; font-weight: 800; letter-spacing: -.04em; color: var(--ok); line-height: 1; }
.cost__badge small { font-size: 12px; color: var(--muted); margin-top: 4px; }
.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.agent { position: relative; padding: 12px 12px 12px 30px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); }
.agent i { position: absolute; left: 12px; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 1.6s ease-in-out infinite; }
.agent:nth-child(2) i { animation-delay: -.5s; }
.agent:nth-child(3) i { animation-delay: -1s; }
.agent span { display: block; font-size: 13px; font-weight: 600; }
.agent small { display: block; font-size: 11.5px; color: var(--dim); }

/* 2 · workflow diagram */
.flow { width: 100%; height: auto; overflow: visible; }
.flow__lines path { fill: none; stroke: rgba(0, 212, 255, .55); stroke-width: 1.6; stroke-dasharray: 5 7; animation: dashFlow 1.2s linear infinite; }
.flow__nodes rect { fill: rgba(255, 255, 255, .04); stroke: var(--border-strong); }
.flow__nodes--out rect { fill: rgba(61, 220, 151, .08); stroke: rgba(61, 220, 151, .35); }
.flow__nodes text { fill: #C9D3F0; font-family: var(--f-body); font-size: 12.5px; font-weight: 500; text-anchor: middle; }
.flow__nodes--out text { fill: #9FF0C9; }
.flow__nodes--in rect { stroke-dasharray: 4 4; }
.flow__hub { fill: rgba(10, 108, 255, .2); stroke: url(#ringGrad); stroke: var(--cyan); stroke-width: 1.5; filter: drop-shadow(0 0 14px rgba(0, 212, 255, .6)); }
.compare { display: grid; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.compare__row { display: grid; grid-template-columns: 110px 1fr 60px; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.compare__row b { font-family: var(--f-mono); font-weight: 500; color: var(--text); text-align: right; }
.compare__bar { height: 10px; border-radius: 6px; width: calc(var(--v) * 100%); min-width: 10px; background: var(--grad); box-shadow: 0 0 14px rgba(0, 212, 255, .5); transform-origin: left; }
.compare__bar--old { background: rgba(255, 92, 122, .55); box-shadow: none; }
.svc__panel.is-active .compare__bar { animation: growX 900ms var(--ease) both 250ms; }

/* 3 · funnel + seo */
.funnel { display: grid; gap: 8px; justify-items: center; }
.funnel__row {
  width: var(--w); display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 13px 18px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(0, 212, 255, .22), rgba(10, 108, 255, .28), rgba(106, 43, 255, .28));
  border: 1px solid rgba(0, 212, 255, .25);
  font-size: 13.5px; color: #D5DDF5;
}
.funnel__row:last-child { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px rgba(10, 108, 255, .8); }
.funnel__row b { font-family: var(--f-mono); font-weight: 500; }
.svc__panel.is-active .funnel__row { animation: growX 700ms var(--ease) both; transform-origin: center; }
.svc__panel.is-active .funnel__row:nth-child(2) { animation-delay: 80ms; }
.svc__panel.is-active .funnel__row:nth-child(3) { animation-delay: 160ms; }
.svc__panel.is-active .funnel__row:nth-child(4) { animation-delay: 240ms; }
.seo { margin-top: 18px; padding: 14px 16px 6px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); }
.seo__head { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.seo__head b { font-family: var(--f-mono); font-weight: 500; }
.seo svg { width: 100%; height: 70px; }
.seo__area { fill: rgba(61, 220, 151, .12); }
.seo__line { fill: none; stroke: var(--ok); stroke-width: 2; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(61, 220, 151, .6)); }

/* 4 · chat + timeline */
.chat { border-radius: 20px; overflow: hidden; background: #0B141A; border: 1px solid rgba(255, 255, 255, .08); }
.chat__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: #1F2C33; }
.chat__head strong { display: block; font-size: 13.5px; }
.chat__head small { display: block; font-size: 11.5px; color: #25D366; }
.chat__avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(10, 108, 255, .3); }
.chat__body { display: flex; flex-direction: column; gap: 8px; padding: 14px; min-height: 250px; background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .025), transparent 40%), #0B141A; }
.msg { max-width: 86%; padding: 8px 11px; border-radius: 10px; font-size: 13px; line-height: 1.45; }
.msg--in { align-self: flex-start; background: #202C33; border-top-left-radius: 2px; }
.msg--out { align-self: flex-end; background: #005C4B; border-top-right-radius: 2px; }
.svc__panel.is-active .msg { animation: msgIn 420ms var(--ease) both; }
.svc__panel.is-active .msg:nth-child(2) { animation-delay: 700ms; }
.svc__panel.is-active .msg:nth-child(3) { animation-delay: 1400ms; }
.svc__panel.is-active .msg:nth-child(4) { animation-delay: 2100ms; }
.timeline { position: relative; display: grid; gap: 14px; padding-left: 22px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--cyan), var(--violet)); border-radius: 2px; }
.timeline li { position: relative; display: flex; flex-direction: column; }
.timeline li::before { content: ""; position: absolute; left: -21px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-2); border: 2px solid var(--cyan); }
.timeline b { font-family: var(--f-mono); font-size: 12px; font-weight: 500; color: var(--cyan); }
.timeline span { font-size: 13.5px; color: #D5DDF5; }
.svc__panel.is-active .timeline li { animation: panelIn 500ms var(--ease) both; }
.svc__panel.is-active .timeline li:nth-child(2) { animation-delay: 150ms; }
.svc__panel.is-active .timeline li:nth-child(3) { animation-delay: 300ms; }
.svc__panel.is-active .timeline li:nth-child(4) { animation-delay: 450ms; }
.svc__panel.is-active .timeline li:nth-child(5) { animation-delay: 600ms; }

/* 5 · devices */
.viz--devices { padding: 22px 22px 40px; }
.browser { border-radius: 16px; overflow: hidden; background: #0A1022; border: 1px solid var(--border-strong); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2A3355; }
.browser__bar span { margin-left: 10px; padding: 3px 12px; border-radius: 6px; background: rgba(255, 255, 255, .05); font-family: var(--f-mono); font-size: 11px; color: var(--dim); }
.browser__body { display: grid; grid-template-columns: 70px 1fr; min-height: 240px; }
.browser__body aside { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px; border-right: 1px solid var(--border); }
.browser__body aside b { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); margin-bottom: 6px; }
.browser__body aside i { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.browser__body aside i:nth-child(2) { background: rgba(0, 212, 255, .4); }
.browser__main { padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tiles div { padding: 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.tiles small { display: block; font-size: 10.5px; color: var(--dim); }
.tiles strong { font-family: var(--f-mono); font-size: 15px; font-weight: 500; }
.minibars { flex: 1; display: flex; align-items: flex-end; gap: 6%; min-height: 110px; padding: 0 4px; border-bottom: 1px solid var(--border); }
.minibars span { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--cyan), rgba(106, 43, 255, .4)); transform-origin: bottom; }
.svc__panel.is-active .minibars span { animation: growY 800ms var(--ease) both 200ms; }
.phone { position: absolute; right: -12px; bottom: -22px; width: 130px; padding: 8px; border-radius: 24px; background: #0A1022; border: 1px solid var(--border-strong); box-shadow: 0 24px 50px -10px rgba(0, 0, 0, .8), 0 0 40px -10px rgba(10, 108, 255, .6); animation: float 7s ease-in-out infinite; }
.phone__notch { width: 40px; height: 5px; margin: 2px auto 8px; border-radius: 4px; background: #1D2645; }
.phone__screen { display: flex; flex-direction: column; gap: 7px; padding: 8px; border-radius: 16px; background: linear-gradient(180deg, rgba(10, 108, 255, .2), rgba(106, 43, 255, .1)); }
.phone__screen small { font-size: 10px; color: var(--muted); }
.phone__screen strong { font-family: var(--f-display); font-size: 14px; }
.phone__card { display: flex; align-items: center; gap: 6px; padding: 7px; border-radius: 9px; background: rgba(255, 255, 255, .07); }
.phone__card i { width: 16px; height: 16px; border-radius: 50%; background: var(--grad); flex: none; }
.phone__card span { flex: 1; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .15); }

/* 6 · forecast */
.forecast { width: 100%; height: auto; overflow: visible; }
.forecast__grid path { stroke: rgba(148, 170, 255, .08); }
.forecast__band { fill: rgba(106, 43, 255, .18); }
.forecast__hist { fill: none; stroke: var(--cyan); stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(0, 212, 255, .6)); stroke-dasharray: 400; }
.forecast__future { fill: none; stroke: #9D7BFF; stroke-width: 2.5; stroke-dasharray: 6 6; }
.forecast__today { stroke: rgba(255, 255, 255, .25); stroke-dasharray: 3 4; }
.forecast__dot { fill: #fff; stroke: var(--cyan); stroke-width: 3; }
.forecast text { fill: var(--dim); font-family: var(--f-mono); font-size: 11px; }
.svc__panel.is-active .forecast__hist { animation: drawLine 1.4s var(--ease) both; }
.svc__panel.is-active .forecast__future, .svc__panel.is-active .forecast__band { animation: panelIn 600ms var(--ease) both 1.1s; }
.insights { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.insights span { padding: 8px 12px; border-radius: 10px; font-size: 12.5px; color: #D5DDF5; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); }
.insights b { font-family: var(--f-mono); font-weight: 500; margin-right: 4px; }

/* 7 · security */
.viz--security { grid-template-columns: .8fr 1.2fr; gap: 24px; padding: 32px; }
.gauge { position: relative; width: 100%; max-width: 220px; margin-inline: auto; aspect-ratio: 1; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge__track { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 10; }
.gauge__value { fill: none; stroke: url(#ringGrad); stroke: var(--ok); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 98 100; filter: drop-shadow(0 0 8px rgba(61, 220, 151, .6)); }
.svc__panel.is-active .gauge__value { animation: gaugeIn 1.4s var(--ease) both; }
.gauge__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge__label strong { font-family: var(--f-display); font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.gauge__label small { font-size: 12px; color: var(--muted); }
.shield-list { display: grid; gap: 10px; }
.shield-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; background: rgba(61, 220, 151, .05); border: 1px solid rgba(61, 220, 151, .18); }
.shield-list i { flex: none; width: 20px; height: 20px; border-radius: 6px; background: rgba(61, 220, 151, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233DDC97' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.svc__panel.is-active .shield-list li { animation: panelIn 450ms var(--ease) both; }
.svc__panel.is-active .shield-list li:nth-child(2) { animation-delay: 100ms; }
.svc__panel.is-active .shield-list li:nth-child(3) { animation-delay: 200ms; }
.svc__panel.is-active .shield-list li:nth-child(4) { animation-delay: 300ms; }
.svc__panel.is-active .shield-list li:nth-child(5) { animation-delay: 400ms; }
.svc__panel.is-active .shield-list li:nth-child(6) { animation-delay: 500ms; }

/* 8 · MCP diagram */
.mcp { width: 100%; height: auto; overflow: visible; }
.mcp__ring { fill: none; stroke: rgba(157, 123, 255, .5); stroke-width: 1.5; stroke-dasharray: 3 7; transform-origin: 220px 140px; animation: spin 40s linear infinite; }
.mcp__links path { stroke: rgba(0, 212, 255, .5); stroke-width: 1.5; stroke-dasharray: 4 6; animation: dashFlow 1s linear infinite reverse; }
.mcp__tools rect { fill: #0E1530; stroke: var(--border-strong); }
.mcp__tools g:hover rect { stroke: var(--cyan); }
.mcp__tools text { fill: #D5DDF5; font-family: var(--f-body); font-size: 12.5px; font-weight: 600; text-anchor: middle; }
.mcp__core { fill: rgba(106, 43, 255, .25); stroke: #9D7BFF; stroke-width: 2; filter: drop-shadow(0 0 18px rgba(106, 43, 255, .8)); animation: breathe 4s ease-in-out infinite; transform-origin: 220px 140px; }
.mcp__neural circle { fill: #fff; }
.mcp__neural path { stroke: rgba(255, 255, 255, .45); stroke-width: .8; fill: none; }
.mcp__label { fill: #C9B8FF; font-family: var(--f-mono); font-size: 11px; text-anchor: middle; letter-spacing: .15em; }
.mcp__ringlabel { fill: #9D7BFF; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .15em; }
.models { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.models li { padding: 6px 12px; border-radius: 999px; font-family: var(--f-mono); font-size: 12px; color: #C9B8FF; background: rgba(106, 43, 255, .1); border: 1px solid rgba(157, 123, 255, .3); }

/* ---------- Industries ---------- */
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.section__head--split > div:first-child { display: flex; flex-direction: column; gap: 24px; }
.section__headside { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry {
  display: flex; flex-direction: column; gap: 16px;
  padding: 30px 26px 32px; border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--border);
  transition: transform 400ms var(--ease);
}
.industry:hover { transform: translateY(-4px); }
.industry__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.industry__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: var(--cyan); background: var(--grad-soft); border: 1px solid rgba(0, 212, 255, .22); }
.industry__icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.industry__badge { padding: 5px 11px; border-radius: 999px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--grad); }
.industry h3 { min-height: 2.6em; font-family: var(--f-display); font-size: 19px; font-weight: 600; letter-spacing: -.015em; line-height: 1.3; }
.industry ul { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--border); }
.industry li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.industry li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 2px; background: var(--grad); transform: rotate(45deg); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq__head { display: flex; flex-direction: column; gap: 24px; position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__list { display: grid; gap: 14px; }
.faq__list details { border-radius: 18px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.faq__list details[open] { border-color: rgba(0, 212, 255, .3); background: linear-gradient(120deg, rgba(0, 212, 255, .05), rgba(106, 43, 255, .04)); }
.faq__list summary { position: relative; display: flex; align-items: center; min-height: 72px; padding: 20px 68px 20px 28px; cursor: pointer; list-style: none; font-family: var(--f-display); font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; position: absolute; right: 24px; top: 50%; width: 28px; height: 28px; margin-top: -14px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-strong); color: var(--cyan); font-family: var(--f-body); font-weight: 400; font-size: 18px; transition: transform var(--dur) var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { max-width: 62ch; padding: 0 28px 26px; color: var(--muted); font-size: 16.5px; line-height: 1.75; }

.form__note { margin-top: 12px; font-size: 13px; color: var(--dim); text-align: center; }

@keyframes growY { from { transform: scaleY(0); } }
@keyframes growX { from { transform: scaleX(0); } }
@keyframes vizIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px) scale(.96); } }
@keyframes dashFlow { to { stroke-dashoffset: -24; } }
@keyframes drawLine { from { stroke-dashoffset: 400; } to { stroke-dashoffset: 0; } }
@keyframes gaugeIn { from { stroke-dasharray: 0 100; } }

/* ---------- Platform / console ---------- */
.section--platform::before {
  content: ""; position: absolute; inset: 10% 0; z-index: -1;
  background: radial-gradient(ellipse 50% 60% at 75% 50%, rgba(10, 108, 255, .14), transparent 70%);
}
.platform { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.platform__copy { display: flex; flex-direction: column; gap: 26px; }
.arrow { color: var(--dim); font-weight: 400; }

.stages { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.stage {
  position: relative; overflow: hidden;
  display: flex; align-items: flex-start; gap: 16px; text-align: left;
  padding: 20px 22px; border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .02);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.stage:hover { background: rgba(255, 255, 255, .04); }
.stage em { font-style: normal; font-family: var(--f-mono); font-size: 13px; color: var(--dim); padding-top: 2px; transition: color var(--dur) var(--ease); }
.stage strong { display: block; font-family: var(--f-display); font-size: 18px; font-weight: 600; }
.stage small { display: block; color: var(--muted); font-size: 14.5px; }
.stage::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; }
.stage.is-active { border-color: rgba(0, 212, 255, .35); background: linear-gradient(120deg, rgba(0, 212, 255, .07), rgba(106, 43, 255, .05)); }
.stage.is-active em { color: var(--cyan); }
.stage.is-active.is-timed::after { animation: stageTimer var(--stage-ms, 7000ms) linear forwards; }

.console {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(13, 19, 42, .9), rgba(7, 11, 26, .95));
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 100px -30px rgba(10, 108, 255, .45), 0 0 0 1px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .06);
  overflow: hidden;
  min-height: 460px;
}
.console::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5; pointer-events: none; }
.console__bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--dim); }
.console__bar i { width: 11px; height: 11px; border-radius: 50%; background: #2A3355; }
.console__bar i:nth-child(1) { background: #FF5F57; }
.console__bar i:nth-child(2) { background: #FEBC2E; }
.console__bar i:nth-child(3) { background: #28C840; margin-right: 10px; }
.console__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: var(--ok); }
.console__live b { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: blink 1.4s ease-in-out infinite; }

.console__panel { padding: 22px; min-height: 410px; animation: panelIn 420ms var(--ease); }
.console__panel[hidden] { display: none; }

.log-stream { display: flex; flex-direction: column; gap: 4px; height: 370px; overflow: hidden; font-size: 13px; line-height: 1.75; -webkit-mask-image: linear-gradient(transparent, #000 18%); mask-image: linear-gradient(transparent, #000 18%); justify-content: flex-end; }
.log-stream li { display: flex; gap: 12px; white-space: nowrap; animation: logIn 380ms var(--ease); }
.log-stream .ts { color: var(--dim); }
.log-stream .lv { width: 46px; flex: none; font-weight: 500; }
.log-stream .lv--LEAD { color: var(--cyan); }
.log-stream .lv--AI { color: #9D7BFF; }
.log-stream .lv--DONE { color: var(--ok); }
.log-stream .lv--WARN { color: var(--warn); }
.log-stream .src { color: #B9C4E6; }
.log-stream .msg { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }

.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.kpi { padding: 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); }
.kpi small { display: block; font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.kpi strong { display: block; margin-top: 4px; font-size: clamp(18px, 2vw, 24px); font-weight: 500; font-variant-numeric: tabular-nums; }
.spark { width: 100%; height: 140px; margin: 18px 0; }
.spark__area { fill: url(#sparkFill); }
.spark__line { fill: none; stroke: var(--cyan); stroke-width: 2; filter: drop-shadow(0 0 6px rgba(0, 212, 255, .7)); vector-effect: non-scaling-stroke; }
.data-table { font-size: 13px; border-radius: 12px; border: 1px solid var(--border); overflow: hidden; }
.data-table div { display: grid; grid-template-columns: 1.5fr 1fr 1fr; padding: 10px 14px; border-top: 1px solid var(--border); }
.data-table div:first-child { border-top: 0; color: var(--dim); text-transform: uppercase; font-size: 11px; letter-spacing: .1em; background: rgba(255, 255, 255, .02); }

.ai { display: flex; flex-direction: column; gap: 20px; padding-top: 6px; }
.ai__q, .ai__a { display: flex; gap: 14px; align-items: flex-start; }
.ai__q { justify-content: flex-end; }
.ai__q p { padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: rgba(10, 108, 255, .18); border: 1px solid rgba(10, 108, 255, .35); font-size: 15px; }
.ai__q .ai__avatar { order: 2; }
.ai__avatar { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; font-size: 11px; font-weight: 600; background: rgba(255, 255, 255, .06); border: 1px solid var(--border); color: var(--muted); }
.ai__avatar--bot { background: var(--grad-soft); border-color: rgba(0, 212, 255, .3); }
.ai__a > div { flex: 1; padding: 16px 18px; border-radius: 4px 16px 16px 16px; background: rgba(255, 255, 255, .035); border: 1px solid var(--border); }
.ai__text { min-height: 7.5em; font-size: 15px; line-height: 1.65; color: var(--text); }
.ai__text.is-typing::after { content: ""; display: inline-block; width: 8px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--cyan); animation: blink 1s steps(1) infinite; }
.ai__confidence { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 13px; color: var(--dim); }
.ai__confidence div { flex: 1; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.ai__confidence i { display: block; height: 100%; width: 96%; border-radius: inherit; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.ai__confidence.is-on i { transform: scaleX(1); }
.ai__confidence b { color: var(--ok); font-weight: 500; }

/* ---------- Process ---------- */
#process .container { position: relative; }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; z-index: 1; }
.step {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 30px 28px 36px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent);
  border: 1px solid var(--border);
}
.step__num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 12px;
  border-radius: 50%;
  font-family: var(--f-mono); font-size: 15px; color: var(--text);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  box-shadow: 0 0 0 6px var(--bg);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.step.is-lit .step__num { background: var(--grad); border-color: transparent; box-shadow: 0 0 0 6px var(--bg), 0 0 30px rgba(10, 108, 255, .7); }
.step h3 { font-family: var(--f-display); font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.step p { color: var(--muted); font-size: 16px; line-height: 1.65; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__copy { display: flex; flex-direction: column; gap: 22px; }
.checks { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.checks svg, .register__perks svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(61, 220, 151, .12); fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 6px;
  padding: 32px 28px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--border);
}
.stat:nth-child(2) { transform: translateY(32px); }
.stat:nth-child(4) { transform: translateY(32px); }
.stat strong { font-family: var(--f-display); font-size: clamp(40px, 4.6vw, 58px); font-weight: 700; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; background: linear-gradient(180deg, #fff, #9FB2E8); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: var(--muted); font-size: 15px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
  padding: clamp(56px, 8vw, 96px) var(--gutter);
  border-radius: 36px;
  background: linear-gradient(160deg, rgba(10, 108, 255, .18), rgba(7, 11, 26, .9) 45%, rgba(106, 43, 255, .2));
  border: 1px solid var(--border-strong);
}
.cta__glow { position: absolute; inset: -40% 20% auto; height: 120%; z-index: -1; background: radial-gradient(circle, rgba(0, 212, 255, .35), transparent 60%); filter: blur(60px); animation: breathe 7s ease-in-out infinite; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(148, 170, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(148, 170, 255, .06) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); mask-image: radial-gradient(ellipse at center, #000, transparent 70%); }
.cta__mark { width: 74px; height: auto; filter: drop-shadow(0 10px 30px rgba(10, 108, 255, .6)); animation: float 6s ease-in-out infinite; }
.cta h2 { font-family: var(--f-display); font-size: clamp(34px, 5vw, 64px); font-weight: 700; letter-spacing: -.045em; line-height: 1.05; }
.cta p { color: var(--muted); font-size: 18px; max-width: 520px; }
.cta .hero__cta { justify-content: center; margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { position: relative; isolation: isolate; overflow: hidden; padding: clamp(80px, 10vw, 120px) 0 32px; border-top: 1px solid var(--border); background: linear-gradient(180deg, var(--bg), #03050C); }
.footer__bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 50% at 20% 0%, rgba(10, 108, 255, .14), transparent 70%), radial-gradient(ellipse 50% 40% at 90% 30%, rgba(106, 43, 255, .12), transparent 70%); }

/* Registration */
.register { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; padding-bottom: clamp(72px, 9vw, 110px); border-bottom: 1px solid var(--border); }
.register__intro { display: flex; flex-direction: column; gap: 28px; position: sticky; top: calc(var(--nav-h) + 32px); }
.register__intro h2 { font-family: var(--f-display); font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; letter-spacing: -.045em; line-height: 1.06; }
.register__intro > p { color: var(--muted); font-size: 17.5px; max-width: 460px; }
.register__perks { display: flex; flex-direction: column; gap: 16px; }
.register__perks li { display: flex; align-items: center; gap: 12px; font-weight: 500; }

.form {
  position: relative;
  padding: clamp(24px, 3.4vw, 40px);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 100px -40px rgba(10, 108, 255, .4), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; margin-bottom: 32px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: #C9D3F0; }
.field abbr { color: var(--cyan); text-decoration: none; }
.field .opt { color: var(--dim); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 13px 16px;
  border-radius: 14px;
  background: rgba(4, 6, 15, .6);
  border: 1px solid var(--border-strong);
  font-size: 16px; color: var(--text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #56618A; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(148, 170, 255, .38); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: rgba(4, 6, 15, .85); box-shadow: 0 0 0 4px rgba(0, 212, 255, .14); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid .check__box { border-color: var(--err); box-shadow: 0 0 0 4px rgba(255, 92, 122, .12); }
.field__error { min-height: 0; font-size: 13px; color: var(--err); }
.field__error:empty { display: none; }

.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); pointer-events: none; }
.select select { padding-right: 44px; cursor: pointer; }
.select select:invalid, .select select:has(option[value=""]:checked) { color: #56618A; }
.select option { background: var(--bg-2); color: var(--text); }

.check { position: relative; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; font-weight: 400 !important; color: var(--muted) !important; line-height: 1.55; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check__box { flex: none; display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px; border: 1px solid var(--border-strong); background: rgba(4, 6, 15, .6); transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.check__box svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transform: scale(0); transition: transform var(--dur) var(--ease); }
.check input:checked + .check__box { background: var(--grad); border-color: transparent; }
.check input:checked + .check__box svg { transform: scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--cyan); outline-offset: 3px; }
.check a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn__spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin 700ms linear infinite; }
.form.is-loading .btn__spinner { display: block; }
.form.is-loading .btn svg { display: none; }
.form.is-loading button[type="submit"] { pointer-events: none; opacity: .8; }
.form__status { margin-top: 14px; font-size: 14.5px; text-align: center; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }

.form.is-done .form__grid, .form.is-done button[type="submit"] { display: none; }
.form__success { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 10px; text-align: center; animation: panelIn 500ms var(--ease); }
.form__success .tick { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 40px rgba(10, 108, 255, .6); }
.form__success .tick svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 600ms 200ms var(--ease) forwards; }
.form__success h3 { font-family: var(--f-display); font-size: 26px; letter-spacing: -.02em; }
.form__success p { color: var(--muted); max-width: 380px; }

/* Footer columns */
.footer__main { display: grid; grid-template-columns: 1.5fr 1.1fr 1fr 1.1fr; gap: 48px; padding: 80px 0 56px; }
.footer__brand { display: flex; flex-direction: column; gap: 20px; max-width: 340px; }
.footer__brand img { width: 190px; height: auto; }
.footer__brand p { color: var(--muted); font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 4px; }
.footer__col h3 { margin-bottom: 10px; font-family: var(--f-mono); font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.footer__col a { display: inline-flex; align-items: center; min-height: 36px; width: fit-content; color: #C3CCE8; font-size: 15px; transition: color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.footer__col a:hover { color: var(--cyan); transform: translateX(3px); }
.footer__muted { color: var(--dim); font-size: 14px; margin-top: 6px; }

/* Social */
.social { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding: 8px 0 0; }
.social__label { font-family: var(--f-display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.social ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.social__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 44px; height: 44px; padding: 0 8px;
  color: var(--muted);
  font-weight: 600; font-size: 15px;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.social__link svg { width: 20px; height: 20px; fill: currentColor; }
.social__link svg.stroke { fill: none; stroke: currentColor; stroke-width: 2; }
.social__link svg.stroke circle:last-child { fill: currentColor; }
.social__link:hover { color: var(--cyan); transform: translateY(-2px); }
.social__link--featured { color: var(--text); margin-right: 8px; }

/* Bottom bar */
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--border); font-size: 14px; color: var(--dim); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { transition: color var(--dur) var(--ease); }
.footer__legal a:hover { color: var(--text); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__pill { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: #C3CCE8; font-family: var(--f-mono); font-size: 13px; transition: color var(--dur) var(--ease); }
.footer__pill svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer__pill svg.fill { fill: currentColor; stroke: none; }
.footer__pill:hover { color: var(--cyan); }

/* Back to top */
.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: var(--z-top);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px;
  background: rgba(12, 18, 40, .8); border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.to-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { border-color: var(--cyan); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .stat.reveal.is-visible:nth-child(2), .js .stat.reveal.is-visible:nth-child(4) { transform: translateY(32px); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 1024px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-top);
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(transparent, rgba(4, 6, 15, .92) 35%);
    transform: translateY(110%); transition: transform 320ms var(--ease);
    pointer-events: none;
  }
  .sticky-cta.is-shown { transform: none; pointer-events: auto; }
  .sticky-cta .btn { min-height: 52px; }
  body.has-sticky-cta .to-top { bottom: 88px; }
}

/* ---------- Language switcher ---------- */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; color: var(--muted); font-family: var(--f-mono); font-size: 13px; font-weight: 500; letter-spacing: .06em; transition: color var(--dur) var(--ease); }
.lang__btn:hover, .lang__btn[aria-expanded="true"] { color: var(--text); }
.lang__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lang__menu {
  position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 10;
  min-width: 170px; padding: 6px; border-radius: 16px;
  background: rgba(10, 15, 34, .96); border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .9);
  animation: menuIn 200ms var(--ease);
}
.lang__menu[hidden] { display: none; }
.lang__menu button { display: flex; align-items: center; width: 100%; min-height: 42px; padding: 0 14px; border-radius: 10px; font-size: 15px; color: var(--muted); text-align: start; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.lang__menu button:hover, .lang__menu button:focus-visible { background: rgba(255, 255, 255, .06); color: var(--text); outline: none; }
.lang__menu button[aria-current="true"] { color: var(--cyan); }
.lang__menu button[aria-current="true"]::after { content: ""; margin-inline-start: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

/* Hide the page briefly while a non-English translation loads (removed by js/i18n.js, 3s failsafe) */
.i18n-loading body { opacity: 0; }
body { transition: opacity 200ms ease; }

/* ---------- Right-to-left (Arabic) ---------- */
[dir="rtl"] body * { letter-spacing: 0 !important; }
[dir="rtl"] .brand, [dir="rtl"] .log-stream, [dir="rtl"] .data-table, [dir="rtl"] .console__bar, [dir="rtl"] .float-card--c,
[dir="rtl"] .viz svg, [dir="rtl"] .spark, [dir="rtl"] .footer__links, [dir="rtl"] .marquee__track { direction: ltr; }
[dir="rtl"] .marquee__track { animation-direction: reverse; }
[dir="rtl"] .hero__stats dd, [dir="rtl"] .cost__badge strong, [dir="rtl"] .cost__bar b, [dir="rtl"] .tiles strong, [dir="rtl"] .compare__row b, [dir="rtl"] .insights b, [dir="rtl"] .funnel__row b { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .hero__stats dd { text-align: right; }
[dir="rtl"] .btn svg, [dir="rtl"] .link-arrow svg, [dir="rtl"] .pain__link span, [dir="rtl"] .section__title .arrow { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .pain__link:hover span { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .svc__list li { padding-left: 0; padding-right: 34px; }
[dir="rtl"] .svc__list li::before { left: auto; right: 0; }
[dir="rtl"] .industry li { padding-left: 0; padding-right: 18px; }
[dir="rtl"] .industry li::before { left: auto; right: 0; }
[dir="rtl"] .timeline { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .timeline::before { left: auto; right: 6px; }
[dir="rtl"] .timeline li::before { left: auto; right: -21px; }
[dir="rtl"] .select::after { right: auto; left: 18px; }
[dir="rtl"] .select select { padding-right: 16px; padding-left: 44px; }
[dir="rtl"] .faq__list summary { padding: 20px 28px 20px 68px; }
[dir="rtl"] .faq__list summary::after { right: auto; left: 24px; }
[dir="rtl"] .scroll-progress span, [dir="rtl"] .stage::after, [dir="rtl"] .compare__bar { transform-origin: 100% 50%; }
[dir="rtl"] .steps::before, [dir="rtl"] .steps::after { left: calc((100% - 60px) / 4 - 54px); right: 54px; }
[dir="rtl"] .steps::after { transform-origin: 100% 50%; }
[dir="rtl"] .hero__title, [dir="rtl"] .section__title, [dir="rtl"] .svc__text h3, [dir="rtl"] .pain h3, [dir="rtl"] .register__intro h2 { line-height: 1.35; }

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(60px, 40px) scale(1.1); } 66% { transform: translate(-40px, 20px) scale(.95); } }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes pulse { to { stroke-dashoffset: 0; } }
@keyframes barWave { to { transform: scaleY(.7); } }
@keyframes scan { from { background-position: 0 100%; } to { background-position: 0 -120%; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes logIn { from { opacity: 0; transform: translateY(8px); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes stageTimer { to { transform: scaleX(1); } }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Responsive ---------- */
@media (min-width: 1025px) {
  /* Connector line between step circles; --p (0..1) is driven by scroll */
  .steps::before, .steps::after {
    content: ""; position: absolute; top: 57px; height: 2px;
    left: 54px; right: calc((100% - 60px) / 4 - 54px);
  }
  .steps::before { background: var(--border-strong); }
  .steps::after { background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px rgba(0, 212, 255, .7); }}

@media (max-width: 1100px) {
  .float-card--a { left: 0; }
  .float-card--b { right: 0; }
}

@media (max-width: 1024px) {
  :root { --nav-h: 68px; }
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .nav__actions .btn { display: none; }

  .hero { min-height: auto; padding-top: calc(var(--nav-h) + 40px); }
  .hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .hero__visual { order: -1; max-width: 460px; width: 100%; margin-inline: auto; }
  .hero__copy { align-items: center; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .hero__stats { justify-content: center; }
  .hero__stats { margin-inline: auto; }
  .hero__scroll { display: none; }

  .industries { grid-template-columns: repeat(2, 1fr); }
  .section__head--split { grid-template-columns: 1fr; align-items: start; }
  .svc__panel { grid-template-columns: 1fr; }
  .svc__text { max-width: 640px; }
  .faq__head { position: static; }
  .faq { grid-template-columns: 1fr; }

  .platform, .about, .register { grid-template-columns: 1fr; }
  .register__intro { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero__title { font-size: clamp(38px, 11vw, 52px); }
  .hero__stats { gap: 24px; justify-content: space-between; }
  .hero__stats dd { font-size: 24px; }
  .btn--lg { --h: 52px; padding: 0 22px; font-size: 15px; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; }

  .float-card { font-size: 12px; padding: 9px 12px; gap: 9px; border-radius: 12px; }
  .float-card strong { font-size: 12.5px; }
  .float-card small { font-size: 11px; }
  .float-card__icon { width: 28px; height: 28px; border-radius: 8px; }
  .float-card--c { display: none; }
  .float-card--a { top: 4%; left: 3%; }
  .float-card--b { bottom: 6%; right: 3%; }

  .pains, .industries { grid-template-columns: 1fr; }
  .pain__num { font-size: 44px; }
  .pain__fix { padding: 16px 18px; }
  .svc { padding: 6px; border-radius: 24px; }
  .svc__tab { flex: 0 0 auto; }
  .svc__panel { padding: 32px 10px 16px; gap: 36px; }
  .section { padding: clamp(80px, 20vw, 104px) 0; }
  .section__lead { font-size: 17.5px; }
  .svc__text h3 { font-size: 27px; }
  .industry { padding: 26px 22px; }
  .industry h3 { min-height: 0; }
  .faq__list summary { padding: 18px 60px 18px 20px; font-size: 16.5px; }
  .faq__list details p { padding: 0 20px 22px; }
  .pain { padding: 26px 22px; }
  .hero__stats dt { white-space: normal; }
  .viz, .viz--security { padding: 20px; }
  .viz--split { grid-template-columns: 1fr; }
  .agents { grid-template-columns: 1fr; }
  .cost { height: 200px; gap: 14px; padding: 0; }
  .cost__badge { padding: 12px; }
  .cost__badge strong { font-size: 30px; }
  .compare__row { grid-template-columns: 92px 1fr 52px; }
  .browser__body { grid-template-columns: 44px 1fr; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tiles div:last-child { display: none; }
  .phone { width: 104px; right: 10px; }
  .svc__text .btn { width: 100%; white-space: normal; text-align: center; }

  .steps { grid-template-columns: 1fr; }
  .stats { gap: 12px; }
  .stat { padding: 24px 20px; }
  .stat:nth-child(2), .stat:nth-child(4), .js .stat.reveal.is-visible:nth-child(2), .js .stat.reveal.is-visible:nth-child(4) { transform: none; }

  .console { min-height: 0; }
  .console__panel { padding: 16px; min-height: 360px; }
  .log-stream { height: 320px; font-size: 11.5px; }
  .log-stream .ts { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi:last-child { grid-column: 1 / -1; }
  .data-table { font-size: 12px; }

  .form__grid { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; gap: 32px; }
  .social { flex-direction: column; align-items: flex-start; }
  .social ul { margin-inline-start: -8px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .to-top { right: 16px; bottom: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
  .js .reveal { opacity: 1; transform: none; }
}
