    /* =========================================
   1. ROOT VARIABLES (BANKING LIGHT THEME)
   ========================================= */
:root {
    --bg-color: #f4f7fb;        /* خلفية الموقع الأساسية - لون بنكي مريح */
    --bg-alt: #ffffff;          /* خلفية بيضاء للأقسام المتبادلة */
    --accent-neon: #2563eb;     /* الأزرق الملكي الأساسي (Royal Blue) */
    --accent-hover: #1d4ed8;    /* أزرق داكن لتأثيرات الـ Hover */
    --glass-bg: rgba(255, 255, 255, 0.85); /* كروت بيضاء زجاجية */
    --glass-border: rgba(37, 99, 235, 0.15); /* حدود زرقاء خفيفة جداً */
    --text-main: #0f172a;       /* كحلي داكن للنصوص لراحة العين */
    --text-dim: #475569;        /* رمادي داكن للنصوص الفرعية */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none !important; /* الماوس المخصص */
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main); 
    line-height: 1.6;
}

  
html, body {
    width: 100%;
    overflow-x: hidden !important;
    position: relative; 
}

body.no-scroll {
    overflow: hidden;
    height: 100vh; 
}

 

/* --- تعديل لون كل العناوين للأزرق البنكي --- */
h1, h2, h3, h4, h5, h6, .hero-title {
    color: var(--accent-neon);
}

/* =========================================
   2. CUSTOM CURSOR
   ========================================= */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-neon);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor.hover {
    width: 50px;
    height: 50px;
    background-color: rgba(37, 99, 235, 0.1);
}

/* =========================================
   3. NAVBAR
   ========================================= */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999; /* 👈 عدلي الرقم ده لـ 9999 */
    background: rgba(244, 247, 251, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
}

/* --- ستايل الرابط النشط (Active Link) --- */
.nav-links a.active {
    color: var(--accent-neon) !important;
    position: relative;
}

/* إضافة خط صغير مضيء تحت الرابط النشط */
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-neon);
    box-shadow: 0 0 8px var(--accent-neon);
    border-radius: 10px;
}

/* =========================================
   NAVIGATION & HAMBURGER
   ========================================= */
.main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 9000;  transition: 0.3s; }
.premium-nav { display: flex; justify-content: space-between; align-items: center; margin: 0 auto; }

/* إخفاء لينكات الديسكتوب على الموبايل */
@media (max-width: 960px) { .desktop-only { display: none; } }

 .hamburger-btn {
    position: relative;
    display: none; 
    width: 45px; height: 45px; 
    background: rgba(37, 99, 235, 0.1); /* خلفية زرقاء خفيفة وهي مقفولة */
    border: 1px solid rgba(37, 99, 235, 0.2); 
    border-radius: 50%;
    cursor: pointer; 
    z-index: 9999 !important; /* نضمن إنها فوق الـ overlay دايماً */
    transition: all 0.3s ease;
}

@media (max-width: 960px) { .hamburger-btn { display: block; } }

.hamburger-btn .line { 
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 2px; 
    background: var(--text-main); /* لون أسود/كحلي وهي مقفولة */
    border-radius: 2px; 
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); 
}
 
.line-1 { top: 18px; width: 22px; }
.line-2 { top: 26px; width: 14px; }
.hamburger-btn:hover .line-2 { width: 20px; }

/* تأثير الـ Hover على الزرار */
.hamburger-btn:hover .line-2 { width: 20px; }

/* لما المنيو تفتح (الزرار بيتحول لعلامة X) */
.hamburger-btn.is-active { 
       background: #020617;
       border-color: rgba(255, 255, 255, 0.2);
}
.hamburger-btn.is-active .line { width: 22px; 
    background: #ffffff; 
    top: 21px;
}

.hamburger-btn.is-active .line-1 { 
    transform: translateX(-50%) rotate(45deg); 
}
.hamburger-btn.is-active .line-2 { 
    transform: translateX(-50%) rotate(-45deg); 
}

/* تأثير الهوفر */
.hamburger-btn:hover:not(.is-active) .line-2 {
    width: 22px;
}

/* =========================================
   FULLSCREEN MOBILE MENU (The Dashboard)
   ========================================= */
.mobile-menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 120vh;
    background: #020617; /* لون كحلي/أسود فخم */
    z-index: 1000; /* تحت الزرار وفوق الموقع */
    display: flex; align-items: center; justify-content: center;
    /* السحر هنا: بنخفي المنيو في دايرة صغيرة جداً فوق على اليمين */
    clip-path: circle(0px at calc(100% - 45px) 45px); 
    transition: clip-path 0.6s cubic-bezier(0.7, 0, 0.3, 1);
    visibility: hidden; /* عشان ميتغطاش على كليكات الموقع وهو مقفول */
}

/* التوهج الخلفي */
.menu-glow { position: absolute; top: -100px; left: -100px; width: 300px; height: 300px; background: var(--accent-neon); filter: blur(150px); opacity: 0.3; }

/* المحتوى */
.mobile-menu-content {gap: 60px; width: 100%; max-width: 400px; padding: 0 30px; display: flex; flex-direction: column; height: 100vh;}

/* اللينكات */
.mobile-links { display: flex; flex-direction: column; gap: 20px; margin-top: 50px; }
.m-link {
    display: flex; align-items: flex-end; gap: 15px; text-decoration: none;
    color: #f8fafc; font-size: 32px; font-weight: 900;
    transition: 0.3s; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.m-link:hover .m-text { color: var(--accent-neon); transform: translateX(10px); }
.m-num { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.3); margin-bottom: 5px; }
.m-text { transition: 0.3s; }

/* كارت الدعم (Widget) */
.menu-widget {
    display: flex; align-items: center; justify-content: space-between; gap: 15px;
    padding: 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;   
    margin-bottom: 153px;
    height: 91px;
}
.widget-icon { width: 45px; height: 45px; background: rgba(37, 99, 235, 0.2); color: var(--accent-neon); border-radius: 12px; display: flex; justify-content: center; align-items: center; font-size: 20px; }
.widget-info h4 { color: #ffffff; font-size: 16px; margin-bottom: 2px; }
.widget-info p { color: #94a3b8; font-size: 12px; }
.widget-btn { width: 40px; height: 40px; background: #ffffff; color: #020617; border-radius: 50%; display: flex; justify-content: center; align-items: center; text-decoration: none; transition: 0.3s; }
.widget-btn:hover { background: var(--accent-neon); color: #ffffff; }

/* =========================================
   NAV & LOGO STATE WHEN MOBILE MENU IS OPEN
   ========================================= */

/* 1. إخفاء خلفية الناف بار بالكامل */
nav.menu-open-mode {
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: transparent !important;
} 
nav.menu-open-mode .logo {
    color: #ffffff !important;
    transition: color 0.3s ease; 
}

/* 3. (اختياري) لو عايزة كلمة LANCE اللي جوه الـ span يكون ليها لون مختلف أو تفضل بيضا */
nav.menu-open-mode .logo span {
    color: var(--accent-neon) !important; /* أو ممكن تخليها #ffffff لو عايزاها كلها بيضا */
}

/* =========================================
   MOBILE MENU ACTIVE LINK HIGHLIGHT
   ========================================= */
/* تلوين النص الأساسي للينك المفتوح وتحريكه للأمام */
.m-link.active .m-text {
    color: var(--accent-neon) !important;
    transform: translateX(10px); 
}

/* تلوين الرقم (زي 01, 02) للينك المفتوح */
.m-link.active .m-num {
    color: var(--accent-neon) !important;
    opacity: 0.8;
}
 
/* =========================================
   3. NAVBAR LOGO - OPTION 1 (Digital Flow)
   ========================================= */
.logo {
    font-size: 26px; /* تكبير قليلاً */
    font-weight: 800;
    letter-spacing: -1px; /* تضييق المسافات بين الحروف لستايل مودرن */
    color: var(--text-main);
    text-transform: uppercase;
    position: relative;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

/* ستايل كلمة LANE بالتدرج اللوني */
.logo span {
    /* دمج الأزرق الملكي مع لون لبني فاتح لتأثير تقني */
    background: linear-gradient(135deg, var(--accent-neon) 0%, #7dd3fc 100%);
    -webkit-background-clip: text; /* قص الخلفية على شكل النص */
    -webkit-text-fill-color: transparent; /* جعل لون النص شفاف ليظهر التدرج */
    font-weight: 900;
    position: relative;
    padding-left: 2px;
}

/* الخط السفلي العصري تحت كلمة LANE */
.logo span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-neon), #7dd3fc);
    border-radius: 2px;
    transform: scaleX(0.3); /* يبدأ صغير جداً */
    transform-origin: left;
    transition: transform 0.4s ease; transform: scaleX(1);
}

.nav-links a { color: var(--text-dim); text-decoration: none; margin-left: 30px; font-size: 14px; font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: var(--accent-neon); }

.theme-btn {
    background: white;
    border: 1px solid var(--glass-border);
    color: var(--accent-neon);
    padding: 8px 15px;
    border-radius: 50px;
    margin-left: 20px;
    font-size: 16px;
    transition: 0.3s;
    cursor: none;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.05);
}
.theme-btn:hover { background: var(--accent-neon); color: white; }

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero-section {
    position: relative; height: 100vh; width: 100%; display: flex; justify-content: center; align-items: center; overflow: hidden;
    margin-top: 30px;
}
canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-content { position: relative; z-index: 10; text-align: center; pointer-events: none; }

.hero-title {
    font-family: 'Syncopate', sans-serif; font-size: clamp(40px, 8vw, 100px); text-transform: uppercase; letter-spacing: 5px; line-height: 1.1; margin-bottom: 20px; opacity: 0;
    /* إزالة توهج النيون واستبداله بظل ناعم للنص */
    text-shadow: 0 10px 20px rgba(37, 99, 235, 0.15);
}

.hero-desc { font-size: 18px; color: var(--text-dim); max-width: 600px; margin: 0 auto; opacity: 0; font-weight: 400; }

.magnetic-btn-wrapper { margin-top: 40px; pointer-events: auto; padding: 20px; }
.magnetic-btn {
    background: var(--accent-neon);
    border: none;
    color: #ffffff; padding: 20px 50px; font-size: 16px; font-weight: 600; border-radius: 50px; transition: 0.3s; position: relative; overflow: hidden; opacity: 0; cursor: none;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}
.magnetic-btn:hover { background: var(--accent-hover); box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4); transform: translateY(-3px); }

/* --- Floating Hero Widgets --- */
        .floating-widget {
            position: absolute;
            background: rgba(255, 255, 255, 0.9);
            border: 1px solid var(--glass-border);
            padding: 12px 20px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            gap: 15px;
            box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
            backdrop-filter: blur(10px);
            z-index: 5; /* تحت النص الأساسي بقليل */
            pointer-events: none; /* لمنع التداخل مع الماوس */
            opacity: 0; /* للأنيميشن المبدئي */
        }

        .widget-left { top: 25%; left: 15%; }
        .widget-right { bottom: 25%; right: 15%; }

        .widget-icon {
            width: 35px; height: 35px;
            border-radius: 50%;
            display: flex; justify-content: center; align-items: center;
            font-size: 14px;
        }

        .widget-text span { display: block; font-size: 11px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.5px;}
        .widget-text strong { display: block; font-size: 15px; color: var(--text-main); font-weight: 700;}

        @media(max-width: 900px) {
            .floating-widget { display: none; /* إخفائها في الموبايل لتجنب الزحام */ }
        }

/* =========================================
   5. GENERAL SECTIONS & CARDS
   ========================================= */
.premium-section, .team-section {
    padding: 110px 10%; position: relative; z-index: 10; text-align: center; border-top: 1px solid var(--glass-border);
}
.premium-section-pricing , .premium-section-contact {
    padding: 110px 10%; position: relative; z-index: 10; text-align: center; border-top: 1px solid var(--glass-border);
}
.premium-section-faq {
    position: relative; 
    z-index: 10; 
    text-align: center; 
    border-top: 1px solid var(--glass-border);
    margin-top: 80px; 
    margin-bottom: 80px;
}

.section-tag { color: var(--accent-neon); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 3px; display: block; margin-bottom: 10px; }
.section-desc { color: var(--text-dim); max-width: 600px; margin: 15px auto 50px; }

/* الكروت البنكية الفخمة (Shadows instead of glow) */
.glass-card {
    background: #ffffff; 
    border: 1px solid var(--glass-border); 
    padding: 40px; border-radius: 20px; 
    transition: 0.4s; position: relative;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05); /* ظل ناعم جداً */
}
.glass-card:hover { 
    border-color: var(--accent-neon); 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1); 
}
.glass-card i { font-size: 18px;   display: inline-block; margin-top: 6px;}
.glass-card h3 { margin-bottom: 15px; }
.glass-card p { color: var(--text-dim); font-size: 15px; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; }

/* --- تحديث تصميم الكروت الأساسي --- */
.glass-card {
    background: #ffffff; 
    border: 1px solid var(--glass-border); 
    padding: 40px; 
    border-radius: 20px; 
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease; 
    position: relative;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
    overflow: hidden; /* ضروري عشان الإضاءة ماتخرجش بره الكارت */
    text-align: left; /* المحاذاة لليسار تعطي طابعاً احترافياً في الكروت */
}

.glass-card:hover { 
    border-color: rgba(37, 99, 235, 0.3); /* أزرق واضح قليلاً */
    transform: translateY(-8px); 
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08); 
}

/* --- 1. تأثير الـ Spotlight متبع الماوس --- */
.spotlight-card::before {
    content: '';
    position: absolute;
    top: var(--mouse-y, 0);
    left: var(--mouse-x, 0);
    transform: translate(-50%, -50%);
    width: 350px; 
    height: 350px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    opacity: 0; 
    transition: opacity 0.4s ease; 
    pointer-events: none; /* عشان ما يأثرش على الكليك */
    z-index: 0;
}
.spotlight-card:hover::before { 
    opacity: 1; 
}

