/* ===== CSS/animations.css ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(108, 92, 231, 0.2); }
  50% { box-shadow: 0 0 40px rgba(108, 92, 231, 0.4); }
}

.app-card {
  animation: fadeInUp 0.5s ease forwards;
  opacity: 0;
}

.app-card:nth-child(1) { animation-delay: 0.05s; }
.app-card:nth-child(2) { animation-delay: 0.10s; }
.app-card:nth-child(3) { animation-delay: 0.15s; }
.app-card:nth-child(4) { animation-delay: 0.20s; }
.app-card:nth-child(5) { animation-delay: 0.25s; }
.app-card:nth-child(6) { animation-delay: 0.30s; }
.app-card:nth-child(7) { animation-delay: 0.35s; }
.app-card:nth-child(8) { animation-delay: 0.40s; }

.hero-slide {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
}

.hero-slide:nth-child(1) { animation-delay: 0.1s; }
.hero-slide:nth-child(2) { animation-delay: 0.2s; }
.hero-slide:nth-child(3) { animation-delay: 0.3s; }

.btn-pulse {
  animation: pulse 2s infinite;
}

.glow-effect {
  animation: glow 3s infinite;
}

.hover-scale {
  transition: var(--transition);
}

.hover-scale:hover {
  transform: scale(1.03);
}

/* Loading spinner */
.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.06);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
  margin: 30px auto;
}

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