/*
  Motion system — inspired by veloraailabs.com
  Smooth ease-out reveals, restrained hover lift, optional soft float on mock
*/

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity var(--transition-reveal),
    transform var(--transition-reveal);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > .reveal:nth-child(1) { --reveal-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { --reveal-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { --reveal-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { --reveal-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { --reveal-delay: 320ms; }

.hero__mock {
  animation: mock-float 7s ease-in-out infinite;
}

.hero__badge-dot {
  animation: pulse-dot 2.4s ease-in-out infinite;
}

.tech-visual__core {
  animation: core-glow 4.5s ease-in-out infinite;
}

.tech-visual__ring {
  animation: ring-spin 28s linear infinite;
}

@keyframes mock-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.08); }
}

@keyframes core-glow {
  0%, 100% { box-shadow: 0 0 40px rgba(123, 104, 238, 0.35); }
  50% { box-shadow: 0 0 64px rgba(168, 85, 247, 0.5); }
}

@keyframes ring-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.pillar,
.solution-row,
.btn {
  will-change: transform;
}

@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;
  }
}
