/* ===== Tokens — نفس ألوان Zdify في البريف ===== */
:root {
  --blue: #2440F0;
  --blue-deep: #1528B8;
  --lime: #E5FD76;
  --black: #0A0A0F;
  --white: #FFFFFF;
  --grad-brand: linear-gradient(120deg, var(--blue) 0%, var(--lime) 100%);
  --grad-blue: linear-gradient(135deg, #2440F0 0%, #4F66FF 100%);
  --grad-hero:
    radial-gradient(900px 420px at 15% 115%, rgba(229, 253, 118, .22), transparent 60%),
    radial-gradient(700px 400px at 95% -20%, rgba(120, 140, 255, .45), transparent 60%),
    linear-gradient(160deg, #1528B8 0%, #2440F0 50%, #3550FF 100%);
  --bg: #FBF9F2;
  --surface: var(--white);
  --surface-2: #FDFCF8;
  --ink: var(--black);
  --ink-2: #474A5C;
  --muted: #80849C;
  --line: #ECE7DA;
  --line-strong: #DAD4C4;
  --accent-soft: #EDF0FE;
  --lime-soft: #F7FEDB;
  --on-dark: #FFFFFF;
  --on-dark-2: rgba(255, 255, 255, .78);
  --radius: 8px;
  --shadow: 0 1px 2px rgba(10, 10, 15, .04), 0 12px 32px -16px rgba(18, 26, 92, .18);
  --shadow-lg: 0 2px 4px rgba(10, 10, 15, .04), 0 40px 80px -30px rgba(18, 26, 92, .4);
  --font: 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --topbar-h: 84px;            /* المسافة اللي فوق + ارتفاع الهيدر العايم */
  --bar-gap: 12px;
  color-scheme: light;
}
::selection { background: var(--lime); color: var(--black); }

/* شريط تمرير فاتح وعايم */
::-webkit-scrollbar { width: 10px; height: 10px; background: transparent; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(36, 64, 240, .28); border-radius: 8px; border: 3px solid transparent; background-clip: padding-box; }
@supports (-moz-appearance: none) { html { scrollbar-width: thin; scrollbar-color: rgba(36, 64, 240, .35) transparent; } }

/* على الكمبيوتر: بنخفي شريط المتصفح ونرسم واحد فاتح طاير فوق الأقسام، بيبدأ تحت الهيدر (زي البريف) */
html.has-custom-scroll { scrollbar-width: none; }
html.has-custom-scroll::-webkit-scrollbar { display: none; }
.sb-bar { position: fixed; right: 3px; z-index: 45; width: 12px; display: flex; justify-content: center; background: transparent; cursor: pointer; }
.sb-thumb {
  width: 6px; border-radius: 8px; cursor: grab;
  background: rgba(190, 196, 220, .55); box-shadow: 0 0 0 1px rgba(255, 255, 255, .35) inset; backdrop-filter: blur(4px);
  transition: width .15s, background .15s, opacity .3s; opacity: .75;
}
.sb-bar.is-active .sb-thumb { opacity: 1; }
.sb-bar.is-hover .sb-thumb, .sb-bar.is-dragging .sb-thumb { width: 9px; opacity: 1; background: rgba(170, 178, 210, .8); }
.sb-bar.is-dragging .sb-thumb { cursor: grabbing; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.7 var(--font); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3 { margin: 0; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.ic { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: middle; }
[dir=ltr] .ic-dir, [dir=rtl] .ic-prev { transform: scaleX(-1); }
.btn-glass .ic-wa, .btn-ghost .ic-wa { color: #25D366; }
.card-ic .ic-wa { color: #1FAF5A; }
.ic-dir, .ic-prev { width: 1.1em; height: 1.1em; flex: none; }
.muted { color: var(--muted); }
/* رابط «تخطي إلى المحتوى» — مخفي تمامًا، وبيظهر بس لمستخدمي الكيبورد (Tab) */
.skip {
  position: fixed; top: 0; left: 50%; z-index: 100; translate: -50% -120%;
  padding: 8px 16px; border-radius: 0 0 8px 8px; background: var(--white); color: var(--blue);
  font-size: 13.5px; font-weight: 600; text-decoration: none; box-shadow: 0 10px 24px -12px rgba(5, 10, 60, .5);
  transition: translate .2s;
}
.skip:focus-visible { translate: -50% 0; outline: none; }

.wrap { width: 100%; max-width: none; margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 860px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 8px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .15s, background .15s, border-color .15s, box-shadow .15s, color .15s;
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 1.25em; height: 1.25em; }
.btn-primary { background: var(--grad-blue); color: var(--white); box-shadow: 0 8px 20px -10px rgba(36, 64, 240, .7); }
.btn-primary:hover { background: var(--blue); box-shadow: 0 12px 28px -10px rgba(36, 64, 240, .85); transform: translateY(-1px); }
.btn-lime { background: var(--lime); color: var(--black); box-shadow: 0 10px 24px -14px rgba(229, 253, 118, .9); }
.btn-lime:hover { background: #EEFF9A; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-glass { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); color: var(--white); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); border-color: var(--lime); color: var(--lime); }
.btn-lg { min-height: 54px; font-size: 16px; padding: 0 28px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.btn-block { width: 100%; }

/* ===== Top bar — شفاف فوق الهيرو وبيتلوّن لما تنزل ===== */
/* هيدر عايم: بعيد عن الحواف من كل الاتجاهات، بحواف مدورة، ومن غير خلفية حواليه */
.topbar { position: fixed; inset: 0 0 auto; z-index: 50; padding: var(--bar-gap) var(--gutter) 0; color: var(--on-dark); pointer-events: none; }
.topbar-in {
  position: relative; pointer-events: auto; max-width: none; margin-inline: auto;
  height: calc(var(--topbar-h) - var(--bar-gap)); padding-inline: 18px; display: flex; align-items: center; gap: 24px;
  border-radius: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: background .25s, box-shadow .25s, border-color .25s;
}
/* بعد النزول بيفضل زجاجي شفاف — بس بلمسة أزرق عشان الكلام الأبيض يفضل واضح فوق الأقسام الفاتحة */
.topbar.is-scrolled .topbar-in, .topbar.is-open .topbar-in { background: rgba(21, 40, 184, .5); border-color: rgba(255, 255, 255, .22); box-shadow: 0 16px 36px -18px rgba(10, 16, 80, .55); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; direction: ltr; flex: none; }
.logo img { display: block; width: auto; }
.logo img:first-child { height: 30px; }
.logo .logo-word { height: 22px; }
/* اللوجو دايمًا على الشمال (زي البريف)، والروابط بتفضل بترتيب اللغة */
.topbar-in { direction: ltr; }
[dir=rtl] .nav, [dir=rtl] .topbar-end { direction: rtl; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; font-size: 15px; font-weight: 500; color: var(--on-dark-2); transition: color .15s, background .15s; }
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav a[aria-current="page"] { color: var(--lime); }
.nav .nav-cta-mobile, .nav .nav-lang { display: none; }
.topbar-end { display: flex; align-items: center; gap: 12px; }
.lang-link { min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); transition: border-color .15s, color .15s; }
.lang-link:hover { border-color: var(--lime); color: var(--lime); }
.menu-btn { display: none; place-items: center; width: 42px; height: 42px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); cursor: pointer; }
.menu-btn .ic { width: 22px; height: 22px; }
.menu-btn .ic-close, .topbar.is-open .menu-btn .ic:first-child { display: none; }
.topbar.is-open .menu-btn .ic-close { display: block; }

/* ===== Hero ===== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--topbar-h) + clamp(48px, 7vw, 88px)) 0 clamp(96px, 11vw, 140px);
  background: var(--grad-hero); color: var(--on-dark);
  border-radius: 0 0 50% 50% / 0 0 72px 72px;
}
.hero::before { /* نقط خفيفة في الخلفية */
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 70% 20%, #000 0%, transparent 65%);
}
.hero h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.18; letter-spacing: -0.025em; }
.hero .lead { margin-top: 20px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .86); max-width: 58ch; }
.hl { color: var(--lime); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--lime); margin-bottom: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-sm { text-align: center; padding-bottom: clamp(88px, 10vw, 120px); }
.hero-sm .hero-in { display: grid; justify-items: center; }
.hero-sm h1 { font-size: clamp(30px, 4.4vw, 50px); max-width: 22ch; }
.hero-sm .lead { margin-inline: auto; }
.hero-sm .hero-actions { justify-content: center; }

.hero-home { padding-bottom: clamp(110px, 12vw, 160px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy h1 { margin-top: 24px; }
.shopify-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 14px; white-space: nowrap; max-width: 100%;
  border-radius: 8px; text-decoration: none; color: var(--on-dark); font-size: 13.5px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(6px);
  transition: background .2s, border-color .2s, transform .2s;
}
.shopify-badge:hover { background: rgba(255, 255, 255, .16); border-color: rgba(229, 253, 118, .55); transform: translateY(-1px); }
.shopify-badge .logos { display: inline-flex; align-items: center; gap: 8px; }
.shopify-badge .logos img { height: 18px; width: auto; display: block; }
.shopify-badge .logos i, .shopify-badge .sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .28); }
.shopify-badge > span:nth-child(3) { font-weight: 600; }
.muted-on-dark { color: rgba(255, 255, 255, .7); }
.stars { letter-spacing: 1px; font-size: 14px; line-height: 1; background: linear-gradient(180deg, #FFD966 0%, #F5B400 55%, #D99200 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stars.lg { font-size: 22px; letter-spacing: 3px; }
.hero-stats {
  display: inline-flex; align-items: center; flex-wrap: nowrap; gap: 0; margin: 28px 0 0; padding: 10px 6px;
  border-radius: 8px; background: var(--white); box-shadow: 0 18px 40px -22px rgba(5, 10, 60, .55);
}
.hero-stats div { display: flex; flex-direction: row-reverse; align-items: center; gap: 8px; padding: 0 18px; white-space: nowrap; }
.hero-stats div + div { border-inline-start: 1px solid var(--line); }
.hero-stats dd { margin: 0; font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats dt { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.hero-stats div:nth-child(1) dd { background-image: linear-gradient(120deg, #1528B8, #2440F0 45%, #7D8FFF); }
.hero-stats div:nth-child(2) dd { background-image: linear-gradient(120deg, #0E7A47, #17935A 45%, #4FD18B); }
.hero-stats div:nth-child(3) dd { background-image: linear-gradient(120deg, #C25E00, #E07A12 45%, #FFB45C); }

/* شكل متجر في الهيرو */
.hero-visual { position: relative; display: grid; place-items: center; }
.stage { position: relative; width: 100%; padding: 30px 0; }
.stage::before { /* هالة ورا الصورة */
  content: ''; position: absolute; inset: 0 8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(229, 253, 118, .22), transparent 75%);
}
.shot { display: block; border-radius: 8px; overflow: hidden; background: var(--white); box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 50px 90px -30px rgba(5, 10, 60, .7); transition: transform .3s; }
.shot:hover { transform: translateY(-4px); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F3F1EA; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #E0DCCF; }
.shot-bar i:nth-child(1) { background: #FF6159; } .shot-bar i:nth-child(2) { background: #FFBD2E; } .shot-bar i:nth-child(3) { background: #28C941; }
.shot-bar span { margin-inline-start: 10px; padding: 2px 14px; border-radius: 8px; background: var(--white); font-size: 12px; color: var(--muted); }
.shot img { display: block; width: 100%; height: auto; }
.float-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 8px; background: var(--white); color: var(--ink); box-shadow: 0 24px 40px -18px rgba(5, 10, 60, .55); font-size: 12.5px; line-height: 1.35; animation: bob 6s ease-in-out infinite; }
.float-chip > svg, .float-chip > .ic { width: 34px; height: 34px; padding: 8px; border-radius: 8px; flex: none; background: var(--accent-soft); color: var(--blue); }
.float-chip div { display: grid; }
.float-chip b { font-size: 13.5px; }
.float-chip span { color: var(--muted); }
.chip-order { top: -6px; inset-inline-end: -20px; }
.chip-wa { bottom: -2px; inset-inline-start: -22px; animation-delay: -2s; }
.chip-wa > svg { background: #E7F8EE; color: #1FAF5A; }
.chip-speed { bottom: 24%; inset-inline-end: -26px; animation-delay: -4s; }
.chip-speed > .ic { background: var(--lime-soft); color: #5A6B00; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ===== Sections ===== */
.section { padding-block: clamp(28px, 3.4vw, 48px); }
.hero + .section, .hero + .jump + .section { padding-top: clamp(36px, 4vw, 52px); }
.sec-head { display: grid; justify-items: start; gap: 12px; margin-bottom: clamp(22px, 2.6vw, 34px); max-width: 720px; }
.sec-head.is-center { justify-items: center; text-align: center; margin-inline: auto; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.02em; }
.sec-head p { font-size: 17px; color: var(--ink-2); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--blue); background: var(--accent-soft); border: 1px solid rgba(36, 64, 240, .15); }
.pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px rgba(36, 64, 240, .18); }
.pill-dark, .pill-lime { color: var(--lime); background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); }
.pill-dark::before, .pill-lime::before { background: var(--lime); box-shadow: 0 0 0 3px rgba(229, 253, 118, .25); }
.center-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card h3 { font-size: 18.5px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(36, 64, 240, .3); }
.card-link .more { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--blue); }
.card-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; background: var(--accent-soft); color: var(--blue); flex: none; }
.card-ic .ic { width: 24px; height: 24px; }
/* كل أيقونة في الكروت بلون مختلف */
.grid > .card:nth-child(6n+1) .card-ic { background: #EDF0FE; color: #2440F0; }
.grid > .card:nth-child(6n+2) .card-ic { background: #E6F7EE; color: #17935A; }
.grid > .card:nth-child(6n+3) .card-ic { background: #FFF1E3; color: #E07A12; }
.grid > .card:nth-child(6n+4) .card-ic { background: #F3EAFE; color: #8B3FE0; }
.grid > .card:nth-child(6n+5) .card-ic { background: #FDEBF1; color: #D9356E; }
.grid > .card:nth-child(6n+6) .card-ic { background: #E3F6F9; color: #0F93A8; }
.sec-head .why-logo { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: clamp(24px, 3vw, 34px); font-weight: 700; line-height: 1; color: var(--ink); }
.why-logo img { height: 1.15em; width: auto; display: block; transform: translateY(-.06em); }
.why-card { align-items: center; text-align: center; }
.why-grid .why-card .card-ic { align-self: center; grid-row: auto; }
@media (min-width: 1021px) { .why-grid > .why-card:last-child:nth-child(3n+1) { grid-column: 2; } }  /* آخر كارت لوحده يبقى في النص */
.why-grid .why-card { display: flex !important; }
.why-grid .why-card[hidden] { display: none !important; }
[data-more-btn] .ic { transform: rotate(-90deg); transition: transform .2s; }
[data-more-btn][aria-expanded="true"] .ic { transform: rotate(90deg); }
.card-ic.lg { width: 60px; height: 60px; border-radius: 8px; background: var(--grad-blue); color: var(--white); box-shadow: 0 14px 30px -14px rgba(36, 64, 240, .8); }
.card-ic.lg .ic { width: 28px; height: 28px; }
.card-flat:hover { border-color: var(--line-strong); }
.card-wide { flex-direction: row; align-items: center; gap: 24px; padding: clamp(24px, 3vw, 36px); }
.card-wide > div { flex: 1; display: grid; gap: 6px; }
.card-wide h2 { font-size: clamp(20px, 2.2vw, 26px); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; }
.checks .ic { width: 22px; height: 22px; padding: 4px; margin-top: 2px; border-radius: 50%; background: var(--lime); color: var(--black); stroke-width: 2.6; }
.checks-light li { color: rgba(255, 255, 255, .9); }

/* ===== Brands band ===== */
.brands {
  position: relative; overflow: hidden; isolation: isolate;
  margin: clamp(28px, 3.4vw, 48px) var(--gutter) 0;
  padding: clamp(44px, 6vw, 68px) 0;
  /* كحلي غامق بلمسة ليموني — مختلف عن أزرق الهيرو اللي فوقه */
  background:
    radial-gradient(700px 260px at 50% -10%, rgba(229, 253, 118, .14), transparent 70%),
    radial-gradient(600px 300px at 100% 120%, rgba(36, 64, 240, .45), transparent 65%),
    linear-gradient(165deg, #070A24 0%, #0D1450 100%);
  color: var(--on-dark);
  border-radius: 8px; box-shadow: 0 30px 60px -30px rgba(7, 10, 36, .7);
}
.brands .brands-head h2 { color: var(--white); }
.brands .brand-tile { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
.brands .brand-text { color: rgba(255, 255, 255, .62); }
.hero + .brands { margin-top: clamp(-70px, -5vw, -50px); }
.brands-head { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 0 20px; margin-bottom: clamp(24px, 3vw, 32px); }
.brands-head h2 { font-size: clamp(22px, 3vw, 32px); letter-spacing: -0.02em; }
.marquee { width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee-track { list-style: none; margin: 0; padding: 2px 0; display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee.is-reverse .marquee-track { animation-direction: reverse; animation-duration: 70s; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.brand-tile { display: grid; place-items: center; flex: none; min-width: clamp(150px, 14vw, 180px); height: 72px; padding: 0 26px; white-space: nowrap; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; transition: border-color .2s, background .2s, transform .2s; }
.brand-tile:hover { background: rgba(255, 255, 255, .14); border-color: rgba(229, 253, 118, .5); transform: translateY(-2px); }
.brand-tile a { display: grid; place-items: center; width: 100%; height: 100%; text-decoration: none; }
.brand-text { font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .72); transition: color .2s; }
.brand-tile:hover .brand-text { color: var(--lime); }

/* ===== WhatPro band ===== */
.wp-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center;
  padding: clamp(28px, 5vw, 64px); border-radius: 8px;
  background: radial-gradient(600px 300px at 90% 110%, rgba(37, 211, 102, .22), transparent 60%), linear-gradient(160deg, #0B1250 0%, #1528B8 60%, #2440F0 100%);
  color: var(--on-dark); box-shadow: 0 30px 60px -30px rgba(21, 40, 184, .6);
}
.wp-copy { display: grid; justify-items: start; gap: 16px; }
.wp-copy h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.02em; }
.wp-copy > p { color: var(--on-dark-2); font-size: 16.5px; max-width: 56ch; }
.wp-copy b { color: var(--white); }
.wp-copy .hero-actions { margin-top: 8px; }
.wp-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--on-dark-2); }
.wp-meta b { color: var(--white); }

.ps-grid { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: 100%; }
.ps-grid li { display: grid; gap: 10px; align-content: start; padding: 16px; border-radius: 8px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.ps-problem { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 3px 10px 3px 8px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: #FFB4B4; background: rgba(255, 90, 90, .12); }
.ps-problem .ic { width: 13px; height: 13px; stroke-width: 2.6; }
.ps-solution { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; font-weight: 600; line-height: 1.55; color: var(--white); }
.ps-solution .ic { width: 20px; height: 20px; padding: 3px; margin-top: 2px; border-radius: 50%; background: var(--lime); color: var(--black); stroke-width: 2.6; flex: none; }
.wp-logos {
  grid-column: 1 / -1; justify-self: left; direction: ltr;   /* سطر لوحده فوق القسم وعلى الشمال في اللغتين */
  display: flex; align-items: center; gap: 14px; margin-bottom: calc(20px - clamp(28px, 5vw, 64px));
}
.wp-logo-main { display: flex; align-items: center; gap: 14px; }
.wp-logo-main > img { width: 48px; height: 48px; border-radius: 8px; background: #FDFDF5; box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .6); }
.wp-logo-main span { display: grid; line-height: 1.3; }
.wp-logo-main b { font-size: 18px; color: var(--white); letter-spacing: -0.01em; }
.wp-logo-main em { font-style: normal; font-size: 12px; font-weight: 600; color: #6EE7A0; }
.wp-logos > i { width: 1px; height: 32px; background: rgba(255, 255, 255, .25); }
.wp-logos > img { width: auto; height: 54px; display: block; border-radius: 8px; }
.bfs-badge { display: inline-flex; align-self: center; border-radius: 8px; transition: transform .15s, box-shadow .15s; }
.bfs-badge:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .6); }
.bfs-badge img { display: block; height: 36px; width: auto; border-radius: 8px; }
.wp-trust { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; }
.trust-badge { display: inline-flex; align-items: center; height: 54px; padding: 0 16px; border-radius: 8px; background: var(--white); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .5); }
.trust-badge img { display: block; height: auto; }
.trust-badge img[alt="Meta Business Partner"] { width: 84px; }
.trust-badge img[alt="Built for Shopify"] { width: 150px; }
.wp-trust .wp-meta { margin-inline-start: 4px; }
.wp-channels { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.chan { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 600; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); }
.chan .ic { width: 17px; height: 17px; }
.chan { border: 0; box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .6); }
/* كل الشارات بلون واحد ثابت، والأيقونة بس اللي ملونة */
.chan-wa, .chan-sms, .chan-ship, .chan-pay { background: var(--white); color: var(--ink); }
.chan-wa .ic { color: #1FAF5A; }
.chan-sms .ic { color: var(--blue); }
.chan-ship .ic { color: #8B3FE0; }
.chan-pay .ic { color: #E07A12; }
.wp-visual { position: relative; justify-self: center; width: 100%; max-width: 400px; padding-bottom: 40px; }
.wa-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 6px; background: #064E46; }
.wa-tabs span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 7px; border-radius: 8px; color: rgba(255, 255, 255, .65); font-size: 12.5px; font-weight: 600; }
.wa-tabs .ic { width: 15px; height: 15px; }
.wa-tabs .is-on { background: rgba(255, 255, 255, .14); color: var(--white); }
.sms-card { position: absolute; bottom: 0; inset-inline-end: -28px; width: 250px; display: flex; gap: 10px; padding: 12px 14px; border-radius: 8px; background: var(--white); color: var(--ink); box-shadow: 0 24px 50px -20px rgba(5, 10, 60, .6); animation: bob 6s ease-in-out infinite; }
.sms-card b { font-size: 12.5px; }
.sms-card p { font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.sms-card em { display: block; margin-top: 4px; font-style: normal; font-size: 11px; color: var(--muted); }
.sms-ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 8px; background: var(--lime-soft); color: #5A6B00; }
.sms-ic .ic { width: 18px; height: 18px; }
.wa-mock { width: 100%; max-width: 380px; margin-inline: auto; border-radius: 8px; overflow: hidden; background: #ECE5DD; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); color: #111; font-size: 13.5px; line-height: 1.55; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: #075E54; color: var(--white); }
.wa-head div { display: grid; line-height: 1.3; }
.wa-head span:not(.wa-av) { font-size: 11.5px; opacity: .8; }
.wa-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lime); color: var(--black); font-weight: 700; }
.wa-body { display: grid; gap: 8px; padding: 16px 14px; background-image: radial-gradient(rgba(0, 0, 0, .04) 1px, transparent 1px); background-size: 14px 14px; }
.bubble { position: relative; max-width: 86%; padding: 8px 12px 18px; border-radius: 8px; box-shadow: 0 1px 1px rgba(0, 0, 0, .1); }
.bubble b { display: block; }
.bubble.in { justify-self: start; background: var(--white); border-start-start-radius: 4px; }
.bubble.out { justify-self: end; background: #DCF8C6; border-start-end-radius: 4px; }
.bubble .time { position: absolute; bottom: 3px; inset-inline-end: 10px; font-size: 10.5px; color: #8696A0; }
.bubble-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-width: 86%; }
.bubble-btns span { padding: 7px; text-align: center; border-radius: 8px; background: var(--white); color: #027EB5; font-weight: 600; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.bubble-tpl { padding: 8px 8px 0; max-width: 92%; display: grid; gap: 6px; }
.bubble-tpl p { padding: 0 6px; }
.bubble-tpl > .time { position: static; justify-self: end; padding: 0 6px; }
.tpl-offer { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; background: #F0F2F5; }
.tpl-offer > span { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; background: #DCF3E5; color: #1F8F4E; }
.tpl-offer > span .ic { width: 16px; height: 16px; }
.tpl-offer div { display: grid; line-height: 1.4; }
.tpl-offer small { font-size: 11px; color: #8696A0; }
.tpl-btns { display: grid; margin: 0 -8px; border-top: 1px solid #E9EDEF; }
.tpl-btns span { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; color: #1F8F4E; font-weight: 600; font-size: 13px; }
.tpl-btns span + span { border-top: 1px solid #E9EDEF; }
.tpl-btns .ic { width: 14px; height: 14px; }
.wa-tag { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; background: var(--white); font-size: 12.5px; font-weight: 600; color: #1FAF5A; }
.wa-tag .ic { width: 16px; height: 16px; stroke-width: 2.6; }


/* ===== Steps ===== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; counter-reset: s; }
.step { position: relative; padding: 26px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: var(--lime); color: var(--black); font-weight: 700; font-size: 18px; margin-bottom: 6px; }
/* الأرقام بالليموني بتاع البراند بتدرج */
.step-n { color: var(--black); background: linear-gradient(135deg, #F4FFB8 0%, #E5FD76 45%, #B8E84A 100%); box-shadow: 0 10px 22px -12px rgba(150, 190, 40, .8); }
.step h3 { font-size: 18px; }
.step p { color: var(--ink-2); font-size: 15px; }
/* سهم بين كل مرحلة والتانية — بيشاور على اتجاه القراية */
.step:not(:last-child)::after {
  content: ''; position: absolute; z-index: 2; top: 50%; inset-inline-end: -22px; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 12H5M11 6l-6 6 6 6'/%3E%3C/svg%3E") center / 16px no-repeat, linear-gradient(135deg, #1528B8 0%, #2440F0 45%, #8B5CF6 100%);
  box-shadow: 0 0 0 5px var(--bg), 0 8px 18px -8px rgba(36, 64, 240, .7);
}
[dir=ltr] .step:not(:last-child)::after { transform: scaleX(-1); }

/* ===== Reviews ===== */
.reviews { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 20px; align-items: start; }
.rating-card { display: grid; align-content: start; justify-items: start; gap: 10px; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); position: sticky; top: calc(var(--topbar-h) + 20px); }
.rating-logos { display: flex; align-items: center; gap: 12px; max-width: 100%; margin-bottom: 8px; }
.rating-logos img { height: 26px; width: auto; min-width: 0; object-fit: contain; }
.rating-logos i { width: 1px; align-self: stretch; background: var(--line-strong); }
.rating-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.rating-score { display: flex; align-items: baseline; gap: 8px; }
.rating-score b { font-size: 64px; line-height: 1; font-weight: 700; letter-spacing: -0.04em; }
.rating-score span { font-size: 18px; color: var(--muted); }
.rating-sub { font-size: 14px; color: var(--ink-2); }
.rating-card .checks { margin: 6px 0 4px; gap: 8px; }
.rating-card .checks li { font-size: 14px; font-weight: 500; align-items: center; }
.rating-card .checks .ic { margin: 0; width: 20px; height: 20px; padding: 3px; }
.rating-card .btn { margin-top: 6px; }
.reviews-list { display: grid; gap: 16px; min-width: 0; }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 4px 4px 0; }
.reviews-head > div:first-child { display: grid; justify-items: start; gap: 8px; }
.reviews-head h2 { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; }
.carousel-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: 8px; outline-offset: 4px; }
.carousel-viewport::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { .carousel-viewport { cursor: grab; } }
.carousel-viewport.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
.carousel-viewport.is-dragging .review { pointer-events: none; }
.carousel-track { display: flex; gap: 16px; }
.carousel-track .review { flex: 0 0 calc((100% - 16px) / 2); scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 8px; }
.carousel-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; background: var(--surface); border: 1px solid var(--line); color: var(--ink); transition: background .15s, color .15s, border-color .15s; }
.carousel-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.carousel-btn .ic { width: 20px; height: 20px; }
.carousel-dots { display: flex; justify-content: center; gap: 6px; margin-top: 4px; }
.carousel-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 8px; background: var(--line-strong); cursor: pointer; transition: width .25s, background .25s; }
.carousel-dots button.is-active { width: 24px; background: var(--blue); }
.review { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; transition: box-shadow .2s; }
.review:hover { box-shadow: var(--shadow); }
.review-top { display: flex; align-items: center; justify-content: space-between; }
.review-bag { height: 22px; width: auto; }
.review blockquote { margin: 0; flex: 1; font-size: 14.5px; line-height: 1.75; color: var(--ink-2); }
.review figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.review figcaption b { font-size: 14.5px; }
.review figcaption span:last-child { font-size: 12.5px; color: var(--muted); }
.avatar { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--grad-blue); color: var(--white); font-weight: 700; }

/* ===== CTA band ===== */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: clamp(28px, 5vw, 56px); border-radius: 8px;
  background: var(--grad-hero); color: var(--on-dark); box-shadow: 0 30px 60px -30px rgba(36, 64, 240, .5);
}
.cta-band::after { content: ''; position: absolute; z-index: -1; width: 420px; height: 420px; inset-block-start: -200px; inset-inline-end: -120px; border-radius: 50%; border: 60px solid rgba(229, 253, 118, .08); }
.cta-band > div:first-child { display: grid; gap: 10px; max-width: 620px; }
.cta-band h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.02em; }
.cta-band p { color: var(--on-dark-2); font-size: 16.5px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== FAQ ===== */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: rgba(36, 64, 240, .3); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; font-weight: 600; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { position: relative; width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--accent-soft); transition: background .2s, transform .25s; }
.faq-ic::before, .faq-ic::after { content: ''; position: absolute; inset: 50% auto auto 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--blue); transition: transform .25s; }
.faq-ic::after { transform: rotate(90deg); }
.faq details[open] .faq-ic { background: var(--blue); transform: rotate(180deg); }
.faq details[open] .faq-ic::before, .faq details[open] .faq-ic::after { background: var(--white); }
.faq details[open] .faq-ic::after { transform: rotate(0); }
.faq-a { padding: 0 24px 22px; color: var(--ink-2); }

/* ===== Services ===== */
.jump { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: clamp(-34px, -3vw, -26px); position: relative; z-index: 2; }
.jump a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; font-weight: 600; font-size: 14.5px; transition: border-color .15s, color .15s, transform .15s; }
.jump a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.jump .ic { color: var(--blue); }
.service + .service { padding-top: 0; }
.service-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.service-grid.is-flip .service-copy { order: 2; }
.service-copy { display: grid; justify-items: start; gap: 16px; }
.service-copy h2 { font-size: clamp(24px, 3vw, 36px); letter-spacing: -0.02em; }
.lead-dark { font-size: 17px; color: var(--ink-2); }
.service-card { padding: clamp(24px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); display: grid; gap: 20px; }
.outcome { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 8px; background: var(--lime-soft); font-weight: 600; font-size: 15px; }
.outcome .ic { color: #5A6B00; margin-top: 3px; }

/* ===== Work ===== */
.work-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.work-card { position: relative; display: grid; gap: 0; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-thumb { display: grid; place-items: center; aspect-ratio: 16 / 10; background: radial-gradient(120% 90% at 20% 0%, hsl(var(--h) 80% 92%), transparent 60%), linear-gradient(150deg, hsl(var(--h) 55% 86%), hsl(calc(var(--h) + 40) 50% 76%)); }
.work-thumb b { font-size: clamp(20px, 2.2vw, 26px); letter-spacing: .08em; text-transform: uppercase; color: hsl(var(--h) 45% 22%); direction: ltr; }
.work-meta { display: grid; padding: 16px 20px; }
.work-meta b { font-size: 16px; }
.work-meta span { font-size: 13.5px; color: var(--muted); text-align: start; }
[dir=rtl] .work-meta span { text-align: end; }
.work-go { position: absolute; bottom: 20px; inset-inline-end: 18px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent-soft); color: var(--blue); transition: background .2s, color .2s; }
.work-card:hover .work-go { background: var(--blue); color: var(--white); }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; }
.pager .btn:disabled { opacity: .4; cursor: default; transform: none; box-shadow: none; }
.pager-nums { display: flex; gap: 6px; }
.pager-nums button { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.pager-nums button:hover { border-color: var(--blue); color: var(--blue); }
.pager-nums button[aria-current="page"] { background: var(--blue); border-color: var(--blue); color: var(--white); }
.work-note { margin-top: 28px; text-align: center; color: var(--ink-2); }
.work-note a { display: inline-flex; align-items: center; gap: 4px; color: var(--blue); font-weight: 600; text-decoration: none; }

/* ===== About ===== */
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: clamp(-100px, -7vw, -70px) 0 0; position: relative; }
.stat-row div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 26px 18px; text-align: center; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.stat-row dd { margin: 0; font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; background: linear-gradient(120deg, #1528B8 0%, #2440F0 45%, #7D8FFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* كل رقم بلون مختلف — نفس ألوان أيقونات الكروت */
.stat-row div:nth-child(4n+1) dd { background-image: linear-gradient(120deg, #1528B8, #2440F0 45%, #7D8FFF); }
.stat-row div:nth-child(4n+2) dd { background-image: linear-gradient(120deg, #0E7A47, #17935A 45%, #4FD18B); }
.stat-row div:nth-child(4n+3) dd { background-image: linear-gradient(120deg, #C25E00, #E07A12 45%, #FFB45C); }
.stat-row div:nth-child(4n+4) dd { background-image: linear-gradient(120deg, #6A22C2, #8B3FE0 45%, #C08BFF); }
.stat-row dt { color: var(--ink-2); font-size: 15px; font-weight: 500; white-space: nowrap; }
.partner-card .rating-logos { flex: none; margin: 0; }

/* ===== Prose (المقالات والسياسات) ===== */
.prose { font-size: 17px; line-height: 1.9; color: var(--ink-2); }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-size: clamp(21px, 2.4vw, 26px); color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose b { color: var(--ink); }
.prose blockquote { margin: 2em 0 0; padding: 20px 24px; border-radius: 8px; background: var(--lime-soft); border-inline-start: 4px solid var(--blue); color: var(--ink); font-weight: 500; }
.prose-card { padding: clamp(24px, 4vw, 52px); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.hero-sm + .section .prose-card { margin-top: clamp(-100px, -7vw, -70px); position: relative; }
.post-lead { font-size: 19px; color: var(--ink); font-weight: 500; }

/* ===== Blog ===== */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.post-card a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-cover { position: relative; display: flex; align-items: flex-end; padding: 18px; aspect-ratio: 16 / 9; background: radial-gradient(80% 90% at 85% 10%, rgba(229, 253, 118, .35), transparent 60%), linear-gradient(150deg, hsl(var(--h) 75% 40%), hsl(calc(var(--h) + 25) 85% 55%)); }
.post-cover::after { content: ''; position: absolute; inset-block-start: 18px; inset-inline-end: 18px; width: 64px; height: 64px; border-radius: 8px; background: url('/assets/img/mark.png') center / 60% no-repeat, rgba(255, 255, 255, .12); }
.post-body { display: grid; gap: 10px; padding: 22px 24px 26px; flex: 1; align-content: start; }
.post-meta { font-size: 13px; color: var(--muted); }
.post-card h2 { font-size: 19px; line-height: 1.45; }
.post-card p { color: var(--ink-2); font-size: 15px; }
.post-card .more { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; color: var(--blue); font-weight: 600; font-size: 14.5px; }
.post-card.is-lead { grid-column: 1 / -1; }
.post-card.is-lead a { flex-direction: row; }
.post-card.is-lead .post-cover { flex: 0 0 48%; aspect-ratio: auto; min-height: 300px; }
.post-card.is-lead .post-body { align-content: center; padding: clamp(24px, 4vw, 48px); }
.post-card.is-lead h2 { font-size: clamp(22px, 2.6vw, 30px); }
.post-grid-2 .post-card.is-lead { grid-column: auto; }
/* صفحة المقال */
.post-wrap { max-width: 1240px; }
.hero-post { text-align: start; padding-bottom: clamp(120px, 12vw, 170px); }
.hero-post .hero-in { justify-items: start; gap: 16px; }
.hero-post h1 { font-size: clamp(30px, 4.2vw, 52px); max-width: 24ch; }
.post-lead-hero { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .86); max-width: 62ch; }
.post-byline { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 14px; color: var(--on-dark-2); }
.post-byline > span:last-child { display: grid; line-height: 1.4; }
.post-byline b { color: var(--white); font-size: 15px; }
.byline-av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--on-dark-2); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.back-link:hover { color: var(--lime); }
.post-section { padding-top: 0 !important; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; margin-top: clamp(-80px, -5.5vw, -56px); position: relative; }
.prose-post { font-size: 18px; line-height: 2; color: #34374A; padding: clamp(24px, 4.5vw, 60px); }
.prose-post h2 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 1.7em; padding-top: 1.1em; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--topbar-h) + 24px); }
.prose-post h2:first-of-type { border-top: 0; padding-top: 0; }
.prose-post p:first-child { font-size: 20px; color: var(--ink); font-weight: 500; }
.prose-post ul { list-style: none; padding: 0; }
.prose-post ul li { position: relative; padding-inline-start: 30px; }
.prose-post ul li::before { content: ''; position: absolute; inset-inline-start: 4px; top: .78em; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px var(--lime-soft), inset 0 0 0 2px #C9E35A; }
.prose-post blockquote { position: relative; margin-top: 2.2em; padding: 26px 28px; border: 0; border-radius: 8px; background: var(--grad-hero); color: var(--white); font-weight: 500; box-shadow: 0 24px 50px -28px rgba(36, 64, 240, .7); }
.prose-post blockquote a { color: var(--lime); }
.post-aside { position: sticky; top: calc(var(--topbar-h) + 20px); display: grid; gap: 14px; }
.aside-card { padding: 24px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.aside-card h2 { font-size: 16px; margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); transition: background .15s, color .15s; }
.toc a::before { content: counter(toc); flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; background: var(--accent-soft); color: var(--blue); font-size: 12px; font-weight: 700; }
.toc a:hover { background: var(--surface-2); color: var(--ink); }
.toc a.is-active { background: var(--accent-soft); color: var(--blue); font-weight: 600; }
.toc a.is-active::before { background: var(--blue); color: var(--white); }
.aside-cta { display: grid; gap: 12px; background: var(--grad-hero); color: var(--white); border: 0; }
.aside-cta h2 { font-size: 20px; margin: 0; }
.aside-cta p { color: var(--on-dark-2); font-size: 14.5px; }
.aside-share { display: flex; align-items: center; gap: 8px; padding: 4px 6px; }
.aside-share > span { font-size: 14px; font-weight: 600; color: var(--muted); margin-inline-end: auto; }
.aside-share a, .aside-share button { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 15px; cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.aside-share a:hover, .aside-share button:hover { border-color: var(--blue); color: var(--blue); }
.aside-share button em { position: absolute; bottom: calc(100% + 6px); padding: 3px 8px; border-radius: 8px; background: var(--ink); color: var(--white); font-style: normal; font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.aside-share button.is-copied em { opacity: 1; }
.read-progress { position: fixed; inset: calc(var(--topbar-h) + 4px) 0 auto; z-index: 49; height: 3px; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 100%; transform-origin: right; transform: scaleX(0); background: linear-gradient(90deg, var(--lime), #9DF0FF); }
[dir=ltr] .read-progress span { transform-origin: left; }
.related-h { font-size: 24px; margin-bottom: 18px; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 20px; align-items: start; margin-top: clamp(-80px, -5.5vw, -56px); position: relative; }
.hero-sm + .section .contact-grid { margin-top: clamp(-100px, -7vw, -70px); }
.contact-cards { display: grid; gap: 12px; }
.contact-card { flex-direction: row; align-items: center; gap: 16px; padding: 20px; box-shadow: var(--shadow); }
a.contact-card:hover { transform: translateY(-2px); border-color: rgba(36, 64, 240, .3); }
.contact-card h3 { font-size: 16px; }
.contact-card p { font-size: 15px; }
[dir=rtl] .contact-card p[dir=ltr] { text-align: end; }
.social-pills { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social-pills a { display: inline-flex; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); text-decoration: none; font-size: 14px; font-weight: 600; transition: border-color .15s, color .15s; }
.social-pills a:hover { border-color: var(--blue); color: var(--blue); }
.contact-form { gap: 16px; padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow-lg); }
.contact-form h2 { font-size: 24px; }
.contact-form > .muted { margin-top: -8px; font-size: 14.5px; }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 600; font-size: 14.5px; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 8px; border: 1.5px solid var(--line-strong); background: var(--surface-2); outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft); }
.field .is-invalid { border-color: #D92D20; }
.form-error { color: #D92D20; font-size: 14px; font-weight: 500; }

.hero-404 .big-404 { font-size: clamp(90px, 16vw, 170px); font-weight: 700; line-height: 1; letter-spacing: -0.05em; background: linear-gradient(180deg, #fff, rgba(229, 253, 118, .7)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-404 { padding-bottom: clamp(120px, 14vw, 180px); }

/* ===== Footer ===== */
.footer { margin-top: clamp(28px, 3.4vw, 48px); background: #0B1250; background: linear-gradient(170deg, #0A0F3D 0%, #111C78 100%); color: var(--on-dark-2); border-radius: 8px 8px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-block: clamp(48px, 6vw, 72px) 40px; }
.f-brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.f-brand p { font-size: 14.5px; max-width: 34ch; }
.f-badges { display: flex; align-items: center; gap: 10px; }
.f-badges img { height: 18px; width: auto; }
.f-badges span { width: 1px; height: 16px; background: rgba(255, 255, 255, .25); }
.f-col h3 { font-size: 15px; color: var(--white); margin-bottom: 14px; }
.f-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.f-col a { text-decoration: none; font-size: 14.5px; transition: color .15s; }
.f-col a:hover { color: var(--lime); }
.f-contact li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.f-contact .ic { color: var(--lime); }
.f-col .socials, .socials { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; border: 1.5px solid rgba(255, 255, 255, .18); color: var(--white); transition: background .15s, color .15s, border-color .15s, transform .15s; }
.socials a:hover { background: var(--lime); border-color: var(--lime); color: var(--black); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--lime); }
.wa-float { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 40; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: var(--white); box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .8); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 28px; height: 28px; }

/* ===== Reveal ===== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .float-chip { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1180px) {
  .nav a { padding: 8px 9px; font-size: 14.5px; }
  .shopify-badge .muted-on-dark { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; }
  .grid-4, .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { gap: 22px; }
  .step { padding: 22px 18px; }
  .reviews { grid-template-columns: 1fr; }
  .rating-card { position: static; grid-template-columns: 1fr 1fr; column-gap: 40px; align-items: center; }
  .rating-card > * { grid-column: 1; }
  .rating-card .rating-logos { grid-column: 2; grid-row: 1 / span 2; justify-self: end; }
  .rating-card .checks { grid-column: 2; grid-row: 3 / span 2; }
  .rating-card .btn { grid-column: 2; grid-row: 5; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1020px) {
  .menu-btn { display: grid; }
  .nav-cta { display: none; }
  .nav {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; margin: 0; padding: 12px 14px 16px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #1A2ED6; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 30px 40px -20px rgba(5, 10, 60, .6);
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .topbar.is-open .nav { visibility: visible; opacity: 1; transform: none; }
  .nav a { padding: 12px 14px; font-size: 16.5px; }
  .nav .nav-cta-mobile { display: flex; margin-top: 10px; color: var(--black); }
  .lang-link { display: none; }
  .topbar-end { margin-left: auto; }
  .nav .nav-lang { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); border-radius: 0; color: var(--white); }
  .nav .nav-lang:hover { background: none; color: var(--lime); }
  .nav .nav-cta-mobile:hover { color: var(--black); background: #EEFF9A; }
  .hero-grid, .wp-band, .service-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .service-grid.is-flip .service-copy { order: 0; }
  .hero-visual { margin: 8px auto 0; width: 100%; }
  .grid-3, .work-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .carousel-track .review { flex-basis: 70%; }
  .post-card.is-lead a { flex-direction: column; }
  .post-layout { grid-template-columns: minmax(0, 1fr); }
  .post-aside { position: static; }
  .toc { display: none; }
  .post-card.is-lead .post-cover { min-height: 0; aspect-ratio: 16 / 8; }
}
@media (max-width: 680px) {
  :root { --topbar-h: 70px; --bar-gap: 10px; }
  .topbar { padding-inline: 10px; }
  .topbar-in { padding-inline: 12px; }
  .lang-link { padding: 0 12px; min-height: 36px; font-size: 13px; }
  .hero { border-radius: 0 0 50% 50% / 0 0 36px 36px; }
  .hero-stats { display: flex; margin-top: 24px; padding: 10px 2px; }
  .hero-stats div { flex: 1; flex-direction: column-reverse; gap: 3px; padding: 0 6px; }
  .hero-stats dd { font-size: 21px; }
  .hero-stats dt { font-size: 11.5px; }
  .hero-actions .btn { flex: 1 1 0; padding: 0 14px; min-height: 50px; font-size: 15px; }
  .hero-home { padding-bottom: 96px; }
  .hero-home .hero-visual { display: none; }
  .hero-copy h1 { margin-top: 20px; }
  .sec-head h2 { font-size: 25px; }
  .sec-head p { font-size: 15.5px; }
  .card { padding: 20px; gap: 8px; }
  .card h3 { font-size: 17px; }
  .card p { font-size: 14.5px; }
  .card-ic { width: 42px; height: 42px; border-radius: 8px; }
  .card-ic .ic { width: 21px; height: 21px; }
  .card-flat { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
  .card-flat .card-ic { grid-row: span 2; align-self: start; }
  .step { grid-template-columns: auto 1fr; column-gap: 14px; padding: 18px; }
  .step-n { grid-row: span 2; margin: 0; width: 38px; height: 38px; font-size: 16px; border-radius: 8px; }
  .wp-copy h2 { font-size: 25px; }
  .wp-copy .hero-actions, .cta-actions { width: 100%; }
  .wp-copy .hero-actions .btn { flex: 1 1 100%; }
  .bfs-badge { margin-inline: auto; }
  .ps-grid { grid-template-columns: 1fr; }
  .wp-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .chan { justify-content: center; text-align: center; gap: 5px; padding: 8px 6px; font-size: 10.5px; line-height: 1.35; border-radius: 8px; }
  .chan .ic { width: 13px; height: 13px; flex: none; }
  .wp-logo-main > img { width: 42px; height: 42px; }
  .wp-logo-main b { font-size: 16px; }
  .wp-logos { gap: 12px; }
  .wp-logos > img { height: 46px; }
  .sms-card { inset-inline-end: 0; width: 230px; }
  .wp-copy > p { font-size: 15px; }
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px 20px; }
  .footer-grid .f-brand, .footer-grid .f-col:last-child { grid-column: 1 / -1; }
  .footer-bottom { justify-content: center; text-align: center; }
  .pager { gap: 8px; }
  .pager .btn { padding: 0 14px; min-height: 44px; }
  .pager-nums button { width: 36px; height: 36px; }
  .btn { white-space: normal; text-align: center; }
  .wp-band { padding: 22px 18px; }
  .wp-copy h2 br { display: none; }
  .shopify-badge .logos i, .shopify-badge .logos img + i + img { display: none; }
  .float-chip { font-size: 11.5px; padding: 8px 10px; }
  .float-chip b { font-size: 12.5px; }
  .prose-post { font-size: 17px; }
  .grid-2, .grid-3, .grid-4, .work-grid, .post-grid, .post-grid-2 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-row div { padding: 18px 10px; }
  .stat-row dt { white-space: normal; font-size: 13.5px; }
  .card-wide { flex-direction: column; align-items: flex-start; }
  .card-wide .btn { width: 100%; }
  .rating-card { grid-template-columns: 1fr; }
  .rating-card > *, .rating-card .rating-logos, .rating-card .checks, .rating-card .btn { grid-column: 1; grid-row: auto; justify-self: start; }
  .rating-card .btn { justify-self: stretch; }
  .carousel-track .review { flex-basis: 88%; }
  .reviews-head { align-items: flex-start; flex-direction: column; }
  .carousel-nav { display: none; }   /* على الموبايل التقليب بالسحب بس */
  .cta-actions, .cta-actions .btn { width: 100%; }
  .faq summary { padding: 18px; font-size: 15.5px; }
  .faq-a { padding: 0 18px 18px; }
  .jump { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; margin-inline: 0; scrollbar-width: none; }
  .jump::-webkit-scrollbar { display: none; }
  .jump a { flex: none; }
  .wa-float { width: 50px; height: 50px; bottom: 16px; inset-inline-end: 16px; }
}

/* الموبايل والتابلت الصغير: المراحل تحت بعض، والسهم بيشاور لتحت ويتحرك */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 34px; max-width: 560px; margin-inline: auto; }
  .step:not(:last-child)::after, [dir=ltr] .step:not(:last-child)::after {
    top: auto; bottom: -33px; inset-inline-end: auto; left: 50%; margin: 0 0 0 -16px; transform: rotate(-90deg);
    animation: stepArrow 1.6s ease-in-out infinite;
  }
  [dir=rtl] .step:not(:last-child)::after { transform: rotate(-90deg); }
  /* كل مرحلة بتنزل من فوق وهي بتظهر */
  .js .step.reveal { transform: translateY(-28px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .8, .2, 1); }
  .js .step.reveal.is-in { transform: none; }
}
@keyframes stepArrow { 50% { translate: 0 5px; } }
@media (prefers-reduced-motion: reduce) { .step::after { animation: none !important; } }

/* ===== المدونة على الموبايل ===== */
@media (max-width: 680px) {
  .post-grid { gap: 14px; }
  .post-cover, .post-card.is-lead .post-cover { flex: none; aspect-ratio: 16 / 7; min-height: 0; padding: 12px; }
  .post-cover::after { width: 44px; height: 44px; inset-block-start: 12px; inset-inline-end: 12px; border-radius: 8px; }
  .post-body, .post-card.is-lead .post-body { padding: 16px 18px 20px; gap: 8px; }
  .post-card h2, .post-card.is-lead h2 { font-size: 17.5px; line-height: 1.5; }
  .post-card p { font-size: 14px; }
  .post-meta { font-size: 12px; }

  .hero-post { padding-bottom: 104px; }
  .hero-post h1 { font-size: 25px; line-height: 1.4; }
  .post-lead-hero { font-size: 15px; }
  .post-byline { font-size: 12.5px; }
  .byline-av { width: 38px; height: 38px; }
  .post-layout { margin-top: -30px; gap: 16px; }
  .prose-post { padding: 22px 18px; font-size: 16px; line-height: 1.95; }
  .prose-post p:first-child { font-size: 17px; }
  .prose-post h2 { font-size: 19px; margin-top: 1.4em; padding-top: .9em; }
  .prose-post blockquote { padding: 18px; }
  .aside-cta { padding: 20px; }
  .related-h { font-size: 20px; }
}

