/* 开发流程图形化展示样式 */
.process-flow-container {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.process-flow-title {
    text-align: center;
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
}

.process-flow-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    border-radius: 2px;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #3498db;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3498db, #2ecc71);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.3);
    position: relative;
    z-index: 2;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
}

.step-description {
    font-size: 14px;
    color: #7f8c8d;
    line-height: 1.5;
    margin: 0;
}

/* 连接线样式 */
.process-step::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -30px;
    width: 30px;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2 0%, #357abd 100%);
    border-radius: 2px;
    z-index: 1;
    transform: translateY(-50%);
    box-shadow: 0 2px 4px rgba(74, 144, 226, 0.3);
}

.process-step:last-child::before {
    display: none;
}

/* 箭头样式 */
.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -25px;
    width: 0;
    height: 0;
    border-left: 12px solid #357abd;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    z-index: 1;
    transform: translateY(-50%);
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

.process-step:hover::after {
    border-left-color: #4a90e2;
    transform: translateY(-50%) scale(1.1);
}

.process-step:last-child::after {
    display: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        max-width: 100%;
        width: 100%;
    }
    
    .process-step::before,
    .process-step::after {
        display: none;
    }
    
    .process-flow-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .process-flow-container {
        padding: 15px;
    }
    
    .process-step {
        padding: 15px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .step-title {
        font-size: 15px;
    }
    
    .step-description {
        font-size: 13px;
    }
}

/* 特殊颜色主题 */
.process-step:nth-child(1) .step-number {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.process-step:nth-child(2) .step-number {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.process-step:nth-child(3) .step-number {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.process-step:nth-child(4) .step-number {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.process-step:nth-child(5) .step-number {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.process-step:nth-child(6) .step-number {
    background: linear-gradient(135deg, #1abc9c, #16a085);
}

.process-step:nth-child(7) .step-number {
    background: linear-gradient(135deg, #34495e, #2c3e50);
}

.process-step:nth-child(8) .step-number {
    background: linear-gradient(135deg, #e67e22, #d35400);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-step {
    animation: fadeInUp 0.6s ease forwards;
}

.process-step:nth-child(1) { animation-delay: 0.1s; }
.process-step:nth-child(2) { animation-delay: 0.2s; }
.process-step:nth-child(3) { animation-delay: 0.3s; }
.process-step:nth-child(4) { animation-delay: 0.4s; }
.process-step:nth-child(5) { animation-delay: 0.5s; }
.process-step:nth-child(6) { animation-delay: 0.6s; }
.process-step:nth-child(7) { animation-delay: 0.7s; }
.process-step:nth-child(8) { animation-delay: 0.8s; }
