/* Indicators Scroll-Linked Layout */
.indicators-layout {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .indicators-layout {
        grid-template-columns: 1fr 1fr;
        /* Split 50/50 */
        gap: 6rem;
    }
}

.indicators-scroll-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 5vh;
    padding-bottom: 30vh;
}

.indicator-scroll-item {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.4;
    /* Lower opacity for contrast */
    transition: all 0.3s ease;
    padding: 3rem 2rem;
    /* Add horizontal padding */
    margin-bottom: 2rem;
    border-left: 4px solid transparent;
    /* Prepare logic for border */
    border-radius: 0 16px 16px 0;
    /* Rounded right side */
}

.indicator-scroll-item.active {
    opacity: 1;
    transform: translateX(10px);
    border-left-color: var(--color-indigo);
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    /* Subtle highlight */
}

.indicator-scroll-item.active .indicator-icon-large {
    background: var(--color-indigo);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
}

.indicator-icon-large {
    width: 64px;
    height: 64px;
    background: var(--color-background-secondary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-indigo);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.indicator-scroll-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.indicator-scroll-item p {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 450px;
}

/* Right Side - Sticky Video */
.indicators-right {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.indicator-preview-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: var(--color-black);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.59), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Ensure video covers the container */
.indicator-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile Adjustments */
@media (max-width: 1023px) {
    .indicators-right {
        display: none;
        /* Hide video on mobile for cleaner flow? or stack? */
        /* For now, let's keep it simple and hide the complex sticky video on mobile, 
           or we could make it a static stack. Let's hide for "clean style" request 
           and focus on text, or verify if client wants mobile video. 
           Usually sticky video on mobile is hard/small. */
    }

    .indicator-scroll-item {
        min-height: auto;
        opacity: 1;
        padding: 3rem 0;
        border-bottom: 1px solid var(--color-border);
    }
}


/* --- Workspace Scrollbar Customization --- */
.indicators-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.indicators-scroll-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.indicators-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.indicators-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}