/* ════════════════════════════════════════════════════════════════
   MPLOI — "Sovereign Command" design system
   Deep-navy mission-control aesthetic. Space Grotesk display + body
   / JetBrains Mono technical accents. Indigo primary with a
   restrained cyan secondary drawn from the product's chart palette.
   ════════════════════════════════════════════════════════════════ */

:root {
  /* Surfaces */
  --bg-0: #05070d;
  --bg-1: #0b0f19;
  --bg-2: #111827;
  --bg-3: #1f2937;

  /* Brand */
  --ind-300: #a5b4fc;
  --ind-400: #818cf8;
  --ind-500: #6366f1;
  --ind-600: #4f46e5;
  --cyan: #22d3ee;
  --violet: #a78bfa;
  --green: #34d399;

  /* Text */
  --t-hi: #f4f6fb;
  --t-mid: #9aa5bd;
  --t-low: #5c6780;

  /* Lines */
  --line: rgba(129, 140, 248, 0.12);
  --line-hi: rgba(129, 140, 248, 0.35);

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --wrap: 1200px;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 9px;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg-0);
  color: var(--t-hi);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }
::selection { background: rgba(99, 102, 241, 0.45); color: #fff; }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: #232c42; border-radius: 8px; border: 3px solid var(--bg-0); }
::-webkit-scrollbar-thumb:hover { background: var(--ind-600); }

/* ── Atmosphere: fixed gradient mesh + noise + grid ────────────── */
.atmosphere {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(58% 42% at 12% -8%, rgba(99, 102, 241, 0.16) 0%, transparent 60%),
    radial-gradient(45% 38% at 88% 12%, rgba(167, 139, 250, 0.09) 0%, transparent 60%),
    radial-gradient(52% 44% at 82% 92%, rgba(34, 211, 238, 0.06) 0%, transparent 60%),
    var(--bg-0);
}
.atmosphere::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(129, 140, 248, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 140, 248, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(75% 60% at 50% 0%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(75% 60% at 50% 0%, black 0%, transparent 100%);
}
.atmosphere::after {
  content: ''; position: absolute; inset: 0; opacity: 0.05;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── Layout primitives ─────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { position: relative; padding: 110px 0; }
.section--tight { padding: 72px 0; }
.section-divide { border-top: 1px solid var(--line); }

/* Eyebrow: mono terminal label, e.g.  ▸ 01 // BUILD */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ind-400);
}
.eyebrow::before {
  content: ''; width: 22px; height: 1px;
  background: linear-gradient(90deg, var(--ind-500), transparent);
}
.eyebrow .tick { color: var(--cyan); }

/* Display type */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--t-hi);
}
h1.display { font-size: clamp(26px, 7.9vw, 84px); }
h2.display { font-size: clamp(32px, 4.6vw, 54px); }
h3.display { font-size: clamp(24px, 3vw, 34px); font-weight: 700; }

.grad-text {
  background: linear-gradient(100deg, var(--ind-300) 0%, var(--ind-500) 45%, var(--cyan) 110%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  background-size: 200% 100%;
  animation: sheen 7s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--t-mid); line-height: 1.7; }
.body-copy { color: var(--t-mid); line-height: 1.75; }
.body-copy + .body-copy { margin-top: 16px; }

.section-head { max-width: 780px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { justify-content: center; margin-bottom: 18px; }
.section-head .eyebrow::after {
  content: ''; width: 22px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ind-500));
}
.section-head h2 { margin-bottom: 18px; }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 15px 30px; border-radius: 12px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.01em;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  overflow: hidden; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--ind-500), var(--ind-600));
  color: #fff;
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.4) inset, 0 8px 28px -8px rgba(99, 102, 241, 0.55);
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: skewX(-20deg); transition: left 0.55s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(165, 180, 252, 0.6) inset, 0 14px 40px -8px rgba(99, 102, 241, 0.75); }
.btn-primary:hover::after { left: 130%; }
.btn-ghost {
  border: 1px solid var(--line-hi); color: var(--t-hi);
  background: rgba(17, 24, 39, 0.4); backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--ind-400); background: rgba(99, 102, 241, 0.1); transform: translateY(-2px); }
.btn-lg { padding: 18px 38px; font-size: 16px; border-radius: 14px; }
.btn i { font-size: 0.8em; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--ind-400); font-weight: 600; font-size: 15px;
  transition: color 0.2s, gap 0.25s;
}
.link-arrow:hover { color: var(--ind-300); gap: 14px; }

