/* Outcome Section Styles */

.outcome-section {
    padding: 60px 0 2rem;
    /* Top 60px, Bottom 2rem for modest buffer */
    /* Blend from black (#0a0a0a) to slightly lighter slate if needed, or keep stark black */
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle separator */
}

/* 2-Column Grid Reuse or Override */
/* Uses generic .two-col-grid from main.css */
/* FORCE Grid behavior to ensure side-by-side on desktop */
.outcome-section .two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .outcome-section .two-col-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.outcome-content {
    text-align: left;
    /* Explicitly requested by user */
    padding-right: var(--spacing-md);
}

.outcome-content .headline-md {
    text-align: left;
}

.outcome-content .body-text {
    text-align: left;
}

@media (max-width: 768px) {
    .outcome-content {
        text-align: center;
        padding-right: 0;
        /* Remove right padding on mobile */
    }

    .outcome-content .headline-md,
    .outcome-content .body-text {
        text-align: center;
    }

    .solution-list {
        /* This is used in outcome section too */
        align-items: center;
        text-align: left;
    }

    .outcome-visual {
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        /* Reduced from 2rem */
        pointer-events: none;
        /* Disable interaction on mobile */
    }
}

/* Visualization Side */
.outcome-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.factory-container {
    width: 100%;
    height: 300px;
    /* Shorter than vertical games */
    background: #0F172A;
    /* Slate 900 */
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    /* Inner shadow */
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
}

#outcome-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Overlay for Vignette/Depth */
.factory-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(15, 23, 42, 0.8) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .outcome-visual {
        margin-top: var(--spacing-lg);
    }

    .factory-container {
        height: 250px;
    }
}