/* Scroll & entrance animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll[data-delay="100"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="200"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="300"] { transition-delay: 0.3s; }

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.float-animation { animation: float 4s ease-in-out infinite; }

/* Shimmer on hero badge */
.hero-badge .dot {
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(0,196,167,0.6); }
    50% { box-shadow: 0 0 0 8px rgba(0,196,167,0); }
}

/* Feature cards stagger */
.features-grid .feature-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.6s ease forwards;
}

.features-grid .feature-card:nth-child(1) { animation-delay: 0.1s; }
.features-grid .feature-card:nth-child(2) { animation-delay: 0.2s; }
.features-grid .feature-card:nth-child(3) { animation-delay: 0.3s; }
.features-grid .feature-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Service card shine */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}

.service-card { position: relative; overflow: hidden; }
.service-card:hover::after { left: 120%; }

/* Stat counter pop */
.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.05);
}

/* Gradient text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Button ripple effect */
.btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:active { transform: scale(0.97); }

/* Testimonial slide fade */
.testimonial-slide {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Parallax subtle on hero */
.hero-content {
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Detail step animation */
.detail-step {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.detail-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.detail-process .detail-step:nth-child(1) { transition-delay: 0s; }
.detail-process .detail-step:nth-child(2) { transition-delay: 0.15s; }
.detail-process .detail-step:nth-child(3) { transition-delay: 0.3s; }
.detail-process .detail-step:nth-child(4) { transition-delay: 0.45s; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll, .features-grid .feature-card, .hero-content {
        animation: none;
        opacity: 1;
        transform: none;
        transition: none;
    }
}
