:root{
  --bg:#0b1020;
  --panel:#0f1730;
  --panel2:#0c1328;
  --text:#eaf0ff;
  --muted:#b7c3e6;
  --primary:#0b5fff;
  --primary2:#2f85ff;
  --border:rgba(255,255,255,.12);
  --shadow:0 18px 50px rgba(0,0,0,.35);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Tajawal",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(47,133,255,.35), transparent 55%),
    radial-gradient(900px 500px at 90% 10%, rgba(11,95,255,.25), transparent 60%),
    linear-gradient(180deg, #070b18, var(--bg));
}
a{color:inherit;text-decoration:none}

.container{
  width:min(1120px, calc(100% - 32px));
  margin-inline:auto;
}

/* Motion: احترام إعدادات تقليل الحركة */
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  *{animation:none !important;transition:none !important}
}

/* Reveal animations */
.reveal{
  opacity:0;
  transform:translateY(14px);
  filter:blur(2px);
  transition:opacity .6s ease, transform .6s ease, filter .6s ease;
  will-change:opacity, transform, filter;
}
.reveal.is-in{
  opacity:1;
  transform:none;
  filter:none;
}

/* Nav */
.nav{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter:saturate(160%) blur(10px);
  background:rgba(7,11,24,.55);
  border-bottom:1px solid var(--border);
}
.nav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
}
.brand__logo{width:34px;height:34px;object-fit:contain;border-radius:10px;background:#fff}
.brand__name{font-weight:800;letter-spacing:.2px}
.nav__links{
  display:flex;
  gap:14px;
  color:var(--muted);
}
.nav__links a{
  padding:8px 10px;
  border-radius:12px;
}
.nav__links a:hover{background:rgba(255,255,255,.06);color:var(--text)}
.nav__links a.active{
  color:var(--text);
  background:rgba(11,95,255,.14);
  border:1px solid rgba(11,95,255,.35);
}
.nav__cta{display:none}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--border);
  font-weight:700;
  gap:10px;
  transition:.18s ease;
  position:relative;
  overflow:hidden;
}
.btn--primary{
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  border-color:transparent;
  box-shadow:0 10px 25px rgba(11,95,255,.35);
}
.btn--primary:hover{transform:translateY(-1px);filter:saturate(1.05)}
.btn--primary::after{
  content:"";
  position:absolute;
  inset:-2px;
  background:linear-gradient(120deg, transparent 0%, rgba(255,255,255,.25) 18%, transparent 36%);
  transform:translateX(140%);
  transition:transform .6s ease;
}
.btn--primary:hover::after{transform:translateX(-40%)}
.btn--ghost{
  background:rgba(255,255,255,.06);
}
.btn--ghost:hover{background:rgba(255,255,255,.1)}

