/* ===================================================================
   NEXOROX v2 — LIGHT TECH PREMIUM
   Clean rebuild · Mobile-first · iOS-safe
   =================================================================== */

/* ============ RESET ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ============ DESIGN TOKENS — LIGHT TECH ============ */
:root {
  /* Colors — Light tech palette */
  --bg:           #F7F8FA;
  --bg-2:         #FFFFFF;
  --surface:      #FFFFFF;
  --surface-2:    #F0F1F5;
  --text:         #0A0E1A;
  --text-muted:   #5C6275;
  --text-dim:     #9CA0AE;
  --accent:       #1F4FFF;
  --accent-2:     #0033CC;
  --accent-dim:   rgba(31,79,255,0.10);
  --accent-glow:  rgba(31,79,255,0.18);
  --border:       rgba(10,14,26,0.08);
  --border-strong: rgba(10,14,26,0.16);
  --grid-color:   rgba(10,14,26,0.035);

  /* Type */
  --font-serif:   'Instrument Serif', 'IBM Plex Sans Arabic', Georgia, serif;
  --font-display: 'Space Grotesk', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-sans:    'Inter', 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Layout */
  --container:    1440px;
  --gutter:       clamp(20px, 5vw, 80px);
  --section-y:    clamp(80px, 11vw, 160px);
  --radius:       14px;
  --radius-lg:    22px;
}

[dir="rtl"] {
  --font-display: 'IBM Plex Sans Arabic', 'Space Grotesk', sans-serif;
  --font-sans:    'IBM Plex Sans Arabic', 'Inter', sans-serif;
  --font-serif:   'IBM Plex Sans Arabic', 'Instrument Serif', serif;
}

/* ============ BASE ============ */
html, body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

/* Subtle tech grid pattern over entire page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(var(--grid-color) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px) 0 0 / 48px 48px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

::selection { background: var(--accent); color: #fff; }

/* ============ LAYOUT UTILITIES ============ */
.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  width: 100%;
  position: relative;
  z-index: 1;
}

.section { padding: var(--section-y) 0; position: relative; z-index: 1; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--text);
}

.italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}
[dir="rtl"] .italic {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-style: normal;
  font-weight: 500;
  color: var(--text-muted);
}

.accent { color: var(--accent); }

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  font-family: var(--font-sans);
}
[dir="rtl"] p { font-family: 'IBM Plex Sans Arabic', sans-serif; line-height: 1.85; }

p.lead {
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--text);
  font-weight: 400;
}
[dir="rtl"] p.lead { line-height: 1.8; }

/* Eyebrow (tech label) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  flex-shrink: 0;
}
[dir="rtl"] .eyebrow {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 13px;
}

/* ============ NAV ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247,248,250,0);
  transition: background .3s ease, padding .3s ease, border-color .3s ease, box-shadow .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(247,248,250,0.85);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--border);
  padding: 16px var(--gutter);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  z-index: 110;
  position: relative;
}
[dir="rtl"] .nav-logo { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 700; }

.nav-logo .mark {
  width: 34px;
  height: 34px;
  background: url("nexorox-logo.svg") center / contain no-repeat;
  display: inline-flex;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(31,79,255,0.18));
  transition: transform .35s ease, filter .35s ease;
}
.nav-logo:hover .mark {
  transform: rotate(-8deg) scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(31,79,255,0.28));
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 110;
  position: relative;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}
.lang-switch button {
  padding: 4px 6px;
  transition: color .25s ease;
}
.lang-switch button.active { color: var(--text); }
.lang-switch button:hover { color: var(--accent); }
.lang-switch .sep { opacity: 0.3; }

/* Burger button */
.burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  transition: border-color .3s ease, background .3s ease;
  background: var(--surface);
}
.burger:hover { border-color: var(--accent); }
.burger span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .25s ease, background .3s ease;
  border-radius: 1px;
}

body.menu-open .burger {
  border-color: var(--accent);
  background: var(--accent-dim);
}
body.menu-open .burger span { background: var(--accent); }
body.menu-open .burger span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

/* ============ MOBILE MENU ============ */
.menu {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s cubic-bezier(.4,0,.2,1), visibility 0s linear .45s;
  display: flex;
  flex-direction: column;
  padding: 110px var(--gutter) 40px;
  overflow-y: auto;
  overflow-x: hidden;
}
body.menu-open .menu {
  opacity: 1;
  visibility: visible;
  transition: opacity .45s cubic-bezier(.4,0,.2,1), visibility 0s;
}

