/* ════════════════════════════════════════════════════════════════
   mobile-perf.css — Aegon Tools
   ────────────────────────────────────────────────────────────────
   Mobile/tablet par scroll jitter fix karta hai.

   Wajah: poore site par bade decorative blur layers hain
   (`filter: blur(40px…90px)` + `backdrop-filter`). Desktop GPU inhe
   aaram se handle karta hai, lekin mobile GPU par har scroll frame
   inka re-render hota hai → jank / jitter.

   Hal: sirf touch devices par in **decorative** glow layers ko disable
   karo (wo `pointer-events:none` + `z-index:0` background effects hain,
   is liye hatane se koi functionality ya content nahi tootta).
   ════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {

    /* ── 1. Poore page ka animated blur glow (sabse bhaari) ──
       body::before par blur(68-78px) + 18s infinite animation chalti hai.
       Mobile par ye har frame repaint karta hai — sabse bara jank source. */
    body::before {
        filter: none !important;
        -webkit-filter: none !important;
        animation: none !important;
        opacity: .55 !important;
        transform: none !important;
    }

    /* body::after bhi (agar ho) */
    body::after {
        filter: none !important;
        -webkit-filter: none !important;
        animation: none !important;
    }

    /* ── 2. Section-level ambient glow layers ── */
    .qs-ambient-glow,
    .qs-ambient,
    [class*="ambient-glow"],
    [class*="glow-orb"],
    [class*="bg-glow"],
    [class*="bg-orb"],
    [class*="blur-orb"],
    [class*="decor-glow"],
    [class*="gradient-orb"] {
        filter: none !important;
        -webkit-filter: none !important;
        animation: none !important;
    }

    /* ── 3. Bade decorative blurs (40px+) jo purely background hain ──
       Chhote blurs (cards, chips) ko chhoda gaya hai — wo saste hain. */
    .hero-glow,
    .hero-orb,
    .hero-blob,
    [class*="premium-glow"],
    [class*="premium-orb"] {
        filter: none !important;
        -webkit-filter: none !important;
        animation: none !important;
    }

    /* ── 4. backdrop-filter: mobile par GPU-heavy. Sticky headers aur
       cards ise use karte hain — inhe solid fallback do. ── */
    .site-header,
    .nav-header,
    .topbar,
    .header-shell {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* ── 5. Scroll ke waqt continuous animations band karo ──
       `will-change` mobile par memory pressure barhata hai. */
    [style*="will-change"],
    .will-change {
        will-change: auto !important;
    }
}

/* ── Extra: kamzor devices par aur aggressive ── */
@media (max-width: 1024px) and (hover: none) and (pointer: coarse) {

    /* Marquee / auto-scrolling decorative strips mobile par rOk do —
       ye lagatar layout calculate karti hain. */
    .tv2-marquee-track,
    [class*="marquee-track"] {
        animation-duration: 60s !important;
    }
}

/* ── Reduced motion: bilkul off ── */
@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after,
    .qs-ambient-glow,
    [class*="ambient-glow"],
    [class*="glow-orb"] {
        filter: none !important;
        -webkit-filter: none !important;
        animation: none !important;
    }
}
