/* ============================================================
   RENNIX AI — Shared Design System
   Premium enterprise style · light + dark sections · lightweight
   ============================================================ */

:root {
  /* Brand palette */
  --blue-900: #1E3A8A;
  --blue-800: #1E40AF;   /* primary */
  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;   /* bright */
  --cyan-600: #0891B2;   /* cyan */
  --cyan-400: #38BDF8;
  --green-500: #10B981;
  --amber-500: #F59E0B;
  --red-600: #DC2626;

  /* Neutrals — dark theme (blue accent retained) */
  --ink:      #EAF0FB;   /* primary text */
  --ink-soft: #A7B4CC;   /* body text */
  --ink-mute: #7A88A2;
  --line:     rgba(148,163,184,.16);
  --line-soft:rgba(148,163,184,.10);
  --bg:       #070C18;   /* single base background, shared by all sections */
  --panel:    rgba(17,26,45,.62);  /* deliberate deeper band for .rx-dark */
  --white:    #0F1626;   /* repurposed: card / surface on dark */
  --pure:     #FFFFFF;

  /* Dark surfaces — one cohesive navy-black family (no hard seams) */
  --navy-950: #05090F;
  --navy-900: #070C18;
  --navy-850: #0A1020;
  --navy-800: #0C1426;
  --d-text:   #E7EEFB;
  --d-soft:   rgba(219,234,254,.74);
  --d-mute:   rgba(219,234,254,.55);
  --d-line:   rgba(148,163,184,.14);
  --d-surface:rgba(255,255,255,.05);

  /* System */
  --radius:   16px;
  --radius-lg:16px;
  --radius-sm:12px;
  --shadow-1: 0 1px 3px rgba(15,23,42,.05), 0 6px 18px rgba(15,23,42,.06);
  --shadow-2: 0 2px 6px rgba(15,23,42,.05), 0 18px 44px rgba(15,23,42,.10);
  --shadow-d: 0 1px 0 rgba(255,255,255,.06) inset, 0 24px 60px rgba(0,0,0,.35);
  --container: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  /* ONE continuous page-wide ambient field — fixed so it never restarts per
     section. Sections stay transparent, so there are no seams between them. */
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 70% 50% at 12% 6%,  rgba(37,99,235,.16) 0%, transparent 60%),
    radial-gradient(ellipse 60% 45% at 90% 22%, rgba(8,145,178,.11) 0%, transparent 60%),
    radial-gradient(ellipse 65% 45% at 20% 62%, rgba(37,99,235,.09) 0%, transparent 62%),
    radial-gradient(ellipse 60% 45% at 85% 84%, rgba(8,145,178,.08) 0%, transparent 62%);
  background-attachment: scroll;
  background-repeat: no-repeat;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Sora', 'Inter', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

::selection { background: rgba(37,99,235,.24); color: #fff; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(37,99,235,.35); border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(37,99,235,.55); }

/* Focus visibility for keyboard users */
:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.rx-skip {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 500;
  padding: 11px 15px;
  border-radius: 10px;
  background: #fff;
  color: #07101f;
  font-size: 14px;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .18s var(--ease);
}
.rx-skip:focus { transform: translateY(0); }
html[dir="rtl"] .rx-skip { left:auto; right:12px; }

/* ── Layout helpers ─────────────────────────────────────── */
.rx-container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.rx-section { padding: clamp(64px, 8vw, 112px) 0; position: relative; }
.rx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: #93C5FD;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(37,99,235,.14); border: 1px solid rgba(59,130,246,.28);
}
.rx-eyebrow::before { content:""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-600); }
.rx-section__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.rx-section__head.center { margin-left: auto; margin-right: auto; text-align: center; }
.rx-h2 { font-size: clamp(30px, 4.4vw, 52px); }
.rx-lead { color: var(--ink-soft); font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; margin-top: 16px; }
.rx-kicker { color: #93C5FD; font-weight: 700; }

.rx-grad-text {
  background: none;
  -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: currentColor;
  color: #8BCBFF;
}

/* ── Buttons ────────────────────────────────────────────── */
.rx-btn {
  --_bg: linear-gradient(145deg, var(--blue-600) 0%, var(--blue-800) 100%);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 22px;
  font-size: 15px; font-weight: 700; font-family: inherit;
  color: #fff; background: var(--_bg);
  border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm);
  cursor: pointer; position: relative; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 10px 26px rgba(37,99,235,.28);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.rx-btn svg { width: 18px; height: 18px; }
.rx-btn:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 14px 34px rgba(37,99,235,.42); }
.rx-btn:active { transform: translateY(0); }
/* Sheen */
.rx-btn::after {
  content:""; position:absolute; top:0; left:-120%; width:60%; height:100%;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease);
}
.rx-btn:hover::after { left: 140%; }