/* Tech grid in menu bg */
.menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(var(--grid-color) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(ellipse 60% 50% at 90% 5%, rgba(31,79,255,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 5% 95%, rgba(31,79,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.menu-eyebrow { margin-bottom: 36px; position: relative; z-index: 2; }
.menu-list { position: relative; z-index: 2; }

.menu-item {
  border-top: 1px solid var(--border);
  position: relative;
}
.menu-item:last-of-type { border-bottom: 1px solid var(--border); }

.menu-item > a,
.menu-item > .menu-trigger {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 22px 0;
  width: 100%;
  text-align: left;
  transition: padding .35s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
}
[dir="rtl"] .menu-item > a,
[dir="rtl"] .menu-item > .menu-trigger { text-align: right; }

.menu-item > a:hover,
.menu-item > .menu-trigger:hover,
.menu-item.active > a { padding-left: 10px; }
[dir="rtl"] .menu-item > a:hover,
[dir="rtl"] .menu-item > .menu-trigger:hover {
  padding-left: 0;
  padding-right: 10px;
}

.menu-item .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  min-width: 26px;
  flex-shrink: 0;
  transition: color .3s ease;
}

.menu-item .label {
  font-family: var(--font-display);
  font-size: clamp(30px, 8vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--text);
  flex: 1;
  transition: color .3s ease, font-family .3s ease;
}
[dir="rtl"] .menu-item .label {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 600;
  font-size: clamp(28px, 7vw, 44px);
}

.menu-item .arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-dim);
  margin-left: auto;
  transition: color .3s ease, transform .3s ease;
  flex-shrink: 0;
}
[dir="rtl"] .menu-item .arrow { margin-left: 0; margin-right: auto; }

.menu-item > a:hover .num,
.menu-item > .menu-trigger:hover .num { color: var(--accent); }
.menu-item > a:hover .label,
.menu-item > .menu-trigger:hover .label,
.menu-item.open > .menu-trigger .label {
  color: var(--accent);
}
.menu-item > a:hover .label,
.menu-item.open > .menu-trigger .label {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}
[dir="rtl"] .menu-item > a:hover .label,
[dir="rtl"] .menu-item.open > .menu-trigger .label {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-style: normal;
}
.menu-item > a:hover .arrow,
.menu-item > .menu-trigger:hover .arrow {
  color: var(--accent);
  transform: translateX(4px);
}
[dir="rtl"] .menu-item > a:hover .arrow,
[dir="rtl"] .menu-item > .menu-trigger:hover .arrow {
  transform: translateX(-4px);
}

/* Toggle indicator (Services +/-) */
.menu-item .toggle {
  display: inline-block;
  width: 14px;
  height: 14px;
  position: relative;
}
.menu-item .toggle::before,
.menu-item .toggle::after {
  content: "";
  position: absolute;
  background: var(--text-dim);
  transition: transform .35s cubic-bezier(.4,0,.2,1), background .3s ease;
}
.menu-item .toggle::before {
  width: 14px; height: 1.5px;
  top: 50%; left: 0;
  transform: translateY(-50%);
}
.menu-item .toggle::after {
  width: 1.5px; height: 14px;
  left: 50%; top: 0;
  transform: translateX(-50%);
}
.menu-item.open .toggle::before,
.menu-item.open .toggle::after { background: var(--accent); }
.menu-item.open .toggle::after { transform: translateX(-50%) rotate(90deg); }

/* Sub menu */
.menu-sub {
  max-height: 0;
  overflow: hidden;
  margin-left: 46px;
  padding-left: 14px;
  border-left: 1px solid var(--border-strong);
  transition: max-height .45s cubic-bezier(.4,0,.2,1), padding .35s ease, margin .35s ease;
}
[dir="rtl"] .menu-sub {
  margin-left: 0;
  margin-right: 46px;
  padding-left: 0;
  padding-right: 14px;
  border-left: none;
  border-right: 1px solid var(--border-strong);
}
.menu-item.open .menu-sub {
  max-height: 500px;
  padding-bottom: 16px;
}
.menu-sub li a {
  display: block;
  padding: 12px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-muted);
  transition: color .25s ease, padding .25s ease;
}
[dir="rtl"] .menu-sub li a {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 17px;
}
.menu-sub li a:hover {
  color: var(--accent);
  padding-left: 6px;
}
[dir="rtl"] .menu-sub li a:hover {
  padding-left: 0;
  padding-right: 6px;
}

/* Menu footer */
.menu-foot {
  margin-top: auto;
  padding-top: 48px;
  position: relative;
  z-index: 2;
}
.menu-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.015em;
  color: var(--accent);
  padding-bottom: 32px;
  transition: gap .3s ease;
}
.menu-cta:hover { gap: 18px; }
.menu-cta .arrow {
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 18px;
}
[dir="rtl"] .menu-cta {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-style: normal;
  font-weight: 600;
}

