/* 1. تعريف المتغيرات والألوان الأساسية */
:root {
    --gold: #FFB800;
    --black: #0a0a0a;
    --slate: #64748b;
    --bg-gradient: radial-gradient(circle at top, #ffffff 0%, #f8f9fa 100%);
}

/* 2. إعدادات الصفحة العامة */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    background: var(--bg-gradient);
    font-family: 'Cairo', sans-serif;
    color: var(--black);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 3. زر تبديل اللغة (Language Switcher) */
.lang-switcher {
    position: absolute;
    top: 25px;
    z-index: 1000;
}

/* التحكم بموقع الزر بناءً على اتجاه الصفحة */
[dir="rtl"] .lang-switcher { left: 25px; right: auto; }
[dir="ltr"] .lang-switcher { right: 25px; left: auto; }

.lang-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 8px 18px;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.lang-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* 4. الحاوية الرئيسية (Container) */
.container {
    width: 100%;
    max-width: 500px;
    padding: 40px 25px;
    text-align: center;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 5. تصميم اللوجو (Logo Wrapper) */
.logo-wrapper {
    width: 130px;
    height: 130px;
    background: white;
    border-radius: 50%;
    border: 4px solid var(--gold);
    margin: 0 auto 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 15px 35px rgba(255, 184, 0, 0.15);
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

.logo { 
    width: 80%; 
    height: auto; 
}

/* 6. البادج العلوي (Top Badge) */
.top-badge {
    display: inline-flex;
    align-items: center;
    background: #fff9e6;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    color: #b38600;
    margin-bottom: 25px;
    border: 1px solid #ffe699;
}

.dot { 
    width: 8px; 
    height: 8px; 
    background: var(--gold); 
    border-radius: 50%; 
}

/* تعديل مكان النقطة حسب اللغة */
[dir="rtl"] .dot { margin-left: 10px; }
[dir="ltr"] .dot { margin-right: 10px; }

/* 7. النصوص (Typography) */
.hero-title {
    font-size: clamp(32px, 8vw, 48px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight { 
    color: var(--gold); 
}

.description {
    font-size: 18px;
    color: var(--slate);
    line-height: 1.8;
    margin-bottom: 50px;
}

/* 8. زر تحميل التطبيق (Download Button) */
.action-buttons {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.download-btn {
    background: #000;
    color: var(--gold);
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.download-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 184, 0, 0.2);
}

.download-btn i { 
    font-size: 28px; 
}

.btn-text { 
    display: flex; 
    flex-direction: column; 
}

[dir="rtl"] .btn-text { text-align: right; }
[dir="ltr"] .btn-text { text-align: left; }

.btn-text small { 
    font-size: 11px; 
    opacity: 0.8; 
}

.btn-text strong { 
    font-size: 18px; 
}

/* 9. بطاقة التواصل (Contact Card) */
.contact-card {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    text-decoration: none;
    color: var(--black);
    font-weight: 700;
    transition: 0.3s;
}

.contact-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 184, 0, 0.1);
}

.contact-card i {
    width: 40px;
    height: 40