/* User Journey Animation Styles */

.journey-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.journey-timeline {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 1rem;
}

.journey-step {
    position: relative;
    flex: 1;
    min-width: 120px;
    max-width: 150px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.journey-step:hover {
    transform: translateY(-5px);
}

.step-connector {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: #e5e7eb;
    z-index: 0;
    transition: all 0.5s ease;
}

.step-connector.completed {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.step-circle {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.step-icon-wrapper {
    font-size: 1.5rem;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.step-pulse {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.3);
    animation: pulse 2s infinite;
    opacity: 0;
}

.journey-step.active .step-circle {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    transform: scale(1.1);
}

.journey-step.active .step-icon-wrapper {
    color: white;
}

.journey-step.active .step-pulse {
    opacity: 1;
}

.journey-step.completed .step-circle {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.journey-step.completed .step-icon-wrapper {
    color: white;
}

.step-content {
    margin-top: 0.5rem;
}

.step-title {
    font-size: 1rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
}

.step-description {
    font-size: 0.75rem;
    color: #9ca3af;
    transition: all 0.3s ease;
}

.journey-step.active .step-title {
    color: #667eea;
    font-weight: 700;
}

.journey-step.active .step-description {
    color: #4b5563;
}

.journey-step.completed .step-title {
    color: #10b981;
}

.journey-visualization {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-stage {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.visual-content {
    transition: opacity 0.3s ease;
}

.visual-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

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

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .journey-timeline {
        flex-direction: column;
        align-items: center;
    }

    .journey-step {
        max-width: 100%;
        width: 100%;
        margin-bottom: 2rem;
    }

    .step-connector {
        display: none;
    }

    .visual-card {
        padding: 1.5rem;
    }
}

/* Additional animations */
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 1s infinite;
}

