/* ==========================================================================
   NovaSOC Enterprise Marketing Website — Design System & Layout
   Grounded in NovaSOC brand tokens (#181d38 midnight indigo, #4e43c4 violet,
   #8879f5 luminous indigo, #2ca888 precision teal, #f2f5fa light slate).
   ========================================================================== */

:root {
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Dark palette (Hero, Architecture, Security, Footer) */
  --night-950: #080b18;
  --night-900: #0d1126;
  --night-850: #131833;
  --night-800: #181d38;
  --night-700: #232a4f;
  --night-border: rgba(164, 178, 224, 0.14);
  --night-border-strong: rgba(164, 178, 224, 0.26);

  /* Light palette (Editorial contrast sections) */
  --light-bg: #f4f6fb;
  --light-surface: #ffffff;
  --light-subtle: #edf1f8;
  --light-border: #dce4f0;
  --light-ink: #141c36;
  --light-ink-soft: #435070;
  --light-muted: #5d6a89;

  /* Brand & signal accents */
  --brand: #4e43c4;
  --brand-dark: #3d34a6;
  --brand-bright: #7d6ef6;
  --brand-glow: #9f92ff;
  --brand-soft: #eeebfd;
  --brand-line: #cfc7fa;

  --teal: #2ca888;
  --teal-dark: #147d85;
  --teal-soft: #e6f6f1;
  --rose: #d94862;
  --rose-soft: #fdecef;
  --amber: #d98218;
  --amber-soft: #fef4e6;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --max-w: 1220px;

  --shadow-sm: 0 2px 8px rgba(15, 22, 48, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 22, 48, 0.09);
  --shadow-lg: 0 24px 64px rgba(8, 11, 24, 0.42);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--light-ink);
  background: var(--night-950);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; }
button { cursor: pointer; }
code, pre, .mono { font-family: var(--font-mono); }
.tabular { font-variant-numeric: tabular-nums; }

:focus-visible {
  outline: 2px solid var(--brand-bright);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-bright) 0%, var(--brand) 100%);
  color: #fff;
  box-shadow: 0 8px 24px rgba(78, 67, 196, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #8b7efa 0%, #5b4fd6 100%);
  box-shadow: 0 12px 30px rgba(102, 82, 204, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-dark-ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--night-border-strong);
  color: #edf1fc;
}
.btn-dark-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(198, 189, 255, 0.45);
}

.btn-light-outline {
  background: #fff;
  border-color: var(--light-border);
  color: var(--light-ink);
}
.btn-light-outline:hover {
  border-color: var(--brand-bright);
  color: var(--brand);
}

