/* 工作流程修复样式 - 覆盖原有样式 */

.workflow {
    background: var(--bg-light);
}

.workflow-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #3b82f6 0%, #0ea5e9 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #0ea5e9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
    z-index: 2;
    flex-shrink: 0;
    position: relative;
    margin: 0 40px;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.08);
    transition: all 0.3s ease;
    max-width: 450px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content:hover {
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
}

.timeline-item:nth-child(odd) .timeline-content:hover {
    transform: translateX(10px);
}

.timeline-item:nth-child(even) .timeline-content:hover {
    transform: translateX(-10px);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.timeline-icon i {
    font-size: 28px;
    color: #3b82f6;
}

.timeline-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
    display: block;
}

.timeline-description {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    display: block;
}

/* 响应式 */
@media (max-width: 768px) {
    .workflow-timeline::before {
        left: 40px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }
    
    .timeline-number {
        margin: 0 20px 0 0;
    }
    
    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin: 0;
        max-width: none;
    }
    
    .timeline-content:hover,
    .timeline-item:nth-child(odd) .timeline-content:hover,
    .timeline-item:nth-child(even) .timeline-content:hover {
        transform: translateX(5px);
    }
}
