/* =========================================================
   MediaDrop – Unified Design System (Stable & Modern)
   ========================================================= */

:root {
  --bg: #f7f9fc;
  --bg-soft: #ffffff;
  --text: #0f172a;
  --text-soft: #475569;

  --nav-bg: rgba(255,255,255,0.85);
  --card-bg: #ffffff;
  --border: rgba(0,0,0,0.08);

  --primary: #4f46e5;
  --accent: #22d3ee;

  --gradient: linear-gradient(
    135deg,
    #22d3ee 0%,
    #4f46e5 55%,
    #1e1b4b 100%
  );

  --radius: 18px;
  --transition: 0.25s ease;
}

html[data-theme="dark"] {
  --bg: #020617;
  --bg-soft: rgba(255,255,255,0.04);
  --text: #e5e7eb;
  --text-soft: #94a3b8;

  --nav-bg: rgba(2,6,23,0.75);
  --card-bg: rgba(255,255,255,0.05);
  --border: rgba(255,255,255,0.12);
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Cairo", system-ui, -apple-system, sans-serif;
  line-height: 1.75;
  transition: background var(--transition), color var(--transition);
}

p,
.lead,
.text-muted {
  color: var(--text-soft) !important;
}
.navbar {
  background: var(--nav-bg) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.navbar-brand span {
  font-weight: 800;
  color: var(--text) !important;
}

.navbar .nav-link {
  color: var(--text-soft) !important;
  font-weight: 600;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: var(--primary) !important;
}
.hero-section {
  background: var(--gradient);
  color: #fff;
}

.hero-title {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-section .lead {
  color: rgba(255,255,255,0.9);
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.feature-title {
  color: var(--text);
  font-weight: 800;
}

.feature-desc {
  color: var(--text-soft);
}
.footer {
  background: #020617;
  color: var(--text-soft);
}

html[data-theme="light"] .footer {
  background: #eef2ff;
  color: #0f172a;
}

.footer-links a:hover {
  color: var(--accent);
}
/* ================= NAVBAR ACTION BUTTONS ================= */
#themeToggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: 0.3s;
}

#themeToggle:hover {
  background: rgba(0,225,255,0.25);
  transform: rotate(12deg);
}

.navbar .btn-warning {
  background: linear-gradient(135deg,#ffd166,#fca311);
  border: none;
  color: #000;
}

.navbar .btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(252,163,17,0.4);
}

/* ================= NAVBAR ACTIONS SPACING ================= */
.navbar-actions {
  margin-right: 12px;
}

.navbar-actions > * {
  margin-left: 6px;
}


/* ================= NAVBAR MENU REVERSE ORDER (RTL SMART) ================= */
.navbar-nav {
  display: flex;
  flex-direction: row-reverse;
  gap: 22px;
}

/* إزالة مسافات Bootstrap الافتراضية */
.navbar-nav .nav-item {
  margin: 0 !important;
}
/* ================= NAVBAR LINKS POLISH ================= */
.navbar .nav-link {
  font-size: 0.95rem;
  padding: 8px 0;
  position: relative;
}

.navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  right: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width .25s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
  width: 100%;
}




/* ==================================================
   MediaDrop – Unified Theme System (Light / Dark)
   ================================================== */

/* ---------- Variables ---------- */
:root{
  --bg-light:#f9f9f9;
  --bg-dark:#0A0F24;
  --text-light:#0A0F24;
  --text-dark:#ffffff;
  --primary-gradient:linear-gradient(135deg,#00E1FF,#0066FF,#001F5C);
}

/* ---------- Base ---------- */
body{
  background:var(--bg-light);
  color:var(--text-light);
  font-family:'Cairo',system-ui,-apple-system;
  transition:.3s;
}

/* ---------- Dark Mode ---------- */
.dark body{
  background:var(--bg-dark);
  color:var(--text-dark);
}

/* ---------- Navbar ---------- */
.navbar{
  backdrop-filter:blur(14px);
  background:rgba(0,0,0,.35)!important;
}

.navbar-logo{
  height:40px;
  filter:drop-shadow(0 0 6px rgba(255,255,255,.35));
}

/* ---------- Images FIX ---------- */
img{
  opacity:1!important;
  filter:none!important;
}

/* ---------- Icons ---------- */
i{
  opacity:1!important;
  visibility:visible!important;
}

/* ---------- Feature Cards ---------- */
.feature-card{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.15);
  backdrop-filter:blur(12px);
  border-radius:20px;
  transition:.3s;
}

