:root {
    --primary-color: #0ea5e9;
    --text-dark: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.3);
    --glass-border: rgba(255, 255, 255, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: #e0f2fe;
    color: var(--text-dark);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* تصميم الخلفية المائية الانسيابية */
.background-shapes {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.7;
    animation: float 8s infinite ease-in-out alternate;
}

.shape1 { width: 500px; height: 500px; background: #38bdf8; top: -100px; right: -100px; }
.shape2 { width: 400px; height: 400px; background: #818cf8; bottom: -50px; left: -100px; animation-delay: -4s; }
.shape3 { width: 300px; height: 300px; background: #2dd4bf; top: 40%; left: 40%; animation-delay: -2s; }

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 50px); }
}

/* تأثير الزجاج (Glassmorphism) */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* القائمة العلوية */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    margin: 20px 5%;
    border-radius: 20px;
}

.logo { font-size: 1.8rem; font-weight: 900; color: #0369a1; }
.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 700; transition: 0.3s; }
.nav-links a:hover { color: var(--primary-color); }

.btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: white !important;
    padding: 10px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

/* القسم الرئيسي */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    margin: 40px 5%;
    border-radius: 30px;
}

.hero-content { flex: 1; padding-left: 3rem; }
.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(to left, #1e3a8a, #0284c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-content p { font-size: 1.2rem; color: #334155; margin-bottom: 2rem; }

.download-buttons { display: flex; gap: 1rem; }
.btn-download {
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    color: white;
    transition: 0.3s;
}
.btn-download.android { background: #10b981; }
.btn-download.ios { background: #0f172a; }
.btn-download:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.hero-image { flex: 1; display: flex; justify-content: center; }
.mockup {
    width: 260px; height: 520px;
    border-radius: 40px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, 0.5);
    border: 6px solid rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 0 20px rgba(255,255,255,0.6), 0 20px 40px rgba(0,0,0,0.1);
}

/* قسم التحميل */
.download-section {
    margin: 40px 5%; padding: 4rem 5%;
    border-radius: 30px; text-align: center;
}
.download-section h2 { font-size: 2.5rem; color: #1e3a8a; margin-bottom: 3rem; }

.devices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.device-card {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: 0.3s;
}
.device-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.7); }
.device-card h3 { color: #0369a1; margin-bottom: 1rem; font-size: 1.5rem; }
.device-card p { color: #475569; margin-bottom: 1.5rem; line-height: 1.6; }

.card-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.btn-secondary {
    padding: 10px 20px;
    border: none; border-radius: 10px;
    background: white; color: #0ea5e9;
    font-weight: 700; cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: 0.3s;
}
/* تنسيق الشعار مع الأيقونة */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 35px;
    height: 35px;
}

/* تنسيق صورة التطبيق داخل الهاتف */
.app-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 35px;
}

/* تنسيق أيقونات الأندرويد في الكروت */
.android-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* أزرار التحميل الجديدة */
.android-btn {
    background: linear-gradient(135deg, #34d399, #10b981) !important;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 12px;
    display: inline-block;
    font-weight: bold;
    transition: 0.3s;
}

.high-end-btn {
    background: linear-gradient(135deg, #6366f1, #4f46e5) !important;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 12px;
    display: inline-block;
    font-weight: bold;
    transition: 0.3s;
}

.android-btn:hover, .high-end-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* إخفاء نسخة الآيفون كما طلبت */
.ios { display: none; }
.btn-secondary:hover { background: #0ea5e9; color: white; }