:root{
  --green:#5C9A5F;
  --green-2:#3E7F47;
  --gray:#6B6B6B;
  --ink:#0f172a;
  --text:#111827;
  --muted:#5b6472;

  --bg:#f7f8fb;
  --surface:#ffffff;
  --surface-2:#f1f4f6;

  --border:rgba(15,23,42,.12);
  --shadow: 0 14px 34px rgba(2,6,23,.10);
  --shadow-soft: 0 8px 18px rgba(2,6,23,.06);
  --radius:18px;
  --radius-sm:14px;
  --max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background:var(--bg);
  line-height:1.65;
}
body[data-lang="ar"]{
  direction:rtl;
  font-family: "IBM Plex Sans Arabic","Cairo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
a{color:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  background:rgba(247,248,251,.82);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.nav{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0;}
.brand{display:flex; align-items:center; gap:12px; min-width:240px;}
.brand img{height:42px; width:auto; display:block}
.brand .name{display:flex; flex-direction:column; line-height:1.1}
.brand .name strong{font-size:14px; letter-spacing:.4px; color:var(--ink)}
.brand .name span{font-size:12px; color:var(--muted)}
.navlinks{display:flex; gap:10px; align-items:center; flex-wrap:wrap; justify-content:flex-end;}
.navlinks a{
  text-decoration:none; color:var(--muted); font-weight:750; font-size:13px;
  padding:9px 10px; border-radius:12px;
}
.navlinks a:hover{background:rgba(92,154,95,.10); color:var(--ink)}
.actions{display:flex; gap:10px; align-items:center}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--border);
  background:var(--surface);
  padding:10px 13px;
  border-radius:13px;
  text-decoration:none;
  font-weight:800;
  font-size:13px;
  cursor:pointer;
  box-shadow:var(--shadow-soft);
}
.btn.primary{
  background:linear-gradient(135deg, var(--green), var(--green-2));
  border-color:transparent;
  color:#fff;
  box-shadow: 0 14px 28px rgba(62,127,71,.22);
}
.btn.primary:hover{filter:brightness(.99)}
.btn.ghost{background:var(--surface); box-shadow:none}
.btn.ghost:hover{background:rgba(15,23,42,.04)}
.lang{
  border:1px solid var(--border);
  padding:9px 11px;
  border-radius:13px;
  background:var(--surface);
  font-weight:900;
  font-size:12px;
  cursor:pointer;
  box-shadow:var(--shadow-soft);
}

/* Hero */
.hero{
  background:
    radial-gradient(900px 420px at 12% 10%, rgba(92,154,95,.22), transparent 60%),
    radial-gradient(760px 360px at 92% 18%, rgba(15,23,42,.12), transparent 58%),
    radial-gradient(640px 340px at 70% 100%, rgba(92,154,95,.14), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0));
  border-bottom:1px solid var(--border);
}
.hero-inner{padding:62px 0 44px; display:grid; grid-template-columns:1.25fr .75fr; gap:16px; align-items:stretch}

/* Surfaces */
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.card.soft{box-shadow:var(--shadow-soft)}
.hero-card{padding:24px}
.kicker{color:var(--green-2); font-weight:950; letter-spacing:.9px; font-size:12px; text-transform:uppercase}
h1{margin:10px 0 12px; font-size:42px; line-height:1.1; color:var(--ink)}
.sub{margin:0 0 18px; color:var(--muted); font-size:15.5px; max-width:70ch}
.badges{display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 0}
.badge{
  background:rgba(15,23,42,.04);
  border:1px solid rgba(15,23,42,.10);
  padding:8px 10px;
  border-radius:999px;
  font-weight:850;
  font-size:12px;
  color:#2c3440;
}
.hero-cta{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.aside{padding:18px}
.aside h3{margin:0 0 8px; color:var(--ink)}
.aside p{margin:0 0 10px; color:var(--muted)}
.section{padding:54px 0}
.section h2{margin:0 0 12px; font-size:30px; color:var(--ink)}
.section p.lead{margin:0 0 18px; color:var(--muted); max-width:78ch}

/* Grids */
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.grid2{display:grid; grid-template-columns:repeat(2,1fr); gap:14px}

/* Tiles */
.tile{padding:18px}
.tile h4{margin:0 0 8px; color:var(--ink)}
.tile p{margin:0; color:var(--muted)}
.icon{
  width:42px; height:42px; border-radius:14px;
  display:grid; place-items:center;
  background:rgba(92,154,95,.14);
  border:1px solid rgba(92,154,95,.28);
  margin-bottom:10px;
  font-weight:950; color:var(--green-2);
}

/* Steps */
.step{padding:18px}
.step h4{margin:0 0 8px; color:var(--ink)}
.step p{margin:0; color:var(--muted)}
.step .num{
  width:36px; height:36px; border-radius:12px;
  display:grid; place-items:center;
  background:rgba(15,23,42,.05);
  border:1px solid rgba(15,23,42,.10);
  font-weight:950; color:var(--ink);
  margin-bottom:10px;
}

/* Layout helpers */
.split{display:grid; grid-template-columns:1fr 1fr; gap:14px; align-items:stretch;}
.quote{
  padding:18px;
  background:linear-gradient(180deg, rgba(92,154,95,.16), rgba(255,255,255,.0));
  border:1px solid rgba(92,154,95,.25);
}
.pill{
  display:inline-flex; gap:8px; align-items:center;
  padding:9px 11px;
  border-radius:999px;
  background:rgba(92,154,95,.10);
  border:1px solid rgba(92,154,95,.22);
  font-weight:850;
  color:var(--green-2);
}
.stats{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.stat{
  flex:1; min-width:170px;
  padding:14px;
  border-radius:var(--radius-sm);
  border:1px solid var(--border);
  background:rgba(255,255,255,.7);
}
.stat strong{display:block; font-size:18px; color:var(--ink)}
.stat span{color:var(--muted); font-size:12px; font-weight:750}

/* CTA band */
.cta-band{
  padding:22px;
  border-radius:var(--radius);
  background:linear-gradient(135deg, rgba(92,154,95,.20), rgba(15,23,42,.06));
  border:1px solid rgba(92,154,95,.25);
  display:flex; gap:14px; align-items:center; justify-content:space-between; flex-wrap:wrap;
}
.cta-band h3{margin:0; color:var(--ink)}
.cta-band p{margin:0; color:var(--muted); max-width:70ch}
.cta-band .cta-actions{display:flex; gap:10px; flex-wrap:wrap}

/* Forms */
form{display:grid; gap:10px}
.row2{display:grid; grid-template-columns:1fr 1fr; gap:10px}
input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:13px;
  border:1px solid var(--border);
  background:var(--surface);
  font:inherit;
}
textarea{resize:vertical}
.small{font-size:12px; color:var(--muted)}
.notice{font-size:12px; color:var(--muted); margin-top:8px}
hr.sep{border:0; border-top:1px solid var(--border); margin:14px 0}

/* Footer */
.footer{
  margin-top:24px;
  border-top:1px solid var(--border);
  background:linear-gradient(180deg, rgba(15,23,42,.92), rgba(15,23,42,.98));
  padding:26px 0;
  color:rgba(255,255,255,.78);
}
.footer strong{color:#fff}
.footer .small{color:rgba(255,255,255,.68)}
.footer a{color:rgba(255,255,255,.86); text-decoration:none}
.footer a:hover{text-decoration:underline}
.footer-grid{display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; align-items:center}

@media (max-width: 920px){
  .hero-inner{grid-template-columns:1fr}
  h1{font-size:36px}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .brand{min-width:auto}
}