/* حماية المحتوى ليكون فوق إضاءة الماوس */
.spotlight-card > * {
    position: relative;
    z-index: 1;
}

/* --- 2. حاويات الأيقونات الفخمة --- */
.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.08); /* خلفية زرقاء شفافة جداً */
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.4s ease;
}

.glass-card:hover .icon-wrapper {
    background: var(--accent-neon); /* يتحول للأزرق الكامل عند الهوفر */
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.icon-wrapper i { 
    font-size: 28px; 
    color: var(--accent-neon); 
    margin-bottom: 0; /* مسح المارجن القديم */
    transition: color 0.4s ease;
}

.glass-card:hover .icon-wrapper i {
    color: #ffffff; /* الأيقونة تتحول للأبيض */
}

.glass-card h3 { 
    margin-bottom: 15px; 
    font-size: 20px;
    font-weight: 700;
}

.glass-card p { 
    color: var(--text-dim); 
    font-size: 15px; 
    line-height: 1.7;
}

/* =========================================
   6. WORKFLOW SECTION
   ========================================= */

/* --- تصميم كروت المحتوى في التايم لاين --- */
.workflow-step .step-content { 
    width: 100%; text-align: left; 
    padding: 35px 40px;
    border-top: 4px solid transparent; /* مساحة لخط الهوفر */
    transition: all 0.4s ease;
}
.workflow-step.reverse .step-content { text-align: right; }

/* تأثير الهوفر الاحترافي للكارت (رفع لأعلى + خط أزرق من فوق) */
.workflow-step:hover .step-content {
    border-top-color: var(--accent-neon);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
}

/* تنسيق عنوان الخطوة (إضافة شرطة ديكور صغيرة جنبه) */
.step-content h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}
/* الشرطة الديكورية */
.step-content h3::before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 4px;
    background: var(--accent-neon);
    border-radius: 5px;
    transition: width 0.3s ease;
}
/* عشان الشرطة تيجي من اليمين في الكروت المعكوسة */
.workflow-step.reverse .step-content h3 {
    flex-direction: row-reverse;
}

/* حركة بسيطة للشرطة عند الهوفر */
.workflow-step:hover .step-content h3::before {
    width: 40px;
}

/* تنسيق النص الداخلي */
.step-content p {
    font-size: 15px;
    color: var(--text-dim);
    line-height: 1.8;
}

/* =========================================
   MODERN SECTION HEADERS
   ========================================= */

.section-header {
    text-align: center;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1. تصميم التاج (الكبسولة) العصري */
.modern-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.08); /* أزرق شفاف جداً */
    border: 1px solid rgba(37, 99, 235, 0.15); /* إطار ناعم */
    color: var(--accent-neon);
    padding: 6px 16px;
    border-radius: 50px; /* شكل الكبسولة */
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.05);
    margin-top: 10px;
    width: fit-content;
}

/* النقطة النابضة داخل التاج */
.pulse-indicator {
    width: 6px;
    height: 6px;
    background-color: var(--accent-neon);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-neon);
    animation: pulseDot 2s infinite alternate;
}

@keyframes pulseDot {
    0% { transform: scale(0.8); opacity: 0.5; box-shadow: 0 0 0 var(--accent-neon); }
    100% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 10px var(--accent-neon); }
}

/* 2. تصميم العنوان وتدرج الألوان (Gradient Text) */
.modern-title {
    font-size: clamp(32px, 5vw, 42px); /* حجم متجاوب مع الشاشات */
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.2;
}

.text-highlight {
    /* دمج الأزرق الملكي مع البنفسجي لإعطاء طابع تكنولوجي فخم */
    background: linear-gradient(135deg, var(--accent-neon) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* 3. تنسيق النص الفرعي */
.modern-desc {
    color: var(--text-dim);
    max-width: 600px;
    font-size: 16px;
    line-height: 1.8;
    margin: 0;
}
.workflow-section { background-color: var(--bg-alt); }
.workflow-container { position: relative; max-width: 800px; margin: 0 auto; padding: 40px 0; }
.glow-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: rgba(37, 99, 235, 0.1); transform: translateX(-50%); z-index: 0; }
.glow-line-progress { position: absolute; top: 0; left: 50%; width: 3px; background: var(--accent-neon); transform: translateX(-50%); z-index: 1; height: 0; box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);}
.workflow-step { display: flex; justify-content: flex-end; align-items: center; width: 50%; padding-right: 50px; position: relative; margin-bottom: 50px; z-index: 2; }
.workflow-step.reverse { align-self: flex-end; justify-content: flex-start; padding-left: 50px; padding-right: 0; margin-left: 50%; }
.step-dot { 
    position: absolute; right: -25px; 
    width: 50px; height: 50px; 
    background: #ffffff; 
    /* إعطاء مسافة بيضاء حول النقطة لفصلها عن الخط */
    border: 4px solid var(--bg-alt); 
    /* الحلقة الزرقاء والظل */
    box-shadow: 0 0 0 2px var(--accent-neon), 0 5px 15px rgba(37, 99, 235, 0.15);
    border-radius: 50%; 
    display: flex; justify-content: center; align-items: center; 
    font-weight: 800; font-size: 18px; color: var(--accent-neon); 
    z-index: 3; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* حركة مرنة (Bouncy) */
}
.workflow-step.reverse .step-dot { right: auto; left: -25px; }
.step-content { width: 100%; text-align: left; }
.workflow-step.reverse .step-content { text-align: right; }
/* أنيميشن النقطة عند وقوف الماوس على الكارت كله */
.workflow-step:hover .step-dot {
    background: var(--accent-neon);
    color: #ffffff;
    /* توهج أزرق مزدوج يدي شكل مستقبلي */
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2), 0 10px 25px rgba(37, 99, 235, 0.4);
    transform: scale(1.15);
}

/* =========================================
   RESPONSIVE WORKFLOW (MOBILE FIX)
   ========================================= */
@media (max-width: 768px) {
    /* 1. نقل الخط المضيء الأساسي وخط التقدم لليسار */
    .glow-line, 
    .glow-line-progress {
        left: 30px;
    }

    /* 2. إلغاء تقسيم الـ 50%، وجعل الكروت تأخذ الشاشة كلها */
    .workflow-step, 
    .workflow-step.reverse {
        width: 100%;
        margin-left: 0;
        padding-left: 80px; /* مسافة عشان الخط والنقطة مابغطوش على الكلام */
        padding-right: 15px;
        justify-content: flex-start;
    }

    /* 3. توحيد محاذاة النصوص لليسار (بدل يمين وشمال) */
    .step-content, 
    .workflow-step.reverse .step-content {
        text-align: left;
    }

    /* 4. نقل الأرقام (الدوائر) لليسار وتثبيتها فوق الخط */
    .step-dot, 
    .workflow-step.reverse .step-dot {
        left: 5px; /* (30px لمكان الخط - 25px نص حجم الدائرة = 5px) لتوسيط دقيق */
        right: auto;
    }
.mockup-title {
    font-size: 9px !important;
}
   
}

/* للموبايلات الصغيرة جداً (تحسين إضافي) */
@media (max-width: 480px) {
    .glow-line, .glow-line-progress { left: 33px; }
    .workflow-step, .workflow-step.reverse { padding-left: 60px; padding-right: 10px; }
    .step-dot, .workflow-step.reverse .step-dot { 
        left: 13px; 
        width: 40px; 
        height: 40px; 
        font-size: 16px; 
    }
    .step-content{
        margin: 0 6px;
    }

     .tech{top: -5% !important; }
    .tern{bottom: -7% !important;}
    .agency{top: 19% !important;}
    .compliance{    top: 4% !important;  right : -7% !important; }

    .premium-section-pricing {
      padding: 110px 5%; 
    } 

    .custom-cursor{display: none;}


}
/* =========================================
   7. INTERACTIVE SHOWCASE SECTION
   ========================================= */
.showcase-container { display: flex; gap: 50px; max-width: 1200px; margin: 50px auto 0; text-align: left; align-items: flex-start; }
.showcase-tabs { flex: 1; display: flex; flex-direction: column; gap: 15px; }
.showcase-tab { background: #ffffff; border: 1px solid var(--glass-border); border-radius: 15px; padding: 20px 25px; cursor: pointer; transition: all 0.4s ease; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.02);}
.tab-header { display: flex; align-items: center; gap: 15px; }
.tab-icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(37, 99, 235, 0.08); color: var(--accent-neon); display: flex; justify-content: center; align-items: center; font-size: 18px; }
.showcase-tab h3 { flex: 1; font-size: 18px; font-weight: 700; margin: 0; }
.toggle-icon { color: var(--text-dim); transition: 0.4s; }
.tab-content { max-height: 0; opacity: 0; transition: all 0.4s ease; padding-left: 55px; }
.tab-content p { color: var(--text-dim); font-size: 14px; margin: 15px 0; }
.showcase-tab.active { background: #f8fafc; border-color: var(--accent-neon); box-shadow: 0 10px 25px rgba(37, 99, 235, 0.1); }
.showcase-tab.active .toggle-icon { transform: rotate(180deg); color: var(--accent-neon); }
.showcase-tab.active .tab-content { max-height: 200px; opacity: 1; }

.showcase-visuals { flex: 1; position: relative; min-height: 450px; display: flex; justify-content: center; align-items: center; background-color: var(--bg-alt); background-image: linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px); background-size: 30px 30px; border-radius: 20px; border: 1px solid var(--glass-border); }
.visual-pane { 
    position: absolute; 
    /* التوسيط المثالي للمركز (عشان مايطلعش بره من أي اتجاه) */
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    
    /* تقييد العرض والطول */
    width: 85%; 
    max-width: 450px; /* أقصى عرض مسموح به عشان يفضل شكله أنيق */
    max-height: 90%;  /* حماية من الخروج من الأعلى أو الأسفل */
    
    opacity: 0; 
    visibility: hidden; 
    pointer-events: none; 
}

.visual-pane.active { 
    opacity: 1; 
    visibility: visible; 
    pointer-events: auto; 
}

/* الكارت الزجاجي الداخلي */
.glass-widget { 
    background: #ffffff; 
    border: 1px solid var(--glass-border); 
    border-radius: 15px; 
    padding: 25px; 
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08); 
    
    /* إجبار الكارت على الالتزام بحجم الـ visual-pane */
    width: 100%; 
    box-sizing: border-box; 
    display: flex;
    flex-direction: column;
}/* =========================================
   RESPONSIVE SHOWCASE TABS (MOBILE FIX)
   ========================================= */
@media (max-width: 960px) {
    /* 1. تحويل الحاوية الأساسية لتنسيق عمودي */
    .showcase-container {
        flex-direction: column-reverse;
        align-items: center; /* توسيط كل حاجة */
        gap: 30px;
        margin-top: 30px;
    }

    /* 2. التابات تاخد العرض بالكامل */
    .showcase-tabs {
        width: 100%;
        max-width: 600px; /* عشان ماتبقاش مطوطة أوي في التابلت */
        order: 2; /* نخلي التابات تحت الشاشة التفاعلية (أفضل في تجربة المستخدم) */
    }

    /* 3. حاوية العرض المرئي (الشاشة الزجاجية) */
    .showcase-visuals {
        width: 100%;
        max-width: 600px;
        min-height: 400px; /* تقليل الارتفاع شوية للموبايل */
        order: 1; /* نخلي الشاشة فوق التابات */
    }

    /* 4. الكروت الزجاجية الداخلية */
    .glass-widget {
        padding: 15px; /* تقليل الحواف عشان الشاشات الضيقة */
    }
    
    /* 5. تصغير الخطوط في كارت الـ Payroll */
    .widget-header h2 { font-size: 24px; }
    .widget-header h4 { font-size: 14px; }
    
    /* 6. تصغير الخطوط في كارت الـ Invoices */
    .invoice-item img { width: 30px; height: 30px; }
    .invoice-item h5 { font-size: 13px; }
    .invoice-item p { font-size: 11px; }
    .invoice-item strong { font-size: 14px; }
    .ticker-grid{
        flex-direction: column;
        gap: 5px;
    }
    .ticker-item{
        border-bottom: 1px solid var(--glass-border);
        padding-bottom: 16px;
    }
}

@media (max-width: 480px) {
    /* تظبيطات إضافية للشاشات الصغيرة جداً (الموبايل) */
    .showcase-visuals {
        min-height: 382px;
    } 
    
    .tab-header { gap: 10px; }
    .tab-icon { width: 35px; height: 35px; font-size: 16px; }
    .showcase-tab h3 { font-size: 16px; }
    
    /* تعديل كارت الدول (Compliance) للموبايل */
    .country-item { padding: 8px; font-size: 13px; }
}

/* =========================================
   إصلاح قائمة الفواتير (Scrollable List)
   ========================================= */
.invoice-list {
    overflow-y: auto; /* تفعيل السكرول العمودي عند الحاجة */
    max-height: 240px; /* أقصى طول للقائمة (يستوعب حوالي 3 فواتير قبل ما يعمل سكرول) */
    padding-right: 5px; /* مسافة بسيطة عشان شريط السكرول مايغطيش المحتوى */
}

/* تجميل شكل الـ Scrollbar ليليق بتصميم البنوك (FinTech) */
.invoice-list::-webkit-scrollbar {
    width: 4px; /* رفيع جداً ومودرن */
}

.invoice-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02); 
    border-radius: 10px;
}

.invoice-list::-webkit-scrollbar-thumb {
    background: rgba(37, 99, 235, 0.2); /* أزرق شفاف */
    border-radius: 10px;
}

