/* IBM Plex Sans Arabic 400 arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-00b30d.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* IBM Plex Sans Arabic 500 arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-32d758.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* IBM Plex Sans Arabic 600 arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-dda025.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* IBM Plex Sans Arabic 700 arabic */
@font-face {
  font-family: 'IBM Plex Sans Arabic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-arabic-arabic-5ab42d.woff2) format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-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, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* Inter 400 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-567244.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 500 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-567244.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 600 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-567244.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 700 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-567244.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   Noor ERP — "Nebula" design system (v2)
   Dark, glassy, 3D. Logical properties so one stylesheet serves RTL + LTR.
   ========================================================================== */
:root {
  --bg: #04050d;
  --bg-2: #080a1a;
  --bg-3: #0d1028;
  --ink: #eef0ff;
  --ink-2: #c9cdf0;
  --muted: #8f95bd;
  --line: rgba(160, 170, 255, .12);
  --line-2: rgba(160, 170, 255, .22);
  --glass: rgba(18, 22, 52, .55);
  --glass-2: rgba(28, 32, 72, .55);
  --violet: #8b5cf6;
  --indigo: #6366f1;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --pink: #e879f9;
  --green: #34d399;
  --amber: #fbbf24;
  --grad: linear-gradient(120deg, #a78bfa 0%, #818cf8 35%, #38bdf8 70%, #22d3ee 100%);
  --grad-btn: linear-gradient(120deg, #7c3aed, #6366f1 50%, #0ea5e9);
  --r-xs: 8px; --r-sm: 12px; --r: 18px; --r-lg: 26px; --r-xl: 34px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .65), 0 0 0 1px var(--line);
  --glow: 0 0 0 1px rgba(139, 92, 246, .35), 0 10px 40px -8px rgba(139, 92, 246, .55);
  --container: 1240px;
  --font: 'IBM Plex Sans Arabic', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-en: 'Inter', 'IBM Plex Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
html[lang="en"] body { font-family: var(--font-en); line-height: 1.65; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -.03em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(139, 92, 246, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .flip { transform: scaleX(-1); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; inset-inline-start: 16px; top: -100px; z-index: 200; background: var(--violet); color: #fff; padding: 8px 16px; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
[lang="en"] { font-family: var(--font-en); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

/* ---------- Background layers ---------- */
#scene {
  position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0; pointer-events: none;
  visibility: hidden; transition: opacity 1s var(--ease);
}
#scene.is-ready { visibility: visible; }
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(130, 140, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(130, 140, 255, .05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-aurora { position: fixed; inset: -20% -10% auto; height: 90vh; z-index: 0; pointer-events: none; filter: blur(80px); opacity: .55; }
.bg-aurora::before, .bg-aurora::after { content: ""; position: absolute; border-radius: 50%; }
.bg-aurora::before { width: 46vw; height: 46vw; inset-inline-start: 8%; top: 4%; background: radial-gradient(circle, rgba(124, 58, 237, .55), transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.bg-aurora::after { width: 40vw; height: 40vw; inset-inline-end: 4%; top: 18%; background: radial-gradient(circle, rgba(14, 165, 233, .35), transparent 65%); animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate3d(6vw, 4vh, 0) scale(1.15); } }
.noise { position: fixed; inset: 0; z-index: 1; 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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
main, .site-footer { position: relative; z-index: 2; }
.scroll-progress { position: fixed; inset-inline: 0; top: 0; height: 2px; z-index: 120; background: var(--grad); transform-origin: var(--origin, left); transform: scaleX(0); }
[dir="rtl"] .scroll-progress { --origin: right; }
.cursor-glow { position: fixed; z-index: 1; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; left: 0; top: 0; transform: translate3d(-50%, -50%, 0); background: radial-gradient(circle, rgba(139, 92, 246, .13), transparent 60%); opacity: 0; transition: opacity .4s; }
.has-pointer .cursor-glow { opacity: 1; }

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; font-weight: 600; font-size: .97rem; line-height: 1.2;
  color: #fff; background: var(--grad-btn); background-size: 160% 100%; background-position: 0 0;
  box-shadow: 0 10px 30px -10px rgba(124, 58, 237, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: background-position .5s var(--ease), box-shadow .3s, transform .3s var(--ease);
  transform: translate3d(var(--bx), var(--by), 0); white-space: nowrap;
}
.btn:hover { background-position: 100% 0; box-shadow: 0 14px 40px -10px rgba(56, 189, 248, .7), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn .ic { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.btn:hover .ic.arrow { transform: translateX(4px); }
[dir="rtl"] .btn .ic.arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .ic.arrow { transform: scaleX(-1) translateX(4px); }
.btn--ghost { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); backdrop-filter: blur(10px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .6); }
.btn--sm { padding: .6em 1.1em; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--wa { background: linear-gradient(120deg, #16a34a, #22c55e); box-shadow: 0 10px 30px -10px rgba(34, 197, 94, .7); }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; color: #c4b5fd; font-weight: 600; font-size: .95rem; }
.link-arrow .ic { width: 1em; height: 1em; transition: transform .3s var(--ease); }
[dir="rtl"] .link-arrow .ic { transform: scaleX(-1); }
.link-arrow:hover .ic { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .ic { transform: scaleX(-1) translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset-inline: 0; top: 14px; z-index: 100; transition: transform .45s var(--ease), top .3s; }
.site-header.is-hidden { transform: translateY(-130%); }
.nav-shell {
  display: flex; align-items: center; gap: 18px; padding: 10px 12px 10px 20px; border-radius: 999px;
  background: rgba(10, 12, 30, .55); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -20px rgba(0, 0, 0, .8);
}
[dir="rtl"] .nav-shell { padding: 10px 20px 10px 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; font-family: var(--font-en); letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 36px; height: auto; filter: drop-shadow(0 0 12px rgba(139, 92, 246, .6)); }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-main { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav-main > li { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; border-radius: 999px; font-size: .95rem; color: var(--ink-2); transition: color .2s, background .2s; }
.nav-link:hover, .nav-link[aria-current="page"], .nav-link[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-link .ic { width: .9em; height: .9em; transition: transform .3s; }
.nav-link[aria-expanded="true"] .ic { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; font-size: .9rem; color: var(--ink-2); }
.lang-switch:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.mega {
  position: absolute; top: calc(100% + 16px); inset-inline-start: 50%; translate: 50% 0; width: min(880px, 92vw);
  padding: 18px; border-radius: var(--r-lg); background: rgba(12, 14, 36, .92); backdrop-filter: blur(24px);
  box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top center;
  transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
[dir="ltr"] .mega { translate: -50% 0; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; gap: 12px; padding: 12px; border-radius: 14px; transition: background .2s; }
.mega a:hover { background: rgba(139, 92, 246, .12); }
.mega .mi { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(139, 92, 246, .3), rgba(34, 211, 238, .15)); box-shadow: inset 0 0 0 1px var(--line-2); color: #c4b5fd; }
.mega strong { display: block; font-size: .95rem; color: #fff; font-weight: 600; line-height: 1.35; }
.mega span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); font-size: .9rem; color: var(--ink-2); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; background: rgba(255, 255, 255, .06); }
.mobile-nav { display: none; }

@media (max-width: 1080px) {
  .nav-main, .nav-actions .lang-switch, .nav-actions .btn { display: none; }
  .menu-toggle { display: grid; margin-inline-start: auto; }
  .mobile-nav {
    display: block; position: fixed; inset: 0; z-index: 99; padding: 100px 24px 40px; overflow-y: auto;
    background: rgba(4, 5, 13, .96); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .mobile-nav.is-open { opacity: 1; visibility: visible; }
  .mobile-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .mobile-nav .mn-group { margin: 18px 0 4px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .mobile-nav .mn-sub a { font-size: .97rem; color: var(--ink-2); padding: 10px 4px; }
  .mobile-nav .mn-sub .ic { color: #a78bfa; }
  .mobile-nav .btn { margin-top: 24px; width: 100%; border: 0; }
}

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(64px, 8vw, 116px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--panel { background: linear-gradient(180deg, transparent, rgba(8, 10, 26, .85) 12%, rgba(8, 10, 26, .85) 88%, transparent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; padding: 6px 14px 6px 10px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: #c4b5fd; background: rgba(139, 92, 246, .1); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .3);
}
[dir="rtl"] .eyebrow { padding: 6px 10px 6px 14px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34, 211, 238, .7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); } }
.eyebrow .num { font-family: var(--font-en); color: var(--cyan); }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.sec-head p { font-size: 1.12rem; color: var(--muted); max-width: 640px; }
.sec-head--center p { margin-inline: auto; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.08; margin-bottom: 24px; font-weight: 700; }
html[lang="ar"] .hero h1 { line-height: 1.22; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero .lead { max-width: 580px; margin-bottom: 34px; opacity: 0; animation: fadeUp 1s .45s var(--ease) forwards; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; opacity: 0; animation: fadeUp 1s .6s var(--ease) forwards; }
.hero .eyebrow { opacity: 0; animation: fadeUp .9s .05s var(--ease) forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); opacity: 0; animation: fadeUp 1s .75s var(--ease) forwards; }
.hero-stats div { min-width: 120px; }
.hero-stats strong { direction: ltr; unicode-bidi: isolate; display: block; font-family: var(--font-en); font-size: 2rem; line-height: 1.1; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: .88rem; color: var(--muted); }
.scroll-cue { position: absolute; bottom: 28px; inset-inline-start: 50%; translate: -50% 0; display: grid; justify-items: center; gap: 8px; font-size: .75rem; color: var(--muted); letter-spacing: .14em; }
[dir="rtl"] .scroll-cue { translate: 50% 0; }
.scroll-cue i { width: 22px; height: 36px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line-2); position: relative; }
.scroll-cue i::after { content: ""; position: absolute; top: 7px; inset-inline-start: 50%; width: 3px; height: 7px; margin-inline-start: -1.5px; border-radius: 2px; background: var(--cyan); animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translateY(12px); opacity: 0; } }

/* 3D floating dashboard stack */
.stage { position: relative; height: 560px; perspective: 1400px; opacity: 0; animation: fadeUp 1.2s .35s var(--ease) forwards; }
.stack { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx, 14deg)) rotateY(var(--ry, -18deg)); transition: transform .8s var(--ease); }
[dir="rtl"] .stack { --ry: 18deg; }
.pane {
  position: absolute; border-radius: 22px; padding: 18px; color: var(--ink);
  background: linear-gradient(160deg, rgba(40, 44, 100, .72), rgba(14, 16, 40, .78));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(170, 180, 255, .2), inset 0 1px 0 rgba(255, 255, 255, .12), 0 40px 80px -30px rgba(0, 0, 0, .9);
  transform-style: preserve-3d;
}
.pane-main { inset-inline-start: 6%; top: 12%; width: 78%; height: 62%; transform: translateZ(0); }
.pane-a { inset-inline-end: 0; top: 2%; width: 44%; transform: translateZ(110px); animation: float 7s ease-in-out infinite; }
.pane-b { inset-inline-start: 0; bottom: 6%; width: 46%; transform: translateZ(150px); animation: float 8s ease-in-out -2s infinite; }
.pane-c { inset-inline-end: 4%; bottom: 0; width: 40%; transform: translateZ(70px); animation: float 9s ease-in-out -4s infinite; }
@keyframes float { 50% { translate: 0 -14px; } }
.pane-top { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: .78rem; color: var(--muted); }
.pane-top i { width: 9px; height: 9px; border-radius: 50%; background: #f87171; }
.pane-top i:nth-child(2) { background: #fbbf24; } .pane-top i:nth-child(3) { background: #34d399; }
.pane-top span { margin-inline-start: auto; font-family: var(--font-en); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.kpi small { display: block; font-size: .7rem; color: var(--muted); }
.kpi b { font-family: var(--font-en); font-size: 1.05rem; }
.kpi em { font-style: normal; font-size: .7rem; color: var(--green); font-family: var(--font-en); }
.bars { display: flex; align-items: flex-end; gap: 7px; height: 120px; padding: 10px 4px 0; border-top: 1px dashed var(--line); }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #a78bfa, rgba(99, 102, 241, .25)); height: var(--h); transform-origin: bottom; animation: grow 1.4s var(--ease) both; }
.bars i:nth-child(3n) { background: linear-gradient(180deg, #22d3ee, rgba(14, 165, 233, .2)); }
.bars i:nth-child(n) { animation-delay: calc(var(--i, 0) * 70ms + .8s); }
@keyframes grow { from { transform: scaleY(0); } }
.pane h5 { margin: 0 0 8px; font-size: .82rem; color: var(--ink-2); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.pane h5 .ic { color: var(--cyan); width: 1.05em; height: 1.05em; }
.flowline { display: flex; align-items: center; gap: 6px; font-size: .72rem; }
.flowline span { padding: 4px 8px; border-radius: 8px; background: rgba(139, 92, 246, .18); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .35); white-space: nowrap; }
.flowline b { flex: 1; height: 2px; min-width: 10px; background: linear-gradient(90deg, var(--violet), var(--cyan)); background-size: 200% 100%; animation: flow 1.6s linear infinite; }
@keyframes flow { to { background-position: -200% 0; } }
.ring { --p: 72; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; margin: 4px auto 2px; background: conic-gradient(var(--cyan) calc(var(--p) * 1%), rgba(255, 255, 255, .08) 0); -webkit-mask: radial-gradient(circle 33px, transparent 98%, #000); mask: radial-gradient(circle 33px, transparent 98%, #000); }
.ring-wrap { position: relative; text-align: center; }
.ring-wrap b { position: absolute; top: 31px; inset-inline: 0; font-family: var(--font-en); font-size: 1.05rem; }
.ring-wrap small { font-size: .72rem; color: var(--muted); }
.chatline { font-size: .76rem; line-height: 1.5; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); margin-top: 6px; }
.chatline.me { background: rgba(139, 92, 246, .25); margin-inline-start: 18%; }
.stage-note { position: absolute; bottom: -26px; inset-inline: 0; text-align: center; font-size: .72rem; color: var(--muted); opacity: .7; }

/* ---------- Marquee ---------- */
.marquee { position: relative; z-index: 2; padding: 26px 0; border-block: 1px solid var(--line); background: rgba(6, 8, 20, .6); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 52px; width: max-content; animation: marquee 40s linear infinite; direction: ltr; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; font-family: var(--font); }
.marquee span::before { content: ""; width: 8px; height: 8px; rotate: 45deg; background: var(--grad); border-radius: 2px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / bento ---------- */
.card {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--r-lg); padding: 28px; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, rgba(26, 30, 70, .6), rgba(10, 12, 32, .75));
  box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: box-shadow .4s, transform .5s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(139, 92, 246, .22), transparent 45%); }
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; opacity: 0; transition: opacity .4s; background: radial-gradient(300px circle at var(--mx) var(--my), rgba(167, 139, 250, .9), rgba(34, 211, 238, .4) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.card:hover::before, .card:hover::after { opacity: 1; }
.tilt { transform-style: preserve-3d; transform: perspective(1000px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.tilt > * { transform: translateZ(0); }
.tilt .lift { transform: translateZ(40px); }
.cube {
  width: 58px; height: 58px; border-radius: 17px; display: grid; place-items: center; margin-bottom: 22px; color: #fff;
  background: linear-gradient(140deg, var(--c1, #8b5cf6), var(--c2, #22d3ee));
  box-shadow: 0 14px 30px -10px var(--c1, #8b5cf6), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -6px 14px rgba(0, 0, 0, .25);
}
.cube .ic { width: 26px; height: 26px; stroke-width: 1.8; }
.card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .98rem; }
.card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: .8rem; color: var(--ink-2); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.chip .ic { width: 1em; height: 1em; color: var(--cyan); }
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento .card { grid-column: span 2; display: flex; flex-direction: column; }
.bento .card.wide { grid-column: span 3; }
.bento .card .link-arrow { margin-top: auto; }
.bento .card.feature { grid-column: span 4; grid-row: span 2; background: radial-gradient(120% 90% at 100% 0%, rgba(124, 58, 237, .35), transparent 60%), linear-gradient(160deg, rgba(30, 34, 82, .75), rgba(10, 12, 32, .8)); }
[dir="rtl"] .bento .card.feature { background: radial-gradient(120% 90% at 0% 0%, rgba(124, 58, 237, .35), transparent 60%), linear-gradient(160deg, rgba(30, 34, 82, .75), rgba(10, 12, 32, .8)); }
.bento .card.feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.feature-viz { margin: 8px 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.feature-viz .node { padding: 12px; border-radius: 14px; text-align: center; font-size: .82rem; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, box-shadow .3s, transform .4s var(--ease); }
.feature-viz .node .ic { margin: 0 auto 6px; color: #a78bfa; }
.feature-viz .node.on { background: rgba(139, 92, 246, .2); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .6), 0 0 24px -4px rgba(139, 92, 246, .6); transform: translateY(-3px); }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .card, .bento .card.wide { grid-column: span 1; }
  .bento .card.feature { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 640px) { .bento { grid-template-columns: 1fr; } .feature-viz { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 3D orbit ---------- */
.orbit-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center; }
.orbit { position: relative; height: 560px; perspective: 1200px; }
.orbit-scene { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(-8deg); }
.orbit-ring { position: absolute; inset-inline-start: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; animation: spin 36s linear infinite; }
.orbit:hover .orbit-ring { animation-play-state: paused; }
@keyframes spin { to { transform: rotateY(360deg); } }
.orbit-item {
  position: absolute; width: 132px; margin: -46px 0 0 -66px; padding: 12px 10px; border-radius: 18px; text-align: center;
  background: linear-gradient(160deg, rgba(40, 44, 100, .8), rgba(14, 16, 40, .85)); box-shadow: inset 0 0 0 1px rgba(170, 180, 255, .22), 0 20px 40px -20px #000;
  transform: rotateY(calc(var(--i) * (360deg / var(--n)))) translateZ(275px); backface-visibility: visible; font-size: .84rem; font-weight: 600; line-height: 1.35;
}
.orbit-item .ic { margin: 0 auto 8px; width: 26px; height: 26px; color: #c4b5fd; }
.orbit-core {
  position: absolute; inset-inline-start: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%;
  display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, rgba(167, 139, 250, .5), rgba(49, 46, 129, .6) 55%, rgba(8, 10, 26, .9));
  box-shadow: 0 0 80px 10px rgba(124, 58, 237, .45), inset 0 0 0 1px rgba(196, 181, 253, .4); animation: breathe 5s ease-in-out infinite;
}
[dir="rtl"] .orbit-core, [dir="rtl"] .orbit-item { margin-left: 0; margin-right: 0; }
[dir="rtl"] .orbit-core { margin: -75px -75px 0 0; }
[dir="rtl"] .orbit-item { margin: -46px -66px 0 0; }
.orbit-core img { width: 64px; filter: drop-shadow(0 0 20px rgba(167, 139, 250, .9)); }
.orbit-floor { position: absolute; inset-inline-start: 50%; top: 50%; width: 560px; height: 560px; margin: -280px; border-radius: 50%; transform: rotateX(90deg) translateZ(-90px); background: radial-gradient(circle, rgba(124, 58, 237, .25), transparent 60%); box-shadow: inset 0 0 0 1px rgba(139, 92, 246, .25); }
@keyframes breathe { 50% { box-shadow: 0 0 120px 20px rgba(14, 165, 233, .35), inset 0 0 0 1px rgba(196, 181, 253, .5); } }
.checklist li { position: relative; padding-inline-start: 34px; margin-bottom: 14px; color: var(--ink-2); }
.checklist li::before { content: ""; position: absolute; inset-inline-start: 0; top: .32em; width: 22px; height: 22px; border-radius: 7px; background: linear-gradient(140deg, rgba(139, 92, 246, .35), rgba(34, 211, 238, .25)) ; box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .5); }
.checklist li::after { content: ""; position: absolute; inset-inline-start: 7px; top: calc(.32em + 6px); width: 8px; height: 5px; border-inline-start: 2px solid #e9d5ff; border-bottom: 2px solid #e9d5ff; transform: rotate(-45deg); }
[dir="rtl"] .checklist li::after { transform: rotate(45deg) scaleX(-1); }
.checklist strong { color: #fff; }
@media (max-width: 960px) { .orbit-wrap { grid-template-columns: 1fr; } .orbit { height: 440px; } .orbit-item { transform: rotateY(calc(var(--i) * (360deg / var(--n)))) translateZ(170px); width: 120px; margin-left: -60px; font-size: .8rem; } [dir="rtl"] .orbit-item { margin-right: -60px; } }

/* ---------- Scenarios (tabs) ---------- */
.scen { display: grid; grid-template-columns: 300px 1fr; gap: 24px; }
.scen-tabs { display: flex; flex-direction: column; gap: 6px; }
.scen-tab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 16px; text-align: start; color: var(--ink-2); font-weight: 600; font-size: .98rem; transition: background .3s, color .3s, box-shadow .3s; }
.scen-tab .ic { color: var(--muted); transition: color .3s; }
.scen-tab:hover { background: rgba(255, 255, 255, .04); color: #fff; }
.scen-tab[aria-selected="true"] { background: linear-gradient(120deg, rgba(139, 92, 246, .22), rgba(34, 211, 238, .08)); color: #fff; box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .45); }
.scen-tab[aria-selected="true"] .ic { color: var(--cyan); }
.scen-panel { padding: clamp(22px, 3vw, 38px); }
.scen-panel[hidden] { display: none; }
.scen-panel h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.scen-panel .pain { padding: 14px 18px; border-radius: 14px; background: rgba(248, 113, 113, .07); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .22); color: #fecaca; font-size: .95rem; margin: 14px 0 26px; }
.scen-panel .pain b { color: #fca5a5; }
.pipeline { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 12px; margin-bottom: 28px; counter-reset: st; }
.pipeline::before { content: ""; position: absolute; inset-inline: 6%; top: 27px; height: 2px; background: linear-gradient(90deg, var(--violet), var(--cyan), var(--violet)); background-size: 200% 100%; animation: flow 3s linear infinite; opacity: .6; }
.pipe-step { position: relative; text-align: center; font-size: .84rem; color: var(--ink-2); line-height: 1.45; opacity: 0; transform: translateY(12px); }
.scen-panel.is-active .pipe-step { animation: fadeUp .6s var(--ease) forwards; animation-delay: calc(var(--i) * 110ms); }
.pipe-step i { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 18px; background: #0d1028; box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .55), 0 0 24px -6px rgba(139, 92, 246, .8); font-style: normal; font-family: var(--font-en); font-weight: 700; color: #c4b5fd; }
.pipe-step i::after { counter-increment: st; content: counter(st, decimal-leading-zero); }
.scen-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.scen-cols h4 { font-size: .85rem; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin-bottom: 12px; }
.mods { display: flex; flex-wrap: wrap; gap: 8px; }
.outs li { display: flex; gap: 10px; margin-bottom: 10px; font-size: .95rem; color: var(--ink-2); }
.outs .ic { color: var(--green); margin-top: .25em; }
.illus-note { margin-top: 18px; font-size: .78rem; color: var(--muted); opacity: .8; }
@media (max-width: 960px) {
  .scen { grid-template-columns: 1fr; }
  .scen-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .scen-tab { width: auto; white-space: nowrap; }
  .pipeline { grid-template-columns: 1fr; gap: 10px; }
  .pipeline::before { inset-inline: auto; inset-inline-start: 27px; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .pipe-step { display: flex; align-items: center; gap: 14px; text-align: start; }
  .pipe-step i { margin: 0; flex: none; }
  .scen-cols { grid-template-columns: 1fr; }
}

/* ---------- Process ---------- */
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.process::before { content: ""; position: absolute; inset-inline: 0; top: 34px; height: 1px; background: var(--line-2); }
.process .bar { position: absolute; inset-inline-start: 0; top: 33px; height: 3px; width: calc(var(--prog, 0) * 100%); background: var(--grad); border-radius: 3px; box-shadow: 0 0 16px rgba(139, 92, 246, .8); transition: width .2s linear; }
.step { position: relative; padding-top: 70px; }
.step .n { position: absolute; top: 12px; inset-inline-start: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-en); font-weight: 700; background: #0d1028; box-shadow: inset 0 0 0 1px var(--line-2); color: #c4b5fd; transition: background .4s, box-shadow .4s, color .4s; }
.step.on .n { background: var(--grad-btn); color: #fff; box-shadow: 0 0 30px -4px rgba(139, 92, 246, .9); }
.step h3 { font-size: 1.12rem; }
.step p { font-size: .93rem; color: var(--muted); }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 6px; }
  .process::before { inset-inline: auto; inset-inline-start: 22px; top: 0; bottom: 0; width: 1px; height: auto; }
  .process .bar { display: none; }
  .step { padding: 8px 0 18px; padding-inline-start: 70px; }
  .step .n { top: 6px; }
}

/* ---------- Stats / principles ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { text-align: center; padding: 34px 20px; }
.stat strong { direction: ltr; unicode-bidi: isolate; display: block; font-family: var(--font-en); font-size: clamp(2.4rem, 4.4vw, 3.4rem); line-height: 1; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: .95rem; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.principles .card { padding: 24px; }
.principles .card .ic { width: 28px; height: 28px; color: var(--cyan); margin-bottom: 14px; }
.principles h3 { font-size: 1.08rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } .principles { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 7vw, 90px); text-align: center;
  background: radial-gradient(60% 100% at 50% 0%, rgba(124, 58, 237, .55), transparent 70%), radial-gradient(50% 80% at 50% 120%, rgba(14, 165, 233, .35), transparent 70%), #0a0c22;
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .3), 0 40px 100px -40px rgba(124, 58, 237, .7);
}
.cta::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000, transparent 70%); transform: perspective(600px) rotateX(55deg) translateY(30%) scale(2); transform-origin: bottom; }
.cta > * { position: relative; }
.cta h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); max-width: 820px; margin-inline: auto; }
.cta p { color: var(--ink-2); max-width: 600px; margin: 0 auto 30px; font-size: 1.1rem; }
.cta .hero-actions { justify-content: center; opacity: 1; animation: none; }

/* ---------- Page hero (inner) ---------- */
.page-hero { position: relative; padding: 170px 0 70px; }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 900px; line-height: 1.15; }
html[lang="ar"] .page-hero h1 { line-height: 1.3; }
.page-hero .lead { max-width: 720px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }
.svc-hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.svc-orb { position: relative; aspect-ratio: 1; max-width: 400px; margin-inline: auto; width: 100%; perspective: 900px; }
.svc-orb .glass-cube { position: absolute; inset: 18%; transform-style: preserve-3d; animation: cube 18s linear infinite; }
.svc-orb .face { position: absolute; inset: 0; border-radius: 28px; background: linear-gradient(140deg, rgba(139, 92, 246, .28), rgba(34, 211, 238, .12)); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .45), inset 0 0 40px rgba(139, 92, 246, .25); backdrop-filter: blur(2px); display: grid; place-items: center; }
.svc-orb .face .ic { width: 34%; height: 34%; color: #e9d5ff; stroke-width: 1.3; filter: drop-shadow(0 0 14px rgba(167, 139, 250, .9)); }
.svc-orb .f1 { transform: translateZ(var(--d)); } .svc-orb .f2 { transform: rotateY(180deg) translateZ(var(--d)); }
.svc-orb .f3 { transform: rotateY(90deg) translateZ(var(--d)); } .svc-orb .f4 { transform: rotateY(-90deg) translateZ(var(--d)); }
.svc-orb .f5 { transform: rotateX(90deg) translateZ(var(--d)); } .svc-orb .f6 { transform: rotateX(-90deg) translateZ(var(--d)); }
.svc-orb { --d: 128px; }
.svc-orb::after { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(124, 58, 237, .5), transparent 65%); filter: blur(30px); z-index: -1; }
@keyframes cube { from { transform: rotateX(-20deg) rotateY(0); } to { transform: rotateX(-20deg) rotateY(360deg); } }
@media (max-width: 900px) { .svc-hero { grid-template-columns: 1fr; } .svc-orb { max-width: 260px; --d: 82px; } }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; } }
.mini .ic.big { width: 30px; height: 30px; color: #a78bfa; margin-bottom: 14px; }
.mini h3 { font-size: 1.12rem; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: 120px; }

/* FAQ */
.faq details { border-radius: 18px; margin-bottom: 10px; background: rgba(14, 16, 40, .7); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .45); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s; color: #a78bfa; }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* Related */
.related a.card { display: flex; align-items: center; gap: 16px; padding: 20px; }
.related .cube { margin: 0; width: 46px; height: 46px; border-radius: 14px; flex: none; }
.related .cube .ic { width: 22px; height: 22px; }
.related h3 { font-size: 1rem; margin: 0; }
.related p { font-size: .85rem; margin: 0; }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 960px) { .form-shell { grid-template-columns: 1fr; } }
.form-aside h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.form-aside p { color: var(--muted); }
.contact-lines { display: grid; gap: 10px; margin-top: 26px; }
.contact-lines a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, box-shadow .3s; }
.contact-lines a:hover { background: rgba(139, 92, 246, .1); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .45); }
.contact-lines .ic { color: var(--cyan); }
.contact-lines small { display: block; font-size: .78rem; color: var(--muted); }
.form { padding: clamp(22px, 3.4vw, 40px); border-radius: var(--r-lg); background: linear-gradient(160deg, rgba(26, 30, 70, .72), rgba(10, 12, 32, .85)); box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -40px #000; backdrop-filter: blur(16px); }
.form h3 { font-size: 1.5rem; }
.form-sub { color: var(--muted); margin-bottom: 22px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.req { color: #f0abfc; }
.opt { color: var(--muted); font-weight: 400; font-size: .82rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 13px; border: 0; font: inherit; font-size: .98rem; color: var(--ink);
  background: rgba(4, 5, 16, .6); box-shadow: inset 0 0 0 1px var(--line-2); transition: box-shadow .25s, background .25s; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23a78bfa' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 15px center; padding-inline-end: 38px; }
[dir="ltr"] .field select { background-position: right 15px center; }
.field select option { background: #0d1028; color: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: rgba(10, 12, 32, .9); box-shadow: inset 0 0 0 1.5px var(--violet), 0 0 0 4px rgba(139, 92, 246, .18); }
.field input::placeholder, .field textarea::placeholder { color: #5d6390; }
.field.has-error input, .field.has-error select, .field.has-error textarea { box-shadow: inset 0 0 0 1.5px #f87171; }
.err { margin: 0; min-height: 0; font-size: .82rem; color: #fca5a5; }
.err:empty { display: none; }
.consent { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: .9rem !important; color: var(--muted) !important; cursor: pointer; }
.consent input { width: 20px !important; height: 20px; flex: none; margin-top: 3px; padding: 0 !important; border-radius: 6px !important; accent-color: var(--violet); appearance: auto !important; }
.consent a { color: #c4b5fd; text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.file-drop { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 16px; background: rgba(139, 92, 246, .06); box-shadow: inset 0 0 0 1.5px rgba(167, 139, 250, .35); border: 0; transition: background .3s, box-shadow .3s; cursor: pointer; }
.file-drop:hover, .file-drop.is-drag { background: rgba(139, 92, 246, .14); box-shadow: inset 0 0 0 1.5px var(--violet), 0 0 30px -10px rgba(139, 92, 246, .8); }
.file-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; padding: 0; box-shadow: none; }
.file-drop .ic { width: 34px; height: 34px; color: #c4b5fd; }
.file-drop strong { display: block; color: #fff; }
.file-drop .file-name { display: block; font-size: .85rem; color: var(--muted); }
.field.has-error .file-drop { box-shadow: inset 0 0 0 1.5px #f87171; }
.form-actions { margin-top: 22px; }
.form-privacy { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 14px 0 0; font-size: .82rem; color: var(--muted); }
.form-status { display: none; margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; font-size: .95rem; }
.form-status.is-visible { display: block; }
.form-status.ok { background: rgba(52, 211, 153, .12); box-shadow: inset 0 0 0 1px rgba(52, 211, 153, .45); color: #a7f3d0; }
.form-status.fail { background: rgba(248, 113, 113, .1); box-shadow: inset 0 0 0 1px rgba(248, 113, 113, .4); color: #fecaca; }
.form-status a { text-decoration: underline; color: #fff; }
.form.is-done .fields, .form.is-done .form-actions, .form.is-done .form-sub { display: none; }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.tabs-switch { display: inline-flex; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 28px; }
.tabs-switch a { padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-2); }
.tabs-switch a.on { background: var(--grad-btn); color: #fff; }

/* Prose */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-inline-start: 1.4em; margin-bottom: 1em; }
.prose a { color: #c4b5fd; text-decoration: underline; }

/* ---------- Footer ---------- */
.site-footer { padding: 90px 0 36px; margin-top: 40px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(6, 8, 20, .4), #03040a); }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.foot-grid h4 { font-size: .82rem; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 16px; text-transform: uppercase; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { color: var(--ink-2); font-size: .94rem; transition: color .2s; }
.foot-grid a:hover { color: #fff; }
.foot-about p { color: var(--muted); font-size: .94rem; margin: 18px 0; max-width: 340px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line); }
.socials a:hover { background: rgba(139, 92, 246, .2); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 60px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.foot-word { font-family: var(--font-en); font-weight: 700; font-size: clamp(4rem, 15vw, 13rem); line-height: .9; text-align: center; margin-top: 50px; letter-spacing: -.05em; background: linear-gradient(180deg, rgba(167, 139, 250, .22), rgba(167, 139, 250, 0)); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* ---------- Assistant (chatbot) ---------- */
.nx-launch {
  position: fixed; z-index: 110; bottom: 22px; inset-inline-end: 22px; display: flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px; border-radius: 999px; color: #fff; font-weight: 600; font-size: .95rem;
  background: rgba(14, 16, 40, .85); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .5), 0 20px 50px -14px rgba(124, 58, 237, .9);
  transition: transform .35s var(--ease), opacity .3s;
}
[dir="rtl"] .nx-launch { padding: 10px 10px 10px 18px; }
.nx-launch:hover { transform: translateY(-3px); }
.nx-launch .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-btn); position: relative; }
.nx-launch .av::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(34, 211, 238, .6); animation: pulse2 2.4s infinite; }
@keyframes pulse2 { 70% { transform: scale(1.25); opacity: 0; } 100% { opacity: 0; } }
.nx-launch.is-hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }
.nx-wa { position: fixed; z-index: 109; bottom: 92px; inset-inline-end: 26px; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #22c55e; color: #fff; box-shadow: 0 12px 30px -8px rgba(34, 197, 94, .8); transition: transform .3s var(--ease); }
.nx-wa:hover { transform: scale(1.08); }
.nx-wa .ic { width: 26px; height: 26px; fill: currentColor; stroke: none; }
.nx-panel {
  position: fixed; z-index: 111; bottom: 22px; inset-inline-end: 22px; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100svh - 40px));
  display: flex; flex-direction: column; border-radius: 26px; overflow: hidden;
  background: rgba(9, 11, 28, .94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .35), 0 40px 100px -20px rgba(0, 0, 0, .9);
  opacity: 0; visibility: hidden; transform: translateY(20px) scale(.97); transform-origin: bottom right;
  transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.nx-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.nx-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: linear-gradient(120deg, rgba(124, 58, 237, .35), rgba(14, 165, 233, .15)); border-bottom: 1px solid var(--line); }
.nx-head .av { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-btn); flex: none; }
.nx-head strong { display: block; line-height: 1.3; }
.nx-head small { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: .78rem; }
.nx-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.nx-close { margin-inline-start: auto; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); }
.nx-close:hover { background: rgba(255, 255, 255, .12); }
.nx-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.nx-msg { max-width: 88%; padding: 11px 14px; border-radius: 18px; font-size: .93rem; line-height: 1.6; animation: fadeUp .35s var(--ease); }
.nx-msg.bot { align-self: flex-start; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line); border-end-start-radius: 6px; }
.nx-msg.me { align-self: flex-end; background: var(--grad-btn); border-end-end-radius: 6px; }
.nx-msg a { color: #c4b5fd; text-decoration: underline; }
.nx-msg ul { list-style: disc; padding-inline-start: 1.2em; margin: 6px 0; }
.nx-msg p { margin: 0 0 6px; } .nx-msg p:last-child { margin: 0; }
.nx-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.nx-actions a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; background: rgba(139, 92, 246, .2); box-shadow: inset 0 0 0 1px rgba(167, 139, 250, .5); text-decoration: none !important; color: #fff !important; }
.nx-actions a.wa { background: rgba(34, 197, 94, .2); box-shadow: inset 0 0 0 1px rgba(34, 197, 94, .55); }
.nx-typing { align-self: flex-start; display: flex; gap: 4px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .06); }
.nx-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dots 1.2s infinite; }
.nx-typing i:nth-child(2) { animation-delay: .15s; } .nx-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 30% { transform: translateY(-5px); background: #c4b5fd; } }
.nx-quick { display: flex; gap: 6px; overflow-x: auto; padding: 0 18px 12px; scrollbar-width: none; }
.nx-quick button { flex: none; padding: 8px 13px; border-radius: 999px; font-size: .84rem; color: var(--ink-2); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); white-space: nowrap; transition: background .2s, color .2s; }
.nx-quick button:hover { background: rgba(139, 92, 246, .18); color: #fff; }
.nx-form { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--line); }
.nx-form input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; border: 0; font: inherit; font-size: .95rem; color: var(--ink); background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--line-2); }
.nx-form input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--violet); }
.nx-form button { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-btn); flex: none; }
[dir="rtl"] .nx-form button .ic { transform: scaleX(-1); }
@media (max-width: 560px) { .nx-launch .lbl { display: none; } .nx-launch, [dir="rtl"] .nx-launch { padding: 6px; } .nx-panel { inset-inline-end: 12px; bottom: 12px; } }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="scale"] { transform: scale(.94) translateY(20px); }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.notfound h1 { font-family: var(--font-en); font-size: clamp(6rem, 22vw, 14rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

@media (max-width: 960px) {
  .hero { padding-top: 120px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .stage { height: 420px; margin-top: 10px; }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stage { height: 340px; }
  .pane { padding: 12px; border-radius: 16px; }
  .pane-main { width: 92%; inset-inline-start: 4%; }
  .kpis { gap: 6px; } .kpi { padding: 7px; } .kpi b { font-size: .85rem; }
  .bars { height: 70px; }
  .pane-b, .pane-c { width: 56%; }
  .pane-a { display: none; }
  .stack, [dir="rtl"] .stack { transform: rotateX(8deg) rotateY(var(--rym, -6deg)) scale(.94); }
  [dir="rtl"] .stack { --rym: 6deg; }
  .site-header { top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
