/* ════════════════════════════════════════════════════════════════
   site.css — نفس هوية التطبيق: داكن + ذهبي + خط Cairo (ColorsManager)
   ════════════════════════════════════════════════════════════════ */
:root{
    --bg:        #0F0D00;   /* background */
    --surface:   #1C1800;   /* surface */
    --card:      #221E00;   /* cardBg */
    --card-2:    #2A2400;   /* divider */
    --gold:      #E8B800;   /* kGold */
    --gold-soft: #FFC107;   /* kGoldLight */
    --gold-dark: #B8860B;   /* goldDark */
    --text:      #FFFFFF;
    --sub:       #AA9966;   /* textSecondary */
    --muted:     #9E9E9E;   /* kSubText */
    --green:     #43A047;
    --radius:    14px;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
    font-family:'Cairo', Tahoma, sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.7;
}
a{ color:inherit; }
img{ max-width:100%; }

/* ── الهيدر ── */
.site-header{
    position:sticky; top:0; z-index:10;
    background:rgba(15,13,0,.92);
    backdrop-filter:blur(8px);
    border-bottom:1px solid var(--card-2);
}
.site-header .wrap{
    display:flex; align-items:center; justify-content:space-between; gap:16px;
    padding-block:14px;
}
.brand{
    display:flex; align-items:center; gap:10px;
    font-weight:800; font-size:20px; text-decoration:none; color:var(--gold);
}
.brand .logo{
    width:34px; height:34px; border-radius:10px;
    display:grid; place-items:center;
    background:linear-gradient(135deg,var(--gold),var(--gold-dark));
    color:#000; font-size:18px;
}
.nav{ display:flex; gap:22px; flex-wrap:wrap; }
.nav a{ text-decoration:none; color:var(--muted); font-weight:600; transition:color .2s; }
.nav a:hover{ color:var(--gold); }

.wrap{ width:100%; max-width:1080px; margin-inline:auto; padding-inline:16px; }

/* ── الأزرار ── */
.btn{
    display:inline-flex; align-items:center; gap:8px;
    padding:12px 26px; border-radius:12px;
    font-weight:700; text-decoration:none; font-family:inherit; font-size:16px;
    background:var(--gold); color:#000; border:1px solid var(--gold);
    transition:transform .2s, background .2s;
}
.btn:hover{ background:var(--gold-soft); transform:translateY(-2px); }
.btn.ghost{ background:transparent; color:var(--gold); }
.btn.ghost:hover{ background:rgba(232,184,0,.1); }

/* ── أقسام عامة ── */
section{ padding-block:64px; }
.section-title{ text-align:center; margin-bottom:36px; }
.section-title h2{ font-size:30px; font-weight:800; margin-bottom:6px; }
.section-title h2 span{ color:var(--gold); }
.section-title p{ color:var(--sub); max-width:620px; margin-inline:auto; }
.alt{ background:var(--surface); }

