/* ===================================================================
   a.w.e — Main Website · Phase 2b
   Rebuilt to match the live web3.sa look: light & airy, big indigo→pink
   gradient Arabic headlines, founders-led hero, playful pills & stars.
   Default theme: LIGHT (matches current site). Default language: Arabic (RTL).
   Dark mode available via the toggle.
   =================================================================== */

/* =====================================================================
   1. BRAND CONSTANTS
   ===================================================================== */
:root {
  --indigo:      #320AC8;
  --indigo-2:    #4A1FD6;
  --indigo-deep: #0A0025;
  --pink:        #DD0A9A;
  --pink-2:      #B0067C;
  --yellow:      #FFC600;
  --white:       #FFFFFF;
  --cloud:       #F1F1F2;
  --graphite:    #58595B;

  /* Signature gradients */
  --grad:        linear-gradient(110deg, #DD0A9A, #320AC8);
  --grad-btn:    linear-gradient(110deg, #320AC8 0%, #DD0A9A 100%);
  --grad-indigo: linear-gradient(120deg, #4A1FD6, #320AC8 55%, #7B3FE4);
  --grad-pink:   linear-gradient(120deg, #FF2DAE, #DD0A9A 55%, #B0067C);
  /* static revenue-headline gradient — brand blue → brand red(pink), reads start(right)→end(left) in RTL */
  --grad-revenue: linear-gradient(to left, #2E0BC8 0%, #7E18BE 42%, #DD0A9A 80%, #E81C7E 100%);

  --pad-x:   48px;
  --maxw:    1240px;
  --radius:  18px;
  --radius-lg: 28px;
  --ease:    cubic-bezier(.25,.46,.45,.94);
  --font:    "Alexandria", system-ui, sans-serif;
}

/* ---- Light theme (default) ---- */
:root,
[data-theme="light"] {
  --bg:         #FFFFFF;
  --bg-soft:    #FAF8FE;   /* faint lavender section */
  --bg-grey:    #F0F0F2;   /* light grey section */
  --surface:    #FFFFFF;   /* cards */
  --text:       #1A1140;   /* indigo ink */
  --text-dim:   #6A6A7C;
  --text-faint: #9A9AAB;
  --border:     #ECE9F6;
  --border-2:   #DEDAEE;
  --nav-bg:     rgba(255,255,255,.82);
  --card-shadow: 0 24px 60px -28px rgba(50,10,200,.22);
  --hero-glow-1: rgba(221,10,154,.16);
  --hero-glow-2: rgba(50,10,200,.14);
}

/* ---- Dark theme (toggle) ---- */
[data-theme="dark"] {
  --bg:         #130C33;   /* lifted indigo base (was near-black #07001C) */
  --bg-soft:    #1C1548;
  --bg-grey:    #18113F;
  --surface:    #261B5C;   /* cards read clearly above the base now */
  --text:       #FFFFFF;
  --text-dim:   rgba(255,255,255,.72);
  --text-faint: rgba(255,255,255,.48);
  --border:     rgba(255,255,255,.14);
  --border-2:   rgba(255,255,255,.22);
  --nav-bg:     rgba(19,12,51,.80);
  --card-shadow: 0 30px 70px -30px rgba(0,0,0,.55);
  --hero-glow-1: rgba(221,10,154,.26);
  --hero-glow-2: rgba(50,10,200,.38);
}

/* =====================================================================
   2. BASE
   ===================================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.stat-num { direction: ltr; unicode-bidi: isolate; display: inline-block; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* =====================================================================
   3. LAYOUT + SECTION HEADINGS
   ===================================================================== */
.section { padding: 110px var(--pad-x); position: relative; }
.section__inner { max-width: var(--maxw); margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.section--soft { background: var(--bg-soft); }
.section--grey { background: var(--bg-grey); }
.center { text-align: center; }

/* eyebrow: "— ماذا نفعل" pink, with a dash */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700;
  color: var(--pink);
  margin-bottom: 22px;
}
/* decorative dash leads the eyebrow from the start side (right in RTL) */
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--pink); border-radius: 2px; }
.center .eyebrow { justify-content: center; }

/* gradient headline system */
.gtitle { font-weight: 900; line-height: 1.15; letter-spacing: -.01em; font-size: clamp(34px, 5.2vw, 60px); }
html[lang="ar"] .gtitle { line-height: 1.42; letter-spacing: 0; font-weight: 800; }
.gtitle .gi, .gtitle .gp { display: inline-block; padding: .04em 0 .2em; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.gi { background-image: var(--grad-indigo); }   /* indigo line */
.gp { background-image: var(--grad-pink); }      /* pink keyword line */
.gy { color: var(--yellow); }
.block, .gtitle .block { display: block; }

.lead { font-size: 18px; line-height: 1.9; color: var(--text-dim); max-width: 620px; }
.center .lead { margin-inline: auto; }

/* =====================================================================
   4. STAR (the spark) — from the real brand asset
   ===================================================================== */
:root {
  --star: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><path d='M50 0 C54 34 66 46 100 50 C66 54 54 66 50 100 C46 66 34 54 0 50 C34 46 46 34 50 0 Z' fill='black'/></svg>");
}
.star { display: inline-block; background: currentColor; -webkit-mask: var(--star) center/contain no-repeat; mask: var(--star) center/contain no-repeat; }

/* =====================================================================
   5. BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15px;
  padding: 15px 28px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.btn .star { width: 14px; height: 14px; }
.btn--primary { background: var(--grad-btn); color: #fff; box-shadow: 0 14px 34px -10px rgba(221,10,154,.55); }
.btn--primary .star { color: var(--yellow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -10px rgba(221,10,154,.65); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--pink); color: var(--pink); }
.btn--yellow { background: transparent; color: var(--text); border-color: var(--yellow); }
.btn--yellow .star { color: var(--yellow); }
.btn--lg { font-size: 16px; padding: 17px 34px; }

/* glowing primary CTA — pulsing brand halo + a sweeping shine */
.btn--glow { position: relative; overflow: hidden; isolation: isolate; animation: btnGlow 2.6s var(--ease) infinite; }
.btn--glow::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 45%;
  inset-inline-start: -60%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-18deg);
  animation: btnShine 3.4s var(--ease) infinite;
  pointer-events: none; z-index: 2;
}
.btn--glow > * { position: relative; z-index: 3; }
.btn--glow:hover { animation-play-state: paused; }
@keyframes btnGlow {
  0%, 100% { box-shadow: 0 14px 34px -10px rgba(221,10,154,.55), 0 0 0 0 rgba(221,10,154,.45); }
  50%      { box-shadow: 0 18px 40px -10px rgba(221,10,154,.65), 0 0 26px 6px rgba(221,10,154,.40); }
}
@keyframes btnShine {
  0%   { inset-inline-start: -60%; }
  55%  { inset-inline-start: 120%; }
  100% { inset-inline-start: 120%; }
}

/* =====================================================================
   6. PILLS / CHIPS
   ===================================================================== */
/* outline "+" chip with star */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  border: 1.5px solid var(--border-2); background: var(--surface);
  font-weight: 600; font-size: 15px; color: var(--text);
  transition: transform .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.chip:hover { transform: translateY(-3px); border-color: var(--pink); color: var(--pink); }
.chip .star { width: 12px; height: 12px; color: var(--pink); }

/* small floating label pill (over images) */
.fpill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 999px;
  background: var(--surface);
  border: 1.5px solid var(--border-2);
  font-weight: 700; font-size: 13px; color: var(--text);
  box-shadow: var(--card-shadow);
}
.fpill .star { width: 11px; height: 11px; }
.fpill--pink { border-color: var(--pink); color: var(--pink); }
.fpill--pink .star { color: var(--pink); }
.fpill--indigo { border-color: var(--indigo); color: var(--indigo); }
.fpill--indigo .star { color: var(--indigo); }

/* colored keyword spans inside body copy */
.k-indigo { color: var(--indigo); font-weight: 700; }
.k-pink { color: var(--pink); font-weight: 700; }

/* =====================================================================
   7. NAV (logo centered)
   ===================================================================== */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px var(--pad-x);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px;
}
.nav__links { display: flex; gap: 26px; justify-self: start; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--text-dim); transition: color .2s var(--ease); }
.nav__links a:hover { color: var(--pink); }
.nav__logo { justify-self: center; display: inline-flex; align-items: center; }
.nav__logo img { height: 46px; width: auto; border-radius: 11px; }
.nav__right { justify-self: end; display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 999px; background: transparent; border: 1.5px solid var(--border-2);
  color: var(--text); font-size: 12px; font-weight: 700; cursor: pointer;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn:hover { border-color: var(--pink); color: var(--pink); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }
.nav__cta .btn { padding: 11px 20px; font-size: 14px; }
.btn--voip svg { width: 15px; height: 15px; }

/* =====================================================================
   8. LOADER
   ===================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: radial-gradient(700px 480px at 50% 35%, rgba(221,10,154,.12), transparent 60%), var(--bg);
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
body.loaded .loader { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { display: grid; justify-items: center; gap: 22px; }
.loader__star { width: 60px; height: 60px; background: var(--grad); -webkit-mask: var(--star) center/contain no-repeat; mask: var(--star) center/contain no-repeat; animation: spark 1.5s var(--ease) infinite; }
.loader__word { font-weight: 900; font-size: 30px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.loader__bar { width: 170px; height: 4px; border-radius: 999px; background: var(--border-2); overflow: hidden; }
.loader__bar::after { content: ""; display: block; height: 100%; width: 40%; border-radius: 999px; background: var(--grad); animation: sweep 1.1s var(--ease) infinite; }
@keyframes spark { 0%,100% { transform: scale(.82) rotate(0); opacity: .85; } 50% { transform: scale(1.08) rotate(90deg); opacity: 1; } }
@keyframes sweep { 0% { transform: translateX(-120%);} 100% { transform: translateX(360%);} }

/* =====================================================================
   9. HERO (founders layered between two gradient headline lines)
   ===================================================================== */
.hero {
  position: relative; overflow: hidden; text-align: center;
  min-height: 100vh;                       /* fill the viewport so only the hero shows above the fold */
  display: flex; flex-direction: column; justify-content: center;
  padding: 114px var(--pad-x) 40px;
  background:
    radial-gradient(720px 520px at 76% 16%, var(--hero-glow-1), transparent 60%),
    radial-gradient(680px 520px at 18% 78%, var(--hero-glow-2), transparent 60%),
    var(--bg);
}
/* on short screens, top-align so the headline never hides under the nav */
@media (max-height: 840px) { .hero { justify-content: flex-start; } }
.hero__inner { max-width: 1000px; margin: 0 auto; position: relative; z-index: 1; }
.hero__l1 { font-size: clamp(30px, 4.6vw, 58px); font-weight: 900; line-height: 1.12; letter-spacing: -.01em; }
html[lang="ar"] .hero__l1 { line-height: 1.24; letter-spacing: 0; }
.hero__l1 span {
  display: inline-block; padding: .08em 0;   /* keep gradient-clipped Arabic glyphs from being cropped */
  background-image: var(--grad-indigo); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero__founders {
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: flex-end;
  gap: 0; margin: -6px auto -12px;
  height: clamp(272px, 34vw, 434px);
}
.hero__founders img { height: 100%; width: auto; object-fit: contain; filter: drop-shadow(0 26px 40px rgba(50,10,200,.20)); }
.hero__founders img:first-child { margin-inline-end: -78px; }

.hero__l2 {
  position: relative; z-index: 2; margin-top: -12px;
  font-size: clamp(36px, 5.4vw, 66px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em;
}
html[lang="ar"] .hero__l2 { line-height: 1.22; letter-spacing: 0; }
.hero__l2 span {
  display: inline-block; padding: .08em 0;
  background-image: var(--grad-revenue);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 6px 18px rgba(120,24,190,.16));
}

.hero__sub { margin-top: 15px; font-size: 16px; color: var(--text-dim); font-weight: 500; }
.hero__cta { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__cta .btn { font-size: 14.5px; padding: 13px 26px; }
.hero__cta .btn .star { width: 12px; height: 12px; }

/* scattered decorative stars — floating + twinkling */
.spark {
  position: absolute; background: currentColor;
  -webkit-mask: var(--star) center/contain no-repeat; mask: var(--star) center/contain no-repeat;
  pointer-events: none; opacity: .9;
  filter: drop-shadow(0 0 6px currentColor);
  will-change: transform, opacity;
  animation: sparkFloat 7s var(--ease) infinite, sparkTwinkle 3.2s ease-in-out infinite;
}
.spark--y { color: var(--yellow); } .spark--p { color: var(--pink); } .spark--i { color: var(--indigo); }
.hero .spark--1 { width: 22px; height: 22px; top: 30%; inset-inline-start: 30%; animation-delay: 0s, 0s; }
.hero .spark--2 { width: 16px; height: 16px; top: 34%; inset-inline-end: 28%; animation-delay: -2.4s, -.8s; animation-duration: 8.5s, 2.6s; }
.hero .spark--3 { width: 13px; height: 13px; top: 52%; inset-inline-end: 31%; animation-delay: -4.1s, -1.6s; animation-duration: 6s, 3.8s; }
.hero .spark--4 { width: 18px; height: 18px; bottom: 26%; inset-inline-start: 26%; animation-delay: -1.2s, -2.2s; animation-duration: 9s, 2.9s; }
.hero .spark--5 { width: 11px; height: 11px; top: 22%; inset-inline-end: 42%; animation-delay: -3.3s, -.4s; animation-duration: 7.5s, 3.3s; }
.hero .spark--6 { width: 14px; height: 14px; bottom: 32%; inset-inline-end: 20%; animation-delay: -5s, -1.1s; animation-duration: 8s, 2.4s; }

@keyframes sparkFloat {
  0%   { transform: translate(0, 0) rotate(0deg) scale(.95); }
  25%  { transform: translate(6px, -12px) rotate(45deg) scale(1.1); }
  50%  { transform: translate(-4px, -20px) rotate(90deg) scale(1); }
  75%  { transform: translate(-8px, -8px) rotate(135deg) scale(1.08); }
  100% { transform: translate(0, 0) rotate(180deg) scale(.95); }
}
@keyframes sparkTwinkle {
  0%, 100% { opacity: .35; }
  50%      { opacity: 1; }
}

/* =====================================================================
   10. SUB-HERO statement
   ===================================================================== */
.statement { text-align: center; padding: 64px var(--pad-x) 90px; }
.statement__big { font-size: clamp(28px, 4.4vw, 52px); font-weight: 900; line-height: 1.3; }
/* first line: vivid brand indigo (was near-black, blended in) */
.statement__big .block:first-child { color: var(--indigo); }
/* breathing room so the two lines don't touch */
.statement__big .block + .block { margin-top: .34em; }
.statement__big .k-indigo { color: var(--indigo); } .statement__big .k-pink { color: var(--pink); } .statement__big .k-yellow { color: var(--yellow); }
.statement__body { margin: 26px auto 0; max-width: 680px; color: var(--text-dim); font-size: 17px; line-height: 1.9; }

/* =====================================================================
   11. LIVE STAT CARDS
   ===================================================================== */
.livecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.livecard {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 30px 32px; box-shadow: var(--card-shadow); position: relative;
}
.livecard__badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  color: var(--pink); padding: 5px 11px; border-radius: 999px;
  background: rgba(221,10,154,.08); border: 1px solid rgba(221,10,154,.25);
}
.livecard__badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
.livecard__num { font-size: clamp(40px, 5vw, 56px); font-weight: 900; line-height: 1; margin-top: 16px; }
.livecard--i .livecard__num { color: var(--indigo); }
.livecard--y .livecard__num { color: var(--yellow); }
.livecard--p .livecard__num { color: var(--pink); }
.livecard__label { display: block; margin-top: 12px; color: var(--text-dim); font-size: 15px; line-height: 1.6; }

/* =====================================================================
   12. WHAT WE DO (chips)
   ===================================================================== */
/* soft brand-tinted wash (indigo→pink) so this segment reads distinct from the white/lavender neighbours */
#about { background: linear-gradient(120deg, #EFE9FB 0%, #F7EBF5 100%); }
[data-theme="dark"] #about { background: var(--bg-soft); }
#about .gi, #about .gp { background-image: linear-gradient(100deg, #3E14C8, #7B3FE4 46%, #DD0A9A); }

.whatdo { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.whatdo__chips { display: flex; flex-wrap: wrap; gap: 12px; align-content: center; }
.whatdo__body p { color: var(--text-dim); font-size: 17px; line-height: 1.9; margin-top: 22px; }
.whatdo__pill {
  margin-top: 28px;
  background: var(--yellow); color: var(--indigo-deep); border-color: var(--yellow);
  font-weight: 800;
  box-shadow: 0 12px 30px -10px rgba(255,198,0,.65);
}
.whatdo__pill .star { color: var(--indigo); }
.whatdo__pill:hover { transform: translateY(-2px); border-color: var(--yellow); color: var(--indigo-deep); box-shadow: 0 18px 40px -10px rgba(255,198,0,.8); }

/* =====================================================================
   13. SERVICES INTRO + 3D social icons
   ===================================================================== */
#services .gi, #services .gp { background-image: linear-gradient(100deg, #3E14C8, #7B3FE4 46%, #DD0A9A); }
.icons3d { position: relative; height: clamp(230px, 26vw, 306px); margin: 12px 0 -16px; }
.icons3d img {
  position: absolute; height: auto;
  width: clamp(66px, 9vw, 118px);
  filter: drop-shadow(0 18px 26px rgba(50,10,200,.26));
  animation: bob 6s var(--ease) infinite;
  will-change: transform;
}
/* scattered cluster — mirrors the live SocialMedia section (bigger, tighter to the headlines) */
.icons3d img:nth-child(1) { inset-inline-start: 25%; top: 22%; width: clamp(62px,8vw,104px);   animation-delay: 0s;   } /* Instagram */
.icons3d img:nth-child(2) { inset-inline-start: 36%; top: 4%;  width: clamp(66px,8.6vw,110px); animation-delay: .5s;  } /* Facebook  */
.icons3d img:nth-child(3) { inset-inline-start: 17%; top: 45%; width: clamp(56px,7.4vw,96px);  animation-delay: 1.5s; } /* X         */
.icons3d img:nth-child(4) { inset-inline-start: 47%; top: 37%; width: clamp(52px,6.8vw,88px);  animation-delay: 2.1s; } /* Maps      */
.icons3d img:nth-child(5) { inset-inline-end: 30%;  top: 8%;  width: clamp(68px,9vw,116px);   animation-delay: .9s;  } /* Snapchat  */
.icons3d img:nth-child(6) { inset-inline-end: 14%;  top: 3%;  width: clamp(70px,9.4vw,120px); animation-delay: 1.8s; } /* WhatsApp  */
.icons3d img:nth-child(7) { inset-inline-end: 23%;  top: 39%; width: clamp(68px,9vw,116px);   animation-delay: 1.2s; } /* TikTok    */
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(2deg); } }

/* =====================================================================
   14. SOCIAL POSTS GRID
   ===================================================================== */
.svc-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.post { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3/4; background: var(--bg-grey); }
.post img { width: 100%; height: 100%; object-fit: cover; }
.post__tag { position: absolute; top: 10px; inset-inline-start: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 7px; }
.svc-list { list-style: none; display: grid; gap: 14px; }
.svc-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--text); font-size: 16px; }
.svc-list .star { width: 13px; height: 13px; color: var(--pink); flex-shrink: 0; }
.svc-list--col2 { grid-template-columns: 1fr 1fr; }

