/* Scroll Reveal & Motion Animations */

/* Scroll reveal trigger class */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delay classes */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Institutional Abstract Market Visualization Keyframes */
@keyframes gridSlowMove {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 20px 20px;
  }
  100% {
    background-position: 0 0;
  }
}

@keyframes linePulseSlow {
  0%, 100% {
    stroke-dashoffset: 600;
    opacity: 0.15;
  }
  50% {
    stroke-dashoffset: 0;
    opacity: 0.35;
  }
}

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

.animated-grid {
  animation: gridSlowMove 16s ease-in-out infinite;
}

.animated-line-1 {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: linePulseSlow 14s ease-in-out infinite;
}

.animated-line-2 {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: linePulseSlow 12s ease-in-out 3s infinite;
}

.slow-ticker-float {
  animation: tickerFloat 8s ease-in-out infinite;
}
