/* ==========================================================================
   MOBLZ TOOLS — Black & Gold
   ========================================================================== */
:root {
  --bg:        #0a0a0b;
  --bg-2:      #0f0f11;
  --surface:   #151518;
  --surface-2: #1c1c20;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);

  --text:      #f5f3ee;
  --text-2:    #c9c6bf;
  --muted:     #8d8a84;

  --gold:      #e3b341;
  --gold-2:    #f3cd66;
  --gold-3:    #b8862a;
  --gold-soft: rgba(227,179,65,.12);
  --gold-line: rgba(227,179,65,.35);
  --gold-ink:  #1a1406;

  --wa:        #25d366;

  --radius:    18px;
  --radius-sm: 12px;
  --container: 1200px;

  --font: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-num: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--gold-ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 780px; }
.gold { color: var(--gold); background: linear-gradient(180deg, var(--gold-2), var(--gold)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- أزرار ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15px; line-height: 1; white-space: nowrap;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background .18s, border-color .18s, box-shadow .18s, color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 18px 30px; font-size: 16.5px; border-radius: 14px; }
.btn-sm { padding: 10px 16px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-gold {
  color: var(--gold-ink);
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 10px 30px rgba(227,179,65,.25), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn-gold:hover { box-shadow: 0 14px 40px rgba(227,179,65,.38), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-line { color: var(--text); border-color: var(--line-2); background: rgba(255,255,255,.03); }
.btn-line:hover { border-color: var(--gold-line); color: var(--gold-2); }
.btn-dark { background: var(--bg); color: var(--gold-2); box-shadow: 0 12px 30px rgba(0,0,0,.35); }

/* ---------- الهيدر ---------- */
/* محتوى الصفحة في طبقة تحت الهيدر — علشان القايمة المنسدلة تفضل فوق */
main, .site-footer { position: relative; z-index: 0; }
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100; isolation: isolate;
  transition: background .25s, border-color .25s, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(10,10,11,.78); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--gold); display: flex; }
.brand-mark img { height: 32px; width: auto; display: block; }
.site-footer .brand-mark img { height: 30px; }
.brand-text { font-family: var(--font-num); font-weight: 800; font-size: 19px; letter-spacing: .5px; direction: ltr; }
.brand-text em { font-style: normal; font-weight: 600; color: var(--gold); margin-inline-start: 5px; font-size: 12px; letter-spacing: 2.5px; }
.main-nav { display: flex; gap: 30px; }
.main-nav a { font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: color .15s; }
.main-nav a:hover { color: var(--gold-2); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; flex-direction: column; gap: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- الهيرو ---------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(227,179,65,.16), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(227,179,65,.06), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0/56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0/56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 40%, transparent 85%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 48px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--gold-2);
  background: var(--gold-soft); border: 1px solid var(--gold-line);
  padding: 7px 16px; border-radius: 999px; margin-bottom: 26px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--gold); opacity: .5; animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { transform: scale(2); opacity: 0; } }
.hero h1 { font-size: clamp(36px, 5.6vw, 66px); font-weight: 700; line-height: 1.22; letter-spacing: -.5px; }
.lead { margin-top: 22px; max-width: 600px; font-size: clamp(16px, 1.6vw, 18.5px); color: var(--text-2); line-height: 1.95; }
.lead b { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--text-2); font-size: 14px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--gold); }

.hero-visual { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.hero-visual::before {
  content: ""; position: absolute; width: 420px; height: 420px; top: 50%; left: 50%; transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(227,179,65,.28), transparent 65%); filter: blur(20px);
}
.phone {
  position: relative; width: 290px; aspect-ratio: 9/16; padding: 0; cursor: pointer;
  border-radius: 42px; border: 10px solid #1d1d21; background: #000; overflow: hidden;
  box-shadow: 0 0 0 1px #34343a, 0 40px 90px rgba(0,0,0,.7), 0 0 60px rgba(227,179,65,.12);
}
.phone::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); z-index: 2; width: 82px; height: 22px; border-radius: 20px; background: #050505; }
.phone-video { width: 100%; height: 100%; object-fit: cover; }
.phone-sound {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  font-size: 12.5px; font-weight: 600; color: #fff;
  background: rgba(10,10,11,.7); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.18); padding: 8px 14px; border-radius: 999px;
}
.float-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px;
  background: rgba(24,24,28,.82); backdrop-filter: blur(12px);
  border: 1px solid var(--line-2); border-radius: 14px; padding: 11px 15px 11px 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.45); animation: float 6s ease-in-out infinite;
}
.float-chip b { display: block; font-family: var(--font-num); font-size: 14.5px; line-height: 1.3; }
.float-chip small { color: var(--muted); font-size: 12px; }
.chip-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--gold); background: var(--gold-soft); border: 1px solid var(--gold-line); }
.chip-a { bottom: 30%; inset-inline-end: -22%; }
.chip-b { bottom: 9%; inset-inline-start: -20%; animation-delay: -2s; }
.chip-c { top: 7%; inset-inline-end: -18%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* ---------- الأرقام ---------- */
.stats-band { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 20px; text-align: center; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat strong { display: block; font-family: var(--font-num); font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; line-height: 1.1; color: var(--gold-2); direction: ltr; }
.stat > span { color: var(--text-2); font-size: 14.5px; }
.tbd { outline: 1px dashed rgba(255,120,120,.6); outline-offset: 6px; border-radius: 6px; }

/* ---------- أقسام ---------- */
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.kicker { display: inline-block; font-size: 13.5px; font-weight: 700; color: var(--gold); letter-spacing: .3px; margin-bottom: 14px; }
.kicker::before, .kicker::after { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--gold-line); vertical-align: middle; margin-inline: 10px; }
.section-head h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 700; line-height: 1.3; letter-spacing: -.3px; }
.section-head p { color: var(--text-2); font-size: 17px; margin-top: 14px; }

/* ---------- نافذة (screenshot / video) ---------- */
.window {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.4);
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); direction: ltr; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a3a40; }
.window-bar i:first-child { background: #ff5f57; } .window-bar i:nth-child(2) { background: #febc2e; } .window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin-inline: auto; font-family: var(--font-num); font-size: 12px; color: var(--muted); transform: translateX(-24px); }
.window-body { position: relative; aspect-ratio: 16/9; background: #000; }
.window-body img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity .6s ease, transform 1.2s ease; }
.window-body img.is-on { opacity: 1; transform: none; }
.window-progress { height: 3px; background: var(--line); }
.window-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-2)); }
.window-progress span.run { animation: prog var(--dur, 5s) linear forwards; }
@keyframes prog { to { width: 100%; } }

/* خطوات */
.showcase { display: grid; grid-template-columns: .82fr 1.18fr; gap: 36px; align-items: center; }
.steps { display: grid; gap: 8px; counter-reset: s; }
.steps button {
  width: 100%; display: flex; gap: 16px; align-items: flex-start; text-align: start;
  background: transparent; border: 1px solid transparent; border-radius: 14px; padding: 16px 18px; cursor: pointer;
  transition: background .2s, border-color .2s;
}
.steps button:hover { background: rgba(255,255,255,.025); }
.steps button[aria-selected="true"] { background: var(--surface); border-color: var(--gold-line); }
.steps .n {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--font-num); font-weight: 700; font-size: 13.5px; color: var(--muted);
  border: 1px solid var(--line-2); transition: all .2s;
}
.steps button[aria-selected="true"] .n { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }
.steps b { display: block; font-size: 16.5px; font-weight: 600; line-height: 1.5; }
.steps small { display: block; color: var(--muted); font-size: 14px; line-height: 1.7; margin-top: 3px; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.steps button[aria-selected="true"] small { max-height: 60px; }

/* الفيديو الرئيسي */
.window-video { max-width: 1000px; margin-inline: auto; }
.video-frame { position: relative; aspect-ratio: 16/9; background: #000 center/cover no-repeat; cursor: pointer; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65), rgba(0,0,0,.05) 50%); pointer-events: none; transition: opacity .2s; }
.video-frame.is-playing::after, .video-frame.is-playing .big-play, .video-frame.is-playing .video-caption { display: none; }
.big-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2;
  width: 86px; height: 86px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center; color: var(--gold-ink);
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 0 10px rgba(227,179,65,.18), 0 20px 50px rgba(0,0,0,.5);
  transition: transform .2s, box-shadow .2s;
}
.big-play svg { margin-inline-start: 4px; }
.video-frame:hover .big-play { transform: translate(-50%,-50%) scale(1.06); box-shadow: 0 0 0 16px rgba(227,179,65,.14), 0 20px 50px rgba(0,0,0,.5); }
.video-caption { position: absolute; inset-inline-start: 24px; bottom: 20px; z-index: 2; font-weight: 600; font-size: 16px; color: #fff; }

/* ---------- المميزات ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.feature { background: var(--bg); padding: 36px 32px; transition: background .25s; }
.feature:hover { background: var(--surface); }
.f-ic {
  display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
  color: var(--gold); background: linear-gradient(180deg, rgba(227,179,65,.16), rgba(227,179,65,.05)); border: 1px solid var(--gold-line);
}
.feature h3 { font-size: 19px; font-weight: 600; margin: 20px 0 8px; }
.feature p { color: var(--muted); font-size: 15px; line-height: 1.85; }
.audience { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 44px; color: var(--muted); font-size: 15px; }
.audience b { font-weight: 500; color: var(--text-2); border: 1px solid var(--line-2); padding: 7px 16px; border-radius: 999px; }

/* ---------- الريلز ---------- */
.reels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.reel-card {
  position: relative; aspect-ratio: 9/16; padding: 0; border: 1px solid var(--line-2); border-radius: 18px;
  overflow: hidden; cursor: pointer; background: var(--surface); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.reel-card video { width: 100%; height: 100%; object-fit: cover; }
.reel-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.7), transparent 35%); }
.reel-card:hover, .reel-card:focus-visible { transform: translateY(-6px); border-color: var(--gold-line); box-shadow: 0 26px 50px rgba(0,0,0,.5); outline: none; }
.reel-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); z-index: 2;
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255,255,255,.14); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,.3); transition: all .2s;
}
.reel-card:hover .reel-play { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.reel-meta {
  position: absolute; inset-inline-start: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-num); font-size: 12.5px; font-weight: 600; color: #fff;
  background: rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.15); padding: 6px 10px; border-radius: 999px;
}