.menu-contact {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  line-height: 2;
}
.menu-contact a { transition: color .25s ease; }
.menu-contact a:hover { color: var(--text); }
[dir="rtl"] .menu-contact { font-family: 'IBM Plex Sans Arabic', sans-serif; letter-spacing: 0.02em; font-size: 13px; }

/* ============ HERO ============ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  position: relative;
}

/* Hero ambient — subtle blue glow */
.hero::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(31,79,255,0.08) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
[dir="rtl"] .hero::before { right: auto; left: -10%; }

.hero-inner {
  display: grid;
  gap: 40px;
  max-width: 1200px;
  position: relative;
  z-index: 2;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
[dir="rtl"] .hero-meta {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  text-transform: none;
  letter-spacing: 0.04em;
  font-size: 13px;
}
.hero-meta .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 13vw, 200px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: var(--text);
}
[dir="rtl"] .hero h1 {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: clamp(48px, 11vw, 160px);
}

.hero h1 .italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: -0.02em;
}
[dir="rtl"] .hero h1 .italic {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-style: normal;
  font-weight: 400;
  opacity: 0.6;
}

.hero h1 .underline {
  position: relative;
  white-space: nowrap;
  color: var(--accent);
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 0.08em;
  height: 0.04em;
  background: var(--accent);
  border-radius: 2px;
  transform-origin: left;
  animation: drawLine 1.2s cubic-bezier(.6,0,.2,1) 0.4s both;
}
@keyframes drawLine {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.hero-sub {
  max-width: 560px;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-muted);
}
[dir="rtl"] .hero-sub { font-family: 'IBM Plex Sans Arabic', sans-serif; line-height: 1.8; }

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--text);
  background: var(--surface);
  transition: all .3s ease;
  white-space: nowrap;
}
[dir="rtl"] .btn {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-size: 15px;
  font-weight: 500;
}
.btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 6px 24px var(--accent-glow);
}
.btn-accent {
  background: var(--text);
  border-color: var(--text);
  color: var(--bg-2);
}
.btn-accent:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn .arrow {
  font-family: var(--font-mono);
  font-size: 14px;
  transition: transform .3s ease;
}
.btn:hover .arrow { transform: translateX(3px); }
[dir="rtl"] .btn:hover .arrow { transform: translateX(-3px); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  text-transform: uppercase;
  z-index: 3;
}
[dir="rtl"] .scroll-cue {
  left: auto;
  right: var(--gutter);
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: 12px;
}
.scroll-cue::before {
  content: "";
  width: 40px;
  height: 1px;
  background: var(--accent);
  transform-origin: left;
  animation: scrollLine 2.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleX(0.2); opacity: 0.4; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* Coordinates label (tech detail in hero corner) */
.coords {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  z-index: 3;
}
.coords.tr { top: 100px; right: var(--gutter); text-align: right; }
[dir="rtl"] .coords.tr { right: auto; left: var(--gutter); text-align: left; }
.coords.br { bottom: 40px; right: var(--gutter); text-align: right; }
[dir="rtl"] .coords.br { right: auto; left: var(--gutter); text-align: left; }

/* ============ SECTION HEAD ============ */
.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: clamp(48px, 8vw, 96px);
  max-width: 820px;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.02;
}
[dir="rtl"] .section-head h2 {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 600;
}
.section-head h2 .italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-weight: 400;
}
[dir="rtl"] .section-head h2 .italic {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-style: normal;
  font-weight: 400;
  opacity: 0.6;
}

/* ============ CAPABILITIES (3-COL) ============ */
.capabilities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.cap {
  display: grid;
  gap: 18px;
  align-content: start;
}
.cap-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 500;
}
.cap-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--text);
}
[dir="rtl"] .cap-title { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; }
.cap-title .italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-weight: 400;
}
[dir="rtl"] .cap-title .italic {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-style: normal;
  opacity: 0.65;
}
.cap-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}
[dir="rtl"] .cap-desc { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 16px; line-height: 1.85; }
.cap-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  transition: color .25s ease, gap .25s ease;
}
[dir="rtl"] .cap-link {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 13px;
}
.cap-link:hover { color: var(--accent); gap: 14px; }

