:root {
  --purple: #12876A;
  --purple-dark: #0C5E4C;
  --purple-deep: #0A4A3C;
  --green: #12876A;
  --gold: #C99A22;
  --ink: #10201B;
  --muted: #5B6B65;
  --bg: #ffffff;
  --bg-alt: #EEF7F4;
  --line: #D3E6DE;
  --radius: 16px;
  /* نفس نظام خطوط التطبيق (user/) — هوية بصرية واحدة عبر المنصّة */
  --font-disp: "Reem Kufi", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}

/* العناوين بخطّ العرض (Reem Kufi) — مطابقة لهوية التطبيق */
h1, h2, h3, .brand { font-family: var(--font-disp); }

.container { width: min(1080px, 92%); margin: 0 auto; }
.container.narrow { width: min(620px, 92%); }

h1 { font-size: clamp(1.9rem, 5vw, 3.2rem); font-weight: 800; line-height: 1.25; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); font-weight: 800; margin-bottom: 1rem; text-align: center; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .4rem; }

.accent { color: var(--green); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.xsmall { font-size: .8rem; }
.center { text-align: center; margin-top: 1.6rem; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 0; }
.brand { font-weight: 800; font-size: 1.5rem; color: var(--purple); }
.nav-links { display: flex; gap: 1.1rem; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--purple); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* Buttons */
.btn {
  display: inline-block; cursor: pointer; border: none;
  background: var(--purple); color: #fff; font-family: inherit; font-weight: 700;
  padding: .7rem 1.4rem; border-radius: 999px; text-decoration: none; font-size: 1rem;
  transition: transform .08s ease, background .2s ease;
}
.btn:hover { background: var(--purple-dark); }
.btn:active { transform: scale(.97); }
.btn-lg { padding: .95rem 2rem; font-size: 1.1rem; }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--purple); border: 2px solid var(--purple); }
.btn-ghost:hover { background: var(--purple); color: #fff; }
.btn-light { background: #fff; color: var(--purple-deep); }
.btn-light:hover { background: #EEF7F4; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(2.6rem, 8vw, 5.2rem) 0;
  background:
    radial-gradient(1200px 500px at 85% -10%, #EEF7F4 0%, transparent 60%),
    radial-gradient(700px 400px at -10% 110%, #eaf6f0 0%, transparent 55%),
    var(--bg);
}
/* خلفية إيحائية خفيفة: مشهد عملنا يملأ الهيرو بلا أن يزاحم النصّ */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url("scene.svg") no-repeat center / min(1200px, 130%) auto;
  opacity: .10;
}
.hero .container { position: relative; z-index: 1; }
/* الرسم التوضيحي الأساسي — الصورة التي «تعكس الواقع» */
.hero-illust {
  width: 100%; max-width: 560px; height: auto; display: block;
  filter: drop-shadow(0 22px 44px rgba(12, 94, 76, .18));
}
.hero-grid { display: grid; grid-template-columns: 1.25fr .85fr; gap: 2.2rem; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow {
  display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem .9rem; font-size: .8rem; font-weight: 500; color: var(--muted); margin-bottom: 1rem;
}
.tagline { font-weight: 700; color: var(--gold); font-size: clamp(1rem, 2.4vw, 1.25rem); margin-top: .6rem; }
.hero .lead { font-size: clamp(1.02rem, 2.2vw, 1.25rem); color: #3a3850; max-width: 620px; margin: 1.1rem 0 1.6rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.trust-chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem .9rem; }
.trust-chips li {
  font-size: .84rem; font-weight: 500; color: var(--muted);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem .8rem;
}

/* لوحة توضيحية بجانب الهيرو — «طعم» كشف الحساب */
.hero-panel { display: grid; gap: .5rem; justify-items: center; }
.panel-card {
  width: min(340px, 100%); background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(18,135,106,.12); padding: 1.1rem 1.2rem; display: grid; gap: .55rem;
}
.panel-row { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; color: #3a3850; }
.panel-row .up { color: var(--green); font-weight: 800; }
.panel-total {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1.5px dashed var(--line); padding-top: .7rem; margin-top: .2rem; font-weight: 800;
}
.panel-total b { color: var(--purple); font-size: 1.25rem; }
.panel-lock {
  font-size: .76rem; font-weight: 700; color: var(--purple-deep);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px;
  padding: .45rem .7rem; text-align: center;
}
.panel-note { font-size: .75rem; color: var(--muted); }

/* Sections */
.section { padding: clamp(2.5rem, 7vw, 4.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-sub { text-align: center; color: var(--muted); margin: -0.4rem 0 1.6rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: 0 4px 20px rgba(18,135,106,.05);
}
.card p { color: #4a4860; }
.step {
  width: 38px; height: 38px; border-radius: 50%; background: var(--purple); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: .8rem;
}

/* بطاقات مصادر الدخل */
.path-card { display: grid; gap: .5rem; align-content: start; }
.path-card.featured { border: 2px solid var(--purple); box-shadow: 0 10px 34px rgba(18,135,106,.14); }
.path-icon { font-size: 1.9rem; line-height: 1; }
.pay-badge {
  justify-self: start; font-size: .78rem; font-weight: 700; color: var(--purple-deep);
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: .25rem .75rem;
}
.pay-badge.gold { color: #7a5312; background: #fdf3e2; border-color: #f3ddb5; }

/* شريط فريق التقييم */
.band { background: linear-gradient(135deg, var(--purple), var(--purple-deep)); color: #fff; padding: clamp(2.4rem, 6vw, 4rem) 0; }
.band h2 { text-align: right; color: #fff; }
.band p { color: #D3E6DE; max-width: 560px; margin-bottom: 1.3rem; }
.band-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; }
@media (max-width: 780px) { .band-inner { grid-template-columns: 1fr; } .band h2 { text-align: center; } }
.band-points { list-style: none; display: grid; gap: .7rem; }
.band-points li {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px; padding: .7rem 1rem; font-size: .92rem;
}

/* CTA / form */
.section-cta { background: linear-gradient(135deg, var(--purple), var(--purple-dark)); color: #fff; text-align: center; }
.section-cta h2 { color: #fff; }
.section-cta p { color: #D3E6DE; margin-bottom: 1.4rem; }
.lead-form { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.lead-form input {
  flex: 1 1 260px; padding: .9rem 1.1rem; border-radius: 999px; border: none;
  font-family: inherit; font-size: 1rem; outline: none;
}
.section-cta .btn { background: var(--green); }
.section-cta .btn:hover { background: #256b4d; }
.form-msg { margin-top: 1rem; font-weight: 700; min-height: 1.4rem; }
.form-msg.ok { color: #c6f6d5; }
.form-msg.err { color: #ffd6d6; }

/* Footer */
.footer { padding: 2.5rem 0; background: var(--ink); color: #cfcde0; text-align: center; }
.footer .brand { color: #fff; margin-bottom: .5rem; }
.footer p { margin: .3rem auto; max-width: 560px; }

/* اللوجو في الشريط العلوي */
.brand-logo { display: flex; align-items: center; gap: .5rem; }
.nav-logo { width: 34px; height: 34px; border-radius: 9px; }
.mt-lg { margin-top: 1.4rem; }
