/* JoeX public site — premium dark: deep navy surfaces, one electric-blue accent, crisp hairlines, bold type.
   Gold and silver appear only as market accents. Every class the pages, scripts and tests rely on is kept. */
:root {
  --bg: #05070d;
  --bg-2: #0a0f1a;
  --card: #0c1322;
  --green: #0a6cff;
  --green-hi: #5aa8ff;
  --gold: #2f7bff;
  --gold-hi: #9cc8ff;
  --gold-deep: #0747b8;
  --metal-gold: #e8bd5a;
  --metal-silver: #cfd6df;
  --text: #f3f6fb;
  --text-2: #98a3b8;
  --line: rgba(160, 185, 230, 0.12);
  --line-strong: rgba(var(--accent-hi-rgb, 90, 150, 255), 0.38);
  --gold-grad: linear-gradient(135deg, #5aa8ff 0%, #2f7bff 45%, #0a55e0 100%);
  /* older names still used by the ticker stylesheet and shared pieces */
  --void: #05070d;
  --obsidian: #0a0f1a;
  --obsidian-lift: #0c1322;
  --border: rgba(160, 185, 230, 0.12);
  --volt: #2f7bff;
  --volt-hot: #5aa8ff;
  --rim: #9cc8ff;
  --text-dim: #98a3b8;
  --gain: #16c784;
  --loss: #ea3943;
  --amber: #e8bd5a;
  --radius: 14px;
  --font-ar: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-lat: 'Inter', system-ui, sans-serif;
  /* خطُّ العناوينِ الكبيرة: لكلِّ لغةٍ حرفُها. ويُسنَد إليه ما كان 28px
     فأكبرَ وحدَه — فالخطُّ المنحوتُ يُقرأ في العنوانِ ويُتعِب في السطر. */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-display-ar: 'Amiri', 'IBM Plex Sans Arabic', serif;
  color-scheme: dark;
  /* مكوّنات أرقامًا للظلال والتوهّجات. ورقة الثيم تعيد تعريفها لكل بوت،
     وهذه قيم الافتراضيّ حتى تصل. */
  --accent-rgb: 47, 123, 255;
  --accent-hi-rgb: 90, 168, 255;
  --bg-rgb: 5, 7, 13;
  --card-rgb: 12, 19, 34;
  --text-rgb: 243, 246, 251;
  /* الحالة: الربح أخضر والخسارة حمراء في كل ثيم — معناها ليس جماليًّا.
     وهي متغيّرات لا أرقامًا مكرّرة، فتُضبط مرّةً إن لزم. */
  --gain-rgb: 18, 183, 106;
  --loss-rgb: 229, 72, 77;
  --gain-soft: #9fe9c4;
  --loss-soft: #ffc2c6;
  --gain-deep: #04170d;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html[lang='ar'] body { font-family: var(--font-ar); line-height: 1.9; }
html[lang='en'] body { font-family: var(--font-lat); line-height: 1.7; }
@media (min-width: 900px) { body { font-size: 16px; } }

/* Ambient background on every page: a gold glow, an emerald glow and a faint grid that fades out downwards. */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 88% -8%, rgba(var(--accent-rgb), 0.16), transparent 62%),
    radial-gradient(760px 560px at -6% 100%, rgba(var(--accent-rgb), 0.26), transparent 62%),
    linear-gradient(rgba(var(--accent-rgb), 0.05) 1px, transparent 1px) 0 0 / 100% 72px,
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.05) 1px, transparent 1px) 0 0 / 72px 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 55%, rgba(0, 0, 0, 0.35) 100%);
  mask-image: linear-gradient(to bottom, #000 0, #000 55%, rgba(0, 0, 0, 0.35) 100%);
}
body > * { position: relative; z-index: 1; }

h1, h2, h3 { line-height: 1.25; margin: 0; font-weight: 700; }
html[lang='en'] :is(h1, h2, .hero-title, .section-title, .pay-title, .offer-title, .status-head h1, .trial-head h1) { font-family: var(--font-display); font-weight: 600; letter-spacing: 0; }
a { color: var(--green-hi); text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.num, input { font-variant-numeric: tabular-nums; }
.num { font-family: var(--font-lat); }
.muted { color: var(--text-2); }
.small { font-size: 13px; font-weight: 400; }
.center { text-align: center; }
.gain { color: var(--green-hi); }
.strike { text-decoration: line-through; color: var(--text-2); }

.container { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 16px; }
@media (min-width: 700px) { .container { padding-inline: 24px; } }
.container.narrow { max-width: 760px; }

/* ---- Top bar ---- */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(to bottom, rgba(var(--bg-rgb), 0.94), rgba(var(--bg-rgb), 0.78));
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 200ms, box-shadow 200ms;
}
.topnav-inner { max-width: 1120px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }
/* لوجو مرفوع بأيّ مقاس: الطولُ ثابت والعرضُ على قدّه، بحدٍّ لا يزحم زرار اللغة. */
.topnav-logo img { display: block; height: 44px; width: auto; max-width: min(60vw, 280px); object-fit: contain; }
.lang-toggle {
  min-width: 48px; min-height: 36px; display: inline-grid; place-items: center; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 6px; color: var(--gold-hi);
  font: 600 13px var(--font-lat); letter-spacing: 0.1em; text-transform: uppercase;
  transition: background-color 150ms, border-color 150ms;
}
html[lang='en'] .lang-toggle { font-family: var(--font-ar); text-transform: none; letter-spacing: 0; font-size: 14px; }
.lang-toggle:hover { background: rgba(var(--accent-rgb), 0.1); border-color: var(--gold); }

/* ---- Cards: matte green, one gold hairline, no glass ---- */
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: inset 0 1px 0 rgba(var(--accent-rgb), 0.06), 0 24px 48px -36px rgba(0, 0, 0, 0.9);
  transition: border-color 200ms;
}
@media (min-width: 900px) { .card { padding: 32px; } }
.card-title { font-size: 19px; font-weight: 700; margin-block-end: 18px; }
@media (min-width: 900px) { .card-title { font-size: 21px; } }
.rule { border: 0; border-top: 1px solid var(--line); margin: 20px 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 8px;
  border: 1px solid transparent; background: none; color: var(--text);
  font-weight: 600; font-size: 14px; font-family: inherit; cursor: pointer; line-height: 1.2;
  transition: background-color 150ms, border-color 150ms, color 150ms, transform 150ms, box-shadow 150ms, filter 150ms;
}
@media (min-width: 900px) { .btn { font-size: 15px; } }
.btn-primary {
  position: relative; min-height: 52px; background: var(--gold-grad); color: #ffffff; font-weight: 700;
  box-shadow: 0 12px 30px -14px rgba(var(--accent-rgb), 0.8), inset 0 1px 0 rgba(var(--text-rgb), 0.35);
}
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 16px 36px -14px rgba(var(--accent-rgb), 0.95), inset 0 1px 0 rgba(var(--text-rgb), 0.4); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; box-shadow: none; transform: none; filter: none; }
.btn-secondary { border-color: var(--line-strong); color: var(--gold-hi); background: rgba(var(--accent-rgb), 0.04); }
.btn-secondary:hover { background: rgba(var(--accent-rgb), 0.12); border-color: var(--gold); }
.btn-ghost { color: var(--green-hi); padding-inline: 4px; position: relative; }
.btn-ghost::after {
  content: ''; position: absolute; inset-inline-start: 4px; bottom: 10px; height: 1px; width: 0;
  background: currentColor; transition: width 200ms;
}
.btn-ghost:hover::after { width: calc(100% - 8px); }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-glow { box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.35), 0 18px 44px -14px rgba(var(--accent-rgb), 0.9); }

.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; border: 1px solid transparent; }
.pill-pending { background: rgba(var(--accent-rgb), 0.1); color: var(--gold-hi); border-color: rgba(var(--accent-rgb), 0.35); }
.pill-approved { background: rgba(var(--gain-rgb), 0.12); color: var(--gain-soft); border-color: rgba(var(--gain-rgb), 0.35); }
.pill-delivered { background: rgba(var(--gain-rgb), 0.18); color: var(--gain-soft); border-color: rgba(var(--gain-rgb), 0.5); }
.pill-rejected { background: rgba(var(--loss-rgb), 0.12); color: #ffb3b8; border-color: rgba(var(--loss-rgb), 0.35); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot-gain { background: var(--green-hi); }
.alert { margin: 0; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); font-size: 14px; }
.alert-ok { border-color: rgba(var(--gain-rgb), 0.4); background: rgba(var(--gain-rgb), 0.1); color: var(--gain-soft); }

/* ---- Forms ---- */
.fields { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 14px; font-weight: 600; }
.field-hint { font-size: 12px; font-weight: 400; color: var(--text-2); }
.field-error { font-size: 13px; font-weight: 400; color: #ff8a92; min-height: 0; }
.field-error:empty { display: none; }
input, select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  border-radius: 8px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text);
  font: 400 16px/1.4 inherit; font-family: inherit;
  transition: border-color 150ms, box-shadow 150ms;
}
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.16); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field.has-error .dropzone { border-color: rgba(var(--loss-rgb), 0.7); }

/* ---- Pay page ---- */
.pay { padding-block: 24px 64px; }
.pay-title { font-size: 28px; font-weight: 700; margin-block-end: 20px; }
@media (min-width: 900px) { .pay-title { font-size: 38px; margin-block-end: 28px; } }
.draft-note { margin: -8px 0 16px; font-size: 13px; color: var(--gold-hi); }
.pay-grid { display: grid; gap: 16px; align-items: start; }
.pay-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (min-width: 960px) {
  .pay-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; }
  .summary { grid-column: 2; grid-row: 1; position: sticky; top: 84px; }
  .pay-main { grid-column: 1; grid-row: 1; }
}

.summary { padding: 0; border-color: var(--line-strong); }
.summary-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 20px; background: none; border: 0; color: var(--text); font: inherit; font-weight: 600; cursor: pointer;
}
.summary-toggle strong { font-size: 18px; font-weight: 700; }
/* The order summary is always open, on phones too: buyers must see plan, term, savings and local price before paying. */
.summary-toggle { display: none; }
.summary-body { display: block; padding: 20px; }
@media (min-width: 960px) { .summary-body { padding: 28px; } }
.summary-list { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; margin: 0; }
.summary-list dt { color: var(--text-2); font-weight: 400; font-size: 14px; }
.summary-list dd { margin: 0; text-align: end; font-weight: 600; }
.summary-list .total-label { color: var(--text); align-self: center; font-weight: 600; }
.summary-list .total { font-size: 32px; font-weight: 700; color: var(--gold-hi); }
.fx-line { margin: 12px 0 0; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; color: var(--gold-hi); font-weight: 500; }
.fx-line small { font-size: 12px; color: var(--text-2); font-weight: 400; }

.stepper { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-block-start: 16px; font-size: 14px; font-weight: 500; }
.stepper-controls { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; }
.stepper-controls button { width: 44px; height: 44px; background: var(--bg-2); border: 0; color: var(--gold-hi); font-size: 20px; cursor: pointer; }
.stepper-controls button:hover { background: rgba(var(--accent-rgb), 0.12); }
.stepper-controls button:disabled { opacity: 0.35; cursor: default; background: var(--bg-2); }
.stepper-controls input { width: 52px; min-height: 44px; border: 0; border-radius: 0; text-align: center; padding: 0; background: var(--bg); }
.upsell {
  margin-block-start: 14px; padding: 12px 14px; border-radius: 8px;
  background: rgba(var(--accent-rgb), 0.16); border: 1px solid rgba(var(--gain-rgb), 0.4);
  display: flex; flex-direction: column; gap: 4px; font-size: 14px; font-weight: 400;
}
.upsell p { margin: 0; }
.upsell .btn { align-self: flex-start; min-height: 36px; }

/* «ازاي تدفع» — gold CTA that opens the uploaded help video in a modal */
.pay-help { margin-block-start: 14px; }
.pay-help-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px; cursor: pointer; font: inherit;
  font-weight: 600; font-size: 14px; color: var(--gold);
  background: rgba(var(--accent-rgb), 0.12); border: 1px solid rgba(var(--accent-rgb), 0.55);
  transition: background 0.15s ease, transform 0.15s ease;
}
.pay-help-cta:hover { background: rgba(var(--accent-rgb), 0.2); transform: translateY(-1px); }
.pay-help-cta svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.help-dialog {
  border: 0; padding: 0; background: transparent; width: 100%;
  max-width: min(92vw, 420px); max-height: 90vh; overflow: visible; color: var(--text);
}
.help-dialog::backdrop { background: rgba(0, 0, 0, 0.78); backdrop-filter: blur(3px); }
.help-video {
  display: block; width: 100%; max-height: 82vh; border-radius: 14px;
  background: #000; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
}
.help-close {
  position: absolute; inset-block-start: -14px; inset-inline-end: -8px;
  width: 38px; height: 38px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; font-size: 18px; line-height: 1; color: var(--gold);
  background: var(--bg-2); border: 1px solid rgba(var(--accent-rgb), 0.5);
}
.help-close:hover { background: var(--bg); }

.method-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-block-end: 20px; }
.method-option { position: relative; display: block; cursor: pointer; }
.method-option input { position: absolute; opacity: 0; inset: 0; min-height: 0; cursor: pointer; }
.method-option span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 8px 12px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg-2); font-weight: 600; font-size: 14px; color: var(--text-2);
  transition: border-color 150ms, background-color 150ms, color 150ms;
}
.method-option:hover span { border-color: var(--line-strong); color: var(--text); }
.method-option input:checked + span { border: 1.5px solid var(--gold); background: rgba(var(--accent-rgb), 0.08); color: var(--text); }
.method-option input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.method-panel { display: flex; flex-direction: column; gap: 16px; }
.rich p { margin: 0 0 8px; }
.rich ul { margin: 0 0 8px; padding-inline-start: 20px; }
.destination {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 16px;
  border: 1px solid var(--line-strong); border-radius: 8px; background: var(--bg-2);
}
.destination .muted { font-size: 13px; font-weight: 400; width: 100%; }
.destination code { flex: 1; min-width: 0; font: 500 15px/1.5 ui-monospace, 'SFMono-Regular', Consolas, monospace; overflow-wrap: anywhere; color: var(--gold-hi); }
.qr { align-self: center; background: #fff; padding: 10px; border-radius: 8px; line-height: 0; }
.qr:empty { display: none; }
.qr img, .qr svg { width: 168px; height: 168px; display: block; }
.callout-danger {
  margin: 0; padding: 12px 14px; border-radius: 8px; font-size: 14px; font-weight: 400;
  border: 1px solid rgba(var(--loss-rgb), 0.55); border-inline-start-width: 3px; background: rgba(var(--loss-rgb), 0.08); color: var(--loss-soft);
}

.dropzone {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 16px;
  border: 1px dashed var(--line-strong); border-radius: 8px; background: var(--bg-2); cursor: pointer; text-align: center;
  color: var(--text-2); font-size: 14px; font-weight: 400; transition: border-color 150ms, color 150ms;
}
.dropzone:hover, .dropzone.is-drag { border-color: var(--gold); color: var(--gold-hi); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.dropzone-preview { display: flex; align-items: center; gap: 12px; width: 100%; position: relative; z-index: 1; }
.dropzone-preview img { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.dropzone-preview img:not([src]) { display: none; }
.dropzone-preview [data-preview-name] { flex: 1; text-align: start; color: var(--text); font-size: 13px; overflow-wrap: anywhere; }

.submit-block { display: flex; flex-direction: column; gap: 12px; }
.cf-turnstile { min-height: 65px; display: flex; justify-content: center; }
.form-error { margin: 0; padding: 12px 14px; border-radius: 8px; border: 1px solid rgba(var(--loss-rgb), 0.5); background: rgba(var(--loss-rgb), 0.08); color: var(--loss-soft); font-weight: 400; }
.progress { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--gold-grad); transition: width 120ms linear; }

/* ---- Trial page ---- */
.trial { padding-block: 32px 64px; display: flex; flex-direction: column; gap: 20px; }
.trial-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.trial-head h1 { font-size: 32px; font-weight: 700; }
@media (min-width: 900px) { .trial-head h1 { font-size: 48px; } }
.trial-head .lead { margin: 0; color: var(--text-2); max-width: 520px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step; display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 500;
}
.steps li::before {
  content: counter(step); flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: #ffffff; font: 700 13px var(--font-lat);
}
.trial-form { display: flex; flex-direction: column; gap: 20px; }
.callout-info {
  margin: 0; padding: 12px 14px; border-radius: 8px; font-size: 14px; font-weight: 400;
  border: 1px solid rgba(var(--gain-rgb), 0.4); border-inline-start-width: 3px; background: rgba(var(--accent-rgb), 0.12); color: #cdeedd;
}

/* ---- Order page ---- */
.order-page { padding-block: 32px 64px; display: flex; flex-direction: column; gap: 20px; }
.status-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.status-head h1 { font-size: 30px; font-weight: 700; }
@media (min-width: 900px) { .status-head h1 { font-size: 42px; } }
.status-head .num { font-size: 13px; margin: 0; }
.status-line { margin: 4px 0 0; color: var(--text); font-weight: 400; }
.status-expiry { margin: 0; color: var(--green-hi); font-weight: 600; }
.tg-step .btn { font-size: 15px; }
.tg-step p { margin: 10px 0 0; }
.tg-bound { display: flex; align-items: center; gap: 10px; color: var(--gain-soft); font-weight: 500; flex-wrap: wrap; }
.tg-bound .btn { margin-inline-start: auto; }
.order-actions-row { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; }

.invoice {
  position: relative; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 24px;
  outline: 1px solid rgba(var(--accent-rgb), 0.12); outline-offset: -8px;
}
@media (min-width: 700px) { .invoice { padding: 40px; } }
.invoice h2 { font-size: 22px; font-weight: 700; }
.invoice h3 { font-size: 11px; font-weight: 700; color: var(--gold); margin-block-end: 6px; letter-spacing: 0.12em; text-transform: uppercase; }
.invoice p { margin: 0; }
.invoice-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding-block-end: 20px; border-bottom: 1px solid var(--line); }
.invoice-head img { height: 36px; width: auto; }
.invoice-meta { display: grid; grid-template-columns: auto auto; gap: 2px 12px; margin: 6px 0 0; font-size: 13px; }
.invoice-meta dt { color: var(--text-2); font-weight: 400; }
.invoice-meta dd { margin: 0; }
.invoice-parties { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; font-size: 14px; }
.table-wrap { overflow-x: auto; }
.invoice-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
.invoice-table th { text-align: start; font-weight: 600; color: var(--text-2); font-size: 12px; padding: 0 8px 10px; border-bottom: 1px solid var(--line-strong); }
.invoice-table td { padding: 12px 8px; border-bottom: 1px solid var(--line); }
.invoice-totals { display: grid; grid-template-columns: 1fr auto; row-gap: 8px; margin: 0; margin-inline-start: auto; min-width: min(100%, 300px); font-size: 14px; }
.invoice-totals dt { color: var(--text-2); font-weight: 400; padding-inline-end: 24px; }
.invoice-totals dd { margin: 0; text-align: end; }
.invoice-totals .due { font-size: 22px; font-weight: 700; color: var(--gold-hi); padding-block-start: 8px; border-top: 1px solid var(--line-strong); }
.invoice-totals .fx-note { grid-column: 1 / -1; font-size: 13px; }
.invoice-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.kv-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.kv-list dt { color: var(--text-2); font-weight: 400; }
.kv-list dd { margin: 0; overflow-wrap: anywhere; }
html[dir='rtl'] .kv-list dd[dir='ltr'] { text-align: right; }
.invoice-foot { font-size: 12px; color: var(--text-2); padding-block-start: 16px; border-top: 1px solid var(--line); line-height: 1.7; }

@media print {
  body { background: #fff; color: #111; }
  body::before { display: none; }
  .topnav, .status-head, .tg-step, .order-actions-row, .float-tg, script { display: none !important; }
  .order-page { padding: 0; }
  .invoice { border: 0; outline: 0; background: #fff; color: #111; padding: 0; box-shadow: none; }
  .invoice *, .invoice .muted, .invoice h3, .invoice-table th, .kv-list dt, .invoice-totals dt, .invoice-meta dt { color: #333 !important; }
  .invoice-head, .invoice-table th, .invoice-table td, .invoice-totals .due, .invoice-foot { border-color: #ccc !important; }
  .invoice-head img { filter: brightness(0.2); }
}

/* ==== Landing page ======================================================================== */
.topnav-actions { display: flex; align-items: center; gap: 10px; }

/* Optional 3D scene (admin switch): the full-screen layer behind the home page. */
.scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; background: radial-gradient(1200px 700px at 70% 30%, rgba(var(--accent-rgb), 0.2), transparent 60%), var(--bg); }
.scene-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; object-position: 30% center; }
html[dir='ltr'] .scene-poster { object-position: 68% center; }
@media (max-width: 760px) {
  .scene-poster { opacity: 0.5; top: -28vh; height: 128vh; object-position: 30% center; }
  html[dir='ltr'] .scene-poster { object-position: 68% center; }
}
.scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 900ms ease; }
.scene.is-live canvas, .scene.is-still canvas { opacity: 1; }
.scene.is-live .scene-poster { opacity: 0; transition: opacity 900ms ease; }
.scene::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to left, rgba(var(--bg-rgb), 0.9) 0%, rgba(var(--bg-rgb), 0.55) 45%, rgba(var(--bg-rgb), 0.1) 75%), linear-gradient(to top, rgba(var(--bg-rgb), 0.6), transparent 40%); }
html[dir='ltr'] .scene::after { background: linear-gradient(to right, rgba(var(--bg-rgb), 0.9) 0%, rgba(var(--bg-rgb), 0.55) 45%, rgba(var(--bg-rgb), 0.1) 75%), linear-gradient(to top, rgba(var(--bg-rgb), 0.6), transparent 40%); }
@media (max-width: 760px) { .scene::after, html[dir='ltr'] .scene::after { background: linear-gradient(to top, rgba(var(--bg-rgb), 0.92) 30%, rgba(var(--bg-rgb), 0.35) 70%, rgba(var(--bg-rgb), 0.15)); } }
.home, .site-footer, .page-home .topnav { position: relative; z-index: 1; }

