/* ============================================================
   Intellora — style.css
   Eye-friendly dark palette: deep slate, soft teal & indigo.
   ============================================================ */

:root {
  --bg: #0c1322;
  --bg-soft: #101a2e;
  --panel: #14203a;
  --panel-2: #182645;
  --line: rgba(148, 163, 184, .14);
  --text: #dbe4f0;
  --muted: #8fa3bd;
  --teal: #2dd4bf;
  --teal-deep: #0f766e;
  --indigo: #818cf8;
  --amber: #fbbf24;
  --rose: #fb7185;
  --grad: linear-gradient(100deg, #2dd4bf 0%, #60a5fa 55%, #818cf8 100%);
  --radius: 18px;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --shadow: 0 20px 60px rgba(2, 8, 23, .55);
}

/* -------- Light theme -------- */
[data-theme="light"] {
  --bg:       #f5f8fc;
  --bg-soft:  #eaf0f8;
  --panel:    #ffffff;
  --panel-2:  #f0f5fb;
  --line:     rgba(15, 30, 75, .11);
  --text:     #0e1c35;
  --muted:    #4a6080;
  --teal:     #0d9488;
  --teal-deep:#0f766e;
  --indigo:   #4f46e5;
  --amber:    #d97706;
  --grad:     linear-gradient(100deg, #0d9488 0%, #2563eb 55%, #4f46e5 100%);
  --shadow:   0 20px 60px rgba(14, 29, 53, .10);
  color-scheme: light;
}

/* nav */
[data-theme="light"] .nav {
  background: rgba(245, 248, 252, .88);
  border-bottom-color: rgba(15, 30, 75, .1);
}
[data-theme="light"] .nav__links a { color: var(--muted); }
[data-theme="light"] .nav__links { background: rgba(245, 248, 252, .97); }

/* hero light variant */
[data-theme="light"] .hero {
  background: linear-gradient(150deg, #dbeafe 0%, #f0f7ff 50%, #ede9fe 100%);
}
[data-theme="light"] .hero__glow { opacity: .2; }
[data-theme="light"] .hero__badge {
  background: rgba(13, 148, 136, .08);
  border-color: rgba(13, 148, 136, .28);
}
[data-theme="light"] .float-card {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(15, 30, 75, .12);
  color: var(--muted);
}
[data-theme="light"] .float-card strong { color: var(--text); }
[data-theme="light"] .typer {
  background: rgba(217, 119, 6, .1);
  border-bottom-color: rgba(217, 119, 6, .45);
}
[data-theme="light"] .hero__scroll { border-color: rgba(15, 30, 75, .3); }

/* sections */
[data-theme="light"] .section--alt {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(79, 70, 229, .05), transparent 60%),
    var(--bg-soft);
}
[data-theme="light"] .section--cta {
  background:
    radial-gradient(700px 380px at 15% 10%, rgba(13, 148, 136, .07), transparent 60%),
    radial-gradient(700px 380px at 90% 90%, rgba(79, 70, 229, .07), transparent 60%),
    var(--bg-soft);
}

/* belt */
[data-theme="light"] .belt {
  background:
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(15, 30, 75, .04) 38px 40px),
    var(--panel);
}
[data-theme="light"] .belt-chip {
  background: rgba(71, 85, 105, .07);
  border-color: rgba(71, 85, 105, .22);
  color: var(--muted);
}

/* orbit chips */
[data-theme="light"] .orbit__chip {
  background: rgba(255, 255, 255, .96);
  border-color: rgba(13, 148, 136, .28);
  box-shadow: 0 4px 18px rgba(14, 29, 53, .1);
  color: var(--text);
}
[data-theme="light"] .orbit__ring { border-color: rgba(15, 30, 75, .14); }

/* kicker text - darken for light bg readability */
[data-theme="light"] .kicker { color: var(--teal); }

/* footer always dark */
.footer { background: #0a101d; }
.footer .brand__name,
.footer .footer__tag,
.footer__links a,
.footer__copy { color: #8fa3bd; }
.footer .brand__dot { color: #2dd4bf; }
.footer .brand__name { color: #dbe4f0; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(45, 212, 191, .35); }

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- Typography helpers ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.kicker {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .9rem;
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin-bottom: 1.1rem;
}

.section__lead {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 46rem;
  margin-bottom: 2.2rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform;
}
.btn--primary {
  background: var(--grad);
  color: #06121f;
  box-shadow: 0 8px 28px rgba(45, 212, 191, .28);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(45, 212, 191, .4);
}
.btn--ghost {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .03);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: var(--teal); transform: translateY(-2px); }
.btn--sm { padding: .55rem 1.2rem; font-size: .85rem; }
.btn--full { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(12, 19, 34, .72);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  width: min(1240px, 94%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: .6rem; }
.brand__mark {
  width: 34px; height: 34px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: #0d1526;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.brand__mark img { width: 82%; height: 82%; object-fit: contain; }
.brand__name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.01em;
}
.brand__dot { color: var(--teal); font-weight: 600; font-size: .85em; }

.nav__links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav__links a {
  font-size: .92rem;
  color: var(--muted);
  position: relative;
  padding: .3rem 0;
  transition: color .2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--grad);
  border-radius: 2px;
  transition: width .3s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: .8rem; }

/* theme toggle */
.theme-toggle {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  transition: color .2s, border-color .2s, background .2s;
  flex: 0 0 auto;
}
.theme-toggle:hover { color: var(--teal); border-color: var(--teal); }
.theme-toggle svg { width: 16px; height: 16px; }
/* dark mode shows moon, light mode shows sun */
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="light"] .theme-toggle .icon-sun  { display: block; }
[data-theme="light"] .theme-toggle .icon-moon { display: none; }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 6px;
}
.nav__burger span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .35;
  pointer-events: none;
  animation: drift 14s ease-in-out infinite alternate;
}
.hero__glow--a {
  width: 480px; height: 480px;
  background: #0f766e;
  top: -120px; left: -120px;
}
.hero__glow--b {
  width: 420px; height: 420px;
  background: #4338ca;
  bottom: -140px; right: -100px;
  animation-delay: -7s;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(60px, 40px) scale(1.15); }
}

