/* ---------- tokens ---------- */
:root {
  --bg: #05040c;
  --bg-2: #0a0816;
  --ink: #ecebf5;
  --ink-dim: #9a99b3;
  --ink-neon: #c8f7ff;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --card: rgba(255, 255, 255, 0.03);
  --card-2: rgba(255, 255, 255, 0.06);
  --brand-1: #8b5cff;
  --brand-2: #00f0d0;
  --brand-3: #ff2e88;
  --neon-violet: #8b5cff;
  --neon-cyan: #00f0d0;
  --neon-magenta: #ff2e88;
  --neon-amber: #ffb000;
  --danger: #ff3860;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --shadow: 0 30px 80px -30px rgba(124, 92, 255, 0.35), 0 10px 30px -15px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ---------- aurora background ---------- */
.aurora {
  position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(1200px 800px at 80% -10%, #042017 0%, transparent 60%),
              radial-gradient(900px 700px at -10% 30%, #04131f 0%, transparent 55%),
              linear-gradient(180deg, #05040c 0%, #0a0816 60%, #05040c 100%);
  overflow: hidden;
}
.aurora .orb {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: .42;
  mix-blend-mode: screen;
  animation: float 22s ease-in-out infinite;
}
.orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, #8b5cff, transparent 60%); top: -120px; left: -120px; }
.orb-2 { width: 460px; height: 460px; background: radial-gradient(circle, #00f0d0, transparent 60%); top: 30%; right: -140px; animation-delay: -7s; }
.orb-3 { width: 420px; height: 420px; background: radial-gradient(circle, #ff006e, transparent 60%); bottom: -160px; left: 30%; animation-delay: -14s; opacity: .28; }
.aurora .grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 240, 208, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(139, 92, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 80%);
  animation: gridDrift 50s linear infinite;
}
@keyframes gridDrift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 56px 56px, 56px 56px; }
}
/* scanlines overlay (CRT feel) */
.aurora::after {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.025) 0px,
    rgba(255, 255, 255, 0.025) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  mix-blend-mode: overlay;
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(30px, -40px, 0) scale(1.08); }
}

/* ---------- layout helpers ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(64px, 10vw, 128px) clamp(20px, 4vw, 40px);
}
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 5vw, 64px);
  text-align: center;
}
.section-head h2 {
  font-family: 'Space Grotesk', Inter, sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
}
.section-head p { color: var(--ink-dim); font-size: clamp(16px, 1.6vw, 18px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--neon-cyan);
  padding: 8px 14px 8px 12px;
  border: 1px solid rgba(0, 240, 208, 0.3);
  border-radius: 6px;
  background: rgba(0, 240, 208, 0.04);
  backdrop-filter: blur(10px);
  box-shadow: 0 0 18px -6px rgba(0, 240, 208, 0.5), inset 0 0 14px -8px rgba(0, 240, 208, 0.3);
}
.eyebrow::before {
  content: ">_";
  color: var(--neon-magenta);
  font-weight: 600;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(255, 46, 136, 0.6);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan), 0 0 0 4px rgba(0, 240, 208, 0.15);
}

.grad {
  background: linear-gradient(100deg, var(--neon-violet) 0%, var(--neon-cyan) 55%, var(--neon-magenta) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.muted { color: var(--ink-dim); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 4vw, 40px);
  max-width: var(--maxw);
  margin: 0 auto;
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
}
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--neon-violet), var(--neon-cyan));
  box-shadow:
    0 0 24px -4px rgba(0, 240, 208, 0.7),
    0 0 12px -2px rgba(139, 92, 255, 0.5),
    inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.brand-mark svg { width: 22px; height: 22px; }
.brand-mark .logo-cursor { animation: cursorBlink 1.1s steps(1) infinite; transform-origin: center; }
.brand-text { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.01em; font-size: 17px; display: inline-flex; align-items: center; gap: 6px; }
.brand-text em { font-style: normal; color: var(--ink-dim); font-weight: 500; }
.brand-text .cursor {
  display: inline-block;
  width: 7px; height: 0.95em;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  vertical-align: -2px;
  animation: cursorBlink 1.1s steps(1) infinite;
}
@keyframes cursorBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a {
  padding: 10px 14px; border-radius: 6px; font-size: 13px; font-family: var(--font-mono); color: var(--ink-dim);
  transition: color .2s var(--ease), background .2s var(--ease), text-shadow .2s var(--ease);
}
.nav-links a:hover { color: var(--neon-cyan); text-shadow: 0 0 8px rgba(0, 240, 208, 0.6); }
.nav-links .nav-cta {
  color: var(--neon-cyan);
  background: rgba(0, 240, 208, 0.05);
  border: 1px solid rgba(0, 240, 208, 0.3);
  text-shadow: 0 0 8px rgba(0, 240, 208, 0.4);
}
.nav-links .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 0 20px -4px rgba(0, 240, 208, 0.5); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-weight: 500; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid var(--line-2);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  cursor: pointer;
}
.btn-primary {
  color: #05040c;
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  box-shadow:
    0 0 24px -4px rgba(0, 240, 208, 0.7),
    0 0 8px -2px rgba(139, 92, 255, 0.5),
    inset 0 0 0 1px rgba(0, 0, 0, 0.2);
  text-shadow: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 36px -4px rgba(0, 240, 208, 0.9),
    0 0 16px -2px rgba(139, 92, 255, 0.7),
    inset 0 0 0 1px rgba(0, 0, 0, 0.2);
}
.btn-ghost {
  background: transparent;
  color: var(--neon-cyan);
  border-color: rgba(139, 92, 255, 0.35);
  text-shadow: 0 0 8px rgba(139, 92, 255, 0.5);
}
.btn-ghost:hover {
  background: rgba(139, 92, 255, 0.06);
  box-shadow: 0 0 22px -6px rgba(139, 92, 255, 0.7);
}
.btn-full { width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 8vw, 110px) clamp(20px, 4vw, 40px) clamp(40px, 6vw, 80px);
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
/* horizontal scan sweep */
.hero::before {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 240, 208, 0.85) 50%, transparent 100%);
  box-shadow: 0 0 22px rgba(0, 240, 208, 0.8);
  pointer-events: none;
  animation: heroScan 7s linear infinite;
  mix-blend-mode: screen;
}
@keyframes heroScan {
  0%   { top: 0;    opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 18px 0 22px;
  text-shadow: 0 0 50px rgba(0, 240, 208, 0.2);
}
/* chromatic-aberration glitch on the gradient word */
.glitch { position: relative; display: inline-block; }
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0; width: 100%;
  background: none;
  -webkit-background-clip: initial; background-clip: initial;
  -webkit-text-fill-color: currentColor;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .75;
}
.glitch::before {
  color: var(--neon-cyan);
  animation: glitchA 5s ease-in-out infinite;
}
.glitch::after {
  color: var(--neon-amber);
  animation: glitchB 5s ease-in-out infinite;
}
@keyframes glitchA {
  0%, 100% { transform: translate(0, 0); opacity: .6; }
  20%      { transform: translate(-2px, 1px); opacity: .8; }
  40%      { transform: translate(-3px, -1px); opacity: .5; }
  60%      { transform: translate(1px, 2px); opacity: .7; }
  80%      { transform: translate(-1px, -2px); opacity: .6; }
}
@keyframes glitchB {
  0%, 100% { transform: translate(0, 0); opacity: .6; }
  20%      { transform: translate(2px, -1px); opacity: .5; }
  40%      { transform: translate(3px, 1px); opacity: .8; }
  60%      { transform: translate(-1px, -2px); opacity: .6; }
  80%      { transform: translate(1px, 2px); opacity: .7; }
}
.hero .lede {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--ink-dim);
  max-width: 58ch;
  margin: 0 0 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }

