/* ═══════════════════════════════════════════════════════════
   MotionPilot — Premium layer (loaded LAST, after phase3.css)
   Direction: deeper cinematic black, red → ember → wine shades
   only (near-palette), corporate polish. No new brand hues.
   Zero markup/JS changes: only visual overrides.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* near-palette additions: tints & shades of the brand red/black */
  --ember: #ff8f7a;          /* light red tint for highlights */
  --ember-soft: #ffb3a3;     /* softest rose for gradient ends */
  --wine-1: #1b090b;         /* burgundy-tinted surface shade */
  --wine-2: #2a0e10;         /* deeper wine for glows */
  --ink-warm: #f7f3f2;       /* warm white for display text */
  --muted-warm: #b3a5a4;     /* warm muted text */
  --grad-display: linear-gradient(115deg, #ffd2c7 0%, var(--ember) 22%, var(--red-light) 42%, var(--red) 66%, #9e1b1b 100%);
  --ring: rgba(228, 51, 51, .45);
}

/* ── cinematic page backdrop ─────────────────────────────── */
body {
  background:
    radial-gradient(1100px 520px at 85% -8%, rgba(228, 51, 51, .10), transparent 60%),
    radial-gradient(900px 480px at 8% 12%, rgba(184, 31, 31, .07), transparent 55%),
    radial-gradient(1400px 900px at 50% 115%, rgba(42, 14, 16, .55), transparent 60%),
    var(--bg);
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}
::selection { background: rgba(228, 51, 51, .35); color: #fff; }

/* ── nav: floating glass bar with gradient hairline ─────── */
.nav .nav-inner {
  background: linear-gradient(155deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 18px 50px -18px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.nav .nav-inner::after {
  content: ""; position: absolute; left: 8%; right: 8%; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 90, .55), transparent);
  pointer-events: none;
}
.brand-mark {
  box-shadow: 0 6px 22px rgba(228, 51, 51, .55), inset 0 1px 0 rgba(255, 255, 255, .25) !important;
  background: var(--grad-display) !important;
}
.nav-links a { transition: color .2s var(--ease); }
.nav-links a:hover { color: var(--ember); }

/* ── buttons: action gradient + glow ─────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, #f04438 0%, var(--red) 45%, var(--red-deep) 100%) !important;
  box-shadow: 0 10px 34px -8px rgba(228, 51, 51, .55), inset 0 1px 0 rgba(255, 255, 255, .22) !important;
  letter-spacing: .1px;
}
.btn-primary:hover {
  box-shadow: 0 16px 44px -8px rgba(228, 51, 51, .7), inset 0 1px 0 rgba(255, 255, 255, .28) !important;
  filter: brightness(1.06);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, .14) !important;
  background: rgba(255, 255, 255, .03) !important;
}
.btn-ghost:hover { border-color: rgba(255, 143, 122, .5) !important; color: var(--ember) !important; }

/* ── hero: display type with gradient accent ────────────── */
.hero-title {
  font-weight: 900;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.18;
  letter-spacing: -.5px;
  color: var(--ink-warm);
  text-wrap: balance;
}
.hero-title .ht-accent span span,
.hero-title .ht-accent .ht-word > span {
  background: var(--grad-display);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 6px 28px rgba(228, 51, 51, .35));
}
.hero-sub { color: var(--muted-warm) !important; }
.hero-stats { gap: 10px; }
.hero-stat {
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-pill);
  background: linear-gradient(155deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}
