/* Анимация появления элементов */
@keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
      opacity: 0;
      transform: scale(0.9);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }
    70% {
      transform: scale(1.05);
      box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* Применение анимаций к элементам */
.hero, .section-title, .feature-card, .benefit-item, .bot-feature,
.advantage, .ads-feature, .effect-calculator, .partner-details {
    animation: fadeIn 0.8s ease-out forwards;
}

.logo h1 {
    animation: scaleIn 0.7s ease-out forwards;
}

.cta-button {
    animation: pulse 2s infinite;
}

.benefit-item:nth-child(odd) {
    animation: slideInLeft 0.7s ease-out forwards;
}

.benefit-item:nth-child(even) {
    animation: slideInRight 0.7s ease-out forwards;
}

/* Задержки анимации для плавного появления */
.features-grid .feature-card:nth-child(1), 
.bots-features .bot-feature:nth-child(1),
.ads-features .ads-feature:nth-child(1) {
    animation-delay: 0.1s;
}

.features-grid .feature-card:nth-child(2), 
.bots-features .bot-feature:nth-child(2),
.ads-features .ads-feature:nth-child(2) {
    animation-delay: 0.2s;
}

.features-grid .feature-card:nth-child(3), 
.bots-features .bot-feature:nth-child(3),
.ads-features .ads-feature:nth-child(3) {
    animation-delay: 0.3s;
}

.features-grid .feature-card:nth-child(4), 
.bots-features .bot-feature:nth-child(4),
.ads-features .ads-feature:nth-child(4) {
    animation-delay: 0.4s;
}

.features-grid .feature-card:nth-child(5), 
.bots-features .bot-feature:nth-child(5) {
    animation-delay: 0.5s;
}

.features-grid .feature-card:nth-child(6), 
.bots-features .bot-feature:nth-child(6) {
    animation-delay: 0.6s;
}

.features-grid .feature-card:nth-child(7), 
.bots-features .bot-feature:nth-child(7) {
    animation-delay: 0.7s;
}

.features-grid .feature-card:nth-child(8), 
.bots-features .bot-feature:nth-child(8) {
    animation-delay: 0.8s;
}