/**
 * =========================================
 * PAGE: DỊCH VỤ VẬN HÀNH SHOPEE - TABCOM CARE
 * SECTION: QUY TRÌNH TRIỂN KHAI DỊCH VỤ
 * =========================================
 * File: assets/css/shopee-workflow.css
 * Scope: .tabcom-workflow
 * =========================================
 */

.tabcom-workflow {
    --wf-primary: #0038FF;
    --wf-primary-dark: #001BE6;
    --wf-primary-light: #02f4f9;
    --wf-accent: #08de7e;
    --wf-bg: #f8fafc;
    --wf-text-dark: #0f172a;
    --wf-text-muted: #64748b;
    --wf-card-bg: #ffffff;
}

.tabcom-workflow {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #ffffff 0%, var(--wf-bg) 100%);
    padding: 100px 20px;
    overflow: hidden;
}

.tabcom-workflow * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.tabcom-workflow .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section Header */
.tabcom-workflow .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.tabcom-workflow .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    background: #0038FF;
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.tabcom-workflow .section-title {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--wf-text-dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.tabcom-workflow .section-title .highlight {
    background: linear-gradient(180deg, #001BE6 50%, #0FDEC9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tabcom-workflow .section-desc {
    font-size: 1.1rem;
    color: var(--wf-text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Timeline Container */
.tabcom-workflow .timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Timeline Line */
.tabcom-workflow .timeline::before {
    content: '';
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #02f4f9 0%, #0038FF 50%, #08de7e 100%);
    border-radius: 2px;
}

/* Phase Item */
.tabcom-workflow .phase {
    position: relative;
    padding-left: 80px;
    padding-bottom: 48px;
}

.tabcom-workflow .phase:last-child {
    padding-bottom: 0;
}

/* Phase Number */
.tabcom-workflow .phase-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #0038FF 0%, #02f4f9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 8px 24px rgba(0, 56, 255, 0.3);
    z-index: 2;
}

/* Phase Content */
.tabcom-workflow .phase-content {
    background: var(--wf-card-bg);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 56, 255, 0.1);
    transition: all 0.3s ease;
}

.tabcom-workflow .phase-content:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 32px rgba(0, 56, 255, 0.12);
    border-color: rgba(0, 56, 255, 0.2);
}

.tabcom-workflow .phase-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.tabcom-workflow .phase-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 56, 255, 0.1) 0%, rgba(2, 244, 249, 0.1) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0038FF;
}

.tabcom-workflow .phase-icon .material-symbols-outlined {
    font-size: 24px;
}

.tabcom-workflow .phase-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--wf-text-dark);
}

/* Steps Grid */
.tabcom-workflow .steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.tabcom-workflow .step-card {
    background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
    border: 1px solid rgba(0, 56, 255, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    position: relative;
    transition: all 0.3s ease;
}

.tabcom-workflow .step-card:hover {
    background: linear-gradient(135deg, #e0e8ff 0%, #cce0ff 100%);
    transform: translateY(-2px);
}

.tabcom-workflow .step-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(180deg, #0038FF 0%, #02f4f9 100%);
    border-radius: 0 2px 2px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tabcom-workflow .step-card:hover::before {
    opacity: 1;
}

.tabcom-workflow .step-card p {
    font-size: 0.9rem;
    color: var(--wf-text-dark);
    line-height: 1.5;
    font-weight: 500;
}

/* Arrow between steps */
.tabcom-workflow .step-arrow {
    display: none;
}

/* CTA Section */
.tabcom-workflow .workflow-cta {
    margin-top: 80px;
    text-align: center;
}

.tabcom-workflow .cta-box {
    background: linear-gradient(180deg, #001BE6 50%, #0FDEC9 100%);
    border-radius: 24px;
    padding: 56px 48px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.tabcom-workflow .cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.tabcom-workflow .cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.tabcom-workflow .cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.tabcom-workflow .cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.tabcom-workflow .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 56px;
    padding: 0 40px;
    background: #fff;
    color: #0038FF;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.tabcom-workflow .cta-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    background: #f0f4ff;
}

.tabcom-workflow .cta-btn .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.tabcom-workflow .cta-btn:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1024px) {
    .tabcom-workflow .section-title {
        font-size: 2rem;
    }

    .tabcom-workflow .phase-content {
        padding: 24px;
    }

    .tabcom-workflow .steps-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .tabcom-workflow {
        padding: 60px 20px;
    }

    .tabcom-workflow .section-title {
        font-size: 1.6rem;
    }

    .tabcom-workflow .timeline::before {
        left: 20px;
        width: 3px;
    }

    .tabcom-workflow .phase {
        padding-left: 60px;
        padding-bottom: 32px;
    }

    .tabcom-workflow .phase-number {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .tabcom-workflow .phase-content {
        padding: 20px;
    }

    .tabcom-workflow .phase-title {
        font-size: 1.1rem;
    }

    .tabcom-workflow .steps-grid {
        grid-template-columns: 1fr;
    }

    .tabcom-workflow .cta-box {
        padding: 40px 24px;
    }

    .tabcom-workflow .cta-title {
        font-size: 1.5rem;
    }
}