/* ── Navigation ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.35s, border-color 0.35s, box-shadow 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 7, 13, 0.78);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.8);
}
.nav-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-brand img { height: 30px; width: 30px; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.nav-brand:hover img { transform: rotate(90deg); }
.nav-brand span {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: 0.3em; color: var(--t-hi);
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; padding: 9px 15px; font-size: 14.5px; font-weight: 500;
  color: var(--t-mid); border-radius: 9px; transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--t-hi); background: rgba(129, 140, 248, 0.08); }
.nav-link.active { color: var(--ind-300); }
.nav-link.active::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--ind-500), var(--cyan));
}
.nav-cta { margin-left: 12px; padding: 11px 22px; font-size: 14px; }
.nav-burger { display: none; padding: 10px; color: var(--t-mid); font-size: 20px; }

.mobile-panel {
  display: none; overflow: hidden; max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  background: rgba(5, 7, 13, 0.96); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.mobile-panel.open { max-height: 440px; }
.mobile-panel nav { padding: 12px 24px 24px; display: flex; flex-direction: column; gap: 4px; }
.mobile-panel a { padding: 13px 14px; border-radius: 10px; color: var(--t-mid); font-weight: 500; }
.mobile-panel a:hover { background: rgba(129, 140, 248, 0.08); color: var(--t-hi); }
.mobile-panel .btn { margin-top: 12px; justify-content: center; }
.mobile-panel a.btn-primary { color: #fff; }
.mobile-panel a.btn-primary:hover { background: linear-gradient(135deg, var(--ind-500), var(--ind-600)); }

/* ── Hero ──────────────────────────────────────────────────────── */
.hero { position: relative; padding: 190px 0 100px; overflow: clip; }
.hero--sub { padding: 170px 0 80px; }

/* Aurora — slow-drifting light fields behind the hero */
.aurora {
  position: absolute; top: -260px; left: 50%; transform: translateX(-50%);
  width: min(1500px, 130vw); height: 760px;
  pointer-events: none;
}
.aurora::before, .aurora::after {
  content: ''; position: absolute; inset: 0;
  filter: blur(70px);
  will-change: transform;
}
.aurora::before {
  background:
    radial-gradient(42% 46% at 38% 40%, rgba(99, 102, 241, 0.26) 0%, transparent 70%),
    radial-gradient(30% 34% at 68% 28%, rgba(167, 139, 250, 0.15) 0%, transparent 70%);
  animation: aurora-a 19s ease-in-out infinite alternate;
}
.aurora::after {
  background:
    radial-gradient(36% 40% at 62% 55%, rgba(34, 211, 238, 0.11) 0%, transparent 70%),
    radial-gradient(26% 30% at 30% 62%, rgba(99, 102, 241, 0.13) 0%, transparent 70%);
  animation: aurora-b 27s ease-in-out infinite alternate;
}
@keyframes aurora-a {
  from { transform: translate3d(-4%, -2%, 0) scale(1); }
  to   { transform: translate3d(5%, 4%, 0) scale(1.12); }
}
@keyframes aurora-b {
  from { transform: translate3d(4%, 3%, 0) scale(1.06); }
  to   { transform: translate3d(-5%, -4%, 0) scale(0.94); }
}

