/* ═══════════════════════════════════════════════════════════════════════════
   PROCESS VIEW SECTION - SOLUTION ARCHITECTURE THEME (DARK)
   ═══════════════════════════════════════════════════════════════════════════ */
.process-section {
    padding: 64px 48px;
    background: var(--primary-blue);
    /* Dark background match */
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.process-container {
    /* No box shadow in dark mode, just clean layout */
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

/* ─── Header Strip ─── */
.process-header-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    background: rgba(0, 0, 0, 0.2);
    /* Darker header */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.process-phase-header {
    text-align: center;
    padding: 16px 8px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Chevron Separator - Dark Theme */
.process-phase-header::after {
    content: '';
    position: absolute;
    right: -12px;
    top: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 26px solid transparent;
    border-bottom: 27px solid transparent;
    border-left: 12px solid rgba(0, 0, 0, 0.2);
    /* Match header bg */
    z-index: 10;
}

/* Separator lines */
.process-phase-header:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.process-phase-header:last-child::after {
    display: none;
}

/* ─── Body ─── */
.process-body {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    padding: 32px 0;
    min-height: 500px;
}

.process-column {
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    position: relative;
    border-right: 1px dashed rgba(255, 255, 255, 0.1);
    /* Dashed lines like Arch */
}

.process-column:last-child {
    border-right: none;
}

/* ─── Nodes (Arch Block Style) ─── */
.flow-node {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;

    /* Arch Block Glassmorphism */
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);

    position: relative;
    z-index: 2;
    transition: all 0.2s ease;
}

.flow-node:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* AI Assisted Style - Glowing Blue/Cyan like LlamaExtract */
.flow-node.ai-assisted {
    background: rgba(96, 165, 250, 0.1);
    /* Light Blue tint */
    border: 1px solid rgba(96, 165, 250, 0.4);
    color: #60A5FA;
    /* Blue text */
    font-weight: 600;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.05);
}

.flow-node.ai-assisted:hover {
    background: rgba(96, 165, 250, 0.15);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.2);
}

/* Reject / Termination Nodes */
.flow-node.reject {
    background: rgba(239, 68, 68, 0.05);
    /* Red tint */
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #F87171;
}

/* Tall nodes */
.flow-node.tall {
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 90px;
}

/* ─── Connectors ─── */
.flow-arrow-right {
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 5;
}

.flow-arrow-right::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid rgba(255, 255, 255, 0.3);
}

/* Active/AI Arrow styling */
.flow-node.ai-assisted .flow-arrow-right {
    background: rgba(96, 165, 250, 0.5);
}

.flow-node.ai-assisted .flow-arrow-right::after {
    border-left-color: rgba(96, 165, 250, 0.5);
}

/* ─── Legend ─── */
.process-legend {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 4px;
}

.legend-color.roadmap {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.legend-color.ai {
    background: rgba(96, 165, 250, 0.2);
    border: 1px solid rgba(96, 165, 250, 0.5);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .process-header-strip {
        display: none;
    }

    .process-body {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }

    .process-column {
        border-right: none;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
        padding-bottom: 24px;
    }

    .process-column::before {
        content: attr(data-label);
        font-weight: 700;
        color: #60A5FA;
        margin-bottom: 12px;
        text-transform: uppercase;
        font-size: 12px;
    }

    .flow-arrow-right {
        display: none;
    }
}
.process-section .section-title {
    color: var(--white);
    font-family: 'Inter', sans-serif;
}