/* ============ SHOWREEL ============ */
.showreel-section { padding: var(--section-y) 0; }
.showreel-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 20px 80px rgba(10,14,26,0.06), 0 4px 16px rgba(10,14,26,0.03);
}
.showreel-frame::before {
  /* Subtle gradient frame */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, var(--accent), transparent 40%, transparent 60%, var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  pointer-events: none;
  z-index: 3;
}
.showreel-frame video,
.showreel-frame iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.showreel-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at center, rgba(247,248,250,0.4) 0%, rgba(247,248,250,0.85) 100%),
    linear-gradient(135deg, rgba(31,79,255,0.05) 0%, transparent 50%);
  transition: background .3s ease;
}
.showreel-frame:hover .showreel-overlay {
  background:
    radial-gradient(circle at center, rgba(247,248,250,0.3) 0%, rgba(247,248,250,0.75) 100%),
    linear-gradient(135deg, rgba(31,79,255,0.08) 0%, transparent 50%);
}
.showreel-play {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  border: 1px solid var(--text);
  background: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .35s cubic-bezier(.4,0,.2,1);
}
.showreel-frame:hover .showreel-play {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.06);
  box-shadow: 0 10px 30px var(--accent-glow);
}
.showreel-play svg {
  width: 28px;
  height: 28px;
  fill: var(--bg-2);
  margin-left: 4px;
}
.showreel-label {
  position: absolute;
  bottom: 24px;
  left: 28px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--bg-2);
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
[dir="rtl"] .showreel-label {
  left: auto;
  right: 28px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  text-transform: none;
  letter-spacing: 0.03em;
  font-size: 12px;
}

/* ============ PROCESS ============ */
.process-list { display: grid; }
.process-step {
  display: grid;
  grid-template-columns: 100px 1fr 280px;
  gap: 48px;
  padding: 36px 0;
  border-top: 1px solid var(--border);
  align-items: baseline;
  transition: background .3s ease;
}
.process-step:last-child { border-bottom: 1px solid var(--border); }
.process-step:hover { background: rgba(31,79,255,0.02); }
.process-step .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--text-dim);
}
.process-step .title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}
[dir="rtl"] .process-step .title { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; }
.process-step .title .italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-weight: 400;
}
[dir="rtl"] .process-step .title .italic {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-style: normal;
  opacity: 0.65;
}
.process-step .desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}
[dir="rtl"] .process-step .desc { font-family: 'IBM Plex Sans Arabic', sans-serif; line-height: 1.85; font-size: 16px; }

/* ============ CTA SECTION ============ */
.cta {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
  text-align: center;
  position: relative;
  background: var(--bg-2);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(31,79,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 50% 100%, rgba(31,79,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.cta .wrap { position: relative; z-index: 1; }
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 140px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.92;
  margin-bottom: 40px;
  color: var(--text);
}
[dir="rtl"] .cta h2 { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; }
.cta h2 .italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
[dir="rtl"] .cta h2 .italic {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-style: normal;
  font-weight: 600;
}

/* ============ FOOTER ============ */
.foot {
  padding: 96px 0 32px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
}
.foot-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.foot-brand .foot-logo {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}
[dir="rtl"] .foot-brand .foot-logo { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 700; }
.foot-brand .foot-logo .mark {
  width: 42px;
  height: 42px;
  background: url("nexorox-logo.svg") center / contain no-repeat;
  display: flex;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(31,79,255,0.22));
}
.foot-brand p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 320px;
  margin-top: 16px;
  line-height: 1.7;
}
[dir="rtl"] .foot-brand p { font-family: 'IBM Plex Sans Arabic', sans-serif; line-height: 1.85; font-size: 15px; }

.foot-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
  font-weight: 500;
}
[dir="rtl"] .foot-col h4 {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 13px;
}
.foot-col ul { display: grid; gap: 10px; }
.foot-col a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color .25s ease;
}
[dir="rtl"] .foot-col a { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 15px; }
.foot-col a:hover { color: var(--accent); }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
[dir="rtl"] .foot-bottom {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.02em;
  font-size: 12px;
}

