/* site.css — أنماط الموقع التعريفي العام (اللاندنج + الصفحات: من نحن، التواصل، الكورسات) */
.site img{max-width:100%;height:auto;display:block}

/* الشريط العلوي */
.ld-nav{position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;
    gap:16px;padding:14px 30px;background:var(--surface);border-bottom:1px solid var(--border)}
.ld-nav .brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:17px;color:var(--text);text-decoration:none}
.ld-nav .menu{display:flex;gap:6px;align-items:center}
.ld-nav .menu a{color:var(--text-muted);text-decoration:none;font-weight:700;font-size:14px;padding:8px 12px;border-radius:9px}
.ld-nav .menu a:hover{color:var(--primary);background:var(--primary-soft)}
.ld-nav .menu a.active{color:var(--primary-700);background:var(--primary-soft);font-weight:800}
/* شبكة عمودين تنهار على الموبايل (تتغلّب على التنسيق السطري بـ !important) */
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center}
@media(max-width:768px){.two-col{grid-template-columns:1fr!important;gap:24px}}
.ld-nav .acts{display:flex;gap:8px;align-items:center}
.nav-toggle{display:none;background:none;border:1px solid var(--border);border-radius:9px;width:40px;height:40px;cursor:pointer}

.ld-wrap{max-width:1280px;margin:0 auto;padding:0 32px}