.invoice-list::-webkit-scrollbar-thumb:hover {
    background: var(--accent-neon); /* يغمق لما الماوس يروح عليه */
}
/* Widgets Styling */
.widget-header { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--glass-border); }
.avatar-large { width: 60px; height: 60px; border-radius: 15px; }
.badge { background: rgba(37, 99, 235, 0.1); color: var(--accent-neon); padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: bold; }
.header-info h4 { font-size: 12px; color: var(--text-dim); margin: 5px 0; text-transform: uppercase; }
.header-info h2 { font-size: 24px; color: var(--text-main); }
.timeline-item { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; color: var(--text-dim); font-size: 14px;}
.timeline-item.active-step { background: rgba(37, 99, 235, 0.05); padding: 10px; border-radius: 10px; border: 1px dashed var(--accent-neon); color: var(--text-main); margin-left: -10px; margin-right: -10px;}

.country-list { display: flex; flex-direction: column; gap: 15px; }
.country-item { display: flex; align-items: center; gap: 10px; font-weight: 600;}
.text-green { color: #16a34a; margin-left: auto;}
.shield-pulse { display: flex; gap: 15px; align-items: center; margin-bottom: 20px; }
.shield-pulse i { font-size: 30px; color: var(--accent-neon); margin-top: -8px;}

.widget-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.avatar-group { display: flex; }
.avatar-group img, .avatar-more { width: 35px; height: 35px; border-radius: 50%; border: 2px solid #ffffff; margin-left: -10px; }
.avatar-more { background: var(--accent-neon); color: #ffffff; display: flex; justify-content: center; align-items: center; font-size: 12px; font-weight: bold; z-index: 5; }
.invoice-item { display: flex; align-items: center; gap: 15px; padding: 15px; border-radius: 10px; background: var(--bg-color); margin-bottom: 10px; border: 1px solid var(--glass-border); }
.showcase-tab { 
    background: #ffffff; 
    border: 1px solid var(--glass-border); 
    /* إعطاء مساحة لخط التحديد الجانبي */
    border-left: 4px solid transparent; 
    border-radius: 15px; 
    padding: 20px 25px; 
    cursor: pointer; 
    transition: all 0.4s ease; 
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.showcase-tab:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateX(5px); /* حركة خفيفة لليمين عند الهوفر */
}

/* تصميم التاب النشط (Active) ليكون مميزاً جداً */
.showcase-tab.active { 
    background: #f8fafc; 
    border-color: var(--glass-border);
    border-left-color: var(--accent-neon); /* خط أزرق ملكي على اليسار */
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.08); 
}

/* لمسة جمالية لأيقونات التاب النشط */
.showcase-tab.active .tab-icon {
    background: var(--accent-neon);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}
/* =========================================
   8. ROI & ANATOMY & VAULT
   ========================================= */
.roi-container {
    max-width: 950px;
    margin: 0 auto;
    padding: 50px;
    text-align: left;
    border-top: 4px solid var(--accent-neon); /* خط علوي سميك يعطي فخامة */
}

/* --- تصميم السلايدر (Slider) --- */
.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}
.slider-header label {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
}
.emp-badge {
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent-neon);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 18px;
    border: 1px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.1);
}

/* السلايدر نفسه */
input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: #e2e8f0; /* هيتم تلوينه بالجافاسكريبت */
    border-radius: 10px;
    outline: none;
    margin: 10px 0;
    position: relative;
    transition: background 0.1s;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid var(--accent-neon);
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.5);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 50px;
}

/* --- تصميم كروت النتائج (Data Cards) --- */
.roi-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.roi-data-card {
    background: #f8fafc;
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.roi-data-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.3);
}

.roi-icon-box {
    width: 55px;
    height: 55px;
    background: #ffffff;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--accent-neon);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.1);
}

.roi-info p {
    font-size: 13px;
    color: var(--text-dim);
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roi-info h3 {
    font-size: 32px; /* تكبير الرقم */
    margin: 5px 0 0;
    color: var(--text-main);
    font-weight: 800;
}
.roi-info h3 span { font-size: 18px; color: var(--text-dim); }

/* --- تأثير اللمعة لكارت توفير الفلوس (Magic Touch) --- */
.highlight-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(37, 99, 235, 0.12) 100%);
    border-color: rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.highlight-card .roi-info h3 {
    color: var(--accent-neon);
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.8), transparent);
    transform: skewX(-25deg);
    animation: shineCard 3s infinite;
}

@keyframes shineCard {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; } /* انتظار قبل إعادة اللمعة */
}

/* استجابة الموبايل */
@media(max-width: 900px) {
    .roi-results-grid { grid-template-columns: 1fr; }
    /* .premium-section, .team-section {
        padding: 50px 3%;
    } */
    .roi-data-card {
      padding: 7px;
    }
}

/* =========================================
   THE COMPLIANCE VAULT (OUT OF THE BOX UI)
   ========================================= */
.vault-section { 
    position: relative;
    background-color: #ffffff; /* لون أبيض نقي يعطي إحساس بالنظافة والأمان */
    overflow: hidden; 
}

/* شبكة أمنية باهتة في الخلفية تتمركز حول الدرع */
.vault-grid-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at center, rgba(37, 99, 235, 0.05) 0%, transparent 60%),
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 30px 30px, 30px 30px;
    z-index: 0;
}

.vault-content {
    position: relative;
    z-index: 10;
}

/* --- تصميم الرادار والدرع --- */
.vault-core-wrapper {
    position: relative;
    max-width: 800px;
    height: 400px;
    margin: 50px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.shield-container { 
    position: relative; 
    width: 200px; 
    height: 200px; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.1);
}

/* تغليف الأيقونة لإعطائها تدرج لوني */
.shield-icon-wrapper {
    background: linear-gradient(135deg, var(--accent-neon) 0%, #8b5cf6 100%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.1), 0 10px 20px rgba(37, 99, 235, 0.3);
}

.vault-icon { 
    font-size: 45px; 
    color: #ffffff; 
}

/* --- حلقات الرادار المزدوجة والمتقطعة --- */
.ring { 
    position: absolute; 
    border-radius: 50%; 
    top: 50%; left: 50%; 
    transform: translate(-50%, -50%); 
}
.ring-1 { 
    width: 120%; height: 120%; 
    border: 2px solid rgba(37, 99, 235, 0.2); 
    border-top-color: var(--accent-neon); 
    animation: spinRadar 4s linear infinite; 
}
.ring-2 { 
    width: 160%; height: 160%; 
    border: 2px dashed rgba(139, 92, 246, 0.3); /* بنفسجي متقطع */
    animation: spinRadar 8s linear infinite reverse; 
}
.ring-3 { 
    width: 210%; height: 210%; 
    border: 1px solid rgba(37, 99, 235, 0.1); 
    background: radial-gradient(circle, rgba(37,99,235,0.03) 0%, transparent 70%);
}

@keyframes spinRadar { 100% { transform: translate(-50%, -50%) rotate(360deg); } }

/* --- ليزر الفحص (Scanner Laser) --- */
.scanner-laser {
    position: absolute;
    width: 80%;
    height: 2px;
    background: var(--accent-neon);
    box-shadow: 0 0 15px var(--accent-neon);
    left: 10%;
    z-index: 10;
    animation: scanMove 3s ease-in-out infinite alternate;
}

@keyframes scanMove {
    0% { top: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 90%; opacity: 0; }
}

/* --- شارات الأمان العائمة (Floating Security Badges) --- */
.security-badge-index {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
    animation: floatBadge 4s ease-in-out infinite;
}

.security-badge-index i {
    font-size: 24px;
    color: var(--accent-neon);
    background: rgba(37, 99, 235, 0.1);
    width: 45px; height: 45px;
    display: flex; justify-content: center; align-items: center;
    border-radius: 10px;
}

.security-badge-index div { display: flex; flex-direction: column; text-align: left; }
.security-badge-index strong { color: var(--text-main); font-size: 15px; font-weight: 800; }
.security-badge-index span { color: var(--text-dim); font-size: 12px; font-weight: 600; text-transform: uppercase;}

/* توزيع أماكن الكروت حوالين الدرع */
.badge-1 { top: 15%; left: 0; animation-delay: 0s; }
.badge-2 { top: 15%; right: 0; animation-delay: 1s; }
.badge-3 { bottom: 10%; left: 50%; transform: translateX(-50%); animation-delay: 2s; }

/* حركة الطفو (Floating Animation) */
@keyframes floatBadge {
    0%, 100% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-10px) translateX(5px); }
}

/* استجابة الموبايل */
@media(max-width: 768px) {
    .vault-core-wrapper { height: auto; flex-direction: column; gap: 40px; padding-top: 70px;}
    .security-badge-index {    animation: floatBadge 4s ease-in-out infinite; width: 100%; max-width: 200px;}
    .badge-3 { bottom: auto; }
    .shield-container {
        margin-bottom: 100px;
    }
    .badge-2 {
    top: -13%;}
    .badge-1 {
    top: 5%;}
    .badge-3 {
    top: 69%;}
}

/* =========================================
   THE DUAL-LAYER AUDIT (SYNERGY UI)
   ========================================= */
.audit-synergy-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1100px;
    margin: 50px auto 0;
    gap: 10px; /* مسافة بسيطة لأن خطوط البيانات هتوصل بينهم */
    position: relative;
    z-index: 10;
}

