/* Brief — صفحة الهبوط. ليلية، ودافئة: ذهبي سطر الترجمة هو اللون الوحيد اللافت. */
@font-face { font-family: "Readex Pro"; font-weight: 400; font-display: swap; src: url(/static/fonts/readex-pro-arabic-400-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Readex Pro"; font-weight: 500; font-display: swap; src: url(/static/fonts/readex-pro-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Readex Pro"; font-weight: 600; font-display: swap; src: url(/static/fonts/readex-pro-arabic-600-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F; }
@font-face { font-family: "Readex Pro"; font-weight: 400; font-display: swap; src: url(/static/fonts/readex-pro-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Readex Pro"; font-weight: 600; font-display: swap; src: url(/static/fonts/readex-pro-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Reem Kufi"; font-weight: 500; font-display: swap; src: url(/static/fonts/reem-kufi-arabic-500-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Reem Kufi"; font-weight: 700; font-display: swap; src: url(/static/fonts/reem-kufi-arabic-700-normal.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Reem Kufi"; font-weight: 700; font-display: swap; src: url(/static/fonts/reem-kufi-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF; }

:root {
  --night: #0E1024;      /* الخلفية: ليل نيلي عميق */
  --dusk: #171A36;       /* الأسطح */
  --dusk-2: #1F2347;     /* الأسطح المرفوعة */
  --line: #2C3060;       /* الحدود */
  --moon: #EDEBFF;       /* النص */
  --mist: #A3A5CC;       /* النص الثانوي */
  --gold: #F5B94A;       /* لون سطر الترجمة — اللون اللافت الوحيد */
  --gold-ink: #241A05;   /* نص فوق الذهبي */
  --teal: #5ED3C3;       /* حالات «متصل/يعمل» فقط */
  --display: "Reem Kufi", "Readex Pro", system-ui, sans-serif;
  --body: "Readex Pro", "Noto Sans Arabic", system-ui, sans-serif;
  --r-s: 10px; --r-m: 16px; --r-l: 28px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--moon); font-family: var(--body); font-size: 17px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; }
p { margin: 0 0 1em; max-width: 62ch; }

/* ---------------------------------------------------------------- الترويسة */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--night) 82%, transparent);
  backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 24px; font-weight: 700; }
.mark { width: 36px; height: 36px; border-radius: 10px; background: var(--gold); color: var(--gold-ink); display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1; padding-bottom: 3px; }
.nav { display: flex; gap: 22px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--mist); font-size: 15px; }
.nav a:hover { color: var(--moon); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--body); font-weight: 600; font-size: 16px;
  border-radius: 999px; padding: 12px 24px; text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: background .15s, border-color .15s; }