.btn-sm { padding: 9px 15px; font-size: 13px; border-radius: 8px; }
.btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 11px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 99px;
}
.eyebrow-dark {
  background: rgba(125, 110, 246, 0.14);
  border: 1px solid rgba(159, 146, 255, 0.32);
  color: #d4cdff;
}
.eyebrow-light {
  background: var(--brand-soft);
  border: 1px solid var(--brand-line);
  color: var(--brand);
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 10px rgba(44, 168, 136, 0.85);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 650;
  padding: 3px 9px;
  border-radius: 99px;
  white-space: nowrap;
}
.pill-teal { background: rgba(44, 168, 136, 0.15); color: #36d3a9; border: 1px solid rgba(44, 168, 136, 0.32); }
.pill-teal-light { background: var(--teal-soft); color: #0e6f56; border: 1px solid #bce8da; }
.pill-violet { background: var(--brand-soft); color: var(--brand); border: 1px solid var(--brand-line); }
.pill-rose { background: var(--rose-soft); color: #b52a45; border: 1px solid #f6c3ce; }
.pill-amber { background: var(--amber-soft); color: #9a5b0c; border: 1px solid #f4d6a8; }
.pill-slate { background: var(--light-subtle); color: var(--light-ink-soft); border: 1px solid var(--light-border); }

/* ==========================================================================
   Sticky Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 11, 24, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--night-border);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: rgba(8, 11, 24, 0.92);
  box-shadow: 0 10px 30px rgba(4, 7, 18, 0.45);
}
.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--brand-bright) 0%, #a598ff 50%, var(--teal) 100%);
  box-shadow: 0 0 12px rgba(125, 110, 246, 0.75);
  pointer-events: none;
  will-change: transform;
}
.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
}
.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(150deg, #8879f5 0%, #5846d4 100%);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(95, 76, 221, 0.45);
}
.wordmark {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}
.wordmark span { color: #c6bdff; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: #b7c2de;
}
.nav-links a {
  position: relative;
  padding: 6px 2px;
  transition: color 0.18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand-bright), var(--teal));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover,
.nav-links a.is-current { color: #fff; }
.nav-links a.is-current::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--night-border-strong);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(114, 96, 240, 0.28), transparent 65%),
    radial-gradient(ellipse 55% 45% at 88% 20%, rgba(44, 168, 136, 0.14), transparent 60%),
    linear-gradient(180deg, var(--night-950) 0%, var(--night-900) 65%, var(--night-850) 100%);
  color: #f4f7ff;
  padding: 74px 0 88px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(164, 178, 224, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(164, 178, 224, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 75% at 50% 25%, #000 35%, transparent 80%);
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(75px);
  pointer-events: none;
  opacity: 0.45;
  will-change: transform;
}
.hero-orb-1 {
  width: 460px;
  height: 460px;
  top: -120px;
  left: -80px;
  background: radial-gradient(circle, rgba(125, 110, 246, 0.65), transparent 70%);
  animation: orbFloatA 16s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 400px;
  height: 400px;
  top: 40px;
  right: -90px;
  background: radial-gradient(circle, rgba(44, 168, 136, 0.48), transparent 70%);
  animation: orbFloatB 19s ease-in-out infinite alternate;
}
@keyframes orbFloatA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(60px, 45px, 0) scale(1.12); }
}
@keyframes orbFloatB {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-55px, 50px, 0) scale(1.1); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 44px;
  align-items: center;
}
.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.5rem, 4.7vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #ffffff;
}
.hero h1 .grad-text {
  background: linear-gradient(110deg, #ffffff 10%, #c6bdff 55%, #5ee7c4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.65;
  color: #b7c2de;
  max-width: 560px;
  margin: 0 0 28px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 12.5px;
  color: #9ba8c7;
  padding-top: 22px;
  border-top: 1px solid var(--night-border);
}
.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-proof svg { color: var(--teal); }

/* Hero visual showcase frame */
.hero-stage {
  position: relative;
}
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(176, 168, 255, 0.24);
  background: rgba(15, 20, 44, 0.85);
  box-shadow: var(--shadow-lg), 0 0 80px rgba(102, 82, 204, 0.18);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.35s ease;
  will-change: transform;
}
.hero-visual-card:hover {
  border-color: rgba(176, 168, 255, 0.46);
  box-shadow: var(--shadow-lg), 0 0 110px rgba(125, 110, 246, 0.28);
}
.hero-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d1126;
}
.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.94;
  animation: heroBreath 14s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroBreath {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  100% { transform: scale(1.06) translate3d(-6px, -4px, 0); }
}
.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 38, 0.12) 0%, rgba(13, 17, 38, 0.86) 100%);
}
.hero-telemetry-hud {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hud-tile {
  background: rgba(12, 16, 36, 0.82);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(180, 192, 232, 0.18);
  border-radius: 11px;
  padding: 11px 13px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.hud-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(159, 146, 255, 0.45);
}
.hud-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; color: #9aa7c9; }
.hud-val { font-size: 20px; font-weight: 800; color: #fff; margin-top: 2px; line-height: 1.15; }
.hud-val.teal { color: #4ce2ba; }
.hud-val.violet { color: #c6bdff; }
.hud-sub { font-size: 11px; color: #8c99bc; margin-top: 2px; }

.hero-live-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-top: 1px solid var(--night-border);
  background: rgba(9, 12, 28, 0.92);
  font-size: 12px;
  color: #b7c2de;
}
.live-feed-text {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* KPI Banner */
.kpi-band {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  position: relative;
}
.kpi-box {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--night-border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, background 0.25s ease;
}
.kpi-box:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 146, 255, 0.4);
  background: rgba(125, 110, 246, 0.08);
}
.kpi-num {
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}
.kpi-num span { color: #4ce2ba; }
.kpi-desc { font-size: 13px; color: #9eaac9; margin-top: 6px; }

/* ==========================================================================
   Integration Logo Ribbon — Fluid Infinite Marquee
   ========================================================================== */
.ecosystem-bar {
  background: var(--night-850);
  border-top: 1px solid var(--night-border);
  border-bottom: 1px solid var(--night-border);
  padding: 28px 0;
  overflow: hidden;
}
.eco-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.eco-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8f9cbf;
  text-align: center;
}
.marquee-viewport {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marqueeScroll 34s linear infinite;
  will-change: transform;
}
.marquee-viewport:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}
.eco-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(164, 178, 224, 0.16);
  color: #dce4f9;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.eco-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-bright), var(--teal));
  box-shadow: 0 0 8px rgba(125, 110, 246, 0.65);
}
.eco-chip:hover {
  border-color: rgba(159, 146, 255, 0.45);
  background: rgba(125, 110, 246, 0.14);
  transform: translateY(-2px);
}

/* ==========================================================================
   Section Utilities
   ========================================================================== */
.section-light {
  background: var(--light-bg);
  color: var(--light-ink);
  padding: 96px 0;
}
.section-white {
  background: var(--light-surface);
  color: var(--light-ink);
  padding: 96px 0;
  border-top: 1px solid var(--light-border);
  border-bottom: 1px solid var(--light-border);
}
.section-dark {
  background:
    radial-gradient(ellipse 65% 50% at 15% 10%, rgba(78, 67, 196, 0.18), transparent 60%),
    linear-gradient(180deg, var(--night-900) 0%, var(--night-950) 100%);
  color: #f4f7ff;
  padding: 96px 0;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head.left {
  margin-left: 0;
  text-align: left;
}
.section-head h2 {
  margin: 14px 0 14px;
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.section-head p {
  margin: 0;
  font-size: 16.5px;
  color: var(--light-ink-soft);
}
.section-dark .section-head p { color: #aebad8; }

/* ==========================================================================
   Comparison: Legacy SIEM vs NovaSOC
   ========================================================================== */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.compare-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--light-border);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.compare-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.compare-card.featured {
  background: linear-gradient(165deg, #171c39 0%, #1e224b 60%, #16283e 100%);
  color: #f4f7ff;
  border-color: rgba(145, 134, 245, 0.38);
  box-shadow: var(--shadow-md);
}
.compare-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 55%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a598ff, #4ce2ba, transparent);
  animation: shimmerRail 5.5s ease-in-out infinite;
}
@keyframes shimmerRail {
  0% { left: -60%; }
  100% { left: 120%; }
}
.compare-card h3 {
  font-size: 21px;
  margin: 12px 0 18px;
  letter-spacing: -0.02em;
}
.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
}
.compare-card:not(.featured) .compare-list li { color: var(--light-ink-soft); }
.compare-card.featured .compare-list li { color: #d5def5; }
.compare-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
}
.compare-icon.bad { background: var(--rose-soft); color: var(--rose); }
.compare-icon.good { background: rgba(44, 168, 136, 0.2); color: #4ce2ba; }

/* ==========================================================================
   Interactive Platform Showcase (Tabbed Workbench)
   ========================================================================== */
.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.tab-btn {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid var(--light-border);
  background: #fff;
  color: var(--light-ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.tab-btn:hover { border-color: var(--brand-bright); color: var(--brand); }
.tab-btn.active {
  background: var(--night-800);
  border-color: var(--night-800);
  color: #fff;
  box-shadow: 0 6px 18px rgba(24, 29, 56, 0.22);
}

.workbench {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.workbench-chrome {
  background: var(--night-800);
  color: #d6def5;
  padding: 13px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
}
.chrome-dots { display: flex; gap: 6px; }
.chrome-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; background: rgba(255, 255, 255, 0.2); }
.chrome-dots i:nth-child(1) { background: #ef5e6e; }
.chrome-dots i:nth-child(2) { background: #eab308; }
.chrome-dots i:nth-child(3) { background: #2ca888; }

.workbench-body {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  padding: 34px;
  align-items: start;
}
.wb-copy h3 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 12px 0 12px;
}
.wb-copy p { color: var(--light-ink-soft); font-size: 15px; margin: 0 0 18px; }
.wb-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wb-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13.8px;
  color: var(--light-ink);
}
.wb-bullets li::before {
  content: "✓";
  color: var(--teal-dark);
  font-weight: 800;
  flex-shrink: 0;
}

.wb-stage {
  background: var(--light-bg);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  padding: 20px;
}
.wb-animate {
  animation: wbSlideIn 0.36s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes wbSlideIn {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* Interactive elements inside workbench */
.prompt-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}
.prompt-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 8px;
  border: 1px solid var(--light-border);
  background: #fff;
  color: var(--light-ink-soft);
}
.prompt-pill.active {
  background: var(--brand-soft);
  border-color: var(--brand-bright);
  color: var(--brand);
}
.nl-box {
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: var(--light-ink);
  margin-bottom: 14px;
}
.code-panel {
  background: #0d1228;
  color: #dbe4ff;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.55;
  overflow-x: auto;
  margin-bottom: 14px;
}
.code-panel .kw { color: #a79cff; }
.code-panel .str { color: #67e8c4; }
.code-panel .cm { color: #7e8db3; }

.mini-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--light-border);
  font-size: 12.5px;
}
.mini-table th {
  text-align: left;
  padding: 9px 11px;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--light-muted);
  background: #f8fafe;
  border-bottom: 1px solid var(--light-border);
}
.mini-table td {
  padding: 10px 11px;
  border-bottom: 1px solid #eef2f8;
  vertical-align: middle;
}
.mini-table tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   Architecture & Multi-LLM Sovereignty
   ========================================================================== */
.arch-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: start;
}
.arch-visual {
  position: sticky;
  top: 96px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(159, 146, 255, 0.28);
  background: var(--night-850);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(78, 67, 196, 0.18);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease;
  will-change: transform;
}
.arch-visual:hover {
  border-color: rgba(159, 146, 255, 0.52);
}
.arch-media {
  position: relative;
  overflow: hidden;
}
.arch-visual img {
  width: 100%;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.arch-visual:hover img {
  transform: scale(1.03);
}
.arch-pulse-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.arch-beam {
  stroke-dasharray: 18 180;
  animation: beamTravel 3.6s linear infinite;
}
.arch-beam.delay-1 { animation-delay: -1.1s; }
.arch-beam.delay-2 { animation-delay: -2.2s; }
.arch-beam.delay-3 { animation-delay: -0.6s; }
@keyframes beamTravel {
  0% { stroke-dashoffset: 198; opacity: 0; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
.arch-core-halo {
  animation: coreGlow 3.2s ease-in-out infinite alternate;
  transform-origin: 50% 42%;
}
@keyframes coreGlow {
  0% { opacity: 0.25; transform: scale(0.92); }
  100% { opacity: 0.72; transform: scale(1.12); }
}
.arch-caption {
  padding: 14px 18px;
  border-top: 1px solid var(--night-border);
  font-size: 12.5px;
  color: #a6b3d4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.pipeline-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 18px;
}
.pipeline-steps::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 16px;
  bottom: 16px;
  width: 2px;
  background: rgba(164, 178, 224, 0.14);
  border-radius: 99px;
}
.pipeline-progress-line {
  position: absolute;
  left: 3px;
  top: 16px;
  width: 2px;
  height: calc(100% - 32px);
  background: linear-gradient(180deg, var(--brand-bright), var(--teal));
  transform-origin: top center;
  transform: scaleY(0.25);
  border-radius: 99px;
  box-shadow: 0 0 12px rgba(76, 226, 186, 0.65);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.pipe-step {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--night-border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, background 0.25s ease, box-shadow 0.3s ease;
}
.pipe-step:hover,
.pipe-step.is-active {
  transform: translateX(6px);
  border-color: rgba(159, 146, 255, 0.48);
  background: rgba(125, 110, 246, 0.1);
  box-shadow: 0 12px 32px rgba(8, 11, 24, 0.36);
}
.pipe-step.is-active .pipe-num {
  background: linear-gradient(135deg, var(--brand-bright), var(--teal));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 16px rgba(125, 110, 246, 0.65);
}
.pipe-num {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(125, 110, 246, 0.18);
  border: 1px solid rgba(159, 146, 255, 0.34);
  color: #d0c8ff;
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.pipe-step h4 { margin: 0 0 4px; font-size: 15.5px; color: #fff; }
.pipe-step p { margin: 0; font-size: 13.5px; color: #a7b4d5; }

.llm-cards {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.llm-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--night-border);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, background 0.25s ease;
}
.llm-card:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 146, 255, 0.42);
  background: rgba(125, 110, 246, 0.08);
}
.llm-card strong { display: block; font-size: 14.5px; color: #fff; margin-bottom: 5px; }
.llm-card p { margin: 0; font-size: 12.8px; color: #9eaac9; }

/* ==========================================================================
   Interactive Enterprise ROI Calculator
   ========================================================================== */
.roi-shell {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
.slider-group { margin-bottom: 24px; }
.slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.slider-head label { font-size: 14px; font-weight: 650; color: var(--light-ink); }
.slider-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--brand);
  font-family: var(--font-mono);
}
input[type="range"] {
  width: 100%;
  accent-color: var(--brand);
  height: 6px;
  cursor: pointer;
}
.slider-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--light-muted);
  margin-top: 4px;
}
.roi-results {
  background: linear-gradient(155deg, #161b36 0%, #1d2248 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.roi-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(180, 192, 232, 0.14);
  border-radius: 12px;
  padding: 16px;
}
.roi-stat-label { font-size: 11.5px; color: #a5b2d4; text-transform: uppercase; letter-spacing: 0.06em; }
.roi-stat-num { font-size: 28px; font-weight: 800; margin-top: 5px; line-height: 1.1; color: #fff; }
.roi-stat-num.teal { color: #4ce2ba; }
.roi-stat-num.violet { color: #c6bdff; }
.roi-footnote {
  grid-column: 1 / -1;
  font-size: 12px;
  color: #9aa7c9;
  padding-top: 8px;
  border-top: 1px solid rgba(180, 192, 232, 0.14);
}

/* ==========================================================================
   Security, Governance & Deployment Grid
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.trust-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--night-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, background 0.25s ease;
}
.trust-card:hover {
  transform: translateY(-5px);
  border-color: rgba(159, 146, 255, 0.44);
  background: rgba(125, 110, 246, 0.08);
}
.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(125, 110, 246, 0.16);
  border: 1px solid rgba(159, 146, 255, 0.28);
  color: #c6bdff;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.trust-card h3 { font-size: 16px; margin: 0 0 8px; color: #fff; }
.trust-card p { font-size: 13.8px; color: #a5b2d4; margin: 0; }

.deploy-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.deploy-card {
  position: relative;
  overflow: hidden;
  background: rgba(12, 16, 36, 0.72);
  border: 1px solid var(--night-border-strong);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.3s ease;
}
.deploy-card:hover {
  transform: translateY(-5px);
  border-color: rgba(159, 146, 255, 0.65);
  box-shadow: 0 18px 42px rgba(8, 11, 24, 0.45);
}

/* Interactive cursor-tracking spotlight for dark tiles */
.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(136, 121, 245, 0.16), transparent 65%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.spotlight-card:hover::after { opacity: 1; }
.deploy-card.highlight {
  border-color: rgba(125, 110, 246, 0.65);
  box-shadow: 0 0 40px rgba(78, 67, 196, 0.2);
}
.deploy-card h4 { margin: 0; font-size: 17px; color: #fff; }
.deploy-card p { margin: 0; font-size: 13.5px; color: #a5b2d4; }

.trust-contact-strip {
  margin-top: 28px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--night-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: #b7c2de;
}
.email-link {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: #4ce2ba;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(44, 168, 136, 0.14);
  border: 1px solid rgba(44, 168, 136, 0.3);
  transition: background 0.18s ease, color 0.18s ease;
}
.email-link:hover {
  background: rgba(44, 168, 136, 0.24);
  color: #fff;
}
.cta-emails {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
  font-size: 13px;
  color: #9ba8c7;
}
.cta-emails a {
  color: #d4cdff;
  font-family: var(--font-mono);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-emails a:hover { color: #fff; }
.cta-sep { opacity: 0.45; }

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--light-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 18px 22px;
  text-align: left;
  font-size: 15.5px;
  font-weight: 650;
  color: var(--light-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q:hover { background: #f8fafe; }
.faq-chevron { transition: transform 0.2s ease; color: var(--brand); font-size: 18px; }
.faq-item.open .faq-chevron { transform: rotate(45deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-a-inner {
  overflow: hidden;
  padding: 0 22px;
  font-size: 14.5px;
  color: var(--light-ink-soft);
  transition: padding-bottom 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
  opacity: 0;
}
.faq-item.open .faq-a-inner {
  padding-bottom: 18px;
  opacity: 1;
}

/* ==========================================================================
   Final CTA & Footer
   ========================================================================== */
.cta-banner {
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(125, 110, 246, 0.34), transparent 70%),
    linear-gradient(150deg, #161b39 0%, #0d1126 100%);
  border: 1px solid rgba(159, 146, 255, 0.32);
  border-radius: var(--radius-xl);
  padding: 58px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  margin: 14px 0 14px;
  letter-spacing: -0.035em;
  color: #fff;
}
.cta-banner p {
  max-width: 600px;
  margin: 0 auto 28px;
  font-size: 16px;
  color: #b7c2de;
}

.site-footer {
  background: var(--night-950);
  color: #8f9cbf;
  border-top: 1px solid var(--night-border);
  padding: 44px 0;
  font-size: 13px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a:hover { color: #fff; }
.footer-disclaimer {
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--night-border);
  font-size: 11.5px;
  line-height: 1.6;
  color: #6e7b9e;
}

/* ==========================================================================
   Demo Request Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 11, 24, 0.72);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-backdrop.open { display: flex; }
.modal-card {
  width: 100%;
  max-width: 500px;
  background: #fff;
  color: var(--light-ink);
  border-radius: var(--radius-lg);
  padding: 28px 30px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--light-border);
  background: #fff;
  color: var(--light-muted);
  font-size: 16px;
}
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-size: 12.5px; font-weight: 650; margin-bottom: 5px; color: var(--light-ink); }
.form-field input, .form-field select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--light-border);
  font-size: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ==========================================================================
   Scroll Reveal & Choreographed Motion System
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1), transform 0.72s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-left {
  opacity: 0;
  transform: translate3d(-44px, 12px, 0);
  transition: opacity 0.78s cubic-bezier(0.16, 1, 0.3, 1), transform 0.78s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-right {
  opacity: 0;
  transform: translate3d(44px, 12px, 0);
  transition: opacity 0.78s cubic-bezier(0.16, 1, 0.3, 1), transform 0.78s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-scale {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.96);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Staggered child tile cascade */
.stagger-grid > * {
  opacity: 0;
  transform: translate3d(0, 26px, 0) scale(0.98);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--stagger-delay, 0ms),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--stagger-delay, 0ms),
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.3s ease;
}
.stagger-grid.visible > * {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}
.stagger-grid > *:nth-child(1) { --stagger-delay: 0ms; }
.stagger-grid > *:nth-child(2) { --stagger-delay: 90ms; }
.stagger-grid > *:nth-child(3) { --stagger-delay: 180ms; }
.stagger-grid > *:nth-child(4) { --stagger-delay: 270ms; }
.stagger-grid > *:nth-child(5) { --stagger-delay: 360ms; }
.stagger-grid > *:nth-child(6) { --stagger-delay: 450ms; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right, .reveal-scale, .stagger-grid > * {
    opacity: 1; transform: none; transition: none;
  }
  .marquee-track, .hero-orb, .hero-img-wrap img, .arch-beam, .arch-core-halo, .compare-card.featured::before {
    animation: none;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid, .arch-layout, .workbench-body, .roi-shell { grid-template-columns: 1fr; }
  .arch-visual { position: static; }
  .kpi-band, .llm-cards { grid-template-columns: repeat(2, 1fr); }
  .trust-grid, .deploy-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { padding: 0 18px; }
  .nav-links, .nav-actions { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .site-header.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--night-900);
    border-bottom: 1px solid var(--night-border);
    padding: 18px 24px 24px;
    gap: 14px;
  }
  .hero { padding: 48px 0 60px; }
  .hero-telemetry-hud { grid-template-columns: 1fr; position: static; padding: 14px; }
  .hero-img-overlay { display: none; }
  .compare-grid, .kpi-band, .llm-cards, .trust-grid, .deploy-grid, .roi-results, .form-row {
    grid-template-columns: 1fr;
  }
  .workbench-body, .roi-shell { padding: 22px; }
  .cta-banner { padding: 38px 22px; }
}