/* ============ ENTRANCE ANIMATIONS ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .capabilities { grid-template-columns: 1fr; gap: 56px; }
  .process-step {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 28px 0;
  }
  .process-step .num { margin-bottom: 4px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .foot-brand { grid-column: 1 / -1; margin-bottom: 16px; }
  .coords { display: none; }
}

@media (max-width: 640px) {
  body::before { background-size: 36px 36px; opacity: 0.5; }
  
  .nav { padding: 16px var(--gutter); }
  .nav.scrolled { padding: 14px var(--gutter); }
  .nav-logo { font-size: 18px; }
  .nav-logo .mark { width: 28px; height: 28px; }
  .lang-switch { display: none; }
  
  .hero { padding: 120px 0 80px; }
  .hero-inner { gap: 32px; }
  .hero-meta { font-size: 10px; gap: 10px 20px; }
  [dir="rtl"] .hero-meta { font-size: 12px; }
  .hero-cta { flex-direction: column; width: 100%; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  
  .scroll-cue { bottom: 28px; font-size: 9px; }
  [dir="rtl"] .scroll-cue { font-size: 11px; }
  
  .showreel-frame { border-radius: 14px; }
  .showreel-play { width: 64px; height: 64px; }
  .showreel-play svg { width: 22px; height: 22px; }
  .showreel-label { bottom: 16px; left: 18px; font-size: 10px; padding: 5px 10px; }
  [dir="rtl"] .showreel-label { left: auto; right: 18px; }
  
  .foot { padding: 64px 0 28px; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; margin-bottom: 48px; padding-bottom: 32px; }
  .foot-brand { grid-column: 1; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  
  .menu { padding: 100px var(--gutter) 32px; }
  .menu-eyebrow { margin-bottom: 24px; }
  .menu-item > a, .menu-item > .menu-trigger { padding: 18px 0; gap: 16px; }
  .menu-item .label { font-size: clamp(28px, 10vw, 44px); }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ===================================================================
   ADDITIONAL ELEGANT SECTIONS — Page Hero, Stats, Work Cards, Quote,
   Forms, Pricing, FAQ, Blog Article
   =================================================================== */

/* ============ PAGE HERO (smaller for sub-pages) ============ */
.page-hero {
  padding: 180px 0 80px;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(31,79,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
[dir="rtl"] .page-hero::before { right: auto; left: -10%; }

.page-hero-inner {
  display: grid;
  gap: 32px;
  max-width: 1100px;
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 9vw, 128px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
[dir="rtl"] .page-hero h1 {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 600;
  letter-spacing: -0.025em;
  font-size: clamp(44px, 8vw, 112px);
}
.page-hero h1 .italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-weight: 400;
}
[dir="rtl"] .page-hero h1 .italic {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-style: normal;
  opacity: 0.6;
}

.page-hero p {
  max-width: 600px;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-muted);
}
[dir="rtl"] .page-hero p { line-height: 1.85; }

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
[dir="rtl"] .page-breadcrumb {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: 13px;
}
.page-breadcrumb a { color: inherit; transition: color .25s ease; }
.page-breadcrumb a:hover { color: var(--accent); }
.page-breadcrumb .sep { opacity: 0.5; }

/* ============ STATS ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.stat {
  display: grid;
  gap: 8px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.stat-num .italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
[dir="rtl"] .stat-label {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: 13px;
}

/* ============ SELECTED WORK GRID ============ */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
}
.work-card {
  display: block;
  position: relative;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.work-card:hover { transform: translateY(-4px); }
.work-card.span-2 { grid-column: 1 / -1; }

.work-card-image {
  aspect-ratio: 16 / 11;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
  background-size: cover;
  background-position: center;
}
.work-card.span-2 .work-card-image { aspect-ratio: 21 / 9; }
.work-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,79,255,0.06), transparent 50%);
  opacity: 0;
  transition: opacity .4s ease;
}
.work-card:hover .work-card-image::after { opacity: 1; }
.work-card-image .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 500;
  color: var(--accent);
  opacity: 0.15;
  letter-spacing: -0.04em;
}

.work-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
[dir="rtl"] .work-card-meta {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: 13px;
}
.work-card-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.1;
  color: var(--text);
  transition: color .25s ease;
}
[dir="rtl"] .work-card-title { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; }
.work-card:hover .work-card-title { color: var(--accent); }
.work-card-title .italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-weight: 400;
}
.work-card-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============ QUOTE / MANIFESTO ============ */
.quote-section {
  padding: var(--section-y) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}
.quote-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(31,79,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.quote-section .wrap { position: relative; z-index: 1; }

.quote-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(80px, 12vw, 160px);
  line-height: 1;
  color: var(--accent);
  margin-bottom: -20px;
}
.quote-body {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
  max-width: 1100px;
}
[dir="rtl"] .quote-body {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
}
.quote-body .accent { color: var(--accent); font-style: normal; font-family: var(--font-display); font-weight: 500; }
[dir="rtl"] .quote-body .accent { font-family: 'IBM Plex Sans Arabic', sans-serif; }

.quote-attr {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 16px;
}
[dir="rtl"] .quote-attr {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 13px;
}
.quote-attr::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
}

/* ============ TRUSTED BY (logo strip) ============ */
.trusted {
  padding: clamp(48px, 6vw, 80px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trusted-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
[dir="rtl"] .trusted-label {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 13px;
}
.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.trusted-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-dim);
  opacity: 0.7;
  transition: opacity .25s ease, color .25s ease;
}
.trusted-logo:hover { opacity: 1; color: var(--text); }

