/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --dark-deep: #030508;
    --dark-card: #0a0e17;
    --accent-blue: #00d2ff;
    --accent-purple: #3a7bd5;
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --grad: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    --font-main: 'IBM Plex Sans Arabic', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body { 
    background-color: var(--dark-deep); 
    color: var(--text-main); 
    font-family: var(--font-main); 
    line-height: 1.8;
    overflow-x: hidden;
}

a { text-decoration: none; transition: 0.3s ease; }
ul { list-style: none; }

/* =========================================
   2. REUSABLE COMPONENTS (BUTTONS, SECTIONS)
   ========================================= */
/* Buttons */
.btn-primary {
    padding: 16px 45px; background: var(--grad); color: white; border-radius: 12px;
    font-weight: 700; display: inline-block; border: none; cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,210,255,0.3); transition: 0.4s;
}
.btn-primary:hover { 
    transform: translateY(-5px) scale(1.02); 
    box-shadow: 0 15px 40px rgba(0,210,255,0.5); color: white;
}

/* Section Standard */
section { padding: 100px 8%; position: relative; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; margin-bottom: 20px; }
.section-header p { color: var(--accent-blue); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

/* Reveal Animation Class */
[data-reveal] { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
[data-reveal].active { opacity: 1; transform: translateY(0); }

/* =========================================
   3. NAVBAR & MOBILE MENU
   ========================================= */
nav {
    position: fixed; top: 0; left: 0; width: 100%; padding: 20px 8%;
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(3, 5, 8, 0.85); backdrop-filter: blur(15px); z-index: 2000;
    border-bottom: 1px solid rgba(255,255,255,0.05); transition: 0.3s ease;
}
.logo img { height: 45px; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: white; font-weight: 500; font-size: 0.95rem; position: relative; padding: 5px 0; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-blue); }

/* Mobile Menu Button */
.menu-btn { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 3000; }
.menu-btn span { display: block; width: 30px; height: 3px; background: white; border-radius: 10px; transition: 0.3s ease; }
.menu-btn.open span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed; top: 0; right: -100%; width: 85%; height: 100vh;
    background: var(--dark-deep); backdrop-filter: blur(20px); z-index: 2500;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border-left: 1px solid rgba(255,255,255,0.1); transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
}
.mobile-menu.active { right: 0; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 30px; text-align: center; margin-top: 40px; }
.mobile-nav-links a { color: white; font-size: 1.2rem; font-weight: 700; }
.mobile-logo { position: absolute; top: 30px; width: 100%; text-align: center; }
.mobile-logo img { height: 50px; }

@media (max-width: 992px) {
    .nav-links { display: none; }
    .menu-btn { display: flex; }
    section { padding: 60px 5%; }
}

/* =========================================
   4. HOME PAGE STYLES (HERO, SERVICES)
   ========================================= */
.hero {
    min-height: 100vh; display: flex; align-items: center; padding: 120px 8% 0;
    background: radial-gradient(circle at 70% 30%, #112240 0%, var(--dark-deep) 70%);
}
.hero-content h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1.1; margin-bottom: 25px; }
.hero-content h1 span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.25rem; color: var(--text-dim); margin-bottom: 40px; max-width: 650px; }

/* Services Grid */
/* =========================================
   PREMIUM SERVICES SECTION
   ========================================= */
.services-premium {
    background-color: var(--dark-deep);
    position: relative;
    overflow: hidden;
}

/* خلفية جمالية خفيفة وراء الخدمات */
.services-premium::before {
    content: '';
    position: absolute;
    top: 20%; right: 0;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0,210,255,0.03) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.premium-card {
    background: #0a0e17; /* لون الكرت الأساسي */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* تأثير الرفع عند الهوفر */
.premium-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* الأيقونة العائمة */
.card-icon {
    width: 70px; height: 70px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 25px;
    font-size: 2rem;
    color: var(--accent-blue);
    transition: 0.4s;
    animation: floatIcon 4s ease-in-out infinite;
}

/* حركة الأيقونة */
@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.premium-card:hover .card-icon {
    background: var(--grad);
    color: white;
    transform: scale(1.1) rotate(-5deg);
    animation: none; /* نوقف الحركة العائمة عند الهوفر */
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: white;
}

.card-content p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* القائمة الفرعية داخل الكرت */
.service-list {
    margin-bottom: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.service-list li i {
    color: var(--accent-blue);
    font-size: 0.8rem;
}

/* زر الرابط */
.service-link {
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}

.service-link:hover {
    gap: 15px; /* حركة السهم */
    color: white;
}

/* تأثير الإضاءة الخلفية عند الهوفر */
.glow-effect {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 210, 255, 0.1), transparent 40%);
    opacity: 0;
    transition: 0.4s;
    pointer-events: none;
}

.premium-card:hover .glow-effect {
    opacity: 1;
}

/* الموبايل */
@media (max-width: 768px) {
    .services-container {
        grid-template-columns: 1fr;
    }
    .premium-card {
        padding: 30px 20px;
    }
}

/* Partners Slider */
/* ========================
   PREMIUM PARTNERS SLIDER
   ======================== */
.slider-area {
    width: 100%;
    overflow: hidden;
    padding: 30px 0;
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    width: 200%;              /* 🔥 أهم سطر */
    animation: loop 20s linear infinite;
}

.logo-item {
    flex: 0 0 auto;
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) opacity(0.5);
    transition: 0.3s ease;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.logo-item:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.08);
}

/* 🔁 اللوب الحقيقي */
@keyframes loop {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* FAQ */
.faq-item { background: var(--dark-card); margin-bottom: 15px; border-radius: 10px; overflow: hidden; }
.faq-question { padding: 20px; cursor: pointer; display: flex; justify-content: space-between; font-weight: 600; }
.faq-answer { max-height: 0; overflow: hidden; transition: 0.4s; padding: 0 20px; color: var(--text-dim); }
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 20px; }
.faq-item.active .faq-question { color: var(--accent-blue); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.testimonial-card { background: rgba(255,255,255,0.03); padding: 30px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); }

/* =========================================
   5. ABOUT PAGE STYLES
   ========================================= */
.page-hero {
    height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.05) 0%, var(--dark-deep) 70%); padding: 0 5%;
}
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 800; margin-bottom: 20px; }
.page-hero span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

.stats-bar {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px;
    background: rgba(255,255,255,0.02); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.05);
    padding: 40px; border-radius: 20px; max-width: 1000px; margin: -50px auto 100px; position: relative; z-index: 10; text-align: center;
}
.stat-item h3 { font-size: 3rem; font-weight: 800; color: var(--accent-blue); }

.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 30px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); margin-top: 50px;}
.diff-card { padding: 50px; }
.diff-card.others { background: #0a0e17; }
.diff-card.weblix { background: rgba(0,210,255,0.05); }
@media (max-width: 768px) { .diff-grid { grid-template-columns: 1fr; } }

/* =========================================
   6. CONTACT PAGE STYLES
   ========================================= */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; }
.contact-card { background: var(--dark-card); padding: 30px; border-radius: 20px; margin-bottom: 20px; text-align: center; border: 1px solid rgba(255,255,255,0.05); }
.contact-card:hover { border-color: var(--accent-blue); }

.form-container { background: var(--dark-card); padding: 40px; border-radius: 25px; border: 1px solid rgba(255,255,255,0.05); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 10px; color: var(--accent-blue); }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 15px; background: #0f172a; border: 1px solid #1e293b; border-radius: 10px; color: white;
}
.form-group input:focus { border-color: var(--accent-blue); outline: none; }
iframe { width: 100%; height: 400px; border-radius: 20px; filter: invert(90%) hue-rotate(180deg); border: none; }

@media (max-width: 992px) { .contact-grid { grid-template-columns: 1fr; } }

/* =========================================
   7. FOOTER
   ========================================= */
