/* ==========================================================================
   منظومة ديب سكوبر للجداول الذكية | Deep Scoper Timetable AI
   assets/css/landing.css - ملف التنسيقات الفاخر المحدّث (الثيم الرمادي الفاتح الحديث)
   خلفية رمادية فاتحة متناسقة + أيقونات SVG HD واضحة وعالية الدقة
   ========================================================================== */

:root {
    /* باليتة الألوان الرمادية الفاتحة الفاخرة */
    --ds-bg-main: #f8fafc;        /* رمادي فاتح ناصع وأنيق للخلفية */
    --ds-bg-subtle: #f1f5f9;      /* رمادي فاتح ثانوي للأقسام المتناوبة */
    --ds-bg-card: #ffffff;        /* كروت بيضاء نقية زجاجية */
    --ds-bg-card-hover: #ffffff;
    --ds-border-light: #e2e8f0;   /* حدود ناعمة ونظيفة */
    --ds-border-hover: #cbd5e1;
    --ds-border-focus: #0f766e;
    
    /* الألوان الأساسية والعلامة التجارية */
    --ds-primary: #0f766e;        /* أخضر زمردي عميق فخم */
    --ds-primary-glow: #10b981;   /* أخضر زمردي مشرق للتفاعل */
    --ds-primary-light: #f0fdf4;  /* خلفيات خضراء ناعمة جداً */
    --ds-accent-cyan: #0284c7;    /* أزرق سماوي تقني */
    --ds-accent-cyan-light: #f0f9ff;
    --ds-accent-indigo: #4f46e5;  /* نيلي ذكي */
    --ds-accent-indigo-light: #eef2ff;
    --ds-accent-red: #ef4444;     /* أحمر التكرار والتنبيهات */
    --ds-accent-red-light: #fef2f2;
    --ds-accent-amber: #d97706;   /* كهرماني لميزان العدالة */
    --ds-accent-amber-light: #fffbeb;
    --ds-accent-purple: #7e22ce;  /* أرجواني لخطابات التكليف */
    --ds-accent-purple-light: #faf5ff;

    /* تباين النصوص (أعلى درجات الوضوح على الرمادي الفاتح) */
    --ds-text-heading: #0f172a;   /* كحلي داكن / سلايت عميق للعناوين */
    --ds-text-body: #334155;      /* سلايت غامق للنصوص الأساسية */
    --ds-text-muted: #64748b;     /* رمادي متوسط للتفاصيل الثانوية */
    --ds-text-light: #94a3b8;     /* رمادي هادئ للعناصر الخافتة */

    /* الظلال العصرية الناعمة */
    --ds-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.03);
    --ds-shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
    --ds-shadow-lg: 0 12px 30px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    --ds-shadow-hover: 0 20px 40px -6px rgba(15, 23, 42, 0.12), 0 8px 16px -3px rgba(15, 118, 110, 0.15);

    /* استدارات الحواف */
    --ds-radius-sm: 8px;
    --ds-radius-md: 14px;
    --ds-radius-lg: 20px;
    --ds-radius-xl: 28px;

    --ds-font-family: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* التصفير الأساسي وتوحيد الخطوط */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--ds-font-family) !important;
}

html {
    scroll-behavior: smooth;
}

body.ds-landing-body {
    background-color: var(--ds-bg-main);
    color: var(--ds-text-body);
    direction: rtl;
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    /* إضاءة شبكية خلفية ناعمة جداً تعطي عمقاً وفخامة للرمادي الفاتح */
    background-image: 
        radial-gradient(circle at 15% 12%, rgba(15, 118, 110, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 85% 28%, rgba(2, 132, 199, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 50% 65%, rgba(16, 185, 129, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(79, 70, 229, 0.04) 0%, transparent 45%);
    background-attachment: fixed;
}

/* حاوية الصفحة المتناسقة */
.ds-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----------------------------------------------------
   1. شريط التنقل العلوي النقي (Light Glass Navbar)
---------------------------------------------------- */
.ds-navbar {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--ds-border-light);
    padding: 14px 0;
    transition: all 0.25s ease;
    box-shadow: 0 2px 15px rgba(15, 23, 42, 0.03);
}

.ds-navbar .ds-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    max-width: 1300px;
}

.ds-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--ds-text-heading);
    white-space: nowrap;
    flex-shrink: 0;
}