.btn.gold { background: var(--gold); color: var(--gold-ink); }
.btn.gold:hover { background: #FFC965; }
.btn.ghost { border-color: var(--line); color: var(--moon); background: transparent; }
.btn.ghost:hover { border-color: var(--mist); }
.top .btn { padding: 9px 18px; font-size: 15px; }

/* ---------------------------------------------------------------- البطل */
.hero { padding: 64px 0 40px; overflow: hidden; }
.hero .stage { margin-inline-start: 40px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.hero h1 { font-family: var(--display); font-weight: 700; font-size: clamp(44px, 6.2vw, 84px); line-height: 1.12; margin: 0 0 22px; letter-spacing: -.5px; }
.hero h1 .l2 { display: block; color: var(--gold); }
.hero .lead { font-size: 19px; color: #CFD0EE; max-width: 34ch; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.platforms { display: flex; flex-wrap: wrap; gap: 8px; color: var(--mist); font-size: 14px; }
.platforms span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }

/* التلفاز */
.stage { position: relative; }
.tv { position: relative; border-radius: 22px; padding: 12px; background: linear-gradient(180deg, #23264B, #15172F);
  box-shadow: 0 0 0 1px #2E3266, 0 40px 80px -30px rgba(5, 6, 20, .9), 0 0 120px -40px rgba(245, 185, 74, .35); }
.screen { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #120F2A; }
.screen svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.tv-stand { width: 34%; height: 14px; margin: 0 auto; border-radius: 0 0 10px 10px; background: linear-gradient(180deg, #1B1E3D, #101226); }
.sub { position: absolute; inset-inline: 7%; bottom: 7.5%; display: flex; justify-content: center; }
.sub .line { position: relative; padding: .35em .9em .45em; border-radius: 8px; font-weight: 600; font-size: clamp(13px, 1.7vw, 21px);
  line-height: 1.5; text-align: center; color: #fff; text-shadow: 0 1px 2px #000, 0 0 6px #000; overflow: hidden; }
.sub .en { direction: ltr; font-family: var(--body); letter-spacing: .2px; }
.sub .en::after { content: ""; display: inline-block; width: 2px; height: 1em; background: #fff; margin-inline-start: 2px; vertical-align: -2px;
  animation: blink .8s steps(1) infinite; }
.sub .en.done::after { display: none; }
.sub .ar { background: rgba(8, 8, 20, .9); font-size: clamp(14px, 1.9vw, 23px); }
.sub .ar .sp, .sub .en .sp { color: var(--gold); }
.scan { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--gold); box-shadow: 0 0 14px 4px rgba(245, 185, 74, .6); right: -6px; }
.sub .line.scanning .scan { animation: scan .42s ease-in forwards; }
@keyframes scan { to { right: calc(100% + 6px); } }
@keyframes blink { 50% { opacity: 0; } }
.tag { position: absolute; top: 4.5%; inset-inline-end: 3.5%; font-size: 12px; color: #fff; background: rgba(8, 8, 20, .7); border-radius: 999px;
  padding: 3px 10px; display: flex; align-items: center; gap: 6px; opacity: 0; transition: opacity .3s; }
.tag.on { opacity: 1; }
.tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 8px var(--teal); }

.chip { font-family: var(--body); font-size: 15px; border-radius: 999px; padding: 7px 16px; cursor: pointer;
  background: transparent; color: var(--moon); border: 1.5px solid var(--line); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); font-weight: 600; }
.chip:hover:not([aria-pressed="true"]) { border-color: var(--mist); }

/* الجوال الصغير بجانب التلفاز */
.phone { position: absolute; inset-inline-start: -46px; bottom: -34px; width: 17%; min-width: 112px; aspect-ratio: 9 / 18.5; border-radius: 22px;
  background: #0A0B1C; box-shadow: 0 0 0 2px #2E3266, 0 24px 50px -10px rgba(0, 0, 0, .8); padding: 10px 9px; display: flex; flex-direction: column; gap: 8px;
  font-size: 10px; color: var(--mist); }
.phone .bar { display: flex; align-items: center; gap: 6px; color: var(--moon); font-weight: 600; font-size: 11px; }
.phone .bar .mark { width: 18px; height: 18px; font-size: 11px; border-radius: 5px; padding-bottom: 2px; }
.phone .live { display: flex; align-items: center; gap: 5px; color: var(--teal); }
.phone .live i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.phone .cur { margin-top: auto; background: #15173A; border-radius: 10px; padding: 8px; color: var(--moon); font-size: 10.5px; line-height: 1.6; min-height: 52px; }
.phone .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.phone .btns span { background: #15173A; border-radius: 8px; padding: 5px 0; text-align: center; font-size: 9.5px; }

/* ---------------------------------------------------------------- الأقسام */
section { padding: 96px 0; }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 50px); line-height: 1.25; margin: 0 0 14px; }
.sec-lead { color: var(--mist); font-size: 18px; margin-bottom: 48px; }

/* كيف يعمل: تسلسل حقيقي من 3 خطوات */
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; counter-reset: step; }
.flow::before { content: ""; position: absolute; top: 34px; inset-inline: 16%; height: 2px;
  background: repeating-linear-gradient(to left, var(--gold) 0 10px, transparent 10px 18px); opacity: .55; }
.flow li { list-style: none; position: relative; text-align: center; padding: 0 22px; }
.flow .ico { width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; background: var(--dusk-2); border: 1.5px solid var(--line);
  display: grid; place-items: center; position: relative; }
.flow .ico svg { width: 32px; height: 32px; stroke: var(--moon); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.flow .ico::after { counter-increment: step; content: counter(step, arabic-indic); position: absolute; top: -6px; inset-inline-end: -6px; width: 24px; height: 24px;
  border-radius: 50%; background: var(--gold); color: var(--gold-ink); font-size: 14px; font-weight: 600; display: grid; place-items: center; line-height: 1; }
.flow h3 { font-size: 21px; margin: 0 0 8px; font-weight: 600; }
.flow p { color: var(--mist); margin-inline: auto; font-size: 16px; max-width: 30ch; }
.flow ul { padding: 0; margin: 0; }

/* المميزات */
.features { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.spotlight { position: sticky; top: 100px; background: linear-gradient(160deg, var(--dusk-2), var(--dusk)); border-radius: var(--r-l); padding: 34px;
  border: 1px solid var(--line); }
.spotlight h3 { font-family: var(--display); font-size: 30px; margin: 0 0 10px; }
.spotlight .samples { margin-top: 22px; display: grid; gap: 10px; }
.spotlight .samples div { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 12px 16px; border-radius: var(--r-s);
  background: rgba(8, 8, 20, .45); }
.spotlight .samples b { font-size: 18px; } .spotlight .samples span { color: var(--mist); font-size: 13px; flex: none; }
.flist { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; margin: 0; padding: 0; }
.flist li { list-style: none; border-top: 1px solid var(--line); padding-top: 18px; }
.flist h3 { font-size: 18px; font-weight: 600; margin: 0 0 6px; display: flex; gap: 10px; align-items: center; }
.flist h3 svg { width: 22px; height: 22px; flex: none; stroke: var(--gold); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.flist p { color: var(--mist); font-size: 15.5px; margin: 0; }

/* دليل الإعداد */
.guide { background: var(--dusk); border-block: 1px solid var(--line); }
.picker { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px 40px; margin-bottom: 44px; }
.picker fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.picker legend { color: var(--mist); font-size: 14px; margin-bottom: 10px; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { font-family: var(--body); font-size: 15px; padding: 10px 18px; border-radius: var(--r-s); cursor: pointer;
  background: var(--night); color: var(--moon); border: 1.5px solid var(--line); display: flex; align-items: center; gap: 8px; }
.seg button[aria-pressed="true"] { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.seg button[disabled] { opacity: .45; cursor: not-allowed; }
.seg small { color: var(--mist); font-size: 12px; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.part { background: var(--night); border: 1px solid var(--line); border-radius: var(--r-m); padding: 24px 26px 18px; }
.part h3 { margin: 0 0 14px; font-size: 19px; display: flex; align-items: center; gap: 10px; }
.part h3 .where { font-size: 13px; color: var(--gold); border: 1px solid color-mix(in srgb, var(--gold) 45%, transparent); border-radius: 999px; padding: 1px 10px; font-weight: 500; }
.part ol { margin: 0; padding-inline-start: 1.3em; display: grid; gap: 10px; }
.part li { padding-inline-start: 4px; } .part li::marker { color: var(--gold); font-weight: 600; }
.part .path { color: var(--mist); font-size: 14.5px; display: block; }
.note { margin-top: 22px; display: flex; gap: 12px; padding: 14px 18px; border-radius: var(--r-s); background: rgba(245, 185, 74, .08);
  border: 1px solid rgba(245, 185, 74, .3); color: #F3DDB0; font-size: 15px; }
.note.bad { background: rgba(248, 113, 113, .08); border-color: rgba(248, 113, 113, .35); color: #F6C2C2; }
.share { margin-top: 18px; color: var(--mist); font-size: 14px; }
.share button { background: none; border: 0; color: var(--gold); font-family: inherit; font-size: inherit; cursor: pointer; text-decoration: underline; padding: 0; }

/* الأسعار */
.plans { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 20px; align-items: center; }
.plan { background: var(--dusk); border: 1px solid var(--line); border-radius: var(--r-l); padding: 30px; display: flex; flex-direction: column; gap: 6px; }
.plan.pick { background: linear-gradient(170deg, #2A2552, var(--dusk-2) 60%); border-color: color-mix(in srgb, var(--gold) 55%, var(--line)); padding: 38px 32px; }
.plan .name { font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.plan .badge { font-size: 12.5px; font-weight: 600; color: var(--gold-ink); background: var(--gold); border-radius: 999px; padding: 2px 10px; }
.plan .price { font-family: var(--display); font-size: 56px; font-weight: 700; line-height: 1.2; margin-top: 8px; }
.plan .price small { font-family: var(--body); font-size: 17px; font-weight: 400; color: var(--mist); margin-inline-start: 6px; }
.plan .old { color: var(--mist); text-decoration: line-through; font-size: 18px; margin-inline-start: 10px; font-family: var(--body); }
.plan .per { color: var(--mist); font-size: 14.5px; margin-bottom: 18px; }
.plan .btn { width: 100%; margin-top: auto; }
.after { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 22px; margin-top: 28px; }
.redeem, .trial { border-radius: var(--r-m); padding: 22px 24px; border: 1px dashed var(--line); }
.redeem h3, .trial h3 { margin: 0 0 6px; font-size: 18px; }
.redeem p, .trial p { color: var(--mist); font-size: 15px; margin-bottom: 14px; }
.redeem form { display: flex; gap: 10px; }
.redeem input { flex: 1; min-width: 0; font-family: var(--body); font-size: 17px; letter-spacing: 1.5px; direction: ltr; text-align: center; padding: 11px 14px;
  border-radius: 999px; border: 1.5px solid var(--line); background: var(--night); color: var(--moon); }
.redeem input::placeholder { color: #6E709A; letter-spacing: 1px; }
.fine { color: var(--mist); font-size: 14px; margin-top: 18px; }

/* الأسئلة */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 24px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--mist); margin: -4px 0 20px; }

/* الختام */
.final { text-align: center; padding: 110px 0 120px; }
.final .h2 { font-size: clamp(36px, 5vw, 62px); }
.final p { margin: 0 auto 30px; color: var(--mist); }
footer { border-top: 1px solid var(--line); padding: 30px 0 40px; color: var(--mist); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer .brand { font-size: 18px; color: var(--moon); } footer .brand .mark { width: 28px; height: 28px; font-size: 17px; }
footer nav { display: flex; gap: 22px; margin-inline-start: auto; }
footer a { text-decoration: none; } footer a:hover { color: var(--moon); }

/* ---------------------------------------------------------------- الجوال */
@media (max-width: 960px) {
  .nav { display: none; }
  .top .btn { margin-inline-start: auto; }
  .hero { padding-top: 34px; }
  .hero .wrap, .features { grid-template-columns: 1fr; gap: 36px; }
  .hero .lead { max-width: none; }
  .phone { display: none; }
  .hero .stage { margin-inline-start: 0; }
  .spotlight { position: static; }
  .flist { grid-template-columns: 1fr; gap: 24px; }
  .flow { grid-template-columns: 1fr; gap: 34px; }
  .flow::before { display: none; }
  .picker { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .plans, .after { grid-template-columns: 1fr; }
  .plan.pick { order: -1; }
  section { padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sub .en::after { animation: none; }
  .sub .line.scanning .scan { animation: none; display: none; }
}
.dl { display: inline-block; margin-inline-start: 8px; padding: 1px 10px; border-radius: 8px; background: rgba(245, 184, 61, .14);
  color: #f5b83d; text-decoration: none; font-size: .92em; white-space: nowrap; }
.dl:hover, .dl:focus-visible { background: rgba(245, 184, 61, .26); }
.code-big { font-size: 1.25em; letter-spacing: 3px; color: #f5b83d; direction: ltr; unicode-bidi: isolate; }