/* ============ CONTACT FORM ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}
.contact-form {
  display: grid;
  gap: 24px;
}
.field {
  display: grid;
  gap: 8px;
}
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
[dir="rtl"] .field label {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 12px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text);
  transition: border-color .25s ease, box-shadow .25s ease;
}
[dir="rtl"] .field input,
[dir="rtl"] .field textarea,
[dir="rtl"] .field select { font-family: 'IBM Plex Sans Arabic', sans-serif; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.field textarea { resize: vertical; min-height: 140px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-info {
  display: grid;
  gap: 32px;
  align-content: start;
}
.contact-info-block { display: grid; gap: 8px; }
.contact-info-block h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}
[dir="rtl"] .contact-info-block h4 {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 13px;
}
.contact-info-block p, .contact-info-block a {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  transition: color .25s ease;
  line-height: 1.3;
}
[dir="rtl"] .contact-info-block p,
[dir="rtl"] .contact-info-block a {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-weight: 600;
}
.contact-info-block a:hover { color: var(--accent); }

/* ============ PRICING ============ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pricing-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: grid;
  gap: 24px;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.pricing-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 20px 60px rgba(10,14,26,0.06);
  transform: translateY(-4px);
}
.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  box-shadow: 0 30px 80px rgba(31,79,255,0.10), 0 4px 20px rgba(31,79,255,0.06);
}
.pricing-card.featured::before {
  content: attr(data-badge);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
[dir="rtl"] .pricing-card.featured::before {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 12px;
}

.pricing-name {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
[dir="rtl"] .pricing-name {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 13px;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.pricing-price .italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.45em;
  letter-spacing: 0;
}

.pricing-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
[dir="rtl"] .pricing-tagline { font-family: 'IBM Plex Sans Arabic', sans-serif; line-height: 1.8; font-size: 15px; }

.pricing-features {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}
[dir="rtl"] .pricing-features li { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 15px; }
.pricing-features li::before {
  content: "→";
  flex-shrink: 0;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  margin-top: 3px;
}
[dir="rtl"] .pricing-features li::before { content: "←"; }

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* ============ FAQ ============ */
.faq {
  display: grid;
  max-width: 880px;
}
.faq-item {
  border-top: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  transition: padding .3s ease;
}
[dir="rtl"] .faq-q { text-align: right; }
.faq-q:hover { padding-left: 8px; }
[dir="rtl"] .faq-q:hover { padding-left: 0; padding-right: 8px; }
.faq-q-text {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--text);
}
[dir="rtl"] .faq-q-text { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; }
.faq-q-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  position: relative;
}
.faq-q-icon::before,
.faq-q-icon::after {
  content: "";
  position: absolute;
  background: var(--text-dim);
  transition: transform .35s cubic-bezier(.4,0,.2,1), background .3s ease;
}
.faq-q-icon::before { width: 14px; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-q-icon::after { width: 1.5px; height: 14px; left: 50%; top: 0; transform: translateX(-50%); }
.faq-item.open .faq-q-icon::before,
.faq-item.open .faq-q-icon::after { background: var(--accent); }
.faq-item.open .faq-q-icon::after { transform: translateX(-50%) rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s cubic-bezier(.4,0,.2,1), padding .35s ease;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 24px; }
.faq-a-inner {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 720px;
}
[dir="rtl"] .faq-a-inner { font-family: 'IBM Plex Sans Arabic', sans-serif; line-height: 1.85; font-size: 16px; }

/* ============ BLOG / ARTICLE ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 5vw, 80px);
}
.blog-card {
  display: grid;
  gap: 16px;
  text-decoration: none;
  transition: transform .35s ease;
}
.blog-card:hover { transform: translateY(-4px); }
.blog-card-image {
  aspect-ratio: 16 / 10;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.blog-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,79,255,0.08), transparent 50%);
}
.blog-card-image .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 500;
  color: var(--accent);
  opacity: 0.2;
}
.blog-card-meta {
  display: flex;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
[dir="rtl"] .blog-card-meta {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: 12px;
}
.blog-card-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.2;
  color: var(--text);
  transition: color .25s ease;
}
[dir="rtl"] .blog-card-title { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; }
.blog-card:hover .blog-card-title { color: var(--accent); }
.blog-card-excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}
[dir="rtl"] .blog-card-excerpt { font-family: 'IBM Plex Sans Arabic', sans-serif; line-height: 1.85; font-size: 16px; }

/* Article layout */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 180px 0 80px;
  position: relative;
  z-index: 1;
}
.article-hero {
  display: grid;
  gap: 24px;
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.article-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
[dir="rtl"] .article-hero h1 { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; }
.article-hero h1 .italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-weight: 400;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
[dir="rtl"] .article-meta {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.03em;
  text-transform: none;
  font-size: 13px;
}

.article-body { display: grid; gap: 24px; }
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-top: 32px;
}
[dir="rtl"] .article-body h2 { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; }
.article-body h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 24px;
}
[dir="rtl"] .article-body h3 { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; }
.article-body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
}
[dir="rtl"] .article-body p { font-family: 'IBM Plex Sans Arabic', sans-serif; line-height: 1.9; font-size: 17px; }
.article-body ul, .article-body ol {
  padding-left: 24px;
  display: grid;
  gap: 12px;
}
[dir="rtl"] .article-body ul,
[dir="rtl"] .article-body ol { padding-left: 0; padding-right: 24px; }
.article-body li {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  list-style: disc;
}
[dir="rtl"] .article-body li { font-family: 'IBM Plex Sans Arabic', sans-serif; line-height: 1.9; }
.article-body blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  color: var(--text);
  padding-left: 24px;
  border-left: 2px solid var(--accent);
  margin: 24px 0;
}
[dir="rtl"] .article-body blockquote {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  font-style: normal;
  padding-left: 0;
  padding-right: 24px;
  border-left: none;
  border-right: 2px solid var(--accent);
  line-height: 1.7;
}
.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ============ SERVICE DETAIL PAGES ============ */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding: clamp(48px, 8vw, 96px) 0;
  border-top: 1px solid var(--border);
}
.service-grid + .service-grid { border-top: 1px solid var(--border); }
.service-grid h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  position: sticky;
  top: 120px;
  height: fit-content;
}
[dir="rtl"] .service-grid h2 { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; }
.service-grid h2 .italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-weight: 400;
}

