/* ==========================================
   [0] الهوية البصرية والإعدادات العامة
   ========================================== */
:root {
    --bg-dark: #080808;      
    --bg-darker: #000000;    
    
    --soft-white: #f2f2f2;   
    --text-muted: #c2c2c2;   
    
    --dim-red: #c93434;      
    --primary-red: #e62e2e; 
    --red-glow: rgba(230, 46, 46, 0.4); 
    
    --font-logo: 'Changa', sans-serif;
    --font-text: 'Tajawal', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body, html {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--bg-dark) 0%, var(--bg-darker) 100%); 
    overflow-x: hidden;
    font-family: var(--font-text);
    color: var(--soft-white);
}

/* ==========================================
   [1] الهيدر البيضاوي الزجاجي
   ========================================== */
.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    z-index: 100;
    background: rgba(8, 8, 8, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.4s ease;
}

.header-container { display: flex; justify-content: space-between; align-items: center; }

.header-logo { display: flex; flex-direction: column; align-items: center; font-family: var(--font-logo); line-height: 1; }
.header-logo .logo-top { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.header-logo .logo-bottom { font-size: 1.2rem; font-weight: 800; color: var(--soft-white); }

.header-nav { display: flex; align-items: center; gap: 20px; }

.nav-link, .dropbtn {
    color: var(--soft-white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-text);
    transition: color 0.3s ease;
}

.nav-btn {
    background: rgba(201, 52, 52, 0.1);
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid rgba(201, 52, 52, 0.4);
    color: var(--dim-red);
}

.nav-link:hover, .dropbtn:hover { color: var(--dim-red); }
.nav-btn:hover { background: rgba(201, 52, 52, 0.2); color: var(--soft-white); }

.dropdown { position: relative; display: inline-block; }

.dropdown-content {
    display: none;
    position: absolute;
    top: 40px;
    right: 50%;
    transform: translateX(50%);
    background-color: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(10px);
    min-width: 120px;
    border-radius: 15px;
    border: 1px solid rgba(201, 52, 52, 0.2);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.8);
    z-index: 1;
    overflow: hidden;
}

.dropdown-content a {
    color: var(--soft-white);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

.dropdown-content a:hover { background-color: rgba(201, 52, 52, 0.25); color: var(--soft-white); }
.dropdown:hover .dropdown-content { display: block; }

.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.menu-toggle span { width: 25px; height: 3px; background-color: var(--soft-white); border-radius: 3px; transition: 0.3s; }

/* ==========================================
   [2] الواجهة الرئيسية، الشعار والنص الوصفي
   ========================================== */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#space-canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }

.name-container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
    width: 100%;
}

.logo-wrapper {
    font-family: var(--font-logo);
    opacity: 0;
    transform: scale(0.5); 
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: -10px;
}

.logo-name {
    font-size: 3.5rem; 
    font-weight: 800;
    color: var(--primary-red); 
    text-shadow: 
        0 0 10px var(--red-glow),
        0 0 20px rgba(230, 46, 46, 0.3),
        0 0 40px rgba(230, 46, 46, 0.1); 
    line-height: 1.2;
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted); 
    margin: 25px auto 0;
    line-height: 1.8;
    max-width: 90%; 
    text-align: center;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out 0.4s, transform 1s ease-out 0.4s;
}

.logo-wrapper.visible { opacity: 1; transform: scale(1); }
.subtitle.visible { opacity: 1; transform: translateY(0); }

/* ==========================================
   [3] حاوية الزر العائم وقائمة الواتساب
   ========================================== */
.cta-wrapper {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0; /* يبدأ مخفياً ليظهر مع الحركة */
    transition: opacity 1s ease-out 0.8s;
}

.cta-wrapper.visible { opacity: 1; }

/* تنسيق الزر الرئيسي */
.floating-btn {
    background: rgba(230, 46, 46, 0.05);
    border: 1px solid rgba(230, 46, 46, 0.4);
    color: var(--soft-white);
    padding: 12px 25px;
    border-radius: 30px;
    font-family: var(--font-text);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    animation: floatPulse 2.5s infinite;
}

.floating-btn:hover, .floating-btn.active { 
    background: rgba(230, 46, 46, 0.2); 
    box-shadow: 0 0 20px var(--red-glow); 
}

@keyframes floatPulse {
    0% { transform: translateY(0); box-shadow: 0 0 10px rgba(230, 46, 46, 0.1); }
    50% { transform: translateY(-8px); box-shadow: 0 0 20px rgba(230, 46, 46, 0.3); }
    100% { transform: translateY(0); box-shadow: 0 0 10px rgba(230, 46, 46, 0.1); }
}

/* تنسيق القائمة العائمة (الواتساب) */
.cta-popup {
    position: absolute;
    bottom: 120%; /* تظهر فوق الزر مباشرة */
    background: rgba(8, 8, 8, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(230, 46, 46, 0.3);
    border-radius: 15px;
    padding: 10px 0;
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* سهم صغير يربط القائمة بالزر (رؤية بصرية جميلة) */
.cta-popup::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: rgba(8, 8, 8, 0.95) transparent transparent transparent;
}

.whatsapp-link {
    display: block;
    color: var(--soft-white);
    text-decoration: none;
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: right;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease, padding-right 0.3s ease;
}

.whatsapp-link:last-child { border-bottom: none; }

.whatsapp-link:hover {
    background: rgba(230, 46, 46, 0.15);
    color: var(--primary-red);
    padding-right: 25px; /* حركة بسيطة عند التأشير */
}

/* ==========================================
   [4] التجاوب مع الجوال
   ========================================== */
@media (max-width: 768px) {
    .header-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(8, 8, 8, 0.98);
        backdrop-filter: blur(15px);
        padding: 20px;
        border-radius: 20px;
        border: 1px solid rgba(230, 46, 46, 0.15);
    }
    .header-nav.active { display: flex; }
    .menu-toggle { display: flex; }
    .dropdown-content { position: relative; transform: none; right: 0; top: 0; box-shadow: none; background: transparent; border: none; }
    .logo-name { font-size: 3rem; }
    .subtitle { font-size: 1rem; }
}
@media (min-width: 768px) { .logo-name { font-size: 5rem; } .subtitle { font-size: 1.3rem; } }






/* ==========================================
   [3] تنسيقات قسم الأعمال - الفقرة 1
   ========================================== */
.portfolio-section {
    padding: 100px 0;
    position: relative;
    z-index: 5;
    background: transparent; /* لضمان ظهور نجوم الخلفية */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-logo);
    font-size: 2.5rem;
    color: var(--soft-white);
    letter-spacing: 1px;
}

.red-text {
    color: var(--primary-red);
    text-shadow: 0 0 15px var(--red-glow);
}

.title-underline {
    width: 60px;
    height: 4px;
    background: var(--dim-red);
    margin: 10px auto;
    border-radius: 2px;
}

/* تنسيق أزرار التصفية */
.filter-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.filter-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    backdrop-filter: blur(10px);
}

.filter-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 10px 25px;
    font-family: var(--font-text);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* حالة الزر النشط والتفاعل */
.filter-btn:hover, .filter-btn.active {
    background: var(--dim-red);
    color: var(--soft-white);
    box-shadow: 0 0 15px var(--red-glow);
}

/* حاوية البطاقات - Grid System */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    min-height: 200px; /* مساحة مؤقتة */
}

/* موبايل فرست: تعديلات الشاشات الصغيرة */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
}



/* ==========================================
   [المرحلة 0]: الأساس، الإطار الزجاجي، وخلفية الـ DNA
   ========================================== */
.bodies-section {
    padding: 100px 0;
    position: relative;
    z-index: 10;
    background: transparent;
    overflow: hidden;
}

#dna-canvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    opacity: 0.15;
}

.bodies-container {
    width: 90%; max-width: 1200px; margin: 0 auto;
}

.bodies-header { text-align: center; margin-bottom: 40px; }
.bodies-title { font-family: var(--font-logo); font-size: 2.2rem; color: var(--soft-white); }
.accent-red { color: var(--primary-red); text-shadow: 0 0 15px var(--red-glow); }
.bodies-divider { width: 50px; height: 3px; background: var(--dim-red); margin: 15px auto; }

