/* ===== الهوية: حبر ليلي + ذهب شامبانيا (المال) + نعناع (التأكيد) ===== */
:root {
  --bg: #070A12;
  --bg2: #0B101C;
  --card: #0F1626;
  --card2: #141D31;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --text: #EEF2FA;
  --muted: #98A3BC;
  --gold: #F2C063;
  --gold2: #D9962A;
  --mint: #3DDBB0;
  --danger: #FF7A7A;
  --r: 20px;
  --head: "Readex Pro", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --body: "IBM Plex Sans Arabic", "Readex Pro", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.8 var(--body); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--head); line-height: 1.3; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
svg { width: 1.2em; height: 1.2em; flex: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; inset-inline-start: 0; }
.n { direction: ltr; unicode-bidi: isolate; display: inline-block; white-space: nowrap; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

/* ===== الخلفية ===== */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.o1 { width: 560px; height: 560px; background: #B8791F; top: -220px; inset-inline-start: -160px; opacity: .28; animation: drift 18s var(--ease) infinite alternate; }
.o2 { width: 620px; height: 620px; background: #0E7C68; top: 240px; inset-inline-end: -260px; opacity: .22; animation: drift 22s var(--ease) infinite alternate-reverse; }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 50% 0%, #000 20%, transparent 75%);
}
@keyframes drift { to { transform: translate3d(60px, 50px, 0) scale(1.12); } }

/* ===== الأزرار ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 14px; border: 1px solid transparent;
  font: 600 16px/1.2 var(--head); cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn.gold {
  color: #1A1204; background: linear-gradient(135deg, #FBDD9C, var(--gold) 45%, var(--gold2));
  box-shadow: 0 10px 30px -10px rgba(242, 192, 99, .6), inset 0 1px 0 rgba(255, 255, 255, .5);
  position: relative; overflow: hidden;
}
.btn.gold::after {
  content: ""; position: absolute; inset: 0; transform: translateX(120%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: shine 4.5s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { transform: translateX(120%) skewX(-20deg); } 100% { transform: translateX(-120%) skewX(-20deg); } }
.btn.gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(242, 192, 99, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.ghost { background: rgba(255, 255, 255, .04); border-color: var(--line2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .28); }
.btn.lg { padding: 16px 30px; font-size: 17px; border-radius: 16px; }
.btn.sm { padding: 10px 18px; font-size: 14.5px; border-radius: 12px; }
.btn[disabled] { opacity: .6; pointer-events: none; }

/* ===== الشريط العلوي ===== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.stuck { background: rgba(7, 10, 18, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-size: 18px; letter-spacing: .02em; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #1A1204;
  background: linear-gradient(135deg, #FBDD9C, var(--gold2));
}
.nav-links { display: flex; gap: 26px; margin-inline-start: auto; font-size: 15.5px; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }

/* ===== الواجهة ===== */
.hero { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding: 150px 0 80px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 99px;
  background: rgba(61, 219, 176, .09); border: 1px solid rgba(61, 219, 176, .28); color: var(--mint); font-size: 14.5px; font-weight: 500;
}
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(61, 219, 176, .6); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 219, 176, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 219, 176, 0); } }
.hero h1 { font-size: clamp(36px, 5.2vw, 64px); font-weight: 700; margin: 22px 0 20px; line-height: 1.22; }
.hero h1 em {
  font-style: normal; background: linear-gradient(120deg, #FBDD9C, var(--gold) 50%, var(--gold2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 19px; color: var(--muted); max-width: 560px; }
.lead b { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 40px; }
.hero-cta .btn svg { transition: transform .25s var(--ease); }
.hero-cta .btn:hover svg { transform: translateX(-4px); }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 14px 34px; justify-content: start; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-facts strong { display: block; font: 700 24px/1.3 var(--head); color: var(--gold); white-space: nowrap; }
.hero-facts strong small { font-size: 14px; font-weight: 500; color: var(--muted); }
.hero-facts span { font-size: 14.5px; color: var(--muted); }
.hero-facts strong span { font-size: inherit; color: inherit; }

/* بطاقة مسار الطلبية */
.hero-visual { position: relative; }
.deal {
  position: relative; padding: 22px; border-radius: 26px;
  background: linear-gradient(160deg, rgba(20, 29, 49, .92), rgba(11, 16, 28, .92));
  border: 1px solid var(--line2);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .07);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-10px); } }
