/* تيتاي — ستايل الصفحة */
:root{
  --bg:#0b0b0d;
  --bg-alt:#101014;
  --surface:#151519;
  --surface-2:#1b1b21;
  --line:#26262e;
  --text:#f2f2f5;
  --muted:#a3a3ad;
  --accent:#8b5cf6;
  --accent-2:#a78bfa;
  --accent-soft:rgba(139,92,246,.14);
  --radius:18px;
  --wrap:1080px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
section[id],.doc{scroll-margin-top:80px}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Noto Sans Arabic","Segoe UI",Tahoma,system-ui,-apple-system,sans-serif;
  line-height:1.85;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--accent-2);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{line-height:1.35;margin:0 0 .6em;font-weight:800;letter-spacing:-.2px}
h1{font-size:clamp(28px,4.6vw,46px)}
h2{font-size:clamp(23px,3vw,32px)}
h3{font-size:19px;margin-bottom:.35em}
p{margin:0 0 1em}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 20px}
.wrap.narrow{max-width:760px}
.latin{font-family:"Segoe UI",Arial,sans-serif;font-weight:700;letter-spacing:1px;opacity:.55;font-size:.62em;vertical-align:middle}

/* الهيدر */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(11,11,13,.86);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex;align-items:center;gap:18px;height:66px}
.brand{display:flex;align-items:center;gap:10px;color:var(--text);font-weight:800;font-size:19px}
.brand:hover{text-decoration:none}
.brand img{border-radius:11px}
.nav{display:flex;gap:20px;margin-inline-start:auto;font-size:15px}
.nav a{color:var(--muted)}
.nav a:hover{color:var(--text);text-decoration:none}

