@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 18px rgba(0, 207, 255, 0.18);
  }
  50% {
    box-shadow: 0 0 44px rgba(0, 207, 255, 0.44);
  }
}

@keyframes scanMove {
  from {
    transform: translateY(-20px);
  }
  to {
    transform: translateY(20px);
  }
}

@keyframes floatDevice {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

.loader-mark,
.brand-mark,
.service-icon {
  animation: pulseGlow 2.6s ease-in-out infinite;
}

.scanlines {
  animation: scanMove 1.8s linear infinite;
}

.device {
  animation: floatDevice 4.5s ease-in-out infinite;
}

.device.panel {
  animation-delay: 0.5s;
}

.device.rack {
  animation-delay: 1s;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal="left"] {
  transform: translateX(-46px);
}

[data-reveal="right"] {
  transform: translateX(46px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.project-card,
.service-card,
.visual-panel {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover,
.service-card:hover,
.visual-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.45);
  box-shadow: var(--shadow);
}

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