:root{
  --brand:#0078D4;
  --brand-2:#106EBE;
  --bg:#F3F6FB;
  --surface:#FFFFFF;
  --text:#1A1A1A;
  --muted:#5E5E5E;
  --border:#E1E5EA;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --shadow-soft:0 6px 18px rgba(0,0,0,.06);
  --radius:16px;
  --radius-sm:12px;
  --max:1120px;
  --font:"Segoe UI", "SegoeUI", Tahoma, Arial, sans-serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:linear-gradient(180deg, #FFFFFF 0%, var(--bg) 40%, #FFFFFF 100%);
}

a{color:var(--brand); text-decoration:none}
a:hover{color:var(--brand-2); text-decoration:underline}
img{max-width:100%; height:auto; display:block}

.container{max-width:var(--max); margin:0 auto; padding:0 18px}

.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter:saturate(180%) blur(10px);
  background:rgba(255,255,255,.82);
  border-bottom:1px solid var(--border);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 0;

  position:relative;
  padding-left:140px;
}
.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:700; letter-spacing:.2px;
}
.brand img{width:44px; height:44px; border-radius:10px; box-shadow:var(--shadow-soft)}
.brand .name{font-size:18px}
.nav{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
}
.nav a{
  padding:8px 10px; border-radius:10px;
  color:var(--text);
}
.nav a.active{
  background:rgba(0,120,212,.10);
  color:var(--brand-2);
}
.lang-toggle{
  display:flex; align-items:center; gap:8px;

  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
}
.lang-btn{
  border:1px solid var(--border);
  background:var(--surface);
  padding:8px 10px;
  border-radius:12px;
  cursor:pointer;
  font-weight:600;
}
.lang-btn[aria-pressed="true"]{
  border-color:rgba(0,120,212,.35);
  background:rgba(0,120,212,.10);
  color:var(--brand-2);
}

.hero{
  margin:18px 0 10px;
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  background:var(--surface);
  border:1px solid var(--border);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:0;
}
.hero-left{
  padding:36px 28px;
}
.badge{
  display:inline-flex; gap:8px; align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(0,120,212,.10);
  color:var(--brand-2);
  font-weight:700;
  font-size:12px;
  letter-spacing:.4px;
}
.h1{
  margin:14px 0 10px;
  font-size:40px;
  line-height:1.08;
  letter-spacing:-.6px;
}
.lead{
  margin:0 0 18px;
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
}
.cta{
  display:flex; gap:10px; flex-wrap:wrap; align-items:center;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background:var(--surface);
  font-weight:700;
  cursor:pointer;
}
.btn.primary{
  background:var(--brand);
  color:#fff;
  border-color:rgba(0,120,212,.65);
}
.btn.primary:hover{background:var(--brand-2); text-decoration:none}
.btn.ghost:hover{background:rgba(0,0,0,.03); text-decoration:none}

.hero-right{
  position:relative;
  min-height:280px;
}
.hero-right .overlay{
  position:absolute; inset:0;
  background:linear-gradient(90deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.60) 35%, rgba(255,255,255,.20) 100%);
}
.hero-right img{
  width:100%; height:100%;
  object-fit:cover;
  transform:scale(1.02);
}

.section{padding:22px 0}
.section h2{
  font-size:22px; margin:0 0 10px;
  letter-spacing:-.2px;
}
.sub{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.7;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow-soft);
}
.card h3{margin:0 0 8px; font-size:16px}
.card p{margin:0; color:var(--muted); line-height:1.7}
.kpi{
  display:flex; gap:14px; flex-wrap:wrap;
}
.kpi .pill{
  background:rgba(0,0,0,.03);
  border:1px solid var(--border);
  padding:10px 12px;
  border-radius:14px;
  min-width:150px;
}
.kpi .pill .num{font-size:18px; font-weight:800}
.kpi .pill .lbl{color:var(--muted); font-size:12px; margin-top:2px}

.media-card{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap:14px;
  align-items:stretch;
}
.media-card img{
  border-radius:14px;
  border:1px solid var(--border);
  height:100%;
  object-fit:cover;
  min-height:220px;
}
.media-card .content{padding:4px 2px}
.meta{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top:10px;
  color:var(--muted);
  font-size:12px;
}
.tag{
  border:1px solid var(--border);
  border-radius:999px;
  padding:5px 10px;
  background:rgba(255,255,255,.7);
}

.article-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.article{
  overflow:hidden;
  border-radius:var(--radius);
  border:1px solid var(--border);
  background:var(--surface);
  box-shadow:var(--shadow-soft);
  display:flex;
  flex-direction:column;
}
.article img{height:150px; object-fit:cover}
.article .body{padding:14px}
.article .body h3{margin:0 0 8px; font-size:16px}
.article .body p{margin:0; color:var(--muted); line-height:1.65}
.article .body .read{margin-top:10px; font-weight:700; display:inline-block}

.footer{
  margin-top:18px;
  background:#0B1B2B;
  color:#D8E6F7;
}
.footer .container{padding:18px}
.footer a{color:#D8E6F7; text-decoration:underline}
.footer .cols{
  display:grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap:12px;
}
.small{font-size:12px; color:rgba(216,230,247,.85); line-height:1.6}
hr.sep{
  border:0; border-top:1px solid rgba(255,255,255,.14);
  margin:14px 0;
}

.notice{
  background:rgba(255,193,7,.12);
  border:1px solid rgba(255,193,7,.30);
  padding:10px 12px;
  border-radius:14px;
  color:#6A4B00;
}

.rtl{
  direction:rtl;
}
.rtl .nav{direction:rtl}
.rtl .hero-grid{grid-template-columns: .9fr 1.1fr}
.rtl .hero-right .overlay{background:linear-gradient(270deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.60) 35%, rgba(255,255,255,.20) 100%);}

@media (max-width: 980px){
  .topbar-inner{padding-left:0;}
  .hero-grid{grid-template-columns:1fr}
  .rtl .hero-grid{grid-template-columns:1fr}
  .grid-3, .article-grid{grid-template-columns:1fr}
  .media-card{grid-template-columns:1fr}
  .h1{font-size:32px}
}
