/* ============================================================
   FONTS
   Apercu Pro is a licensed font (Colophon Foundry), not on Google
   Fonts. Put your licensed files in /fonts with these names.
   Until then the site falls back to Helvetica / Arial.
   ============================================================ */
@font-face { font-family: "Apercu Pro"; src: url("fonts/ApercuPro-Regular.woff2") format("woff2"), url("fonts/ApercuPro-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Apercu Pro"; src: url("fonts/ApercuPro-Medium.woff2") format("woff2"), url("fonts/ApercuPro-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Apercu Pro"; src: url("fonts/ApercuPro-Bold.woff2") format("woff2"), url("fonts/ApercuPro-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }

/* ============================================================
   PALETTE — warm charcoal, electric lime, coral, lilac, cream
   ============================================================ */
:root {
  --bg: #0f0f0d;
  --bg-2: #181815;
  --bg-3: #22221d;
  --ink: #14140f;
  --fg: #f5f1e8;
  --muted: #a39e91;
  --line: rgba(245,241,232,.1);
  --lime: #d4ff3f;
  --coral: #ff6b4a;
  --lilac: #b9a7ff;
  --cream: #f5f1e8;
  --font-en: "Apercu Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-ar: "Amiri", "Times New Roman", serif;
  --font: var(--font-en);
  --ease: cubic-bezier(.22,1,.36,1);
  --gutter: clamp(16px, 5vw, 72px);
  --indent: clamp(0px, 7vw, 110px);
}
html[lang="ar"] { --font: var(--font-ar); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--font); font-size: 18px; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
html[lang="ar"] body { font-size: 20px; }
body.loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--lime); color: var(--ink); }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85em; }

/* ---------- Logo (H with the teeth of Arabic س as its crossbar) ---------- */
.logo { display: block; flex: 0 0 auto; overflow: visible; }
.logo__bg { fill: var(--lime); transition: transform .5s var(--ease); transform-origin: center; }
.logo__bars, .logo__teeth { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.logo__bars { stroke-width: 5; }
.logo__teeth { stroke-width: 4; stroke-dasharray: 40; stroke-dashoffset: 0; }
.logo__dot { fill: var(--coral); transform-origin: 38px 10px; }
a:hover .logo__teeth { animation: drawTeeth .9s var(--ease); }
a:hover .logo__dot { animation: pop .6s var(--ease); }
a:hover .logo__bg { transform: rotate(-8deg); }
@keyframes drawTeeth { from { stroke-dashoffset: 40; } to { stroke-dashoffset: 0; } }
@keyframes pop { 50% { transform: scale(1.8); } }

/* ---------- Preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--bg); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--gutter); transition: transform 1s var(--ease); }
.loader.done { transform: translateY(-100%); }
.logo--xl { width: 64px; height: 64px; margin-bottom: 18px; }
.loader__logo .logo__bars { stroke-dasharray: 24; animation: drawTeeth 1s var(--ease) both; }
.loader__logo .logo__teeth { animation: drawTeeth 1.2s .4s var(--ease) both; }
.loader__logo .logo__dot { animation: pop .6s 1.2s var(--ease) both; }
.loader__name { font-family: var(--font-en); font-size: 18px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.loader__name i, .nav__word i, .footer__mark i { font-style: normal; color: var(--coral); }
.loader__count { font-family: var(--font-en); font-size: clamp(64px, 16vw, 220px); font-weight: 700; line-height: .9; letter-spacing: -.04em; }
.loader__bar { height: 2px; background: var(--line); margin-top: 24px; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--lime); }

/* ---------- Background layers ---------- */
#bg { position: fixed; inset: 0; z-index: -2; width: 100%; height: 100%; }
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-5%,4%); } 40% { transform: translate(4%,-6%); } 60% { transform: translate(-3%,7%); } 80% { transform: translate(6%,-2%); } }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 80; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--lime), var(--lilac), var(--coral)); }
html[dir="rtl"] .progress { transform-origin: 100% 50%; }

/* ---------- Cursor ---------- */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 95; border-radius: 50%; }
.cursor { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(255,255,255,.6); transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s; mix-blend-mode: difference; }
.cursor.hover { width: 80px; height: 80px; margin: -40px 0 0 -40px; background: #fff; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--lime); }
@media (hover: none) { .cursor, .cursor-dot { display: none; } }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 70; display: flex; align-items: center; gap: 32px; padding: 16px var(--gutter); transition: transform .5s var(--ease), background .3s; }
.nav.scrolled { background: rgba(15,15,13,.7); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav.hidden { transform: translateY(-110%); }
.nav__logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-en); }
.nav__word { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.nav__links { display: flex; gap: 6px; margin-inline-start: auto; padding: 5px; border: 1px solid var(--line); border-radius: 99px; background: rgba(24,24,21,.6); }
.nav__links a { position: relative; font-size: 14px; color: var(--muted); padding: 7px 14px; border-radius: 99px; transition: color .3s, background .3s; }
html[lang="ar"] .nav__links a { font-size: 18px; padding: 4px 14px; }
.nav__links a:hover { color: var(--ink); background: var(--lime); }
.lang { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; font-family: var(--font-en); }
.lang__ar { font-family: var(--font-ar); font-size: 18px; line-height: 1; }
.lang__sep { opacity: .4; }
html[lang="en"] .lang__ar, html[lang="ar"] .lang__en { opacity: .4; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 8px; right: 8px; height: 2px; background: var(--fg); transition: transform .4s var(--ease); }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.nav.open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 130px var(--gutter) 48px; overflow: hidden; }
.hero__shapes { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%); }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); will-change: transform; }
.blob--1 { width: 34vw; height: 34vw; background: var(--lime); opacity: .16; top: -8%; right: 4%; animation: float 16s ease-in-out infinite; }
.blob--2 { width: 30vw; height: 30vw; background: var(--lilac); opacity: .2; bottom: -12%; left: -6%; animation: float 20s ease-in-out infinite reverse; }
.blob--3 { width: 18vw; height: 18vw; background: var(--coral); opacity: .22; top: 50%; right: 30%; animation: float 12s ease-in-out infinite; }
/* Orbiting rings */
.arc { position: absolute; border-radius: 50%; border: 1px dashed rgba(245,241,232,.14); }
.arc--1 { width: 54vw; height: 54vw; top: -10vw; right: -14vw; animation: spin 80s linear infinite; }
.arc--1::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); top: 50%; left: -7px; box-shadow: 0 0 24px var(--coral); }
.arc--2 { width: 34vw; height: 34vw; top: 4vw; right: -4vw; border-style: solid; border-color: rgba(212,255,63,.12); animation: spin 50s linear infinite reverse; }
.arc--2::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); bottom: 10%; right: 12%; box-shadow: 0 0 20px var(--lime); }
@keyframes float { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(5%, 8%) scale(1.1); } 66% { transform: translate(-6%, -4%) scale(.92); } }