.rx-btn--ghost {
  background: transparent; color: var(--ink); border: 1px solid var(--line);
  box-shadow: none;
}
.rx-btn--ghost:hover { border-color: var(--blue-500); color: #93C5FD; box-shadow: 0 8px 22px rgba(37,99,235,.18); background: rgba(37,99,235,.08); }
.rx-btn--ghost::after { display: none; }

.rx-btn--on-dark { }
.rx-btn--ghost.rx-btn--on-dark {
  color: #fff; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.05);
}
.rx-btn--ghost.rx-btn--on-dark:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.4); color:#fff; }

.rx-btn--sm { min-height: 42px; padding: 0 16px; font-size: 14px; }
.rx-btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }

.rx-linkarrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; color: #60A5FA; font-size: 15px;
}
.rx-linkarrow:hover { color: #93C5FD; }
.rx-linkarrow svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.rx-linkarrow:hover svg { transform: translateX(4px); }

/* ── Cards ──────────────────────────────────────────────── */
.rx-card {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: none;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  height: 100%;
}
.rx-card:hover { transform: translateY(-3px); box-shadow: none; border-color: rgba(117,213,255,.34); background:#111b2d; }
.rx-card__icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  color: #93C5FD; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(37,99,235,.22), rgba(30,64,175,.14));
  border: 1px solid rgba(96,165,250,.22);
  box-shadow: none;
}
.rx-card__icon svg { width: 28px; height: 28px; stroke-width: 1.8; }
.rx-card h3 { font-size: 20px; margin-bottom: 10px; }
.rx-card p { color: var(--ink-soft); font-size: 15px; }
.rx-card__list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.rx-card__list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-soft); }
.rx-card__list li::before {
  content:""; position:absolute; left:0; top:6px; width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--blue-500) 0 5px, transparent 6px), rgba(37,99,235,.12);
}

/* Accent colour variants for icons */
/* Tinted glass icon chips — colour comes through the icon, not a solid block,
   so each card sits inside the page palette instead of on top of it. */
