/* ============ Tokens ============ */
:root {
  --bg: #07060b;
  --bg-2: #0d0b14;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f5f1ea;
  --muted: #a49fb0;
  --dim: #6f6a7c;
  --pink: #ff7ab6;
  --violet: #9b7bff;
  --gold: #ffb86b;
  --cyan: #53d3ff;
  --grad: linear-gradient(110deg, #ff7ab6 0%, #b07cff 45%, #ffb86b 100%);
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Manrope", "Cairo", system-ui, sans-serif;
  --serif: "Instrument Serif", "Playfair Display", Georgia, serif;
  --gutter: clamp(16px, 4vw, 48px);
}

[dir="rtl"] {
  --sans: "Cairo", "Manrope", system-ui, sans-serif;
  --serif: "Cairo", serif;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--pink); color: #120a12; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
[dir="rtl"] em { font-style: normal; font-weight: 800; }
.grad, .section-title em, .cta-title em {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }

.noise {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}

/* ============ Preloader ============ */
.preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px;
}
.pl-inner { display: flex; align-items: flex-end; gap: 28px; }
.pl-logo { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: clamp(32px, 6vw, 64px); letter-spacing: .08em; }
.pl-logo .logo-mark { width: .7em; height: .7em; }
.pl-count { font-family: var(--serif); font-size: clamp(32px, 6vw, 64px); line-height: 1; color: var(--muted); min-width: 2.6em; direction: ltr; }
.pl-count small { font-size: .5em; }
.pl-bar { width: min(320px, 70vw); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.pl-bar i { display: block; height: 100%; width: 0; background: var(--grad); }

/* ============ Cursor ============ */
.cursor { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; display: none; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--text); }
.cursor-ring { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.35); transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s; }
.cursor.hover .cursor-ring { width: 70px; height: 70px; background: rgba(255,122,182,.12); border-color: transparent; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
}

/* ============ Logo ============ */
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .14em; font-size: 18px; direction: ltr; }
.logo-mark {
  width: 22px; height: 22px; border-radius: 7px; background: var(--grad); position: relative; display: inline-block;
  box-shadow: 0 0 24px rgba(255,122,182,.45);
}
.logo-mark::after { content: ""; position: absolute; inset: 6px; border-radius: 3px; background: var(--bg); transform: rotate(45deg) scale(.7); }

/* ============ Buttons ============ */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: 15px; white-space: nowrap; letter-spacing: .01em;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s, border-color .3s;
}
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--text); color: #0b0910; overflow: hidden; isolation: isolate; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; background: var(--grad); z-index: -1;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn-primary:hover::before { transform: translateY(0); }
.btn-primary:hover { box-shadow: 0 14px 40px -10px rgba(255,122,182,.6); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(255,255,255,.3); }
.arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
[dir="rtl"] .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(4px); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ============ Nav ============ */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 100;
  width: calc(100% - 2 * var(--gutter)); max-width: 1240px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 10px 10px 22px; border-radius: 999px;
  background: rgba(13, 11, 20, 0.45); border: 1px solid transparent;
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  transition: background .4s, border-color .4s, top .4s var(--ease);
}
[dir="rtl"] .nav { padding: 10px 22px 10px 10px; }
.nav.scrolled { background: rgba(13, 11, 20, 0.78); border-color: var(--line); top: 10px; }
.nav.hidden { top: -90px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); font-weight: 600; transition: color .3s, background .3s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  font-weight: 700; font-size: 15px; font-family: "Cairo", var(--sans); transition: background .3s;
}
.lang-btn:hover { background: var(--surface-2); }
.burger { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 22px; }
.menu-open .burger span:first-child { top: 19px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 19px; transform: rotate(-45deg); }
.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: rgba(7,6,11,.96); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
}
.mobile-menu a:not(.btn) { font-size: 30px; font-weight: 700; }
.mobile-menu .btn { margin-top: 12px; }
.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }

/* ============ Section shared ============ */
section { position: relative; }
.section-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
[dir="rtl"] .section-kicker { letter-spacing: 0; font-size: 15px; }
.section-kicker::before { content: ""; width: 28px; height: 1px; background: var(--grad); }
.section-kicker.center { display: flex; justify-content: center; text-align: center; }
.section-kicker.center::before { display: none; }
.section-title {
  margin: 0; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; max-width: 19ch;
}
[dir="rtl"] .section-title { letter-spacing: 0; line-height: 1.25; }
.section-title em { padding-inline-end: .06em; }
.section-head { margin-bottom: clamp(40px, 6vw, 80px); }

/* ============ Hero ============ */
.hero { min-height: 100svh; display: flex; align-items: center; padding: 130px 0 90px; overflow: hidden; }
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora i { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.aurora .a1 { width: 46vw; height: 46vw; background: #ff4fa0; top: -18vw; right: -8vw; animation: drift1 18s ease-in-out infinite alternate; }
.aurora .a2 { width: 40vw; height: 40vw; background: #6a3dff; bottom: -18vw; left: -10vw; animation: drift2 22s ease-in-out infinite alternate; }
.aurora .a3 { width: 26vw; height: 26vw; background: #ff9a3d; top: 30%; left: 40%; opacity: .25; animation: drift1 26s ease-in-out infinite alternate-reverse; }
.aurora.soft i { opacity: .28; }
@keyframes drift1 { to { transform: translate(-8vw, 6vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(10vw, -6vw) scale(1.1); } }
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  opacity: .5;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 28px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #53ffb0; box-shadow: 0 0 0 0 rgba(83,255,176,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(83,255,176,0); } 100% { box-shadow: 0 0 0 0 rgba(83,255,176,0); } }
.hero-title { margin: 0 0 28px; font-size: clamp(44px, 6.4vw, 96px); line-height: .98; font-weight: 700; letter-spacing: -0.045em; }
[dir="rtl"] .hero-title { letter-spacing: 0; line-height: 1.25; font-weight: 800; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: block; }
.hero-title em { padding-inline-end: .08em; }
.hero-sub { max-width: 520px; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); margin: 0 0 36px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-proof { display: flex; align-items: center; gap: 16px; }
.hero-proof p { margin: 0; color: var(--muted); font-size: 14px; }
.hero-proof strong { color: var(--text); }
.avatars { display: flex; direction: ltr; }
.avatars span {
  width: 38px; height: 38px; border-radius: 50%; background: var(--g, var(--surface-2)); border: 2px solid var(--bg);
  display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #140b14; margin-left: -10px;
}
.avatars span:first-child { margin-left: 0; }
.avatars .more { background: var(--surface-2); color: var(--text); }

.hero-visual { position: relative; height: 560px; direction: ltr; }
.hv-item { position: absolute; }
.hv-card {
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08);
}
.hv-main-wrap { top: 70px; left: 8%; right: 4%; }
.hv-main { padding: 26px; direction: ltr; }
.hv-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: #ff4f6d; animation: pulse 1.6s infinite; box-shadow: 0 0 0 0 rgba(255,79,109,.6); }
.hv-tag { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.hv-big { display: flex; align-items: baseline; gap: 10px; }
.hv-big .num { font-size: 56px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.hv-big small { color: var(--muted); font-size: 15px; }
.spark { width: 100%; height: 100px; margin: 14px 0 18px; }
.spark-line { stroke-dasharray: 600; stroke-dashoffset: 0; }
.hv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hv-stats div { padding: 12px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid var(--line); }
.hv-stats b { display: block; font-size: 20px; }
.hv-stats span { font-size: 12px; color: var(--muted); }
.hv-creator { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 999px; }
.hv-creator b { display: block; font-size: 14px; }
.hv-creator span { font-size: 12px; color: var(--muted); }
.av { width: 44px; height: 44px; border-radius: 50%; background: var(--g); display: grid; place-items: center; font-weight: 800; color: #140b14 !important; font-size: 17px !important; flex: none; }
.verified { width: 20px; height: 20px; border-radius: 50%; background: var(--cyan); color: #04131a !important; font-size: 11px !important; display: grid; place-items: center; font-weight: 800; }
.hv-c1-wrap { top: 0; left: 0; }
.hv-c2-wrap { bottom: 64px; right: 0; }
.hv-notif-wrap { bottom: 0; left: 4%; }
.hv-notif { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.hv-notif b { display: block; font-size: 14px; }
.hv-notif span { font-size: 12px; color: var(--muted); }
.ok { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, #53ffb0, #2bb673); color: #03140b; display: grid; place-items: center; font-weight: 800; flex: none; }
.badge-wrap { top: -40px; right: -2%; z-index: 2; }
.badge-rotate { width: 128px; height: 128px; position: relative; }
.badge-rotate svg { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge-rotate text { font-size: 15.5px; font-weight: 700; letter-spacing: 3.2px; fill: var(--text); font-family: "Manrope", sans-serif; }
.badge-core { position: absolute; inset: 34px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; color: #140b14; font-size: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
.float-a { animation: float 7s ease-in-out infinite; }
.float-b { animation: float 6s ease-in-out infinite -2s; }
.float-c { animation: float 8s ease-in-out infinite -4s; }
@keyframes float { 50% { transform: translateY(-14px); } }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--line-2); border-radius: 20px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: scrollHint 1.8s var(--ease) infinite; }
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }

/* ============ Brands marquee ============ */
.brands { padding: 70px 0 60px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(255,255,255,.015)); }
.brands .section-kicker { margin-bottom: 40px; padding: 0 var(--gutter); }
.marquee {
  overflow: hidden; direction: ltr; padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 52s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-item {
  flex: none; display: flex; align-items: center; justify-content: center; height: 76px; min-width: 200px; padding: 0 34px; margin-right: 14px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface);
  color: #f5f1ea; transition: border-color .4s, background .4s, transform .4s var(--ease); white-space: nowrap;
}
/* Every logo is forced to the same single colour */
.logo-item img { height: var(--h, 32px); width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: .75; transition: opacity .4s; }
.logo-item:hover img { opacity: 1; }
.logo-item:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-3px); }
.w-serif { font-family: "Playfair Display", serif; font-weight: 600; font-size: 26px; letter-spacing: .02em; }
.w-serif-i { font-family: "Playfair Display", serif; font-style: italic; font-weight: 500; font-size: 26px; }
.w-heavy { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 24px; letter-spacing: .04em; }
.w-wide { font-family: "Montserrat", sans-serif; font-weight: 500; font-size: 19px; letter-spacing: .34em; }
.w-round { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 26px; letter-spacing: -.02em; }
.w-thin { font-family: "Manrope", sans-serif; font-weight: 300; font-size: 24px; letter-spacing: .12em; }
.w-parishia { font-family: "Tajawal", "Montserrat", sans-serif; font-weight: 800; font-size: 22px; letter-spacing: .14em; }

/* ============ Stats ============ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: clamp(70px, 10vw, 130px); padding-bottom: clamp(30px, 5vw, 60px); }
.stat { padding: 10px 24px; border-inline-start: 1px solid var(--line); }
.stat b { display: block; font-size: clamp(42px, 5.4vw, 80px); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; direction: ltr; text-align: start; }
[dir="rtl"] .stat b { text-align: right; }
.stat b span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat > span { color: var(--muted); font-size: 15px; }

/* ============ Statement ============ */
.statement { padding-top: clamp(70px, 10vw, 140px); padding-bottom: clamp(70px, 10vw, 140px); }
.statement-text { margin: 0; font-size: clamp(28px, 4vw, 58px); line-height: 1.18; font-weight: 600; letter-spacing: -.025em; max-width: 28ch; }
[dir="rtl"] .statement-text { letter-spacing: 0; line-height: 1.5; }
.statement-text .w { opacity: .14; transition: none; }
.no-anim .statement-text .w { opacity: 1; }

/* ============ Services ============ */
.services { padding-bottom: clamp(80px, 12vw, 160px); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc {
  position: relative; padding: 34px 30px 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; transition: transform .5s var(--ease), border-color .4s, background .4s; display: flex; flex-direction: column;
}
.svc::before {
  content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%;
  left: var(--mx, 50%); top: var(--my, 50%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,122,182,.22), transparent 65%); opacity: 0; transition: opacity .4s; pointer-events: none;
}
.svc:hover { border-color: var(--line-2); transform: translateY(-6px); }
.svc:hover::before { opacity: 1; }
.svc-num { position: absolute; top: 28px; inset-inline-end: 28px; font-family: var(--serif); font-size: 22px; color: var(--dim); direction: ltr; }
.svc-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); }
.svc-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--pink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { margin: 56px 0 10px; font-size: 22px; letter-spacing: -.01em; }
.svc p { margin: 0; color: var(--muted); font-size: 15px; }

/* ============ Industries (horizontal) ============ */
.industries { padding: clamp(80px, 10vw, 120px) 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.ind-head { margin-bottom: 56px; }
.h-wrap { overflow: hidden; }
.h-track { display: flex; gap: 20px; padding: 0 var(--gutter); width: max-content; direction: ltr; }
.h-card {
  width: min(420px, 78vw); min-height: 480px; flex: none; border-radius: 28px; padding: 32px;
  background: linear-gradient(170deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); border: 1px solid var(--line);
  display: flex; flex-direction: column; position: relative; overflow: hidden;
}
[dir="rtl"] .h-card { direction: rtl; }
.h-num { font-family: var(--serif); font-size: 22px; color: var(--dim); direction: ltr; }
.h-art { position: relative; height: 200px; margin: 18px 0 26px; }
.h-art i { position: absolute; border-radius: 50%; }
.h-art i:nth-child(1) { width: 170px; height: 170px; left: 50%; top: 50%; transform: translate(-50%, -50%); background: linear-gradient(135deg, var(--c1), var(--c2)); filter: blur(2px); box-shadow: 0 0 80px -10px var(--c1); }
.h-art i:nth-child(2) { width: 230px; height: 230px; left: 50%; top: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(255,255,255,.18); animation: spin 20s linear infinite; border-top-color: var(--c2); }
.h-art i:nth-child(3) { width: 60px; height: 60px; right: 18%; top: 8%; background: rgba(255,255,255,.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.2); animation: float 5s ease-in-out infinite; }
.h-card h3 { margin: auto 0 10px; font-size: 26px; letter-spacing: -.02em; }
.h-card p { margin: 0 0 20px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 12px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }

/* ============ Process ============ */
.process { padding-top: clamp(90px, 12vw, 160px); padding-bottom: clamp(80px, 10vw, 130px); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps-line { position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: var(--line-2); }
.steps-line i { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
[dir="rtl"] .steps-line i { transform-origin: right; }
.no-anim .steps-line i { transform: scaleX(1); }
.step { position: relative; }
.step-dot {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 18px;
  background: var(--bg); border: 1px solid var(--line-2); margin-bottom: 26px; position: relative;
}
.step-dot::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--grad); opacity: .14; }
.step h3 { margin: 0 0 8px; font-size: 21px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ============ Results ============ */
.results { padding-bottom: clamp(90px, 12vw, 160px); }
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.res-card {
  position: relative; border-radius: var(--radius); padding: 32px; min-height: 320px; overflow: hidden; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line);
}
.res-card::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; inset-inline-end: -80px; top: -90px;
  background: linear-gradient(135deg, var(--c1), var(--c2)); filter: blur(60px); opacity: .35; transition: opacity .5s, transform .8s var(--ease);
}
.res-card:hover::after { opacity: .6; transform: scale(1.2); }
.res-cat { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; position: relative; z-index: 1; }
[dir="rtl"] .res-cat { letter-spacing: 0; }
.res-num { margin-top: auto; font-size: clamp(64px, 7vw, 100px); line-height: 1; font-weight: 800; letter-spacing: -.05em; position: relative; z-index: 1; direction: ltr; text-align: start; }
.res-card p { margin: 12px 0 0; color: var(--muted); position: relative; z-index: 1; }

/* ============ Join / Form ============ */
.join { padding: clamp(90px, 12vw, 150px) 0; background: var(--bg-2); border-top: 1px solid var(--line); overflow: hidden; }
.join-inner { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.join-copy { position: sticky; top: 120px; }
.join-sub { color: var(--muted); font-size: 18px; max-width: 440px; margin: 24px 0 32px; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.perks li::before { content: "✓"; width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--pink); }

.form-card {
  position: relative; padding: clamp(22px, 3vw, 36px); border-radius: 30px;
  background: linear-gradient(170deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line-2);
  box-shadow: 0 40px 120px -40px rgba(155,123,255,.35);
}
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: rgba(0,0,0,.35); border: 1px solid var(--line); margin-bottom: 28px; }
.tab { position: relative; z-index: 1; height: 46px; border: 0; background: transparent; border-radius: 999px; cursor: pointer; font-weight: 700; color: var(--muted); transition: color .4s; }
.tab.active { color: #0b0910; }
.tab-pill { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--text); transition: transform .5s var(--ease); }
.tabs.brand .tab-pill { transform: translateX(100%); }
[dir="rtl"] .tab-pill { left: auto; right: 5px; }
[dir="rtl"] .tabs.brand .tab-pill { transform: translateX(-100%); }

.reg-form { display: none; flex-direction: column; gap: 16px; }
.reg-form.active { display: flex; animation: fadeUp .6s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--radius-sm); background: rgba(0,0,0,.3);
  border: 1px solid var(--line-2); outline: none; transition: border-color .3s, box-shadow .3s, background .3s; font-size: 15px;
}
.field textarea { resize: vertical; min-height: 90px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a49fb0' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-inline-end: 40px;
}
[dir="rtl"] .field select { background-position: left 16px center; }
.field select option { background: #15121d; color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(155,123,255,.18); background: rgba(0,0,0,.4); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff5f6d; box-shadow: 0 0 0 4px rgba(255,95,109,.14); }
.chips-field.invalid .chips { outline: 1px solid #ff5f6d; outline-offset: 6px; border-radius: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; color: var(--muted); transition: all .3s var(--ease); user-select: none; }
.chip:hover span { border-color: rgba(255,255,255,.3); color: var(--text); }
.chip input:checked + span { background: var(--grad); color: #140b14; border-color: transparent; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(155,123,255,.4); }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--pink); }
.consent.invalid { color: #ff8a95; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .8s linear infinite; }
.btn.loading .spinner { display: inline-block; }
.btn.loading { pointer-events: none; opacity: .85; }

.success { display: none; flex-direction: column; align-items: center; text-align: center; padding: 40px 10px; }
.success.show { display: flex; animation: fadeUp .6s var(--ease); }
.success h3 { font-size: 32px; margin: 18px 0 8px; }
.success p { color: var(--muted); max-width: 380px; margin: 0 0 26px; }
.check { width: 96px; height: 96px; }
.check circle { fill: none; stroke: url(#sg); stroke: var(--pink); stroke-width: 3; stroke-dasharray: 230; stroke-dashoffset: 230; }
.check path { fill: none; stroke: var(--text); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; }
.success.show .check circle { animation: draw .8s var(--ease) forwards; }
.success.show .check path { animation: draw .5s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ============ FAQ ============ */
.faq { padding-top: clamp(90px, 12vw, 150px); padding-bottom: clamp(60px, 8vw, 100px); display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.faq .section-head { margin: 0; position: sticky; top: 120px; }
.faq-list { display: grid; gap: 12px; }
.qa { border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.qa[open] { border-color: var(--line-2); background: var(--surface-2); }
.qa summary { list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 26px; font-weight: 300; line-height: 1; transition: transform .4s var(--ease); color: var(--pink); flex: none; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0; padding: 0 26px 24px; color: var(--muted); }

/* ============ CTA ============ */
.cta { padding: clamp(80px, 12vw, 160px) 0 0; text-align: center; overflow: hidden; }
.cta-title { margin: 0 0 40px; font-size: clamp(54px, 11vw, 180px); line-height: .92; letter-spacing: -.055em; font-weight: 700; }
[dir="rtl"] .cta-title { letter-spacing: 0; line-height: 1.2; }
.cta-title em { padding-inline-end: .06em; }
.cta-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-marquee { margin-top: clamp(70px, 10vw, 130px); overflow: hidden; direction: ltr; border-top: 1px solid var(--line); padding: 26px 0; }
.cta-marquee-track { display: flex; width: max-content; gap: 48px; animation: marquee 30s linear infinite; }
.cta-marquee span { font-size: clamp(48px, 8vw, 120px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.22); }
.cta-marquee span:nth-child(4n+2), .cta-marquee span:nth-child(4n) { -webkit-text-stroke: 0; color: var(--pink); font-size: clamp(30px, 5vw, 70px); align-self: center; }

/* ============ Footer ============ */
.footer { border-top: 1px solid var(--line); padding: 70px 0 30px; background: var(--bg-2); }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.f-brand .f-loc { margin-top: 10px; color: var(--dim); font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.f-brand p { color: var(--muted); max-width: 300px; margin: 18px 0 0; }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col h4 { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .16em; color: var(--dim); }
[dir="rtl"] .f-col h4 { letter-spacing: 0; }
.f-col a, .f-col span { color: var(--muted); font-size: 15px; transition: color .3s; }
.f-col a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* ============ Initial anim states (only when JS animations run) ============ */
.js-anim .hero-title .line > span { transform: translateY(110%); }
.js-anim .hero-anim, .js-anim .hv-item { opacity: 0; }
.js-anim [data-reveal] { opacity: 0; transform: translateY(40px); }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .burger { display: block; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 480px; max-width: 560px; width: 100%; margin: 20px auto 0; }
  .svc-grid, .res-grid { grid-template-columns: 1fr 1fr; }
  .join-inner, .faq { grid-template-columns: 1fr; }
  .join-copy, .faq .section-head { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .h-wrap { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .h-wrap::-webkit-scrollbar { display: none; }
  .h-card { scroll-snap-align: center; min-height: 440px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps-line { display: none; }
}
@media (max-width: 680px) {
  .logo-item img { height: calc(var(--h, 32px) * .8); max-width: 120px; }
  .hide-sm { display: none; }
  .nav { padding: 8px 8px 8px 18px; }
  [dir="rtl"] .nav { padding: 8px 18px 8px 8px; }
  .hero { padding-top: 120px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-visual { height: 420px; }
  .hv-main-wrap { left: 0; right: 0; top: 64px; }
  .hv-main { padding: 20px; }
  .hv-big .num { font-size: 42px; }
  .badge-rotate { width: 96px; height: 96px; }
  .badge-core { inset: 26px; font-size: 18px; }
  .hv-c2-wrap { bottom: 74px; }
  .stats { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stat { padding: 6px 16px; }
  .svc-grid, .res-grid, .row { grid-template-columns: 1fr; }
  .svc { min-height: 0; }
  .steps { grid-template-columns: 1fr; }
  .logo-item { min-width: 160px; height: 64px; padding: 0 24px; }
  .w-serif, .w-serif-i, .w-round { font-size: 21px; }
  .w-heavy, .w-thin { font-size: 19px; }
  .w-wide, .w-parishia { font-size: 16px; }
  .footer-inner { grid-template-columns: 1fr; }
  .qa summary { padding: 18px 20px; font-size: 16px; }
  .qa p { padding: 0 20px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