.section { padding-block: 28px; }
@media (min-width: 900px) { .section { padding-block: 40px; } }
/* Section titles carry a short gold rule above them */
.section-title { font-size: 26px; font-weight: 700; text-align: center; margin-block-end: 10px; }
.section-title::before { content: ''; display: block; width: 56px; height: 3px; border-radius: 2px; background: var(--gold-grad); margin: 0 auto 16px; }
@media (min-width: 900px) { .section-title { font-size: 38px; } }
.section-sub { text-align: center; color: var(--text-2); margin: 0 auto 22px; max-width: 640px; font-size: 16px; }
.section-title + .grid-3, .section-title + .steps { margin-block-start: 22px; }
.card-text { margin: 0; color: var(--text-2); }
.grid-3 { display: grid; gap: 18px; counter-reset: feature; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-3 .card-title { margin-block-end: 12px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }

/* Hero: copy on one side, the bot card on the other, the brand mark floating behind them */
.hero { position: relative; display: grid; gap: 28px; align-items: center; padding-block: 36px 16px; }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; padding-block: 64px 28px; min-height: 70vh; }
}
.hero-copy { max-width: 620px; display: flex; flex-direction: column; gap: 18px; }
.hero-title { font-size: 38px; font-weight: 800; line-height: 1.25; }
.hero-title::before { content: ''; display: block; width: 64px; height: 3px; border-radius: 2px; background: var(--gold-grad); margin-block-end: 20px; }
@media (min-width: 900px) { .hero-title { font-size: 60px; line-height: 1.18; } }
html[lang='en'] .hero-title { font-weight: 700; line-height: 1.12; }

/* Hero bot card: a matte green certificate with a double gold frame; tilts gently toward the pointer */
.bot-card-wrap { perspective: 1400px; justify-self: center; width: min(440px, 100%); }
.bot-card {
  --rx: 4deg; --ry: -8deg; --mx: 30%; --my: 20%;
  position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
  padding: 26px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, var(--card) 0%, var(--card) 55%, var(--card) 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(var(--accent-rgb), 0.1), inset 0 1px 0 rgba(var(--accent-rgb), 0.28);
  animation: card-float 8s ease-in-out infinite;
}
html[dir='ltr'] .bot-card { --ry: 8deg; }
.bot-card-wrap.is-tilting .bot-card { transition: transform 120ms linear; animation-play-state: paused; }
@keyframes card-float { 50% { translate: 0 -8px; } }
.bot-card::before { content: ''; position: absolute; inset: 9px; border: 1px solid rgba(var(--accent-rgb), 0.22); border-radius: 8px; pointer-events: none; }
.bot-card-shine { position: absolute; inset: -40%; pointer-events: none; background: radial-gradient(circle at var(--mx) var(--my), rgba(var(--accent-rgb), 0.13), transparent 35%); transform: translateZ(1px); }
.bot-card > *:not(.bot-card-shine) { position: relative; transform: translateZ(30px); }
.bot-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-end: 16px; }
.bot-card-head img { height: 32px; width: auto; }
.bot-card-tag { font: 700 11px var(--font-lat); letter-spacing: 0.12em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; color: var(--gold-hi); background: rgba(var(--accent-rgb), 0.06); border: 1px solid rgba(var(--accent-rgb), 0.4); }
.bot-card-title { font-size: 23px; font-weight: 700; margin: 0 0 10px; transform: translateZ(50px) !important; }
.bot-card-points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.bot-card-points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 500; line-height: 1.6; }
.bot-card-points li::before { content: '✓'; flex: none; width: 22px; height: 22px; border-radius: 5px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--green-hi); background: rgba(var(--gain-rgb), 0.14); border: 1px solid rgba(var(--gain-rgb), 0.4); }
.bot-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block-start: 16px; border-top: 1px solid var(--line); transform: translateZ(60px) !important; }
.bot-card-price { display: flex; flex-direction: column; line-height: 1.2; }
.bot-card-price strong { font-size: 28px; font-weight: 700; color: var(--gold-hi); }
.bot-card-price .muted { font-size: 12px; font-weight: 400; }
.bot-card-foot .btn { min-height: 46px; }
@media (max-width: 959px) { .bot-card { --rx: 0deg; --ry: 0deg; } }
@media (prefers-reduced-motion: reduce) { .bot-card { animation: none; } }
.hero-sub { margin: 0; font-size: 17px; color: var(--text-2); max-width: 560px; }
@media (min-width: 900px) { .hero-sub { font-size: 19px; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.trust-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.trust-row li::before { content: '◆'; display: inline-block; font-size: 8px; color: var(--gold); margin-inline-end: 8px; vertical-align: middle; }
.trial-link { font-size: 14px; font-weight: 500; color: var(--gold-hi); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(var(--accent-rgb), 0.45); }
.trial-link:hover { text-decoration-color: var(--gold); }

/* Steps & features: numbered cards with a gold numeral in the corner */
.feature { counter-increment: feature; overflow: hidden; }
.feature::after { content: counter(feature, decimal-leading-zero); position: absolute; top: 12px; inset-inline-end: 18px; font: 700 42px/1 var(--font-lat); color: rgba(var(--accent-rgb), 0.16); letter-spacing: -0.02em; pointer-events: none; }
.feature:hover { border-color: var(--line-strong); }
.feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; border: 1px solid rgba(var(--accent-rgb), 0.35); background: rgba(var(--accent-rgb), 0.18); margin-block-end: 16px; }
.feature-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature-image { display: block; width: 56px; height: 56px; object-fit: contain; margin-block-end: 14px; border-radius: 10px; }

/* Evidence */
.evidence { display: flex; flex-direction: column; gap: 24px; }
.equity { position: relative; overflow-x: auto; }
.equity svg { width: 100%; min-width: 560px; height: auto; display: block; }
.eq-grid { stroke: rgba(var(--accent-rgb), 0.1); }
.eq-axis { stroke: rgba(var(--accent-rgb), 0.3); }
.eq-label { fill: var(--text-2); font: 500 11px var(--font-lat); }
.eq-line { fill: none; stroke: var(--gold-hi); stroke-width: 2; stroke-linejoin: round; }
/* الموبايل: المنحنى يتصغّر ليدخل الشاشةَ كاملًا بلا سحبٍ جانبيّ — فيُرى آخرُه.
   ونكبّر خطَّ المنحنى واللافتاتِ (بوحدات الرسمة) كي تبقى مقروءةً بعد التصغير،
   ونُخفي لافتتَي التاريخِ الزوجيّتَين كيلا تتزاحمَ التواريخ. */
@media (max-width: 560px) {
  .equity { overflow-x: visible; }
  .equity svg { min-width: 0; }
  .equity .eq-label { font-size: 23px; }
  .equity .eq-line { stroke-width: 4; }
  .equity .eq-grid, .equity .eq-axis { stroke-width: 1.4; }
  .equity .eq-xlabel:nth-of-type(2n) { display: none; }
}
.eq-cross { stroke: rgba(var(--accent-rgb), 0.5); opacity: 0; }
.eq-dot { fill: var(--gold-hi); stroke: var(--card); stroke-width: 2; }
.eq-tip { position: absolute; top: 6px; padding: 8px 10px; border-radius: 8px; background: var(--bg-2); border: 1px solid var(--line-strong); font-size: 13px; pointer-events: none; white-space: nowrap; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
/* على الموبايل: عمودان بالظبط فتتشفّع المربعاتُ الستّة كلُّ اثنين جمب بعض */
@media (max-width: 560px) { .metrics { grid-template-columns: 1fr 1fr; } }
.metric { background: var(--bg-2); padding: 14px 16px; }
.metric dt { font-size: 12px; font-weight: 500; color: var(--text-2); }
.metric dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; color: var(--gold-hi); }
/* مربعُ العائد: توهّجٌ أخضرُ خافتٌ وسهمٌ صاعدٌ متوهّجٌ خلفَه — بطلب المالك (2026-10-31) */
.metric-return { position: relative; overflow: hidden; }
.metric-return::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(135% 115% at 88% 8%, rgba(34, 197, 94, 0.22), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%2322c55e' stroke-width='5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 50 L24 34 L38 42 L58 14'/%3E%3Cpath d='M42 14 L58 14 L58 30'/%3E%3C/g%3E%3C/svg%3E") no-repeat right -4px bottom -4px / 58px;
  filter: drop-shadow(0 0 7px rgba(34, 197, 94, 0.75));
  opacity: 0.9;
}
.metric-return dt, .metric-return dd { position: relative; z-index: 1; }
.metric-return dt { color: #86d9a8; }
.metric-return dd { color: #35d07f; text-shadow: 0 0 16px rgba(34, 197, 94, 0.5); }
.backtest-report-link {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0;
  color: var(--gold-hi);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-block-end: 1px solid currentColor;
  transition: color 160ms ease, transform 160ms ease;
}
.backtest-report-link:hover { color: var(--text); transform: translateX(-2px); }
.backtest-report-link span { font-family: var(--font-lat); line-height: 1; }
html[dir='ltr'] .backtest-report-link span { transform: rotate(180deg); }
/* مربعُ اللوت: ريكشن ذهولٍ خافتٌ خلفَ الرقم — 0.01 لوت حقّق كلَّ هذا */
.metric-lot { position: relative; overflow: hidden; }
.metric-lot::before {
  content: '\01F92F'; /* 🤯 */
  position: absolute; inset-block-start: 50%; inset-inline-end: 6px;
  transform: translateY(-50%) rotate(8deg);
  font-size: 46px; line-height: 1; opacity: 0.22;
  pointer-events: none; z-index: 0;
}
.metric-lot dt, .metric-lot dd { position: relative; z-index: 1; }
.disclaimer { margin: 0; font-size: 13px; font-weight: 400; color: var(--text-2); line-height: 1.8; }

/* Proof carousel */
/* Proof gallery — the visitor sees at a glance there are many: the centre phone is in focus, its
   neighbours peek dimmed from behind it, and it flips on its own. home.js moves the strip by transform;
   without JS it is a plain row that scrolls, so every shot stays reachable. */
.proofs-count { text-align: center; color: var(--gold-hi); font-weight: 600; margin: -4px 0 20px; font-size: 15px; }
.proofs-count .num { color: var(--gold); font-size: 19px; font-weight: 800; }
.gallery { position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.gallery-viewport { position: relative; grid-column: 2; min-width: 0; overflow-x: auto; padding-block: 10px 34px; }
.gallery-track { position: relative; display: flex; align-items: center; gap: 16px; width: max-content; }
.slide { position: relative; margin: 0; flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.slide figcaption { font-size: 14px; color: var(--text-2); text-align: center; max-width: 360px; }
.js .gallery-viewport { overflow: hidden; touch-action: pan-y; }
.js .gallery-track { gap: 0; transition: transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1); will-change: transform; }
/* The phones overlap: the focused one is opaque and on top, each neighbour tucks semi-transparent behind
   its edge so the next shot peeks out; the ones further along wait out of sight. */
.js .slide { z-index: 1; margin-inline: clamp(-60px, -7vw, -28px); visibility: hidden; opacity: 0; transform: scale(0.8); transition: opacity 350ms ease, transform 350ms ease, visibility 350ms; }
.js .slide.is-near { visibility: visible; opacity: 0.38; }
.js .slide.is-near .phone-media { cursor: pointer; }
.js .slide.is-active { z-index: 3; visibility: visible; opacity: 1; transform: scale(1); }
.js .slide:not(.is-active) figcaption { visibility: hidden; }
/* Every shot and cover keeps its own shape: width and height are capped together, so nothing is
   cropped or boxed in. home.js repeats these two caps when it fits the frame to a playing clip. */
.gallery .phone-media img, .gallery .phone-media.video-poster img { width: auto; height: auto; max-width: min(82vw, 430px); max-height: min(56vh, 520px); object-fit: contain; }
.gallery .phone-media.video-poster { width: fit-content; min-width: 150px; min-height: 160px; aspect-ratio: auto; }
.gallery .phone-media.video-poster:not(:has(img)) { width: min(82vw, 430px); aspect-ratio: 16 / 9; } /* a YouTube link with no cover */
.gallery .phone-media.video-poster video, .gallery .phone-media.video-poster iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
@media (prefers-reduced-motion: reduce) { .js .slide, .js .gallery-track { transition: none; } }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .carousel-nav { display: none; } /* touch: swipe instead of arrows */
  .gallery-viewport { grid-column: 1; }
}
/* The frame hugs whatever screenshot is uploaded: a portrait, landscape or square
   shot each gets a phone sized and oriented to match it, instead of one fixed shape. */
.phone { position: relative; width: fit-content; max-width: min(92vw, 460px); margin-inline: auto; border-radius: 36px; padding: 10px; background: #070b14; border: 1px solid rgba(var(--accent-rgb), 0.35); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(var(--accent-rgb), 0.08); }
.phone-media { display: block; width: auto; max-width: 100%; min-width: 150px; min-height: 160px; border-radius: 28px; overflow: hidden; background: var(--bg); border: 0; padding: 0; cursor: zoom-in; position: relative; }
.phone-media img { display: block; width: auto; height: auto; max-width: min(84vw, 400px); max-height: 72vh; object-fit: contain; border: 0; background: var(--bg); }
.phone-media.video-poster { width: min(84vw, 300px); min-height: 0; aspect-ratio: 9 / 19; }
.phone-media.video-poster img, .phone-media video, .phone-media iframe { width: 100%; height: 100%; object-fit: contain; display: block; border: 0; background: var(--bg); }
/* While the real screenshot or cover downloads, show a branded placeholder + spinner so the frame
   is never half-empty; home.js drops .is-loading the moment the image's load event fires. */
.js .gallery .phone-media.is-loading { width: min(84vw, 300px); max-height: min(56vh, 520px); min-width: 0; min-height: 0; aspect-ratio: 9 / 16; background: #070b14 url('/brand/shot-loading.jpg') center / cover no-repeat; }
.shot-img { transition: opacity 0.35s ease; }
.js .phone-media.is-loading .shot-img { opacity: 0; }
.js .phone-media.is-loading .play, .phone-media.is-playing .shot-loading { display: none; }
.shot-loading { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: rgba(7, 11, 20, 0.45); }
.js .phone-media.is-loading .shot-loading { display: flex; }
.shot-spinner { width: 42px; height: 42px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.22); border-top-color: var(--gold-hi); animation: shot-spin 0.9s linear infinite; }
.shot-loading-text { color: #fff; font-size: 14px; font-weight: 600; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6); }
@keyframes shot-spin { to { transform: rotate(360deg); } }
.video-poster { cursor: pointer; }
.play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #ffffff; font-size: 22px; padding-inline-start: 4px; box-shadow: 0 10px 30px -10px rgba(var(--accent-rgb), 0.9); }
.carousel-nav { width: 52px; height: 52px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-strong); color: var(--gold-hi); font-size: 26px; cursor: pointer; transition: background-color 150ms, border-color 150ms; }
.carousel-nav:hover { background: rgba(var(--accent-rgb), 0.1); border-color: var(--gold); }
.carousel-nav:disabled { opacity: 0.3; cursor: default; }
@media (max-width: 520px) { .carousel-nav { width: 42px; height: 42px; font-size: 22px; } }
html[dir='rtl'] .carousel-nav span { display: inline-block; transform: scaleX(-1); }
.dots { grid-column: 1 / -1; display: flex; justify-content: center; gap: 8px; }
.dot-btn { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(var(--accent-rgb), 0.25); cursor: pointer; transition: width 200ms, background-color 200ms; }
.dot-btn.is-active { background: var(--gold); width: 22px; border-radius: 8px; }
.lightbox { max-width: 96vw; max-height: 96vh; padding: 0; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--bg); }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.88); }
.lightbox img { display: block; max-width: 92vw; max-height: 90vh; touch-action: pinch-zoom; }
.lightbox-close { position: absolute; top: 8px; inset-inline-end: 8px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--text); font-size: 22px; cursor: pointer; }

/* Scarcity */
.dot-loss { width: 7px; height: 7px; border-radius: 50%; background: var(--loss); }