/* ── الهيرو ── */
.hero{
    padding-block:90px 70px; text-align:center;
    background:
        radial-gradient(ellipse at top, rgba(232,184,0,.18), transparent 60%),
        var(--bg);
}
.hero .eyebrow{
    display:inline-block; padding:5px 16px; border-radius:20px;
    border:1px solid var(--gold-dark); color:var(--gold); font-size:14px; margin-bottom:18px;
}
.hero h1{ font-size:44px; font-weight:800; line-height:1.35; margin-bottom:16px; }
.hero h1 span{ color:var(--gold); }
.hero p{ color:var(--sub); font-size:18px; max-width:680px; margin:0 auto 30px; }
.hero .actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ── شبكة الكروت ── */
.grid{ display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.card{
    background:var(--card); border:1px solid var(--card-2); border-radius:var(--radius);
    padding:24px; transition:transform .2s, border-color .2s;
}
.card:hover{ transform:translateY(-4px); border-color:var(--gold-dark); }
.card .ic{ font-size:30px; margin-bottom:10px; }
.card h3{ font-size:18px; color:var(--gold); margin-bottom:6px; }
.card p{ color:var(--muted); font-size:15px; }

/* ── كروت الأدوار ── */
.role-card{ display:block; text-decoration:none; position:relative; }
.role-card .go{ position:absolute; inset-inline-end:20px; top:22px; color:var(--gold); font-size:20px; }

/* ── الخطوات ── */
.steps{ counter-reset:step; display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.step{ background:var(--card); border:1px solid var(--card-2); border-radius:var(--radius); padding:24px; }
.step::before{
    counter-increment:step; content:counter(step);
    display:grid; place-items:center; width:36px; height:36px; border-radius:50%;
    background:var(--gold); color:#000; font-weight:800; margin-bottom:12px;
}
.step h3{ font-size:17px; margin-bottom:4px; }
.step p{ color:var(--muted); font-size:15px; }

/* ── الباقات ── */
.plan{ text-align:center; }
.plan .name{ font-size:20px; font-weight:800; color:var(--gold); }
.plan .period{ color:var(--sub); margin-bottom:14px; }
.plan ul{ list-style:none; color:var(--muted); font-size:15px; margin-bottom:18px; }
.plan li{ padding-block:4px; }
.plan.featured{ border-color:var(--gold); }

/* ── شريط التحميل / التواصل ── */
.cta{
    text-align:center; border:1px solid var(--gold-dark); border-radius:20px; padding:40px 20px;
    background:linear-gradient(135deg, rgba(232,184,0,.12), transparent);
}
.cta h2{ font-size:28px; margin-bottom:8px; }
.cta p{ color:var(--sub); margin-bottom:22px; }
.cta .actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ── صفحات الأدلة ── */
.page-hero{ padding-block:56px 24px; text-align:center; }
.page-hero .badge{
    display:inline-block; background:var(--gold); color:#000; font-weight:700;
    padding:5px 18px; border-radius:20px; font-size:14px; margin-bottom:14px;
}
.page-hero h1{ font-size:34px; font-weight:800; margin-bottom:8px; }
.page-hero p{ color:var(--sub); max-width:640px; margin-inline:auto; }

.guide{ max-width:860px; margin-inline:auto; padding:8px 16px 72px; }
.guide-group{ color:var(--gold); font-size:15px; font-weight:700; margin:28px 4px 10px; }
.feature-item{
    background:var(--card); border:1px solid var(--card-2); border-radius:var(--radius);
    margin-bottom:12px; overflow:hidden;
}
.feature-item.open{ border-color:var(--gold-dark); }
.feature-toggle{
    width:100%; background:none; border:none; color:var(--text); cursor:pointer;
    padding:16px 20px; font:inherit; font-size:17px; font-weight:600; text-align:start;
    display:flex; justify-content:space-between; align-items:center; gap:12px;
}
.feature-toggle:hover{ background:var(--card-2); }
.feature-toggle .tag{
    font-size:12px; font-weight:700; color:#000; background:var(--green);
    padding:1px 10px; border-radius:10px; margin-inline-start:8px;
}
.feature-toggle .plus{ color:var(--gold); font-size:22px; transition:transform .25s; flex-shrink:0; }
.feature-item.open .plus{ transform:rotate(45deg); }
.feature-panel{ display:none; padding:0 20px 20px; }
.feature-item.open .feature-panel{ display:block; }
.feature-panel p{ color:var(--muted); font-size:15px; margin-bottom:14px; }
.shot{
    border:1px dashed var(--card-2); border-radius:12px; min-height:160px;
    display:flex; align-items:center; justify-content:center; background:var(--surface); overflow:hidden;
}
.shot img{ width:100%; max-width:360px; display:block; margin-inline:auto; border-radius:12px; }
.shot .placeholder{ color:var(--muted); font-size:12px; text-align:center; padding:20px; direction:ltr; }
.shot .placeholder b{ display:block; color:var(--sub); font-size:13px; margin-bottom:4px; direction:rtl; }

/* ── الفوتر ── */
.site-footer{ border-top:1px solid var(--card-2); padding-block:24px; text-align:center; color:var(--muted); font-size:14px; }
.site-footer nav{ display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-bottom:8px; }
.site-footer a{ text-decoration:none; }
.site-footer a:hover{ color:var(--gold); }

/* ── الموبايل ── */
@media (max-width:640px){
    .nav{ display:none; }
    .hero{ padding-block:64px 48px; }
    .hero h1{ font-size:30px; }
    .hero p{ font-size:16px; }
    .section-title h2{ font-size:24px; }
    .page-hero h1{ font-size:26px; }
    section{ padding-block:48px; }
}