.rx-i--blue  { background: linear-gradient(135deg,rgba(59,130,246,.22),rgba(30,64,175,.14));  border-color: rgba(96,165,250,.24); color:#93C5FD; box-shadow:none; }
.rx-i--cyan  { background: linear-gradient(135deg,rgba(56,189,248,.20),rgba(8,145,178,.13));  border-color: rgba(56,189,248,.24); color:#7DD3FC; box-shadow:none; }
.rx-i--green { background: linear-gradient(135deg,rgba(52,211,153,.20),rgba(16,185,129,.13)); border-color: rgba(52,211,153,.24); color:#6EE7B7; box-shadow:none; }
.rx-i--amber { background: linear-gradient(135deg,rgba(251,191,36,.20),rgba(245,158,11,.13)); border-color: rgba(251,191,36,.24); color:#FCD34D; box-shadow:none; }
.rx-i--red   { background: linear-gradient(135deg,rgba(248,113,113,.20),rgba(220,38,38,.13)); border-color: rgba(248,113,113,.24); color:#FCA5A5; box-shadow:none; }
.rx-i--navy  { background: linear-gradient(135deg,rgba(148,163,184,.18),rgba(71,85,105,.12)); border-color: rgba(148,163,184,.22); color:#CBD5E1; box-shadow:none; }

/* Grids */
.rx-grid { display: grid; gap: 22px; }
.rx-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.rx-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.rx-grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }

/* Chips */
.rx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rx-chip {
  font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px;
  color: #BFDBFE; background: rgba(37,99,235,.13); border: 1px solid rgba(96,165,250,.22);
}

/* ── Dark section ───────────────────────────────────────── */
/* Deliberate "deeper panel" band. It fades to transparent at the top and bottom
   edges, so it reads as an intentional tone shift — never a hard seam. */
.rx-dark {
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--panel) 9%,
    var(--panel) 91%,
    transparent 100%
  );
  color: var(--d-text);
}
/* When two panels sit back-to-back, don't fade at the shared edge — otherwise
   the two fades meet and read as a lighter "waist" band. Fuse them instead. */
.rx-dark + .rx-dark { background: linear-gradient(180deg, var(--panel) 0%, var(--panel) 91%, transparent 100%); }
.rx-dark:has(+ .rx-dark) { background: linear-gradient(180deg, transparent 0%, var(--panel) 9%, var(--panel) 100%); }
.rx-dark:has(+ .rx-dark) + .rx-dark:has(+ .rx-dark) { background: linear-gradient(180deg, var(--panel) 0%, var(--panel) 100%); }
.rx-dark h1, .rx-dark h2, .rx-dark h3, .rx-dark h4 { color: #fff; }
.rx-dark .rx-lead, .rx-dark p { color: var(--d-soft); }
.rx-dark .rx-eyebrow { color: #93C5FD; background: rgba(37,99,235,.14); border-color: rgba(59,130,246,.28); }
.rx-dark .rx-eyebrow::before { background: var(--cyan-400); }
.rx-dark .rx-card {
  background: #10192a; border-color: var(--d-line); box-shadow: none;
  backdrop-filter: none;
}
.rx-dark .rx-card:hover { border-color: rgba(96,165,250,.32); background: rgba(255,255,255,.07); }
.rx-dark .rx-card p { color: var(--d-soft); }
.rx-dark .rx-card__list li { color: var(--d-soft); }
.rx-dark .rx-chip { color: #BFDBFE; background: rgba(37,99,235,.14); border-color: rgba(96,165,250,.2); }

/* Grid texture overlay for dark hero */
.rx-gridlines::before {
  display:none;
}

/* Transparent so the body's continuous ambient field shows through — no seams. */
.rx-lightgrid { background: transparent; }
/* Grid texture: fixed attachment so the lattice runs continuously through the
   page instead of restarting (and banding) at every section boundary. */
.rx-lightgrid::before {
  display:none;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.rx-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  /* Tinted from the page base (not the old navy) so it merges instead of
     cutting a hard band across the top of the hero. */
  background: rgba(7,12,24,.62);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
/* Soft feathered edge instead of a 1px rule */
.rx-header::after {
  content:""; position:absolute; left:0; right:0; top:100%; height:22px; pointer-events:none;
  background: linear-gradient(180deg, rgba(7,12,24,.5), transparent);
  opacity: 0; transition: opacity .3s var(--ease);
}
.rx-header.is-scrolled { background: rgba(7,12,24,.88); border-bottom-color: rgba(148,163,184,.08); box-shadow: 0 10px 34px rgba(0,0,0,.32); }
.rx-header.is-scrolled::after { opacity: 1; }
.rx-nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.rx-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.rx-brand__mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-600));
  box-shadow: 0 4px 14px rgba(37,99,235,.4), 0 0 0 1px rgba(255,255,255,.08) inset;
}
.rx-brand__mark svg { width: 20px; height: 20px; }
.rx-brand__logo { width: 34px; height: 34px; flex-shrink: 0; display: block; object-fit: contain; }
.rx-brand--logo { gap: 0; }
.rx-brand--logo .rx-brand__logo { width: 48px; height: 48px; transition: transform .25s var(--ease); }
.rx-brand--logo:hover .rx-brand__logo { transform: scale(1.05); }
.rx-header .rx-brand--header { width: 84px; height: 42px; justify-content: center; overflow: hidden; }
.rx-header .rx-brand--header .rx-brand__logo { width: 84px; height: 84px; transition: filter .2s var(--ease); }
.rx-header .rx-brand--header:hover .rx-brand__logo,
.rx-header .rx-brand--header:focus-visible .rx-brand__logo { transform: none; filter: brightness(1.12); }
.rx-brand--foot .rx-brand__logo { width: 84px; height: 84px; }
.rx-navlinks { display: flex; align-items: center; gap: 4px; }
.rx-navlinks a {
  position: relative; padding: 9px 14px; border-radius: 9px;
  font-size: 15px; font-weight: 600; color: rgba(219,234,254,.72);
  transition: color .18s var(--ease), background .18s var(--ease);
}
.rx-navlinks a:hover { color: #fff; background: rgba(255,255,255,.06); }
.rx-navlinks a.is-active { color: #fff; }
.rx-navlinks a.is-active::after {
  content:""; position:absolute; left:14px; right:14px; bottom:2px; height:2px; border-radius:2px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
}
.rx-navactions { display: flex; align-items: center; gap: 10px; }
.rx-navactions .rx-lang {
  min-height: 42px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 10px;
  font-weight: 700; font-size: 14px; color: #fff;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  transition: background .18s var(--ease);
}
.rx-navactions .rx-lang:hover { background: rgba(255,255,255,.12); }
.rx-navactions .rx-btn { min-height: 42px; padding: 0 18px; font-size: 14px; }

.rx-burger {
  display: none; width: 44px; height: 44px; border-radius: 11px; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; cursor: pointer;
}
.rx-burger svg { width: 24px; height: 24px; }

/* Mobile panel */
.rx-mobile {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: rgba(7,12,24,.98); backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148,163,184,.10);
  padding: 12px 24px 22px; display: none;
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.rx-mobile.is-open { display: block; animation: rx-slidedown .28s var(--ease); }
@keyframes rx-slidedown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.rx-mobile a.rx-mlink {
  display: block; padding: 14px 6px; font-size: 16px; font-weight: 600; color: rgba(231,238,251,.9);
  border-bottom: 1px solid rgba(148,163,184,.1);
}
.rx-mobile a.rx-mlink.is-active { color: var(--cyan-400); }
.rx-mobile__actions { display: grid; gap: 10px; margin-top: 16px; }
.rx-mobile__actions .rx-btn, .rx-mobile__actions .rx-lang { width: 100%; justify-content: center; }
.rx-mobile__actions .rx-lang { min-height: 46px; border-radius: 11px; }
body.rx-noscroll { overflow: hidden; }

/* HTML-first mobile navigation remains usable if JavaScript is unavailable. */
html.no-js .rx-reveal { opacity:1; transform:none; }
@media (max-width:900px) {
  html.no-js .rx-burger { display:none; }
  html.no-js .rx-mobile { display:block; position:static; max-height:none; }
}

/* ============================================================
   HERO
   ============================================================ */
.rx-hero {
  position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(56px, 8vw, 104px);
}
.rx-hero__glow {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: .5;
}
.rx-hero__glow.g1 { width: 620px; height: 620px; top: -220px; left: 50%; translate: -50% 0; background: radial-gradient(circle, rgba(37,99,235,.5), transparent 68%); animation: rx-drift1 18s ease-in-out infinite, rx-breathe 6s ease-in-out infinite; }
.rx-hero__glow.g2 { width: 460px; height: 460px; bottom: -180px; right: -60px; background: radial-gradient(circle, rgba(8,145,178,.32), transparent 66%); animation: rx-drift2 22s ease-in-out infinite, rx-breathe 6s ease-in-out infinite 3s; }
@keyframes rx-drift1 {
  0%,100% { translate: -50% 0; }
  50%     { translate: -42% 40px; }
}
@keyframes rx-drift2 {
  0%,100% { translate: 0 0; }
  50%     { translate: -60px -30px; }
}
/* Gentle inhale/exhale pulse — scale and opacity only, independent of the
   translate-based drift so the two animations compose instead of fighting. */
@keyframes rx-breathe {
  0%,100% { scale: 1;    opacity: .5; }
  50%     { scale: 1.09; opacity: .72; }
}

/* Animated aurora backdrop for dark hero sections.
   The hero clips overflow, so this layer is masked to fade out well before the
   bottom edge — otherwise the glow is sliced off and reads as a hard line. */
.rx-aurora {
  position:absolute; inset:0; overflow:hidden; pointer-events:none; z-index:0;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 92%);
          mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 92%);
}
.rx-aurora::before, .rx-aurora::after {
  content:""; position:absolute; width:70vw; height:70vw; max-width:900px; max-height:900px;
  border-radius:50%; filter: blur(120px);
}
.rx-aurora::before { top:-30%; left:-10%; background: radial-gradient(circle, rgba(37,99,235,.5), transparent 62%); animation: rx-aurora1 26s ease-in-out infinite, rx-breathe 7s ease-in-out infinite; }
.rx-aurora::after  { bottom:-35%; right:-12%; background: radial-gradient(circle, rgba(8,145,178,.4), transparent 62%); animation: rx-aurora2 32s ease-in-out infinite, rx-breathe 7s ease-in-out infinite 3.5s; }
@keyframes rx-aurora1 { 0%,100%{translate:0 0;} 33%{translate:18vw 10vh;} 66%{translate:8vw -6vh;} }
@keyframes rx-aurora2 { 0%,100%{translate:0 0;} 33%{translate:-14vw -8vh;} 66%{translate:-6vw 8vh;} }
@media (prefers-reduced-motion: reduce) {
  .rx-hero__glow.g1, .rx-hero__glow.g2, .rx-aurora::before, .rx-aurora::after { animation: none !important; scale: 1; opacity: .5; }
}
.rx-hero__grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 48px; align-items: center; position: relative; z-index: 2; }
.rx-hero h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.04; }
.rx-hero__sub { color: var(--d-soft); font-size: clamp(16px, 1.7vw, 20px); line-height: 1.7; margin: 22px 0 30px; max-width: 620px; }
.rx-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.rx-hero__meta { display: flex; flex-wrap: wrap; gap: 22px 30px; margin-top: 36px; }
.rx-hero__meta span { display: inline-flex; align-items: center; gap: 9px; color: var(--d-soft); font-size: 14.5px; font-weight: 600; }
.rx-hero__meta svg { width: 18px; height: 18px; color: var(--cyan-400); }

/* Stat row */
.rx-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rx-stat__num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: clamp(32px, 4vw, 46px); line-height: 1; }
.rx-stat__num .rx-grad-text { display: inline; }
.rx-stat__label { margin-top: 8px; font-size: 14px; color: var(--ink-soft); font-weight: 600; }
.rx-dark .rx-stat__label { color: var(--d-soft); }

/* ── Footer ─────────────────────────────────────────────── */
.rx-footer { background: linear-gradient(180deg, transparent 0%, var(--panel) 12%, var(--panel) 100%); color: var(--d-soft); border-top: none; }
.rx-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: clamp(52px,7vw,76px) 0 44px; }
.rx-footer__brand .rx-brand { margin-bottom: 18px; }
.rx-footer__brand p { color: var(--d-mute); font-size: 14.5px; max-width: 320px; }
.rx-footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.rx-footer__social a { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: var(--d-soft); background: rgba(255,255,255,.05); border: 1px solid var(--d-line); transition: all .2s var(--ease); }
.rx-footer__social a:hover { color: #fff; background: rgba(37,99,235,.25); border-color: rgba(96,165,250,.4); transform: translateY(-2px); }
.rx-footer__social svg { width: 19px; height: 19px; }
.rx-footer__social .rx-social-action { width: auto; min-height: 40px; padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; line-height: 1; white-space: nowrap; }
.rx-footer__social .rx-social-action svg { width: 18px; height: 18px; flex: 0 0 auto; }
.rx-footer__social .rx-social-action--linkedin:hover { background: rgba(10,102,194,.22); border-color: rgba(96,165,250,.5); }
.rx-footer__social .rx-social-action--whatsapp:hover { background: rgba(37,211,102,.14); border-color: rgba(74,222,128,.42); color: #D1FAE5; }
.rx-footer__col h4 { color: #fff; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.rx-footer__col a { display: block; padding: 6px 0; color: var(--d-mute); font-size: 14.5px; transition: color .18s var(--ease); }
.rx-footer__col a:hover { color: #fff; }
.rx-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding: 22px 0 34px; border-top: 1px solid var(--d-line); font-size: 13.5px; color: var(--d-mute); }
.rx-footer__bottom a:hover { color: #fff; }

/* ── Product-page shared patterns ───────────────────────── */
.pp-hero__grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr); gap:44px; align-items:center; position:relative; z-index:2; }
.pp-badge { display:inline-flex; align-items:center; gap:8px; padding:7px 14px; border-radius:999px; font-size:12px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; color:#bfdbfe; background:rgba(37,99,235,.14); border:1px solid rgba(96,165,250,.28); }
.pp-product-name { display:block; margin-bottom:16px; color:#93c5fd; font-family:'Sora',sans-serif; font-size:clamp(16px,1.6vw,20px); font-weight:700; letter-spacing:-.01em; line-height:1.25; }
.pp-hero h1 { font-size:clamp(34px,5.2vw,58px); line-height:1.05; margin-top:20px; }
.pp-hero__sub { color:var(--d-soft); font-size:clamp(16px,1.6vw,19px); line-height:1.7; margin:22px 0 30px; max-width:600px; }
.pp-visual { border-radius:22px; padding:22px; background:linear-gradient(160deg,rgba(255,255,255,.08),rgba(255,255,255,.02)); border:1px solid var(--d-line); box-shadow:var(--shadow-d); }
.pp-vrow { display:flex; align-items:center; gap:11px; padding:13px 15px; border-radius:13px; background:rgba(7,12,24,.55); border:1px solid rgba(147,197,253,.16); color:#dbeafe; font-size:13.5px; font-weight:600; margin-bottom:10px; }
.pp-vrow:last-child { margin-bottom:0; }
.pp-vrow svg { width:19px; height:19px; color:#38BDF8; flex-shrink:0; }
.pp-vrow .tag { margin-left:auto; font-size:11px; font-weight:800; color:#34D399; }
.pp-vbar { height:120px; display:flex; align-items:flex-end; gap:6px; padding:14px; border-radius:13px; background:rgba(7,12,24,.55); border:1px solid rgba(147,197,253,.16); }
.pp-vbar i { flex:1; border-radius:5px 5px 0 0; background:linear-gradient(180deg,#38BDF8,#2563EB); }

.pp-feat { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.pp-feat__item { padding:24px; border-radius:16px; background:var(--white); border:1px solid var(--line); box-shadow:var(--shadow-1); transition:transform .24s var(--ease),box-shadow .24s var(--ease),border-color .24s var(--ease); }
.pp-feat__item:hover { transform:translateY(-3px); box-shadow:var(--shadow-2); border-color:rgba(37,99,235,.25); }
.pp-feat__ic { width:46px; height:46px; border-radius:12px; display:grid; place-items:center; color:#fff; margin-bottom:14px; background:linear-gradient(135deg,rgba(59,130,246,.22),rgba(30,64,175,.14)); border:1px solid rgba(96,165,250,.22); color:#93C5FD; }
.pp-feat__ic svg { width:23px; height:23px; stroke-width:1.8; }
.pp-feat__item h3 { font-size:17px; margin-bottom:7px; }
.pp-feat__item p { font-size:14px; color:var(--ink-soft); }

.pp-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.pp-step { padding:22px; border-radius:16px; background:var(--white); border:1px solid var(--line); box-shadow:var(--shadow-1); }
.pp-step__n { font-family:'Sora',sans-serif; font-style:italic; font-weight:800; font-size:26px; color:#60A5FA; margin-bottom:12px; }
.pp-step h3 { font-size:16px; margin-bottom:7px; }
.pp-step p { font-size:13.5px; color:var(--ink-soft); }

.pp-note { display:flex; gap:14px; align-items:flex-start; padding:22px 24px; border-radius:16px; background:rgba(37,99,235,.08); border:1px solid rgba(96,165,250,.22); }
.pp-note svg { width:26px; height:26px; color:#60A5FA; flex-shrink:0; }
.pp-note p { font-size:15px; color:var(--ink-soft); }
.pp-note strong { color:var(--ink); }

@media (max-width:820px){ .pp-hero__grid{ grid-template-columns:1fr; gap:34px;} .pp-feat{ grid-template-columns:1fr;} .pp-steps{ grid-template-columns:1fr 1fr;} }
@media (max-width:520px){ .pp-steps{ grid-template-columns:1fr;} }

/* ── Browser-frame mockups (illustrative UI · no real data / no PII) ─ */
.mock { border-radius:16px; overflow:hidden; border:1px solid var(--d-line); box-shadow:var(--shadow-d); background:#0A1020; }
.mock__bar { display:flex; align-items:center; gap:7px; padding:11px 14px; background:rgba(255,255,255,.04); border-bottom:1px solid var(--d-line); }
.mock__bar i { width:10px; height:10px; border-radius:50%; flex-shrink:0; }
.mock__url { margin-left:8px; font-size:11.5px; color:var(--d-mute); font-weight:600; background:rgba(255,255,255,.05); border:1px solid var(--d-line); border-radius:6px; padding:3px 12px; }
.mock__body { padding:18px; }
.mock-kpis { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-bottom:14px; }
.mock-kpi { border:1px solid var(--line); border-radius:10px; padding:12px 13px; }
.rx-dark .mock-kpi { border-color:var(--d-line); background:rgba(255,255,255,.03); }
.mock-kpi b { display:block; font-family:'Sora',sans-serif; font-size:20px; color:var(--ink); line-height:1.1; }
.rx-dark .mock-kpi b { color:#fff; }
.mock-kpi b.up { color:var(--green-500); }
.mock-kpi span { font-size:12px; color:var(--ink-mute); font-weight:600; }
.mock-split { display:grid; grid-template-columns:1.4fr 1fr; gap:12px; }
.mock-chart { display:flex; align-items:flex-end; gap:7px; height:132px; padding:14px; border:1px solid var(--line); border-radius:10px; }
.rx-dark .mock-chart { border-color:var(--d-line); }
.mock-chart i { flex:1; border-radius:5px 5px 0 0; background:linear-gradient(180deg,#3B82F6,#1D4ED8); opacity:.92; }
.mock-side { display:grid; gap:9px; align-content:start; }
.mock-row { display:flex; align-items:center; gap:9px; font-size:12px; font-weight:600; color:var(--ink-soft); padding:9px 11px; border:1px solid var(--line); border-radius:9px; }
.rx-dark .mock-row { border-color:var(--d-line); color:var(--d-soft); }
.mock-row .dot { width:9px; height:9px; border-radius:50%; flex-shrink:0; }
.mock-row b { margin-left:auto; color:var(--ink); font-family:'Sora',sans-serif; }
.rx-dark .mock-row b { color:#fff; }
.mock-donut { width:120px; height:120px; border-radius:50%; margin:6px auto; position:relative;
  background:conic-gradient(var(--blue-600) 0 46%, var(--green-500) 46% 74%, var(--amber-500) 74% 90%, var(--line) 90% 100%); }
.mock-donut::after { content:""; position:absolute; inset:20px; border-radius:50%; background:#0A1020; }
.feat-cols { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.feat-cols h3 { font-size:16px; margin-bottom:12px; display:flex; align-items:center; gap:9px; }
.feat-cols h3 svg { width:20px; height:20px; flex-shrink:0; }
.feat-cols ul { list-style:none; margin:0; padding:0; display:grid; gap:8px; }
.feat-cols li { position:relative; padding-left:22px; font-size:14px; color:var(--ink-soft); }
.rx-dark .feat-cols li { color:var(--d-soft); }
.feat-cols li::before { content:""; position:absolute; left:0; top:7px; width:12px; height:12px; border-radius:50%;
  background:radial-gradient(circle at 50% 50%, var(--blue-500) 0 3.5px, transparent 4.5px), rgba(37,99,235,.14); }
@media (max-width:900px){ .mock-kpis{ grid-template-columns:1fr 1fr;} .feat-cols{ grid-template-columns:1fr;} }
@media (max-width:640px){ .mock-split{ grid-template-columns:1fr;} }

/* ── Forms ──────────────────────────────────────────────── */
.rx-field { display: block; margin-bottom: 18px; }
.rx-field label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.rx-field label .req { color: var(--red-600); }
.rx-field input, .rx-field select, .rx-field textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 11px;
  background: rgba(255,255,255,.04);
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.rx-field select option { background: #0E1524; color: var(--ink); }
.rx-field ::placeholder { color: var(--ink-mute); }
.rx-field textarea { min-height: 120px; resize: vertical; }
.rx-field input:focus, .rx-field select:focus, .rx-field textarea:focus {
  outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(59,130,246,.16);
}
.rx-field [aria-invalid="true"] { border-color: var(--red-600); box-shadow: 0 0 0 3px rgba(220,38,38,.12); }
.rx-field__err { display: none; color: var(--red-600); font-size: 12.5px; font-weight: 600; margin-top: 6px; }
.rx-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rx-form__success {
  margin-top: 4px; padding: 16px 18px; border-radius: 12px; display: flex; gap: 12px; align-items: flex-start;
  background: rgba(16,185,129,.10); border: 1px solid rgba(16,185,129,.34); color: #A7F3D0;
}
.rx-form__success svg { width: 22px; height: 22px; color: #34D399; flex-shrink: 0; }
.rx-form__success b { display: block; color: #6EE7B7; }
.rx-form__error {
  margin: 0 0 16px;
  padding: 15px 17px;
  border-radius: 12px;
  background: rgba(220,38,38,.10);
  border: 1px solid rgba(248,113,113,.38);
  color: #FECACA;
  font-size: 14px;
  line-height: 1.55;
}
.rx-form__error.ct-form-status:focus-visible { outline: 2px solid #FDA4AF; outline-offset: 3px; }
.rx-form__error a { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.rx-form__privacy { margin:14px 0 0; color:var(--ink-mute); font-size:12.5px; line-height:1.55; }
.rx-form__privacy a { color:#93C5FD; text-decoration:underline; text-underline-offset:3px; }
.rx-honeypot { position:absolute !important; width:1px !important; height:1px !important; overflow:hidden !important; clip:rect(0 0 0 0) !important; white-space:nowrap !important; }
.rx-btn:disabled { cursor:wait; opacity:.68; transform:none; box-shadow:none; }
@media (max-width: 640px) { .rx-form__row { grid-template-columns: 1fr; } }

/* ── Buyer questions / answer-engine content ────────────── */
.rx-faq .rx-section__head { max-width: 720px; }
.rx-faq__list {
  max-width: 920px;
  display: grid;
  gap: 12px;
}
.rx-faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(15, 22, 38, .72);
  overflow: clip;
}
.rx-faq__item[open] { border-color: rgba(96, 165, 250, .32); }
.rx-faq__item summary {
  position: relative;
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 17px 58px 17px 20px;
  color: var(--ink);
  font-family: 'Sora', 'Inter', sans-serif;
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.rx-faq__item summary::-webkit-details-marker { display: none; }
.rx-faq__item summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 20px;
  top: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #BFDBFE;
  background: rgba(37, 99, 235, .16);
  transform: translateY(-50%);
  transition: transform .2s var(--ease), background .2s var(--ease);
}
.rx-faq__item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
  background: rgba(37, 99, 235, .28);
}
.rx-faq__answer {
  max-width: 75ch;
  padding: 0 58px 20px 20px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}
html[dir="rtl"] .rx-faq__item summary {
  padding: 17px 20px 17px 58px;
  font-family: 'Cairo', 'Sora', sans-serif;
}
html[dir="rtl"] .rx-faq__answer { padding: 0 20px 20px 58px; }
@media (max-width: 560px) {
  .rx-faq__item summary { min-height: 58px; padding-block: 15px; }
  .rx-faq__answer { font-size: 15px; }
}

/* ── Scroll reveal ──────────────────────────────────────── */
.rx-reveal { opacity: 1; transform: none; }
html.rx-motion .rx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .62s var(--ease), transform .62s var(--ease); will-change: opacity, transform; }
html.rx-motion .rx-hero .rx-reveal,
html.rx-motion .home-opening .rx-reveal,
html.rx-motion .rx-reveal.is-in { opacity: 1; transform: none; }
.rx-reveal[data-rx-delay="1"] { transition-delay: .08s; }
.rx-reveal[data-rx-delay="2"] { transition-delay: .16s; }
.rx-reveal[data-rx-delay="3"] { transition-delay: .24s; }
.rx-reveal[data-rx-delay="4"] { transition-delay: .32s; }
.rx-reveal[data-rx-delay="5"] { transition-delay: .40s; }

/* Back-to-top / scroll progress bar */
.rx-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; z-index: 200; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); transform: scaleX(0); transform-origin: left; transition: transform .1s linear; }
html[dir="rtl"] .rx-progress { transform-origin: right; }

/* ── Partner logo marquee ───────────────────────────────── */
.rx-marquee__label {
  text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-mute); margin: 0 0 6px;
}
.rx-dark .rx-marquee__label { color: var(--d-mute); }
.rx-marquee {
  position: relative; width: 100%; overflow: hidden; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.rx-marquee__track {
  display: flex; flex-wrap: nowrap; width: max-content; gap: 20px;
  animation: rx-marquee 34s linear infinite;
}
.rx-marquee:hover .rx-marquee__track { animation-play-state: paused; }
@keyframes rx-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rx-plogo {
  position: relative;
  flex: 0 0 auto; min-width: 168px; height: 76px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 0 30px;
  transition: transform .28s var(--ease), opacity .28s var(--ease);
}
.rx-plogo:hover { transform: scale(1.06); }
.rx-plogo img { height: 30px; width: auto; max-width: 160px; object-fit: contain; display: block; }
.rx-plogo--tall img { height: 46px; }        /* compact marks (HP, Huawei) read small — bump */
.rx-plogo__badge {
  font-size: 9.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: #34D399; background: rgba(16,185,129,.12); border: 1px solid rgba(16,185,129,.42);
  padding: 3px 9px; border-radius: 999px; line-height: 1; white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) {
  .rx-marquee { -webkit-mask-image: none; mask-image: none; }
  .rx-marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
}
@media (max-width: 640px) {
  .rx-plogo { min-width: 132px; height: 64px; padding: 0 20px; }
  .rx-plogo img { height: 26px; max-width: 120px; }
  .rx-plogo--tall img { height: 36px; }
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .rx-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .rx-btn::after { display: none; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .rx-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .rx-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .rx-footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .rx-navlinks, .rx-navactions { display: none; }
  .rx-burger { display: inline-flex; }
  .rx-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .rx-stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
}
@media (max-width: 640px) {
  .rx-container { padding: 0 18px; }
  .rx-grid--2, .rx-grid--3, .rx-grid--4 { grid-template-columns: 1fr; }
  .rx-footer__top { grid-template-columns: 1fr 1fr; gap: 26px; }
  .rx-footer__brand { grid-column: 1 / -1; }
  .rx-hero__actions { flex-direction: column; align-items: stretch; }
  .rx-hero__actions .rx-btn { width: 100%; }
  .rx-card { padding: 24px; }
  .rx-section__head { margin-bottom: 32px; }
  .rx-hero__meta { gap: 12px 20px; margin-top: 26px; }
  .rx-hero__meta span { font-size: 13.5px; }
  .rx-brand--foot .rx-brand__logo { width: 88px; height: 88px; }
}
@media (max-width: 560px) {
  .rx-hero { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 56px; }
  .rx-hero h1 { font-size: clamp(30px, 8.5vw, 42px); }
  .rx-h2 { font-size: clamp(26px, 7.5vw, 36px); }
  .rx-lead { font-size: 16px; }
  .rx-footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .rx-brand--logo .rx-brand__logo { width: 42px; height: 42px; }
}
@media (max-width: 420px) {
  .rx-stats { grid-template-columns: 1fr 1fr; }
  .rx-footer__top { grid-template-columns: 1fr; }
  .rx-navactions { display: none; }
}
@media (max-width: 360px) {
  .rx-container { padding: 0 14px; }
  .rx-h2 { font-size: clamp(24px, 8vw, 32px); }
  .rx-card { padding: 20px; }
  .rx-btn, .rx-btn--sm, .rx-btn--lg { font-size: 14px; padding: 0 16px; }
}
/* Guard against any child forcing horizontal overflow */
html, body { max-width: 100%; }
.rx-section, .rx-hero, .rx-footer { overflow-x: clip; }

/* ============================================================
   ARABIC / RTL
   ============================================================ */
.rx-ar { font-family: 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; }
.rx-ar h1, .rx-ar h2, .rx-ar h3, .rx-ar h4 { font-family: 'Cairo', 'Sora', sans-serif; letter-spacing: 0; }
.rx-ar .rx-eyebrow, .rx-ar .pp-badge, .rx-ar .case-card__tag { letter-spacing: .04em; }

/* Flip directional arrows (→) so they read correctly in RTL */
html[dir="rtl"] .rx-linkarrow svg,
html[dir="rtl"] .rx-btn svg,
html[dir="rtl"] .rx-hero__meta svg.arrow { transform: scaleX(-1); }

/* Keep the animated logo-marquee moving in the same visual direction */
html[dir="rtl"] .rx-marquee__track { animation-name: rx-marquee-rtl; }
@keyframes rx-marquee-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* Directional margins that must swap under RTL */
html[dir="rtl"] .pp-vrow .tag,
html[dir="rtl"] .di-panel__title,
html[dir="rtl"] .cap-card .rx-linkarrow { margin-left: 0; margin-right: auto; }

/* Active nav underline + form success icon spacing stay symmetric (no change needed).
   Numerals: keep Latin digits for stats/KPIs which are brand-styled. */
.rx-ar .rx-stat__num, .rx-ar .di-kpi b, .rx-ar .pp-vrow .tag { font-family: 'Sora', sans-serif; }

/* Privacy / legal reading surface */
.rx-policy { max-width:820px; }
.rx-policy__updated { margin-top:16px; color:var(--ink-mute); font-size:14px; }
.rx-policy__section { padding:30px 0; border-top:1px solid var(--line); }
.rx-policy__section:first-child { border-top:0; padding-top:0; }
.rx-policy__section h2 { margin-bottom:12px; font-size:clamp(21px,2.4vw,28px); }
.rx-policy__section p,
.rx-policy__section li { color:var(--ink-soft); font-size:15.5px; line-height:1.75; }
.rx-policy__section ul { margin:12px 0 0; padding-inline-start:22px; }
.rx-policy__section li + li { margin-top:7px; }
.rx-policy__section a { color:#93C5FD; text-decoration:underline; text-underline-offset:3px; }