.hero__inner { position: relative; z-index: 2; width: min(900px, 92%); }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-head);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--teal);
  border: 1px solid rgba(45, 212, 191, .3);
  background: rgba(45, 212, 191, .07);
  padding: .45rem 1.1rem;
  border-radius: 999px;
  margin-bottom: 1.6rem;
}
.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(45, 212, 191, .5); }
  100% { box-shadow: 0 0 0 12px rgba(45, 212, 191, 0); }
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5.4vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin-bottom: 1.4rem;
}

.hero__rotator {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.1rem;
}
.typer {
  color: var(--amber);
  background: rgba(251, 191, 36, .1);
  border-bottom: 2px solid rgba(251, 191, 36, .55);
  border-radius: 6px 6px 0 0;
  padding: .02em .22em;
}
.caret {
  display: inline-block;
  width: 2px; height: 1.1em;
  background: var(--amber);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero__sub {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 42rem;
  margin: 0 auto 2.2rem;
}

.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* floating cards */
.hero__cards { position: absolute; inset: 0; pointer-events: none; }
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: rgba(20, 32, 58, .82);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .7rem 1rem;
  font-size: .78rem;
  line-height: 1.35;
  color: var(--muted);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  animation: floaty 6s ease-in-out infinite;
}
.float-card strong { color: var(--text); }
.float-card__icon { font-size: 1.2rem; }
.float-card--a { top: 20%; left: -215px; animation-delay: 0s; }
.float-card--b { top: 34%; right: -225px; animation-delay: -2s; }
.float-card--c { bottom: 16%; left: -185px; animation-delay: -4s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

.hero__scroll {
  position: absolute;
  bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid var(--muted);
  border-radius: 14px;
  z-index: 2;
}
.hero__scroll span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--teal);
  animation: scrollhint 1.8s ease-in-out infinite;
}
@keyframes scrollhint {
  0%   { transform: translateY(0); opacity: 1; }
  70%  { transform: translateY(14px); opacity: 0; }
  100% { opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section--alt {
  background:
    radial-gradient(800px 400px at 85% 0%, rgba(79, 70, 229, .08), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.6rem;
}
.pillar {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 200px at var(--mx, 50%) -20%, rgba(45, 212, 191, .12), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
}
.pillar:hover {
  transform: translateY(-8px);
  border-color: rgba(45, 212, 191, .4);
  box-shadow: var(--shadow);
}
.pillar:hover::before { opacity: 1; }
.pillar h3 {
  font-family: var(--font-head);
  font-size: 1.12rem;
  margin: 1.1rem 0 .55rem;
}
.pillar p { color: var(--muted); font-size: .92rem; }
.pillar__tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--teal);
  background: rgba(45, 212, 191, .08);
  border: 1px solid rgba(45, 212, 191, .22);
  padding: .25rem .7rem;
  border-radius: 999px;
}
.pillar__icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
}
.pillar__icon svg { width: 24px; height: 24px; fill: currentColor; }
.pillar__icon--teal   { background: rgba(45, 212, 191, .12); color: var(--teal); }
.pillar__icon--violet { background: rgba(129, 140, 248, .12); color: var(--indigo); }
.pillar__icon--amber  { background: rgba(251, 191, 36, .12); color: var(--amber); }
.pillar__icon--rose   { background: rgba(251, 113, 133, .12); color: var(--rose); }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split--rev .split__copy { order: 1; }
.split--rev .split__visual { order: 2; }

