/* ════════════════════════════════════════════════════════════
   ANIMATED FEATURES — MOBILE VIEW  (≤ 960px)
   Desktop layout lives in animated-features.css
════════════════════════════════════════════════════════════ */

@media (max-width: 960px) {

    /* ── Hide desktop layout ── */
    .animated-features-wrap { display: none !important; }

    /* ── Section padding ── */
    .animated-features-bg { padding: 52px 0 0; }

    /* ── Show mobile wrapper ── */
    .af-mobile-wrap {
        display: block;
    }

    /* ── Native horizontal scroll track ── */
    .af-mobile-track {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 16px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 16px;
        padding-left: 16px;
        padding-bottom: 12px;
    }

    .af-mobile-track::-webkit-scrollbar { display: none; }

    /* ── Individual slide card ── */
    .af-mobile-slide {
        flex: 0 0 calc(100vw - 32px);
        scroll-snap-align: start;
        background: #fff;
        border-radius: 24px;
        padding: 28px 20px 24px;
        text-align: center;
        border: 1px solid rgba(0, 0, 0, 0.07);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* 16px trailing space after the last slide */
    .af-mobile-slide:last-child { margin-right: 16px; }

    /* ── Phone mockup inside each card ── */
    .af-mobile-phone {
        width: 150px;
        aspect-ratio: 9/19;
        border-radius: 22px;
        background: #000;
        border: 5px solid #222;
        overflow: hidden;
        margin-bottom: 24px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.20);
        flex-shrink: 0;
    }

    .af-mobile-phone img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    /* ── Card text ── */
    .af-mobile-slide h3 {
        font-size: 1.15rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 10px;
    }

    .af-mobile-slide p {
        font-size: 0.88rem;
        color: var(--text-mid);
        line-height: 1.55;
    }

    /* ── Page indicator dots ── */
    #af-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 20px 0 36px;
        min-height: 36px;
    }

    /* Override ss-dot colours for light background */
    #af-dots .ss-dot        { background: rgba(0, 0, 0, 0.18); }
    #af-dots .ss-dot.active { background: var(--primary); }

}
