/* Modern Process Timeline for Slide 20 */
#slide-20 .content {
    max-width: 1200px;
}

/* Main Timeline Container */
.process-timeline-modern {
    margin-top: 50px;
    position: relative;
}

/* Timeline Line */
.timeline-line {
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--artemed-blue) 0%, 
        var(--artemed-lightblue) 50%, 
        var(--accent-green) 100%);
    z-index: 1;
}

/* Timeline Phases Container */
.timeline-phases {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

/* Individual Phase */
.phase-modern {
    position: relative;
    text-align: center;
}

/* Phase Dot */
.phase-dot {
    width: 24px;
    height: 24px;
    background: white;
    border: 4px solid var(--artemed-blue);
    border-radius: 50%;
    margin: 0 auto 20px;
    position: relative;
    z-index: 3;
    transition: all 0.3s ease;
}

.phase-modern:nth-child(2) .phase-dot {
    border-color: var(--artemed-lightblue);
}

.phase-modern:nth-child(3) .phase-dot {
    border-color: var(--accent-green);
}

.phase-modern:hover .phase-dot {
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(123, 167, 204, 0.4);
}

/* Phase Content Card */
.phase-card {
    background: var(--background-card);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    min-height: 200px;
}

.phase-modern:hover .phase-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--artemed-blue);
}

/* Phase Header */
.phase-time {
    font-size: 14px;
    font-weight: 600;
    color: var(--artemed-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.phase-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* Phase Activities */
.phase-activities {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.phase-activities li {
    font-size: 15px;
    color: var(--text-primary);
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.phase-activities li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--artemed-blue);
    font-weight: bold;
}

/* AI Tools Highlight Box */
.ai-tools-highlight {
    background: linear-gradient(135deg, rgba(123, 167, 204, 0.1) 0%, rgba(123, 167, 204, 0.05) 100%);
    border: 2px solid var(--artemed-blue);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.ai-tools-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(123, 167, 204, 0.1) 0%, transparent 70%);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; }
}

.ai-tools-content {
    position: relative;
    z-index: 1;
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--artemed-blue);
    color: white;
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.ai-badge .badge-icon {
    font-size: 18px;
}

.ai-tools-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.ai-tools-description {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.ai-tools-description strong {
    color: var(--artemed-blue);
    font-weight: 600;
}

/* Progress Indicators */
.phase-progress {
    display: flex;
    gap: 4px;
    margin-top: 16px;
    justify-content: center;
}

.progress-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-300);
}

.progress-dot.active {
    background: var(--artemed-blue);
}

/* Animations */
.phase-modern {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.phase-modern:nth-child(1) { animation-delay: 0.1s; }
.phase-modern:nth-child(2) { animation-delay: 0.2s; }
.phase-modern:nth-child(3) { animation-delay: 0.3s; }

.ai-tools-highlight {
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.4s forwards;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .timeline-phases {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .timeline-line {
        top: 0;
        left: 40px;
        right: auto;
        width: 4px;
        height: calc(100% - 100px);
        background: linear-gradient(180deg, 
            var(--artemed-blue) 0%, 
            var(--artemed-lightblue) 50%, 
            var(--accent-green) 100%);
    }
    
    .phase-modern {
        text-align: left;
        padding-left: 80px;
    }
    
    .phase-dot {
        position: absolute;
        left: 28px;
        top: 0;
        margin: 0;
    }
    
    .phase-card {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .timeline-line {
        left: 24px;
    }
    
    .phase-modern {
        padding-left: 60px;
    }
    
    .phase-dot {
        left: 12px;
        width: 20px;
        height: 20px;
    }
    
    .ai-tools-highlight {
        padding: 24px 20px;
    }
    
    .ai-tools-title {
        font-size: 24px;
    }
    
    .ai-tools-description {
        font-size: 16px;
    }
}