/* segmented control */
.seg {
  display: inline-flex;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 1.4rem;
}
.seg__btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  padding: .5rem 1.3rem;
  border-radius: 999px;
  transition: background .25s, color .25s;
}
.seg__btn.is-active { background: var(--grad); color: #06121f; }

.modlist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem .9rem;
}
.modlist li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .93rem;
  color: var(--text);
  background: rgba(255, 255, 255, .025);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .65rem .9rem;
  animation: modIn .45s ease both;
}
.modlist li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  flex: 0 0 auto;
}
@keyframes modIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- ERP orbit: every moving part around one system ---------- */
.orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  z-index: 1;
  pointer-events: none;
}
.orbit__ring {
  position: absolute;
  top: 0; left: 0;
  width: 560px; height: 560px;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(148, 163, 184, .2);
  border-radius: 50%;
}
.orbit__spin {
  position: absolute;
  top: 0; left: 0;
  animation: orbitSpin 44s linear infinite;
}
@keyframes orbitSpin { to { transform: rotate(360deg); } }
.orbit__sat {
  position: absolute;
  top: 0; left: 0;
  transform: rotate(var(--a, 0deg));
}
/* spoke from the hub out to the satellite */
.orbit__sat::before {
  content: "";
  position: absolute;
  top: -.5px; left: 0;
  width: 272px; height: 1px;
  background: linear-gradient(90deg, transparent 20%, rgba(45, 212, 191, .3));
}
/* data dot pulled inward along the spoke */
.orbit__sat::after {
  content: "";
  position: absolute;
  top: -3.5px; left: 0;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 12px rgba(45, 212, 191, .9);
  opacity: 0;
  transform: translateX(268px);
  animation: orbitData 5.5s ease-in infinite;
  animation-delay: calc(var(--p, 0) * .92s);
}
@keyframes orbitData {
  0%        { transform: translateX(268px); opacity: 0; }
  6%        { opacity: 1; }
  36%       { transform: translateX(8px); opacity: 1; }
  40%, 100% { transform: translateX(8px); opacity: 0; }
}
.orbit__chip {
  position: absolute;
  top: 0; left: 280px;
  white-space: nowrap;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(20, 32, 58, .92);
  border: 1px solid rgba(45, 212, 191, .35);
  border-radius: 999px;
  padding: .4rem .85rem;
  box-shadow: 0 6px 18px rgba(2, 8, 23, .5);
  transform: translate(-50%, -50%) rotate(calc(var(--a, 0deg) * -1));
  animation: orbitCounter 44s linear infinite;
}
@keyframes orbitCounter {
  from { transform: translate(-50%, -50%) rotate(calc(var(--a, 0deg) * -1)); }
  to   { transform: translate(-50%, -50%) rotate(calc(var(--a, 0deg) * -1 - 360deg)); }
}