.ds-brand-logo {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, #0f766e 0%, #10b981 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(15, 118, 110, 0.25);
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.ds-brand:hover .ds-brand-logo {
    transform: rotate(-4deg) scale(1.04);
}

.ds-brand-title {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    color: var(--ds-text-heading);
    white-space: nowrap;
    flex-shrink: 0;
}

.ds-brand-sub {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ds-primary);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.ds-nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    flex-wrap: nowrap;
    flex-shrink: 1;
}

.ds-nav-links li {
    white-space: nowrap;
    flex-shrink: 0;
}

.ds-nav-link {
    color: var(--ds-text-body);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.18s ease;
    padding: 6px 4px;
    position: relative;
    white-space: nowrap;
    word-break: keep-all;
    display: inline-block;
}

.ds-nav-link:hover {
    color: var(--ds-primary);
}

.ds-nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    left: 0;
    height: 2px;
    background: var(--ds-primary);
    border-radius: 2px;
}

.ds-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* الأزرار العامة الفاخرة */
.ds-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    white-space: nowrap;
    word-break: keep-all;
    flex-shrink: 0;
}

.ds-btn-login {
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1.5px solid #334155 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2) !important;
}

.ds-btn-login:hover {
    background: #1e293b !important;
    color: #ffffff !important;
    border-color: #0f766e !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.3) !important;
}

.ds-btn-login svg {
    color: #38bdf8 !important;
}

.ds-btn-glow {
    background: linear-gradient(135deg, #0f766e 0%, #10b981 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(15, 118, 110, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ds-btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.4);
    background: linear-gradient(135deg, #115e59 0%, #059669 100%);
    color: #ffffff !important;
}

.ds-btn-outline {
    background: #ffffff;
    color: var(--ds-text-heading);
    border: 1.5px solid var(--ds-border-light);
    box-shadow: var(--ds-shadow-sm);
}

.ds-btn-outline:hover {
    background: #f8fafc;
    border-color: var(--ds-primary);
    color: var(--ds-primary);
    transform: translateY(-2px);
    box-shadow: var(--ds-shadow-md);
}

.ds-btn-lg {
    padding: 14px 30px;
    font-size: 16px;
    border-radius: 14px;
}

/* ----------------------------------------------------
   2. قسم البطل (Hero Section)
---------------------------------------------------- */
.ds-hero-section {
    padding: 65px 0 85px 0;
    position: relative;
    text-align: center;
}

.ds-badge-pulse {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: var(--ds-primary);
    border: 1px solid #bbf7d0;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 13.5px;
    font-weight: 800;
    margin-bottom: 26px;
    box-shadow: 0 2px 12px rgba(16, 185, 129, 0.12);
}

.ds-badge-pulse .dot {
    width: 9px;
    height: 9px;
    background: #10b981;
    border-radius: 50%;
    animation: dsPulse 1.8s infinite;
}

@keyframes dsPulse {
    0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.ds-hero-title {
    font-size: 50px;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 22px;
    letter-spacing: -1.2px;
    color: var(--ds-text-heading);
}

.ds-gradient-text {
    background: linear-gradient(135deg, #0f172a 20%, #0f766e 70%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ds-hero-desc {
    font-size: 18px;
    color: var(--ds-text-body);
    max-width: 820px;
    margin: 0 auto 36px auto;
    line-height: 1.75;
    font-weight: 500;
}

.ds-hero-desc strong {
    color: var(--ds-text-heading);
    font-weight: 800;
}

.ds-hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 55px;
}

/* محاكي الجدول الحي العائم الأنيق (Light Mode Live Simulator) */
.ds-hero-widget-wrap {
    max-width: 1060px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid var(--ds-border-light);
    border-radius: var(--ds-radius-xl);
    padding: 14px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08), 0 0 25px rgba(15, 118, 110, 0.06);
    position: relative;
}

.ds-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--ds-border-light);
    background: #f8fafc;
    border-radius: 20px 20px 0 0;
    flex-wrap: wrap;
    gap: 12px;
}

.ds-widget-dots {
    display: flex;
    gap: 7px;
}