footer { padding: 60px 8%; text-align: center; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 50px; background: #010204; }
footer img { height: 50px; margin-bottom: 20px; }
footer p { color: var(--text-dim); font-size: 0.9rem; }
footer a { color: var(--text-dim); margin: 0 10px; font-size: 0.9rem; }
footer a:hover { color: white; }




/* ========================
   PREMIUM REVIEWS SECTION
   ======================== */
.reviews-premium {
    position: relative;
    overflow: hidden;
    padding-bottom: 80px; /* مساحة للمؤشر */
}

/* خلفية ضبابية ملونة */
.reviews-bg-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80%; height: 60%;
    background: radial-gradient(circle, rgba(58, 123, 213, 0.1) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

/* حاوية السكرول الأفقية */
.reviews-scroller {
    display: flex;
    gap: 30px;
    overflow-x: auto; /* يسمح بالسكرول الأفقي */
    padding: 20px 0% 50px; /* بادينغ عشان الظل ما ينقص */
    scroll-snap-type: x mandatory; /* السر: إجبار الكرت يوقف بالنص */
    scrollbar-width: none; /* إخفاء السكرول بار لفايرفوكس */
    position: relative;
    z-index: 2;
}

/* إخفاء السكرول بار للكروم وسفاري */
.reviews-scroller::-webkit-scrollbar {
    display: none;
}

/* الكرت الزجاجي */
.review-card {
    min-width: 400px; /* عرض ثابت للديسكتوب */
    background: rgba(16, 20, 30, 0.6); /* لون غامق شفاف */
    backdrop-filter: blur(12px); /* تأثير الزجاج */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 35px;
    scroll-snap-align: center; /* الكرت يسنتر حاله */
    transition: 0.4s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    background: rgba(16, 20, 30, 0.9);
    border-color: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.client-avatar {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
}

.client-info h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.client-info span {
    color: var(--text-dim);
    font-size: 0.85rem;
}

.platform-icon {
    margin-right: auto; /* يدفش الأيقونة لليسار */
    color: #cbd5e1;
    font-size: 1.2rem;
}

.stars {
    color: #fbbf24; /* لون ذهبي للنجوم */
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.review-text {
    color: #e2e8f0;
    line-height: 1.7;
    font-size: 1rem;
    font-style: italic;
    flex-grow: 1; /* عشان يخلي البادج تحت دائماً */
    margin-bottom: 25px;
}

.verified-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 600;
    background: rgba(0, 210, 255, 0.08);
    width: fit-content;
    padding: 6px 15px;
    border-radius: 50px;
}

/* مؤشر السحب */
.scroll-hint {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0.6;
    animation: pulseHint 2s infinite;
}

@keyframes pulseHint {
    0%, 100% { opacity: 0.6; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(-5px); }
}

/* ------ Mobile Optimization ------ */
@media (max-width: 768px) {
    .reviews-scroller {
        padding: 10px 5% 40px; /* تقليل الهوامش */
        gap: 15px;
    }
    
    .review-card {
        min-width: 85%; /* الكرت ياخذ 85% من عرض الشاشة */
        padding: 25px;
    }
    
    .review-text {
        font-size: 0.95rem;
    }
}

/* ========================
   MODERN SPLIT CONTACT SECTION
   ======================== */
.contact-modern {
    padding: 100px 8%;
    background: #05080f; /* لون خلفية غامق ومتناسق */
    position: relative;
}

.contact-modern-container {
    display: flex;
    align-items: stretch; /* يخلي العمودين نفس الطول */
    gap: 50px; /* مسافة واضحة بين النص والخريطة */
    background: var(--dark-card); /* خلفية الكرت الكبير */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    padding: 20px; /* حشوة داخلية للكرت كله */
    overflow: hidden;
}

/* --- الجزء اليمين: النصوص --- */
.contact-info-side {
    flex: 1; /* ياخذ نص المساحة */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.highlight-text {
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: block;
}

.contact-info-side h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 20px;
    line-height: 1.3;
}

.contact-info-side p {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* تفاصيل الاتصال */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: 0.3s;
}

.c-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-blue);
}

.icon-box {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, rgba(0,210,255,0.1) 0%, rgba(58,123,213,0.1) 100%);
    color: var(--accent-blue);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}

.c-text {
    display: flex;
    flex-direction: column;
}

.c-text span { font-size: 0.85rem; color: var(--text-dim); }
.c-text strong { font-size: 1.1rem; color: white; }

/* --- الجزء اليسار: الخريطة --- */
.contact-map-side {
    flex: 1; /* ياخذ النص الثاني من المساحة */
    border-radius: 20px;
    overflow: hidden;
    min-height: 400px; /* ارتفاع مضمون للخريطة */
    position: relative;
}

.contact-map-side iframe {
    width: 100%;
    height: 100%;
    border: none;
    /* فلتر الدارك مود */
    filter: grayscale(100%) invert(92%) contrast(83%);
    border-radius: 20px;
}

/* ========================
   MOBILE OPTIMIZATION (THE FIX)
   ======================== */
@media (max-width: 992px) {
    .contact-modern {
        padding: 60px 5%;
    }

    .contact-modern-container {
        flex-direction: column;
        padding: 15px;
        gap: 30px;
    }

    /* ===== النصوص ===== */
    .contact-info-side {
        padding: 20px 10px;
        order: 1;
    }

    .contact-info-side h2 {
        font-size: 1.8rem;
    }

    /* ===== الخريطة (الحل الحقيقي هنا) ===== */
    .contact-map-side {
        order: 2;
        height: 260px;          /* ✅ ارتفاع فعلي */
        min-height: unset;      /* ❌ نلغي القديم */
        border-radius: 20px;
        overflow: hidden;
    }

    .contact-map-side iframe {
        width: 100%;
        height: 100%;           /* ✅ الآن تملأ الكارد */
        display: block;
    }
}



/* ========================
   PREMIUM FOOTER STYLES
   ======================== */
.footer-premium {
    background-color: #020305; /* أسود حالك */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 8% 30px;
    position: relative;
    overflow: hidden;
    margin-top: 0; /* لأن السيكشن اللي قبله غامق */
}

/* التوهج العلوي */
.footer-glow {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-blue), transparent);
    box-shadow: 0 0 30px var(--accent-blue);
    opacity: 0.5;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr; /* تقسيم الأعمدة */
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

/* خط صغير تحت العنوان */
.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -8px; right: 0;
    width: 40px; height: 2px;
    background: var(--accent-blue);
}

.brand-col p {
    color: var(--text-dim);
    line-height: 1.8;
    margin: 20px 0;
    font-size: 0.95rem;
}

/* السوشيال ميديا */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: white;
    transition: 0.3s;
    border: 1px solid transparent;
}

.social-links a:hover {
    background: var(--accent-blue);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.3);
}

/* الروابط */
.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-dim);
    font-size: 0.95rem;
    transition: 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--accent-blue);
    transform: translateX(-5px); /* حركة خفيفة لليسار */
}

/* النشرة البريدية */
.newsletter-col p { color: var(--text-dim); margin-bottom: 20px; font-size: 0.9rem; }

.newsletter-form {
    display: flex;
    position: relative;
    margin-bottom: 20px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.newsletter-form button {
    position: absolute;
    left: 5px; top: 5px; bottom: 5px;
    background: var(--accent-blue);
    border: none;
    width: 40px;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.newsletter-form button:hover { background: #3a7bd5; }

.contact-mini {
    color: white;
    font-size: 0.9rem;
    display: flex; align-items: center; gap: 10px;
}

.contact-mini i { color: var(--accent-blue); }

/* الفوتر السفلي */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.legal-links a { color: var(--text-dim); margin: 0 10px; }
.legal-links a:hover { color: white; }
.separator { opacity: 0.3; }

/* زر العودة للأعلى */
#backToTop {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: var(--grad);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1000;
    opacity: 0; /* مخفي بالبداية */
    visibility: hidden;
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover {
    transform: translateY(-5px);
}

/* ------ Mobile Optimization ------ */
@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr; /* عمود واحد */
        text-align: center;
        gap: 50px;
    }

    .footer-col h3::after {
        right: 50%;
        transform: translateX(50%); /* توسيط الخط تحت العنوان */
    }

    .social-links {
        justify-content: center;
    }

    .footer-links a:hover {
        transform: none; /* الغاء الحركة في الموبايل */
        color: var(--accent-blue);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .newsletter-form {
        max-width: 400px;
        margin: 0 auto 20px;
    }
    
    .contact-mini {
        justify-content: center;
    }
}



/* ========================
   ABOUT PAGE STYLES
   ======================== */

/* 1. Hero Section */
.about-hero {
    height: 60vh; /* ارتفاع متوسط */
    background: radial-gradient(circle at center, #112240 0%, var(--dark-deep) 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    position: relative;
}

.about-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
}

.about-hero span {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 2. Stats Section (Floating) */
.stats-section {
    padding: 0 8%;
    position: relative;
    z-index: 10;
    margin-top: -80px; /* تداخل مع الهيرو */
}

.stats-container {
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.stat-box {
    text-align: center;
    position: relative;
}

/* خط فاصل بين العدادات (يظهر بالديسكتوب فقط) */
.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0; top: 20%; height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-box h3 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-blue);
    margin-bottom: 5px;
}

.stat-box p {
    color: var(--text-dim);
    font-weight: 500;
}

/* 3. Mobile Adjustments */
@media (max-width: 992px) {
    .about-hero { height: 50vh; }
    
    .stats-section { margin-top: -50px; }
    
    .stats-container {
        grid-template-columns: 1fr 1fr; /* عمودين في الموبايل */
        padding: 20px;
        gap: 20px;
    }

    .stat-box h3 { font-size: 2rem; }
    
    /* إخفاء الخط الفاصل في الموبايل */
    .stat-box:not(:last-child)::after { display: none; }
}



/* ========================
   DIFFERENCE SECTION (المقارنة)
   ======================== */
.diff-section {
    background-color: var(--dark-deep);
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* عمودين متساويين */
    gap: 0; /* لا يوجد فراغ بينهم لدمج التصميم */
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- تصميم الكرت العام --- */
.diff-card {
    padding: 60px 40px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.diff-card h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.diff-badge {
    position: absolute;
    top: 30px; left: 40px;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 15px;
    border-radius: 50px;
    text-transform: uppercase;
}

.diff-list {
    list-style: none;
}

.diff-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start; /* عشان الأيقونة تكون محاذية للنص من فوق */
    gap: 12px;
    font-size: 1rem;
    line-height: 1.6;
}

/* --- ستايل (السوق التقليدي) --- */
.diff-card.others {
    background: #0a0e14; /* لون غامق جداً ومطفي */
    border-right: 1px solid rgba(255,255,255,0.05);
}

.diff-card.others h3 { color: var(--text-dim); }
.diff-card.others i { opacity: 0.7; }

.diff-badge.gray {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
}

.diff-list li.negative {
    color: var(--text-dim);
}

.diff-list li.negative i {
    color: #ef4444; /* أحمر */
    margin-top: 5px;
}

/* --- ستايل (ويبليكس) --- */
.diff-card.weblix {
    background: radial-gradient(circle at top right, rgba(0, 210, 255, 0.05), #0f172a);
    position: relative;
}

/* خط مضيء فوق كرت ويبليكس */
.diff-card.weblix::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--grad);
}

.diff-badge.blue {
    background: var(--grad);
    color: white;
}

.diff-list li.positive {
    color: white;
    font-weight: 500;
}

.diff-list li.positive i {
    color: var(--accent-blue);
    margin-top: 5px;
    font-size: 1.1rem;
}

/* --- Mobile Optimization --- */
@media (max-width: 992px) {
    .diff-grid {
        grid-template-columns: 1fr; /* كرت تحت كرت */
        border-radius: 20px;
    }

    .diff-card {
        padding: 40px 25px;
    }

    .diff-card.others {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        background: #080a0f;
    }

    .diff-badge {
        position: static; /* نلغي التموضع المطلق في الموبايل */
        display: inline-block;
        margin-bottom: 20px;
    }

    .diff-card h3 {
        font-size: 1.5rem;
    }
}






/* ========================
   ROADMAP SECTION (رحلتك نحو القمة)
   ======================== */
.roadmap-section {
    background-color: #080c14; /* خلفية متناسقة مع الثيم */
    position: relative;
    overflow: hidden;
}

.roadmap-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* الكرت الأساسي */
.step-card {
    background: var(--dark-card);
    padding: 40px 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
    /* خط وهمي يربط الكروت ببعض */
}

/* تأثير الهوفر */
.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    background: linear-gradient(145deg, rgba(0, 210, 255, 0.05) 0%, var(--dark-card) 100%);
}

/* الرقم الخلفي الكبير */
.step-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    font-family: sans-serif; /* رقم انجليزي ستايلش */
    transition: 0.4s;
}