/* Hero */
.hero{
  padding:54px 0 22px;
}
.hero__content .badge,
.hero__content .hero__title,
.hero__content .hero__subtitle,
.hero__content .hero__actions,
.hero__content .hero__meta{
  animation:fadeUp .7s ease both;
}
.hero__content .badge{animation-delay:.02s}
.hero__content .hero__title{animation-delay:.08s}
.hero__content .hero__subtitle{animation-delay:.14s}
.hero__content .hero__actions{animation-delay:.20s}
.hero__content .hero__meta{animation-delay:.26s}
.hero__grid{
  display:grid;
  grid-template-columns: 1.12fr .88fr;
  gap:28px;
  align-items:center;
}
.badge{
  display:inline-flex;
  padding:8px 12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  border-radius:999px;
  color:var(--muted);
  font-weight:700;
  margin:0 0 14px;
}
.hero__title{
  font-size:48px;
  line-height:1.1;
  margin:0 0 10px;
  letter-spacing:.2px;
}
.hero__subtitle{
  margin:0 0 18px;
  color:var(--muted);
  font-size:18px;
  line-height:1.7;
}
.hero__actions{display:flex;gap:12px;flex-wrap:wrap}
.hero__meta{
  margin-top:18px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.meta{
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
  border-radius:16px;
  padding:12px 12px 10px;
}
.meta__k{color:var(--muted);font-weight:700;font-size:12px}
.meta__v{font-weight:800;margin-top:6px}

/* Phone mock */
.hero__visual{position:relative;min-height:420px}
.glow{
  position:absolute;inset:auto 0 0 0;
  height:260px;
  background:radial-gradient(closest-side, rgba(11,95,255,.45), transparent);
  filter:blur(20px);
  opacity:.65;
  pointer-events:none;
  animation:glowPulse 6s ease-in-out infinite;
}
.phone{
  width:min(360px, 92%);
  margin-inline:auto;
  border-radius:34px;
  padding:16px;
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.04));
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  animation:float 5.5s ease-in-out infinite;
}
.phone__screen{
  border-radius:26px;
  padding:16px;
  background:linear-gradient(180deg, rgba(11,95,255,.12), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
  min-height:390px;
}
.mapcard{
  background:rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  padding:14px;
}
.mapcard__top{display:flex;align-items:center;gap:8px;color:var(--muted);font-weight:700;font-size:12px}
.spacer{flex:1}
.pill{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  font-weight:800;
  font-size:12px;
}
.pill--soft{font-weight:700}
.mapcard__title{margin-top:10px;font-weight:900}
.mapcard__desc{margin-top:6px;color:var(--muted)}
.mapcard__row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.dot{width:8px;height:8px;border-radius:999px;display:inline-block}
.dot--green{background:#38d18b}
.notif{
  margin-top:12px;
  display:flex;
  gap:12px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
}
.notif__icon{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:rgba(11,95,255,.18)}
.notif__title{font-weight:900}
.notif__body{color:var(--muted);margin-top:4px;font-weight:700;font-size:13px}

/* Sections */
.section{padding:56px 0}
.section--alt{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}
.section__head{margin-bottom:18px}
.section__head h2{margin:0 0 8px;font-size:32px}
.section__head p{margin:0;color:var(--muted);font-size:16px;line-height:1.8}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}
.card{
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 10px 30px rgba(0,0,0,.15);
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.card:hover{
  transform:translateY(-4px);
  background:rgba(255,255,255,.07);
  border-color:rgba(11,95,255,.35);
}
.card h3{margin:0 0 8px;font-size:18px}
.card p{margin:0;color:var(--muted);line-height:1.7}

.pricing{
  display:grid;
  gap:16px;
}
.pricing__toggle{
  display:flex;
  gap:10px;
  align-items:center;
}
.toggle-btn{
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  color:var(--muted);
  font-weight:900;
  padding:8px 14px;
  border-radius:999px;
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease, color .18s ease;
}
.toggle-btn:hover{background:rgba(255,255,255,.1);color:var(--text)}
.toggle-btn.is-active{
  color:var(--text);
  border-color:rgba(11,95,255,.45);
  background:rgba(11,95,255,.18);
}
.pricing__grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
}
.pricing__card{
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:0 12px 32px rgba(0,0,0,.2);
  display:flex;
  flex-direction:column;
  gap:12px;
}
.pricing__badge{
  align-self:flex-start;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(11,95,255,.2);
  border:1px solid rgba(11,95,255,.35);
  font-weight:900;
  font-size:12px;
}
.pricing__badge--soft{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.18);
}
.pricing__price{
  font-size:28px;
  font-weight:900;
}
.pricing__note{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}
.pricing__features{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:8px;
  color:var(--muted);
  font-weight:700;
}
.pricing__features li{
  display:flex;
  align-items:flex-start;
  gap:8px;
}
.pricing__features li::before{
  content:"•";
  color:#7fb0ff;
}
.pricing__cta{margin-top:auto}
.pricing__fineprint{
  color:var(--muted);
  font-weight:700;
}