.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-en); font-size: 13px; font-weight: 500; color: var(--fg); margin-bottom: 24px; padding: 7px 14px 7px 10px; border: 1px solid var(--line); border-radius: 99px; background: var(--bg-2); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(212,255,63,.2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(212,255,63,0); } }
html[lang="ar"] .eyebrow { font-family: var(--font-ar); font-size: 17px; }
.hero__title { font-size: clamp(42px, 6.4vw, 104px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; display: flex; flex-direction: column; }
html[lang="ar"] .hero__title { letter-spacing: 0; line-height: 1.4; }
.hero__title--hl { color: var(--lime); }
/* Squiggle instead of a straight rule */
.rule { display: block; width: 150px; height: 14px; margin: 30px 0 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 14'%3E%3Cpath d='M2 7 Q 11 0 20 7 T 38 7 T 56 7 T 74 7 T 92 7 T 110 7 T 128 7 T 146 7' fill='none' stroke='%23ff6b4a' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease); }
html[dir="rtl"] .rule { clip-path: inset(0 0 0 100%); }
.rule.reveal { opacity: 1; transform: none; }
.rule.reveal.in { clip-path: inset(0 0 0 0); }
.hero__id h2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; }
.hero__id p { color: var(--muted); font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 10px; }
html[lang="ar"] .hero__id p { font-size: 19px; }
.hero__id i { font-style: normal; color: var(--coral); }
.hero__role { margin-top: 18px; font-size: clamp(18px, 1.8vw, 24px); display: flex; flex-wrap: wrap; gap: .35em; }
.rotator { color: var(--lilac); }
.rotator::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--lilac); margin-inline-start: 4px; vertical-align: -0.12em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Photo: rounded "app icon" shape on a lime card instead of a circle */
.hero__photo { position: relative; width: min(100%, 440px); aspect-ratio: 1; justify-self: center; }
.photo { position: absolute; inset: 9%; border-radius: 38% 38% 38% 38% / 32% 32% 32% 32%; overflow: hidden; background: var(--cream); box-shadow: 18px 18px 0 0 var(--lime), 0 30px 80px -20px rgba(0,0,0,.7); transition: transform .3s var(--ease); }
html[dir="rtl"] .photo { box-shadow: -18px 18px 0 0 var(--lime), 0 30px 80px -20px rgba(0,0,0,.7); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.12); }
.ring { position: absolute; inset: -4%; width: 108%; height: 108%; animation: spin 26s linear infinite; }
.ring__text { font-family: var(--font-en); font-size: 11.5px; letter-spacing: 2px; fill: var(--muted); font-weight: 500; }
@keyframes spin { to { transform: rotate(360deg); } }
.chip { position: absolute; padding: 9px 16px; border-radius: 99px; font-weight: 700; font-size: 15px; white-space: nowrap; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6); border: 2px solid var(--ink); }
html[lang="ar"] .chip { font-size: 18px; }
.chip--a { background: var(--coral); color: var(--ink); top: 6%; left: -4%; rotate: -6deg; }
.chip--b { background: var(--lilac); color: var(--ink); bottom: 4%; right: -2%; rotate: 5deg; animation-delay: -2s !important; }
.chip--c { background: var(--cream); color: var(--ink); bottom: 24%; left: -8%; rotate: -3deg; animation-delay: -4s !important; }
.float { animation: bobchip 6s ease-in-out infinite; }
@keyframes bobchip { 50% { transform: translateY(-12px); } }