.hero-glow {
  position: absolute; top: -180px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 560px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(99, 102, 241, 0.22) 0%, transparent 70%);
  filter: blur(20px);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px; border-radius: 100px;
  border: 1px solid var(--line-hi);
  background: rgba(17, 24, 39, 0.55); backdrop-filter: blur(10px);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ind-300);
  margin-bottom: 34px;
}
.hero-badge .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-center { position: relative; text-align: center; max-width: 950px; margin: 0 auto; }
.hero-center h1 { margin-bottom: 28px; }
.hero-center .lead { max-width: 760px; margin: 0 auto 42px; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.trust-strip {
  margin-top: 64px; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px 36px;
}
.trust-strip span {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em;
  color: var(--t-low);
}
.trust-strip i { color: var(--ind-400); font-size: 12px; }

/* ── Browser-framed screenshot ("shot") ────────────────────────── */
.shot-stage { position: relative; max-width: 1060px; margin: 90px auto 0; perspective: 1400px; }
.shot-stage .stage-glow {
  position: absolute; inset: -8% -6%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 55% at 30% 40%, rgba(99, 102, 241, 0.3) 0%, transparent 70%),
    radial-gradient(38% 50% at 72% 60%, rgba(34, 211, 238, 0.14) 0%, transparent 70%);
  filter: blur(28px);
}
.shot {
  position: relative; z-index: 1;
  border-radius: var(--r-lg);
  border: 1px solid rgba(129, 140, 248, 0.25);
  background: var(--bg-1);
  box-shadow:
    0 0 0 1px rgba(5, 7, 13, 0.9),
    0 40px 90px -30px rgba(0, 0, 0, 0.85),
    0 0 80px -20px rgba(99, 102, 241, 0.35);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
}
.shot-bar {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 18px;
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.85), rgba(17, 24, 39, 0.85));
  border-bottom: 1px solid var(--line);
}
.shot-dots { display: flex; gap: 7px; }
.shot-dots i {
  width: 11px; height: 11px; border-radius: 50%; display: block;
  background: #2c374d;
}
.shot-dots i:nth-child(1) { background: #f87171; }
.shot-dots i:nth-child(2) { background: #fbbf24; }
.shot-dots i:nth-child(3) { background: #34d399; }
.shot-url {
  flex: 1; max-width: 420px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 6px 16px; border-radius: 8px;
  background: rgba(5, 7, 13, 0.6); border: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--t-low);
  letter-spacing: 0.03em;
}
.shot-url i { color: var(--green); font-size: 10px; }
.shot img { width: 100%; }

/* Floating status chips around hero shot */
.chip {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 12px;
  background: rgba(11, 15, 25, 0.82); backdrop-filter: blur(12px);
  border: 1px solid var(--line-hi);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--t-hi);
  box-shadow: 0 18px 45px -12px rgba(0, 0, 0, 0.7), 0 0 30px -10px rgba(99, 102, 241, 0.4);
  animation: floaty 7s ease-in-out infinite;
}
.chip i { color: var(--green); }
.chip .c-ind { color: var(--ind-400); }
.chip .c-cyan { color: var(--cyan); }
.chip--tl { top: 8%; left: -70px; animation-delay: -1.5s; }
.chip--tr { top: 20%; right: -76px; animation-delay: -3.5s; }
.chip--bl { bottom: 14%; left: -84px; animation-delay: -5s; }
.chip--br { bottom: 6%; right: -60px; animation-delay: -2.5s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-13px); }
}

/* ── Marquee ───────────────────────────────────────────────────── */
.marquee {
  position: relative; overflow: hidden; padding: 26px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 12%, black 88%, transparent);
}
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.mq-item {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 20px; border-radius: 100px;
  border: 1px solid var(--line); background: rgba(17, 24, 39, 0.5);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.06em;
  color: var(--t-mid); white-space: nowrap;
}
.mq-item i { color: var(--ind-400); font-size: 12px; }

/* Trusted-by logo marquee */
.trusted-label {
  text-align: center; padding: 40px 0 22px;
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.34em; color: var(--t-low);
}
.mq-logo {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 6px 36px; white-space: nowrap;
}
.mq-logo img {
  height: 28px; width: auto; max-width: 170px; object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.55;
  transition: opacity 0.3s;
}
.mq-logo:hover img { opacity: 1; }
.mq-logo--tall img { height: 44px; }
.trusted .marquee { padding: 30px 0; }
.trusted .marquee-track { animation-duration: 38s; align-items: center; }

/* ── Stats band ────────────────────────────────────────────────── */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.stat { background: rgba(11, 15, 25, 0.85); padding: 40px 30px; text-align: center; }
.stat-num {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(34px, 3.6vw, 48px); line-height: 1;
  color: var(--t-hi); margin-bottom: 10px;
}
.stat-num .unit { color: var(--ind-400); font-size: 0.6em; }
.stat-label { font-size: 13.5px; color: var(--t-low); letter-spacing: 0.05em; text-transform: uppercase; font-family: var(--font-mono); }

/* ── Cards ─────────────────────────────────────────────────────── */
.card {
  position: relative; padding: 34px 30px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.66), rgba(11, 15, 25, 0.66));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s, box-shadow 0.35s;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(60% 45% at 50% 0%, rgba(99, 102, 241, 0.14) 0%, transparent 100%);
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-hi); box-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7), 0 0 40px -16px rgba(99, 102, 241, 0.3); }
.card:hover::before { opacity: 1; }
.card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 0 0 12px; }
.card p { font-size: 14.5px; color: var(--t-mid); line-height: 1.7; }

