@font-face { font-family: "Plex Arabic"; src: url(../fonts/IBMPlexSansArabic-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url(../fonts/IBMPlexSansArabic-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url(../fonts/IBMPlexSansArabic-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Plex Arabic"; src: url(../fonts/IBMPlexSansArabic-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #060608; --s1: #0d0d12; --s2: #14141b; --s3: #1c1c25;
  --line: #24242e; --line-2: #33333f;
  --ink: #f4f3f8; --ink-2: #a9a8b6; --ink-3: #6f6e7c;
  --orange: #ff6a00; --orange-2: #ff8a2b; --pink: #e2368f; --violet: #a63bff; --violet-2: #c06bff;
  --grad: linear-gradient(110deg, var(--orange), var(--pink) 50%, var(--violet));
  --ok: #3ddc97;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body { font: 16px/1.6 "Plex Arabic", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
svg { display: block; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
[hidden] { display: none !important; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; border: 0; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s, opacity .2s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 17px; width: 100%; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 14px 40px -14px rgba(226, 54, 143, .7); }
.btn-grad:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 18px 46px -12px rgba(226, 54, 143, .85); }
.btn-line { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { background: rgba(255,255,255,.08); }
.btn:disabled { cursor: default; opacity: .55; }
.btn-ok { background: rgba(61, 220, 151, .12); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(61,220,151,.35); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); background: rgba(6, 6, 8, .66); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: .16em; font-size: 14px; }
.logo { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; }
.nav-links a { color: var(--ink-2); text-decoration: none; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--ink); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.lang { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.05); color: var(--ink); font: inherit; font-weight: 600; cursor: pointer; box-shadow: inset 0 0 0 1px var(--line-2); }
#acct.in { gap: 8px; padding: 0 14px 0 5px; }
#acct .ini { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 13px; text-transform: uppercase; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 96px; }
.hero::before { content: ""; position: absolute; inset: -120px 0 auto; height: 720px; pointer-events: none;
  background: radial-gradient(50% 60% at 78% 30%, rgba(166,59,255,.22), transparent 70%), radial-gradient(40% 50% at 10% 10%, rgba(255,106,0,.14), transparent 70%); }
.hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(61,220,151,.15); }
h1 { font-size: clamp(40px, 5.6vw, 66px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 18px; font-weight: 700; }
.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 32px; max-width: 520px; }

.dl-card { position: relative; padding: 8px; border-radius: 26px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 30px 80px -30px rgba(0,0,0,.8); }
.os-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 0 0 8px; }
.os-tab { display: flex; align-items: center; justify-content: center; gap: 9px; height: 46px; border: 0; border-radius: 18px; background: transparent; color: var(--ink-2); font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; transition: background .2s, color .2s; }
.os-tab svg { width: 19px; height: 19px; }
.os-tab em { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(166,59,255,.18); color: var(--violet-2); }
.os-tab[aria-selected="true"] { background: var(--s3); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.os-pane { padding: 18px 18px 14px; border-radius: 20px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); }
.dl-sub { margin: 12px 2px 0; font-size: 14px; color: var(--ink-2); text-align: center; min-height: 1.4em; }
.dl-sub a { color: var(--orange-2); }
.dl-sub button.link { border: 0; background: none; padding: 0; font: inherit; color: var(--orange-2); cursor: pointer; text-decoration: underline; }
.dl-meta { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dl-meta li { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dl-meta b { font-size: 11.5px; font-weight: 500; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
.dl-meta span { font-size: 14px; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.win-title { margin: 4px 0 0; font-size: 19px; font-weight: 600; text-align: center; }
.notify { display: flex; gap: 8px; margin-top: 16px; }
.notify input, #auth-form input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--s2); color: var(--ink); font: inherit; box-shadow: inset 0 0 0 1px var(--line-2); outline: none; }
.notify input:focus, #auth-form input:focus { box-shadow: inset 0 0 0 1.5px var(--violet); }

.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--ink-2); font-size: 13.5px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--violet-2); }

.hero-shot { position: relative; margin: 0; }
.win-frame { position: relative; z-index: 1; border-radius: 16px; overflow: hidden; background: #1a1a20; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 50px 120px -30px rgba(0,0,0,.9), 0 30px 80px -40px rgba(166,59,255,.5); transform: perspective(1600px) rotateY(-7deg) rotateX(2deg); transform-origin: 30% 50%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.hero-shot:hover .win-frame { transform: perspective(1600px) rotateY(-2deg) rotateX(0); }
.win-bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; background: #24242b; border-bottom: 1px solid rgba(0,0,0,.4); }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; } .win-bar i:nth-child(3) { background: #28c840; }
.win-bar span { margin-inline-start: 10px; font-size: 12px; color: #9a99a6; }
.win-frame img { display: block; width: 100%; height: auto; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0; }
.g1 { width: 60%; height: 60%; right: -8%; top: -6%; background: var(--violet); }
.g2 { width: 45%; height: 45%; left: -6%; bottom: -10%; background: var(--orange); opacity: .35; }

/* ---------- sections ---------- */
.sec { padding: 88px 0; border-top: 1px solid rgba(255,255,255,.05); }
.sec-head { text-align: center; margin-bottom: 44px; }
.eyebrow-s { margin: 0 0 10px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 600; }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -.025em; margin: 0; }
.h3 { font-size: 24px; margin-bottom: 6px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 28px 26px 30px; border-radius: 22px; background: linear-gradient(180deg, var(--s2), var(--s1)); box-shadow: inset 0 0 0 1px var(--line); }
.step .num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--grad); font-weight: 700; margin-bottom: 18px; box-shadow: 0 10px 26px -10px rgba(226,54,143,.7); }
.step h3 { margin: 0 0 8px; font-size: 18.5px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
.step b { color: var(--ink); font-weight: 600; }
.menu-mock { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 12px; border-radius: 10px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 13px; color: var(--ink-2); direction: ltr; }
.menu-mock svg { width: 7px; height: 11px; color: var(--ink-3); }
.menu-mock b { color: #fff; padding: 2px 8px; border-radius: 6px; background: rgba(166,59,255,.35); font-weight: 600; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel-card { padding: 32px; border-radius: 24px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line); }
.req { margin: 22px 0 0; }
.req div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.req dt { color: var(--ink-3); font-size: 14px; }
.req dd { margin: 0; font-size: 15px; }
.muted { color: var(--ink-3); margin: 0 0 14px; font-size: 14px; }
.notes { list-style: none; margin: 0; padding: 0; }
.notes li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.notes li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: var(--grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 4px; font-size: 16.5px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-3); font-weight: 400; font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -4px 4px 20px; color: var(--ink-2); }
.faq code { font-size: 13px; padding: 1px 6px; border-radius: 6px; background: var(--s2); direction: ltr; unicode-bidi: embed; }
.contact { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 36px; padding: 22px 26px; border-radius: 20px; background: linear-gradient(110deg, rgba(255,106,0,.1), rgba(166,59,255,.12)); box-shadow: inset 0 0 0 1px var(--line-2); }
.contact div { display: flex; flex-direction: column; }
.contact span { color: var(--ink-2); font-size: 14px; }

.foot { border-top: 1px solid rgba(255,255,255,.06); padding: 30px 0 44px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px 28px; flex-wrap: wrap; }
.foot p { margin: 0; color: var(--ink-3); font-size: 13px; flex: 1; min-width: 240px; }
.foot nav { display: flex; gap: 18px; font-size: 14px; }
.foot nav a { color: var(--ink-2); text-decoration: none; }

/* ---------- sign-in modal ---------- */
.auth { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(0,0,0,.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.auth-box { position: relative; width: 100%; max-width: 400px; padding: 34px 30px 26px; border-radius: 26px; background: var(--s1); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 100px -20px rgba(0,0,0,.9); text-align: center; }
.auth-x { position: absolute; top: 14px; inset-inline-end: 14px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--s2); color: var(--ink-2); font-size: 20px; cursor: pointer; }
.auth-logo { width: 44px; height: 44px; margin: 0 auto 14px; }
.auth-box h3 { margin: 0 0 6px; font-size: 22px; }
.auth-note { margin: 0 0 22px; color: var(--ink-2); font-size: 14.5px; }
.btn-google { width: 100%; background: #fff; color: #1f1f1f; }
.btn-google svg { width: 20px; height: 20px; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--ink-3); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#auth-form { display: flex; flex-direction: column; gap: 10px; }
.auth-msg { margin: 14px 0 0; font-size: 14px; min-height: 1.3em; color: var(--ink-2); }
.auth-msg.ok { color: var(--ok); } .auth-msg.err { color: #ff7a7a; }

/* ---------- RTL ---------- */
[dir="rtl"] .win-frame { transform: perspective(1600px) rotateY(7deg) rotateX(2deg); transform-origin: 70% 50%; }
[dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: 0; line-height: 1.25; }
[dir="rtl"] .eyebrow-s { letter-spacing: 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero { padding: 48px 0 72px; }
  .hero-in { grid-template-columns: 1fr; gap: 48px; }
  .win-frame, [dir="rtl"] .win-frame { transform: none; }
  .steps, .two { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .dl-meta { grid-template-columns: 1fr 1fr; row-gap: 14px; }
  .notify { flex-direction: column; }
  .req div { grid-template-columns: 1fr; gap: 4px; }
  .contact { flex-direction: column; align-items: stretch; text-align: center; }
  .panel-card { padding: 24px 20px; }
  .sec { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.steps-5 { grid-template-columns: repeat(5, 1fr); }
.steps-5 .step { padding: 22px 18px 24px; }
.steps-5 .step h3 { font-size: 16.5px; }
.steps-5 .step p { font-size: 14px; }
.steps-5 .menu-mock { flex-wrap: wrap; }
@media (max-width: 1100px) { .steps-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) { .steps-5 { grid-template-columns: 1fr; } }