.checkout{
  display:grid;
  gap:18px;
}
.checkout__panel{
  border:1px solid var(--border);
  background:rgba(255,255,255,.04);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:0 18px 40px rgba(0,0,0,.25);
}
.checkout__panel--center{
  text-align:center;
  display:grid;
  gap:12px;
  justify-items:center;
}
.form{
  display:grid;
  gap:14px;
}
.form__row{
  display:grid;
  gap:8px;
}
.form__label{
  font-weight:800;
  color:var(--muted);
}
.form__group{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.input{
  width:100%;
  padding:12px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(0,0,0,.2);
  color:var(--text);
  font-weight:700;
}
.input::placeholder{color:rgba(183,195,230,.7)}
.summary{
  border:1px dashed rgba(255,255,255,.2);
  border-radius:16px;
  padding:14px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.summary__label{color:var(--muted);font-weight:800;font-size:12px}
.summary__value{font-weight:900}
.payment{
  display:grid;
  gap:12px;
}
.payment__element{
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px;
  background:rgba(0,0,0,.18);
}
.payment__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.notice{
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px 14px;
  font-weight:700;
}
.notice--muted{
  color:var(--muted);
  background:rgba(255,255,255,.04);
}
.notice--error{
  color:#ffd6d6;
  background:rgba(255,71,71,.12);
  border-color:rgba(255,71,71,.35);
}
.is-hidden{display:none}

.steps{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:12px;
}
.step{
  display:flex;
  gap:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
  border-radius:var(--radius);
  padding:16px;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.step:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.06);
  border-color:rgba(11,95,255,.28);
}
.step__n{
  width:40px;height:40px;border-radius:14px;
  display:grid;place-items:center;
  font-weight:900;
  background:rgba(11,95,255,.18);
  border:1px solid rgba(11,95,255,.35);
}
.step h3{margin:0 0 4px}
.step p{margin:0;color:var(--muted);line-height:1.7}

/* Download */
.download{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:14px;
  align-items:stretch;
}
.download__buttons{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}
.store{
  display:flex;
  flex-direction:column;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  min-width:210px;
}
.store:hover{background:rgba(255,255,255,.10)}
.store--disabled{opacity:.55;cursor:not-allowed}
.store__small{color:var(--muted);font-weight:800;font-size:12px}
.store__big{font-weight:900;font-size:18px;margin-top:4px}
.download__note{
  border:1px solid rgba(11,95,255,.35);
  background:rgba(11,95,255,.10);
  border-radius:var(--radius);
  padding:18px;
}
.download__note h3{margin:0 0 8px}
.download__note p{margin:0 0 10px;color:var(--muted);line-height:1.8}
.link{color:#a9c7ff;font-weight:900}
.link:hover{text-decoration:underline}

/* Contact */
.contact{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.contact__card{
  display:flex;
  gap:12px;
  align-items:center;
  border:1px solid var(--border);
  background:rgba(255,255,255,.05);
  border-radius:var(--radius);
  padding:16px;
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
}
.contact__card:hover{
  background:rgba(255,255,255,.08);
  transform:translateY(-2px);
  border-color:rgba(11,95,255,.25);
}
.contact__icon{
  width:44px;height:44px;border-radius:16px;
  display:grid;place-items:center;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.12);
}
.contact__title{font-weight:900}
.contact__value{color:var(--muted);margin-top:3px;font-weight:800;font-size:13px;direction:ltr;text-align:left}

/* Footer */
.footer{
  border-top:1px solid var(--border);
  padding:18px 0 26px;
  background:rgba(0,0,0,.22);
}
.footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.footer__brand{display:flex;gap:12px;align-items:center}
.footer__logo{width:42px;height:42px;border-radius:14px;background:#fff}
.footer__name{font-weight:900}
.footer__copy{color:var(--muted);margin-top:2px}
.footer__links{display:flex;gap:14px;flex-wrap:wrap;color:var(--muted);font-weight:800}
.footer__links a:hover{color:var(--text);text-decoration:underline}

/* Responsive */
@media (max-width: 960px){
  .hero__grid{grid-template-columns:1fr;gap:18px}
  .hero__title{font-size:40px}
  .grid{grid-template-columns:1fr 1fr}
  .pricing__grid{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  .download{grid-template-columns:1fr}
  .nav__links{display:none}
  .nav__cta{display:inline-flex}
}
@media (max-width: 520px){
  .hero__title{font-size:34px}
  .hero__meta{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
}

@keyframes fadeUp{
  from{opacity:0;transform:translateY(12px);filter:blur(2px)}
  to{opacity:1;transform:none;filter:none}
}
@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}
@keyframes glowPulse{
  0%,100%{opacity:.55;transform:scale(1)}
  50%{opacity:.78;transform:scale(1.05)}
}