/* Pricing. Phones: a coverflow with the chosen plan in the centre. Desktop: the plans side by side, featured one raised. */
.plans-carousel { position: relative; }
.plans-track { display: flex; flex-direction: column; gap: 16px; max-width: 520px; margin-inline: auto; }
html.js .plans-track {
  display: grid; max-width: none; perspective: 1600px; padding-block: 12px 4px;
  touch-action: pan-y; user-select: none;
}
html.js .plans-track > .plan {
  grid-area: 1 / 1; justify-self: center; align-self: start; width: min(440px, 78vw);
  transition: transform 650ms cubic-bezier(0.22, 0.8, 0.2, 1), opacity 500ms ease, filter 500ms ease;
  will-change: transform;
}
html.js .plan[data-pos='0'] { transform: translate3d(0, 0, 0) scale(1); opacity: 1; z-index: 3; }
html.js .plan[data-pos='-1'] { transform: translate3d(-68%, 26px, -180px) rotateY(24deg) scale(0.86); opacity: 0.55; z-index: 2; filter: saturate(0.7); cursor: pointer; }
html.js .plan[data-pos='1'] { transform: translate3d(68%, 26px, -180px) rotateY(-24deg) scale(0.86); opacity: 0.55; z-index: 2; filter: saturate(0.7); cursor: pointer; }
html.js .plan[data-pos='hidden'] { transform: translate3d(0, 40px, -400px) scale(0.7); opacity: 0; z-index: 1; pointer-events: none; }
html.js .plan[data-pos='-1'] *, html.js .plan[data-pos='1'] * { pointer-events: none; }
html.js .plan[data-pos='-1']:hover, html.js .plan[data-pos='1']:hover { opacity: 0.8; }
@media (max-width: 760px) {
  html.js .plans-track > .plan { width: 82vw; }
  html.js .plan[data-pos='-1'] { transform: translate3d(-74%, 30px, -160px) rotateY(22deg) scale(0.82); opacity: 0.45; }
  html.js .plan[data-pos='1'] { transform: translate3d(74%, 30px, -160px) rotateY(-22deg) scale(0.82); opacity: 0.45; }
}
.plans-nav { display: none; }
html.js .plans-nav {
  display: grid; place-items: center; position: absolute; top: 45%; z-index: 5; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(var(--bg-rgb), 0.9); border: 1px solid var(--line-strong); color: var(--gold-hi); font-size: 24px; cursor: pointer;
  backdrop-filter: blur(8px); transition: border-color 150ms, transform 150ms;
}
html.js .plans-nav:hover { border-color: var(--gold); transform: scale(1.05); }
.plans-nav.prev { inset-inline-start: 0; }
.plans-nav.next { inset-inline-end: 0; }
html[dir='rtl'] .plans-nav span { display: inline-block; transform: scaleX(-1); }
@media (max-width: 760px) { html.js .plans-nav { width: 40px; height: 40px; font-size: 20px; top: auto; bottom: -6px; } }
.plans-dots { display: none; }
html.js .plans-dots { display: flex; margin-block-start: 18px; }
.plans-progress { height: 2px; width: 120px; margin: 10px auto 0; border-radius: 2px; background: var(--line); overflow: hidden; }
.plans-progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }
html[dir='rtl'] .plans-progress span { transform-origin: right; }
@media (prefers-reduced-motion: reduce) { html.js .plans-track > .plan { transition: none; } .plans-progress { display: none; } }
@media (min-width: 960px) {
  html.js .plans-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; perspective: none; padding-block: 16px 0; align-items: stretch; }
  html.js .plans-track > .plan { grid-area: auto; width: auto; justify-self: stretch; align-self: stretch; transform: none !important; opacity: 1 !important; filter: none !important; pointer-events: auto; cursor: default; }
  html.js .plan[data-pos] * { pointer-events: auto; }
  html.js .plan.is-featured { transform: translateY(-12px) !important; }
  html.js .plans-nav, html.js .plans-dots, .plans-progress { display: none !important; }
}
.plan { display: flex; flex-direction: column; gap: 10px; transition: transform 150ms, border-color 150ms; }
.plan:hover { border-color: var(--line-strong); }
html:not(.js) .plan:hover { transform: translateY(-2px); }
.plan.is-featured { background: linear-gradient(180deg, var(--lift), var(--card)); border: 1px solid var(--gold); box-shadow: 0 30px 60px -30px rgba(var(--accent-rgb), 0.45), inset 0 1px 0 rgba(var(--accent-rgb), 0.2); }
.plan.is-featured::before { content: ''; position: absolute; top: -1px; inset-inline: -1px; height: 4px; background: var(--gold-grad); border-radius: var(--radius) var(--radius) 0 0; }
.plan-badges { display: flex; flex-wrap: wrap; gap: 8px; min-height: 26px; }
.badge-volt, .badge-gain { padding: 3px 12px; border-radius: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.badge-volt { background: rgba(var(--accent-rgb), 0.1); color: var(--gold-hi); border: 1px solid rgba(var(--accent-rgb), 0.4); }
.badge-gain { background: rgba(var(--gain-rgb), 0.12); color: var(--gain-soft); border: 1px solid rgba(var(--gain-rgb), 0.35); }
.plan-name { font-size: 22px; font-weight: 700; }
.plan > .muted { margin: -6px 0 0; font-size: 13px; }
.plan-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
/* The old price stays clearly readable: light red, struck through */
.plan-price s { color: #ff8f8f; font-size: 20px; font-weight: 500; text-decoration-color: rgba(255, 110, 110, 0.9); text-decoration-thickness: 2px; }
.plan-price strong { font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
.plan.is-featured .plan-price strong { color: var(--gold-hi); }
.plan-price .muted { font-size: 14px; }
.plan-stepper { margin: 4px 0 0; }
.plan-stepper output { width: 48px; text-align: center; background: var(--bg); line-height: 44px; }
.plan-upsell { margin: 0; padding: 10px 14px; border-radius: 8px; background: rgba(var(--accent-rgb), 0.16); border: 1px solid rgba(var(--gain-rgb), 0.4); font-size: 14px; font-weight: 400; }
.plan-upsell button { background: none; border: 0; padding: 0; color: var(--gold-hi); font: inherit; text-decoration: underline; cursor: pointer; }
.plan-features { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; font-size: 15px; }
.plan-features li { display: flex; gap: 10px; align-items: baseline; }
.plan-features li::before { content: '✓'; flex: none; color: var(--green-hi); font-weight: 700; font-size: 13px; }

.plan.pulse-once { animation: plan-pulse 900ms ease; }
@keyframes plan-pulse { 30% { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.35), 0 0 48px rgba(var(--accent-rgb), 0.3); } }

/* Methods */
.chip { padding: 10px 18px; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }

/* FAQ */
.faq-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-block-end: 20px; }
.faq-head .section-title { margin: 0; }
.faq-head .section-sub { margin: 0; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(var(--accent-rgb), 0.06); border: 1px solid var(--line-strong); font-size: 13px; font-weight: 600; color: var(--gold-hi); }
.dot-hot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.trust-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.trust-chips .chip { padding: 6px 14px; font-size: 13px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { padding: 0; transition: background-color 200ms, border-color 200ms; }
.faq-item.is-open { background: linear-gradient(180deg, var(--card), var(--card)); border-color: var(--line-strong); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: none; border: 0; color: var(--text); text-align: start; font: inherit; cursor: pointer; }
.faq-question { font-size: 17px; font-weight: 600; }
.faq-icon { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(var(--accent-rgb), 0.5); display: grid; place-items: center; font-size: 22px; font-weight: 400; color: var(--gold-hi); transition: transform 280ms ease, background-color 280ms, color 280ms; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--gold); color: #ffffff; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms ease; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-inner { overflow: hidden; padding-inline: 24px; display: flex; flex-direction: column; gap: 12px; }
.faq-item.is-open .faq-a-inner { padding-block-end: 24px; }
.faq-lead { margin: 0; color: var(--text-2); }
.faq-verdict { margin: 0; font-weight: 600; }
.hot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.hot-list li { display: flex; gap: 10px; align-items: baseline; }
.hot-list li::before { content: '◆'; flex: none; font-size: 7px; color: var(--gold); transform: translateY(-3px); }
.contrast { display: grid; gap: 10px; }
@media (min-width: 700px) { .contrast { grid-template-columns: 1fr 1fr; } }
.contrast-card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px; }
.contrast-card p { margin: 0 0 8px; font-weight: 600; }
.faq-badge { align-self: flex-end; padding: 4px 12px; border-radius: 4px; background: rgba(var(--gain-rgb), 0.12); color: var(--gain-soft); border: 1px solid rgba(var(--gain-rgb), 0.35); font-size: 12px; font-weight: 700; }

/* Final CTA, footer, legal */
.final { text-align: center; padding: 40px 24px; margin-block: 24px 36px; background: linear-gradient(160deg, var(--card), var(--card)); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 30px 60px -40px rgba(var(--accent-rgb), 0.4); }
.final .btn { margin-top: 8px; min-width: 240px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 44px 36px; background: var(--bg-2); box-shadow: inset 0 1px 0 rgba(var(--accent-rgb), 0.12); }
.site-footer .container { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.site-footer img { height: 34px; width: auto; }
/* The way into the binary-options signals room (/signals): big gradient text at the top of the
   footer, not a button — it left the top bar on 2026-11-08. Only drawn when brand.ts carries `signals`. */
.footer-signals {
  display: inline-flex; align-items: center; gap: 14px; padding-bottom: 8px;
  font: 700 clamp(26px, 6.5vw, 42px)/1.3 var(--font-display-ar);
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  border-bottom: 2px solid rgba(var(--accent-rgb), 0.35);
  transition: border-color 150ms;
}
html[lang='en'] .footer-signals { font-family: var(--font-display); }
.footer-signals span { transition: transform 150ms; }
.footer-signals:hover { border-color: var(--gold); }
.footer-signals:hover span { transform: translateX(-6px); }
html[lang='en'] .footer-signals:hover span { transform: translateX(6px); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; font-weight: 500; }
.footer-links a { color: var(--gold-hi); }
.footer-links a:hover { color: var(--gold); }
.legal { padding-block: 40px 64px; }
.legal-body p { margin: 0 0 14px; color: var(--text); }

/* Floating Telegram contact button — Telegram-blue, with an attention ping */
.float-tg {
  position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 40; height: 58px; min-width: 58px; padding: 0 20px 0 18px;
  display: inline-flex; align-items: center; gap: 11px; border-radius: 29px;
  background: linear-gradient(135deg, #2aabee, #229ed9); border: 0; color: #fff;
  box-shadow: 0 10px 28px -8px rgba(var(--accent-rgb), 0.75), 0 0 0 1px rgba(var(--text-rgb), 0.12) inset;
  transition: opacity 200ms, transform 200ms, box-shadow 200ms;
}
.float-tg::before { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(var(--accent-rgb), 0.6); animation: tg-ping 2.6s cubic-bezier(0, 0, 0.2, 1) infinite; pointer-events: none; }
@keyframes tg-ping { 0% { opacity: 0.7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35); } }
.float-tg:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -8px rgba(var(--accent-rgb), 0.85), 0 0 0 1px rgba(var(--text-rgb), 0.18) inset; }
.float-tg svg { width: 26px; height: 26px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25)); }
.float-tg-label { max-width: 0; overflow: hidden; white-space: nowrap; color: #fff; font-size: 14px; font-weight: 600; transition: max-width 400ms ease; }
.float-tg.is-expanded .float-tg-label, .float-tg:hover .float-tg-label { max-width: 220px; }
.float-tg.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .float-tg::before { animation: none; } }

/* Purchase toast */
.toast { position: fixed; bottom: 96px; inset-inline-start: 24px; z-index: 45; width: min(340px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 6px; transform: translateY(20px); opacity: 0; transition: transform 300ms, opacity 300ms; }
@media (max-width: 520px) { .toast { inset-inline-start: 16px; bottom: 88px; } }
.toast.is-in { transform: none; opacity: 1; }
.toast-badge { font-size: 11px; font-weight: 700; color: var(--gold-hi); letter-spacing: 0.04em; }
.toast-card { position: relative; background: var(--card); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 40px 14px 14px; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9); }
html[dir='rtl'] .toast-card { padding: 12px 14px 14px 40px; }
.toast-card::before { content: ''; position: absolute; top: 0; inset-inline: 0; height: 2px; background: var(--gold-grad); }
.toast-line { margin: 0; font-size: 14px; font-weight: 500; }
.toast-flag { display: inline-block; margin-inline-end: 0.38em; font-size: 1.15em; line-height: 1; vertical-align: -0.08em; }
.toast-meta { margin: 4px 0 0; font-size: 11px; color: var(--text-2); }
.toast-close { position: absolute; top: 6px; inset-inline-end: 6px; width: 28px; height: 28px; border: 0; background: none; color: var(--text-2); font-size: 18px; cursor: pointer; }
.toast-bar { position: absolute; bottom: 0; inset-inline-start: 0; height: 2px; background: var(--gold); width: 100%; transform-origin: left; }
html[dir='rtl'] .toast-bar { transform-origin: right; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .toast { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==== News ticker (colours from /theme.css) ==== */
.ticker {
  position: relative; z-index: 1; display: flex; align-items: stretch; margin-block: 8px 4px;
  background: var(--ticker-bg, var(--bg-2)); color: var(--ticker-text, var(--text));
  border-block: 1px solid color-mix(in srgb, var(--ticker-accent, var(--gold)) 40%, transparent);
}
.ticker-label {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; white-space: nowrap;
  background: var(--ticker-accent, var(--gold)); color: var(--bg); position: relative; z-index: 2;
}
.ticker-pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 0 rgba(var(--bg-rgb), 0.5); animation: ticker-pulse 1.8s infinite; }
@keyframes ticker-pulse { 70% { box-shadow: 0 0 0 7px rgba(var(--bg-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--bg-rgb), 0); } }
.ticker-viewport { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; width: max-content; animation: ticker-ltr var(--ticker-duration, 40s) linear infinite; }
html[dir='rtl'] .ticker-track { animation-name: ticker-rtl; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
@keyframes ticker-ltr { to { transform: translateX(-50%); } }
@keyframes ticker-rtl { to { transform: translateX(50%); } }
.ticker-list { list-style: none; margin: 0; padding: 0; display: flex; }
.ticker-item { display: inline-flex; align-items: center; gap: 12px; padding: 11px 28px; font-size: 14px; font-weight: 500; white-space: nowrap; }
.ticker-item a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--ticker-accent, var(--gold)) 70%, transparent); text-underline-offset: 4px; }
.ticker-dot { color: var(--ticker-accent, var(--gold)); font-size: 9px; }
@media (prefers-reduced-motion: reduce) { .ticker-viewport { overflow-x: auto; mask-image: none; -webkit-mask-image: none; } .ticker-track { animation: none; } .ticker-list[aria-hidden] { display: none; } }

/* ==== طرق الدفع: شريطٌ واحد — اللوجوهات والتأكيد الفوري، وجنبها قناة تليجرام ====
   لوحٌ واحدٌ ناعم، والجزءان عايمان جوّاه من غير إطار لكلّ واحد (طلبُ المالك)؛
   اللي بيفرّق بينهم خطٌّ رفيع بيبهت عند طرفيه. على الكمبيوتر كارتُ القناة على
   اليمين (أوّل ما تقع عليه العين بالعربي) واللوجوهات شماله، وعلى الموبايل طرقُ
   الدفع أوّلًا لأنّها اسمُ القسم. الألوانُ من الثيم، ولوجو Binance وUSDT بلونيهما
   الرسميَّين. */
.pay-strip {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; padding: 6px 12px; border-radius: 26px;
  background: linear-gradient(180deg, rgba(var(--card-rgb), 0.94), rgba(var(--bg-rgb), 0.88));
  border: 1px solid rgba(var(--accent-rgb), 0.22);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(var(--accent-rgb), 0.2);
}
.pay-strip::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  inset: -60% 15% auto; height: 110%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), 0.2), transparent);
}
.pay-box {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  min-height: 112px; padding: 20px; text-align: center;
}
/* الخطّ الفاصل: كارتُ القناة هو التاني في الصفحة دايمًا، فهو اللي بيشيله —
   فوقه على الموبايل، وعلى طرفه الداخلي على الكمبيوتر (يمين/شمال حسب اللغة). */
.pay-box + .pay-box::before {
  content: ''; position: absolute; pointer-events: none;
  top: 0; inset-inline: 12%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.6), transparent);
}
@media (min-width: 760px) {
  .pay-strip { grid-template-columns: 1fr 1fr; padding: 10px 16px; }
  .pay-strip.is-solo { grid-template-columns: minmax(0, 620px); justify-content: center; }
  .pay-channel { order: -1; }
  .pay-box + .pay-box::before {
    top: 18%; bottom: 18%; inset-inline: auto 0; width: 1px; height: auto;
    background: linear-gradient(180deg, transparent, rgba(var(--accent-rgb), 0.6), transparent);
  }
}
.pay-title { margin: 0; font-size: clamp(18px, 2.1vw, 22px); font-weight: 700; color: var(--text); line-height: 1.4; }
.pay-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; row-gap: 10px; }
.pay-logo { display: inline-flex; align-items: center; gap: 9px; padding-inline: 18px; font: 800 19px/1 var(--font-lat); letter-spacing: 0.03em; color: var(--text); direction: ltr; }
/* الخطُّ بين لوجوين: جهةٌ فعليّة لا منطقيّة — اللوجو نفسُه `ltr` (الرمز قبل
   الاسم)، فـ`inline-start` كانت بتحطّ الخط على الطرف الغلط في الصفحة العربي. */
html[dir='rtl'] .pay-logo + .pay-logo { border-right: 1px solid rgba(var(--accent-rgb), 0.3); }
html[dir='ltr'] .pay-logo + .pay-logo { border-left: 1px solid rgba(var(--accent-rgb), 0.3); }
.pay-logo svg { flex: none; width: 30px; height: 30px; }
/* لوجو رفعه المالك: نفس الطول، والعرض على قدّه بحدّ. */
.pay-logo img { flex: none; display: block; height: 30px; width: auto; max-width: 150px; object-fit: contain; }
.pay-logo-custom { font: 700 16px/1.3 var(--font); letter-spacing: 0; unicode-bidi: plaintext; }
.pay-logo-binance { color: #F0B90B; letter-spacing: 0.08em; }
.pay-logo-wallet, .pay-logo-bank { font: 700 15px/1.3 var(--font); letter-spacing: 0; unicode-bidi: plaintext; }
.pay-logo-wallet svg, .pay-logo-bank svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pay-instant {
  margin: 0; display: inline-flex; align-items: center; gap: 6px; padding: 4px 13px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--gain-deep); background: linear-gradient(90deg, #12b76a, #3ee6a0);
}
.pay-instant::before { content: '⚡'; font-size: 12px; }
.pay-channel { flex-direction: row; gap: 16px; color: var(--text); text-decoration: none; }
.pay-channel-text strong { transition: color 200ms; }
.pay-channel:hover .pay-channel-text strong, .pay-channel:focus-visible .pay-channel-text strong { color: var(--gold-hi); }
.pay-channel:hover .pay-channel-ico { transform: translateY(-2px) scale(1.05); }
.pay-channel-text { display: flex; flex-direction: column; gap: 4px; text-align: start; line-height: 1.5; }
.pay-channel-text strong { font-size: 16px; font-weight: 700; }
.pay-channel-text small { font-size: 14px; color: var(--text-2); }
.pay-channel-ico {
  flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.3); transition: transform 200ms;
}
.pay-channel-ico svg { width: 25px; height: 25px; fill: #16120b; margin-inline-start: -2px; }
@media (max-width: 420px) {
  .pay-logo { padding-inline: 12px; font-size: 17px; }
  .pay-logo svg { width: 26px; height: 26px; }
}

/* ==== «مش محتاج ترفع إثبات — الموقع بيتأكد لوحده»: شريطُ سرعة ====
   أخضرُ خافتٌ شبهُ شفاف، وبرقٌ في دايرة، ولمعةٌ بتعدّي في اتجاه القراية — إحساسُ
   «فوري» من غير ما يزعّق. والحركةُ بتقف لمن طالب بتقليلها من جهازه. */
.auto-note {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center; gap: 11px; margin: 12px 0 0; padding: 11px 14px; border-radius: 12px;
  font-size: 13.5px; line-height: 1.7; color: var(--text);
  background:
    repeating-linear-gradient(-62deg, transparent 0 14px, rgba(var(--gain-rgb), 0.07) 14px 16px),
    linear-gradient(90deg, rgba(var(--gain-rgb), 0.15), rgba(var(--gain-rgb), 0.05));
  border: 1px solid rgba(var(--gain-rgb), 0.32);
}
.auto-note[hidden] { display: none; }
.auto-note::before {
  content: '⚡'; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 15px; background: rgba(var(--gain-rgb), 0.18); box-shadow: 0 0 0 4px rgba(var(--gain-rgb), 0.07);
}
.auto-note::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(var(--gain-rgb), 0.2) 46%, rgba(255, 255, 255, 0.22) 50%, rgba(var(--gain-rgb), 0.2) 54%, transparent 70%);
  transform: translateX(110%); animation: auto-note-rush 3.2s cubic-bezier(0.5, 0, 0.3, 1) infinite;
}
html[dir='ltr'] .auto-note::after { animation-direction: reverse; }
@keyframes auto-note-rush { 0% { transform: translateX(110%); } 55%, 100% { transform: translateX(-110%); } }
@media (prefers-reduced-motion: reduce) { .auto-note::after { animation: none; display: none; } }

/* Never let side plans, the ticker or the 3D tilt widen the page (horizontal scroll on phones). */
html, body { overflow-x: clip; }
.home { overflow-x: clip; }

/* Bot card: backtest figures (win rate, return, profit factor) */
.bot-card-stats { margin-block: 14px 4px; }
.bot-card-stats dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 8px; margin: 0; }
.bot-card-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; background: rgba(var(--accent-rgb), 0.06); border: 1px solid var(--line); border-radius: 8px; }
.bot-card-stat dd { margin: 0; font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; color: var(--gold-hi); line-height: 1.1; }
.bot-card-stat dt { font-size: 11px; color: var(--text-2); text-align: center; }
.bot-card-stats-note { margin: 6px 0 0; font-size: 10.5px; color: var(--text-2); text-align: center; opacity: 0.8; }

/* ==== Discount card + countdown (under the plans) ========================================================= */
.offer {
  position: relative; isolation: isolate; overflow: hidden;
  max-width: 1000px; margin: 30px auto 6px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 22px 34px; align-items: center;
  padding: 28px clamp(18px, 3vw, 36px); border-radius: 14px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(var(--accent-rgb), 0.35), transparent 55%), linear-gradient(160deg, var(--card), var(--card));
  border: 1px solid rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 30px 70px -30px rgba(var(--accent-rgb), 0.45), inset 0 1px 0 rgba(var(--accent-rgb), 0.2);
}
.offer[hidden] { display: none !important; }
/* A light sweep crossing the frame every few seconds */
.offer-sweep { position: absolute; inset: -40% -10%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(var(--accent-rgb), 0.09) 50%, transparent 58%);
  transform: translateX(-60%); animation: offer-sweep 5.5s ease-in-out infinite; }
@keyframes offer-sweep { 0%, 55% { transform: translateX(-60%); } 100% { transform: translateX(60%); } }
.offer-copy { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.offer-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; border-radius: 4px;
  color: var(--gold-hi); background: rgba(var(--accent-rgb), 0.08); border: 1px solid rgba(var(--accent-rgb), 0.5); }
