/* Nova Link spatial command experience */
:root {
  --nova-electric: #39c6ff;
  --nova-electric-soft: rgba(57, 198, 255, 0.18);
  --nova-lime: #8bf332;
  --nova-lime-soft: rgba(139, 243, 50, 0.16);
  --nova-night: #01050c;
  --nova-glass: rgba(3, 15, 27, 0.72);
}

body {
  background:
    radial-gradient(circle at 78% 2%, rgba(22, 107, 224, 0.11), transparent 32rem),
    linear-gradient(180deg, #01040a, #020915 38%, #02060c);
}

.nova-scroll-progress {
  position: fixed;
  z-index: 99999;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, #1e8fff, #48d7ff 62%, #8bf332);
  box-shadow: 0 0 11px rgba(72, 215, 255, 0.64);
  transform: scaleX(0);
  transform-origin: left center;
}

html[dir="rtl"] .nova-scroll-progress {
  transform-origin: right center;
}

.nova-spatial-cursor {
  position: fixed;
  z-index: 99998;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(76, 207, 255, 0.58);
  border-radius: 50%;
  filter: drop-shadow(0 0 7px rgba(76, 207, 255, 0.28));
  transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease, opacity 0.25s ease, border-color 0.2s ease;
}

.nova-spatial-cursor.is-visible {
  opacity: 0.72;
}

.nova-spatial-cursor.is-interactive {
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-color: rgba(139, 243, 50, 0.72);
}

.nova-spatial-cursor i {
  position: absolute;
  background: #61d7ff;
}

.nova-spatial-cursor i:first-child {
  top: 50%;
  right: -5px;
  left: -5px;
  height: 1px;
}

.nova-spatial-cursor i:nth-child(2) {
  top: -5px;
  bottom: -5px;
  left: 50%;
  width: 1px;
}

.nova-spatial-cursor span {
  position: absolute;
  top: 50%;
  left: 50%;
  color: rgba(196, 239, 255, 0.82);
  font: 700 5px/1 Consolas, monospace;
  transform: translate(-50%, -50%);
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent 5%, rgba(51, 198, 255, 0.55), rgba(139, 243, 50, 0.35), transparent 95%);
  transform: scaleX(0.72);
  filter: drop-shadow(0 0 8px rgba(51, 198, 255, 0.5));
}

.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at calc(70% + var(--mx) * 2%) calc(45% + var(--my) * 2%), rgba(28, 138, 255, 0.2), transparent 27rem),
    radial-gradient(circle at 74% 49%, rgba(139, 243, 50, 0.07), transparent 17rem),
    linear-gradient(130deg, #01040a 0%, #030b18 50%, #01050c 100%);
}

.hero::after {
  height: 240px;
  background:
    linear-gradient(0deg, #071421 0%, rgba(7, 20, 33, 0.68) 31%, transparent 100%),
    radial-gradient(ellipse at center bottom, rgba(34, 150, 255, 0.13), transparent 62%);
}

.hero .hero-copy h1 {
  letter-spacing: -4.8px;
}

.hero .hero-copy h1 span {
  font-size: 0.41em;
  line-height: 1.12;
  background: linear-gradient(94deg, #f8fcff 2%, #6ed6ff 46%, #2295ff 72%, #9af450 112%);
  -webkit-background-clip: text;
  background-clip: text;
}

html[dir="rtl"] .hero .hero-copy h1 {
  letter-spacing: 0;
}

.hero .btn {
  position: relative;
  overflow: hidden;
}

.hero .btn::after,
.universe-action::after {
  position: absolute;
  top: -70%;
  left: -40%;
  width: 26%;
  height: 250%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(21deg) translateX(-260%);
  transition: transform 0.72s ease;
}

.hero .btn:hover::after,
.hero .btn:focus-visible::after,
.universe-action:hover::after,
.universe-action:focus-visible::after {
  transform: rotate(21deg) translateX(620%);
}

.spatial-grid-floor {
  position: absolute;
  z-index: 1;
  right: 3%;
  bottom: 3%;
  left: 3%;
  height: 47%;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(68, 194, 255, 0.17) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 194, 255, 0.15) 1px, transparent 1px);
  background-size: 38px 25px;
  mask-image: linear-gradient(to top, #000, transparent 91%);
  -webkit-mask-image: linear-gradient(to top, #000, transparent 91%);
  transform: perspective(560px) rotateX(66deg) translateY(28%);
  transform-origin: center bottom;
  animation: spatial-floor 9s linear infinite;
}

.spatial-scan-beam {
  position: absolute;
  z-index: 2;
  top: 8%;
  bottom: 9%;
  left: 50%;
  width: 1px;
  pointer-events: none;
  opacity: 0.5;
  background: linear-gradient(transparent, rgba(55, 205, 255, 0.95), transparent);
  box-shadow: 0 0 18px 3px rgba(55, 205, 255, 0.12);
  animation: spatial-scan 7.5s ease-in-out infinite;
}

.spatial-scan-beam::after {
  position: absolute;
  top: 42%;
  left: 50%;
  width: 180px;
  height: 180px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 205, 255, 0.1), transparent 68%);
  transform: translate(-50%, -50%);
}