.hero-stats {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 520px;
}
.hero-stats li {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  backdrop-filter: blur(10px);
}
.hero-stats strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--neon-cyan);
  text-shadow: 0 0 14px rgba(0, 240, 208, 0.55);
}
.hero-stats span { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- hero card (quick form) ---------- */
.hero-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(130%);
}
.hero-card-glow {
  position: absolute; inset: -1px;
  border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(0, 240, 208, 0.6), transparent 40%, rgba(139, 92, 255, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.hero-card h2 { font-family: 'Space Grotesk', sans-serif; font-size: 24px; margin: 0 0 6px; letter-spacing: -0.01em; }
.hero-card .muted { margin: 0 0 20px; font-size: 14px; }

.quick-form { display: grid; gap: 12px; }
.quick-form label { display: grid; gap: 6px; }
.quick-form label span { font-size: 12px; color: var(--ink-dim); font-weight: 500; }
.quick-form input,
.quick-form textarea,
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  color: var(--ink);
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.quick-form input::placeholder,
.quick-form textarea::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #65637e; }
.quick-form input:focus,
.quick-form textarea:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 240, 208, 0.6);
  background: rgba(0, 240, 208, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 240, 208, 0.14), 0 0 18px -4px rgba(0, 240, 208, 0.4);
  color: var(--neon-cyan);
}
.form-note { margin: 6px 2px 0; font-size: 12px; color: var(--ink-dim); }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee .track {
  display: inline-flex; gap: 42px;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
  color: var(--ink-dim);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  letter-spacing: 0.04em;
}
.marquee .track span:nth-child(even) { color: rgba(255, 255, 255, 0.2); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- capability cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 240, 208, 0.14), transparent 40%);
  opacity: 0; transition: opacity .3s var(--ease);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 240, 208, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 240, 208, 0.3), 0 24px 60px -20px rgba(0, 240, 208, 0.35);
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 46px; height: 46px; border-radius: 8px;
  display: grid; place-items: center;
  color: var(--neon-cyan);
  background: rgba(0, 240, 208, 0.06);
  border: 1px solid rgba(0, 240, 208, 0.28);
  box-shadow: 0 0 22px -6px rgba(0, 240, 208, 0.5), inset 0 0 12px -6px rgba(0, 240, 208, 0.4);
  margin-bottom: 18px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 22px; margin: 0 0 10px; letter-spacing: -0.01em; }