.service-list {
  display: grid;
  gap: 20px;
}
.service-list li {
  padding: 20px 0;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 6px;
}
.service-list li:last-child { border-bottom: 1px solid var(--border); }
.service-list-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
}
[dir="rtl"] .service-list-title { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; }
.service-list-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}
[dir="rtl"] .service-list-desc { font-family: 'IBM Plex Sans Arabic', sans-serif; line-height: 1.8; font-size: 15px; }

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.tech-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  background: var(--surface);
  transition: all .25s ease;
}
[dir="rtl"] .tech-chip { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 12px; }
.tech-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============ CALENDAR / CONSULTATION BOOKING ============ */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
}
.booking-info { display: grid; gap: 32px; align-content: start; }
.booking-feature {
  display: grid;
  gap: 8px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
.booking-feature:last-child { border-bottom: 1px solid var(--border); }
.booking-feature h4 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}
[dir="rtl"] .booking-feature h4 { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; }
.booking-feature h4::before {
  content: "→";
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 14px;
}
[dir="rtl"] .booking-feature h4::before { content: "←"; }
.booking-feature p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}
[dir="rtl"] .booking-feature p { font-family: 'IBM Plex Sans Arabic', sans-serif; line-height: 1.8; font-size: 15px; }

/* ============ EXTRA RESPONSIVE ============ */
@media (max-width: 980px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .work-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }
  .pricing-card.featured { order: -1; }
  .service-grid { grid-template-columns: 1fr; gap: 32px; }
  .service-grid h2 { position: static; }
  .booking-grid { grid-template-columns: 1fr; gap: 48px; }
  .blog-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-num { font-size: 44px; }
  .page-hero { padding: 140px 0 60px; min-height: 50vh; }
  .pricing-card { padding: 32px 24px; }
  .field-row { grid-template-columns: 1fr; }
  .article { padding: 140px 20px 60px; }
  .article-body p, .article-body li { font-size: 16px; }
  .trusted-logos { gap: 24px; }
  .trusted-logo { font-size: 17px; }
}


/* ============================================================ */
/*  PRICING v2 — Launch hero + monthly engines + Coming Soon    */
/* ============================================================ */

.pricing-phase-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.pricing-phase-head .eyebrow {
  margin-bottom: 16px;
}
.pricing-phase-head h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 20px;
}
.pricing-phase-head .lead {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 580px;
}
[dir="rtl"] .pricing-phase-head h2 { font-family: 'IBM Plex Sans Arabic', sans-serif; line-height: 1.3; letter-spacing: 0; font-weight: 600; }
[dir="rtl"] .pricing-phase-head .lead { font-family: 'IBM Plex Sans Arabic', sans-serif; line-height: 1.8; font-size: 16px; }