/* =====================================================================
   15. SALES ENGINE (group photo + floating pills) + STEPS
   ===================================================================== */
.sales { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sales__visual { position: relative; }
.sales__visual > img { width: 100%; max-width: 460px; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(50,10,200,.18)); }
.sales__visual .fpill { position: absolute; }
.sales__visual .fpill--a { top: 8%; inset-inline-end: 2%; }
.sales__visual .fpill--b { bottom: 14%; inset-inline-start: 0; }
.sales__head .badge-pink {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 18px;
  padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 700;
  color: var(--pink); background: rgba(221,10,154,.08); border: 1px solid rgba(221,10,154,.25);
}
.sales__head .badge-pink .star { width: 11px; height: 11px; }
.sales__head .gi, .sales__head .gp { background-image: linear-gradient(100deg, #3E14C8, #7B3FE4 46%, #DD0A9A); }
.sales__head .lead { margin-top: 22px; }
.sales__head .btn { margin-top: 28px; }

/* interactive steps */
.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 70px; align-items: start; }
.steps__list { display: grid; gap: 14px; }
.step {
  display: flex; align-items: center; gap: 18px; cursor: pointer;
  padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.step__num {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  font-weight: 800; font-size: 16px; color: var(--text-dim); background: var(--bg-grey);
}
.step__t { font-weight: 700; font-size: clamp(16px, 2vw, 20px); }
.step .star { width: 14px; height: 14px; color: var(--yellow); margin-inline-start: auto; opacity: 0; transition: opacity .25s; }
.step.is-active { border-color: transparent; box-shadow: var(--card-shadow); }
.step.is-active .step__num { background: var(--grad-btn); color: #fff; }
.step.is-active .step__t { color: var(--indigo); }
.step.is-active .star { opacity: 1; }

.steps__panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 38px; box-shadow: var(--card-shadow);
}
.steps__panel .num-eyebrow { font-size: 13px; font-weight: 700; color: var(--text-faint); }
.steps__panel h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; color: var(--indigo); margin: 10px 0 16px; line-height: 1.25; }
.steps__panel p { color: var(--text-dim); font-size: 16px; line-height: 1.9; }
.steps__metric {
  margin-top: 26px; padding: 16px 20px; border-radius: 14px;
  background: rgba(255,198,0,.10); border: 1px solid rgba(255,198,0,.4);
  display: flex; align-items: center; gap: 12px; justify-content: space-between;
}
.steps__metric .star { width: 16px; height: 16px; color: var(--yellow); }
.steps__metric strong { font-weight: 800; color: var(--text); }
.steps__metric span { font-size: 13px; color: var(--text-faint); }

/* =====================================================================
   16. PRODUCTION photo bento
   ===================================================================== */
/* production headline: cohesive brand gradient (both lines) */
#production .gi, #production .gp { background-image: linear-gradient(100deg, #3E14C8, #7B3FE4 46%, #DD0A9A); }

.prodbento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 348px; gap: 18px; margin-top: 46px; text-align: start; }
.prodcard { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.prodcard--lg { grid-column: span 3; }   /* top row: two large */
.prodcard--sm { grid-column: span 2; }    /* bottom row: three */
.prodcard img { width: 100%; height: 100%; object-fit: cover; }
.prodcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,0,37,.82) 0%, rgba(10,0,37,.05) 55%); }
.prodcard__meta { position: absolute; bottom: 0; inset-inline: 0; padding: 22px; z-index: 1; text-align: start; }
.prodcard__meta h4 { color: #fff; font-size: 19px; font-weight: 800; }
.prodcard__meta p { color: rgba(255,255,255,.78); font-size: 13px; margin-top: 4px; }
.prodcard__arrow {
  position: absolute; bottom: 18px; inset-inline-end: 18px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff;
}

/* =====================================================================
   17. AD CREATIVE (phone mockups)
   ===================================================================== */
.ads { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.ads__phones { position: relative; display: flex; justify-content: center; gap: 18px; padding: 24px 9%; }

/* glowing halo behind the two phones */
.ads__halo {
  position: absolute; z-index: 0; pointer-events: none;
  width: 96%; height: 90%; left: 2%; top: 5%;
  background: radial-gradient(circle at 50% 46%, rgba(221,10,154,.55), rgba(50,10,200,.36) 44%, transparent 70%);
  filter: blur(56px); border-radius: 50%;
  animation: haloPulse 6s ease-in-out infinite;
}
.ads__phones img {
  position: relative; z-index: 1;
  width: clamp(140px, 20vw, 220px);
  /* drop-shadow follows the phone silhouette (no rectangular "box" like box-shadow) */
  filter: drop-shadow(0 20px 26px rgba(50,10,200,.30));
}
.ads__phones img:first-child { animation: adFloat1 6s ease-in-out infinite; }
.ads__phones img:last-child  { animation: adFloat2 7.4s ease-in-out infinite; }
/* tiny, multi-directional drift (up/down + left/right), never synced */
@keyframes adFloat1 {
  0%,100% { transform: rotate(-5deg) translate(0, 6px); }
  25%     { transform: rotate(-5.4deg) translate(-5px, -3px); }
  50%     { transform: rotate(-5.8deg) translate(4px, -9px); }
  75%     { transform: rotate(-5.4deg) translate(5px, 0); }
}
@keyframes adFloat2 {
  0%,100% { transform: rotate(5deg) translate(0, -2px); }
  25%     { transform: rotate(5.4deg) translate(5px, -9px); }
  50%     { transform: rotate(5.8deg) translate(-4px, -14px); }
  75%     { transform: rotate(5.4deg) translate(-6px, -5px); }
}
@keyframes haloPulse { 0%,100% { opacity: .78; transform: scale(.95); } 50% { opacity: 1; transform: scale(1.06); } }

/* four floating labels — two on each side of the phones, gently drifting */
.ads__phones .fpill { position: absolute; z-index: 2; animation: pillFloat 5s ease-in-out infinite; }
.ads__phones .fpill--2 { animation-delay: -1.2s; }
.ads__phones .fpill--3 { animation-delay: -2.5s; }
.ads__phones .fpill--4 { animation-delay: -3.7s; }
@keyframes pillFloat { 0%,100% { transform: translate(0,0); } 33% { transform: translate(-3px,-5px); } 66% { transform: translate(4px,4px); } }
.ads__phones .fpill--1 { top: 1%;    inset-inline-start: -1%; }   /* ريل / فيديو  (top-right)    */
.ads__phones .fpill--2 { top: 15%;   inset-inline-end: -2%; }     /* ستوري ثابت   (top-left)     */
.ads__phones .fpill--3 { bottom: 13%; inset-inline-start: -1%; }  /* CTR 6.8%     (bottom-right) */
.ads__phones .fpill--4 { bottom: 1%;  inset-inline-end: -2%; }    /* A/B Test     (bottom-left)  */
.ads__head .svc-list { margin-top: 24px; }
.ads__head .btn { margin-top: 26px; }

/* subtle section tint (slightly different from neighbours) + brand headline colour */
#adcreative { background: radial-gradient(820px 560px at 28% 42%, rgba(221,10,154,.06), transparent 62%), linear-gradient(180deg, #FFFFFF, #FBF6FF); }
[data-theme="dark"] #adcreative { background: radial-gradient(820px 560px at 28% 42%, rgba(221,10,154,.14), transparent 62%), linear-gradient(180deg, var(--bg-soft), var(--bg)); }
#adcreative .gp { background-image: linear-gradient(100deg, #3E14C8, #7B3FE4 46%, #DD0A9A); }

/* =====================================================================
   MEDIA BUYING
   ===================================================================== */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
#media .gp { background-image: linear-gradient(100deg, #4A1FD6 0%, #8E1FC4 48%, #DD0A9A 100%); }
.media__head .lead { margin-top: 18px; }
.media__visual { text-align: start; }
.media__label { display: block; font-size: 13px; font-weight: 700; color: var(--pink); margin-bottom: 14px; }
.media__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.platcard {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface); box-shadow: var(--card-shadow);
  transition: transform .25s var(--ease);
}
.platcard:hover { transform: translateY(-4px); }
.platcard__ico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-grey); }
.platcard__ico svg { width: 26px; height: 26px; }
.platcard__ico img { width: 34px; height: 34px; object-fit: contain; }
.platcard__ico--dark { background: #0b0b1e; }
.platcard__ico--snap { background: #FFFC00; }
.platcard__txt h4 { font-weight: 800; font-size: 17px; color: var(--text); }
.platcard__txt p { font-size: 12.5px; color: var(--text-faint); margin-top: 3px; }
.roascard {
  display: flex; align-items: center; gap: 22px;
  margin-top: 16px; padding: 20px 26px; border-radius: var(--radius-lg);
  background: linear-gradient(100deg, rgba(255,198,0,.24), rgba(221,10,154,.16));
  border: 1px solid var(--border-2);
}
.roascard__num { font-size: clamp(42px, 6vw, 62px); font-weight: 900; line-height: 1; background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.roascard__txt { display: flex; flex-direction: column; gap: 3px; }
.roascard__txt strong { font-weight: 800; color: var(--text); font-size: 16px; }
.roascard__txt span { font-size: 12.5px; color: var(--text-dim); }

/* =====================================================================
   FRANCHISE
   ===================================================================== */
#franchise .gp { background-image: var(--grad-pink); }
.frcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; text-align: start; }
.frcard {
  position: relative; overflow: hidden;
  padding: 24px 26px 28px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--card-shadow);
}
/* watermark number sits opposite the icon (icon is at the start; number at the end) in both RTL & LTR */
.frcard__bg { position: absolute; top: 6px; inset-inline-end: 24px; font-size: 76px; font-weight: 900; line-height: 1; color: rgba(74,31,214,.10); pointer-events: none; }
.frcard__top { display: flex; align-items: center; gap: 10px; position: relative; z-index: 1; margin-bottom: 14px; }
.frcard__ico { order: -1; flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-btn); box-shadow: 0 8px 18px -6px rgba(221,10,154,.5); }
.frcard__ico svg { width: 20px; height: 20px; }
.frcard__stage { font-size: 12px; font-weight: 700; color: var(--text-faint); }
.frcard h3 { font-size: 21px; font-weight: 800; color: var(--indigo); margin: 2px 0 12px; }
.frcard p { color: var(--text-dim); font-size: 14.5px; line-height: 1.8; margin-bottom: 18px; }
.frcard .svc-list { gap: 11px; }
.frcard .svc-list li { font-size: 14.5px; }