.deal-head { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); padding: 2px 6px 16px; }
.deal-steps { display: grid; gap: 8px; position: relative; }
.deal-steps li {
  display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 16px;
  border: 1px solid transparent; opacity: .42; transition: all .5s var(--ease);
}
.deal-steps li b { display: block; font: 600 16px/1.4 var(--head); }
.deal-steps li small { display: block; font-size: 13.5px; color: var(--muted); }
.deal-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); color: var(--muted); transition: all .5s var(--ease); flex: none; }
.deal-steps li.on { opacity: 1; background: rgba(255, 255, 255, .045); border-color: var(--line2); transform: translateX(-4px); }
.deal-steps li.on .deal-ico { background: rgba(242, 192, 99, .16); color: var(--gold); }
.deal-steps li.ok { opacity: .85; }
.deal-steps li.ok .deal-ico { background: rgba(61, 219, 176, .14); color: var(--mint); }
.wave { display: flex !important; gap: 3px; align-items: center; height: 18px; }
.wave i { width: 3px; height: 4px; border-radius: 2px; background: var(--muted); }
li.on .wave i { background: var(--gold); animation: wave 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .25s; } .wave i:nth-child(4) { animation-delay: .05s; }
.wave i:nth-child(5) { animation-delay: .3s; } .wave i:nth-child(6) { animation-delay: .15s; } .wave i:nth-child(7) { animation-delay: .35s; }
@keyframes wave { 50% { height: 18px; } }
.deal-pay {
  margin-top: 14px; padding: 16px 18px; border-radius: 18px; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .03); border: 1px dashed var(--line2); transition: all .6s var(--ease);
}
.deal-pay span { font-size: 14px; color: var(--muted); }
.deal-pay strong { font: 700 24px/1 var(--head); color: var(--muted); transition: color .5s; white-space: nowrap; }
.deal.paid .deal-pay { background: linear-gradient(135deg, rgba(242, 192, 99, .2), rgba(217, 150, 42, .07)); border: 1px solid rgba(242, 192, 99, .5); box-shadow: 0 0 44px -12px rgba(242, 192, 99, .6); }
.deal.paid .deal-pay strong { color: var(--gold); animation: pop .6s var(--ease); }
@keyframes pop { 40% { transform: scale(1.14); } }
.float {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 13px; font-size: 14px;
  background: rgba(15, 22, 38, .92); border: 1px solid var(--line2); box-shadow: 0 16px 32px -14px #000; backdrop-filter: blur(8px);
}
.float svg { color: var(--mint); }
.f1 { top: -18px; inset-inline-start: -14px; animation: bob 6s ease-in-out infinite reverse; }
.f2 { bottom: -18px; inset-inline-end: -10px; animation: bob 8s ease-in-out infinite; }

/* ===== الشريط المتحرك ===== */
.strip { border-block: 1px solid var(--line); background: rgba(255, 255, 255, .02); overflow: hidden; padding: 16px 0; direction: ltr; }
.strip-track { display: flex; gap: 30px; width: max-content; animation: marquee 34s linear infinite; font: 500 16px var(--head); color: var(--muted); direction: rtl; }
.strip-track i { color: var(--gold); font-style: normal; }
.strip-track span { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== الأقسام ===== */
.section { padding: 100px 0; }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.narrow .sec-head { text-align: center; margin-inline: auto; }
.eyebrow { display: inline-block; font: 500 14px var(--head); color: var(--gold); letter-spacing: .04em; margin-bottom: 12px; padding-inline-start: 26px; position: relative; }
.eyebrow::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 18px; height: 2px; background: var(--gold); border-radius: 2px; }
.narrow .eyebrow { padding-inline: 0; }
.narrow .eyebrow::before { display: none; }
.sec-head h2, .calc h2 { font-size: clamp(27px, 3.5vw, 40px); font-weight: 700; }
.sec-head p { color: var(--muted); margin-top: 14px; }

