/* 1. الثوابت والألوان الملكية */
:root {
    --primary-navy: #003366; 
    --accent-gold: #c5a059; 
    --bg-light: #f8f9fa; 
    --whatsapp-green: #25d366;
    --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { color: #212529; background: var(--bg-light); line-height: 1.8; }

/* 2. شريط التنقل والشعار المكبر */
nav { background: var(--white); padding: 15px 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); border-bottom: 2px solid var(--accent-gold); position: sticky; top: 0; z-index: 1000;}
.logo-container { display: flex; align-items: center; gap: 15px; text-decoration: none; }
.official-logo { width: 90px; height: 90px; filter: drop-shadow(0px 4px 6px rgba(0,0,0,0.1)); transition: transform 0.3s ease;}
.logo-container:hover .official-logo { transform: scale(1.05); }
.logo-container:active .official-logo { transform: scale(0.95); }
.brand-main { color: var(--primary-navy); font-size: 1.4rem; font-weight: 800; display: block; letter-spacing: 1px; text-shadow: 1px 1px 2px rgba(0,0,0,0.15), -1px -1px 1px rgba(255,255,255,0.8);}
.brand-sub { color: var(--accent-gold); font-size: 0.8rem; letter-spacing: 3px; text-shadow: 0px 1px 2px rgba(0,0,0,0.2);}
nav ul { list-style: none; display: flex; gap: 20px; align-items: center;}
nav ul li a { color: var(--primary-navy); text-decoration: none; font-weight: 700; transition: 0.3s; }
nav ul li a:hover { color: var(--accent-gold); }

/* 3. زر الواتساب العائم */
.whatsapp-float { position: fixed; bottom: 30px; left: 30px; background: var(--whatsapp-green); width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(0,0,0,0.25); z-index: 1001; transition: transform 0.3s, box-shadow 0.3s;}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4); }
.whatsapp-float:active { transform: scale(0.9); box-shadow: 0 2px 10px rgba(0,0,0,0.2); }
.whatsapp-float svg { width: 35px; height: 35px; }

/* 4. أقسام الصفحة الرئيسية (التصميم المقسوم الفخم) */
.marketing-hero { 
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    padding: 0;
    background-color: var(--primary-navy); /* لون احتياطي */
    overflow: hidden;
}

/* الصورة الحقيقية للرجل الذي يرتدي بدلة ويمسك مستنداً */
.hero-image-bg {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?q=80&w=2000&auto=format&fit=crop') right center/cover no-repeat;
    z-index: 1;
}
[dir="rtl"] .hero-image-bg {
    background-position: left center;
}

/* الخط الذهبي الفاصل المائل */
.hero-gold-line {
    position: absolute;
    top: 0; bottom: 0; left: 0; width: 56.5%;
    background-color: var(--accent-gold);
    z-index: 2;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%); /* قص الشكل لإعطاء الميلان */
}

/* الخلفية البنية الفخمة (مطابقة للون الصورة المرفقة) */
.hero-solid-bg {
    position: absolute;
    top: 0; bottom: 0; left: 0; width: 56%;
    background-color: #2b231c; /* بني داكن فخم جدًا */
    z-index: 3;
    clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
}

/* دعم اللغة العربية (عكس اتجاه الميلان من اليمين لليسار) */
[dir="rtl"] .hero-gold-line {
    left: auto; right: 0; width: 56.5%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
}
[dir="rtl"] .hero-solid-bg {
    left: auto; right: 0; width: 56%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
}

/* محتوى النص فوق الخلفية البنية */
.marketing-hero .container {
    position: relative;
    z-index: 4;
    width: 100%;
    display: flex;
}

.hero-content {
    max-width: 50%;
    padding: 80px 0;
    color: white;
}

/* نصوص وعناوين الواجهة */
.hero-badge {
    display: inline-block;
    background: rgba(63, 9, 9, 0.831);
    color: var(--accent-gold);
    padding: 8px 25px;
    border-radius: 30px;
    border: 1px solid var(--accent-gold);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}
.marketing-hero h1 { font-size: 2.8rem; margin-bottom: 20px; color: var(--accent-gold); text-shadow: 2px 2px 5px rgba(0,0,0,0.5); line-height: 1.4;}
.lead-text { font-size: 1.2rem; max-width: 90%; margin: 0 0 40px 0; opacity: 0.9; line-height: 1.8;}
.cta-group { display: flex; gap: 15px; flex-wrap: wrap;}

/* توافق الشاشات الصغيرة (للهواتف يتم إخفاء الميلان وجعل الخلفية بنية شفافة فوق الصورة) */
@media (max-width: 950px) {
    .hero-gold-line { display: none; }
    .hero-solid-bg {
        width: 100%;
        clip-path: none !important; /* إلغاء القص للموبايل */
        background-color: rgba(43, 35, 28, 0.92); /* بني شفاف فوق الصورة */
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
        padding: 100px 20px;
    }
    .cta-group { justify-content: center; }
    .lead-text { margin: 0 auto 40px auto; }
}

/* 5. باقي الأقسام والتنسيقات */
.stats-bar { background: var(--accent-gold); color: var(--primary-navy); padding: 40px 0; border-top: 1px solid rgba(0,0,0,0.1); }
.stats-bar .container { display: flex; justify-content: space-around; flex-wrap: wrap; text-align: center; gap: 20px;}
.stat-item h2 { font-size: 3rem; font-weight: 900; text-shadow: 1px 1px 2px rgba(0,0,0,0.2), -1px -1px 1px rgba(255,255,255,0.4); }