/* ---------- الآراء ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review {
  display: flex; flex-direction: column; gap: 22px; justify-content: space-between;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.review-lg { grid-row: span 2; background: linear-gradient(180deg, rgba(227,179,65,.09), var(--surface) 60%); border-color: var(--gold-line); }
.review .q { color: var(--gold); opacity: .8; }
.review blockquote { font-size: 16.5px; line-height: 1.9; color: var(--text); flex: 1; }
.review-lg blockquote { font-size: 20px; line-height: 1.9; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px solid var(--line); }
.review figcaption b { display: block; font-size: 15px; font-weight: 600; }
.review figcaption small { color: var(--muted); font-size: 13px; }
.av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); }

/* ---------- السعر ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; max-width: 1040px; margin-inline: auto; }
.price-card {
  position: relative; background: var(--surface); border-radius: 24px; padding: 38px 34px; display: grid; gap: 12px;
  border: 1px solid var(--gold-line); box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 80px rgba(227,179,65,.08);
}
.price-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, var(--gold-2), transparent 40%, transparent 60%, var(--gold-3)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.price-head { text-align: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.badge { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--gold-ink); background: var(--gold); padding: 5px 12px; border-radius: 999px; }
.price-head h3 { font-size: 19px; font-weight: 600; margin-top: 14px; color: var(--text-2); }
.price { display: flex; align-items: baseline; justify-content: center; gap: 8px; margin-top: 8px; }
.price span { font-family: var(--font-num); font-size: 64px; font-weight: 800; line-height: 1.1; letter-spacing: -1px; }
.price em { font-style: normal; font-size: 18px; color: var(--muted); font-weight: 600; }
.price-note { color: var(--muted); font-size: 14px; }
.checks { display: grid; gap: 11px; margin-bottom: 14px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.checks svg { flex-shrink: 0; color: var(--gold); margin-top: 4px; }
.perks { display: grid; gap: 14px; }
.perk { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.015); }
.perk b { font-size: 16.5px; font-weight: 600; }
.perk p { color: var(--muted); font-size: 14.5px; margin-top: 4px; line-height: 1.8; }

/* ---------- الأسئلة ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s; }
.faq details[open] { border-color: var(--gold-line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-num); font-size: 22px; color: var(--gold); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 22px; color: var(--text-2); font-size: 15.5px; }

/* ---------- CTA الأخير ---------- */
.final-cta { padding: 40px 0 120px; }
.final-box {
  position: relative; overflow: hidden; text-align: center; border-radius: 28px; padding: 76px 30px;
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 45%, var(--gold-3)); color: var(--gold-ink);
}
.final-box::before {
  content: ""; position: absolute; inset: 0; opacity: .25;
  background: linear-gradient(rgba(0,0,0,.18) 1px, transparent 1px) 0 0/44px 44px, linear-gradient(90deg, rgba(0,0,0,.18) 1px, transparent 1px) 0 0/44px 44px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
}
.final-box > * { position: relative; }
.final-box h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 700; line-height: 1.3; }
.final-box p { font-size: 18px; margin-top: 10px; opacity: .85; }
.final-box .hero-actions { justify-content: center; }

/* ---------- الفوتر ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.1fr; gap: 32px; padding-block: 70px 50px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 320px; line-height: 1.9; }
.footer-col h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14.5px; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--gold-2); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text-2); transition: all .15s; }
.socials a:hover { color: var(--gold-ink); background: var(--gold); border-color: var(--gold); }
.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; padding-block: 22px; color: var(--muted); font-size: 13.5px; }

/* ---------- عائم ---------- */
.wa-float {
  position: fixed; inset-inline-start: 22px; bottom: 22px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 28px rgba(37,211,102,.35); transition: transform .18s;
}
.wa-float:hover { transform: scale(1.07); }
.mobile-cta { display: none; }

/* ---------- مشغّل الريلز ---------- */
.lb-open, .lb-open body { overflow: hidden; }
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(5,5,6,.94); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; gap: 20px; padding: 20px; }
.lightbox[hidden] { display: none; }
.lb-stage { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-video { height: min(82vh, 820px); max-width: calc(100vw - 40px); aspect-ratio: 9/16; border-radius: 18px; background: #000; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-caption { color: var(--text-2); font-weight: 600; font-size: 15px; }
.lb-close, .lb-nav { border: 1px solid var(--line-2); background: rgba(255,255,255,.06); color: #fff; border-radius: 50%; cursor: pointer; display: grid; place-items: center; line-height: 1; transition: background .15s; }
.lb-close:hover, .lb-nav:hover { background: var(--gold); color: var(--gold-ink); }
.lb-close { position: absolute; top: 20px; inset-inline-end: 20px; width: 46px; height: 46px; font-size: 26px; }
.lb-nav { width: 52px; height: 52px; font-size: 30px; flex-shrink: 0; }

/* ---------- ظهور تدريجي ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float-chip, .pulse::after { animation: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   الشاشات الأصغر
   ========================================================================== */
@media (max-width: 1080px) {
  .main-nav { gap: 20px; }
  .chip-b { inset-inline-start: -6%; } .chip-a, .chip-c { inset-inline-end: -8%; }
}
@media (max-width: 980px) {
  .section { padding: 90px 0; }
  .hero { padding: 120px 0 70px; text-align: center; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .phone { width: 250px; }
  .showcase { grid-template-columns: 1fr; }
  .window { order: -1; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -24px; padding: 6px 24px 14px; scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reel-card { flex: 0 0 40%; scroll-snap-align: center; }
  .reviews { grid-template-columns: 1fr 1fr; }
  .review-lg { grid-column: 1 / -1; grid-row: auto; }
  .pricing { grid-template-columns: 1fr; max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; }
  .footer-brand { grid-column: 1 / -1; }

  .main-nav {
    position: absolute; top: 76px; inset-inline: 0; flex-direction: column; gap: 0;
    background: rgba(10,10,11,.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav a { padding: 15px 24px; border-top: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .site-header.menu-open { background: rgba(10,10,11,.97); }
}
@media (max-width: 640px) {
  .container { padding-inline: 18px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .header-cta .btn-sm { display: none; }
  .hero { padding: 104px 0 56px; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { flex-direction: column; align-items: center; gap: 6px; }
  .float-chip { padding: 8px 12px; } .chip-ic { width: 30px; height: 30px; }
  .float-chip b { font-size: 13px; } .float-chip small { font-size: 11px; }
  .chip-c { display: none; }
  .chip-a { inset-inline-end: 0; bottom: 30%; } .chip-b { inset-inline-start: 0; bottom: 8%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 28px 24px; }
  .reel-card { flex-basis: 62%; }
  .reel-card:hover { transform: none; }
  .reviews { grid-template-columns: 1fr; }
  .review-lg blockquote { font-size: 18px; }
  .price-card { padding: 30px 22px; }
  .price span { font-size: 54px; }
  .final-box { padding: 54px 22px; border-radius: 22px; }
  .final-box .btn { width: 100%; white-space: normal; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding-block: 50px 30px; }
  .footer-bottom .container { flex-direction: column; align-items: center; }

  .lightbox { padding: 0; }
  .lb-nav { position: absolute; bottom: 22px; z-index: 2; }
  .lb-prev { inset-inline-start: 22px; } .lb-next { inset-inline-end: 22px; }
  .lb-video { height: auto; width: 100vw; max-height: 78vh; border-radius: 0; }

  .mobile-cta {
    display: block; position: fixed; inset-inline: 0; bottom: 0; z-index: 60;
    background: rgba(10,10,11,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }
  .wa-float { bottom: 82px; width: 50px; height: 50px; inset-inline-start: 14px; }
  body { padding-bottom: 76px; }
}

/* ---------- الباقات ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1080px; margin-inline: auto; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 6px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; padding: 34px 28px 28px;
  transition: transform .25s, border-color .25s;
}
.plan:hover { transform: translateY(-4px); }
.plan h3 { font-size: 18px; font-weight: 600; color: var(--text-2); }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin-top: 10px; }
.plan-price b { font-family: var(--font-num); font-size: 52px; font-weight: 800; line-height: 1.05; letter-spacing: -1px; }
.plan-price em { font-style: normal; font-size: 18px; color: var(--muted); font-weight: 600; }
.plan-per { color: var(--muted); font-size: 14.5px; }
.plan-note { color: var(--text-2); font-size: 14.5px; margin: 14px 0 22px; padding-top: 16px; border-top: 1px solid var(--line); flex: 1; }
.plan-tag {
  position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(50%);
  font-size: 12.5px; font-weight: 700; color: var(--gold-ink); background: var(--gold); padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.plan.is-featured {
  border-color: var(--gold-line); transform: scale(1.04);
  background: linear-gradient(180deg, rgba(227,179,65,.10), var(--surface) 55%);
  box-shadow: 0 40px 90px rgba(0,0,0,.5), 0 0 70px rgba(227,179,65,.10);
}
.plan.is-featured:hover { transform: scale(1.04) translateY(-4px); }
.plan.is-gold .plan-price b { background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.plan.is-gold { border-color: rgba(227,179,65,.22); }
.plan-includes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 24px; max-width: 1080px; margin: 48px auto 0; padding: 26px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.015); }
.plan-includes li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--text-2); }
.plan-includes svg { color: var(--gold); flex-shrink: 0; }
.pay-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 18px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.pay-strip > span { display: inline-flex; align-items: center; gap: 7px; }
.pay-badge { border: 1px solid var(--line-2); border-radius: 10px; padding: 7px 12px; color: var(--text-2); }
.pay-badge svg { color: var(--gold); }
.pay-strip a { color: var(--gold-2); font-weight: 600; }

/* ---------- المنتجات ---------- */
.products { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1000px; margin-inline: auto; }
.product { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 34px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--surface); overflow: hidden; }
.product::after { content: ""; position: absolute; width: 260px; height: 260px; inset-inline-end: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(227,179,65,.12), transparent 70%); pointer-events: none; }
.product.is-current { border-color: var(--gold-line); }
.product h3 { font-size: 26px; font-weight: 700; font-family: var(--font-num), var(--font); }
.product p { color: var(--text-2); font-size: 15.5px; flex: 1; }
.badge-line { background: transparent; color: var(--gold-2); border: 1px solid var(--gold-line); }

/* ---------- شاشة الشراء ---------- */
.checkout { position: fixed; inset: 0; z-index: 110; background: rgba(5,5,6,.82); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 20px; overflow-y: auto; }
.checkout[hidden] { display: none; }
.co-card { position: relative; width: 100%; max-width: 480px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; padding: 30px 28px; box-shadow: 0 40px 100px rgba(0,0,0,.6); }
.co-close { position: absolute; top: 14px; inset-inline-end: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font-size: 22px; cursor: pointer; }
.co-steps { display: flex; gap: 8px; margin-bottom: 22px; padding-inline-end: 44px; }
.co-steps li { flex: 1; font-size: 12.5px; color: var(--muted); padding-top: 8px; border-top: 3px solid var(--line-2); }
.co-steps li.on { color: var(--gold-2); border-top-color: var(--gold); }
.co-pane { display: grid; gap: 14px; }
.co-pane[hidden] { display: none; }
.co-pane h3 { font-size: 22px; font-weight: 700; }
.co-plans { display: grid; gap: 8px; }
.co-plan { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; transition: border-color .15s, background .15s; }
.co-plan:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.co-plan input, .co-methods input { accent-color: var(--gold); width: 18px; height: 18px; }
.co-plan span { flex: 1; } .co-plan b { display: block; font-weight: 600; } .co-plan small { color: var(--muted); font-size: 13px; }
.co-plan strong { font-family: var(--font-num); font-size: 18px; color: var(--gold-2); }
.co-field { display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
.co-field input { font: 500 16px var(--font-num); color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; outline: none; transition: border-color .15s; }
.co-field input:focus { border-color: var(--gold); }
.co-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.co-methods label { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; font-weight: 600; font-size: 14.5px; }
.co-methods label:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
.co-methods span { display: inline-flex; align-items: center; gap: 8px; } .co-methods svg { color: var(--gold); }
.co-pay-box { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: var(--bg); border: 1px dashed var(--gold-line); }
.co-pay-box small { color: var(--text-2); font-size: 13.5px; }
.co-copy { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.co-copy b { font-family: var(--font-num); font-size: 19px; color: var(--gold-2); }
.co-copy button { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface-2); cursor: pointer; }
.co-back { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 14px; }
.co-done { text-align: center; justify-items: center; padding-block: 10px; }
.co-done p { color: var(--text-2); font-size: 15px; }
.co-ok { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 0 0 10px rgba(227,179,65,.15); }

@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; }
  .plan.is-featured { transform: none; order: -1; } .plan.is-featured:hover { transform: translateY(-4px); }
  .plan-includes { grid-template-columns: 1fr 1fr; }
  .products { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .plan-includes { grid-template-columns: 1fr; padding: 22px; }
  .product { padding: 26px 22px; }
  .checkout { padding: 0; place-items: end stretch; }
  .co-card { border-radius: 22px 22px 0 0; max-width: none; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); }
}

/* ==========================================================================
   MOBLZ Tools — صفحات المنصة
   ========================================================================== */
:root { --font-display: "Alexandria", "IBM Plex Sans Arabic", system-ui, sans-serif; --light: #f3f1ec; --light-2: #e8e5de; --ink: #141311; --ink-2: #5d5951; }
.display, .section-head h2, .final-box h2, .bundle h2, .cat-card h3, .product h3 { font-family: var(--font-display); letter-spacing: -.3px; }
.display { font-weight: 700; }
.hero h1.display { font-size: clamp(36px, 5.4vw, 64px); line-height: 1.25; }
.main-nav a[aria-current="page"] { color: var(--gold-2); }

/* هيرو الرئيسية */
.hub-hero { position: relative; min-height: 640px; display: flex; align-items: flex-end; padding: 170px 0 70px; overflow: hidden; isolation: isolate; }
.hub-hero-media { position: absolute; inset: 0; z-index: -1; }
.hub-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: kb 22s ease-in-out infinite alternate; }
@keyframes kb { to { transform: scale(1.12) translateX(-1.5%); } }
.hub-hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 4%, rgba(10,10,11,.86) 38%, rgba(10,10,11,.55) 70%, rgba(10,10,11,.75)),
              linear-gradient(to left, rgba(10,10,11,.85), transparent 75%); }
.hub-hero h1 { font-size: clamp(40px, 6.6vw, 84px); line-height: 1.18; max-width: 900px; }
.hub-hero .lead { max-width: 640px; }
.hub-hero-stats { display: flex; flex-wrap: wrap; gap: 14px 46px; margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--line-2); }
.hub-hero-stats li { display: grid; }
.hub-hero-stats b { font-family: var(--font-num); font-size: 30px; font-weight: 800; color: var(--gold-2); line-height: 1.15; direction: ltr; text-align: start; }
.hub-hero-stats span { color: var(--text-2); font-size: 14px; }

/* كتالوج المنتجات */
.catalog { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.cat-card { display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: 22px; overflow: hidden; background: var(--surface); transition: transform .3s ease, border-color .3s, box-shadow .3s; }
.cat-card:hover { transform: translateY(-6px); border-color: var(--gold-line); box-shadow: 0 30px 70px rgba(0,0,0,.45); }
.cat-lg { grid-row: span 2; }
.cat-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #000; }
.cat-lg .cat-media { aspect-ratio: 4/3; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s ease; }
.cat-card:hover .cat-media img { transform: scale(1.05); }
.cat-body { display: flex; flex-direction: column; gap: 10px; padding: 26px 28px 24px; flex: 1; }
.cat-type { font-size: 13px; font-weight: 700; color: var(--gold); }
.cat-card h3 { font-size: 26px; font-weight: 700; }
.cat-lg h3 { font-size: 34px; }
.cat-body p { color: var(--text-2); font-size: 15px; }
.cat-points { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.cat-points li { font-size: 13px; color: var(--text-2); border: 1px solid var(--line-2); padding: 4px 12px; border-radius: 999px; }
.cat-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.cat-price { color: var(--muted); font-size: 14.5px; }
.cat-price b { font-family: var(--font-num); font-size: 22px; color: var(--text); }
.cat-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--gold-2); }
.cat-card:hover .cat-go svg { transform: translateX(-4px); }
.cat-go svg { transition: transform .2s; }

/* قسم فاتح */
.section-light { background: var(--light); color: var(--ink); }
.section-light .section-head p { color: var(--ink-2); }
.section-light .kicker { color: var(--gold-3); }
.section-light .kicker::before, .section-light .kicker::after { background: rgba(184,134,42,.45); }
.who { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.who-tab { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 14px; border: 1px solid var(--light-2); background: #fff; color: var(--ink); font-weight: 600; font-size: 15.5px; cursor: pointer; transition: all .2s; }
.who-tab svg { color: var(--gold-3); }
.who-tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.who-tab[aria-selected="true"] svg { color: var(--gold); }
.who-panel { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; background: #fff; border: 1px solid var(--light-2); border-radius: 24px; padding: 44px; max-width: 1040px; margin-inline: auto; box-shadow: 0 30px 70px rgba(20,19,17,.08); }
.who-panel[hidden] { display: none; }
.who-panel h3 { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.4; }
.who-panel p { color: var(--ink-2); font-size: 16px; margin: 12px 0 18px; }
.who-panel .checks li { color: var(--ink); }
.who-panel .checks svg { color: var(--gold-3); }
.who-rec { display: grid; gap: 10px; padding: 26px; border-radius: 18px; background: var(--ink); }
.who-rec small { color: var(--muted); font-size: 13px; }
.who-rec a { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; font-weight: 600; transition: background .2s; }
.who-rec a::after { content: "←"; color: var(--gold); }
.who-rec a:hover { background: var(--gold); color: var(--gold-ink); }
.who-rec a:hover::after { color: var(--gold-ink); }

/* رحلة المشروع */
.journey { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: j; }
.journey::before { content: ""; position: absolute; top: 27px; inset-inline: 8%; height: 2px; background: linear-gradient(90deg, var(--gold-3), var(--gold-2), var(--gold-3)); opacity: .5; }
.journey li { position: relative; display: grid; justify-items: center; text-align: center; gap: 8px; }
.j-n { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-num); font-weight: 800; font-size: 19px; color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-2), var(--gold)); box-shadow: 0 0 0 8px var(--bg), 0 10px 26px rgba(227,179,65,.25); }
.journey b { font-size: 15.5px; font-weight: 600; line-height: 1.5; margin-top: 6px; }
.journey small { font-size: 12.5px; color: var(--gold); border: 1px solid var(--gold-line); padding: 3px 10px; border-radius: 999px; }
.journey-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; color: var(--text-2); font-size: 15.5px; text-align: center; }
.journey-note svg { color: var(--gold); flex-shrink: 0; }

/* شريط صورة عريض */
.band { position: relative; height: clamp(360px, 52vw, 620px); overflow: hidden; isolation: isolate; display: flex; align-items: flex-end; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,10,11,.92), rgba(10,10,11,.1) 55%), linear-gradient(to bottom, var(--bg), transparent 18%); }
.band-caption { padding-bottom: 50px; display: grid; justify-items: start; gap: 10px; }
.band-caption p { font-family: var(--font-display); font-size: clamp(22px, 3vw, 36px); font-weight: 700; max-width: 640px; line-height: 1.4; }
.band-caption .kicker::before { display: none; }

/* الباقة الكاملة / كارت CTA */
.bundle { display: grid; grid-template-columns: 1.3fr 1fr; gap: 50px; align-items: center; max-width: 1080px; margin-inline: auto; }
.bundle h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1.3; margin: 4px 0 14px; }
.bundle-copy > p { color: var(--text-2); font-size: 16.5px; margin-bottom: 22px; }
.bundle-copy .kicker::before { display: none; }
.bundle-card { display: grid; gap: 12px; text-align: center; padding: 36px 30px; border-radius: 24px; background: var(--surface); border: 1px solid var(--gold-line); box-shadow: 0 40px 100px rgba(0,0,0,.5), 0 0 80px rgba(227,179,65,.08); }
.bundle-card .badge { justify-self: center; }
.bundle-card .price { margin: 6px 0 0; }
.price-soon { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--gold-2); justify-content: center; }