.card {
  background: linear-gradient(170deg, var(--card2), var(--card)); border: 1px solid var(--line); border-radius: var(--r);
  padding: 30px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

/* الخطوات */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li {
  position: relative; padding: 28px 24px 26px; border-radius: var(--r); background: linear-gradient(170deg, var(--card2), var(--card));
  border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; overflow: hidden;
}
.steps li:hover { transform: translateY(-6px); border-color: rgba(242, 192, 99, .4); box-shadow: 0 24px 50px -28px rgba(242, 192, 99, .5); }
.step-n { position: absolute; top: 14px; inset-inline-end: 18px; font: 700 44px/1 var(--head); color: rgba(255, 255, 255, .05); }
.step-ico { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 20px; color: var(--gold); background: rgba(242, 192, 99, .12); border: 1px solid rgba(242, 192, 99, .25); margin-bottom: 18px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { font-size: 15.5px; color: var(--muted); line-height: 1.75; }

/* الحاسبة */
.calc {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px; border-radius: 30px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(242, 192, 99, .13), transparent 55%), linear-gradient(170deg, var(--card2), var(--card));
  border: 1px solid var(--line2);
}
.calc-text p { color: var(--muted); margin: 16px 0 22px; }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.ticks svg { color: var(--mint); margin-top: 6px; }
.ticks.gold svg { color: var(--gold); }
.calc-box { background: rgba(7, 10, 18, .6); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.calc-box h3 { font-size: 18px; margin-bottom: 20px; }
.range { display: block; margin-bottom: 22px; }
.range span { display: flex; justify-content: space-between; font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.range b { color: var(--text); font-family: var(--head); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(to left, var(--gold) var(--p, 50%), rgba(255, 255, 255, .1) var(--p, 50%)); cursor: pointer; direction: rtl; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); }
.calc-out { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; margin-top: 6px; }
.calc-out > div { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.calc-out small { display: block; font-size: 13.5px; color: var(--muted); }
.calc-out strong { font: 700 22px/1.4 var(--head); white-space: nowrap; }
.calc-out i { font-style: normal; font-size: 14px; color: var(--muted); font-weight: 500; }
.calc-out .big { background: linear-gradient(135deg, rgba(242, 192, 99, .2), rgba(217, 150, 42, .06)); border-color: rgba(242, 192, 99, .4); }
.calc-out .big strong { color: var(--gold); font-size: 26px; }
.note { font-size: 13.5px; color: var(--muted); margin-top: 16px; line-height: 1.7; }

/* نحن / أنت */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo h3 { margin-bottom: 20px; }
.tag { display: inline-block; padding: 6px 16px; border-radius: 99px; font: 600 15px var(--head); }
.tag.mint { background: rgba(61, 219, 176, .12); color: var(--mint); border: 1px solid rgba(61, 219, 176, .3); }
.tag.gold { background: rgba(242, 192, 99, .12); color: var(--gold); border: 1px solid rgba(242, 192, 99, .3); }
.roles { margin-top: 18px; padding: 24px 30px; border-radius: var(--r); border: 1px dashed var(--line2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.roles p { color: var(--muted); }
.roles b { color: var(--text); }
.roles-row { display: flex; flex-wrap: wrap; gap: 10px; }
.roles-row span { padding: 8px 18px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line2); font: 500 15px var(--head); }

/* الأسئلة المتكررة */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--card); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(242, 192, 99, .35); background: var(--card2); }
.faq summary { cursor: pointer; padding: 18px 22px; font: 600 17px var(--head); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--head); color: var(--gold); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 22px 20px; color: var(--muted); animation: fadeUp .4s var(--ease); }

/* ===== الاستبيان ===== */
.wizard { padding: 0; overflow: hidden; }
.wz-top { padding: 24px 30px 20px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.wz-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.wz-meta b { font: 600 18px var(--head); }
.wz-meta > span { font: 500 14px var(--head); color: var(--muted); direction: ltr; }
.wz-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.wz-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--gold2), var(--gold), #FBDD9C); transition: width .6s var(--ease); margin-inline-start: 0; }
.wz-step { border: 0; margin: 0; padding: 26px 30px 6px; display: none; min-width: 0; }
.wz-step.on { display: block; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(-24px); } }
.wz-hint { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.field { margin-bottom: 24px; }
.field-label { display: block; font: 500 16.5px/1.6 var(--head); margin-bottom: 10px; }
.field[data-required] .field-label::after { content: " *"; color: var(--gold); }
.input {
  width: 100%; padding: 14px 16px; border-radius: 14px; background: rgba(7, 10, 18, .65); border: 1px solid var(--line2);
  transition: border-color .2s, box-shadow .2s; font-size: 16.5px;
}
textarea.input { resize: vertical; min-height: 110px; line-height: 1.7; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398A3BC' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; background-size: 18px; padding-inline-end: 44px; }
select.input option { background: #0F1626; }
.input::placeholder { color: #5E6982; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(242, 192, 99, .15); }
.input[dir=ltr] { text-align: right; }
.opts { display: grid; gap: 10px; }
.opts.wrap { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.opt { position: relative; cursor: pointer; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span {
  display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; background: rgba(7, 10, 18, .5);
  border: 1px solid var(--line2); transition: all .2s var(--ease); font-size: 16px; height: 100%;
}
.opt span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #4A556E; flex: none; transition: all .2s; }
.opt input[type=checkbox] + span::before { border-radius: 6px; }
.opt:hover span { border-color: rgba(255, 255, 255, .3); }
.opt input:checked + span { border-color: var(--gold); background: rgba(242, 192, 99, .1); }
.opt input:checked + span::before { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px #1B1608; }
.opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.scale { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.scale small { color: var(--muted); font-size: 14px; }
.scale-row { display: flex; gap: 8px; }
.opt.num span { width: 52px; height: 52px; justify-content: center; padding: 0; font: 600 18px var(--head); }
.opt.num span::before { display: none; }
.opt.num input:checked + span { background: linear-gradient(135deg, #FBDD9C, var(--gold2)); color: #1A1204; }
.consent { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15.5px; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 5px; accent-color: var(--gold); flex: none; }
.field-err { color: var(--danger); font-size: 14.5px; margin-top: 8px; min-height: 0; }
.field.bad .input, .field.bad .opt span { border-color: rgba(255, 122, 122, .6); }
.field.bad { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(6px); } 75% { transform: translateX(-6px); } }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wz-error { margin: 0 30px 16px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 122, 122, .1); border: 1px solid rgba(255, 122, 122, .35); color: #FFB3B3; font-size: 15px; }
.wz-nav { display: flex; gap: 12px; justify-content: space-between; padding: 18px 30px 28px; }
.wz-nav .btn.gold { margin-inline-start: auto; min-width: 170px; }
[hidden] { display: none !important; }

.done, .closed { text-align: center; padding: 56px 30px; }
.done:not([hidden]) { animation: fadeUp .6s var(--ease); }
.closed .step-ico { margin-inline: auto; }
.done-ring {
  width: 88px; height: 88px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; font-size: 36px; color: #06231B;
  background: linear-gradient(135deg, #8BF3D5, var(--mint)); box-shadow: 0 0 0 12px rgba(61, 219, 176, .12), 0 0 0 26px rgba(61, 219, 176, .05);
  animation: ringIn .7s var(--ease);
}
@keyframes ringIn { from { transform: scale(.3) rotate(-40deg); opacity: 0; } }
.done h3, .closed h3 { font-size: 26px; margin-bottom: 12px; }
.done p, .closed p { color: var(--muted); max-width: 460px; margin-inline: auto; }

/* ===== التذييل ===== */
.footer { border-top: 1px solid var(--line); padding: 30px 0 34px; margin-top: 30px; }
.footer-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer p { color: var(--muted); font-size: 14.5px; }

.sticky-cta {
  position: fixed; inset: auto 16px 16px 16px; z-index: 40; display: none; text-align: center; padding: 15px; border-radius: 16px;
  font: 600 16.5px var(--head); color: #1A1204; background: linear-gradient(135deg, #FBDD9C, var(--gold) 45%, var(--gold2));
  box-shadow: 0 14px 34px -8px rgba(0, 0, 0, .8); transform: translateY(140%); transition: transform .4s var(--ease);
}
.sticky-cta.show { transform: none; }

/* ===== الظهور عند التمرير ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; } .d4 { transition-delay: .4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } }

/* ===== الشارة المغلقة + جدول العمولات ===== */
.pill.off { background: rgba(255, 255, 255, .05); border-color: var(--line2); color: var(--muted); }
.pill.off .live { background: var(--muted); animation: none; }
.tiers { margin-top: 18px; padding: 28px 30px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(170deg, var(--card2), var(--card)); }
.tiers h3 { font-size: 19px; margin-bottom: 16px; }
.tiers ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.tiers li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: rgba(7, 10, 18, .5); border: 1px solid var(--line); }
.tiers li b { font: 700 17px var(--head); color: var(--gold); white-space: nowrap; }
.done .btn { margin-top: 22px; }
.ticks li span { flex: 1; }

/* ===== الشاشات الصغيرة ===== */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: 56px; padding-top: 120px; }
  .hero-visual { max-width: 460px; width: 100%; margin-inline: auto; }
  .steps { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; height: 64px; }
  .hero { padding: 104px 0 56px; }
  .lead { font-size: 17px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-facts { grid-template-columns: 1fr; gap: 16px; }
  .hero-facts li { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
  .f1 { inset-inline-start: 6px; } .f2 { inset-inline-end: 6px; }
  .section { padding: 68px 0; }
  .sec-head { margin-bottom: 32px; }
  .steps, .duo { grid-template-columns: 1fr; }
  .calc { padding: 24px 20px; border-radius: 24px; }
  .calc-box { padding: 20px; }
  .calc-out { grid-template-columns: 1fr; }
  .card { padding: 24px 20px; }
  .wizard { padding: 0; }
  .wz-top { padding: 20px; }
  .wz-step { padding: 22px 20px 4px; }
  .wz-nav { padding: 14px 20px 22px; }
  .wz-error { margin-inline: 20px; }
  .wz-nav .btn.gold { min-width: 0; flex: 1; }
  .opts.wrap { grid-template-columns: 1fr 1fr; }
  .opt span { padding: 12px; font-size: 15px; gap: 9px; }
  .opt.num span { width: 46px; height: 46px; }
  .roles { padding: 20px; }
  .sticky-cta { display: block; }
  .footer { padding-bottom: 92px; }
  .footer-in { flex-direction: column; text-align: center; }
}
/* ===== الهاتف أولاً: أغلب الزوار يدخلون من إعلان في الجوال ===== */
@media (max-width: 640px) {
  .orb { filter: blur(70px); }
  .o1 { width: 340px; height: 340px; top: -140px; inset-inline-start: -120px; }
  .o2 { width: 360px; height: 360px; inset-inline-end: -200px; }
  .hero h1 { font-size: clamp(31px, 9.4vw, 40px); margin: 18px 0 16px; }
  .hero { gap: 40px; }
  .hero-cta { margin: 24px 0 28px; gap: 10px; }
  .btn.lg { padding: 16px 22px; min-height: 54px; }
  .hero-facts { padding-top: 20px; gap: 10px; }
  .hero-facts li { justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid var(--line); }
  .hero-facts strong { font-size: 20px; }
  .hero-facts li > span { font-size: 13.5px; text-align: end; }
  .deal { padding: 16px; border-radius: 22px; animation: none; }
  .deal-steps li { padding: 10px 12px; gap: 12px; }
  .deal-steps li.on { transform: none; }
  .deal-ico { width: 38px; height: 38px; }
  .deal-pay { padding: 14px; }
  .deal-pay strong { font-size: 21px; }
  .float { font-size: 12.5px; padding: 7px 12px; }
  .strip { padding: 13px 0; }
  .strip-track { font-size: 14.5px; gap: 22px; }
  .sec-head h2, .calc h2 { font-size: 25px; }
  .steps li { padding: 20px 18px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 6px; align-items: start; }
  .steps .step-ico { margin: 0; grid-row: span 2; width: 46px; height: 46px; }
  .steps h3 { font-size: 17.5px; align-self: center; margin: 0; }
  .steps p { grid-column: 2; font-size: 15px; }
  input[type=range] { height: 8px; }
  input[type=range]::-webkit-slider-thumb { width: 30px; height: 30px; }
  .range { margin-bottom: 26px; }
  .tiers { padding: 22px 18px; }
  .faq summary { padding: 16px 18px; font-size: 16px; }
  .faq p { padding: 0 18px 18px; font-size: 15.5px; }
  /* حقول كبيرة تتلمس بالإصبع، وخط 16px حتى لا يكبّر iOS الصفحة عند الكتابة */
  .input { font-size: 16px; padding: 15px 14px; min-height: 52px; }
  .opt span { min-height: 52px; }
  .field { margin-bottom: 22px; }
  .field-label { font-size: 16px; }
  .scale { gap: 8px 10px; justify-content: space-between; }
  .scale-row { width: 100%; order: -1; }
  .scale-row .opt { flex: 1; }
  .opt.num span { width: 100%; height: 52px; }
  .wz-nav .btn { min-height: 52px; }
  .sticky-cta { bottom: max(14px, env(safe-area-inset-bottom)); }
  .done, .closed { padding: 44px 22px; }
}
@media (max-width: 380px) { .opts.wrap { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