.step-card:hover .step-number {
    color: rgba(0, 210, 255, 0.1);
    transform: scale(1.1);
}

/* الأيقونة */
.step-icon {
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    transition: 0.4s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-card:hover .step-icon {
    background: var(--grad);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

/* النصوص */
.step-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: white;
    position: relative;
    z-index: 1;
}

.step-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .roadmap-container {
        grid-template-columns: 1fr; /* كرت تحت كرت */
        gap: 20px;
    }
    
    .step-card {
        padding: 30px;
        text-align: center; /* سنترة النصوص في الموبايل */
        align-items: center;
    }
    
    .step-number {
        right: 50%;
        transform: translateX(50%); /* توسيط الرقم في الموبايل */
        top: 10px;
        font-size: 5rem;
    }
}



/* ========================
   FINAL CTA SECTION (القفلة)
   ======================== */
.final-cta-section {
    padding: 80px 8% 120px; /* مساحة واسعة */
    background: var(--dark-deep);
    display: flex;
    justify-content: center;
}

.cta-glow-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.03); /* شفافية */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    padding: 80px 40px;
    text-align: center;
    overflow: hidden; /* عشان الدوائر ما تطلع برا */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

/* النصوص */
.cta-content {
    position: relative;
    z-index: 2; /* فوق الخلفية */
}

.cta-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
}

.cta-content h2 span {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* الأزرار */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline {
    padding: 16px 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgb(255, 255, 255);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-outline:hover {
    background: rgb(45, 194, 85);
    color: var(--dark-deep);
    border-color: white;
}

/* الخلفية المتحركة (Glow Animation) */
.glow-circle {
    position: absolute;
    width: 400px; height: 400px;
    border-radius: 50%;
    filter: blur(80px); /* تغبيش قوي */
    opacity: 0.4;
    z-index: 1;
    animation: moveGlow 10s infinite alternate;
}

.gc-1 {
    background: var(--accent-blue);
    top: -100px; left: -100px;
}

.gc-2 {
    background: var(--accent-purple);
    bottom: -100px; right: -100px;
    animation-delay: -5s; /* يبدأ متأخر */
}

@keyframes moveGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .cta-glow-container {
        padding: 50px 20px;
        border-radius: 25px;
    }
    
    .cta-buttons {
        flex-direction: column; /* أزرار تحت بعض */
        gap: 15px;
    }
    
    .btn-outline, .btn-primary {
        width: 100%; /* تعبئة العرض */
        justify-content: center;
    }
}

/* ========================
   CONTACT PAGE STYLES
   ======================== */

.contact-hero-bg {
    /* تغيير بسيط في خلفية الهيرو لصفحة التواصل */
    background: radial-gradient(circle at bottom, #0d1b2a 0%, var(--dark-deep) 70%);
}

.contact-page-section {
    padding: 0 8% 80px;
    margin-top: -60px; /* تداخل مع الهيرو */
    position: relative;
    z-index: 5;
}

.contact-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* العمود اليسار (الفورم) أعرض */
    gap: 40px;
    align-items: start;
}

/* --- كرت المعلومات (يمين) --- */
.contact-info-card {
    background: var(--dark-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%; /* عشان يطابق طول الفورم */
}

.contact-info-card h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 15px;
}

.contact-info-card p {
    color: var(--text-dim);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-circle {
    width: 50px; height: 50px;
    background: rgba(0, 210, 255, 0.05);
    border-radius: 12px;
    color: var(--accent-blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s;
}

.info-item:hover .icon-circle {
    background: var(--grad);
    color: white;
    transform: rotate(10deg);
}

.info-item div span { font-size: 0.8rem; color: var(--text-dim); display: block; }
.info-item div strong { font-size: 1rem; color: white; }

.social-mini {
    margin-top: 40px;
    display: flex; gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.social-mini a {
    width: 35px; height: 35px;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 0.9rem;
}

.social-mini a:hover { background: var(--accent-blue); }

/* --- كرت الفورم (يسار) --- */
.contact-form-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.form-header { margin-bottom: 30px; }
.form-header h3 { font-size: 1.8rem; color: white; }
.form-header p { color: var(--accent-blue); font-size: 0.9rem; }

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.input-box { margin-bottom: 20px; }

.input-box label {
    display: block;
    color: var(--text-dim);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.input-box input,
.input-box select,
.input-box textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

/* تأثير التركيز (Focus) */
.input-box input:focus,
.input-box select:focus,
.input-box textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
    background: rgba(0, 210, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.1);
}

/* تنسيق خيارات الـ Select */
.input-box select option {
    background: #0a0e17;
    color: white;
}

.w-100 { width: 100%; justify-content: center; font-size: 1.1rem; padding: 18px; }

/* --- خريطة كاملة --- */
.map-section-full {
    height: 450px;
    width: 100%;
    filter: grayscale(100%) invert(92%) contrast(83%);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.map-section-full iframe {
    width: 100%; height: 100%; border: none;
}

/* --- Mobile Optimization --- */
@media (max-width: 992px) {
    .contact-grid-wrapper {
        grid-template-columns: 1fr; /* عمود واحد */
        gap: 30px;
    }

    .contact-page-section {
        padding: 0 5% 60px;
        margin-top: -30px;
    }

    .contact-form-card, .contact-info-card {
        padding: 30px 20px;
    }

    .input-group {
        grid-template-columns: 1fr; /* الاسم والهاتف تحت بعض */
    }
}



/* ========================
   SERVICES PAGE STYLES
   ======================== */
.services-hero-bg {
    background: radial-gradient(circle at top right, #1e293b 0%, var(--dark-deep) 70%);
}

/* --- Service Blocks (Zig-Zag) --- */
.detailed-services {
    padding: 80px 8%;
    display: flex;
    flex-direction: column;
    gap: 120px; /* مسافة كبيرة بين الخدمات */
}

.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* عكس الترتيب للكروت الزوجية (الصورة يسار والنص يمين) */
.service-block.reversed {
    direction: ltr; /* يعكس الاتجاه بصرياً */
}

/* إرجاع النص لليمين داخل الكرت المعكوس */
.service-block.reversed .srv-content {
    direction: rtl; 
    text-align: right;
}

/* --- المحتوى النصي --- */
.srv-icon {
    width: 60px; height: 60px;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-blue);
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.srv-content h2 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 20px;
}

.srv-content p {
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.srv-features {
    list-style: none;
    margin-bottom: 35px;
}

.srv-features li {
    margin-bottom: 15px;
    color: white;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.srv-features li i { color: var(--accent-blue); }

.btn-text {
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
}

.btn-text:hover { gap: 15px; border-color: var(--accent-blue); }

/* --- الصور --- */
.srv-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.srv-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
    display: block; /* يمنع فراغ أسفل الصورة */
}

.service-block:hover .srv-image img { transform: scale(1.05); }

/* التوهج خلف الصورة */
.srv-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0,210,255,0.2), transparent 70%);
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}

.service-block:hover .srv-glow { opacity: 1; }


.tech-inline {
    padding: 100px 8%;
    background: #05080f;
    text-align: center;
}

.tech-inline-list {
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 40px;
}

.tech-inline-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #cbd5e1;
    opacity: 0.75;
    transition: 0.3s ease;
}

.tech-inline-list i {
    font-size: 1.4rem;
}

.tech-inline-list span:hover {
    opacity: 1;
    color: white;
}

.tech-inline-list span:hover i {
    color: var(--accent-blue);
}



/* =========================
   FIX SERVICES – MOBILE ONLY
   ========================= */
@media (max-width: 992px) {

    .detailed-services {
        padding: 60px 6%;
        display: flex;
        flex-direction: column;
        gap: 80px;
    }

    /* كل بلوك عمود واحد */
    .service-block,
    .service-block.reversed {
        display: flex;
        flex-direction: column;
        gap: 35px;
        direction: rtl;
        text-align: right;
    }

    /* إلغاء فكرة reversed على الموبايل */
    .service-block.reversed {
        flex-direction: column;
    }

    /* الصورة */
    .srv-image {
        width: 100%;
        height: 220px;
        border-radius: 20px;
        overflow: hidden;
        order: 1;
    }

    .srv-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    /* تقليل الـ glow */
    .srv-glow {
        display: none;
    }

    /* النص */
    .srv-content {
        order: 2;
    }

    .srv-content h2 {
        font-size: 1.6rem;
        line-height: 1.4;
    }

    .srv-content p {
        font-size: 0.95rem;
        line-height: 1.8;
        margin-bottom: 18px;
    }

    .srv-features {
        margin-bottom: 15px;
    }

    .srv-features li {
        font-size: 0.9rem;
        line-height: 1.7;
    }

    /* الزر */
    .srv-content .btn-text {
        margin-top: 10px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 0.95rem;
    }

    /* الأيقونة */
    .srv-icon {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
}



/* ========================
   WX SEO WORKFLOW (UNIQUE CLASSES)
   ======================== */
.wx-workflow-section {
    padding: 100px 8%;
    background-color: #080c14; /* خلفية داكنة */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.wx-workflow-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* قسمين متساويين */
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- النصوص --- */
.wx-sub-tag {
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.wx-workflow-text h2 {
    font-size: 2.5rem;
    line-height: 1.3;
    color: white;
    margin-bottom: 30px;
}

.wx-highlight-text {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wx-seo-content p {
    color: #cbd5e1; /* لون مريح للقراءة */
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.wx-seo-content strong {
    color: white;
    font-weight: 600;
}

/* --- القائمة (الخطوات) --- */
.wx-workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.wx-step-item {
    display: flex;
    gap: 25px;
    background: rgba(255, 255, 255, 0.02);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.wx-step-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-blue);
    transform: translateX(-10px); /* حركة خفيفة لليسار */
}

.wx-step-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.1);
    font-family: sans-serif;
    line-height: 1;
}

.wx-step-item:hover .wx-step-number {
    color: var(--accent-blue); /* الرقم بضوي عند الهوفر */
}

.wx-step-info h3 {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 10px;
}

.wx-step-info p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* زر الرابط */
.wx-btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 700;
    text-decoration: none;
    margin-top: 20px;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 5px;
    transition: 0.3s;
}

.wx-btn-arrow:hover {
    gap: 15px;
    color: var(--accent-blue);
}

/* --- Mobile Optimization --- */
@media (max-width: 992px) {
    .wx-workflow-section { padding: 80px 5%; }
    
    .wx-workflow-container {
        grid-template-columns: 1fr; /* عمود واحد */
        gap: 50px;
    }

    .wx-workflow-text h2 { font-size: 2rem; }
    
    .wx-step-item {
        padding: 20px;
        align-items: flex-start;
    }
}



/* تخصيص السكرول بار ليناسب ثيم الموقع */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--dark-deep);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--accent-blue), var(--accent-purple));
    border-radius: 10px;
}


