/* =========================================================================
   ENGINEERING INTELLIGENCE PIPELINE V3 (Hybrid)
   ========================================================================= */
.pipeline-v3 {
            position: relative;
            padding: 8rem 2rem;
            background: radial-gradient(circle at center, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
            display: flex;
            flex-direction: column;
            align-items: center;
            overflow: hidden;
            min-height: 100vh;
            justify-content: center;
        }

        .section-header {
            text-align: center;
            margin-bottom: 5rem;
            position: relative;
            z-index: 10;
        }

        .mega-label {
            display: flex;
            align-items: center;
            gap: 1rem;
            font-family: var(--font-mono);
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 4px;
            color: var(--p3-accent-blue);
            margin-bottom: 1.5rem;
        }

        .section-header h2 {
            font-family: var(--font-headline);
            font-size: 3rem;
            font-weight: 800;
            margin: 0;
            letter-spacing: -1px;
        }

        .section-header p {
            font-size: 1rem;
            color: var(--text-muted);
            max-width: 600px;
            margin: 1.2rem auto 0;
        }

        .pipe-layout-v3 {
            display: flex;
            align-items: stretch;
            justify-content: center;
            width: 100%;
            max-width: 1400px;
            gap: 2rem;
            position: relative;
            z-index: 2;
            height: 500px;
        }

        .p3-highway {
            flex-grow: 1;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .highway-canvas {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            pointer-events: none;
        }

        .p3-inputs, .p3-outputs {
            width: 320px;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
            justify-content: center;
        }

        /* --- CARDS: STABLE VERSION BASELINE --- */
        .p3-card {
            background: rgba(15, 20, 35, 0.6);
            border: 1px solid rgba(255, 255, 255, 0.05);
            border-radius: 20px;
            padding: 2rem;
            backdrop-filter: blur(10px);
            position: relative;
            /* transform: perspective(1000px) rotateY(10deg); */ /* Removed as per hybrid proposal */
            transition: all 0.5s ease;
        }

        /* .p3-card.output { transform: perspective(1000px) rotateY(-10deg); } */

        .p3-card:hover { 
            transform: translateY(-5px); /* Changed to vertical lift for premium feel */
            border-color: rgba(255, 255, 255, 0.15); 
            z-index: 10; 
        }

        .p3-card-icon { 
            width: 60px; 
            height: 60px; 
            background: rgba(255, 255, 255, 0.05); 
            border-radius: 16px; 
            display: flex; 
            align-items: center; 
            justify-content: center; 
            font-size: 1.8rem; 
            margin-bottom: 1.5rem; 
            color: rgba(255, 255, 255, 0.8); 
        }

        .p3-card h3 { 
            font-family: var(--font-headline); 
            font-size: 1.3rem; 
            margin-bottom: 0.5rem; 
            color: #fff; 
        }

        .p3-card p { 
            font-size: 0.85rem; 
            color: var(--text-muted); 
            line-height: 1.5; 
            margin: 0;
        }

        /* --- INLINE TECH DATA: PREMIUM BOX-FREE LIST --- */
        .inline-data {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            margin-top: 1.5rem;
            counter-reset: item;
        }

        .data-item {
            font-family: var(--font-mono);
            font-size: 0.65rem;
            font-weight: 500;
            color: rgba(255, 255, 255, 0.4);
            display: flex;
            align-items: center;
            gap: 6px;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
            cursor: pointer;
            position: relative;
            padding: 4px 0;
        }

        .data-item::before {
            content: '0' counter(item) '.';
            counter-increment: item;
            color: var(--p3-accent-blue);
            opacity: 0.3;
            transition: all 0.3s;
        }

        .data-item:hover {
            color: #fff;
            transform: translateY(-1px);
        }

        .data-item:hover::before {
            opacity: 1;
            text-shadow: 0 0 8px var(--p3-accent-blue);
        }

        .data-item::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 1px;
            background: linear-gradient(90deg, var(--p3-accent-blue), transparent);
            transition: width 0.3s;
        }

        .data-item:hover::after {
            width: 100%;
        }

        /* Sequential Animation Hooks */
        .p3-card:hover .data-item {
            animation: dataStaggerIn 0.5s both cubic-bezier(0.16, 1, 0.3, 1);
        }

        @keyframes dataStaggerIn {
            from { opacity: 0; transform: translateX(-10px); }
            to { opacity: 1; transform: translateX(0); }
        }

        .data-item:nth-child(1) { animation-delay: 0.1s; }
        .data-item:nth-child(2) { animation-delay: 0.2s; }
        .data-item:nth-child(3) { animation-delay: 0.3s; }
        .data-item:nth-child(4) { animation-delay: 0.4s; }

        /* --- SYNERGY BRIDGE: CORE DATA FLOW --- */
        .synergy-bridge {
            position: absolute;
            top: 60%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 130px;
            height: 48px;
            z-index: 10;
            pointer-events: none;
        }

        .synergy-bg-line { stroke: rgba(255, 255, 255, 0.05); }
        .synergy-bg-thick { stroke: rgba(255, 255, 255, 0.08); }
        .synergy-core-ring { stroke: rgba(255, 255, 255, 0.3); }
        /* --- ASI CORE: HYBRID (SOOTHING GLOW + HIGHLIGHT) --- */
        .pw-asi-core {
            width: 420px;
            height: 420px;
            background: rgba(10, 15, 30, 0.85);
            border: 2px solid rgba(59, 130, 246, 0.3);
            border-radius: 24px;
            backdrop-filter: blur(15px);
            display: flex;
            flex-direction: column;
            box-shadow: inset 0 0 60px rgba(59, 130, 246, 0.15), 0 0 80px rgba(0, 0, 0, 0.6);
            position: relative;
            overflow: hidden;
            z-index: 5;
            transition: all 0.5s ease;
        }

        .pw-asi-core::before {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
        }

        .core-header { 
            text-align: center; 
            padding: 3.5rem 0 1.5rem; 
            position: relative;
            z-index: 3;
            pointer-events: none;
        }
        .core-header h3 { font-family: var(--font-headline); font-size: 2.8rem; font-weight: 800; color: #fff; margin: 0; letter-spacing: 4px; text-shadow: 0 0 30px rgba(59, 130, 246, 0.6); }
        .core-header span { font-family: var(--font-mono); font-size: 0.6rem; color: rgba(255, 255, 255, 0.4); text-transform: uppercase; letter-spacing: 5px; font-weight: 400; display: block; margin-top: 5px; }
        
        .core-body { 
            display: flex; 
            flex-grow: 1; 
            position: relative; 
            z-index: 2;
            border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .cb-half { 
            flex: 1; 
            padding: 2rem; 
            display: flex; 
            flex-direction: column; 
            align-items: center; 
            justify-content: flex-start; 
            text-align: center; 
            gap: 0.8rem; 
            position: relative; 
            cursor: pointer;
            transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        }
        
        .cb-half.people { border-right: 1px solid rgba(255, 255, 255, 0.05); }

        /* HYBRID FEATURE: Hover Highlight */
        .cb-half:hover {
            background: rgba(59, 130, 246, 0.04);
        }
        .cb-half.software:hover {
            background: rgba(139, 92, 246, 0.04);
        }

        .cb-icon { 
            font-size: 2.2rem; 
            color: var(--p3-accent-blue); 
            filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5)); 
            transition: all 0.5s ease;
        }
        .cb-half.software .cb-icon { color: var(--p3-accent-purple); filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5)); }

        .cb-half:hover .cb-icon {
            transform: scale(1.15) translateY(-5px);
            filter: drop-shadow(0 0 15px currentColor);
        }

        .cb-title { font-family: var(--font-headline); font-size: 1.2rem; font-weight: 600; color: #fff; }
        .cb-desc { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; padding: 0 0.5rem; }

        /* SOOTHING GLOWS: From stable version */
        .core-glow-people { position: absolute; left: 0; bottom: 0; width: 50%; height: 100%; background: radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.15) 0%, transparent 70%); pointer-events: none;}
        .core-glow-software { position: absolute; right: 0; bottom: 0; width: 50%; height: 100%; background: radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.15) 0%, transparent 70%); pointer-events: none;}

        .pw-asi-core::after {
            content: '';
            position: absolute;
            inset: -4rem;
            border-radius: 32px;
            border: 2px solid rgba(59, 130, 246, 0.1);
            animation: coreCirclePulse 4s infinite;
            z-index: -1;
            pointer-events: none;
        }

        @keyframes coreCirclePulse {
            0% { transform: scale(0.9); opacity: 0; }
            50% { opacity: 1; }
            100% { transform: scale(1.1); opacity: 0; }
        }

        [data-theme='light'] {
            --bg: #f8fafc;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --p3-accent-blue: #0a58ca;
            --p3-accent-purple: #6610f2;
        }
        [data-theme='light'] .pipeline-v3 { background: radial-gradient(circle at center, rgba(10, 88, 202, 0.03) 0%, transparent 70%); }
        [data-theme='light'] .p3-card { background: rgba(255, 255, 255, 0.8); border-color: rgba(0, 0, 0, 0.05); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05); }
        [data-theme='light'] .p3-card h3 { color: #0f172a; }
        [data-theme='light'] .p3-card-icon { background: rgba(0, 0, 0, 0.03); color: var(--p3-accent-blue); }
        [data-theme='light'] .p3-card p { color: #334155; }
        [data-theme='light'] .pw-asi-core { background: rgba(255, 255, 255, 0.9); border-color: rgba(10, 88, 202, 0.2); box-shadow: 0 20px 80px rgba(0, 0, 0, 0.05); }
        [data-theme='light'] .core-header h3 { color: #0f172a; text-shadow: none; }
        [data-theme='light'] .cb-title { color: #0f172a; }
        [data-theme='light'] .cb-half { border-color: rgba(0, 0, 0, 0.05); }
        [data-theme='light'] .core-body { border-top-color: rgba(0, 0, 0, 0.05); }
        [data-theme='light'] .core-header span { color: rgba(15, 23, 42, 0.5); }
        [data-theme='light'] .data-item { color: #64748b; }
        [data-theme='light'] .data-item:hover { color: #0f172a; }
        [data-theme='light'] .item-main .arrow { color: #64748b; }
        [data-theme='light'] .cb-half:hover { background: rgba(10, 88, 202, 0.03); }
        [data-theme='light'] .synergy-bg-line { stroke: rgba(0, 0, 0, 0.05); }
        [data-theme='light'] .synergy-bg-thick { stroke: rgba(0, 0, 0, 0.08); }
        [data-theme='light'] .synergy-core-ring { stroke: rgba(0, 0, 0, 0.2); }
        [data-theme='light'] #infinityPath { stroke: rgba(10, 88, 202, 0.1) !important; }
        [data-theme='light'] .synergy-bridge circle[fill="#ffffff"] { fill: #0f172a; }
        [data-theme='light'] .synergy-bridge circle[fill="rgba(255, 255, 255, 0.4)"] { fill: rgba(10, 88, 202, 0.3) !important; }