.offer-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7); animation: offer-pulse 1.6s ease-out infinite; }
@keyframes offer-pulse { 0% { box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7); } 100% { box-shadow: 0 0 0 10px rgba(var(--accent-rgb), 0); } }
.offer-title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.3; color: var(--text); }
.offer-save { margin: 0; font-size: 15px; color: var(--green-hi); font-weight: 600; }
.offer-seats { margin: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--gold-hi); font-weight: 500; }
.offer-timer { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.offer-ends { margin: 0; font-size: 13px; color: var(--text-2); text-align: center; letter-spacing: 0.03em; }
.offer-clock { display: flex; align-items: flex-start; justify-content: center; gap: clamp(4px, 1vw, 10px); }
.offer-unit { display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1 1 0; max-width: 96px; }
.offer-digits {
  display: block; width: 100%; padding: 12px 0 10px; text-align: center; border-radius: 8px;
  font-family: var(--font-lat); font-size: clamp(28px, 4.4vw, 46px); font-weight: 700; line-height: 1; letter-spacing: 0.02em;
  color: var(--gold-hi); background: var(--bg); border: 1px solid rgba(var(--accent-rgb), 0.35); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, 0.9);
}
.offer-digits.is-tick { animation: offer-tick 420ms cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes offer-tick { 0% { transform: translateY(-6px); opacity: 0.35; filter: blur(1px); } 100% { transform: none; opacity: 1; filter: none; } }
.offer-label { font-size: 12px; color: var(--text-2); }
.offer-sep { align-self: flex-start; padding-top: clamp(10px, 1.6vw, 16px); font-size: clamp(22px, 3.4vw, 36px); color: rgba(var(--accent-rgb), 0.7); animation: offer-blink 1s steps(2, start) infinite; }
@keyframes offer-blink { to { opacity: 0.25; } }
.offer-cta { font-size: 16px; padding-block: 14px; }
.offer-trust { margin: 0; text-align: center; font-size: 12px; color: var(--text-2); }
/* Last hour: the clock turns warm */
.offer.is-final .offer-digits { color: #ffd9a0; border-color: rgba(var(--accent-rgb), 0.55); }
/* The plan that carries a single-plan offer */
.plan.has-offer { box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.45), 0 0 60px -12px rgba(var(--accent-rgb), 0.4); }
.plan-ribbon { position: absolute; inset-block-start: 14px; inset-inline-end: -1px; z-index: 2; padding: 4px 12px; font-size: 12px; font-weight: 700; color: #ffffff;
  background: var(--gold-grad); box-shadow: 0 6px 18px -6px rgba(var(--accent-rgb), 0.7); border-radius: 4px 0 0 4px; }
html[dir='rtl'] .plan-ribbon { border-radius: 0 4px 4px 0; }
@media (max-width: 760px) {
  .offer { grid-template-columns: 1fr; padding: 22px 16px; margin-top: 22px; }
  .offer-copy { align-items: center; text-align: center; }
  .offer-unit { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .offer-sweep, .offer-pulse, .offer-sep { animation: none; }
}
.chains { display: flex; flex-direction: column; gap: 10px; margin-block: 12px; }
.chain-panel { display: flex; flex-direction: column; gap: 8px; }
/* Order page: crypto payment card with the exact amount and live auto-check */
.pay-card { display: flex; flex-direction: column; gap: 12px; border-color: var(--line-strong); }
.pay-exact-label { margin: 0; color: var(--text-2); font-size: 14px; }
.pay-exact { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pay-exact strong { font-family: var(--font-lat); font-size: clamp(30px, 6vw, 42px); font-weight: 700; color: var(--gold-hi); letter-spacing: 0.02em; }
.pay-exact .pay-unit { font-size: 18px; color: var(--text-2); }
.pay-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; align-items: center; }
.pay-dl dt { color: var(--text-2); font-size: 13px; }
.pay-dl dd { margin: 0; }
.pay-addr { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pay-addr code { word-break: break-all; color: var(--gold-hi); }
.pay-checking { display: flex; align-items: center; gap: 10px; justify-content: center; color: var(--gold-hi); font-size: 14px; margin: 4px 0 0; }
/* Order page: SpaceRemit. Our own method list (worldwide, then the buyer's country) as logo tiles; SpaceRemit's
   card box (and their method box as a fallback) sit in a frame with a skeleton until their iframe has loaded.
   Logo tiles stay white in every theme: the logos are drawn for a white background. */
.sp-card { gap: 16px; }
.sp-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.sp-top-text { flex: 1 1 260px; min-width: 0; }
.sp-top-text .card-title { margin-bottom: 4px; }
.sp-top-text p { margin: 0; }
.sp-amount { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; padding: 10px 16px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.12), rgba(var(--accent-rgb), 0.03)); }
.sp-amount-label { font-size: 12px; color: var(--text-2); letter-spacing: 0.02em; }
.sp-amount strong { font-family: var(--font-lat); font-size: clamp(26px, 5vw, 34px); font-weight: 700; line-height: 1.1; color: var(--gold-hi); }
.sp-form { display: flex; flex-direction: column; gap: 14px; }
.sp-panel[hidden] { display: none; }
.sp-methods { display: flex; flex-direction: column; gap: 14px; border-radius: 18px; }
.sp-methods.is-nudged { animation: sp-nudge 0.45s ease; }
@keyframes sp-nudge { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.sp-group { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 18px;
  border: 1px solid var(--line); background: rgba(var(--text-rgb), 0.025); }
.sp-group-head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.sp-group-badge { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 10px; overflow: hidden;
  color: var(--gold-hi); background: rgba(var(--accent-rgb), 0.12); border: 1px solid rgba(var(--accent-rgb), 0.25); }
.sp-group-badge img { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; display: block; }
.sp-group-title { flex: 1; min-width: 0; }
.sp-group-count { font-family: var(--font-lat); font-size: 12px; font-weight: 600; color: var(--text-2); padding: 2px 9px; border-radius: 999px;
  background: rgba(var(--text-rgb), 0.06); }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
@media (max-width: 480px) { .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .sp-group { padding: 12px; } }
.sp-tile { position: relative; height: 68px; padding: 10px 14px; display: grid; place-items: center; cursor: pointer;
  background: #fff; border: 1.5px solid rgba(15, 23, 42, 0.09); border-radius: 14px; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; -webkit-tap-highlight-color: transparent; }
.sp-tile:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12); }
.sp-tile:active { transform: translateY(0); }
.sp-tile:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.sp-tile-logo { width: 100%; height: 100%; display: grid; place-items: center; }
.sp-tile-logo img { max-width: 100%; max-height: 42px; object-fit: contain; opacity: 0; transition: opacity 0.3s ease; }
.sp-tile.is-loaded .sp-tile-logo img { opacity: 1; }
.sp-tile:not(.is-loaded)::before { content: ""; position: absolute; inset: 20px 24px; border-radius: 8px;
  background: linear-gradient(90deg, #eef0f4 25%, #f8f9fb 50%, #eef0f4 75%); background-size: 200% 100%; animation: sp-shimmer 1.2s linear infinite; }
.sp-tile.is-broken { display: none; }
.sp-tile.is-selected { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.25), 0 8px 20px rgba(15, 23, 42, 0.12); }
.sp-tile-check { position: absolute; top: -8px; inset-inline-end: -8px; width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 50%; color: #fff; background: var(--gold); box-shadow: 0 2px 6px rgba(var(--accent-rgb), 0.45);
  opacity: 0; transform: scale(0.5); transition: opacity 0.15s ease, transform 0.2s cubic-bezier(0.3, 1.6, 0.5, 1); }
.sp-tile.is-selected .sp-tile-check { opacity: 1; transform: scale(1); }
.sp-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(var(--text-rgb), 0.06); }
.sp-tab { position: relative; }
.sp-tab input { position: absolute; opacity: 0; pointer-events: none; }
.sp-tab span { display: block; padding: 10px 8px; text-align: center; font-weight: 600; font-size: 14px; border-radius: 11px; cursor: pointer;
  color: var(--text-2); transition: background 0.15s ease, color 0.15s ease; }
.sp-tab input:checked + span { color: var(--text); background: var(--card); box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
.sp-tab input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.sp-frame { position: relative; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); min-height: 140px; }
.sp-frame-local { min-height: 307px; }
.sp-frame iframe { display: block; width: 100%; border: 0; opacity: 0; transition: opacity 0.35s ease; }
.sp-frame.is-ready iframe { opacity: 1; }
.sp-skel { position: absolute; inset: 0; padding: 14px; display: flex; flex-direction: column; gap: 10px; transition: opacity 0.3s ease, visibility 0.3s; }
.sp-frame.is-ready .sp-skel, .sp-frame.is-failed .sp-skel { opacity: 0; visibility: hidden; }
.sk { border-radius: 10px; background: linear-gradient(90deg, #eef0f4 25%, #f8f9fb 50%, #eef0f4 75%); background-size: 200% 100%; animation: sp-shimmer 1.2s linear infinite; }
.sk-bar { height: 46px; }
.sk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sk-tile { height: 70px; }
@keyframes sp-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .sk, .sp-tile:not(.is-loaded)::before, .sp-methods.is-nudged { animation: none; } .sp-tile:hover { transform: none; } }
.sp-pay-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; font-size: 16px; }
.sp-status { margin: 0; }
.sp-status .btn { margin-top: 8px; }
.sp-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 12.5px; color: var(--text-2); text-align: center; }
.sp-secure svg { flex: none; color: var(--gain); }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(var(--accent-rgb), 0.3); border-top-color: var(--gold); border-radius: 50%; animation: vx-spin 0.8s linear infinite; }
@keyframes vx-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
.receipt-fallback { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 10px; }
.receipt-fallback summary { cursor: pointer; color: var(--text-2); font-size: 14px; }
.receipt-fallback form { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
/* Checkout progress bar (3 steps) — shared by the pay and order pages */
.checkout-steps { display: flex; align-items: flex-start; justify-content: space-between; list-style: none; margin: 14px auto 28px; padding: 0; max-width: 460px; counter-reset: step; }
.checkout-steps .step { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 9px; position: relative; text-align: center; }
/* connector line sits behind the dots, at their vertical centre */
.checkout-steps .step::before, .checkout-steps .step::after { content: ''; position: absolute; top: 17px; height: 2px; border-radius: 2px; background: var(--line); z-index: 0; transition: background 300ms; }
.checkout-steps .step::before { inset-inline-start: -50%; width: 50%; }
.checkout-steps .step::after { inset-inline-end: -50%; width: 50%; }
.checkout-steps .step:first-child::before, .checkout-steps .step:last-child::after { display: none; }
.step-dot { position: relative; z-index: 1; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-lat); font-size: 15px; font-weight: 700; background: var(--bg-2); border: 1px solid var(--line-strong); color: var(--text-2); transition: all 300ms; }
.step-label { font-size: 12.5px; color: var(--text-2); line-height: 1.3; max-width: 92px; transition: color 300ms; }
/* current step: gold, stays lit until completed */
.step-active .step-dot { border-color: var(--gold); color: #ffffff; background: var(--gold-grad); box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.16), 0 8px 20px -8px rgba(var(--accent-rgb), 0.9); animation: step-pulse 2s ease-in-out infinite; }
.step-active .step-label { color: var(--text); font-weight: 700; }
@keyframes step-pulse { 0%, 100% { box-shadow: 0 0 0 5px rgba(var(--accent-rgb), 0.16), 0 8px 20px -8px rgba(var(--accent-rgb), 0.9); } 50% { box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0.05), 0 8px 22px -8px rgba(var(--accent-rgb), 1); } }
/* completed step: emerald check, filled connector coming into it */
.step-done .step-dot { border-color: var(--green-hi); background: var(--green-hi); color: var(--gain-deep); }
.step-done .step-label { color: var(--gain-soft); }
.step-done::before, .step-active::before { background: linear-gradient(90deg, var(--green-hi), var(--gold)); }
.step-done::after { background: var(--green-hi); }
html[dir='rtl'] .step-done::before, html[dir='rtl'] .step-active::before { background: linear-gradient(270deg, var(--green-hi), var(--gold)); }
@media (prefers-reduced-motion: reduce) { .step-active .step-dot { animation: none; } }
.pay-breakdown { margin: 4px 0 0; display: grid; gap: 6px; font-size: 14px; }
.pay-breakdown > div { display: flex; justify-content: space-between; gap: 12px; }
.pay-breakdown dt { color: var(--text-2); margin: 0; }
.pay-breakdown dd { margin: 0; }
.pay-breakdown-total { border-top: 1px solid var(--line); padding-top: 6px; margin-top: 2px; }
.pay-breakdown-total dt { color: var(--text); font-weight: 600; }
.pay-breakdown-total dd { color: var(--gold-hi); font-weight: 700; }
.summary-list .payable { font-size: 22px; font-weight: 700; color: var(--gold-hi); }

/* ==== Affiliate programme (apply, sign in, dashboard) ==== */
.affiliate { padding-block: 32px 64px; display: flex; flex-direction: column; gap: 20px; }
.aff-rate-note { margin: 0; color: var(--rim); font-weight: 600; }
.aff-two { display: grid; gap: 18px; }
@media (min-width: 700px) { .aff-two { grid-template-columns: 1fr 1fr; } }
.aff-applied { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.aff-check { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 700; color: var(--gain-deep); background: var(--gain); }
.aff-login { max-width: 460px; margin-inline: auto; width: 100%; }
.aff-dash { gap: 18px; }
.aff-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.aff-head h1 { font-size: 28px; }
@media (min-width: 900px) { .aff-head h1 { font-size: 36px; } }
.aff-head p { margin: 4px 0 0; }
.aff-stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card.aff-stat { display: flex; flex-direction: column; gap: 6px; padding: 20px; }
.aff-stat-label { font-size: 13px; color: var(--text-dim); font-weight: 600; }
.aff-stat strong { font-size: 30px; font-weight: 800; color: var(--rim); line-height: 1.1; }
.aff-stat.is-available strong { color: var(--gain); }
.aff-stat .btn { align-self: flex-start; margin-top: 4px; }
.aff-stat small { font-size: 12px; }
.aff-ledger-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-block-end: 12px; }
.aff-ledger-head .card-title { margin: 0; }
.aff-filters { display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap; }
.aff-filters label { display: flex; flex-direction: column; gap: 4px; }
.aff-filters select, .aff-filters input { min-height: 40px; width: auto; min-width: 150px; }
.aff-filters .btn { min-height: 40px; }
.aff-period { margin: 0 0 12px; font-size: 14px; color: var(--text-dim); }
.aff-period strong { color: var(--rim); }
.aff-table { min-width: 520px; }
.aff-table td.gain { font-weight: 700; }
.aff-tier-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.aff-tier-list li { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; color: var(--text-dim); }
.aff-tier-list li::before { content: '○'; color: var(--text-dim); }
.aff-tier-list li.is-done { color: var(--text); }
.aff-tier-list li.is-done::before { content: '✓'; color: var(--gain); }
.aff-tier-list li.is-current { color: var(--text); border-color: var(--volt-hot); background: rgba(var(--text-rgb), 0.03); font-weight: 700; }
.aff-tier-list li.is-current::before { content: '★'; color: var(--volt-hot); }
.aff-sub { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.aff-binance-form { display: grid; gap: 12px; margin-block-start: 10px; align-items: end; }
@media (min-width: 700px) { .aff-binance-form { grid-template-columns: 1fr 1fr auto; } }
.aff-req-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; font-size: 13px; }
.aff-req-list li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ==== Affiliate platform: side panel (drawer on phones), chart, funnel, marketing kit ==== */
.aff-dash { display: grid; gap: 20px; align-items: start; }
.aff-dash > * { min-width: 0; }
.aff-body { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.aff-menu-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.aff-burger {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer;
  border: 1px solid var(--border); border-radius: 12px; color: var(--rim); background: var(--obsidian);
}
.aff-burger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.aff-burger:hover { border-color: var(--volt-hot); }
.aff-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, 0.6); opacity: 0; pointer-events: none; transition: opacity 200ms ease; }
.aff-menu-toggle:checked ~ .aff-scrim { opacity: 1; pointer-events: auto; }
.aff-side {
  position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 60; width: min(290px, 84vw);
  display: flex; flex-direction: column; gap: 14px; padding: 18px 16px; overflow-y: auto;
  background: var(--obsidian); border-inline-end: 1px solid var(--border);
  translate: -100% 0; transition: translate 240ms ease;
}
html[dir='rtl'] .aff-side { translate: 100% 0; }
.aff-menu-toggle:checked ~ .aff-side, html[dir='rtl'] .aff-menu-toggle:checked ~ .aff-side { translate: 0 0; }
.aff-side-close { align-self: flex-end; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); color: var(--text-dim); font-size: 22px; line-height: 1; cursor: pointer; }
.aff-side-who { display: flex; align-items: center; gap: 10px; padding-block-end: 12px; border-bottom: 1px solid var(--border); }
.aff-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: var(--void); background: var(--volt-hot); }
.aff-side-name { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.aff-side-name strong { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aff-side-name small { font-size: 12px; }
.aff-nav { display: flex; flex-direction: column; gap: 4px; }
.aff-nav-item { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; color: var(--text-dim); font-size: 14px; font-weight: 600; transition: color 150ms, background-color 150ms; }
.aff-nav-item:hover { color: var(--text); background: rgba(var(--text-rgb), 0.04); }
.aff-nav-item.is-active { color: var(--void); background: var(--volt-hot); }
.aff-nav-icon { flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; }
.aff-nav-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.aff-side-out { margin-block-start: auto; padding-block-start: 12px; border-top: 1px solid var(--border); }
.aff-head { align-items: center; gap: 12px; }
@media (min-width: 900px) {
  .aff-dash { grid-template-columns: 250px minmax(0, 1fr); }
  .aff-side { position: sticky; top: 84px; bottom: auto; z-index: 1; width: auto; translate: none; border: 1px solid var(--border); border-radius: var(--radius); max-height: calc(100vh - 104px); }
  html[dir='rtl'] .aff-side { translate: none; }
  .aff-burger, .aff-scrim, .aff-side-close { display: none; }
  .aff-side-out { margin-block-start: 8px; }
}
@media (prefers-reduced-motion: reduce) { .aff-side, .aff-scrim { transition: none; } }
.aff-link-row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.aff-link-row .destination { flex: 1 1 260px; }
.aff-qr { flex: none; background: #fff; padding: 8px; border-radius: 8px; line-height: 0; }
.aff-qr:empty { display: none; }
.aff-qr img, .aff-qr svg { width: 120px; height: 120px; display: block; }
.aff-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; align-items: center; }
.aff-chart svg { width: 100%; height: auto; display: block; }
.aff-chart-axis { stroke: var(--border); stroke-width: 1; }
.aff-chart-label { fill: var(--text-dim); font: 500 10px var(--font-lat); }
.aff-bar { fill: var(--border); }
.aff-bar.is-on { fill: var(--volt-hot); }
.aff-funnel { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); margin-block: 6px 12px; }
.aff-funnel-step { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--border); border-radius: 10px; }
.aff-funnel-step strong { font-size: 26px; font-weight: 800; }
.aff-funnel-step.is-result strong { color: var(--gain); }
.aff-progress { width: 100%; height: 8px; appearance: none; border: 0; border-radius: 4px; overflow: hidden; background: var(--border); }
.aff-progress::-webkit-progress-bar { background: var(--border); }
.aff-progress::-webkit-progress-value { background: var(--volt-hot); }
.aff-progress::-moz-progress-bar { background: var(--volt-hot); }
.aff-recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.aff-recent li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.aff-recent li .muted { font-size: 12px; }
.aff-promos { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.aff-promo { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--void); }
.aff-promo p { margin: 0; flex: 1; white-space: pre-line; font-size: 14px; line-height: 1.8; }
.aff-promo .btn { flex: none; }
@media (max-width: 600px) { .aff-promo { flex-direction: column; } .aff-recent li { grid-template-columns: 1fr auto; } }
.aff-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.7; }
.aff-terms input { width: 20px; height: 20px; min-height: 0; flex: none; margin-top: 3px; accent-color: var(--volt-hot); }
.aff-terms a { text-decoration: underline; text-underline-offset: 3px; }

/* ==== Affiliate landing: a partner-programme page, not a bare form ==== */
.aff-landing { padding-block: 0 64px; display: flex; flex-direction: column; }
.aff-hero { position: relative; overflow: hidden; padding-block: 56px 44px; text-align: center; border-bottom: 1px solid var(--border); }
.aff-hero::before { content: ''; position: absolute; inset: -40% 20% auto; height: 420px; pointer-events: none; background: radial-gradient(closest-side, rgba(var(--text-rgb), 0.06), transparent 70%); }
.aff-hero > .container { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.aff-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line-strong, var(--border)); background: rgba(var(--text-rgb), 0.03); color: var(--rim); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.aff-hero-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gain); box-shadow: 0 0 10px var(--gain); }
.aff-hero-title { font-size: clamp(30px, 6vw, 56px); line-height: 1.2; max-width: 18ch; }
.aff-hero-sub { margin: 0; max-width: 62ch; font-size: clamp(15px, 2.2vw, 18px); color: var(--text-dim); }
.aff-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.aff-hero-cta .btn { min-width: 190px; }
.aff-chips { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; font-size: 13.5px; font-weight: 500; color: var(--text-dim); }
.aff-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--border); border-radius: 999px; }
.aff-chips li::before { content: '✓'; color: var(--gain); font-weight: 700; }
.aff-cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.aff-card { display: flex; flex-direction: column; gap: 10px; }
.aff-card h3 { font-size: 17px; font-weight: 700; }
.aff-card-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border); background: rgba(var(--text-rgb), 0.03); }
.aff-card-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--volt-hot); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.aff-steps { list-style: none; counter-reset: aff; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.aff-steps li { position: relative; display: flex; gap: 14px; align-items: flex-start; padding: 22px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--obsidian); }
.aff-steps p { margin: 0; font-size: 15px; line-height: 1.8; }
.aff-step-n { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 800 16px var(--font-lat); color: var(--void); background: var(--volt-hot); }
.aff-kit { display: grid; gap: 20px; align-items: center; }
@media (min-width: 900px) { .aff-kit { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 36px; } }
.aff-kit-copy .section-title, .aff-kit-copy .section-sub { text-align: start; margin-inline: 0; }
.aff-kit-copy .section-title::before { margin-inline: 0; }
.aff-kit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.aff-kit-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--void); font-size: 14.5px; line-height: 1.75; }
.aff-kit-list li::before { content: '✓'; flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--void); background: var(--gain); }
.aff-faq { display: grid; gap: 12px; }
.aff-faq-item { padding: 0; }
.aff-faq-item summary { padding: 18px 20px; cursor: pointer; font-size: 16px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.aff-faq-item summary::-webkit-details-marker { display: none; }
.aff-faq-item summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); display: grid; place-items: center; font-weight: 400; color: var(--rim); }
.aff-faq-item[open] summary::after { content: '−'; }
.aff-faq-item p { margin: 0; padding: 0 20px 20px; color: var(--text-dim); line-height: 1.9; }
.aff-final { margin-block-start: 26px; }
@media (max-width: 600px) { .aff-hero { padding-block: 40px 34px; } .aff-hero-cta .btn { width: 100%; } }