.card p { color: var(--ink-dim); margin: 0 0 16px; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  font-family: var(--font-mono);
  font-size: 11px; padding: 6px 10px; border-radius: 999px;
  background: var(--card-2); border: 1px solid var(--line);
  color: var(--neon-cyan);
  letter-spacing: 0.04em;
}

/* ---------- solutions grid ---------- */
.solutions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 720px) { .solutions { grid-template-columns: 1fr; } }
.solution {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.solution:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 240, 208, 0.45);
  background: rgba(0, 240, 208, 0.03);
  box-shadow: 0 0 0 1px rgba(0, 240, 208, 0.3), 0 18px 40px -16px rgba(139, 92, 255, 0.3);
}
.sol-num {
  font-family: var(--font-mono);
  font-size: 22px;
  letter-spacing: 0;
  color: var(--neon-magenta);
  text-shadow: 0 0 12px rgba(255, 46, 136, 0.6);
}
.solution h3 { margin: 0 0 4px; font-family: 'Space Grotesk', sans-serif; font-size: 20px; letter-spacing: -0.01em; }
.solution p { margin: 0; color: var(--ink-dim); font-size: 14px; }
.sol-arrow {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 6px;
  border: 1px solid var(--line-2);
  font-size: 18px; color: var(--ink);
  transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.solution:hover .sol-arrow {
  transform: translateX(4px);
  background: var(--neon-cyan);
  color: #05040c;
  border-color: transparent;
  box-shadow: 0 0 24px -4px rgba(0, 240, 208, 0.8);
}

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }
.about h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 12px 0 18px;
}
.about p { color: var(--ink-dim); font-size: 17px; margin: 0 0 24px; }
.rating { display: flex; flex-direction: column; gap: 4px; }
.stars {
  font-size: 22px; letter-spacing: 4px;
  color: var(--neon-amber);
  text-shadow: 0 0 14px rgba(255, 176, 0, 0.6);
}