/* --- تصميم الكروت (Tech vs Human) --- */
.audit-card {
    flex: 1;
    min-width: 320px;
    padding: 40px;
    border-radius: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* تفاصيل الجانب التكنولوجي (أزرق) */
.tech-side:hover { border-color: rgba(37, 99, 235, 0.4); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08); }
.tech-icon { background: rgba(37, 99, 235, 0.08); color: var(--accent-neon); border-color: rgba(37, 99, 235, 0.15); }
.tech-side:hover .tech-icon { background: var(--accent-neon); color: #fff; box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); }

/* تفاصيل الجانب البشري (ذهبي/كهرماني - فخامة وخبرة) */
.human-side:hover { border-color: rgba(217, 119, 6, 0.4); box-shadow: 0 20px 40px rgba(217, 119, 6, 0.08); }
.human-icon { background: rgba(217, 119, 6, 0.08); color: #d97706; border-color: rgba(217, 119, 6, 0.15); }
.human-side:hover .human-icon { background: #d97706; color: #fff; box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3); }

/* مواصفات الكارت الداخلية (Specs Tags) */
.audit-specs {
    margin-top: auto; /* لدفع التاجز للأسفل */
    padding-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.audit-specs span {
    background: var(--bg-color);
    border: 1px solid var(--glass-border);
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
}
.tech-side .audit-specs span i { color: var(--accent-neon); }
.human-side .audit-specs span i { color: #d97706; }

/* --- مركز الاندماج (The Synergy Core) --- */
.synergy-core {
    display: flex;
    align-items: center;
    position: relative;
    width: 250px; /* مساحة المركز */
    flex-shrink: 0;
}

/* تيار البيانات (Animated Data Streams) */
.data-stream {
    height: 3px;
    flex: 1;
    background: rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}
.data-stream::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, var(--accent-neon), transparent);
    animation: dataFlow 1.5s infinite linear;
}
.stream-right::after {
    background: linear-gradient(90deg, transparent, #d97706, transparent); /* تيار ذهبي للجانب البشري */
}

@keyframes dataFlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* القلب النابض (Core Center) */
.core-center {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 5;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.core-center i {
    font-size: 22px;
    /* تدرج لوني يدمج الأزرق مع الذهبي */
    background: linear-gradient(135deg, var(--accent-neon) 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slowPulse 3s infinite ease-in-out;
}

@keyframes slowPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* الحلقات المتسعة (Ripples) */
.core-rings span {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.2);
    animation: rippleExpand 3s infinite cubic-bezier(0.1, 0.8, 0.3, 1);
}
.core-rings span:nth-child(1) { width: 100%; height: 100%; animation-delay: 0s; }
.core-rings span:nth-child(2) { width: 100%; height: 100%; border-color: rgba(217, 119, 6, 0.2); animation-delay: 1s; }
.core-rings span:nth-child(3) { width: 100%; height: 100%; animation-delay: 2s; }

@keyframes rippleExpand {
    0% { width: 60px; height: 60px; opacity: 1; }
    100% { width: 180px; height: 180px; opacity: 0; }
}

/* شارة النتيجة أسفل المركز */
.synergy-outcome {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid var(--glass-border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}
.synergy-outcome strong {
    color: #16a34a; /* لون أخضر يدل على النجاح */
    font-size: 15px;
    font-weight: 800;
    margin-right: 5px;
}

/* --- استجابة الموبايل للمركز التفاعلي --- */
@media(max-width: 900px) {
    .audit-synergy-wrapper { flex-direction: column; gap: 30px; }
    .synergy-core { transform: rotate(90deg); margin: 20px 0; }
    .synergy-outcome { transform: translateX(-50%) rotate(-90deg); bottom: auto; left: 175px; }
}

/* =========================================
   9. BACKGROUND DECORATIONS (LIGHT)
   ========================================= */
.bg-blob { position: absolute; filter: blur(100px); z-index: 0; border-radius: 50%; pointer-events: none; animation: floatBlob 15s infinite alternate ease-in-out; }
.blob-cyan { background: #3b82f6; width: 400px; height: 400px; opacity: 0.08; } /* أزرق فاتح مبهج */
.blob-purple { background: #8b5cf6; width: 500px; height: 500px; opacity: 0.08; } /* بنفسجي ناعم */
@keyframes floatBlob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(50px, -50px) scale(1.1); } 100% { transform: translate(-30px, 50px) scale(0.9); } }

.bg-grid { 
    background-size: 40px 40px; 
    background-color: #ffffff;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-attachment: fixed; /* يثبت الخلفية عند التمرير */
} 
.bg-dots { 
    background-image: radial-gradient(rgba(0, 0, 0, 0.02) 2px, transparent 2px); 
    background-size: 30px 30px; 
}

/* =========================================
   10. PREMIUM FOOTER SECTION
   ========================================= */
.premium-footer {
    background-color: #ffffff; /* لون أبيض نقي يفصل عن الأقسام السابقة */
    border-top: 1px solid var(--glass-border);
    padding: 80px 10% 30px; /* مساحات واسعة تريح العين */
    color: var(--text-dim);
    position: relative;
    z-index: 10;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* تقسيم المساحات بذكاء */
    gap: 60px;
    margin-bottom: 60px;
}

/* --- تنسيق اللوجو داخل الفوتر (ستايل التدرج الرقمي) --- */
.footer-logo {
    font-size: 28px;
    margin-bottom: 20px;
    display: inline-flex;
}
.footer-logo span {
    background: linear-gradient(135deg, var(--accent-neon) 0%, #7dd3fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}
.footer-logo span::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent-neon), #7dd3fc);
    border-radius: 2px;
}

/* --- تنسيق نصوص عمود البراند --- */
.brand-col p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 320px;
}

/* أيقونات السوشيال ميديا */
.social-icons {
    display: flex;
    gap: 15px;
}
.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.06);
    color: var(--accent-neon);
    transition: all 0.3s ease;
    text-decoration: none;
}
.social-icons a:hover {
    background: var(--accent-neon);
    color: #ffffff;
    transform: translateY(-4px); /* حركة خفيفة للأعلى */
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

/* --- تنسيق الأعمدة (الروابط والتواصل) --- */
.footer-col h4 {
    color: var(--text-main);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.footer-col a, .contact-col p {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    text-decoration: none;
    margin-bottom: 16px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* أيقونات التواصل الملونة */
.contact-col i {
    color: var(--accent-neon);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* حركة الروابط عند الهوفر (سحب لليمين قليلاً) */
.links-col a:hover, .contact-col a:hover {
    color: var(--accent-neon);
    transform: translateX(6px);
}

/* --- الجزء السفلي (حقوق النشر) --- */
.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}
.footer-bottom-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: 0.3s;
}
.footer-bottom-links a:hover {
    color: var(--accent-neon);
}

/* --- استجابة الموبايل والشاشات الصغيرة --- */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr; /* تحويل الأعمدة لصف واحد فوق بعض */
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/*********************************pricing****************************/

/* =========================================
   PRICING PAGE STYLES
   ========================================= */
.pricing-section { background-color: var(--bg-color); }

/* --- تصميم زر التبديل (Toggle) --- */
.pricing-toggle-wrapper {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; margin-bottom: 50px; font-weight: 700; color: var(--text-main);
}
.save-badge {
    background: #16a34a; color: #fff; padding: 2px 8px;
    border-radius: 50px; font-size: 11px; margin-left: 5px;
}

.switch { position: relative; display: inline-block; width: 60px; height: 30px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
    position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1; transition: .4s; border-radius: 34px;
}
.slider:before {
    position: absolute; content: ""; height: 22px; width: 22px; left: 4px; bottom: 4px;
    background-color: white; transition: .4s; border-radius: 50%;
}
input:checked + .slider { background-color: var(--accent-neon); }
input:checked + .slider:before { transform: translateX(30px); }

/* --- تصميم كروت الأسعار --- */
.pricing-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px; max-width: 1200px; margin: 0 auto;
}

.pricing-card {
    text-align: left; padding: 50px 40px; display: flex; flex-direction: column;
}

/* الخطة المميزة (Featured) */
.featured-plan {
    border: 2px solid var(--accent-neon);
    transform: scale(1.05); /* تكبير بسيط لتمييزها */
    background: #ffffff;
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.1);
}

.popular-tag {
    position: absolute; top: 20px; right: 20px;
    background: var(--accent-neon); color: #fff;
    padding: 5px 15px; border-radius: 50px; font-size: 11px; font-weight: 800;
}

.plan-type { font-size: 18px; font-weight: 800; margin-bottom: 10px; color: var(--text-dim); }
.plan-price { font-size: 48px; font-weight: 900; color: var(--text-main); margin-bottom: 20px; }
.plan-price small { font-size: 16px; color: var(--text-dim); font-weight: 500; }

.plan-features { list-style: none; padding: 0; margin: 30px 0; flex-grow: 1; }
.plan-features li { margin-bottom: 15px; font-size: 15px; display: flex; align-items: center; gap: 12px; }
.plan-features li i { color: #16a34a; font-size: 14px; }

/* أزرار الأسعار */
.pricing-btn {
    width: 100%; padding: 15px; border-radius: 12px; border: 1px solid var(--glass-border);
    background: #ffffff; color: var(--accent-neon); font-weight: 800; transition: 0.3s;
}
.pricing-btn.featured {
    background: var(--accent-neon); color: #fff; border: none;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}
.pricing-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); background-color: var(--accent-hover); color: #fff; }

/* =========================================
   COMPARISON TABLE STYLES
   ========================================= */
.comparison-section { padding-top: 100px; }

.table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto; /* مهم جداً عشان الجدول مايبوظش على الموبايل */
    padding: 0; /* مسح البادينج عشان الجدول ياخد المساحة كلها */
}

.feature-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.feature-table th, .feature-table td {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-dim);
    font-size: 15px;
}

/* تنسيق العمود الأول (أسماء المميزات) */
.feature-table th:first-child, .feature-table td:first-child {
    text-align: left;
    font-weight: 700;
    color: var(--text-main);
    width: 40%;
}

.feature-table th {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main);
    background: rgba(248, 250, 252, 0.5); /* خلفية خفيفة للهيدر */
}

/* تمييز خطة Professional في الجدول */
.highlight-col {
    background: rgba(37, 99, 235, 0.03);
    border-left: 1px solid var(--glass-border);
    border-right: 1px solid var(--glass-border);
}
.feature-table th.highlight-col {
    color: var(--accent-neon);
    border-top: 3px solid var(--accent-neon);
}

.text-green { color: #16a34a; font-size: 18px; }
.text-dim { color: #cbd5e1; font-size: 14px; }

/* =========================================
   RESPONSIVE TABLE (Vertical Cards Flip)
   ========================================= */
@media (max-width: 768px) {
    /* مسح السكرول الأفقي لأننا مش محتاجينه خلاص */
    .table-wrapper {
        overflow-x: hidden;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    /* إخفاء الهيدر الأساسي في الموبايل */
    .feature-table thead {
        display: none;
    }

    /* تحويل الجدول لـ بلوكات (كروت) */
    .feature-table, 
    .feature-table tbody, 
    .feature-table tr, 
    .feature-table td {
        display: block;
        width: 100%;
        min-width: 100%;
    }

    /* تصميم الكارت (كل صف بيتحول لكارت) */
    .feature-table tr {
        margin-bottom: 25px;
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid var(--glass-border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.04);
        overflow: hidden;
    }

    /* اسم الميزة (أول خلية) هتبقى هي عنوان الكارت */
    .feature-table td:first-child, 
    .feature-table th:first-child {
        background: #f8fafc;
        color: var(--accent-neon);
        font-size: 16px;
        font-weight: 900;
        text-align: center;
        padding: 15px;
        border-bottom: 2px solid rgba(37, 99, 235, 0.1);
        position: static; /* نلغي التثبيت القديم */
        width: 100%;
        box-shadow: none;
    }

    /* تنسيق الخلايا اللي جوا الكارت (الخطط) */
    .feature-table td {
        text-align: right;
        padding: 15px 20px 15px 50%; /* بنسيب مساحة 50% على الشمال للاسم */
        position: relative;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        font-size: 14px;
        min-height: 50px;
    }

    .feature-table td:last-child {
        border-bottom: none;
    }

    /* استدعاء أسماء الخطط (Starter, Pro, Enterprise) من الـ HTML */
    .feature-table td:not(:first-child)::before {
        content: attr(data-label); /* السحر هنا: بيقرأ الكلمة من الـ HTML */
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        width: 45%;
        text-align: left;
        font-weight: 800;
        color: var(--text-main);
        font-size: 13px;
    }

    /* تظبيط العمود المميز عشان مايبوظش الشكل */
    .highlight-col {
        border-left: none;
        border-right: none;
        background: rgba(37, 99, 235, 0.03);
    }
    
    .feature-table td.highlight-col {
        border-top: none;
    }

    .premium-section-faq {
        padding: 0px 0%  !important; 
     }

     .premium-section-contact {
        padding: 110px 3%  !important; 
     }
}

/* =========================================
   FAQ SECTION STYLES (Accordion)
   ========================================= */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    padding: 0; /* تحكم داخلي في البادينج */
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}

.faq-question i {
    color: var(--accent-neon);
    transition: transform 0.4s ease;
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    padding: 0 30px;
    transition: all 0.4s ease;
}

.faq-answer p {
    color: var(--text-dim);
    font-size: 15px;
    padding-bottom: 25px;
    margin: 0;
}

/* تفعيل الأنيميشن عند فتح السؤال */
.faq-item.active {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg); /* تحويل علامة الزائد لعلامة X */
}

.faq-item.active .faq-answer {
    max-height: 200px; /* رقم كبير يسمح بظهور المحتوى */
    opacity: 1;
}

/* =========================================
   1. TRUST BAR
   ========================================= */
.trust-bar-section {
    text-align: center;
    padding: 40px 10%;
    border-bottom: 1px solid var(--glass-border);
}
.trust-bar-section p {
    color: var(--text-dim); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 25px;
}
.trust-logos {
    display: flex; justify-content: center; align-items: center; gap: 50px; flex-wrap: wrap;
}
.trust-logos span {
    font-size: 35px; color: #94a3b8; opacity: 0.6; transition: 0.3s;
}
.trust-logos span:hover { opacity: 1; color: var(--text-main); transform: scale(1.1); }

/* =========================================
   2. MIGRATION STEPS
   ========================================= */
.migration-steps {
    display: flex; justify-content: center; align-items: center; gap: 20px; max-width: 1100px; margin: 50px auto 0;
}
.m-step { flex: 1; text-align: center; padding: 40px 30px; position: relative; }
.m-icon {
    width: 60px; height: 60px; background: rgba(37, 99, 235, 0.08); color: var(--accent-neon);
    border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 24px; margin: 0 auto 20px; transition: 0.3s;
}
.m-step h3 { font-size: 20px; margin-bottom: 15px; }
.m-step p { font-size: 14px; color: var(--text-dim); }
.m-arrow { color: #cbd5e1; font-size: 24px; }
.m-step:hover .m-icon { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2); }

@media(max-width: 900px) {
    .migration-steps { flex-direction: column; }
    .m-arrow { transform: rotate(90deg); margin: 10px 0; }
}

/* =========================================
   3. INTEGRATIONS ECOSYSTEM
   ========================================= */
.integrations-wrapper {
    display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; gap: 50px;
}
.integ-text { flex: 1; text-align: left; }
.integ-link { display: inline-block; margin-top: 20px; color: var(--accent-neon); font-weight: 700; text-decoration: none; transition: 0.3s; }
.integ-link:hover { transform: translateX(5px); }

.integ-visual {
    flex: 1; position: relative; height: 400px; display: flex; justify-content: center; align-items: center;
}
.center-hub {
    width: 90px; height: 90px; background: linear-gradient(135deg, var(--accent-neon) 0%, #8b5cf6 100%);
    border-radius: 24px; display: flex; justify-content: center; align-items: center; color: white; font-size: 35px;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4); z-index: 10; position: relative;
}
.center-hub::before {
    content: ''; position: absolute; width: 250px; height: 250px; border: 1px dashed rgba(37, 99, 235, 0.2); border-radius: 50%; z-index: -1; 
    /* animation: spinRadar 15s linear infinite; */
}
.orbit-item {
    position: absolute; width: 60px; height: 60px; border-radius: 16px; display: flex; justify-content: center; align-items: center; font-size: 28px; color: var(--text-main); padding: 0; box-shadow: 0 10px 25px rgba(0,0,0,0.05); transition: 0.4s;
}
.orbit-item:hover { transform: scale(1.15) !important; border-color: var(--accent-neon); color: var(--accent-neon); }

/* توزيع الأدوات حول المركز */
.tool-1 { top: 10%; left: 20%; }
.tool-2 { top: 20%; right: 10%; }
.tool-3 { bottom: 15%; left: 15%; }
.tool-4 { bottom: 10%; right: 25%; }

@media(max-width: 900px) {
    .integrations-wrapper { 
        flex-direction: column; 
        text-align: center; 
        gap: 30px; /* تقليل المسافة شوية للموبايل */
    }
    .integ-text { 
        text-align: center; 
        display: flex; 
        flex-direction: column; 
        align-items: center;
    }

    /* 1. إجبار الحاوية المرئية إنها تاخد عرض الشاشة بالكامل */
    .integ-visual { 
        width: 100%; 
        height: 350px; /* تقليل الارتفاع شوية عشان ماياخدش مساحة ضخمة */
    }

    /* 2. تجميع الأيقونات للداخل شوية عشان ما تطلعش بره شاشة الموبايل */
    .tool-1 { top: -36%; left: 5%; }
    .tool-2 { top: -36%; right: 5%; }
    .tool-3 { bottom: -32%; left: 10%; }
    .tool-4 { bottom: -32%; right: 10%; }
    
    /* 3. تصغير الدائرة الوهمية اللي بتلف لو الشاشة صغيرة جداً */
    .center-hub::before {
        width: 200px;
        height: 200px;
    }
}

/* =========================================
   4. FINAL CTA (Dark Mode Break)
   ========================================= */
.final-cta-section {
    background-color: #0f172a; /* كحلي داكن جداً لكسر روتين الألوان الفاتحة */
    padding: 100px 10%; text-align: center; position: relative; overflow: hidden;
}
.cta-content { position: relative; z-index: 10; max-width: 700px; margin: 0 auto; }
.cta-content h2 { font-size: 42px; color: #ffffff; margin-bottom: 20px; font-weight: 800; }
.cta-content p { color: #94a3b8; font-size: 18px; margin-bottom: 40px; }

.cta-buttons { display: flex; justify-content: center; gap: 20px; }
.cta-primary {
    background: var(--accent-neon); color: white; padding: 16px 35px; border-radius: 50px; font-weight: 800; font-size: 16px; border: none; box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4); transition: 0.3s;
}
.cta-secondary {
    background: transparent; color: white; padding: 16px 35px; border-radius: 50px; font-weight: 800; font-size: 16px; border: 2px solid rgba(255,255,255,0.2); transition: 0.3s;
}
.cta-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(37, 99, 235, 0.6); }
.cta-secondary:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* توهج النيون في الخلفية */
.cta-glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5; z-index: 0; }
.glow-1 { top: -50%; left: -10%; width: 400px; height: 400px; background: var(--accent-neon); }
.glow-2 { bottom: -50%; right: -10%; width: 400px; height: 400px; background: #8b5cf6; }

@media(max-width: 600px) { .cta-buttons { flex-direction: column; } }

/* ========================================= CONTACT PAGE STYLES ========================================= */
.contact-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

/* --- جانب المعلومات --- */
.contact-info-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 30px !important;
    transition: 0.3s;
}

.info-card:hover { transform: translateX(10px); border-color: var(--accent-neon); }

.info-icon {
    width: 50px; height: 50px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent-neon);
    border-radius: 12px;
    display: flex; justify-content: center; align-items: center;
    font-size: 20px; flex-shrink: 0;
}

