:root{
  --orange: #f05a28;
  --orange-2:#ff7a3d;
  --ink:#121212;
  --muted:#6b7280;
  --card:#ffffff;
  --line: rgba(0,0,0,.08);
}

*{ box-sizing: border-box; }
body{
  font-family: system-ui, -apple-system, "Segoe UI", Tahoma, Arial;
  color: var(--ink);
  background: #f7f7fb;
  min-height: 100vh;
}

/* خلفية لطيفة بدون كآبة */
.bg{
  position: fixed;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 70% 10%, rgba(240,90,40,.18), transparent 60%),
    radial-gradient(900px 500px at 15% 30%, rgba(255,122,61,.14), transparent 55%),
    linear-gradient(180deg, #ffffff, #f7f7fb 40%, #f7f7fb);
  z-index: -1;
}

.topbar{
  max-width: 1100px;
  margin: 18px auto;
  padding: 12px 16px;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
}
.logo{
  width: 38px; height: 38px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(240,90,40,.25);
}
.name{ letter-spacing: .3px; }

.navlinks{
  display:flex;
  gap: 10px;
  margin-inline-start: auto;
  margin-inline-end: auto;
}
.link{
  text-decoration:none;
  color: #222;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  transition: .2s;
}
.link:hover{
  background: rgba(240,90,40,.08);
}
.link.active{
  background: rgba(240,90,40,.12);
  color: #111;
}

.authbox{
  display:flex;
  align-items:center;
  gap:10px;
}
.chip{
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: #222;
  font-size: 14px;
}

.container{
  max-width: 1100px;
  margin: 18px auto 40px;
  padding: 0 16px;
}

.hero{
  display:grid;
  grid-template-columns: 1.6fr .9fr;
  gap: 16px;
  align-items: stretch;
}

.hero-card, .side-card, .card{
  background: rgba(255,255,255,.86);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(0,0,0,.06);
}

.hero-card{
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.hero-card::before{
  content:"";
  position:absolute;
  inset: -120px -120px auto auto;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle at 30% 30%, rgba(240,90,40,.30), transparent 60%);
  transform: rotate(18deg);
}

.hero-badge{
  display:inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(240,90,40,.12);
  color: #a73b15;
  font-weight: 700;
  border: 1px solid rgba(240,90,40,.18);
}

.hero-title{
  margin: 14px 0 8px;
  font-size: 34px;
  line-height: 1.25;
}
.accent{
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  -webkit-background-clip: text;
  background-clip:text;
  color: transparent;
}

.hero-sub{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 46ch;
}

.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.btn{
  border: none;
  cursor: pointer;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
  transition: .2s;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
}

.btn.primary{
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: #fff;
  box-shadow: 0 12px 26px rgba(240,90,40,.28);
}
.btn.primary:hover{ transform: translateY(-1px); }

.btn.soft{
  background: rgba(240,90,40,.10);
  color: #a73b15;
  border: 1px solid rgba(240,90,40,.18);
}
.btn.soft:hover{ background: rgba(240,90,40,.14); }

.btn.ghost{
  background: #fff;
  border: 1px solid var(--line);
  color: #222;
}
.btn.ghost:hover{ background: rgba(0,0,0,.03); }

.stats{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.stat{
  min-width: 110px;
  padding: 12px;
  border: 1px dashed rgba(240,90,40,.25);
  background: rgba(255,255,255,.6);
  border-radius: 16px;
}
.stat-num{
  font-size: 18px;
  font-weight: 900;
}
.stat-label{
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.side-card{
  padding: 22px;
}
.side-card h3{
  margin: 0 0 8px;
}
.side-card p{
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.8;
}
.mini{
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill{
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(240,90,40,.10);
  border: 1px solid rgba(240,90,40,.18);
  color: #a73b15;
  font-weight: 700;
  font-size: 13px;
}

.how{
  margin-top: 18px;
}
.how h2{
  margin: 18px 0 10px;
  font-size: 22px;
}
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.card{
  padding: 18px;
}
.icon{
  width: 42px; height: 42px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(240,90,40,.12);
  border: 1px solid rgba(240,90,40,.18);
  margin-bottom: 10px;
  font-size: 18px;
}
.card h3{ margin: 0 0 6px; }
.card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer{
  max-width: 1100px;
  margin: 0 auto 22px;
  padding: 0 16px;
  color: var(--muted);
  text-align: center;
}

/* ريسبونسف */
@media (max-width: 920px){
  .hero{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .navlinks{ margin-inline-start: 0; }
}