.about-panel {
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(0, 240, 208, 0.25);
  background: #07061a;
  box-shadow: 0 30px 80px -30px rgba(0, 240, 208, 0.35), 0 0 36px -12px rgba(139, 92, 255, 0.35);
  font-family: var(--font-mono);
  font-size: 12.5px;
  overflow: hidden;
}
.panel-head {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: rgba(0, 240, 208, 0.06);
  border-bottom: 1px solid rgba(0, 240, 208, 0.2);
}
.panel-dots { display: inline-flex; gap: 6px; }
.panel-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #2a3a2a;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.panel-dots i:nth-child(1) { background: #ff5f56; }
.panel-dots i:nth-child(2) { background: #ffbd2e; }
.panel-dots i:nth-child(3) { background: var(--neon-cyan); box-shadow: 0 0 6px var(--neon-cyan); }
.panel-title {
  color: var(--ink-dim); font-size: 11px; letter-spacing: 0.05em;
  flex: 1;
}
.panel-live {
  color: var(--neon-cyan); font-size: 10px; letter-spacing: 0.1em;
  text-shadow: 0 0 8px rgba(0, 240, 208, 0.7);
  animation: pulse 1.8s ease-in-out infinite;
}
.panel-body { padding: 18px 16px 16px; }
.panel-row .ts { color: var(--neon-magenta); font-size: 11px; opacity: .75; min-width: 78px; }
.panel-row .svc { color: var(--ink); flex: 1; padding: 0 10px; }
.panel-row i.ok { color: var(--neon-cyan); text-shadow: 0 0 8px rgba(0, 240, 208, 0.7); font-size: 11px; letter-spacing: 0.08em; }
.panel-row i.ok.warn { color: var(--neon-magenta); text-shadow: 0 0 8px rgba(255, 46, 136, 0.7); }
.panel-row {
  display: flex; align-items: center;
  padding: 8px 2px;
  border-bottom: 1px dashed rgba(0, 240, 208, 0.1);
  font-size: 12.5px;
  font-family: var(--font-mono);
}
.panel-row:last-of-type { border-bottom: 0; }
.panel-row i { font-style: normal; font-size: 11px; }
.panel-bar {
  height: 8px; border-radius: 99px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
  margin: 12px 0;
}
.panel-bar-fill {
  height: 100%; width: 94%;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-cyan));
  border-radius: inherit;
  animation: pulse 3.2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(0, 240, 208, 0.6);
}
@keyframes pulse { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
.panel-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.1em; }
.panel-foot strong { color: var(--neon-cyan); font-size: 14px; text-shadow: 0 0 10px rgba(0, 240, 208, 0.6); }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto;
}

.contact-form {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-2);
  display: grid;
  gap: 16px;
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .contact-form .row { grid-template-columns: 1fr; } }
.contact-form label { display: grid; gap: 6px; }
.contact-form label span { font-size: 12px; color: var(--ink-dim); font-weight: 500; }
.contact-form button { justify-self: start; }

/* ---------- footer ---------- */
.footer {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px clamp(20px, 4vw, 40px) 40px;
  border-top: 1px solid var(--line);
}
.foot-top {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 32px;
}
.foot-top p { max-width: 420px; margin: 0; text-align: right; font-size: 14px; }
@media (max-width: 700px) { .foot-top p { text-align: left; } }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-dim);
  flex-wrap: wrap;
}
.foot-bottom a:hover { color: var(--ink); }

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- matrix rain canvas ---------- */
#matrix {
  position: fixed; inset: 0; z-index: -1;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: screen;
}

/* ---------- honeypot ---------- */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---------- extra animations ---------- */
/* hero gradient sweep on the headline */
.hero h1 .grad {
  background-size: 220% 100%;
  animation: sweep 9s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(0, 240, 208, 0.35));
}
@keyframes sweep {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

/* eyebrow dot pulse */
.eyebrow .dot { animation: dotPulse 2.4s ease-in-out infinite; }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(0, 240, 208, 0.6), 0 0 0 4px rgba(0, 240, 208, 0.15); }
  50%      { box-shadow: 0 0 14px rgba(0, 240, 208, 0.8), 0 0 0 8px rgba(0, 240, 208, 0.05); }
}

/* hero-card subtle tilt on hover */
.hero-card { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) {
  .hero-card:hover { transform: translateY(-4px) rotateX(1deg); }
}

/* button shimmer */
.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(124, 92, 255, 0.25) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
  z-index: -1;
}
.btn-primary:hover::after { transform: translateX(120%); }

/* solution hover: reveal a thin gradient bar at the bottom */
.solution { overflow: hidden; }
.solution::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2), var(--brand-3));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.solution:hover::before { transform: scaleX(1); }

/* card icon idle float */
.card-icon {
  animation: iconFloat 5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * .6s);
}
.card:nth-child(1) { --i: 0; }
.card:nth-child(2) { --i: 1; }
.card:nth-child(3) { --i: 2; }
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* stats count-in */
.hero-stats li {
  opacity: 0; transform: translateY(16px);
  animation: fadeUp .8s var(--ease) forwards;
}
.hero-stats li:nth-child(1) { animation-delay: .15s; }
.hero-stats li:nth-child(2) { animation-delay: .3s; }
.hero-stats li:nth-child(3) { animation-delay: .45s; }
@keyframes fadeUp {
  to { opacity: 1; transform: none; }
}

