:root {
  --accent: #1769ff;
  --accent-rgb: 23, 105, 255;
  --accent-2: #66b5ff;
  --accent-soft: #e9f2ff;
  --ink: #081426;
  --muted: #667085;
  --line: #e5ebf3;
  --paper: #f6f8fb;
  --white: #fff;
  --dark: #07111f;
  --success: #14a673;
  --warning: #f3a11b;
  --danger: #ef5160;
  --shadow-sm: 0 8px 28px rgba(13, 31, 61, .08);
  --shadow-lg: 0 30px 90px rgba(11, 28, 55, .16);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: min(1240px, calc(100vw - 48px));
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.ui-icon { width: 1em; height: 1em; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .brand-copy strong, .metric strong, .stat-value, .plan-price, .summary-total {
  font-family: "Manrope", system-ui, sans-serif;
}

::selection { color: #fff; background: rgba(var(--accent-rgb), .88); }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-150%);
}

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

.scroll-progress {
  position: fixed;
  z-index: 300;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
}

.site-header {
  position: fixed;
  z-index: 200;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 0;
  transition: padding .4s var(--ease), background .4s, box-shadow .4s, backdrop-filter .4s;
}

.site-header.scrolled {
  padding: 9px 0;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 10px 40px rgba(10, 28, 56, .08);
  backdrop-filter: blur(22px) saturate(160%);
}

.nav-shell {
  width: var(--container);
  min-height: 60px;
  margin: auto;
  padding: 8px 10px 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 20px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 14px 50px rgba(5, 19, 43, .08);
  backdrop-filter: blur(18px) saturate(150%);
}

.site-header.scrolled .nav-shell {
  border-color: rgba(220, 228, 239, .88);
  box-shadow: none;
  background: transparent;
}

.brand {
  min-width: 235px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark, .mini-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  background: linear-gradient(145deg, var(--accent-2), var(--accent));
  box-shadow: 0 8px 22px rgba(var(--accent-rgb), .28);
  overflow: hidden;
}

.brand-mark { width: 40px; height: 40px; }
.mini-mark { width: 32px; height: 32px; }

.brand-mark::after, .mini-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, .42);
}

.brand-mark i, .mini-mark i {
  position: relative;
  z-index: 2;
  display: block;
}