.icon-tile {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.18), rgba(34, 211, 238, 0.07));
  border: 1px solid rgba(129, 140, 248, 0.25);
  color: var(--ind-400); font-size: 20px;
  box-shadow: 0 0 24px -8px rgba(99, 102, 241, 0.4) inset;
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ── Feature (pillar) rows ─────────────────────────────────────── */
.pillar { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; padding: 90px 0; }
.pillar + .pillar { border-top: 1px solid var(--line); }
.pillar--flip .pillar-media { order: -1; }

.ghost-num {
  position: absolute; top: 44px; right: 0; z-index: 0;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(110px, 15vw, 200px); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(129, 140, 248, 0.14);
  pointer-events: none; user-select: none;
}
.pillar--flip .ghost-num { right: auto; left: 0; }

.pillar-copy { position: relative; z-index: 1; min-width: 0; }
.pillar-copy .eyebrow { margin-bottom: 20px; }
.pillar-copy h3 { margin-bottom: 22px; }

.pillar-media { position: relative; z-index: 1; min-width: 0; }
.pillar-media .media-glow {
  position: absolute; inset: -10%; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(99, 102, 241, 0.22) 0%, transparent 70%);
  filter: blur(24px);
}

/* HUD corner brackets around media */
.bracket { position: relative; z-index: 1; padding: 14px; }
.bracket::before, .bracket::after,
.bracket .b3::before, .bracket .b3::after {
  content: ''; position: absolute; width: 30px; height: 30px;
  border-color: var(--ind-400); border-style: solid;
  transition: all .35s ease;
}
.bracket::before { top: 0; left: 0; border-width: 2px 0 0 2px; border-radius: 6px 0 0 0; }
.bracket::after { top: 0; right: 0; border-width: 2px 2px 0 0; border-radius: 0 6px 0 0; }
.bracket .b3::before { bottom: 0; left: 0; border-width: 0 0 2px 2px; border-radius: 0 0 0 6px; }
.bracket .b3::after { bottom: 0; right: 0; border-width: 0 2px 2px 0; border-radius: 0 0 6px 0; }
.bracket:hover::before, .bracket:hover::after,
.bracket:hover .b3::before, .bracket:hover .b3::after { width: 44px; height: 44px; border-color: var(--cyan); }

