/* ============================================================
   1. المتغيرات العامة والأساسيات (Variables & Base)
   ============================================================ */
:root {
    --gold: #c9a84c;
    --gold-glow: rgba(201, 168, 76, 0.3);
    --dark-bg: #020617;
    --indigo: #0f172a;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: #fff;
    overflow: hidden; /* التمرير يعتمد على الحاوية فقط */
    direction: rtl;
}

/* ============================================================
   2. نظام الشرائح (Slide System)
   ============================================================ */
.presentation-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

/* تحسين شريط التمرير العام */
.presentation-container::-webkit-scrollbar {
    display: none; /* إخفاء شريط التمرير الخارجي لمظهر أنظف */
}

.slide {
    height: 100vh;
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    overflow: hidden;
}

/* ============================================================
   3. مكونات الواجهة الفاخرة (UI Components)
   ============================================================ */
.ambient-glow {
    position: absolute;
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    filter: blur(120px);
    z-index: 1;
    pointer-events: none;
}

.slide-layout-two-col {
    display: flex;
    gap: 50px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    z-index: 10;
}

.col-left, .col-right { flex: 1; }

.gold-text { color: var(--gold); }

/* بطاقة المستثمر */
.investor-note {
    background: linear-gradient(90deg, rgba(201,168,76,0.12) 0%, rgba(201,168,76,0.02) 100%);
    border-right: 4px solid var(--gold);
    padding: 18px 20px;
    border-radius: 12px 0 0 12px;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* قائمة المميزات */
.premium-features { display: flex; flex-direction: column; gap: 14px; }
.p-feature {
    display: flex; gap: 16px; align-items: flex-start;
    padding: 14px; border-radius: 16px; border: 1px solid transparent;
    transition: var(--transition);
}
.p-feature:hover {
    background: var(--glass);
    border-color: var(--glass-border);
    transform: translateX(-10px);
}
.pf-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem; flex-shrink: 0;
}

/* ============================================================
   4. الموك أب والواجهات التخيلية (Mockups)
   ============================================================ */
.mockup-box {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}
.mockup-box:hover { transform: perspective(1000px) rotateY(0deg); }

/* ============================================================
   5. شريحة الأسئلة الشائعة (FAQ Slide Fix)
   ============================================================ */
.slide-faq {
    padding: 80px 40px 140px 40px; /* مساحة سفلية كافية */
    height: 100vh;
    overflow-y: auto !important; /* تفعيل التمرير الداخلي */
    display: block; 
}

/* شريط تمرير داخلي أنيق للـ FAQ */
.slide-faq::-webkit-scrollbar { width: 5px; }
.slide-faq::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
    padding-bottom: 60px;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 16px;
    transition: 0.3s;
}
.faq-item:hover {
    border-color: var(--gold);
    background: rgba(201,168,76,0.05);
}

/* ============================================================
   6. الخاتمة التفاعلية (The Grand Final)
   ============================================================ */
.core-sphere {
    width: 160px; height: 160px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 4.5rem;
    box-shadow: 0 0 60px var(--gold-glow), inset 0 0 20px var(--gold-glow);
    animation: core-pulse 2s infinite ease-in-out;
    margin: 0 auto 30px;
}

/* ============================================================
   7. التنقل الجانبي (Side Navigation)
   ============================================================ */
.nav-dots {
    position: fixed;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}
.dot {
    width: 12px; height: 12px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.dot.active {
    background: var(--gold);
    box-shadow: 0 0 15px var(--gold);
    transform: scale(1.3);
}

/* ============================================================
   8. الأنيميشن (Animations)
   ============================================================ */
@keyframes core-pulse {
    0% { transform: scale(1); box-shadow: 0 0 40px var(--gold-glow); }
    50% { transform: scale(1.08); box-shadow: 0 0 70px var(--gold-glow); }
    100% { transform: scale(1); box-shadow: 0 0 40px var(--gold-glow); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ============================================================
   9. التجاوب مع الشاشات (Responsive)
   ============================================================ */
@media (max-width: 992px) {
    .slide-layout-two-col { flex-direction: column; text-align: center; padding-top: 40px; }
    .faq-grid { grid-template-columns: 1fr; }
    .mockup-box { transform: none !important; width: 100%; max-width: 500px; }
    .slide { padding: 40px 20px; }
}