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

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

.hero-visual.visible {
    transition-delay: 0.15s;
}

.hero-image-frame {
    animation: heroFloat 6s ease-in-out infinite;
}

.floating-card-top {
    animation: cardFloat 5s ease-in-out infinite;
}

.floating-card-bottom {
    animation: cardFloat 5s ease-in-out infinite reverse;
}

.scroll-indicator i {
    animation: scrollLine 1.8s ease-in-out infinite;
}

.floating-whatsapp {
    animation: whatsappPulse 2.5s ease-in-out infinite;
}

@keyframes heroFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes cardFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
        opacity: 0;
    }

    45% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }

    55% {
        transform: scaleY(1);
        transform-origin: bottom;
        opacity: 1;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
        opacity: 0;
    }
}

@keyframes whatsappPulse {
    0%,
    100% {
        box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow:
            0 14px 35px rgba(0, 0, 0, 0.3),
            0 0 0 9px rgba(37, 211, 102, 0.1);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