.spatial-frame {
  position: absolute;
  z-index: 3;
  width: 84px;
  height: 84px;
  pointer-events: none;
  opacity: 0.48;
}

.spatial-frame--one {
  top: 27%;
  left: 25%;
  transform: translateZ(46px) rotate(7deg);
}

.spatial-frame--two {
  right: 24%;
  bottom: 27%;
  width: 62px;
  height: 62px;
  transform: translateZ(70px) rotate(-8deg);
}

.spatial-frame i {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--nova-electric);
}

.spatial-frame i:nth-child(1) {
  top: 0;
  left: 0;
  border-top: 1px solid;
  border-left: 1px solid;
}

.spatial-frame i:nth-child(2) {
  top: 0;
  right: 0;
  border-top: 1px solid;
  border-right: 1px solid;
}

.spatial-frame i:nth-child(3) {
  right: 0;
  bottom: 0;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

.spatial-frame i:nth-child(4) {
  bottom: 0;
  left: 0;
  border-bottom: 1px solid;
  border-left: 1px solid;
}

.spatial-telemetry {
  position: absolute;
  z-index: 14;
  right: 9%;
  bottom: 0;
  left: 9%;
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 4px;
  align-items: stretch;
  direction: ltr;
  pointer-events: none;
  transform: translateZ(72px);
}

.spatial-telemetry > span,
.spatial-telemetry > time {
  display: grid;
  min-height: 38px;
  align-content: center;
  gap: 2px;
  padding: 7px 10px;
  border: 1px solid rgba(74, 181, 247, 0.14);
  background: rgba(2, 12, 23, 0.66);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(12px);
}

.spatial-telemetry > span:first-child {
  border-radius: 10px 0 0 10px;
}

.spatial-telemetry > time {
  align-items: center;
  min-width: 78px;
  color: #7bddff;
  border-radius: 0 10px 10px 0;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.spatial-telemetry small {
  color: #426d88;
  font-size: 5px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.spatial-telemetry b {
  color: #dff6ff;
  font-size: 8px;
  letter-spacing: 0.04em;
}

.platform-card,
.capability-card,
.architect-panel,
.command-twin {
  --card-x: 50%;
  --card-y: 50%;
  position: relative;
}

.platform-card::after,
.capability-card::after {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
  content: "";
  background: radial-gradient(circle at var(--card-x) var(--card-y), rgba(59, 194, 255, 0.12), transparent 42%);
  transition: opacity 0.28s ease;
}

.platform-card:hover::after,
.capability-card:hover::after {
  opacity: 1;
}

.platform-card > *,
.capability-card > * {
  position: relative;
  z-index: 1;
}

.command-twin-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 28%, rgba(19, 117, 225, 0.13), transparent 31rem),
    radial-gradient(circle at 84% 74%, rgba(126, 211, 33, 0.055), transparent 24rem),
    linear-gradient(180deg, #071421, #020711 18%, #020711 82%, #06121e);
}

.command-twin-section::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(72, 161, 221, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 161, 221, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.command-twin {
  border-color: rgba(94, 184, 242, 0.24);
  background: rgba(2, 9, 17, 0.8);
  box-shadow:
    0 42px 110px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.016) inset,
    0 0 90px rgba(19, 119, 226, 0.09);
}

.command-facility {
  min-height: 770px;
  grid-template-rows: 50px 1fr 46px;
}

.command-map__toolbar,
.command-map__footer {
  position: relative;
  z-index: 40;
  background: rgba(2, 10, 19, 0.95);
  backdrop-filter: blur(14px);
}

.future-twin {
  --scene-x: 0;
  --scene-y: 0;
  isolation: isolate;
  min-height: 674px;
  overflow: hidden;
  perspective: 1200px;
  background: #01050a;
}

.future-twin::before {
  z-index: 2;
  inset: 0;
  opacity: 0.72;
  background:
    linear-gradient(90deg, rgba(1, 5, 10, 0.6), transparent 23%, transparent 76%, rgba(1, 5, 10, 0.65)),
    linear-gradient(180deg, rgba(1, 5, 10, 0.38), transparent 30%, transparent 59%, rgba(1, 5, 10, 0.88));
  transform: none;
}

.future-twin::after {
  z-index: 4;
  opacity: 0.2;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgba(179, 229, 255, 0.026) 3px 4px),
    radial-gradient(circle at 50% 60%, transparent 37%, rgba(0, 0, 0, 0.4) 100%);
}

.future-twin .checkpoint-scene,
.future-twin .scenario-hud-card {
  display: none;
}

.future-scene {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #02070d;
  transform:
    scale(1.045)
    translate3d(calc(var(--scene-x) * -6px), calc(var(--scene-y) * -4px), 0);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.future-scene__environment {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(0.88) contrast(1.07) brightness(0.72);
  transform: scale(1.03);
  transition: filter 0.8s ease, transform 1.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.future-twin:not(.step-ready) .future-scene__environment {
  filter: saturate(1.04) contrast(1.07) brightness(0.82);
  transform: scale(1.065);
}

.future-scene__parallax {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 66% 44%, rgba(67, 201, 255, 0.1), transparent 18%),
    linear-gradient(180deg, rgba(2, 10, 19, 0.03), rgba(2, 10, 19, 0.15) 45%, rgba(1, 5, 10, 0.58));
}

.future-scene__rain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  overflow: hidden;
  pointer-events: none;
}

.future-scene__rain i {
  position: absolute;
  top: -25%;
  width: 1px;
  height: 23%;
  background: linear-gradient(transparent, rgba(186, 233, 255, 0.65), transparent);
  transform: rotate(13deg);
  animation: future-rain 3.2s linear infinite;
}

.future-scene__rain i:nth-child(1) { left: 11%; animation-delay: -0.2s; }
.future-scene__rain i:nth-child(2) { left: 28%; animation-delay: -1.6s; animation-duration: 2.7s; }
.future-scene__rain i:nth-child(3) { left: 44%; animation-delay: -0.8s; animation-duration: 3.8s; }
.future-scene__rain i:nth-child(4) { left: 62%; animation-delay: -2.2s; animation-duration: 3s; }
.future-scene__rain i:nth-child(5) { left: 79%; animation-delay: -1s; animation-duration: 3.5s; }
.future-scene__rain i:nth-child(6) { left: 92%; animation-delay: -2.7s; animation-duration: 2.8s; }

.twin-livebar {
  position: absolute;
  z-index: 17;
  top: 13px;
  right: 17px;
  left: 17px;
  display: grid;
  min-height: 38px;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 0 13px;
  direction: ltr;
  border: 1px solid rgba(80, 178, 238, 0.2);
  border-radius: 11px;
  background: rgba(2, 12, 22, 0.76);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(15px) saturate(130%);
}

.twin-livebar span,
.twin-livebar b,
.twin-livebar time {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.twin-livebar span {
  color: #a4e3ff;
}

.twin-livebar span i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  border-radius: 50%;
  background: #ff3f5f;
  box-shadow: 0 0 11px rgba(255, 63, 95, 0.82);
  animation: future-live 1.4s ease-in-out infinite;
}

.twin-livebar b {
  color: #60849a;
}

.twin-livebar time {
  color: #7ddaef;
}

.future-twin .scenario-flow {
  z-index: 16;
  top: 60px;
  right: 17px;
  left: 17px;
  height: 56px;
  padding: 5px 12px;
  border-radius: 12px;
  background: rgba(2, 12, 22, 0.72);
  backdrop-filter: blur(14px) saturate(130%);
}

.future-twin .scenario-flow__track {
  top: 23px;
}

.future-twin .scenario-flow__node {
  gap: 3px;
  font-size: 6.5px;
  letter-spacing: 0.04em;
}

.future-twin .scenario-flow__node b {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
}

.future-lane {
  position: absolute;
  z-index: 2;
  right: 17%;
  bottom: -2%;
  width: 39%;
  height: 67%;
  opacity: 0;
  clip-path: polygon(46% 0, 59% 0, 100% 100%, 0 100%);
  background: linear-gradient(180deg, rgba(123, 240, 48, 0.03), rgba(123, 240, 48, 0.17));
  filter: drop-shadow(0 0 17px rgba(126, 235, 54, 0.14));
  transition: opacity 0.7s ease;
}

.future-lane::after {
  position: absolute;
  inset: 0;
  content: "";
  background-image: repeating-linear-gradient(0deg, transparent 0 38px, rgba(146, 255, 74, 0.25) 39px 40px);
  animation: future-lane-flow 1.1s linear infinite;
}

.future-lane i {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, rgba(144, 255, 69, 0.85));
  box-shadow: 0 0 9px rgba(144, 255, 69, 0.55);
}

