/* =========================================================
   WeedSeg AI — Animations
   ========================================================= */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulseSoft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

.spinner {
  width: 20px; height: 20px;
  border: 3px solid var(--color-primary-light);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

.pulse { animation: pulseSoft 1.6s ease-in-out infinite; }

.hero h1, .hero-desc, .hero-actions {
  animation: fadeInUp 0.7s ease both;
}
.hero-desc { animation-delay: 0.1s; }
.hero-actions { animation-delay: 0.2s; }