/* ---------- ERP dashboard mock ---------- */
.split__visual { position: relative; }
.dash {
  position: relative;
  z-index: 2;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s ease;
}
.split__visual:hover .dash { transform: perspective(1200px) rotateY(0) rotateX(0); }
.dash--flash { animation: dashFlash .9s ease; }
@keyframes dashFlash {
  0%   { box-shadow: 0 0 0 0 rgba(45, 212, 191, .5), var(--shadow); }
  100% { box-shadow: 0 0 0 22px rgba(45, 212, 191, 0), var(--shadow); }
}
.dash__bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .8rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}
.dash__dot { width: 10px; height: 10px; border-radius: 50%; }
.dash__title {
  margin-left: .6rem;
  font-size: .78rem;
  color: var(--muted);
  font-family: var(--font-head);
}
.dash__body { padding: 1.2rem; display: grid; gap: 1.1rem; }

.dash__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.kpi {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .8rem .9rem;
  display: grid;
  gap: .15rem;
}
.kpi__label { font-size: .68rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.kpi__num { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }
.kpi__trend { font-size: .68rem; color: var(--muted); }
.kpi__trend.up { color: var(--teal); }

.dash__chart { position: relative; height: 130px; }
.chart__bars {
  position: absolute;
  inset: 0 0 6px 0;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}
.chart__bars i {
  flex: 1;
  height: 0;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, rgba(45, 212, 191, .9), rgba(79, 70, 229, .55));
  transition: height 1.1s cubic-bezier(.22, 1, .36, 1);
}
.in-view .chart__bars i { height: var(--h); }
.in-view .chart__bars i:nth-child(2) { transition-delay: .08s; }
.in-view .chart__bars i:nth-child(3) { transition-delay: .16s; }
.in-view .chart__bars i:nth-child(4) { transition-delay: .24s; }
.in-view .chart__bars i:nth-child(5) { transition-delay: .32s; }
.in-view .chart__bars i:nth-child(6) { transition-delay: .40s; }
.in-view .chart__bars i:nth-child(7) { transition-delay: .48s; }
.in-view .chart__bars i:nth-child(8) { transition-delay: .56s; }
.chart__base {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--line);
}

.dash__feed { display: grid; gap: .45rem; }
.feed__row {
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  gap: .55rem;
  align-items: baseline;
  padding: .2rem .5rem;
  border-radius: 8px;
}
.feed__ok { color: var(--teal); font-weight: 700; }
.feed__row--new { animation: feedIn 1.5s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes feedIn {
  0%   { opacity: 0; transform: translateY(-10px); background: rgba(45, 212, 191, .22); color: var(--text); }
  22%  { opacity: 1; transform: translateY(0); background: rgba(45, 212, 191, .16); color: var(--text); }
  100% { background: transparent; color: var(--muted); }
}

.dash__shadow {
  position: absolute;
  inset: auto 8% -26px 8%;
  height: 50px;
  background: rgba(2, 8, 23, .7);
  filter: blur(28px);
  border-radius: 50%;
  z-index: 1;
}

/* ---------- Automation belt ---------- */
.belt {
  position: relative;
  height: 190px;
  margin: 3rem 0 3.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(148, 163, 184, .05) 38px 40px),
    var(--panel);
  overflow: hidden;
}
.belt::before, .belt::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 110px;
  z-index: 3;
  pointer-events: none;
}
.belt::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.belt::after  { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }

.belt__lane { position: absolute; inset: 0; }

.belt-chip {
  position: absolute;
  left: -240px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: .86rem;
  font-weight: 600;
  border-radius: 999px;
  padding: .55rem 1.05rem;
  animation: beltMove var(--dur, 22s) linear infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}
