  :root {
           --brand-red: #e30613;
          --industrial-red: oklch(55% 0.18 25);
          --tech-charcoal: oklch(25% 0.02 250);
        --platinum-light: oklch(95% 0.01 250);
        --secondary-dark: #2d2e32;
        --transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        --industrial-gray: #f4f4f7;
        --dark-gray: #2d2e32;
        --border-color: #eeeeee;
   
      
        }




        header {
            transition: background-color 0.4s ease,
                backdrop-filter 0.4s ease,
                box-shadow 0.4s ease,
                padding 0.4s ease;
            /* إذا كنت تغير البادينج */

            /* لمنع التعليق في كاشف المحرك */
            backface-visibility: hidden;
            transform: translateZ(0);
        }

        /* الكلاس الذي يضيفه الـ JS */
        .nav-scrolled {
            @apply bg-white/90 backdrop-blur-md shadow-md py-2;
            /* py-2 لتصغير الارتفاع بنعومة */
        }

        .site-logo {
            width: 160px;
            height: 48px;
            background-image: url("../img/logo-white.png");
            background-size: contain;
            background-repeat: no-repeat;
            background-position: center;
            transition: all .3s ease;
        }

        /* عند السكرول */
        header.nav-scrolled .site-logo {
            background-image: url("../img/logo-white.png");
            transform: scale(.9);
        }

        /* تغير لون القائمة */
        header {
            height: 96px;
            transition: height .35s ease, background-color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
            position: relative;

        }

        header .nav-inner {
            height: 100%;
            transition: padding .35s ease;
        }

        header img {
            height: 48px;
            transition: height .35s ease;
        }

        header a,
        header button {
            transition: color .25s ease, opacity .25s ease;
        }

        header.nav-scrolled {
            height: 74px;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-bottom-color: rgba(255, 255, 255, 0.08) !important;
            box-shadow: 0 14px 34px rgba(2, 6, 23, 0.22);
        }

        #scroll-progress {
            position: absolute;
            bottom: 0;
            right: 0;
            height: 2px;
            width: 0%;
            background: #dc2626;
            transition: width 0.1s linear;
        }

        /* تغير لون القائمة */

      



        /* تحسين البطاقات لتطفو فوق هذه الخلفية العصرية */
        .glass-panel {
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: blur(20px) saturate(180%);
            -webkit-backdrop-filter: blur(20px) saturate(180%);
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .glass-panel:hover {
            background: rgba(255, 255, 255, 0.9);
            box-shadow: 0 15px 50px -10px rgba(220, 38, 38, 0.15);
        }

        /* Mega Menu Animation */
        .mega-menu {
            opacity: 0;
            visibility: hidden;
            transform: translateY(30px) scale(0.95);
            transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
            top: 5.5rem
        }

        .mega-menu.nav-scrolled {
            top: 4.5rem
        }

        .group:hover .mega-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0) scale(1);

        }

        /* Search Overlay */
        #search-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        #search-overlay {
            opacity: 0;
            visibility: hidden;
        }

        /* Mobile Menu */
        #mobile-menu {
            transform: translateX(100%);
            transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        }

        #mobile-menu.open {
            transform: translateX(0);
        }

        .red-gradient-text {
            background: linear-gradient(to right, #e11d48, #991b1b);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .bg-red-premium {
            background: linear-gradient(135deg, #dc2626 0%, #7f1d1d 100%);
        }

        /* الفوتر الأسود الإبداعي */
        .footer-dark-gradient {
            background: linear-gradient(180deg, #0d0f12 0%, #000000 100%);
            position: relative;
        }

        .footer-dark-gradient::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, rgba(225, 29, 72, 0.3), transparent);
        }

        /* =========================================================
           تحديثات وتطويرات الخلفية والديسك والشرار (الإصدار الاحترافي)
           ========================================================= */
        #bg-disc-wrapper {
            position: fixed;
            inset: 0;
            z-index: -1;
            pointer-events: none;
            overflow: hidden;
            position: fixed;
            background: radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.05) 0%, #f8fafc 100%);
        }

        /* طبقة الهوية المائية (Watermark) */
        .brand-watermark {
            position: absolute;
            inset: -50%;
            /* تغطية مساحة أكبر للدوران */
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' opacity='0.03'%3E%3Ctext x='50%25' y='50%25' font-size='22' text-anchor='middle' fill='%23ffffff' font-family='sans-serif' font-weight='900' transform='rotate(-35 100 100)'%3EEAGLEFLEX%3C/text%3E%3C/svg%3E");
            background-repeat: repeat;
            background-size: 300px;
            z-index: 0;
            pointer-events: none;
        }

        #bg-disc,
        #disc-heat-glow {
            position: absolute;
            top: 15%;
            /* ننزل الديسك قليلاً ليناسب الهواتف */
            right: -120px;
            /* جزء بسيط يخرج من الشاشة */
            width: 350px;
            /* حجم أصغر وألطف للموبايل */
            height: 350px;
            position: absolute;
            force3D: true;
        }

        #bg-disc {
            background: url("https://www.nortonabrasives.com/sites/mac3-acs-norton/files/styles/636x636/public/assetbank_media/66253259935-000.png?itok=v0SExiXr") center/contain no-repeat;
            opacity: 0.6;
            /* تقليل الشفافية بخفف الحمل */
            filter: none;
            /* الغاء الظل المتحرك تماماً */
            will-change: transform;
            transform-origin: center center;
            z-index: 2;
            transform: translateZ(0);
            /* يشغل تسريع الجهاز GPU */
            backface-visibility: hidden;
            /* يمنع الارتجاج أثناء الدوران */
            will-change: transform;
            perspective: 1000px;
        }

        #disc-heat-glow {
            border-radius: 50%;
            background: radial-gradient(circle, rgba(255, 60, 0, 0.4) 0%, transparent 65%);
            filter: blur(30px);
            /* توهج متناسق مع الحجم الصغير */
            z-index: 1;
            opacity: 0;
            transition: opacity 0.2s ease-out;
            will-change: opacity;
        }

        .glass-overlay {
            position: fixed;
            inset: 0;
            backdrop-filter: blur(3px);
            background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.2), transparent);
            z-index: 0;
        }

        /* =========================================================
           2. إعدادات الشاشات المتوسطة والكبيرة (أجهزة الكمبيوتر واللابتوب)
           ========================================================= */
        @media (min-width: 768px) {

            #bg-disc,
            #disc-heat-glow {
                top: 15%;
                right: -180px;
                /* خروج أنيق من يمين الشاشة */
                width: 550px;
                /* حجم متوسط واحترافي (أصغر من السابق) */
                height: 550px;
            }

            #disc-heat-glow {
                filter: blur(50px);
            }


        }

        ::-webkit-scrollbar {
            width: 6px;
        }

        ::-webkit-scrollbar-track {
            background: #0a0a0b;
        }

        ::-webkit-scrollbar-thumb {
            background: #dc2626;
            border-radius: 10px;
        }



        body {
            margin: 0;
            padding: 0;
            min-height: 100vh;
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            font-family: 'Cairo', sans-serif;
            overflow-x: hidden;

        }
        .cat-img-size{
             width: 230px;
            height: 230px;
            object-fit: contain;
        }
        