:root{
  --bg:#0b0c10;
  --panel:#0f1117;
  --panel2:#0c0d12;
  --border:#1b1f2a;
  --text:#e7e9ee;
  --muted:#a7adbb;

  /* Purple accent قريب جداً من اللي بالصورة */
  --primary:#7c3aed;
  --primary2:#6d28d9;

  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --radius:16px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans Arabic", "Helvetica Neue", Arial;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(124,58,237,.22), transparent 55%),
              radial-gradient(900px 500px at 90% 10%, rgba(124,58,237,.14), transparent 50%),
              linear-gradient(180deg, var(--bg), #07070a 70%);
  color:var(--text);
  direction: rtl;
}

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

.topbar{
  position:sticky; top:0; z-index:30;
  background: rgba(10,11,16,.72);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--border);
}

.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex; align-items:center; gap:10px;
  font-weight:800; letter-spacing:.3px;
}
.logo{
  width:36px; height:36px; border-radius:10px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(124,58,237,.9), rgba(109,40,217,.85));
  box-shadow: 0 10px 30px rgba(124,58,237,.25);
}
.brand small{display:block; color:var(--muted); font-weight:600; letter-spacing:0}

.navlinks{
  display:flex; gap:12px; align-items:center; flex-wrap:wrap;
  color:var(--muted); font-weight:600;
}
.navlinks a{
  padding:8px 10px;
  border-radius:10px;
  border:1px solid transparent;
}
.navlinks a:hover{
  border-color:var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
}

.actions{display:flex; gap:10px; align-items:center}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  font-weight:800;
  cursor:pointer;
  transition:.2s ease;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.05)}
.btn-primary{
  border-color: rgba(124,58,237,.45);
  background: linear-gradient(135deg, rgba(124,58,237,.92), rgba(109,40,217,.88));
  box-shadow: 0 16px 48px rgba(124,58,237,.22);
}
.btn-primary:hover{filter:brightness(1.06)}
.btn-ghost{background:transparent}

.hero{
  padding:54px 0 26px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 900px){
  .hero-grid{grid-template-columns:1fr}
  .actions{display:none}
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-main{
  padding:26px;
  position:relative;
  overflow:hidden;
}
.badge{
  display:inline-flex; gap:8px; align-items:center;
  color: var(--muted);
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  padding:8px 12px;
  border-radius:999px;
  font-weight:700;
  margin-bottom:14px;
}
.h1{
  font-size: 38px;
  line-height:1.1;
  margin: 0 0 10px;
  letter-spacing:-.3px;
}
.p{
  margin:0;
  color: var(--muted);
  line-height:1.9;
  font-weight:600;
}

.hero-cta{
  display:flex; flex-wrap:wrap;
  gap:10px; margin-top:18px;
}

.hero-side{
  padding:18px;
}
.mock{
  border-radius: 14px;
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(15,17,23,.85), rgba(12,13,18,.85));
  padding:14px;
  min-height: 250px;
}
.mock .row{
  display:flex; justify-content:space-between; align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.05);
  margin-bottom:10px;
}
.dot{
  width:10px; height:10px; border-radius:50%;
  background: rgba(124,58,237,.9);
  box-shadow: 0 0 0 4px rgba(124,58,237,.15);
}
.kpi{font-weight:900}
.kpi small{display:block; color:var(--muted); font-weight:700}

.section{padding: 22px 0}
.section h2{
  margin:0 0 10px;
  font-size: 22px;
  letter-spacing:-.2px;
}
.grid3{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 900px){
  .grid3{grid-template-columns:1fr}
}
.feature{
  padding:16px;
}
.feature h3{margin:8px 0 6px; font-size:16px}
.feature p{margin:0; color:var(--muted); line-height:1.9; font-weight:600}
.icon{
  width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center;
  border:1px solid rgba(124,58,237,.4);
  background: rgba(124,58,237,.12);
}

.hr{
  height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent);
  margin: 14px 0;
}

.note{
  padding:16px;
}
.note ul{margin:10px 0 0; padding:0 18px; color:var(--muted); line-height:1.9; font-weight:600}
.note strong{color:var(--text)}
code.inline{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  padding:2px 7px;
  border-radius: 8px;
  font-weight:800;
  color: #eae7ff;
}

.faq{
  padding:16px;
}
.faq details{
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  border-radius: 12px;
  padding:12px 12px;
  margin-bottom:10px;
}
.faq summary{cursor:pointer; font-weight:900}
.faq p{margin:10px 0 0; color:var(--muted); line-height:1.9; font-weight:600}

.footer{
  padding: 24px 0 30px;
  color: var(--muted);
}
.footer-grid{
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
  border-top:1px solid var(--border);
  padding-top:18px;
}
.footer a{color:var(--muted)}
.footer a:hover{color:var(--text)}
.small{font-size:13px}
