/* 工作流程页面专属样式 */

/* 工作流程概览 */
.workflow-overview {
    background: var(--bg-secondary);
    padding: 6rem 0;
}

.workflow-timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    margin-top: 4rem;
    overflow-x: auto;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 1;
    min-width: 180px;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.timeline-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.timeline-marker {
    width: 80px;
    height: 80px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.timeline-marker::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.step-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    position: relative;
    z-index: 2;
}

.timeline-content {
    text-align: center;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(229, 231, 235, 0.8);
    transition: var(--transition);
    width: 100%;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.timeline-arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    flex-shrink: 0;
}

/* 详细工作流程 */
.workflow {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.workflow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23667eea20"/><circle cx="80" cy="30" r="1.5" fill="%23764ba220"/><circle cx="30" cy="80" r="1.8" fill="%23667eea15"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
    pointer-events: none;
}

.workflow-container {
    position: relative;
    z-index: 2;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.workflow-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(229, 231, 235, 0.8);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.workflow-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--bg-gradient);
    transform: scaleY(0);
    transition: var(--transition);
}

.workflow-step:hover::before {
    transform: scaleY(1);
}

.workflow-step:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.step-icon {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.step-emoji {
    font-size: 2.5rem;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.step-features {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.step-features li {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: var(--transition);
}

.step-features li:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.workflow-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1.5rem 0;
}

.workflow-arrow svg {
    opacity: 0.6;
    transition: var(--transition);
}

.workflow-arrow:hover svg {
    opacity: 1;
    transform: translateX(5px);
}

/* 工作流程总结 */
.workflow-summary {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(229, 231, 235, 0.8);
    position: relative;
    overflow: hidden;
}

.workflow-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
}

.summary-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.summary-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.summary-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.summary-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
}

.summary-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.summary-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* 流程对比 */
.workflow-comparison {
    background: white;
    padding: 6rem 0;
}

.comparison-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: stretch;
    margin-bottom: 4rem;
}

.comparison-item {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.comparison-item.traditional {
    border-left: 4px solid #ff6b6b;
}

.comparison-item.ai {
    border-left: 4px solid var(--primary-color);
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.comparison-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.time-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.time-badge.expensive {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.time-badge.efficient {
    background: var(--bg-gradient);
}

.comparison-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.comparison-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.comparison-step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.comparison-step .step-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}



.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: var(--shadow-lg);
    align-self: center;
}

.comparison-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(229, 231, 235, 0.8);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    background: var(--bg-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.stat-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--bg-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 演示区块 */
.demo-section {
    background: var(--bg-secondary);
    text-align: center;
}

.demo-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.demo-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(229, 231, 235, 0.8);
    transition: var(--transition);
}

.demo-feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.demo-button-container {
    text-align: center;
    margin: 4rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: var(--border-radius);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.demo-normal-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--bg-gradient);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.demo-normal-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.demo-normal-button:hover::before {
    left: 100%;
}

.demo-normal-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.demo-button-tip {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    
    .workflow-timeline {
        flex-direction: column;
        gap: 2rem;
        flex-wrap: wrap;
        overflow-x: visible;
    }
    
    .timeline-arrow {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }
    
    .timeline-item {
        min-width: auto;
        width: 100%;
    }
    
    .workflow-step {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        gap: 1.5rem;
    }
    
    .step-icon {
        align-self: center;
    }
    
    .step-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vs-divider {
        order: 1;
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
        align-self: center;
        justify-self: center;
    }
    
    .comparison-item.traditional {
        order: 0;
    }
    
    .comparison-item.ai {
        order: 2;
    }
    
    .comparison-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .demo-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .demo-feature {
        flex-direction: column;
        text-align: center;
        padding: 1.25rem;
        gap: 0.75rem;
    }
    
    .demo-button-container {
        margin: 3rem 0;
        padding: 1.5rem;
    }
    
    .demo-normal-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .workflow-timeline {
        gap: 1.5rem;
        flex-direction: column;
    }
    
    .timeline-marker {
        width: 60px;
        height: 60px;
    }
    
    .step-number {
        font-size: 1.2rem;
    }
    
    .timeline-content {
        padding: 1.25rem;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.85rem;
    }
    
    .timeline-item {
        min-width: auto;
        width: 100%;
    }
    
    .workflow-step {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .step-emoji {
        font-size: 2rem;
    }
    
    .step-title {
        font-size: 1.3rem;
    }
    
    .step-description {
        font-size: 0.9rem;
    }
    
    .comparison-step {
        padding: 1.25rem;
    }
    
    .comparison-step .step-icon {
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
} 