/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(59,187,110,.3); }
    70%  { box-shadow: 0 0 0 10px rgba(59,187,110,0); }
    100% { box-shadow: 0 0 0 0 rgba(59,187,110,0); }
}

/* Apply animations */
.hero__content { animation: fadeInUp .6s ease both; }
.hero__visual  { animation: fadeInUp .6s ease .2s both; }

.feature-card {
    animation: fadeInUp .5s ease both;
}
.feature-card:nth-child(2) { animation-delay: .1s; }
.feature-card:nth-child(3) { animation-delay: .2s; }

.stat-card {
    animation: fadeInUp .4s ease both;
}
.stat-card:nth-child(2) { animation-delay: .05s; }
.stat-card:nth-child(3) { animation-delay: .1s; }
.stat-card:nth-child(4) { animation-delay: .15s; }

.qr-preview-panel__result { animation: scaleIn .3s ease both; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
