/**
 * AddonForYou - Lightweight CSS Animations & Transitions
 * Respects prefers-reduced-motion for accessibility & mobile performance
 */

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

@keyframes floatReverse {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(10px) rotate(-1.5deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 210, 255, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Floating Badges */
.floating-badge {
    animation: floatSlow 5s ease-in-out infinite;
}

.floating-badge:nth-child(even) {
    animation: floatReverse 6s ease-in-out infinite;
}

/* Parallax decorative backgrounds */
.hero-shape-1 {
    animation: floatSlow 8s ease-in-out infinite alternate;
}

.hero-shape-2 {
    animation: floatReverse 10s ease-in-out infinite alternate;
}

/* Zero Maintenance Pulse */
.promo-badge-pulse {
    animation: pulseGlow 2.5s infinite;
}

/* Reveal Transitions - Content is visible by default for maximum performance, SEO & instant loading */
.reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Staggered Delay Helpers */
.delay-100 { transition-delay: 0.05s; }
.delay-200 { transition-delay: 0.1s; }
.delay-300 { transition-delay: 0.15s; }
.delay-400 { transition-delay: 0.2s; }

/* Reduced Motion Mode for Accessibility & Mobile Performance */
@media (prefers-reduced-motion: reduce), (max-width: 768px) {
    .floating-badge,
    .hero-shape-1,
    .hero-shape-2,
    .promo-badge-pulse {
        animation: none !important;
    }
    
    .reveal-on-scroll {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