.future-lane i:nth-child(1) { left: 0; transform: rotate(-17deg); transform-origin: bottom; }
.future-lane i:nth-child(2) { left: 51%; opacity: 0.36; }
.future-lane i:nth-child(3) { right: 0; transform: rotate(17deg); transform-origin: bottom; }

.future-twin.step-2 .future-lane,
.future-twin.step-3 .future-lane,
.future-twin.step-4 .future-lane,
.future-twin.is-complete .future-lane {
  opacity: 1;
}

.future-road-pulse {
  position: absolute;
  z-index: 4;
  right: 24%;
  bottom: 21%;
  width: 32%;
  height: 14%;
  opacity: 0;
  border: 1px solid rgba(139, 243, 50, 0.75);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(139, 243, 50, 0.24), inset 0 0 22px rgba(139, 243, 50, 0.08);
}

.future-twin.step-2 .future-road-pulse {
  animation: future-road-authorize 1.25s ease-out infinite;
}

.future-scan-field {
  position: absolute;
  z-index: 3;
  top: 28%;
  left: 18%;
  width: 37%;
  height: 52%;
  opacity: 0;
  clip-path: polygon(0 0, 17% 0, 100% 100%, 33% 100%);
  background:
    repeating-linear-gradient(90deg, rgba(55, 204, 255, 0.08) 0 1px, transparent 1px 23px),
    linear-gradient(145deg, rgba(55, 204, 255, 0.04), rgba(55, 204, 255, 0.25));
  filter: drop-shadow(0 0 15px rgba(55, 204, 255, 0.18));
  transform-origin: top left;
}

