/* =========================================================
   Doolab — landing page
   ========================================================= */
:root {
  --blue: #2E6FE3;
  --blue-600: #1E5BD0;
  --blue-700: #1849A8;
  --blue-300: #8DB2F8;
  --blue-100: #DCE7FC;
  --blue-50: #EEF3FE;
  --ink: #0F1426;
  --text: #0E1220;
  --yellow: #FFC53D;
  --muted: #5B6376;
  --line: #E5E8EF;
  --bg: #fff;
  --soft: #F5F7FB;
  --star: #F7B500;
  --green: #16A36A;
  --red: #E5484D;
  --shadow: 0 1px 2px rgba(14, 18, 32, .04), 0 14px 34px -14px rgba(14, 18, 32, .16);
  --font-display: 'Readex Pro', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Readex Pro', system-ui, sans-serif;
  --container: 1180px;
  --gutter: 20px;
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M81.7 45.8A32 32 0 1 1 65.3 21.9' fill='none' stroke='%23fff' stroke-width='16' stroke-linecap='round'/%3E%3Cpath d='M59 33.8 72.5 9.8 85.4 32.9Z' fill='%23fff'/%3E%3C/svg%3E");
  --motif-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M81.7 45.8A32 32 0 1 1 65.3 21.9' fill='none' stroke='%232E6FE3' stroke-width='16' stroke-linecap='round'/%3E%3Cpath d='M59 33.8 72.5 9.8 85.4 32.9Z' fill='%232E6FE3'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
svg {
  display: block;
  width: 22px; height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.12; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
b, strong { font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
section[id] { scroll-margin-top: 72px; }
.section { padding-block: clamp(76px, 9vw, 124px); position: relative; }
.soft { background: var(--soft); }
/* Light "aurora" ground: soft color glows + a faint dot grid (same language as the video). */
.aurora {
  background:
    radial-gradient(900px 600px at 12% 8%, rgba(46, 111, 227, .15), transparent 62%),
    radial-gradient(760px 560px at 90% 18%, rgba(155, 124, 255, .12), transparent 62%),
    radial-gradient(900px 620px at 82% 96%, rgba(43, 181, 232, .13), transparent 62%),
    radial-gradient(720px 520px at 8% 96%, rgba(255, 138, 91, .10), transparent 62%),
    linear-gradient(180deg, #F8FAFE, #EEF2FB);
}
.aurora::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(15, 20, 38, .09) 1.4px, transparent 1.6px); background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 70% 62% at 50% 45%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 62% at 50% 45%, #000 20%, transparent 78%);
}
.aurora > .container { position: relative; z-index: 1; }
.muted { color: var(--muted); }
.nw { white-space: nowrap; }
.lead-dark { font-size: 1.2rem; color: var(--text); margin: 16px 0 12px; }
.link { color: var(--blue); font-weight: 600; border-bottom: 1.5px solid var(--blue-100); }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: .9rem; line-height: 1.4;
  color: var(--blue); background: var(--blue-50);
  padding: 6px 14px 6px 14px; border-radius: 99px; margin-bottom: 18px;
}
.eyebrow svg { width: 16px; height: 16px; }

/* Section heads */
.sec-head { text-align: center; max-width: 740px; margin: 0 auto 56px; display: flex; flex-direction: column; align-items: center; }
.sec-head h2 { margin-bottom: 14px; text-wrap: balance; }
.sec-head p { color: var(--muted); font-size: 1.1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 13px 24px; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn-lg { padding: 16px 30px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-ico { width: 20px; height: 20px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 26px -10px rgba(46, 111, 227, .8); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); }
.btn-ghost { color: var(--text); border: 1.5px solid #D3DAE8; background: rgba(255, 255, 255, .75); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline { color: var(--blue); border: 1.5px solid var(--blue-100); background: #fff; }
.btn-outline:hover { border-color: var(--blue); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; }
.btn:disabled { opacity: .7; cursor: wait; transform: none; }

/* =================== NAV =================== */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.nav-logo { display: block; width: 113px; height: 30px; flex: none; }
.nav-logo img { width: 100%; height: 100%; object-fit: contain; }
.nav-links { display: flex; gap: 30px; font-weight: 500; font-size: .95rem; color: var(--muted); }
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav.scrolled { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); border-bottom-color: var(--line); }

/* =================== HERO =================== */
.hero { position: relative; padding: 128px 0 88px; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-motif {
  position: absolute; width: 820px; height: 820px; left: -180px; top: 50%; margin-top: -410px;
  color: var(--blue); opacity: .07; animation: spin 80s linear infinite;
}
.hero-glow {
  position: absolute; width: 1000px; height: 1000px; left: -260px; top: -180px;
  background: radial-gradient(closest-side, rgba(46, 111, 227, .16), transparent 72%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 .hl { color: var(--blue); }
.hero .lead { font-size: 1.18rem; color: var(--muted); margin-top: 22px; max-width: 34em; }
.hero .lead b { color: var(--text); font-weight: 600; white-space: nowrap; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-points { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: .95rem; font-weight: 500; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--blue); stroke-width: 2.6; }

.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.phone-wrap { position: relative; }
.phone {
  position: relative; width: 290px; height: 596px; border-radius: 48px; background: linear-gradient(145deg, #2A3150, #11152A 45%); padding: 11px;
  box-shadow:
    0 0 0 1.5px rgba(255, 255, 255, .5) inset,
    0 0 0 6px #fff,
    0 0 0 7px var(--line),
    0 50px 90px -30px rgba(24, 38, 90, .45),
    0 20px 40px -20px rgba(46, 111, 227, .35);
}
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 20px; background: #11152A; z-index: 5; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #fff; color: var(--text); }

.scr {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 60px 22px 30px; text-align: center; line-height: 1.5;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98);
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
}
.scr.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease, visibility 0s; }
.scr-small { font-size: .8rem; color: var(--muted); }
.scr-title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.3; }
.scr-sub { font-size: .86rem; color: var(--muted); }

/* spin */
.wheel-mini { width: 218px; margin: 10px 0 4px; }

/* claim */
.claim-check { width: 74px; height: 74px; border-radius: 50%; background: #E7F7EF; color: var(--green); display: grid; place-items: center; flex: none; }
.claim-check svg { width: 38px; height: 38px; stroke-width: 3; stroke-dasharray: 24; stroke-dashoffset: 24; }
.demo-result[data-state="claimed"] .claim-check svg,
.form-card.done .claim-check svg { animation: draw .55s ease forwards .2s; }
.claim-check-lg { width: 86px; height: 86px; }
.claim-check-lg svg { width: 44px; height: 44px; }
.claim-code {
  font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; font-size: 1.3rem;
  border: 2px dashed #B9CEF7; border-radius: 12px; padding: 8px 18px; color: var(--blue); background: var(--blue-50);
}

/* floating chips */
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--text); border-radius: 16px; padding: 10px 14px; font-size: .88rem; line-height: 1.3;
  box-shadow: 0 22px 44px -16px rgba(24, 38, 90, .35), 0 0 0 1px var(--line); white-space: nowrap;
  opacity: 0; transform: translateY(12px) scale(.9);
  transition: opacity .4s, transform .55s cubic-bezier(.2, 1.4, .4, 1);
}
.float-chip.show { opacity: 1; transform: none; }
.float-chip b { color: var(--blue); font-family: var(--font-display); }
.chip-number { top: 128px; left: -96px; }
.chip-review { bottom: 150px; right: -92px; }
.chip-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; }
.chip-ico svg { width: 18px; height: 18px; }
.chip-stars { display: flex; gap: 1px; color: var(--star); direction: ltr; }
.chip-stars svg { width: 14px; height: 14px; }

.hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.85rem); line-height: 1.2; text-wrap: balance; }
/* السعر كسطر هادئ لا كحبّة ملوّنة: خط أزرق رفيع بجنبه، والرقم وحده كبير وأزرق */
.value-pill { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 20px; padding-inline-start: 10px; border-inline-start: 2px solid var(--blue); color: var(--muted); font-weight: 500; font-size: .9rem; line-height: 1.3; }
.value-pill b { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; line-height: 1; color: var(--blue); white-space: nowrap; }