.info-text h4 { color: var(--text-main); font-size: 18px; margin-bottom: 5px; }
.info-text p { color: var(--text-dim); font-size: 14px; margin-bottom: 10px; line-height: 1.5; }
.info-text a { color: var(--accent-neon); text-decoration: none; font-weight: 700; font-size: 15px; }

/* --- جانب الفورم (Form) --- */
.contact-form-container {
    flex: 1.5;
    padding: 50px !important;
    background: #ffffff;
}

.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.input-group { margin-bottom: 25px; flex: 1; }

.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-main);
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.input-group input, .input-group select, .input-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: #f8fafc;
    color: var(--text-main);
    font-size: 15px;
    transition: 0.3s;
    outline: none;
}



.input-group input:focus, .input-group select:focus, .input-group textarea:focus {
    border-color: var(--accent-neon);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.05);
}

/* زر الإرسال */
.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--accent-neon);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: none; /* ليتبع الماوس المخصص */
    transition: 0.3s;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.submit-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

@media (max-width: 900px) {
    .contact-wrapper { flex-direction: column; }
    .form-row { flex-direction: column; gap: 0; }
}

.info-card {
    /* شيلنا الـ opacity والـ transform من هنا خالص */
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform, opacity;
}

/* الـ Hover هيفضل شغال عادي */
.info-card:hover {
    transform: translateX(10px);
    border-color: var(--accent-neon);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.1);
} 

/* ========================================= ABOUT US - HERO & MASK TITLE   ========================================= */
.about-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-alt), var(--bg-color));
}

/* =========================================
   BENTO BOX HERO STYLES
   ========================================= */
.bento-hero-section {
    padding: 120px 10% 80px;
    background: var(--bg-color);
    min-height: 85vh;
    display: flex;
    align-items: center;
}

/* تصميم الشبكة (Grid Layout) */
.bento-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 220px); /* صفين بارتفاع محدد */
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.bento-item {
    border-radius: 24px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.3);
}

/* --- المربع الأكبر (Mission Box) --- */
.main-mission-box {
    grid-column: span 2; /* ياخد مساحة عمودين */
    grid-row: span 2;    /* ياخد مساحة صفين */
    padding: 50px;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, rgba(248, 250, 252, 0.8) 100%);
}

.main-mission-box .mask-title { font-size: clamp(35px, 4vw, 55px); margin: 20px 0; }
.bento-btn {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 30px;
    color: var(--accent-neon); font-weight: 800; font-size: 18px; text-decoration: none;
    transition: 0.3s; width: fit-content;
}
.bento-btn:hover { transform: translateX(8px); }

/* --- العناوين داخل المربعات الصغيرة --- */
.bento-header {
    font-size: 13px; font-weight: 800; text-transform: uppercase; color: var(--text-dim); letter-spacing: 1px;
}

/* --- مربع الخبير (Expert Match) --- */
.expert-profile { display: flex; align-items: center; gap: 15px; margin-top: 15px; }
.expert-avatar {
    width: 50px; height: 50px; background: rgba(37, 99, 235, 0.1); color: var(--accent-neon);
    border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 20px;
}
.expert-details strong { display: block; color: var(--text-main); font-size: 16px; }
.expert-details span { color: var(--text-dim); font-size: 12px; }
.match-status {
    margin-top: auto; padding: 10px; background: rgba(22, 163, 74, 0.1); color: #16a34a;
    border-radius: 10px; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px;
}

/* --- مربع الدقة (Accuracy Dial) --- */
.accuracy-box { align-items: center; text-align: center;margin-top: -10px; }
.dial-wrapper { position: relative; width: 100px; height: 100px; margin: 15px auto; }
.progress-ring { transform: rotate(-90deg); }
.progress-ring-bg { fill: transparent; stroke: #f1f5f9; stroke-width: 8; }
.progress-ring-fill {
    fill: transparent; stroke: var(--accent-neon); stroke-width: 8;
    stroke-dasharray: 251; /* محيط الدائرة */
    stroke-dashoffset: 251;
    stroke-linecap: round;
    animation: fillDial 2s cubic-bezier(0.4, 0, 0.2, 1) forwards 1s; /* يتملي بعد ثانية */
}
.dial-percentage {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 18px; font-weight: 900; color: var(--text-main);
}
.dial-label { font-size: 13px; font-weight: 700; color: var(--text-dim); }

@keyframes fillDial { 100% { stroke-dashoffset: 0; } }

/* --- مربع الوقت (Time Box) --- */
.time-box { background: linear-gradient(135deg, var(--accent-neon) 0%, #8b5cf6 100%); color: white; border: none; }
.time-box h3 { color: white; font-size: 22px; margin-bottom: 5px; }
.time-box p { color: rgba(255,255,255,0.8); font-size: 13px; }
.time-icon { font-size: 30px; margin-bottom: auto; }

/* استجابة الموبايل والتابلت */
@media (max-width: 960px) {
    .bento-grid-container {
        grid-template-columns: 1fr 1fr; /* عمودين بدل تلاتة */
        grid-template-rows: auto;
    }
    .main-mission-box { grid-column: span 2; }
    .match-status{margin-top: 10px;}

    .input-group input{
        width: 108% !important;
    }

    #paylance-contact-form
    {
        margin-left: -24px;
    }


}

@media (max-width: 600px) {
    .bento-grid-container { grid-template-columns: 1fr; } /* عمود واحد للموبايل */
    .main-mission-box { grid-column: span 1; grid-row: auto; padding: 30px; }
}

.about-hero-content { max-width: 800px; margin: 0 auto; }

/* قناع النصوص المتحرك (Text Mask) */
.mask-title {
    font-size: clamp(40px, 6vw, 70px);
    font-weight: 900;
    line-height: 1.1;
    margin: 20px 0;
    /* صورة خلفية متحركة تعطي تأثير الفخامة */
    background: linear-gradient(-45deg, var(--text-main) 30%, var(--accent-neon) 50%, var(--text-main) 70%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: textShine 5s linear infinite;
}
@keyframes textShine { to { background-position: 200% center; } }

/* =========================================
   THE ECOSYSTEM (ORBIT ANIMATION)
   ========================================= */
.orbit-container {
    position: relative;
    width: 600px;
    height: 600px;
    margin: 80px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbit-center {
    width: 150px; height: 150px;
    background: #ffffff;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.2);
    z-index: 10;
    border: 2px solid var(--glass-border);
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(37, 99, 235, 0.3);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.ring-companies { width: 350px; height: 350px; animation: spinRight 20s linear infinite; }
.ring-freelancers { width: 550px; height: 550px; animation: spinLeft 30s linear infinite; }

.orbit-node {
    position: absolute;
    background: #ffffff;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    white-space: nowrap;
    border: 1px solid var(--glass-border);
    /* الحفاظ على النص معدول أثناء دوران المدار */
    animation: keepUprightRight 20s linear infinite reverse;
}
.ring-freelancers .orbit-node { animation: keepUprightLeft 30s linear infinite reverse; }

.company-node { color: var(--text-main); }
.freelance-node { color: var(--accent-neon); }

@keyframes spinRight { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spinLeft { 100% { transform: translate(-50%, -50%) rotate(-360deg); } }
@keyframes keepUprightRight { 100% { transform: rotate(360deg); } }
@keyframes keepUprightLeft { 100% { transform: rotate(-360deg); } }

@media(max-width: 768px) {
    .orbit-container { width: 300px; height: 300px; margin: 40px auto; }
    .ring-companies { width: 200px; height: 200px; }
    .ring-freelancers { width: 300px; height: 300px; }
    .orbit-node { font-size: 10px; padding: 5px 10px; }
}

/* =========================================
   CORE PILLARS (Glass-Reveal Cards)
   ========================================= */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.pillar-card {
    position: relative;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    cursor: pointer;
}

/* المحتوى الداخلي المخفي (يظهر عند الهوفر) */
.pillar-content {
    position: absolute;
    inset: 0;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    z-index: 1;
}
.pillar-content i { font-size: 30px; margin-bottom: 15px; color: var(--accent-neon); }
.pillar-content h3 { font-size: 22px; margin-bottom: 15px; color: var(--text-main); }
.pillar-content p { font-size: 15px; color: var(--text-dim); line-height: 1.6; }

/* الطبقة الزجاجية اللي بتغطي المحتوى */
.pillar-glass-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px); /* التمويه الزجاجي */
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pillar-glass-overlay i { font-size: 50px; color: var(--text-main); margin-bottom: 20px; transition: 0.3s; }
.pillar-glass-overlay h3 { font-size: 24px; font-weight: 800; color: var(--text-main); }

/* تأثير الكشف (The Reveal) عند وقوف الماوس */
.pillar-card:hover .pillar-glass-overlay {
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(0px);
}
.pillar-card:hover { border-color: var(--accent-neon); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1); transform: translateY(-5px); transition: 0.4s; }

/* =========================================
   1. TALENT FUNNEL STYLES
   ========================================= */
.funnel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1000px;
    margin: 60px auto 0;
    gap: 15px;
}
.funnel-step {
    flex: 1; padding: 30px 15px; text-align: center; position: relative;
}
.step-num {
    display: block; font-size: 24px; font-weight: 900; color: var(--text-main); margin-bottom: 5px;
}
.funnel-step p { font-size: 12px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; }

.funnel-connector {
    width: 40px; height: 2px; background: var(--glass-border); position: relative;
}
.funnel-connector::after {
    content: '→'; position: absolute; top: -11px; left: 50%; transform: translateX(-50%); color: var(--glass-border);
}

.elite-step {
    background: var(--accent-neon); color: white; border-radius: 15px; box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}
.elite-step .step-num, .elite-step p { color: white; }

@media(max-width: 768px) { .funnel-container { flex-direction: column; } .funnel-connector { transform: rotate(90deg); margin: 20px 0; } }

/* =========================================
   2. GLOBAL MAP & NODES
   ========================================= */
.map-wrapper {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; max-width: 1100px; margin: 0 auto;
}
.map-stats { display: flex; gap: 30px; margin-top: 30px; }
.m-stat strong { display: block; font-size: 30px; color: var(--accent-neon); }
.m-stat span { font-size: 14px; color: var(--text-dim); font-weight: 700; }

.visual-map {
    height: 400px; position: relative; background: url('https://upload.wikimedia.org/wikipedia/commons/e/ec/World_map_blank_without_borders.svg') no-repeat center;
    background-size: contain; opacity: 0.8;
}
.map-node {
    position: absolute; width: 12px; height: 12px; background: var(--accent-neon); border-radius: 50%;
}
 
/* توزيع النقاط */
.node-1 { top: 30%; left: 20%; } .node-2 { top: 40%; left: 45%; } .node-3 { top: 60%; left: 30%; }
.node-4 { top: 25%; right: 25%; } .node-5 { top: 55%; right: 20%; } .node-6 { top: 75%; left: 55%; }

/* =========================================
   3. STATS TICKER
   ========================================= */
.stats-ticker-section { background: var(--text-main); color: white; padding: 60px 0; }
.ticker-grid { display: flex; justify-content: space-around; max-width: 1100px; margin: 0 auto; }
.ticker-item h3 { font-size: 50px; font-weight: 900; color: var(--accent-neon); margin-bottom: 10px; }
.ticker-item p { color: #94a3b8; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

/* =========================================
   SECURITY VAULT (MARQUEE UI)
   ========================================= */
.security-vault-section {
    background: #020617; /* لون كحلي/أسود داكن جداً يكسر روتين الصفحة */
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* توهج خفيف في خلفية الخزنة */
.security-vault-section::before {
    content: ''; position: absolute; top: -50px; left: 50%; transform: translateX(-50%);
    width: 60%; height: 100px; background: var(--accent-neon); filter: blur(100px); opacity: 0.15; z-index: 0;
}

.vault-header { text-align: center; margin-bottom: 50px; position: relative; z-index: 2; }
.vault-title { color: #f8fafc; font-size: 24px; font-weight: 800; margin-top: 15px; }

/* حاوية الشريط مع تأثير التلاشي (Masking) */ 
.marquee-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden; /* 👈 السطر ده كان ناقص ومهم جداً */
    /* السحر هنا: التلاشي من اليمين واليسار */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    z-index: 2;
    padding-top: 15px;
}

/* المسار المتحرك */
.marquee-track {
    display: flex;
    align-items: center; /* 👈 لضمان إنهم على خط واحد بالضبط */
    width: max-content;
    gap: 30px;
    /* الأنيميشن بياخد 30 ثانية وبيكرر للأبد */
    animation: scrollVault 30s linear infinite;
}

/* التوقف عند وقوف الماوس (Hover Pause) */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

/* تصميم الشارة الأمنية (The Badge) */
.security-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.03); /* زجاج داكن */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px; /* شكل كبسولة فخم */
    color: #cbd5e1;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    cursor: default;
}

.security-badge i {
    font-size: 22px;
    color: var(--accent-neon);
    /* توهج نيون للأيقونة */
    text-shadow: 0 0 15px rgba(37, 99, 235, 0.6);
}

/* تفاعل الشارة عند الهوفر */
.security-badge:hover {
    background: rgba(37, 99, 235, 0.1);
    border-color: var(--accent-neon);
    color: #ffffff;
    transform: translateY(-5px);
    /* box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2); */
}

/* أنيميشن الحركة المستمرة */
@keyframes scrollVault {
    0% { transform: translateX(0); }
    /* بيتحرك لمسافة نص العرض بالظبط عشان يلف بسلاسة */
    100% { transform: translateX(calc(-50% - 15px)); }
}

@media (max-width: 768px) {
    .security-badge { padding: 15px 25px; font-size: 13px; }
    .security-badge i { font-size: 18px; }
    .vault-title { font-size: 20px; }
}

/* =========================================
   TALENT FILTRATION PIPELINE
   ========================================= */
.talent-filter-section {
    overflow: hidden; /* عشان تأثيرات الإضاءة ما تخرجش بره السكشن */
}

.pipeline-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 60px auto 0;
    position: relative;
    padding: 20px 0;
}

/* --- خط المسار الخلفي (The Track) --- */
.pipeline-track {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 4px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 10px;
    z-index: 0;
}

/* خط الليزر اللي بيتملي بالجافاسكريبت */
.pipeline-fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    width: 0%; /* بيبدأ صفر والـ GSAP بيكبره */
    background: linear-gradient(90deg, transparent, var(--accent-neon));
    border-radius: 10px;
    box-shadow: 0 0 15px var(--accent-neon);
}

/* جزيء مضيء بيجري على الخط */
.pipeline-particle {
    position: absolute;
    top: 50%; left: 0;
    transform: translate(-50%, -50%);
    width: 15px; height: 15px;
    background: #ffffff;
    border: 3px solid var(--accent-neon);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--accent-neon);
    z-index: 2;
    opacity: 0; /* بيظهر مع الأنيميشن */
}

/* --- كروت الخطوات --- */
.pipeline-step {
    flex: 1;
    margin: 0 15px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    z-index: 5;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    transition: all 0.4s ease;
}

/* حالة الكارت قبل ما الليزر يوصله (باهت وأبيض وأسود) */
.step-dimmed {
    opacity: 0.4;
    filter: grayscale(100%);
    transform: scale(0.95);
}

/* حالة الكارت لما يتفعل (Active) */
.pipeline-step.active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.08);
}