.ds-widget-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.ds-widget-dots span:nth-child(1) { background: #f87171; }
.ds-widget-dots span:nth-child(2) { background: #fbbf24; }
.ds-widget-dots span:nth-child(3) { background: #34d399; }

.ds-widget-title-bar {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--ds-text-heading);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ds-widget-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ds-mini-badge {
    font-size: 11.5px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.ds-mini-badge-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.ds-mini-badge-danger {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.ds-mini-badge-primary {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

/* محاكاة مصفوفة الجدول داخل الودجت */
.ds-table-mockup {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 10px;
    font-size: 12.5px;
}

.ds-table-mockup th {
    background: #f1f5f9;
    color: var(--ds-text-heading);
    padding: 12px 10px;
    font-weight: 800;
    border-bottom: 1px solid var(--ds-border-light);
    border-left: 1px solid var(--ds-border-light);
    text-align: center;
}
.ds-table-mockup th:first-child {
    border-top-right-radius: 10px;
}
.ds-table-mockup th:last-child {
    border-top-left-radius: 10px;
    border-left: none;
}

.ds-table-mockup td {
    border-bottom: 1px solid #f1f5f9;
    border-left: 1px solid #f1f5f9;
    padding: 8px;
    vertical-align: middle;
    background: #ffffff;
}
.ds-table-mockup td:last-child {
    border-left: none;
}

.ds-day-col-mock {
    background: #f8fafc !important;
    font-weight: 900;
    color: var(--ds-accent-cyan) !important;
    width: 100px;
    text-align: center;
    border-right: 1px solid var(--ds-border-light);
}

.ds-slot-mock {
    background: #f8fafc;
    border-radius: 10px;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-right: 4px solid #0f766e;
    text-align: right;
    transition: all 0.2s ease;
}

.ds-slot-mock:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: var(--ds-shadow-sm);
}

.ds-slot-mock-subj {
    font-weight: 800;
    color: var(--ds-text-heading);
    font-size: 12.5px;
    line-height: 1.25;
}

.ds-slot-mock-tch {
    font-size: 11px;
    color: var(--ds-text-muted);
    margin-top: 3px;
}

/* الحصص المتكررة الملونة بالأحمر داخل الودجت (أوضح وأجمل بالثيم الفاتح) */
.ds-slot-mock.is-duplicate-mock {
    background: #fef2f2 !important;
    border: 1.5px solid #fca5a5 !important;
    border-right: 5px solid #ef4444 !important;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.12);
}

.ds-slot-mock.is-duplicate-mock .ds-slot-mock-subj {
    color: #991b1b !important;
}
.ds-slot-mock.is-duplicate-mock .ds-slot-mock-tch {
    color: #b91c1c !important;
    font-weight: 600;
}

.ds-mock-dup-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 800;
    color: #ffffff;
    background: #ef4444;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
}

/* الحصص المحجوزة */
.ds-slot-mock.is-reserved-mock {
    background: #fff1f2;
    border: 1px dashed #fda4af;
    border-right: 4px solid #f43f5e;
}
.ds-slot-mock.is-reserved-mock .ds-slot-mock-subj {
    color: #be123c;
}
.ds-slot-mock.is-reserved-mock .ds-slot-mock-tch {
    color: #e11d48;
}

/* شريط الإحصائيات السريعة */
.ds-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 45px;
}

.ds-stat-card {
    background: #ffffff;
    border: 1px solid var(--ds-border-light);
    border-radius: var(--ds-radius-md);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--ds-shadow-sm);
    transition: all 0.22s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ds-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--ds-shadow-md);
    border-color: #cbd5e1;
}

.ds-stat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.ds-stat-num {
    font-size: 30px;
    font-weight: 900;
    color: var(--ds-text-heading);
    line-height: 1.15;
    margin-bottom: 6px;
}

.ds-stat-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ds-text-muted);
}

/* ----------------------------------------------------
   3. قسم المقارنة (التقليدي مقابل ديب سكوبر)
---------------------------------------------------- */
.ds-comparison-section {
    padding: 90px 0;
    background: var(--ds-bg-subtle);
    border-top: 1px solid var(--ds-border-light);
    border-bottom: 1px solid var(--ds-border-light);
}

.ds-section-header {
    text-align: center;
    margin-bottom: 55px;
}

