/* MicroPay Animations — scroll-reveal, gradient effects, hover states */

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Gradient shimmer on hero text */
@keyframes gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.text-gradient-animated {
  background: linear-gradient(135deg, #FF6600, #3B82F6, #8B5CF6, #FF6600);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 6s ease infinite;
}

/* Stat counter pulse */
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(255, 102, 0, 0.1); }
  50% { box-shadow: 0 0 40px rgba(255, 102, 0, 0.2); }
}

.hero-stat {
  animation: pulse-glow 3s ease infinite;
}

/* Card hover lift */
.card-hover {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: var(--border-bright);
}

/* Border glow on hover */
.glow-orange:hover {
  border-color: var(--border-glow-orange);
  box-shadow: 0 0 30px rgba(255, 102, 0, 0.1);
}

.glow-blue:hover {
  border-color: var(--border-glow-blue);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.1);
}

/* Blinking cursor — shared with LV8R */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .text-gradient-animated { animation: none; }
  .hero-stat { animation: none; }
}

/* Nav scroll state */
.nav-scrolled {
  background: var(--nav-bg) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* Badge shimmer */
@keyframes badge-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