/* let readers stop the belt */
.belt:hover .belt-chip { animation-play-state: paused; }
.belt-chip .face { display: inline-flex; align-items: center; gap: .45rem; }
.belt-chip .face--done { display: none; }
/* swap appearance mid-journey */
.belt-chip {
  background: rgba(148, 163, 184, .12);
  border: 1px solid rgba(148, 163, 184, .3);
  color: #b6c2d4;
  transition: background .45s, border-color .45s, color .45s, box-shadow .45s;
}
.belt-chip.is-done { background: rgba(45, 212, 191, .14); border-color: rgba(45, 212, 191, .55); color: var(--teal); box-shadow: 0 0 22px rgba(45, 212, 191, .35); }
.belt-chip.is-done .face--raw { display: none; }
.belt-chip.is-done .face--done { display: inline-flex; animation: facePop .6s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes facePop {
  from { transform: scale(.4); }
  to   { transform: scale(1); }
}
/* burst ring at the moment of transformation */
.belt-chip::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 999px;
  border: 2px solid rgba(45, 212, 191, .9);
  opacity: 0;
  pointer-events: none;
}
.belt-chip.is-done::after { animation: burstRing .75s ease-out; }
/* chips already past the core when the belt enters view flip without fanfare */
.belt-chip.is-pre::after { animation: none; }
.belt-chip.is-pre .face--done { animation: none; }
@keyframes burstRing {
  from { transform: scale(.55); opacity: .95; }
  to   { transform: scale(1.9); opacity: 0; }
}

@keyframes beltMove {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(100vw + 480px)); }
}

.belt__core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  display: grid;
  place-items: center;
  text-align: center;
}
.core__chip {
  width: 74px; height: 74px;
  border-radius: 20px;
  background: #0d1526;
  display: grid;
  place-items: center;
  box-shadow: 0 0 40px rgba(45, 212, 191, .4);
  animation: coreGlow 2.6s ease-in-out infinite alternate;
}
.core__chip img { width: 72%; height: 72%; object-fit: contain; }
@keyframes coreGlow {
  from { box-shadow: 0 0 26px rgba(45, 212, 191, .3); }
  to   { box-shadow: 0 0 56px rgba(99, 102, 241, .55); }
}
.core__label {
  margin-top: .55rem;
  font-family: var(--font-head);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.core__ring {
  position: absolute;
  top: 37px; left: 50%;
  width: 74px; height: 74px;
  border: 1px solid rgba(45, 212, 191, .5);
  border-radius: 24px;
  transform: translate(-50%, -50%);
  animation: ringOut 2.6s ease-out infinite;
  pointer-events: none;
}
.core__ring--2 { animation-delay: 1.3s; }
@keyframes ringOut {
  from { transform: translate(-50%, -50%) scale(1); opacity: .8; }
  to   { transform: translate(-50%, -50%) scale(2.1); opacity: 0; }
}

.autogrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.autocard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  transition: transform .3s, border-color .3s;
}
.autocard:hover { transform: translateY(-6px); border-color: rgba(129, 140, 248, .45); }
.autocard h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  margin-bottom: .5rem;
  color: var(--teal);
}
.autocard p { color: var(--muted); font-size: .93rem; }

/* ---------- Chat mock ---------- */
.chat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.chat__bar {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
  font-size: .85rem;
}
.chat__bar small { color: var(--muted); }
.chat__avatar {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: #0d1526;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.chat__avatar img { width: 76%; height: 76%; object-fit: contain; }
.chat__status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .75rem;
  color: var(--teal);
}
.chat__body {
  padding: 1.2rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.msg {
  max-width: 82%;
  padding: .7rem 1rem;
  border-radius: 14px;
  font-size: .88rem;
  line-height: 1.5;
  animation: msgIn .4s ease both;
}
.msg--user {
  align-self: flex-end;
  background: rgba(129, 140, 248, .16);
  border: 1px solid rgba(129, 140, 248, .3);
  border-bottom-right-radius: 4px;
}
.msg--bot {
  align-self: flex-start;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  color: var(--muted);
}
.msg--bot strong { color: var(--text); }
@keyframes msgIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.typing { display: inline-flex; gap: 4px; padding: .3rem 0; }
.typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: tdot 1.1s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes tdot { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-5px); } }