.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: clamp(48px, 7vw, 96px); }
.hstat { background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; transition: border-color .3s, transform .4s var(--ease); }
.hstat:hover { border-color: var(--lime); transform: translateY(-4px); }
.hstat b { display: block; font-family: var(--font-en); font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; font-weight: 700; color: var(--lime); }
.hstat small { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
html[lang="ar"] .hstat small { font-size: 17px; }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; padding: 15px 28px; border-radius: 99px; font-weight: 700; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn--solid { background: var(--lime); color: var(--ink); }
.btn--solid::before { background: var(--cream); }
.btn--ghost { border: 1px solid rgba(245,241,232,.25); }
.btn--ghost::before { background: var(--coral); }
.btn--ghost:hover { color: var(--ink); border-color: var(--coral); }
.btn:hover::before { transform: translateY(0); }

/* Split text */
.split .char, .split .word { display: inline-block; transform: translateY(110%) rotate(6deg); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); }
.split .mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split.in .char, .split.in .word { transform: none; opacity: 1; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 22px 0; transform: rotate(-2deg) scale(1.04); background: var(--lime); color: var(--ink); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 34s linear infinite; font-size: clamp(30px, 4.6vw, 64px); font-weight: 700; letter-spacing: -.02em; white-space: nowrap; font-family: var(--font-en); }
.marquee__track i { font-style: normal; color: var(--coral); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section scaffolding ---------- */
.section { padding: clamp(96px, 12vw, 160px) var(--gutter); }
.shead { display: grid; grid-template-columns: var(--indent) 1fr; gap: 12px; align-items: start; margin-bottom: 40px; }
.shead__num { justify-self: start; font-family: var(--font-en); font-weight: 700; font-size: 15px; line-height: 1; padding: 9px 14px; border-radius: 99px; border: 1.5px solid var(--lime); color: var(--lime); margin-top: 6px; }
.shead__kicker { font-family: var(--font-en); font-size: 15px; font-weight: 500; color: var(--coral); margin-bottom: 6px; }
.shead__kicker::before { content: "✦ "; }
html[lang="ar"] .shead__kicker { font-family: var(--font-ar); font-size: 19px; }
.shead__title { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.12; font-weight: 700; letter-spacing: -.02em; max-width: 22ch; }
html[lang="ar"] .shead__title { line-height: 1.5; letter-spacing: 0; }
.indent { margin-inline-start: calc(var(--indent) + 12px); }

.reveal { opacity: 0; transform: translateY(44px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* About */
.lead { font-size: clamp(18px, 1.6vw, 22px); color: #d6d1c4; max-width: 62ch; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 44px; }
.pill { padding: 9px 18px; border-radius: 99px; border: 1px solid rgba(245,241,232,.2); font-size: 14px; font-weight: 500; transition: transform .3s var(--ease), background .3s, color .3s; }
html[lang="ar"] .pill { font-size: 18px; }
.pill--a { border-color: rgba(212,255,63,.5); color: var(--lime); }
.pill--b { border-color: rgba(255,107,74,.55); color: #ffa08b; }
.pill--c { border-color: rgba(185,167,255,.55); color: var(--lilac); }
.pill:hover { transform: translateY(-4px) rotate(-2deg); background: var(--lime); border-color: var(--lime); color: var(--ink); }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.tile { border-radius: 24px; padding: 26px 24px 28px; min-height: 170px; position: relative; overflow: hidden; transition: transform .5s var(--ease), border-radius .5s var(--ease); }
.tile:hover { transform: translateY(-6px) rotate(-.6deg); border-radius: 36px; }
.tile::after { content: "✦"; position: absolute; right: 20px; top: 16px; font-size: 22px; opacity: .35; transition: transform .8s var(--ease); }
html[dir="rtl"] .tile::after { right: auto; left: 20px; }
.tile:hover::after { transform: rotate(180deg) scale(1.3); }
.tile b { display: block; font-family: var(--font-en); font-size: clamp(40px, 4vw, 56px); line-height: 1; font-weight: 700; margin-bottom: 14px; }
.tile p { font-size: 15px; font-weight: 500; line-height: 1.45; max-width: 26ch; }
html[lang="ar"] .tile p { font-size: 19px; }
.tile--ink { background: var(--bg-2); border: 1px solid var(--line); }
.tile--ink b { color: var(--lime); }
.tile--indigo { background: var(--lime); color: var(--ink); }
.tile--amber { background: var(--coral); color: var(--ink); }
.tile--sand { background: var(--cream); color: var(--ink); }
.tile--dark { background: var(--bg-3); border: 1px solid var(--line); }
.tile--dark b { color: var(--coral); }
.tile--mint { background: var(--lilac); color: var(--ink); }

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.note { border-radius: 24px; padding: 28px; background: var(--bg-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.note::before { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; top: 32px; right: 28px; }
html[dir="rtl"] .note::before { right: auto; left: 28px; }
.note--indigo::before { background: var(--lime); box-shadow: 0 0 18px var(--lime); }
.note--amber::before { background: var(--coral); box-shadow: 0 0 18px var(--coral); }
.note h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.note p { color: #c9c4b7; font-size: 16px; }
html[lang="ar"] .note p { font-size: 19px; }

/* ---------- Work ---------- */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; border-radius: 28px; overflow: hidden; background: var(--cream); color: var(--ink); transition: transform .3s var(--ease); box-shadow: 14px 14px 0 0 var(--lilac); }
html[dir="rtl"] .feature { box-shadow: -14px 14px 0 0 var(--lilac); }
.feature__img { overflow: hidden; background: #f2f0ea; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature:hover .feature__img img { transform: scale(1.05); }
.feature__body { padding: clamp(24px, 3vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.feature__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.feature__tags span { padding: 6px 14px; border-radius: 99px; background: var(--ink); color: var(--cream); font-size: 13px; font-family: var(--font-en); }
.feature__tags .amber { background: var(--coral); color: var(--ink); }
html[lang="ar"] .feature__tags .amber { font-family: var(--font-ar); font-size: 16px; }
.feature__body p { font-size: 17px; color: #45423a; }
html[lang="ar"] .feature__body p { font-size: 20px; }
.feature__go { align-self: flex-start; font-weight: 700; background: var(--ink); color: var(--lime); padding: 10px 18px; border-radius: 99px; }

.meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 44px 0 64px; }
.meta div { border-top: 2px solid var(--lime); padding-top: 12px; }
.meta dt { color: var(--muted); font-size: 14px; }
.meta dd { font-weight: 500; }

.problem { position: relative; background: var(--lilac); color: var(--ink); border-radius: 28px; padding: clamp(28px, 4vw, 56px); overflow: hidden; }
.problem::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(20,20,15,.06); right: -140px; bottom: -180px; }
.problem__tag { position: absolute; top: 26px; right: 26px; background: var(--lime); color: var(--ink); border: 2px solid var(--ink); font-weight: 700; padding: 10px 18px; border-radius: 99px; rotate: 3deg; font-size: 14px; }
html[dir="rtl"] .problem__tag { right: auto; left: 26px; rotate: -3deg; }
.problem__kicker { display: inline-block; background: var(--ink); color: var(--lilac); border-radius: 99px; padding: 5px 14px; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.problem__text { font-size: clamp(20px, 2.3vw, 32px); line-height: 1.3; font-weight: 700; max-width: 34ch; position: relative; }
html[lang="ar"] .problem__text { line-height: 1.7; }
.hmw { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; position: relative; }
.hmw div { background: rgba(255,255,255,.35); border: 1px solid rgba(20,20,15,.12); border-radius: 18px; padding: 18px 20px; transition: background .3s, transform .4s var(--ease); }
.hmw div:hover { background: var(--cream); transform: translateY(-4px); }
.hmw small { display: block; color: #6b3fd6; font-weight: 700; font-size: 14px; }
.hmw span { font-size: 16px; }
html[lang="ar"] .hmw span, html[lang="ar"] .hmw small { font-size: 19px; }

.subhead { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; margin: 72px 0 22px; letter-spacing: -.01em; }
html[lang="ar"] .subhead { letter-spacing: 0; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card3 { background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; padding: 26px; min-height: 200px; transition: transform .5s var(--ease), border-color .3s; }
.card3:hover { transform: translateY(-6px) rotate(-.6deg); border-color: var(--lime); }
.card3 small { color: var(--lime); font-weight: 700; font-size: 14px; }
.card3 h4 { font-size: 24px; margin: 6px 0 10px; }
.card3 p { color: var(--muted); font-size: 16px; }
html[lang="ar"] .card3 p { font-size: 19px; }
.card3--amber { border-color: rgba(255,107,74,.5); }
.card3--amber small { color: var(--coral); }

.flows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.flow { background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; padding: 24px; transition: transform .5s var(--ease), border-color .3s; }
.flow:hover { transform: translateY(-6px); border-color: var(--lilac); }
.flow header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.flow header b { color: var(--lilac); font-family: var(--font-en); }
html[lang="ar"] .flow header b { font-family: var(--font-ar); }
.flow header em { font-style: normal; font-size: 13px; padding: 4px 10px; border-radius: 99px; background: rgba(185,167,255,.15); color: var(--lilac); }
.flow h4 { font-size: 21px; margin-bottom: 6px; }
.flow p { color: var(--muted); font-size: 15px; }
html[lang="ar"] .flow p { font-size: 18px; }
.flow--core { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.flow--core header b { color: var(--ink); }
.flow--core header em { background: var(--ink); color: var(--lime); }
.flow--core p { color: #3c4a10; }

/* FreelancerHub's own brand colours are kept here on purpose: it documents that project's design system */
.ds { display: grid; grid-template-columns: 1fr 1.6fr; grid-template-rows: auto auto; gap: 14px; }
.ds__logo { grid-row: span 2; background: #4a48c9; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 280px; }
.ds__logo svg { border-radius: 16px; box-shadow: 0 0 0 4px rgba(255,255,255,.15); animation: bobchip 5s ease-in-out infinite; }
.ds__logo b { font-family: var(--font-en); font-size: 28px; }
.ds__logo small { color: #dedcff; font-size: 15px; }
.ds__swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ds__swatches span { background: var(--s); color: var(--t); border-radius: 16px; padding: 14px; min-height: 104px; display: flex; flex-direction: column; justify-content: flex-end; font-size: 14px; font-weight: 500; font-family: var(--font-en); transition: transform .4s var(--ease); border: 1px solid rgba(255,255,255,.06); }
.ds__swatches span:hover { transform: scale(1.05) rotate(-1deg); }
.ds__status { background: #fff; border-radius: 16px; padding: 16px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.st { padding: 7px 14px; border-radius: 99px; font-weight: 700; font-size: 14px; }
html[lang="ar"] .st { font-size: 17px; }
.st--g { background: #dcfce7; color: #15803d; } .st--y { background: #fef3c7; color: #b45309; } .st--i { background: #e0e7ff; color: #3730a3; } .st--r { background: #fee2e2; color: #b91c1c; }

.gallery-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.gallery-hint { color: var(--lime); font-size: 14px; white-space: nowrap; }
.gallery { display: flex; gap: 20px; overflow-x: auto; padding: 8px var(--gutter) 24px; padding-inline-start: calc(var(--gutter) + var(--indent) + 12px); scroll-snap-type: x mandatory; cursor: grab; scrollbar-width: thin; scrollbar-color: var(--lime) transparent; }
.gallery.dragging { cursor: grabbing; scroll-snap-type: none; }
.gallery figure { flex: 0 0 min(78vw, 720px); scroll-snap-align: start; user-select: none; }
.gallery img { border-radius: 20px; width: 100%; aspect-ratio: 1400 / 788; object-fit: cover; background: #f2f0ea; pointer-events: none; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: translateY(-6px); }
.gallery figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }
html[lang="ar"] .gallery figcaption { font-size: 17px; }
.work__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.honest { margin-top: 22px; color: var(--muted); font-size: 14px; max-width: 70ch; border-inline-start: 2px solid var(--coral); padding-inline-start: 14px; }
html[lang="ar"] .honest { font-size: 17px; }

/* ---------- Process ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; padding-top: 10px; }
.steps::before { content: ""; position: absolute; top: 32px; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--lime) 0 10px, transparent 10px 18px); transform: scaleX(var(--p, 0)); transform-origin: 0 50%; transition: transform 1.6s var(--ease); }
html[dir="rtl"] .steps::before { transform-origin: 100% 50%; }
.steps.in::before { --p: 1; }
.steps li { position: relative; }
.steps__dot { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--bg); border: 2px solid var(--lime); color: var(--lime); font-family: var(--font-en); font-weight: 700; margin-bottom: 18px; position: relative; transition: background .3s, color .3s, transform .4s var(--ease); }
.steps li:hover .steps__dot { background: var(--lime); color: var(--ink); transform: rotate(-10deg) scale(1.15); }
.steps h4 { font-size: 21px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15px; }
html[lang="ar"] .steps p { font-size: 18px; }

/* ---------- Experience ---------- */
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.panel { border-radius: 28px; padding: clamp(24px, 3vw, 36px); }
.panel--ink { background: var(--bg-2); border: 1px solid var(--line); }
.panel--indigo { background: var(--cream); color: var(--ink); }
.panel h3 { font-size: 22px; margin-bottom: 18px; }
.xp { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.xp:last-child { border-bottom: 0; }
.xp b { font-size: 18px; }
.xp small { color: var(--muted); font-size: 15px; }
.xp em { font-style: normal; color: var(--lime); font-size: 15px; }
html[lang="ar"] .xp small, html[lang="ar"] .xp em { font-size: 18px; }
.tools { display: flex; flex-direction: column; gap: 16px; }
.tool { display: flex; gap: 16px; align-items: center; }
.tool__badge { flex: 0 0 auto; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--ink); color: var(--lime); font-weight: 700; font-family: var(--font-en); transition: transform .4s var(--ease); }
.tool:hover .tool__badge { transform: rotate(-10deg); }
.tool b { display: block; font-size: 18px; }
.tool small { color: #6b675c; font-size: 15px; }
html[lang="ar"] .tool small { font-size: 18px; }
.langs { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(20,20,15,.15); }
.langs b { display: block; }
.langs small { color: #6b675c; font-size: 15px; }
html[lang="ar"] .langs small { font-size: 18px; }

/* ---------- Contact ---------- */
.contact__title { font-size: clamp(40px, 7.6vw, 120px); line-height: 1; font-weight: 700; letter-spacing: -.04em; display: flex; flex-direction: column; margin: 20px 0 48px; }
html[lang="ar"] .contact__title { line-height: 1.4; letter-spacing: 0; }
.contact__title--accent { background: linear-gradient(90deg, var(--lime), var(--lilac), var(--coral), var(--lime)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 7s linear infinite; }
.contact__title--accent .char, .contact__title--accent .word { background: inherit; -webkit-background-clip: text; background-clip: text; }
@keyframes shimmer { to { background-position: 300% 0; } }
.cta-card { display: grid; grid-template-columns: 180px 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; background: var(--lime); color: var(--ink); border-radius: 32px; padding: clamp(22px, 3vw, 44px); }
.cta-card__photo { width: 180px; height: 180px; border-radius: 38% / 32%; overflow: hidden; background: var(--cream); border: 3px solid var(--ink); rotate: -4deg; }
.cta-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.12); }
.cta-card h3 { font-size: clamp(22px, 2.4vw, 32px); }
.cta-card p { color: #3c4a10; margin: 4px 0 20px; }
.cta-card .socials { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-card .socials a { padding: 12px 22px; border: 2px solid var(--ink); border-radius: 99px; font-weight: 700; font-family: var(--font-en); transition: background .3s, color .3s; overflow-wrap: anywhere; }
.cta-card .socials a:hover { background: var(--ink); color: var(--lime); }

.footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 30px var(--gutter); border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer__mark { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); font-size: 17px; font-weight: 700; font-family: var(--font-en); }
.footer a:hover { color: var(--lime); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flows { grid-template-columns: repeat(2, 1fr); }
  .meta { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  :root { --indent: 0px; }
  .nav { gap: 12px; }
  .nav__word { display: none; }
  .nav__links { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 18px; background: var(--bg); border: 0; border-radius: 0; padding: 0; clip-path: circle(0% at calc(100% - 40px) 40px); transition: clip-path .8s var(--ease); margin: 0; }
  .nav__links a { font-size: 34px; color: var(--fg); }
  .nav.open .nav__links { clip-path: circle(150% at calc(100% - 40px) 40px); }
  html[dir="rtl"] .nav__links { clip-path: circle(0% at 40px 40px); }
  html[dir="rtl"] .nav.open .nav__links { clip-path: circle(150% at 40px 40px); }
  .lang { margin-inline-start: auto; }
  .burger { display: block; }
  .hero { padding-top: 110px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { order: -1; width: min(76vw, 330px); }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .shead { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .duo, .creds, .hmw, .trio { grid-template-columns: 1fr; }
  .ds { grid-template-columns: 1fr; }
  .ds__logo { grid-row: auto; min-height: 0; }
  .problem__tag { position: static; display: inline-block; margin-bottom: 14px; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-card__photo { width: 120px; height: 120px; }
  .blob { filter: blur(60px); }
  .arc--1 { width: 120vw; height: 120vw; }
}
@media (max-width: 560px) {
  .tiles, .flows, .meta, .steps { grid-template-columns: 1fr; }
  .ds__swatches { grid-template-columns: repeat(2, 1fr); }
  .chip { font-size: 13px; padding: 7px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split .char, .split .word { opacity: 1; transform: none; }
  .rule { clip-path: none; }
  .steps::before { --p: 1; }
}

/* ============================================================
   AUTOMATED MOTION
   ============================================================ */

/* --- Hero: design-tool layer (cursors + selection) --- */
.hero__title > span { align-self: flex-start; }
.fx { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.sel { position: absolute; left: 0; top: 0; width: 0; height: 0; border: 1.5px solid var(--lime); border-radius: 4px; opacity: 0;
  transition: left .9s var(--ease), top .9s var(--ease), width .9s var(--ease), height .9s var(--ease), opacity .4s; }
.sel.on { opacity: 1; }
.sel i { position: absolute; width: 9px; height: 9px; background: var(--bg); border: 1.5px solid var(--lime); }
.sel i:nth-child(1) { left: -5px; top: -5px; } .sel i:nth-child(2) { right: -5px; top: -5px; }
.sel i:nth-child(3) { left: -5px; bottom: -5px; } .sel i:nth-child(4) { right: -5px; bottom: -5px; }
.sel__size { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); background: var(--lime); color: var(--ink); font: 700 11px/1 var(--font-en); padding: 5px 8px; border-radius: 4px; white-space: nowrap; }
.fcur { position: absolute; left: 0; top: 0; display: flex; align-items: flex-start; transition: transform 1.1s var(--ease); will-change: transform; }
.fcur svg { fill: var(--lime); stroke: var(--ink); stroke-width: 1.2; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); }
.fcur span { margin: 16px 0 0 -4px; background: var(--lime); color: var(--ink); font: 700 12px/1 var(--font-en); padding: 5px 9px; border-radius: 99px 99px 99px 4px; white-space: nowrap; }
html[lang="ar"] .fcur span, html[lang="ar"] .fcur__msg { font-family: var(--font-ar); font-size: 15px; }
.fcur--b svg { fill: var(--coral); }
.fcur--b span { background: var(--coral); }
.fcur__msg { position: absolute; left: 22px; top: 44px; background: var(--cream); color: var(--ink); font: 500 13px/1.3 var(--font-en); font-style: normal; padding: 8px 12px; border-radius: 4px 14px 14px 14px; white-space: nowrap; opacity: 0; transform: scale(.6) translateY(-6px); transform-origin: 0 0; transition: opacity .35s, transform .45s var(--ease); box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.fcur__msg.on { opacity: 1; transform: none; }
.fcur.click svg { animation: click .35s var(--ease); }
@keyframes click { 50% { transform: scale(.8); } }

/* --- Demo: copy + phone --- */
.demo { display: grid; grid-template-columns: 1fr minmax(260px, 320px); gap: clamp(28px, 5vw, 80px); align-items: center; margin: 0 0 80px; padding: clamp(24px, 4vw, 56px); border-radius: 32px; background: radial-gradient(120% 120% at 100% 0%, rgba(185,167,255,.18), transparent 50%), var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.demo__kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--lime); font-weight: 700; font-size: 14px; }
.demo__kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); animation: pulse 1.6s infinite; box-shadow: 0 0 0 4px rgba(255,107,74,.3); }
.demo__title { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.1; margin: 8px 0 26px; letter-spacing: -.02em; }
html[lang="ar"] .demo__title { line-height: 1.5; letter-spacing: 0; }
.demo__steps { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.demo__steps li { position: relative; border-radius: 18px; overflow: hidden; transition: background .4s; }
.demo__steps li.active { background: rgba(245,241,232,.06); }
.demo__steps button { display: flex; gap: 14px; align-items: flex-start; width: 100%; text-align: start; padding: 14px 16px; }
.demo__steps b { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; border: 1.5px solid var(--line); font: 700 14px var(--font-en); color: var(--muted); transition: all .4s; }
.demo__steps li.active b { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.demo__steps strong { display: block; font-size: 17px; color: var(--muted); transition: color .4s; }
.demo__steps li.active strong { color: var(--fg); }
.demo__steps small { display: block; color: var(--muted); font-size: 14px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .5s; }
html[lang="ar"] .demo__steps small { font-size: 17px; }
.demo__steps li.active small { max-height: 60px; opacity: 1; }
.demo__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--lime); transform: scaleX(0); transform-origin: 0 50%; }
html[dir="rtl"] .demo__bar { transform-origin: 100% 50%; }
.demo__steps li.active .demo__bar { animation: fillbar var(--dur, 3.6s) linear forwards; }
.demo.paused .demo__steps li.active .demo__bar { animation-play-state: paused; }
@keyframes fillbar { to { transform: scaleX(1); } }

.phone { position: relative; width: 100%; max-width: 300px; aspect-ratio: 9 / 19; justify-self: center; background: #111; border-radius: 44px; padding: 12px; box-shadow: 0 0 0 2px #2b2b27, 20px 30px 60px -20px rgba(0,0,0,.8), -14px 14px 0 0 var(--lilac); font-family: "Inter", var(--font-en); color: #1F2937; animation: phoneFloat 7s ease-in-out infinite; }
@keyframes phoneFloat { 50% { transform: translateY(-10px) rotate(-1deg); } }
.phone__notch { position: absolute; top: 18px; left: 50%; width: 84px; height: 22px; background: #111; border-radius: 99px; transform: translateX(-50%); z-index: 5; }
.phone__status { position: absolute; top: 12px; left: 12px; right: 12px; height: 36px; display: flex; justify-content: space-between; align-items: center; padding: 0 22px; font-size: 11px; font-weight: 700; z-index: 4; background: #FCFCFD; border-radius: 32px 32px 0 0; }
.phone__screens { position: absolute; inset: 48px 12px 58px; overflow: hidden; background: #FCFCFD; }
.phone__tabs { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 46px; background: #fff; border-top: 1px solid #E5E7EB; border-radius: 0 0 32px 32px; display: flex; justify-content: space-around; align-items: center; color: #9ca3af; font-size: 16px; }
.phone__tabs .on { color: #5B5BD6; }
.scr { position: absolute; inset: 0; padding: 8px 12px; font-size: 10px; opacity: 0; transform: translateX(40px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.scr.on { opacity: 1; transform: none; }
.scr.out { opacity: 0; transform: translateX(-40px); }
.scr__top { display: flex; gap: 8px; justify-content: center; position: relative; padding: 4px 0 10px; font-size: 11px; color: #1F2937; }
.scr__h { font-weight: 700; margin: 10px 0 6px; font-size: 10px; }
.bal { border: 1px solid #E5E7EB; border-radius: 12px; padding: 10px; background: #fff; }
.bal small { display: block; color: #6B7280; font-size: 8.5px; }
.bal__big { display: block; font-size: 20px; font-weight: 700; margin: 2px 0; color: #1F2937; }
.bal__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-top: 1px solid #E5E7EB; margin-top: 8px; padding-top: 8px; }
.bal__row b { font-size: 13px; }
.bal--sm .bal__big { font-size: 16px; }
.pbtn { margin-top: 10px; background: #5B5BD6; color: #fff; text-align: center; font-weight: 700; padding: 9px; border-radius: 10px; font-size: 10px; }
.gbtn { text-align: center; padding: 8px; font-weight: 700; font-size: 10px; color: #1F2937; }
.row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #F1F2F4; }
.row > div { flex: 1; min-width: 0; }
.row b { font-size: 10px; display: block; }
.row small { display: block; color: #6B7280; font-size: 8.5px; }
.row--card { border: 1px solid #E5E7EB; border-radius: 10px; padding: 8px; background: #fff; }
.row--pending { margin-top: 10px; animation: glowIn 1.2s var(--ease); }
@keyframes glowIn { from { box-shadow: 0 0 0 4px rgba(91,91,214,.35); } }
.thumb { width: 26px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #f472b6, #a855f7); flex: 0 0 auto; }
.thumb--b { background: linear-gradient(135deg, #1F2937, #6B7280); } .thumb--c { background: linear-gradient(135deg, #f97316, #facc15); }
.bank { width: 26px; height: 26px; border-radius: 50%; background: #EEEEFF; display: grid; place-items: center; font-size: 12px; flex: 0 0 auto; }
.tag { font-style: normal; font-size: 8px; font-weight: 700; padding: 2px 6px; border-radius: 99px; }
.tag--g { background: #dcfce7; color: #15803d; } .tag--y { background: #fef3c7; color: #b45309; }
.field { display: flex; justify-content: space-between; align-items: center; border: 1.5px solid #5B5BD6; border-radius: 10px; padding: 9px 10px; background: #fff; font-size: 12px; font-weight: 700; }
.field em { font-style: normal; color: #5B5BD6; font-size: 10px; }
.typed::after { content: "|"; color: #5B5BD6; animation: blink 1s steps(1) infinite; margin-inline-start: 1px; }
.sum { margin-top: 10px; border: 1px solid #E5E7EB; border-radius: 10px; padding: 8px; background: #fff; }
.sum small { color: #6B7280; font-size: 8.5px; }
.sum div { display: flex; justify-content: space-between; margin-top: 4px; }
.scr--dim::before { content: ""; position: absolute; inset: 0; background: rgba(17,17,17,.35); opacity: 0; transition: opacity .6s .2s; }
.scr--dim.on::before { opacity: 1; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; border-radius: 16px 16px 0 0; padding: 14px 12px 8px; transform: translateY(100%); transition: transform .7s .25s var(--ease); }
.scr.on .sheet { transform: none; }
.sheet > b { display: block; font-size: 12px; margin-bottom: 8px; }
.sheet > div:not(.pbtn):not(.gbtn) { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid #F1F2F4; }
.sheet__net b { color: #5B5BD6; }
.pop { position: absolute; right: -6px; top: 42%; background: #3DDC97; color: #062b1b; font-weight: 800; font-size: 15px; padding: 8px 14px; border-radius: 99px; rotate: -8deg; transform: scale(0); transition: transform .5s 1s cubic-bezier(.34,1.56,.64,1); box-shadow: 0 10px 20px -6px rgba(0,0,0,.4); }
.scr.on .pop { transform: scale(1); }
/* Animated "finger taps" */
.tap { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: rgba(91,91,214,.35); border: 2px solid rgba(91,91,214,.8); opacity: 0; }
.scr.on .tap { animation: tap 1s var(--tapDelay, 2.2s) var(--ease) both; }
.tap--1 { left: 45%; top: 168px; }
.tap--2 { right: 18px; top: 100px; --tapDelay: .9s; }
.tap--3 { left: 45%; bottom: 46px; --tapDelay: 2.4s; }
@keyframes tap { 0% { opacity: 0; transform: scale(1.8); } 30% { opacity: 1; transform: scale(1); } 60% { opacity: 1; transform: scale(.85); } 100% { opacity: 0; transform: scale(1.4); } }

/* --- Process: automatic highlight --- */
.steps li.active .steps__dot { background: var(--lime); color: var(--ink); transform: rotate(-10deg) scale(1.15); box-shadow: 0 0 0 8px rgba(212,255,63,.12); }
.steps li.active h4 { color: var(--lime); }
.steps h4 { transition: color .4s; }

/* --- Gallery autoplay (snap would fight the auto-scroll) --- */
.gallery { scroll-snap-type: none; }

@media (max-width: 860px) {
  .fx { display: none; }
  .demo { grid-template-columns: 1fr; }
  .phone { max-width: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx { display: none; }
  .scr { transition: none; }
}

/* ============================================================
   CONTENT UPDATE — lists, contact, Let's talk menu
   ============================================================ */
.note__list { list-style: none; counter-reset: n; display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.note__list li { counter-increment: n; display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; color: var(--fg); padding: 10px 14px; border-radius: 14px; background: rgba(245,241,232,.04); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .3s, background .3s; }
html[lang="ar"] .note__list li { font-size: 20px; }
.note__list li::before { content: counter(n); flex: 0 0 auto; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font: 700 13px var(--font-en); color: var(--ink); background: var(--lime); }
.note--amber .note__list li::before { background: var(--coral); }
.note__list li:hover { transform: translateX(6px); border-color: rgba(212,255,63,.4); background: rgba(212,255,63,.06); }
html[dir="rtl"] .note__list li:hover { transform: translateX(-6px); }
.note--amber .note__list li:hover { border-color: rgba(255,107,74,.45); background: rgba(255,107,74,.06); }

.card3--done { border-color: rgba(212,255,63,.5); }
.card3--done small { color: var(--lime); }

/* Let's talk menu */
.talk { position: relative; z-index: 6; }
.talk__btn { gap: 10px; }
.talk__chev { font-style: normal; font-size: 12px; transition: transform .35s var(--ease); }
.talk__btn[aria-expanded="true"] .talk__chev { transform: rotate(180deg); }
.talk__btn[aria-expanded="true"] { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.talk__menu { position: absolute; top: calc(100% + 12px); inset-inline-start: 0; width: min(300px, calc(100vw - 32px)); padding: 8px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(0,0,0,.8); display: flex; flex-direction: column; gap: 4px; transform-origin: top left; animation: menuIn .35s var(--ease); }
html[dir="rtl"] .talk__menu { transform-origin: top right; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px) scale(.96); } }
.talk__opt { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 16px; transition: background .25s; }
.talk__opt:hover, .talk__opt:focus-visible { background: rgba(245,241,232,.07); outline: none; }
.talk__opt svg { flex: 0 0 auto; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--lime); fill: var(--ink); }
.talk__opt--wa svg { background: #25d366; }
.talk__opt:last-child svg { background: var(--lilac); }
.talk__opt span { display: flex; flex-direction: column; min-width: 0; }
.talk__opt b { font-size: 16px; }
.talk__opt small { color: var(--muted); font-size: 13px; font-family: var(--font-en); overflow-wrap: anywhere; }

/* Contact list in the CTA card */
.contact-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 4px 0 18px; }
.contact-list a { display: flex; flex-direction: column; padding: 12px 16px; border-radius: 16px; background: rgba(20,20,15,.08); border: 1.5px solid rgba(20,20,15,.18); transition: background .3s, color .3s, transform .3s var(--ease); min-width: 0; }
.contact-list a:hover { background: var(--ink); color: var(--lime); transform: translateY(-3px); }
.contact-list small { font-size: 12px; opacity: .7; }
.contact-list b { font-family: var(--font-en); font-size: 15px; overflow-wrap: anywhere; }
.cta-card .socials .socials__wa { background: var(--ink); color: var(--lime); }
@media (max-width: 860px) { .contact-list { grid-template-columns: 1fr; } }
/* ============================================================
   FIX — Let's talk menu fully visible; cursor never hides text
   ============================================================ */
/* The hero used to clip everything that overflowed it (which cut the menu).
   Now only the decorative layer is clipped, and the hero sits above the marquee. */
.hero { overflow: visible; z-index: 3; }
.hero__shapes { overflow: hidden; }
.marquee { position: relative; z-index: 1; }
.talk { z-index: 40; }
.talk__menu { z-index: 40; }
/* Open upward when there isn't room below */
.talk__menu.up { top: auto; bottom: calc(100% + 12px); transform-origin: bottom left; }
html[dir="rtl"] .talk__menu.up { transform-origin: bottom right; }

/* Custom cursor: on hover it becomes an outline ring instead of a filled disc */
.cursor.hover { background: transparent; border: 2px solid var(--lime); mix-blend-mode: normal; width: 64px; height: 64px; margin: -32px 0 0 -32px; }
/* Clip sideways only, so nothing causes horizontal scrolling but the menu can drop down */
.hero { overflow-x: clip; overflow-y: visible; }
/* The loader must never sit over the page (or catch taps) once it has finished */
.loader.done { visibility: hidden; pointer-events: none; transition: transform 1s var(--ease), visibility 0s linear 1s; }
/* Headline, buttons and the Let's talk menu always sit above the stats row */
.hero__grid { position: relative; z-index: 5; }
.hero__stats { position: relative; z-index: 1; }
/* Invisible bridge over the 12px gap so moving from the button down to the menu keeps it open */
.talk__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.talk__menu.up::before { top: auto; bottom: -14px; }
/* ============================================================
   LET'S TALK v3 — options slide out in a row beside the button
   (no overlay, nothing gets covered) + CSS hover fallback
   ============================================================ */
.talk { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.talk__menu, .talk__menu.up {
  position: static; width: auto; padding: 0; margin: 0; background: none; border: 0; box-shadow: none; border-radius: 0;
  flex-direction: row; flex-wrap: wrap; gap: 8px; animation: none; transform: none;
}
.talk__menu::before { content: none; }
/* Pure-CSS fallback: hovering or focusing the button always reveals the options */
@media (hover: hover) { .talk:hover > .talk__menu { display: flex; } }

.talk__opt { gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line);
  opacity: 0; transform: translateX(-10px); animation: chipIn .45s var(--ease) forwards; }
.talk__opt:nth-child(2) { animation-delay: .06s; }
.talk__opt:nth-child(3) { animation-delay: .12s; }
html[dir="rtl"] .talk__opt { transform: translateX(10px); }
@keyframes chipIn { to { opacity: 1; transform: none; } }
.talk__opt:hover, .talk__opt:focus-visible { background: var(--fg); color: var(--ink); border-color: var(--fg); }
.talk__opt svg { width: 32px; height: 32px; padding: 8px; border-radius: 50%; }
.talk__opt b { font-size: 15px; white-space: nowrap; }
.talk__opt small { display: none; }   /* full number and email are listed in the Contact section */
.talk__btn[aria-expanded="true"] .talk__chev { transform: rotate(-90deg); }
html[dir="rtl"] .talk__btn[aria-expanded="true"] .talk__chev { transform: rotate(90deg); }
/* Hidden really means hidden (an earlier rule forced display:flex) */
.talk > .talk__menu[hidden] { display: none; }
@media (hover: hover) { .talk:hover > .talk__menu[hidden] { display: flex; } }
/* Reserve the options' space so nothing on the page moves when they appear (no flicker) */
.talk > .talk__menu, .talk > .talk__menu[hidden] { display: flex; }
.talk > .talk__menu[hidden] { visibility: hidden; transition: visibility 0s linear .3s; }
.talk__opt { animation: none; opacity: 0; transform: translateX(-10px); transition: opacity .3s var(--ease), transform .4s var(--ease), background .25s, color .25s; }
html[dir="rtl"] .talk__opt { transform: translateX(10px); }
.talk > .talk__menu:not([hidden]) .talk__opt { opacity: 1; transform: none; }
.talk > .talk__menu:not([hidden]) .talk__opt:nth-child(2) { transition-delay: .05s, .05s, 0s, 0s; }
.talk > .talk__menu:not([hidden]) .talk__opt:nth-child(3) { transition-delay: .1s, .1s, 0s, 0s; }
@media (hover: hover) {
  .talk:hover > .talk__menu { visibility: visible; transition: none; }
  .talk:hover .talk__opt { opacity: 1; transform: none; }
}