/* هيرو الصفحات بصورة جنب الكلام */
.hero-inner-wide { grid-template-columns: 1fr 1.1fr; }
.hero-window img { width: 100%; display: block; }
.hero-window { transform: perspective(1600px) rotateY(8deg); transform-origin: left center; }
.window-body-top img { object-position: top; }
.course-still { position: relative; aspect-ratio: 16/9; }
.course-still img { width: 100%; height: 100%; object-fit: cover; }
.course-still .big-play { pointer-events: none; }

/* الكورس */
.modules { display: grid; gap: 12px; max-width: 880px; margin-inline: auto; }
.module { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.module[open] { border-color: var(--gold-line); }
.module summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 24px; }
.module summary::-webkit-details-marker { display: none; }
.module summary::after { content: "+"; margin-inline-start: auto; font-family: var(--font-num); font-size: 22px; color: var(--gold); transition: transform .2s; }
.module[open] summary::after { transform: rotate(45deg); }
.m-n { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; font-family: var(--font-num); font-weight: 800; color: var(--gold-ink); background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
.module summary b { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 600; }
.module summary small { color: var(--muted); font-size: 13.5px; }
.module ol { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 30px; padding: 0 24px 22px 24px; padding-inline-start: 84px; list-style: decimal; color: var(--text-2); font-size: 15px; }
.module ol li::marker { color: var(--gold); font-family: var(--font-num); font-weight: 700; }
.stills { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stills figure { border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface); }
.stills img { aspect-ratio: 16/10; width: 100%; object-fit: cover; object-position: top; }
.stills figcaption { padding: 10px 14px; font-size: 13.5px; color: var(--text-2); }

@media (max-width: 980px) {
  .catalog { grid-template-columns: 1fr; }
  .cat-lg { grid-row: auto; }
  .cat-lg .cat-media { aspect-ratio: 16/9; }
  .who-panel { grid-template-columns: 1fr; padding: 30px; gap: 24px; }
  .journey { grid-template-columns: repeat(3, 1fr); row-gap: 34px; }
  .journey::before { display: none; }
  .bundle { grid-template-columns: 1fr; gap: 30px; }
  .hero-inner-wide { grid-template-columns: 1fr; }
  .hero-window { transform: none; }
  .stills { grid-template-columns: 1fr 1fr; }
  .hub-hero { min-height: 0; padding-top: 140px; }
}
@media (max-width: 640px) {
  .hub-hero { padding: 120px 0 50px; text-align: start; }
  .hub-hero .hero-actions .btn { width: 100%; }
  .hub-hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .hub-hero-stats b { font-size: 24px; }
  .who-tab { flex: 1 1 calc(50% - 10px); justify-content: center; padding: 12px 10px; font-size: 14px; }
  .who-panel { padding: 24px 20px; }
  .journey { grid-template-columns: 1fr 1fr; }
  .module ol { grid-template-columns: 1fr; padding-inline-start: 44px; }
  .stills { grid-template-columns: 1fr; }
  .cat-body { padding: 22px 20px; }
  .cat-lg h3, .cat-card h3 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .hub-hero-media img { animation: none; } }

/* ---------- منتجين ---------- */
.catalog-2 { grid-template-columns: 1fr 1fr; }
.catalog-2 .cat-media { aspect-ratio: 16/10; }
.poster { display: block; padding: 0; overflow: hidden; }
.poster img { width: 100%; display: block; }
.hero-window.poster { transform: perspective(1600px) rotateY(6deg); }

/* ---------- Roadmap: الرفوف ---------- */
.shelves { display: grid; gap: 16px; }
.shelf { display: grid; grid-template-columns: 240px 1fr; gap: 20px; align-items: stretch; padding: 16px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.shelf header { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 20px; border-radius: 14px; background: linear-gradient(160deg, var(--c), color-mix(in srgb, var(--c) 55%, #000)); }
.s-n { font-family: var(--font-num); font-size: 34px; font-weight: 800; line-height: 1; color: rgba(255,255,255,.9); }
.shelf h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: #fff; line-height: 1.4; }
.books { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; counter-reset: b; }
.books li {
  position: relative; counter-increment: b; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  min-height: 132px; padding: 14px 14px 14px 12px; border-radius: 6px 12px 12px 6px; background: #f6f4ef; color: var(--ink);
  border-inline-start: 7px solid var(--c); box-shadow: 0 10px 24px rgba(0,0,0,.35); transition: transform .2s;
}
.books li:hover { transform: translateY(-4px) rotate(-.6deg); }
.books li::before { content: "0" counter(b); position: absolute; top: 10px; inset-inline-end: 12px; font-family: var(--font-num); font-weight: 800; font-size: 13px; color: var(--c); }
.books b { font-size: 14.5px; font-weight: 700; line-height: 1.5; }
.books small { font-size: 12px; color: var(--ink-2); line-height: 1.5; }

.apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 40px; }
.apps span { display: grid; justify-items: center; gap: 2px; min-width: 140px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--light-2); font-family: var(--font-num); font-weight: 800; font-size: 18px; color: var(--ink); }
.apps small { font-family: var(--font); font-weight: 500; font-size: 13px; color: var(--ink-2); }
.also-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.also-grid div { display: grid; gap: 8px; align-content: start; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--light-2); }
.also-grid svg { color: var(--gold-3); }
.also-grid b { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--ink); }
.also-grid p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- كورس الأداة ---------- */
.course-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.course-wrap .modules { max-width: none; }
.module > p { padding: 0 24px 20px; padding-inline-start: 84px; color: var(--text-2); font-size: 15px; }

@media (max-width: 980px) {
  .catalog-2 { grid-template-columns: 1fr; }
  .shelf { grid-template-columns: 1fr; }
  .books { grid-template-columns: repeat(3, 1fr); }
  .also-grid { grid-template-columns: 1fr 1fr; }
  .course-wrap { grid-template-columns: 1fr; }
  .hero-window.poster { transform: none; }
}
@media (max-width: 640px) {
  .books { grid-template-columns: 1fr 1fr; }
  .books li { min-height: 110px; }
  .also-grid { grid-template-columns: 1fr; }
  .apps span { min-width: calc(50% - 6px); }
  .module > p { padding-inline-start: 24px; }
}

/* ==========================================================================
   تصور «احترافي أكتر» — 2026-11-13
   ========================================================================== */
.concept-note { display: inline-block; font-size: 13px; font-weight: 600; color: #ff9b8a; background: rgba(255,120,100,.08); border: 1px dashed rgba(255,120,100,.45); padding: 4px 10px; border-radius: 8px; margin-top: 8px; }
.section-light .concept-note { color: #b4432f; }

/* شريط الثقة */
.trust-strip { border-block: 1px solid var(--line); background: var(--bg-2); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-row > span { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 22px 18px; border-inline-start: 1px solid var(--line); }
.trust-row > span:first-child { border-inline-start: 0; }
.trust-row svg { grid-row: span 2; color: var(--gold); }
.trust-row b { font-size: 15px; }
.trust-row small { font-size: 13px; color: var(--muted); }

/* المعرض */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 14px; }
.g-item { position: relative; overflow: hidden; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.g-wide { grid-column: span 2; grid-row: span 2; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.g-item:hover img { transform: scale(1.04); }
.g-item figcaption { position: absolute; inset: auto 0 0 0; display: grid; padding: 40px 20px 16px; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.g-item figcaption b { font-size: 16px; }
.g-item figcaption small { font-size: 13px; color: var(--text-2); }
.g-empty { display: grid; place-content: center; text-align: center; gap: 6px; border: 1px dashed rgba(255,120,100,.45); background: repeating-linear-gradient(45deg, var(--surface), var(--surface) 12px, var(--surface-2) 12px, var(--surface-2) 24px); }
.g-empty span { font-weight: 700; color: #ff9b8a; }
.g-empty small { color: var(--muted); font-size: 13px; padding-inline: 20px; }

/* قصة عميل */
.case { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.case-media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 70px rgba(20,19,17,.18); }
.case-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.case-logo { position: absolute; top: 16px; inset-inline-start: 16px; background: #fff; color: var(--ink); font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 10px; }
.case-copy h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.4; color: var(--ink); margin-bottom: 14px; }
.case-copy > p { color: var(--ink-2); }
.case-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.case-stats div { display: grid; gap: 4px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--light-2); }
.case-stats b { font-family: var(--font-display); font-size: 22px; color: var(--gold-3); }
.case-stats small { font-size: 13px; color: var(--ink-2); line-height: 1.5; }

/* ريفيو واتساب */
.review-chat { padding: 0; overflow: hidden; background: #0b141a; }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 12px 16px; background: #1f2c34; }
.chat-top small { margin-inline-start: auto; color: var(--wa); font-size: 12px; }
.chat-body { display: grid; gap: 6px; padding: 16px; }
.bubble { justify-self: start; max-width: 92%; background: #005c4b; color: #e9edef; padding: 8px 12px; border-radius: 10px 10px 10px 2px; font-size: 15px; line-height: 1.6; }
.bubble time { display: block; text-align: end; font-size: 11px; color: rgba(233,237,239,.6); font-family: var(--font-num); }
.review-chat .concept-note { margin: 0 16px 16px; }

/* جرّب ببلاش */
.free-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.free-card { display: grid; gap: 10px; align-content: start; padding: 32px; border-radius: 22px; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--gold-line); min-width: 0; }
.free-ic { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: var(--gold-soft); color: var(--gold); }
.free-card h3 { font-family: var(--font-display); font-size: 22px; }
.free-card p { color: var(--text-2); }
.free-card .concept-note { justify-self: start; }
.free-form { display: flex; gap: 8px; margin-top: 6px; }
.free-form input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; }
.free-form input:focus { outline: none; border-color: var(--gold); }
.free-ok { color: var(--wa); font-weight: 600; }

/* جدول المقارنة + الضمان */
.compare-wrap { overflow-x: auto; margin-top: 40px; border-radius: 18px; border: 1px solid var(--line); }
.compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: start; color: var(--text-2); }
.compare thead th { font-family: var(--font-display); font-size: 16px; background: var(--surface); }
.compare .hl { background: var(--gold-soft); color: var(--gold-2); }
.compare tr:last-child td { border-bottom: 0; }
.compare td { color: var(--text); }
.guarantee-box { display: flex; gap: 18px; align-items: center; margin-top: 24px; padding: 22px 26px; border-radius: 18px; border: 1px solid var(--gold-line); background: var(--gold-soft); }
.guarantee-box > svg { flex: none; color: var(--gold); }
.guarantee-box b { font-size: 17px; }
.guarantee-box p { color: var(--text-2); font-size: 15px; }
.guarantee-box a { color: var(--gold-2); text-decoration: underline; }

/* صفحات داخلية */
.page-hero { position: relative; padding: 150px 0 70px; overflow: hidden; }
.page-hero-sm { padding-bottom: 40px; }
.page-hero > .container { position: relative; }
.page-hero-inner { text-align: center; max-width: 820px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.25; }
.page-hero .lead { margin-inline: auto; }

.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.founder { display: grid; gap: 14px; }
.founder-photo { display: grid; place-content: center; justify-items: center; gap: 8px; aspect-ratio: 4/5; border-radius: 24px; background: var(--surface); color: var(--gold); }
.founder-photo small { color: #ff9b8a; }
.founder figcaption { display: grid; justify-items: center; text-align: center; }
.founder figcaption small { color: var(--muted); }
.story-copy h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.4; margin-bottom: 16px; }
.story-copy p { color: var(--text-2); margin-bottom: 20px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.values div { display: grid; gap: 8px; padding: 30px; border-radius: 20px; background: #fff; border: 1px solid var(--light-2); }
.v-n { font-family: var(--font-num); font-weight: 800; font-size: 28px; color: var(--gold-3); }
.values b { font-family: var(--font-display); font-size: 19px; color: var(--ink); }
.values p { color: var(--ink-2); font-size: 15px; }

.help-search { display: flex; align-items: center; gap: 12px; max-width: 620px; margin: 30px auto 0; padding: 6px 20px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); }
.help-search svg { color: var(--gold); flex: none; }
.help-search input { flex: 1; min-width: 0; padding: 14px 0; border: 0; background: none; color: var(--text); font: inherit; font-size: 16px; outline: none; }
.help-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 44px; }
.help-cats a { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 22px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.help-cats a:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.help-cats svg { color: var(--gold); }
.help-cats b { font-size: 14.5px; line-height: 1.4; }
.help-cats small { color: var(--muted); font-size: 12.5px; }
.help-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.help-group { display: grid; align-content: start; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.help-group h3 { font-family: var(--font-display); font-size: 18px; margin-bottom: 8px; color: var(--gold-2); }
.help-group a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 15px; }
.help-group a:hover { color: var(--text); }
.tag-v { flex: none; font-size: 11.5px; font-weight: 700; color: var(--gold); background: var(--gold-soft); padding: 2px 8px; border-radius: 6px; align-self: center; }
.help-empty { text-align: center; color: var(--text-2); padding: 30px; }
.help-contact { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.help-contact h2 { font-family: var(--font-display); color: var(--ink); }
.help-contact p { color: var(--ink-2); }
.help-contact .hero-actions { margin-top: 0; }
.btn-line-dark { color: var(--ink); border-color: rgba(20,19,17,.25); background: transparent; }

.timeline { display: grid; margin-top: 30px; }
.timeline > li { display: grid; grid-template-columns: 130px 1fr; gap: 28px; padding-bottom: 28px; }
.tl-meta { display: grid; align-content: start; text-align: end; border-inline-end: 2px solid var(--gold-line); padding-inline-end: 20px; }
.tl-meta b { font-family: var(--font-num); font-size: 20px; color: var(--gold); }
.tl-meta small { color: var(--muted); font-size: 13px; }
.tl-card { padding: 22px 26px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.tl-card h3 { font-family: var(--font-display); font-size: 19px; margin: 8px 0; }
.tl-card ul { list-style: disc; padding-inline-start: 20px; color: var(--text-2); font-size: 15px; }
.tl-tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; }
.tl-tag.new { background: rgba(37,211,102,.12); color: var(--wa); }
.tl-tag.imp { background: var(--gold-soft); color: var(--gold-2); }
.tl-tag.fix { background: rgba(120,160,255,.12); color: #9db7ff; }

.acc-login { max-width: 440px; margin: 30px auto 0; display: grid; gap: 12px; text-align: center; padding: 40px 32px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line-2); }
.acc-login h1 { font-family: var(--font-display); font-size: 28px; }
.acc-login p, .acc-login small { color: var(--text-2); }
.acc-login a { color: var(--gold-2); }
.acc-login form { display: grid; gap: 10px; }
.acc-login input { padding: 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; text-align: center; }
.page-hero-sm > .container > .concept-note { display: table; margin-inline: auto; }
.acc { margin-top: 24px; }
.acc-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.acc-head > div { min-width: 0; }
.acc-head small { color: var(--muted); }
.acc-head h1 { font-family: var(--font-num); font-size: clamp(18px, 3vw, 28px); overflow-wrap: anywhere; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acc-card { display: grid; gap: 12px; align-content: start; padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.acc-card header { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--gold-2); }
.acc-card p { color: var(--text-2); font-size: 14.5px; }
.acc-sub { border-color: var(--gold-line); background: linear-gradient(160deg, rgba(227,179,65,.08), var(--surface)); }
.acc-plan { display: flex; align-items: center; gap: 10px; }
.acc-plan b { font-family: var(--font-display); font-size: 22px; }
.acc-badge { font-size: 12px; font-weight: 700; color: var(--wa); background: rgba(37,211,102,.12); padding: 3px 10px; border-radius: 6px; }
.acc-bar { height: 8px; border-radius: 8px; background: var(--surface-2); overflow: hidden; }
.acc-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); border-radius: 8px; }
.acc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.acc-device { display: grid; padding: 14px 16px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.acc-device small { color: var(--muted); }
.acc-files li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.acc-files li:first-child { border-top: 0; }
.acc-files span { display: grid; }
.acc-files small { color: var(--muted); font-size: 13px; }
.acc-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.acc-table td { padding: 10px 4px; border-top: 1px solid var(--line); color: var(--text-2); }
.acc-table tr:first-child td { border-top: 0; }
.acc-table a { color: var(--gold-2); font-weight: 700; }

.pol-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.pol-tabs button { padding: 10px 20px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-weight: 600; }
.pol-tabs button[aria-selected="true"] { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.pol-body h2 { font-family: var(--font-display); font-size: 28px; margin-bottom: 18px; }
.pol-body h3 { font-size: 18px; color: var(--gold-2); margin: 26px 0 6px; }
.pol-body p { color: var(--text-2); }
.page-hero-sm .container-narrow { text-align: center; }

.main-nav a[aria-current="page"] { color: var(--gold-2); }

@media (max-width: 1100px) { .main-nav { gap: 20px; } .acc-btn { display: none; } }
@media (max-width: 980px) {
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-row > span:nth-child(3) { border-inline-start: 0; }
  .trust-row > span:nth-child(n+3) { border-top: 1px solid var(--line); }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .case, .story, .free-grid, .acc-grid { grid-template-columns: 1fr; }
  .help-cats { grid-template-columns: repeat(3, 1fr); }
  .help-groups, .values { grid-template-columns: 1fr; }
  .founder { max-width: 320px; width: 100%; margin-inline: auto; }
}
@media (max-width: 640px) {
  .trust-row > span { padding: 16px 10px; column-gap: 8px; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-wide { grid-column: auto; grid-row: auto; }
  .case-stats { grid-template-columns: 1fr; }
  .free-form { flex-direction: column; }
  .help-cats { grid-template-columns: 1fr 1fr; }
  .timeline > li { grid-template-columns: 1fr; gap: 8px; }
  .tl-meta { text-align: start; border: 0; padding: 0; grid-auto-flow: column; justify-content: start; gap: 10px; align-items: baseline; }
  .guarantee-box { flex-direction: column; align-items: start; }
  .free-card { padding: 24px; }
}

/* ==========================================================================
   تصور 2 — محاكي، كتالوج، مصانع، مجتمع، حاسبة، قبل/بعد
   ========================================================================== */
/* عناصر تحكم مشتركة */
.rng { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 12px; margin-top: 12px; }
.rng span { font-size: 14.5px; color: var(--text-2); }
.rng output { font-family: var(--font-num); font-weight: 700; color: var(--gold-2); min-width: 48px; text-align: end; }
.rng input { grid-column: 1 / -1; width: 100%; accent-color: var(--gold); }
.seg { display: flex; gap: 6px; }
.seg-wrap { flex-wrap: wrap; }
.seg label { flex: 1 1 auto; cursor: pointer; }
.seg input, .swatches input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; white-space: nowrap; transition: all .15s; }
.seg input:checked + span { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.seg input:focus-visible + span { outline: 2px solid var(--gold-2); outline-offset: 2px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches label { display: grid; justify-items: center; gap: 4px; cursor: pointer; font-size: 12.5px; color: var(--text-2); }
.swatches i { width: 40px; height: 40px; border-radius: 12px; border: 2px solid var(--line-2); box-shadow: inset 0 0 0 2px rgba(0,0,0,.25); transition: all .15s; }
.swatches input:checked + i { border-color: var(--gold); transform: scale(1.08); box-shadow: 0 0 0 3px var(--gold-soft); }

/* المحاكي */
.sim-section { padding-top: 10px; }
.sim { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.sim-stage { min-width: 0; display: grid; gap: 12px; }
.sim-view { position: relative; aspect-ratio: 16/10; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(ellipse at 50% 35%, #26231c, #0d0d0f 70%); cursor: grab; touch-action: none; }
.sim-view.dragging { cursor: grabbing; }
.sim-view canvas { width: 100%; height: 100%; display: block; }
.sim-view.no3d::after { content: "المعاينة 3D محتاجة اتصال إنترنت"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.sim-hint { position: absolute; top: 14px; inset-inline-start: 14px; font-size: 12.5px; color: var(--text-2); background: rgba(10,10,11,.6); padding: 5px 12px; border-radius: 999px; pointer-events: none; }
.sim-dims { position: absolute; bottom: 14px; inset-inline-end: 14px; font-family: var(--font-num); font-weight: 700; font-size: 13px; color: var(--gold-2); background: rgba(10,10,11,.7); padding: 6px 12px; border-radius: 8px; pointer-events: none; }
.sim-tabs { display: flex; gap: 6px; }
.sim-tabs button { padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-weight: 600; font-size: 14px; }
.sim-tabs button[aria-selected="true"] { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.sim-out { padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.sim-table-wrap { overflow-x: auto; }
.sim-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; }
.sim-table th { text-align: start; font-weight: 600; color: var(--muted); font-size: 12.5px; padding: 6px 8px; border-bottom: 1px solid var(--line-2); }
.sim-table td { padding: 8px; border-bottom: 1px solid var(--line); }
.sim-table td:nth-child(3) { font-family: var(--font-num); font-weight: 600; }
.sim-table tr.muted td { color: var(--muted); }
.sim-sum { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: 14px; color: var(--text-2); }
.sim-sum b { font-family: var(--font-num); color: var(--gold-2); font-size: 18px; margin-inline-end: 4px; }
.sim-draw { color: var(--text); background: #111113; border-radius: 12px; padding: 10px; }
.sim-draw svg { width: 100%; max-height: 420px; display: block; }
.sim-cost { display: grid; gap: 2px; }
.sim-cost > div { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.sim-cost small { color: var(--muted); font-family: var(--font-num); }
.sim-cost b { font-family: var(--font-num); }
.sim-cost .sim-total { grid-template-columns: 1fr auto; border: 0; padding-top: 14px; }
.sim-total b { font-size: 24px; color: var(--gold-2); }
.sim-price { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 14px; color: var(--text-2); }
.sim-price input { width: 110px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; }
.sim-panel { display: grid; gap: 14px; padding: 20px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); position: sticky; top: 90px; }
.sim-panel fieldset { border: 0; display: grid; gap: 8px; }
.sim-panel legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; color: var(--gold-2); }
.sim-panel legend small { color: var(--muted); font-weight: 500; }
.sim-cta { display: grid; gap: 8px; padding: 18px; border-radius: 16px; background: var(--gold-soft); border: 1px solid var(--gold-line); }
.sim-cta p { font-size: 13.5px; color: var(--text-2); }

/* بانر المحاكي في الرئيسية */
.sim-promo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 44px; border-radius: 28px; border: 1px solid var(--gold-line); background: radial-gradient(600px 300px at 15% 50%, rgba(227,179,65,.14), transparent 70%), var(--surface); }
.sim-promo h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); line-height: 1.35; margin-bottom: 12px; }
.sim-promo p { color: var(--text-2); }
.sim-promo-art { position: relative; display: block; height: 280px; }
.spa-unit { position: absolute; inset-inline-start: 8%; top: 10%; width: 46%; height: 72%; display: flex; gap: 6px; padding: 8px; border-radius: 8px; background: #f3efe6; box-shadow: 18px 18px 0 -6px #d9d3c7, 0 30px 60px rgba(0,0,0,.5); transform: perspective(600px) rotateY(-18deg); }
.spa-unit i { flex: 1; border-radius: 4px; background: linear-gradient(160deg, #7a5539, #5a3d28); position: relative; }
.spa-unit i::after { content: ""; position: absolute; top: 14px; width: 4px; height: 34px; border-radius: 2px; background: #222; }
.spa-unit i:first-child::after { left: 10px; } .spa-unit i:last-child::after { right: 10px; }
.spa-list { position: absolute; inset-inline-end: 0; bottom: 4%; display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: rgba(10,10,11,.92); border: 1px solid var(--gold-line); font-size: 12.5px; direction: rtl; box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.spa-list b { color: var(--gold-2); font-family: var(--font-num); }
.spa-list em { font-style: normal; color: var(--text-2); font-family: var(--font-num); }

/* قبل/بعد */
.ba { position: relative; aspect-ratio: 16/9; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); user-select: none; max-width: 1040px; margin-inline: auto; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-line { position: absolute; top: 0; bottom: 0; width: 3px; background: var(--gold); transform: translateX(-50%); pointer-events: none; }
.ba-line i { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: var(--gold); color: var(--gold-ink); font-weight: 800; box-shadow: 0 6px 20px rgba(0,0,0,.4); }
.ba-tag { position: absolute; top: 14px; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(10,10,11,.75); pointer-events: none; }
.ba-t1 { left: 14px; } .ba-t2 { right: 14px; color: var(--gold-2); }

/* حاسبة التوفير */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); }
.calc-in { padding: 40px; background: var(--surface); }
.calc-in h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.calc-in .rng { margin-top: 22px; }
.calc-out { display: grid; gap: 16px; align-content: center; padding: 40px; background: linear-gradient(160deg, rgba(227,179,65,.16), rgba(227,179,65,.04)); border-inline-start: 1px solid var(--gold-line); }
.calc-out small { display: block; color: var(--text-2); font-size: 14px; }
.calc-out b { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 38px); color: var(--gold-2); }
.calc-pay b { font-size: 24px; color: var(--text); }

/* عينات */
.samples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sample { position: relative; display: grid; gap: 8px; align-content: start; padding: 14px 14px 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.sample-img { border-radius: 12px; overflow: hidden; aspect-ratio: 16/9; background: #fff; }
.sample-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ftype { position: absolute; top: 24px; inset-inline-end: 24px; font-family: var(--font-num); font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 6px; background: var(--gold); color: var(--gold-ink); }
.sample h3 { font-size: 17px; margin-top: 6px; }
.sample p { color: var(--text-2); font-size: 14px; }

/* عملات + تقسيط */
.cur { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line-2); }
.cur button { border: 0; background: none; cursor: pointer; padding: 5px 10px; border-radius: 7px; font-size: 13px; font-weight: 700; font-family: var(--font-num); color: var(--muted); }
.cur button[aria-selected="true"] { background: var(--gold); color: var(--gold-ink); }
.inst { display: block; font-size: 11.5px; color: var(--muted); font-family: var(--font-num); }
.cur-note { margin-top: 12px; }

/* الكتالوج */
.cat-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 36px; padding: 26px; border-radius: 20px; background: var(--gold-soft); border: 1px solid var(--gold-line); text-align: center; }
.cat-more p { width: 100%; color: var(--text-2); }
.cat-more b { color: var(--gold-2); font-family: var(--font-num); }

/* المصانع */
.biz-grid { grid-template-columns: repeat(3, 1fr); }
.biz-grid div { background: var(--surface); border-color: var(--line); }
.biz-grid b { color: var(--text); }
.biz-grid p { color: var(--text-2); }
.biz-grid svg { color: var(--gold); }
.seats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.seat { position: relative; display: grid; gap: 8px; align-content: start; padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-align: center; }
.seat-hl { border-color: var(--gold); box-shadow: 0 20px 50px rgba(227,179,65,.12); }
.seat .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); }
.seat h3 { font-family: var(--font-display); font-size: 22px; }
.seat-n { color: var(--text-2); }
.seat-p { font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--gold-2); justify-self: center; }
.seat-p small { font-size: 14px; color: var(--muted); font-weight: 500; margin-inline-start: 4px; }
.seat > small { color: var(--muted); }
.quote { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line-2); }
.quote label { display: grid; gap: 6px; font-size: 14px; color: var(--text-2); min-width: 0; }
.quote input, .quote select { padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; }
.quote .full { grid-column: 1 / -1; }

/* المجتمع */
.com-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.com-nav a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; }
.com-nav a:hover { border-color: var(--gold-line); color: var(--gold-2); }
.refer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.refer h2, .cert-wrap h2 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px); line-height: 1.4; margin-bottom: 18px; }
.refer-steps { display: grid; gap: 12px; }
.refer-steps li { display: flex; align-items: center; gap: 14px; color: var(--text-2); }
.refer-steps li > b { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-soft); color: var(--gold); font-family: var(--font-num); }
.refer-steps em { font-style: normal; color: var(--gold-2); font-weight: 700; }
.refer-card { display: grid; gap: 14px; padding: 28px; border-radius: 22px; background: linear-gradient(160deg, rgba(227,179,65,.12), var(--surface)); border: 1px solid var(--gold-line); min-width: 0; }
.refer-card > small { color: var(--muted); }
.refer-code { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; border: 1px dashed var(--gold); background: var(--bg); }
.refer-code b { font-family: var(--font-num); font-size: 20px; letter-spacing: 1px; color: var(--gold-2); overflow-wrap: anywhere; }
.refer-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.refer-stats div { padding: 14px; border-radius: 14px; background: var(--surface-2); }
.refer-stats b { display: block; font-family: var(--font-num); font-size: 26px; }
.refer-stats small { color: var(--muted); font-size: 13px; }
.contest { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: start; }
.contest-box { display: grid; gap: 14px; padding: 30px; border-radius: 22px; background: #fff; border: 1px solid var(--light-2); text-align: center; color: var(--ink-2); }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.countdown div { padding: 16px 6px; border-radius: 14px; background: var(--ink); color: #fff; }
.countdown b { display: block; font-family: var(--font-num); font-size: 34px; color: var(--gold-2); line-height: 1.2; }
.countdown small { color: rgba(255,255,255,.7); }
.winners { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.winners h3 { grid-column: 1 / -1; font-family: var(--font-display); color: var(--ink); }
.winners figure { border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--light-2); }
.winners img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.winners figcaption { display: grid; padding: 12px 14px; color: var(--ink); }
.winners figcaption small { color: var(--ink-2); }
.lives { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.live { position: relative; display: grid; gap: 8px; align-content: start; justify-items: start; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.live > b { font-family: var(--font-num); font-size: 14px; color: var(--gold-2); }
.live h3 { font-size: 17px; line-height: 1.5; }
.live-next { border-color: var(--gold-line); background: linear-gradient(160deg, rgba(227,179,65,.12), var(--surface)); }
.live-badge { font-size: 12px; font-weight: 700; color: #fff; background: #e0433a; padding: 3px 10px; border-radius: 6px; }
.cert-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.cert { padding: 14px; border-radius: 10px; background: linear-gradient(135deg, var(--gold-2), var(--gold-3)); box-shadow: 0 30px 70px rgba(0,0,0,.5); transform: rotate(-1.5deg); }
.cert-in { display: grid; justify-items: center; gap: 6px; padding: 30px 24px; border: 2px solid var(--gold-3); background: #fbf8f1; color: var(--ink); text-align: center; }
.cert-logo { font-family: var(--font-num); font-weight: 800; font-size: 18px; }
.cert-logo em { font-style: normal; color: var(--gold-3); font-size: 11px; letter-spacing: 2px; }
.cert-in > small { letter-spacing: 1px; color: var(--gold-3); font-weight: 700; }
.cert-in h3 { font-family: var(--font-display); font-size: 20px; }
.cert-in p { font-size: 14px; color: var(--ink-2); }
.cert-name { font-family: var(--font-display); font-size: 28px; border-bottom: 2px solid var(--gold); padding: 0 20px 4px; }
.cert-foot { display: flex; justify-content: space-between; width: 100%; margin-top: 10px; font-size: 12px; color: var(--ink-2); font-family: var(--font-num); }
.cert-p { color: var(--text-2); margin-bottom: 18px; }
.verify { display: flex; gap: 8px; }
.verify input { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: inherit; }
.verify-out { margin-top: 12px; font-weight: 600; }
.verify-out.ok { color: var(--wa); } .verify-out.bad { color: #ff8a7a; }
.partners { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 26px; }
.partners span { display: grid; place-items: center; height: 90px; border-radius: 16px; background: var(--surface); font-size: 13px; color: #ff9b8a; text-align: center; padding: 8px; }

@media (max-width: 980px) {
  .sim { grid-template-columns: 1fr; }
  .sim-panel { position: static; }
  .sim-promo, .calc, .refer, .contest, .cert-wrap { grid-template-columns: 1fr; }
  .calc-out { border-inline-start: 0; border-top: 1px solid var(--gold-line); }
  .samples, .seats, .lives, .biz-grid { grid-template-columns: 1fr; }
  .partners { grid-template-columns: repeat(3, 1fr); }
  .sim-promo { padding: 30px; }
}
@media (max-width: 640px) {
  .sim-view { aspect-ratio: 4/3.4; }
  .sim-promo { padding: 24px; }
  .sim-promo-art { height: 220px; }
  .calc-in, .calc-out { padding: 24px; }
  .ba { aspect-ratio: 4/3; }
  .quote { grid-template-columns: 1fr; padding: 22px; }
  .winners { grid-template-columns: 1fr 1fr; }
  .partners { grid-template-columns: 1fr 1fr; }
  .verify { flex-direction: column; }
  .cert-name { font-size: 22px; }
}

/* ==========================================================================
   تصور 3 — باقات بالمميزات، دليل المصممين، لوحة التحكم، بوابة العميل
   ========================================================================== */
/* مفتاح سنوي / مدى الحياة */
.bill-toggle { display: flex; justify-content: center; gap: 4px; max-width: 360px; margin: 0 auto 26px; padding: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); }
.bill-toggle button { flex: 1; padding: 11px 14px; border: 0; border-radius: 10px; background: none; cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--text-2); transition: background .15s, color .15s; }
.bill-toggle button small { font-weight: 500; opacity: .75; }
.bill-toggle button[aria-selected="true"] { background: var(--gold); color: var(--gold-ink); }

.plan h3 { font-family: var(--font-num); font-size: 22px; font-weight: 800; color: var(--text); }
.plan-for { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.plan-feats { display: grid; gap: 9px; margin: 18px 0 18px; padding-top: 18px; border-top: 1px solid var(--line); flex: 1; }
.plan-feats li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; color: var(--text-2); line-height: 1.6; }
.plan-feats svg { color: var(--gold); flex: none; margin-top: 4px; }
.plan-seats { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13.5px; color: var(--muted); }
.plan-seats svg { color: var(--gold-3); flex: none; }
.plan.is-featured .plan-feats li { color: var(--text); }

.compare tr.sep td { background: var(--surface); color: var(--gold-2); font-weight: 700; font-size: 13.5px; text-align: start; }
.compare td.no { color: var(--muted); }

/* دليل المصممين */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lvl { position: relative; display: grid; gap: 8px; align-content: start; padding: 30px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--light-2); }
.lvl-b { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; font-family: var(--font-num); font-weight: 800; font-size: 20px; color: #fff; }
.lvl-1 .lvl-b { background: #8a8c8e; } .lvl-2 .lvl-b { background: var(--gold-3); } .lvl-3 .lvl-b { background: var(--ink); }
.lvl h3 { font-family: var(--font-display); font-size: 21px; color: var(--ink); }
.lvl p { color: var(--ink-2); font-size: 15px; }
.lvl small { color: var(--gold-3); font-weight: 700; font-size: 13px; }

.dir-bar { display: grid; gap: 16px; margin-bottom: 28px; }
.dir-bar .help-search { margin: 0 auto; width: 100%; }
.dir-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.dir-filters button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-weight: 600; font-size: 14px; }
.dir-filters button[aria-selected="true"] { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dcard { display: grid; gap: 14px; align-content: start; padding: 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); min-width: 0; transition: border-color .2s, transform .2s; }
.dcard:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.dtop { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; }
.dav { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--gold-soft); color: var(--gold); font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.dtop b { display: block; font-size: 16px; }
.dtop small { color: var(--muted); font-size: 13px; }
.dlvl { font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
.dl-1 { background: rgba(138,140,142,.18); color: #b9bcbf; }
.dl-2 { background: var(--gold-soft); color: var(--gold-2); }
.dl-3 { background: linear-gradient(180deg, var(--gold-2), var(--gold-3)); color: var(--gold-ink); }
.dmeta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 12px 0; border-block: 1px solid var(--line); }
.dmeta span { display: grid; text-align: center; font-size: 12px; color: var(--muted); }
.dmeta b { font-family: var(--font-num); font-size: 17px; color: var(--text); }
.dwork { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dwork i { display: block; aspect-ratio: 4/3; border-radius: 8px; background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 8px, var(--bg-2) 8px, var(--bg-2) 16px); border: 1px dashed rgba(255,120,100,.3); }

/* لوحة التحكم */
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin: 20px 0 22px; }
.dash-head small { color: var(--muted); }
.dash-head h1 { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 34px); }
.dash-range { display: flex; gap: 3px; padding: 3px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); }
.dash-range button { border: 0; background: none; cursor: pointer; padding: 8px 14px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.dash-range button[aria-selected="true"] { background: var(--gold); color: var(--gold-ink); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.kpi { display: grid; gap: 4px; padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.kpi small { color: var(--muted); font-size: 13.5px; }
.kpi b { font-family: var(--font-num); font-size: 30px; font-weight: 800; line-height: 1.2; }
.kpi b em { font-style: normal; font-size: 16px; color: var(--muted); }
.kpi .up { color: var(--wa); font-size: 13px; }
.kpi .warn { color: var(--gold-2); font-size: 13px; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.dash-card { padding: 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.dash-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 16px; }
.dash-card header b { font-size: 16px; }
.dash-card header small { color: var(--muted); font-size: 12.5px; }
.dash-wide { grid-column: 1 / -1; }
.spark { width: 100%; height: 170px; display: block; }
.dash-chart footer { display: flex; gap: 24px; margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.dash-chart footer b { color: var(--gold-2); font-family: var(--font-num); }
.bars { display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: center; font-size: 14px; color: var(--text-2); }
.bars i { grid-column: 1 / -1; display: block; height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--gold-3), var(--gold-2)); }
.bars b { font-family: var(--font-num); color: var(--text); }
.bars.src i { background: linear-gradient(90deg, #4a6ea8, #7fa3dd); }
.ord td { vertical-align: middle; }
.st { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 6px; white-space: nowrap; }
.st.wait { background: var(--gold-soft); color: var(--gold-2); }
.st.ok { background: rgba(37,211,102,.12); color: var(--wa); }
.renew { display: grid; gap: 2px; margin-bottom: 14px; }
.renew li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.renew b { display: block; font-size: 13.5px; overflow-wrap: anywhere; }
.renew small { color: var(--muted); font-size: 12.5px; }
.renew em { font-style: normal; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.renew em.soon { color: var(--gold-2); font-weight: 700; }
.dash-note { margin-top: 20px; padding: 24px 26px; border-radius: 18px; border: 1px solid var(--gold-line); background: var(--gold-soft); }
.dash-note b { display: block; margin-bottom: 6px; font-size: 17px; }
.dash-note p { color: var(--text-2); font-size: 15px; }

/* بوابة العميل النهائي */
.prop-main { background: var(--bg-2); }
.prop { padding-bottom: 70px; }
.prop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.prop-by { display: flex; align-items: center; gap: 14px; }
.prop-logo { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: var(--bg); font-size: 11px; text-align: center; padding: 6px; color: #ff9b8a; }
.prop-by b { display: block; font-size: 17px; }
.prop-by small { color: var(--muted); font-size: 13px; }
.prop-meta { display: grid; gap: 4px; font-size: 13px; color: var(--muted); text-align: end; }
.prop-meta b { color: var(--text); font-family: var(--font-num); }
.prop-valid b { color: var(--gold-2); }
.prop-title { font-family: var(--font-display); font-size: clamp(26px, 4vw, 40px); margin: 28px 0 18px; }
.prop-hero { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.prop-hero > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.prop-hero figcaption { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 16px; font-size: 13px; color: var(--muted); }
.prop-thumbs { display: flex; gap: 8px; }
.prop-thumbs button { width: 68px; aspect-ratio: 4/3; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: none; cursor: pointer; }
.prop-thumbs button.on { border-color: var(--gold); }
.prop-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.prop-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; margin-top: 24px; align-items: start; }
.prop-items { min-width: 0; }
.prop-items h2 { font-family: var(--font-display); font-size: 21px; margin: 26px 0 12px; }
.prop-items h2:first-child { margin-top: 0; }
.prop-table { min-width: 460px; }
.prop-table td:last-child { font-family: var(--font-num); font-weight: 700; color: var(--gold-2); }
.prop-mats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.prop-mats span { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.prop-mats i { grid-row: span 2; width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); }
.prop-mats b { font-size: 14.5px; }
.prop-mats small { color: var(--muted); font-size: 12.5px; }
.prop-inc li { color: var(--text-2); }
.prop-side { position: sticky; top: 90px; display: grid; gap: 12px; }
.prop-card { display: grid; gap: 10px; padding: 26px; border-radius: 22px; background: linear-gradient(160deg, rgba(227,179,65,.12), var(--surface)); border: 1px solid var(--gold-line); }
.prop-card > small { color: var(--muted); }
.prop-total { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--gold-2); line-height: 1.1; }
.prop-total em { font-style: normal; font-size: 18px; color: var(--muted); margin-inline-start: 4px; }
.prop-pay { display: grid; gap: 2px; margin: 6px 0 10px; }
.prop-pay li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.prop-pay b { font-family: var(--font-num); color: var(--text); }
.prop-fine { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.prop-powered { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.prop-powered b { font-family: var(--font-num); font-weight: 800; color: var(--text); }
.prop-powered em { font-style: normal; color: var(--gold); font-size: 10px; letter-spacing: 2px; margin-inline-start: 3px; }
.prop-done { display: grid; justify-items: center; gap: 8px; text-align: center; margin-top: 24px; padding: 40px; border-radius: 22px; border: 1px solid var(--wa); background: rgba(37,211,102,.08); }
.prop-done svg { color: var(--wa); }
.prop-done b { font-family: var(--font-display); font-size: 24px; }
.prop-done p { color: var(--text-2); max-width: 520px; }

/* خريطة الطريق والتصويت */
.roadmap-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.rcol h3 { font-family: var(--font-display); font-size: 18px; color: var(--ink); margin-bottom: 12px; }
.ritem { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid var(--light-2); margin-bottom: 10px; }
.ritem > div > b { display: block; font-size: 15px; color: var(--ink); line-height: 1.5; }
.ritem p { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }
.ritem p a { color: var(--gold-3); font-weight: 700; text-decoration: underline; }
.ritem small { font-family: var(--font-num); font-size: 12px; color: var(--ink-2); }
.vote { display: grid; justify-items: center; gap: 2px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--light-2); background: #faf9f6; cursor: pointer; color: var(--ink-2); transition: all .15s; }
.vote svg { transform: rotate(90deg); }
.vote b { font-family: var(--font-num); font-size: 15px; color: var(--ink); }
.vote:hover { border-color: var(--gold-3); color: var(--gold-3); }
.vote.on { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); }
.vote.on b { color: var(--gold-ink); }
.ritem.doing { grid-template-columns: 1fr; border-inline-start: 4px solid var(--gold); }
.ritem.done { grid-template-columns: 1fr; opacity: .72; }
.ritem.done > div { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }

/* باكدچات */
.packs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pack { display: grid; gap: 10px; align-content: start; padding: 26px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.pack-ic { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--gold-soft); color: var(--gold); }
.pack h3 { font-size: 18px; }
.pack p { color: var(--text-2); font-size: 14px; flex: 1; }
.pack-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.pack-foot b { font-family: var(--font-num); font-size: 17px; color: var(--gold-2); }
.pack-open { border-color: var(--gold-line); background: linear-gradient(160deg, rgba(227,179,65,.1), var(--surface)); }

@media (max-width: 980px) {
  .levels, .dirs, .packs, .roadmap-cols { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .dash-grid, .prop-grid { grid-template-columns: 1fr; }
  .prop-side { position: static; }
}
@media (max-width: 640px) {
  .levels, .dirs, .packs, .roadmap-cols, .kpis, .prop-mats { grid-template-columns: 1fr; }
  .bill-toggle button { font-size: 13.5px; padding: 10px 8px; }
  .bill-toggle button small { display: none; }
  .dash-head { align-items: start; }
  .prop-head { flex-direction: column; align-items: start; }
  .prop-meta { text-align: start; }
  .prop-hero figcaption { flex-direction: column; align-items: start; }
  .prop-total { font-size: 34px; }
  .dash-card, .kpi { padding: 18px; }
}

/* ---------- صفحة المميزات ---------- */
.feat-nav { position: sticky; top: 76px; z-index: 20; background: rgba(10,10,11,.88); backdrop-filter: blur(14px); border-block: 1px solid var(--line); }
.feat-nav-in { display: flex; gap: 6px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.feat-nav-in::-webkit-scrollbar { display: none; }
.feat-nav a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--text-2); transition: all .15s; }
.feat-nav a:hover { border-color: var(--gold-line); color: var(--gold-2); }
.feat-nav svg { color: var(--gold); flex: none; }
.section-head .kicker svg { vertical-align: middle; margin-inline-end: 4px; }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feat { display: grid; align-content: start; gap: 8px; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); min-width: 0; transition: border-color .2s, transform .2s; }
.feat:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.feat h3 { font-family: var(--font-display); font-size: 18px; line-height: 1.5; }
.feat p { color: var(--text-2); font-size: 14.5px; line-height: 1.75; }
.feat-gain { display: grid; grid-template-columns: auto 1fr; gap: 8px; align-items: start; margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--gold-2); line-height: 1.6; }
.feat-gain svg { color: var(--gold); margin-top: 4px; transform: scaleX(-1); }
.section-alt .feat { background: var(--bg); }
@media (max-width: 980px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feats { grid-template-columns: 1fr; } .feat-nav { top: 64px; } .feat-nav-in { padding-inline: 16px; } }

/* ---------- مكتبات Roadmap ---------- */
.shelf header { gap: 10px; }
.shelf-price { font-family: var(--font-num); font-weight: 800; font-size: 26px; color: #fff; line-height: 1; }
.shelf-price b { font-weight: 800; }
.shelf-btn { background: rgba(255,255,255,.95); color: #141311; border: 0; justify-content: center; }
.shelf-btn:hover { background: #fff; }
.price-note s { color: var(--muted); }
@media (max-width: 980px) { .shelf header { align-items: flex-start; } .shelf-btn { align-self: stretch; } }

/* ---------- قايمة منسدلة مرتبة ---------- */
.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-group { position: relative; }
.nav-top {
  display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: color .15s;
}
.nav-top svg { transform: rotate(90deg); transition: transform .2s; opacity: .7; }
.nav-top:hover, .nav-group:hover .nav-top, .nav-group.open .nav-top { color: var(--gold-2); }
.nav-group.open .nav-top svg { transform: rotate(-90deg); }
.nav-top.has-current { color: var(--gold-2); }
.nav-menu {
  display: none;
  position: absolute; top: calc(100% + 18px); inset-inline-start: 50%; transform: translateX(50%);
  width: 340px; padding: 10px; border-radius: 18px; z-index: 60;
  background: #121214;
  border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(0,0,0,.7);
}
.nav-menu::before { content: ""; position: absolute; inset-inline: 0; top: -18px; height: 18px; }
.main-nav .nav-group:hover > .nav-menu,
.main-nav .nav-group.open > .nav-menu { display: block; }
.nav-menu a {
  display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
  padding: 11px 12px; border-radius: 12px; transition: background .15s;
}
.nav-menu a:hover { background: var(--gold-soft); }
.nm-ic { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--surface-2); color: var(--gold); }
.nav-menu a:hover .nm-ic { background: var(--gold); color: var(--gold-ink); }
.nav-menu b { font-size: 15px; font-weight: 600; color: var(--text); }
.nav-menu small { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.nav-menu a[aria-current="page"] b { color: var(--gold-2); }

.staff-strip { display: block; width: 100%; margin: 0 0 18px; text-align: center; }
.staff-strip a { color: #ff9b8a; text-decoration: underline; }

@media (max-width: 1180px) { .main-nav { gap: 18px; } .main-nav a, .nav-top { font-size: 14px; } }
@media (max-width: 980px) {
  .main-nav {
    display: none; position: fixed; top: 76px; inset-inline: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; max-height: none;
    overflow-y: auto; overscroll-behavior: contain;
    background: rgba(10,10,11,.985); backdrop-filter: blur(16px);
    border-top: 1px solid var(--line); padding-bottom: 30px; z-index: 70;
  }
  .site-header.menu-open ~ .wa-float, .site-header.menu-open ~ .mobile-cta,
  body:has(.site-header.menu-open) .wa-float, body:has(.site-header.menu-open) .mobile-cta { display: none; }
  .main-nav.open { display: flex; max-height: none; }
  .nav-group { border-top: 1px solid var(--line); }
  .nav-top { width: 100%; justify-content: space-between; padding: 15px 24px; font-size: 15px; }
  .nav-menu {
    position: static; transform: none; width: auto;
    background: rgba(255,255,255,.02); border: 0; border-radius: 0; box-shadow: none;
    padding: 6px 12px 12px;
  }
  .main-nav .nav-group:hover > .nav-menu { display: none; }
  .main-nav .nav-group.open > .nav-menu { display: block; }
  .nav-menu a { padding: 10px 12px; border-top: 0; }
}

/* ---------- شريط الأرقام (عدّاد) ---------- */
.stats-band { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.stats-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 260px at 50% -10%, rgba(227,179,65,.13), transparent 70%),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px) 0 0/48px 48px,
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px) 0 0/48px 48px;
  mask-image: linear-gradient(#000, transparent 85%);
}
.stats { position: relative; }
.stat {
  position: relative; display: grid; justify-items: center; gap: 5px;
  padding: 44px 20px 40px; border-inline-start: 1px solid var(--line);
  transition: background .25s;
}
.stat:first-child { border-inline-start: 0; }
.stat::before {
  content: ""; position: absolute; top: 0; inset-inline: 22%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform .7s cubic-bezier(.2,.8,.2,1);
}
.stat.in::before { transform: scaleX(1); }
.stat:hover { background: rgba(227,179,65,.035); }
.st-ic {
  display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 8px;
  border-radius: 14px; color: var(--gold);
  background: linear-gradient(160deg, rgba(227,179,65,.2), rgba(227,179,65,.05));
  border: 1px solid var(--gold-line); box-shadow: 0 8px 22px rgba(227,179,65,.12);
}
.stat strong {
  display: flex; align-items: baseline; justify-content: center; gap: 1px;
  font-family: var(--font-display); font-size: clamp(34px, 4.2vw, 50px); font-weight: 800;
  line-height: 1; letter-spacing: -1px; direction: ltr;
  background: linear-gradient(180deg, #fff6dd, var(--gold) 55%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat strong em { font-style: normal; font-size: .5em; font-weight: 700; }
.stat > span { font-weight: 600; color: var(--text); font-size: 15.5px; margin-top: 4px; }
.stat small { color: var(--muted); font-size: 12.5px; display: inline-flex; align-items: center; gap: 6px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); position: relative; flex: none; box-shadow: 0 0 10px rgba(37,211,102,.8); }
.live-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--wa); opacity: .55; animation: ping 2s ease-out infinite; }
.stat.is-live small { color: var(--wa); font-weight: 600; }
.hub-hero-stats li.is-live b { position: relative; }
.hub-hero-stats b em { font-style: normal; font-size: .6em; color: var(--gold-3); }
.hub-hero-stats li > span { display: inline-flex; align-items: center; gap: 6px; }
@media (prefers-reduced-motion: reduce) { .live-dot::after { animation: none; } }
@media (max-width: 900px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 32px 14px 28px; }
  .stat:nth-child(odd) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) { .stat { padding: 26px 10px 24px; } .st-ic { width: 38px; height: 38px; } }

/* ---------- وحدات جاهزة في المحاكي ---------- */
.sim-presets-wrap legend small { color: var(--muted); font-weight: 500; }
.sim-presets { display: grid; grid-auto-flow: column; grid-auto-columns: 92px; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.sim-preset { display: grid; gap: 4px; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: #000; cursor: pointer; transition: border-color .15s, transform .15s; }
.sim-preset img { width: 100%; aspect-ratio: 420/308; object-fit: contain; border-radius: 8px; }
.sim-preset span { font-size: 11.5px; color: var(--text-2); line-height: 1.4; }
.sim-preset:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.sim-preset.on { border-color: var(--gold); background: var(--gold-soft); }
.sim-preset.on span { color: var(--gold-2); font-weight: 600; }

/* ---------- كتالوج مقسّم ---------- */
.cat-nav { top: 76px; }
.cat-sec { padding-block: 48px; }
.cat-head { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.section-alt .cat-head { border-bottom-color: var(--line-2); }
.cat-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold); }
.cat-head h2 { font-family: var(--font-display); font-size: clamp(19px, 2.4vw, 25px); line-height: 1.35; }
.cat-head p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.cat-n { font-family: var(--font-num); font-size: 13px; font-weight: 700; color: var(--gold-2); background: var(--gold-soft); border: 1px solid var(--gold-line); padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.units { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.unit { position: relative; border-radius: 14px; overflow: hidden; background: #08080a; border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.unit:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.unit img { width: 100%; aspect-ratio: 420/308; object-fit: contain; transition: transform .3s ease; }
.unit:hover img { transform: scale(1.06); }
.unit figcaption { padding: 9px 11px; font-size: 13.5px; font-weight: 600; line-height: 1.45; background: var(--surface); border-top: 1px solid var(--line); }
.section-alt .unit { background: #050506; }
@media (max-width: 640px) {
  .cat-nav { top: 64px; }
  .cat-head { grid-template-columns: auto 1fr; row-gap: 10px; }
  .cat-n { grid-column: 2; justify-self: start; }
  .units { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat-sec { padding-block: 34px; }
}

/* ---------- كتالوج الخامات ---------- */
.mat-bar { display: grid; gap: 10px; margin-bottom: 14px; }
.mat-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.mat-filters button { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--text-2); }
.mat-filters button[aria-selected="true"] { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.mat-brands button { font-family: var(--font-num); font-size: 12.5px; padding: 6px 12px; }
.mat-count { text-align: center; color: var(--muted); font-size: 13.5px; margin-bottom: 18px; font-family: var(--font-num); }
.mats { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.mat { display: grid; gap: 2px; padding: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); min-width: 0; transition: border-color .2s, transform .2s; }
.mat:hover { border-color: var(--gold-line); transform: translateY(-2px); }
.mat-sw { display: block; aspect-ratio: 16/10; border-radius: 9px; margin-bottom: 6px; background: var(--surface-2); border: 1px solid var(--line-2); }
.mat-sw-none { background: repeating-linear-gradient(45deg, var(--surface-2), var(--surface-2) 6px, var(--bg-2) 6px, var(--bg-2) 12px); }
.mat b { font-family: var(--font-num); font-size: 13.5px; font-weight: 700; overflow-wrap: anywhere; }
.mat small { font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.mat-more { max-width: 320px; margin: 22px auto 0; }
.mat-note { margin-top: 30px; }
@media (max-width: 640px) { .mats { grid-template-columns: 1fr 1fr; } }

.hub-hero-stats li b { background: linear-gradient(180deg, #fff6dd, var(--gold) 60%, var(--gold-3)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.feat-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13.5px; font-weight: 700; color: var(--gold-2); }
.feat-link:hover { color: var(--gold); }
.feat-link svg { transform: scaleX(-1); }
.features-more { display: flex; justify-content: center; margin-top: 26px; }
.features-more svg { transform: scaleX(-1); }

/* ---------- ويندوز وماك ---------- */
.plats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 900px; margin-inline: auto; }
.plat { display: grid; gap: 10px; align-content: start; padding: 30px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.plat-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; color: var(--gold); background: linear-gradient(160deg, rgba(227,179,65,.2), rgba(227,179,65,.05)); border: 1px solid var(--gold-line); }
.plat h3 { font-family: var(--font-num); font-size: 24px; font-weight: 800; }
.plat > p { color: var(--text-2); font-size: 14.5px; }
.plat .checks { margin-top: 4px; }
.plat .checks li { font-size: 14.5px; }
.plat-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 26px; max-width: 900px; margin: 22px auto 0; padding: 18px 24px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.plat-strip span { display: inline-flex; align-items: center; gap: 8px; }
.plat-strip svg { color: var(--gold); }
.plat-strip a { color: var(--gold-2); font-weight: 700; }
@media (max-width: 760px) { .plats { grid-template-columns: 1fr; } .plat-strip { flex-direction: column; align-items: start; } }

.pol-body h4 { font-size: 16px; color: var(--text); margin: 18px 0 6px; }
.pol-list { display: grid; gap: 7px; margin-bottom: 6px; }
.pol-list li { position: relative; padding-inline-start: 18px; color: var(--text-2); font-size: 15px; line-height: 1.8; }
.pol-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.pol-body a { color: var(--gold-2); text-decoration: underline; }

.co-pay-ask { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; border-color: var(--wa); background: rgba(37,211,102,.07); }
.co-pay-ask > svg { color: var(--wa); margin-top: 2px; }
.co-pay-ask b { display: block; margin-bottom: 4px; }
.co-pay-ask p { font-size: 13.5px; color: var(--text-2); line-height: 1.7; }

.sim-see { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; cursor: pointer; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--text); background: rgba(10,10,11,.72); border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.sim-see:hover { border-color: var(--gold-line); color: var(--gold-2); }
.sim-see[aria-pressed="true"] { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.sim-see svg { opacity: .85; }
.sim-dims { inset-inline-end: 14px; }

.foot-note { display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--text-2); }
.foot-note svg { color: var(--gold); flex: none; }

/* ---------- أغلفة مكتبات Roadmap ---------- */
.shelf { grid-template-columns: 260px 1fr; align-items: start; }
.shelf-cover { display: grid; gap: 10px; }
.shelf-cover img { width: 100%; display: block; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 18px 44px rgba(0,0,0,.5); }
.shelf-cover figcaption { display: grid; gap: 8px; justify-items: stretch; }
.shelf-cover .shelf-price { font-family: var(--font-num); font-weight: 800; font-size: 22px; color: var(--gold-2); text-align: center; }
.shelf-main { min-width: 0; }
@media (max-width: 980px) {
  .shelf { grid-template-columns: 1fr; }
  .shelf-cover { grid-template-columns: 150px 1fr; align-items: center; gap: 16px; }
  .shelf-cover figcaption { align-content: center; }
}
@media (max-width: 480px) { .shelf-cover { grid-template-columns: 1fr; } }

/* ---------- صفحة 404 ---------- */
.nf-hero { padding-bottom: 40px; }
.nf-code {
  display: block; font-family: var(--font-num); font-weight: 800; font-size: clamp(90px, 18vw, 170px);
  line-height: .9; letter-spacing: -6px; direction: ltr; margin-bottom: 10px;
  background: linear-gradient(180deg, #fff6dd, var(--gold) 55%, var(--gold-3));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.nf-links { grid-template-columns: repeat(3, 1fr); max-width: 900px; margin-inline: auto; }
@media (max-width: 760px) { .nf-links { grid-template-columns: 1fr 1fr; } }

/* ---------- مقالات المساعدة ---------- */
.help-group details { border-top: 1px solid var(--line); }
.help-group details:first-of-type { border-top: 0; }
.help-group summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 0; font-size: 15px; font-weight: 600; color: var(--text-2); transition: color .15s;
}
.help-group summary::-webkit-details-marker { display: none; }
.help-group summary::after { content: "+"; font-family: var(--font-num); font-size: 19px; color: var(--gold); line-height: 1; flex: none; transition: transform .2s; }
.help-group details[open] summary { color: var(--gold-2); }
.help-group details[open] summary::after { transform: rotate(45deg); }
.help-group summary:hover { color: var(--text); }
.help-group details > div { padding: 0 0 16px; display: grid; gap: 11px; }
.help-group details p { font-size: 14.5px; color: var(--text-2); line-height: 1.85; }
.help-group details a { display: inline; padding: 0; border: 0; color: var(--gold-2); text-decoration: underline; font-size: inherit; }
.hsteps { display: grid; gap: 9px; counter-reset: hs; }
.hsteps li { position: relative; list-style: none; counter-increment: hs; padding-inline-start: 32px; font-size: 14.5px; color: var(--text-2); line-height: 1.8; }
.hsteps li::before {
  content: counter(hs); position: absolute; inset-inline-start: 0; top: 2px;
  width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-soft); border: 1px solid var(--gold-line); color: var(--gold);
  font-family: var(--font-num); font-size: 12px; font-weight: 700;
}
.hsteps b, .help-group details b { color: var(--text); font-weight: 700; }
.hnote { font-size: 13.5px !important; color: var(--muted) !important; padding-top: 4px; border-top: 1px dashed var(--line-2); }

/* ---------- شروحات الفيديو ---------- */
.tuts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tut { display: grid; gap: 0; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); cursor: pointer; text-align: start; font: inherit; color: inherit; transition: border-color .2s, transform .2s; }
.tut:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.tut-media { position: relative; display: block; aspect-ratio: 16/9; background: #000; }
.tut-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tut-play { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(10,10,11,.6); color: #fff; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.25); }
.tut:hover .tut-play { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.tut-body { display: grid; gap: 4px; padding: 13px 15px 15px; }
.tut-body b { font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.tut-body small { font-family: var(--font-num); font-size: 12.5px; color: var(--muted); }
@media (max-width: 980px) { .tuts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tuts { grid-template-columns: 1fr; } }