/* ---------- Document scan mock ---------- */
.docscan {
  margin-top: 1.2rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.docscan__bar {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem 1.1rem;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
  font-family: var(--font-head);
  font-size: .78rem;
  color: var(--muted);
}
.docscan__grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1.2rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
}
.docscan__doc {
  position: relative;
  height: 168px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  padding: 14px 12px;
  display: grid;
  gap: 9px;
  align-content: start;
  overflow: hidden;
}
.doc__line {
  height: 7px;
  border-radius: 4px;
  background: rgba(148, 163, 184, .22);
  animation: lineLit 7s linear infinite;
  animation-delay: calc(.4s + var(--i, 0) * .36s);
}
@keyframes lineLit {
  0%        { background: rgba(148, 163, 184, .22); box-shadow: none; }
  2%        { background: rgba(45, 212, 191, .8);  box-shadow: 0 0 10px rgba(45, 212, 191, .5); }
  10%, 72%  { background: rgba(45, 212, 191, .38); box-shadow: none; }
  82%, 100% { background: rgba(148, 163, 184, .22); box-shadow: none; }
}
.doc__beam {
  position: absolute;
  left: 0; right: 0;
  top: -22%;
  height: 34px;
  background: linear-gradient(180deg, transparent, rgba(45, 212, 191, .3) 48%, rgba(45, 212, 191, .75) 50%, rgba(45, 212, 191, .3) 52%, transparent);
  animation: beamSweep 7s linear infinite;
  pointer-events: none;
}
@keyframes beamSweep {
  0%        { top: -22%; opacity: 1; }
  55%       { top: 105%; opacity: 1; }
  56%, 100% { top: 105%; opacity: 0; }
}
.docscan__out { display: grid; gap: .55rem; }
.extract {
  width: max-content;
  max-width: 100%;
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(45, 212, 191, .1);
  border: 1px solid rgba(45, 212, 191, .35);
  border-radius: 999px;
  padding: .35rem .85rem;
  opacity: 0;
  animation: extractIn 7s ease infinite;
  animation-delay: calc(.9s + var(--i, 0) * .8s);
}
@keyframes extractIn {
  0%        { opacity: 0; transform: translateX(-12px); }
  4%, 62%   { opacity: 1; transform: translateX(0); }
  70%, 100% { opacity: 0; transform: translateX(0); }
}

/* ---------- Ticks list ---------- */
.ticks {
  list-style: none;
  display: grid;
  gap: .7rem;
  margin-bottom: 2rem;
}
.ticks li {
  display: flex;
  gap: .7rem;
  align-items: baseline;
  color: var(--text);
  font-size: .98rem;
}
.ticks li::before {
  content: "✓";
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 7px;
  background: rgba(45, 212, 191, .12);
  border: 1px solid rgba(45, 212, 191, .3);
  color: var(--teal);
  font-size: .75rem;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  transform: translateY(3px);
}

/* ---------- Process steps ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.6rem;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 44px; left: 4%; right: 4%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, .4), rgba(129, 140, 248, .4), transparent);
}
/* traveling spark along the connector line */
.steps::after {
  content: "";
  position: absolute;
  top: 43px; left: 4%;
  width: 90px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--teal), var(--indigo), transparent);
  box-shadow: 0 0 18px rgba(45, 212, 191, .7);
  animation: sparkMove 9s linear infinite;
  pointer-events: none;
}
@keyframes sparkMove {
  0%       { left: 4%; opacity: 0; }
  5%, 92%  { opacity: 1; }
  100%     { left: calc(96% - 90px); opacity: 0; }
}
.step {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.4rem;
  position: relative;
  transition: transform .3s, border-color .3s;
}
/* each step lights up as the spark passes overhead */
.step::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(260px 130px at 50% 0%, rgba(45, 212, 191, .18), transparent 70%);
  opacity: 0;
  animation: stepGlow 9s linear infinite;
  animation-delay: calc(.8s + var(--d, 0) * 2.45s);
  pointer-events: none;
}
@keyframes stepGlow {
  0%, 16%, 100% { opacity: 0; }
  4%, 9%        { opacity: 1; }
}
.step:hover { transform: translateY(-6px); border-color: rgba(45, 212, 191, .4); }
.step__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: .85;
}
.step h3 { font-family: var(--font-head); font-size: 1.05rem; margin: .6rem 0 .45rem; }
.step p { color: var(--muted); font-size: .9rem; }

