/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fade-in from left */
.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Fade-in from right */
.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale fade-in */
.fade-in-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s ease;
}

.fade-in-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Delayed animations */
.fade-in-delay-1 {
    transition-delay: 0.1s;
}

.fade-in-delay-2 {
    transition-delay: 0.2s;
}

.fade-in-delay-3 {
    transition-delay: 0.3s;
}

/* Smooth transitions for dynamic content */
.demo-step, .flow-step, .trust-card, .provider-item, .api-step {
    transition: all 0.3s ease;
}

/* Animation for side panel */
.side-panel {
    transition: transform 0.3s ease;
}

.overlay {
    transition: opacity 0.3s ease;
}

/* Purple highlight effect for cards */
.workload-card {
    position: relative;
    overflow: hidden;
}

.workload-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.workload-card:hover::before {
    transform: scaleX(1);
}