.hscroll-section {
    position: relative;
    background: var(--bg);
}

.hscroll-outer {
    height: 400vh;
    position: relative;
}

.hscroll-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 2rem;
}

.hscroll-header {
    text-align: center;
    padding: 1rem 2rem 0;
    flex-shrink: 0;
}

.hscroll-header .section-title {
    margin-bottom: 0.5rem;
}

.hscroll-header .section-subtitle {
    margin-bottom: 1.5rem;
}

.hscroll-progress {
    width: 200px;
    height: 3px;
    background: var(--border);
    border-radius: 3px;
    margin: 0 auto 0.5rem;
    overflow: hidden;
}

.hscroll-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient);
    border-radius: 3px;
    transition: width 0.1s linear;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

.hscroll-counter {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hscroll-counter span:first-child {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}

.hscroll-track {
    display: flex;
    gap: 2rem;
    padding: 1rem 4rem;
    flex: 1;
    align-items: center;
    will-change: transform;
}

.hscroll-card {
    flex: 0 0 min(700px, 80vw);
    height: min(420px, 60vh);
    background: var(--surface);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    position: relative;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.hscroll-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 50px rgba(0, 243, 255, 0.15), 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.hscroll-card-number {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.15;
    line-height: 1;
    z-index: 1;
}

.hscroll-card-visual {
    grid-row: 1 / -1;
    position: relative;
    overflow: hidden;
}

.hscroll-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hscroll-card:hover .hscroll-card-visual img {
    transform: scale(1.08);
}

.hscroll-card-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.05) 0%, rgba(188, 19, 254, 0.05) 100%);
    pointer-events: none;
}

.hscroll-card-content {
    grid-row: 1 / -1;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.hscroll-card-icon {
    font-size: 2rem;
    color: var(--primary);
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.3));
}

.hscroll-card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.2;
}

.hscroll-card-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.hscroll-card-price {
    font-size: 1.3rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hscroll-card-content .btn {
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hscroll-section {
        padding: 0;
    }

    .hscroll-outer {
        height: auto;
    }

    .hscroll-sticky {
        position: relative;
        height: auto;
        padding: 2rem 0 1rem;
        overflow: visible;
    }

    .hscroll-track {
        padding: 1rem 1rem 2rem;
        gap: 1rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        align-items: stretch;
    }

    .hscroll-track::-webkit-scrollbar {
        display: none;
    }

    .hscroll-card {
        flex: 0 0 85vw;
        max-width: 85vw;
        height: auto;
        min-height: 0;
        grid-template-columns: 1fr;
        grid-template-rows: 180px auto;
        scroll-snap-align: center;
        opacity: 1 !important;
        transform: none !important;
    }

    .hscroll-card-visual {
        grid-row: auto;
    }

    .hscroll-card-content {
        grid-row: auto;
        padding: 1.25rem;
        gap: 0.5rem;
    }

    .hscroll-card-content h3 {
        font-size: 1.15rem;
    }

    .hscroll-card-content p {
        font-size: 0.85rem;
    }

    .hscroll-card-price {
        font-size: 1.1rem;
    }

    .hscroll-card-number {
        font-size: 3rem;
        top: 0.75rem;
        left: 0.75rem;
    }

    .hscroll-progress {
        width: 150px;
    }

    .hscroll-header {
        padding: 0.5rem 1.5rem 0;
    }

    .hscroll-header .section-title {
        font-size: 1.5rem;
    }

    .hscroll-header .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .hscroll-counter {
        margin-bottom: 0.5rem;
    }
}