/* FAQ Section */
.faq-section {
    background: var(--dark-deep);
    padding: 100px 8%;
}

.faq-container {
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    transition: 0.3s;
}

/* السؤال */
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 28px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #e5e7eb;
}

.faq-question h3 {
    font-size: 1.05rem;
    margin: 0;
    text-align: right;
}

/* الأيقونة */
.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0,210,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s;
}

/* الجواب – الحل السحري */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease;
}

.faq-answer p {
    overflow: hidden;
    padding: 0 28px 22px;
    color: var(--text-dim);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* الحالة المفتوحة */
.faq-item.active {
    border-color: var(--accent-blue);
    background: rgba(0,210,255,0.05);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-icon {
    transform: rotate(135deg);
    background: var(--accent-blue);
    color: #fff;
}

/* موبايل */
@media (max-width: 768px) {
    .faq-question {
        padding: 18px 20px;
    }
    .faq-question h3 {
        font-size: 0.95rem;
    }
}



/* ========================
   PARTNERS CAROUSEL (FINAL POLISH)
   ======================== */
.partners-carousel-section {
    padding: 100px 0;
    background-color: var(--dark-deep);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    /* overflow: hidden; <-- شلنا هذا عشان الأسهم ما تنقص اذا الشاشة صغيرة */
    overflow-x: clip; /* بديل حديث يمنع السكرول العرضي للصفحة بس يخلي العناصر تظهر */
}

.carousel-wrapper {
    /* صغرنا العرض شوي عشان نعطي مساحة مريحة للأسهم عالجوانب */
    max-width: 900px; 
    margin: 40px auto 0;
    position: relative;
    display: flex;
    align-items: center;
}

/* طبقات التلاشي (الظل الجانبي) */
.carousel-fade {
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.right-fade {
    right: -1px;
    background: linear-gradient(to left, var(--dark-deep) 10%, transparent);
}

.left-fade {
    left: -1px;
    background: linear-gradient(to right, var(--dark-deep) 10%, transparent);
}

/* المسار المتحرك */
.carousel-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    width: 100%;
    padding: 20px 0 50px;
    z-index: 1;
}

.carousel-track::-webkit-scrollbar { display: none; }

/* تصميم الكرت */
.p-card {
    min-width: calc((100% - 60px) / 3);
    height: 240px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scroll-snap-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
        /* ... باقي الخصائص الموجودة ... */
    text-decoration: none; /* عشان يلغي الخط تحت الرابط */
    color: inherit; /* عشان ياخذ اللون من التصميم مش لون الرابط الأزرق */
}

.p-logo {
    width: 130px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.p-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* الفلتر الافتراضي (للكمبيوتر فقط) */
    filter: grayscale(100%) opacity(0.6);
    transition: 0.4s;
}

.p-card h3 {
    color: var(--text-dim);
    font-size: 1.1rem;
    font-weight: 500;
    transition: 0.3s;
    opacity: 0.8;
}

/* Hover Effects (Desktop) */
.p-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-blue);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.p-card:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.p-card:hover h3 {
    color: white;
    opacity: 1;
}

/* --- أزرار التنقل (الأسهم - التعديل الجديد) --- */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 65px; height: 65px; /* كبرنا الزر */
    border-radius: 50%;
    background: transparent; /* خلفية شفافة بالكامل */
    border: 2px solid rgba(255, 255, 255, 0.1); /* إطار رفيع */
    color: white; /* لون السهم */
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* إبعاد الأسهم أكثر */
.prev-btn { right: -130px; } 
.next-btn { left: -130px; }

.nav-btn:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    box-shadow: 0 0 25px rgba(0, 210, 255, 0.2); /* توهج حول الزر */
    transform: translateY(-50%) scale(1.1);
}

.nav-btn:active {
    transform: translateY(-50%) scale(0.9);
}

/* --- Mobile Optimization (إلغاء الفلاتر) --- */
@media (max-width: 1200px) {
    .carousel-wrapper { max-width: 80%; }
    .prev-btn { right: -80px; }
    .next-btn { left: -80px; }
}

@media (max-width: 992px) {
    .nav-btn { display: none; } /* إخفاء الأسهم */
    .carousel-fade { width: 40px; }
    
    .p-card {
        min-width: 260px; /* كرت كبير */
    }
    
    .carousel-wrapper {
        max-width: 100%;
        padding: 0;
    }
    
    .carousel-track {
        padding: 20px 8% 40px;
    }

    /* --- التعديل الجوهري للموبايل: إلغاء الفلتر --- */
    .p-logo img {
        filter: none !important; /* إلغاء الرمادي */
        opacity: 1 !important;   /* إلغاء الشفافية */
        transform: scale(1);     /* حجم طبيعي */
    }
    
    /* إلغاء حركة الرفع عشان ما تعلق */
    .p-card:hover {
        transform: none;
    }
}



/* ========================
   PRICING SECTION
   ======================== */
.pricing-section {
    background-color: var(--dark-deep);
    padding-bottom: 100px;
    position: relative;
}

.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center; /* عشان يسنتر الكرت الكبير بالنص */
}

