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

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

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

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-down {
    opacity: 0;
    animation: fadeInDown 0.6s ease forwards;
}

.fade-in-left {
    opacity: 0;
    animation: fadeInLeft 0.6s ease forwards;
}

.fade-in-right {
    opacity: 0;
    animation: fadeInRight 0.6s ease forwards;
}

.scale-in {
    opacity: 0;
    animation: scaleIn 0.5s ease forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero__title {
    animation: fadeInUp 0.8s ease forwards;
}

.hero__subtitle {
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero__buttons {
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

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

.feature-card:nth-child(1) {
    transition-delay: 0.1s;
}

.feature-card:nth-child(2) {
    transition-delay: 0.2s;
}

.feature-card:nth-child(3) {
    transition-delay: 0.3s;
}

.feature-card:nth-child(4) {
    transition-delay: 0.4s;
}

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

.stat-item {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.stat-item:nth-child(1) {
    transition-delay: 0.1s;
}

.stat-item:nth-child(2) {
    transition-delay: 0.2s;
}

.stat-item:nth-child(3) {
    transition-delay: 0.3s;
}

.stat-item:nth-child(4) {
    transition-delay: 0.4s;
}

.stat-item.is-visible {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card {
    animation: fadeIn 0.5s ease;
}

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

.team-card:nth-child(1) {
    transition-delay: 0.1s;
}

.team-card:nth-child(2) {
    transition-delay: 0.2s;
}

.team-card:nth-child(3) {
    transition-delay: 0.3s;
}

.team-card:nth-child(4) {
    transition-delay: 0.4s;
}

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

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

.service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.service-card:nth-child(4) {
    transition-delay: 0.4s;
}

.service-card:nth-child(5) {
    transition-delay: 0.5s;
}

.service-card:nth-child(6) {
    transition-delay: 0.6s;
}

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

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

.pricing-card:nth-child(1) {
    transition-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    transition-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    transition-delay: 0.3s;
}

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

.value-card {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.value-card:nth-child(1) {
    transition-delay: 0.1s;
}

.value-card:nth-child(2) {
    transition-delay: 0.2s;
}

.value-card:nth-child(3) {
    transition-delay: 0.3s;
}

.value-card:nth-child(4) {
    transition-delay: 0.4s;
}

.value-card.is-visible {
    opacity: 1;
    transform: scale(1);
}

.timeline__item {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline__item:nth-child(odd) {
    transform: translateX(30px);
}

.timeline__item:nth-child(1) {
    transition-delay: 0.1s;
}

.timeline__item:nth-child(2) {
    transition-delay: 0.2s;
}

.timeline__item:nth-child(3) {
    transition-delay: 0.3s;
}

.timeline__item:nth-child(4) {
    transition-delay: 0.4s;
}

.timeline__item.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

.nav__logo {
    animation: fadeInLeft 0.6s ease;
}

.nav__menu {
    animation: fadeInRight 0.6s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    animation: pulse 0.3s ease;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    animation: shake 0.5s ease;
}

.contact-info-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.contact-info-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-info-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-info-card:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-info-card:nth-child(4) {
    animation-delay: 0.4s;
}

.partner-logo {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.partner-logo:nth-child(1) {
    transition-delay: 0.1s;
}

.partner-logo:nth-child(2) {
    transition-delay: 0.2s;
}

.partner-logo:nth-child(3) {
    transition-delay: 0.3s;
}

.partner-logo:nth-child(4) {
    transition-delay: 0.4s;
}

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

.faq-item {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.faq-item:nth-child(1) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(2) {
    animation-delay: 0.2s;
}

.faq-item:nth-child(3) {
    animation-delay: 0.3s;
}

.faq-item:nth-child(4) {
    animation-delay: 0.4s;
}

.faq-item:nth-child(5) {
    animation-delay: 0.5s;
}

.faq-item:nth-child(6) {
    animation-delay: 0.6s;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--color-white);
    animation: spin 0.8s linear infinite;
}

.btn.loading .btn__text {
    display: none;
}

.btn.loading .loading-spinner {
    display: inline-block;
}

.btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .feature-card,
    .stat-item,
    .team-card,
    .service-card,
    .pricing-card,
    .value-card,
    .timeline__item,
    .contact-info-card,
    .partner-logo,
    .faq-item {
        opacity: 1;
        transform: none;
        transition: none;
        animation: none;
    }
    
    .hero__title,
    .hero__subtitle,
    .hero__buttons {
        opacity: 1;
        animation: none;
    }
}