/* ---------- CTA ---------- */
.section--cta {
  background:
    radial-gradient(700px 380px at 15% 10%, rgba(15, 118, 110, .16), transparent 60%),
    radial-gradient(700px 380px at 90% 90%, rgba(79, 70, 229, .14), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
}
.cta {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 4rem;
  align-items: center;
}
.cta__form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  display: grid;
  gap: 1.1rem;
  box-shadow: var(--shadow);
}
.field { display: grid; gap: .4rem; }
.field label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: .03em;
}
.field__opt { font-weight: 400; opacity: .65; }
.field input, .field select, .field textarea {
  background: rgba(255, 255, 255, .035);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .75rem .95rem;
  color: var(--text);
  font: inherit;
  font-size: .92rem;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
  resize: vertical;
}
.field select option { background: var(--panel-2); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45, 212, 191, .15);
}
.field input::placeholder, .field textarea::placeholder { color: #5d7190; }
.field input.is-invalid, .field textarea.is-invalid {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(251, 113, 133, .15);
}
.field__err {
  display: none;
  font-size: .76rem;
  color: var(--rose);
  margin-top: .25rem;
}
.field__err.is-visible { display: block; }

/* submit button states */
.btn__spinner { display: none; }
#submitBtn.is-loading .btn__label { opacity: 0; }
#submitBtn.is-loading .btn__spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(6, 18, 31, .35);
  border-top-color: #06121f;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  position: absolute;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* form feedback banner */
.form__feedback {
  font-size: .82rem;
  text-align: center;
  min-height: 1.4em;
  border-radius: 10px;
  padding: .55rem .8rem;
  transition: opacity .3s;
}
.form__feedback:empty { padding: 0; }
.form__feedback--ok  { background: rgba(45, 212, 191, .12); border: 1px solid rgba(45, 212, 191, .3); color: var(--teal); }
.form__feedback--err { background: rgba(251, 113, 133, .1);  border: 1px solid rgba(251, 113, 133, .3); color: var(--rose); }

/* ---------- Footer ---------- */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  background: #0a101d;
}
.footer__inner {
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  text-align: center;
}
.footer__tag { color: var(--muted); font-size: .92rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.4rem; justify-content: center; }
.footer__links a {
  color: var(--muted);
  font-size: .88rem;
  transition: color .2s;
}
.footer__links a:hover { color: var(--teal); }
.footer__copy { color: #5d7190; font-size: .78rem; margin-top: .6rem; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.22, 1, .36, 1), transform .8s cubic-bezier(.22, 1, .36, 1);
  transition-delay: calc(var(--d, 0) * .12s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before, .steps::after { display: none; }
  .step::before { display: none; }
  .orbit { display: none; }
  .split, .cta { grid-template-columns: 1fr; gap: 2.6rem; }
  .split--rev .split__copy { order: 0; }
}
@media (max-width: 1340px) {
  .float-card { display: none; }
}
@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(12, 19, 34, .97);
    border-bottom: 1px solid var(--line);
    padding: .6rem 0 1rem;
    transform: translateY(-130%);
    transition: transform .35s ease;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a { padding: .8rem 6%; }
  .nav__burger { display: flex; }
  .pillars, .autogrid, .steps { grid-template-columns: 1fr; }
  .modlist { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .belt { height: 160px; }
  .dash { transform: none; }
  .docscan__grid { grid-template-columns: 120px 1fr; gap: .9rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .belt-chip { display: none; }
  .doc__beam, .steps::after, .orbit__sat::after { display: none; }
  .extract { opacity: 1 !important; animation: none !important; }
}