.price-card {
    background: var(--dark-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 30px;
    width: 320px;
    text-align: center;
    transition: 0.4s;
    position: relative;
}

/* الكرت المميز (بالنص) */
.price-card.featured {
    background: linear-gradient(145deg, rgba(0, 210, 255, 0.05) 0%, #0f172a 100%);
    border: 1px solid var(--accent-blue);
    transform: scale(1.1); /* أكبر شوي */
    z-index: 2;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.popular-badge {
    position: absolute;
    top: -15px; left: 50%;
    transform: translateX(-50%);
    background: var(--grad);
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
}

.price-card.featured:hover {
    transform: scale(1.1) translateY(-10px);
}

.p-header h3 {
    color: var(--text-dim);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.p-header .price {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.p-header .price span {
    font-size: 1rem;
    color: var(--text-dim);
    margin-right: 5px;
}

.p-header p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 20px;
}

/* الميزات */
.p-features {
    list-style: none;
    text-align: right;
    margin-bottom: 30px;
}

.p-features li {
    color: white;
    margin-bottom: 15px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.p-features li i {
    color: var(--accent-blue);
    font-size: 0.9rem;
}

/* الزر */
.btn-price {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-price:hover {
    background: white;
    color: black;
}

.btn-price.primary {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}

.btn-price.primary:hover {
    background: var(--accent-purple);
}

/* Mobile */
@media (max-width: 992px) {
    .pricing-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .price-card { width: 100%; }
    
    .price-card.featured {
        transform: scale(1); /* نلغي التكبير بالموبايل */
        order: -1; /* نخلي المميز يظهر أول واحد فوق */
    }
}



/* ========================
   SEO FEATURE SECTION
   ======================== */
.seo-feature-section {
    padding: 120px 8%;
    background-color: #05080f; /* لون مختلف قليلاً عن الخلفية للفصل */
    position: relative;
    overflow: hidden;
}

.seo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- جانب الصورة --- */
.seo-image-side {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    /* إطار نيون خفيف حول الصورة */
    padding: 10px; 
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.image-wrapper img {
    width: 100%;
    border-radius: 20px;
    display: block;
    filter: brightness(0.9);
    transition: 0.4s;
}

.image-wrapper:hover img {
    filter: brightness(1);
}

/* البطاقة العائمة (تأثير الحركة) */
.floating-stat {
    position: absolute;
    bottom: 30px;
    right: -30px; /* طالعة لبرا شوي */
    background: rgba(10, 14, 23, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    animation: floatStat 4s ease-in-out infinite;
}

@keyframes floatStat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.floating-stat .icon-box {
    width: 50px; height: 50px;
    background: var(--grad);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.2rem;
}

.floating-stat strong {
    display: block;
    font-size: 1.5rem;
    color: white;
    line-height: 1;
    margin-bottom: 5px;
}

.floating-stat span {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* --- جانب النص --- */
.seo-content-side .sub-head {
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.seo-content-side h2 {
    font-size: 2.5rem;
    color: white;
    line-height: 1.3;
    margin-bottom: 25px;
}

.seo-content-side h2 span {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    color: var(--text-dim);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.description strong { color: white; }

/* القائمة النقطية */
.seo-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.seo-points li {
    display: flex;
    gap: 20px;
}

.seo-points i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    background: rgba(0, 210, 255, 0.1);
    width: 60px; height: 60px;
    border-radius: 15px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.seo-points strong {
    display: block;
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.seo-points p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* زر الرابط النصي */
.btn-text {
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 5px;
    transition: 0.3s;
}

.btn-text:hover {
    color: var(--accent-blue);
    padding-right: 10px;
}

/* --- Mobile Optimization --- */
@media (max-width: 992px) {
    .seo-feature-section { padding: 80px 5%; }
    
    .seo-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .floating-stat {
        right: 0; /* ارجاع البطاقة للداخل في الموبايل */
        bottom: -20px;
        padding: 15px 20px;
    }
    
    .seo-content-side h2 { font-size: 2rem; }
}



/* ========================
   SEO AUTHORITY SECTION
   ======================== */
.seo-authority-section {
    padding: 120px 8%;
    background-color: #080c14; /* لون خلفية مميز */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.seo-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* النص ماخد مساحة أكبر شوي */
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- النصوص --- */
.seo-tag {
    display: inline-block;
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    background: rgba(0, 210, 255, 0.1);
    padding: 5px 15px;
    border-radius: 50px;
}

.seo-text-content h2 {
    font-size: 2.5rem;
    color: white;
    line-height: 1.3;
    margin-bottom: 30px;
}

.text-gradient {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.seo-paragraphs p {
    color: #cbd5e1; /* لون مريح جداً للقراءة */
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.seo-paragraphs strong {
    color: white;
    font-weight: 700;
}

/* القائمة */
.seo-checklist {
    list-style: none;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.seo-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: var(--text-dim);
    font-size: 1rem;
}

.seo-checklist i {
    color: var(--accent-blue);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.seo-checklist strong {
    color: white;
}

/* زر الرابط */
.btn-text-arrow {
    color: white;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    border-bottom: 2px solid var(--accent-blue);
    padding-bottom: 5px;
}

.btn-text-arrow:hover {
    color: var(--accent-blue);
    padding-right: 10px;
}

/* --- الصورة والبطاقة العائمة --- */
.seo-visual-side {
    position: relative;
}

.visual-frame {
    position: relative;
    border-radius: 24px;
    padding: 10px; /* إطار وهمي */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.visual-frame img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
    filter: brightness(0.9);
    transition: 0.4s;
}

.visual-frame:hover img {
    filter: brightness(1);
}

/* البطاقة العائمة */
.floating-badge {
    position: absolute;
    bottom: -30px;
    right: -30px; /* طالعة لبرا */
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: floatVertical 4s ease-in-out infinite;
}

@keyframes floatVertical {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.badge-icon {
    width: 50px; height: 50px;
    background: var(--grad);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.floating-badge strong {
    display: block;
    color: white;
    font-size: 1.1rem;
}

.floating-badge span {
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* --- Mobile Optimization --- */
@media (max-width: 992px) {
    .seo-authority-section { padding: 80px 5%; }
    
    .seo-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .seo-text-content h2 { font-size: 2rem; }

    .floating-badge {
        right: 0;
        bottom: -20px;
        width: auto;
    }
}




/* Newsletter Popup */
.newsletter-popup {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 15, 25, 0.95);
    color: #fff;
    padding: 14px 22px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: 0.4s ease;
    z-index: 9999;
}

.newsletter-popup i {
    color: var(--accent-blue);
    font-size: 1.2rem;
}

.newsletter-popup.show {
    opacity: 1;
    transform: translateY(0);
}



/* ========================
   NFC PRODUCT SHOWCASE
   ======================== */
.nfc-product-section {
    padding: 100px 8%;
    background: radial-gradient(circle at right center, #162032 0%, var(--dark-deep) 60%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.nfc-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- الجانب البصري (الصورة) --- */
.nfc-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* صورة البطاقة العائمة */
.floating-card-img {
    width: 80%;
    max-width: 400px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: rotate(-10deg);
    animation: floatCard 6s ease-in-out infinite;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes floatCard {
    0%, 100% { transform: rotate(-10deg) translateY(0); }
    50% { transform: rotate(-10deg) translateY(-20px); }
}

/* الإضاءة الخلفية */
.card-glow-bg {
    position: absolute;
    width: 300px; height: 300px;
    background: var(--accent-blue);
    filter: blur(100px);
    opacity: 0.2;
    z-index: 1;
    border-radius: 50%;
}

/* أيقونة الويفي النابضة */
.pulse-circle {
    position: absolute;
    top: 20px; right: 20px;
    width: 50px; height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-blue);
    font-size: 1.5rem;
    z-index: 3;
    animation: pulseIcon 2s infinite;
}

@keyframes pulseIcon {
    0% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(0, 210, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0); }
}

/* --- الجانب النصي --- */
.nfc-tag {
    background: var(--grad);
    color: white;
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.3);
}

.nfc-info h2 {
    font-size: 2.8rem;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight-text {
    background: linear-gradient(90deg, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nfc-desc {
    color: var(--text-dim);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* صندوق السعر */
.nfc-price-box {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 30px;
    background: rgba(255,255,255,0.03);
    padding: 15px 25px;
    border-radius: 15px;
    width: fit-content;
    border: 1px solid rgba(255,255,255,0.05);
}

.nfc-price-box .amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1;
}

.nfc-price-box .currency {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

/* القائمة */
.nfc-features {
    list-style: none;
    margin-bottom: 40px;
}

.nfc-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-size: 1rem;
    margin-bottom: 15px;
}

.nfc-features i {
    color: var(--accent-blue);
    font-size: 1.2rem;
    width: 25px;
}

/* الأزرار */
.nfc-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
}

.btn-outline:hover {
    background: white;
    color: black;
}

/* --- Mobile Optimization --- */
@media (max-width: 992px) {
    .nfc-product-section { padding: 80px 5%; }
    
    .nfc-container {
        grid-template-columns: 1fr; /* عمود واحد */
        gap: 50px;
        text-align: center;
    }

    .nfc-visual { order: 1; }
    .nfc-info { order: 2; }

    /* توسيط المحتويات في الموبايل */
    .nfc-price-box { margin: 0 auto 30px; }
    .nfc-features { text-align: right; display: inline-block; } /* القائمة تضل يمين */
    .nfc-actions { justify-content: center; }
    
    .floating-card-img { width: 70%; }
    .nfc-info h2 { font-size: 2.2rem; }
}


/* ========================
   PURE CSS NFC CARD (TITANIUM STYLE)
   ======================== */

/* حاوية البطاقة (الأبعاد والحركة) */
.css-nfc-card {
    width: 360px;
    height: 220px;
    background: linear-gradient(135deg, #1a1c20 0%, #000000 100%); /* أسود معدني */
    border-radius: 16px;
    position: relative;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.6), /* ظل عميق */
        inset 0 0 0 1px rgba(255, 255, 255, 0.1); /* حد داخلي خفيف */
    overflow: hidden;
    transform: rotate(-10deg) translateY(0);
    animation: floatCardCSS 6s ease-in-out infinite;
    z-index: 2;
}

@keyframes floatCardCSS {
    0%, 100% { transform: rotate(-10deg) translateY(0); }
    50% { transform: rotate(-10deg) translateY(-20px); }
}

/* --- اللمعة الهولوغرافية (The Magic) --- */
.holographic-shine {
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(
        115deg, 
        transparent 40%, 
        rgba(255, 255, 255, 0.1) 45%, 
        rgba(0, 210, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.1) 55%, 
        transparent 60%
    );
    transform: rotate(20deg);
    animation: shineMove 5s infinite linear;
    pointer-events: none;
}

@keyframes shineMove {
    0% { transform: translateX(-100%) rotate(20deg); }
    100% { transform: translateX(100%) rotate(20deg); }
}

/* --- الجزء العلوي --- */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.card-logo {
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.nfc-signal {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

/* --- الشريحة الذهبية (رسمناها CSS) --- */
.sim-chip {
    width: 50px;
    height: 35px;
    background: linear-gradient(135deg, #d4af37, #f9d976);
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    border: 1px solid #bfa05f;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.4);
}

/* خطوط الشريحة الداخلية */
.sim-chip span {
    position: absolute;
    background: rgba(0, 0, 0, 0.2);
}
.sim-chip span:nth-child(1) { width: 100%; height: 1px; top: 33%; }
.sim-chip span:nth-child(2) { width: 100%; height: 1px; top: 66%; }
.sim-chip span:nth-child(3) { width: 1px; height: 100%; left: 33%; }
.sim-chip span:nth-child(4) { width: 1px; height: 100%; left: 66%; }

/* --- الجزء السفلي --- */
.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-holder {
    display: flex;
    flex-direction: column;
}

.card-holder .label {
    font-size: 0.5rem;
    color: var(--text-dim);
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.card-holder .value {
    font-size: 1.1rem;
    color: white;
    font-family: monospace; /* خط رقمي */
    letter-spacing: 2px;
    text-shadow: 0 2px 2px rgba(0,0,0,0.8);
}

.card-type {
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid var(--accent-blue);
    padding: 3px 8px;
    border-radius: 4px;
}

/* --- Mobile Optimization --- */
@media (max-width: 768px) {
    .css-nfc-card {
        width: 300px;
        height: 190px;
    }
    
    .sim-chip { width: 45px; height: 32px; }
    .card-logo { height: 30px; }
}


/* ========================
   PREMIUM CSS NFC CARD (REPLACEMENT)
   ======================== */

/* الحاوية عشان نوسط البطاقة */
.nfc-display-center {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent; /* بدون خلفية سوداء صادة */
    min-height: 350px;
    position: relative;
}

/* الإضاءة الخلفية */
.nfc-glow-back {
    position: absolute;
    width: 200px; height: 200px;
    background: rgba(0, 210, 255, 0.15);
    filter: blur(80px);
    border-radius: 50%;
    z-index: 0;
}

/* جسم البطاقة */
.css-premium-card {
    width: 340px;
    height: 210px;
    /* لون أسود معدني فاخر */
    background: linear-gradient(135deg, #1c1c1c 0%, #000000 100%);
    border-radius: 16px;
    position: relative;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* ظلال تعطي عمق */
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1); /* حد أبيض رفيع جداً */
    overflow: hidden;
    z-index: 2;
    transform: rotate(-5deg) translateY(0);
    animation: floatCardReal 6s ease-in-out infinite;
}

@keyframes floatCardReal {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(-5deg) translateY(-15px); }
}

/* اللمعة المتحركة (Holographic) */
.card-shine {
    position: absolute;
    top: -100%; left: -100%;
    width: 300%; height: 300%;
    background: linear-gradient(
        115deg, 
        transparent 40%, 
        rgba(255, 255, 255, 0.05) 45%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 55%, 
        transparent 60%
    );
    animation: shineSweep 6s infinite linear;
    pointer-events: none;
}

@keyframes shineSweep {
    0% { transform: translateX(0) translateY(0) rotate(25deg); }
    100% { transform: translateX(-50px) translateY(50px) rotate(25deg); }
}

/* التفاصيل الداخلية */
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-brand {
    color: white;
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin: 0;
    font-weight: 800;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nfc-icon {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* الشريحة الذهبية (رسم CSS) */
.gold-chip {
    width: 50px; height: 35px;
    background: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728);
    border-radius: 6px;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
    border: 1px solid #a07c26;
}

/* خطوط الشريحة */
.gold-chip span { position: absolute; background: rgba(0,0,0,0.2); }
.gold-chip span:nth-child(1) { width: 100%; height: 1px; top: 33%; }
.gold-chip span:nth-child(2) { width: 100%; height: 1px; top: 66%; }
.gold-chip span:nth-child(3) { width: 1px; height: 100%; left: 33%; }
.gold-chip span:nth-child(4) { width: 1px; height: 100%; left: 66%; }

/* الجزء السفلي */
.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-info .label {
    display: block;
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 1px;
}

.card-info .value {
    color: white;
    font-size: 1rem;
    font-family: monospace;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 2px black;
}

.infinite-icon {
    font-size: 1.8rem;
    color: var(--accent-blue);
    opacity: 0.8;
}

/* موبايل */
@media (max-width: 768px) {
    .css-premium-card {
        width: 290px;
        height: 180px;
    }
}


/* ========================
   FIXED WINDOW PARALLAX (The "Magic" Effect)
   ======================== */
.fixed-parallax-section {
    position: relative;
  height: 80vh; /* يعني 80% من ارتفاع شاشة الزائر */
    min-height: 600px; /* عشان نضمن إنه ما يكون صغير على الشاشات العريضة القصيرة */
        display: flex;
    align-items: center;
    justify-content: center;
    /* هذا السطر هو السحر: بيخلي الصورة الثابتة تظهر بس جوا حدود هذا السيكشن */
    clip-path: inset(0); 
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* الصورة الثابتة */
.parallax-bg-image {
    position: fixed; /* ثابتة بالنسبة للشاشة */
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    /* استبدل الرابط بصورة عالية الجودة */
    background-image: url('images/169952514.webp');
    background-size: cover;
    background-position: center;
    z-index: -2; /* في أقصى الخلف */
    will-change: transform; /* تحسين الأداء */
}

/* طبقة التعتيم */
.parallax-overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(3, 5, 8, 0.404); /* لون غامق شفاف */
    z-index: -1;
}

/* الصندوق الزجاجي */
.parallax-glass-content {
    text-align: center;
    padding: 60px;
    background: rgba(255, 255, 255, 0.03); /* زجاجي */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    max-width: 900px;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    transition: 0.4s;
}

.parallax-glass-content:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.glow-badge {
    color: var(--accent-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
    text-shadow: 0 0 15px rgba(0, 210, 255, 0.6);
}

/* --- (هنا كانت التكملة الناقصة) --- */

.parallax-glass-content h2 {
    font-size: 3.5rem; /* خط كبير وفخم */
    color: white;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.parallax-glass-content p {
    color: #cbd5e1; /* لون رمادي فاتح */
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* الأزرار داخل البارالاكس */
.parallax-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* زر ثانوي (شفاف) */
.btn-outline {
    padding: 14px 35px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-outline:hover {
    background: white;
    color: black;
    border-color: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* --- تحسينات الموبايل --- */
@media (max-width: 768px) {
    .fixed-parallax-section {
        height: auto; /* ارتفاع مرن */
        padding: 80px 5%;
    }

    .parallax-glass-content {
        padding: 40px 20px;
    }

    .parallax-glass-content h2 {
        font-size: 2.2rem;
    }

    .parallax-glass-content p {
        font-size: 1rem;
    }
    
    .parallax-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary, .btn-outline {
        width: 100%; /* الأزرار بعرض كامل في الموبايل */
        justify-content: center;
    }
}

/* =========================================
   WX ULTRA HERO SECTION (New Design)
   ========================================= */
.wx-hero-section {
    position: relative;
    min-height: 100vh; /* ملء الشاشة */
    background-color: #030508;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 120px 8% 80px;
}

/* --- الخلفية (Cyber Grid) --- */
.wx-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    perspective: 1000px;
}

.wx-grid-floor {
    position: absolute;
    width: 200%;
    height: 130%;
    bottom: -50%;
    left: -50%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    transform: rotateX(60deg); /* تأثير العمق 3D */
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, transparent 60%); /* اختفاء في الأفق */
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: rotateX(60deg) translateY(0); }
    100% { transform: rotateX(60deg) translateY(60px); }
}

.wx-hero-glow {
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
    filter: blur(80px);
}

/* --- الحاوية الرئيسية --- */
.wx-hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* --- النصوص --- */
.wx-badge-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

.wx-status-dot {
    width: 8px; height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.wx-badge-text {
    font-size: 0.85rem;
    color: #e2e8f0;
    font-weight: 500;
}

.wx-hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    color: white;
    margin-bottom: 25px;
}

.wx-gradient-text {
    background: linear-gradient(135deg, #fff 0%, #00d2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

/* خط تحت الكلمة الملونة */
.wx-gradient-text::after {
    content: '';
    position: absolute;
    bottom: 5px; left: 0; width: 100%; height: 10px;
    background: rgba(0, 210, 255, 0.2);
    z-index: -1;
    transform: skewX(-15deg);
}

.wx-hero-desc {
    font-size: 1.15rem;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
}

/* الأزرار */
.wx-hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.wx-btn-primary {
    padding: 16px 35px;
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    color: white;
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.3);
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wx-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 210, 255, 0.5);
}

.wx-btn-glass {
    padding: 16px 35px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wx-btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Trust Mini */
.wx-trust-mini {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    width: fit-content;
}

.wx-avatars {
    display: flex;
}

.wx-avatars img {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 2px solid #030508;
    margin-right: -10px; /* تداخل الصور */
}

.wx-trust-text {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.wx-trust-text strong {
    color: white;
    display: block;
    font-size: 1.1rem;
}

/* --- الجانب البصري (Mockups) --- */
.wx-hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* الكرت الزجاجي الرئيسي */
.wx-glass-card {
    background: rgba(20, 25, 35, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    position: absolute;
    transition: 0.1s; /* للحركة مع الماوس */
}

.card-main {
    width: 400px; height: 280px;
    z-index: 2;
    padding: 20px;
    transform: rotateY(-10deg) rotateX(5deg);
    animation: floatHero 6s ease-in-out infinite;
}

.card-back {
    width: 350px; height: 250px;
    z-index: 1;
    top: 20px; right: -40px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.1), rgba(58, 123, 213, 0.1));
    transform: rotateY(-10deg) rotateX(5deg) translateZ(-50px);
    animation: floatHero 6s ease-in-out infinite reverse;
}

@keyframes floatHero {
    0%, 100% { transform: rotateY(-10deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-10deg) rotateX(5deg) translateY(-20px); }
}

/* تفاصيل الكرت */
.card-header {
    display: flex; gap: 8px; margin-bottom: 20px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.card-body-mockup {
    display: flex; flex-direction: column; gap: 15px;
}
.mock-line { height: 10px; background: rgba(255,255,255,0.1); border-radius: 5px; }
.title { width: 60%; }
.sub { width: 40%; }
.mock-row { display: flex; gap: 15px; margin-top: 10px; }
.mock-box { flex: 1; height: 80px; background: rgba(255,255,255,0.05); border-radius: 10px; }

.code-snippet {
    margin-top: 30px;
    font-family: monospace;
    color: var(--accent-blue);
    font-size: 0.9rem;
    background: rgba(0,0,0,0.3);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

/* Stat Floating */
.wx-floating-stat {
    position: absolute;
    bottom: 50px; left: -20px;
    background: #0f172a;
    padding: 15px 25px;
    border-radius: 15px;
    border: 1px solid var(--accent-blue);
    display: flex; align-items: center; gap: 10px;
    z-index: 3;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    animation: floatStat 4s ease-in-out infinite;
}

@keyframes floatStat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.wx-floating-stat i { color: #10b981; }
.wx-floating-stat span { font-weight: 700; color: white; }

/* =========================================
   MOBILE OPTIMIZATION (ULTRA FIXED)
   ========================================= */
@media (max-width: 992px) {
    
    /* 1. ضبط مسافات السيكشن */
    .wx-hero-section {
        padding: 140px 5% 60px; /* زدنا المساحة فوق عشان النافبار */
        min-height: auto; /* إلغاء ارتفاع الشاشة الكاملة */
        display: block; /* إلغاء الفليكس عشان العناصر تترتب براحتها */
    }

    /* 2. ترتيب العناصر فوق بعض */
    .wx-hero-container {
        grid-template-columns: 1fr; /* عمود واحد */
        gap: 50px;
        text-align: center;
    }

    /* 3. تنسيق النصوص */
    .wx-hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .wx-hero-title {
        font-size: 2.5rem; /* تصغير الخط شوي */
        margin-bottom: 20px;
    }

    .wx-hero-desc {
        font-size: 1rem;
        max-width: 100%;
        margin-bottom: 30px;
    }

    /* 4. الأزرار */
    .wx-hero-actions {
        flex-direction: column; /* الأزرار تحت بعض */
        width: 100%;
        gap: 15px;
    }

    .wx-btn-primary, .wx-btn-glass {
        width: 100%; /* عرض كامل */
        justify-content: center;
        padding: 14px;
    }

    /* 5. ضبط الرسمة (Visual) - أهم جزء */
    .wx-hero-visual {
        height: 320px; /* ارتفاع ثابت ومناسب */
        margin-top: 20px;
        transform: none; /* إلغاء تحويلات الماوس */
    }

    /* الكرت الرئيسي */
    .card-main {
        width: 85vw; /* 85% من عرض الشاشة */
        height: auto;
        aspect-ratio: 4/3; /* الحفاظ على نسبة الطول للعرض */
        /* تخفيف الدوران عشان يبين واضح */
        transform: rotateY(-5deg) rotateX(5deg); 
        animation: floatHeroMobile 4s ease-in-out infinite; /* حركة أهدأ */
    }

    /* الكرت الخلفي */
    .card-back {
        width: 80vw;
        height: 200px;
        top: 10px;
        right: -10px; /* تقريب المسافة */
        opacity: 0.6; /* تخفيفه عشان التركيز ع الرئيسي */
        transform: rotateY(-5deg) rotateX(5deg) translateZ(-30px);
    }

    /* الإحصائية العائمة */
    .wx-floating-stat {
        left: 0;
        bottom: 20px;
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    /* 6. الخلفية */
    .wx-grid-floor {
        opacity: 0.3; /* تخفيف الشبكة عشان النص ينقرأ */
        bottom: -20%;
    }
}

/* أنيميشن خاص للموبايل (حركة عمودية فقط) */
@keyframes floatHeroMobile {
    0%, 100% { transform: rotateY(-5deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-5deg) rotateX(5deg) translateY(-10px); }
}


/* ========================
   WX STATS DASHBOARD (Unique)
   ======================== */
.wx-stats-section {
    padding: 0 8% 100px;
    position: relative;
    /* تداخل خفيف وأنيق */
    margin-top: -100px; 
    z-index: 10;
}

.wx-stats-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 2fr; /* تقسيم المساحة */
    gap: 30px;
    align-items: stretch;
}

/* --- الكرت الأساسي --- */
.wx-stat-card {
    background: rgba(15, 23, 42, 0.85); /* خلفية كحلية غامقة */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: 0.4s;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.wx-stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 30px 60px rgba(0, 210, 255, 0.15);
}

/* --- الكرت الرئيسي (اليسار) --- */
.wx-stat-main {
    background: linear-gradient(145deg, rgba(0, 210, 255, 0.1), rgba(15, 23, 42, 0.95));
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(0, 210, 255, 0.2);
}

.wx-num-lg {
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 15px;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wx-stat-label {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.6;
}

/* الأيقونة الخلفية */
.wx-bg-icon {
    position: absolute;
    top: -20px; left: -20px;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.03);
    transform: rotate(15deg);
    pointer-events: none;
}

/* اللمعة */
.wx-stat-shine {
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-25deg);
    animation: wxShine 6s infinite;
}

@keyframes wxShine {
    0%, 50% { left: -100%; }
    100% { left: 200%; }
}

/* --- الكروت الفرعية (اليمين) --- */
.wx-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.wx-stat-sub {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wx-stat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.wx-stat-header i { color: var(--accent-blue); }

.wx-num-md {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

/* إضافة الرموز (+ و %) */
.wx-stat-sub:nth-child(1) .wx-num-md::after { content: '+'; color: var(--accent-blue); font-size: 1.5rem; }
.wx-stat-sub:nth-child(2) .wx-num-md::after { content: '%'; color: var(--accent-blue); font-size: 1.5rem; }

/* شريط التقدم */
.wx-prog-line {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.wx-prog-line span {
    display: block;
    height: 100%;
    background: var(--accent-blue);
    border-radius: 10px;
}

/* --- الزر السفلي --- */
.wx-stats-cta {
    text-align: center;
    margin-top: 60px;
}

.wx-stats-cta p {
    color: var(--text-dim);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.wx-btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    border: 2px solid var(--accent-blue);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.wx-btn-glow:hover {
    background: var(--accent-blue);
    color: black;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.6);
    transform: translateY(-3px);
}

/* --- Mobile Optimization --- */
@media (max-width: 992px) {
    .wx-stats-section { 
        margin-top: -40px; 
        padding: 0 5% 80px;
    }

    .wx-stats-wrapper {
        grid-template-columns: 1fr; /* عمود واحد */
        gap: 20px;
    }

    .wx-stat-grid {
        grid-template-columns: 1fr; /* الكروت تحت بعض */
        gap: 15px;
    }

    .wx-stat-sub {
        flex-direction: row; /* الأرقام جنب الاسم */
        align-items: center;
        padding: 20px;
    }

    .wx-stat-header { margin-bottom: 0; }
    .wx-prog-line { display: none; }
    
    .wx-num-lg { font-size: 4rem; }
}

/* ========================
   WX SERVICES HERO (NEW)
   ======================== */

.wx-srv-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--dark-deep);
    overflow: hidden;
    
    /* --- التعديل هنا --- */
    /* زدنا القيمة الأولى (فوق) لـ 140px عشان ينزل عن الهيدر */
    padding: 100px 5% 0; 
}

/* الإضاءة الخلفية (Spotlight) */
.wx-hero-glow-effect {
    position: absolute;
    top: -20%; left: 50%;
    transform: translateX(-50%);
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.wx-srv-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

/* البادج الصغير */
.wx-srv-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-blue);
    font-size: 0.9rem;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

/* العنوان الرئيسي */
.wx-srv-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem); /* خط متجاوب ضخم */
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 25px;
}

/* النص الملون (Gradient) */
.wx-text-highlight {
    background: linear-gradient(135deg, #fff 0%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

/* الوصف */
.wx-srv-desc {
    color: var(--text-dim); /* أو #94a3b8 */
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Mobile Optimization --- */
@media (max-width: 768px) {
    .wx-srv-hero {
        height: auto;
        padding: 150px 5% 80px; /* مساحة للنافبار */
    }

    .wx-srv-title {
        font-size: 2.5rem;
    }

    .wx-srv-desc {
        font-size: 1rem;
    }
}

/* ========================
   WX CONTACT HERO (NEW)
   ======================== */
.wx-contact-hero {
    position: relative;
    height: 55vh; /* ارتفاع متوسط ومناسب */
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--dark-deep);
    overflow: hidden;
    
    /* --- حل مشكلة الهيدر في الديسكتوب --- */
    padding: 30px 5% 0; /* مساحة كبيرة من فوق */
}

/* الإضاءة الخلفية (لون مختلف قليلاً للتواصل) */
.wx-contact-glow {
    position: absolute;
    top: -30%; left: 50%;
    transform: translateX(-50%);
    width: 70%; height: 80%;
    background: radial-gradient(circle, rgba(58, 123, 213, 0.15) 0%, transparent 70%);
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
}

.wx-contact-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

.wx-contact-badge {
    display: inline-block;
    /* خلفية زرقاء خفيفة جداً */
    background: rgba(0, 210, 255, 0.1);
    /* حدود زرقاء نيون */
    border: 1px solid rgba(0, 210, 255, 0.4);
    /* النص أزرق فاتح */
    color: #00d2ff;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
    /* ظل خفيف */
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}

/* العنوان */
.wx-contact-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

/* النص الملون */
.wx-contact-highlight {
    background: linear-gradient(135deg, #fff 0%, #3a7bd5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* الوصف */
.wx-contact-desc {
    color: var(--text-dim);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}

/* --- Mobile Optimization --- */
@media (max-width: 768px) {
    .wx-contact-hero {
        height: auto;
        padding: 140px 5% 60px; /* مساحة مناسبة للموبايل */
        min-height: auto;
    }

    .wx-contact-title {
        font-size: 2.2rem;
    }

    .wx-contact-desc {
        font-size: 1rem;
    }
}

/* ========================
   WX ABOUT HERO (NEW)
   ======================== */

.wx-about-hero {
    position: relative;
    /* غيرنا الارتفاع ليكون مرن أكثر */
    min-height: 70vh; 
    height: auto; /* عشان يتمدد مع المحتوى */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--dark-deep);
    overflow: visible; /* ضروري عشان التداخل يزبط */
    
    /* التعديل المهم هنا: */
    /* 180px من فوق (عشان الهيدر) */
    /* 150px من تحت (عشان نعطي مساحة للكروت المتداخلة) */
    padding: 130px 5% 150px; 
}

/* الإضاءة الخلفية (ميكس أزرق وبنفسجي) */
.wx-about-glow {
    position: absolute;
    top: -40%; left: 50%;
    transform: translateX(-50%);
    width: 90%; height: 90%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 70%); /* لون بنفسجي خفيف */
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.wx-about-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
}

/* البادج */
.wx-about-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a78bfa; /* لون ليلكي فاتح */
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 25px;
    backdrop-filter: blur(5px);
}

/* العنوان */
.wx-about-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 25px;
}

/* النص الملون */
.wx-about-highlight {
    background: linear-gradient(135deg, #fff 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* الوصف */
.wx-about-desc {
    color: var(--text-dim);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Mobile Optimization --- */
@media (max-width: 768px) {
    .wx-about-hero {
        height: auto;
        padding: 150px 5% 80px;
        min-height: auto;
    }

    .wx-about-title {
        font-size: 2.2rem;
    }

    .wx-about-desc {
        font-size: 1rem;
    }
}

/* ========================
   HOME TOOLS SECTION (PREVIEW)
   ======================== */
.home-tools-section {
    padding: 100px 8%;
    background-color: #020305; /* أغمق درجة */
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* خلفية زخرفية */
.tools-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
    pointer-events: none;
}

.home-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

/* الكرت */
.ht-card {
    background: rgba(20, 25, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 30px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

/* الأيقونة العائمة */
.ht-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 25px;
    position: relative;
    transition: 0.4s;
    background: rgba(255, 255, 255, 0.05);
}

.ht-glow {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 16px;
    filter: blur(20px);
    opacity: 0;
    transition: 0.4s;
    z-index: -1;
}

.ht-card h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.ht-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.ht-link {
    font-size: 0.9rem;
    font-weight: 700;
    display: flex; align-items: center; gap: 8px;
    margin-top: auto;
    transition: 0.3s;
}

/* --- الثيمات الخاصة بكل أداة --- */

/* 1. WhatsApp (Green) */
.wa-theme .ht-icon i { color: #25D366; }
.wa-theme .ht-glow { background: #25D366; }
.wa-theme .ht-link { color: #25D366; }
.wa-theme:hover { border-color: #25D366; transform: translateY(-10px); }
.wa-theme:hover .ht-icon { background: #25D366; color: white; transform: rotate(-10deg) scale(1.1); }
.wa-theme:hover .ht-glow { opacity: 0.4; }

/* 2. QR Code (Blue) */
.qr-theme .ht-icon i { color: #00d2ff; }
.qr-theme .ht-glow { background: #00d2ff; }
.qr-theme .ht-link { color: #00d2ff; }
.qr-theme:hover { border-color: #00d2ff; transform: translateY(-10px); }
.qr-theme:hover .ht-icon { background: #00d2ff; color: black; transform: rotate(10deg) scale(1.1); }
.qr-theme:hover .ht-glow { opacity: 0.4; }

/* 3. SEO (Purple/Gold) */
.seo-theme .ht-icon i { color: #a855f7; }
.seo-theme .ht-glow { background: #a855f7; }
.seo-theme .ht-link { color: #a855f7; }
.seo-theme:hover { border-color: #a855f7; transform: translateY(-10px); }
.seo-theme:hover .ht-icon { background: #a855f7; color: white; transform: scale(1.1); }
.seo-theme:hover .ht-glow { opacity: 0.4; }

/* Mobile */
@media (max-width: 768px) {
    .home-tools-grid { grid-template-columns: 1fr; gap: 20px; }
    .ht-card { padding: 30px; }
}


/* ===========================
   تنسيق قائمة اللغة (النسخة العربية)
   =========================== */

/* 1. الحاوية الرئيسية للزر */
.lang-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 15px; /* في العربي نستخدم margin-right للتباعد */
}

/* 2. شكل الزر (AR) */
.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cbd5e1;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 20px;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #00d2ff; /* لون أزرق عند التمرير */
}

/* تنسيق العلم */
.flag-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

/* 3. القائمة المنسدلة */
.lang-content {
    position: absolute;
    top: 100%;
    left: 0; /* في العربي نثبتها من اليسار عشان ما تطلع برا الشاشة */
    width: 150px;
    background: #0f172a; /* نفس لون النافبار أو أغمق */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 9999;
    
    /* إخفاء القائمة */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s ease;
    text-align: right; /* محاذاة النص لليمين */
}

/* 4. إظهار القائمة عند الهوفر */
.lang-dropdown:hover .lang-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 5. عناصر القائمة الداخلية */
.lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: 0.2s;
}

.lang-item:hover {
    background: rgba(0, 210, 255, 0.1);
    color: #ffffff;
}

.lang-item img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

/* تمييز العنصر النشط */
.lang-item.active {
    background: rgba(255, 255, 255, 0.05);
    cursor: default;
    pointer-events: none;
    font-weight: bold;
    color: var(--accent-cyan); /* أو اللون المميز عندك */
}

/* ===========================
   تنسيق القائمة للموبايل (Mobile)
   =========================== */
.mobile-lang-box {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.m-lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: 0.3s;
    font-size: 0.9rem;
}

.m-lang-item img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.m-lang-item.active {
    background: #00d2ff; /* اللون الأزرق */
    color: #000;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.m-lang-item:not(.active):hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* حاوية تجمع مغير اللغة وزر المنيو في الموبايل */
.nav-mobile-actions {
    display: none; /* تختفي في الشاشات الكبيرة */
    align-items: center;
    gap: 15px; /* المسافة بين العلم وزر الهامبرغر */
}

/* ستايل زر اللغة الصغير في الهيدر */
.lang-toggle-simple {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-toggle-simple img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
}

/* إظهار الحاوية في الموبايل فقط */
@media (max-width: 768px) {
    .nav-mobile-actions {
        display: flex;
    }
    
    /* إخفاء مغير اللغة القديم الذي كان يظهر داخل القائمة (اختياري) */
    .mobile-menu .mobile-lang-box {
        display: none;
    }
}


/* تنسيق حاوية اللغات في الهيدر */
.mobile-lang-header {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    gap: 8px;
}

.header-lang-item {
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.header-lang-item img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    filter: grayscale(80%); /* جعل غير النشط باهت قليلاً */
}

/* تمييز اللغة النشطة */
.header-lang-item.active img {
    filter: grayscale(0%);
    border: 1.5px solid #00d2ff; /* إضافة إطار بلون موقعك */
}

.header-lang-sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    user-select: none;
}

/* إخفاء مغير اللغة القديم داخل القائمة */
@media (max-width: 768px) {
    .mobile-nav-links .mobile-lang-box,
    .mobile-nav-links li:has(.mobile-lang-box) {
        display: none !important;
    }
}


/* زر واتساب العائم - عربي */
.whatsapp-float-ar {
    position: fixed;
    bottom: 30px;
    left: 30px; /* الزر على اليسار في العربي */
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Tooltip - الفقاعة النصية جهة اليمين */
.whatsapp-tooltip-ar {
    position: absolute;
    left: 75px; /* تظهر على يمين الزر */
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    direction: rtl; /* اتجاه النص عربي */
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.whatsapp-float-ar:hover .whatsapp-tooltip-ar {
    opacity: 1;
    visibility: visible;
    left: 80px;
}

.whatsapp-float-ar:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* الأنميشن - نفس النسخة الإنجليزية */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* التوافق مع الموبايل */
@media screen and (max-width: 768px) {
    .whatsapp-float-ar {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
        font-size: 25px;
    }
    .whatsapp-tooltip-ar {
        display: none;
    }
}