.dark .feature-card{
  background:rgba(255,255,255,.06);
}

/* ---------- Buttons ---------- */
.btn-primary-custom{
  background:var(--primary-gradient);
  color:white!important;
  border:none;
  border-radius:14px;
  padding:14px 28px;
}

/* ---------- Footer ---------- */
.footer{
  background:#111;
  color:white;
}

.dark .footer{
  background:#070b1c;
}

</style>

<style>
    /* ---------- Light Mode ---------- */
    #features .feature-card {
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(0,0,0,0.08);
        backdrop-filter: blur(14px);
        transition: 0.3s;
    }
    
    #features .feature-icon {
        color: #000000; /* أيقونات باللون الأسود في الوضع الفاتح */
        transition: 0.3s;
    }
    /* الفقرة فوق المميزات تبقى ثابتة اللون */
    #features .feature-lead {
        color: #6c757d !important; /* لون رمادي ثابت */
        transition: none; /* منع أي تأثير عند التبديل بين الوضعين */
    }
    #features .feature-title,
    #features .feature-desc {
        color: #0A0F24; /* نص أسود في الفاتح */
        transition: 0.3s;
    }
    
    #features .feature-lead {
        color: #0A0F24; /* نص الفقرة فوق المميزات */
        transition: 0.3s;
    }
    
    /* ---------- Dark Mode ---------- */
    :root.dark #features .feature-card {
        background: linear-gradient(135deg, rgba(0,225,255,0.15), rgba(0,102,255,0.15), rgba(0,31,92,0.25));
        border: 1px solid rgba(255,255,255,0.15);
        backdrop-filter: blur(14px);
    }
    
    :root.dark #features .feature-icon {
        color: #ffffff;
    }
    
    :root.dark #features .feature-title,
    :root.dark #features .feature-desc,
    :root.dark #features .feature-lead {
        color: #ffffff;
    }
    
    /* ---------- Footer Light Mode ---------- */
    footer.footer {
        background-color: #f8f9fa; /* خلفية فاتحة */
        color: #0A0F24; /* نص أسود */
        transition: all 0.3s ease;
    }
    
    footer.footer a {
        color: #0A0F24;
        transition: color 0.3s ease;
    }
    
    footer.footer a:hover {
        color: #4a4aff; /* تأثير عند المرور */
    }
    
    footer.footer hr {
        border-color: rgba(0,0,0,0.1);
    }
    
    footer.footer .social-icons a {
        color: #0A0F24;
        transition: color 0.3s ease;
    }
    
    /* ---------- Footer Dark Mode ---------- */
    :root.dark footer.footer {
        background-color: #1e1e2f; /* خلفية داكنة */
        color: #ffffff; /* نص أبيض */
    }
    
    :root.dark footer.footer a {
        color: #ffffff;
    }
    
    :root.dark footer.footer a:hover {
        color: #4a4aff; /* نفس لون الأزرار في الداكن */
    }
    
    :root.dark footer.footer hr {
        border-color: rgba(255,255,255,0.2);
    }
    
    :root.dark footer.footer .social-icons a {
        color: #ffffff;
    }
    
    /* ---------- Contact Form Dark Fixed ---------- */
    #contact form#contactForm {
        background-color: #1e1e2f !important; /* لون داكن ثابت */
        border: 1px solid rgba(255,255,255,0.15);
        border-radius: .5rem;
        padding: 1.5rem;
        color: #ffffff !important; /* نص أبيض لجميع النصوص */
    }
    
    /* النصوص داخل النموذج */
    #contact form#contactForm label,
    #contact form#contactForm .lead,
    #contact form#contactForm button {
        color: #ffffff !important;
    }
    
    /* إدخالات النصوص والخانات */
    #contact form#contactForm input,
    #contact form#contactForm textarea {
        background-color: #2c2c3e !important; /* داكن أفتح قليلًا */
        border: 1px solid rgba(255,255,255,0.2) !important;
        color: #ffffff !important;
    }
    
    /* زر الإرسال */
    #contact form#contactForm button {
        background-color: #4a4aff !important; /* زر بلون جميل داكن */
        border-color: #4a4aff !important;
        color: #ffffff !important;
    }
    
    /* placeholder داخل الخانات */
    #contact form#contactForm ::placeholder {
        color: rgba(255,255,255,0.6) !important;
    }
    #contact .lead{
        color: #ffffff !important; /* نص أبيض في الداكن */
    }
    
    /* ---------- Light Mode ---------- */
    :root .platforms-container {
        background: rgba(255,255,255,0.08);
        border: 1px solid rgba(0,0,0,0.08);
        backdrop-filter: blur(14px);
        transition: 0.3s;
    }
    
    /* أيقونات المنصات */
    :root .platform-icon {
        color: #000000; /* أسود في الوضع الفاتح */
        font-size: 2rem; /* تكبير الصورة */
        transition: 0.3s;
    }
    
    /* اسم المنصة */
    :root .platform-name {
        color: #000000;
        font-weight: bold;
        transition: 0.3s;
    }
    
    /* نص الوصف فوق المنصات */
    :root .platform-lead {
        color: #0A0F24; /* أسود في الوضع الفاتح */
        transition: 0.3s;
    }
    
    /* ---------- Dark Mode ---------- */
    :root.dark .platforms-container {
        background: linear-gradient(135deg, rgba(0,225,255,0.15), rgba(0,102,255,0.15), rgba(0,31,92,0.25));
        border: 1px solid rgba(255,255,255,0.15);
    }
    
    :root.dark .platform-icon {
        color: #ffffff;
    }
    
    :root.dark .platform-name {
        color: #ffffff;
    }
    
    :root.dark .platform-lead {
        color: #ffffff;
    }
    /* الفقرة فوق المميزات تبقى ثابتة اللون */
    #screenshots .lead {
        color: #6c757d !important; /* لون رمادي ثابت */
        transition: none; /* منع أي تأثير عند التبديل بين الوضعين */
    }
    /* الفقرة فوق المنصات تبقى ثابتة اللون */
    #platforms .platform-lead {
        color: #6c757d !important; /* لون رمادي ثابت */
        transition: none; /* منع أي تأثير عند التبديل بين الوضعين */
    }
    
    .animate-on-scroll {
        transform: translateY(40px);
        transition: all 0.8s ease-out;
    }
    
    .animate-on-scroll.show {
        transform: translateY(0);
    }
    
    /* تأخير ظهور الهواتف */
    .phone-frame:first-child.animate-on-scroll {
        transition-delay: 0.2s;
    }
    .phone-frame:last-child.animate-on-scroll {
        transition-delay: 0.4s;
    }
    :root {
        --primary-color: #4a6ee0;
        --accent-color: #00c9a7;
        --dark-color: #212529;
    }
    
    body {
        font-family: 'Cairo', sans-serif;
        direction: rtl;
        text-align: right;
        background-color: #f9f9f9;
    }
    
    /* شريط التنقل */
    .navbar {
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
        padding: 15px 0;
        transition: all 0.3s ease;
    }
    
    .navbar-brand {
        font-weight: 800;
        font-size: 1.8rem;
        color: var(--primary-color) !important;
        display: flex;
        align-items: center;
    }
    
    .navbar-logo {
        height: 40px;
        margin-left: 10px;
    }
    
    .navbar-nav .nav-link {
        font-weight: 600;
        color: var(--dark-color) important;
        margin-left: 20px;
        transition: color 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: var(--primary-color) !important;
    }
    
    /* القسم الرئيسي */
    .hero-section {
        background: linear-gradient(135deg, #1a237e 0%, #4a6ee0 100%);
        color: white;
        padding: 150px 0 100px;
        position: relative;
        overflow: hidden;
    }
    
    .hero-title {
        font-size: 3.2rem;
        font-weight: 800;
        line-height: 1.2;
    }
    
    /* بطاقات المميزات */
    .feature-card {
        background: white;
        border-radius: 15px;
        padding: 25px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
        height: 100%;
        border: 1px solid #f0f0f0;
        text-align: center;
    }
    
    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        border-color: var(--primary-color);
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, var(--primary-color), #6a8aff);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        color: white;
        font-size: 1.8rem;
    }
    
    /* أزرار */
    .btn-primary-custom {
        background-color: var(--accent-color);
        border-color: var(--accent-color);
        padding: 12px 30px;
        font-weight: 600;
        border-radius: 50px;
        transition: all 0.3s ease;
    }
    
    .btn-primary-custom:hover {
        background-color: #00b396;
        border-color: #00b396;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 201, 167, 0.2);
    }
    
    
    /* أزرار */
    .btn-primary-custom {
        background: var(--primary-gradient);
        border: none;
        color: white !important;
        padding: 14px 28px;
        border-radius: 14px;
        font-size: 1.1rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .btn-primary-custom:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.25);
        color: white;
    }
    
    .btn-outline-light-custom {
        border: 2px solid rgba(255, 255, 255, 0.7);
        color: white;
        padding: 12px 28px;
        border-radius: 14px;
        font-size: 1.1rem;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    .btn-outline-light-custom:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-4px);
    }
    
    /* لقطات الشاشة */
    .screenshot-img {
        width: 100%;
        max-width: 300px;
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        transition: all 0.3s ease;
    }
    
    .screenshot-img:hover {
        transform: scale(1.03);
        box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    }
    
    /* قسم التحميل */
    .download-section {
        background: linear-gradient(135deg, #4a6ee0 0%, #1a237e 100%);
        color: white;
        padding: 100px 0;
    }
    
    .download-title {
        font-size: 2.8rem;
        font-weight: 800;
        margin-bottom: 1.5rem;
    }
    
    .btn-download {
        display: flex;
        align-items: center;
        padding: 15px 25px;
        border-radius: 15px;
        font-weight: 600;
        font-size: 1.1rem;
        transition: all 0.3s ease;
        min-width: 220px;
        margin: 10px;
    }
    
    .btn-ios {
        background-color: #000;
        color: white;
        border: none;
    }
    
    .btn-ios:hover {
        background-color: #333;
        color: white;
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    }
    
    .btn-android {
        background-color: white;
        color: #333;
        border: none;
    }
    
    .btn-android:hover {
        background-color: #f8f9fa;
        color: #333;
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }
    
    /* التذييل */
    .footer {
        background-color: var(--dark-color);
        color: rgba(255,255,255,0.8);
        padding: 70px 0 30px;
    }
    
    .footer-logo {
        height: 50px;
        margin-bottom: 20px;
    }
    
    .footer-links a {
        color: rgba(255,255,255,0.7);
        text-decoration: none;
        display: block;
        margin-bottom: 10px;
        transition: color 0.3s ease;
    }
    
    .footer-links a:hover {
        color: white;
    }
    
    .social-icons a {
        display: inline-block;
        width: 40px;
        height: 40px;
        background-color: rgba(255,255,255,0.1);
        border-radius: 50%;
        text-align: center;
        line-height: 40px;
        margin-left: 10px;
        color: white;
        transition: all 0.3s ease;
    }
    
    .social-icons a:hover {
        background-color: var(--primary-color);
        transform: translateY(-5px);
    }
    
    /* وسائط الاستجابة */
    @media (max-width: 992px) {
        .hero-title {
            font-size: 2.5rem;
        }
        
        .download-title {
            font-size: 2.3rem;
        }
    }
    
    @media (max-width: 768px) {
        .hero-title {
            font-size: 2rem;
        }
        
        .download-title {
            font-size: 1.9rem;
        }
        
        .btn-download {
            min-width: 100%;
        }
    }
    }
    
    @media (max-width: 576px) {
        .hero-title {
            font-size: 1.8rem;
        }
        
        .btn-download {
            padding: 15px 20px;
        }
    }
    /* --------- Light Mode --------- */
    :root {
        --primary-gradient: linear-gradient(135deg, #00E1FF 0%, #0090FF 50%, #001F5C 100%);
        --primary-color: #0090FF;
        
        --bg-color: #F8FAFF;
        --text-color: #0A0F24;
        --section-light: #FFFFFF;
        --border-light: rgba(0,0,0,0.08);
    }
    
    /* --------- Dark Mode --------- */
    :root.dark {
        --bg-color: #0A0F24;
        --text-color: #FFFFFF;
        --section-light: rgba(255,255,255,0.06);
        --border-light: rgba(255,255,255,0.12);
    }
    
    :root {
        --primary-gradient: linear-gradient(135deg, #00E1FF 0%, #0066FF 50%, #001F5C 100%);
        --primary-color: #00E1FF;
        --accent-color: #0066FF;
        
        --glass-bg: rgba(255, 255, 255, 0.08);
        --glass-border: rgba(255, 255, 255, 0.15);
    }
    
    /* الخلفية الأساسية */
    body {
        background: var(--bg-color);
        color: var(--text-color);
        transition: 0.3s ease-in-out;
    }
    
    /* هيرو سكشن */
    .hero-section {
        background: var(--primary-gradient);
        color: white;
    }
    
    /* أقسام عادية */
    .section-box {
        background: var(--section-light);
        border: 1px solid var(--border-light);
        border-radius: 20px;
        padding: 30px;
        backdrop-filter: blur(10px);
        transition: 0.3s;
    }
    
    /* زر التحميل */
    .btn-primary-custom {
        background: var(--primary-gradient);
        border: none;
        color: #fff !important;
        padding: 14px 28px;
        border-radius: 14px;
        font-size: 1.1rem;
        transition: .3s;
    }
    .btn-primary-custom:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    }
    
    /* شريط التنقل */
    .navbar {
        background: rgba(0,0,0,0.25) !important;
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border-light);
    }
    
    /* نصوص */
    h1, h2, h3, h4, h5, p {
        color: var(--text-color);
    }
    
    /* الصور */
    .screenshot-img {
        border-radius: 20px;
        border: 2px solid var(--border-light);
        transition: .3s;
    }
    .screenshot-img:hover {
        transform: translateY(-6px);
    }
    /* الفقرة فوق المميزات تبقى ثابتة اللون */
    #features .feature-lead {
        color: #6c757d !important; /* لون رمادي ثابت */
        transition: none; /* منع أي تأثير عند التبديل بين الوضعين */
    }
    /* 🔥 زرّي التحميل */
    .btn-download {
        display: flex;
        align-items: center;
        padding: 16px 28px;
        border-radius: 16px;
        font-size: 1.2rem;
        margin: 10px;
        min-width: 260px;
        background: var(--primary-gradient);
        color: white !important;
        transition: .3s;
        text-decoration: none;
    }
    .btn-download:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    }
    
    /* بطاقات الخلفية */
    .bg-white.bg-opacity-10 {
        background: rgba(255,255,255,0.06) !important;
        border: 1px solid var(--glass-border) !important;
    }
    
    /* خلفية قسم المعلومات *//* الوضع الفاتح */
    .custom-info-container {
        background: linear-gradient(135deg, rgba(0,225,255,0.15), rgba(0,102,255,0.15), rgba(0,31,92,0.25));
        backdrop-filter: blur(12px);
        border: 2px solid var(--glass-border);
        transition: all 0.3s ease;
    }
    
    /* الوضع الداكن */
    :root.dark .custom-info-container {
        background: linear-gradient(135deg, rgba(0,225,255,0.08), rgba(0,102,255,0.08), rgba(0,31,92,0.15));
        border: 2px solid rgba(255,255,255,0.12); /* حدود فاتحة للداكن */
        backdrop-filter: blur(12px);
    }
    
    /* رقم الإحصائيات */
    .stat-number {
        color: #ffffff !important;
        background: var(--primary-gradient);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    .icon-wrapper {
        background: rgba(255, 255, 255, 0.10) !important;
    }
    
    <!--                        .store-btn {-->
        <!--                            position: relative;-->
        <!--                            display: inline-block;-->
        <!--                        }-->
    <!---->
    <!--                        .store-btn img {-->
        <!--                            height: 88px !important;-->
        <!--                            width: auto;-->
        <!--                            object-fit: contain;-->
        <!--                        }-->
    <!---->
    <!--                        .disabled img {-->
        <!--<!--                            opacity: 0.99;-->-->
        <!--<!--                            filter: grayscale(100%);-->-->
        <!--                        }-->
    <!--                        .store-btn.disabled {-->
        <!--                            position: relative;-->
        <!--                            opacity: 1.0; /* تعتيم */-->
        <!--                            cursor: not-allowed;-->
        <!--                            filter: grayscale(100%); /* اختياري */-->
        <!--                            transition: all 0.5s ease;-->
        <!--                        }-->
    <!---->
    <!--                        .store-btn.disabled:hover {-->
        <!--                            opacity: 0.99;-->
        <!--                            transform: scale(1.03);-->
        <!--                            filter: grayscale(70%);-->
        <!--                            box-shadow: 0 4px 12px rgba(0,0,0,0.99); /* شادو باهت */-->
        <!--                        }-->
    <!--                        .store-btn {-->
        <!--                            position: relative;-->
        <!--                            display: inline-block;-->
        <!--                        }-->
    <!---->
    <!--                        .store-btn .soon-label {-->
        <!--                            position: absolute;-->
        <!--                            top: -12px;-->
        <!--                            right: 50%;-->
        <!--                            transform: translateX(50%);-->
        <!--                            background: rgba(0, 0, 0, 0.7);-->
        <!--                            color: #fff;-->
        <!--                            padding: 3px 10px;-->
        <!--                            border-radius: 12px;-->
        <!--                            font-size: 12px;-->
        <!--                            font-weight: bold;-->
        <!--                            backdrop-filter: blur(4px);-->
        <!--                            box-shadow: 0 2px 6px rgba(0,0,0,0.3);-->
        <!--                        }-->
    <!---->
    <!--                        .store-btn.disabled {-->
        <!--                            opacity: 0.55;-->
        <!--                            filter: grayscale(100%);-->
        <!--                            cursor: not-allowed;-->
        <!--                            transition: all 0.3s ease;-->
        <!--                        }-->
    <!---->
    <!--                        .store-btn.disabled:hover {-->
        <!--                            opacity: 0.75;-->
        <!--                            transform: scale(1.03);-->
        <!--                            box-shadow: 0 4px 12px rgba(0,0,0,0.25);-->
        <!--                        }-->
    <!--                        -->
    
    .store-btn {
        position: relative;
        display: inline-block;
        transition: all 0.3s ease;
    }
    
    .store-btn img {
        height: 60px;
        width: auto;
        object-fit: contain;
    }
    
    @media (max-width: 576px) {
        .store-btn img {
            height: 50px;
        }
    }
    
    .store-btn.disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }
    
    .store-btn .soon-label {
        position: absolute;
        top: -10px;
        right: 50%;
        transform: translateX(50%);
        background: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 3px 12px;
        border-radius: 12px;
        font-size: 12px;
        font-weight: bold;
    }
    
    .info-card {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 15px;
        padding: 25px;
        backdrop-filter: blur(10px);
        height: 100%;
        transition: all 0.3s ease;
    }
    
    .info-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.12);
    }
    
    .coming-soon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: rgba(0,0,0,0.55);
        color: #fff;
        padding: 3px 12px;
        border-radius: 6px;
        font-size: 28px;
        backdrop-filter: blur(3px);
    }
    /* ---------- Light Mode ---------- */
    #home .hero-title {
        color: #0A0F24; /* لون النص الأساسي في الفاتح */
        transition: color 0.3s ease;
    }
    
    #home .lead {
        color: #0A0F24; /* لون الفقرة في الفاتح */
        transition: color 0.3s ease;
    }
    
    /* ---------- Dark Mode ---------- */
    <!--:root.dark #home .hero-title,-->
    <!--:root.dark #home .lead {-->
        <!--    color: #ffffff; /* نص أبيض في الوضع الداكن */-->
        <!--}-->
    #home .hero-title,
    #home .lead {
        color: #ffffff; /* نص أبيض في الوضع الداكن */
    }
    
    
    .platform-badge {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid var(--border-light);
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    :root.dark .platform-badge {
        background: rgba(255, 255, 255, 0.05);
        border-color: var(--border-dark);
    }
    
    .platform-badge:hover {
        transform: translateY(-5px);
        background: var(--primary-gradient);
        color: white !important;
    }
    
    .platform-badge:hover .platform-icon {
        color: white !important;
    }
    /* =============================== */
    /*       PLATFORM BADGES DARK MODE */
    /* =============================== */
    :root.dark .platform-badge:hover {
        transform: translateY(-5px);
        background: var(--primary-gradient); /* يمكنك تغييرها لتدرج داكن إذا أحببت */
        color: white !important;
    }
    
    :root.dark .platform-badge:hover .platform-icon {
        color: white !important;
    }
    
    
    
    /* قسم المعلومات */
    .info-card {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 15px;
        padding: 25px;
        backdrop-filter: blur(10px);
        height: 100%;
        transition: all 0.3s ease;
    }
    
    .info-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.12);
    }
    
    /* التذييل */
    .footer {
        background: var(--text-light);
        color: rgba(255, 255, 255, 0.8);
        padding: 70px 0 30px;
    }
    
    :root.dark .footer {
        background: var(--bg-dark);
    }
    
    .footer-logo {
        height: 50px;
        margin-bottom: 20px;
    }
    
    .footer-links a {
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        display: block;
        margin-bottom: 10px;
        transition: color 0.3s ease;
    }
    
    .footer-links a:hover {
        color: white;
    }
    
    .social-icons a {
        display: inline-block;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        text-align: center;
        line-height: 40px;
        margin-left: 10px;
        color: white;
        transition: all 0.3s ease;
    }
    
    .social-icons a:hover {
        background-color: var(--primary-color);
        transform: translateY(-5px);
    }
    
    /* الوضع الفاتح الافتراضي */
    :root {
        --bg-color: #f9f9f9;
        --text-color: #0A0F24;
        --section-light: #FFFFFF;
        --border-light: rgba(0,0,0,0.08);
    }
    
    /* الوضع الداكن */
    @media (prefers-color-scheme: dark) {
        :root {
            --bg-color: #0A0F24;
            --text-color: #FFFFFF;
            --section-light: rgba(255,255,255,0.06);
            --border-light: rgba(255,255,255,0.12);
        }
    }
    
    /* مثال على تطبيق المتغيرات */
    body {
        background-color: var(--bg-color);
        color: var(--text-color);
        transition: all 0.3s ease-in-out;
    }
    
    .section-box {
        background: var(--section-light);
        border: 1px solid var(--border-light);
        border-radius: 20px;
        padding: 30px;
        backdrop-filter: blur(10px);
    }
    
    /* أجهزة كبيرة */
    @media (min-width: 1200px) {
        .hero-title { font-size: 3.5rem; }
    }
    
    /* أجهزة متوسطة */
    @media (max-width: 992px) {
        .hero-title { font-size: 2.5rem; }
        .download-title { font-size: 2.3rem; }
    }
    
    /* أجهزة صغيرة */
    @media (max-width: 768px) {
        .hero-title { font-size: 2rem; }
        .download-title { font-size: 1.9rem; }
        .btn-download { min-width: 100%; }
    }
    
    /* أجهزة صغيرة جدًا */
    @media (max-width: 576px) {
        .hero-title { font-size: 1.8rem; }
        .btn-download { padding: 15px 20px; }
    }
    
    .btn-primary-custom {
        background: var(--primary-gradient);
        color: var(--text-color);
    }
    /* نصوص muted تتفاعل مع الوضع الداكن */
    :root.dark .text-muted {
        color: rgba(255,255,255,0.7) !important; /* لون فاتح مناسب للداكن */
    }
    
    /* أزرار outline-primary تتفاعل مع الداكن */
    :root.dark .btn-outline-primary {
        color: #4a4aff !important;
        border-color: #4a4aff !important;
    }
    :root.dark .btn-outline-primary:hover {
        background-color: #4a4aff !important;
        color: #ffffff !important;
    }
    
    /* ================================
     Premium Page – Dark / Light Mode
     ================================ */
    
    /* Subscribe Section */
    .subscribe-section {
        margin-top: 80px;
        padding: 50px 30px;
        border-radius: 20px;
        background: linear-gradient(135deg, #f72585, #4361ee);
        color: #fff;
    }
    
    .subscribe-section h2,
    .subscribe-section p {
        color: #fff;
    }
    
    /* Subscribe Button */
    .subscribe-btn {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 14px 32px;
        border-radius: 999px;
        background: #fff;
        color: #000;
        font-weight: 700;
        text-decoration: none;
        margin-top: 20px;
        transition: transform .2s ease, box-shadow .2s ease;
    }
    
    .subscribe-btn:hover {
        transform: scale(1.05);
        box-shadow: 0 10px 25px rgba(0,0,0,.3);
    }
    
    /* الوضع الداكن */
    :root.dark .subscribe-section {
        background-color: #0A0F24;
        color: #ffffff;
    }
    :root.dark .subscribe-section h2, :root.dark .subscribe-section p{
        background-color: #0A0F24;
        color: #ffffff;
    }
    
    :root.dark .app-info-card {
        background-color: rgba(30,30,47,0.95);
        color: #ffffff;
        border: 1px solid rgba(255,255,255,0.12);
    }
    
    :root.dark .subscribe-section a {
        color: #4a4aff;
    }
    :root.dark .app-info-card a:hover {
        color: #00c9a7;
    }
    
    :root.dark .app-info-card .btn-primary {
        color: #ffffff !important;
        background-color: #4a4aff !important;
        border-color: #4a4aff !important;
    }
    :root.dark .app-info-card .btn-primary:hover {
        color: #00c9a7 !important;
    }
    /* Crown Icon */
    .fa-crown {
        text-shadow: 0 0 20px rgba(255,215,0,.6);
    }
    
/* ===== Theme Variables ===== */
:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --card-bg: #ffffff;
    --border-color: #e5e5e5;
}

