/* ══════════════════════════════════════════════════════════════
   AxionERP Landing — Scroll reveal animations
   ══════════════════════════════════════════════════════════════ */

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

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

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal:nth-child(4) { transition-delay: 0.2s; }
.reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal:nth-child(6) { transition-delay: 0.3s; }
.reveal:nth-child(7) { transition-delay: 0.35s; }
.reveal:nth-child(8) { transition-delay: 0.4s; }

/* Counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stat-item.counted .stat-num {
  animation: countUp 0.5s ease forwards;
}

/* Feature card hover glow */
.feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s;
  background: linear-gradient(135deg, rgba(30,64,175,0.05), transparent);
  pointer-events: none;
}
.feature-card { position: relative; }
.feature-card:hover::after { opacity: 1; }

/* Plan card highlight pulse */
.plan-card.popular {
  animation: planPulse 3s ease-in-out infinite;
}
@keyframes planPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30,64,175,0.2); }
  50%      { box-shadow: 0 0 0 8px rgba(30,64,175,0); }
}

/* Nav scroll transition */
.nav {
  transition: background 0.3s, box-shadow 0.3s;
}
