:root{
  --brand:#0b4db3;
  --brand2:#0a3d8f;
  --accent:#f7c948;
  --text:#0f172a;
  --muted:#475569;
  --bg:#ffffff;
  --soft:#f5f7fb;
  --line:#e6eaf2;
  --radius:16px;
  --shadow: 0 14px 40px rgba(2,6,23,.08);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:var(--bg);
}

a{color:inherit;text-decoration:none}
.container{width:min(1120px,92%);margin:0 auto}

.topbar{
  background:var(--brand);
  color:#fff;
  font-size:14px;
}
.topbar .container{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  flex-wrap:wrap;
}
.topbar a{color:#fff;opacity:.95}
.topbar a:hover{opacity:1}

header{
  position:sticky;
  top:0;
  background:#fff;
  border-bottom:1px solid var(--line);
  z-index:50;
}
.navwrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 220px;
}
.logo{
  width:44px;height:44px;
  object-fit:contain;
}
.brand b{font-size:18px;letter-spacing:.3px}
.brand small{display:block;color:var(--muted);margin-top:2px}

nav{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

nav a{
  color:var(--muted);
  font-weight:800;
  font-size:14px;
}
nav a:hover{color:var(--brand)}
nav a.active{color:var(--brand)}
.btn{
  background:var(--brand);
  color:#fff;
  padding:10px 14px;
  border-radius:999px;
  font-weight:900;
  border:1px solid rgba(0,0,0,.05);
  box-shadow: var(--shadow);
}
.btn:hover{background:var(--brand2)}
.btn-outline{
  background:#fff;
  color:var(--brand);
  padding:10px 14px;
  border-radius:999px;
  font-weight:900;
  border:2px solid var(--brand);
}
.btn-outline:hover{background:rgba(11,77,179,.06)}
.langbtn{
  border:1px solid var(--line);
  background:#fff;
  padding:9px 12px;
  border-radius:999px;
  font-weight:900;
  color:var(--brand);
  cursor:pointer;
}
.langbtn:hover{background:rgba(2,6,23,.03)}

.hero{
  background: linear-gradient(180deg, var(--soft), #fff);
  border-bottom:1px solid var(--line);
}
.hero .container{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  padding:48px 0;
  align-items:center;
}
h1{
  font-size:42px;
  line-height:1.05;
  margin:0 0 10px;
}
.lead{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.75;
  font-size:16px;
}

.badge{
  display:inline-block;
  background: rgba(247,201,72,.28);
  border:1px solid rgba(247,201,72,.6);
  color:#7a5200;
  font-weight:900;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  margin-bottom:10px;
}

.section{padding:46px 0}
.section.alt{
  background:var(--soft);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section h2{margin:0 0 10px;font-size:28px}
.section p{margin:0;color:var(--muted);line-height:1.7}

.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow: 0 1px 0 rgba(2,6,23,.02);
}
.card h3{margin:0 0 8px}
.card .small{margin:0;color:var(--muted);line-height:1.65;font-size:14px}

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

.icon-card{display:flex;gap:14px;align-items:flex-start}
.icon{
  width:44px;height:44px;flex:0 0 44px;
  border-radius:14px;
  background:rgba(11,77,179,.08);
  border:1px solid rgba(11,77,179,.18);
  display:flex;
  align-items:center;
  justify-content:center;
}
.icon svg{width:22px;height:22px;fill:var(--brand)}

.list{margin:10px 0 0;padding-left:18px;color:var(--muted);line-height:1.9}
.kpi{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:12px}
.kpi .card{padding:14px}
.kpi b{font-size:18px}

.pills{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.pill{
  background:#fff;
  border:1px solid var(--line);
  padding:8px 10px;
  border-radius:999px;
  font-weight:800;
  color:var(--muted);
  font-size:13px;
}

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
}
.table th,.table td{
  padding:12px 12px;
  border-bottom:1px solid var(--line);
  vertical-align:top;
  text-align:left;
}
.table th{
  background:rgba(2,6,23,.03);
  color:var(--text);
  font-weight:900;
}
.table tr:last-child td{border-bottom:0}

footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  color:var(--muted);
}
.footerrow{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

/* Language blocks */
[data-lang]{display:none}
html[lang="en"] [data-lang="en"]{display:block}
html[lang="ar"] [data-lang="ar"]{display:block}
html[dir="rtl"] body{direction:rtl}
html[dir="rtl"] .topbar .container{flex-direction:row-reverse}
html[dir="rtl"] .brand{flex-direction:row-reverse}
html[dir="rtl"] nav{justify-content:flex-start}
html[dir="rtl"] .icon-card{flex-direction:row-reverse}
html[dir="rtl"] .list{padding-right:18px;padding-left:0}
html[dir="rtl"] .table th, html[dir="rtl"] .table td{text-align:right}

@media(max-width:980px){
  .hero .container{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .kpi{grid-template-columns:1fr}
  h1{font-size:34px}
}
