/* ==========================================
   🌌 الإعدادات الأساسية
   ========================================== */
:root {
    --vip-gold: #D4AF37;
    --vip-gold-glow: rgba(212, 175, 55, 0.4);
    --women-pink: #FF7EB3; 
    --women-pink-glow: rgba(255, 126, 179, 0.4);
    --vip-platinum: #E5E4E2;
    --glass-bg: rgba(20, 20, 25, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-dim: #bbbbcc;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: #000; color: var(--text-main); font-family: 'Tajawal', sans-serif; overflow: hidden; }

/* ==========================================
   🎥 الفيديوهات المزدوجة
   ========================================== */
.dual-video-container { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; display: flex; z-index: -3; }
.bg-vid { width: 50%; height: 100%; object-fit: cover; }
.laser-divider { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, transparent, var(--vip-gold), transparent); box-shadow: 0 0 20px 2px var(--vip-gold); z-index: -2; transform: translateX(-50%); }
.video-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(3, 3, 5, 0.65); z-index: -2; }

/* ==========================================
   🌟 الهيدر العائم الشفاف 
   ========================================== */
.floating-header { 
    position: fixed; top: 25px; left: 8%; right: 8%; display: flex; justify-content: space-between; align-items: center; 
    padding: 12px 25px; background: rgba(15, 15, 20, 0.15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); 
    border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 20px; z-index: 9999; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.brand-box { display: flex; align-items: center; gap: 12px; }
.logo-img { width: 35px; height: 35px; border-radius: 8px; box-shadow: 0 0 15px var(--vip-gold-glow); object-fit: cover; border: 1px solid rgba(212, 175, 55, 0.2);}
.logo-text { font-family: 'Cairo', sans-serif; font-size: 24px; font-weight: 900; color: #fff; letter-spacing: 1px; }

.header-actions { display: flex; gap: 12px; }
.btn-nav { padding: 10px 20px; border-radius: 12px; font-family: 'Cairo', sans-serif; font-size: 14px; font-weight: 900; text-decoration: none; transition: 0.4s; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); color: var(--vip-platinum); }
.btn-nav:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); transform: translateY(-2px); color: #fff;}
.btn-nav-gold { border-color: rgba(212, 175, 55, 0.3); color: var(--vip-gold); background: rgba(212, 175, 55, 0.05); }
.btn-nav-gold:hover { background: rgba(212, 175, 55, 0.15); border-color: var(--vip-gold); color: #fff; box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2); }

/* ==========================================
   🚀 التمرير الذكي
   ========================================== */
.snap-container { height: 100dvh; width: 100vw; overflow-y: auto; overflow-x: hidden; scroll-snap-type: y mandatory; scroll-behavior: smooth; position: relative; z-index: 10; }
.screen-section { height: 100dvh; width: 100vw; scroll-snap-align: start; scroll-snap-stop: always; display: flex; justify-content: center; align-items: center; position: relative; }

/* ==========================================
   📝 الشاشة 1: السحر
   ========================================== */
.split-content-container { display: flex; width: 100%; height: 100%; position: absolute; top: 0; left: 0; pointer-events: none; z-index: 5; }
.split-side { width: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 0 4%; }
.split-title { font-family: 'Cairo', sans-serif; font-size: 60px; font-weight: 900; line-height: 1.5; perspective: 1200px; display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-bottom: 10px; }
.magic-word { display: inline-block; transform-style: preserve-3d; opacity: 0; margin: 5px; }
.women-title .magic-word { background: linear-gradient(to bottom right, #fff, var(--women-pink)); -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 0 15px var(--women-pink-glow)); }
.men-title .magic-word { background: linear-gradient(to bottom left, #fff, var(--vip-gold)); -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 0 15px var(--vip-gold-glow)); }
.magic-desc { font-size: 16px; color: var(--text-dim); line-height: 1.8; text-shadow: 0 2px 10px rgba(0,0,0,0.8); max-width: 85%; opacity: 0; transform-style: preserve-3d; }

/* ==========================================
   📱 الشاشة 2: الهاتفين
   ========================================== */
.screen-2-side { justify-content: space-evenly; padding: 12vh 2% 8vh 2%; }
.promo-text-top, .promo-text-bottom { margin: 0; z-index: 10; text-align: center; }
.promo-text-top h3 { font-family: 'Cairo', sans-serif; font-size: 28px; font-weight: 900; text-shadow: 0 5px 15px rgba(0,0,0,0.8); }
.women-text-color { background: linear-gradient(to right, #fff, var(--women-pink)); -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 0 10px var(--women-pink-glow)); }
.men-text-color { background: linear-gradient(to left, #fff, var(--vip-gold)); -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 0 10px var(--vip-gold-glow)); }
.promo-text-bottom p { font-size: 15px; color: var(--vip-platinum); max-width: 85%; margin: auto; line-height: 1.6; text-shadow: 0 2px 10px rgba(0,0,0,0.9); }

.phone-wrapper { position: relative; display: flex; justify-content: center; align-items: center; }
.iphone-mockup { position: relative; width: 260px; height: 520px; background: #000; border-radius: 40px; border: 5px solid #222; box-shadow: 0 25px 60px rgba(0,0,0,0.9), inset 0 0 15px rgba(255,255,255,0.3); z-index: 2; overflow: hidden; flex-shrink: 0; }
.phone-women { box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 40px var(--women-pink-glow), inset 0 0 15px rgba(255,255,255,0.3); }
.phone-men { box-shadow: 0 25px 60px rgba(0,0,0,0.9), 0 0 40px var(--vip-gold-glow), inset 0 0 15px rgba(255,255,255,0.3); }
.hologram-ring { position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 2px dashed rgba(255,255,255,0.1); animation: spinRing 20s linear infinite; }
.ring-women { border-left: 2px solid var(--women-pink); border-right: 2px solid var(--women-pink); box-shadow: inset 0 0 50px rgba(255,126,179,0.05), 0 0 50px rgba(255,126,179,0.1); }
.ring-men { border-left: 2px solid var(--vip-gold); border-right: 2px solid var(--vip-gold); box-shadow: inset 0 0 50px rgba(212,175,55,0.05), 0 0 50px rgba(212,175,55,0.1); }
@keyframes spinRing { 100% { transform: rotate(360deg); } }

.iphone-mockup::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(to bottom right, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 100%); transform: rotate(30deg); pointer-events: none; z-index: 20; }
.iphone-notch { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 35%; height: 24px; background: #000; border-radius: 20px; z-index: 10; box-shadow: inset 0 -1px 3px rgba(255,255,255,0.1); }
.iphone-buttons { position: absolute; background: #222; border-radius: 2px; }
.left-buttons { top: 15%; left: -5px; width: 3px; height: 8%; box-shadow: 0 50px 0 #222; }
.right-button { top: 20%; right: -5px; width: 3px; height: 12%; }
.iphone-screen { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #111; z-index: 1;}
.app-slide-women, .app-slide-men { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 35px; }

.pure-scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; z-index: 10; pointer-events: auto; }
.pure-scroll-text { font-family: 'Cairo', sans-serif; font-size: 13px; color: var(--vip-platinum); margin-bottom: 5px; font-weight: bold; letter-spacing: 1px; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }
.scroll-arrow { color: var(--vip-gold); font-size: 24px; animation: bounceArrow 1.5s infinite; filter: drop-shadow(0 0 5px var(--vip-gold-glow)); }
.scroll-arrow.delay { animation-delay: 0.2s; margin-top: -12px; opacity: 0.6; }
@keyframes bounceArrow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }

/* ==========================================
   🏢 الشاشة 3: الفوتر الاحترافي (نفس تصميم بلي)
   ========================================== */
.zilfi-footer-wrapper {
    width: 90%;
    max-width: 800px;
    height: 90vh; /* لتتوزع العناصر على الشاشة براحة */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 12vh 0 5vh 0;
    opacity: 0; /* يبدأ مخفياً للأنيميشن */
    transform: translateY(50px);
    z-index: 10;
}

/* 1. قسم من نحن */
.footer-about-section { text-align: center; }
.footer-logo { width: 50px; border-radius: 12px; margin-bottom: 10px; box-shadow: 0 0 15px var(--vip-gold-glow); }
.footer-brand-name { font-family: 'Cairo'; font-size: 24px; color: #fff; margin-bottom: 15px; letter-spacing: 1px; }
.about-text { color: var(--vip-platinum); font-size: 16px; line-height: 1.8; max-width: 600px; margin: auto; }

/* 2. بانر الاتصال */
.footer-contact-banner {
    background: rgba(20, 20, 25, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.address-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 20px;
}
.address-icon {
    background: rgba(255,255,255,0.05);
    width: 40px; height: 40px;
    display: flex; justify-content: center; align-items: center;
    border-radius: 50%;
    font-size: 18px;
    color: var(--text-dim);
}
.address-text p { margin: 0; color: #fff; font-size: 15px; line-height: 1.6; text-align: right; }
.address-text .sub-address { color: var(--text-dim); font-size: 13px; margin-top: 5px; }

.contact-buttons-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-action-btn {
    background: #1c1c22;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    transition: 0.3s;
}
.contact-action-btn i { color: var(--text-dim); font-size: 20px; transition: 0.3s; }
.contact-action-btn:hover { background: #25252b; border-color: var(--vip-gold); box-shadow: 0 5px 15px rgba(212,175,55,0.1); }
.contact-action-btn:hover i { color: var(--vip-gold); }

/* 3. الحقوق والأيقونات */
.footer-bottom-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.footer-legal-links { display: flex; gap: 15px; flex-wrap: wrap; justify-content: center; }
.footer-legal-links a { color: var(--vip-platinum); text-decoration: none; font-size: 14px; transition: 0.3s; }
.footer-legal-links a:hover { color: var(--vip-gold); }
.dot { color: var(--text-dim); }

.footer-copyright { color: var(--text-dim); font-size: 14px; }

.footer-social { display: flex; gap: 15px; }
.footer-social a {
    width: 45px; height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; justify-content: center; align-items: center;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
    background: rgba(255,255,255,0.02);
}
.footer-social a:hover { background: #fff; color: #000; border-color: #fff; transform: translateY(-3px); }

/* ==========================================
   📱 استجابة الموبايل
   ========================================== */
@media (max-width: 992px) {
    .floating-header { top: 20px; left: 3%; right: 3%; padding: 10px 15px; border-radius: 20px; flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
    .logo-text { font-size: 20px; }
    .logo-img { width: 30px; height: 30px; }
    .header-actions { gap: 8px; }
    .btn-nav { padding: 8px 12px; font-size: 12px; }

    .split-title { font-size: 38px; margin-bottom: 5px; gap: 8px;}
    .magic-word { margin: 2px 0; }
    .magic-desc { font-size: 12px; line-height: 1.5; max-width: 95%; }
    
    .promo-text-top h3 { font-size: 17px; }
    .promo-text-bottom p { font-size: 11px; max-width: 95%; line-height: 1.4;}

    .iphone-mockup { width: 42vw; height: 84vw; max-height: 52vh; border-radius: 25px; border-width: 3px; flex-shrink: 0; } 
    .iphone-screen { border-radius: 22px; }
    .app-slide-women, .app-slide-men { border-radius: 22px; }
    .iphone-notch { width: 40%; height: 15px; top: 4px;}
    .hologram-ring { width: 60vw; height: 60vw; } 
    .pure-scroll-indicator { bottom: 15px; }

    /* تعديلات الفوتر للموبايل */
    .zilfi-footer-wrapper { width: 95%; height: 85vh; padding: 10vh 0 3vh 0; gap: 3vh; justify-content: space-around;}
    .about-text { font-size: 14px; }
    .footer-contact-banner { padding: 20px; gap: 15px; border-radius: 20px; }
    .address-text p { font-size: 13px; }
    .contact-action-btn { font-size: 16px; padding: 12px; border-radius: 12px; }
    .footer-social a { width: 40px; height: 40px; font-size: 16px; }
    .footer-copyright { font-size: 12px; }
}
