@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes drawLine {
  0% { transform: scaleX(.1); opacity: .55; }
  45% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(.1); opacity: .55; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulseSoft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(21, 217, 232, .2); }
  50% { box-shadow: 0 0 0 18px rgba(21, 217, 232, 0); }
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulseScale {
  0%, 100% { transform: translate(-50%, -50%) scale(.92); opacity: .45; }
  50% { transform: translate(-50%, -50%) scale(1.04); opacity: .9; }
}

@keyframes scanLine {
  0%, 100% { transform: translateY(-9px); opacity: .45; }
  50% { transform: translateY(9px); opacity: 1; }
}

@keyframes dashFlow {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -80; }
}

@keyframes cockpitPing {
  0% { transform: translate(-50%, -50%) scale(.72); opacity: .65; }
  100% { transform: translate(-50%, -50%) scale(1.38); opacity: 0; }
}

@keyframes portfolioRing {
  0%, 100% { transform: translate(-50%, -50%) scale(.9); opacity: .45; }
  50% { transform: translate(-50%, -50%) scale(1.08); opacity: .95; }
}

@keyframes portfolioSweep {
  from { transform: translate(0, -50%) rotate(0deg); }
  to { transform: translate(0, -50%) rotate(360deg); }
}

@keyframes deviceBlink {
  0%, 100% { transform: scale(.82); opacity: .52; }
  50% { transform: scale(1.25); opacity: 1; }
}

.float-card, .solution-node, .mini-card, .cockpit-node { animation: floatY 6s ease-in-out infinite; }
.float-2, .node-2 { animation-delay: .8s; }
.float-3, .node-3 { animation-delay: 1.4s; }
.cockpit-node:nth-of-type(2) { animation-delay: .35s; }
.cockpit-node:nth-of-type(3) { animation-delay: .7s; }
.cockpit-node:nth-of-type(4) { animation-delay: 1.05s; }
.cockpit-node:nth-of-type(5) { animation-delay: 1.4s; }
.status-pill { animation: pulseSoft 2.8s ease-in-out infinite; }

.reveal { opacity: 0; transform: translateY(26px); }
.page-loaded .reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity .7s ease, transform .7s ease; }

.page-transition {
  position: fixed;
  inset: 0;
  z-index: 2200;
  pointer-events: none;
  background: var(--dark);
  transform: translateY(100%);
}

.progress-bar-page {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1600;
  height: 3px;
  width: 0;
  background: var(--gradient-brand);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .cursor-dot, .cursor-ring { display: none; }
}