.future-twin.step-0 .future-scan-field,
.future-twin.step-1 .future-scan-field {
  opacity: 0.8;
  animation: future-scan-field 1.15s ease-in-out infinite alternate;
}

.future-barrier {
  position: absolute;
  z-index: 7;
  top: 51%;
  right: 20%;
  width: 31%;
  height: 33px;
  pointer-events: none;
}

.future-barrier::before {
  position: absolute;
  top: 7px;
  right: -3px;
  width: 100%;
  height: 15px;
  content: "";
  background: linear-gradient(90deg, rgba(6, 17, 25, 0.92), rgba(6, 17, 25, 0.78));
  filter: blur(4px);
}

.future-barrier span {
  position: absolute;
  top: 8px;
  right: 0;
  width: 96%;
  height: 6px;
  border: 1px solid rgba(221, 241, 248, 0.72);
  border-radius: 4px;
  background: repeating-linear-gradient(90deg, #e8f2f5 0 28px, #f04155 28px 52px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  transform-origin: right center;
  transition: transform 1s cubic-bezier(0.3, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.future-barrier i {
  position: absolute;
  top: 4px;
  right: -6px;
  width: 13px;
  height: 27px;
  border-radius: 3px;
  background: #253440;
  box-shadow: 0 0 0 1px rgba(205, 236, 251, 0.18);
}

.future-twin.step-2 .future-barrier span,
.future-twin.step-3 .future-barrier span,
.future-twin.step-4 .future-barrier span,
.future-twin.is-complete .future-barrier span {
  box-shadow: 0 0 14px rgba(139, 243, 50, 0.34);
  transform: rotate(67deg);
}

.future-vehicle {
  position: absolute;
  z-index: 8;
  bottom: -10%;
  left: 45%;
  width: 258px;
  pointer-events: none;
  opacity: 0.56;
  filter: drop-shadow(0 22px 23px rgba(0, 0, 0, 0.7));
  transform: translateX(-50%) rotate(-0.5deg) scale(1.06);
  transform-origin: center bottom;
  transition:
    bottom 1.35s cubic-bezier(0.2, 0.82, 0.2, 1),
    left 1.35s cubic-bezier(0.2, 0.82, 0.2, 1),
    width 1.35s cubic-bezier(0.2, 0.82, 0.2, 1),
    opacity 0.55s ease,
    filter 0.55s ease,
    transform 1.35s cubic-bezier(0.2, 0.82, 0.2, 1);
}

.future-vehicle img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
}

.future-vehicle__shadow {
  position: absolute;
  z-index: 0;
  right: 6%;
  bottom: 2%;
  left: 5%;
  height: 24%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.78);
  filter: blur(12px);
  transform: skewX(-12deg);
}

.future-vehicle > span {
  position: absolute;
  z-index: 4;
  bottom: 18%;
  left: 36%;
  padding: 2px 5px;
  color: #0a1118;
  border-radius: 2px;
  background: #e8f4f8;
  box-shadow: 0 0 8px rgba(205, 240, 255, 0.5);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 5px;
  font-weight: 950;
  letter-spacing: 0.06em;
  transform: rotate(1deg);
}

.future-twin.step-0 .future-vehicle {
  bottom: -1%;
  left: 45.5%;
  width: 232px;
  opacity: 1;
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 9px rgba(34, 160, 255, 0.14));
}

.future-twin.step-1 .future-vehicle {
  bottom: 9%;
  left: 47%;
  width: 190px;
  opacity: 1;
}

.future-twin.step-2 .future-vehicle {
  bottom: 17%;
  left: 49%;
  width: 151px;
  opacity: 1;
}

.future-twin.step-3 .future-vehicle {
  bottom: 28%;
  left: 52%;
  width: 112px;
  opacity: 0.96;
}

.future-twin.step-4 .future-vehicle,
.future-twin.is-complete .future-vehicle {
  bottom: 38%;
  left: 56%;
  width: 75px;
  opacity: 0.38;
  filter: drop-shadow(0 7px 9px rgba(0, 0, 0, 0.7));
}

.future-reticle {
  position: absolute;
  z-index: 10;
  bottom: 7%;
  left: 45.5%;
  width: 226px;
  height: 142px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%);
  transition:
    bottom 1.35s cubic-bezier(0.2, 0.82, 0.2, 1),
    left 1.35s cubic-bezier(0.2, 0.82, 0.2, 1),
    width 1.35s cubic-bezier(0.2, 0.82, 0.2, 1),
    height 1.35s cubic-bezier(0.2, 0.82, 0.2, 1),
    opacity 0.25s ease;
}