/* ============================================================================================================
   JoeX premium layer
   ============================================================================================================ */
html[lang='ar'] body { line-height: 1.85; }
h1, h2, h3 { letter-spacing: -0.01em; }
html[lang='en'] :is(h1, h2, .hero-title, .section-title, .pay-title, .offer-title, .status-head h1, .trial-head h1) { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.025em; }

/* The page itself stays quiet behind the 3D art: no grid, just depth. */
.page-home::before { display: none; }
body::before {
  background:
    radial-gradient(900px 520px at 85% -10%, rgba(var(--accent-rgb), 0.14), transparent 62%),
    radial-gradient(700px 520px at -5% 105%, rgba(var(--accent-hi-rgb), 0.06), transparent 62%);
  -webkit-mask-image: none; mask-image: none;
}

/* Scene: a live candle chart across the whole page (client/scene.ts), full strength behind the hero and dimmed
   once the hero has scrolled away. The veil keeps the reading side calm without hiding the chart. */
.scene { background: radial-gradient(900px 560px at 50% 36%, rgba(var(--accent-rgb), 0.09), transparent 70%), var(--bg); }
.scene.is-live.is-dim canvas { opacity: 0.3; }
.scene::after { background: linear-gradient(to left, rgba(var(--bg-rgb), 0.6) 0%, rgba(var(--bg-rgb), 0.28) 40%, rgba(var(--bg-rgb), 0) 62%), linear-gradient(to top, rgba(var(--bg-rgb), 0.75) 0%, rgba(var(--bg-rgb), 0) 24%); }
html[dir='ltr'] .scene::after { background: linear-gradient(to right, rgba(var(--bg-rgb), 0.6) 0%, rgba(var(--bg-rgb), 0.28) 40%, rgba(var(--bg-rgb), 0) 62%), linear-gradient(to top, rgba(var(--bg-rgb), 0.75) 0%, rgba(var(--bg-rgb), 0) 24%); }
@media (max-width: 760px) {
  .scene::after, html[dir='ltr'] .scene::after { background: linear-gradient(to top, rgba(var(--bg-rgb), 0.9) 0%, rgba(var(--bg-rgb), 0.62) 44%, rgba(var(--bg-rgb), 0.08) 62%); }
}

/* Hero: copy on the reading side, the art (and the product card under it) on the other. */
.hero { gap: 32px; padding-block: 40px 28px; align-items: stretch; }
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; padding-block: 72px 48px; min-height: calc(100vh - 72px); max-height: 980px; }
}
.hero-copy { justify-content: center; gap: 20px; max-width: 640px; }
.hero-title::before { display: none; }
.hero-title { font-size: clamp(36px, 5.6vw, 66px); font-weight: 700; line-height: 1.16; }
html[lang='ar'] .hero-title { line-height: 1.3; }
.hero-sub { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.8; max-width: 560px; }
.hero-eyebrow {
  align-self: flex-start; margin: 0; display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(var(--accent-rgb), 0.08);
  color: var(--gold-hi); font-size: 13px; font-weight: 600; letter-spacing: 0.01em;
}
.hero-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gain); box-shadow: 0 0 0 4px rgba(var(--gain-rgb), 0.15); }
.hero-ctas .btn { min-width: 200px; }
.hero-markets { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.market {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(var(--text-rgb), 0.025); font-size: 13.5px; font-weight: 600; color: var(--text);
}
.market i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.market-gold i { background: linear-gradient(135deg, #ffe39a, #d9a43c); box-shadow: 0 0 8px rgba(232, 189, 90, 0.6); }
.market-silver i { background: linear-gradient(135deg, #ffffff, #aeb7c2); box-shadow: 0 0 8px rgba(207, 214, 223, 0.5); }
.market-fx i { background: linear-gradient(135deg, #5ce0a5, #16c784); box-shadow: 0 0 8px rgba(var(--gain-rgb), 0.5); }
.market-crypto i { background: linear-gradient(135deg, #ffc46b, #f7931a); box-shadow: 0 0 8px rgba(247, 147, 26, 0.5); }
.trust-row { gap: 6px 20px; }

/* Visual column: the product card, with the market art behind it. The art never takes room in the layout: on wide
   screens it rises behind the card, on phones it sits behind the headline. */
.hero { position: relative; }
.hero-copy { position: relative; z-index: 1; }
.hero-visual { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; min-width: 0; }
.hero-visual .bot-card-wrap { position: relative; z-index: 1; }
.hero-art { position: absolute; z-index: 0; left: 50%; top: 3%; width: min(600px, 118%); aspect-ratio: 16 / 10; transform: translateX(-50%); pointer-events: none; }

/* Market art (client/market-art.ts): a fan of real notes at a three-quarter angle, the gold bar resting in front of
   it and the bitcoin coin turning beside it — one grouped piece that floats as a whole. */
.mk-cluster { position: absolute; inset: 0; perspective: 1200px; }
.mk-float { position: absolute; inset: 0; transform-style: preserve-3d; animation: mk-float 7s ease-in-out infinite alternate; }
.mk-fan { position: absolute; left: 8%; top: 6%; width: 66%; aspect-ratio: 2.08; transform-style: preserve-3d; transform: rotateX(24deg) rotateY(-16deg) rotateZ(-4deg); animation: mk-fan 9s ease-in-out infinite alternate; }
.mk-note {
  position: absolute; left: 0; bottom: 0; width: 100%; height: auto; border-radius: 3px;
  transform-origin: 16% 90%; transform: rotateZ(var(--a)) translateZ(var(--z));
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.18);
}
.mk-n1 { --a: -24deg; --z: 0px; }
.mk-n2 { --a: -13deg; --z: 4px; }
.mk-n3 { --a: -3deg; --z: 8px; }
.mk-n4 { --a: 7deg; --z: 12px; animation: mk-flutter 5s ease-in-out infinite alternate; }
.mk-bar { position: absolute; left: 4%; bottom: 3%; width: 40%; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 22px rgba(var(--accent-rgb), 0.25)); }
.mk-bar canvas { display: block; width: 100%; height: auto; animation: mk-bar 6.5s ease-in-out infinite alternate; }
.mk-btc { position: absolute; right: 5%; bottom: 7%; width: 25%; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 20px rgba(var(--accent-rgb), 0.28)); }
.mk-stage { perspective: 760px; }
.mk-coin { position: relative; aspect-ratio: 1; transform-style: preserve-3d; animation: mk-coin 7s ease-in-out infinite alternate; }
.mk-coin canvas { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; }
.mk-face { transform: translateZ(4px); animation: mk-glint 14s ease-in-out infinite; }
.mk-rim { transform: translateZ(0); }
.mk-rim-back { transform: translateZ(-4px); }
@keyframes mk-float { from { transform: translateY(0); } to { transform: translateY(-10px); } }
@keyframes mk-fan {
  from { transform: rotateX(24deg) rotateY(-16deg) rotateZ(-4deg); }
  to { transform: rotateX(16deg) rotateY(-8deg) rotateZ(-2deg); }
}
@keyframes mk-flutter {
  from { transform: rotateZ(var(--a)) translateZ(var(--z)); }
  to { transform: rotateZ(calc(var(--a) + 2.5deg)) translateZ(calc(var(--z) + 6px)); }
}
@keyframes mk-bar { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-5px) rotate(1deg); } }
@keyframes mk-coin {
  from { transform: translateY(0) rotateX(8deg) rotateY(-40deg); }
  to { transform: translateY(-10px) rotateX(-6deg) rotateY(40deg); }
}
/* The face catches the light as the coin turns toward the viewer. */
@keyframes mk-glint {
  0%, 100% { filter: brightness(0.9); }
  25%, 75% { filter: brightness(1.16); }
  50% { filter: brightness(0.9); }
}
@media (prefers-reduced-motion: reduce) {
  .mk-float, .mk-fan, .mk-n4, .mk-bar canvas, .mk-coin, .mk-face { animation: none; }
}
.hero-visual .bot-card-wrap { width: min(430px, 100%); margin-inline: auto; flex: none; }
.hero-visual .bot-card { padding: 22px; }
.hero-visual .bot-card-points { gap: 8px; margin-block-end: 14px; }
.hero-visual .bot-card-points li { font-size: 14px; }
@media (max-width: 959px) {
  .hero { display: flex; flex-direction: column; gap: 22px; }
  .hero-visual { display: contents; }
  /* Behind the eyebrow and headline, dimmed and dissolving downward so the copy stays easy to read. */
  .hero-art {
    top: 0; width: min(520px, 104%); filter: brightness(0.46) saturate(0.95);
    -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 96%); mask-image: linear-gradient(to bottom, #000 45%, transparent 96%);
  }
  .hero-title { text-shadow: 0 2px 18px rgba(var(--bg-rgb), 0.7); }
  .hero-visual .bot-card-wrap { order: 2; }
}

/* Product card: glass over the art, crisper and calmer. */
.bot-card { --rx: 3deg; --ry: -6deg; border-radius: 18px; background: linear-gradient(160deg, rgba(var(--card-rgb), 0.82), rgba(var(--bg-rgb), 0.9)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(var(--accent-rgb), 0.18); }
html[dir='ltr'] .bot-card { --ry: 6deg; }
.bot-card::before { border-color: rgba(var(--accent-rgb), 0.08); border-radius: 12px; }

/* Sections: one header system. The rhythm was 72px a side (144px between two
   sections on desktop); the owner found it too airy, so it is 44px a side now
   — about 88px between sections, 56px on phones (2026-10-31). */
.section { padding-block: 28px; }
@media (min-width: 900px) { .section { padding-block: 44px; } }
.section-title { font-weight: 700; }
.section-title::before { width: 40px; height: 3px; background: var(--gold-grad); }

/* أقسامٌ وصفحاتٌ من صنع المالك: شكلٌ واحدٌ لكلّ ما يصنعه، فلا تخرج
   صفحةٌ أقسامُها لا تشبه بعضها — والزائر يقرأ الاختلاف ارتباكًا. */
.block-image { display: block; width: 100%; max-width: 760px; height: auto; margin: 0 auto 18px; border-radius: 12px; border: 1px solid var(--line); }
.rich { color: var(--text-2); line-height: 1.9; max-width: 760px; }
.rich strong { color: var(--text); font-weight: 700; }
.rich a { color: var(--gold-hi); }
.rich li { margin: 0 0 6px; }

/* ==========================================================================
   طبقةُ التهدئة — خفضُ التوهّجِ وإيقافُ النبض
   ==========================================================================
   الظلُّ الملوَّنُ كان يُستعمل في كلِّ زرٍّ وبطاقةٍ ونقطةٍ بشفافيّةٍ تقارب
   الواحد، فصار البريقُ هو الخلفيّةَ لا التمييز، ولم يَعُدْ شيءٌ يبرز لأنّ
   كلَّ شيءٍ يبرز. وثلاثةُ عناصرَ كانت تنبض بلا توقّف — والعينُ لا تهدأ
   أمام حركةٍ دائمةٍ في طرفِ النظر.
   فبقيَ العمقُ (ظلٌّ أسودُ خافت) وذهب الوهج، وثبتت النابضات على أهدأ
   حالاتها. والبنيةُ فوق لم تُمَسَّ: حذفُ هذا القسمِ يُعيد ما كان.
   -------------------------------------------------------------------------- */

/* الأزرار: عمقٌ بلا هالة */
.btn-primary {
  box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.85),
              inset 0 1px 0 rgba(var(--text-rgb), 0.18);
}
.btn-primary:hover {
  filter: none;
  box-shadow: 0 14px 28px -16px rgba(0, 0, 0, 0.9),
              inset 0 1px 0 rgba(var(--text-rgb), 0.22);
}
.btn-glow { box-shadow: 0 10px 24px -16px rgba(0, 0, 0, 0.85); }

/* البطاقات: الحدُّ يميّزها، لا الهالة */
.plan.is-featured {
  box-shadow: 0 24px 48px -34px rgba(0, 0, 0, 0.9),
              inset 0 1px 0 rgba(var(--accent-rgb), 0.12);
  animation: none;
}
.plan.has-offer { box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.3); }

/* زرُّ تليجرام العائم */
.float-tg { box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.8); }
.float-tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.85);
}

/* النابضات تثبت */
.offer-pulse,
.ticker-pulse,
.step-active .step-dot { animation: none; }
.offer-pulse { box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.18); }
.step-active .step-dot { box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.12); }

/* نقاطُ الأسواقِ والشارات: لونٌ بلا إشعاع */
.market-gold i,
.market-silver i,
.market-fx i,
.market-crypto i,
.aff-hero-badge::before { box-shadow: none; }

/* الرسمُ ثلاثيُّ الأبعاد: يبقى ظلُّه الأسودُ ويذهب الوهجُ الملوَّن */
.mk-bar,
.mk-btc { filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.55)); }

/* العنوانُ بلا هالةٍ خلفَ الحروف */
.hero-title { text-shadow: none; }

/* ومَن طلب تقليلَ الحركةِ من نظامِه، تُوقَف عنده كلُّها */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ==========================================================================
   ثيمُ «الأسود النحاسيّ» — تخطيطُه وحدَه
   ==========================================================================
   كلُّ ما تحت هذا السطرِ محصورٌ في `html[data-bot-theme="onyx"]`، فالتسعةُ
   الباقيةُ لا يبلغها منه شيء. والسمةُ تُكتب من `brandProps` فتتبع البوتَ
   المعروضَ لا الصفحة.
   -------------------------------------------------------------------------- */

/* خطُّ العناوينِ من 28px فأكبر، ولكلِّ لغةٍ حرفُها */
html[data-layout='onyx'][lang='ar'] :is(.hero-title, .section-title, .growth-value) {
  font-family: var(--font-display-ar);
  font-weight: 700;
  letter-spacing: 0;
}
html[data-layout='onyx'][lang='en'] :is(.hero-title, .section-title, .growth-value) {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
}

/* لوحٌ واحدٌ متّصل: لا تبديلَ خلفيّةٍ بين الأقسام */
html[data-layout='onyx'] body,
html[data-layout='onyx'] .section-alt { background: var(--bg); }

/* لا ظلَّ ولا توهّجَ في هذا الثيم — الفصلُ بخطٍّ واحدٍ لا غير.
   **وهي `!important` على كلِّ عنصر، فما أراده هذا التخطيطُ من ظلٍّ بعدَها
   يحتاج `!important` مثلَها.** وهي ثلاثةٌ لا رابعَ لها، وكلُّها مكتوبٌ
   تحتها بعلامتِها: بطاقةُ البوتِ المائلة، ونصُّ الواجهةِ فوقَ الشارت،
   ونصُّ البانرِ فوقَ الصورة. */
html[data-layout='onyx'] *,
html[data-layout='onyx'] *::before,
html[data-layout='onyx'] *::after { box-shadow: none !important; text-shadow: none !important; }

/* زرُّ الفعل: أبيضُ على أسود في الداكن، وأسودُ على أبيضَ في الفاتح */
html[data-layout='onyx'] .btn-primary {
  background: var(--btn-bg);
  color: var(--btn-text);
  border: 1px solid var(--btn-bg);
  border-radius: 9999px;
}
html[data-layout='onyx'] .btn-primary:hover { filter: brightness(0.92); transform: none; }
html[data-layout='onyx'] .btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 9999px;
}
html[data-layout='onyx'] .btn-secondary:hover { border-color: var(--text-2); }

/* ---- الهيرو ------------------------------------------------------------- */
/* الارتفاعُ من المحتوى لا من الشاشة: القاعدةُ العامّةُ تفرض شاشةً كاملةً
   على `.hero`، فيبقى تحت البطاقةِ فراغٌ لا شيءَ فيه. */
.hero-onyx { display: grid; gap: 40px; align-items: center; padding-block: 48px 40px; min-height: 0; max-height: none; }
@media (min-width: 960px) {
  /* **العمودان يبدآن من سطرٍ واحد.** توسيطُهما كان يترك فراغًا فوق
     العنوانِ وتحته حين تطول البطاقةُ ببيانات الاختبار — فيبدو النصُّ
     عائمًا في فراغٍ لا مبدوءًا به. */
  .hero-onyx {
    /* البطاقةُ عرضُها ثابتٌ وما بقي للعنوان: النسبةُ كانت تضيّق عليه
       فينكسر السطرُ العربيُّ في غير موضعِه. */
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 64px; padding-block: 76px 64px;
    min-height: 0; max-height: none; align-items: start;
  }
  /* إزاحةٌ صغيرةٌ تُحاذي أعلى حرفِ العنوان بأوّلِ سطرٍ في البطاقة */
  .hero-onyx .hero-copy { padding-block-start: 10px; }
}
.hero-onyx .hero-copy { display: flex; flex-direction: column; gap: 22px; max-width: 660px; }

/* السطرُ الصغيرُ نصٌّ عارٍ لا كبسولةٌ محاطةٌ بحدٍّ وخلفيّة */
.hero-onyx .hero-eyebrow {
  align-self: stretch; margin: 0; display: block; padding: 0;
  border: 0; border-radius: 0; background: none;
  font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: 0.04em;
}
.hero-onyx .hero-eyebrow::before { content: none; }

.hero-onyx .hero-title {
  margin: 0; font-size: clamp(40px, 6.4vw, 80px);
  /* الحرفُ العربيُّ أطولُ صعودًا ونزولًا، فمسافةُ السطرِ أوسعُ قليلًا */
  line-height: 1.25;
}
.hero-onyx .hero-title::before { content: none; }

.hero-onyx .hero-sub {
  margin: 0; color: var(--text-2);
  font-size: clamp(18px, 1.7vw, 20px); line-height: 1.75; max-width: 54ch;
  font-family: var(--font-ar);
}
html[lang='en'] .hero-onyx .hero-sub { font-family: var(--font-lat); }

.hero-onyx .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-onyx .hero-ctas .btn { min-width: 0; padding-inline: 30px; min-height: 52px; }

/* الأسواقُ كبسولاتٌ شفّافةٌ بحدٍّ رفيع */
.hero-onyx .hero-markets { margin: 2px 0 0; gap: 8px; }
.hero-onyx .market {
  background: transparent; border: 1px solid #777a88; border-radius: 9999px;
  padding: 6px 15px; font-size: 13px; color: var(--text-2); gap: 0;
}
.hero-onyx .market i { display: none; }

/* سطرُ الثقة: فواصلُ رفيعةٌ بين بنوده */
.hero-onyx .trust-row { gap: 0; font-size: 13px; color: var(--text-2); align-items: center; }
.hero-onyx .trust-row li { padding-inline: 14px; border-inline-start: 1px solid var(--line); }
.hero-onyx .trust-row li:first-child { padding-inline-start: 0; border-inline-start: 0; }
.hero-onyx .trust-row li::before { content: none; }

.hero-onyx .trial-link { align-self: flex-start; color: var(--gold); }

