@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  color-scheme: dark;
  --bg: #03050a;
  --bg-elevated: rgba(12, 18, 30, 0.72);
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.13);
  --line: rgba(255, 255, 255, 0.17);
  --line-strong: rgba(255, 255, 255, 0.28);
  --text: #f7fafc;
  --muted: #b8c2d5;
  --faint: #7e8da5;
  --cyan: #38d5e8;
  --mint: #61e7b9;
  --amber: #f3c969;
  --rose: #ff6b8a;
  --blue: #78a6ff;
  --orange: #ff8a3d;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.46);
  --blur: blur(26px) saturate(170%);
  font-family:
    "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  text-rendering: geometricPrecision;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(56, 213, 232, 0.12), transparent 420px),
    linear-gradient(140deg, rgba(97, 231, 185, 0.08), transparent 520px),
    linear-gradient(180deg, #050914 0%, var(--bg) 44%, #05070d 100%);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 76%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

/* ── Reveal animation system ── */
@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-scale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(120, 166, 255, 0.25), 0 18px 50px rgba(120, 166, 255, 0.15); }
  50% { box-shadow: 0 0 32px rgba(120, 166, 255, 0.4), 0 18px 50px rgba(120, 166, 255, 0.25); }
}

@keyframes scan-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
}

.reveal.is-visible {
  animation: reveal-up 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--reveal-delay, 0) * 1ms);
}

[data-section] > * {
  opacity: 0;
  transform: translateY(36px);
}

[data-section].is-visible > * {
  animation: reveal-up 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-section].is-visible > *:nth-child(1) { animation-delay: 0ms; }
[data-section].is-visible > *:nth-child(2) { animation-delay: 80ms; }
[data-section].is-visible > *:nth-child(3) { animation-delay: 160ms; }
[data-section].is-visible > *:nth-child(4) { animation-delay: 240ms; }
[data-section].is-visible > *:nth-child(5) { animation-delay: 320ms; }
[data-section].is-visible > *:nth-child(6) { animation-delay: 400ms; }

a {
  color: inherit;
  text-decoration: none;
}

.eyebrow, .brand, .brand-mark,
.button, .nav-cta, .nav-ghost,
.desktop-nav a, .mobile-nav a,
.hero-badges strong, .proof-band strong,
.feature-kicker, .widget-label,
.console-top, .console-top strong,
.monitor-head, .monitor-head b,
.match-strip span, .stream-rows span,
.bracket-line span, .bracket-line strong,
.console-grid span, .console-grid strong,
.tenant-top, .tenant-top strong, .tenant-logo,
.workflow span, .trust-grid span, .trust-grid strong,
.price, .plan-tag, .bitrate-widget strong,
.site-footer span:first-child,
.stage-panel span, .stage-panel small {
  font-family: "Chakra Petch", "Plus Jakarta Sans", sans-serif;
}

.ai-log {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  color: #03050a;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 24px;
  background: transparent;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    transform 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 12, 20, 0.4);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand,
.desktop-nav,
.hero-actions,
.hero-badges,
.console-top,
.match-strip,
.site-footer,
.final-cta,
.proof-band {
  display: flex;
  align-items: center;
}

.brand {
  gap: 11px;
  min-height: 44px;
  font-weight: 720;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 200, 255, 0.2));
  transition: filter 300ms ease, transform 300ms ease;
}

.brand:hover .brand-mark {
  filter: drop-shadow(0 2px 14px rgba(0, 200, 255, 0.45));
  transform: scale(1.05);
}

.desktop-nav {
  position: relative;
  gap: 4px;
  display: flex;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.nav-active-indicator {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 0 rgba(0, 0, 0, 0.18),
    0 6px 16px -6px rgba(0, 0, 0, 0.45);
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease-out;
  opacity: 0;
  pointer-events: none;
}

.nav-active-indicator::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #78a6ff, transparent);
  box-shadow: 0 0 8px rgba(120, 166, 255, 0.6);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-nav a,
.mobile-nav a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 20px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.3s ease;
}

