/* Slider Section */
.slider-section {
    min-height: 100vh;
    padding: 2rem 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.8) 0%, #0f172a 100%);
    width: 100%;
    overflow: hidden;
}

.cards-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2.5rem;
    padding: 3rem 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
    /* Prevent text selection while dragging */
    -webkit-user-select: none;
    touch-action: pan-y;
}

.cards-slider.active-drag {
    cursor: grabbing;
    scroll-snap-type: none !important;
    /* Force disable snap during manual drag */
    scroll-behavior: auto !important;
    /* Disable smooth scroll during drag to avoid lag */
}

.cards-slider:active {
    cursor: grabbing;
}

.cards-slider::-webkit-scrollbar {
    display: none;
}

.feature-card {
    flex: 0 0 380px;
    min-height: 480px;
    scroll-snap-align: center;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 40px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    backdrop-filter: blur(25px);
    position: relative;
}

.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 40px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent, rgba(255, 255, 255, 0.05));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.feature-card .card-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: var(--card-glow, rgba(59, 130, 246, 0.15));
    filter: blur(80px);
    opacity: 0.3;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.feature-card:hover .card-glow {
    opacity: 0.6;
}

.feature-card .card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 2rem;
}

.feature-card .card-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px currentColor);
}

.feature-card .feature-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.feature-card .feature-description {
    font-size: 1.05rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.feature-card .feature-list {
    margin-top: auto;
    padding: 0;
}

.feature-card .feature-list li {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    color: #e2e8f0;
}


.slider-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-dot.active {
    background: #60a5fa;
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(96, 165, 250, 0.5);
}

.nav-dot:hover {
    background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .cards-slider {
        padding: 2rem 5vw;
        gap: 1.5rem;
    }

    .feature-card {
        flex: 0 0 85vw;
        min-height: 450px;
        padding: 2rem;
    }

    .feature-card .feature-title {
        font-size: 1.75rem;
    }
}