/* Premium Product Ecosystem Section Stylesheet */

.ecosystem-section {
    min-height: 800px;
    background-color: #D0D0D0; /* Updated grey background per user request */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 80px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.ecosystem-section .section-grid {
    display: grid;
    grid-template-columns: 55fr 45fr; /* 55% left visualization, 45% right storytelling */
    gap: 48px;
    align-items: center;
    width: 100%;
}

/* ====================================================
   LEFT SIDE: VISUALIZATION LAYER
   ==================================================== */
.ecosystem-viz-container {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Premium 16:9 Video Mockup Wrapper */
.ecosystem-video-wrapper {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    background: #000000;
    box-shadow: none;
    border: 0;
    position: relative;
    aspect-ratio: 16 / 9;
}

.ecosystem-promo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ====================================================
   RIGHT SIDE: STORYTELLING PANEL
   ==================================================== */
.ecosystem-content {
    padding-left: 24px;
}

.ecosystem-eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 16px;
    display: inline-block;
}

.ecosystem-heading {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.ecosystem-heading span {
    color: var(--color-accent);
}

.ecosystem-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text-main);
    margin-bottom: 36px;
}

/* Compact Ecosystem Flow */
.ecosystem-flow-path {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.eco-flow-step {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eco-flow-arrow {
    display: flex;
    align-items: center;
    color: var(--color-accent);
    animation: flowPulse 2s infinite ease-in-out;
}

@keyframes flowPulse {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(3px); }
}

/* ====================================================
   RESPONSIVE DESIGN SYSTEM
   ==================================================== */

@media (max-width: 1024px) {
    .ecosystem-section {
        padding: 60px 0;
    }
    
    .ecosystem-section .section-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .ecosystem-viz-container {
        height: auto;
        order: 2; /* Visual moves down on tablet/mobile */
    }
    
    .ecosystem-content {
        padding-left: 0;
        text-align: center;
        order: 1; /* Content moves up */
    }
    
    .ecosystem-flow-path {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .ecosystem-heading {
        font-size: 2.25rem;
    }
    
    .ecosystem-viz-container {
        height: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-flow-arrow {
        animation: none !important;
        transform: none !important;
    }
}