/* ---- Launch hero card ---- */
.pricing-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 60px;
  padding: 56px;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(31,79,255,0.10), 0 4px 20px rgba(31,79,255,0.06);
}
.pricing-hero-card::before {
  content: attr(data-badge);
  position: absolute;
  top: -12px;
  left: 56px;
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}
[dir="rtl"] .pricing-hero-card::before {
  left: auto;
  right: 56px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 12px;
}
.pricing-hero-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.pricing-hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--text);
  margin: 0;
}
[dir="rtl"] .pricing-hero-title { font-family: 'IBM Plex Sans Arabic', sans-serif; line-height: 1.3; letter-spacing: 0; font-weight: 600; }
.pricing-hero-left .pricing-price {
  font-size: clamp(48px, 6vw, 72px);
}
.pricing-hero-left .btn {
  align-self: flex-start;
  margin-top: 8px;
}
.pricing-hero-right {
  display: flex;
  flex-direction: column;
}
.pricing-hero-list-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
[dir="rtl"] .pricing-hero-list-head {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 13px;
}
.pricing-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  padding-top: 0;
  border-top: 0;
}

/* ---- Currency symbol ---- */
.pricing-price .currency {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.42em;
  letter-spacing: 0;
  margin-right: 6px;
  vertical-align: 0.35em;
}
[dir="rtl"] .pricing-price .currency {
  margin-right: 0;
  margin-left: 6px;
}

/* ---- Monthly grid (4 cards) ---- */
.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pricing-grid-4 .pricing-card {
  padding: 36px 28px;
}
.pricing-grid-4 .pricing-price {
  font-size: clamp(32px, 3.5vw, 44px);
}
.pricing-grid-4 .pricing-features {
  font-size: 13.5px;
}
.pricing-grid-4 .pricing-features li {
  font-size: 13.5px;
}

/* ---- Pricing note ---- */
.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 48px;
  padding: 20px 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  max-width: 880px;
}
.pricing-note-mark {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 13px;
  margin-top: 1px;
}
.pricing-note p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
}
[dir="rtl"] .pricing-note p { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 14.5px; line-height: 1.8; }

/* ---- Includes grid ---- */
.includes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.include-item {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color .3s ease, transform .3s ease;
}
.include-item:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.include-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-2);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 14px;
  margin-bottom: 16px;
}
[dir="rtl"] .include-icon { transform: scaleX(-1); }
.include-item h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 8px;
}
[dir="rtl"] .include-item h4 { font-family: 'IBM Plex Sans Arabic', sans-serif; font-weight: 600; letter-spacing: 0; font-size: 17px; }
.include-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-muted);
}
[dir="rtl"] .include-item p { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 14.5px; line-height: 1.8; }

/* ============================================================ */
/*  COMING SOON — banner + cap-disabled + service page overlay   */
/* ============================================================ */
.coming-soon-banner {
  position: relative;
  margin: 32px 0 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(31,79,255,0.06), rgba(31,79,255,0.02));
  border: 1px dashed var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.coming-soon-banner .pill {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
[dir="rtl"] .coming-soon-banner .pill {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 12px;
}
.coming-soon-banner p {
  margin: 0;
  flex: 1;
  min-width: 240px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
[dir="rtl"] .coming-soon-banner p { font-family: 'IBM Plex Sans Arabic', sans-serif; font-size: 16px; line-height: 1.8; }
.coming-soon-banner .btn {
  flex-shrink: 0;
}

.coming-soon-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}
[dir="rtl"] .coming-soon-hero-tag {
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 12px;
}

/* Disabled service capability card (on services.html / index.html) */
.cap.cap-soon {
  position: relative;
  opacity: 0.65;
}
.cap.cap-soon::after {
  content: attr(data-soon);
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
[dir="rtl"] .cap.cap-soon::after {
  right: auto;
  left: 16px;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
  letter-spacing: 0.04em;
  text-transform: none;
  font-size: 11px;
}
.cap.cap-soon .cap-link {
  pointer-events: auto;
}

/* ============================================================ */
/*  RESPONSIVE — pricing v2                                       */
/* ============================================================ */
@media (max-width: 1100px) {
  .pricing-hero-card { grid-template-columns: 1fr; gap: 40px; padding: 48px 40px; }
  .pricing-grid-4 { grid-template-columns: 1fr 1fr; gap: 18px; }
  .includes-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .pricing-hero-card { padding: 40px 24px; }
  .pricing-hero-card::before { left: 24px; }
  [dir="rtl"] .pricing-hero-card::before { left: auto; right: 24px; }
  .pricing-features-grid { grid-template-columns: 1fr; gap: 10px; }
  .pricing-grid-4 { grid-template-columns: 1fr; gap: 14px; }
  .pricing-grid-4 .pricing-card.featured { order: -1; }
  .includes-grid { grid-template-columns: 1fr; gap: 14px; }
  .pricing-note { padding: 16px 18px; gap: 12px; }
  .coming-soon-banner { flex-direction: column; align-items: flex-start; padding: 20px; }
}