.desktop-nav a {
  border: none;
  background: transparent;
  backdrop-filter: none;
}

.mobile-nav a {
  border-radius: 14px;
}

.desktop-nav a:hover {
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  backdrop-filter: none;
}

.desktop-nav a.active {
  color: #fff;
  border-color: transparent;
  background: transparent;
  backdrop-filter: none;
}

.desktop-nav a:focus-visible,
.mobile-nav a:hover,
.mobile-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  color: var(--text);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 16px;
  font-weight: 760;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.nav-ghost {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.nav-cta {
  padding: 0 17px;
  border: 1px solid rgba(120, 166, 255, 0.45);
  background: linear-gradient(180deg, rgba(120, 166, 255, 0.94), rgba(56, 213, 232, 0.68));
  color: #061018;
}

.nav-cta:hover,
.button:hover {
  transform: translateY(-1px);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: #fff;
}

.mobile-nav {
  position: fixed;
  inset: 92px 24px auto;
  z-index: 49;
  display: none;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(8, 12, 20, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}

.mobile-nav.is-open {
  display: grid;
}

.hero {
  position: relative;
  min-height: 88dvh;
  overflow: clip;
  background:
    radial-gradient(circle at 78% 18%, rgba(56, 213, 232, 0.22), transparent 30rem),
    radial-gradient(circle at 18% 42%, rgba(255, 138, 61, 0.13), transparent 34rem),
    linear-gradient(180deg, #0d0e12 0%, #03050a 100%);
}

.hero-media,
.hero-media img,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5px) saturate(90%);
  opacity: 0.13;
}

.hero-scrim {
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(180deg, rgba(13, 14, 18, 0.05), #03050a 98%);
  background-size: 40px 40px, 40px 40px, auto;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  width: 38rem;
  height: 38rem;
  border-radius: 999px;
  pointer-events: none;
  content: "";
  filter: blur(120px);
  opacity: 0.48;
}

.hero::before {
  right: -12rem;
  top: 4rem;
  background: rgba(56, 213, 232, 0.34);
}

.hero::after {
  left: -14rem;
  bottom: 1rem;
  background: rgba(255, 138, 61, 0.2);
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 40px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 170px 0 74px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-family: "Chakra Petch", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: 0;
  background: linear-gradient(180deg, #ffffff 0%, #aab4c5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lede,
.section-heading p,
.final-cta p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 32px;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.hero-badges {
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-badges span {
  color: var(--faint);
  font-size: 14px;
  line-height: 1.45;
}

.hero-badges strong {
  display: block;
  color: #f1f5f9;
  font-size: 16px;
}

.button {
  padding: 0 20px;
  border: 1px solid var(--line);
}

.button.primary {
  border-color: rgba(120, 166, 255, 0.58);
  background: linear-gradient(180deg, #f7fbff 0%, #78a6ff 38%, #38d5e8 100%);
  color: #050914;
  box-shadow: 0 18px 50px rgba(120, 166, 255, 0.25);
  animation: glow-pulse 3s ease-in-out infinite;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.hero-console {
  align-self: end;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055)),
    rgba(6, 10, 18, 0.72);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    var(--shadow);
  backdrop-filter: var(--blur);
}

.console-top,
.match-strip {
  justify-content: space-between;
}

.console-top {
  margin-bottom: 18px;
  color: var(--faint);
  font-size: 12px;
  font-weight: 780;
}

.console-top strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rose);
}

.console-top i,
.monitor-head i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--mint);
  box-shadow: 0 0 18px rgba(97, 231, 185, 0.95);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

.console-screen {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
}

.live-monitor,
.bracket-widget,
.bitrate-widget {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background: rgba(5, 9, 18, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.live-monitor {
  grid-row: span 2;
  padding: 14px;
}

.monitor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 820;
}

.monitor-head span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.monitor-head b {
  color: var(--mint);
  font-weight: 760;
}

.match-strip {
  min-height: 84px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(56, 213, 232, 0.12), rgba(255, 255, 255, 0.04));
}

.match-strip strong {
  color: #fff;
  font-size: 42px;
  font-variant-numeric: tabular-nums;
}

.match-strip span {
  color: var(--muted);
  font-weight: 720;
}

.stream-rows {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.stream-rows span {
  display: flex;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 12px;
}

.stream-rows b {
  color: var(--mint);
}

.bracket-widget,
.bitrate-widget {
  padding: 14px;
}

.widget-label {
  display: block;
  margin-bottom: 12px;
  color: var(--faint);
  font-size: 11px;
  font-weight: 820;
}

.bracket-line {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.bracket-line span,
.bracket-line strong {
  padding: 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  text-align: center;
  font-size: 12px;
}

.bracket-line strong {
  color: var(--amber);
}

.muted-line {
  opacity: 0.72;
}

.bitrate-widget svg {
  width: 100%;
  height: 52px;
}

.bitrate-widget path {
  fill: none;
  stroke: var(--cyan);
  stroke-linecap: round;
  stroke-width: 3;
  filter: drop-shadow(0 0 10px rgba(56, 213, 232, 0.5));
}

.bitrate-widget strong {
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.console-grid div {
  min-height: 94px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
}

.console-grid span,
.stage-panel span,
.feature-kicker {
  display: block;
  color: var(--faint);
  font-size: 12px;
  font-weight: 760;
}

.console-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}

.proof-band {
  justify-content: center;
  gap: 12px;
  width: min(1180px, calc(100% - 40px));
  margin: -34px auto 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(10, 15, 26, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}

.proof-band div {
  flex: 1;
  min-height: 76px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
}

.proof-band strong,
.proof-band span {
  display: block;
}

.proof-band strong {
  margin-bottom: 6px;
  font-size: 20px;
}

.proof-band span {
  color: var(--muted);
  line-height: 1.45;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 120px 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

h2 {
  margin-bottom: 16px;
  font-family: "Chakra Petch", "Plus Jakarta Sans", sans-serif;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-family: "Chakra Petch", "Plus Jakarta Sans", sans-serif;
  font-size: 24px;
  line-height: 1.18;
}

.product-stage {
  position: relative;
  min-height: 680px;
  overflow: visible;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 5%, rgba(120, 166, 255, 0.14), transparent 28rem),
    #070b12;
  box-shadow: var(--shadow);
  perspective: 1400px;
}

.device-frame {
  position: absolute;
  inset: 54px 70px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: linear-gradient(145deg, #262b35, #0a0e16 42%, #171b24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 34px 100px rgba(0, 0, 0, 0.56);
  transform: rotateX(4deg) rotateY(-7deg);
  will-change: transform, box-shadow;
  transition: box-shadow 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

.product-stage:hover .device-frame {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 44px 120px rgba(0, 0, 0, 0.68);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.07);
}

.browser-bar span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
}

.browser-bar span:first-child {
  background: #ff6b8a;
}

.browser-bar span:nth-child(2) {
  background: #f3c969;
}

.browser-bar span:nth-child(3) {
  background: #61e7b9;
}

.browser-bar strong {
  margin-left: 10px;
  color: var(--faint);
  font-size: 12px;
}

.device-screen {
  position: relative;
  height: calc(100% - 42px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #080c14;
}

.screen-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.screen-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.screen-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.screen-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.92;
}

.device-screen::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(3, 5, 10, 0.02) 0%, rgba(3, 5, 10, 0.15) 70%, rgba(3, 5, 10, 0.4) 100%);
  pointer-events: none;
}

.screen-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.screen-dot {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 300ms ease;
}

.screen-dot:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.15);
}

.screen-dot.is-active {
  background: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(56, 213, 232, 0.6);
}

.lower-third-preview {
  position: absolute;
  right: 34px;
  bottom: 34px;
  left: 34px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(2, 6, 23, 0.68);
  backdrop-filter: blur(18px) saturate(160%);
}

.lower-third-preview span,
.lower-third-preview strong {
  font-weight: 850;
  text-align: center;
}

.lower-third-preview strong {
  color: var(--amber);
  font-size: 28px;
  font-variant-numeric: tabular-nums;
}

.stage-panel {
  position: absolute;
  z-index: 2;
  max-width: 330px;
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: rgba(8, 12, 20, 0.68);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: var(--blur);
}

.stage-panel strong {
  display: block;
  margin-top: 8px;
  font-size: 20px;
  line-height: 1.35;
}

.stage-panel small {
  display: block;
  margin-top: 14px;
  color: var(--mint);
  font-size: 12px;
}

.panel-a {
  left: 24px;
  top: 72px;
}

.panel-b {
  right: 24px;
  top: 38%;
}

.panel-c {
  left: 24px;
  bottom: 24px;
}

.feature-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.feature-card,
.price-card,
.workflow li {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045)),
    rgba(13, 14, 18, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: var(--blur);
}