.ds-section-subtitle {
    color: var(--ds-primary);
    font-size: 13.5px;
    font-weight: 900;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 8px;
    background: var(--ds-primary-light);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid #a7f3d0;
}

.ds-section-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--ds-text-heading);
    line-height: 1.3;
}

.ds-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.ds-comp-card {
    background: #ffffff;
    border-radius: var(--ds-radius-xl);
    padding: 38px;
    border: 1.5px solid var(--ds-border-light);
    position: relative;
    overflow: hidden;
    box-shadow: var(--ds-shadow-md);
    transition: all 0.25s ease;
}

.ds-comp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ds-shadow-lg);
}

.ds-comp-card-bad {
    border-color: #fecaca;
    background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
}

.ds-comp-card-good {
    border-color: #6ee7b7;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    box-shadow: 0 10px 30px -8px rgba(16, 185, 129, 0.15);
}

.ds-comp-badge {
    font-size: 13px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.ds-comp-badge-bad {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.ds-comp-badge-good {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.ds-comp-card h3 {
    font-size: 23px;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--ds-text-heading);
}

.ds-comp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ds-comp-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--ds-text-body);
}

.ds-comp-icon-box {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.ds-comp-icon-box.bad {
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fecaca;
}

.ds-comp-icon-box.good {
    background: #ecfdf5;
    color: #10b981;
    border: 1px solid #a7f3d0;
}

/* ----------------------------------------------------
   4. ركائز ومميزات ديب سكوبر (6 Core Pillars)
---------------------------------------------------- */
.ds-pillars-section {
    padding: 95px 0;
    background: var(--ds-bg-main);
}

.ds-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.ds-pillar-card {
    background: #ffffff;
    border: 1.5px solid var(--ds-border-light);
    border-radius: var(--ds-radius-xl);
    padding: 34px 28px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: var(--ds-shadow-sm);
}

.ds-pillar-card:hover {
    transform: translateY(-5px);
    border-color: #cbd5e1;
    box-shadow: var(--ds-shadow-hover);
}

.ds-pillar-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.ds-pillar-card:hover .ds-pillar-icon-box {
    transform: scale(1.08);
}

.ds-pillar-title {
    font-size: 20px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--ds-text-heading);
}

.ds-pillar-desc {
    font-size: 14.5px;
    color: var(--ds-text-body);
    line-height: 1.7;
    flex: 1;
}

.ds-pillar-highlight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 8px;
    margin-top: 20px;
    width: fit-content;
}

/* ----------------------------------------------------
   5. معرض التفاعل الحي (Interactive Tabs Showcase)
---------------------------------------------------- */
.ds-showcase-section {
    padding: 90px 0;
    background: var(--ds-bg-subtle);
    border-top: 1px solid var(--ds-border-light);
    border-bottom: 1px solid var(--ds-border-light);
}

.ds-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 38px;
    flex-wrap: wrap;
}

.ds-tab-btn {
    background: #ffffff;
    color: var(--ds-text-body);
    border: 1.5px solid var(--ds-border-light);
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--ds-shadow-sm);
}

.ds-tab-btn:hover {
    color: var(--ds-primary);
    border-color: var(--ds-primary);
    background: #f8fafc;
}

.ds-tab-btn.active {
    background: linear-gradient(135deg, #0f766e 0%, #10b981 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.3);
}

.ds-tab-panel {
    display: none;
    animation: dsFadeIn 0.3s ease forwards;
}

.ds-tab-panel.active {
    display: block;
}

@keyframes dsFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ds-panel-card {
    background: #ffffff;
    border: 1px solid var(--ds-border-light);
    border-radius: var(--ds-radius-xl);
    padding: 38px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    box-shadow: var(--ds-shadow-md);
}

.ds-panel-content h4 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--ds-text-heading);
}

.ds-panel-content p {
    font-size: 15.5px;
    color: var(--ds-text-body);
    margin-bottom: 24px;
    line-height: 1.75;
}

.ds-feature-check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.ds-feature-check-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ds-text-heading);
}

.ds-check-icon {
    width: 20px;
    height: 20px;
    color: #10b981;
    flex-shrink: 0;
}

.ds-panel-visual {
    background: #f8fafc;
    border: 1px solid var(--ds-border-light);
    border-radius: var(--ds-radius-lg);
    padding: 22px;
    box-shadow: inset 0 2px 8px rgba(15, 23, 42, 0.03);
}