/* ---- بطاقةُ النموّ ------------------------------------------------------- */
.growth-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 22px; display: flex; flex-direction: column; gap: 18px;
  width: 100%; max-width: 280px; justify-self: center;
}
.growth-head { display: flex; flex-direction: column; gap: 10px; }
.growth-label { margin: 0; font-size: 13px; color: var(--text-2); }
.growth-figure { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.growth-value { font-size: clamp(32px, 4vw, 44px); line-height: 1; color: var(--text); }
.growth-span {
  font-size: 11.5px; color: var(--text-2); padding: 4px 10px;
  border: 1px solid var(--line); border-radius: 9999px; white-space: nowrap;
}

.growth-spark { display: block; width: 100%; height: 84px; }
.growth-spark-line { fill: none; stroke: url(#growth-line); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.growth-stats { margin: 0; display: flex; flex-direction: column; }
.growth-stat {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 10px; border-block-start: 1px solid var(--line);
}
.growth-stat:first-child { border-block-start: 0; }
.growth-stat dt { margin: 0; font-size: 13.5px; color: var(--text-2); }
.growth-stat dd { margin: 0; font-size: 15px; font-weight: 600; color: var(--text); }

.growth-note { margin: 0; font-size: 12px; line-height: 1.6; color: var(--text-2); }

/* الموبايل: عمودٌ واحد، والبطاقةُ تحت الكلام، وهامشٌ على الجانبَين.
   وهامشُ `.container` يبقى كما هو — إلغاؤه كان يُلصِق النصَّ بالحافّة. */
@media (max-width: 959px) {
  .hero-onyx { padding-block: 44px 36px; gap: 28px; }
  .hero-onyx .hero-copy { gap: 20px; }
  .hero-onyx .hero-title { font-size: clamp(34px, 9vw, 46px); }
  /* الكارت صغيرٌ ومتوسِّطٌ لا يملأ الشاشة على التابلت والموبايل */
  .growth-card { max-width: 270px; margin-inline: auto; }

  /* **زرٌّ واحدٌ يملأ العرض، والثاني رابط.** صندوقان ممتلئان فوق بعضهما
     على شاشةِ هاتفٍ يتنافسان على النقرة، فلا يبرز أحدُهما — والثانويُّ
     هنا دعوةٌ للاطّلاع لا للشراء، فيأخذ وزنَه. */
  .hero-onyx .hero-ctas { flex-direction: column; gap: 12px; align-items: stretch; }
  .hero-onyx .hero-ctas .btn-primary { width: 100%; }
  .hero-onyx .hero-ctas .btn-secondary {
    width: auto; align-self: center; border: 0; background: none;
    min-height: 0; padding: 2px 0; color: var(--gold); font-size: 14px;
    text-decoration: underline; text-underline-offset: 6px;
    text-decoration-color: rgba(var(--accent-rgb), 0.45);
  }
}

/* ألوانُ خلفيّةِ الشموع ------------------------------------------------------
   القيمُ العامّةُ هي ثوابتُ `scene.ts` القديمةُ نفسُها، فالثيماتُ التسعةُ
   تُرسَم كما كانت حرفًا بحرف. و«الأسود النحاسيّ» وحدَه يُعيد تعريفَها من
   لوحتِه، فتتبع الوجهَين معًا: يقلب الزائرُ إلى الفاتحِ فتنقلب معه. */
:root {
  --chart-up-rgb: 22, 199, 132;
  --chart-down-rgb: 234, 57, 67;
  --chart-brand-rgb: 47, 123, 255;
  --chart-ink-rgb: 232, 240, 255;
  --chart-badge-ink: #ffffff;
}
html[data-layout='onyx'] {
  /* الصعودُ نحاسيُّ الهويّة، والهبوطُ رماديٌّ هادئٌ من النصِّ الثانويّ —
     لا أحمرَ ولا أخضرَ لا يعرفهما الثيم. */
  --chart-up-rgb: var(--accent-rgb);
  --chart-down-rgb: var(--text-2-rgb);
  --chart-brand-rgb: var(--accent-hi-rgb);
  --chart-ink-rgb: var(--text-rgb);
  --chart-badge-ink: var(--bg);
}

/* الشارتُ خلفَ الواجهة ---------------------------------------------------
   **بكاملِ قوّتِه وألوانِه، لا خلفَ ستار.** كان المرسَمُ عند 38% وفوقه
   طبقةٌ بلونِ خلفيّةِ الصفحة — وهي على الوجهِ الفاتحِ غشاوةٌ بيضاء، فيخرج
   الشارتُ باهتًا مرّتَين. والمقصودُ أن يُرى.

   وما يبقى من مشكلةِ القراءةِ يُحَلُّ حيث نشأ: ظلٌّ تحتَ **الحرفِ** لا
   سِتارٌ على الصورة.

   والطبقةُ تبقى في النصفِ الأسفلِ وحدَه، لأنّ المشهدَ مثبَّتٌ في الشاشة
   (`position: fixed`): ما ينزل تحتَه من أقسامٍ يمرُّ على هذا النصفِ وهو
   معتم، فيُقرأ على لونِ الصفحةِ لا على الشموع. */
html[data-layout='onyx'] .scene { background: var(--bg); }
html[data-layout='onyx'] .scene.is-live canvas,
html[data-layout='onyx'] .scene.is-still canvas { opacity: 1; }
/* ومتى غابت الواجهةُ عن الشاشةِ هدأ المرسَمُ: `is-dim` يضعها `home.js`
   حين ينزل أسفلُ الواجهةِ عن ثلثِ الشاشة. ولولا هذه القاعدةُ لغلبتها
   التي فوقَها (وهي أعلى تخصيصًا) فبقيَ الشارتُ قويًّا خلفَ كلِّ قسم. */
html[data-layout='onyx'] .scene.is-live.is-dim canvas { opacity: 0.16; }
html[data-layout='onyx'] .scene::after {
  background:
    linear-gradient(to bottom,
      rgba(var(--bg-rgb), 0) 0%,
      rgba(var(--bg-rgb), 0) 46%,
      rgba(var(--bg-rgb), 0.58) 72%,
      var(--bg) 90%);
}
/* **طبقةُ المالكِ فوقَ الشارت.** `--scene-scrim` يأتي من `/theme.css`،
   وقيمتُه هي العتامةُ نفسُها: صفرٌ (وهو الافتراضيّ) لا يرسم شيئًا أصلًا.
   وهي غيرُ التدرُّجِ فوقَها: ذاك بنيةٌ تحفظ قراءةَ ما ينزل تحتَ الواجهة،
   وهذه ذوقٌ يُضبَط من اللوحة.
   و`z-index` لازم: العنصرُ المولَّدُ `::before` أوّلُ الأبناءِ ترتيبًا،
   فبلا رقمٍ موجبٍ يُرسَم **تحتَ** المرسَمِ فلا يحجب منه شيئًا. */
.scene::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(var(--bg-rgb), var(--scene-scrim, 0));
}
/* وبلورُ الشارتِ على المرسَمِ والصورةِ الثابتةِ معًا، فلا يختلفان لحظةَ
   انتقالِ أحدِهما إلى الآخر. */
.scene canvas,
.scene-poster { filter: blur(var(--scene-blur, 0px)); }
/* ظلُّ الحرفِ في الواجهة: واسعٌ وخافتٌ، يفصل العنوانَ عن الشمعةِ خلفَه
   ولا يُرى ظلًّا. ولا يُسنَد به إلّا ما يقع على المشهدِ فعلًا. */
html[data-layout='onyx'] :is(.hero-title, .hero-offer, .hero-proof, .hero-more, .trial-link),
html[data-layout='onyx'] :is(.hero-offer, .hero-proof) * {
  text-shadow:
    0 0 5px rgba(var(--bg-rgb), 0.95),
    0 0 12px rgba(var(--bg-rgb), 0.92),
    0 0 26px rgba(var(--bg-rgb), 0.85),
    0 1px 2px rgba(var(--bg-rgb), 0.9) !important;
}

/* بطاقةُ البوت ---------------------------------------------------------------
   حضورُها من بنيتِها لا من ظلٍّ تحتها: شعرةٌ متدرّجةٌ تعلوها، وعلاماتُ
   أركانٍ تحدّها، وتدرّجٌ خافتٌ في سطحها. وهذا التخطيطُ يمنع الظلالَ
   والتوهّج، فالبديلُ خطٌّ ومساحةٌ لا إضاءة. */
.growth-card {
  position: relative; padding: 0; gap: 0; overflow: hidden;
  /* ضوءٌ يقع على أعلى السطحِ من فوقٍ قليلًا إلى الجنب، كما يقع على جسمٍ
     قائمٍ لا على ورقةٍ مسطّحة. والثانيةُ شفقٌ خافتٌ في القاعِ يفصلها عن
     الصفحةِ تحتها. */
  background:
    radial-gradient(130% 58% at 50% -8%, rgba(var(--accent-rgb), 0.12) 0%, transparent 62%),
    linear-gradient(180deg, transparent 72%, rgba(var(--accent-rgb), 0.04) 100%),
    var(--card);
  border-radius: 16px;
  transition: border-color 220ms;
}
.growth-card:hover { border-color: rgba(var(--accent-rgb), 0.42); }
/* الحافّةُ الأقربُ إلى العينِ أفتحُ من أختِها: هكذا يُقرأ الحجمُ بلا ظلٍّ
   داخليّ. والاتّجاهُ يقلبها، فهي الحافّةُ الخارجيّةُ في الحالتَين. */
html[data-layout='onyx'] .growth-card { border-left-color: rgba(var(--accent-rgb), 0.3); }
html[dir='ltr'][data-layout='onyx'] .growth-card {
  border-left-color: var(--line); border-right-color: rgba(var(--accent-rgb), 0.3);
}

/* **البطاقةُ مرفوعةٌ من جنبِها.** مستويةً كانت تُقرأ مستطيلًا على خلفيّة؛
   ومائلةً قليلًا تُقرأ شيئًا قائمًا في مكانٍ له عمق. والميلُ إلى الخارج:
   الحرفُ الأقربُ إلى حافّةِ الشاشةِ يتقدّم، والأقربُ إلى العنوانِ يتأخّر —
   فتبدو مفتوحةً على القارئِ لا مديرةً له ظهرَها.
   والظلُّ هنا استثناءٌ مقصودٌ من قاعدةِ «لا ظلَّ في هذا الثيم»: جسمٌ مائلٌ
   بلا ظلٍّ يُقرأ خطأً في الطباعةِ لا عمقًا. وهو واحدٌ خافتٌ بعيد، لا هالةٌ.
   وتستوي عند المرور: حركةٌ واحدةٌ تقول إنّها شيءٌ يُلمَس. */
@media (min-width: 960px) {
  html[data-layout='onyx'] .hero-onyx { perspective: 1250px; perspective-origin: 50% 42%; }
  html[data-layout='onyx'] .growth-card {
    transform: rotateY(10deg) rotateX(1.6deg);
    transform-origin: 100% 50%;
    box-shadow:
      38px 42px 80px -36px rgba(0, 0, 0, 0.5),
      10px 12px 26px -14px rgba(0, 0, 0, 0.32) !important;
    transition: transform 540ms cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 540ms, border-color 220ms;
    will-change: transform;
  }
  /* الاتّجاهُ يقلب الجنبَ المرفوع: البطاقةُ تقع على يسارِ الشاشةِ في
     العربيّةِ وعلى يمينِها في الإنجليزيّة، والمرفوعُ هو الجنبُ الخارجيّ. */
  html[dir='ltr'][data-layout='onyx'] .growth-card {
    transform: rotateY(-10deg) rotateX(1.6deg);
    transform-origin: 0% 50%;
    box-shadow:
      -38px 42px 80px -36px rgba(0, 0, 0, 0.5),
      -10px 12px 26px -14px rgba(0, 0, 0, 0.32) !important;
  }
  html[data-layout='onyx'] .growth-card:hover,
  html[dir='ltr'][data-layout='onyx'] .growth-card:hover {
    transform: rotateY(0deg) rotateX(0deg) translateY(-4px);
  }
  /* من طلب تقليلَ الحركةِ من نظامِه: الميلُ يبقى والانتقالُ يسكن */
  @media (prefers-reduced-motion: reduce) {
    html[data-layout='onyx'] .growth-card { transition: border-color 220ms; }
    html[data-layout='onyx'] .growth-card:hover,
    html[dir='ltr'][data-layout='onyx'] .growth-card:hover { transform: none; }
  }
}

/* **والهاتفُ يَميل كذلك، بزاويةٍ أصغر.** البطاقةُ هناك بعرضِ الشاشةِ
   كلِّها، فزاويةُ سطحِ المكتبِ تدفع حافّتَها خارجَه. وأربعُ درجاتٍ تكفي:
   العينُ تراها قائمةً لا مطبوعةً، ولا يُقصُّ منها شيء. */
@media (max-width: 959px) {
  html[data-layout='onyx'] .hero-onyx { perspective: 820px; perspective-origin: 50% 40%; }
  html[data-layout='onyx'] .growth-card {
    transform: rotateY(4deg) rotateX(0.8deg);
    transform-origin: 100% 50%;
    box-shadow: 14px 20px 42px -22px rgba(0, 0, 0, 0.48) !important;
  }
  html[dir='ltr'][data-layout='onyx'] .growth-card {
    transform: rotateY(-4deg) rotateX(0.8deg);
    transform-origin: 0% 50%;
    box-shadow: -14px 20px 42px -22px rgba(0, 0, 0, 0.48) !important;
  }
}

/* الشعرةُ المتدرّجة — نفسُ تدرّجِ المنحنى، فيُقرآن من عائلةٍ واحدة */
.growth-rule {
  position: absolute; inset-block-start: 0; inset-inline: 0; height: 2px;
  background: linear-gradient(103deg,
    rgb(174, 147, 87) 0%, rgb(255, 240, 204) 40%,
    rgb(174, 147, 87) 70%, rgba(189, 157, 79, 0) 100%);
}
/* علاماتُ الأركان: زاويتان رفيعتان لا إطارٌ كامل */
.growth-corner {
  position: absolute; width: 13px; height: 13px; pointer-events: none;
  border-color: rgba(var(--accent-rgb), 0.55); border-style: solid; border-width: 0;
}
.c-tl { inset-block-start: 9px; inset-inline-start: 9px; border-inline-start-width: 1px; border-block-start-width: 1px; }
.c-tr { inset-block-start: 9px; inset-inline-end: 9px;   border-inline-end-width: 1px;   border-block-start-width: 1px; }
.c-bl { inset-block-end: 9px;   inset-inline-start: 9px; border-inline-start-width: 1px; border-block-end-width: 1px; }
.c-br { inset-block-end: 9px;   inset-inline-end: 9px;   border-inline-end-width: 1px;   border-block-end-width: 1px; }

.growth-top { display: flex; flex-direction: column; gap: 9px; padding: 20px 20px 16px; }
/* **الشعارُ والكلمةُ سطرٌ واحد.** الفقرةُ كانت نصًّا عاديًّا، فالصورةُ
   فيها تجلس على خطِّ الحروفِ (`baseline`) فتبدو مرفوعةً عنها. و`flex`
   مع `align-items: center` يجعل منتصفَ الشعارِ على منتصفِ الكلمة. */
.growth-meta {
  margin: 0; font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 10px;
}
/* ارتفاعٌ ثابتٌ وعرضٌ تابعٌ له: الشعارُ قد يكون مربّعًا أو مستطيلًا،
   وتقييدُ البعدَين يسحقه. و`flex: none` كيلا يضغطه الصفُّ إن طال النصّ. */
.growth-platform { flex: none; width: auto; height: 24px; display: block; object-fit: contain; }
.growth-title { margin: 0; font-size: 18px; font-weight: 600; line-height: 1.4; color: var(--text); }
html[data-layout='onyx'] .growth-title { font-family: inherit; letter-spacing: 0; }

.growth-block { padding: 15px 20px 17px; border-block-start: 1px solid var(--line); }
.growth-block .growth-label { margin: 0 0 10px; }
.growth-block .growth-figure { margin-block-end: 12px; }
.growth-block .growth-stats { margin-block-start: 14px; }
.growth-block .growth-note { margin-block-start: 12px; }

/* النقاطُ مرقَّمةٌ بأرقامٍ نحاسيّةٍ صغيرة */
.growth-points {
  list-style: none; margin: 0; padding: 15px 20px 17px;
  display: grid; gap: 11px; border-block-start: 1px solid var(--line); counter-reset: none;
}
.growth-points li { display: flex; gap: 11px; align-items: flex-start; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.growth-n {
  flex: none; min-width: 22px; font-size: 11px; letter-spacing: 0.08em;
  color: var(--gold); padding-block-start: 3px;
}

/* القدم: السعرُ هو البطل، وما قبله سطرٌ خافت */
.growth-foot { padding: 17px 20px 20px; margin: 0; border-block-start: 1px solid var(--line); display: block; }
.growth-price-label { margin: 0 0 4px; font-size: 12px; color: var(--text-2); }
.growth-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: nowrap; min-width: 0; }
.growth-price strong { font-size: 31px; font-weight: 600; line-height: 1; color: var(--text); letter-spacing: -0.01em; }
.growth-was { font-size: 15px; color: var(--text-2); text-decoration-thickness: 1px; }
.growth-save {
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--gold);
  border: 1px solid rgba(var(--accent-rgb), 0.45); border-radius: 9999px; padding: 3px 9px;
}
.growth-term { margin: 6px 0 0; font-size: 12.5px; color: var(--text-2); }
.growth-cta { display: flex; width: 100%; margin-block-start: 15px; min-height: 48px; font-size: 14.5px; }

@media (max-width: 959px) {
  .growth-card { padding: 0; }
  .growth-top, .growth-block, .growth-points, .growth-foot { padding-inline: 17px; }
  .growth-price strong { font-size: 29px; }
}

.growth-foot { padding: 16px 20px 18px; margin: 0; }

@media (max-width: 959px) {
  .growth-card { padding: 0; }
  .growth-top, .growth-block, .growth-points, .growth-foot { padding-inline: 18px; }
}

/* بانرُ النداءِ الأخير ------------------------------------------------------
   شريطٌ بعرضِ الصفحةِ كلِّها: الوسيطُ يملؤه والنصُّ عليه مباشرةً، بلا بطاقةٍ
   ولا إطارٍ يحصره. والخروجُ من الحاويةِ بهامشٍ سالبٍ متساوٍ على الجانبَين —
   لا يحتاج `transform` ولا قاعدةً ثانيةً للاتجاهِ المعكوس. */
.banner-final {
  position: relative;
  width: 100vw; margin-inline: calc(50% - 50vw);
  /* `--banner-h` من `/theme.css` لو المالك كتب ارتفاعًا بيده؛ غيرُه المصمَّم. */
  min-height: var(--banner-h, clamp(380px, 46vw, 620px));
  display: grid; place-items: center; overflow: hidden;
  margin-block: 44px 0; isolation: isolate;
}
.banner-media { position: absolute; inset: 0; z-index: 0; }
/* **البلورُ على الصورةِ نفسِها، والتكبيرُ لازمٌ معه.** `blur` يسحب من
   خارجِ حدِّ العنصرِ فتخرج حوافُّه شفّافةً ويبين ما تحتها شريطًا باهتًا،
   فيُكبَّر 6% ليقع الحدُّ خارجَ الإطارِ المقصوص. والتكبيرُ بلا بلورٍ
   لا يُرى: الصورةُ `cover` أصلًا. */
.banner-media img,
.banner-media video {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: blur(var(--banner-blur, 0px)); transform: scale(1.06);
}
/* **الطبقةُ داكنةٌ دائمًا ولا تتبع وجهَ الصفحة.**
   كانت مكتوبةً `rgba(var(--bg-rgb), .62)`، فتصير على الوجهِ الفاتحِ غشاوةً
   بيضاءَ بثلثَي العتامة: الصورةُ تحتها تشحب والشارتُ يختفي خلف غبار. وهي
   تقع على صورةٍ لا على خلفيّةِ الصفحة، فلا شأنَ لها بوجهِها.
   **وهي ظِلٌّ تحت الكلماتِ لا سِتارٌ على الصورة:** دائرةٌ خافتةٌ في الوسطِ
   حيث يقع النصّ، تتلاشى قبل الحوافِّ فتبقى المدينةُ والثورُ والشاشةُ
   بألوانِها كما رُفعت. وما بقي من التباين يُسنَد بظلِّ الحرفِ نفسِه. */
.banner-media::after {
  content: ''; position: absolute; inset: 0;
  /* `--banner-scrim` يأتي من `/theme.css` بأمرِ المالك: صفرٌ يُسقط الطبقةَ
     كلَّها فتبقى الصورةُ صافيةً تمامًا، وواحدٌ يبقيها كما صُمِّمت. */
  background:
    radial-gradient(78% 62% at 50% 48%,
      rgba(0, 0, 0, calc(0.46 * var(--banner-scrim, 1))) 0%,
      rgba(0, 0, 0, calc(0.30 * var(--banner-scrim, 1))) 48%,
      rgba(0, 0, 0, calc(0.08 * var(--banner-scrim, 1))) 78%,
      rgba(0, 0, 0, 0) 100%);
}
.banner-inner {
  position: relative; z-index: 1; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding-block: 72px;
}
/* النصُّ أبيضُ دائمًا لا بلونِ الثيم: هو يقع على صورةٍ لا على خلفيّةِ
   الصفحة، فالوجهُ الفاتحُ لا يقلبه — وإلّا اختفى نصٌّ داكنٌ على صورةٍ داكنة. */
.banner-title {
  margin: 0; color: #ffffff; max-width: 18ch;
  font-size: clamp(34px, 5.2vw, 68px); line-height: 1.22;
  text-wrap: balance;
  /* ظلٌّ واسعٌ خافت: يفصل الحرفَ عن الشمعةِ خلفَه بلا أن يُرى ظلًّا.
     و`!important` لأنّ هذا التخطيطَ يمنع الظلالَ بقاعدةٍ شاملةٍ فوقُ، وهذا
     الحرفُ يقع على صورةٍ لا على خلفيّةِ صفحةٍ يُعرَف لونُها. */
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.45) !important;
}
html[data-layout='onyx'][lang='ar'] .banner-title { font-family: var(--font-display-ar); font-weight: 700; }
html[data-layout='onyx'][lang='en'] .banner-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; }
.banner-sub {
  margin: 0; color: rgba(255, 255, 255, 0.9); max-width: 52ch;
  font-size: clamp(16px, 1.6vw, 20px); line-height: 1.7;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.7), 0 1px 2px rgba(0, 0, 0, 0.5) !important;
}
.banner-cta { margin-block-start: 10px; min-height: 54px; padding-inline: 38px; font-size: 15px; }
/* الزرُّ أبيضُ على الصورةِ في الوجهَين — الصورةُ لا تتبع تفضيلَ النظام */
html[data-layout='onyx'] .banner-cta { background: #ffffff; color: #0b0b0d; border-color: #ffffff; }

@media (max-width: 719px) {
  .banner-final { min-height: var(--banner-h-m, clamp(300px, 70vw, 420px)); margin-block-start: 28px; }
  .banner-inner { padding-block: 52px; gap: 15px; }
  .banner-title { max-width: 16ch; }
}
/* **«على قد الصورة»: الصورةُ تحدّد الارتفاعَ وتظهر كلُّها.** الوسيطُ والنصُّ
   في خانةِ شبكةٍ واحدة: الصورةُ بعرضِ الشاشةِ وارتفاعِها الطبيعيّ ترسم
   الخانة، والنصُّ فوقها في الوسط. ولو كان النصُّ أطولَ منها (صورةٌ عريضةٌ على
   موبايل) تمدّدت الخانةُ له وغطّت الصورةُ الفرقَ بدل أن يبقى فراغ. */
.banner-final.fit-image { min-height: 0; grid-template-areas: 'stack'; }
.banner-final.fit-image > .banner-media {
  position: relative; inset: auto; grid-area: stack; justify-self: stretch; align-self: stretch; display: flex;
}
.banner-final.fit-image > .banner-inner { grid-area: stack; }
.banner-final.fit-image .banner-media img,
.banner-final.fit-image .banner-media video { flex: 1 1 auto; height: auto; }

/* **مكانُ الكلامِ على البانر** من اللوحة (`x-*` و`y-*` على القسم).
   يمينٌ وشمالٌ كما تراهما العين لا باتجاه اللغة: الصورةُ لا تنقلب مع اللغة،
   فما نُقل عن وجهٍ على يمينها يبقى بعيدًا عنه في الصفحتَين. وفي عمودٍ مرن
   «البداية» تتبع الاتجاه، فتُكتب لكلِّ اتجاهٍ قاعدتُه. */
.banner-final.x-left .banner-inner { text-align: left; }
.banner-final.x-right .banner-inner { text-align: right; }
html[dir='rtl'] .banner-final.x-left .banner-inner,
html[dir='ltr'] .banner-final.x-right .banner-inner { align-items: flex-end; }
html[dir='rtl'] .banner-final.x-right .banner-inner,
html[dir='ltr'] .banner-final.x-left .banner-inner { align-items: flex-start; }
.banner-final.y-top > .banner-inner { align-self: start; }
.banner-final.y-bottom > .banner-inner { align-self: end; }

/* **الجملةُ بأسطرِ المالك.** كلُّ سطرٍ جديدٍ كتبه في الخانة سطرٌ هنا، وبلا
   سطرٍ جديدٍ سطرٌ واحد — فيُرفع حدُّ العرضِ الذي كان يكسرها بنفسه. وسطرٌ أطولُ
   من شاشةِ الموبايل ينكسر رغمَ ذلك: الكلامُ لا يخرج من الشاشة. */
.lines-manual .banner-title, .lines-manual .banner-sub,
.final.lines-manual .section-title, .final.lines-manual .section-sub { white-space: pre-line; max-width: none; text-wrap: wrap; }

/* الفيديوُ يتوقّف لمن طلب تقليلَ الحركة من نظامِه */
@media (prefers-reduced-motion: reduce) {
  .banner-media video { display: none; }
}

/* الشريطُ العلويّ ------------------------------------------------------------
   البنيةُ من `.ticker` نفسِها، ولوحُه وحدَه يُعاد تعريفُه. وبديلُ كلِّ
   متغيّرٍ هو نظيرُه في الشريطِ السفليّ — فمن لوّن واحدًا فقط خرج الاثنان
   متناسقَين، ومن لوّن الاثنين خرج لكلٍّ لونُه. */
.ticker-top {
  --ticker-bg: var(--ticker-top-bg, var(--bg-2));
  --ticker-text: var(--ticker-top-text, var(--text));
  --ticker-accent: var(--ticker-top-accent, var(--gold));
  --ticker-duration: var(--ticker-top-duration, 40s);
  margin-block: 0 0;
}
/* فوق الواجهةِ مباشرةً: بلا هامشٍ علويٍّ يفصله عن الشريطِ العلويِّ للموقع */
html[data-layout='onyx'] .ticker-top { border-block-start: 0; }

/* الهيروُ الجديد: دليلٌ قبل الطلب -------------------------------------------- */

/* **التمهيدُ صغيرٌ والنداءُ كبير.** جملتان بالحجمِ نفسِه تتزاحمان على
   العينِ وتملآن العمودَ فلا يبقى للدليلِ مكان. فالأولى سطرٌ تمهيديٌّ خافتٌ
   بخطِّ النصِّ العاديّ، والثانيةُ هي العنوانُ المنحوت. */
.hero-onyx .hero-title { display: block; margin: 0; }
.hero-lead {
  display: block; color: var(--text-2);
  font-family: var(--font-ar); font-weight: 400;
  font-size: clamp(16px, 1.7vw, 20px); line-height: 1.7;
  margin-block-end: 14px;
}
html[lang='en'] .hero-lead { font-family: var(--font-lat); }
.hero-punch {
  display: block; color: var(--text);
  font-size: clamp(36px, 4.7vw, 62px); line-height: 1.24;
}

/* صفُّ الأرقام — أرقامٌ كبيرةٌ وعناوينُ صغيرةٌ تحتها، بفواصلَ رفيعة */
.hero-proof {
  margin: 4px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: stretch;
  border-block: 1px solid var(--line);
}
.hero-proof-item {
  display: flex; flex-direction: column; gap: 3px;
  padding: 16px 26px 16px 0; border-inline-end: 1px solid var(--line);
}
.hero-proof-item:last-child { border-inline-end: 0; }
.hero-proof-item:not(:first-child) { padding-inline-start: 26px; }
.hero-proof-v {
  margin: 0; font-size: clamp(26px, 2.8vw, 34px); font-weight: 600;
  line-height: 1; color: var(--text); letter-spacing: -0.01em;
}
.hero-proof-k { margin: 0; font-size: 12.5px; color: var(--text-2); }
.hero-proof-note { margin: 0; font-size: 12.5px; color: var(--text-2); }

/* زرُّ النزول الى الباك تيست: حبّةٌ بلونِ هويّةِ الموقع (ذهبيّ) وأيقونةُ سهمٍ نظيفةٌ تسوقُ لقسمِ الأرباح */
.hero-more {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 20px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--gold);
  text-decoration: none;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.14);
  transition: background 180ms, box-shadow 180ms, transform 180ms;
}
.hero-more:hover {
  background: rgba(var(--accent-rgb), 0.18);
  box-shadow: 0 0 28px rgba(var(--accent-rgb), 0.28);
  transform: translateY(-1px);
}
.hero-more i {
  width: 7px; height: 7px; flex: none;
  border-inline-end: 1.6px solid currentColor; border-block-end: 1.6px solid currentColor;
  transform: rotate(45deg); margin-block-start: -4px;
}

