/* Анимации главной и появление блоков */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

.page-home .hero-badge {
    animation: fadeIn 0.6s ease-out 0.1s both;
}

.page-home .hero-title {
    animation: fadeInUp 0.75s ease-out 0.15s both;
}

.page-home .hero-lead {
    animation: fadeInUp 0.75s ease-out 0.3s both;
}

.page-home .hero-banner .d-flex.flex-wrap {
    animation: fadeInUp 0.75s ease-out 0.45s both;
}

.page-home .hero-stats {
    animation: fadeInUp 0.8s ease-out 0.55s both;
}

.page-home .hero-visual__card {
    animation: floatCard 4s ease-in-out infinite;
}

.page-home .hero-visual__card--1 { animation-delay: 0s; }
.page-home .hero-visual__card--2 { animation-delay: 0.4s; }
.page-home .hero-visual__card--3 { animation-delay: 0.8s; }
.page-home .hero-visual__card--4 { animation-delay: 1.2s; }
.page-home .hero-visual__card--5 { animation-delay: 1.6s; }
.page-home .hero-visual__card--6 { animation-delay: 2s; }

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

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

.text-gradient {
    background: linear-gradient(90deg, #f0d78c, #fff, #c9a227);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .page-home .hero-title,
    .page-home .hero-lead,
    .page-home .hero-badge,
    .page-home .hero-stats,
    .page-home .hero-visual__card,
    .reveal {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}
