/* Motion inspired by nexivo.corecognitics.com — smooth, restrained enterprise reveals */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition-reveal), transform var(--transition-reveal);
}

.reveal.is-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; }
.reveal-delay-4 { transition-delay: 0.4s; }

.hero__blob-frame {
  animation: heroBlobFloat 8s ease-in-out infinite;
}

@keyframes heroBlobFloat {
  0%, 100% { border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%; }
  50% { border-radius: 45% 55% 50% 50% / 50% 50% 45% 55%; }
}

.capabilities__orb {
  animation: orbPulse 4s ease-in-out infinite;
}

@keyframes orbPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 32px rgba(147, 51, 234, 0.25); }
  50% { transform: scale(1.06); box-shadow: 0 12px 40px rgba(147, 51, 234, 0.35); }
}

.stat-item__value {
  transition: color var(--transition-base);
}

.stat-item:hover .stat-item__value {
  color: var(--color-accent-solar);
}

.modal.is-closing .modal__panel {
  animation: modalOut 0.25s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes modalOut {
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
