/* Megasystem Software Ltda - Estilos Personalizados */

@keyframes scan-vertical {
  0% { transform: translateY(-5%); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(105vh); opacity: 0; }
}

.animate-scan {
  animation: scan-vertical 7s linear infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.animate-pulse-ring {
  animation: pulse-ring 2.5s infinite ease-in-out;
}

/* Scroll Suave Nativo */
html {
  scroll-behavior: smooth;
}

/* Otimização de Renderização de Fontes */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0A1628;
}
::-webkit-scrollbar-thumb {
  background: #1E5FD8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1648a3;
}

/* Redução de movimento para acessibilidade */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .animate-scan,
  .animate-pulse-ring {
    animation: none;
  }
}
