/* ==========================================================================
   AVYREN Agency, growth studio. Night blue, brass gold, Majorelle.
   ========================================================================== */
@font-face { font-family: "Amiri"; src: url("fonts/amiri-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Amiri"; src: url("fonts/amiri-700.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("fonts/plex-arabic-400.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("fonts/plex-arabic-500.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("fonts/plex-arabic-600.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bodoni Moda"; src: url("fonts/bodoni-moda-ext.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Schibsted Grotesk"; src: url("fonts/schibsted-grotesk-ext.woff2") format("woff2"); font-weight: 400 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --night: #070914;
  --night-2: #0c0f1f;
  --night-3: #131832;
  --card: rgba(19, 24, 50, .55);
  --gold: #cfae6b;
  --gold-hi: #f3dca6;
  --gold-lo: #8f733f;
  --majorelle: #5a54f0;
  --maj-hi: #8a85ff;
  --ok: #4fd1a5;
  --blue: #6aa8ff;
  --rose: #ff6b81;
  --text: #f1ece2;
  --muted: #9a9bb0;
  --line: rgba(207, 174, 107, .2);
  --line-soft: rgba(241, 236, 226, .08);
  --display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --r: 22px;
}
html[lang="ar"] {
  --display: "Amiri", "Bodoni Moda", Georgia, serif;
  --sans: "IBM Plex Sans Arabic", "Schibsted Grotesk", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  -webkit-tap-highlight-color: transparent;
  margin: 0; background: var(--night); color: var(--text);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 100; padding: 10px 16px; background: var(--gold); color: var(--night); border-radius: 10px; transform: translateY(-160%); transition: transform .3s; }
.skip:focus { transform: none; }

/* grain + ambient light */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60vw 50vw at 85% -10%, rgba(90, 84, 240, .16), transparent 60%),
    radial-gradient(50vw 40vw at -10% 40%, rgba(207, 174, 107, .07), transparent 60%);
}
main, .site-footer, .site-header { position: relative; z-index: 1; }

/* intro veil: hides itself even without JS */
.veil { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: var(--night); animation: veil .6s var(--ease) 1.2s forwards; }
.veil img { width: 56px; height: 56px; animation: pulse 1.2s var(--ease-io) infinite; }
body.ready .veil { animation: veil .6s var(--ease) forwards; }
@keyframes veil { to { opacity: 0; visibility: hidden; } }
@keyframes pulse { 50% { transform: scale(.88); opacity: .6; } }

.cursor-glow { position: fixed; z-index: 0; left: 0; top: 0; width: 640px; height: 640px; margin: -320px 0 0 -320px; border-radius: 50%; pointer-events: none; background: radial-gradient(closest-side, rgba(90, 84, 240, .12), transparent); opacity: 0; transition: opacity .6s; will-change: transform; contain: strict; }
.glow-clip { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
body.pointer .cursor-glow { opacity: 1; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 15.5px; letter-spacing: .01em; cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
[dir="rtl"] .btn svg { transform: scaleX(-1); }
.btn:hover svg { transform: translateX(4px); }
[dir="rtl"] .btn:hover svg { transform: scaleX(-1) translateX(4px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-hi), var(--gold) 45%, var(--gold-lo)); color: #16120a; box-shadow: 0 10px 30px -10px rgba(207, 174, 107, .55), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-gold::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); transition: transform .9s var(--ease); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(207, 174, 107, .7), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-ghost { border-color: rgba(241, 236, 226, .22); background: rgba(7, 9, 20, .45); }
.btn-ghost:hover { border-color: var(--gold); background: rgba(207, 174, 107, .08); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 16px; }
.link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.link-u:hover { background-size: 100% 1px; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s, transform .5s var(--ease); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(7, 9, 20, .94); border-color: var(--line-soft); }
@media (min-width: 961px) and (hover: hover) { .site-header.scrolled { background: rgba(7, 9, 20, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.site-header.away { transform: translateY(-100%); }
.nav { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; margin-inline-end: auto; }
.brand img { width: 38px; height: 38px; }
.brand-name { display: flex; flex-direction: column; font-family: "Bodoni Moda", serif; font-weight: 600; font-size: 20px; letter-spacing: .14em; line-height: 1; }
.brand-name small { font-family: "Schibsted Grotesk", sans-serif; font-size: 9.5px; letter-spacing: .42em; color: var(--gold); margin-top: 5px; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; }
.nav-links > a:not(.btn) { position: relative; color: rgba(241, 236, 226, .8); transition: color .3s; }
.nav-links > a:not(.btn):hover { color: var(--text); }
.nav-links > a:not(.btn)::after { content: ""; position: absolute; inset: auto 0 -6px; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease); }
.nav-links > a:not(.btn):hover::after { transform: scaleX(1); }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line-soft); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.lang a { padding: 5px 9px; border-radius: 999px; color: var(--muted); transition: color .3s, background .3s; }
.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: rgba(207, 174, 107, .16); color: var(--gold-hi); }
.menu-btn { display: none; align-items: center; gap: 10px; height: 42px; padding: 0 16px; background: rgba(241, 236, 226, .05); border: 1px solid var(--line-soft); border-radius: 999px; cursor: pointer; font-size: 14px; }
.menu-btn i { position: relative; width: 16px; height: 10px; }
.menu-btn i::before, .menu-btn i::after { content: ""; position: absolute; inset-inline: 0; height: 1.5px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn i::before { top: 1px; } .menu-btn i::after { top: 7px; }
.menu-btn[aria-expanded="true"] i::before { top: 4px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i::after { top: 4px; transform: rotate(-45deg); }

/* ---------- reveal ---------- */
.rise { animation: rise 1.1s var(--ease) var(--d, 0s) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; padding-top: 120px; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1; background: linear-gradient(transparent, var(--night)); }
.zellige { position: absolute; inset: 0; z-index: -2; }
.hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); align-items: center; gap: clamp(32px, 5vw, 80px); padding-bottom: 40px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(7, 9, 20, .6); font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-hi); }
html[lang="ar"] .kicker { letter-spacing: 0; }
.dot, .live-dot { position: relative; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.dot::after, .live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--ok); animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .6; } 70%, to { transform: scale(3.2); opacity: 0; } }
.hero h1 { margin: 26px 0 26px; font-family: var(--display); font-weight: 500; font-size: clamp(40px, 4.9vw, 78px); line-height: 1.02; letter-spacing: -.02em; }
html[lang="ar"] .hero h1 { font-size: clamp(38px, 4.8vw, 72px); line-height: 1.3; letter-spacing: 0; font-weight: 700; }
html[lang="fr"] .hero h1 { font-size: clamp(36px, 4.4vw, 70px); }
.split .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.split .line > span { display: inline-block; animation: lineUp 1.2s var(--ease) calc(.25s + var(--i) * .12s) both; }
@keyframes lineUp { from { transform: translateY(110%); } }
.rotator { display: inline-grid !important; }
.rotator b { grid-area: 1 / 1; white-space: nowrap; font-style: italic; font-weight: 500; background: linear-gradient(100deg, var(--gold-hi), var(--gold) 40%, var(--maj-hi) 110%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .08em; transition: transform .9s var(--ease), opacity .6s; }
html[lang="ar"] .rotator b { font-style: normal; font-weight: 700; }
.rotator b.wait { transform: translateY(105%); opacity: 0; transition: none; }
.rotator b.out { transform: translateY(-105%); opacity: 0; }
.lede { max-width: 560px; font-size: clamp(17px, 1.35vw, 19.5px); color: rgba(241, 236, 226, .78); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.proof { display: flex; align-items: center; gap: 18px; margin-top: 40px; max-width: 520px; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.proof-num b { display: block; font-family: "Bodoni Moda", serif; font-size: 52px; font-weight: 600; line-height: 1; background: linear-gradient(160deg, var(--gold-hi), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; }
.proof p { font-size: 15px; color: rgba(241, 236, 226, .75); }

.live-card { position: relative; padding: 22px; border-radius: 26px; background: linear-gradient(160deg, rgba(25, 30, 62, .78), rgba(10, 12, 28, .82)); border: 1px solid rgba(241, 236, 226, .1); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(207, 174, 107, .06), inset 0 1px 0 rgba(255, 255, 255, .06); transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); transition: transform .8s var(--ease); }
[dir="rtl"] .live-card { transform: perspective(1200px) rotateY(8deg) rotateX(4deg); }
.live-card:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.live-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(207, 174, 107, .6), transparent 35%, transparent 65%, rgba(90, 84, 240, .7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.live-head { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14.5px; margin-bottom: 14px; }
.live-head em { margin-inline-start: auto; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ok); }
.live-feed { position: relative; height: 252px; overflow: hidden; -webkit-mask: linear-gradient(#000 70%, transparent); mask: linear-gradient(#000 70%, transparent); }
.live-feed li { display: grid; grid-template-columns: 10px 1fr; column-gap: 12px; align-items: center; padding: 11px 14px; margin-bottom: 8px; border-radius: 14px; background: rgba(241, 236, 226, .04); border: 1px solid rgba(241, 236, 226, .06); }
.live-feed li::before { content: ""; grid-row: span 2; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 14px var(--c); }
.live-feed i { font-style: normal; font-weight: 600; font-size: 14px; }
.live-feed span { font-size: 12.5px; color: var(--muted); }
.live-feed li.enter { animation: feedIn .7s var(--ease) both; }
@keyframes feedIn { from { opacity: 0; transform: scale(.94); } }
.live-graph { position: relative; margin-top: 6px; padding: 14px 14px 10px; border-radius: 16px; background: rgba(7, 9, 20, .5); border: 1px solid rgba(241, 236, 226, .06); }
.live-graph svg { width: 100%; height: 70px; }
.live-graph .line { fill: none; stroke: var(--gold-hi); stroke-width: 2; stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.4s var(--ease) 1.5s forwards; vector-effect: non-scaling-stroke; }
.live-graph .area { opacity: 0; animation: fadeIn 1.4s ease 2.6s forwards; }
.live-graph span { position: absolute; top: 10px; inset-inline-start: 14px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

.hero-foot .wrap { display: flex; align-items: center; justify-content: space-between; padding-bottom: 28px; font-size: 13px; color: var(--muted); }
.world { display: inline-flex; align-items: center; gap: 8px; }
.world svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.4; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scroll-cue { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .2em; text-transform: uppercase; font-size: 11px; }
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; inset: 0; background: var(--gold-hi); animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(76px, 9vw, 124px); }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h2 { font-family: var(--display); font-weight: 500; font-size: clamp(34px, 4.6vw, 64px); line-height: 1.06; letter-spacing: -.015em; }
html[lang="ar"] h2 { line-height: 1.35; letter-spacing: 0; font-weight: 700; }
.section-head > p:last-child { margin-top: 20px; max-width: 620px; font-size: 18px; color: rgba(241, 236, 226, .72); }
.section-head h2 + p { margin-top: 20px; }

/* ---------- bento demos ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.demo { position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r); background: linear-gradient(170deg, rgba(23, 28, 58, .72), rgba(10, 12, 26, .9)); border: 1px solid rgba(241, 236, 226, .08); overflow: hidden; isolation: isolate; transition: border-color .5s, transform .6s var(--ease); }
.demo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(207, 174, 107, .12), transparent 60%); opacity: 0; transition: opacity .5s; }
.demo:hover { border-color: rgba(207, 174, 107, .32); }
.demo:hover::before { opacity: 1; }
.demo-crm { grid-column: span 4; } .demo-pos { grid-column: span 2; }
.demo-sec { grid-column: span 2; } .demo-web { grid-column: span 4; }
.demo-ads { grid-column: span 3; } .demo-soc { grid-column: span 3; }
.demo-stage { position: relative; height: 330px; padding: 22px; overflow: hidden; border-bottom: 1px solid var(--line-soft); background-image: radial-gradient(rgba(241, 236, 226, .07) 1px, transparent 1px); background-size: 18px 18px; }
.demo-copy { padding: 22px 24px 26px; }
.demo-copy .tag { display: inline-block; margin-bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(207, 174, 107, .12); color: var(--gold-hi); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
html[lang="ar"] .demo-copy .tag { letter-spacing: 0; }
.demo-copy h3 { font-family: var(--display); font-weight: 500; font-size: clamp(22px, 2vw, 27px); line-height: 1.15; }
html[lang="ar"] .demo-copy h3 { font-weight: 700; line-height: 1.4; }
.demo-copy p { margin-top: 8px; font-size: 15px; color: var(--muted); max-width: 560px; }
.demo-note { margin-top: 22px; font-size: 13px; color: var(--muted); text-align: center; }
.ui { font-family: "Schibsted Grotesk", var(--sans); }

/* CRM */
.crm { display: grid; grid-template-rows: auto 1fr; gap: 14px; height: 100%; }
.crm-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 10px; }
.kpi, .crm-bars { padding: 12px 14px; border-radius: 14px; background: rgba(7, 9, 20, .6); border: 1px solid rgba(241, 236, 226, .07); }
.kpi span, .ad-stats span { display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang="ar"] .kpi span, html[lang="ar"] .ad-stats span { letter-spacing: 0; text-transform: none; }
.kpi b, .ad-stats b { display: block; margin-top: 4px; font-size: 26px; font-weight: 700; line-height: 1.1; color: var(--text); direction: ltr; text-align: start; }
[dir="rtl"] .kpi b, [dir="rtl"] .ad-stats b { text-align: end; }
.crm-bars { display: flex; align-items: flex-end; gap: 6px; }
.crm-bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(var(--gold-hi), var(--gold-lo)); transform: scaleY(0); transform-origin: bottom; transition: transform 1s var(--ease); }
.crm-bars i:nth-child(odd) { background: linear-gradient(var(--maj-hi), var(--majorelle)); }
.demo.on .crm-bars i { transform: scaleY(1); }
.crm-bars i:nth-child(2) { transition-delay: .08s } .crm-bars i:nth-child(3) { transition-delay: .16s } .crm-bars i:nth-child(4) { transition-delay: .24s } .crm-bars i:nth-child(5) { transition-delay: .32s } .crm-bars i:nth-child(6) { transition-delay: .4s } .crm-bars i:nth-child(7) { transition-delay: .48s }
.crm-board { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.crm-board .col { border-radius: 14px; background: rgba(241, 236, 226, .03); border: 1px dashed rgba(241, 236, 226, .1); padding: 10px; }
.crm-board .col.won { border-color: rgba(79, 209, 165, .35); background: rgba(79, 209, 165, .05); }
.crm-board h5 { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .crm-board h5 { letter-spacing: 0; }
.crm-board .won h5 { color: var(--ok); }
.lead { --c: 0; --row: 0; position: absolute; top: calc(34px + var(--row) * 54px); inset-inline-start: calc((100% + 10px) / 4 * var(--c) + 6px); width: calc((100% - 30px) / 4 - 12px); padding: 8px 10px; border-radius: 10px; background: linear-gradient(160deg, #1d2348, #141933); border: 1px solid rgba(241, 236, 226, .1); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .7); transition: inset-inline-start .9s var(--ease), border-color .4s, box-shadow .4s; }
.lead b { display: block; font-size: 12.5px; line-height: 1.25; overflow-wrap: anywhere; }
.lead span { display: block; font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lead.l1 { --row: 0; } .lead.l2 { --row: 1; } .lead.l3 { --row: 2; }
.lead.moving { transform: rotate(-2deg) scale(1.04); box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .9); }
.lead.win { border-color: var(--ok); box-shadow: 0 0 0 3px rgba(79, 209, 165, .18), 0 0 30px rgba(79, 209, 165, .25); }
.lead.win::after { content: "✓"; position: absolute; top: 6px; inset-inline-end: 8px; font-size: 12px; color: var(--ok); }
.lead { transition: inset-inline-start .9s var(--ease), transform .5s var(--ease), border-color .4s, box-shadow .4s; }

/* POS */
.pos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; height: 100%; }
.pos-menu { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 8px; }
.pos-menu button { border: 1px solid rgba(241, 236, 226, .1); border-radius: 12px; background: rgba(241, 236, 226, .05); font-size: 12.5px; font-weight: 600; cursor: default; transition: transform .2s, background .3s, border-color .3s; padding: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.pos-menu button.press { transform: scale(.9); background: rgba(207, 174, 107, .25); border-color: var(--gold); }
.pos-ticket { position: relative; display: flex; flex-direction: column; padding: 12px; border-radius: 12px; background: #f4efe4; color: #1b1a22; font-size: 12px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .8); overflow: hidden; }
.pos-ticket::after { content: ""; position: absolute; inset: auto 0 0; height: 8px; background: radial-gradient(circle at 6px 8px, var(--night-2) 5px, transparent 5.5px) 0 0 / 12px 8px repeat-x; }
.t-head { font-weight: 700; padding-bottom: 6px; border-bottom: 1px dashed rgba(0, 0, 0, .25); }
.t-head span { color: #7a7484; font-weight: 500; }
.t-lines { flex: 1; padding: 6px 0; overflow: hidden; }
.t-lines li { display: flex; justify-content: space-between; gap: 6px; padding: 2px 0; animation: tIn .4s var(--ease) both; }
.t-lines li b { font-weight: 600; direction: ltr; }
@keyframes tIn { from { opacity: 0; transform: translateX(-10px); } }
.t-total { display: flex; justify-content: space-between; padding: 6px 0; border-top: 1px dashed rgba(0, 0, 0, .25); font-weight: 700; font-size: 14px; }
.t-total b { direction: ltr; }
.t-pay { margin: 4px 0 8px; padding: 8px; border-radius: 8px; background: #1b1a22; color: #f4efe4; text-align: center; font-weight: 600; transition: background .3s, transform .2s; }
.t-pay.press { background: var(--ok); color: #062018; transform: scale(.96); }
.t-stamp { position: absolute; top: 42%; left: 50%; padding: 4px 12px; border: 2.5px solid #1f9e74; border-radius: 8px; color: #1f9e74; font-weight: 800; font-size: 18px; letter-spacing: .08em; text-transform: uppercase; transform: translate(-50%, -50%) rotate(-12deg) scale(2); opacity: 0; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .25s; background: rgba(244, 239, 228, .85); white-space: nowrap; }
.t-stamp.show { opacity: 1; transform: translate(-50%, -50%) rotate(-12deg) scale(1); }

/* Security */
.sec { display: grid; grid-template-rows: 1fr auto; gap: 12px; height: 100%; }
.radar { position: relative; width: min(100%, 172px); aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle, rgba(79, 209, 165, .08), rgba(7, 9, 20, .7) 70%); border: 1px solid rgba(79, 209, 165, .3); overflow: visible; }
.radar .ring { position: absolute; inset: var(--in); border-radius: 50%; border: 1px solid rgba(79, 209, 165, .14); }
.ring.r1 { --in: 16%; } .ring.r2 { --in: 32%; } .ring.r3 { display: none; }
.sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(79, 209, 165, .45), transparent 22%); animation: spin 3.2s linear infinite; animation-play-state: paused; -webkit-mask: radial-gradient(circle, #000 69%, transparent 70%); mask: radial-gradient(circle, #000 69%, transparent 70%); }
.demo.on .sweep { animation-play-state: running; }
.shield { position: absolute; inset: 38%; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle, rgba(79, 209, 165, .3), transparent 70%); }
.shield svg { width: 100%; height: 100%; fill: rgba(79, 209, 165, .12); stroke: var(--ok); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.shield.hit { animation: hit .6s var(--ease); }
@keyframes hit { 30% { transform: scale(1.25); filter: drop-shadow(0 0 12px var(--ok)); } }
.dev { position: absolute; padding: 3px 7px; border-radius: 6px; background: rgba(7, 9, 20, .9); border: 1px solid rgba(241, 236, 226, .14); font-size: 10px; font-weight: 700; letter-spacing: .05em; white-space: nowrap; transform: translate(-50%, -50%); }
.d1 { left: 50%; top: 4%; } .d2 { left: 96%; top: 50%; } .d3 { left: 50%; top: 96%; } .d4 { left: 4%; top: 50%; }
.threat { position: absolute; width: 12px; height: 12px; margin: -6px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 14px var(--rose); opacity: 0; transition: left 1.2s var(--ease-io), top 1.2s var(--ease-io), opacity .3s, transform .3s; }
.threat.go { opacity: 1; left: 50% !important; top: 50% !important; }
.threat.dead { opacity: 0; transform: scale(3); }
.sec-log { display: grid; gap: 4px; font-size: 11.5px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
html[lang="ar"] .sec-log { font-family: var(--sans); }
.sec-log li { padding: 4px 8px; border-radius: 6px; background: rgba(241, 236, 226, .04); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .25; transition: opacity .4s, background .4s; }
.sec-log li b { color: var(--rose); font-weight: 700; }
.sec-log li:nth-child(3) b { color: var(--ok); }
.sec-log li.lit { opacity: 1; background: rgba(255, 107, 129, .08); }
.sec-log li:nth-child(3).lit { background: rgba(79, 209, 165, .08); }

/* Website */
.browser { position: relative; height: 100%; border-radius: 14px; overflow: hidden; background: #f6f1e7; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9); direction: ltr; }
.browser-bar { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #e6dfd1; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9bfae; }
.browser-bar i:first-child { background: #ec6a5e; } .browser-bar i:nth-child(2) { background: #f4bf4f; } .browser-bar i:nth-child(3) { background: #61c554; }
.browser-bar em { flex: 1; max-width: 260px; margin-inline: auto; padding: 3px 12px; border-radius: 6px; background: #f6f1e7; color: #6d665a; font-style: normal; font-size: 11px; text-align: center; }
.viewport { position: relative; height: calc(100% - 32px); overflow: hidden; }
.page { padding: 0 18px 18px; color: #2a241c; transition: transform 1.6s var(--ease-io); }
.page.down { transform: translateY(-38%); }
.w-nav { display: flex; justify-content: space-between; padding: 12px 0; font-size: 10px; font-weight: 700; letter-spacing: .18em; }
.w-hero { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; height: 150px; padding: 18px; border-radius: 12px; background: linear-gradient(120deg, rgba(20, 30, 60, .2), rgba(20, 30, 60, .6)), linear-gradient(160deg, #e7b77a, #c7774c 45%, #3b4f7a); color: #fff; overflow: hidden; }
.w-hero::before { content: ""; position: absolute; width: 70px; height: 70px; right: 30px; top: 20px; border-radius: 50%; background: radial-gradient(circle, #ffe7b3, #f4a85d); box-shadow: 0 0 40px #ffd28a; }
.w-title { position: relative; font-family: "Bodoni Moda", serif; font-size: 26px; line-height: 1.05; max-width: 260px; }
.w-btn { position: relative; align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: #fff; color: #2a241c; font-size: 11.5px; font-weight: 700; transition: transform .2s, background .3s; }
.w-btn.press { transform: scale(.92); background: var(--gold-hi); }
.w-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.w-row.two { grid-template-columns: 1.4fr 1fr; }
.w-row div { height: 64px; border-radius: 10px; background: linear-gradient(140deg, #e3d6bf, #cdb995); }
.w-row div:nth-child(2) { background: linear-gradient(140deg, #c9d3e3, #8ea0c4); }
.w-lines { display: grid; gap: 6px; margin-top: 12px; }
.w-lines i { height: 7px; border-radius: 4px; background: #e2d9c8; }
.cursor { position: absolute; left: 70%; top: 80%; width: 18px; height: 18px; z-index: 3; transition: left 1.1s var(--ease-io), top 1.1s var(--ease-io), transform .2s; }
.cursor::before { content: ""; position: absolute; inset: 0; background: #111; clip-path: polygon(0 0, 0 85%, 28% 64%, 46% 100%, 60% 94%, 43% 58%, 78% 58%); filter: drop-shadow(0 0 1px #fff) drop-shadow(0 0 1px #fff); }
.cursor.click { transform: scale(.8); }
.cursor.click::after { content: ""; position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--gold); animation: ripple .6s ease-out forwards; }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.w-toast { position: absolute; left: 50%; bottom: 16px; padding: 9px 16px; border-radius: 999px; background: #10261d; color: #b8f5dc; font-size: 12.5px; font-weight: 600; white-space: nowrap; transform: translate(-50%, 140%); opacity: 0; transition: transform .6s var(--ease), opacity .4s; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6); }
.w-toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Ads */
.ads { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 14px; height: 100%; align-items: center; }
.ad-card { padding: 10px; border-radius: 16px; background: #fff; color: #1b1a22; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9); transform: rotate(-3deg); transition: transform .6s var(--ease); }
[dir="rtl"] .ad-card { transform: rotate(3deg); }
.demo.on .ad-card { animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: rotate(-1deg) translateY(-6px); } }
.ad-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.ad-head i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #e7b77a, #c7774c); }
.ad-head b { display: block; font-size: 12px; }
.ad-head span { display: block; font-size: 10px; color: #7a7484; }
.ad-img { display: flex; align-items: flex-end; height: 140px; padding: 10px; border-radius: 10px; background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, .55)), radial-gradient(circle at 30% 30%, #f6d28b, #c7774c 50%, #4b2f48); color: #fff; font-family: "Bodoni Moda", var(--display), serif; font-size: 17px; line-height: 1.15; }
.ad-cta { margin-top: 8px; padding: 8px; border-radius: 8px; background: #ececf2; text-align: center; font-size: 12px; font-weight: 700; transition: background .3s, color .3s; }
.ad-cta.press { background: var(--majorelle); color: #fff; }
.ad-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ad-stats > div { padding: 10px 12px; border-radius: 12px; background: rgba(7, 9, 20, .6); border: 1px solid rgba(241, 236, 226, .07); min-width: 0; }
.ad-stats > div:nth-child(3) { grid-column: span 2; border-color: rgba(207, 174, 107, .35); }
.ad-stats > div:nth-child(3) b { color: var(--gold-hi); }
.ad-stats b { font-size: 22px; }
.ad-chart { grid-column: span 2; width: 100%; height: 70px; }
.ad-chart .grid { stroke: rgba(241, 236, 226, .08); fill: none; }
.ad-chart .ln { fill: none; stroke: var(--maj-hi); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 260; stroke-dashoffset: 260; vector-effect: non-scaling-stroke; }
.ad-chart.draw .ln { transition: stroke-dashoffset 2.2s var(--ease); stroke-dashoffset: 0; }

/* Social + scripts */
.soc { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; height: 100%; }
.reel { position: relative; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9); border: 3px solid #1a1d33; }
.reel-bg { position: absolute; inset: 0; background: radial-gradient(circle at 30% 25%, #f6d28b, transparent 45%), radial-gradient(circle at 70% 70%, #5a54f0, transparent 50%), linear-gradient(160deg, #3b2a50, #0e1328); }
.reel-bar { position: absolute; top: 8px; inset-inline: 8px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.reel-bar i { display: block; height: 100%; width: 0; background: #fff; }
.reel-bar i.run { width: 100%; transition: width var(--dur, 8s) linear; }
.reel-cap { position: absolute; inset-inline: 10px 38px; bottom: 34px; font-weight: 700; font-size: 13px; line-height: 1.25; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.reel-side { position: absolute; inset-inline-end: 6px; top: 22%; display: grid; gap: 10px; font-size: 13px; text-align: center; }
.reel-side span { display: grid; justify-items: center; }
.reel-side b { font-size: 9.5px; font-weight: 600; direction: ltr; }
.reel-views { position: absolute; inset-inline-start: 10px; bottom: 12px; font-size: 11px; font-weight: 600; direction: ltr; }
[dir="rtl"] .reel-views { direction: rtl; }
.reel-views b { direction: ltr; unicode-bidi: isolate; }
.script { padding: 14px; border-radius: 14px; background: rgba(7, 9, 20, .65); border: 1px solid rgba(241, 236, 226, .08); overflow: hidden; }
.s-head { margin-bottom: 10px; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.script p { position: relative; padding: 7px 0 7px 0; border-top: 1px solid rgba(241, 236, 226, .06); font-size: 13.5px; line-height: 1.4; min-height: 52px; transition: opacity .4s; opacity: .35; }
.script p.cur, .script p.done { opacity: 1; }
.script em { display: block; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .16em; color: var(--gold); }
html[lang="ar"] .script em { letter-spacing: 0; }
.script p:nth-of-type(1) em { color: var(--rose); } .script p:nth-of-type(3) em { color: var(--ok); } .script p:nth-of-type(4) em { color: var(--maj-hi); }
.script p.cur span::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-inline-start: 2px; vertical-align: -2px; background: var(--gold-hi); animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- results ---------- */
.results { position: relative; overflow: hidden; background: linear-gradient(180deg, transparent, rgba(90, 84, 240, .07) 50%, transparent); }
.results-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.ring-wrap { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-inline: auto; }
.ring-wrap::before { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(207, 174, 107, .16), transparent 70%); filter: blur(10px); }
svg.ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
svg.ring circle { fill: none; stroke: rgba(241, 236, 226, .07); stroke-width: 6; }
svg.ring .arc { stroke: var(--gold); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 540.4; stroke-dashoffset: 540.4; filter: drop-shadow(0 0 10px rgba(207, 174, 107, .6)); transition: stroke-dashoffset 2.6s var(--ease); }
.ring-wrap.in svg.ring .arc { stroke-dashoffset: 0; }
.ring-num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-num b { font-family: "Bodoni Moda", serif; font-weight: 500; font-size: clamp(60px, 6.4vw, 100px); font-weight: 600; line-height: .9; letter-spacing: -.02em; background: linear-gradient(160deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; }
.ring-num span { margin-top: 10px; font-size: 13px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
html[lang="ar"] .ring-num span { letter-spacing: 0; font-size: 16px; }
.results .lede { margin-top: 22px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.pillars > div { padding: 22px; border-radius: 18px; background: var(--card); border: 1px solid rgba(241, 236, 226, .07); transition: transform .5s var(--ease), border-color .4s; }
.pillars > div:hover { transform: translateY(-6px); border-color: var(--line); }
.pillars span { font-family: "Bodoni Moda", serif; font-size: 14px; color: var(--gold); }
.pillars h3 { margin: 10px 0 6px; font-size: 18px; font-weight: 600; }
.pillars p { font-size: 14.5px; color: var(--muted); }

/* ---------- services ---------- */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: var(--r); background: linear-gradient(170deg, rgba(23, 28, 58, .6), rgba(10, 12, 26, .85)); border: 1px solid rgba(241, 236, 226, .08); overflow: hidden; isolation: isolate; transition: border-color .4s, transform .6s var(--ease); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(90, 84, 240, .18), transparent 60%); opacity: 0; transition: opacity .5s; }
.svc:hover { transform: translateY(-6px); border-color: rgba(207, 174, 107, .35); }
.svc:hover::before { opacity: 1; }
.svc-ic { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 22px; border-radius: 16px; background: linear-gradient(140deg, rgba(207, 174, 107, .22), rgba(90, 84, 240, .18)); border: 1px solid var(--line); transition: transform .6s var(--ease); }
.svc:hover .svc-ic { transform: rotate(-8deg) scale(1.08); }
.svc-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--gold-hi); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-family: var(--display); font-weight: 500; font-size: 26px; line-height: 1.15; }
html[lang="ar"] .svc h3 { font-weight: 700; line-height: 1.4; }
.svc > p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.svc ul { display: grid; gap: 8px; margin: 20px 0 24px; font-size: 14.5px; }
.svc li { position: relative; padding-inline-start: 22px; }
.svc li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: 10px; height: 1px; background: var(--gold); }
.svc-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-hi); font-size: 14px; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.svc-cta span { transition: transform .4s var(--ease); }
[dir="rtl"] .svc-cta span { transform: scaleX(-1); }
.svc-cta:hover { background: var(--gold); color: var(--night); border-color: var(--gold); }
.svc-cta:hover span { transform: translateX(4px); }
[dir="rtl"] .svc-cta:hover span { transform: scaleX(-1) translateX(4px); }
.price-note { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 26px 30px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(100deg, rgba(207, 174, 107, .1), rgba(90, 84, 240, .08)); }
.price-note p { max-width: 720px; color: rgba(241, 236, 226, .8); }
.price-note b { color: var(--gold-hi); }

/* ---------- process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.process::before, .process::after { content: ""; position: absolute; top: 27px; inset-inline: 28px; height: 1px; background: var(--line-soft); }
.process::after { background: linear-gradient(90deg, var(--gold), var(--majorelle)); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .2s linear; }
[dir="rtl"] .process::after { transform-origin: right; background: linear-gradient(-90deg, var(--gold), var(--majorelle)); }
.step { position: relative; }
.step-n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 24px; border-radius: 50%; background: var(--night); border: 1px solid var(--line); font-family: "Bodoni Moda", serif; font-size: 18px; color: var(--gold-hi); transition: background .5s, color .5s, box-shadow .5s; }
.step.lit .step-n { background: var(--gold); color: var(--night); box-shadow: 0 0 0 8px rgba(207, 174, 107, .1); }
.step h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:first-child { border-top: 1px solid var(--line-soft); }
.faq summary { position: relative; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 19px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: linear-gradient(var(--gold), var(--gold)) center / 11px 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 11px no-repeat; transition: transform .4s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: rgba(207, 174, 107, .12); }
.faq details p { padding: 0 0 24px; max-width: 640px; color: var(--muted); }
.faq details[open] p { animation: rise .6s var(--ease); }

/* ---------- booking ---------- */
.book { position: relative; overflow: hidden; }
.book::before { content: ""; position: absolute; inset: 10% -10% auto auto; width: 60vw; height: 60vw; max-width: 800px; max-height: 800px; border-radius: 50%; background: radial-gradient(circle, rgba(90, 84, 240, .18), transparent 65%); pointer-events: none; }
[dir="rtl"] .book::before { inset: 10% auto auto -10%; }
.book-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.book .lede { margin-top: 22px; }
.bk-list { display: grid; gap: 14px; margin-top: 30px; }
.bk-list li { display: flex; align-items: center; gap: 14px; font-size: 16.5px; }
.bk-list li::before { content: "✓"; display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(79, 209, 165, .14); color: var(--ok); font-size: 13px; font-weight: 700; }
.bk-meta { display: grid; gap: 8px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: 15px; }
.bk-meta b { color: var(--text); font-weight: 600; margin-inline-end: 6px; }
.form { position: relative; padding: clamp(22px, 3vw, 36px); border-radius: 28px; background: linear-gradient(165deg, rgba(25, 30, 62, .85), rgba(10, 12, 28, .92)); border: 1px solid rgba(241, 236, 226, .1); box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9); }
.form::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(207, 174, 107, .7), transparent 30%, transparent 70%, rgba(90, 84, 240, .7)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.form-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 18px; }
.form-head em { margin-inline-start: auto; font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ok); padding: 4px 10px; border-radius: 999px; background: rgba(79, 209, 165, .12); }
.badge { direction: ltr; unicode-bidi: isolate; padding: 5px 10px; border-radius: 10px; background: var(--gold); color: var(--night); font-size: 12.5px; font-weight: 800; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.field { position: relative; margin-bottom: 14px; }
.field input, .field textarea { width: 100%; min-height: 58px; padding: 24px 16px 8px; border-radius: 14px; border: 1px solid rgba(241, 236, 226, .12); background: rgba(7, 9, 20, .55); font-size: 16px; outline: none; resize: vertical; transition: border-color .3s, background .3s, box-shadow .3s; }
.field textarea { min-height: 96px; }
.field input:focus, .field textarea:focus { border-color: var(--gold); background: rgba(7, 9, 20, .8); box-shadow: 0 0 0 4px rgba(207, 174, 107, .12); }
.field input[type="date"] { color-scheme: dark; }
.field label { position: absolute; top: 18px; inset-inline-start: 17px; color: var(--muted); font-size: 15px; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; white-space: nowrap; }
[dir="rtl"] .field label { transform-origin: right top; }
.field input:focus + label, .field input:not(:placeholder-shown) + label, .field textarea:focus + label, .field textarea:not(:placeholder-shown) + label, .field label.up { transform: translateY(-11px) scale(.78); color: var(--gold-hi); }
.field.bad input { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(255, 107, 129, .12); }
fieldset { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(241, 236, 226, .14); background: rgba(241, 236, 226, .03); font-size: 14px; transition: background .3s, border-color .3s, color .3s, transform .3s var(--ease); }
.chip:hover span { border-color: rgba(207, 174, 107, .5); }
.chip input:checked + span { background: rgba(207, 174, 107, .16); border-color: var(--gold); color: var(--gold-hi); }
.chip input:checked + span::before { content: "✓"; font-size: 12px; }
.chip input:focus-visible + span { outline: 2px solid var(--gold-hi); outline-offset: 2px; }
.chip.flash span { animation: flash 1.2s var(--ease); }
@keyframes flash { 30% { transform: scale(1.08); box-shadow: 0 0 0 6px rgba(207, 174, 107, .2); } }
.slots { margin-bottom: 14px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-foot .btn { flex: 1 1 260px; }
.form-note { flex: 1 1 200px; font-size: 13.5px; color: var(--muted); }
.form-note.ok { color: var(--ok); }
.form-note.err { color: var(--rose); }

/* ---------- footer ---------- */
.site-footer { padding-top: clamp(70px, 9vw, 120px); border-top: 1px solid var(--line-soft); overflow: hidden; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; }
.foot-claim { max-width: 560px; margin-bottom: 26px; font-family: var(--display); font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; }
html[lang="ar"] .foot-claim { line-height: 1.4; font-weight: 700; }
.foot-top nav { display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 15px; }
.foot-top nav a:hover { color: var(--text); }
.wordmark { display: block; margin-top: 40px; font-family: "Bodoni Moda", serif; font-weight: 500; font-size: clamp(60px, 17.5vw, 250px); line-height: .8; letter-spacing: 0; white-space: nowrap; text-align: center; color: transparent; -webkit-text-stroke: 1px rgba(207, 174, 107, .35); background: linear-gradient(180deg, rgba(207, 174, 107, .25), transparent 85%); -webkit-background-clip: text; background-clip: text; user-select: none; direction: ltr; }
.foot-bottom { border-top: 1px solid var(--line-soft); padding-block: 22px; font-size: 13.5px; color: var(--muted); }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }

/* floating CTA */
.wa-float { position: fixed; z-index: 40; bottom: max(18px, env(safe-area-inset-bottom)); inset-inline-end: 18px; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-hi), var(--gold)); color: #16120a; font-weight: 700; font-size: 14.5px; box-shadow: 0 16px 40px -10px rgba(207, 174, 107, .6); transform: translateY(140%); opacity: 0; transition: transform .6s var(--ease), opacity .4s; }
.wa-float svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.wa-float.show { transform: none; opacity: 1; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .demo-crm, .demo-web { grid-column: span 2; }
  .demo-pos, .demo-sec, .demo-ads, .demo-soc { grid-column: span 1; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ads { grid-template-columns: 1fr; }
  .ad-card { display: none; }
  .soc { grid-template-columns: 120px minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav-links { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; padding: 12px var(--gutter) 28px; background: rgba(7, 9, 20, .98); border-bottom: 1px solid var(--line-soft); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .45s var(--ease), opacity .3s, visibility 0s .45s; font-size: 18px; }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; transition: transform .45s var(--ease), opacity .3s; }
  .nav-links > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-links .lang { align-self: flex-start; margin: 18px 0; }
  .nav-links .btn { min-height: 52px; }
  .site-header:has(.nav-links.open) { background: rgba(7, 9, 20, .97); }
  .hero-grid { grid-template-columns: 1fr; padding-top: 10px; }
  .hero-live { max-width: 460px; width: 100%; }
  .live-card, [dir="rtl"] .live-card { transform: none; }
  .results-grid, .faq-grid, .book-grid { grid-template-columns: 1fr; }
  .ring-wrap { width: min(80%, 340px); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .process::before, .process::after { display: none; }
  .price-note { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav { height: 66px; }
  .nav-links { top: 66px; }
  .brand img { width: 34px; height: 34px; }
  .brand-name { font-size: 18px; }
  .hero { padding-top: 96px; }
  .hero h1 { margin: 20px 0; }
  .kicker { font-size: 10.5px; letter-spacing: .05em; padding: 6px 12px 6px 10px; }
  .live-card { padding: 16px; border-radius: 22px; }
  .live-graph svg { height: 54px; }
  .demo-copy { padding: 18px 18px 22px; }
  .svc { padding: 24px 20px 22px; }
  .section-head { margin-bottom: 36px; }
  .price-note { padding: 22px 20px; }
  .price-note .btn, .foot-top .btn { width: 100%; }
  .form { border-radius: 22px; }
  .hero-ctas .btn { width: 100%; }
  .proof-num b { font-size: 44px; }
  .live-feed { height: 196px; }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .demo-crm, .demo-web, .demo-pos, .demo-sec, .demo-ads, .demo-soc { grid-column: auto; }
  .demo-stage { height: 300px; padding: 16px; }
  .crm-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .crm-bars { display: none; }
  .kpi { padding: 10px; }
  .kpi b { font-size: 21px; }
  .lead { padding: 6px 8px; top: calc(32px + var(--row) * 50px); }
  .lead span { display: none; }
  .lead b { font-size: 10.5px; }
  .radar { width: 150px; }
  .sec-log li { padding: 3px 8px; }
  .ads { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .ad-card { display: block; padding: 8px; }
  .ad-img { height: 110px; font-size: 14px; }
  .ad-stats > div:nth-child(3) { grid-column: span 2; }
  .ad-stats b { font-size: 17px; }
  .soc { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; }
  .script { padding: 10px; }
  .script p { font-size: 12.5px; min-height: 48px; }
  .services { grid-template-columns: minmax(0, 1fr); }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .process { grid-template-columns: minmax(0, 1fr); }
  .faq summary { font-size: 17px; }
  .foot-top { flex-direction: column; align-items: flex-start; }
  .wa-float span { display: none; }
  .wa-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .hero-foot .scroll-cue { display: none; }
}
@media (hover: none) { .glow-clip { display: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