/* الأيقونات والمحتوى */
.step-icon {
    width: 50px; height: 50px;
    margin: 0 auto 15px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--accent-neon);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 20px;
    transition: 0.3s;
}
.pipeline-step.active .step-icon {
    background: var(--accent-neon);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.step-num { display: block; font-size: 22px; font-weight: 900; color: var(--text-main); margin-bottom: 5px; }
.pipeline-step p { font-size: 13px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; margin: 0; }

/* --- كارت النخبة (Top 1%) --- */
.elite-step.active {
    background: linear-gradient(135deg, var(--accent-neon) 0%, #8b5cf6 100%);
    border: none;
    color: white;
    transform: scale(1.1); /* بيكبر أكتر من الباقيين */
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
}
.elite-step.active .step-num, .elite-step.active p, .elite-step.active .step-icon { color: white; background: transparent; box-shadow: none;}
.elite-step .step-icon { font-size: 30px; }

/* إضاءة نابضة حوالين كارت النخبة */
.elite-glow {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border-radius: inherit; border: 2px solid #8b5cf6;
    animation: elitePulse 2s infinite; opacity: 0;
}
.elite-step.active .elite-glow { opacity: 1; }
@keyframes elitePulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.15); opacity: 0; } }

/* استجابة الموبايل: تحويل المسار الأفقي لعمودي */
@media(max-width: 900px) {
    .pipeline-container { flex-direction: column; gap: 20px; padding: 0 20px; }
    .pipeline-track { width: 4px; height: 99%; top: 0; left: 50%; transform: translateX(-50%); }
    .pipeline-fill { width: 100%; height: 0%; background: linear-gradient(to bottom, transparent, var(--accent-neon)); }
    .pipeline-particle { top: 0; left: 50%; transform: translate(-50%, -50%); }
    .pipeline-step { width: 100%; }
    .elite-step.active { transform: scale(1.05); }
}

/* =========================================
   GLOBAL COMMAND CENTER (MAP UI)
   ========================================= */
.global-map-section { padding-top: 60px; overflow: hidden; }

.map-command-center {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 600px;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* --- لوحة المعلومات العائمة --- */
.map-info-panel {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    width: 380px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.85); /* شفافية زجاجية */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 10;
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.08);
}

.map-info-panel h3 { font-size: 32px; font-weight: 900; color: var(--text-main); margin-bottom: 15px; line-height: 1.2; }
.map-info-panel p { color: var(--text-dim); font-size: 15px; line-height: 1.6; margin-bottom: 30px; }

.map-stats-grid { display: flex; flex-direction: column; gap: 20px; }
.m-stat { padding-left: 15px; border-left: 3px solid var(--accent-neon); }
.m-stat strong { display: block; font-size: 28px; font-weight: 900; color: var(--text-main); }
.m-stat span { font-size: 13px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; }

/* --- الخريطة نفسها --- */
.map-visual-area {
    position: absolute;
    right: -100px; /* سحب الخريطة لليمين قليلاً */
    width: 1000px;
    height: 100%;
    z-index: 1;
}

/* خريطة منقطة (SVG) عصرية جداً من مكتبة مفتوحة */
.world-map-bg {
    width: 100%;
    height: 100%;
    background: url('https://upload.wikimedia.org/wikipedia/commons/8/80/World_map_-_low_resolution.svg') no-repeat center center;
    background-size: contain;
    opacity: 0.15; /* باهتة عشان النقاط هي اللي تنور */
}

/* --- النقاط (Nodes) --- */
.map-node {
    position: absolute;
    width: 14px; height: 14px;
    background: var(--accent-neon);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-neon);
    transition: 0.3s;
}

/* موجات الرادار حول النقاط */
.map-node::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    border: 2px solid var(--accent-neon);
    border-radius: 50%;
    animation: radarPulse 2.5s infinite ease-out;
}

@keyframes radarPulse { 
    0% { width: 14px; height: 14px; opacity: 1; border-width: 2px; } 
    100% { width: 50px; height: 50px; opacity: 0; border-width: 0px; } 
}