.brand-mark.school, .mini-mark.school {
  border-radius: 14px 14px 18px 18px;
  clip-path: polygon(50% 0, 92% 15%, 88% 68%, 50% 100%, 12% 68%, 8% 15%);
}
.brand-mark.school::after, .mini-mark.school::after { border-radius: 10px 10px 14px 14px; }
.brand-mark.school i, .mini-mark.school i { width: 17px; height: 12px; border: 2px solid #fff; border-top: 0; border-radius: 2px 2px 5px 5px; }
.brand-mark.school i::after, .mini-mark.school i::after { content: ""; position: absolute; left: 50%; top: -5px; width: 2px; height: 15px; background: #fff; transform: translateX(-50%); }

.brand-mark.industrial, .mini-mark.industrial { clip-path: polygon(26% 0, 74% 0, 100% 26%, 100% 74%, 74% 100%, 26% 100%, 0 74%, 0 26%); }
.brand-mark.industrial::after, .mini-mark.industrial::after { clip-path: inherit; }
.brand-mark.industrial i, .mini-mark.industrial i { width: 18px; height: 15px; border-bottom: 3px solid #fff; }
.brand-mark.industrial i::before, .brand-mark.industrial i::after, .mini-mark.industrial i::before, .mini-mark.industrial i::after { content: ""; position: absolute; bottom: 3px; width: 5px; background: #fff; }
.brand-mark.industrial i::before, .mini-mark.industrial i::before { left: 1px; height: 8px; }
.brand-mark.industrial i::after, .mini-mark.industrial i::after { right: 1px; height: 13px; }

.brand-mark.corporate, .mini-mark.corporate { border-radius: 12px 4px 12px 4px; }
.brand-mark.corporate::after, .mini-mark.corporate::after { border-radius: 9px 3px 9px 3px; }
.brand-mark.corporate i, .mini-mark.corporate i { width: 17px; height: 19px; border: 2px solid #fff; border-bottom-width: 4px; }
.brand-mark.corporate i::after, .mini-mark.corporate i::after { content: ""; position: absolute; inset: 3px; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 5px), repeating-linear-gradient(0deg, #fff 0 2px, transparent 2px 5px); opacity: .8; }

.brand-mark.events, .mini-mark.events { border-radius: 7px; transform: rotate(-4deg); }
.brand-mark.events::before, .mini-mark.events::before { content: ""; position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 40px 0 0 #fff; transform: translateY(-50%); }
.brand-mark.events::after, .mini-mark.events::after { border-radius: 5px; border-style: dashed; }
.brand-mark.events i, .mini-mark.events i { width: 15px; height: 15px; background: radial-gradient(circle, #fff 0 2px, transparent 3px), linear-gradient(90deg, transparent 45%, #fff 46% 54%, transparent 55%); }

.brand-copy { display: grid; line-height: 1.08; }
.brand-copy strong { font-size: 14px; font-weight: 800; letter-spacing: -.025em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; }

.nav-links { display: flex; align-items: center; justify-content: center; gap: 3px; }
.nav-links a { padding: 10px 11px; border-radius: 10px; color: #536074; font-size: 13px; font-weight: 600; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); background: rgba(var(--accent-rgb), .07); outline: none; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.brand-switcher { position: relative; }
.switcher-trigger {
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: #455164;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.switcher-trigger:hover, .switcher-trigger[aria-expanded="true"] { color: var(--accent); border-color: rgba(var(--accent-rgb), .28); background: rgba(var(--accent-rgb), .06); }
.product-grid-icon { width: 16px; height: 16px; display: grid; grid-template-columns: repeat(2, 5px); grid-template-rows: repeat(2, 5px); place-content: center; gap: 2px; }
.product-grid-icon i { display: block; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease); }
.switcher-trigger[aria-expanded="true"] .product-grid-icon i:nth-child(1),
.switcher-trigger[aria-expanded="true"] .product-grid-icon i:nth-child(4) { transform: scale(.65) rotate(45deg); }

.switcher-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 292px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 17px;
  background: rgba(255, 255, 255, .97);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(20px);
  transform-origin: top right;
  animation: menu-in .25s var(--ease);
}

@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.97); } }

.switcher-option {
  width: 100%;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.switcher-option:hover, .switcher-option[aria-current="page"] { background: #f4f7fb; }
.switcher-option span:last-child { display: grid; }
.switcher-option strong { font-size: 13px; }
.switcher-option small { color: var(--muted); font-size: 10px; }

.button {
  min-height: 48px;
  padding: 0 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 72%, #001c4e)); box-shadow: 0 12px 26px rgba(var(--accent-rgb), .25); }
.button-primary:hover { box-shadow: 0 16px 34px rgba(var(--accent-rgb), .34); }
.button-secondary { color: var(--ink); border-color: var(--line); background: rgba(255, 255, 255, .88); box-shadow: var(--shadow-sm); }
.button-small { min-height: 40px; padding: 0 15px; border-radius: 12px; font-size: 12px; }
.button span { font-size: 15px; }

.mobile-toggle { position: relative; display: none; width: 44px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: #f5f7fa; cursor: pointer; transition: color .25s, border-color .25s, background .25s, transform .25s; }
.mobile-toggle:hover, .mobile-toggle[aria-expanded="true"] { color: var(--accent); border-color: rgba(var(--accent-rgb), .25); background: rgba(var(--accent-rgb), .07); }
.menu-glyph { position: relative; display: block; width: 19px; height: 16px; }
.menu-glyph i { position: absolute; left: 0; width: 19px; height: 2px; border-radius: 999px; background: currentColor; transform-origin: center; transition: top .32s var(--ease), transform .32s var(--ease), opacity .2s; }
.menu-glyph i:nth-child(1) { top: 1px; }
.menu-glyph i:nth-child(2) { top: 7px; width: 14px; left: 5px; }
.menu-glyph i:nth-child(3) { top: 13px; }
.mobile-toggle[aria-expanded="true"] .menu-glyph i:nth-child(1) { top: 7px; transform: rotate(45deg); }
.mobile-toggle[aria-expanded="true"] .menu-glyph i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle[aria-expanded="true"] .menu-glyph i:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.mobile-panel {
  position: fixed;
  z-index: 1;
  inset: 0;
  width: 100%;
  min-height: 100dvh;
  padding: 108px max(20px, calc((100vw - 720px) / 2)) 32px;
  border: 0;
  border-radius: 0;
  background:
    radial-gradient(circle at 90% 12%, rgba(var(--accent-rgb), .16), transparent 29%),
    radial-gradient(circle at 10% 90%, rgba(var(--accent-rgb), .09), transparent 31%),
    rgba(248, 250, 253, .985);
  box-shadow: none;
  backdrop-filter: blur(26px) saturate(140%);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}
.mobile-panel.is-open { opacity: 1; transform: translateY(0); }
.mobile-menu-shell { position: relative; width: 100%; max-width: 680px; margin: auto; }
.mobile-menu-intro { padding: 8px 4px 24px; display: flex; align-items: end; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); }
.mobile-menu-intro .section-kicker { font-size: 9px; }
.mobile-menu-intro h2 { max-width: 500px; margin-top: 8px; font-size: clamp(27px, 8vw, 40px); font-weight: 800; line-height: 1.05; letter-spacing: -.045em; }
.mobile-menu-intro small { padding-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 700; white-space: nowrap; }
.mobile-primary { padding: 18px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.mobile-link { min-height: 70px; padding: 14px 16px; display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: rgba(255,255,255,.82); box-shadow: 0 8px 24px rgba(12,31,61,.045); font-weight: 750; transition: color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.mobile-link:hover, .mobile-link:focus-visible { color: var(--accent); border-color: rgba(var(--accent-rgb), .3); box-shadow: 0 14px 34px rgba(var(--accent-rgb), .1); transform: translateY(-2px); outline: none; }
.mobile-link .menu-icon { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: var(--accent); background: rgba(var(--accent-rgb), .08); }
.mobile-link span:last-child { display: grid; gap: 2px; }
.mobile-link strong { font-size: 13px; }
.mobile-link small { color: var(--muted); font-size: 9px; font-weight: 600; }
.mobile-products { padding-top: 18px; border-top: 1px solid var(--line); }
.mobile-products-head { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; }
.mobile-product-grid { margin-top: 13px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.mobile-product { min-height: 76px; padding: 13px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: #fff; text-align: left; cursor: pointer; transition: border-color .2s, transform .2s, box-shadow .2s; }
.mobile-product:hover, .mobile-product[aria-current="page"] { border-color: rgba(var(--product-rgb), .35); box-shadow: 0 12px 30px rgba(var(--product-rgb), .1); transform: translateY(-2px); }
.mobile-product > span:last-child { display: grid; gap: 3px; }
.mobile-product strong { font-size: 11px; }
.mobile-product small { color: var(--muted); font-size: 8px; }
.mobile-menu-footer { margin-top: 18px; padding: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 44%, #07111f), #07111f); }
.mobile-menu-footer p { max-width: 320px; color: rgba(255,255,255,.64); font-size: 11px; }
.mobile-menu-footer .button { flex: 0 0 auto; color: var(--ink); background: #fff; box-shadow: none; }
body.nav-open { overflow: hidden; }
.site-header.nav-active .nav-shell { border-color: rgba(var(--accent-rgb), .18); background: rgba(255,255,255,.96); }
.nav-shell { position: relative; z-index: 2; }

.hero {
  position: relative;
  min-height: 900px;
  padding: 148px 0 76px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-media, .hero-media::before, .hero-media::after { position: absolute; inset: 0; }
.hero-media { z-index: -3; overflow: hidden; background: var(--paper); }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(0, var(--parallax, 0), 0) scale(1.08);
  will-change: transform;
}
.hero-media::before {
  content: "";
  z-index: 1;
  background: linear-gradient(90deg, rgba(248, 251, 255, .99) 0%, rgba(248, 251, 255, .91) 36%, rgba(248, 251, 255, .22) 68%, rgba(5, 15, 30, .08) 100%);
}
.hero-media::after {
  content: "";
  z-index: 2;
  background: linear-gradient(180deg, rgba(255,255,255,.08), transparent 55%, #fff 100%);
}

.hero-orb {
  position: absolute;
  z-index: -1;
  width: 620px;
  height: 620px;
  top: 28%;
  left: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent-rgb), .18), transparent 68%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-grid {
  width: var(--container);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(400px, .82fr);
  align-items: center;
  gap: clamp(36px, 7vw, 105px);
}

.hero-copy { position: relative; z-index: 4; max-width: 660px; }
.eyebrow, .section-kicker, .modal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .13em;
}
.eyebrow::before, .section-kicker::before, .modal-kicker::before { content: ""; width: 20px; height: 1px; background: currentColor; }

.hero h1 {
  max-width: 760px;
  margin-top: 22px;
  font-size: clamp(48px, 6.1vw, 88px);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.062em;
}
.hero h1 .accent { color: var(--accent); }
.hero-lead { max-width: 570px; margin-top: 24px; color: #46556a; font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 11px; }

.hero-proof { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.proof-pill {
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(215, 225, 238, .9);
  border-radius: 999px;
  color: #526174;
  background: rgba(255, 255, 255, .78);
  font-size: 10px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}
.proof-pill::before { content: "✓"; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: rgba(var(--accent-rgb), .1); font-size: 9px; }

.hero-visual { position: relative; min-height: 580px; display: grid; place-items: center; perspective: 1200px; }
.hero-dashboard {
  position: relative;
  width: min(100%, 470px);
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 28px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 34px 100px rgba(6, 19, 40, .22);
  backdrop-filter: blur(22px) saturate(140%);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform .2s ease-out;
}
.dashboard-top { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.dashboard-title { display: grid; gap: 3px; }
.dashboard-title strong { font-family: "Manrope"; font-size: 13px; }
.dashboard-title span { color: var(--success); font-size: 9px; font-weight: 700; }
.live-indicator { display: inline-flex; align-items: center; gap: 6px; color: #526174; font-size: 9px; font-weight: 700; }
.live-indicator::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(20, 166, 115, .1); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(20, 166, 115, 0); } }

.dashboard-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.metric { padding: 12px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.78); }
.metric span { display: block; color: var(--muted); font-size: 8.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.metric strong { display: block; margin-top: 5px; font-size: 21px; letter-spacing: -.04em; }
.metric small { color: var(--success); font-size: 8px; font-weight: 700; }

.dashboard-stage { position: relative; min-height: 260px; margin-top: 10px; padding: 14px; border-radius: 19px; overflow: hidden; background: linear-gradient(145deg, #eef3f8, #dfe8f1); }
.dashboard-stage::after { content: ""; position: absolute; z-index: 8; left: 0; right: 0; height: 30%; background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .1), transparent); pointer-events: none; animation: stage-scan 4.8s ease-in-out infinite; }
@keyframes stage-scan { 0% { transform: translateY(-120%); } 65%, 100% { transform: translateY(440%); } }
.stage-label { position: relative; z-index: 2; font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }

.campus-map { background: linear-gradient(145deg, rgba(var(--accent-rgb), .08), #eaf0ec), repeating-linear-gradient(35deg, transparent 0 35px, rgba(255,255,255,.7) 36px 40px); }
.map-road { position: absolute; height: 24px; border: 7px solid rgba(255,255,255,.9); border-left: 0; border-right: 0; transform: rotate(-17deg); }
.map-road.one { width: 120%; left: -8%; top: 48%; }
.map-road.two { width: 85%; right: -12%; top: 28%; transform: rotate(62deg); }
.map-building { position: absolute; width: 72px; height: 48px; border: 1px solid rgba(var(--accent-rgb), .18); border-radius: 10px; background: rgba(255,255,255,.82); box-shadow: 0 9px 18px rgba(21,44,72,.08); }
.map-building.b1 { left: 9%; top: 28%; }.map-building.b2 { left: 42%; top: 18%; width: 92px; }.map-building.b3 { right: 7%; bottom: 17%; }.map-building.b4 { left: 25%; bottom: 12%; width: 60px; }
.map-pin { position: absolute; z-index: 3; width: 25px; height: 25px; display: grid; place-items: center; border: 4px solid #fff; border-radius: 50% 50% 50% 0; color: #fff; background: var(--accent); box-shadow: 0 8px 15px rgba(var(--accent-rgb), .24); font-size: 7px; font-weight: 800; transform: rotate(-45deg); }
.map-pin::after { content: ""; position: absolute; inset: -6px; border: 1px solid rgba(var(--accent-rgb), .5); border-radius: 50%; animation: marker-pulse 2.5s ease-out infinite; }
.map-pin span { transform: rotate(45deg); }.map-pin.p1 { left: 26%; top: 21%; }.map-pin.p2 { right: 20%; top: 34%; }.map-pin.p3 { left: 53%; bottom: 15%; }

.industrial-grid { background: linear-gradient(145deg, #171a20, #2c261b); color: #fff; }
.floor-line { position: absolute; left: 15px; right: 15px; height: 1px; background: rgba(255,255,255,.08); }
.floor-line:nth-of-type(2) { top: 35%; }.floor-line:nth-of-type(3) { top: 62%; }.floor-line:nth-of-type(4) { top: 84%; }
.zone-grid { position: absolute; inset: 46px 14px 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.zone { position: relative; display: grid; place-items: end start; padding: 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(255,255,255,.05); font-size: 8px; color: #c8c1b4; overflow: hidden; }
.zone::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, transparent 60%, rgba(var(--accent-rgb), .28)); }
.zone.alert { border-color: rgba(239,81,96,.6); background: rgba(239,81,96,.09); animation: warning-pulse 2.4s infinite; }
@keyframes warning-pulse { 50% { border-color: rgba(239,81,96,.15); } }

.corporate-chart { background: linear-gradient(145deg, #eef8f6, #dceeea); }
.chart-bars { position: absolute; inset: 55px 18px 35px; display: flex; align-items: end; gap: 10px; }
.chart-bar { position: relative; flex: 1; min-height: 12%; border-radius: 9px 9px 3px 3px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); box-shadow: 0 10px 18px rgba(var(--accent-rgb), .14); transform-origin: bottom; animation: grow-bar 1.2s var(--ease) both; }
.chart-bar::after { content: attr(data-label); position: absolute; left: 50%; top: calc(100% + 9px); color: var(--muted); font-size: 7px; font-weight: 700; transform: translateX(-50%); }
@keyframes grow-bar { from { transform: scaleY(.05); } }

.event-gates { color: #fff; background: linear-gradient(145deg, #151027, #27184e); }
.gate-list { position: absolute; inset: 50px 14px 14px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gate { padding: 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(255,255,255,.06); }
.gate-line { height: 5px; margin-top: 10px; border-radius: 9px; background: rgba(255,255,255,.1); overflow: hidden; }
.gate-line span { display: block; height: 100%; width: var(--fill); border-radius: inherit; background: linear-gradient(90deg, var(--accent-2), var(--accent)); animation: fill-line 1.4s var(--ease) both; }
@keyframes fill-line { from { width: 0; } }
.gate small { color: #bdb4d2; font-size: 8px; }.gate strong { display: block; margin-top: 3px; font-size: 16px; }

.floating-alert {
  position: absolute;
  z-index: 7;
  right: -36px;
  top: 9%;
  width: 180px;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 15px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(18px);
  animation: float 6s ease-in-out infinite;
}
.floating-alert.bottom { top: auto; right: auto; left: -42px; bottom: 8%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-10px); } }
.floating-alert span { display: block; color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.floating-alert strong { display: block; margin-top: 4px; font-size: 11px; }
.floating-alert small { color: var(--success); font-size: 8px; }

.section { padding: 112px 0; }
.section.compact { padding: 84px 0; }
.section-tint { background: linear-gradient(180deg, #fff, var(--paper) 26%, var(--paper) 74%, #fff); }
.container { width: var(--container); margin: auto; }
.section-heading { max-width: 740px; }
.section-heading.center { margin: auto; text-align: center; }
.section-heading.center .section-kicker { justify-content: center; }
.section h2 { margin-top: 17px; font-size: clamp(37px, 4vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -.052em; }
.section-heading p { max-width: 650px; margin-top: 19px; color: var(--muted); font-size: 17px; }
.section-heading.center p { margin-left: auto; margin-right: auto; }

.signal-panel {
  position: relative;
  z-index: 5;
  width: var(--container);
  margin: -52px auto 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.93);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(18px);
}
.signal-panel h2 { font-size: 12px; text-align: center; }
.signal-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(7, 1fr); }
.signal-item { min-height: 86px; padding: 9px; display: grid; place-items: center; gap: 7px; border-right: 1px solid var(--line); text-align: center; }
.signal-item:last-child { border-right: 0; }
.signal-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid rgba(var(--accent-rgb), .13); border-radius: 12px; color: var(--accent); background: rgba(var(--accent-rgb), .08); font-size: 17px; transition: transform .3s var(--ease), color .3s, background .3s; }
.signal-item:hover .signal-icon { color: #fff; background: var(--accent); transform: translateY(-3px) rotate(-3deg); }
.signal-item span:last-child { color: #4d5b6e; font-size: 10px; font-weight: 700; }

.bento-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 15px; }
.bento-card {
  position: relative;
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 8px 35px rgba(12,31,61,.045);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .3s, box-shadow .3s, transform .18s ease-out;
}
.bento-card:hover { border-color: rgba(var(--accent-rgb), .24); box-shadow: 0 20px 55px rgba(12,31,61,.09); }
.bento-card:nth-child(1), .bento-card:nth-child(4) { grid-column: span 7; }
.bento-card:nth-child(2), .bento-card:nth-child(3) { grid-column: span 5; }
.card-index { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid rgba(var(--accent-rgb), .18); border-radius: 50%; color: var(--accent); background: rgba(var(--accent-rgb), .07); font-size: 10px; font-weight: 800; }
.bento-card h3 { max-width: 390px; margin-top: 40px; font-size: clamp(23px, 2.4vw, 34px); font-weight: 800; line-height: 1.13; letter-spacing: -.04em; }
.bento-card p { max-width: 440px; margin-top: 13px; color: var(--muted); font-size: 14px; }
.mini-list { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 7px; }
.mini-list span { padding: 7px 9px; border-radius: 9px; color: #506075; background: #f3f6f9; font-size: 9px; font-weight: 700; }
.card-glow { position: absolute; width: 260px; height: 260px; right: -105px; bottom: -135px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--accent-rgb), .18), transparent 67%); }

.live-shell { margin-top: 52px; display: grid; grid-template-columns: .62fr 1.38fr; gap: 16px; align-items: stretch; }
.live-copy-card { padding: 38px; border-radius: var(--radius-lg); color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 38%, #07111f), #07111f); box-shadow: var(--shadow-lg); }
.live-copy-card h3 { margin-top: 78px; font-size: clamp(30px, 3vw, 44px); font-weight: 800; line-height: 1.08; letter-spacing: -.045em; }
.live-copy-card p { margin-top: 17px; color: rgba(255,255,255,.67); }
.live-copy-card .button { margin-top: 30px; color: var(--ink); background: #fff; }
.live-screen { position: relative; min-height: 570px; padding: 18px; border: 1px solid #dfe6ee; border-radius: var(--radius-lg); background: #edf2f6; overflow: hidden; box-shadow: var(--shadow-sm); }
.screen-photo { position: absolute; inset: 0; }
.screen-photo img { width: 100%; height: 100%; object-fit: cover; transform: translateY(var(--parallax,0)) scale(1.08); filter: saturate(.85); }
.screen-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,17,31,.1), rgba(7,17,31,.53)); }
.screen-ui { position: absolute; z-index: 3; inset: 18px; display: grid; grid-template-columns: 190px 1fr; gap: 12px; }
.screen-sidebar, .screen-main { border: 1px solid rgba(255,255,255,.3); border-radius: 18px; background: rgba(8,18,34,.68); backdrop-filter: blur(15px); }
.screen-sidebar { padding: 16px; color: #fff; }
.screen-sidebar .side-logo { display: flex; align-items: center; gap: 9px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 800; font-size: 11px; }
.screen-nav { margin-top: 18px; display: grid; gap: 7px; }
.screen-nav span { padding: 9px 10px; border-radius: 9px; color: rgba(255,255,255,.6); font-size: 9px; font-weight: 700; }
.screen-nav span.active { color: #fff; background: rgba(var(--accent-rgb), .34); }
.screen-main { padding: 16px; color: #fff; }
.screen-head { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.screen-head strong { font-size: 12px; }.screen-head span { color: rgba(255,255,255,.58); font-size: 8px; }
.screen-kpis { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.screen-kpi { padding: 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(255,255,255,.08); }
.screen-kpi span { color: rgba(255,255,255,.56); font-size: 7px; text-transform: uppercase; }.screen-kpi strong { display: block; margin-top: 5px; font-size: 17px; }
.activity-chart { position: relative; height: 190px; margin-top: 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: rgba(255,255,255,.06); overflow: hidden; }
.activity-chart::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 37px, rgba(255,255,255,.07) 38px), repeating-linear-gradient(90deg, transparent 0 55px, rgba(255,255,255,.05) 56px); }
.chart-line { position: absolute; left: 5%; bottom: 18%; width: 92%; height: 65%; border-bottom: 3px solid var(--accent-2); clip-path: polygon(0 68%, 12% 50%, 22% 59%, 35% 24%, 48% 42%, 58% 15%, 72% 38%, 85% 12%, 100% 0, 100% 100%, 0 100%); background: linear-gradient(180deg, rgba(var(--accent-rgb), .32), transparent); }
.screen-alerts { margin-top: 9px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.screen-alert { padding: 9px; border-radius: 10px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.72); font-size: 8px; }
.screen-alert b { display: block; color: #fff; margin-bottom: 2px; }

.spatial-screen { position: relative; min-height: 600px; padding: 14px; border: 1px solid #dfe6ee; border-radius: var(--radius-lg); background: #e9eef4; overflow: hidden; box-shadow: var(--shadow-sm); }
.spatial-topbar { min-height: 52px; padding: 0 5px 11px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.spatial-brand { display: flex; align-items: center; gap: 10px; }
.spatial-brand span:last-child { display: grid; gap: 2px; }
.spatial-brand strong { font-family: "Manrope"; font-size: 12px; }
.spatial-brand small { color: var(--muted); font-size: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.tracking-pill { padding: 7px 10px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid #dce5ee; border-radius: 999px; color: #526075; background: rgba(255,255,255,.8); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.tracking-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 5px rgba(20,166,115,.1); animation: pulse 2s infinite; }
.tracking-pill[aria-pressed="false"] { color: #8d5e12; border-color: rgba(243,161,27,.3); background: rgba(255,248,235,.94); }
.tracking-pill[aria-pressed="false"]::before { background: #f3a11b; box-shadow: 0 0 0 5px rgba(243,161,27,.11); animation: none; }
.spatial-layout { min-height: 520px; display: grid; grid-template-columns: minmax(0, 1fr) 205px; gap: 10px; }
.spatial-map { position: relative; min-height: 520px; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: #0a1422; overflow: hidden; isolation: isolate; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), inset 0 -60px 90px rgba(3,9,18,.45), 0 18px 40px rgba(7,17,31,.14); perspective: 900px; }
.spatial-map::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(145deg, rgba(4,12,23,.08), rgba(4,12,23,.14) 48%, rgba(4,12,23,.56)), radial-gradient(circle at 50% 43%, rgba(var(--accent-rgb), .04), transparent 47%); pointer-events: none; }
.spatial-map::after { content: ""; position: absolute; z-index: 11; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 35px 70px rgba(255,255,255,.04); pointer-events: none; }
.map-photo-base { position: absolute; z-index: 0; inset: -2.5%; width: 105%; height: 105%; object-fit: cover; opacity: .88; filter: saturate(1.15) contrast(1.05) brightness(.82); transform: translate3d(0,0,0) scale(1.02); animation: map-camera-drift 16s var(--ease) infinite alternate; }
.spatial-map.school .map-photo-base { object-position: 62% center; }
.spatial-map.industrial .map-photo-base { object-position: 66% center; }
.spatial-map.corporate .map-photo-base { object-position: 68% center; }
.spatial-map.events .map-photo-base { object-position: 67% center; filter: saturate(1.25) contrast(1.06) brightness(.7); }
@keyframes map-camera-drift { to { transform: translate3d(-1.2%, -.7%, 0) scale(1.055); } }
.map-grid-overlay { position: absolute; z-index: 2; inset: -7%; opacity: .13; background: repeating-linear-gradient(0deg, transparent 0 49px, rgba(255,255,255,.24) 50px), repeating-linear-gradient(90deg, transparent 0 59px, rgba(255,255,255,.19) 60px); transform: rotateX(10deg) scale(1.08); transform-origin: center bottom; pointer-events: none; }
.map-scan { position: absolute; z-index: 4; left: 0; right: 0; height: 28%; background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), .09), rgba(255,255,255,.12), transparent); mix-blend-mode: screen; pointer-events: none; animation: map-scan 5.8s ease-in-out infinite; }
@keyframes map-scan { 0% { transform: translateY(-110%); } 60%, 100% { transform: translateY(430%); } }
.zone-image-tile { position: absolute; z-index: 2; width: clamp(92px, 19%, 145px); aspect-ratio: 1.5; border: 1px solid rgba(255,255,255,.42); border-radius: 12px; background-image: linear-gradient(145deg, rgba(5,15,28,.06), rgba(5,15,28,.35)), var(--map-image); background-size: 340% auto; background-position: var(--zone-position); box-shadow: 0 18px 24px rgba(2,8,18,.48), inset 0 1px 0 rgba(255,255,255,.3); transform: translate(-50%, -50%) rotateX(49deg) rotateZ(var(--zone-rotation)) translateZ(0); transform-origin: center; transition: transform .45s var(--ease), border-color .35s, filter .35s, box-shadow .35s; filter: saturate(1.2) contrast(1.07); pointer-events: none; }
.zone-image-tile::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(255,255,255,.28); border-radius: 7px; box-shadow: inset 0 0 18px rgba(var(--accent-rgb), .12); }
.zone-image-tile::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: -9px; height: 11px; border-radius: 0 0 8px 8px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 52%, #142033), #07111f); transform: skewX(-28deg); transform-origin: top; box-shadow: 0 10px 16px rgba(2,8,18,.35); }
.zone-image-tile > span { position: absolute; z-index: 2; left: 8px; bottom: 7px; max-width: calc(100% - 16px); padding: 4px 6px; border-radius: 6px; color: #fff; background: rgba(4,13,25,.72); backdrop-filter: blur(7px); font-size: 6px; font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.zone-image-tile.active { z-index: 3; border-color: rgba(255,255,255,.9); box-shadow: 0 25px 34px rgba(2,8,18,.52), 0 0 0 3px rgba(var(--accent-rgb), .22), inset 0 1px 0 #fff; filter: saturate(1.4) contrast(1.1) brightness(1.08); transform: translate(-50%, -58%) rotateX(42deg) rotateZ(var(--zone-rotation)) translateZ(22px) scale(1.08); }
.connection-layer { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.connection-base, .connection-flow { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.connection-base { stroke: rgba(5,15,29,.58); stroke-width: 5px; filter: drop-shadow(0 4px 4px rgba(0,0,0,.3)); }
.connection-flow { stroke: color-mix(in srgb, var(--accent-2) 82%, #fff); stroke-width: 2px; stroke-dasharray: 4 7; animation: connection-flow 1.2s linear infinite; filter: drop-shadow(0 0 4px rgba(var(--accent-rgb), .9)); transition: stroke-width .25s, stroke .25s, opacity .25s; }
.connection-flow.active { stroke: #fff; stroke-width: 4px; stroke-dasharray: 2 4; animation-duration: .42s; filter: drop-shadow(0 0 7px var(--accent)) drop-shadow(0 0 12px var(--accent)); }
.connection-anchor { fill: #fff; stroke: var(--accent); stroke-width: .35px; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 3px var(--accent)); }
@keyframes connection-flow { to { stroke-dashoffset: -22; } }
.spatial-map.tracking-paused .map-scan, .spatial-map.tracking-paused .connection-flow { animation-play-state: paused; opacity: .38; }
.spatial-map.tracking-paused .map-photo-base { animation-play-state: paused; }
.spatial-map.tracking-paused .connection-flow.active { animation-play-state: running; opacity: 1; }
.movement-token { position: absolute; z-index: 9; min-width: 25px; height: 25px; padding: 0 6px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.95); border-radius: 999px; color: #fff; background: var(--accent); box-shadow: 0 0 0 7px rgba(var(--accent-rgb), .18), 0 10px 24px rgba(0,0,0,.38); font-size: 7px; font-weight: 900; pointer-events: none; transform: translate(-50%, -50%); }
.movement-token::after { content: ""; position: absolute; z-index: -1; right: 70%; width: 36px; height: 2px; border-radius: 99px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.85)); filter: drop-shadow(0 0 4px var(--accent)); }
.spatial-marker { position: absolute; z-index: 5; width: 28px; height: 28px; padding: 0; display: grid; place-items: center; border-radius: 50%; color: #fff; background: transparent; cursor: pointer; transform: translate(-50%, -50%); }
.marker-core { position: relative; z-index: 3; width: 28px; height: 28px; display: grid; place-items: center; border: 3px solid rgba(255,255,255,.95); border-radius: 50%; background: var(--marker-color, var(--accent)); box-shadow: 0 6px 18px rgba(0,0,0,.28); font-size: 12px; transition: transform .25s var(--ease), box-shadow .25s; }
.marker-pulse { position: absolute; z-index: 1; inset: -1px; border-radius: 50%; background: var(--marker-color, var(--accent)); animation: marker-pulse 2.6s ease-out infinite; animation-delay: var(--delay, 0s); }
@keyframes marker-pulse { 0% { opacity: .68; transform: scale(.8); } 75%, 100% { opacity: 0; transform: scale(2.7); } }
.spatial-marker:hover .marker-core, .spatial-marker.active .marker-core, .spatial-marker:focus-visible .marker-core { transform: scale(1.18); box-shadow: 0 0 0 5px rgba(255,255,255,.16), 0 8px 24px rgba(0,0,0,.34); outline: none; }
.spatial-marker[data-tone="green"] { --marker-color: #1fbd83; }
.spatial-marker[data-tone="amber"] { --marker-color: #f3a11b; }
.spatial-marker[data-tone="red"] { --marker-color: #ef5160; }
.spatial-marker[data-tone="cyan"] { --marker-color: #2dc5e8; }
.spatial-marker[data-tone="violet"] { --marker-color: #9c6cff; }
.marker-label { position: absolute; left: 23px; top: -5px; width: max-content; max-width: 145px; padding: 7px 9px; display: grid; gap: 1px; border: 1px solid rgba(255,255,255,.17); border-radius: 10px; color: #fff; background: rgba(5,15,29,.8); box-shadow: 0 9px 25px rgba(0,0,0,.22); backdrop-filter: blur(12px); text-align: left; pointer-events: none; transition: transform .25s var(--ease), border-color .25s, background .25s; }
.marker-label strong { font-size: 8.5px; line-height: 1.2; }
.marker-label small { color: rgba(255,255,255,.6); font-size: 7px; }
.spatial-marker.label-left .marker-label { left: auto; right: 23px; text-align: right; }
.spatial-marker.active .marker-label { border-color: rgba(var(--accent-rgb), .7); background: color-mix(in srgb, var(--accent) 32%, rgba(5,15,29,.9)); transform: translateX(4px); }
.spatial-marker.label-left.active .marker-label { transform: translateX(-4px); }
.spatial-marker.marker-departing .marker-core { box-shadow: 0 0 0 9px rgba(239,81,96,.22), 0 8px 24px rgba(0,0,0,.34); }
.spatial-marker.marker-arriving .marker-core { box-shadow: 0 0 0 11px rgba(31,189,131,.25), 0 8px 24px rgba(0,0,0,.34); animation: arrival-pop .55s var(--ease) 2 alternate; }
@keyframes arrival-pop { to { transform: scale(1.32); } }
.map-legend { position: absolute; z-index: 6; left: 14px; bottom: 14px; padding: 10px; display: grid; grid-template-columns: repeat(2, auto); gap: 6px 12px; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; color: rgba(255,255,255,.72); background: rgba(5,15,29,.76); backdrop-filter: blur(13px); font-size: 7px; font-weight: 700; }
.map-legend span { display: flex; align-items: center; gap: 6px; }
.map-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--legend-color); box-shadow: 0 0 0 3px color-mix(in srgb, var(--legend-color) 18%, transparent); }
.map-focus-card { position: absolute; z-index: 7; right: 14px; bottom: 14px; width: 175px; padding: 12px; border: 1px solid rgba(255,255,255,.16); border-radius: 14px; color: #fff; background: rgba(5,15,29,.82); box-shadow: 0 15px 35px rgba(0,0,0,.24); backdrop-filter: blur(15px); }
.focus-status { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-2); font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.focus-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .16); }
.map-focus-card strong { display: block; margin-top: 7px; font-size: 11px; }
.map-focus-card small { display: block; margin-top: 3px; color: rgba(255,255,255,.6); font-size: 8px; line-height: 1.45; }
.focus-action { width: 100%; margin-top: 9px; padding: 7px 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 8px; color: #fff; background: rgba(255,255,255,.08); font-size: 7px; font-weight: 800; cursor: pointer; transition: background .2s, border-color .2s, transform .2s; }
.focus-action:hover, .focus-action:focus-visible { border-color: rgba(var(--accent-rgb), .68); background: rgba(var(--accent-rgb), .28); transform: translateY(-1px); outline: none; }
.spatial-side { padding: 14px; display: flex; flex-direction: column; border: 1px solid rgba(255,255,255,.08); border-radius: 20px; color: #fff; background: linear-gradient(165deg, color-mix(in srgb, var(--accent) 21%, #101a29), #07111f 70%); overflow: hidden; }
.spatial-side-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.spatial-side-head strong { font-size: 10px; }
.spatial-side-head span { color: var(--accent-2); font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.spatial-kpis { margin-top: 13px; display: grid; gap: 7px; }
.spatial-kpi { padding: 10px; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: rgba(255,255,255,.055); }
.spatial-kpi span { display: block; color: rgba(255,255,255,.5); font-size: 7px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.spatial-kpi strong { display: block; margin-top: 3px; font-family: "Manrope"; font-size: 17px; }
.spatial-kpi small { color: #75d6b5; font-size: 7px; }
.mini-live-chart { height: 78px; margin-top: 10px; padding: 9px; display: flex; align-items: end; gap: 4px; border-radius: 11px; background: rgba(255,255,255,.05); }
.mini-live-chart i { flex: 1; height: var(--h); border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, var(--accent-2), var(--accent)); transform-origin: bottom; animation: side-bar 2.7s var(--ease) infinite alternate; animation-delay: var(--d); }
@keyframes side-bar { from { transform: scaleY(.35); opacity: .55; } to { transform: scaleY(1); opacity: 1; } }
.event-feed-title { margin-top: 13px; color: rgba(255,255,255,.48); font-size: 7px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.event-feed-title span { color: var(--accent-2); }
.live-event-stack { margin-top: 7px; display: grid; gap: 6px; }
.live-event { position: relative; padding: 8px 8px 8px 22px; border-radius: 9px; color: rgba(255,255,255,.62); background: rgba(255,255,255,.045); font-size: 7px; overflow: hidden; }
.live-event::before { content: ""; position: absolute; left: 8px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--event-color, #75d6b5); animation: blink 1.8s infinite; animation-delay: var(--event-delay, 0s); }
.live-event b { display: block; color: #fff; margin-bottom: 2px; font-size: 8px; }
.live-event span { display: block; }
.movement-entry { animation: ledger-in .45s var(--ease) both; }
@keyframes ledger-in { from { opacity: 0; transform: translateY(-8px); } }

.stats-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card { min-height: 210px; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.stat-number { color: var(--accent); font-family: "Manrope"; font-size: clamp(38px, 4vw, 57px); font-weight: 800; letter-spacing: -.06em; }
.stat-card p { max-width: 200px; margin-top: 45px; color: #526075; font-size: 13px; font-weight: 600; }

.people-row { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 8px; }
.person-chip { min-height: 112px; padding: 15px 10px; display: grid; place-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 17px; background: #fff; text-align: center; transition: transform .28s var(--ease), border-color .28s, box-shadow .28s; }
.person-chip:hover { border-color: rgba(var(--accent-rgb), .26); box-shadow: 0 16px 34px rgba(var(--accent-rgb), .09); transform: translateY(-5px); }
.person-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: rgba(var(--accent-rgb), .08); font-size: 19px; transition: color .28s, background .28s, transform .28s; }
.person-chip:hover .person-icon { color: #fff; background: var(--accent); transform: scale(1.06); }
.person-chip span { color: #526075; font-size: 10px; font-weight: 700; }

.trust-band { margin-top: 14px; padding: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.trust-band span { min-height: 52px; padding: 8px 12px; display: flex; align-items: center; justify-content: center; gap: 9px; border-radius: 12px; color: #526075; background: #fff; font-size: 10px; font-weight: 700; text-align: center; }
.trust-band b { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: var(--accent); background: rgba(var(--accent-rgb), .08); font-size: 14px; }

.cta-shell { position: relative; padding: 70px clamp(28px, 7vw, 90px); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 35px; border-radius: 38px; color: #fff; background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 38%, #07111f), #07111f 70%); overflow: hidden; }
.cta-shell::before { content: ""; position: absolute; width: 460px; height: 460px; top: -250px; right: 5%; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 0 0 60px rgba(255,255,255,.03), 0 0 0 120px rgba(255,255,255,.025); }
.cta-shell h2 { position: relative; margin: 0; max-width: 700px; }
.cta-shell p { position: relative; max-width: 590px; margin-top: 18px; color: rgba(255,255,255,.66); }
.cta-shell .button { position: relative; min-width: 190px; color: var(--ink); background: #fff; }

.pricing-hero, .configure-hero { padding: 170px 0 80px; text-align: center; background: radial-gradient(circle at 50% -10%, rgba(var(--accent-rgb), .16), transparent 42%), linear-gradient(180deg, #f8fbff, #fff); }
.pricing-hero h1, .configure-hero h1 { max-width: 850px; margin: 18px auto 0; font-size: clamp(45px, 6vw, 78px); font-weight: 800; line-height: 1; letter-spacing: -.06em; }
.pricing-hero p, .configure-hero p { max-width: 650px; margin: 20px auto 0; color: var(--muted); font-size: 18px; }

.billing-toggle { width: fit-content; margin: 30px auto 0; padding: 5px; display: flex; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); }
.billing-toggle button { padding: 10px 16px; border-radius: 10px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; }
.billing-toggle button.active { color: #fff; background: var(--accent); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.plan-card { position: relative; padding: 30px; border: 1px solid var(--line); border-radius: 26px; background: #fff; }
.plan-card.featured { color: #fff; border-color: transparent; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 35%, #07111f), #07111f); transform: translateY(-13px); box-shadow: var(--shadow-lg); }
.plan-badge { position: absolute; top: 17px; right: 17px; padding: 6px 9px; border-radius: 999px; color: var(--accent); background: rgba(var(--accent-rgb), .1); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.featured .plan-badge { color: #fff; background: rgba(255,255,255,.12); }
.plan-card h2 { margin: 0; font-size: 25px; }.plan-card > p { margin-top: 8px; min-height: 50px; color: var(--muted); font-size: 13px; }.featured > p { color: rgba(255,255,255,.6); }
.plan-price { margin-top: 25px; font-size: 42px; font-weight: 800; letter-spacing: -.055em; }.plan-price small { color: var(--muted); font-family: "DM Sans"; font-size: 11px; font-weight: 600; letter-spacing: 0; }.featured .plan-price small { color: rgba(255,255,255,.55); }
.plan-card .button { width: 100%; margin-top: 22px; }.featured .button { color: var(--ink); background: #fff; }
.plan-list { margin: 25px 0 0; padding: 20px 0 0; display: grid; gap: 11px; border-top: 1px solid var(--line); list-style: none; }.featured .plan-list { border-color: rgba(255,255,255,.12); }
.plan-list li { position: relative; padding-left: 21px; color: #4e5d71; font-size: 12px; }.featured .plan-list li { color: rgba(255,255,255,.75); }.plan-list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }.featured .plan-list li::before { color: var(--accent-2); }

.pilot-estimator { margin-top: 76px; padding: clamp(28px, 5vw, 58px); border: 1px solid var(--line); border-radius: 34px; background: radial-gradient(circle at 8% 0%, rgba(var(--accent-rgb), .11), transparent 30%), #f7f9fc; box-shadow: var(--shadow-sm); }
.pilot-estimator-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; }
.pilot-estimator-head h2 { max-width: 680px; margin: 12px 0 0; font-size: clamp(31px, 4vw, 50px); line-height: 1.03; letter-spacing: -.045em; }
.pilot-estimator-head p { max-width: 640px; margin-top: 13px; color: var(--muted); font-size: 14px; }
.estimate-badge { flex: 0 0 auto; padding: 8px 11px; border: 1px solid rgba(var(--accent-rgb), .2); border-radius: 999px; color: var(--accent); background: rgba(var(--accent-rgb), .07); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.pilot-estimator-grid { margin-top: 34px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr); gap: 18px; align-items: stretch; }
.pilot-controls { padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.pilot-camera-control { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 22px; }
.field-label { display: block; font-size: 13px; font-weight: 800; }
.pilot-camera-control small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.pilot-camera-control input[type="range"] { grid-column: 1 / -1; margin-top: 3px; }
.camera-stepper { min-width: 132px; padding: 4px; display: grid; grid-template-columns: 36px 1fr 36px; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.camera-stepper button { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; color: var(--ink); background: #fff; box-shadow: 0 2px 7px rgba(7,17,31,.07); font-size: 18px; cursor: pointer; }
.camera-stepper strong { text-align: center; font-family: "Manrope"; font-size: 17px; }
.assumption-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.assumption-grid label { min-width: 0; padding: 13px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; border: 1px solid var(--line); border-radius: 13px; background: #fbfcfe; }
.assumption-grid label > span:first-child { font-size: 10px; font-weight: 800; }
.assumption-grid label > small { color: var(--muted); font-size: 8px; }
.money-input { grid-column: 2; grid-row: 1 / span 2; height: 34px; min-width: 84px; padding: 0 8px; display: flex; align-items: center; gap: 3px; border: 1px solid #dfe5ec; border-radius: 9px; background: #fff; }
.money-input i { color: var(--muted); font-size: 10px; font-style: normal; font-weight: 800; }
.money-input input { width: 58px; min-width: 0; border: 0; outline: none; color: var(--ink); background: transparent; font-size: 11px; font-weight: 800; text-align: right; }
.money-input.suffix input { text-align: right; }
.pilot-cost-card { padding: 24px; border-radius: 22px; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 30%, #07111f), #07111f 76%); box-shadow: var(--shadow-md); }
.cost-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.cost-card-head span { font-size: 12px; font-weight: 800; }
.cost-card-head small { color: var(--accent-2); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.cost-breakdown { margin-top: 10px; display: grid; }
.cost-line { padding: 9px 0; display: flex; justify-content: space-between; align-items: center; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.67); font-size: 10px; }
.cost-line span { display: grid; gap: 2px; }
.cost-line small { color: rgba(255,255,255,.4); font-size: 7px; }
.cost-line strong { flex: 0 0 auto; color: #fff; font-size: 11px; text-align: right; }
.estimate-total { margin-top: 17px; padding-top: 17px; display: grid; border-top: 1px solid rgba(255,255,255,.14); }
.estimate-total > span { color: rgba(255,255,255,.6); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.estimate-total > strong { margin-top: 3px; font-family: "Manrope"; font-size: 38px; letter-spacing: -.05em; }
.estimate-total > small { margin-top: 3px; color: rgba(255,255,255,.55); font-size: 8px; }
.estimate-total > small b { color: var(--accent-2); }
.estimate-note { max-width: 840px; margin: 17px 0 0; color: var(--muted); font-size: 9px; line-height: 1.6; }

.brand-matrix { margin-top: 70px; padding: 28px; border: 1px solid var(--line); border-radius: 26px; background: var(--paper); }
.brand-matrix h2 { margin: 0; font-size: 25px; text-align: center; }
.matrix-row { margin-top: 25px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.matrix-brand { padding: 20px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.matrix-brand span:last-child { display: grid; }.matrix-brand strong { font-size: 12px; }.matrix-brand small { color: var(--muted); font-size: 9px; }

.configure-layout { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; align-items: start; }
.config-card, .config-summary { padding: 32px; border: 1px solid var(--line); border-radius: 27px; background: #fff; box-shadow: var(--shadow-sm); }
.config-step + .config-step { margin-top: 38px; padding-top: 32px; border-top: 1px solid var(--line); }
.step-head { display: flex; align-items: center; gap: 12px; }.step-number { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--accent); font-size: 10px; font-weight: 800; }.step-head h2 { margin: 0; font-size: 21px; }
.choice-grid { margin-top: 19px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label { min-height: 82px; padding: 14px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); border-radius: 15px; cursor: pointer; transition: border .2s, background .2s, transform .2s; }
.choice label:hover { transform: translateY(-2px); }.choice input:checked + label { border-color: var(--accent); background: rgba(var(--accent-rgb), .06); box-shadow: inset 0 0 0 1px var(--accent); }
.choice label span:last-child { display: grid; }.choice label strong { font-size: 12px; }.choice label small { color: var(--muted); font-size: 9px; }
.range-wrap { margin-top: 22px; }.range-values { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 700; }.range-values strong { color: var(--accent); font-size: 15px; }
input[type="range"] { width: 100%; margin-top: 17px; accent-color: var(--accent); cursor: pointer; }
.priority-grid { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.priority { position: relative; }.priority input { position: absolute; opacity: 0; }.priority label { display: inline-flex; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; color: #526075; background: #fff; font-size: 10px; font-weight: 700; cursor: pointer; }.priority input:checked + label { color: var(--accent); border-color: rgba(var(--accent-rgb), .34); background: rgba(var(--accent-rgb), .08); }
.config-summary { position: sticky; top: 115px; color: #fff; border: 0; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 35%, #07111f), #07111f); }
.config-summary h2 { margin: 0; font-size: 24px; }.summary-brand { margin-top: 24px; display: flex; align-items: center; gap: 12px; }.summary-brand span:last-child { display: grid; }.summary-brand small { color: rgba(255,255,255,.55); }
.summary-lines { margin-top: 25px; padding: 18px 0; display: grid; gap: 12px; border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13); }.summary-line { display: flex; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.6); font-size: 11px; }.summary-line strong { color: #fff; text-align: right; }
.summary-total { margin-top: 22px; font-size: 39px; font-weight: 800; letter-spacing: -.05em; }.summary-total small { display: block; color: rgba(255,255,255,.55); font-family: "DM Sans"; font-size: 10px; font-weight: 600; letter-spacing: 0; }
.config-summary .cost-breakdown { margin-top: 22px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.13); }
.config-summary .estimate-total { margin-top: 16px; }
.config-summary .estimate-total > strong { font-size: 36px; }
.config-summary .button { width: 100%; margin-top: 22px; color: var(--ink); background: #fff; }
.summary-note { margin-top: 11px; color: rgba(255,255,255,.45); font-size: 8px; text-align: center; }

.site-footer { padding: 80px 0 25px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid { width: var(--container); margin: auto; display: grid; grid-template-columns: 1.5fr repeat(3, .7fr); gap: 45px; }
.footer-brand p { max-width: 330px; margin-top: 18px; color: var(--muted); font-size: 13px; }
.footer-col h3 { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.footer-col nav { margin-top: 17px; display: grid; gap: 10px; }.footer-col a { color: var(--muted); font-size: 12px; }.footer-col a:hover { color: var(--accent); }
.footer-bottom { width: var(--container); margin: 55px auto 0; padding-top: 20px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #8791a1; font-size: 10px; }

.demo-modal { width: min(520px, calc(100vw - 30px)); padding: 40px; border: 0; border-radius: 28px; color: var(--ink); box-shadow: 0 40px 120px rgba(5,15,30,.35); }
.demo-modal::backdrop { background: rgba(5, 13, 26, .64); backdrop-filter: blur(8px); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #657184; background: #f2f5f8; font-size: 24px; cursor: pointer; }
.demo-modal h2 { margin-top: 13px; font-size: 36px; line-height: 1.05; letter-spacing: -.045em; }.demo-modal > p { margin-top: 13px; color: var(--muted); }
.demo-modal form { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }.demo-modal label { display: grid; gap: 6px; color: #4e5c6f; font-size: 10px; font-weight: 800; }.demo-modal label:nth-child(2), .demo-modal label:nth-child(3), .demo-modal label:nth-child(4) { grid-column: span 1; }
.demo-modal input, .demo-modal select { width: 100%; height: 48px; padding: 0 13px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: #fff; outline: none; }.demo-modal input:focus, .demo-modal select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .1); }
.demo-modal form .button, .form-note { grid-column: 1 / -1; }.form-note { color: var(--muted); font-size: 9px; text-align: center; }

.toast { position: fixed; z-index: 500; left: 50%; bottom: 25px; padding: 12px 16px; border-radius: 12px; color: #fff; background: var(--ink); box-shadow: var(--shadow-lg); font-size: 12px; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, 20px); transition: opacity .3s, transform .3s var(--ease); }.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Fullscreen Smart Sentinel gateway */
body.gateway-mode { height: 100svh; color: #fff; background: #050b16; overflow: hidden; overscroll-behavior: none; }
body.gateway-mode .site-header, body.gateway-mode .site-footer, body.gateway-mode .scroll-progress { display: none; }
body.gateway-mode #main-content, body.gateway-mode #app { height: 100%; }

.system-gateway { --gateway-x: 0px; --gateway-y: 0px; position: relative; width: 100%; height: 100svh; min-height: 620px; color: #fff; background: radial-gradient(circle at 70% 35%, rgba(var(--gateway-rgb), .13), transparent 29%), linear-gradient(145deg, #07111f, #030812 76%); isolation: isolate; overflow: hidden; }
.gateway-canvas, .gateway-grid, .gateway-vignette { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.gateway-canvas { z-index: 1; }
.gateway-grid { z-index: 2; opacity: .26; background-image: linear-gradient(rgba(120,174,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(120,174,255,.045) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(90deg, #000, rgba(0,0,0,.65) 60%, transparent); }
.gateway-vignette { z-index: 4; box-shadow: inset 0 0 180px rgba(0,0,0,.55), inset 0 -100px 140px rgba(0,0,0,.38); }
.gateway-vignette::before { content: ""; position: absolute; width: 55vw; height: 1px; left: 12vw; top: 23%; background: linear-gradient(90deg, transparent, var(--gateway-accent), transparent); box-shadow: 0 0 24px var(--gateway-accent); opacity: .34; transform: translateX(var(--gateway-x)); transition: background .5s; }

.gateway-topbar { position: absolute; z-index: 80; top: 0; left: 0; right: 0; height: 122px; padding: 30px clamp(32px, 4.4vw, 84px); display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.gateway-logo { display: inline-flex; align-items: center; gap: 13px; }
.gateway-logo-emblem { position: relative; width: 48px; height: 55px; display: grid; place-items: center; clip-path: polygon(50% 0, 91% 16%, 84% 72%, 50% 100%, 16% 72%, 9% 16%); background: linear-gradient(145deg, #fff, var(--gateway-accent) 48%, #285eb9); filter: drop-shadow(0 0 16px rgba(var(--gateway-rgb), .42)); transition: background .45s, filter .45s; }
.gateway-logo-emblem::before { content: ""; position: absolute; inset: 3px; clip-path: inherit; background: linear-gradient(145deg, rgba(11,24,45,.96), rgba(3,10,21,.98)); }
.gateway-logo-emblem::after { content: ""; position: absolute; width: 70%; height: 150%; left: -100%; top: -25%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); transform: rotate(18deg); animation: logo-glint 5s ease-in-out infinite; }
.gateway-logo-emblem i { position: absolute; z-index: 1; width: 18px; height: 25px; border: 1px solid rgba(255,255,255,.25); clip-path: inherit; }
.gateway-logo-emblem b { position: relative; z-index: 2; color: #fff; font-family: "Manrope"; font-size: 17px; font-weight: 800; letter-spacing: -.05em; }
@keyframes logo-glint { 0%, 62% { left: -100%; } 82%, 100% { left: 130%; } }
.gateway-logo-copy { display: grid; gap: 1px; }
.gateway-logo-copy strong { font-family: "Manrope"; font-size: 17px; font-weight: 800; letter-spacing: .17em; }
.gateway-logo-copy small { color: rgba(255,255,255,.56); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.gateway-top-actions { display: flex; align-items: center; gap: 12px; }
.gateway-status, .gateway-theme-toggle { min-height: 39px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; color: rgba(255,255,255,.68); background: rgba(7,17,31,.46); backdrop-filter: blur(18px); font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.gateway-status i { width: 7px; height: 7px; border-radius: 50%; background: #38d39f; box-shadow: 0 0 0 5px rgba(56,211,159,.11), 0 0 14px #38d39f; animation: pulse 2s infinite; }
.gateway-theme-toggle { color: #fff; cursor: pointer; transition: color .25s, border-color .25s, background .25s, transform .25s; }
.gateway-theme-toggle:hover { border-color: rgba(var(--gateway-rgb), .55); background: rgba(var(--gateway-rgb), .13); transform: translateY(-2px); }

.gateway-stage, .gateway-panel { position: absolute; inset: 0; }
.gateway-stage { z-index: 10; perspective: 1600px; }
.gateway-panel { opacity: 0; pointer-events: none; transform: translate3d(108%, 0, -180px) rotateY(-8deg); transform-origin: center; transition: transform .92s var(--ease), opacity .72s ease, filter .92s var(--ease); will-change: transform, opacity; }
.gateway-panel.active { opacity: 1; pointer-events: auto; transform: translate3d(0,0,0) rotateY(0); filter: blur(0); }
.gateway-panel.enter-right { opacity: 0; transform: translate3d(108%,0,-180px) rotateY(-9deg); filter: blur(8px); }
.gateway-panel.enter-left { opacity: 0; transform: translate3d(-108%,0,-180px) rotateY(9deg); filter: blur(8px); }
.gateway-panel.exit-left { opacity: 0; transform: translate3d(-108%,0,-180px) rotateY(9deg); filter: blur(8px); }
.gateway-panel.exit-right { opacity: 0; transform: translate3d(108%,0,-180px) rotateY(-9deg); filter: blur(8px); }

.chooser-image-wall { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: #030914; }
.chooser-image-wall::before { content: ""; position: absolute; z-index: 2; inset: 0; background: radial-gradient(circle at 73% 46%, rgba(var(--gateway-rgb),.12), transparent 32%); mix-blend-mode: screen; pointer-events: none; }
.chooser-image-wall::after { content: ""; position: absolute; z-index: 3; inset: 0; background: linear-gradient(90deg, rgba(3,8,18,.97) 0%, rgba(3,8,18,.91) 34%, rgba(3,8,18,.49) 58%, rgba(3,8,18,.67) 100%), linear-gradient(180deg, rgba(3,8,18,.16), rgba(3,8,18,.72)); }
.chooser-image-wall span { position: absolute; inset: -4%; background-image: var(--wall-image); background-size: cover; background-position: center; opacity: 0; filter: saturate(.88) contrast(1.07) brightness(.78); transform: scale(1.09) translate3d(1.5%,0,0); transition: opacity 1.15s ease, transform 8s ease, filter 1.15s ease; will-change: opacity, transform; }
.chooser-image-wall span.active { opacity: .66; filter: saturate(1.06) contrast(1.08) brightness(.82); transform: scale(1.025) translate3d(0,0,0); }
.chooser-image-wall span:nth-child(2) { background-position: 68% center; }
.chooser-image-wall span:nth-child(3) { background-position: 70% center; }
.chooser-image-wall span:nth-child(4) { background-position: 67% center; }
.chooser-copy { position: absolute; z-index: 6; left: clamp(150px, 10.2vw, 208px); top: 23%; width: min(31vw, 590px); }
.gateway-eyebrow, .chapter-kicker { display: flex; align-items: center; gap: 10px; color: var(--gateway-accent); font-size: 9px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; transition: color .45s; }
.gateway-eyebrow::before, .chapter-kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; box-shadow: 0 0 8px currentColor; }
.chooser-copy h1 { max-width: 8ch; margin-top: 26px; font-size: clamp(64px, 5.8vw, 104px); line-height: .84; letter-spacing: -.075em; text-shadow: 0 18px 65px rgba(0,0,0,.56); }
.gateway-bold-tagline { display: block; margin-top: 28px; color: var(--gateway-accent); font-family: "Manrope"; font-size: clamp(12px, 1vw, 16px); font-weight: 800; text-transform: uppercase; letter-spacing: .13em; transition: color .45s; }
.chooser-copy > p { max-width: 470px; margin-top: 13px; color: rgba(255,255,255,.68); font-size: clamp(14px, 1.1vw, 18px); }
.gateway-scroll-cue { margin-top: 38px; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.48); }
.gateway-scroll-cue > span { position: relative; width: 25px; height: 39px; border: 1px solid rgba(255,255,255,.28); border-radius: 99px; }
.gateway-scroll-cue > span::after { content: ""; position: absolute; width: 3px; height: 7px; left: 10px; top: 8px; border-radius: 99px; background: var(--gateway-accent); box-shadow: 0 0 9px var(--gateway-accent); animation: gateway-scroll 1.8s ease-in-out infinite; }
@keyframes gateway-scroll { 50%, 100% { opacity: 0; transform: translateY(14px); } }
.gateway-scroll-cue b { font-size: 8px; text-transform: uppercase; letter-spacing: .15em; }

.system-card-deck { position: absolute; z-index: 6; top: 15%; right: clamp(36px, 3.5vw, 70px); width: min(54vw, 1040px); height: 72%; perspective: 1800px; }
.system-card-deck::before { content: ""; position: absolute; inset: 7% 4% 5%; background: radial-gradient(ellipse at center, rgba(var(--gateway-rgb),.17), transparent 68%); filter: blur(34px); pointer-events: none; }
.system-carousel { position: absolute; inset: 0; padding: 0; display: flex; align-items: stretch; gap: clamp(10px, .9vw, 18px); perspective: 1500px; transform-style: preserve-3d; }
.system-card { position: relative; min-width: 0; height: 100%; flex: 1 1 0; padding: 0; color: #fff; background: transparent; cursor: pointer; transform-style: preserve-3d; will-change: flex-grow, transform, opacity; transition: flex-grow 1.05s cubic-bezier(.2,.78,.18,1), transform 1.05s cubic-bezier(.2,.78,.18,1), opacity .7s ease, filter .7s ease; }
.system-card[data-orbit="0"] { z-index: 8; flex-grow: 5.45; opacity: 1; filter: saturate(1.08); transform: translateY(0); }
.system-card[data-orbit="1"] { z-index: 5; flex-grow: 1.2; opacity: .98; filter: saturate(.9) brightness(.94); transform: translateY(0); }
.system-card[data-orbit="2"] { z-index: 3; flex-grow: 1.06; opacity: .94; filter: saturate(.82) brightness(.9); transform: translateY(0); }
.system-card[data-orbit="3"] { z-index: 4; flex-grow: 1.16; opacity: .96; filter: saturate(.86) brightness(.92); transform: translateY(0); }
.system-card-inner { --shine-x: 30%; --shine-y: 20%; position: relative; width: 100%; height: 100%; display: block; border: 1px solid rgba(255,255,255,.2); border-radius: 18px; background: linear-gradient(150deg, rgba(14,28,47,.62), rgba(3,10,21,.92)); box-shadow: 0 34px 90px rgba(0,0,0,.46), inset 0 1px 0 rgba(255,255,255,.14); backdrop-filter: blur(20px) saturate(135%); transform-style: preserve-3d; overflow: hidden; transition: transform .28s var(--ease), border-color .35s, box-shadow .35s; }
.system-card-inner::before { content: ""; position: absolute; z-index: 6; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--card-accent), transparent 76%); box-shadow: 0 0 18px rgba(var(--card-rgb),.62); }
.system-card.carousel-active .system-card-inner { border-color: color-mix(in srgb, var(--card-accent) 68%, #fff); box-shadow: 0 45px 115px rgba(0,0,0,.55), 0 0 0 1px rgba(var(--card-rgb),.26), 0 0 55px rgba(var(--card-rgb),.24), inset 0 1px 0 rgba(255,255,255,.2); }
.system-card.carousel-active::after { content: ""; position: absolute; z-index: -1; inset: -9px; border: 1px solid rgba(var(--card-rgb),.26); border-radius: 24px; box-shadow: 0 0 38px rgba(var(--card-rgb),.2); animation: active-card-energy 2.8s ease-in-out infinite; }
@keyframes active-card-energy { 50% { opacity: .3; transform: scale(1.012); } }
.system-card:hover .system-card-inner, .system-card:focus-visible .system-card-inner { border-color: var(--card-accent); box-shadow: 0 46px 110px rgba(0,0,0,.52), 0 0 48px rgba(var(--card-rgb),.28); outline: none; }
.system-card-image { position: absolute; inset: 0; overflow: hidden; }
.system-card-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,10,21,.02) 35%, rgba(3,10,21,.18) 56%, rgba(3,10,21,.9) 100%); }
.system-card-image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.035); transition: transform 1.2s var(--ease), filter .5s; }
.system-card:nth-child(2) img { object-position: 70% center; }.system-card:nth-child(3) img { object-position: 72% center; }.system-card:nth-child(4) img { object-position: 68% center; }
.system-card.carousel-active img { animation: card-scene-breathe 8s ease-in-out infinite alternate; }
@keyframes card-scene-breathe { to { transform: scale(1.1) translate3d(-1%,0,0); } }
.system-card:hover img { transform: scale(1.09); filter: saturate(1.18); }
.system-card-shine { position: absolute; z-index: 3; inset: 0; background: radial-gradient(circle at var(--shine-x) var(--shine-y), rgba(255,255,255,.2), transparent 25%); mix-blend-mode: screen; pointer-events: none; }
.system-card-body { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; min-height: 146px; padding: 27px 35px 27px 42px; display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 18px; text-align: left; background: linear-gradient(180deg, transparent, rgba(4,13,26,.64) 28%, rgba(4,13,26,.96)); }
.system-card-body > b { color: var(--card-accent); font-family: "Manrope"; font-size: clamp(34px, 2.7vw, 48px); line-height: .86; letter-spacing: -.06em; }
.system-card-body > span { min-width: 0; display: grid; gap: 6px; padding-bottom: 2px; text-align: left; }
.system-card-body strong { font-family: "Manrope"; font-size: clamp(14px, 1.15vw, 20px); line-height: 1.05; letter-spacing: -.035em; }
.system-card-body small { color: rgba(255,255,255,.55); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.system-card-body > i { min-width: 58px; height: 34px; padding: 0 11px; display: grid; place-items: center; border: 1px solid rgba(var(--card-rgb),.62); color: transparent; font-size: 0; font-style: normal; }
.system-card-body > i::after { content: "VIEW"; color: #fff; font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.system-card:not(.carousel-active) .system-card-body { top: auto; min-height: min(44%, 270px); padding: 20px 15px 28px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 18px; background: linear-gradient(180deg, transparent, rgba(4,13,26,.16) 18%, rgba(4,13,26,.88)); }
.system-card:not(.carousel-active) .system-card-body > b { font-size: clamp(25px, 2vw, 36px); }
.system-card:not(.carousel-active) .system-card-body > span { height: min(55%, 265px); display: flex; align-items: flex-start; padding: 0; writing-mode: vertical-rl; transform: rotate(180deg); }
.system-card:not(.carousel-active) .system-card-body strong { font-size: clamp(12px, .92vw, 17px); font-weight: 900; line-height: 1; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.system-card:not(.carousel-active) .system-card-body small, .system-card:not(.carousel-active) .system-card-body > i { display: none; }

.chapter-photo, .chapter-wash { position: absolute; inset: 0; }
.chapter-photo { z-index: -2; overflow: hidden; }
.chapter-photo img { width: 108%; height: 108%; margin: -2%; object-fit: cover; filter: saturate(1.08) contrast(1.05) brightness(.72); transform: translate3d(var(--gateway-x), var(--gateway-y), 0) scale(1.04); transition: transform .18s linear; }
.gateway-chapter[data-chapter="industrial"] .chapter-photo img { object-position: 68% center; }
.gateway-chapter[data-chapter="corporate"] .chapter-photo img { object-position: 70% center; }
.gateway-chapter[data-chapter="events"] .chapter-photo img { object-position: 68% center; filter: saturate(1.16) contrast(1.06) brightness(.65); }
.chapter-photo-depth { position: absolute; inset: 0; background: linear-gradient(112deg, transparent 35%, rgba(var(--chapter-rgb), .12) 52%, transparent 68%); mix-blend-mode: screen; animation: chapter-depth-sweep 8s ease-in-out infinite; }
@keyframes chapter-depth-sweep { 50% { transform: translateX(16%); } }
.chapter-wash { z-index: -1; background: linear-gradient(90deg, rgba(3,8,18,.95) 0%, rgba(3,8,18,.82) 40%, rgba(3,8,18,.26) 68%, rgba(3,8,18,.62)), linear-gradient(180deg, rgba(3,8,18,.16), rgba(3,8,18,.8)); }
.chapter-copy { position: absolute; z-index: 5; left: clamp(72px, 8vw, 150px); top: 20%; width: min(43vw, 720px); }
.chapter-number { margin-bottom: 22px; color: var(--chapter-accent-2); font-family: "Manrope"; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.chapter-number span { color: rgba(255,255,255,.34); }
.chapter-kicker { color: var(--chapter-accent-2); }
.chapter-identity { margin-top: 22px; display: flex; align-items: center; gap: 11px; }
.chapter-identity > span:last-child { display: grid; gap: 1px; }
.chapter-identity strong { font-family: "Manrope"; font-size: 12px; }
.chapter-identity small { color: rgba(255,255,255,.48); font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.chapter-copy h2 { margin-top: 24px; font-size: clamp(51px, 5.3vw, 96px); line-height: .93; letter-spacing: -.065em; text-shadow: 0 16px 65px rgba(0,0,0,.42); }
.chapter-copy h2 em { color: var(--chapter-accent-2); font-style: normal; }
.chapter-copy > p { max-width: 570px; margin-top: 22px; color: rgba(255,255,255,.64); font-size: clamp(13px, 1vw, 17px); }
.chapter-actions { margin-top: 31px; display: flex; flex-wrap: wrap; gap: 9px; }
.gateway-primary-action, .gateway-next-action { min-height: 49px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; border-radius: 13px; font-size: 10px; font-weight: 800; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s; }
.gateway-primary-action { color: #06101f; background: #fff; box-shadow: 0 12px 35px rgba(0,0,0,.22); }
.gateway-primary-action span { color: var(--chapter-accent); font-size: 15px; }
.gateway-next-action { color: #fff; border: 1px solid rgba(255,255,255,.18); background: rgba(7,17,31,.45); backdrop-filter: blur(14px); }
.gateway-primary-action:hover, .gateway-next-action:hover { transform: translateY(-3px); box-shadow: 0 17px 38px rgba(0,0,0,.28), 0 0 24px rgba(var(--chapter-rgb), .15); }

.chapter-hud { position: absolute; z-index: 5; right: clamp(64px, 7vw, 130px); top: 20%; width: min(31vw, 510px); min-height: 57%; padding: clamp(22px, 2.2vw, 37px); border: 1px solid rgba(255,255,255,.19); border-radius: 31px; color: #fff; background: linear-gradient(145deg, rgba(var(--chapter-rgb), .16), rgba(4,13,26,.76) 42%, rgba(4,13,26,.9)); box-shadow: 0 38px 100px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.16); backdrop-filter: blur(25px) saturate(145%); transform: perspective(1200px) rotateY(-6deg) rotateX(2deg) translate3d(var(--gateway-x), var(--gateway-y), 0); transform-style: preserve-3d; transition: transform .18s linear; overflow: hidden; }
.chapter-hud::before { content: ""; position: absolute; width: 220px; height: 220px; right: -100px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--chapter-rgb), .28), transparent 65%); }
.hud-orbit { position: relative; width: 102px; height: 102px; display: grid; place-items: center; }
.hud-orbit > i { position: absolute; inset: 2px; border: 1px solid rgba(var(--chapter-rgb), .44); border-radius: 50%; animation: hud-orbit 8s linear infinite; }
.hud-orbit > i::after { content: ""; position: absolute; width: 7px; height: 7px; top: 10px; right: 7px; border-radius: 50%; background: var(--chapter-accent-2); box-shadow: 0 0 14px var(--chapter-accent-2); }
.hud-orbit > i:nth-child(2) { inset: 14px; animation-direction: reverse; animation-duration: 5s; }
.hud-orbit > i:nth-child(2)::after { top: auto; right: auto; bottom: -2px; left: 14px; width: 5px; height: 5px; }
@keyframes hud-orbit { to { transform: rotate(360deg); } }
.hud-orbit > span { transform: scale(1.45); filter: drop-shadow(0 0 14px rgba(var(--chapter-rgb), .45)); }
.hud-head { margin-top: 22px; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.hud-head span { font-size: 11px; font-weight: 800; }
.hud-head b { color: var(--chapter-accent-2); font-size: 7px; text-transform: uppercase; letter-spacing: .09em; }
.hud-metrics { margin-top: 13px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.hud-metrics > div { min-width: 0; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: rgba(255,255,255,.055); }
.hud-metrics span { display: block; min-height: 24px; color: rgba(255,255,255,.42); font-size: 6.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.hud-metrics strong { display: block; margin-top: 6px; font-family: "Manrope"; font-size: clamp(16px, 1.4vw, 23px); }
.hud-metrics small { display: block; margin-top: 3px; color: var(--chapter-accent-2); font-size: 6.5px; }
.hud-signal { position: relative; margin-top: 10px; padding: 13px 13px 13px 49px; display: grid; gap: 2px; border-radius: 13px; background: rgba(255,255,255,.055); }
.hud-signal > span { position: absolute; width: 24px; height: 24px; left: 13px; top: 15px; border: 1px solid var(--chapter-accent-2); border-radius: 50%; }
.hud-signal > span::before, .hud-signal > span::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(var(--chapter-rgb), .5); border-radius: inherit; animation: pulse 1.8s infinite; }
.hud-signal b { font-size: 9px; }.hud-signal small { color: rgba(255,255,255,.42); font-size: 7px; }
.gateway-chapter.active .chapter-copy > * { animation: gateway-copy-in .8s var(--ease) both; }
.gateway-chapter.active .chapter-copy > *:nth-child(2) { animation-delay: .06s; }.gateway-chapter.active .chapter-copy > *:nth-child(3) { animation-delay: .11s; }.gateway-chapter.active .chapter-copy > *:nth-child(4) { animation-delay: .16s; }.gateway-chapter.active .chapter-copy > *:nth-child(5) { animation-delay: .21s; }.gateway-chapter.active .chapter-copy > *:nth-child(6) { animation-delay: .27s; }
.gateway-chapter.active .chapter-hud { animation: gateway-hud-in .95s .15s var(--ease) both; }
@keyframes gateway-copy-in { from { opacity: 0; transform: translateX(75px); } }
@keyframes gateway-hud-in { from { opacity: 0; transform: perspective(1200px) rotateY(-15deg) translateX(100px) scale(.92); } }

.gateway-rail { position: absolute; z-index: 90; left: clamp(16px, 2.2vw, 43px); top: 50%; display: grid; gap: 2px; transform: translateY(-50%); }
.gateway-rail button { min-width: 74px; height: 52px; padding: 0; display: grid; grid-template-columns: 25px 18px 1fr; align-items: center; gap: 7px; color: rgba(255,255,255,.3); background: transparent; cursor: pointer; text-align: left; transition: color .3s; }
.gateway-rail button > span { font-family: "Manrope"; font-size: 10px; font-weight: 800; }
.gateway-rail button > i { position: relative; width: 18px; height: 1px; background: rgba(255,255,255,.2); }
.gateway-rail button > i::after { content: ""; position: absolute; width: 5px; height: 5px; right: -1px; top: -2px; border-radius: 50%; background: currentColor; opacity: 0; }
.gateway-rail button > b { opacity: 0; font-size: 7px; text-transform: uppercase; letter-spacing: .08em; transform: translateX(-8px); transition: opacity .3s, transform .3s; }
.gateway-rail button.active { color: var(--gateway-accent); }
.gateway-rail button.active > i { height: 2px; background: currentColor; box-shadow: 0 0 12px currentColor; }
.gateway-rail button.active > i::after, .gateway-rail button.active > b { opacity: 1; transform: translateX(0); }

.gateway-footer { position: absolute; z-index: 90; left: clamp(28px, 4vw, 76px); right: clamp(28px, 4vw, 76px); bottom: 22px; display: flex; align-items: center; justify-content: space-between; gap: 22px; color: rgba(255,255,255,.42); }
.gateway-progress { display: flex; align-items: center; gap: 9px; font-family: "Manrope"; font-size: 8px; font-weight: 800; }
.gateway-progress > i { width: 112px; height: 2px; background: rgba(255,255,255,.13); overflow: hidden; }
.gateway-progress > i > b { display: block; width: 100%; height: 100%; background: var(--gateway-accent); box-shadow: 0 0 10px var(--gateway-accent); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease), background .4s; }
.gateway-footer p { font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.gateway-footer a { color: #fff; font-weight: 800; border-bottom: 1px solid var(--gateway-accent); }
.gateway-control-hint { position: absolute; z-index: 89; left: 50%; bottom: 22px; display: flex; gap: 6px; transform: translateX(-50%); }
.gateway-control-hint span { padding: 5px 8px; border: 1px solid rgba(255,255,255,.1); border-radius: 6px; color: rgba(255,255,255,.32); background: rgba(7,17,31,.35); font-size: 6px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }

body.gateway-light { color: #07182b; background: #aebdcd; }
.gateway-light .system-gateway { color: #07182b; background: radial-gradient(circle at 68% 33%, rgba(var(--gateway-rgb), .24), transparent 34%), linear-gradient(145deg, #c4d0dc, #9fadb9 76%); }
.gateway-light .gateway-grid { opacity: .3; background-image: linear-gradient(rgba(7,32,64,.075) 1px, transparent 1px), linear-gradient(90deg, rgba(7,32,64,.075) 1px, transparent 1px); }
.gateway-light .gateway-vignette { box-shadow: inset 0 0 190px rgba(16,38,64,.24), inset 0 -110px 150px rgba(25,49,75,.18); }
.gateway-light .gateway-logo-emblem::before { background: linear-gradient(145deg, #193454, #08192d); }
.gateway-light .gateway-logo-copy strong { color: #08172a; }.gateway-light .gateway-logo-copy small { color: rgba(8,23,42,.5); }
.gateway-light .gateway-status, .gateway-light .gateway-theme-toggle { color: #17304d; border-color: rgba(8,34,66,.18); background: rgba(211,222,233,.54); box-shadow: 0 12px 32px rgba(18,43,70,.16), inset 0 1px 0 rgba(255,255,255,.54); }
.gateway-light .chooser-image-wall { background: #93a3b4; }
.gateway-light .chooser-image-wall span { opacity: 0; filter: saturate(.82) contrast(1.03) brightness(.88); }
.gateway-light .chooser-image-wall span.active { opacity: .59; filter: saturate(.92) contrast(1.03) brightness(.9); }
.gateway-light .chooser-image-wall::after { background: linear-gradient(90deg, rgba(185,199,213,.96) 0%, rgba(183,198,213,.91) 35%, rgba(164,181,197,.48) 63%, rgba(141,158,176,.67)), linear-gradient(180deg, rgba(196,208,220,.16), rgba(130,149,168,.56)); }
.gateway-light .chooser-copy h1, .gateway-light .chapter-copy h2 { color: #06172b; text-shadow: 0 18px 55px rgba(19,45,75,.2); }
.gateway-light .chooser-copy > p, .gateway-light .gateway-scroll-cue { color: rgba(8,23,42,.62); }
.gateway-light .gateway-scroll-cue > span { border-color: rgba(8,23,42,.28); }
.gateway-light .system-card-deck::before { background: radial-gradient(ellipse at center, rgba(var(--gateway-rgb),.2), transparent 68%); }
.gateway-light .system-card-inner { background: linear-gradient(145deg, rgba(215,225,234,.68), rgba(166,182,198,.73)); border-color: rgba(8,31,61,.2); box-shadow: 0 36px 95px rgba(17,41,68,.3), inset 0 1px 0 rgba(255,255,255,.68); }
.gateway-light .system-card.carousel-active .system-card-inner { box-shadow: 0 48px 120px rgba(17,41,68,.34), 0 0 0 1px rgba(var(--card-rgb),.28), 0 0 48px rgba(var(--card-rgb),.23), inset 0 1px 0 rgba(255,255,255,.72); }
.gateway-light .system-card-body { color: #07182c; background: linear-gradient(180deg, transparent, rgba(198,211,223,.68) 30%, rgba(177,193,208,.95)); }
.gateway-light .system-card-body small { color: rgba(8,23,42,.53); }.gateway-light .system-card-body > i::after { color: #08172a; }
.gateway-light .chapter-photo img { filter: saturate(.94) contrast(1.02) brightness(.89); }
.gateway-light .chapter-wash { background: linear-gradient(90deg, rgba(187,202,216,.95) 0%, rgba(181,197,212,.86) 42%, rgba(164,182,198,.28) 70%, rgba(130,151,171,.55)), linear-gradient(180deg, rgba(202,213,224,.08), rgba(125,146,166,.58)); }
.gateway-light .chapter-number span, .gateway-light .chapter-identity small, .gateway-light .chapter-copy > p { color: rgba(8,23,42,.57); }
.gateway-light .chapter-identity strong { color: #08172a; }
.gateway-light .chapter-hud { color: #08172a; border-color: rgba(8,31,61,.18); background: linear-gradient(145deg, rgba(var(--chapter-rgb), .15), rgba(197,211,224,.67) 42%, rgba(177,193,208,.8)); box-shadow: 0 42px 100px rgba(17,41,68,.3), inset 0 1px 0 rgba(255,255,255,.64); }
.gateway-light .hud-head, .gateway-light .hud-metrics > div { border-color: rgba(8,31,61,.1); }
.gateway-light .hud-metrics > div, .gateway-light .hud-signal { background: rgba(219,228,236,.38); }
.gateway-light .hud-metrics span, .gateway-light .hud-signal small { color: rgba(8,23,42,.46); }
.gateway-light .gateway-next-action { color: #08172a; border-color: rgba(8,31,61,.18); background: rgba(207,219,229,.56); }
.gateway-light .gateway-primary-action { color: #fff; background: #08172a; }
.gateway-light .gateway-rail button { color: rgba(8,23,42,.3); }.gateway-light .gateway-rail button.active { color: var(--gateway-accent); }.gateway-light .gateway-rail button > i { background: rgba(8,23,42,.17); }
.gateway-light .gateway-footer { color: rgba(8,23,42,.48); }.gateway-light .gateway-footer a { color: #08172a; }
.gateway-light .gateway-progress > i { background: rgba(8,23,42,.12); }
.gateway-light .gateway-control-hint span { color: rgba(8,23,42,.46); border-color: rgba(8,23,42,.14); background: rgba(204,216,226,.44); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }.reveal.in-view { opacity: 1; transform: translateY(0); }.reveal-delay-1 { transition-delay: .08s; }.reveal-delay-2 { transition-delay: .16s; }.reveal-delay-3 { transition-delay: .24s; }

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .mobile-toggle { display: grid; }
  .hero { min-height: auto; padding-top: 150px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; }
  .hero-media::before { background: linear-gradient(180deg, rgba(248,251,255,.96) 0%, rgba(248,251,255,.78) 50%, rgba(248,251,255,.1) 75%, #fff 100%); }
  .hero-visual { width: min(640px, 88%); min-height: 530px; margin: auto; }
  .signal-grid { grid-template-columns: repeat(4, 1fr); }.signal-item:nth-child(4) { border-right: 0; }.signal-item:nth-child(n+5) { border-top: 1px solid var(--line); }
  .live-shell { grid-template-columns: 1fr; }.live-copy-card h3 { margin-top: 25px; }
  .spatial-screen { min-height: 610px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 720px; margin: auto; }.plan-card.featured { transform: none; }
}

@media (max-width: 780px) {
  :root { --container: min(100% - 28px, 680px); }
  .site-header { padding: 10px 0; }
  .nav-shell { min-height: 56px; border-radius: 17px; }
  .brand { min-width: 0; }.brand-copy small { display: none; }.brand-copy strong { font-size: 12px; }.brand-mark { width: 35px; height: 35px; }
  .brand-switcher, .nav-actions > .demo-trigger { display: none; }
  .hero { padding: 122px 0 62px; }
  .hero h1 { font-size: clamp(43px, 14vw, 68px); }
  .hero-lead { font-size: 15px; }
  .hero-visual { width: 100%; min-height: 480px; }
  .hero-dashboard { transform: none; padding: 12px; border-radius: 22px; }
  .floating-alert { right: -4px; width: 155px; }.floating-alert.bottom { left: -3px; }
  .dashboard-metrics { grid-template-columns: repeat(2, 1fr); }.metric:last-child { grid-column: 1 / -1; }
  .section { padding: 82px 0; }.section.compact { padding: 62px 0; }
  .section-heading p { font-size: 15px; }
  .signal-panel { margin-top: -30px; padding: 15px; }.signal-grid { grid-template-columns: repeat(2, 1fr); }.signal-item, .signal-item:nth-child(4) { border-right: 1px solid var(--line); }.signal-item:nth-child(even) { border-right: 0; }.signal-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento-grid { grid-template-columns: 1fr; }.bento-card:nth-child(n) { grid-column: 1; }.bento-card { min-height: 280px; padding: 23px; }
  .live-copy-card { padding: 28px; }.live-screen { min-height: 560px; padding: 10px; }.screen-ui { inset: 10px; grid-template-columns: 1fr; }.screen-sidebar { display: none; }
  .spatial-screen { padding: 10px; border-radius: 24px; }
  .spatial-layout { grid-template-columns: 1fr; }
  .spatial-map { min-height: 510px; }
  .marker-label { display: none; }
  .spatial-marker.active .marker-label { display: grid; max-width: 128px; }
  .spatial-side { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .spatial-side-head, .event-feed-title, .live-event-stack { grid-column: 1 / -1; }
  .spatial-kpis { margin-top: 0; }
  .mini-live-chart { margin-top: 0; height: auto; min-height: 120px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }.stat-card { min-height: 170px; padding: 20px; }.stat-card p { margin-top: 25px; }
  .people-row { grid-template-columns: repeat(3, 1fr); }
  .trust-band { grid-template-columns: repeat(2, 1fr); }
  .cta-shell { padding: 46px 26px; grid-template-columns: 1fr; border-radius: 28px; }.cta-shell .button { width: 100%; }
  .pricing-hero, .configure-hero { padding: 135px 0 65px; }.pricing-hero p, .configure-hero p { font-size: 15px; }
  .pilot-estimator { padding: 28px; border-radius: 26px; }
  .pilot-estimator-head { align-items: flex-start; flex-direction: column; }
  .pilot-estimator-grid { grid-template-columns: 1fr; }
  .matrix-row { grid-template-columns: repeat(2, 1fr); }
  .configure-layout { grid-template-columns: 1fr; }.config-card, .config-summary { padding: 23px; }.config-summary { position: static; }.choice-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }.footer-brand { grid-column: 1 / -1; }.footer-bottom { flex-direction: column; }
}

@media (max-width: 500px) {
  .mobile-panel { padding: 98px 14px 22px; }
  .mobile-menu-intro { align-items: start; }
  .mobile-menu-intro small { display: none; }
  .mobile-primary, .mobile-product-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
  .mobile-link { min-height: 64px; padding: 11px; gap: 9px; }
  .mobile-link .menu-icon { width: 31px; height: 31px; }
  .mobile-link strong { font-size: 11px; }
  .mobile-link small { display: none; }
  .mobile-product { min-height: 70px; padding: 10px; gap: 9px; }
  .mobile-product strong { font-size: 9.5px; line-height: 1.3; }
  .mobile-menu-footer { align-items: stretch; flex-direction: column; }
  .mobile-menu-footer .button { width: 100%; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: repeat(2, 1fr); }.proof-pill { justify-content: center; }
  .hero-visual { min-height: 450px; }.dashboard-stage { min-height: 220px; }.floating-alert { top: -5px; }.floating-alert.bottom { bottom: -6px; }
  .stats-grid { grid-template-columns: 1fr; }.people-row { grid-template-columns: repeat(2, 1fr); }
  .trust-band { grid-template-columns: 1fr; }
  .screen-kpis { grid-template-columns: 1fr 1fr; }.screen-kpi:last-child { grid-column: 1 / -1; }.activity-chart { height: 170px; }
  .spatial-topbar { align-items: flex-start; }
  .tracking-pill { padding: 6px 8px; font-size: 6px; }
  .spatial-map { min-height: 545px; }
  .zone-image-tile { width: 76px; }
  .zone-image-tile > span { display: none; }
  .spatial-marker.active .marker-label { max-width: 118px; }
  .map-legend { top: 12px; bottom: auto; grid-template-columns: repeat(3, auto); max-width: calc(100% - 24px); }
  .map-focus-card { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .spatial-side { grid-template-columns: 1fr; }
  .spatial-side-head, .event-feed-title, .live-event-stack { grid-column: auto; }
  .mini-live-chart { min-height: 100px; }
  .pilot-estimator { padding: 20px; }
  .pilot-controls, .pilot-cost-card { padding: 18px; }
  .pilot-camera-control { grid-template-columns: 1fr; }
  .camera-stepper { width: 100%; }
  .pilot-camera-control input[type="range"] { grid-column: auto; }
  .assumption-grid { grid-template-columns: 1fr; }
  .matrix-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }.footer-brand { grid-column: auto; }
  .demo-modal { padding: 32px 22px; }.demo-modal form { grid-template-columns: 1fr; }.demo-modal label:nth-child(n) { grid-column: 1; }
}

@media (max-width: 1250px) {
  .chooser-copy { left: 7vw; width: 34vw; }
  .chooser-copy h1 { font-size: clamp(53px, 5.6vw, 76px); }
  .system-card-deck { right: 1.5vw; width: 59vw; }
  .system-card[data-orbit="0"] { flex-grow: 4.6; }
  .system-card-body { min-height: 126px; padding: 23px 24px 23px 31px; gap: 13px; }
  .system-card-body > b { font-size: 35px; }
  .system-card-body strong { font-size: 14px; }
  .system-card-body > i { min-width: 48px; }
  .chapter-copy { left: 8vw; width: 46vw; }
  .chapter-hud { right: 4vw; width: 34vw; }
  .gateway-rail button > b { display: none; }
}

@media (max-width: 900px) {
  .system-gateway { min-height: 0; }
  .gateway-topbar { height: 86px; padding: 18px 24px; }
  .gateway-logo-emblem { width: 40px; height: 46px; }
  .gateway-logo-copy strong { font-size: 12px; }
  .gateway-status { display: none; }
  .chooser-copy { top: 14%; left: 12vw; width: 80vw; }
  .chooser-copy h1 { margin-top: 15px; font-size: clamp(46px, 10vw, 74px); line-height: .87; }
  .chooser-copy > p { max-width: 560px; margin-top: 13px; }
  .gateway-scroll-cue { margin-top: 15px; }
  .system-card-deck { top: 45%; left: 6vw; right: 6vw; width: auto; height: 42%; }
  .system-carousel { inset: 0; gap: 7px; }
  .system-card { width: auto; height: 100%; }
  .system-card[data-orbit="0"] { flex-grow: 4.8; transform: translateY(0); }
  .system-card[data-orbit="1"], .system-card[data-orbit="2"], .system-card[data-orbit="3"] { transform: translateY(0); }
  .system-card-inner { display: block; }
  .system-card-body { min-height: 90px; padding: 18px 20px 18px 25px; grid-template-columns: auto 1fr; }
  .system-card-body > b { font-size: 29px; }
  .system-card-body strong { font-size: 12px; }
  .system-card-body small { font-size: 6px; }
  .system-card-body > i { display: none; }
  .system-card:not(.carousel-active) .system-card-body { padding: 20px 9px 24px; gap: 10px; }
  .system-card:not(.carousel-active) .system-card-body > span { height: 50%; }
  .chapter-copy { top: 15%; left: 8vw; width: 50vw; }
  .chapter-copy h2 { font-size: clamp(42px, 7vw, 64px); }
  .chapter-hud { top: 19%; right: 5vw; width: 36vw; min-height: 56%; padding: 20px; }
  .hud-orbit { width: 78px; height: 78px; }
  .hud-metrics { grid-template-columns: 1fr; }
  .hud-metrics > div { padding: 8px 10px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 10px; }
  .hud-metrics span { min-height: 0; }.hud-metrics strong { margin-top: 0; }.hud-metrics small { grid-column: 1 / -1; }
  .gateway-control-hint { display: none; }
}

@media (max-width: 720px) {
  .gateway-topbar { padding: 14px 16px; }
  .gateway-logo { gap: 9px; }
  .gateway-logo-emblem { width: 35px; height: 41px; }
  .gateway-logo-copy strong { font-size: 10px; letter-spacing: .11em; }
  .gateway-logo-copy small { display: none; }
  .gateway-theme-toggle { width: 39px; min-height: 39px; padding: 0; justify-content: center; }
  .gateway-theme-toggle span { display: none; }
  .chooser-copy { top: 13%; left: 10vw; width: 80vw; }
  .gateway-eyebrow { font-size: 7px; }
  .chooser-copy h1 { font-size: clamp(45px, 13.5vw, 67px); }
  .gateway-bold-tagline { margin-top: 12px; font-size: 8px; }
  .chooser-copy > p { max-width: 90%; margin-top: 6px; font-size: 10px; }
  .gateway-scroll-cue { display: none; }
  .system-card-deck { top: 47%; left: 5vw; right: 5vw; height: 42%; }
  .system-carousel { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: minmax(0, 1fr) 58px; gap: 8px; padding: 0; }
  .system-card { min-width: 0; height: auto; flex: none; transform: none !important; }
  .system-card[data-orbit="0"] { grid-column: 1 / -1; grid-row: 1; flex-grow: 0; }
  .system-card[data-orbit="1"] { grid-column: 1; grid-row: 2; }
  .system-card[data-orbit="2"] { grid-column: 2; grid-row: 2; }
  .system-card[data-orbit="3"] { grid-column: 3; grid-row: 2; }
  .system-card-inner { border-radius: 14px; }
  .system-card-body { min-height: 82px; padding: 14px 16px; gap: 9px; }
  .system-card-body > b { font-size: 24px; }
  .system-card-body strong { font-size: 10px; }
  .system-card-body small { display: none; }
  .system-card:not(.carousel-active) .system-card-body { inset: 0; min-height: 0; padding: 7px 6px; display: grid; grid-template-columns: auto 1fr; align-items: center; justify-content: start; gap: 5px; background: linear-gradient(90deg, rgba(4,13,26,.92), rgba(4,13,26,.36)); }
  .system-card:not(.carousel-active) .system-card-body > b { font-size: 16px; }
  .system-card:not(.carousel-active) .system-card-body > span { width: auto; height: auto; display: block; writing-mode: horizontal-tb; transform: none; }
  .system-card:not(.carousel-active) .system-card-body strong { overflow: hidden; display: block; font-size: 7px; letter-spacing: .06em; text-overflow: ellipsis; white-space: nowrap; }
  .system-card:not(.carousel-active) .system-card-body small, .system-card:not(.carousel-active) .system-card-body > i { display: none; }
  .chapter-photo img { width: 116%; height: 116%; margin: -8%; }
  .chapter-wash { background: linear-gradient(180deg, rgba(3,8,18,.88) 0%, rgba(3,8,18,.66) 46%, rgba(3,8,18,.88) 100%); }
  .chapter-copy { top: 11%; left: 6vw; width: 88vw; }
  .chapter-number { margin-bottom: 8px; }
  .chapter-identity { margin-top: 11px; }
  .chapter-copy h2 { margin-top: 13px; font-size: clamp(38px, 12vw, 56px); line-height: .91; }
  .chapter-copy > p { max-width: 92%; margin-top: 11px; font-size: 10px; }
  .chapter-actions { margin-top: 14px; }
  .gateway-primary-action, .gateway-next-action { min-height: 41px; padding: 0 12px; gap: 9px; font-size: 8px; }
  .chapter-hud { top: auto; left: 6vw; right: 6vw; bottom: 14%; width: auto; min-height: 0; height: 22%; padding: 12px; border-radius: 18px; transform: perspective(900px) rotateX(2deg) translate3d(var(--gateway-x), 0, 0); }
  .chapter-hud::before, .hud-orbit { display: none; }
  .hud-head { margin-top: 0; padding-top: 0; border-top: 0; }
  .hud-metrics { margin-top: 7px; grid-template-columns: repeat(3, 1fr); }
  .hud-metrics > div { display: block; padding: 8px; }
  .hud-metrics span { min-height: 18px; }.hud-metrics strong { font-size: 14px; }.hud-metrics small { display: none; }
  .hud-signal { margin-top: 7px; padding: 8px 8px 8px 34px; }
  .hud-signal > span { width: 17px; height: 17px; left: 9px; top: 9px; }
  .hud-signal b { font-size: 7px; }.hud-signal small { display: none; }
  .gateway-rail { display: none; }
  .gateway-rail button { min-width: 38px; width: 38px; height: 31px; display: grid; grid-template-columns: 1fr; place-items: center; }
  .gateway-rail button > span { font-size: 8px; }.gateway-rail button > i, .gateway-rail button > b { display: none; }
  .gateway-rail button.active { border: 1px solid currentColor; border-radius: 8px; background: rgba(var(--gateway-rgb), .1); }
  .gateway-footer { left: 16px; right: 16px; bottom: 13px; }
  .gateway-progress { display: none; }
  .gateway-footer p { margin-left: auto; font-size: 7px; }
  .gateway-light .chapter-wash { background: linear-gradient(180deg, rgba(184,199,213,.9) 0%, rgba(166,183,199,.6) 45%, rgba(132,151,170,.86) 100%); }
}

@media (max-height: 690px) and (min-width: 721px) {
  .gateway-topbar { height: 82px; padding-top: 14px; padding-bottom: 14px; }
  .chooser-copy, .chapter-copy { top: 16%; }
  .system-card-deck { top: 17%; height: 67%; }
  .chapter-hud { top: 16%; min-height: 62%; }
  .chapter-copy h2 { font-size: clamp(43px, 4.8vw, 72px); }
  .chapter-actions { margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-media img, .screen-photo img { transform: scale(1.04); }
}