/* hero phone: wheel -> Google review notifications -> rating going up */
.spin-prize { font-size: .95rem; color: var(--muted); opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.spin-prize.show { opacity: 1; transform: none; }
.spin-prize b { color: var(--blue); font-family: var(--font-display); }
.scr-notif { justify-content: flex-start; gap: 6px; background: linear-gradient(170deg, #DCE7FC, #F1ECFF 55%, #FFF1E8); }
.lock-time { font-family: var(--font-display); font-weight: 600; font-size: 3.2rem; line-height: 1; margin-top: 14px; }
.lock-date { font-size: .82rem; color: var(--muted); margin-bottom: 14px; }
.notifs { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.notif {
  display: flex; align-items: flex-start; gap: 10px; text-align: start; background: rgba(255, 255, 255, .9); border-radius: 16px; padding: 10px 12px;
  box-shadow: 0 8px 18px -10px rgba(24, 38, 90, .35); opacity: 0; transform: translateY(-14px) scale(.96); transition: opacity .4s, transform .5s cubic-bezier(.2, 1.3, .4, 1);
}
.notif.show { opacity: 1; transform: none; }
.n-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--yellow); color: #fff; display: grid; place-items: center; flex: none; }
.n-ico svg { width: 17px; height: 17px; }
.n-body { flex: 1; min-width: 0; }
.n-top { display: flex; justify-content: space-between; font-size: .68rem; color: var(--muted); line-height: 1.3; }
.n-top b { color: var(--text); font-weight: 600; }
.n-t { font-size: .8rem; font-weight: 700; line-height: 1.4; }
.n-stars { color: var(--star); letter-spacing: 1px; }
.n-s { font-size: .74rem; color: var(--muted); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scr-rate { background: linear-gradient(180deg, #F3F7FF, #fff); }
.rp-card { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; padding-bottom: 10px; box-shadow: 0 16px 34px -18px rgba(24, 38, 90, .45); }
.rp-cover {
  height: 58px; display: grid; place-items: center;
  background: repeating-linear-gradient(0deg, transparent 0 14px, rgba(46, 111, 227, .1) 14px 15px), repeating-linear-gradient(90deg, transparent 0 14px, rgba(46, 111, 227, .1) 14px 15px), linear-gradient(135deg, #DCE7FC, #F3F7FF);
}
.rp-pin { position: relative; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--red); box-shadow: 0 6px 12px -4px rgba(229, 72, 77, .6); }
.rp-pin::after { content: ""; position: absolute; left: 8px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.rp-name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; margin-top: 10px; }
.rp-rate { display: flex; align-items: center; justify-content: center; gap: 8px; }
.rp-rate b { font-family: var(--font-display); font-size: 2.4rem; line-height: 1.1; min-width: 2.2ch; }
.rp-stars { position: relative; display: inline-block; font-size: 1rem; letter-spacing: 2px; line-height: 1; color: #DADFEA; }
.rp-stars::before { content: "★★★★★"; }
.rp-stars span { position: absolute; top: 0; bottom: 0; right: 0; overflow: hidden; white-space: nowrap; color: var(--star); }
.rp-stars span::before { content: "★★★★★"; }
.rp-count { font-size: .78rem; color: var(--muted); }
.rp-chart { width: 100%; height: 54px; display: block; margin-top: 8px; }
.rp-up { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .82rem; font-weight: 700; color: #0E8A63; background: #DDF6EC; padding: 5px 12px; border-radius: 99px; opacity: 0; transition: opacity .4s; }
.rp-up.show { opacity: 1; }
.rp-up svg { width: 15px; height: 15px; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots i { width: 8px; height: 8px; border-radius: 99px; background: rgba(46, 111, 227, .22); transition: width .3s, background .3s; }
.hero-dots i.on { width: 26px; background: var(--blue); }

/* =================== WHEEL (shared) =================== */
.wheel { position: relative; aspect-ratio: 1; }
.wheel-svg { width: 100%; height: 100%; stroke: none; will-change: transform; }
.wheel-svg text { font-family: var(--font-display); font-weight: 700; }
.wheel-svg .bulb { animation: bulb 1.1s steps(1) infinite; }
.wheel-svg .bulb.alt { animation-delay: .55s; }
.wheel-hub {
  position: absolute; top: 50%; left: 50%; width: 22%; height: 22%; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; color: var(--blue); border: 0; padding: 0;
  display: grid; place-items: center;
  box-shadow: 0 0 0 3px var(--blue), 0 0 0 7px rgba(255, 255, 255, .55), 0 8px 18px -4px rgba(30, 79, 174, .55);
}
.wheel-hub svg { width: 62%; height: 62%; }
.wheel-hub-btn { transition: transform .2s; }
.wheel-hub-btn:hover { transform: translate(-50%, -50%) scale(1.07); }
.wheel-big.idle .wheel-hub-btn { animation: hubPulse 2s ease-out infinite; }
.wheel-pointer {
  position: absolute; top: -8px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 0; height: 0; border-left: 16px solid transparent; border-right: 16px solid transparent; border-top: 28px solid #1E4FAE;
  filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1.5px #fff) drop-shadow(0 3px 4px rgba(30, 79, 174, .45));
}
.wheel-mini .wheel-pointer { border-left-width: 11px; border-right-width: 11px; border-top-width: 19px; top: -5px; }

/* =================== CALCULATOR =================== */
.fr-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.fr-top label { font-weight: 600; font-size: 1.05rem; }
.fr-top output { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--blue); line-height: 1; }
.fr-scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: 6px; }
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; margin: 0; cursor: pointer;
  background: linear-gradient(to left, var(--blue) var(--p, 50%), var(--line) var(--p, 50%));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue); box-shadow: 0 4px 12px -2px rgba(46, 111, 227, .5);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blue); box-shadow: 0 4px 12px -2px rgba(46, 111, 227, .5);
}
input[type="range"]:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 6px; }
.calc2 { display: grid; grid-template-columns: 1fr 1.05fr; max-width: 1040px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 30px; box-shadow: var(--shadow); overflow: hidden; }
.calc2-inputs { padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 34px; }
.calc2-out { padding: 30px; display: flex; flex-direction: column; gap: 16px; background: linear-gradient(160deg, #EAF1FE, #F6F9FF); }
.c2-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px 24px; }
.c2-num { font-family: var(--font-display); font-size: 3.2rem; line-height: 1; }
.c2-per { color: var(--muted); font-weight: 600; }
.c2-tags { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.c2-tags span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--blue-50); color: var(--blue-700); font-weight: 600; font-size: .92rem; line-height: 1.4; }
.c2-tags svg { width: 16px; height: 16px; }
.c2-main { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 4px; background: var(--blue); color: #fff; border-radius: 22px; padding: 24px 26px; box-shadow: 0 24px 44px -20px rgba(46, 111, 227, .8); }
.c2-main::before { content: ""; position: absolute; width: 220px; height: 220px; left: -60px; bottom: -80px; background: var(--motif) center/contain no-repeat; opacity: .1; }
.c2-main-lbl { position: relative; font-weight: 600; font-size: 1.05rem; opacity: .92; }
.c2-main-num { position: relative; font-family: var(--font-display); font-size: 4rem; line-height: 1.05; }
.c2-main-num small { font-size: 1.3rem; font-weight: 600; opacity: .85; }

/* =================== HOW (video) =================== */
.h-note { font-size: .55em; font-weight: 600; color: var(--muted); white-space: nowrap; }
.video-frame { position: relative; max-width: 980px; aspect-ratio: 16 / 9; margin: 0 auto; border-radius: 28px; overflow: hidden; background: #EEF2FB; box-shadow: 0 40px 80px -34px rgba(24, 38, 90, .4), 0 0 0 1px var(--line); }
.video-frame video { width: 100%; height: 100%; display: block; object-fit: cover; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border-radius: 50%; border: 0; padding: 0;
  background: var(--blue); color: #fff; display: grid; place-items: center; transition: transform .2s;
  box-shadow: 0 18px 40px -12px rgba(46, 111, 227, .8), 0 0 0 10px rgba(255, 255, 255, .55);
}
.video-play:hover { transform: scale(1.06); }
.video-play svg { width: 40px; height: 40px; fill: currentColor; stroke: none; margin-left: 6px; }
.video-frame.playing .video-play { display: none; }

/* =================== BENEFITS =================== */
.ben-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.ben { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 36px 28px 30px; box-shadow: var(--shadow); }
.ben-ico { width: 92px; height: 92px; border-radius: 28px; background: var(--bg); color: var(--c); display: grid; place-items: center; }
.ben-ico svg { width: 46px; height: 46px; }
.ben h3 { font-size: 1.45rem; }
.ben-art { height: 30px; display: flex; align-items: center; justify-content: center; }
.ben-stars { color: var(--star); font-size: 1.4rem; letter-spacing: 3px; }
.ben-avatars i { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; margin-inline-start: -8px; box-shadow: 0 2px 6px rgba(24, 38, 90, .15); display: grid; place-items: center; font-style: normal; font-weight: 700; }
.ben-avatars i:first-child { margin-inline-start: 0; }
.ben-avatars i.more { background: var(--blue-50); color: var(--blue); }
.ben-confetti { gap: 8px; }
.ben-confetti i { width: 10px; height: 16px; border-radius: 3px; transform: rotate(-20deg); }
.ben-confetti i:nth-child(even) { transform: rotate(25deg) translateY(5px); }

/* =================== DEMO =================== */
.demo2 { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.demo-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--muted); }
.demo-steps li { transition: color .3s; }
.demo-steps li:not(:last-child)::after { content: "·"; margin-inline-start: 10px; color: #C3CAD8; }
.demo-steps li.done { color: var(--text); }
.demo-steps li.on { color: var(--blue); }
.wheel-big { width: min(560px, 100%); }
.wheel-big .wheel-svg { filter: drop-shadow(0 30px 40px rgba(30, 79, 174, .3)); }
.demo-result { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; pointer-events: none; }
.dr {
  display: none; flex-direction: column; align-items: center; gap: 12px; min-width: 280px; text-align: center; pointer-events: auto;
  background: #fff; border-radius: 28px; padding: 28px 34px; box-shadow: 0 30px 60px -20px rgba(24, 38, 90, .45); animation: pop .45s cubic-bezier(.2, 1.4, .4, 1) both;
}
.demo-result[data-state="review"] .dr-review, .demo-result[data-state="lose"] .dr-lose, .demo-result[data-state="claimed"] .dr-claimed { display: flex; }
.dr-review { max-width: 320px; }
.dr-stars { color: var(--blue); font-size: 1.6rem; letter-spacing: 4px; line-height: 1; }
.dr-ask { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.5; color: var(--text); }
.dr-note { color: var(--muted); font-size: .92rem; margin-top: -6px; }
.dr-tag { font-size: .9rem; font-weight: 700; line-height: 1.4; color: var(--blue); background: var(--blue-50); padding: 4px 12px; border-radius: 99px; }
.dr-prize { font-family: var(--font-display); font-size: 2rem; line-height: 1.2; color: var(--blue); }

.prizes-band {
  margin-top: 64px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 28px 32px;
}
.pb-text h3 { font-size: 1.4rem; margin-bottom: 4px; }
.pb-text p { color: var(--muted); }
.pb-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pb-chips li { display: flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 99px; background: var(--blue-50); color: var(--blue-700); font-weight: 600; font-size: .95rem; line-height: 1.4; }
.pb-chips svg { width: 18px; height: 18px; }

/* =================== FIT =================== */
.fit-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.fit-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px 22px; }
.fit-card:hover { border-color: var(--blue-100); box-shadow: var(--shadow); }
.fit-ico { width: 54px; height: 54px; border-radius: 16px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.fit-ico svg { width: 26px; height: 26px; }
.fit-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.fit-card p { color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* =================== PRICING =================== */
.pricing { overflow: hidden; }
.pricing-glow { position: absolute; width: 900px; height: 900px; right: -320px; top: -260px; background: radial-gradient(closest-side, rgba(46, 111, 227, .14), transparent 72%); pointer-events: none; }
.pricing-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: stretch; }
.split-viz {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 38px; box-shadow: var(--shadow);
}
.sv-total { font-family: var(--font-display); font-size: 1.2rem; color: var(--muted); text-align: center; line-height: 1.4; }
.sv-total b { display: block; font-size: clamp(2.8rem, 6vw, 3.8rem); color: var(--text); line-height: 1.1; }
.sv-divide { display: flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 600; font-size: .95rem; }
.sv-divide svg { width: 18px; height: 18px; }
.sv-grid { width: 100%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; border-radius: 16px; transition: gap .6s cubic-bezier(.4, 0, .2, 1) .15s; }
.sv-grid span {
  height: 72px; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.2;
  background: var(--blue); color: #fff; transition: border-radius .5s .15s, background .4s, color .4s;
}
.sv-grid span:nth-child(1) { border-top-right-radius: 16px; }
.sv-grid span:nth-child(6) { border-top-left-radius: 16px; }
.sv-grid span:nth-child(7) { border-bottom-right-radius: 16px; }
.sv-grid span:nth-child(12) { border-bottom-left-radius: 16px; }
.sv-grid b { font-family: var(--font-display); font-size: 1.25rem; }
.sv-grid i { font-style: normal; font-size: .72rem; opacity: .75; }
.sv-grid b, .sv-grid i { opacity: 0; transition: opacity .4s; transition-delay: calc(.7s + var(--i) * .06s); }
.split-viz.go .sv-grid { gap: 8px; }
.split-viz.go .sv-grid span { border-radius: 12px; }
.split-viz.go .sv-grid b { opacity: 1; }
.split-viz.go .sv-grid i { opacity: .75; }
.split-viz.go .sv-grid span:nth-child(1) { background: var(--yellow); color: var(--text); transition-delay: .15s, 1.7s, 1.7s; }
.sv-result { font-family: var(--font-display); font-size: 1.3rem; text-align: center; opacity: 0; transform: translateY(8px); transition: opacity .5s 1.6s, transform .5s 1.6s; }
.sv-result b { font-size: 2.3rem; color: var(--blue); margin-inline: 4px; }
.split-viz.go .sv-result { opacity: 1; transform: none; }

.plan-card { position: relative; display: flex; flex-direction: column; gap: 4px; background: #fff; color: var(--text); border-radius: 28px; padding: 36px; box-shadow: 0 0 0 2px var(--blue), 0 40px 80px -30px rgba(46, 111, 227, .45); }
.plan-tag { align-self: flex-start; background: var(--blue-50); color: var(--blue); font-weight: 600; font-size: .85rem; line-height: 1.4; padding: 5px 12px; border-radius: 99px; margin-bottom: 10px; }
.plan-price { display: flex; align-items: baseline; gap: 10px; }
.plan-price b { font-family: var(--font-display); font-size: 3.4rem; line-height: 1.1; }
.plan-price span { color: var(--muted); font-weight: 500; }
.plan-sub { color: var(--blue); font-weight: 600; margin-bottom: 14px; }
.plan-list { list-style: none; margin: 0 0 26px; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.plan-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.plan-list svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 3; }
.plan-card .btn { margin-top: auto; }
.plan-was { color: var(--muted); font-size: 1.05rem; font-weight: 600; margin-bottom: -2px; }
.plan-was s { text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.plan-offer { align-self: flex-start; margin-top: 8px; background: #FFE9E6; color: #C4373C; font-weight: 700; font-size: .9rem; line-height: 1.4; padding: 5px 12px; border-radius: 99px; }
.sv-annual { font-weight: 700; font-size: .92rem; color: var(--blue-700); background: var(--blue-50); border: 1px solid var(--blue-100); padding: 5px 14px; border-radius: 99px; opacity: 0; transition: opacity .5s 1.9s; }
.split-viz.go .sv-annual { opacity: 1; }
.think-first { margin-top: 0; margin-bottom: 72px; }

.think { margin-top: 28px; background: rgba(255, 255, 255, .8); border: 1px solid var(--line); border-radius: 28px; padding: 28px 32px; box-shadow: var(--shadow); }
.think-lbl { text-align: center; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.think-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; }
.tk { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 16px; line-height: 1.4; background: var(--soft); border: 1px solid var(--line); color: var(--text); font-family: var(--font-display); font-weight: 600; }
.tk-price { background: var(--blue); border-color: var(--blue); color: #fff; }
.tk-arrow { width: 22px; height: 22px; color: var(--blue); }
.tk-results { display: flex; flex-direction: column; gap: 8px; }
.tk-out { background: var(--blue-50); border-color: var(--blue-100); color: var(--blue-700); }
.tk-out svg { width: 18px; height: 18px; color: var(--blue); }

/* =================== FAQ =================== */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.faq-grid h2 { margin-bottom: 12px; }
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--soft); border: 1px solid transparent; border-radius: 18px; padding: 0 22px; transition: background .2s, border-color .2s, box-shadow .2s; }
.faq-list details[open] { background: #fff; border-color: var(--line); box-shadow: var(--shadow); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff center/14px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E6FE3' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  transition: transform .3s, background-color .2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--blue-50); }
.faq-list details p { padding: 0 0 20px; color: var(--muted); }

/* =================== CONTACT =================== */
.contact { overflow: hidden; }
.contact-motif { left: auto; right: -260px; opacity: .06; }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-copy h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 18px; }
.contact-copy .lead { font-size: 1.15rem; color: var(--muted); }
.contact-strong { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--blue); }
.hero-points-col { flex-direction: column; }
.form-card { position: relative; display: flex; flex-direction: column; gap: 14px; background: #fff; color: var(--text); border-radius: 28px; padding: 34px; border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(24, 38, 90, .3); }
.form-card h3 { font-size: 1.5rem; }
.form-sub { color: var(--muted); margin-top: -10px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f > span { font-size: .88rem; font-weight: 600; }
.f input, .f select {
  width: 100%; min-width: 0; font: inherit; font-size: 1rem; line-height: 1.4; color: var(--text);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--soft);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.f input[dir="ltr"] { text-align: right; }
/* سؤال الرقم: مفتاح الدولة يسار الخانة مثل ما يُكتب الرقم */
.f-phone { flex-direction: row; direction: ltr; gap: 8px; }
.f-phone select { width: auto; flex: none; direction: rtl; }
.f-phone input[dir="ltr"] { flex: 1; text-align: left; }
.f select {
  -webkit-appearance: none; appearance: none; padding-left: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6376' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 14px center; background-size: 16px;
}
.f input::placeholder { color: #A0A7B6; }
.f input:focus, .f select:focus { outline: none; border-color: var(--blue); background-color: #fff; box-shadow: 0 0 0 4px rgba(46, 111, 227, .14); }
.f .invalid { border-color: var(--red); background-color: #FFF6F6; }
.form-msg { min-height: 1.2em; font-size: .9rem; color: var(--red); text-align: center; margin-top: -4px; }
.form-msg:empty { display: none; }

/* ---- فورم بسؤال واحد في كل شاشة ---- */
/* النص للقارئ الآلي فقط — السؤال نفسه هو العنوان المرئي للخانة */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.q-bar { height: 5px; border-radius: 99px; background: var(--blue-50); overflow: hidden; }
.q-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--blue); transition: width .35s ease; }
.q-meta { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin-top: -8px; }

/* ارتفاع ثابت يمنع قفز البطاقة بين سؤال وآخر */
.q-step { display: flex; flex-direction: column; gap: 10px; min-height: 148px; animation: qIn .3s ease; }
.q-step[hidden] { display: none; }
.q-step h3 { font-size: 1.45rem; line-height: 1.45; }
.q-step .form-sub { margin-top: -6px; }
.q-step .f { margin-top: auto; }
@keyframes qIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.q-nav { display: flex; gap: 9px; }
.q-nav .btn { flex: 1; }
.q-back {
  flex: none; width: 54px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; color: var(--muted);
  display: grid; place-items: center; transition: border-color .2s, color .2s, opacity .2s;
}
.q-back svg { width: 20px; height: 20px; transform: scaleX(-1); }
.q-back:hover:not(:disabled) { border-color: var(--blue-300); color: var(--blue); }
.q-back:disabled { opacity: .35; cursor: default; }

@media (prefers-reduced-motion: reduce) {
  .q-step { animation: none; }
  .q-bar i { transition: none; }
}

.form-done { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 32px; background: #fff; border-radius: 28px; }
.form-done p { color: var(--muted); }
.form-card.done .form-done { display: flex; animation: dpIn .45s ease; }

/* =================== FOOTER =================== */
.footer { background: #F1F4FA; color: var(--muted); padding: 56px 0 28px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.footer-brand { max-width: 400px; }
.footer-brand img { height: 28px; width: auto; margin-bottom: 14px; }
.footer-brand p { font-size: .95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 26px; font-size: .95rem; }
.footer-links a:hover { color: var(--blue); }
.footer-bottom { padding-top: 22px; font-size: .88rem; }

/* =================== REVEAL =================== */
.js .reveal { opacity: .55; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* =================== KEYFRAMES =================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scan { to { top: calc(100% - 18px); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pop { 0% { opacity: 0; transform: scale(.7); } 100% { opacity: 1; transform: none; } }
@keyframes fall {
  0% { opacity: 1; transform: translateY(0) rotate(0); }
  100% { opacity: 0; transform: translateY(580px) rotate(600deg); }
}
@keyframes starOn { 0% { transform: scale(.6); } 60% { transform: scale(1.25); color: var(--star); } 100% { transform: scale(1); color: var(--star); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dpIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes bulb { 50% { opacity: .35; } }
@keyframes hubPulse {
  0% { box-shadow: 0 0 0 3px var(--blue), 0 0 0 7px rgba(255, 255, 255, .55), 0 8px 18px -4px rgba(30, 79, 174, .55), 0 0 0 0 rgba(46, 111, 227, .55); }
  100% { box-shadow: 0 0 0 3px var(--blue), 0 0 0 7px rgba(255, 255, 255, .55), 0 8px 18px -4px rgba(30, 79, 174, .55), 0 0 0 24px rgba(46, 111, 227, 0); }
}

/* =================== RESPONSIVE =================== */
@media (max-width: 1080px) {
  .fit-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .hero { min-height: 0; padding-top: 112px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero .lead { margin-inline: auto; }
  .hero-ctas, .hero-points { justify-content: center; }
  .pricing-grid, .faq-grid, .contact-grid, .calc2 { grid-template-columns: 1fr; }
  .faq-grid, .contact-grid { gap: 40px; }
}
@media (max-width: 760px) {
  .ben-grid { grid-template-columns: 1fr; max-width: 420px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .btn-lg { padding: 15px 24px; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .phone { width: 264px; height: 548px; border-radius: 44px; }
  .screen { border-radius: 34px; }
  .scr { padding: 56px 18px 26px; }
  .wheel-mini { width: 200px; }
  .float-chip { font-size: .76rem; padding: 8px 10px; gap: 8px; border-radius: 13px; }
  .chip-ico { width: 28px; height: 28px; }
  .chip-number { top: 100px; left: -34px; }
  .chip-review { bottom: 120px; right: -34px; }
  .video-frame { border-radius: 18px; }
  .video-play { width: 72px; height: 72px; }
  .video-play svg { width: 30px; height: 30px; }
  .ben { padding: 28px 22px 24px; }
  .calc2-inputs, .calc2-out { padding: 24px 20px; }
  .c2-num { font-size: 2.6rem; }
  .c2-main-num { font-size: 3.2rem; }
  .dr { min-width: 0; padding: 22px 24px; }
  .dr-prize { font-size: 1.6rem; }
  .prizes-band { padding: 24px 20px; }
  .fit-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .fit-card { padding: 22px 18px; }
  .split-viz { padding: 28px 18px; }
  .sv-grid { grid-template-columns: repeat(4, 1fr); }
  .sv-grid span { height: 64px; }
  .sv-grid span:nth-child(n) { border-radius: 0; }
  .sv-grid span:nth-child(1) { border-top-right-radius: 16px; }
  .sv-grid span:nth-child(4) { border-top-left-radius: 16px; }
  .sv-grid span:nth-child(9) { border-bottom-right-radius: 16px; }
  .sv-grid span:nth-child(12) { border-bottom-left-radius: 16px; }
  .split-viz.go .sv-grid span:nth-child(n) { border-radius: 12px; }
  .plan-card { padding: 28px 22px; }
  .think { padding: 24px 18px; }
  .think-first { margin-bottom: 48px; }
  .think-row { flex-direction: column; }
  .tk-arrow { transform: rotate(-90deg); }
  .tk-results { width: 100%; }
  .tk { justify-content: center; }
  .f-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .faq-list details { padding: 0 18px; }
}
@media (max-width: 380px) {
  .fit-grid { grid-template-columns: 1fr; }
}

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