[data-theme="dark"] {
    --bg-color: #0f172a;
    --text-color: #e5e7eb;
    --card-bg: #020617;
    --border-color: #1e293b;
}

/* ===== Apply Theme ===== */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color .25s ease, color .25s ease;
}

.card,
.article-card,
.border {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

a {
    color: #3b82f6;
}

[data-theme="dark"] a {
    color: #60a5fa;
}
/* ================= THEME VARIABLES ================= */
:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --nav-bg: rgba(255,255,255,0.95);
    --card-bg: #ffffff;
    --border-color: #e5e7eb;
}

html[data-theme="dark"] {
    --bg-color: #0f172a;
    --text-color: #e5e7eb;
    --nav-bg: rgba(2,6,23,0.95);
    --card-bg: #020617;
    --border-color: #1e293b;
}

/* ================= APPLY ================= */
body {
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color .25s ease, color .25s ease;
}

section,
footer,
.card,
.feature-card,
.article-card {
    background-color: var(--card-bg);
    color: var(--text-color);
}

/* ================= NAVBAR ================= */
.navbar {
    background-color: var(--nav-bg) !important;
    backdrop-filter: blur(10px);
}

.navbar .nav-link,
.navbar-brand span {
    color: var(--text-color) !important;
}

/* ================= BUTTON ================= */
#themeToggle {
    border-color: var(--border-color);
    color: var(--text-color);
}
/* ================= THEME VARIABLES ================= */
:root {
    --bg: #ffffff;
    --text: #111111;
    --nav: rgba(255,255,255,0.95);
    --card: #ffffff;
    --border: #e5e7eb;
}

html[data-theme="dark"] {
    --bg: #020617;
    --text: #e5e7eb;
    --nav: rgba(2,6,23,0.95);
    --card: #020617;
    --border: #1e293b;
}

/* ================= APPLY ================= */
body {
    background: var(--bg);
    color: var(--text);
    transition: background .25s ease, color .25s ease;
}

.navbar {
    background: var(--nav) !important;
    backdrop-filter: blur(10px);
}

.navbar .nav-link,
.navbar-brand span {
    color: var(--text) !important;
}

.feature-card,
.article-card,
.card,
footer {
    background: var(--card);
    color: var(--text);
}

#themeToggle {
    color: var(--text);
    border: 1px solid var(--border);
}