.feature-list { margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.feature-list li {
  list-style: none; display: flex; align-items: flex-start; gap: 13px;
  color: #c3cbde; font-size: 15px; line-height: 1.55;
}
.feature-list li i { color: var(--cyan); font-size: 12px; margin-top: 6px; }

/* ── Terminal ──────────────────────────────────────────────────── */
.term {
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(129, 140, 248, 0.25);
  background: #070a12;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.85), 0 0 70px -24px rgba(99, 102, 241, 0.35);
  font-family: var(--font-mono); font-size: 13.5px;
}
.term-bar {
  display: flex; align-items: center; gap: 14px; padding: 13px 18px;
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.85), rgba(17, 24, 39, 0.85));
  border-bottom: 1px solid var(--line);
}
.term-title { font-size: 12px; color: var(--t-low); letter-spacing: 0.08em; flex: 1; text-align: center; }
.term-body { padding: 26px 26px 30px; min-height: 320px; }
.term-line { display: block; white-space: pre-wrap; line-height: 1.9; color: #aeb8cf; }
/* Mobile: smaller type, no wrapping — long lines scroll sideways like a
   real console instead of folding into soup. */
@media (max-width: 768px) {
  .term { font-size: 11px; }
  .term-body { padding: 16px 16px 20px; min-height: 220px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .term-line { white-space: pre; line-height: 2; }
}
@media (max-width: 430px) {
  .term { font-size: 10px; }
}
.term-line .p { color: var(--ind-400); }
.term-line .ok { color: var(--green); }
.term-line .dim { color: var(--t-low); }
.term-line .cy { color: var(--cyan); }
.term-line .wt { color: #e6ebf5; }
.term-line .warn { color: #fbbf24; }
.term-line .err { color: #f87171; font-weight: 700; }
.term-cursor {
  display: inline-block; width: 8px; height: 16px; vertical-align: -3px;
  background: var(--ind-400); animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ── Numbered steps ────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 40px 32px 36px; overflow: hidden; }
.step .step-num {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em;
  color: var(--cyan); margin-bottom: 18px; display: block;
}
.step .big {
  position: absolute; top: 14px; right: 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 84px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(129, 140, 248, 0.16);
}

/* ── Checklist grid (security) ─────────────────────────────────── */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.check-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; border-radius: var(--r-md);
  border: 1px solid var(--line); background: rgba(17, 24, 39, 0.5);
  transition: border-color 0.25s, background 0.25s;
}
.check-item:hover { border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.04); }
.check-item i { color: var(--green); margin-top: 3px; }
.check-item strong { display: block; font-size: 14.5px; color: var(--t-hi); margin-bottom: 2px; }
.check-item span { font-size: 13.5px; color: var(--t-mid); }

/* ── Use-case detail blocks ────────────────────────────────────── */
.uc { display: grid; grid-template-columns: 1fr 340px; gap: clamp(36px, 5vw, 70px); padding: 84px 0; align-items: start; }
.uc + .uc { border-top: 1px solid var(--line); }
.uc--flip { grid-template-columns: 340px 1fr; }
.uc--flip .uc-side { order: -1; }
.uc-side { position: sticky; top: 110px; }
.uc-side .card { text-align: left; }
.uc-hook { font-size: 18px; color: #c3cbde; font-weight: 500; margin-bottom: 16px; line-height: 1.6; }

/* ── Industry tiles ────────────────────────────────────────────── */
.ind-tile {
  padding: 30px 24px; text-align: center;
}
.ind-tile i { font-size: 26px; color: var(--ind-400); margin-bottom: 16px; display: inline-block; }
.ind-tile h4 { font-family: var(--font-display); font-size: 16.5px; font-weight: 700; margin-bottom: 8px; }
.ind-tile p { font-size: 13.5px; }

/* ── Final CTA ─────────────────────────────────────────────────── */
.cta-final { position: relative; padding: 140px 0; text-align: center; overflow: clip; }
.cta-final .aurora { top: auto; bottom: -320px; opacity: 0.8; }
.cta-final h2 { margin-bottom: 20px; }
.cta-final .lead { max-width: 640px; margin: 0 auto 42px; }

/* ── Footer — faithful to the original site's footer ───────────── */
.footer { background: var(--bg-1); border-top: 1px solid #1f2937; }
.footer-grid {
  display: grid; grid-template-columns: 5fr 2fr 2fr 3fr; gap: 32px;
  padding: 56px 0 0;
}
.footer-brand .brand-line { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .brand-line img { height: 24px; width: 24px; }
.footer-brand .brand-line span {
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  letter-spacing: 0.25em; color: #f3f4f6;
}
.footer-desc { font-size: 14px; color: #9ca3af; max-width: 448px; line-height: 1.65; }
.footer h4 {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: #fff;
  margin-bottom: 16px;
}
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: #9ca3af; transition: color 0.2s; }
.footer ul a:hover { color: var(--ind-400); }
.footer-cta-col { text-align: right; }
.footer-cta-col .btn { padding: 10px 20px; font-size: 14px; }
.footer-cta-note { margin-top: 12px; font-size: 12px; color: #6b7280; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  margin-top: 40px; padding: 24px 0 56px; border-top: 1px solid #1f2937;
  font-size: 12px; color: #6b7280;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; padding-top: 48px; }
  .footer-cta-col { text-align: left; }
  .footer-bottom { padding-bottom: 40px; }
}

/* ── Contact ───────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 2fr 3fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.form-shell {
  position: relative; border-radius: var(--r-lg); padding: 1px;
  background: linear-gradient(140deg, rgba(129, 140, 248, 0.5), rgba(129, 140, 248, 0.08) 40%, rgba(34, 211, 238, 0.35));
}
.form-inner { background: #0a0e18; border-radius: calc(var(--r-lg) - 1px); padding: 40px; }
.field { margin-bottom: 22px; }
.field label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--t-mid); margin-bottom: 10px;
}
.field label em { font-style: normal; color: var(--t-low); text-transform: none; letter-spacing: 0.02em; }
.field input, .field textarea {
  width: 100%; padding: 15px 18px; border-radius: 12px;
  background: rgba(17, 24, 39, 0.7); border: 1px solid var(--line);
  color: var(--t-hi); font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  outline: none; resize: none;
}
.field input:focus, .field textarea:focus {
  border-color: var(--ind-500);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18), 0 0 30px -10px rgba(99, 102, 241, 0.5);
  background: rgba(17, 24, 39, 0.95);
}
.field input::placeholder, .field textarea::placeholder { color: var(--t-low); }

.flash { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: var(--r-md); margin-bottom: 24px; font-size: 14.5px; }
.flash--success { background: rgba(52, 211, 153, 0.08); border: 1px solid rgba(52, 211, 153, 0.35); color: var(--green); }
.flash--danger { background: rgba(248, 113, 113, 0.08); border: 1px solid rgba(248, 113, 113, 0.35); color: #f87171; }

.contact-info-list { display: flex; flex-direction: column; gap: 24px; }
.contact-info-list .item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-list .item i { color: var(--ind-400); margin-top: 4px; width: 18px; text-align: center; }
.contact-info-list .item strong { display: block; font-size: 15px; margin-bottom: 3px; }
.contact-info-list .item span { font-size: 14px; color: var(--t-mid); line-height: 1.6; }

/* ── Scroll progress bar ───────────────────────────────────────── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 100%; z-index: 200;
  transform-origin: 0 0; transform: scaleX(0);
  background: linear-gradient(90deg, var(--ind-500), var(--cyan));
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.8);
  pointer-events: none;
}

/* ── Card cursor spotlight ─────────────────────────────────────── */
.card::after {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(129, 140, 248, 0.13), transparent 65%);
  pointer-events: none;
}
.card:hover::after { opacity: 1; }

/* ── Screenshot scanline sweep (plays once on reveal) ──────────── */
.shot .scanline {
  position: absolute; left: 0; right: 0; top: 0; height: 34%;
  background: linear-gradient(180deg, transparent,
    rgba(34, 211, 238, 0.07) 42%, rgba(34, 211, 238, 0.28) 50%,
    rgba(34, 211, 238, 0.07) 58%, transparent);
  transform: translateY(-130%); opacity: 0; pointer-events: none; z-index: 3;
}
.shot.scanned .scanline { animation: scan-sweep 1.5s cubic-bezier(0.22, 1, 0.36, 1) 0.25s 1 forwards; }
@keyframes scan-sweep {
  0% { opacity: 1; transform: translateY(-130%); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translateY(330%); }
}

/* ── CLI strips (per-page typing animations) ───────────────────── */
.cli-strip {
  display: inline-flex; align-items: center; gap: 2px;
  margin-top: 34px; padding: 13px 22px; border-radius: 12px;
  background: rgba(7, 10, 18, 0.78); backdrop-filter: blur(10px);
  border: 1px solid var(--line-hi);
  font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.02em;
  color: #aeb8cf; text-align: left; white-space: pre-wrap;
  box-shadow: 0 14px 40px -16px rgba(0, 0, 0, 0.7), 0 0 34px -14px rgba(99, 102, 241, 0.45);
  min-height: 46px; max-width: 100%;
}
.cli-strip .p { color: var(--ind-400); }
.cli-strip .ok { color: var(--green); }
.cli-strip .dim { color: var(--t-low); }
.cli-strip .cy { color: var(--cyan); }
.cli-strip .wt { color: #e6ebf5; }
.cli-strip .warn { color: #fbbf24; }

.mask-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 2px 9px; margin: 0 2px; border-radius: 6px;
  background: rgba(52, 211, 153, 0.13); border: 1px solid rgba(52, 211, 153, 0.45);
  color: var(--green); font-size: 11.5px; letter-spacing: 0.06em;
  animation: chip-pop 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes chip-pop {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 560px) {
  .cli-strip { font-size: 11px; padding: 11px 14px; }
}

/* ── Reveal animations ─────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.94) translateY(24px); transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); transition-delay: var(--d, 0s); }
.reveal-scale.in { opacity: 1; transform: scale(1) translateY(0); }

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

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1120px) {
  .chip--tl { left: -12px; } .chip--tr { right: -12px; }
  .chip--bl { left: -16px; } .chip--br { right: -8px; }
}
@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .mobile-panel { display: block; }
  .pillar { grid-template-columns: 1fr; gap: 44px; padding: 64px 0; }
  /* Single column: copy always reads first, screenshot second — every section */
  .pillar-media, .pillar--flip .pillar-media { order: 2; }
  .ghost-num { font-size: 110px; top: 16px; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .uc, .uc--flip { grid-template-columns: 1fr; }
  .uc-side, .uc--flip .uc-side { order: 2; position: static; }
  .check-grid { grid-template-columns: 1fr; }
  .hero { padding: 150px 0 70px; }
  .chip { display: none; }
}
@media (max-width: 560px) {
  .hero-badge { font-size: 10.5px; letter-spacing: 0.12em; padding: 7px 14px; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero-ctas .btn { width: 100%; }
  .form-inner { padding: 26px 20px; }
}