/* الإطار البيضاوي الشفاف للأزرار */
.tabs-pill-frame {
    width: fit-content; margin: 0 auto 50px; padding: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.bodies-tabs { display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; }

.tab-btn {
    background: transparent; border: none; color: var(--text-muted);
    padding: 10px 25px; border-radius: 40px;
    font-family: var(--font-text); font-weight: 700;
    cursor: pointer; transition: all 0.4s ease;
}

.tab-btn.active {
    background: var(--dim-red);
    color: var(--soft-white);
    box-shadow: 0 0 20px var(--red-glow);
}

.content-body { display: none; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.content-body.active-body { display: grid; animation: fadeInBody 0.6s ease; }

@keyframes fadeInBody { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================
   [المرحلة 1]: هيكل بطاقة المكتب الهندسي (التنسيق الخارجي)
   ========================================== */

#eng-micro-site {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

#eng-micro-site:hover {
    border-color: #00d4ff; /* توهج أزرق هندسي */
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(0, 212, 255, 0.15);
}

/* إطار المتصفح العلوي */
.browser-mockup {
    background: #111;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.browser-header {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.browser-dots span { width: 6px; height: 6px; border-radius: 50%; display: inline-block; background: #333; }
.browser-address {
    flex: 1; background: rgba(255,255,255,0.02);
    border-radius: 6px; font-size: 8px; color: #555;
    padding: 2px 10px; font-family: monospace;
}

/* منطقة العرض (المساحة التي ستحتوي الموقع المصغر) */
.live-viewport {
    height: 220px;
    background: #080a0c;
    position: relative;
    overflow: hidden;
}

/* محرك الموقع المصغر (الهيكل) */
.micro-site-engine {
    width: 100%;
    position: relative;
}

/* ==========================================
   الموقع المصغر: هوية كحلي، أبيض، رصاصي
   ========================================== */

/* ألوان الهوية */
:root {
    --arch-navy: #001f3f;
    --arch-gray: #777777;
    --arch-light: #ffffff;
    --arch-dim: #ccd5ae; /* رصاصي فاتح للتباين */
}

/* محرك التنقل الثلاثي */
.micro-site-engine {
    width: 100%;
    position: relative;
    animation: stageSequence 12s cubic-bezier(0.85, 0, 0.15, 1) infinite;
}

.ms-arch-section {
    height: 220px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--arch-navy); /* كحلي أساسي */
    position: relative;
}

/* [1] برمجة ناطحات السحاب */
.ms-arch-skyscrapers {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
    height: 70px;
    margin-bottom: 10px;
}

.b-block {
    width: 20px; background: var(--arch-gray);
    position: relative; border-top: 1px solid white;
}

.b-1 { height: 40px; }
.b-2 { height: 65px; background: #333; }
.b-3 { height: 50px; }

.win {
    width: 100%; height: 100%;
    background-image: radial-gradient(white 1px, transparent 1px);
    background-size: 4px 4px; opacity: 0.3;
}

.ms-arch-hero-text h4 { color: white; font-size: 10px; border-bottom: 1px solid var(--arch-gray); margin-bottom: 4px; width: fit-content; }
.ms-arch-hero-text p { font-size: 7px; color: #ddd; line-height: 1.3; }

/* [2] برمجة الصور الشرائحية */
.ms-arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.arch-card { background: rgba(255,255,255,0.05); padding: 4px; border-radius: 4px; text-align: center; }
.slide-view { height: 40px; position: relative; overflow: hidden; border-radius: 2px; margin-bottom: 4px; }

.css-img { position: absolute; width: 100%; height: 100%; animation: slideImg 4s infinite alternate; }

.i1 { background: linear-gradient(45deg, var(--arch-navy), var(--arch-gray)); }
.i2 { background: repeating-linear-gradient(90deg, #111, #111 2px, #222 2px, #222 4px); }
.i3 { background: radial-gradient(circle, var(--arch-gray), #000); }
.i4 { background: linear-gradient(to bottom, #444, #111); }

@keyframes slideImg { 
    0%, 45% { opacity: 1; transform: scale(1); }
    55%, 100% { opacity: 0; transform: scale(1.1); }
}

/* [3] برمجة التواصل */
.ms-contact-form { background: rgba(0,0,0,0.2); padding: 8px; border: 1px solid var(--arch-gray); border-radius: 4px; }
.ms-contact-form h6 { color: white; font-size: 9px; margin-bottom: 6px; }
.ms-input-sim { background: rgba(255,255,255,0.02); margin-bottom: 4px; padding: 4px; border-radius: 2px; display: flex; align-items: center; gap: 6px; }
.ms-dot { width: 3px; height: 3px; background: var(--arch-gray); border-radius: 50%; }
.ms-input-sim span { font-size: 6px; color: #888; }
.ms-contact-pills { display: flex; gap: 6px; margin-top: 6px; }
.p-btn { border: 1px solid white; color: white; font-size: 6px; padding: 2px 6px; border-radius: 10px; }

/* تسلسل المراحل */
@keyframes stageSequence {
    0%, 30% { transform: translateY(0); }
    33%, 63% { transform: translateY(-220px); }
    66%, 96% { transform: translateY(-440px); }
    100% { transform: translateY(0); }
}


.card-details {
    padding: 25px;
    background: rgba(255, 255, 255, 0.01);
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.card-title {
    font-family: var(--font-logo);
    font-size: 1.25rem;
    color: var(--soft-white);
    margin-bottom: 12px;
}

.card-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.order-btn-link {
    display: inline-block;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid #00d4ff; /* إطار أزرق هندسي */
    color: #00d4ff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.order-btn-link:hover {
    background: #00d4ff;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}






/* ==========================================
   هيكل بطاقة شركات الديكور (النسخة المصححة للهوية والارتفاع)
   ========================================== */

#decor-micro-site {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    
    /* [تعديل جوهري] */
    display: flex;
    flex-direction: column;
    height: 100%; /* يجبر البطاقة على ملء طول الصف بالكامل في الجريد */
    min-height: 550px; /* يضمن وجود حد أدنى للطول فلا تظهر البطاقة منكمشة */
}

/* ضمان أن منطقة العرض لا تختفي أو تترك فراغاً */
#decor-micro-site .card-preview {
    flex-shrink: 0; /* يمنع انكماش منطقة العرض */
    height: 350px;  /* يوحد ارتفاع منطقة المعاينة في كل البطاقات */
    background: #000;
}

/* جعل النصوص والزر يتذيلون البطاقة دائماً بانتظام */
#decor-micro-site .card-details {
    flex-grow: 1; /* يجعل هذا الجزء يتمدد ليملأ أي فراغ متبقي */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* يدفع الزر ليكون في أسفل البطاقة دائماً */
    padding: 20px;
}

/* لون تحويم خاص بالديكور (برونزي خفيف) */
#decor-micro-site:hover {
    border-color: #d4a373; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(212, 163, 115, 0.15);
    transform: translateY(-5px); /* لمسة حركية بسيطة لتعزيز التفاعل */
}

/* تخصيص زر الطلب لبطاقة الديكور */
#decor-micro-site .order-btn-link {
    border: 1px solid #d4a373; /* تأكد من وجود الحدود هنا */
    color: #d4a373;
    text-align: center;
    padding: 10px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
}

#decor-micro-site .order-btn-link:hover {
    background: #d4a373;
    color: #000;
}

/* ==========================================
   الموقع المصغر للديكور (الرؤية المودرن الفاخرة)
   النسخة الكاملة المحدثة - معالجة الفراغات والارتفاعات
   ========================================== */

:root {
    --md-dark: #0d0d0d;        /* أسود مطفأ عميق */
    --md-copper: #c89b7b;      /* نحاسي / روز جولد */
    --md-light: #f5f5f5;       /* أبيض دافئ */
    --md-surface: #1a1a1a;     /* رمادي داكن للأسطح */
}

/* [تحديث] - ضبط الحاوية الخارجية للبطاقة */
#decor-micro-site {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* لضمان تساوي طول البطاقة مع جاراتها */
}

#decor-micro-site:hover {
    border-color: var(--md-copper); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(200, 155, 123, 0.2);
}

#decor-micro-site .live-viewport {
    background: var(--md-dark);
    position: relative;
    height: 350px; /* الارتفاع القياسي المتوافق مع الأنميشن */
    overflow: hidden;
}

/* [تحديث جوهري] - ضبط ارتفاع القسم ليملأ كامل منطقة العرض */
.md-section {
    height: 350px; /* تم رفعها من 220px لغلق الفجوات السوداء */
    padding: 20px;
    display: flex; 
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box; /* لضمان عدم خروج المحتوى بسبب البادينج */
}

/* --- [1] الهيدر والواجهة --- */
.md-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}
.md-logo { font-size: 11px; font-weight: 300; color: var(--md-light); letter-spacing: 3px; }
.md-dot { color: var(--md-copper); font-weight: 900; }
.md-nav { font-size: 7px; color: #888; display: flex; gap: 10px; letter-spacing: 1px; }

.md-hero-content { display: flex; flex-direction: column; gap: 12px; margin-top: 5px; }

/* [تحديث] - رسم الغرفة بمقاسات أوسع لتناسب الطول الجديد */
.md-room-view {
    height: 110px; /* تم تكبيرها لتناسب المساحة الجديدة */
    background: var(--md-surface);
    border-radius: 8px; 
    position: relative; 
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.03);
}

.md-ambient-light {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    width: 80%; height: 30px;
    background: var(--md-copper);
    filter: blur(15px); opacity: 0.4;
}

.md-wall-panel {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 70px;
    background: repeating-linear-gradient(to right, #222, #222 2px, #1a1a1a 2px, #1a1a1a 6px);
    border-radius: 2px;
}

.md-modern-sofa {
    position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%);
    width: 80px; height: 30px;
    display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 2px;
}
.sofa-base { width: 100%; height: 10px; background: #333; border-radius: 2px; }
.sofa-cushion { width: 36px; height: 18px; background: #444; border-radius: 5px 5px 2px 2px; }

.md-floor {
    position: absolute; bottom: 0; width: 100%; height: 15px;
    background: linear-gradient(to bottom, #111, #050505);
}

.md-hero-text h4 { color: var(--md-copper); font-size: 11px; margin-bottom: 5px; font-weight: 500; }
.md-hero-text p { font-size: 8px; color: #aaa; line-height: 1.6; }

/* --- [2] معرض الخامات المبرمجة --- */
.md-title { color: var(--md-copper); font-size: 10px; font-weight: 400; text-align: center; margin-bottom: 12px; letter-spacing: 1px; }
.md-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.md-card { text-align: center; }
.md-texture {
    height: 60px; /* زيادة الارتفاع لملء الفراغ بجمالية */
    border-radius: 6px; 
    margin-bottom: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.05);
}
.md-card:hover .md-texture { transform: scale(1.05); border: 1px solid var(--md-copper); }

/* الخامات (Textures) المبرمجة */
.marble { background: conic-gradient(from 45deg, #eee, #fff, #ddd, #fff, #eee); position: relative; }
.marble::after { content: ''; position: absolute; width: 100%; height: 100%; background: linear-gradient(135deg, transparent 40%, rgba(0,0,0,0.05) 45%, transparent 50%); }
.wood-slats { background: repeating-linear-gradient(to right, #3e2723, #3e2723 3px, #271612 3px, #271612 5px); }
.smoked-glass { background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(0,0,0,0.8)); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(5px); }
.concrete { background: radial-gradient(circle, #777, #555); filter: contrast(1.2) sepia(0.1); }

.md-card span { font-size: 8px; color: #888; text-transform: uppercase; letter-spacing: 1px; }

/* --- [3] التذييل والتواصل --- */
.md-contact-box {
    background: rgba(255,255,255,0.02); 
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px; 
    border-radius: 8px; 
    text-align: center;
    margin-top: 10px;
}
.md-contact-box h6 { color: var(--md-light); font-size: 12px; font-weight: 300; margin-bottom: 6px; }
.md-subtext { font-size: 8px; color: #777; margin-bottom: 15px; }

.md-email-input {
    display: flex; justify-content: space-between; align-items: center;
    background: #111; border: 1px solid #333; padding: 8px 15px; border-radius: 20px;
    margin-bottom: 15px;
}
.md-email-input span { font-size: 8px; color: #555; }
.md-btn-send { color: var(--md-copper); font-size: 10px; cursor: pointer; font-weight: bold; }

.md-social-clean { font-size: 8px; color: var(--md-copper); letter-spacing: 2px; }
.md-social-clean span { cursor: pointer; transition: 0.3s; margin: 0 5px; }
.md-social-clean span:hover { color: var(--md-light); }

.md-bottom-line { 
    text-align: center; 
    font-size: 6px; 
    color: #444; 
    border-top: 1px solid #222; 
    padding-top: 10px; 
    letter-spacing: 2px; 
    margin-top: 10px;
}

/* محرك التنقل للموقع المصغر - ثابت لضمان سلاسة الانتقال */
#decor-micro-site .micro-site-engine {
    animation: stageSequence 12s cubic-bezier(0.85, 0, 0.15, 1) infinite;
}

/* تخصيص زر الطلب الخارجي لبطاقة الديكور لضمان البروز */
#decor-micro-site .order-btn-link {
    border: 1px solid var(--md-copper);
    color: var(--md-copper);
    text-align: center;
    padding: 12px;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s;
    font-weight: bold;
    display: block;
    margin: 0 20px 20px;
}


/*.==========================================
   هيكل بطاقة الشركات والمؤسسات (التنسيق الخارجي)
   ========================================== */

#corporate-micro-site {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* لون تحويم يوحي بالرسمية (أزرق ملكي داكن أو فضي) */
#corporate-micro-site:hover {
    border-color: #2c3e50; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(44, 62, 80, 0.3);
}

/* تخصيص زر الطلب لبطاقة الشركات */
#corporate-micro-site .order-btn-link {
    border-color: #2c3e50;
    color: #bdc3c7;
}

#corporate-micro-site .order-btn-link:hover {
    background: #2c3e50;
    color: #fff;
    box-shadow: 0 0 15px rgba(44, 62, 80, 0.5);
}

/* ==========================================
   تنسيق موقع الشركات - هوية (أسود، وردي، بني)
   ========================================== */

:root {
    --corp-black: #0a0a0a;
    --corp-pink: #f8bbd0;   /* الوردي الفاتح */
    --corp-brown: #3e2723;  /* البني الغامق */
    --corp-text: #d7ccc8;
}

#corporate-micro-site .live-viewport {
    background: var(--corp-black);
    position: relative;
}

.cs-corp-section {
    height: 220px; padding: 15px;
    display: flex; flex-direction: column;
    justify-content: space-between;
}

/* --- [1] الواجهة الرئيسية (الأعمدة والرسوم) --- */
.cs-corp-header {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid var(--corp-brown); padding-bottom: 8px;
}
.cs-corp-logo { font-size: 10px; font-weight: 900; color: var(--corp-pink); letter-spacing: 1px; }
.cs-corp-mini-nav { font-size: 7px; color: var(--corp-text); display: flex; gap: 10px; }

.cs-hero-data { display: flex; gap: 12px; align-items: center; height: 140px; }

/* برمجة الأعمدة البيانية */
.cs-bar-chart {
    display: flex; align-items: flex-end; gap: 4px; height: 60px; width: 50px;
    border-left: 1px solid var(--corp-brown); border-bottom: 1px solid var(--corp-brown);
}
.bar {
    width: 8px; height: 0; transition: height 1.5s ease;
    animation: growBar 2s ease forwards infinite alternate;
}
.b-pink { background: var(--corp-pink); box-shadow: 0 0 10px rgba(248, 187, 208, 0.3); }
.b-brown { background: var(--corp-brown); }

@keyframes growBar { to { height: var(--h); } }

.cs-hero-info h4 { color: var(--corp-pink); font-size: 11px; margin-bottom: 6px; }
.cs-hero-info p { font-size: 7px; color: var(--corp-text); line-height: 1.5; text-align: justify; }

/* --- [2] قسم الإنجازات (الأرقام) --- */
.cs-stats-title { color: var(--corp-pink); font-size: 10px; text-align: center; margin-bottom: 12px; }
.cs-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.stat-box {
    background: rgba(62, 39, 35, 0.2); border: 1px solid var(--corp-brown);
    padding: 8px; border-radius: 4px; text-align: center;
}
.counter { 
    font-size: 14px; font-weight: 800; color: var(--corp-pink); 
    animation: countSim 3s steps(10) infinite;
}
.counter::after { content: '%'; font-size: 8px; }

.stat-box span { font-size: 7px; color: var(--corp-text); display: block; margin-top: 4px; }

@keyframes countSim {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* --- [3] التذييل الرسمي (Footer) --- */
.cs-official-info { font-size: 7px; color: var(--corp-text); line-height: 1.6; margin-bottom: 10px; }
.cs-official-info span { color: var(--corp-pink); font-weight: bold; }

.cs-social-row { display: flex; justify-content: center; gap: 12px; margin-bottom: 12px; }
.corp-icon {
    font-size: 7px; color: var(--corp-pink); border: 1px solid var(--corp-brown);
    padding: 3px 8px; border-radius: 2px; background: rgba(0,0,0,0.5);
}

.cs-footer-bottom { border-top: 1px solid var(--corp-brown); padding-top: 8px; text-align: center; }
.cs-footer-bottom p { font-size: 6px; color: var(--corp-brown); font-weight: bold; }

/* محرك التنقل للموقع المصغر الثالث */
#corporate-micro-site .micro-site-engine {
    animation: stageSequence 12s cubic-bezier(0.85, 0, 0.15, 1) infinite;
}



/* ==========================================
   هيكل بطاقة المنصات التعليمية (التنسيق الخارجي)
   ========================================== */

#edu-micro-site {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* لون تحويم يوحي بالإلهام والتعلم (أزرق سماوي مشرق أو بنفسجي فاتح) */
#edu-micro-site:hover {
    border-color: #3498db; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(52, 152, 219, 0.25);
}

/* تخصيص زر الطلب لبطاقة التعليم */
#edu-micro-site .order-btn-link {
    border-color: #3498db;
    color: #3498db;
}

#edu-micro-site .order-btn-link:hover {
    background: #3498db;
    color: #fff;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.5);
}


/* ==========================================
   تنسيق منصة التعليم - هوية (أزرق نيوني، أخضر فسفوري، سلايت)
   ========================================== */

:root {
    --edu-bg: #0b0e14;
    --edu-neon-blue: #00d2ff;
    --edu-neon-green: #39ff14;
    --edu-purple: #9d50bb;
    --edu-text: #e0e0e0;
}

#edu-micro-site .live-viewport {
    background: var(--edu-bg);
    position: relative;
}

.ed-edu-section {
    height: 220px; padding: 15px;
    display: flex; flex-direction: column;
    justify-content: space-between;
}

/* --- [1] الواجهة الرئيسية (لوحة البيانات الذكية) --- */
.ed-edu-header {
    display: flex; justify-content: space-between; align-items: center;
}
.ed-edu-logo { font-size: 10px; font-weight: 800; color: white; letter-spacing: 1px; }
.ai-badge { background: var(--edu-neon-blue); color: black; font-size: 7px; padding: 1px 4px; border-radius: 3px; }
.ed-student-avatar { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(var(--edu-neon-blue), var(--edu-purple)); }

.ed-hero-dashboard { display: flex; align-items: center; gap: 15px; margin-top: 20px; }

/* الدائرة التقدمية مبرمجة SVG */
.ed-progress-circle { width: 55px; height: 55px; }
.circular-chart { display: block; margin: 0 auto; max-width: 100%; max-height: 100%; }
.circle-bg { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 3; }
.circle { fill: none; stroke: var(--edu-neon-blue); stroke-width: 3; stroke-linecap: round; animation: progressAnim 2s ease-out forwards; }
.percentage { fill: white; font-size: 8px; text-anchor: middle; font-weight: bold; }

@keyframes progressAnim { 0% { stroke-dasharray: 0, 100; } }

.ed-hero-info h4 { color: var(--edu-neon-blue); font-size: 11px; margin-bottom: 5px; }
.ed-hero-info p { font-size: 7px; color: #888; line-height: 1.4; }

/* --- [2] معرض الدورات (توهج النيون) --- */
.ed-course-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ed-course-card {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05);
    padding: 8px; border-radius: 8px; text-align: center; transition: 0.3s;
}
.ed-icon-box { 
    font-size: 10px; font-weight: bold; margin-bottom: 5px; 
    width: 25px; height: 25px; margin: 0 auto 5px;
    display: flex; align-items: center; justify-content: center; border-radius: 5px;
}

/* توزيع ألوان النيون */
.neon-blue .ed-icon-box { background: rgba(0,210,255,0.1); color: var(--edu-neon-blue); border: 1px solid var(--edu-neon-blue); }
.neon-green .ed-icon-box { background: rgba(57,255,20,0.1); color: var(--edu-neon-green); border: 1px solid var(--edu-neon-green); }
.neon-purple .ed-icon-box { background: rgba(157,80,187,0.1); color: var(--edu-purple); border: 1px solid var(--edu-purple); }
.neon-red .ed-icon-box { background: rgba(230,46,46,0.1); color: #e62e2e; border: 1px solid #e62e2e; }

.ed-course-card span { font-size: 7px; color: #ccc; }

/* --- [3] التذييل والمجتمع --- */
.ed-community-box { background: rgba(255,255,255,0.02); padding: 10px; border-radius: 6px; border: 1px dashed #444; }
.ed-community-box h6 { color: white; font-size: 9px; margin-bottom: 8px; }
.ed-active-users { display: flex; align-items: center; gap: 4px; margin-bottom: 10px; }
.u-dot { width: 5px; height: 5px; background: var(--edu-neon-green); border-radius: 50%; box-shadow: 0 0 5px var(--edu-neon-green); }
.ed-active-users span { font-size: 7px; color: #888; }

.ed-action-buttons { display: flex; gap: 8px; }
.ed-btn-main { background: var(--edu-neon-blue); color: black; font-size: 7px; padding: 4px 10px; border-radius: 4px; font-weight: bold; }
.ed-btn-sub { border: 1px solid #444; color: white; font-size: 7px; padding: 4px 10px; border-radius: 4px; }

.ed-footer-copy { text-align: center; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 8px; }
.ed-footer-copy p { font-size: 6px; color: #555; }

/* محرك التنقل للموقع المصغر الرابع */
#edu-micro-site .micro-site-engine {
    animation: stageSequence 12s cubic-bezier(0.85, 0, 0.15, 1) infinite;
}

/* ==========================================
   ختام الأقسام (الزر العائم والتذييل المخصص)
   ========================================== */

/* حاوية الختام (تمتد على كامل عرض الجريد) */
.section-footer-wrapper {
    grid-column: 1 / -1; 
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    animation: fadeInBody 0.8s ease;
}

/* زر الطلب المخصص */
.custom-request-box {
    position: relative;
    z-index: 20;
}

.section-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(45deg, var(--dim-red), var(--primary-red));
    color: var(--soft-white);
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-family: var(--font-text);
    font-size: 1.1rem;
    font-weight: 800;
    box-shadow: 0 10px 25px var(--red-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-cta-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px var(--red-glow);
    background: linear-gradient(45deg, var(--primary-red), #ff4d4d);
    color: #fff;
}

.pulse-icon {
    animation: pulseLight 2s infinite;
}

@keyframes pulseLight {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

/* تذييل القسم المخصص */
.section-specific-footer {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px 20px;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 -10px 30px rgba(0,0,0,0.2);
}

.ssf-content {
    max-width: 800px;
    margin: 0 auto;
}

.ssf-info h4 {
    color: var(--soft-white);
    font-family: var(--font-logo);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.ssf-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

.ssf-divider {
    width: 60px;
    height: 3px;
    background: var(--dim-red);
    margin: 20px auto;
    border-radius: 3px;
}

.ssf-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.designer-brand {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(230, 46, 46, 0.3);
}

.copyright {
    color: #777;
    font-size: 0.8rem;
}






/* ==========================================
   تنسيق زر العودة للأقسام
   ========================================== */

.return-top-wrapper {
    margin-top: 20px;
    width: 100%;
    text-align: center;
}

.return-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    text-decoration: none;
    font-family: var(--font-text);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.return-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--soft-white);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.up-arrow {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.return-btn:hover .up-arrow {
    transform: translateY(-3px);
}

/* إضافة هذا السطر في أعلى ملف CSS إذا لم يكن موجوداً لتفعيل التمرير الناعم */
html {
    scroll-behavior: smooth;
}


/* ==========================================
   هيكل بطاقة متجر الملابس (التنسيق الخارجي)
   ========================================== */

#fashion-store-micro {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* لون تحويم يجمع بين الأناقة (Fashion) والتسوق (لون مرجاني/ذهبي وردي) */
#fashion-store-micro:hover {
    border-color: #ff7f50; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(255, 127, 80, 0.25);
}

/* تخصيص زر الطلب لبطاقة المتجر */
#fashion-store-micro .order-btn-link {
    border-color: #ff7f50;
    color: #ff7f50;
}

#fashion-store-micro .order-btn-link:hover {
    background: #ff7f50;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 127, 80, 0.5);
}



/* ==========================================
   متجر الملابس (البوتيك المخملي: عنابي وروز جولد)
   ========================================== */

:root {
    --fs-bg: #1a0b12;        /* أسود محمر غامق جداً */
    --fs-burgundy: #4a0e2e;  /* عنابي فخم */
    --fs-rose: #dfa8b9;      /* روز جولد */
    --fs-text: #fdf5f7;      /* أبيض دافئ */
}

#fashion-store-micro .live-viewport {
    background: var(--fs-bg);
    position: relative;
}

.fs-section {
    height: 220px; padding: 15px;
    display: flex; flex-direction: column;
    justify-content: space-between;
}

/* --- [1] الواجهة الرئيسية (الهيدر والبانر) --- */
.fs-header { display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.fs-logo { font-size: 11px; font-weight: 300; color: var(--fs-text); letter-spacing: 4px; font-family: serif; }
.fs-dot { color: var(--fs-rose); }

/* أيقونة السلة المبرمجة */
.fs-cart-icon { position: relative; width: 15px; height: 15px; }
.cart-bag { width: 12px; height: 10px; border: 1px solid var(--fs-rose); border-radius: 2px 2px 4px 4px; position: absolute; bottom: 0; left: 1px; }
.cart-bag::before { content: ''; position: absolute; width: 6px; height: 4px; border: 1px solid var(--fs-rose); border-bottom: none; border-radius: 4px 4px 0 0; top: -5px; left: 2px; }
.cart-badge { position: absolute; top: -6px; right: -6px; background: var(--fs-rose); color: var(--fs-bg); font-size: 6px; font-weight: bold; width: 10px; height: 10px; border-radius: 50%; display: flex; justify-content: center; align-items: center; animation: popBadge 2s infinite alternate; }

@keyframes popBadge { 0% { transform: scale(1); } 100% { transform: scale(1.2); } }

/* البانر وتأثير الحرير */
.fs-banner {
    flex: 1; margin-top: 15px; border-radius: 8px; position: relative; overflow: hidden;
    display: flex; align-items: center; padding: 15px;
    border: 1px solid rgba(223, 168, 185, 0.2);
}
.fs-silk-effect {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, var(--fs-burgundy) 0%, var(--fs-bg) 60%);
    animation: waveSilk 8s ease-in-out infinite alternate; z-index: 0;
}
@keyframes waveSilk { 0% { transform: rotate(0deg) scale(1); } 100% { transform: rotate(15deg) scale(1.1); } }

.fs-hero-content { position: relative; z-index: 1; }
.fs-tag { font-size: 6px; color: var(--fs-bg); background: var(--fs-rose); padding: 2px 6px; border-radius: 10px; text-transform: uppercase; font-weight: bold; }
.fs-hero-content h2 { color: var(--fs-text); font-size: 14px; margin: 8px 0; font-family: serif; }
.fs-shop-btn { font-size: 7px; color: var(--fs-rose); display: flex; align-items: center; gap: 5px; cursor: pointer; }

/* --- [2] شبكة المنتجات (الكتالوج) --- */
.fs-section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 5px; }
.fs-section-header h5 { color: var(--fs-text); font-size: 10px; font-family: serif; }
.fs-section-header span { font-size: 7px; color: var(--fs-rose); }

.fs-product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fs-product-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 6px; padding: 6px; position: relative; display: flex; align-items: center; gap: 8px; }

/* الأشكال البرمجية للملابس (CSS Art) */
.fs-img-box { width: 30px; height: 30px; background: rgba(223, 168, 185, 0.05); border-radius: 4px; display: flex; justify-content: center; align-items: center; }

/* الفستان */
.css-shape-dress { width: 14px; height: 20px; background: var(--fs-rose); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0% 100%); border-radius: 2px; }
/* الحقيبة */
.css-shape-bag { width: 16px; height: 12px; background: #c5a059; border-radius: 2px 2px 4px 4px; position: relative; margin-top: 4px; }
.css-shape-bag::after { content: ''; position: absolute; width: 8px; height: 6px; border: 1px solid #c5a059; border-radius: 4px 4px 0 0; top: -6px; left: 3px; border-bottom: none; }
/* العطر */
.css-shape-perfume { width: 12px; height: 12px; background: rgba(255,255,255,0.6); border-radius: 2px; position: relative; border: 1px solid var(--fs-rose); margin-top: 4px; }
.css-shape-perfume::before { content: ''; position: absolute; width: 6px; height: 4px; background: var(--fs-rose); top: -4px; left: 2px; border-radius: 2px 2px 0 0; }
/* الحذاء (كعب) */
.css-shape-shoe { width: 16px; height: 12px; border-bottom: 3px solid var(--fs-burgundy); border-right: 2px solid var(--fs-burgundy); border-radius: 0 0 10px 0; position: relative; transform: rotate(-10deg); }

.fs-prod-info { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.fs-prod-info span { font-size: 6px; color: #aaa; }
.fs-prod-info strong { font-size: 8px; color: var(--fs-rose); }
.fs-add-btn { width: 12px; height: 12px; background: var(--fs-rose); color: var(--fs-bg); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 10px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.fs-add-btn:hover { transform: scale(1.2); }

/* --- [3] سلة المشتريات والتذييل --- */
.fs-checkout-box { background: rgba(223, 168, 185, 0.05); padding: 12px; border-radius: 8px; border: 1px solid rgba(223, 168, 185, 0.15); margin-top: 10px; }
.fs-checkout-box h6 { color: var(--fs-text); font-size: 10px; font-family: serif; margin-bottom: 8px; }
.fs-cart-item { display: flex; justify-content: space-between; font-size: 7px; color: #aaa; margin-bottom: 5px; }
.fs-cart-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.05); margin: 6px 0; }
.fs-cart-total { display: flex; justify-content: space-between; font-size: 8px; color: var(--fs-text); font-weight: bold; margin-bottom: 10px; }
.fs-gold-text { color: var(--fs-rose); font-size: 9px; }

.fs-checkout-btn { background: var(--fs-rose); color: var(--fs-bg); text-align: center; padding: 6px; border-radius: 4px; font-size: 8px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.fs-checkout-btn:hover { background: #fff; }

.fs-footer-bottom { text-align: center; padding-top: 15px; }
.fs-footer-bottom span { font-size: 6px; color: var(--fs-rose); letter-spacing: 1px; border: 1px dashed var(--fs-rose); padding: 3px 8px; border-radius: 10px; }

/* محرك التنقل لمتجر الأزياء */
#fashion-store-micro .micro-site-engine {
    animation: stageSequence 12s cubic-bezier(0.85, 0, 0.15, 1) infinite;
}






/* ==========================================
   هيكل بطاقة متجر الأثاث (التنسيق الخارجي)
   ========================================== */

#furniture-store-micro {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* لون تحويم دافئ (بني خشبي / نحاسي) يناسب الديكور */
#furniture-store-micro:hover {
    border-color: #c89b7b; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(200, 155, 123, 0.2);
}

/* تخصيص زر الطلب لبطاقة الأثاث */
#furniture-store-micro .order-btn-link {
    border-color: #c89b7b;
    color: #c89b7b;
}

#furniture-store-micro .order-btn-link:hover {
    background: #c89b7b;
    color: #000;
    box-shadow: 0 0 15px rgba(200, 155, 123, 0.4);
}




/* ==========================================
   متجر الأثاث (هوية الزمرد والذهب)
   ========================================== */

:root {
    --fur-emerald: #0b2e1f; /* أخضر زمردي داكن */
    --fur-gold: #d4af37;    /* ذهبي فاخر */
    --fur-cream: #f9f6f0;   /* عاجي / بيج فاتح */
    --fur-surface: #154530; /* أخضر أفتح للأسطح */
}

#furniture-store-micro .live-viewport {
    background: var(--fur-cream);
    position: relative;
    color: var(--fur-emerald);
}

.fur-section {
    height: 220px; padding: 15px;
    display: flex; flex-direction: column;
    justify-content: space-between;
}

/* --- [1] الواجهة الرئيسية (صالة العرض) --- */
.fur-header { display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.fur-logo { font-size: 10px; font-weight: 900; letter-spacing: 2px; color: var(--fur-emerald); }
.fur-menu-icon { display: flex; flex-direction: column; gap: 3px; }
.fur-menu-icon span { width: 12px; height: 1.5px; background: var(--fur-emerald); }
.fur-menu-icon span:last-child { width: 8px; align-self: flex-end; }

/* المشهد المبرمج (صالة العرض) */
.fur-scene-wrapper {
    height: 80px; position: relative; margin-top: 10px;
    display: flex; justify-content: center; align-items: flex-end;
}

.fur-arch-bg {
    position: absolute; width: 60px; height: 75px;
    background: var(--fur-emerald);
    border-radius: 40px 40px 0 0; /* شكل القوس المعماري */
    bottom: 0; left: 50%; transform: translateX(-50%);
}

.fur-modern-sofa {
    position: relative; width: 50px; height: 25px; z-index: 2;
    transform: translateX(-10px);
}
.f-sofa-back { width: 100%; height: 15px; background: #e0d5c1; border-radius: 10px 10px 2px 2px; }
.f-sofa-seat { width: 110%; height: 10px; background: #d1c5ad; position: absolute; bottom: 0; left: -5%; border-radius: 4px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }

.fur-floor-lamp {
    position: relative; height: 50px; width: 15px; z-index: 2;
    transform: translateX(15px); display: flex; flex-direction: column; align-items: center;
}
.f-lamp-shade { width: 12px; height: 10px; background: var(--fur-gold); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0% 100%); }
.f-lamp-stand { width: 2px; height: 40px; background: #333; }
.f-lamp-glow { position: absolute; top: 5px; width: 30px; height: 30px; background: radial-gradient(circle, rgba(212, 175, 55, 0.4) 0%, transparent 70%); border-radius: 50%; }

.fur-hero-text { text-align: center; margin-top: 5px; }
.fur-hero-text h2 { font-size: 12px; margin-bottom: 4px; color: var(--fur-emerald); }
.fur-hero-text p { font-size: 7px; color: #666; line-height: 1.4; margin-bottom: 6px; }
.fur-explore-btn { display: inline-block; background: var(--fur-emerald); color: var(--fur-gold); font-size: 6px; padding: 4px 10px; border-radius: 12px; }

/* --- [2] شبكة المنتجات (المعرض) --- */
.fur-products { background: var(--fur-emerald); color: var(--fur-cream); }
.fur-section-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 5px; }
.fur-section-top h5 { font-size: 10px; font-weight: 300; letter-spacing: 1px; color: var(--fur-gold); }
.fur-filter { font-size: 7px; color: #aaa; }

.fur-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fur-card { background: var(--fur-surface); padding: 6px; border-radius: 6px; position: relative; border: 1px solid rgba(212, 175, 55, 0.1); }

.fur-img-area { height: 35px; background: rgba(0,0,0,0.2); border-radius: 4px; display: flex; justify-content: center; align-items: center; margin-bottom: 6px; }

/* CSS Art لقطع الأثاث */
.css-lounge-chair { width: 14px; height: 14px; background: var(--fur-gold); border-radius: 5px 5px 2px 2px; position: relative; margin-top: -4px; }
.css-lounge-chair::after { content: ''; position: absolute; width: 18px; height: 6px; background: #b8962b; bottom: -4px; left: -2px; border-radius: 2px; }
.css-lounge-chair::before { content: ''; position: absolute; width: 2px; height: 6px; background: #fff; bottom: -10px; left: 2px; box-shadow: 10px 0 0 #fff; }

.css-table-lamp { width: 10px; height: 8px; background: #fff; clip-path: polygon(30% 0, 70% 0, 100% 100%, 0% 100%); position: relative; margin-top: -8px; }
.css-table-lamp::after { content: ''; position: absolute; width: 2px; height: 10px; background: var(--fur-gold); top: 8px; left: 4px; }

.css-coffee-table { width: 20px; height: 4px; background: #eee; border-radius: 2px; position: relative; margin-top: -5px; }
.css-coffee-table::after { content: ''; position: absolute; width: 2px; height: 10px; background: var(--fur-gold); top: 4px; left: 4px; box-shadow: 10px 0 0 var(--fur-gold); }

.css-indoor-plant { width: 10px; height: 10px; background: #fff; border-radius: 2px 2px 5px 5px; position: relative; margin-top: 10px; }
.css-indoor-plant::after { content: ''; position: absolute; width: 16px; height: 16px; background: radial-gradient(circle at top, #4ade80, #166534); border-radius: 50%; top: -14px; left: -3px; }

.fur-details { display: flex; flex-direction: column; gap: 2px; }
.fur-details span { font-size: 6px; color: #ddd; }
.fur-details strong { font-size: 8px; color: var(--fur-gold); }
.fur-cart-add { position: absolute; bottom: 6px; right: 6px; width: 12px; height: 12px; background: var(--fur-gold); color: var(--fur-emerald); border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 10px; font-weight: bold; cursor: pointer; }

/* --- [3] سلة المشتريات والتذييل --- */
.fur-footer { background: var(--fur-cream); }
.fur-cart-summary { background: #fff; padding: 10px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border: 1px solid rgba(11, 46, 31, 0.1); }
.fur-cart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.fur-cart-header h6 { font-size: 9px; color: var(--fur-emerald); }
.fur-cart-header span { font-size: 10px; font-weight: bold; color: var(--fur-gold); }
.fur-cart-items-mini { font-size: 6px; color: #777; margin-bottom: 8px; display: flex; flex-direction: column; gap: 3px; }
.fur-checkout-btn { background: var(--fur-emerald); color: var(--fur-gold); text-align: center; padding: 6px; border-radius: 4px; font-size: 8px; font-weight: bold; }

.fur-consult-box { background: rgba(212, 175, 55, 0.1); border: 1px dashed var(--fur-gold); padding: 8px; border-radius: 6px; text-align: center; margin-top: 10px; }
.fur-consult-box p { font-size: 6px; color: var(--fur-emerald); margin-bottom: 4px; }
.fur-designer-btn { font-size: 7px; color: var(--fur-emerald); font-weight: bold; display: inline-block; padding: 3px 8px; border: 1px solid var(--fur-emerald); border-radius: 10px; }

/* محرك التنقل لمتجر الأثاث */
#furniture-store-micro .micro-site-engine {
    animation: stageSequence 12s cubic-bezier(0.85, 0, 0.15, 1) infinite;
}




/* ==========================================
   هيكل بطاقة المتجر العسكري (التنسيق الخارجي)
   ========================================== */

#military-store-micro {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* لون تحويم يوحي بالقوة (أخضر زيتي / كاكي) */
#military-store-micro:hover {
    border-color: #4b5320; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(75, 83, 32, 0.3);
}

/* تخصيص زر الطلب لبطاقة المتجر العسكري */
#military-store-micro .order-btn-link {
    border-color: #4b5320;
    color: #8a9a5b;
}

#military-store-micro .order-btn-link:hover {
    background: #4b5320;
    color: #fff;
    box-shadow: 0 0 15px rgba(75, 83, 32, 0.5);
}





/* ==========================================
   متجر المستلزمات العسكرية (هوية Tactical HUD)
   ========================================== */

:root {
    --mil-dark: #0a0f0d;      /* أسود تكتيكي */
    --mil-green: #39ff14;     /* أخضر نيوني (Night Vision) */
    --mil-dark-green: #1a3320;/* أخضر زيتي غامق */
    --mil-accent: #ff4500;    /* برتقالي تحذيري */
    --mil-text: #b0c4b1;      /* رمادي مخضر للنصوص */
}

#military-store-micro .live-viewport {
    background: var(--mil-dark);
    position: relative;
    color: var(--mil-text);
    font-family: monospace; /* خط الآلة الكاتبة/الأنظمة */
}

.mil-section {
    height: 220px; padding: 15px;
    display: flex; flex-direction: column;
    justify-content: space-between;
}

/* --- [1] الواجهة الرئيسية (الرادار التكتيكي) --- */
.mil-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--mil-dark-green); padding-bottom: 5px; }
.mil-logo { font-size: 11px; font-weight: 900; letter-spacing: 2px; color: var(--mil-text); }
.mil-accent { color: var(--mil-accent); }
.mil-status-blinker { font-size: 6px; color: var(--mil-green); display: flex; align-items: center; gap: 4px; }
.mil-status-blinker span { width: 5px; height: 5px; background: var(--mil-green); border-radius: 50%; animation: blinker 1s infinite; box-shadow: 0 0 5px var(--mil-green); }

@keyframes blinker { 50% { opacity: 0; } }

.mil-hero-display { display: flex; align-items: center; gap: 10px; margin-top: 15px; }

/* رادار مبرمج */
.mil-radar-container {
    width: 60px; height: 60px; border-radius: 50%;
    border: 1px solid var(--mil-green); position: relative;
    background: radial-gradient(circle, var(--mil-dark-green) 0%, var(--mil-dark) 70%);
    overflow: hidden; flex-shrink: 0;
}
.mil-radar-grid { position: absolute; width: 100%; height: 100%; background: linear-gradient(0deg, transparent 49%, rgba(57,255,20,0.3) 50%, transparent 51%), linear-gradient(90deg, transparent 49%, rgba(57,255,20,0.3) 50%, transparent 51%); }
.mil-radar-sweep { position: absolute; width: 50%; height: 50%; top: 0; left: 50%; background: conic-gradient(from 0deg, transparent 70%, rgba(57,255,20,0.6) 100%); transform-origin: bottom left; animation: radarSpin 3s linear infinite; }
.mil-target-dot { position: absolute; width: 3px; height: 3px; background: var(--mil-accent); border-radius: 50%; top: 20px; left: 15px; animation: blinker 2s infinite; }

@keyframes radarSpin { 100% { transform: rotate(360deg); } }

.mil-hero-text h2 { font-size: 10px; margin-bottom: 5px; color: var(--mil-green); text-transform: uppercase; }
.mil-hero-text p { font-size: 6px; line-height: 1.5; margin-bottom: 8px; }
.mil-action-btn { display: inline-block; font-size: 6px; color: var(--mil-accent); border: 1px solid var(--mil-accent); padding: 3px 6px; cursor: pointer; transition: 0.3s; background: rgba(255,69,0,0.1); }
.mil-action-btn:hover { background: var(--mil-accent); color: var(--mil-dark); }

/* --- [2] شبكة المنتجات (الترسانة) --- */
.mil-section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mil-section-title h5 { font-size: 9px; color: var(--mil-text); }
.mil-section-title span { font-size: 6px; color: var(--mil-accent); }

.mil-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mil-card { background: rgba(26,51,32,0.3); border: 1px solid var(--mil-dark-green); padding: 6px; position: relative; transition: 0.3s; }
.mil-card:hover { border-color: var(--mil-green); background: rgba(57,255,20,0.05); }

/* علامات التصويب (Crosshairs) */
.mil-crosshair { position: absolute; width: 6px; height: 6px; border: 1px solid transparent; transition: 0.3s; }
.mil-card:hover .top-left { border-top-color: var(--mil-green); border-left-color: var(--mil-green); top: 2px; left: 2px; }
.mil-card:hover .bottom-right { border-bottom-color: var(--mil-green); border-right-color: var(--mil-green); bottom: 2px; right: 2px; }

.mil-img-box { height: 35px; display: flex; justify-content: center; align-items: center; margin-bottom: 5px; }

/* أشكال الـ CSS للمعدات العسكرية */
.css-tactical-bag { width: 14px; height: 18px; background: #556b2f; border-radius: 4px 4px 2px 2px; position: relative; }
.css-tactical-bag::after { content: ''; position: absolute; width: 10px; height: 6px; background: #3b4d2e; bottom: 2px; left: 2px; border-radius: 1px; }

.css-combat-boot { width: 16px; height: 14px; background: #8b7355; clip-path: polygon(20% 0, 60% 0, 70% 50%, 100% 70%, 100% 100%, 0 100%, 0 40%); position: relative; border-bottom: 2px solid #222; }

.css-survival-knife { width: 22px; height: 4px; background: #ccc; position: relative; transform: rotate(-45deg); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.css-survival-knife::after { content: ''; position: absolute; width: 8px; height: 6px; background: #222; left: 0; top: -1px; border-radius: 2px; }

.css-night-vision { width: 18px; height: 8px; background: #222; border-radius: 2px; position: relative; display: flex; justify-content: space-between; }
.css-night-vision::before, .css-night-vision::after { content: ''; width: 6px; height: 10px; background: var(--mil-green); border-radius: 50%; border: 1px solid #111; margin-top: -1px; box-shadow: 0 0 5px var(--mil-green); }

.mil-details { display: flex; flex-direction: column; gap: 2px; }
.mil-details span { font-size: 6px; color: #888; text-transform: uppercase; }
.mil-details strong { font-size: 8px; color: var(--mil-green); }

/* --- [3] التذييل والتشفير (Terminal) --- */
.mil-checkout-terminal { background: #050806; border: 1px solid var(--mil-dark-green); padding: 8px; border-radius: 2px; margin-top: 10px; }
.mil-checkout-terminal h6 { color: var(--mil-green); font-size: 7px; margin-bottom: 6px; }
.mil-terminal-lines { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.m-line { display: flex; justify-content: space-between; font-size: 6px; color: #666; }
.m-divider { height: 1px; background: dashed 1px var(--mil-dark-green); margin: 2px 0; }
.m-line.total { color: var(--mil-text); font-weight: bold; }

.mil-secure-btn { background: var(--mil-accent); color: #000; text-align: center; padding: 5px; font-size: 7px; font-weight: bold; cursor: pointer; display: flex; justify-content: center; gap: 5px; }
.mil-secure-btn:hover { background: #fff; }

.mil-footer-bottom { text-align: center; margin-top: 10px; font-size: 5px; color: var(--mil-dark-green); letter-spacing: 1px; }

/* محرك التنقل للمتجر العسكري */
#military-store-micro .micro-site-engine {
    animation: stageSequence 12s cubic-bezier(0.85, 0, 0.15, 1) infinite;
}






/* ==========================================
   هيكل بطاقة متجر التقنية (التنسيق الخارجي)
   ========================================== */

#tech-store-micro {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* لون تحويم مستقبلي (أزرق سيان نيوني) */
#tech-store-micro:hover {
    border-color: #00f0ff; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(0, 240, 255, 0.3);
}

/* تخصيص زر الطلب لبطاقة التقنية */
#tech-store-micro .order-btn-link {
    border-color: #00f0ff;
    color: #00f0ff;
}

#tech-store-micro .order-btn-link:hover {
    background: #00f0ff;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}








/* ==========================================
   متجر التقنية (هوية Cyberpunk: سيان ووردي نيوني)
   ========================================== */

:root {
    --ts-bg: #050508;       /* أسود سيبراني عميق */
    --ts-cyan: #00f0ff;     /* أزرق نيوني (سيان) */
    --ts-pink: #ff003c;     /* وردي صارخ */
    --ts-text: #e0e6ed;     /* رمادي ثلجي */
    --ts-dark: #12141d;     /* لون البطاقات */
}

#tech-store-micro .live-viewport {
    background: var(--ts-bg);
    position: relative;
    color: var(--ts-text);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ts-section {
    height: 220px; padding: 15px;
    display: flex; flex-direction: column;
    justify-content: space-between;
}

/* --- [1] الواجهة الرئيسية --- */
.ts-header { display: flex; justify-content: space-between; align-items: center; z-index: 2; }
.ts-logo { font-size: 12px; font-weight: 900; letter-spacing: 3px; color: var(--ts-cyan); text-shadow: 0 0 10px rgba(0, 240, 255, 0.5); }

/* بطارية نيون */
.ts-battery { width: 16px; height: 8px; border: 1px solid var(--ts-text); border-radius: 2px; position: relative; padding: 1px; }
.ts-battery::after { content: ''; position: absolute; width: 2px; height: 4px; background: var(--ts-text); right: -3px; top: 1px; border-radius: 0 2px 2px 0; }
.ts-energy { width: 80%; height: 100%; background: var(--ts-cyan); box-shadow: 0 0 5px var(--ts-cyan); animation: charge 2s infinite alternate; }
@keyframes charge { 0% { width: 20%; background: var(--ts-pink); } 100% { width: 100%; background: var(--ts-cyan); } }

.ts-hero-center { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 15px; }

/* المعالج السيبراني المبرمج (CPU) */
.ts-cpu-container { position: relative; width: 35px; height: 35px; border: 1px solid var(--ts-cyan); display: flex; justify-content: center; align-items: center; box-shadow: inset 0 0 10px rgba(0, 240, 255, 0.2); background: rgba(0, 240, 255, 0.05); }
.ts-cpu-core { width: 15px; height: 15px; background: var(--ts-cyan); box-shadow: 0 0 15px var(--ts-cyan); animation: pulseCore 1.5s infinite alternate; }
.ts-circuit { position: absolute; background: var(--ts-cyan); }
.ts-circuit.top { width: 2px; height: 6px; top: -6px; left: 16px; box-shadow: 6px 0 0 var(--ts-cyan), -6px 0 0 var(--ts-cyan); }
.ts-circuit.bottom { width: 2px; height: 6px; bottom: -6px; left: 16px; box-shadow: 6px 0 0 var(--ts-cyan), -6px 0 0 var(--ts-cyan); }
.ts-circuit.left { width: 6px; height: 2px; left: -6px; top: 16px; box-shadow: 0 6px 0 var(--ts-cyan), 0 -6px 0 var(--ts-cyan); }
.ts-circuit.right { width: 6px; height: 2px; right: -6px; top: 16px; box-shadow: 0 6px 0 var(--ts-cyan), 0 -6px 0 var(--ts-cyan); }
@keyframes pulseCore { 0% { transform: scale(0.9); opacity: 0.8; } 100% { transform: scale(1.1); opacity: 1; } }

.ts-hero-text { text-align: center; }
.ts-hero-text h2 { font-size: 11px; margin-bottom: 5px; color: var(--ts-text); letter-spacing: 1px; }
.ts-hero-text p { font-size: 7px; color: #888; margin-bottom: 10px; line-height: 1.4; }
.ts-glow-btn { font-size: 7px; color: var(--ts-bg); background: var(--ts-cyan); display: inline-block; padding: 4px 12px; border-radius: 2px; font-weight: bold; cursor: pointer; box-shadow: 0 0 10px var(--ts-cyan); text-transform: uppercase; }

/* --- [2] شبكة المنتجات التقنية --- */
.ts-section-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; border-bottom: 1px dashed #333; padding-bottom: 4px; }
.ts-section-title h5 { font-size: 9px; color: var(--ts-cyan); letter-spacing: 1px; }
.ts-section-title span { font-size: 6px; color: #666; }

.ts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ts-card { background: var(--ts-dark); padding: 6px; border: 1px solid #222; border-radius: 4px; display: flex; flex-direction: column; transition: 0.3s; position: relative; overflow: hidden; }
.ts-card:hover { border-color: var(--ts-cyan); box-shadow: 0 0 10px rgba(0, 240, 255, 0.1); }
.ts-card::before { content: ''; position: absolute; width: 2px; height: 10px; background: var(--ts-pink); top: 5px; left: 0; opacity: 0; transition: 0.3s; }
.ts-card:hover::before { opacity: 1; }

.ts-img-box { height: 35px; background: #0a0c10; margin-bottom: 6px; border-radius: 2px; display: flex; justify-content: center; align-items: center; }

/* CSS Art للأجهزة التقنية */
.css-vr-headset { width: 22px; height: 10px; background: #ddd; border-radius: 6px; position: relative; border-bottom: 2px solid var(--ts-cyan); box-shadow: 0 2px 5px rgba(0,240,255,0.4); }
.css-vr-headset::after { content: ''; position: absolute; width: 28px; height: 2px; background: #444; top: 4px; left: -3px; z-index: -1; }

.css-smartwatch { width: 14px; height: 16px; background: #111; border: 2px solid #555; border-radius: 4px; position: relative; display: flex; justify-content: center; align-items: center; }
.css-smartwatch::before { content: ''; position: absolute; width: 8px; height: 24px; background: #222; z-index: -1; border-radius: 2px; }
.css-smartwatch::after { content: ''; width: 8px; height: 8px; border: 1px solid var(--ts-cyan); border-radius: 50%; box-shadow: 0 0 5px var(--ts-cyan); }

.css-gaming-mouse { width: 12px; height: 20px; background: #222; border-radius: 10px 10px 4px 4px; position: relative; border: 1px solid #444; }
.css-gaming-mouse::after { content: ''; position: absolute; width: 2px; height: 6px; background: var(--ts-pink); top: 3px; left: 4px; box-shadow: 0 0 4px var(--ts-pink); }

.css-gpu { width: 24px; height: 10px; background: #333; border: 1px solid #555; position: relative; display: flex; justify-content: space-around; align-items: center; }
.css-gpu::before, .css-gpu::after { content: ''; width: 6px; height: 6px; border: 1px dashed var(--ts-cyan); border-radius: 50%; animation: radarSpin 2s linear infinite; }

.ts-details { display: flex; flex-direction: column; gap: 2px; }
.ts-details span { font-size: 6px; color: #aaa; }
.ts-details strong { font-size: 8px; color: var(--ts-cyan); }
.ts-add-btn { position: absolute; bottom: 6px; right: 6px; background: #222; color: var(--ts-text); font-size: 5px; padding: 2px 6px; border-radius: 2px; border: 1px solid #444; cursor: pointer; transition: 0.3s; }
.ts-card:hover .ts-add-btn { background: var(--ts-cyan); color: #000; border-color: var(--ts-cyan); }

/* --- [3] سلة البيانات والتذييل --- */
.ts-footer { background: var(--ts-bg); }
.ts-cart-board { background: #080a0f; border: 1px solid #222; padding: 10px; border-radius: 4px; font-family: monospace; }
.ts-cart-board h6 { color: #888; font-size: 8px; margin-bottom: 8px; letter-spacing: 1px; }
.ts-cart-row { display: flex; justify-content: space-between; font-size: 6px; color: var(--ts-text); margin-bottom: 4px; }
.ts-cart-divider { height: 1px; background: #222; margin: 6px 0; }
.ts-cart-row.total { font-weight: bold; font-size: 7px; margin-bottom: 10px; }
.ts-neon-pink { color: var(--ts-pink); text-shadow: 0 0 5px rgba(255, 0, 60, 0.5); }

.ts-checkout-btn { background: transparent; color: var(--ts-cyan); border: 1px solid var(--ts-cyan); text-align: center; padding: 6px; font-size: 7px; cursor: pointer; transition: 0.3s; box-shadow: inset 0 0 5px rgba(0,240,255,0.1); }
.ts-checkout-btn:hover { background: var(--ts-cyan); color: #000; box-shadow: 0 0 10px var(--ts-cyan); }
.ts-arrow { animation: bounceRight 1s infinite alternate; display: inline-block; }
@keyframes bounceRight { 0% { transform: translateX(0); } 100% { transform: translateX(3px); } }

/* محرك التنقل لمتجر التقنية */
#tech-store-micro .micro-site-engine {
    animation: stageSequence 12s cubic-bezier(0.85, 0, 0.15, 1) infinite;
}




/* ==========================================
   جسم تطبيقات الموبايل (إطار الهاتف والبطاقة الأولى)
   ========================================== */

#delivery-app-micro {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* لون تحويم حيوي يعبر عن السرعة والنشاط (أصفر / برتقالي) */
#delivery-app-micro:hover {
    border-color: #f1c40f; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(241, 196, 15, 0.25);
}

#delivery-app-micro .order-btn-link { border-color: #f1c40f; color: #f1c40f; }
#delivery-app-micro .order-btn-link:hover { background: #f1c40f; color: #000; box-shadow: 0 0 15px rgba(241, 196, 15, 0.5); }

/* --- [تصميم إطار الهاتف الذكي (Mobile Mockup)] --- */
.mobile-mockup {
    width: 200px;          /* عرض شاشة الهاتف */
    height: 400px;         /* طول شاشة الهاتف */
    border: 8px solid #1a1a1a;
    border-radius: 30px;
    margin: 10px auto;
    position: relative;
    background: #000;
    box-shadow: 0 15px 30px rgba(0,0,0,0.5), inset 0 0 5px rgba(255,255,255,0.1);
    overflow: hidden;
}

/* النوتش (الكاميرا العلوية للهاتف) */
.mobile-notch {
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 18px;
    background: #1a1a1a;
    border-radius: 0 0 12px 12px;
    z-index: 10;
}

/* مساحة العرض الخاصة بالتطبيق */
.live-viewport-mobile {
    width: 100%; height: 100%;
    position: relative;
    overflow: hidden;
    background: #111; 
}



/* ==========================================
   تطبيق "توصيل حرازي" (شاشات وتجربة مستخدم)
   ========================================== */

:root {
    --hd-yellow: #ffcc00;   /* أصفر التوصيل السريع */
    --hd-dark: #121212;     /* أسود أنيق */
    --hd-light: #f9f9f9;    /* خلفية الشاشات */
    --hd-gray: #888888;
}

/* محرك الشاشات المخصص للموبايل (ارتفاع الشاشة 400px) */
.mobile-site-engine {
    width: 100%;
    animation: mobileStageSequence 15s cubic-bezier(0.85, 0, 0.15, 1) infinite;
}

@keyframes mobileStageSequence {
    0%, 25% { transform: translateY(0); }             /* شاشة الترحيب */
    33%, 58% { transform: translateY(-400px); }       /* شاشة التسجيل */
    66%, 91% { transform: translateY(-800px); }       /* شاشة التتبع */
    100% { transform: translateY(0); }
}

.app-screen {
    width: 100%; height: 400px;
    background: var(--hd-light);
    position: relative;
    display: flex; flex-direction: column;
}

/* --- [1] شاشة الترحيب (Splash) --- */
.hd-splash { background: var(--hd-yellow); justify-content: center; align-items: center; color: var(--hd-dark); }
.hd-logo-box { width: 60px; height: 60px; background: var(--hd-dark); border-radius: 20px; display: flex; justify-content: center; align-items: center; margin-bottom: 15px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.hd-bike-icon { font-size: 30px; animation: bounceBike 1s infinite alternate; }
@keyframes bounceBike { 0% { transform: translateY(0); } 100% { transform: translateY(-5px); } }
.hd-brand { font-size: 22px; font-weight: 900; margin-bottom: 5px; }
.hd-slogan { font-size: 12px; font-weight: bold; opacity: 0.8; }
.hd-loading-bar { width: 100px; height: 4px; background: rgba(0,0,0,0.1); border-radius: 2px; margin-top: 30px; overflow: hidden; }
.hd-loader { width: 40%; height: 100%; background: var(--hd-dark); animation: loadBar 1.5s infinite; }
@keyframes loadBar { 0% { transform: translateX(-100px); } 100% { transform: translateX(100px); } }

/* --- [2] شاشة التسجيل (Registration) --- */
.hd-login { padding: 40px 20px 20px; }
.hd-login-header h3 { font-size: 20px; color: var(--hd-dark); margin-bottom: 5px; }
.hd-login-header p { font-size: 10px; color: var(--hd-gray); margin-bottom: 30px; }
.hd-form { display: flex; flex-direction: column; gap: 15px; }
.hd-input-group { display: flex; align-items: center; gap: 10px; background: #fff; padding: 12px; border-radius: 12px; border: 1px solid #eee; }
.hd-line-input { font-size: 10px; color: #aaa; }
.hd-btn-primary { background: var(--hd-yellow); color: var(--hd-dark); text-align: center; padding: 12px; border-radius: 12px; font-weight: bold; font-size: 12px; box-shadow: 0 5px 15px rgba(255, 204, 0, 0.3); }
.hd-divider { text-align: center; font-size: 10px; color: #ccc; margin: 20px 0; position: relative; }
.hd-divider::before, .hd-divider::after { content: ''; position: absolute; width: 35%; height: 1px; background: #eee; top: 50%; }
.hd-divider::before { left: 0; } .hd-divider::after { right: 0; }
.hd-social-login { display: flex; gap: 15px; justify-content: center; }
.hd-s-btn { width: 40px; height: 40px; border-radius: 50%; background: #fff; display: flex; justify-content: center; align-items: center; font-weight: bold; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.hd-s-btn.google { color: #DB4437; } .hd-s-btn.facebook { color: #4267B2; }

/* --- [3] شاشة التتبع والخريطة (Home & Map) --- */
.hd-home { background: #e5e3df; /* لون الخريطة */ position: relative; }
/* رسم الخريطة وشوارعها بالـ CSS */
.hd-map-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff), linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff); background-size: 20px 20px; background-position: 0 0, 10px 10px; opacity: 0.5; }
.hd-route-line { position: absolute; width: 4px; height: 120px; background: var(--hd-yellow); top: 80px; left: 50%; transform: translateX(-50%); border-radius: 2px; }
.hd-marker { position: absolute; font-size: 18px; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.3)); }
.hd-marker.store { top: 60px; left: 45%; }
.hd-marker.delivery { top: 120px; left: 45%; animation: driveBike 4s linear infinite alternate; }
.hd-marker.user { top: 200px; left: 45%; }
@keyframes driveBike { 0% { top: 60px; } 100% { top: 180px; } }

/* بطاقة المندوب */
.hd-bottom-sheet { position: absolute; bottom: 60px; left: 10px; right: 10px; background: #fff; border-radius: 15px; padding: 15px; box-shadow: 0 -5px 20px rgba(0,0,0,0.05); }
.hd-drag-handle { width: 30px; height: 4px; background: #eee; border-radius: 2px; margin: 0 auto 10px; }
.hd-driver-info { display: flex; align-items: center; gap: 10px; }
.hd-avatar { width: 35px; height: 35px; background: #ddd; border-radius: 50%; border: 2px solid var(--hd-yellow); }
.hd-d-text { display: flex; flex-direction: column; flex: 1; }
.hd-d-text strong { font-size: 10px; color: var(--hd-dark); }
.hd-d-text span { font-size: 8px; color: var(--hd-gray); }
.hd-call-btn { width: 30px; height: 30px; background: #e8f5e9; color: #4caf50; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 12px; }

/* شريط التنقل السفلي */
.hd-bottom-nav { position: absolute; bottom: 0; left: 0; width: 100%; height: 50px; background: #fff; border-top: 1px solid #f0f0f0; display: flex; justify-content: space-around; align-items: center; z-index: 10; border-radius: 0 0 20px 20px; }
.hd-nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #ccc; transition: 0.3s; }
.hd-nav-item.active { color: var(--hd-dark); }
.n-icon { font-size: 16px; }
.n-text { font-size: 8px; font-weight: bold; }






/* ==========================================
   هيكل بطاقة تطبيق المحفظة الرقمية (التنسيق الخارجي)
   ========================================== */

#fintech-app-micro {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* لون تحويم يوحي بالثقة المالية والتقنية (بنفسجي مزرق) */
#fintech-app-micro:hover {
    border-color: #6c5ce7; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(108, 92, 231, 0.3);
}

#fintech-app-micro .order-btn-link { 
    border-color: #6c5ce7; 
    color: #a29bfe; 
}

#fintech-app-micro .order-btn-link:hover { 
    background: #6c5ce7; 
    color: #fff; 
    box-shadow: 0 0 15px rgba(108, 92, 231, 0.5); 
}




/* ==========================================
   تطبيق "NEXA Wallet" (شاشات وتجربة مستخدم مالية)
   ========================================== */

:root {
    --ft-bg: #0f0f13;       /* أسود ليلي للخلفية */
    --ft-primary: #6c5ce7;  /* بنفسجي مزرق */
    --ft-surface: #1c1c24;  /* رمادي داكن للبطاقات */
    --ft-text: #ffffff;
    --ft-muted: #8b8b99;
}

.ft-home, .ft-transactions, .ft-analytics { 
    background: var(--ft-bg); 
    color: var(--ft-text); 
    padding: 20px 15px; 
    box-sizing: border-box;
}

/* --- [1] شاشة لوحة القيادة --- */
.ft-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.ft-user-info { display: flex; align-items: center; gap: 8px; }
.ft-avatar { width: 30px; height: 30px; background: linear-gradient(45deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%); border-radius: 50%; }
.ft-greeting { display: flex; flex-direction: column; }
.ft-greeting span { font-size: 7px; color: var(--ft-muted); }
.ft-greeting strong { font-size: 9px; font-weight: bold; }
.ft-bell-icon { position: relative; font-size: 12px; background: var(--ft-surface); padding: 5px; border-radius: 50%; }
.ft-dot { position: absolute; top: 4px; right: 6px; width: 4px; height: 4px; background: #ff4757; border-radius: 50%; }

.ft-balance-section { margin-bottom: 20px; text-align: center; }
.ft-label { font-size: 8px; color: var(--ft-muted); }
.ft-balance { font-size: 24px; font-weight: 900; margin-top: 5px; letter-spacing: 1px; }
.ft-balance span { font-size: 14px; color: var(--ft-muted); }

/* البطاقة الائتمانية الزجاجية (Glassmorphism) */
.ft-credit-card {
    width: 100%; height: 100px;
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.8), rgba(162, 155, 254, 0.4));
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 12px; padding: 12px;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: space-between;
    box-shadow: 0 10px 20px rgba(108, 92, 231, 0.2);
}
.ft-credit-card::before { content: ''; position: absolute; width: 100px; height: 100px; background: rgba(255,255,255,0.1); border-radius: 50%; top: -20px; right: -20px; }
.ft-card-top { display: flex; justify-content: space-between; align-items: center; z-index: 1; }
.ft-chip { width: 18px; height: 14px; background: linear-gradient(135deg, #eccc68, #ffa502); border-radius: 3px; position: relative; overflow: hidden; }
.ft-chip::after { content: ''; position: absolute; width: 100%; height: 1px; background: rgba(0,0,0,0.2); top: 50%; }
.ft-visa { font-size: 12px; font-weight: 900; font-style: italic; opacity: 0.9; }
.ft-card-number { font-size: 11px; letter-spacing: 2px; font-family: monospace; z-index: 1; margin-top: 5px; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.ft-card-bottom { display: flex; justify-content: space-between; z-index: 1; }
.ft-card-detail span { font-size: 5px; color: rgba(255,255,255,0.6); text-transform: uppercase; }
.ft-card-detail { font-size: 7px; font-weight: bold; letter-spacing: 1px; line-height: 1.2; }

/* أزرار الإجراءات السريعة */
.ft-quick-actions { display: flex; justify-content: space-between; margin-top: 25px; }
.ft-action-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.ft-icon { width: 35px; height: 35px; background: var(--ft-surface); border-radius: 10px; display: flex; justify-content: center; align-items: center; font-size: 14px; transition: 0.3s; }
.ft-action-btn:hover .ft-icon { background: var(--ft-primary); transform: translateY(-3px); }
.ft-action-btn span { font-size: 7px; color: var(--ft-muted); }

/* --- [2] شاشة المعاملات --- */
.ft-screen-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.ft-screen-title h3 { font-size: 12px; font-weight: bold; }
.ft-screen-title span { font-size: 8px; color: var(--ft-primary); font-weight: bold; }
.ft-tx-list { display: flex; flex-direction: column; gap: 12px; }
.ft-tx-item { display: flex; align-items: center; gap: 10px; background: var(--ft-surface); padding: 10px; border-radius: 10px; }
.ft-tx-icon { width: 30px; height: 30px; border-radius: 8px; display: flex; justify-content: center; align-items: center; font-size: 12px; font-weight: bold; }
.ft-tx-info { display: flex; flex-direction: column; flex: 1; gap: 2px; }
.ft-tx-info strong { font-size: 9px; }
.ft-tx-info span { font-size: 6px; color: var(--ft-muted); }
.ft-tx-amount { font-size: 9px; font-weight: bold; }
.ft-tx-amount.minus { color: var(--ft-text); }
.ft-tx-amount.plus { color: #00b894; }

/* --- [3] شاشة التحليلات (المخطط البياني) --- */
.ft-chart-container { display: flex; justify-content: space-between; align-items: flex-end; height: 120px; background: var(--ft-surface); padding: 15px; border-radius: 15px; margin-bottom: 20px; border: 1px solid rgba(255,255,255,0.05); }
.ft-chart-bar { display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; width: 15px; }
.ft-fill { width: 10px; background: #3a3a4a; border-radius: 4px; transition: height 1s ease; }
.ft-chart-bar span { font-size: 7px; color: var(--ft-muted); }

.ft-summary-box { display: flex; gap: 10px; }
.ft-sum-item { flex: 1; background: var(--ft-surface); padding: 12px; border-radius: 10px; display: flex; flex-direction: column; gap: 5px; }
.ft-sum-item span { font-size: 7px; color: var(--ft-muted); }
.ft-sum-item strong { font-size: 12px; font-weight: bold; }






/* ==========================================
   هيكل بطاقة تطبيق المنزل الذكي (التنسيق الخارجي)
   ========================================== */

#smarthome-app-micro {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
}

/* لون تحويم يرمز للتقنية النظيفة والهدوء (فيروزي / سيان هادئ) */
#smarthome-app-micro:hover {
    border-color: #00cec9; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(0, 206, 201, 0.3);
}

#smarthome-app-micro .order-btn-link { 
    border-color: #00cec9; 
    color: #00cec9; 
}

#smarthome-app-micro .order-btn-link:hover { 
    background: #00cec9; 
    color: #000; 
    box-shadow: 0 0 15px rgba(0, 206, 201, 0.5); 
}




/* ==========================================
   تطبيق "AURA" للمنزل الذكي (شاشات وتجربة مستخدم)
   ========================================== */

:root {
    --sh-bg: #14161a;       /* خلفية داكنة جداً */
    --sh-surface: #1e2128;  /* لون البطاقات */
    --sh-cyan: #00cec9;     /* فيروزي / سيان (اللون الأساسي) */
    --sh-text: #f5f6fa;     /* أبيض ساطع للنصوص */
    --sh-muted: #718093;    /* نصوص ثانوية */
}

.sh-home, .sh-room-control, .sh-security {
    background: var(--sh-bg);
    color: var(--sh-text);
    padding: 20px 15px;
    box-sizing: border-box;
}

/* مكونات مشتركة (Top Nav & Toggles) */
.sh-top-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 10px; }
.sh-top-nav span { color: var(--sh-muted); cursor: pointer; }
.sh-top-nav strong { font-size: 12px; }

/* أزرار التبديل (Toggles) مبرمجة بالـ CSS */
.sh-toggle { width: 30px; height: 16px; background: #353b48; border-radius: 10px; position: relative; transition: 0.3s; cursor: pointer; display: flex; align-items: center; padding: 0 2px; }
.sh-toggle-knob { width: 12px; height: 12px; background: #fff; border-radius: 50%; transition: 0.3s; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.sh-toggle.active { background: var(--sh-cyan); }
.sh-toggle.active .sh-toggle-knob { transform: translateX(14px); }

/* --- [1] لوحة التحكم الرئيسية --- */
.sh-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.sh-title { font-size: 16px; font-weight: 900; letter-spacing: 3px; color: var(--sh-cyan); margin-bottom: 2px; }
.sh-subtitle { font-size: 8px; color: var(--sh-muted); }
.sh-weather { font-size: 10px; font-weight: bold; background: var(--sh-surface); padding: 5px 8px; border-radius: 8px; }

.sh-master-card { background: linear-gradient(135deg, rgba(0, 206, 201, 0.2), transparent); border: 1px solid rgba(0, 206, 201, 0.3); border-radius: 15px; padding: 15px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.sh-master-info h3 { font-size: 11px; font-weight: bold; margin-bottom: 4px; }
.sh-master-info p { font-size: 8px; color: var(--sh-muted); }

.sh-section-title { font-size: 10px; color: var(--sh-muted); margin-bottom: 10px; font-weight: normal; }
.sh-rooms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sh-room-card { background: var(--sh-surface); padding: 12px; border-radius: 12px; display: flex; flex-direction: column; gap: 6px; transition: 0.3s; border: 1px solid transparent; }
.sh-room-card.active { border-color: var(--sh-cyan); background: rgba(0, 206, 201, 0.05); }
.r-icon { font-size: 16px; }
.r-name { font-size: 10px; font-weight: bold; }
.r-status { font-size: 7px; color: var(--sh-muted); }
.sh-room-card.active .r-status { color: var(--sh-cyan); }

/* --- [2] التحكم بالغرفة (الثيرموستات) --- */
.sh-thermostat-container { display: flex; justify-content: center; margin-bottom: 25px; margin-top: 10px; }
.sh-thermostat { width: 120px; height: 120px; border-radius: 50%; background: var(--sh-surface); position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; box-shadow: inset 0 0 20px rgba(0,0,0,0.5), 0 10px 20px rgba(0,0,0,0.2); }
/* حلقة الحرارة */
.sh-temp-ring { position: absolute; width: 100%; height: 100%; border-radius: 50%; background: conic-gradient(from -90deg, var(--sh-cyan) 0%, var(--sh-cyan) 65%, #353b48 65%, #353b48 100%); padding: 5px; -webkit-mask: radial-gradient(transparent 55px, #000 56px); mask: radial-gradient(transparent 55px, #000 56px); }
.sh-temp-value { font-size: 32px; font-weight: 300; z-index: 1; margin-top: 10px; }
.sh-temp-value span { font-size: 12px; color: var(--sh-muted); }
.sh-temp-label { font-size: 7px; color: var(--sh-cyan); z-index: 1; margin-top: 5px; background: rgba(0, 206, 201, 0.1); padding: 2px 6px; border-radius: 10px; }

.sh-devices-list { display: flex; flex-direction: column; gap: 10px; }
.sh-device-item { background: var(--sh-surface); padding: 12px; border-radius: 12px; display: flex; align-items: center; gap: 12px; }
.d-icon { width: 30px; height: 30px; background: rgba(255,255,255,0.05); border-radius: 8px; display: flex; justify-content: center; align-items: center; font-size: 14px; }
.sh-device-item.active .d-icon { background: rgba(0, 206, 201, 0.2); }
.d-info { display: flex; flex-direction: column; flex: 1; gap: 3px; }
.d-info strong { font-size: 10px; }
.d-info span { font-size: 7px; color: var(--sh-muted); }
.sh-device-item.active .d-info span { color: var(--sh-cyan); }

/* --- [3] نظام الأمان والكاميرا --- */
.sh-rec { color: #ff4757 !important; font-weight: bold; animation: blinker 1s infinite; }

.sh-camera-feed { height: 140px; background: #000; border-radius: 12px; position: relative; overflow: hidden; margin-bottom: 20px; border: 2px solid #353b48; }
.cam-scan-line { position: absolute; width: 100%; height: 2px; background: rgba(255, 255, 255, 0.5); box-shadow: 0 0 10px #fff; animation: scanCam 3s linear infinite; z-index: 5; }
@keyframes scanCam { 0% { top: 0; } 100% { top: 100%; } }
.cam-overlay { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; z-index: 4; }
.cam-overlay span { font-size: 6px; color: #fff; font-family: monospace; background: rgba(0,0,0,0.5); padding: 2px 4px; border-radius: 2px; }

/* رسم مشهد الكاميرا (الباب) */
.cam-door-scene { width: 100%; height: 100%; background: radial-gradient(circle at center, #2f3542 0%, #14161a 100%); display: flex; justify-content: center; align-items: flex-end; padding-bottom: 10px; }
.c-door-frame { width: 60px; height: 100px; border: 3px solid #1e2128; border-bottom: none; display: flex; justify-content: center; align-items: flex-end; }
.c-door { width: 50px; height: 97px; background: #353b48; position: relative; }
.c-handle { position: absolute; width: 4px; height: 15px; background: #718093; right: 5px; top: 50%; border-radius: 2px; }

.sh-security-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sec-action-card { background: var(--sh-surface); padding: 15px; border-radius: 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; transition: 0.3s; border: 1px solid transparent; }
.sec-action-card.safe:hover { border-color: var(--sh-cyan); background: rgba(0, 206, 201, 0.1); }
.sec-action-card.warning:hover { border-color: #ff4757; background: rgba(255, 71, 87, 0.1); }
.sec-icon { font-size: 20px; }
.sec-action-card span { font-size: 9px; font-weight: bold; }





/* ==========================================
   تطبيق "PULSE" للياقة البدنية (وختام التطبيقات)
   ========================================== */

:root {
    --fit-bg: #0a0b10;      /* أسود رياضي عميق */
    --fit-card: #141620;    /* رمادي مزرق داكن */
    --fit-lime: #ccff00;    /* أخضر ليموني نيون */
    --fit-magenta: #ff007f; /* ماجنتا رياضي */
    --fit-cyan: #00e5ff;    /* سيان ساطع */
    --fit-text: #ffffff;
}

.fit-home, .fit-workout, .fit-challenges {
    background: var(--fit-bg);
    color: var(--fit-text);
    padding: 20px 15px;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#fitness-app-micro:hover { border-color: var(--fit-lime); box-shadow: 0 15px 40px rgba(0,0,0,0.6), 0 0 20px rgba(204, 255, 0, 0.2); }
#fitness-app-micro .order-btn-link { border-color: var(--fit-lime); color: var(--fit-lime); }
#fitness-app-micro .order-btn-link:hover { background: var(--fit-lime); color: #000; box-shadow: 0 0 15px rgba(204, 255, 0, 0.5); }

/* --- [1] الشاشة الرئيسية (حلقات النشاط) --- */
.fit-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.fit-title { font-size: 16px; font-weight: 900; color: var(--fit-text); letter-spacing: 2px; font-style: italic; }
.fit-profile-pic { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(45deg, var(--fit-lime), var(--fit-cyan)); }

/* هندسة الحلقات المتداخلة (Activity Rings) */
.fit-rings-container { display: flex; justify-content: center; align-items: center; height: 160px; margin-bottom: 20px; }
.fit-ring { border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.fit-ring.outer { width: 140px; height: 140px; background: conic-gradient(var(--fit-magenta) 0%, var(--fit-magenta) 75%, #33001a 75%); -webkit-mask: radial-gradient(transparent 58px, #000 59px); mask: radial-gradient(transparent 58px, #000 59px); position: relative; }
.fit-ring.middle { width: 110px; height: 110px; background: conic-gradient(var(--fit-lime) 0%, var(--fit-lime) 60%, #1a2200 60%); -webkit-mask: radial-gradient(transparent 43px, #000 44px); mask: radial-gradient(transparent 43px, #000 44px); }
.fit-ring.inner { width: 80px; height: 80px; background: conic-gradient(var(--fit-cyan) 0%, var(--fit-cyan) 35%, #001f26 35%); -webkit-mask: radial-gradient(transparent 28px, #000 29px); mask: radial-gradient(transparent 28px, #000 29px); }

/* النسبة المئوية في المنتصف (حيلة لإلغاء الـ mask عن النص) */
.fit-score { position: absolute; width: 60px; height: 60px; top: 40px; left: 40px; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 10; }
.fit-score strong { font-size: 16px; font-weight: bold; }
.fit-score span { font-size: 8px; color: #aaa; }

.fit-metrics { display: flex; justify-content: space-between; }
.f-metric { display: flex; flex-direction: column; align-items: center; background: var(--fit-card); padding: 10px; border-radius: 12px; width: 30%; gap: 4px; }
.m-icon { font-size: 14px; }
.f-metric strong { font-size: 11px; }
.f-metric span { font-size: 7px; color: #888; }

/* --- [2] شاشة التمرين والنبض --- */
.fit-workout-top { text-align: center; margin-bottom: 30px; display: flex; flex-direction: column; gap: 5px; }
.fit-workout-top span { font-size: 10px; color: var(--fit-lime); text-transform: uppercase; font-weight: bold; letter-spacing: 1px; }
.fit-workout-top strong { font-size: 28px; font-weight: 900; font-variant-numeric: tabular-nums; }

.fit-heart-rate-box { background: var(--fit-card); padding: 15px; border-radius: 15px; margin-bottom: 40px; position: relative; overflow: hidden; }
.hr-value { font-size: 24px; font-weight: bold; color: var(--fit-magenta); margin-bottom: 10px; display: flex; align-items: baseline; gap: 4px; }
.hr-value span { font-size: 10px; color: #888; font-weight: normal; }
.hr-graph { height: 40px; position: relative; display: flex; align-items: center; }

/* رسم خط تخطيط القلب بالـ CSS */
.hr-line { width: 200%; height: 2px; background: repeating-linear-gradient(90deg, transparent 0, transparent 20px, var(--fit-magenta) 20px, var(--fit-magenta) 25px, transparent 25px, transparent 40px); opacity: 0.5; }
.pulse-anim { animation: heartBeatMove 2s linear infinite; }
@keyframes heartBeatMove { 0% { transform: translateX(0); } 100% { transform: translateX(-40px); } }

.fit-controls { display: flex; justify-content: center; gap: 20px; }
.f-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 20px; cursor: pointer; }
.f-btn.pause { background: #333; color: #fff; }
.f-btn.stop { background: rgba(255, 0, 127, 0.2); color: var(--fit-magenta); border: 2px solid var(--fit-magenta); }

/* --- [3] شاشة التحديات --- */
.fit-sec-title { font-size: 14px; margin-bottom: 15px; }
.fit-chal-card { background: var(--fit-card); padding: 15px; border-radius: 15px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 10px; }
.c-info { display: flex; justify-content: space-between; align-items: center; }
.c-info strong { font-size: 11px; }
.c-info span { font-size: 8px; color: #888; }
.c-progress-bg { width: 100%; height: 6px; background: #222; border-radius: 3px; overflow: hidden; }
.c-progress-fill { height: 100%; background: var(--fit-lime); border-radius: 3px; }








/* ==========================================
   قسم من نحن، التواصل، والتذييل النهائي
   ========================================== */

.final-section {
    max-width: 1200px;
    margin: 80px auto 0;
    padding: 0 20px;
    animation: fadeInBody 1s ease;
}

/* العناوين داخل طوق محيط (Ring Titles) */
.ring-title-wrapper {
    display: flex;
    justify-content: center;
    margin: 60px 0 40px;
}

.ring-title {
    position: relative;
    display: inline-block;
    padding: 15px 70px;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--soft-white);
    background: rgba(255, 255, 255, 0.02);
    /* الطوق يحيط بها كالدائرة العريضة */
    border: 2px solid var(--primary-red); 
    border-radius: 50px; 
    box-shadow: 0 0 20px rgba(230, 46, 46, 0.2), inset 0 0 10px rgba(230, 46, 46, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    letter-spacing: 1px;
}

/* شبكة محتوى "من نحن" */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.dev-bio {
    grid-column: 1 / -1; /* جعل بطاقة المطور تأخذ العرض كاملاً لتوضيح التفاصيل */
}

.card-icon { font-size: 2.5rem; margin-bottom: 15px; }
.about-card h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--primary-red); }
.about-card p { font-size: 0.95rem; line-height: 1.9; color: var(--text-muted); text-align: justify; }
.about-card p strong { color: var(--soft-white); font-size: 1.1rem; }

/* خطوات التواصل */
.contact-steps-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.step-item {
    display: flex;
    align-items: center;
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 15px 20px;
    transition: 0.3s;
}
.step-item:hover { background: rgba(255, 255, 255, 0.05); border-color: rgba(255,255,255,0.1); }

.step-num {
    flex-shrink: 0;
    width: 45px; height: 45px;
    background: var(--primary-red);
    color: #fff;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.3rem; font-weight: bold;
    margin-left: 20px; /* لغة عربية (الاتجاه من اليمين) */
    box-shadow: 0 0 15px rgba(230, 46, 46, 0.4);
}

.step-text { font-size: 1rem; color: #dfe6e9; line-height: 1.6; }

/* زر الواتساب المباشر */
.direct-wa-btn {
    margin-top: 25px;
    display: inline-flex; align-items: center; gap: 10px;
    background: #25D366; /* لون الواتساب الرسمي */
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem; font-weight: bold; text-decoration: none;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.direct-wa-btn:hover { transform: scale(1.05); box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5); }

/* مناطق الخدمة */
.service-areas {
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 35px 20px;
    max-width: 800px;
    margin: 0 auto 60px;
}
.service-areas h3 { font-size: 1.5rem; color: var(--primary-red); margin-bottom: 15px; }
.service-areas p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }
.service-areas p strong { color: var(--soft-white); }

/* التذييل النهائي (Global Footer) */
.global-footer {
    background: #07070a; /* أسود عميق جداً لختام الموقع */
    border-top: 3px solid var(--primary-red);
    padding: 60px 20px 20px;
    text-align: center;
}

.gf-content {
    display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center;
    max-width: 1200px; margin: 0 auto 40px; gap: 30px;
}

.gf-brand h2 { font-size: 1.8rem; color: var(--soft-white); margin-bottom: 10px; font-family: var(--font-logo); }
.gf-brand p { color: #666; font-size: 0.95rem; }

.gf-contact-info { display: flex; flex-direction: column; gap: 15px; }
.gf-info-item { font-size: 1.05rem; color: var(--text-muted); display: flex; align-items: center; gap: 10px; font-family: monospace; }
.gf-info-item span { font-size: 1.3rem; }

.gf-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px; color: #555; font-size: 0.85rem;
}