.future-reticle i {
  position: absolute;
  width: 32px;
  height: 32px;
  border-color: var(--nova-electric);
  filter: drop-shadow(0 0 5px rgba(57, 198, 255, 0.62));
}

.future-reticle i:nth-child(1) { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; }
.future-reticle i:nth-child(2) { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; }
.future-reticle i:nth-child(3) { right: 0; bottom: 0; border-right: 2px solid; border-bottom: 2px solid; }
.future-reticle i:nth-child(4) { bottom: 0; left: 0; border-bottom: 2px solid; border-left: 2px solid; }

.future-reticle b {
  position: absolute;
  top: -18px;
  left: 0;
  padding: 3px 6px;
  color: #b9edff;
  background: rgba(1, 16, 27, 0.78);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 6px;
  letter-spacing: 0.1em;
}

.future-twin.step-0 .future-reticle {
  bottom: 7%;
  left: 45.5%;
  opacity: 1;
  animation: future-reticle 0.72s ease-in-out infinite alternate;
}

.future-twin.step-1 .future-reticle {
  bottom: 16%;
  left: 47%;
  width: 184px;
  height: 116px;
  opacity: 1;
}

.future-route {
  position: absolute;
  z-index: 6;
  top: 36%;
  right: 12%;
  width: 28%;
  height: 28%;
  opacity: 0;
  border-top: 2px dashed rgba(139, 243, 50, 0.52);
  border-right: 2px dashed rgba(139, 243, 50, 0.52);
  border-radius: 0 46px 0 0;
  filter: drop-shadow(0 0 6px rgba(139, 243, 50, 0.55));
  transform: rotate(-8deg);
  transition: opacity 0.45s ease;
}

.future-route i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--nova-lime);
  box-shadow: 0 0 12px var(--nova-lime);
  animation: future-route-packet 1.9s ease-in-out infinite;
}

.future-route i:nth-child(1) { top: -4px; left: 4%; }
.future-route i:nth-child(2) { top: -4px; left: 38%; animation-delay: -0.45s; }
.future-route i:nth-child(3) { top: 13%; right: -4px; animation-delay: -0.9s; }
.future-route i:nth-child(4) { right: -4px; bottom: 8%; animation-delay: -1.35s; }

.future-twin.step-3 .future-route,
.future-twin.step-4 .future-route,
.future-twin.is-complete .future-route {
  opacity: 1;
}

