/* Horizontal Scroll Section */
.sticky-scroll-section {
    position: relative;
    height: 600vh;
    /* 5 slides + buffer */
    background-color: var(--bg-dark);
}

.sticky-view {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.horizontal-track {
    display: flex;
    height: 100%;
    width: 500vw;
    /* 5 slides * 100vw */
    will-change: transform;
}

.scroll-card {
    width: 100vw;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

/* Individual Slide Colors/Styles (Alternating slightly for depth) */
.scroll-card:nth-child(1) {
    background: linear-gradient(135deg, var(--bg-dark), #1e1b4b);
}

.scroll-card:nth-child(2) {
    background: linear-gradient(135deg, #1e1b4b, var(--bg-dark));
}

.scroll-card:nth-child(3) {
    background: linear-gradient(135deg, var(--bg-dark), #312e81);
}

.scroll-card:nth-child(4) {
    background: linear-gradient(135deg, #312e81, var(--bg-dark));
}

.scroll-card:nth-child(5) {
    background: linear-gradient(135deg, var(--bg-dark), #1e1b4b);
}

.scroll-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.scroll-text h3 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    line-height: 1.1;
}

.scroll-text h3 .number {
    color: var(--primary);
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.scroll-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
}

.scroll-visual {
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--bg-card-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Placeholder styles for visual content (can be replaced with img tag) */
.visual-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.5s;
}

.scroll-card:hover .visual-placeholder {
    transform: scale(1.05);
}

.solution-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scroll-card:hover .solution-image {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .sticky-scroll-section {
        height: auto;
        /* Dissolve sticky on mobile */
    }

    .sticky-view {
        position: relative;
        height: auto;
        display: block;
    }

    .horizontal-track {
        display: block;
        width: 100%;
        transform: none !important;
        /* Force disable JS transform */
    }

    .scroll-card {
        width: 100%;
        height: auto;
        padding: 4rem 1rem;
        border-bottom: 1px solid var(--bg-card-border);
    }

    .scroll-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .scroll-text p {
        margin: 0 auto;
    }

    .scroll-visual {
        height: 300px;
    }
}