/* عنوان الصفحة الداخلية */
.page-hero{background:linear-gradient(135deg,var(--primary),#8f0018);color:#fff;padding:64px 32px;text-align:center;position:relative;overflow:hidden}
.page-hero::before{content:"";position:absolute;width:260px;height:260px;top:-90px;inset-inline-start:-60px;border-radius:50%;background:rgba(255,255,255,.08)}
.page-hero::after{content:"";position:absolute;width:200px;height:200px;bottom:-80px;inset-inline-end:-40px;border-radius:50%;background:rgba(255,255,255,.06)}
.page-hero h1{font-size:42px;font-weight:900;margin:0 0 10px;position:relative}
.page-hero p{font-size:17px;opacity:.92;max-width:640px;margin:0 auto;position:relative;line-height:1.8}
.crumb{position:relative;font-size:13px;opacity:.85;margin-top:14px}
.crumb a{color:#fff;text-decoration:underline;text-underline-offset:3px}

/* أزرار */
.btn-lg{background:linear-gradient(135deg,var(--primary),#a30019);color:#fff;border:none;font-weight:800;
    padding:16px 34px;border-radius:14px;text-decoration:none;display:inline-flex;align-items:center;gap:8px;
    box-shadow:0 12px 26px -10px rgba(228,0,43,.55);transition:.2s;font-size:16px}
.btn-lg:hover{transform:translateY(-2px)}
.btn-link{color:var(--text);font-weight:700;text-decoration:underline;text-underline-offset:5px}
.btn-link:hover{color:var(--primary)}
.btn-white{background:#fff;color:var(--primary);border:none;font-weight:800;padding:15px 34px;border-radius:14px;text-decoration:none;display:inline-flex;gap:8px;align-items:center}

/* عناوين الأقسام */
.sec-title{text-align:center;margin:72px 0 30px}
.sec-title .eyebrow{display:inline-block;background:var(--primary-soft);color:var(--primary-700);padding:6px 16px;border-radius:20px;font-size:12.5px;font-weight:700;margin-bottom:12px}
.sec-title h2{font-size:32px;font-weight:800;margin:0}
.sec-title p{color:var(--text-muted);margin-top:8px;max-width:620px;margin-inline:auto;line-height:1.7}

/* شبكة بطاقات عامة */
.grid-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.fcard{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:24px;transition:.2s;box-shadow:var(--shadow-sm)}
.fcard:hover{transform:translateY(-3px);box-shadow:0 14px 30px -14px rgba(0,0,0,.24)}
.fcard .fic{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary-700);margin-bottom:14px}
.fcard .fic svg{width:24px;height:24px}
.fcard h3{font-size:17px;font-weight:800;margin:0 0 6px}
.fcard p{color:var(--text-muted);font-size:13.5px;line-height:1.7;margin:0}
.ccard .lv{display:inline-block;background:var(--primary-soft);color:var(--primary-700);font-size:12px;font-weight:700;padding:3px 10px;border-radius:20px}
.bcard .row{display:flex;align-items:center;gap:8px;color:var(--text-muted);font-size:13px;margin-top:8px}
.bcard .row svg{width:15px;height:15px;flex:none}

/* لمن المنصّة */
.aud-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.aud{background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:28px 24px;text-align:center;transition:.2s;box-shadow:var(--shadow-sm)}
.aud:hover{transform:translateY(-4px);box-shadow:0 18px 36px -16px rgba(0,0,0,.22);border-color:var(--primary)}
.aud .ai{width:60px;height:60px;border-radius:18px;display:grid;place-items:center;margin:0 auto 16px;background:linear-gradient(135deg,var(--primary),#a30019);color:#fff}
.aud .ai svg{width:28px;height:28px}
.aud h3{font-size:18px;font-weight:800;margin:0 0 8px}
.aud p{color:var(--text-muted);font-size:13.5px;line-height:1.8;margin:0}

/* خطوات */
.steps{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.step{position:relative;background:var(--surface);border:1px solid var(--border);border-radius:20px;padding:28px 22px;box-shadow:var(--shadow-sm)}
.step .num{width:52px;height:52px;border-radius:50%;background:linear-gradient(135deg,var(--primary),#a30019);color:#fff;display:grid;place-items:center;font-size:23px;font-weight:900;margin-bottom:16px}
.step h3{font-size:17px;font-weight:800;margin:0 0 8px}
.step p{color:var(--text-muted);font-size:13.5px;line-height:1.7;margin:0}
.step:not(:last-child)::after{content:"←";position:absolute;inset-inline-start:-16px;top:44px;color:var(--primary);font-size:22px;font-weight:900;opacity:.5}

/* مميزات تقنية */
.tech-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.tech{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:22px;transition:.2s;box-shadow:var(--shadow-sm)}
.tech:hover{transform:translateY(-3px);box-shadow:0 14px 28px -14px rgba(0,0,0,.2)}
.tech .ti{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;background:var(--primary-soft);color:var(--primary-700);margin-bottom:12px}
.tech .ti svg{width:22px;height:22px}
.tech h3{font-size:15.5px;font-weight:800;margin:0 0 5px}
.tech p{color:var(--text-muted);font-size:12.5px;line-height:1.6;margin:0}

/* دليل اجتماعي */
.proof{background:linear-gradient(135deg,#262425,#3a3638);color:#fff;border-radius:24px;padding:40px;text-align:center;margin:20px 0}
.proof .stars{font-size:32px;color:#ffc531;letter-spacing:3px}
.proof b{font-size:42px;font-weight:900;display:block;margin-top:6px}
.proof span{opacity:.82}

/* الأسئلة الشائعة */
.faq{max-width:820px;margin:0 auto}
.faq details{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:16px 20px;margin-bottom:12px}
.faq summary{cursor:pointer;font-weight:800;font-size:15.5px;list-style:none;display:flex;justify-content:space-between;gap:10px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";color:var(--primary);font-weight:900;font-size:20px}
.faq details[open] summary::after{content:"−"}
.faq p{color:var(--text-muted);line-height:1.9;margin:12px 0 0;font-size:14px}

/* دعوة */
.cta-band{background:linear-gradient(135deg,var(--primary),#8f0018);color:#fff;border-radius:26px;padding:52px;text-align:center;margin:66px 0}
.cta-band h2{font-size:30px;font-weight:800;margin:0 0 12px}
.cta-band p{opacity:.92;margin:0 0 24px;font-size:16px}

/* تذييل */
.ld-foot{background:#201e1f;color:#c9c4c0;margin-top:40px}
.foot-cols{max-width:1280px;margin:0 auto;padding:52px 32px 24px;display:grid;grid-template-columns:1.6fr 1fr 1fr 1.2fr;gap:36px}
.foot-cols h4{color:#fff;font-size:15px;font-weight:800;margin:0 0 16px}
.foot-cols a,.foot-cols p{color:#c9c4c0;text-decoration:none;font-size:13.5px;line-height:2;display:block;margin:0}
.foot-cols a:hover{color:#fff}
.foot-brand .b{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px;color:#fff;margin-bottom:12px}
.foot-brand .b img{filter:brightness(0) invert(1);height:26px}
.foot-brand p{max-width:320px;opacity:.85;line-height:1.9}
.foot-contact .ci{display:flex;gap:8px;align-items:flex-start;margin-bottom:10px;font-size:13.5px}
.foot-contact .ci svg{width:16px;height:16px;flex:none;margin-top:3px;color:var(--primary)}
.foot-bar{border-top:1px solid rgba(255,255,255,.1);padding:18px 32px;text-align:center;font-size:12.5px;opacity:.75}

@media(max-width:920px){.foot-cols{grid-template-columns:1fr 1fr}}
@media(max-width:820px){
    .ld-nav .menu{display:none}
    .stats{grid-template-columns:repeat(2,1fr)!important;gap:26px}
    .aud-grid,.steps,.tech-grid{grid-template-columns:repeat(2,1fr)}.step::after{display:none}
    .page-hero h1{font-size:32px}
}
@media(max-width:520px){.foot-cols{grid-template-columns:1fr}.aud-grid,.steps,.tech-grid{grid-template-columns:1fr}}
