/* Workflow Section */
.workflow {
    background: var(--bg-dark);
    position: relative;
}

.workflow-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
    margin-top: 4rem;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, rgba(245,158,11,0.05) 0%, var(--primary-light) 50%, rgba(56,189,248,0.05) 100%);
    z-index: 1;
}

.workflow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}

.wf-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
    transition: var(--transition-smooth);
}

.workflow-step:hover .wf-badge {
    border-color: var(--primary-light);
    color: #ffffff;
    background: #0e1628;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--primary-glow);
}

.workflow-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.workflow-step p {
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 180px;
}

@media (max-width: 992px) {
    .workflow-timeline {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .workflow-timeline::before {
        display: none;
    }

    .workflow-step {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .wf-badge {
        margin-bottom: 0;
        width: 64px;
        height: 64px;
        flex-shrink: 0;
    }

    .workflow-step p {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .workflow-step {
        gap: 1rem;
    }
    .wf-badge {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
    }
    .workflow-step h3 {
        font-size: 1rem;
    }
    .workflow-step p {
        font-size: 0.8rem;
    }
    .workflow-timeline {
        gap: 2rem;
    }
}