/* hero reveal stagger for heading + lede + cta */
.hero-copy > * {
  opacity: 0; transform: translateY(18px);
  animation: fadeUp .9s var(--ease) forwards;
}
.hero-copy > :nth-child(1) { animation-delay: .05s; }
.hero-copy > :nth-child(2) { animation-delay: .15s; }
.hero-copy > :nth-child(3) { animation-delay: .25s; }
.hero-copy > :nth-child(4) { animation-delay: .35s; }
.hero-copy > :nth-child(5) { animation-delay: .45s; }

/* section headings tiny emphasis when revealed */
.section-head h2 .grad {
  background-size: 220% 100%;
  animation: sweep 10s ease-in-out infinite;
}

/* orbs breathing variation */
.orb-1 { animation-duration: 18s; }
.orb-2 { animation-duration: 24s; }
.orb-3 { animation-duration: 30s; }

/* panel rows typewriter-like stagger */
.panel-row {
  opacity: 0; transform: translateX(-8px);
  animation: slideIn .6s var(--ease) forwards;
}
.panel-row:nth-child(1) { animation-delay: .2s; }
.panel-row:nth-child(2) { animation-delay: .35s; }
.panel-row:nth-child(3) { animation-delay: .5s; }
.panel-row:nth-child(4) { animation-delay: .65s; }
@keyframes slideIn { to { opacity: 1; transform: none; } }

/* footer arrow wiggle */
.foot-bottom a { transition: transform .3s var(--ease); display: inline-block; }
.foot-bottom a:hover { transform: translateY(-2px); }

/* ---------- responsive: tablet ---------- */
@media (max-width: 1024px) {
  .section { padding-left: 24px; padding-right: 24px; }
  .cards { gap: 16px; }
}

/* ---------- responsive: mobile ---------- */
@media (max-width: 720px) {
  :root { --radius-lg: 22px; }
  .nav { padding: 14px 18px; gap: 10px; }
  .nav-links { gap: 4px; }
  .brand-text { font-size: 15px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-mark svg { width: 18px; height: 18px; }

  .hero { padding-top: 24px; padding-bottom: 40px; gap: 28px; }
  .hero h1 { font-size: clamp(38px, 11vw, 62px); letter-spacing: -0.03em; }
  .hero .lede { font-size: 16px; margin-bottom: 24px; }
  .hero-cta { gap: 10px; margin-bottom: 28px; }
  .hero-cta .btn { flex: 1; min-width: 140px; padding: 14px 18px; }

  .hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hero-stats li { padding: 14px 10px; }
  .hero-stats strong { font-size: 20px; }
  .hero-stats span { font-size: 11px; }

  .hero-card { padding: 22px; border-radius: 20px; }
  .hero-card h2 { font-size: 20px; }

  .marquee .track { font-size: 15px; gap: 28px; }

  .section { padding: 64px 18px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: clamp(28px, 8vw, 40px); }
  .section-head p { font-size: 15px; }

  .cards { gap: 14px; }
  .card { padding: 22px; }
  .card h3 { font-size: 19px; }

  .solutions { gap: 12px; }
  .solution {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 6px 18px;
    padding: 20px 22px;
  }
  .solution .sol-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: end; }
  .sol-num { grid-row: 1 / span 2; align-self: center; font-size: 24px; }
  .solution h3 { font-size: 18px; }

  .about { gap: 28px; }
  .about h2 { font-size: clamp(26px, 7.5vw, 40px); }

  .contact-form { padding: 22px; border-radius: 20px; }
  .contact-form .row { gap: 12px; }

  .footer { padding: 44px 18px 32px; }
  .foot-top { flex-direction: column; align-items: flex-start; gap: 12px; }
  .foot-top p { text-align: left; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- responsive: small mobile ---------- */
@media (max-width: 480px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links .nav-cta { padding: 10px 14px; font-size: 13px; }
  .hero h1 { font-size: clamp(34px, 12vw, 54px); }
  .hero-stats li { padding: 12px 8px; }
  .hero-stats strong { font-size: 18px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .btn { padding: 13px 20px; font-size: 14px; }
  .marquee { padding: 14px 0; }
}

/* ---------- touch device polish ---------- */
@media (hover: none) {
  .card:hover { transform: none; }
  .solution:hover { transform: none; }
  .btn-primary:hover { transform: none; }
}

/* ---------- safe area (notched phones) ---------- */
@supports (padding: max(0px)) {
  .nav { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
  .footer { padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
}