.hero-stat b {
  background: var(--grad-display);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ── section titles: corporate scale ────────────────────── */
h2[id$="-title"] {
  font-weight: 800;
  font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: -.4px;
  line-height: 1.25;
  color: var(--ink-warm);
  text-wrap: balance;
}
.grad-text {
  background: var(--grad-display) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
.eyebrow {
  color: var(--ember) !important;
  border-color: rgba(255, 143, 122, .28) !important;
  background: rgba(228, 51, 51, .07) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* ── cards: top highlight + deep shadow + red edge on hover ─ */
.card.glass, .step-card, .tut-card, .faq-item, .pay-card, .price-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card.glass:hover, .step-card:hover, .tut-card:hover, .faq-item:hover, .pay-card:hover {
  border-color: rgba(255, 143, 122, .35) !important;
  box-shadow: 0 32px 70px -22px rgba(0, 0, 0, .85), 0 0 0 1px rgba(228, 51, 51, .12), 0 12px 40px -12px rgba(228, 51, 51, .18);
}
.card-icon.grad, .card-icon {
  box-shadow: 0 8px 24px rgba(228, 51, 51, .35), inset 0 1px 0 rgba(255, 255, 255, .2);
}

/* ── pricing: hero card treatment ────────────────────────── */
.price-panel {
  border: 1px solid rgba(255, 143, 122, .22) !important;
  background:
    linear-gradient(160deg, rgba(42, 14, 16, .55), rgba(10, 10, 12, .2) 40%),
    linear-gradient(155deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)) !important;
}
.price-big {
  background: var(--grad-display);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.discount-badge {
  background: var(--grad-display) !important;
  box-shadow: 0 8px 24px rgba(228, 51, 51, .45) !important;
}

/* ── faq ─────────────────────────────────────────────────── */
.faq-item .faq-q:hover { color: var(--ember); }

/* ── final CTA: wine-washed panel ────────────────────────── */
.final-cta, [class*="final"] {
  background:
    radial-gradient(700px 300px at 50% -20%, rgba(228, 51, 51, .16), transparent 65%),
    linear-gradient(160deg, var(--wine-1), var(--surface-1) 70%) !important;
  border: 1px solid rgba(255, 143, 122, .18) !important;
}

/* ── footer hairline ─────────────────────────────────────── */
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .07); }

/* ── floating chips: ember edge ──────────────────────────── */
.float-chip { border-color: rgba(255, 143, 122, .25) !important; }

/* ── mobile polish ───────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-title { letter-spacing: -.2px; }
  .hero-stat { padding: 8px 14px; }
}

/* ===== MotionPilot redesign v2 — structural layer (loads after premium layer) ===== */
html{scroll-padding-top:96px;}
section[id]{scroll-margin-top:96px;}

/* --- Hero: two columns — copy/CTAs left, STUDIO shot right (Ahmed, 02 Dec) --- */
.hero.hero-v2{padding:120px 0 72px;}
.hero-v2 .hero-grid{display:grid !important;grid-template-columns:1.08fr .92fr;gap:56px;align-items:center;text-align:start;}
.hero-v2 .hero-copy{order:2;display:flex;flex-direction:column;align-items:flex-start;max-width:640px;}
.hero-v2 .hero-visual{order:1;}
.hero-v2 h1.hero-title{font-size:clamp(32px,3.6vw,50px) !important;line-height:1.22 !important;margin:16px 0 16px;text-align:start;}
.hero-v2 p.lead{max-width:520px;margin:0 0 26px;font-size:clamp(15px,1.4vw,17.5px);line-height:1.85;text-align:start;}
.hero-v2 .hero-actions{justify-content:flex-start;margin-bottom:26px;}
.hero-v2 .hero-actions .btn-play{background:transparent;border-color:transparent;box-shadow:none;}
.hero-v2 .hero-stats{justify-content:flex-start;gap:0;margin:0;background:none !important;border:0 !important;box-shadow:none !important;padding:0 !important;border-radius:0 !important;}
.hero-v2 .hero-stat{padding:2px 24px !important;text-align:center;background:none !important;border:0 !important;box-shadow:none !important;border-radius:0 !important;width:auto !important;height:auto !important;aspect-ratio:auto !important;border-inline-start:1px solid rgba(255,255,255,.1) !important;}
.hero-v2 .hero-stat:first-child{border-inline-start:0 !important;padding-inline-start:0 !important;}
/* image column: device matches the copy block height, full shot visible */
.hero-v2 .hero-visual{width:100%;height:100%;max-height:600px;perspective:1600px;display:flex;align-items:center;}
.hero-v2 .hero-visual .device{position:relative;inset:auto;width:100%;max-width:440px;height:clamp(400px,62vh,540px);margin-inline:auto;transform:rotateX(5deg);transform-origin:50% 100%;transform-style:preserve-3d;}
.hero-v2 .device-shot{height:calc(100% - 30px) !important;}
.hero-v2 .device-shot img{height:100% !important;object-fit:contain;}
.hero-v2 .hero-visual::before{inset:auto;left:50%;top:40%;width:80%;height:70%;transform:translateX(-50%);}
.hero-v2 .float-chip{z-index:3;}
.hero-v2 .fc1{top:6%;left:0;}
.hero-v2 .fc2{bottom:14%;left:2%;}
.hero-v2 .fc3{top:44%;right:-2%;}
.hero-v2 .hero-timeline{display:none;}
@media (max-width:980px){
  .hero.hero-v2{padding:104px 0 56px;}
  .hero-v2 .hero-grid{grid-template-columns:1fr !important;gap:40px;}
  .hero-v2 .hero-copy{order:1;align-items:center;text-align:center;max-width:640px;margin-inline:auto;}
  .hero-v2 h1.hero-title{text-align:center;}
  .hero-v2 p.lead{text-align:center;margin-inline:auto;}
  .hero-v2 .hero-actions{justify-content:center;}
  .hero-v2 .hero-stats{justify-content:center;}
  .hero-v2 .hero-stat:first-child{padding-inline-start:24px !important;}
  .hero-v2 .hero-visual{order:2;max-height:none;}
  .hero-v2 .hero-visual .device{max-width:min(78vw,400px);height:min(96vw,460px);}
  .hero-v2 .fc3{right:0;}
}

/* --- Capabilities marquee --- */
.cap-strip{position:relative;overflow:hidden;border-block:1px solid rgba(255,255,255,.07);
  background:linear-gradient(90deg,rgba(228,51,51,.06),rgba(27,9,11,.5),rgba(228,51,51,.06));padding:16px 0;margin-top:8px;}
.cap-track{display:flex;gap:44px;width:max-content;animation:capScroll 38s linear infinite;}
.cap-strip:hover .cap-track{animation-play-state:paused;}
.cap-item{display:inline-flex;align-items:center;gap:10px;font-weight:700;font-size:15px;color:rgba(255,255,255,.78);white-space:nowrap;}
.cap-item::before{content:"";width:7px;height:7px;border-radius:50%;background:linear-gradient(135deg,#ff8f7a,#e43333);box-shadow:0 0 12px rgba(228,51,51,.7);}
@keyframes capScroll{to{transform:translateX(50%);}}
@media (prefers-reduced-motion:reduce){.cap-track{animation:none;}}

/* --- Floating controls: calmer --- */
#whatsapp-float,#payment-float{opacity:.96;}
@media (max-width:767px){
  .wa-popup{display:none !important;}
  #whatsapp-float{width:46px !important;height:46px !important;bottom:14px !important;left:14px !important;}
  #whatsapp-float svg{width:22px;height:22px;}
  #payment-float{width:46px !important;height:46px !important;bottom:14px !important;right:14px !important;font-size:20px;}

  .hero.hero-v2{padding:84px 0 20px;}
  .hero-v2 .hero-grid{gap:22px;}
  .hero-v2 .eyebrow{font-size:12px;padding:6px 12px;}
  .hero-v2 h1.hero-title{font-size:clamp(26px,7.6vw,32px) !important;line-height:1.25 !important;margin:10px 0 10px;}
  .hero-v2 p.lead{font-size:13.5px;line-height:1.6;margin-bottom:14px;}
  .hero-v2 .hero-actions{flex-direction:column;width:100%;gap:10px;margin-bottom:16px;}
  .hero-v2 .hero-actions .btn{width:100%;justify-content:center;min-height:48px;}
  .hero-v2 .hero-actions .btn-play{min-height:34px !important;padding:4px 14px !important;font-size:13.5px;background:transparent !important;border:0 !important;box-shadow:none !important;opacity:.85;}
  .hero-v2 .hero-stat{padding:2px 12px !important;}
  .hero-v2 .hero-stat span{white-space:nowrap;}
  .hero-v2 .hero-stats{margin-bottom:6px;}
  .hero-v2 .device-shot{aspect-ratio:auto;height:calc(100% - 30px);overflow:hidden;}
  .hero-v2 .device-shot img{object-fit:contain !important;object-position:center;height:100% !important;}
  .hero-v2 .hero-visual .device{-webkit-mask-image:none;mask-image:none;}
  .hero-v2 .hero-stat b{font-size:17px;}
  .hero-v2 .hero-stat span{font-size:11px;}
  .hero-v2 .hero-visual .device{transform:none;max-width:100%;}
  .hero-v2 .float-chip{display:none;}
  .cap-item{font-size:13px;}
  .cap-track{gap:28px;}
}

/* --- keep the mobile menu overlay working (backdrop-filter on the bar would trap its fixed panel) --- */
.nav .nav-inner.menu-open{background:transparent !important;border-color:transparent !important;box-shadow:none !important;
  -webkit-backdrop-filter:none !important;backdrop-filter:none !important;}
.nav .nav-inner.menu-open::after{opacity:0 !important;}

/* --- footer clearance for floating controls (mobile) --- */
@media (max-width:767px){
  footer{padding-bottom:calc(96px + env(safe-area-inset-bottom, 0px)) !important;}
}

/* --- Tutorial track (مسار الشرح): big player + grouped list --- */
.track{display:grid;grid-template-columns:1.5fr 1fr;gap:22px;align-items:stretch;margin-top:8px;}
.track-player{padding:14px;display:flex;flex-direction:column;gap:14px;}
.track-screen{position:relative;border-radius:var(--r-lg,18px);overflow:hidden;aspect-ratio:16/9;background:#050505;border:1px solid var(--glass-border);}
.track-screen video{width:100%;height:100%;object-fit:cover;display:block;background:#000;}
.track-play{position:absolute;inset:0;margin:auto;width:84px;height:84px;border-radius:50%;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#fff;
  background:linear-gradient(135deg,#ff5f4d,#e43333 55%,#a31212);box-shadow:0 18px 44px -10px rgba(228,51,51,.65),0 0 0 10px rgba(228,51,51,.14);transition:transform .25s,box-shadow .25s;}
.track-play svg{width:34px;height:34px;margin-inline-start:4px;}
.track-play:hover{transform:scale(1.06);}
.track-play.hidden{opacity:0;pointer-events:none;transform:scale(.8);}
.track-now{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:2px 6px 4px;}
.track-now-label{display:block;font-size:12px;color:var(--text-3);margin-bottom:2px;}
.track-now h3{margin:0;font-size:19px;font-weight:800;}
.track-now-num{font-size:22px;font-weight:900;color:var(--red-light);background:rgba(228,51,51,.12);border:1px solid rgba(228,51,51,.35);border-radius:12px;padding:6px 14px;}
.track-list{padding:18px 16px;display:flex;flex-direction:column;gap:14px;min-height:100%;}
.track-head{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.track-eyebrow{font-size:12.5px;font-weight:700;color:var(--text-3);}
.track-sub{margin:2px 0 0;font-size:13px;color:var(--text-2);line-height:1.6;}
.track-count{font-size:18px;font-weight:900;color:#fff;background:linear-gradient(135deg,#ff5f4d,#c21f1f);border-radius:10px;padding:4px 12px;box-shadow:0 8px 20px -8px rgba(228,51,51,.6);}
.track-tabs{display:flex;flex-wrap:wrap;gap:8px;}
.track-tab{border:1px solid var(--glass-border);background:rgba(255,255,255,.04);color:var(--text-2);border-radius:999px;padding:7px 14px;font-size:13px;font-weight:700;cursor:pointer;transition:.25s;}
.track-tab:hover{color:#fff;border-color:rgba(228,51,51,.5);}
.track-tab.active{background:linear-gradient(135deg,#ff5f4d,#c21f1f);border-color:transparent;color:#fff;box-shadow:0 10px 24px -10px rgba(228,51,51,.55);}
.track-tab:focus-visible,.track-item:focus-visible,.track-play:focus-visible{outline:2px solid var(--red-light);outline-offset:2px;}
.track-items{display:flex;flex-direction:column;gap:8px;overflow-y:auto;max-height:430px;padding-inline-end:6px;scrollbar-width:thin;scrollbar-color:rgba(228,51,51,.5) transparent;}
.track-item{display:flex;align-items:center;gap:12px;text-align:start;border:1px solid transparent;background:transparent;color:var(--text-2);border-radius:14px;padding:11px 14px;cursor:pointer;transition:.25s;font-size:14.5px;font-weight:600;}
.track-item:hover{background:rgba(255,255,255,.05);color:#fff;}
.track-item .track-name{flex:1;line-height:1.5;}
.track-num{font-size:13px;font-weight:800;color:var(--red-light);background:rgba(228,51,51,.1);border:1px solid rgba(228,51,51,.3);border-radius:8px;padding:3px 9px;flex:none;}
.track-go{width:26px;height:26px;flex:none;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(255,255,255,.06);color:var(--text-3);opacity:0;transition:.25s;}
.track-go svg{width:12px;height:12px;}
.track-item:hover .track-go{opacity:1;}
.track-item.active{background:rgba(228,51,51,.13);border-color:rgba(228,51,51,.45);color:#fff;}
.track-item.active .track-num{background:linear-gradient(135deg,#ff5f4d,#c21f1f);color:#fff;border-color:transparent;}
.track-item.active .track-go{opacity:1;background:linear-gradient(135deg,#ff5f4d,#c21f1f);color:#fff;}
@media (max-width:900px){
  .track{grid-template-columns:1fr;}
  .track-items{max-height:320px;}
  .track-play{width:64px;height:64px;}
  .track-play svg{width:26px;height:26px;}
}
@media (prefers-reduced-motion:reduce){.track-play,.track-item,.track-tab,.track-go{transition:none;}}

/* ── v3.1: tab list = one vertical column everywhere ─────────────
   Ahmed (02 Dec): no side-by-side tabs, no horizontal scrolling;
   every tab under the other, desktop sidebar and mobile.
   Loaded after phase3.css, so these beat its <=900px row-scroll
   and <=720px 3-col-grid overrides at equal specificity. */
.showcase-tabs{
  display:flex;
  flex-direction:column;
  flex-wrap:nowrap;
  gap:3px;
  max-height:none;
  overflow-x:hidden;
  overflow-y:visible;
  scroll-snap-type:none;
  justify-content:flex-start;
  padding:2px;
  margin:0;
}
.showcase-tab{
  width:100%;
  min-width:0;
  flex:none;
  justify-content:flex-start;
  padding:10px 12px;
  font-size:13.5px;
  line-height:1.4;
  white-space:nowrap;
  text-align:start;
  scroll-snap-align:none;
}
.showcase-tab .tab-index{display:inline-block;}
.showcase-tab .tab-arrow{display:block;}
.showcase-tab .tab-label{flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;}
.showcase-tab[aria-selected="true"]::before{
  inset-block:9px;
  inset-inline-start:0;
  inset-inline-end:auto;
  width:3px;
  height:auto;
}

/* ── stats strip (Ahmed, 02 Dec): icon cards, real data only ── */
.stats-strip{position:relative;padding:30px 0 34px;}
.stats-strip::before{content:"";position:absolute;inset:-60px 0 auto;height:300px;pointer-events:none;
  background:radial-gradient(760px 260px at 50% 0%, rgba(228,51,51,.15), transparent 70%);}
.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;position:relative;}
.stat-card{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 20px;border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.09);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.12), 0 24px 48px -28px rgba(0,0,0,.8), 0 0 34px -12px rgba(228,51,51,.28);}
.stat-ic{flex:none;width:46px;height:46px;border-radius:13px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(145deg,#e43333,#8f1414);
  box-shadow:0 0 20px rgba(228,51,51,.55), inset 0 1px 0 rgba(255,255,255,.35);}
.stat-ic svg{width:22px;height:22px;stroke:#fff;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.stat-tx{display:flex;flex-direction:column;gap:3px;min-width:0;}
.stat-tx b{font-size:21px;font-weight:800;color:var(--ink-warm,#fff);line-height:1.15;}
.stat-tx span{font-size:12.5px;color:var(--muted-warm,#b3a5a4);line-height:1.5;}
@media (max-width:980px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:560px){.stats-grid{gap:10px;}.stat-card{padding:14px;gap:10px;}.stat-tx b{font-size:16.5px;}.stat-tx span{font-size:11.5px;}.stat-ic{width:38px;height:38px;border-radius:11px;}.stat-ic svg{width:18px;height:18px;}}

/* ── lighting pass (Ahmed, 02 Dec): brighter ambient, palette locked ── */
.hero-v2 .hero-glow{background:
  radial-gradient(700px 480px at 72% 8%, rgba(228,51,51,.30), transparent 65%),
  radial-gradient(560px 420px at 18% 26%, rgba(228,51,51,.13), transparent 65%);}
.cap-strip{box-shadow:0 -1px 34px -10px rgba(228,51,51,.35), 0 1px 34px -10px rgba(228,51,51,.30);}
.stat-card, .showcase-viewer, .track-player{transition:box-shadow .3s var(--ease, ease);}
.stat-card:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.16), 0 26px 52px -28px rgba(0,0,0,.85), 0 0 44px -10px rgba(228,51,51,.4);}

/* ============ v3.2: TOOLS GUIDE BANNER ============ */
.guide-banner{position:relative;padding:26px 0 10px;}
.gb-card{position:relative;overflow:hidden;border-radius:28px;padding:52px 48px 30px;
  background:linear-gradient(180deg,rgba(24,10,10,.85),rgba(12,12,14,.9));
  border:1px solid rgba(228,51,51,.3);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.1), 0 40px 90px -40px rgba(0,0,0,.9), 0 0 70px -20px rgba(228,51,51,.35);}
.gb-card::before{content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(560px 300px at 82% 0%, rgba(228,51,51,.28), transparent 65%),
    radial-gradient(420px 260px at 10% 100%, rgba(228,51,51,.14), transparent 65%);}
.gb-copy{position:relative;max-width:640px;}
.gb-eyebrow{display:inline-flex;align-items:center;gap:8px;background:rgba(228,51,51,.14);border:1px solid rgba(228,51,51,.45);
  color:var(--ember,#ff8f7a);font-size:12.5px;font-weight:800;border-radius:999px;padding:6px 14px;}
.gb-eyebrow i{width:6px;height:6px;border-radius:50%;background:var(--red,#e43333);box-shadow:0 0 10px rgba(228,51,51,.9);}
.gb-copy h2{font-size:clamp(26px,3.6vw,40px);font-weight:900;line-height:1.3;margin:16px 0 10px;}
.gb-copy p{color:var(--text-2,#cfc6c5);font-size:clamp(14px,1.5vw,16.5px);max-width:56ch;}
.gb-stats{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 22px;}
.gb-stat{background:rgba(255,255,255,.05);border:1px solid var(--line,rgba(255,255,255,.09));border-radius:999px;padding:7px 16px;font-size:13px;font-weight:700;color:var(--text-2,#cfc6c5);}
.gb-stat b{color:var(--red-light,#ff5a4e);}
.gb-actions{display:flex;gap:12px;flex-wrap:wrap;}
.gb-float{position:absolute;width:54px;height:54px;border-radius:16px;display:flex;align-items:center;justify-content:center;
  background:rgba(228,51,51,.12);border:1px solid rgba(228,51,51,.4);
  box-shadow:0 0 34px -4px rgba(228,51,51,.55), inset 0 1px 0 rgba(255,255,255,.14);
  animation:gb-float 6s ease-in-out infinite;}
.gb-float svg{width:26px;height:26px;stroke:var(--red-light,#ff5a4e);fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;}
.gb-f1{top:36px;inset-inline-end:60px;}
.gb-f2{top:120px;inset-inline-end:180px;width:44px;height:44px;animation-delay:-2s;}
.gb-f3{top:150px;inset-inline-end:34px;width:48px;height:48px;animation-delay:-4s;}
.gb-f4{top:56px;inset-inline-end:280px;width:38px;height:38px;animation-delay:-1s;opacity:.85;}
@keyframes gb-float{0%,100%{transform:translateY(0) rotate(0deg);}50%{transform:translateY(-12px) rotate(4deg);}}
.gb-chips{position:relative;display:flex;gap:10px;flex-wrap:wrap;margin-top:34px;padding-top:22px;border-top:1px solid rgba(255,255,255,.08);}
.gb-chip{font-size:12.5px;font-weight:700;color:var(--text-3,#b3a5a4);background:rgba(255,255,255,.045);
  border:1px solid var(--line,rgba(255,255,255,.09));border-radius:999px;padding:6px 14px;transition:.2s;}
.gb-chip:hover{color:var(--text-1,#f7f3f2);border-color:rgba(228,51,51,.5);box-shadow:0 0 16px -4px rgba(228,51,51,.5);}
@media(max-width:900px){
  .gb-card{padding:38px 26px 24px;}
  .gb-f2,.gb-f4{display:none;}
  .gb-f1{top:24px;inset-inline-end:22px;}
  .gb-f3{display:none;}
}
@media(max-width:560px){
  .gb-float{display:none;}
}
@media(prefers-reduced-motion:reduce){
  .gb-float{animation:none;}
}

/* ============ v3.3: FEATURES SPOTLIGHT GRID (replaces bento) ============ */
.spot-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;margin-top:36px;}
.spot-card{
  position:relative;overflow:hidden;border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
  border:1px solid var(--line,rgba(255,255,255,.09));
  transition:transform .35s var(--ease,ease), border-color .3s, box-shadow .35s;
}
.spot-card:hover{transform:translateY(-6px);border-color:rgba(228,51,51,.45);
  box-shadow:0 34px 70px -30px rgba(0,0,0,.85), 0 0 44px -12px rgba(228,51,51,.4);}
.spot-media{
  position:relative;height:340px;display:flex;align-items:center;justify-content:center;
  background:
    radial-gradient(420px 240px at 50% 0%, rgba(228,51,51,.16), transparent 70%),
    linear-gradient(180deg,#0d0d10,#08080a);
  border-bottom:1px solid var(--line,rgba(255,255,255,.09));padding:22px;
}
.spot-media img{
  max-height:100%;max-width:100%;width:auto;height:auto;object-fit:contain;border-radius:12px;
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 24px 50px -20px rgba(0,0,0,.9), 0 0 34px -8px rgba(228,51,51,.3);
  transition:transform .45s var(--ease,ease);
}
.spot-card:hover .spot-media img{transform:translateY(-4px) scale(1.02);}
.spot-body{padding:22px 24px 24px;}
.spot-body h3{font-size:19px;font-weight:900;margin-bottom:8px;}
.spot-body p{color:var(--text-2,#cfc6c5);font-size:14px;line-height:1.9;}
.spot-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;}
.spot-chips span{font-size:11.5px;font-weight:700;color:var(--ember,#ff8f7a);
  background:rgba(228,51,51,.1);border:1px solid rgba(228,51,51,.3);border-radius:999px;padding:4px 12px;}
.spot-cta{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:34px;}
.spot-cta p{color:var(--text-2,#cfc6c5);font-size:15px;font-weight:600;}
@media(max-width:900px){
  .spot-grid{grid-template-columns:1fr;gap:20px;}
  .spot-media{height:300px;padding:16px;}
}

/* ============ v3.4: FEATURES ICON GRID (replaces spot-grid, no screenshots) ============ */
.feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:36px;}
.feat-card{
  position:relative;overflow:hidden;border-radius:20px;padding:26px 24px 22px;
  background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.015));
  border:1px solid var(--line,rgba(255,255,255,.09));
  transition:transform .35s var(--ease,ease), border-color .3s, box-shadow .35s;
}
.feat-card::before{content:"";position:absolute;inset:0;pointer-events:none;opacity:0;transition:opacity .35s;
  background:radial-gradient(320px 200px at 85% 0%, rgba(228,51,51,.16), transparent 65%);}
.feat-card:hover{transform:translateY(-6px);border-color:rgba(228,51,51,.5);
  box-shadow:0 30px 60px -26px rgba(0,0,0,.85), 0 0 44px -12px rgba(228,51,51,.45);}
.feat-card:hover::before{opacity:1;}
.feat-num{
  position:absolute;top:14px;inset-inline-end:18px;font-size:44px;font-weight:900;line-height:1;
  color:transparent;-webkit-text-stroke:1px rgba(228,51,51,.35);pointer-events:none;
}
.feat-water{
  position:absolute;bottom:-30px;inset-inline-start:-24px;width:150px;height:150px;
  stroke:rgba(228,51,51,.13);fill:none;stroke-width:1.4;pointer-events:none;
  transition:transform .5s var(--ease,ease), stroke .4s;
}
.feat-card:hover .feat-water{transform:rotate(-6deg) scale(1.08);stroke:rgba(228,51,51,.22);}
.feat-top{display:flex;align-items:center;gap:14px;margin-bottom:12px;position:relative;}
.feat-ic{
  flex:none;width:50px;height:50px;border-radius:14px;display:flex;align-items:center;justify-content:center;
  background:linear-gradient(145deg,rgba(228,51,51,.28),rgba(158,27,27,.14));
  border:1px solid rgba(228,51,51,.45);
  box-shadow:0 0 22px -4px rgba(228,51,51,.55), inset 0 1px 0 rgba(255,255,255,.16);
}
.feat-ic svg{width:24px;height:24px;stroke:var(--red-light,#ff5a4e);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;}
.feat-top h3{font-size:17.5px;font-weight:900;}
.feat-card p{position:relative;color:var(--text-2,#cfc6c5);font-size:13.5px;line-height:1.9;}
.feat-chips{position:relative;display:flex;gap:8px;flex-wrap:wrap;margin-top:14px;}
.feat-chips span{font-size:11.5px;font-weight:700;color:var(--ember,#ff8f7a);
  background:rgba(228,51,51,.1);border:1px solid rgba(228,51,51,.3);border-radius:999px;padding:4px 12px;}
@media(max-width:1000px){.feat-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:640px){.feat-grid{grid-template-columns:1fr;}}

/* ============ v3.5: NEON GLOW (buttons + headings) ============ */
.btn-primary{
  box-shadow:0 0 16px -1px rgba(228,51,51,.6), 0 0 44px -6px rgba(228,51,51,.45), 0 10px 30px -8px rgba(228,51,51,.55), inset 0 1px 0 rgba(255,255,255,.22) !important;
  text-shadow:0 0 14px rgba(255,215,205,.45);
}
.btn-primary:hover{
  box-shadow:0 0 24px 0 rgba(255,90,78,.75), 0 0 70px -6px rgba(228,51,51,.6), 0 14px 38px -8px rgba(228,51,51,.65), inset 0 1px 0 rgba(255,255,255,.28) !important;
}
.btn-ghost:hover{box-shadow:0 0 20px -4px rgba(228,51,51,.35) !important;}
@keyframes mpNeonPulse{
  0%,100%{box-shadow:0 0 16px -1px rgba(228,51,51,.6), 0 0 44px -6px rgba(228,51,51,.45), 0 10px 30px -8px rgba(228,51,51,.55), inset 0 1px 0 rgba(255,255,255,.22);}
  50%{box-shadow:0 0 26px 1px rgba(255,90,78,.85), 0 0 72px -4px rgba(228,51,51,.68), 0 12px 34px -8px rgba(228,51,51,.6), inset 0 1px 0 rgba(255,255,255,.26);}
}
.hero .btn-primary, .guide-banner .gb-actions .btn-primary, .gb-card .btn-primary, #payment-float{
  animation:mpNeonPulse 3.4s ease-in-out infinite;
}
#payment-float{
  box-shadow:0 0 18px -2px rgba(228,51,51,.7), 0 0 44px -8px rgba(228,51,51,.5) !important;
}
/* headings */
.grad-text{
  filter:drop-shadow(0 0 16px rgba(228,51,51,.5)) drop-shadow(0 0 46px rgba(228,51,51,.28));
}
.hero-title, .section-head h2, .gb-copy h2{
  text-shadow:0 0 40px rgba(228,51,51,.22), 0 0 14px rgba(228,51,51,.1);
}
/* eyebrow chips */
.eyebrow{
  text-shadow:0 0 12px rgba(255,143,122,.5);
  box-shadow:0 0 18px -4px rgba(228,51,51,.4), inset 0 0 12px rgba(228,51,51,.08) !important;
}
.gb-eyebrow{box-shadow:0 0 18px -4px rgba(228,51,51,.5);}
@media (prefers-reduced-motion:reduce){
  .hero .btn-primary, .guide-banner .gb-actions .btn-primary, .gb-card .btn-primary, #payment-float{animation:none;}
}

/* ═══════════════════════════════════════════════════════════
   v3.6: LIGHT THEME — white background + black dot pattern
   Ahmed (02 Dec): الخلفية تبقى أبيض بدل الأسود مع نقاط سوداء.
   Loaded LAST so these redefinitions win over tokens.css,
   glass.css, phase2/3.css and every earlier block in this file.
   Brand red, neon glows and all layout stay untouched.
   ═══════════════════════════════════════════════════════════ */

:root {
  /* surfaces: white / warm paper */
  --bg: #faf8f7;
  --bg-1: #f4f1ef;
  --bg-2: #efeae8;
  --bg-3: #e9e3e1;
  --surface-0: #ffffff;
  --surface-1: #ffffff;
  --surface-2: #faf7f5;
  --surface-3: #f3efed;
  --bg-dark: var(--bg);
  --bg-card: #ffffff;
  --bg-card-hover: #faf6f4;
  --bg-surface: #faf7f5;

  /* text: warm near-black scale (AA on white) */
  --text-1: #1d1519;
  --text-2: #51484d;
  --text-3: #71676c;
  --text-4: #a2989c;
  --text-primary: #1d1519;

  /* liquid glass → light glass */
  --glass-fill: linear-gradient(155deg, rgba(255,255,255,.92), rgba(255,255,255,.72) 55%, rgba(255,255,255,.82));
  --glass-fill-strong: linear-gradient(155deg, rgba(255,255,255,.97), rgba(255,255,255,.85) 60%, rgba(255,255,255,.92));
  --glass-border: rgba(29,17,21,.10);
  --glass-border-strong: rgba(29,17,21,.16);
  --line-soft: rgba(29,17,21,.06);
  --line: rgba(29,17,21,.10);
  --line-strong: rgba(29,17,21,.18);
  --border: #e7dfdd;
  --border-light: #dcd3d1;

  /* light elevation */
  --shadow-sm: 0 8px 22px -12px rgba(46,16,24,.14);
  --shadow-md: 0 20px 46px -20px rgba(46,16,24,.16);
  --shadow-lg: 0 40px 84px -30px rgba(46,16,24,.22);

  /* palette extras used across earlier blocks */
  --ink-warm: #1d1519;
  --muted-warm: #5b5156;
  --ember: #d23a2a;              /* deep ember: readable on white */
  --ember-soft: #ff8f7a;
  --wine-1: #f9eeec;             /* light wine wash for CTA panel */
  --wine-2: #f3e0dc;
  --grad-display: linear-gradient(115deg, #ff6b5a 0%, #f04438 28%, #e43333 55%, #b81f1f 80%, #8f1414 100%);

  --focus-color: #b81f1f;
}

/* ── white backdrop + black dot pattern ──────────────────── */
body {
  background:
    radial-gradient(1100px 520px at 85% -8%, rgba(228,51,51,.06), transparent 60%),
    radial-gradient(900px 480px at 8% 12%, rgba(228,51,51,.04), transparent 55%),
    var(--bg);
}
body::before {
  background-image: radial-gradient(circle, rgba(20,12,15,.16) 1.4px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: none;
  mask-image: none;
  opacity: .55;
}
::selection { background: rgba(228,51,51,.25); color: #1d1519; }

/* ── nav: light glass bar ────────────────────────────────── */
.nav .nav-inner {
  background: linear-gradient(155deg, rgba(255,255,255,.88), rgba(255,255,255,.66));
  border: 1px solid rgba(29,17,21,.09);
  box-shadow: 0 16px 44px -18px rgba(46,16,24,.22), inset 0 1px 0 rgba(255,255,255,.8);
}

/* ── hero ────────────────────────────────────────────────── */
.hero-v2 .hero-glow { opacity: .55; }
.hero-stat {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.65);
  box-shadow: 0 12px 28px -18px rgba(46,16,24,.25);
}
.hero-v2 .hero-stat { border-inline-start: 1px solid rgba(29,17,21,.14) !important; }
.hero-v2 .hero-stat:first-child { border-inline-start: 0 !important; }

/* ── cards: white paper + soft shadows ───────────────────── */
.card.glass, .step-card, .tut-card, .faq-item, .pay-card, .price-panel {
  border: 1px solid var(--line) !important;
  box-shadow: 0 22px 48px -24px rgba(46,16,24,.18), inset 0 1px 0 rgba(255,255,255,.7);
}
.card.glass:hover, .step-card:hover, .tut-card:hover, .faq-item:hover, .pay-card:hover {
  border-color: rgba(228,51,51,.4) !important;
  box-shadow: 0 30px 60px -24px rgba(46,16,24,.22), 0 0 0 1px rgba(228,51,51,.10), 0 12px 36px -14px rgba(228,51,51,.16);
}
.pay-card { background: #ffffff !important; }
.price-panel {
  border: 1px solid rgba(228,51,51,.25) !important;
  background:
    linear-gradient(160deg, rgba(228,51,51,.05), rgba(255,255,255,0) 45%),
    #ffffff !important;
}

/* ── eyebrow / headings on white ─────────────────────────── */
.eyebrow {
  background: rgba(228,51,51,.06) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}

/* ── capability marquee ──────────────────────────────────── */
.cap-strip {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(228,51,51,.05), rgba(249,238,236,.8), rgba(228,51,51,.05));
  box-shadow: 0 -1px 26px -14px rgba(228,51,51,.3), 0 1px 26px -14px rgba(228,51,51,.25);
}
.cap-item { color: var(--text-1); }

/* ── stats strip cards ───────────────────────────────────── */
.stat-card {
  background: linear-gradient(180deg, #ffffff, #faf6f4);
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 22px 44px -26px rgba(46,16,24,.22), 0 0 30px -14px rgba(228,51,51,.2);
}
.stat-card:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 26px 50px -26px rgba(46,16,24,.26), 0 0 40px -12px rgba(228,51,51,.3); }

/* ── tools showcase viewer: dark frame → light mat ───────── */
.showcase-viewer {
  background: linear-gradient(180deg, #f3efec, #ece6e3) !important;
  border: 1px solid var(--line-strong) !important;
  box-shadow: 0 34px 80px -34px rgba(46,16,24,.3), inset 0 1px 0 rgba(255,255,255,.8) !important;
}
.viewer-stage {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(228,51,51,.07), transparent 62%),
    linear-gradient(180deg, #f3efec, #ece6e3) !important;
}
.showcase-tab { background: rgba(255,255,255,.6); }
.showcase-tab:hover { color: var(--text-1); background: rgba(255,255,255,.95); }
.showcase-tab.active { color: #fff; }

/* ── features icon grid ──────────────────────────────────── */
.feat-card {
  background: linear-gradient(180deg, #ffffff, #faf6f4);
  border: 1px solid var(--line);
}
.feat-card:hover {
  border-color: rgba(228,51,51,.45);
  box-shadow: 0 28px 56px -26px rgba(46,16,24,.22), 0 0 40px -12px rgba(228,51,51,.3);
}
.spot-card { background: linear-gradient(180deg, #ffffff, #faf6f4); border: 1px solid var(--line); }
.spot-card:hover { box-shadow: 0 30px 60px -28px rgba(46,16,24,.24), 0 0 40px -12px rgba(228,51,51,.3); }
.spot-media {
  background:
    radial-gradient(420px 240px at 50% 0%, rgba(228,51,51,.10), transparent 70%),
    linear-gradient(180deg, #f3efec, #eae3e0);
  border-bottom: 1px solid var(--line);
}
.spot-media img {
  border: 1px solid rgba(29,17,21,.12);
  box-shadow: 0 22px 44px -20px rgba(46,16,24,.3), 0 0 30px -10px rgba(228,51,51,.22);
}

/* ── tutorial track ──────────────────────────────────────── */
.track-tab { background: rgba(255,255,255,.6); }
.track-tab:hover { color: var(--text-1); border-color: rgba(228,51,51,.5); }
.track-tab.active { color: #fff; }
.track-item:hover { background: rgba(29,17,21,.045); color: var(--text-1); }
.track-item.active { background: rgba(228,51,51,.10); border-color: rgba(228,51,51,.4); color: #a31d1d; }
.track-item.active .track-num, .track-item.active .track-go { color: #fff; }
.track-go { background: rgba(29,17,21,.05); }
.tut-tab { background: rgba(255,255,255,.6) !important; }
.tut-tab:hover { color: var(--text-1) !important; background: rgba(255,255,255,.95) !important; }

/* ── steps ───────────────────────────────────────────────── */
#how .step-num { background: #ffffff; }

/* ── testimonials chat cards ─────────────────────────────── */
.wa-chat {
  background: linear-gradient(180deg, #ffffff, #faf5f3) !important;
  box-shadow: 0 24px 60px -32px rgba(46,16,24,.24), inset 0 1px 0 rgba(255,255,255,.7) !important;
}
.wa-chat:hover { box-shadow: 0 30px 70px -30px rgba(46,16,24,.28), 0 0 34px -18px rgba(228,51,51,.28) !important; }
.wa-chat-header { background: linear-gradient(90deg, rgba(228,51,51,.07), rgba(255,255,255,.4) 60%); }
.wa-msg-bubble {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 26px -18px rgba(46,16,24,.2);
}

/* ── guide banner: light card ────────────────────────────── */
.gb-card {
  background: linear-gradient(180deg, #ffffff, #fbf5f3);
  border: 1px solid rgba(228,51,51,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 36px 80px -40px rgba(46,16,24,.25), 0 0 60px -24px rgba(228,51,51,.25);
}
.gb-card::before {
  background:
    radial-gradient(560px 300px at 82% 0%, rgba(228,51,51,.12), transparent 65%),
    radial-gradient(420px 260px at 10% 100%, rgba(228,51,51,.06), transparent 65%);
}
.gb-stat { background: rgba(255,255,255,.7); }
.gb-chip { background: rgba(255,255,255,.7); }
.gb-chip:hover { color: var(--text-1); }
.gb-chips { border-top: 1px solid var(--line); }

/* ── tour frame / device shots: light mat ────────────────── */
.tour-frame, .tour-frame-img-wrap { background: linear-gradient(180deg, #f3efec, #ece6e3); }
.device-shot img { background: #f3efec; }

/* ── popups / dropdowns / modals ─────────────────────────── */
.user-dropdown, .modal-box {
  background: #ffffff;
  border: 1px solid var(--line-strong);
  box-shadow: 0 24px 60px -20px rgba(46,16,24,.3);
}
.ud-header { border-bottom: 1px solid var(--line); }
.ud-item:hover { background: rgba(29,17,21,.05); }
.ud-divider { background: var(--line); }
.modal-close { background: rgba(29,17,21,.05); }
.vid-popup {
  background: linear-gradient(180deg, #ffffff, #faf6f4);
  border: 1px solid var(--line-strong);
  box-shadow: 0 50px 120px -30px rgba(46,16,24,.35), 0 0 0 1px rgba(228,51,51,.12), 0 0 70px -28px rgba(228,51,51,.3);
}

/* ── final CTA: light wine wash ──────────────────────────── */
.final-cta, [class*="final"] {
  background:
    radial-gradient(700px 300px at 50% -20%, rgba(228,51,51,.12), transparent 65%),
    linear-gradient(160deg, var(--wine-1), #ffffff 70%) !important;
  border: 1px solid rgba(228,51,51,.2) !important;
}

/* ── footer ──────────────────────────────────────────────── */
.footer-bottom { border-top: 1px solid var(--line); }

/* ── form fields on white ────────────────────────────────── */
input, textarea, select { color-scheme: light; }

/* ============ v3.6: WHY SECTION (ليه المونتير بيختار MotionPilot؟) ============ */
.why-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-top:40px; }
.why-card {
  position:relative; overflow:hidden; border-radius:22px; padding:30px 28px 26px;
  background:linear-gradient(180deg, #ffffff, #faf6f4);
  border:1px solid var(--line);
  box-shadow:0 22px 48px -24px rgba(46,16,24,.18), inset 0 1px 0 rgba(255,255,255,.7);
  transition:transform .35s var(--ease), border-color .3s, box-shadow .35s;
}
.why-card::before {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:radial-gradient(340px 210px at 85% 0%, rgba(228,51,51,.09), transparent 65%);
}
.why-card:hover { transform:translateY(-5px); border-color:rgba(228,51,51,.4); box-shadow:0 30px 60px -26px rgba(46,16,24,.24), 0 0 40px -14px rgba(228,51,51,.25); }
.why-card h3 {
  position:relative; display:flex; align-items:center; gap:12px;
  font-size:20px; font-weight:900; margin:0 0 18px; color:var(--ink-warm);
}
.why-card h3 .why-ic {
  flex:none; width:44px; height:44px; border-radius:13px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(145deg, rgba(228,51,51,.24), rgba(158,27,27,.10));
  border:1px solid rgba(228,51,51,.4);
  box-shadow:0 0 20px -4px rgba(228,51,51,.4), inset 0 1px 0 rgba(255,255,255,.6);
}
.why-ic svg { width:22px; height:22px; stroke:var(--red); fill:none; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.why-list { position:relative; list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:2px; }
.why-list li {
  display:flex; align-items:flex-start; gap:11px; padding:9px 0;
  font-size:14.5px; line-height:1.75; color:var(--text-2); font-weight:600;
  border-bottom:1px dashed var(--line-soft);
}
.why-list li:last-child { border-bottom:0; }
.why-check {
  flex:none; width:22px; height:22px; margin-top:2px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, #f04438, #b81f1f);
  box-shadow:0 4px 12px -4px rgba(228,51,51,.55);
}
.why-check svg { width:11px; height:11px; stroke:#fff; stroke-width:3.2; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.why-shot {
  position:relative; margin-top:30px; border-radius:24px; overflow:hidden;
  border:1px solid var(--line-strong);
  background:linear-gradient(180deg, #f3efec, #ece6e3);
  box-shadow:0 40px 90px -34px rgba(46,16,24,.3), 0 0 50px -16px rgba(228,51,51,.25), inset 0 1px 0 rgba(255,255,255,.8);
  padding:clamp(14px,2.4vw,28px);
}
.why-shot img {
  display:block; width:100%; height:auto; border-radius:14px;
  border:1px solid rgba(29,17,21,.12);
  box-shadow:0 26px 60px -24px rgba(30,10,16,.45);
}
.why-shot figcaption { text-align:center; margin-top:14px; font-size:13px; color:var(--text-3); font-weight:600; }
@media (max-width:900px){
  .why-grid { grid-template-columns:1fr; gap:18px; }
  .why-card { padding:24px 20px 20px; }
}

/* ============ v3.6: ARAB PAYMENT SECTION (ادفع من بلدك) ============ */
.pay-flags { display:flex; flex-wrap:wrap; justify-content:center; gap:12px 14px; margin-top:36px; }
.flag-chip {
  display:flex; align-items:center; gap:9px; padding:9px 16px 9px 12px; border-radius:999px;
  background:#ffffff; border:1px solid var(--line);
  box-shadow:0 10px 24px -14px rgba(46,16,24,.18);
  font-size:13.5px; font-weight:700; color:var(--text-2);
  transition:transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
[dir="rtl"] .flag-chip { padding:9px 12px 9px 16px; }
.flag-chip:hover { transform:translateY(-3px); border-color:rgba(228,51,51,.4); box-shadow:0 16px 32px -14px rgba(46,16,24,.24), 0 0 22px -8px rgba(228,51,51,.3); color:var(--text-1); }
.flag-chip img { width:26px; height:auto; border-radius:4px; border:1px solid rgba(29,17,21,.14); display:block; }
.flag-chip.is-home {
  background:linear-gradient(135deg, #f04438, #b81f1f); border-color:transparent; color:#fff;
  box-shadow:0 0 20px -2px rgba(228,51,51,.55), 0 14px 34px -12px rgba(228,51,51,.5);
}
.flag-chip.is-home img { border-color:rgba(255,255,255,.4); }
.pay-methods-note {
  display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-top:26px;
}
.pmn {
  display:inline-flex; align-items:center; gap:8px; padding:8px 18px; border-radius:999px;
  background:rgba(228,51,51,.06); border:1px solid rgba(228,51,51,.28);
  font-size:13px; font-weight:700; color:var(--ember);
}
.pmn svg { width:15px; height:15px; stroke:currentColor; fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.pay-flags-note { text-align:center; margin-top:18px; font-size:12.5px; color:var(--text-3); line-height:1.9; }
@media (max-width:640px){
  .flag-chip { font-size:12px; padding:7px 12px; gap:7px; }
  .flag-chip img { width:21px; }
}

/* ── v3.6 fixes: darker dots, showcase panel, chips, popups ── */
body::before {
  background-image: radial-gradient(circle, rgba(20,12,15,.20) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
  opacity: .9;
}
.showcase-panel {
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(228,51,51,.06), transparent 62%),
    linear-gradient(165deg, #ffffff, #f6f1ef) !important;
  border: 1px solid var(--line-strong) !important;
  box-shadow: 0 40px 100px -40px rgba(46,16,24,.25), inset 0 1px 0 rgba(255,255,255,.8) !important;
}
.showcase-side {
  background: linear-gradient(180deg, rgba(255,255,255,.7), rgba(29,17,21,.03)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7) !important;
}
.showcase-tabs::-webkit-scrollbar-thumb { background: rgba(29,17,21,.18); }
.showcase-tab:hover { background: rgba(29,17,21,.05); }
.float-chip {
  background: linear-gradient(150deg, #ffffff, #f6f1ef) !important;
  border: 1px solid var(--line-strong) !important;
  color: var(--text-1);
  box-shadow: 0 18px 40px -16px rgba(46,16,24,.28), inset 0 1px 0 rgba(255,255,255,.8) !important;
}
.wa-popup { background: #ffffff; border: 1px solid var(--line-strong); box-shadow: 0 18px 44px -14px rgba(46,16,24,.3); }
.wa-popup-name { color: var(--text-1); }
.wa-popup-time { color: var(--text-4); }
.wa-popup-msg { color: var(--text-2); }
.wa-popup-close { background: rgba(29,17,21,.06); color: var(--text-3); }
.wa-popup-close:hover { background: rgba(29,17,21,.12); color: var(--text-1); }
.wa-dot { border-color: #ffffff; }

/* ── v3.6 fixes 2: late inline styles in index.php need !important ── */
.wa-popup { background:#ffffff !important; border:1px solid var(--line-strong) !important; box-shadow:0 18px 44px -14px rgba(46,16,24,.3) !important; }
.wa-popup-name { color:var(--text-1) !important; }
.wa-popup-time { color:var(--text-4) !important; }
.wa-popup-msg { color:var(--text-2) !important; }
.wa-popup-close { background:rgba(29,17,21,.06) !important; color:var(--text-3) !important; }
.wa-popup-close:hover { background:rgba(29,17,21,.12) !important; color:var(--text-1) !important; }
.wa-dot { border-color:#ffffff !important; }

/* ── v3.6 fixes 3: pricing layout frame ── */
.price-layout {
  background:
    radial-gradient(700px 380px at 50% -10%, rgba(228,51,51,.08), transparent 65%),
    linear-gradient(165deg, #ffffff, #f8f2f0) !important;
  border: 1px solid rgba(228,51,51,.22) !important;
  box-shadow: 0 40px 90px -40px rgba(46,16,24,.22), inset 0 1px 0 rgba(255,255,255,.8) !important;
}
.price-layout .price-panel { box-shadow: none !important; }

/* ============ v3.8: leftover hardcoded dark surfaces (03 Dec 2026) ============
   Ahmed: step cards (ثلاث خطوات بسيطة) + FAQ accordion (عندك سؤال؟) still
   dark with unreadable dark-on-dark text. Root cause: phase2/3.css hardcode
   dark gradients on these (not var-driven), so v3.6's token flip never
   reached them. Same story for tut-card, tut-badge and the hero float-chips.
   White paper cards, brand red kept. */
#how .step-card {
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(228,51,51,.05), transparent 70%),
    linear-gradient(180deg, #ffffff, #faf6f4) !important;
  box-shadow: 0 22px 48px -24px rgba(46,16,24,.18), inset 0 1px 0 rgba(255,255,255,.7) !important;
}
.faq-item {
  background: linear-gradient(180deg, #ffffff, #fbf7f5) !important;
}
.faq-item:hover { border-color: rgba(228,51,51,.4) !important; }
.faq-item.open {
  background: #ffffff !important;
  border-color: rgba(228,51,51,.32) !important;
  box-shadow: 0 22px 48px -24px rgba(46,16,24,.16) !important;
}
.tut-card {
  background: linear-gradient(180deg, #ffffff, #faf6f4) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 22px 48px -24px rgba(46,16,24,.18) !important;
}
.tut-badge {
  background: rgba(255,255,255,.92) !important;
  color: #a31d1d !important;
  border-color: rgba(228,51,51,.35) !important;
  box-shadow: 0 8px 20px -10px rgba(46,16,24,.3) !important;
}
.float-chip {
  background: linear-gradient(155deg, rgba(255,255,255,.92), rgba(255,255,255,.78)) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 24px 50px -20px rgba(46,16,24,.28), inset 0 1px 0 rgba(255,255,255,.8) !important;
}

/* ============ v3.9: BENEFITS SECTION REDESIGN (03 Dec 2026) ============
   Ahmed: the 6-card "ليه المونتير بيختار MotionPilot؟" (لماذا MotionPilot
   chip) section looked broken — icon badges half outside the card corner,
   text hugging the edges, sharp corners, thin borders, cramped type.
   Root cause: these .card.glass items never had section styles — no
   padding and no radius came from any stylesheet; only generic glass.
   Scoped to #why-mp only (v3.10: grid merged into why-mp); generic card styles untouched. */
#why-mp .grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 44px;
}
#why-mp .card.glass {
  border-radius: 20px;
  padding: 26px 24px 24px;
  background: linear-gradient(180deg, #ffffff, #fbf7f5);
  border: 1px solid var(--line) !important;
  box-shadow: 0 18px 42px -22px rgba(46,16,24,.16), inset 0 1px 0 rgba(255,255,255,.7);
  display: flex; flex-direction: column;
}
#why-mp .card.glass::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(300px 180px at 88% 0%, rgba(228,51,51,.07), transparent 65%);
}
#why-mp .card.glass:hover {
  transform: translateY(-4px);
  border-color: rgba(228,51,51,.38) !important;
  box-shadow: 0 28px 56px -24px rgba(46,16,24,.22), 0 0 0 1px rgba(228,51,51,.08), 0 12px 36px -14px rgba(228,51,51,.18);
}
#why-mp .card-icon {
  width: 46px; height: 46px; border-radius: 14px; margin: 0 0 16px;
  background: linear-gradient(145deg, rgba(228,51,51,.14), rgba(158,27,27,.06));
  border: 1px solid rgba(228,51,51,.28);
  box-shadow: 0 8px 18px -8px rgba(228,51,51,.35), inset 0 1px 0 rgba(255,255,255,.7);
}
#why-mp .card-icon svg { width: 22px; height: 22px; stroke: var(--red); }
#why-mp .card h3 {
  position: relative;
  font-size: 17.5px; font-weight: 800; color: var(--ink-warm);
  margin: 0 0 8px; line-height: 1.45;
}
#why-mp .card p {
  position: relative;
  font-size: 14px; line-height: 1.85; color: var(--text-2);
  margin: 0; font-weight: 500;
}
@media (max-width: 1024px) {
  #why-mp .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  #why-mp .grid-3 { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
  #why-mp .card.glass { padding: 22px 20px 20px; }
}