@media (max-width: 959px) {
  /* ثلاثةُ أرقامٍ في صفٍّ واحدٍ على الهاتف: تقسيمٌ متساوٍ لا لفٌّ عشوائيّ */
  .hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-proof-item { padding: 14px 10px; align-items: center; text-align: center; }
  .hero-proof-item:not(:first-child) { padding-inline-start: 10px; }
  .hero-proof-v { font-size: 22px; }
  .hero-proof-k { font-size: 11px; line-height: 1.35; }
  .hero-more { align-self: center; }
}

/* **عدّادُ العرض: طباعةٌ لا صندوق.**
   الحلقةُ المستديرةُ كانت تُقرأ قسيمةَ خصم، والأرقامُ الأربعةُ بنقطتَين
   تُقرأ ساعةَ إيقافٍ لا مهلةَ عرض. فصار الرقمُ كبيرًا واسمُ وحدتِه تحته
   بخطٍّ صغير، والفاصلُ خيطٌ واحدٌ كخيوطِ الصفحةِ كلِّها — بلا إطارٍ ولا
   ظلٍّ ولا نقطتَين. */
.hero-offer { display: flex; flex-direction: column; gap: 12px; align-self: flex-start; }
.hero-offer-head { display: flex; align-items: center; gap: 11px; margin: 0; }
/* **النسبةُ قرصٌ مملوءٌ لا كلمةٌ ملوّنة.** نحاسيٌّ على نحاسيٍّ شاحبٍ في
   الوجهِ الفاتحِ لا يُقرأ فوقَ شارتٍ متحرّك؛ والقرصُ المملوءُ يُقرأ من
   بعيدٍ في الوجهَين. و`--bg` لونَ حرفِه: هو أفتحُ ما في الصفحةِ في الوجهِ
   الفاتحِ وأغمقُ ما فيها في الداكن — أي أنّه نقيضُ القرصِ دائمًا. */
.hero-offer-save {
  font-weight: 600; font-size: 13px; line-height: 1;
  color: var(--bg); background: var(--gold);
  border-radius: 9999px; padding: 7px 13px 8px;
  box-shadow: 0 3px 9px -5px rgba(var(--accent-rgb), 0.4) !important;
}
/* والعبارةُ بلونِ النصِّ الأساسيِّ لا الثانويّ: هي فوقَ شارتٍ لا فوقَ
   خلفيّةٍ هادئة، والثانويُّ يذوب فيه. */
.hero-offer-label { font-size: 13.5px; font-weight: 500; color: var(--text); }
.hero-offer-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-2); opacity: 0.6; }
/* **أعمدةٌ متساوية.** `1fr` داخل شبكةٍ عرضُها تابعٌ لمحتواها يجعل العمودَ
   بعرضِ أوسعِ إخوتِه، فلا يضيق «يوم» ويتّسع «ثانية» ويختلُّ الصفّ. */
.hero-offer-clock { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; }
.hero-offer-unit { display: flex; flex-direction: column; align-items: center; padding-inline: 18px; }
.hero-offer-unit:first-child { padding-inline-start: 0; }
.hero-offer-unit:last-child { padding-inline-end: 0; }
.hero-offer-unit + .hero-offer-unit { border-inline-start: 1px solid var(--line); }
.hero-offer-unit b { font-size: 40px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; color: var(--text); }
.hero-offer-unit span { margin-top: 8px; font-size: 11px; color: var(--text-2); }
/* التباعدُ والحروفُ الكبيرةُ للّاتينيِّ وحدَه: العربيُّ موصولٌ، وتباعدُ
   حروفِه يقطعُ الكلمة. */
html[lang='en'] .hero-offer-unit span { text-transform: uppercase; letter-spacing: 0.12em; }
/* الدقيقةُ الأخيرة: النسبةُ وحدَها تشتدّ، بلا وميضٍ ولا حركة */
.hero-offer.is-final .hero-offer-save { color: var(--gold-hi); }

@media (max-width: 959px) {
  .hero-offer { align-self: stretch; gap: 10px; }
  .hero-offer-head { justify-content: center; gap: 10px; }
  .hero-offer-save { font-size: 12.5px; padding: 6px 12px 7px; }
  .hero-offer-label { font-size: 13px; }
  .hero-offer-unit { padding-inline: 8px; }
  .hero-offer-unit b { font-size: 32px; }
  .hero-offer-unit span { margin-top: 6px; font-size: 10.5px; }
}

/* قسمُ فيديو الإثبات ---------------------------------------------------
   العنوانُ والوصفُ ملتصقان بالإطارِ لا عائمان فوقَه: ثلاثةُ عناصرَ
   متقاربةٍ تُقرأ كتلةً واحدة، ومتباعدةٍ تُقرأ ثلاثةَ أشياءَ لا رابطَ
   بينها. ولذلك المسافاتُ هنا أصغرُ من مسافاتِ الأقسامِ الأخرى. */
.video-sub { margin-block: 6px 18px; }
.video-card {
  margin: 0; padding: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--card); line-height: 0; position: relative;
  /* الظلُّ هنا هو ما طلبه المالك: الإطارُ يطفو عن الصفحةِ قليلًا فتقع
     العينُ عليه قبل ما حوله. وهو استثناءٌ رابعٌ من قاعدةِ «لا ظلَّ» في
     هذا التخطيط، فيلزمه `!important` مثلَ إخوتِه. */
  box-shadow:
    0 30px 70px -32px rgba(0, 0, 0, 0.55),
    0 8px 20px -14px rgba(0, 0, 0, 0.3) !important;
}
/* شعرةٌ نحاسيّةٌ على الحافّةِ العليا — من عائلةِ بطاقةِ البوتِ نفسِها */
.video-card::before {
  content: ''; position: absolute; inset-block-start: 0; inset-inline: 0; height: 2px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), 0.75), transparent);
}
.video-el {
  /* نفسُ نسبةِ الفيديو بالضبط — لا قصَّ ولا إخفاءَ لأطرافِه. الارتفاعُ يتبعُ
     الفيديو (أو البوستر)، فالإطارُ يحتضنُه على حافّته تمامًا. */
  display: block; width: 100%; height: auto;
  background: #000; border-radius: inherit;
}
@media (max-width: 719px) {
  .video-card { border-radius: 14px; }
  .video-sub { margin-block: 5px 14px; }
}

/* ═══ هاتفُ الفيديو: إطارٌ فرعونيٌّ أنيق، مقاسُ ريلز ═══════════════════
   الفيديو تسجيلُ شاشةِ موبايل، فيُعرَض داخلَ موبايل: تاجٌ مجنّحٌ ذهبيٌّ فوقَه،
   وحافّةٌ ذهبيّةٌ، وشقُّ سمّاعةٍ — فرعونيٌّ شيكٌ بلا زحام. ويشتغل تلقائيًّا
   حين يظهرُ في الشاشةِ (data-autoplay-inview في home.js). */
.video-stage { display: flex; justify-content: center; padding-block-start: 32px; }
.video-phone {
  margin: 0; position: relative;
  width: min(330px, 84vw);
  padding: 14px 12px;
  border-radius: 42px;
  background: linear-gradient(180deg, #12141c 0%, #0a0c12 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.5);
  box-shadow:
    0 44px 90px -40px rgba(0, 0, 0, 0.8),
    inset 0 0 0 1px rgba(var(--accent-rgb), 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}
/* حافّةٌ ذهبيّةٌ داخليّةٌ رفيعة */
.video-phone::before {
  content: ''; position: absolute; inset: 6px; border-radius: 36px; z-index: 2;
  border: 1px solid rgba(var(--accent-rgb), 0.28); pointer-events: none;
}
/* التاجُ المجنّحُ الذهبيُّ فوقَ الهاتف */
.video-phone::after {
  content: ''; position: absolute; z-index: 1; pointer-events: none;
  inset-block-start: -30px; inset-inline: 0; margin-inline: auto;
  width: 172px; height: 48px;
  background-color: rgba(var(--accent-rgb), 0.9);
  -webkit-mask: url('/brand/ph/wings.svg') no-repeat center / contain;
  mask: url('/brand/ph/wings.svg') no-repeat center / contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}
.video-phone-screen {
  position: relative; border-radius: 30px; overflow: hidden;
  background: #000; line-height: 0;
  box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.3) !important;
}
/* شقُّ السمّاعةِ العلويّ */
.video-phone-screen::before {
  content: ''; position: absolute; z-index: 3; inset-block-start: 11px;
  inset-inline: 0; margin-inline: auto; width: 80px; height: 5px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.16);
}
/* زرُّ التشغيل: كبيرٌ في منتصفِ الملصق، نظيف. يظهرُ مع الجافاسكربت فقط —
   وبدونه تعملُ مفاتيحُ الفيديو الأصليّة. يختفي عند التشغيل، ويعودُ عند الانتهاء.
   الضغطةُ إيماءةُ مستخدمٍ، فيشتغلُ الفيديو بالصوتِ من أوّلِه. */
.video-play { display: none; }
html.js .video-play {
  position: absolute; z-index: 4; inset: 0; margin: auto;
  width: 94px; height: 94px; border-radius: 50%; padding: 0;
  display: grid; place-items: center; cursor: pointer;
  border: 1.5px solid rgba(var(--accent-rgb), 0.9);
  background: rgba(8, 10, 14, 0.42); color: var(--gold);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.78);
  transition: transform 0.15s ease, background 0.15s ease;
}
html.js .video-play:hover { transform: scale(1.06); background: rgba(8, 10, 14, 0.58); }
.video-play svg { width: 38px; height: 38px; margin-inline-start: 5px; fill: currentColor; }
html.js .video-play.is-gone { display: none; }
@media (max-width: 719px) {
  .video-phone { width: min(300px, 82vw); border-radius: 38px; }
  .video-phone::after { inset-block-start: -26px; width: 150px; height: 42px; }
}

/* صندوقُ كودِ الخصمِ في صفحةِ الدفع ---------------------------------------
   فوقَ الاستمارةِ لا داخلَها (استمارةٌ في استمارةٍ لا تصحّ)، وبعرضِ
   الصفحةِ كيلا يُقرأ حقلًا من حقولِ البيانات. */
.promo-box { padding: 16px 18px; margin-block-end: 18px; display: grid; gap: 10px; }
.promo-label { margin: 0; font-size: 14px; font-weight: 600; color: var(--text); }
.promo-row { display: flex; gap: 10px; flex-wrap: wrap; }
.promo-row input {
  flex: 1 1 180px; min-width: 0; min-height: 46px;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
.promo-row input.is-bad { border-color: rgba(var(--loss-rgb), 0.6); }
.promo-row .btn { flex: 0 0 auto; min-height: 46px; padding-inline: 22px; }
.promo-ok { margin: 0; font-size: 13.5px; color: var(--gold); }
.promo-bad { margin: 0; font-size: 13.5px; color: rgb(var(--loss-rgb)); }
@media (max-width: 719px) {
  .promo-row .btn { flex: 1 1 100%; }
}

/* ═══ الطابع الفرعونيّ ═══════════════════════════════════════════════════
   **رسمٌ لا كلام، وخافتٌ لا صارخ.** التماثيلُ والرموزُ تُوضَع أقنعةً
   (`mask-image`) لا صورًا، فيأتي لونُها من `background-color` — أي من
   لونِ الثيم المختار. يقلب المالكُ اللوحةَ فتنقلب معه، ولا نحتفظ بسبعةِ
   ملفّاتٍ لكلِّ لون.

   وشدّتُها رقمٌ واحدٌ من اللوحة (`--ph-ink`): صفرٌ يُطفئها كلَّها، ومئةٌ
   يجعلها صمّاءَ بلونِ الهويّة. والقيمةُ المعقولةُ بين 5 و12.

   وكلُّها `z-index: -1`: تحت النصِّ لا فوقَه، وفوقَ خلفيّةِ القسمِ لا
   تحتها — وهذا بالضبط موضعُ الزخرفة. */
.ph-deco,
html[data-layout='onyx'] .section::before,
.hero-onyx::before,
.hero-onyx::after {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: -1;
  background-color: rgba(var(--accent-rgb), var(--ph-ink, 0));
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
}

/* ── الواجهة ──────────────────────────────────────────────────────────
   **ثلاثةُ عناصرَ مركَّبةٌ لا ختمٌ واحدٌ خلف الكلام.**
   كان قناعٌ كبيرٌ يقع تحت العنوانِ نفسِه، فيُقرأ النصُّ على رسمٍ ويُقرأ
   الرسمُ من تحتِ نصّ — ولا يُرى أيُّهما كاملًا. والعمارةُ المصريّةُ لا
   تضع النقشَ خلف الكتابة: تضعه **فوقها عتبةً** و**إلى جانبِها عمودًا**.
   فصارت الواجهةُ كذلك:
     • قرصُ الشمسِ المجنَّحُ عتبةً في أعلاها، وسطًا كما يقع على المداخل.
     • عمودُ البرديِّ على الحافّةِ الخارجيّةِ إلى جانبِ الكلامِ لا تحته،
       ويُفسَح له بمسافةٍ في الجهةِ نفسِها فلا يلمس حرفًا.
     • شريطُ اللوتسِ على الحافّةِ السفلى يصل الواجهةَ بما بعدها.
   وحبرُها أغلظُ من حبرِ الأقسام: هذه عمارةٌ تُرى، وتلك زخرفةٌ تُلمَح. */
/* **شعارُ الواجهة: رسمةُ المالكِ إن رفعها، وإلّا رأسُ أنوبيس.**
   `--ph-emblem` يأتي من `/theme.css` حين تُرفع رسمةٌ من اللوحة، وقيمتُه
   الاحتياطيّةُ هي الرسمةُ المبنيّة — فالقاعدةُ واحدةٌ في الحالتَين ولا
   تُكتَب مرّتَين. ولأنّه قناعٌ، يأخذ لونَه من الثيمِ مهما كانت ألوانُ
   الملفِّ المرفوع، ويبقى خافتًا بشدّةِ الحبرِ التي ضبطها المالك. */
.hero-onyx::before {
  inset-block-start: 2px;
  inset-inline: 0;
  margin-inline: auto;
  width: min(300px, 32%);
  height: 196px;
  background-color: rgba(var(--accent-rgb), min(0.5, calc(var(--ph-ink, 0) * 2.4)));
  -webkit-mask-image: var(--ph-emblem, url('/brand/ph/anubis-gold.png'));
  mask-image: var(--ph-emblem, url('/brand/ph/anubis-gold.png'));
}
.hero-onyx::after {
  inset-block-end: 0;
  inset-inline: 0;
  height: 26px;
  -webkit-mask-image: url('/brand/ph/frieze.svg');
  mask-image: url('/brand/ph/frieze.svg');
  -webkit-mask-repeat: repeat-x;
  mask-repeat: repeat-x;
  -webkit-mask-size: auto 26px;
  mask-size: auto 26px;
}
/* العمودُ إلى جانبِ الكلام. `inset-inline-end` هو الحافّةُ الخارجيّةُ
   لعمودِ النصِّ في اللغتَين: اليسارُ في العربيّةِ واليمينُ في
   الإنجليزيّة — لأنّ البطاقةَ تأخذ الجهةَ المقابلةَ في الحالتَين. */
/* **المسافةُ تُفسَح في الصندوقِ نفسِه، لا يُدفَع العمودُ خارجَه.**
   `inset-inline-start` على عمودِ النصِّ هو حافّتُه الخارجيّةُ في اللغتَين
   (اليمينُ في العربيّةِ واليسارُ في الإنجليزيّة)، لأنّ البطاقةَ تقع على
   الجهةِ الأخرى دائمًا. ولو دُفع العمودُ بإزاحةٍ سالبةٍ خارجَ الصندوقِ
   لخرج من الحاويةِ وقُصَّ عند حافّةِ الشاشة. */
.hero-onyx .hero-copy { position: relative; }
@media (min-width: 960px) {
  .hero-onyx .hero-copy { padding-inline-start: 104px; max-width: 720px; }
}
.hero-onyx .hero-copy::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset-block: -10px;
  inset-inline-start: 2px;
  width: 78px;
  background-color: rgba(var(--accent-rgb), min(0.42, calc(var(--ph-ink, 0) * 2)));
  -webkit-mask: url('/brand/ph/column.svg') no-repeat center / contain;
  mask: url('/brand/ph/column.svg') no-repeat center / contain;
}