.steps-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 25px; margin-top: 60px; }
.step-box { flex: 1; min-width: 200px; background: white; padding: 45px 25px; border-radius: 12px; position: relative; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; }
.step-box span { background: var(--primary-navy); color: var(--accent-gold); width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-weight: 900; font-size: 1.2rem; border: 4px solid var(--white); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px; margin-top: 40px; align-items: start;}
.contact-info-card { background: #ffffff; padding: 45px 35px; border-radius: 12px; border: 1px solid #e0e0e0; border-inline-start: 8px solid var(--accent-gold); box-shadow: 0 10px 40px rgba(0,0,0,0.05); text-align: start; }
.info-title { margin-bottom: 35px; color: var(--primary-navy); font-size: 1.6rem; font-weight: 800; }
.info-item { display: flex; gap: 20px; margin-bottom: 35px; align-items: center; text-align: start; }
.icon-box { background: var(--bg-light); color: var(--accent-gold); width: 55px; height: 55px; display: flex; align-items: center; justify-content: center; border-radius: 50%; flex-shrink: 0; border: 1px solid #eee; }
.icon-box svg { width: 26px; height: 26px; }
.info-text strong { display: block; color: var(--accent-gold); font-size: 0.9rem; text-transform: uppercase; margin-bottom: 5px; }

.official-form { background: white; padding: 45px; border-radius: 12px; border: 1px solid #e0e0e0; box-shadow: 0 10px 40px rgba(0,0,0,0.05); display: flex; flex-direction: column; gap: 20px;}
.form-group { text-align: start; }

.pricing-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 35px; margin-top: 50px;}
.pricing-card { background: white; padding: 45px 30px; border-radius: 15px; width: 330px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); text-align: center; border-top: 6px solid var(--primary-navy); transition: transform 0.3s; display: flex; flex-direction: column;}
.pricing-card.vip-card { border-top-color: var(--accent-gold); transform: scale(1.06); box-shadow: 0 15px 40px rgba(197, 160, 89, 0.2); z-index: 10;}
.plan-value-tag { background: #fff8e1; color: #b78a00; padding: 6px 15px; border-radius: 20px; font-weight: 800; display: inline-block; margin-bottom: 20px;}
.pricing-card .desc { font-size: 1rem; color: #666; margin-bottom: 25px; min-height: 50px; }

.features-accordion { text-align: start; margin-bottom: 25px; background: var(--bg-light); border-radius: 8px; padding: 15px; border: 1px solid #eee; margin-top: auto;}
.features-accordion summary { font-weight: 800; color: var(--primary-navy); cursor: pointer; outline: none; }
.features-accordion p { margin-top: 15px; font-size: 0.95rem; line-height: 1.8; color: #555; border-top: 1px solid #ddd; padding-top: 15px;}

.official-section { padding: 90px 20px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 2rem; color: var(--primary-navy); margin-bottom: 10px; font-weight: 800; text-shadow: 1px 1px 2px rgba(0,0,0,0.15), -1px -1px 1px rgba(255,255,255,0.9); }
.divider { width: 70px; height: 5px; background: var(--accent-gold); margin: 20px auto 50px auto; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.btn { padding: 18px 40px; border-radius: 6px; text-decoration: none; font-weight: 800; font-size: 1.1rem; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); display: inline-block; cursor: pointer; border: none; }
.btn-primary { background: var(--accent-gold); color: var(--primary-navy); box-shadow: 0 5px 15px rgba(197, 160, 89, 0.4); }
.btn-primary:hover { background: var(--primary-navy); color: var(--accent-gold); transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0, 51, 102, 0.3); }
.btn-outline { background: transparent; color: var(--primary-navy); border: 2px solid var(--primary-navy); }
.btn-outline:hover { background: var(--primary-navy); color: var(--white); transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0, 51, 102, 0.2); }
.btn:active { transform: scale(0.95) translateY(2px) !important; box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important; }
.btn-whatsapp { background: var(--whatsapp-green); color: white; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); }
.full-width { width: 100%; }
.bg-white { background: var(--white); }
.bg-light-gray { background: var(--bg-light); }

.marketing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 30px; }
.card { background: var(--bg-light); padding: 40px 20px; border-radius: 8px; border-top: 5px solid var(--accent-gold); transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.card:active { transform: scale(0.98); box-shadow: 0 5px 10px rgba(0,0,0,0.05); }

.faq-container { max-width: 800px; margin: 0 auto; }
details { background: var(--bg-light); margin-bottom: 15px; padding: 20px; border-radius: 8px; border: 1px solid #ddd; cursor: pointer; transition: all 0.3s; text-align: start;}
details:hover { border-color: var(--accent-gold); transform: translateX(5px); box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
details:active { transform: scale(0.99); }
summary { font-weight: 800; color: var(--primary-navy); font-size: 1.1rem; outline: none; }
details p { margin-top: 15px; color: #555; border-top: 1px solid #eee; padding-top: 15px; line-height: 1.8;}

input, textarea, select { width: 100%; padding: 15px; border: 1px solid #ccc; border-radius: 6px; font-size: 1rem; background: #fdfdfd; font-family: inherit; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent-gold); box-shadow: 0 0 5px rgba(197, 160, 89, 0.3);}

footer { background: var(--primary-navy); color: white; text-align: center; padding: 50px; }

.lang-selector { background: var(--bg-light); color: var(--primary-navy); border: 1px solid var(--primary-navy); padding: 8px 15px; border-radius: 4px; font-weight: bold; cursor: pointer; outline: none; font-family: inherit;}

@media (max-width: 850px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info-card { order: 2; }
    nav { flex-direction: column; gap: 20px; }
    nav ul { flex-wrap: wrap; justify-content: center;}
    .pricing-card.vip-card { transform: scale(1); }
}