/* ----------------------------------------------------
   6. خطوات البدء السريع (How It Works)
---------------------------------------------------- */
.ds-steps-section {
    padding: 90px 0;
    background: var(--ds-bg-main);
}

.ds-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.ds-step-card {
    background: #ffffff;
    border: 1px solid var(--ds-border-light);
    border-radius: var(--ds-radius-xl);
    padding: 36px 26px;
    text-align: center;
    position: relative;
    box-shadow: var(--ds-shadow-sm);
    transition: all 0.22s ease;
}

.ds-step-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ds-shadow-md);
    border-color: #cbd5e1;
}

.ds-step-icon-wrap {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0f766e 0%, #10b981 100%);
    color: #fff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.28);
}

.ds-step-number-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    padding: 3px 12px;
    border-radius: 20px;
}

.ds-step-card h4 {
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--ds-text-heading);
}

.ds-step-card p {
    font-size: 14px;
    color: var(--ds-text-body);
    line-height: 1.65;
}

/* ----------------------------------------------------
   7. قسم الأسئلة الشائعة (Interactive Accordion FAQ)
---------------------------------------------------- */
.ds-faq-section {
    padding: 90px 0;
    background: var(--ds-bg-subtle);
    border-top: 1px solid var(--ds-border-light);
}

.ds-faq-accordion {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ds-faq-item {
    background: #ffffff;
    border: 1px solid var(--ds-border-light);
    border-radius: var(--ds-radius-md);
    overflow: hidden;
    transition: all 0.22s ease;
    box-shadow: var(--ds-shadow-sm);
}

.ds-faq-item:hover {
    border-color: #cbd5e1;
}

.ds-faq-item.active {
    border-color: #6ee7b7;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.08);
}

.ds-faq-question {
    padding: 20px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    font-weight: 800;
    color: var(--ds-text-heading);
    user-select: none;
    gap: 16px;
}

.ds-faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.25s ease;
    color: var(--ds-primary);
    flex-shrink: 0;
}

.ds-faq-item.active .ds-faq-icon {
    transform: rotate(180deg);
}

.ds-faq-answer {
    padding: 0 26px 22px 26px;
    font-size: 14.5px;
    color: var(--ds-text-body);
    line-height: 1.75;
    display: none;
    border-top: 1px dashed #f1f5f9;
    padding-top: 16px;
}

.ds-faq-item.active .ds-faq-answer {
    display: block;
}

/* ----------------------------------------------------
   8. شريط التحويل النهائي (Final CTA Banner)
---------------------------------------------------- */
.ds-cta-section {
    padding: 75px 0 95px 0;
    background: var(--ds-bg-main);
}

.ds-cta-card {
    background: linear-gradient(135deg, #0f766e 0%, #0d9488 50%, #0284c7 100%);
    border-radius: var(--ds-radius-xl);
    padding: 55px 36px;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #ffffff;
    box-shadow: 0 20px 50px -10px rgba(15, 118, 110, 0.35);
}

.ds-cta-card h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
    color: #ffffff;
}

.ds-cta-card p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 680px;
    margin: 0 auto 34px auto;
    line-height: 1.7;
}

/* ----------------------------------------------------
   9. تذييل الصفحة الفاخر (Footer)
---------------------------------------------------- */
.ds-footer {
    background: #f1f5f9;
    border-top: 1px solid var(--ds-border-light);
    padding: 55px 0 35px 0;
    font-size: 13.5px;
    color: var(--ds-text-muted);
}

.ds-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 45px;
}

.ds-footer-col h5 {
    color: var(--ds-text-heading);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 18px;
}

.ds-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ds-footer-links a {
    color: var(--ds-text-muted);
    text-decoration: none;
    transition: color 0.18s ease;
}

.ds-footer-links a:hover {
    color: var(--ds-primary);
}

.ds-footer-bottom {
    border-top: 1px solid var(--ds-border-light);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--ds-text-muted);
}

/* ----------------------------------------------------
   10. قائمة وتجاوب الجوال والأجهزة الذكية (Mobile Responsive & Drawer)
---------------------------------------------------- */
.ds-mobile-toggle-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #ffffff;
    border: 1.5px solid var(--ds-border-light);
    color: var(--ds-text-heading);
    cursor: pointer;
    transition: all 0.18s ease;
    flex-shrink: 0;
    padding: 0;
    box-shadow: var(--ds-shadow-sm);
}