.world-pin {
  position: absolute;
  z-index: 7;
  display: grid;
  gap: 2px;
  padding: 6px 8px;
  pointer-events: none;
  opacity: 0.55;
  border-left: 1px solid rgba(64, 198, 255, 0.58);
  background: linear-gradient(90deg, rgba(3, 22, 38, 0.66), transparent);
  backdrop-filter: blur(5px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.world-pin::after {
  position: absolute;
  top: 100%;
  left: -1px;
  width: 1px;
  height: 23px;
  content: "";
  background: linear-gradient(rgba(64, 198, 255, 0.55), transparent);
}

.world-pin b,
.world-pin span {
  direction: ltr;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 6px;
  letter-spacing: 0.08em;
}

.world-pin b { color: #cfefff; }
.world-pin span { color: #5f91aa; }
.world-pin--camera { top: 28%; left: 8%; }
.world-pin--gate { top: 29%; right: 29%; }
.world-pin--ops { top: 38%; right: 5%; opacity: 0; }

.future-twin.step-0 .world-pin--camera,
.future-twin.step-1 .world-pin--camera,
.future-twin.step-2 .world-pin--gate,
.future-twin.step-3 .world-pin--ops,
.future-twin.step-4 .world-pin--ops {
  opacity: 1;
  transform: translateY(-3px);
}

.future-panel {
  position: absolute;
  z-index: 18;
  display: grid;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(84, 188, 247, 0.26);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(5, 24, 42, 0.9), rgba(2, 12, 22, 0.84)),
    radial-gradient(circle at 30% 0, rgba(57, 198, 255, 0.11), transparent 52%);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38), inset 0 1px rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(16px) saturate(130%);
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.34s ease, transform 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.vision-feed {
  top: 130px;
  left: 19px;
  width: 218px;
  padding: 10px;
}

.future-panel__head {
  display: flex;
  justify-content: space-between;
  padding-bottom: 7px;
  color: #75afcd;
  font-size: 6px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.future-panel__head span i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 5px;
  border-radius: 50%;
  background: #ff405f;
  box-shadow: 0 0 8px rgba(255, 64, 95, 0.8);
}

.vision-feed__view {
  position: relative;
  height: 86px;
  overflow: hidden;
  border: 1px solid rgba(86, 187, 242, 0.2);
  border-radius: 7px;
  background:
    linear-gradient(rgba(3, 13, 22, 0.22), rgba(3, 13, 22, 0.58)),
    url("../images/smart-gate-2040.webp") 49% 66% / 245% auto no-repeat;
}

.vision-feed__view::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: #3ad0ff;
  box-shadow: 0 0 10px #3ad0ff;
  animation: vision-scan 1.6s linear infinite;
}

.vision-feed__view i {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #55dcff;
}

.vision-feed__view i:nth-of-type(1) { top: 10px; left: 10px; border-top: 1px solid; border-left: 1px solid; }
.vision-feed__view i:nth-of-type(2) { top: 10px; right: 10px; border-top: 1px solid; border-right: 1px solid; }
.vision-feed__view i:nth-of-type(3) { right: 10px; bottom: 10px; border-right: 1px solid; border-bottom: 1px solid; }
.vision-feed__view i:nth-of-type(4) { bottom: 10px; left: 10px; border-bottom: 1px solid; border-left: 1px solid; }

.vision-feed__plate {
  position: absolute;
  right: 23%;
  bottom: 16px;
  padding: 3px 7px;
  color: #09131b;
  border-radius: 2px;
  background: #effaff;
  box-shadow: 0 0 12px rgba(217, 247, 255, 0.56);
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.vision-feed__stats {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding-top: 7px;
  color: #597b90;
  font-size: 6px;
  font-weight: 850;
}

.vision-feed__stats b { color: #d6f3ff; }
.vision-feed__stats em { color: #82d9ff; font-style: normal; }

.identity-pass {
  top: 133px;
  right: 19px;
  width: 225px;
  gap: 7px;
  padding: 12px 13px;
}

.identity-pass small,
.gate-pass small,
.operations-pass small,
.audit-pass small {
  color: #5f91aa;
  font-size: 6px;
  font-weight: 950;
  letter-spacing: 0.11em;
}

.identity-pass > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.identity-pass strong,
.gate-pass strong,
.operations-pass strong {
  color: #ecf9ff;
  direction: ltr;
  font-size: 17px;
}

.identity-pass > div b {
  padding: 4px 6px;
  color: #d8ffb9;
  border: 1px solid rgba(139, 243, 50, 0.26);
  border-radius: 5px;
  background: rgba(69, 121, 31, 0.2);
  font-size: 6px;
}

.identity-pass > span {
  color: #9dc0d2;
  font-size: 7px;
  font-weight: 750;
}

.identity-pass > span i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--nova-lime);
  box-shadow: 0 0 8px var(--nova-lime);
}

.identity-pass em {
  color: #53748a;
  direction: ltr;
  font-size: 6px;
  font-style: normal;
}

.gate-pass {
  top: 43%;
  left: 50%;
  min-width: 236px;
  gap: 5px;
  padding: 13px 15px;
  text-align: center;
  border-color: rgba(139, 243, 50, 0.36);
  background: rgba(5, 27, 28, 0.88);
  transform: translate(-50%, 10px) scale(0.97);
}

.gate-pass strong {
  color: #d9ffb6;
}

.gate-pass span {
  color: #80a697;
  font-size: 7px;
}

.operations-pass {
  top: 134px;
  right: 19px;
  width: 244px;
  gap: 6px;
  padding: 12px 13px;
}

.operations-pass > div {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 8px;
  color: #66899d;
  font-size: 6px;
}

.operations-pass > div b {
  color: #d9f5ff;
  direction: ltr;
  font-size: 11px;
}

.operations-pass > div i {
  height: 1px;
  background: linear-gradient(90deg, #3dcfff, #8bf332);
  box-shadow: 0 0 7px rgba(61, 207, 255, 0.5);
}

.operations-pass > div span:last-child {
  grid-column: 1 / -1;
}

.audit-pass {
  top: 132px;
  left: 19px;
  width: 252px;
  gap: 8px;
  padding: 12px 13px;
  border-color: rgba(139, 243, 50, 0.34);
}

.audit-pass > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.audit-pass > div span {
  display: grid;
  gap: 2px;
  padding: 7px;
  color: #698595;
  border: 1px solid rgba(94, 173, 210, 0.13);
  border-radius: 7px;
  background: rgba(2, 11, 19, 0.38);
  font-size: 6px;
}

.audit-pass > div b {
  color: #ddffc0;
  direction: ltr;
  font-size: 13px;
}

.audit-pass em {
  color: #78aa5a;
  direction: ltr;
  font-size: 6px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.future-twin.step-0 .vision-feed,
.future-twin.step-1 .vision-feed,
.future-twin.step-1 .identity-pass,
.future-twin.step-2 .gate-pass,
.future-twin.step-3 .operations-pass,
.future-twin.step-4 .audit-pass,
.future-twin.is-complete .audit-pass {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.future-twin.step-2 .gate-pass {
  transform: translate(-50%, 0) scale(1);
}

.future-twin .scenario-ready {
  z-index: 20;
  top: 56%;
  min-width: min(390px, calc(100% - 40px));
  grid-template-columns: 48px 1fr;
  padding: 18px 19px;
  border-color: rgba(84, 192, 250, 0.35);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(5, 25, 44, 0.93), rgba(2, 12, 21, 0.86)),
    radial-gradient(circle at 16% 20%, rgba(57, 198, 255, 0.12), transparent 45%);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.48), 0 0 38px rgba(57, 198, 255, 0.08);
}

.future-twin .scenario-ready > span {
  grid-row: 1 / 3;
  width: 46px;
  height: 46px;
  background: linear-gradient(145deg, #1b9dff, #0759c9);
  box-shadow: 0 0 0 7px rgba(57, 198, 255, 0.07), 0 0 28px rgba(57, 198, 255, 0.34);
}

.future-twin .scenario-ready strong {
  font-size: 14px;
}

.future-twin .scenario-ready small {
  font-size: 7px;
}

.future-twin .scenario-decision {
  z-index: 22;
  right: 17px;
  bottom: 15px;
  left: 17px;
  min-height: 72px;
  border-color: rgba(81, 184, 244, 0.27);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(3, 18, 32, 0.96), rgba(2, 12, 22, 0.91)),
    radial-gradient(circle at 70% 0, rgba(57, 198, 255, 0.08), transparent 47%);
}

.command-timeline {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(4, 16, 29, 0.94), rgba(2, 10, 19, 0.9)),
    radial-gradient(circle at 0 30%, rgba(35, 157, 255, 0.1), transparent 45%);
}

.command-timeline::before {
  position: absolute;
  top: 72px;
  bottom: 35px;
  left: 33px;
  width: 1px;
  content: "";
  background: linear-gradient(rgba(58, 191, 255, 0.32), rgba(139, 243, 50, 0.17), transparent);
}

html[dir="rtl"] .command-timeline::before {
  right: 33px;
  left: auto;
}

.command-timeline__event {
  position: relative;
  z-index: 1;
  min-height: 137px;
  background: rgba(2, 11, 20, 0.18);
}

.command-timeline__event.is-current {
  background:
    linear-gradient(90deg, rgba(20, 133, 224, 0.16), transparent),
    radial-gradient(circle at 10% 50%, rgba(57, 198, 255, 0.09), transparent 45%);
}

html[dir="rtl"] .command-timeline__event.is-current {
  background:
    linear-gradient(270deg, rgba(20, 133, 224, 0.16), transparent),
    radial-gradient(circle at 90% 50%, rgba(57, 198, 255, 0.09), transparent 45%);
}

.command-timeline__node {
  position: relative;
  z-index: 2;
  background: #061929;
  box-shadow: 0 0 0 5px rgba(3, 13, 24, 0.88);
}

.command-timeline__event.is-current .command-timeline__node {
  box-shadow: 0 0 0 5px rgba(3, 13, 24, 0.88), 0 0 23px rgba(57, 198, 255, 0.38);
}

@keyframes spatial-floor {
  from { background-position: 0 0; }
  to { background-position: 0 50px; }
}

@keyframes spatial-scan {
  0%, 100% { left: 34%; opacity: 0; }
  14%, 84% { opacity: 0.55; }
  50% { left: 67%; opacity: 0.82; }
}

@keyframes future-rain {
  from { transform: translateY(-30%) rotate(13deg); }
  to { transform: translateY(620%) rotate(13deg); }
}

@keyframes future-live {
  0%, 100% { opacity: 0.45; transform: scale(0.82); }
  50% { opacity: 1; transform: scale(1.1); }
}

@keyframes future-lane-flow {
  from { background-position-y: 0; }
  to { background-position-y: 40px; }
}

@keyframes future-road-authorize {
  from { opacity: 0.7; transform: scale(0.5); }
  to { opacity: 0; transform: scale(1.7); }
}

@keyframes future-scan-field {
  from { opacity: 0.35; transform: scaleX(0.93); }
  to { opacity: 0.88; transform: scaleX(1.04); }
}

@keyframes future-reticle {
  from { filter: drop-shadow(0 0 0 rgba(57, 198, 255, 0)); }
  to { filter: drop-shadow(0 0 8px rgba(57, 198, 255, 0.7)); }
}

@keyframes future-route-packet {
  0%, 100% { opacity: 0.3; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1.25); }
}

@keyframes vision-scan {
  from { transform: translateY(8px); }
  to { transform: translateY(78px); }
}

@media (max-width: 1080px) {
  .command-facility {
    min-height: 730px;
  }

  .future-twin {
    min-height: 634px;
  }

  .command-timeline__event {
    min-height: 180px;
  }

  .command-timeline::before {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero .hero-copy h1 {
    font-size: clamp(45px, 14vw, 66px);
    letter-spacing: -2.5px;
  }

  html[dir="rtl"] .hero .hero-copy h1 {
    font-size: clamp(42px, 13vw, 62px);
    letter-spacing: 0;
  }

  .spatial-frame {
    display: none;
  }

  .spatial-telemetry {
    right: 4%;
    left: 4%;
    grid-template-columns: repeat(3, 1fr);
  }

  .spatial-telemetry > time {
    display: none;
  }

  .spatial-telemetry > span:first-child {
    border-radius: 9px 0 0 9px;
  }

  .spatial-telemetry > span:nth-child(3) {
    border-radius: 0 9px 9px 0;
  }

  .command-facility {
    min-height: 690px;
  }

  .future-twin {
    min-height: 584px;
  }

  .twin-livebar {
    top: 9px;
    right: 8px;
    left: 8px;
    min-height: 34px;
    gap: 7px;
    padding: 0 9px;
  }

  .twin-livebar span,
  .twin-livebar b,
  .twin-livebar time {
    font-size: 5.5px;
  }

  .twin-livebar b {
    display: none;
  }

  .future-twin .scenario-flow {
    top: 50px;
    right: 8px;
    left: 8px;
    height: 54px;
  }

  .future-scene__environment {
    object-position: 54% 50%;
  }

  .future-vehicle {
    width: 194px;
  }

  .future-twin.step-0 .future-vehicle { width: 180px; }
  .future-twin.step-1 .future-vehicle { width: 145px; }
  .future-twin.step-2 .future-vehicle { width: 116px; }
  .future-twin.step-3 .future-vehicle { width: 84px; }
  .future-twin.step-4 .future-vehicle,
  .future-twin.is-complete .future-vehicle { width: 58px; }

  .future-reticle {
    width: 176px;
    height: 110px;
  }

  .future-twin.step-1 .future-reticle {
    width: 140px;
    height: 88px;
  }

  .future-barrier {
    right: 9%;
    width: 39%;
  }

  .future-scan-field {
    left: 4%;
    width: 48%;
  }

  .world-pin {
    display: none;
  }

  .vision-feed {
    top: 112px;
    left: 9px;
    width: 162px;
    padding: 8px;
  }

  .vision-feed__view {
    height: 66px;
  }

  .vision-feed__plate {
    right: 17%;
    bottom: 12px;
    font-size: 6px;
  }

  .vision-feed__stats {
    gap: 4px;
    font-size: 5px;
  }

  .identity-pass,
  .operations-pass {
    top: 113px;
    right: 9px;
    width: 170px;
    padding: 9px 10px;
  }

  .identity-pass strong,
  .gate-pass strong,
  .operations-pass strong {
    font-size: 12px;
  }

  .identity-pass > span,
  .identity-pass em {
    font-size: 5.5px;
  }

  .gate-pass {
    min-width: 192px;
    padding: 10px 12px;
  }

  .audit-pass {
    top: 113px;
    left: 9px;
    width: 196px;
    padding: 9px 10px;
  }

  .audit-pass > div b {
    font-size: 10px;
  }

  .future-twin .scenario-ready {
    min-width: calc(100% - 26px);
    grid-template-columns: 40px 1fr;
    padding: 14px;
  }

  .future-twin .scenario-ready > span {
    width: 39px;
    height: 39px;
  }

  .future-twin .scenario-ready strong {
    font-size: 12px;
  }

  .future-twin .scenario-ready small {
    font-size: 6.2px;
  }

  .future-twin .scenario-decision {
    right: 8px;
    bottom: 8px;
    left: 8px;
  }
}

@media (max-width: 420px) {
  .spatial-telemetry {
    display: none;
  }

  .future-scene__environment {
    object-position: 57% 50%;
  }

  .future-twin {
    min-height: 560px;
  }

  .future-twin .scenario-flow__node span {
    font-size: 5px;
  }

  .future-twin .scenario-flow__node b {
    width: 25px;
    height: 25px;
  }

  .identity-pass {
    width: 154px;
  }

  .operations-pass {
    width: 168px;
  }

  .vision-feed {
    width: 150px;
  }

  .audit-pass {
    width: 185px;
  }

  .future-twin .scenario-decision {
    min-height: 90px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spatial-grid-floor,
  .spatial-scan-beam,
  .future-scene__rain i,
  .future-lane::after,
  .future-road-pulse,
  .future-scan-field,
  .future-reticle,
  .future-route i,
  .vision-feed__view::before,
  .twin-livebar span i {
    animation: none !important;
  }

  .future-scene,
  .future-scene__environment,
  .future-vehicle,
  .future-reticle,
  .future-barrier span {
    transition-duration: 0.01ms !important;
  }
}

/*
 * Stable rendering profile: the complete interface stays visible while
 * continuous GPU-heavy animation and live blur are avoided.
 */
html.nova-stable *,
html.nova-stable *::before,
html.nova-stable *::after {
  animation: none !important;
}

html.nova-stable body *,
html.nova-stable body *::before,
html.nova-stable body *::after {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

html.nova-stable main > section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: 900px;
}

html.nova-stable .cosmic-canvas {
  pointer-events: none;
}

html.nova-stable .nova-spatial-cursor {
  display: none !important;
}