/* =====================================================================
   CRM (live dashboard mock)
   ===================================================================== */
.crm { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
#crm .gp { background-image: linear-gradient(100deg, #4A1FD6 0%, #8E1FC4 48%, #DD0A9A 100%); }
.crm__head .lead { margin-top: 18px; }
.crm__panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--card-shadow); padding: 20px; text-align: start; position: relative; overflow: hidden; }
.crm__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.crm__newlead { display: flex; align-items: center; gap: 10px; padding: 7px 12px; border-radius: 14px; border: 1.5px solid #2bb673; background: rgba(43,182,115,.08); }
.crm__plus { width: 30px; height: 30px; border-radius: 50%; background: #2bb673; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; }
.crm__newlead-txt { display: flex; flex-direction: column; line-height: 1.3; }
.crm__newlead-txt span { font-size: 10.5px; color: #2bb673; font-weight: 700; }
.crm__newlead-txt b { font-size: 13px; color: var(--text); }
.crm__live { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; color: var(--text-dim); }
.crm__live i { width: 8px; height: 8px; border-radius: 50%; background: #2bb673; animation: crmPulse 1.8s infinite; }
@keyframes crmPulse { 0% { box-shadow: 0 0 0 0 rgba(43,182,115,.5); } 70% { box-shadow: 0 0 0 7px rgba(43,182,115,0); } 100% { box-shadow: 0 0 0 0 rgba(43,182,115,0); } }
.crm__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.crm__stat { padding: 12px 14px; border-radius: 14px; background: var(--bg-grey); display: flex; flex-direction: column; gap: 5px; }
.crm__stat-l { font-size: 11px; color: var(--text-faint); display: flex; align-items: center; gap: 6px; }
.crm__stat-l i { font-style: normal; font-weight: 700; color: #2bb673; font-size: 10px; }
.crm__i--y { color: var(--pink) !important; }
.crm__stat b { font-size: 20px; font-weight: 900; color: var(--text); }
.crm__rev { color: var(--indigo) !important; }
.crm__list { display: flex; flex-direction: column; gap: 8px; }
.crm__lead { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.crm__lead.is-new { border-color: #2bb673; background: rgba(43,182,115,.07); animation: crmEnter .55s var(--ease); }
@keyframes crmEnter { from { opacity: 0; transform: translateY(-14px); } to { opacity: 1; transform: none; } }
.crm__avatar { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: var(--indigo); background: rgba(50,10,200,.1); }
.crm__lead.is-new .crm__avatar { background: rgba(43,182,115,.16); color: #2bb673; }
.crm__lead-txt { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.crm__lead-name { font-size: 14px; font-weight: 700; color: var(--text); }
.crm__lead-meta { font-size: 11.5px; color: var(--text-faint); }
.crm__badge { margin-inline-start: auto; flex-shrink: 0; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 8px; color: #2bb673; background: rgba(43,182,115,.12); border: 1px solid rgba(43,182,115,.3); }

/* =====================================================================
   18. FLOW DIAGRAM
   ===================================================================== */
.flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.flow__node {
  padding: 11px 22px; border-radius: 999px; font-weight: 800; font-size: 15px;
  border: 1.5px solid var(--border-2); background: var(--surface);
}
.flow__node--grad { background: var(--grad-btn); color: #fff; border: none; }
.flow__node--i { color: var(--indigo); border-color: var(--indigo); }
.flow__node--p { color: var(--pink); border-color: var(--pink); }
.flow__node--y { color: #C99A00; border-color: var(--yellow); }
.flow__arrow { color: var(--text-faint); font-size: 18px; }
/* arrows point left — toward revenue at the end (left) of the right→left flow */

/* =====================================================================
   19. PORTFOLIO cards
   ===================================================================== */
/* cohesive premium headline gradient for portfolio + numbers (both lines match) */
#work .gi, #work .gp, #impact .gi, #impact .gp {
  background-image: linear-gradient(100deg, #3E14C8 0%, #7B3FE4 46%, #DD0A9A 100%);
}

.port { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.portcard {
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius-lg);
  padding: 30px 30px 32px; box-shadow: var(--card-shadow); position: relative; overflow: hidden;
  text-align: start;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.portcard::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 5px; }              /* top accent bar   */
.portcard::after  { content: ""; position: absolute; top: -50px; inset-inline-start: -50px; width: 170px; height: 170px; border-radius: 50%; pointer-events: none; } /* soft corner glow */
.portcard--med::before   { background: linear-gradient(90deg, #320AC8, #7B3FE4); }
.portcard--cafe::before  { background: linear-gradient(90deg, #FFC600, #FF7A00); }
.portcard--sport::before { background: linear-gradient(90deg, #DD0A9A, #FF4FB0); }
.portcard--med::after    { background: radial-gradient(circle, rgba(50,10,200,.16), transparent 70%); }
.portcard--cafe::after   { background: radial-gradient(circle, rgba(255,198,0,.22), transparent 70%); }
.portcard--sport::after  { background: radial-gradient(circle, rgba(221,10,154,.16), transparent 70%); }
.portcard:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -26px rgba(50,10,200,.34); }
.portcard__top { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.portcard__top .star { width: 16px; height: 16px; color: var(--pink); }
.portcard__cat { font-size: 12px; font-weight: 800; padding: 6px 14px; border-radius: 999px; }
.portcard__cat--med   { color: #fff; background: linear-gradient(90deg, #320AC8, #7B3FE4); }
.portcard__cat--cafe  { color: #7a5c00; background: rgba(255,198,0,.24); }
.portcard__cat--sport { color: #fff; background: linear-gradient(90deg, #DD0A9A, #FF4FB0); }
.portcard__stat { position: relative; z-index: 1; font-size: clamp(42px, 5vw, 60px); font-weight: 900; line-height: 1; text-align: start; padding-bottom: .04em; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.portcard--med .portcard__stat   { background-image: linear-gradient(100deg, #320AC8, #7B3FE4); }
.portcard--cafe .portcard__stat  { background-image: linear-gradient(100deg, #E8A200, #FF7A00); }
.portcard--sport .portcard__stat { background-image: linear-gradient(100deg, #DD0A9A, #FF4FB0); }
.portcard__statlabel { display: block; text-align: start; color: var(--text-dim); font-size: 14px; margin-top: 8px; font-weight: 600; }
.portcard hr { border: none; border-top: 1px solid var(--border); margin: 22px 0 18px; }
.portcard__brand { font-weight: 800; font-size: 20px; text-align: start; color: var(--text); }
.portcard__desc { color: var(--text-dim); font-size: 14px; line-height: 1.85; margin-top: 8px; text-align: start; }

/* =====================================================================
   20. NUMBERS (huge gradient)
   ===================================================================== */
.bignums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 46px; }
.bignum { position: relative; overflow: hidden; text-align: start; padding: 36px 30px 30px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border-2); box-shadow: var(--card-shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.bignum::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 5px; }
.bignum::after  { content: ""; position: absolute; top: -50px; inset-inline-start: -50px; width: 170px; height: 170px; border-radius: 50%; pointer-events: none; }
.bignum:nth-child(1)::before { background: linear-gradient(90deg, #320AC8, #7B3FE4); }
.bignum:nth-child(2)::before { background: linear-gradient(90deg, #DD0A9A, #FF4FB0); }
.bignum:nth-child(3)::before { background: linear-gradient(90deg, #FFC600, #FF7A00); }
.bignum:nth-child(1)::after { background: radial-gradient(circle, rgba(50,10,200,.14), transparent 70%); }
.bignum:nth-child(2)::after { background: radial-gradient(circle, rgba(221,10,154,.14), transparent 70%); }
.bignum:nth-child(3)::after { background: radial-gradient(circle, rgba(255,198,0,.20), transparent 70%); }
.bignum:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -26px rgba(50,10,200,.32); }
.bignum__n { position: relative; z-index: 1; font-size: clamp(52px, 6.8vw, 92px); font-weight: 900; line-height: 1; text-align: start; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; padding-bottom: .06em; }
.bignum:nth-child(1) .bignum__n { background-image: linear-gradient(100deg, #320AC8, #7B3FE4); }
.bignum:nth-child(2) .bignum__n { background-image: linear-gradient(100deg, #DD0A9A, #FF4FB0); }
.bignum:nth-child(3) .bignum__n { background-image: linear-gradient(100deg, #E8A200, #FF7A00); }
.bignum__l { position: relative; z-index: 1; display: block; margin-top: 12px; color: var(--text-dim); font-size: 15px; line-height: 1.6; }

/* =====================================================================
   21. PARTNERS
   ===================================================================== */
/* endless single-line marquee of partner logos (fades at both edges) */
.logos {
  margin-top: 46px; overflow: hidden; position: relative;
  direction: ltr; /* anchor the over-wide track to the LEFT in BOTH languages — in RTL the container
                     would otherwise anchor it right and the leftward scroll leaves a gap that hides logos */
  -webkit-mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
/* spacing lives inside each cell (padding), NOT flex gap — so translateX(-50%) lands exactly on one copy = seamless */
.logos__track { display: flex; align-items: center; width: max-content; direction: ltr; will-change: transform; }
.logos__cell { flex: 0 0 auto; height: 84px; display: grid; place-items: center; padding-inline: 32px; box-sizing: content-box; }
.logos__cell img { height: 64px; width: auto; max-width: 210px; object-fit: contain; filter: grayscale(1); opacity: .6; transition: filter .3s var(--ease), opacity .3s var(--ease); }
[data-theme="dark"] .logos__cell img { filter: grayscale(1) brightness(0) invert(1); opacity: .5; }

/* =====================================================================
   22. CONTACT (→ WhatsApp)
   ===================================================================== */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact__intro h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; line-height: 1.25; margin-bottom: 16px; }
.contact__intro h2 .gi, .contact__intro h2 .gp { background-image: linear-gradient(100deg, #3E14C8, #7B3FE4 46%, #DD0A9A); display: inline-block; padding: .04em 0 .2em; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.contact__intro p { color: var(--text-dim); font-size: 17px; line-height: 1.9; max-width: 430px; }
.contact__channels { margin-top: 28px; display: grid; gap: 12px; }
.contact__channels a { display: inline-flex; align-items: center; gap: 10px; color: var(--text-dim); font-weight: 600; }
.contact__channels a:hover { color: var(--pink); }
.contact__channels .star { width: 12px; height: 12px; color: var(--pink); }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; display: grid; gap: 18px; box-shadow: var(--card-shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-dim); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15px; color: var(--text);
  background: var(--bg-soft); border: 1.5px solid var(--border-2); border-radius: 12px; padding: 13px 15px; width: 100%;
  transition: border-color .2s var(--ease);
}
[data-theme="dark"] .field input, [data-theme="dark"] .field select, [data-theme="dark"] .field textarea { background: var(--bg); }
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--pink); }
.field select { appearance: none; cursor: pointer; }
.form .btn { width: 100%; }
.form__note { font-size: 13px; color: var(--text-faint); text-align: center; line-height: 1.7; }

/* =====================================================================
   23. FINAL CTA
   ===================================================================== */
.finalcta { text-align: center; }
.finalcta .star { width: 32px; height: 32px; color: var(--yellow); margin: 0 auto 20px; display: block; }
.finalcta h2 { font-size: clamp(28px, 4.6vw, 52px); font-weight: 900; line-height: 1.25; margin-bottom: 28px; }
.finalcta h2 .gp { background-image: linear-gradient(100deg, #3E14C8, #7B3FE4 46%, #DD0A9A); display: inline-block; padding: .04em 0 .2em; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* =====================================================================
   24. FOOTER
   ===================================================================== */
.footer { background: var(--bg-soft); color: var(--text); padding: 70px var(--pad-x) 36px; border-top: 1px solid var(--border); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--border); }
.footer__brand img { height: 50px; width: auto; border-radius: 12px; margin-bottom: 16px; }
.footer__brand p { color: var(--text-dim); font-size: 15px; line-height: 1.9; max-width: 330px; }
.footer__col h4 { font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer__col a, .footer__col span { display: block; color: var(--text-dim); font-size: 14px; line-height: 2.1; }
.footer__col a:hover { color: var(--pink); }
/* LTR email/phone were left-aligning inside the RTL column — pin them to the start (right) */
[dir="rtl"] .footer__col a.ltr { text-align: right; }
#clients .gp { background-image: linear-gradient(100deg, #3E14C8, #7B3FE4 46%, #DD0A9A); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; flex-wrap: wrap; }
.footer__copy { font-size: 13px; color: var(--text-faint); }
.footer__legal { display: flex; gap: 18px; }
.footer__legal a { font-size: 13px; color: var(--text-dim); }
.footer__legal a:hover { color: var(--pink); }

/* =====================================================================
   25. REVEAL
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .icons3d img, .loader__star, .loader__bar::after, .livecard__badge::before { animation: none !important; }
  .spark, .btn--glow { animation: none !important; }
  .spark { opacity: .9; transform: none; }
  .btn--glow::after { display: none; }
  .ads__phones img, .ads__halo, .ads__phones .fpill { animation: none !important; }
  .ads__phones img:first-child { transform: rotate(-5deg); }
  .ads__phones img:last-child  { transform: rotate(5deg); }
  .ads__phones .fpill { transform: none; }
  /* reduced-motion: no scroll, but still show ALL logos (wrapped grid, not a clipped row) */
  .logos { overflow: visible; -webkit-mask: none; mask: none; }
  .logos__track { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 22px; }
  .logos__cell[aria-hidden="true"] { display: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   26. RESPONSIVE
   ===================================================================== */
@media (max-width: 980px) {
  :root { --pad-x: 26px; }
  .section { padding: 80px var(--pad-x); }
  .nav__links { display: none; }
  .nav__inner { grid-template-columns: auto 1fr auto; }
  .nav__logo { justify-self: start; }
  .livecards { grid-template-columns: 1fr; }
  .whatdo, .svc-split, .sales, .ads, .contact, .media, .crm { grid-template-columns: 1fr; gap: 32px; }
  .frcards { grid-template-columns: 1fr; }
  .media__head, .crm__head { order: -1; }
  .steps { grid-template-columns: 1fr; }
  .steps__panel { order: -1; }
  .prodbento { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .prodbento .prodcard:nth-child(1), .prodbento .prodcard:nth-child(2) { grid-row: span 1; }
  .port { grid-template-columns: 1fr; }
  .bignums { grid-template-columns: 1fr; gap: 40px; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .posts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  :root { --pad-x: 18px; }
  .section { padding: 66px var(--pad-x); }
  .nav__cta .btn--voip { display: none; }
  .hero { padding-top: 104px; }
  /* stack the two hero CTAs full-width so the long Arabic label never clips */
  .hero__cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero__cta .btn { width: 100%; justify-content: center; padding: 15px 22px; font-size: 15px; }
  .svc-list--col2 { grid-template-columns: 1fr; }
  .prodbento { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(3, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 26px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .flow { gap: 6px; }
  .flow__node { padding: 8px 14px; font-size: 13px; }
}
/* very narrow phones: keep the founders from crowding the frame edges */
@media (max-width: 380px) {
  .hero__founders { height: clamp(230px, 62vw, 272px); }
  .statement__big { font-size: clamp(25px, 7vw, 32px); }
}