.ds-mobile-toggle-btn:hover {
    background: var(--ds-bg-subtle);
    border-color: var(--ds-primary);
    color: var(--ds-primary);
}

.ds-mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: #ffffff;
    box-shadow: -10px 0 35px rgba(15, 23, 42, 0.25);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    direction: rtl;
    text-align: right;
}

.ds-mobile-drawer.open {
    transform: translateX(0);
}

.ds-mobile-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ds-mobile-drawer-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.ds-mobile-drawer-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--ds-border-light);
    background: var(--ds-bg-main);
}

.ds-mobile-close-btn {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: var(--ds-text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.ds-mobile-close-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}

.ds-mobile-nav-links {
    list-style: none;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow-y: auto;
    flex: 1;
}

.ds-mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 11px 16px;
    border-radius: 10px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ds-text-heading);
    text-decoration: none;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.ds-mobile-nav-link:hover {
    background: var(--ds-primary-light);
    color: var(--ds-primary);
    border-color: rgba(15, 118, 110, 0.15);
}

.ds-mobile-drawer-actions {
    padding: 16px;
    border-top: 1px solid var(--ds-border-light);
    background: var(--ds-bg-main);
}

/* التجاوب الدقيق حسب مقاسات الشاشات */
@media (max-width: 1200px) {
    .ds-nav-links { gap: 10px; }
    .ds-nav-link { font-size: 12.5px; padding: 4px 3px; }
    .ds-btn { padding: 8px 14px; font-size: 12.5px; }
    .ds-brand-title { font-size: 17px; }
}

@media (max-width: 992px) {
    .ds-nav-links { display: none !important; }
    .ds-mobile-toggle-btn { display: inline-flex !important; }
    .ds-hero-title { font-size: clamp(26px, 5.5vw, 42px); }
    .ds-hero-desc { font-size: 15px; }
    .ds-stats-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .ds-comparison-grid { grid-template-columns: 1fr; }
    .ds-pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .ds-panel-card { grid-template-columns: 1fr; }
    .ds-steps-grid { grid-template-columns: 1fr; }
    .ds-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    
    .ds-hero-widget-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 12px;
    }
    .ds-hero-widget-wrap table {
        min-width: 580px;
    }
}

@media (max-width: 640px) {
    .ds-navbar {
        padding: 8px 0;
    }
    .ds-container {
        padding: 0 14px;
    }
    .ds-brand-title span:first-child {
        font-size: 15.5px;
    }
    .ds-brand-sub {
        font-size: 9.5px;
    }
    .ds-brand-logo {
        width: 36px;
        height: 36px;
    }
    .ds-btn-login span {
        display: none;
    }
    .ds-btn-login {
        padding: 8px 10px !important;
    }
    .ds-hero-section {
        padding: 24px 0 36px 0;
    }
    .ds-badge-pulse {
        font-size: 11px;
        padding: 4px 10px;
    }
    .ds-hero-title {
        font-size: clamp(22px, 7vw, 30px);
        line-height: 1.35;
        margin-bottom: 12px;
    }
    .ds-hero-desc {
        font-size: 14px;
        line-height: 1.7;
        margin-bottom: 22px;
    }
    .ds-hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .ds-hero-buttons .ds-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
        font-size: 14px;
    }
    .ds-pillars-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .ds-stats-strip {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .ds-footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ds-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .ds-cta-card {
        padding: 24px 16px;
    }
    .ds-cta-card h2 {
        font-size: 20px;
    }
    .ds-cta-card p {
        font-size: 13.5px;
    }
    .ds-faq-question {
        padding: 14px 16px;
        font-size: 14.5px;
    }
    .ds-faq-answer {
        padding: 0 16px 14px 16px;
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    .ds-container {
        padding: 0 10px;
    }
    .ds-brand {
        gap: 6px;
    }
    .ds-brand-logo {
        width: 32px;
        height: 32px;
    }
    .ds-brand-title span:first-child {
        font-size: 14px;
    }
    .ds-hero-title {
        font-size: 20px;
    }
}