/* ── الأقسامُ: في التصميمَين معًا لا في الجديدِ وحدَه ────────────────── */
.section { position: relative; }
.section::before {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: -1;
  background-color: rgba(var(--accent-rgb), var(--ph-ink, 0));
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  width: clamp(190px, 25vw, 330px);
  height: clamp(190px, 25vw, 330px);
  inset-block-start: 6px;
  inset-inline-start: -2%;
}
.section:nth-of-type(6n + 1)::before {
  -webkit-mask-image: url('/brand/ph/sym-eye.png'); mask-image: url('/brand/ph/sym-eye.png');
  inset-inline-start: auto; inset-inline-end: -1%;
}
.section:nth-of-type(6n + 2)::before {
  -webkit-mask-image: url('/brand/ph/sym-ankh.png'); mask-image: url('/brand/ph/sym-ankh.png');
}
.section:nth-of-type(6n + 3)::before {
  -webkit-mask-image: url('/brand/ph/sym-star.png'); mask-image: url('/brand/ph/sym-star.png');
  inset-inline-start: auto; inset-inline-end: -1%;
}
.section:nth-of-type(6n + 4)::before {
  -webkit-mask-image: url('/brand/ph/anubis-tribal.png'); mask-image: url('/brand/ph/anubis-tribal.png');
}
.section:nth-of-type(6n + 5)::before {
  -webkit-mask-image: url('/brand/ph/eye-triangle.png'); mask-image: url('/brand/ph/eye-triangle.png');
  inset-inline-start: auto; inset-inline-end: 0;
}
.section:nth-of-type(6n)::before {
  -webkit-mask-image: url('/brand/ph/eye-triangle.png'); mask-image: url('/brand/ph/eye-triangle.png');
}

/* ── بقيّةُ الصفحات: الدفعُ والتجربةُ والفاتورةُ والشريكُ والشروط ──────
   **الطابعُ على الموقعِ كلِّه لا على صفحةِ البيعِ وحدها.** المشتري يعبر
   أربعَ صفحاتٍ حتى يصل، ولو تغيّر طابعُها بينها ظنّ أنّه خرج إلى موقعٍ
   آخرَ ووقف. فلكلِّ واحدةٍ عتبتُها المجنَّحةُ ورمزٌ في ركنِها. */
.page-pay main,
.page-trial main,
.page-order main,
.page-affiliate main,
.page-legal main { position: relative; }
.page-pay main::before,
.page-trial main::before,
.page-order main::before,
.page-affiliate main::before,
.page-legal main::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset-block-start: -6px;
  inset-inline: 0;
  margin-inline: auto;
  width: 124px;
  height: 152px;
  background-color: rgba(var(--accent-rgb), min(0.4, calc(var(--ph-ink, 0) * 1.8)));
  -webkit-mask: var(--ph-emblem, url('/brand/ph/anubis-gold.png')) no-repeat center / contain;
  mask: var(--ph-emblem, url('/brand/ph/anubis-gold.png')) no-repeat center / contain;
}
.page-pay main::after,
.page-trial main::after,
.page-order main::after,
.page-affiliate main::after,
.page-legal main::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset-block-end: 12px;
  inset-inline-start: -3%;
  width: clamp(110px, 14vw, 180px);
  height: clamp(140px, 18vw, 230px);
  background-color: rgba(var(--accent-rgb), var(--ph-ink, 0));
  -webkit-mask: url('/brand/ph/sym-ankh.png') no-repeat center / contain;
  mask: url('/brand/ph/sym-ankh.png') no-repeat center / contain;
}
.page-affiliate main::after { -webkit-mask-image: url('/brand/ph/sym-eye.png'); mask-image: url('/brand/ph/sym-eye.png'); }
.page-order main::after { -webkit-mask-image: url('/brand/ph/sym-star.png'); mask-image: url('/brand/ph/sym-star.png'); }
.page-legal main::after { -webkit-mask-image: url('/brand/ph/eye-triangle.png'); mask-image: url('/brand/ph/eye-triangle.png'); }

/* ── الهاتف ──────────────────────────────────────────────────────────
   العمودُ يُطوى: لا جانبَ في شاشةٍ بعرضِ 390px، ووضعُه خلف الكلامِ هو
   ما هربنا منه. وتبقى العتبةُ والشريطُ والأقسام. */
@media (max-width: 959px) {
  .hero-onyx .hero-copy::after { display: none; }
  .hero-onyx::before { width: 150px; height: 130px; inset-block-start: 0; }
  .section::before {
    width: clamp(140px, 44vw, 220px);
    height: clamp(140px, 44vw, 220px);
    inset-inline-start: -6%;
  }
  .section:nth-of-type(6n + 1)::before,
  .section:nth-of-type(6n + 3)::before,
  .section:nth-of-type(6n + 5)::before { inset-inline-end: -6%; }
  .page-pay main::before,
  .page-trial main::before,
  .page-order main::before,
  .page-affiliate main::before,
  .page-legal main::before { width: 72px; height: 88px; }
}

/* من أطفأ الزخرفةَ (صفر) لا يُحمَّل له قناعٌ أصلًا: القاعدةُ تبقى
   والشفافيّةُ صفر، فلا بكسلَ يُرسَم ولا ملفَّ يُطلَب. */

/* لوحةُ الحسابِ الممنوع — تحلُّ محلَّ استمارةِ الدخولِ لا تعلوها */
.aff-blocked {
  text-align: center; display: grid; gap: 14px; justify-items: center;
  padding: 34px 26px;
  border-color: rgba(var(--loss-rgb), 0.35);
}
.aff-blocked-mark {
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid rgba(var(--loss-rgb), 0.5);
  position: relative;
}
.aff-blocked-mark::before,
.aff-blocked-mark::after {
  content: ''; position: absolute; inset-inline-start: 50%; inset-block-start: 50%;
  width: 2px; height: 30px; background: rgb(var(--loss-rgb));
  transform: translate(-50%, -50%) rotate(45deg);
}
.aff-blocked-mark::after { transform: translate(-50%, -50%) rotate(-45deg); }
.aff-blocked-text { margin: 0; font-size: 16px; line-height: 1.8; color: var(--text); max-width: 42ch; }
.aff-blocked-note {
  margin: 0; font-size: 14px; color: var(--text-2); max-width: 46ch;
  padding: 10px 14px; border: 1px solid var(--line); border-radius: 10px;
}

/* ═══ الزخرفةُ داخلَ الكروت ═══════════════════════════════════════════
   **كلُّ كارتٍ يحمل رمزَه في ركنِه.** الزخرفةُ على الصفحةِ وحدَها تُقرأ
   خلفيّةً، وداخلَ الكارتِ تُقرأ هويّةً: الباقةُ والخصمُ والأسئلةُ وآراءُ
   العملاءِ وطرقُ الدفعِ — كلُّها صناديقُ مغلقةٌ تقع عليها العينُ وحدَها،
   فتحتاج أثرًا فيها لا حولَها.

   والموضعُ ركنٌ سفليٌّ داخليٌّ دائمًا (`inset: 0`) لا إزاحةٌ سالبة: أكثرُ
   الكروتِ `overflow: visible`، وأيُّ تجاوزٍ يسيل خارجَ الإطارِ فيبدو
   خطأً لا زخرفة.

   وحبرُها أخفُّ من حبرِ الأقسام (ثلاثةُ أرباعِه): مساحةُ الكارتِ أصغرُ
   والنصُّ فيها أقربُ، فما يُلمَح في قسمٍ يُزاحِم في كارت. */
.card.plan,
.offer,
.card.faq-item,
.card.feature,
.card.evidence,
.growth-card,
.video-card,
.slide .phone { position: relative; }

.card.plan::after,
.offer::after,
.card.faq-item::after,
.card.feature::before,
.card.evidence::after,
.growth-card::after,
.video-card::after,
.slide .phone::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-color: rgba(var(--accent-rgb), calc(var(--ph-ink, 0) * 0.75));
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center;
  inset-block-end: 12px;
  inset-inline-end: 14px;
  width: 78px;
  height: 78px;
}

/* ولكلِّ نوعٍ رمزُه، فلا يتكرّر واحدٌ على الصفحةِ كلِّها */
.card.plan::after { -webkit-mask-image: url('/brand/ph/sym-ankh.png'); mask-image: url('/brand/ph/sym-ankh.png'); width: 60px; height: 92px; }
.card.plan.is-featured::after { -webkit-mask-image: url('/brand/ph/eye-triangle.png'); mask-image: url('/brand/ph/eye-triangle.png'); width: 76px; height: 112px; }
.offer::after { -webkit-mask-image: url('/brand/ph/sym-star.png'); mask-image: url('/brand/ph/sym-star.png'); width: 92px; height: 92px; }
.card.faq-item::after { -webkit-mask-image: url('/brand/ph/sym-eye.png'); mask-image: url('/brand/ph/sym-eye.png'); width: 86px; height: 62px; inset-block-end: 14px; }
.card.feature::before { -webkit-mask-image: url('/brand/ph/eye-triangle.png'); mask-image: url('/brand/ph/eye-triangle.png'); width: 78px; height: 78px; inset-inline-end: auto; inset-inline-start: 16px; }
.card.evidence::after { -webkit-mask-image: url('/brand/ph/sym-star.png'); mask-image: url('/brand/ph/sym-star.png'); width: 88px; height: 88px; }
.growth-card::after { -webkit-mask-image: url('/brand/ph/sym-ankh.png'); mask-image: url('/brand/ph/sym-ankh.png'); width: 46px; height: 70px; inset-block-end: 16px; }
.video-card::after { -webkit-mask-image: url('/brand/ph/sym-star.png'); mask-image: url('/brand/ph/sym-star.png'); width: 84px; height: 84px; }
.slide .phone::after { -webkit-mask-image: url('/brand/ph/sym-ankh.png'); mask-image: url('/brand/ph/sym-ankh.png'); width: 52px; height: 72px; }

/* الهاتف: الرموزُ تصغر ربعًا فلا تزاحم نصًّا في صندوقٍ ضيّق */
@media (max-width: 719px) {
  .card.plan::after,
  .offer::after,
  .card.faq-item::after,
  .card.feature::before,
  .card.evidence::after,
  .growth-card::after,
  .video-card::after,
  .slide .phone::after { transform: scale(0.76); transform-origin: 100% 100%; }
}

/* ═══ بطاقةُ البوت: لوحةٌ حجريّةٌ فرعونيّة ═══════════════════════════════
   **الشكلُ نفسُه يحمل المعنى، لا رمزٌ يُلصَق عليه.** كانت مستطيلًا بزوايا
   مدوّرةٍ وزخرفةٌ في ركنه؛ وصارت «ستيلا»: قمّةٌ مقوّسةٌ يعلوها الشعار،
   وإفريزُ أخاديدَ تحته، وعمودان رفيعان على الجنبَين، وقاعدةٌ أثقل. وهذه
   أربعتُها عمارةُ اللوحِ المصريِّ لا زينةٌ مضافةٌ إليه.

   والحركةُ ثلاثُ طبقاتٍ لا واحدة: نهوضٌ مرّةً عند الظهور، وشعاعٌ يمرُّ
   على السطحِ كلَّ سبعِ ثوانٍ، ووهجٌ بطيءٌ في التاج. ومن طلب تقليلَ
   الحركةِ من نظامِه تسكن الثلاثةُ ويبقى الشكل. */
html[data-layout='onyx'] .growth-card {
  /* **مسلّةٌ ببوزٍ مدبَّب، لا لوحٌ مقوَّس.** القصُّ (`clip-path`) يصنع
     الهرمَ الصغيرَ في القمّةِ من جسمِ البطاقةِ نفسِها، فلا عنصرَ زائدٌ
     ولا ارتفاعٌ زائد. والبوزُ يُسحَب إلى أعلى بهامشٍ سالبٍ فينغمس في
     الفراغِ فوقَه — تحتَ عدّادِ الخصمِ على الهاتفِ وفي هامشِ الواجهةِ
     على سطحِ المكتب — فلا يأخذ من الصفحةِ شبرًا.
     والذهبُ على البوزِ وحدَه: المسلّاتُ كانت تُغشَّى قمّتُها بالإلكتروم
     ليلمع أوّلَ ما تطلع الشمس، وبقيّتُها حجرٌ عارٍ. */
  /* **بوزٌ ضيّقٌ على كتفَين، لا سقفُ بيت.** قمّةٌ واحدةٌ تنحدر إلى
     عرضِ البطاقةِ كلِّه تُقرأ سطحًا مائلًا؛ والمسلّةُ هرمُها الصغيرُ
     أضيقُ من بدنِها ثمّ تتّسع عند الكتفَين. فالقصُّ على ستِّ نقاطٍ لا
     أربع: رأسٌ، ثمّ كتفان، ثمّ الجسم. */
  clip-path: polygon(50% 0, 74% 74px, 100% 112px, 100% 100%, 0 100%, 0 112px, 26% 74px);
  border: 0;
  border-radius: 0;
  margin-block-start: -58px;
  /* العمودان على الجنبَين: شريطان خافتان في الخلفيّةِ نفسِها، فلا عنصرَ
     ثالثٌ ولا حدٌّ يزيد عرضَ البطاقة. */
  background:
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.16) 0 3px, transparent 3px) 0 0 / 100% 100% no-repeat,
    linear-gradient(270deg, rgba(var(--accent-rgb), 0.16) 0 3px, transparent 3px) 100% 0 / 100% 100% no-repeat,
    linear-gradient(180deg,
      rgba(var(--accent-rgb), 0.66) 0,
      rgba(var(--accent-rgb), 0.34) 60px,
      rgba(var(--accent-rgb), 0.1) 112px,
      transparent 112px),
    linear-gradient(180deg, transparent 72%, rgba(var(--accent-rgb), 0.05) 100%),
    var(--card);
  /* الظلُّ `drop-shadow` لا `box-shadow`: الثاني يُرسَم على الصندوقِ
     المستطيلِ ثمّ يقصُّه `clip-path` فيختفي، والأوّلُ يتبع الشكلَ
     المقصوصَ فيظهر تحت البوزِ كما يظهر تحت الجسم. */
  box-shadow: none !important;
  filter: drop-shadow(26px 30px 26px rgba(0, 0, 0, 0.3));
  animation: ph-rise 900ms cubic-bezier(0.16, 0.84, 0.3, 1) both;
}
/* الشعرةُ الذهبيّةُ تنزل إلى قاعدةِ البوز، فهي حدُّ الجسمِ لا حدُّ القمّة */
html[data-layout='onyx'] .growth-rule { inset-block-start: 112px; }
/* التاجُ يحتاج فسحةً تحته، وإلّا وقع «METATRADER 5» في القوس */
html[data-layout='onyx'] .growth-top { padding-block-start: 130px; }

/* الشعارُ في قمّةِ القوس */
html[data-layout='onyx'] .growth-crest {
  position: absolute;
  inset-block-start: 40px;
  inset-inline: 0;
  margin-inline: auto;
  width: 58px;
  height: 58px;
  pointer-events: none;
  /* **ختمٌ غيرُ شعارِ الواجهة.** الاثنان أنوبيس، لكنّ تكرارَ الصورةِ
     نفسِها في شاشةٍ واحدةٍ يُقرأ سهوًا لا تصميمًا. فالواجهةُ لها الرأسُ
     المحدَّد، وللبطاقةِ الميداليّةُ المصمتةُ — والختمُ المصمتُ أليقُ على
     ذهبِ البوزِ لأنّه يُقرأ منقوشًا فيه لا موضوعًا عليه. */
  background-color: rgba(var(--text-rgb), 0.3);
  -webkit-mask: url('/brand/ph/anubis-medallion.png') no-repeat center / contain;
  mask: url('/brand/ph/anubis-medallion.png') no-repeat center / contain;
  animation: ph-crest 5s ease-in-out 1.1s infinite;
}
/* إفريزُ الأخاديد: خطوطٌ رأسيّةٌ تحت التاج، تخفُّ كلّما نزلت */
html[data-layout='onyx'] .growth-flutes {
  position: absolute;
  inset-block-start: 116px;
  inset-inline: 14px;
  height: 14px;
  pointer-events: none;
  background: repeating-linear-gradient(90deg,
    rgba(var(--accent-rgb), 0.3) 0 1px, transparent 1px 9px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}
/* الشعاع: ضوءٌ مائلٌ يعبر السطحَ ثمّ يختفي */
html[data-layout='onyx'] .growth-shine {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  overflow: hidden;
}
html[data-layout='onyx'] .growth-shine::after {
  content: '';
  position: absolute;
  inset-block: -40%;
  inset-inline-start: -60%;
  width: 42%;
  background: linear-gradient(100deg, transparent, rgba(var(--accent-hi-rgb), 0.16), transparent);
  transform: skewX(-18deg);
  animation: ph-shine 7s ease-in-out 1.6s infinite;
}
/* القاعدة: شريطٌ أثقلُ أسفلَ اللوح */
html[data-layout='onyx'] .growth-foot {
  border-block-start-width: 2px;
  border-block-start-color: rgba(var(--accent-rgb), 0.28);
}
/* علاماتُ الأركانِ العلويّةُ لا موضعَ لها في قوسٍ — تُخفى، والسفليّتان تبقيان */
html[data-layout='onyx'] .growth-corner.c-tl,
html[data-layout='onyx'] .growth-corner.c-tr { display: none; }

@keyframes ph-rise {
  from { opacity: 0; transform: translateY(26px) scale(0.97); }
  to { opacity: 1; }
}
@keyframes ph-crest {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
@keyframes ph-shine {
  0% { inset-inline-start: -60%; }
  55%, 100% { inset-inline-start: 130%; }
}

/* الهاتف: القوسُ أقصرُ والتاجُ أصغر، فالبطاقةُ هناك بعرضِ الشاشة */
@media (max-width: 959px) {
  html[data-layout='onyx'] .growth-card {
    clip-path: polygon(50% 0, 72% 58px, 100% 90px, 100% 100%, 0 100%, 0 90px, 28% 58px);
    margin-block-start: -38px;
  }
  html[data-layout='onyx'] .growth-rule { inset-block-start: 90px; }
  html[data-layout='onyx'] .growth-top { padding-block-start: 106px; }
  html[data-layout='onyx'] .growth-crest { inset-block-start: 30px; width: 46px; height: 46px; }
  html[data-layout='onyx'] .growth-flutes { inset-block-start: 94px; }
}

@media (prefers-reduced-motion: reduce) {
  html[data-layout='onyx'] .growth-card,
  html[data-layout='onyx'] .growth-crest,
  html[data-layout='onyx'] .growth-shine::after { animation: none; }
}