/* --- الـ Tooltip التفاعلي (لما تقفي بالماوس) --- */
.map-node::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 25px; left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #0f172a; /* لون كحلي غامق */
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    pointer-events: none;
}
/* سهم الـ Tooltip */
.map-node:hover::after { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.map-node:hover { transform: scale(1.5); background: #ffffff; border: 3px solid var(--accent-neon); }

/* تمييز نقطة مصر كمركز إقليمي (Active Hub) */
.active-hub { background: #8b5cf6; box-shadow: 0 0 20px #8b5cf6; }
.active-hub::before { border-color: #8b5cf6; }

/* توزيع النقاط على الخريطة (تقدري تعدلي الأرقام دي لتحريكهم) */
.node-ny { top: 38%; left: 22%; }
.node-ldn { top: 32%; left: 45%; }
.node-cai { top: 45%; left: 53%; } /* مصر */
.node-dxb { top: 48%; left: 58%; }
.node-sin { top: 58%; left: 74%; }
.node-syd { top: 78%; left: 85%; }

/* استجابة الموبايل */
@media (max-width: 960px) {
    .map-command-center { flex-direction: column; height: auto; border-radius: 20px; }
    .map-info-panel { position: relative; left: 0; transform: none; width: 100%; border-radius: 0; border-bottom: 1px solid var(--glass-border); box-shadow: none;}
    .map-stats-grid { flex-direction: row; flex-wrap: wrap; }
    .map-visual-area { position: relative; right: 0; width: 100%; height: 350px; overflow: hidden;}
    .world-map-bg { background-size: cover; }
    .map-node::after { display: none; /* إخفاء الـ tooltip في الموبايل لضيق المساحة */ }
}

/* =========================================  1. UNIFIED TEAM (Command Center) ========================================= */
.unified-hero-container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; max-width: 1200px; margin: 0 auto;
}
.dashboard-mockup {
    border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.1); background: rgba(255,255,255,0.6);
}
.mockup-header {
    background: #f1f5f9; padding: 15px 20px; display: flex; align-items: center; border-bottom: 1px solid var(--glass-border);
}
.mac-dots { display: flex; gap: 8px; }
.mac-dots span { width: 12px; height: 12px; border-radius: 50%; background: #cbd5e1; }
.mac-dots span:nth-child(1) { background: #ef4444; } .mac-dots span:nth-child(2) { background: #eab308; } .mac-dots span:nth-child(3) { background: #22c55e; }
.mockup-title { margin: 0 auto; font-size: 13px; font-weight: 700; color: var(--text-dim); }

.mockup-body { padding: 50px; text-align: center; }
.sync-avatars { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 30px; }
.avatar { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; color: var(--text-main); }
.avatar i { font-size: 40px; color: #94a3b8; background: white; width: 80px; height: 80px; display: flex; justify-content: center; align-items: center; border-radius: 50%; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.paylance-expert i { color: var(--accent-neon); border: 2px solid var(--accent-neon); }
.sync-line { flex: 1; height: 2px; background: rgba(37, 99, 235, 0.2); position: relative; overflow: hidden; }
.data-dot { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; background: var(--accent-neon); border-radius: 50%; box-shadow: 0 0 10px var(--accent-neon); animation: dataSync 1.5s infinite linear; }
@keyframes dataSync { 0% { left: 0; opacity: 1; } 100% { left: 100%; opacity: 0; } }
.live-status { font-size: 14px; font-weight: 700; color: var(--text-main); }

@media(max-width: 900px) { 
    .unified-hero-container { grid-template-columns: 1fr; } 
 .mockup-body { padding: 50px 0px; text-align: center; width: 108%;}
.sync-line { 
    margin-left: 13px;
}

.avatar { 
    transform: scale(0.9);
}
   .sync-avatars {
    gap: 0px !important;
   }
}

/* =========================================
   SWITCHER SECTION (Premium UI)
   ========================================= */
.switcher-section { padding-top: 50px; overflow: hidden; }

/* --- The Smart Toggle (Apple Style) --- */
.smart-toggle-wrapper {
    position: relative;
    display: flex;
    background: rgba(15, 23, 42, 0.05);
    border-radius: 100px;
    padding: 6px;
    width: fit-content;
    margin: 0 auto 50px;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid var(--glass-border);
}

.smart-toggle-bg {
    position: absolute;
    top: 6px; left: 6px;
    height: calc(100% - 12px);
    width: calc(50% - 6px);
    background: #ffffff;
    border-radius: 100px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* تحريك الخلفية البيضاء لما نختار الاختيار التاني */
.smart-toggle-wrapper.switched .smart-toggle-bg {
    transform: translateX(100%);
}

.smart-btn {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 12px 40px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dim);
    cursor: pointer;
    transition: color 0.3s ease;
}

.smart-btn.active-btn { color: var(--text-main); }

/* --- The Showcase Container --- */
.view-showcase {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    height: 380px;
    border-radius: 24px;
    overflow: hidden;
    background: #f8fafc;
}

.showcase-content {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.showcase-content.hidden { opacity: 0; pointer-events: none; transform: scale(0.95); }
.showcase-content.active-view { opacity: 1; pointer-events: auto; transform: scale(1); }

/* توهج الخلفية لكل حالة */
.chaos-glow { position: absolute; width: 300px; height: 300px; background: #ef4444; filter: blur(120px); opacity: 0.1; }
.clarity-glow { position: absolute; width: 300px; height: 300px; background: var(--accent-neon); filter: blur(120px); opacity: 0.15; }

/* =========================================
   THE CHAOS VIEW (المكتب الفوضوي)
   ========================================= */
.messy-desk { position: relative; width: 100%; height: 100%; }
.mess-card {
    position: absolute;
    display: flex; align-items: center; gap: 15px;
    padding: 15px 20px;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    width: 280px; text-align: left;
}
.mess-card i { font-size: 24px; }
.mess-card strong { display: block; font-size: 14px; color: var(--text-main); margin-bottom: 3px; }
.mess-card span { font-size: 12px; color: var(--text-dim); }

/* توزيع الكروت بشكل عشوائي ومتقاطع */
.m-excel { top: 15%; left: 10%; color: #16a34a; transform: rotate(-8deg); z-index: 2; animation: floatMess 4s infinite alternate; }
.m-slack { top: 50%; right: 15%; color: #8b5cf6; transform: rotate(5deg); z-index: 3; animation: floatMess 5s infinite alternate-reverse; }
.m-error { top: 60%; left: 14%; color: #ef4444; border: 1px solid #ef4444; transform: rotate(-3deg); z-index: 4; animation: jitter 0.5s infinite; }
.m-email { top: 20%; right: 10%; color: #f59e0b; transform: rotate(10deg); z-index: 1; animation: floatMess 6s infinite alternate; }

@keyframes floatMess { 100% { transform: translateY(-15px) rotate(0deg); } }
/* اهتزاز كارت الخطأ لزيادة التوتر */
@keyframes jitter { 0% { transform: translate(1px, 1px) rotate(-3deg); } 50% { transform: translate(-1px, -1px) rotate(4deg); } 100% { transform: translate(1px, -1px) rotate(-3deg); } }

/* =========================================
   THE CLARITY VIEW (نفق البيانات)
   ========================================= */
.flow-pipeline { display: flex; align-items: center; justify-content: space-between; width: 85%; z-index: 10; }
.flow-node { display: flex; flex-direction: column; align-items: center; gap: 15px; z-index: 2; }
.node-icon {
    width: 70px; height: 70px; background: #ffffff; border: 1px solid var(--glass-border);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 28px; color: var(--text-dim); box-shadow: 0 10px 25px rgba(0,0,0,0.05); transition: 0.3s;
}
.flow-node strong { font-size: 15px; color: var(--text-main); font-weight: 800; }

.node-highlight .node-icon { background: var(--accent-neon); color: white; border-color: var(--accent-neon); box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4); }
.success-icon { color: #16a34a; }

/* المسار والليزر */
.flow-track { flex: 1; height: 4px; background: rgba(37, 99, 235, 0.1); margin: 0 -15px; border-radius: 10px; position: relative; overflow: hidden; transform: translateY(-15px); }
.laser-beam { position: absolute; top: 0; left: -50%; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, var(--accent-neon)); animation: shootLaser 2s infinite linear; }
.laser-delay { animation-delay: 1s; }

@keyframes shootLaser { 100% { left: 100%; } }

/* استجابة الموبايل */
@media(max-width: 768px) {
    .view-showcase { height: 550px; }
    .m-excel { top: 5%; left: 5%; } .m-slack { top: 25%; right: 5%; } .m-error { top: 50%; left: 5%; } .m-email { top: 75%; right: 5%; }
    .flow-pipeline { flex-direction: column; height: 90%; }
    .flow-track { width: 4px; height: 60px; margin: -10px 0; transform: none; }
    .laser-beam { width: 100%; height: 50%; top: -50%; left: 0; background: linear-gradient(180deg, transparent, var(--accent-neon)); }
    @keyframes shootLaser { 100% { top: 100%; } }
    .smart-btn{font-size: 11px;}
}

/* =========================================
   3. ROLES GRID (Bento Style)
   ========================================= */
.roles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1100px; margin: 0 auto; }
.role-card { 
    padding: 40px 30px; 
    border-radius: 24px; 
    position: relative; 
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
    will-change: transform, opacity; /* لتحسين الأداء ومنع الرعشة */
}
.role-card:hover { transform: translateY(-10px); border-color: var(--accent-neon); }
.main-role { background: linear-gradient(135deg, var(--accent-neon) 0%, #8b5cf6 100%); color: white; transform: scale(1.05); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3); }
.main-role:hover { transform: scale(1.05) translateY(-10px); }
.role-icon { font-size: 35px; color: var(--accent-neon); background: rgba(37, 99, 235, 0.05); width: 70px; height: 70px; border-radius: 16px; display: flex; justify-content: center; align-items: center; margin-bottom: 20px; }
.role-card h3 { font-size: 22px; margin-bottom: 10px; color: var(--text-main); }
.role-card p { font-size: 14px; color: var(--text-dim); line-height: 1.6; margin-bottom: 30px; }
.role-badge { position: absolute; top: 30px; right: 30px; padding: 5px 12px; background: #f1f5f9; color: var(--text-dim); border-radius: 50px; font-size: 12px; font-weight: 800; }

/* =========================================
   4. WORKFLOW TIMELINE
   ========================================= */
.workflow-timeline { display: flex; justify-content: center; align-items: flex-start; max-width: 1000px; margin: 60px auto 0; text-align: center; }
.w-node { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 15px; position: relative; }
.w-time { font-size: 24px; font-weight: 900; color: var(--text-dim); }
.w-dot { width: 20px; height: 20px; background: white; border: 4px solid #cbd5e1; border-radius: 50%; z-index: 2; transition: 0.3s; }
.w-text { font-size: 14px; font-weight: 700; color: var(--text-dim); }
.w-track { flex: 1; height: 4px; background: #f1f5f9; margin-top: 48px; position: relative; overflow: hidden; }
.w-light { position: absolute; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, var(--accent-neon)); left: -50%; animation: flowLight 2s infinite; }

.node-active .w-dot { border-color: var(--accent-neon); box-shadow: 0 0 20px var(--accent-neon); background: var(--accent-neon); }
.node-active .w-text { color: var(--text-main); }

@keyframes flowLight { 100% { left: 100%; } }
@media(max-width: 768px) { .workflow-timeline { flex-direction: column; align-items: stretch; gap: 20px; } .w-track { width: 4px; height: 50px; margin: 0 auto; } .w-light { height: 50%; width: 100%; top: -50%; animation: flowLightVertical 2s infinite; } @keyframes flowLightVertical { 100% { top: 100%; } } }

/* =========================================
   THE LIVE AUDIT TRAIL (SaaS UI)
   ========================================= */
.audit-trail-section { padding: 80px 0; overflow: hidden; }

.trail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    padding: 0 20px;
}

/* --- الجزء الأيسر (النصوص) --- */
.premium-checklist { list-style: none; margin-top: 30px; padding: 0; }
.premium-checklist li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; color: var(--text-main); margin-bottom: 15px; }
.premium-checklist li i { color: #10b981; font-size: 20px; }

/* --- الجزء الأيمن (شاشة المحاكاة) --- */
.trail-mockup {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.mockup-top-bar {
    background: #f8fafc; padding: 15px 20px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid var(--glass-border);
}
.mockup-title { font-size: 12px; font-weight: 800; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; display: flex; align-items: center; gap: 6px; }

.mockup-body { padding: 30px 40px; position: relative; }

/* مسار السجل العمودي */
.log-vertical-track {
    position: absolute; top: 40px; bottom: 40px; left: 57px;
    width: 2px; background: #e2e8f0; z-index: 1;
}

/* عناصر السجل */
.log-item { display: flex; gap: 25px; margin-bottom: 40px; position: relative; z-index: 2; }
.log-item:last-child { margin-bottom: 0; }

.log-icon {
    width: 36px; height: 36px; border-radius: 50%; background: #ffffff;
    border: 2px solid #cbd5e1; display: flex; justify-content: center; align-items: center;
    font-size: 14px; flex-shrink: 0; z-index: 3;
}
.icon-hr { border-color: #3b82f6; color: #3b82f6; }
.icon-expert { border-color: var(--accent-neon); color: var(--accent-neon); box-shadow: 0 0 15px rgba(37, 99, 235, 0.3); }
.icon-cfo { border-color: #10b981; color: #10b981; }

.log-details { flex: 1; }
.log-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 800; color: #94a3b8; margin-bottom: 5px; }
.badge-success { background: rgba(16, 185, 129, 0.1); color: #10b981; padding: 3px 8px; border-radius: 50px; font-size: 10px; }

.log-details h4 { font-size: 16px; font-weight: 900; color: var(--text-main); margin-bottom: 3px; }
.log-details p { font-size: 13px; color: var(--text-dim); margin: 0; }
.log-details em { color: #3b82f6; font-style: normal; background: rgba(59, 130, 246, 0.1); padding: 2px 5px; border-radius: 4px; }

/* شريط التحميل (Processing Bar) */
.processing-bar { width: 100%; height: 4px; background: #e2e8f0; border-radius: 10px; margin-top: 15px; overflow: hidden; }
.processing-fill { width: 50%; height: 100%; background: var(--accent-neon); animation: loadBar 2s infinite ease-in-out; }
@keyframes loadBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(200%); } }

/* زرار المدير المالي (Micro-interaction) */
.mockup-approve-btn {
    margin-top: 15px; padding: 12px 20px; width: 100%;
    background: #10b981; color: #ffffff; border: none; border-radius: 10px;
    font-size: 14px; font-weight: 800; display: flex; justify-content: center; align-items: center; gap: 8px;
    cursor: pointer; transition: all 0.3s ease; box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}
.mockup-approve-btn:hover { background: #059669; transform: translateY(-3px); box-shadow: 0 15px 25px rgba(16, 185, 129, 0.3); }

/* الشفافية للخطوة المنتظرة */
.pending-log { opacity: 0.6; transition: 0.3s; }
.pending-log:hover { opacity: 1; }

/* =========================================
   RESPONSIVE (Mobile Stack)
   ========================================= */
@media (max-width: 900px) {
    .trail-container { grid-template-columns: 1fr; gap: 40px; }
    .mockup-body { padding: 20px; }
    .log-vertical-track { left: 37px; }
}

/* =========================================
   THE ELITE ROSTER (Experts Cards)
   ========================================= */
.experts-roster-section { padding: 60px 0; overflow: hidden; }

.roster-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.expert-card {
    position: relative;
    padding: 30px 20px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    text-align: center;
    overflow: hidden; /* عشان الزرار اللي بيطلع من تحت ميبانش بره الكارت */
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    will-change: transform;
}

/* رفع الكارت وإضافة توهج عند وقوف الماوس */
.expert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
    border-color: rgba(37, 99, 235, 0.4);
}

/* --- حالة الخبير (Online/Busy) --- */
.expert-status {
    position: absolute; top: 20px; left: 20px;
    font-size: 11px; font-weight: 800; text-transform: uppercase;
    display: flex; align-items: center; gap: 5px;
    background: #f8fafc; padding: 5px 10px; border-radius: 50px; border: 1px solid var(--glass-border);
}
.expert-status.online { color: #16a34a; }
.expert-status.busy { color: #f59e0b; }
.expert-status i { font-size: 8px; animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* --- الصورة والأوسمة --- */
.expert-avatar-wrapper {
    position: relative;
    width: 100px; height: 100px;
    margin: 20px auto 15px;
}
.expert-img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: 0.4s ease;
}
.expert-card:hover .expert-img { border-color: var(--accent-neon); }

.verified-badge {
    position: absolute; bottom: 0; right: 0;
    width: 30px; height: 30px;
    background: linear-gradient(135deg, var(--accent-neon) 0%, #8b5cf6 100%);
    color: white; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 12px; border: 2px solid white;
}

/* --- المعلومات --- */
.expert-info h3 { font-size: 20px; color: var(--text-main); margin-bottom: 5px; font-weight: 900; }
.expert-dept { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-dim); font-weight: 700; margin-bottom: 20px; }
.expert-dept i { color: var(--accent-neon); }

/* --- الإحصائيات --- */
.expert-stats {
    display: flex; justify-content: space-between;
    padding: 15px; background: #f8fafc; border-radius: 16px;
    margin-bottom: 10px; /* سيبنا مسافة عشان الزرار اللي هيطلع */
    border: 1px solid var(--glass-border);
}
.e-stat { display: flex; flex-direction: column; align-items: center; gap: 3px; flex: 1; }
.e-stat:first-child { border-right: 1px solid var(--glass-border); }
.e-stat strong { font-size: 16px; color: var(--text-main); font-weight: 900; }
.e-stat span { font-size: 11px; color: var(--text-dim); font-weight: 700; text-transform: uppercase; }

/* --- الحركة المخفية (The Reveal Button) --- */
.expert-hover-action {
    position: absolute;
    bottom: -60px; /* مخفي تحت الكارت */
    left: 0; width: 100%;
    padding: 0 20px 20px;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}
.match-btn {
    width: 100%; padding: 12px;
    background: var(--text-main); color: white;
    border: none; border-radius: 12px; font-weight: 800; font-size: 14px;
    cursor: pointer; transition: 0.3s;
}
.match-btn:hover { background: var(--accent-neon); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3); }

/* .expert-card:hover .expert-stats { transform: translateY(-35px); opacity: 0; transition: 0.3s; } */

.expert-card:hover .expert-hover-action { bottom: 0; opacity: 1; }

@media (max-width: 600px) {
    .roster-grid { grid-template-columns: 1fr; }
    /* في الموبايل، بنلغي الهوفر ونخلي الزرار ثابت وظاهر */
    .expert-stats { transform: none !important; opacity: 1 !important; margin-bottom: 60px; }
    .expert-hover-action { bottom: 0; opacity: 1; }
}

/* =========================================
   24/7 WORKFLOW SECTION (Premium Dark)
   ========================================= */
.time-workflow-section {
    background: #020617; /* لون ليلي عميق جداً */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* --- الإضاءات العائمة في الخلفية (ألوان السماء) --- */
.ambient-glow {
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.15;
    z-index: 0;
    animation: floatGlow 10s infinite alternate;
}
.sunset-glow { top: 10%; left: -50px; background: #f97316; } /* برتقالي للغروب */
.midnight-glow { top: 50%; left: 50%; transform: translate(-50%, -50%); background: #8b5cf6; width: 400px; opacity: 0.2;} /* بنفسجي لليل */
.sunrise-glow { bottom: 10%; right: -50px; background: #eab308; } /* أصفر للشروق */

@keyframes floatGlow { 100% { transform: translateY(30px) scale(1.1); } }

/* --- حاوية الكروت --- */
.time-cycle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* --- الكروت الزجاجية الداكنة --- */
.cycle-card {
    flex: 1;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    position: relative;
    text-align: center;
    transition: all 0.4s ease;
    animation: floatCard 6s infinite ease-in-out;
}

@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ألوان خاصة لكل كارت (بتظهر عند الهوفر) */
.sunset-card:hover { border-color: rgba(249, 115, 22, 0.5); box-shadow: 0 15px 35px rgba(249, 115, 22, 0.1); }
.midnight-card { transform: scale(1.05); background: rgba(37, 99, 235, 0.08); border-color: rgba(37, 99, 235, 0.3); }
.midnight-card:hover { border-color: var(--accent-neon); box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2); }
.sunrise-card:hover { border-color: rgba(234, 179, 8, 0.5); box-shadow: 0 15px 35px rgba(234, 179, 8, 0.1); }

/* --- مكونات الكارت --- */
.card-time-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 15px; border-radius: 50px;
    background: rgba(255, 255, 255, 0.05); color: #cbd5e1;
    font-size: 13px; font-weight: 800; margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.1);
}
.highlight-badge { background: var(--accent-neon); color: white; border-color: var(--accent-neon); box-shadow: 0 0 15px rgba(37, 99, 235, 0.5); }

.cycle-icon { font-size: 40px; color: #94a3b8; margin-bottom: 20px; transition: 0.3s; }
.sunset-card:hover .cycle-icon { color: #f97316; }
.sunrise-card:hover .cycle-icon { color: #eab308; }
.midnight-card .cycle-icon { color: var(--accent-neon); }

.cycle-card h3 { color: #f8fafc; font-size: 22px; margin-bottom: 10px; font-weight: 800; }
.cycle-card p { color: #94a3b8; font-size: 14px; line-height: 1.6; }

/* رادار شغال في كارت منتصف الليل */
.active-radar {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border-radius: 24px; border: 2px solid var(--accent-neon);
    animation: radarExpand 2.5s infinite; pointer-events: none; opacity: 0;
}
@keyframes radarExpand { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.1); opacity: 0; } }

/* --- مسارات النقل (Connectors) --- */
.cycle-connector {
    width: 60px; height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 15px; position: relative; overflow: hidden;
}
.shooting-star {
    position: absolute; top: -1px; left: -50px;
    width: 50px; height: 4px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    box-shadow: 0 0 10px #ffffff;
    animation: shootStar 2s infinite linear;
}
.delay-star { animation-delay: 1s; }
@keyframes shootStar { 100% { left: 100%; } }

/* --- استجابة الموبايل --- */
@media (max-width: 960px) {
    .time-cycle-container { flex-direction: column; gap: 20px; padding: 0 20px; }
    .cycle-connector { width: 2px; height: 50px; margin: 10px 0; }
    .shooting-star { width: 4px; height: 50px; top: -50px; left: -1px; background: linear-gradient(180deg, transparent, #ffffff, transparent); }
    @keyframes shootStar { 100% { top: 100%; } }
    .midnight-card { transform: scale(1); }
}


        /* =========================================
   INTERACTIVE PRICING CALCULATOR STYLES
   ========================================= */
        .pricing-calculator-wrapper {
            max-width: 850px;
            margin: 0 auto 60px;
            padding: 50px;
            text-align: left;
        }

        .calc-top {
            display: flex;
            justify-content: space-between;
            margin-bottom: 40px;
            padding-bottom: 30px;
            border-bottom: 1px solid var(--glass-border);
        }

        .calc-stat h3 {
            font-size: 14px;
            font-weight: 800;
            text-transform: uppercase;
            color: var(--text-dim);
            margin-bottom: 10px;
            letter-spacing: 1px;
        }

        .right-stat {
            text-align: right;
        }

        .emp-value {
            font-size: 45px;
            font-weight: 900;
            color: var(--text-main);
        }

        .emp-value small {
            font-size: 18px;
            color: var(--text-dim);
            font-weight: 700;
        }

        .rate-value {
            font-size: 45px;
            font-weight: 900;
            color: var(--accent-neon);
        }

        .rate-value small {
            font-size: 18px;
            color: var(--text-dim);
        }

        .calc-slider-container {
            margin-bottom: 50px;
            padding: 0 10px;
        }

        /* تنسيق الأرقام تحت المؤشر */
        .slider-marks {
            display: flex;
            justify-content: space-between;
            margin-top: 15px;
            color: #94a3b8;
            font-size: 13px;
            font-weight: 800;
        }

        .calc-bottom {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #f8fafc;
            padding: 30px 40px;
            border-radius: 20px;
            border: 1px solid var(--glass-border);
        }

        .calc-total p {
            font-size: 14px;
            font-weight: 800;
            color: var(--text-dim);
            text-transform: uppercase;
            margin-bottom: 5px;
        }

        .calc-total h2 {
            font-size: 45px;
            font-weight: 900;
            color: var(--text-main);
            margin: 0;
        }

        .calc-total h2 small {
            font-size: 16px;
            color: var(--text-dim);
            font-weight: 700;
        }

        /* تأثير النيون لكلمة Negotiable */
        .negotiable-text {
            background: linear-gradient(135deg, var(--accent-neon) 0%, #8b5cf6 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-size: 38px !important;
            letter-spacing: -1px;
        }

        .nego-sub {
            font-size: 13px;
            color: #64748b;
            font-weight: 600;
        }

        .calc-bottom .pricing-btn {
            width: auto;
            padding: 16px 40px;
            font-size: 16px;
        }

        .hidden {
            display: none !important;
        }

        /* استجابة الموبايل للحاسبة */
        @media(max-width: 768px) {
            .pricing-calculator-wrapper {
                padding: 30px 20px;
            }

            .calc-top {
                flex-direction: column;
                gap: 30px;
                text-align: center;
            }

            .right-stat {
                text-align: center;
            }

            .calc-bottom {
                flex-direction: column;
                text-align: center;
                gap: 25px;
                padding: 25px 20px;
            }

            .calc-bottom .pricing-btn {
                width: 100%;
            }

            .emp-value,
            .rate-value,
            .calc-total h2 {
                font-size: 35px;
            }
        }

      /* =========================================
       FAQ KNOWLEDGE HUB STYLING
       ========================================= */
    .faq-section { position: relative; overflow: hidden; padding: 100px 0; }

    /* إضاءات الخلفية (Glowing Orbs) لمظهر تقني */
    .faq-glow {
        position: absolute; width: 400px; height: 400px;
        background: var(--accent-neon); filter: blur(200px);
        opacity: 0.15; border-radius: 50%; z-index: 0; pointer-events: none;
    }
    .glow-top-right { top: -100px; right: -100px; }
    .glow-bottom-left { bottom: -100px; left: -100px; background: #8b5cf6; }

    .faq-layout-container {
        display: flex; gap: 40px; max-width: 1200px; margin: 0 auto;
        padding: 0 20px; position: relative; z-index: 2; align-items: flex-start;
    }

    /* --- القائمة الجانبية (Sidebar) --- */
    .faq-sidebar {
        width: 300px;
        position: sticky; top: 120px; /* بتفضل ثابته والعميل بينزل السكرول */
        flex-shrink: 0;
    }
    .sidebar-inner { padding: 30px; border-radius: 20px; }
    .sidebar-inner h3 { font-size: 18px; font-weight: 800; color: var(--text-main); margin-bottom: 20px; padding-bottom: 15px; border-bottom: 1px solid var(--glass-border); }

    .faq-filters { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
    .faq-filters li {
        padding: 12px 15px; border-radius: 12px; font-size: 14px; font-weight: 700;
        color: var(--text-dim); cursor: pointer; transition: all 0.3s ease;
        display: flex; align-items: center; gap: 12px;
    }
    .faq-filters li i { font-size: 16px; width: 20px; text-align: center; transition: 0.3s; }

   
    .faq-filters li.active-filter {
        background: var(--accent-neon); color: #ffffff;
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    }

    /* --- قائمة الأسئلة (Accordion) --- */
    .faq-content-area { flex: 1; display: flex; flex-direction: column; gap: 15px; }

    .faq-item {
        border-radius: 16px; padding: 0 25px; overflow: hidden;
        transition: all 0.4s ease; border-left: 3px solid transparent;
    }
    

    .faq-question {
        display: flex; justify-content: space-between; align-items: center;
        padding: 25px 0; cursor: pointer;
    }
    .faq-question h4 { font-size: 16px; font-weight: 800; color: var(--text-main); margin: 0; line-height: 1.5; padding-right: 20px; transition: color 0.3s; }

    .faq-toggle {
        width: 35px; height: 35px; border-radius: 50%;
        background: rgba(37, 99, 235, 0.08); color: var(--accent-neon);
        display: flex; justify-content: center; align-items: center;
        font-size: 14px; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); flex-shrink: 0;
    }

    .faq-answer {
        max-height: 0; opacity: 0; overflow: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .faq-answer p { color: var(--text-dim); font-size: 15px; line-height: 1.7; margin: 0 0 25px 0; }

    /* Active State للـ Accordion */
    .faq-item.is-open {
        background: #ffffff; border-left-color: var(--accent-neon);
        box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
    }
    .faq-item.is-open .faq-question h4 { color: var(--accent-neon); }
    .faq-item.is-open .faq-toggle {
        background: var(--accent-neon); color: #ffffff;
        transform: rotate(135deg); /* تحويل علامة الزائد لعلامة X ناعمة */
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    }
    .faq-item.is-open .faq-answer { max-height: 500px; opacity: 1; }

    /* =========================================
       RESPONSIVE FAQ
       ========================================= */
    @media (max-width: 960px) {
        .faq-layout-container { flex-direction: column; }
        .faq-sidebar { width: 100%; position: relative; top: 0; }
        .faq-filters { flex-direction: row; overflow-x: auto; padding-bottom: 10px; }
        .faq-filters li { white-space: nowrap; }
        .faq-filters::-webkit-scrollbar { height: 4px; }
        .faq-filters::-webkit-scrollbar-thumb { background: var(--accent-neon); border-radius: 10px; }
        .faq-question h4 { font-size: 15px; }
    }
    
    /* =========================================
   RESPONSIVE FAQ (Mobile Drag & Scroll)
   ========================================= */
@media (max-width: 960px) {
    .faq-layout-container { flex-direction: column; }
    .faq-sidebar { width: 100%; position: relative; top: 0; }
    
    .sidebar-inner {
        padding: 15px; /* تصغير الحواف عشان تدي مساحة للسحب */
    }
    
    /* إخفاء كلمة Categories في الموبايل عشان نوفر مساحة وشكلها يبقى زي الـ Apps */
    .sidebar-inner h3 { display: none; }

    /* السحر هنا: تفعيل السحب الناعم وإخفاء شريط التمرير */
    .faq-filters { 
        flex-direction: row; 
        overflow-x: auto; 
        padding-bottom: 5px; 
        gap: 10px;
        -webkit-overflow-scrolling: touch; /* سكرول ناعم جداً زي الزبدة للايفون */
        scrollbar-width: none; /* إخفاء السكرول في فايرفوكس */
        cursor: grab; /* شكل الماوس كأنه إيد بتمسك */
    }
    
    /* إخفاء السكرول بار تماماً في كروم وسفاري */
    .faq-filters::-webkit-scrollbar { 
        display: none; 
    }
    
    /* منع الزراير إنها تنضغط فوق بعضها */
    .faq-filters li { 
        white-space: nowrap; 
        flex-shrink: 0; 
    }
    
    .faq-question h4 { font-size: 15px; }
}
   
    


/* =========================================
   WORDPRESS INTEGRATION & TEMPLATE STYLES
   ========================================= */

/* Reset wp_nav_menu list elements inside theme nav containers */
.nav-links ul,
.mobile-links ul,
.links-col ul,
.footer-bottom-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links ul {
    display: flex;
    align-items: center;
}

.nav-links li,
.links-col li {
    margin: 0;
    padding: 0;
}

/* Active state compatibility for WordPress current-menu-item */
.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a,
.nav-links a.active {
    color: var(--accent-neon) !important;
    position: relative;
}

.nav-links li.current-menu-item > a::after,
.nav-links li.current_page_item > a::after,
.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-neon);
    box-shadow: 0 0 8px var(--accent-neon);
    border-radius: 10px;
}

.mobile-links ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-links li.current-menu-item > .m-link .m-text,
.mobile-links li.current_page_item > .m-link .m-text {
    color: var(--accent-neon);
}

.mobile-links li.current-menu-item > .m-link .m-num,
.mobile-links li.current_page_item > .m-link .m-num {
    opacity: 1;
}

.footer-bottom-links ul {
    display: flex;
    gap: 20px;
}

/* WordPress Admin Bar offset */
body.admin-bar .main-header,
body.admin-bar nav {
    top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .main-header,
    body.admin-bar nav {
        top: 46px;
    }
}

/* Restore normal cursor on touch / coarse pointer devices */
@media (pointer: coarse) {
    * {
        cursor: auto !important;
    }
    .custom-cursor {
        display: none !important;
    }
}

/* Contact form inline feedback */
.form-status-msg {
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    min-height: 20px;
}

.form-status-msg.is-success {
    color: #16a34a;
}

.form-status-msg.is-error {
    color: #dc2626;
}

/* Blog Archive, Single Post, Default Page & 404 */
.wp-archive-section,
.wp-single-section,
.wp-page-section,
.wp-404-section {
    padding: 140px 10% 100px;
    min-height: 75vh;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.blog-card-thumb {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.blog-card-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: var(--accent-neon);
}

.blog-card-excerpt {
    color: var(--text-dim);
    font-size: 15px;
    margin-bottom: 20px;
    flex: 1;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-neon);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.blog-read-more:hover {
    text-decoration: underline;
}

.wp-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.wp-pagination .nav-links {
    display: flex;
    gap: 10px;
}

.wp-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    font-weight: 700;
    text-decoration: none;
    margin-left: 0;
}

.wp-pagination .page-numbers.current,
.wp-pagination .page-numbers:hover {
    background: var(--accent-neon);
    color: #ffffff;
}

.wp-article-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 45px;
}

.wp-article-header {
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
}

.wp-article-header h1 {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--text-main);
    margin: 15px 0 12px;
    line-height: 1.25;
}

.wp-article-thumb {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 30px;
}

.wp-entry-content {
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.8;
}

.wp-entry-content p,
.wp-entry-content ul,
.wp-entry-content ol,
.wp-entry-content h2,
.wp-entry-content h3 {
    margin-bottom: 18px;
}

.wp-404-card {
    max-width: 640px;
    margin: 40px auto;
    padding: 60px 40px;
    text-align: center;
}

.wp-404-code {
    font-size: 84px;
    font-weight: 900;
    color: var(--accent-neon);
    line-height: 1;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .wp-archive-section,
    .wp-single-section,
    .wp-page-section,
    .wp-404-section {
        padding: 120px 6% 70px;
    }
    .wp-article-container {
        padding: 28px 20px;
    }
}