.feature-card::before,
.price-card::before,
.workflow li::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  content: "";
  opacity: 0;
  background:
    radial-gradient(360px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(56, 213, 232, 0.18), transparent 40%),
    radial-gradient(280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.18), transparent 32%);
  transition: opacity 180ms ease;
}

.feature-card:hover::before,
.price-card:hover::before,
.workflow li:hover::before {
  opacity: 1;
}

.feature-card {
  min-height: 260px;
  padding: 24px;
  will-change: transform, background;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.feature-card::after {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(56, 213, 232, 0.4), transparent);
  opacity: 0;
  transition: opacity 300ms ease;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card:hover {
  border-color: rgba(56, 213, 232, 0.34);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  transform: scale(1.01);
}

.feature-card.large {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 534px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    linear-gradient(135deg, rgba(56, 213, 232, 0.16), transparent 58%);
}

.feature-card.wide {
  grid-column: span 2;
}

.feature-card p,
.price-card p,
.price-card li,
.workflow p,
.site-footer {
  color: var(--muted);
  line-height: 1.65;
}

.feature-kicker {
  margin-bottom: 56px;
  color: var(--mint);
}

.feature-card.large .feature-kicker {
  margin-bottom: 170px;
}

.mini-dashboard {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  min-height: 130px;
}

.mini-dashboard span,
.mini-dashboard b {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.mini-dashboard b {
  grid-column: span 3;
  background:
    linear-gradient(90deg, rgba(97, 231, 185, 0.22), transparent),
    rgba(255, 255, 255, 0.05);
}

.signal-path {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  justify-content: space-between;
}

.signal-path span {
  width: 30%;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  animation: signal-flow 2.8s ease-in-out infinite;
}

.signal-path span:nth-child(2) {
  animation-delay: 0.25s;
}

.signal-path span:nth-child(3) {
  animation-delay: 0.5s;
}

.ai-log {
  margin: 22px 0 0;
  padding: 14px;
  border: 1px solid rgba(97, 231, 185, 0.2);
  border-radius: 16px;
  background: rgba(5, 9, 18, 0.78);
  color: #c8f7e5;
  font: 12px/1.55 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-wrap;
}

.brand-switcher {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 75% 20%, color-mix(in srgb, var(--tenant-color, #78a6ff) 22%, transparent), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    rgba(13, 14, 18, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
  transition:
    background 600ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 600ms cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.switcher-tabs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 10;
}

.switcher-tabs button {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition:
    background 400ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 400ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.switcher-tabs button:hover {
  background: rgba(255, 255, 255, 0.065);
  transform: translateX(4px);
}

.switcher-tabs button .tab-header {
  font-size: 15px;
  font-weight: 760;
  color: #fff;
  transition: color 400ms ease;
}

.switcher-tabs button .tab-desc {
  font-size: 12px;
  line-height: 1.5;
  color: var(--faint);
  transition: color 400ms ease;
}

.switcher-tabs button.active {
  border-color: color-mix(in srgb, var(--tenant-color, #78a6ff) 62%, white 10%);
  background: color-mix(in srgb, var(--tenant-color, #78a6ff) 18%, transparent);
  transform: translateX(8px);
}

.switcher-tabs button.active .tab-header {
  color: #fff;
}

.switcher-tabs button.active .tab-desc {
  color: rgba(255,255,255,0.85);
}

.tenant-cards-container {
  position: relative;
  min-height: 380px;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  will-change: transform;
}

.tenant-preview {
  position: absolute;
  width: 100%;
  max-width: 500px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-color, #78a6ff) 19%, transparent), transparent 46%),
    rgba(5, 9, 18, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 60px rgba(0,0,0,0.4);
  transition:
    transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    z-index 0ms;
  transform-origin: center center;
  will-change: transform, box-shadow;
}

.major-card { --card-color: #78a6ff; }
.arena-card { --card-color: #61e7b9; }
.campus-card { --card-color: #f3c969; }

/* Stack positioning - Default (inactive) states */
.tenant-preview:not(.is-active) {
  opacity: 0.6;
  filter: saturate(40%) brightness(70%);
}

.tenant-preview[data-card-theme="major"]:not(.is-active) {
  transform: translateX(-40px) translateZ(-80px) rotateY(-15deg);
  z-index: 1;
}

.tenant-preview[data-card-theme="arena"]:not(.is-active) {
  transform: translateX(40px) translateZ(-160px) rotateY(-20deg);
  z-index: 0;
}

.tenant-preview[data-card-theme="campus"]:not(.is-active) {
  transform: translateX(80px) translateZ(-240px) rotateY(-25deg);
  z-index: -1;
}

/* Active state brings it to the front */
.tenant-preview.is-active {
  transform: translateZ(0) rotateY(0deg);
  z-index: 10;
  opacity: 1;
  filter: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 34px 100px rgba(0, 0, 0, 0.6);
}

.tenant-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--faint);
  font-size: 13px;
}

.tenant-top strong {
  color: color-mix(in srgb, var(--card-color, #78a6ff) 76%, white 24%);
}

.tenant-logo {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 52px 0 24px;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--card-color, #78a6ff) 90%, white 6%), rgba(255, 255, 255, 0.12));
  color: #051018;
  font-size: 26px;
  font-weight: 900;
}

.tenant-controls {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr;
  gap: 10px;
  margin-top: 34px;
}

.tenant-controls span {
  height: 74px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--card-color, #78a6ff) 26%, transparent), transparent),
    rgba(255, 255, 255, 0.055);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: item;
}

.workflow li {
  min-height: 280px;
  padding: 24px;
}

.workflow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 70px;
  border: 1px solid rgba(97, 231, 185, 0.42);
  border-radius: 18px;
  color: var(--mint);
  font-weight: 850;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(13, 14, 18, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}

.trust-grid div {
  min-height: 160px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(5, 9, 18, 0.78);
}

.trust-grid span {
  color: var(--faint);
  font-size: 11px;
  font-weight: 720;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-grid strong {
  display: block;
  margin: 28px 0 12px;
  color: #fff;
  font-size: 32px;
}

.trust-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.pricing-grid {
  align-items: stretch;
}

.price-card {
  position: relative;
  min-height: 390px;
  padding: 24px;
}

.offers-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 18px 22px;
  border: 1px solid rgba(120, 166, 255, 0.28);
  border-radius: 18px;
  background: rgba(120, 166, 255, 0.08);
  color: var(--muted);
  line-height: 1.55;
}

.plan-version {
  display: block;
  margin-top: 8px;
  color: var(--faint);
  font: 12px/1.4 "JetBrains Mono", ui-monospace, monospace;
}

.offer-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.offer-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.offer-copy,
.offer-action {
  display: grid;
  gap: 5px;
}

.offer-copy strong {
  color: #fff;
}

.offer-copy small {
  color: var(--faint);
}

.offer-action {
  justify-items: end;
  flex-shrink: 0;
}

.offer-price {
  color: #fff;
  font: 700 21px/1 "Chakra Petch", "Plus Jakarta Sans", sans-serif;
  white-space: nowrap;
}

.offer-action .button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 12px;
}

.offer-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.offer-unavailable {
  margin-top: 30px;
  color: var(--faint);
  font-size: 21px;
  line-height: 1.3;
}

.price {
  margin: 18px 0 10px;
  color: #fff;
  font-size: 34px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.price-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.price-card li {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.featured-plan {
  border-color: rgba(97, 231, 185, 0.58);
  background:
    linear-gradient(180deg, rgba(97, 231, 185, 0.17), rgba(255, 255, 255, 0.05)),
    rgba(255, 255, 255, 0.04);
  box-shadow:
    0 0 40px rgba(97, 231, 185, 0.12),
    0 24px 80px rgba(0, 0, 0, 0.32);
  transform: scale(1.03);
}

.featured-plan:hover {
  box-shadow:
    0 0 60px rgba(97, 231, 185, 0.18),
    0 32px 100px rgba(0, 0, 0, 0.42);
  transform: scale(1.05);
}

.plan-tag {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(97, 231, 185, 0.5);
  border-radius: 999px;
  color: var(--mint);
  font-size: 12px;
  font-weight: 790;
}

.final-cta {
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 120px auto 0;
  padding: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(56, 213, 232, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
  box-shadow: var(--shadow);
  backdrop-filter: var(--blur);
}

.final-cta div {
  max-width: 760px;
}

.final-cta h2 {
  font-size: clamp(30px, 4.6vw, 54px);
}

.site-footer {
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 80px;
}

.site-footer span:first-child {
  color: #fff;
  font-weight: 780;
}

:focus-visible {
  outline: 3px solid rgba(97, 231, 185, 0.8);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .desktop-nav,
  .nav-actions {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero-shell {
    grid-template-columns: 1fr;
    padding-top: 140px;
  }

  .hero-console {
    align-self: auto;
  }

  .console-screen {
    grid-template-columns: 1fr;
  }

  .live-monitor {
    grid-row: auto;
  }

  .proof-band,
  .feature-grid,
  .workflow,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof-band {
    display: grid;
  }

  .feature-card.large,
  .feature-card.wide {
    grid-column: span 2;
  }

  .product-stage,
  .device-frame {
    min-height: 560px;
  }

  .device-frame {
    inset: 44px 28px;
  }

  .brand-switcher,
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    inset: 12px 12px auto;
    min-height: 58px;
    border-radius: 20px;
  }

  .mobile-nav {
    inset: 82px 12px auto;
  }

  .brand span:last-child {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .hero {
    min-height: 92dvh;
  }

  .hero-shell,
  .section,
  .proof-band,
  .final-cta,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero-shell {
    padding: 126px 0 54px;
  }

  h1 {
    font-size: clamp(40px, 14vw, 58px);
  }

  .hero-lede,
  .section-heading p,
  .final-cta p {
    font-size: 16px;
  }

  .hero-actions,
  .final-cta {
    width: 100%;
  }

  .hero-actions .button {
    width: 100%;
  }

  .button {
    padding-inline: 16px;
  }

  .match-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .match-strip strong {
    font-size: 36px;
  }

  .console-grid,
  .proof-band,
  .feature-grid,
  .workflow,
  .pricing-grid,
  .brand-switcher,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .feature-card.large,
  .feature-card.wide {
    grid-column: span 1;
  }

  .feature-card.large,
  .feature-card {
    min-height: 250px;
  }

  .feature-card.large .feature-kicker,
  .feature-kicker {
    margin-bottom: 56px;
  }

  .product-stage,
  .device-frame {
    min-height: 560px;
  }

  .device-frame {
    inset: 24px 12px;
    transform: none;
  }

  .product-stage:hover .device-frame {
    transform: none;
  }

  .lower-third-preview {
    right: 14px;
    bottom: 14px;
    left: 14px;
    grid-template-columns: 1fr;
  }

  .stage-panel {
    display: none;
  }

  .final-cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .offer-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .offer-action {
    align-items: flex-start;
    justify-items: start;
  }
}

@media (any-hover: none) {
  .feature-card::before,
  .price-card::before,
  .workflow li::before {
    display: none;
  }

  .feature-card:hover {
    transform: none;
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes signal-flow {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleX(0.8);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  [data-section] > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