/* الأزرار */
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:13px 24px;border-radius:14px;font-weight:700;font-size:16px;
  border:1px solid transparent;transition:.18s ease;
}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn--primary{background:linear-gradient(180deg,#9d6bff,#7c3aed);color:#fff;box-shadow:0 10px 28px -12px rgba(139,92,246,.9)}
.btn--ghost{border-color:var(--line);color:var(--text);background:var(--surface)}
.btn--ghost:hover{border-color:#3a3a46}
.btn--small{padding:9px 18px;font-size:14px;background:var(--accent-soft);color:var(--accent-2);border:1px solid rgba(139,92,246,.35)}
.btn--wide{width:100%;margin:8px 0 10px}

/* الهيرو */
.hero{
  padding:64px 0 56px;
  background:
    radial-gradient(900px 420px at 78% -10%,rgba(139,92,246,.20),transparent 62%),
    radial-gradient(700px 400px at 12% 10%,rgba(139,92,246,.07),transparent 60%);
  border-bottom:1px solid var(--line);
}
.hero-inner{display:grid;grid-template-columns:1.25fr .75fr;gap:40px;align-items:center}
.eyebrow{margin:0 0 12px;color:var(--accent-2);font-size:14px;font-weight:700;letter-spacing:.3px}
.hero h1{margin-bottom:16px}
.lead{font-size:18px;color:#d2d2da;max-width:34em}
.cta{display:flex;gap:12px;flex-wrap:wrap;margin:22px 0 20px}
.facts{list-style:none;display:flex;flex-wrap:wrap;gap:8px 10px;padding:0;margin:0;font-size:13.5px;color:var(--muted)}
.facts li{background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:5px 13px}
.facts b{color:var(--text);font-weight:700}

/* الموبايل */
.phone{
  margin:0;background:#000;border:9px solid #1d1d23;border-radius:34px;
  box-shadow:0 34px 70px -30px rgba(0,0,0,.95),0 0 0 1px rgba(255,255,255,.04) inset;
  overflow:hidden;
}
.phone__screen{aspect-ratio:9/19.4;overflow:hidden;background:#000;display:flex;align-items:center;justify-content:center}
.phone__screen img{width:100%;height:100%;object-fit:cover}
.phone--hero{width:270px;margin-inline-start:auto;transform:rotate(-2deg)}
.phone__screen--empty{
  background:
    repeating-linear-gradient(45deg,rgba(255,255,255,.028) 0 10px,transparent 10px 20px),
    #0e0e12;
  outline:1px dashed #35353f;outline-offset:-14px;
  color:var(--muted);text-align:center;font-size:14px;line-height:1.7;
}
.phone__screen--empty small{color:#6d6d78;font-size:12px}
.shot{margin:0}
.shot figcaption{text-align:center;color:var(--muted);font-size:14px;margin-top:12px}

/* الأقسام */
.section{padding:64px 0;border-bottom:1px solid var(--line)}
.section--alt{background:var(--bg-alt)}
.sub{color:var(--muted);margin-top:-.4em;margin-bottom:2em}
.big{font-size:18.5px;color:#dcdce3}

/* الشبكة */
.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:26px}
.card{
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px 20px;
}
.card svg{width:26px;height:26px;stroke:var(--accent-2);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;margin-bottom:14px}
.card p{margin:0;color:var(--muted);font-size:15.5px;line-height:1.75}
.hidden-defs{display:none}
.extras{margin-top:22px;color:var(--muted);font-size:15px;background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px 20px}
.extras b{color:var(--text)}

/* اللقطات */
.gallery{display:flex;justify-content:center;gap:26px;margin-top:32px;max-width:820px}
.gallery .phone{border-width:8px;border-radius:30px}
.gallery .shot{display:flex;flex-direction:column;width:232px}

/* صاحب التطبيق */
.maker{display:grid;grid-template-columns:.62fr 1fr;gap:44px;align-items:center}
.maker-photo img{
  border-radius:22px;border:1px solid var(--line);
  box-shadow:0 30px 60px -34px rgba(0,0,0,.9);
  max-width:340px;
}
.maker-copy h2{margin-bottom:.5em}
.contact-line{color:var(--muted);font-size:15px;margin-bottom:0}

/* التثبيت */
.btn--wide{max-width:420px}
.note{color:var(--muted);font-size:14px}
.note--warn{background:var(--accent-soft);border:1px solid rgba(139,92,246,.3);border-radius:12px;padding:12px 16px;color:#d9d3ee;margin-top:26px}
.steps{list-style:none;counter-reset:s;padding:0;margin:34px 0 0;display:grid;gap:14px}
.steps li{
  counter-increment:s;position:relative;padding:18px 62px 18px 20px;
  background:var(--surface);border:1px solid var(--line);border-radius:14px;
}
.steps li::before{
  content:counter(s);position:absolute;inset-inline-start:16px;top:18px;
  width:30px;height:30px;border-radius:9px;background:var(--accent-soft);
  color:var(--accent-2);font-weight:800;display:flex;align-items:center;justify-content:center;font-size:15px;
}
.steps li{padding-inline-start:62px;padding-inline-end:20px}
.steps b{display:block;margin-bottom:2px}
.steps span{color:var(--muted);font-size:15.5px}

/* الأسئلة */
details{
  background:var(--surface);border:1px solid var(--line);border-radius:14px;
  padding:4px 20px;margin-bottom:12px;
}
details[open]{border-color:#35353f}
summary{cursor:pointer;font-weight:700;padding:14px 0;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px}
summary::-webkit-details-marker{display:none}
summary::after{content:"+";color:var(--accent-2);font-weight:700;font-size:20px;line-height:1}
details[open] summary::after{content:"–"}
details p{color:var(--muted);font-size:15.5px;margin:0 0 16px}

/* الفوتر */
.site-footer{border-top:1px solid var(--line);padding:36px 0 44px;background:#09090b}
.footer-inner{display:flex;flex-wrap:wrap;align-items:center;gap:18px 28px}
.footer-brand{display:flex;align-items:center;gap:10px;font-weight:700}
.footer-brand img{border-radius:9px}
.site-footer nav{display:flex;gap:20px;font-size:15px;margin-inline-start:auto}
.copy{width:100%;color:#6f6f7a;font-size:13.5px;margin:6px 0 0}

/* الخصوصية */
.doc{padding:52px 0 70px}
.doc h2{margin-top:44px;font-size:24px}
.doc h2:first-of-type{margin-top:0}
.doc ul{color:var(--muted);padding-inline-start:22px}
.doc li{margin-bottom:8px}
.doc .updated{color:var(--muted);font-size:14px;margin-bottom:34px}
.back{display:inline-block;margin-bottom:26px;color:var(--muted);font-size:15px}

/* الموبايل */
@media (max-width:860px){
  .hero-inner{grid-template-columns:1fr;gap:34px}
  .hero-art{order:-1;display:flex;justify-content:center}
  .phone--hero{width:210px;margin:0;transform:none}
  .nav{display:none}
  .grid{grid-template-columns:1fr 1fr}
  .gallery{gap:14px}
  .maker{grid-template-columns:1fr;gap:26px}
  .maker-photo img{max-width:280px;margin:0 auto}
  .section{padding:48px 0}
}
@media (max-width:520px){
  body{font-size:16px}
  .grid{grid-template-columns:1fr}
  .hero{padding:40px 0}
  .cta .btn,.btn--wide{width:100%}
  .btn--small{width:auto}
  .header-inner{gap:12px}
}
