/* ================================================================
   VERTEX — QUANTUM FUTURE | style.css v4.0
   Palette: Cosmic Neon — Zero Brown — Pure Future
   ✦ Holographic Glass  ✦ Quantum Gradients  ✦ Plasma Glow
   ✦ Bilingual AR/EN RTL/LTR  ✦ Dark / Light Mode
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@300;400;500&family=Cairo:wght@300;400;600;700;800;900&family=Tajawal:wght@300;400;500;700;800&display=swap');

/* ── Initial Language Visibility (no flash) ── */
html[lang="ar"] .en-version { display: none !important; }
html[lang="en"] .ar-version { display: none !important; }

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

/* ================================================================
   QUANTUM DARK TOKEN SYSTEM
================================================================ */
:root {
  /* === Cosmic Background === */
  --bg-void:        #00000a;
  --bg-deep:        #020010;
  --bg-space:       #05001a;
  --bg-nebula:      #080025;
  --bg-card:        rgba(5, 0, 30, 0.7);
  --bg-glass:       rgba(120, 0, 255, 0.04);
  --bg-glass-h:     rgba(120, 0, 255, 0.1);

  /* === Quantum Color Palette (ZERO BROWN) === */
  --q-violet:       #7c3aed;
  --q-purple:       #a855f7;
  --q-plasma:       #d946ef;
  --q-cyan:         #00fff5;
  --q-electric:     #00d4ff;
  --q-neon-green:   #39ff14;
  --q-hot-pink:     #ff0090;
  --q-gold:         #ffe600;
  --q-white:        #f0f4ff;
  --q-ice:          #b0d4ff;

  /* === Quantum Gradients === */
  --grad-quantum:   linear-gradient(135deg, #7c3aed 0%, #d946ef 35%, #00fff5 70%, #39ff14 100%);
  --grad-plasma:    linear-gradient(135deg, #d946ef 0%, #7c3aed 50%, #00d4ff 100%);
  --grad-neon:      linear-gradient(90deg, #00fff5 0%, #d946ef 50%, #39ff14 100%);
  --grad-void:      linear-gradient(180deg, #020010 0%, #00000a 100%);
  --grad-hero:      radial-gradient(ellipse at 50% 0%, rgba(120,0,255,0.25) 0%, rgba(0,255,245,0.08) 40%, transparent 70%);
  --grad-text:      linear-gradient(135deg, #00fff5, #d946ef, #7c3aed, #39ff14);
  --grad-card-glow: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(217,70,239,0.08), rgba(0,255,245,0.05));

  /* === Glow Effects === */
  --glow-violet:    0 0 30px rgba(124,58,237,0.6), 0 0 80px rgba(124,58,237,0.2);
  --glow-cyan:      0 0 30px rgba(0,255,245,0.5), 0 0 60px rgba(0,255,245,0.15);
  --glow-plasma:    0 0 30px rgba(217,70,239,0.5), 0 0 70px rgba(217,70,239,0.2);
  --glow-neon:      0 0 20px rgba(57,255,20,0.6);
  --glow-card:      0 8px 40px rgba(0,0,0,0.8), 0 0 0 1px rgba(124,58,237,0.2), inset 0 0 40px rgba(120,0,255,0.03);
  --glow-btn:       0 0 40px rgba(0,255,245,0.4), 0 0 80px rgba(217,70,239,0.3), 0 20px 60px rgba(0,0,0,0.6);

  /* === Text === */
  --text-prime:     #f0f4ff;
  --text-second:    #8892b0;
  --text-dim:       #3d4870;
  --text-accent:    #00fff5;

  /* === Borders === */
  --border-q:       rgba(124,58,237,0.2);
  --border-glass:   rgba(255,255,255,0.04);
  --border-glow:    rgba(0,255,245,0.4);
  --border-hot:     rgba(217,70,239,0.5);

  /* === Typography === */
  --f-disp-en:  'Syne', sans-serif;
  --f-disp-ar:  'Cairo', sans-serif;
  --f-body-en:  'Inter', sans-serif;
  --f-body-ar:  'Tajawal', sans-serif;
  --f-mono:     'JetBrains Mono', monospace;

  /* === Motion === */
  --spring:  cubic-bezier(0.16, 1, 0.3, 1);
  --smooth:  cubic-bezier(0.4, 0, 0.2, 1);
  --bounce:  cubic-bezier(0.34, 1.56, 0.64, 1);

  /* === Layout === */
  --max-w:  1400px;
  --nav-h:  80px;
}

/* ================================================================
   LIGHT MODE
================================================================ */
[data-theme="light"] {
  --bg-void:    #f0f0ff;
  --bg-deep:    #e8e8ff;
  --bg-space:   #f5f0ff;
  --bg-nebula:  #ede8ff;
  --bg-card:    rgba(255, 255, 255, 0.85);
  --bg-glass:   rgba(124,58,237,0.05);
  --bg-glass-h: rgba(124,58,237,0.1);
  --text-prime: #0a0020;
  --text-second:#4a4a6a;
  --text-dim:   #9090b0;
  --border-glass: rgba(0,0,0,0.06);
  --border-q:   rgba(124,58,237,0.25);
  --glow-card:  0 8px 40px rgba(124,58,237,0.12), 0 0 0 1px rgba(124,58,237,0.15);
}

/* ================================================================
   BASE
================================================================ */
html { scroll-behavior: smooth; font-size: 16px; cursor: none; }
html[lang="ar"] { direction: rtl; }
html[lang="en"] { direction: ltr; }

body {
  font-family: var(--f-body-en);
  background: var(--bg-void);
  color: var(--text-prime);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
  transition: background 0.6s var(--smooth), color 0.6s var(--smooth);
}
html[lang="ar"] body { font-family: var(--f-body-ar); }

a, button { cursor: none; text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--q-plasma); color: #fff; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

/* ================================================================
   EYEBROW & TITLES
================================================================ */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--q-cyan);
  display: block;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--f-disp-en);
  font-size: clamp(36px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 56px;
  color: var(--text-prime);
}
html[lang="ar"] .section-title { font-family: var(--f-disp-ar); letter-spacing: 0; }
.section-title em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%;
  animation: grad-shift 4s linear infinite;
}
@keyframes grad-shift { 0%{background-position:0%} 100%{background-position:200%} }

/* Reveal Animations */
.reveal-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--spring), transform 0.8s var(--spring);
  transition-delay: var(--rd, 0s);
}
.reveal-item.in { opacity: 1; transform: translateY(0); }

/* ================================================================
   CUSTOM CURSOR — HOLOGRAPHIC
================================================================ */
#cursor-dot {
  position: fixed; width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--q-cyan);
  pointer-events: none; z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--spring), height 0.3s var(--spring);
  box-shadow: 0 0 16px var(--q-cyan), 0 0 32px rgba(0,255,245,0.5);
  will-change: left, top;
}
#cursor-ring {
  position: fixed; width: 42px; height: 42px;
  border: 1px solid rgba(0,255,245,0.5);
  border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--spring), height 0.5s var(--spring), border-color 0.3s;
  will-change: left, top;
}
#cursor-label {
  position: fixed;
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--q-cyan); pointer-events: none; z-index: 10000;
  opacity: 0; transform: translateX(-50%);
  transition: opacity 0.3s; white-space: nowrap;
}
body.cur-hover #cursor-dot { width: 12px; height: 12px; background: var(--q-plasma); box-shadow: 0 0 20px var(--q-plasma); }
body.cur-hover #cursor-ring { width: 80px; height: 80px; border-color: var(--q-plasma); }
body.cur-hover #cursor-label { opacity: 1; }

/* ================================================================
   NAVIGATION — QUANTUM BAR
================================================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h); z-index: 1000;
  transition: background 0.4s var(--smooth), border-color 0.4s;
  border-bottom: 1px solid transparent;
}
#navbar.scrolled {
  background: rgba(2, 0, 16, 0.88);
  backdrop-filter: blur(24px) saturate(1.5);
  border-color: rgba(124,58,237,0.15);
}
[data-theme="light"] #navbar.scrolled {
  background: rgba(240, 240, 255, 0.90);
}

.nav-container {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
  height: 100%; display: flex; align-items: center; gap: 40px;
}

.nav-logo {
  font-family: var(--f-disp-en); font-size: 22px; font-weight: 800;
  letter-spacing: -0.04em; flex-shrink: 0;
  background: var(--grad-quantum);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200%;
  animation: grad-shift 3s linear infinite;
  filter: drop-shadow(0 0 12px rgba(0,255,245,0.4));
}

.nav-links {
  display: flex; list-style: none; gap: 36px;
  margin-left: auto; align-items: center;
}
html[lang="ar"] .nav-links { margin-left: 0; margin-right: auto; }

.nav-links a {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-second);
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--grad-neon);
  transform: scaleX(0); transition: transform 0.3s var(--spring);
}
.nav-links a:hover, .nav-links a.nav-active { color: var(--q-cyan); }
.nav-links a:hover::after, .nav-links a.nav-active::after { transform: scaleX(1); }

.nav-controls {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}

/* Language toggle */
#lang-toggle {
  background: rgba(124,58,237,0.08);
  border: 1px solid var(--border-q);
  border-radius: 20px; padding: 7px 16px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--text-second);
  cursor: none; display: flex; align-items: center; gap: 8px;
  transition: all 0.3s;
}
#lang-toggle:hover {
  background: rgba(124,58,237,0.15);
  border-color: var(--q-cyan); color: var(--q-cyan);
  box-shadow: 0 0 20px rgba(0,255,245,0.1);
}
.lang-indicator {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--grad-plasma);
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; color: #fff; font-weight: 700;
  transition: transform 0.4s var(--spring);
}

/* Theme toggle */
#theme-toggle {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(124,58,237,0.08);
  border: 1px solid var(--border-q);
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  transition: all 0.3s var(--spring);
}
#theme-toggle:hover {
  border-color: var(--q-cyan);
  box-shadow: 0 0 20px rgba(0,255,245,0.2);
  transform: rotate(22deg);
}
#theme-toggle svg { width: 18px; height: 18px; color: var(--text-second); transition: color 0.3s; }
#theme-toggle:hover svg { color: var(--q-cyan); }

/* Nav CTA */
.nav-cta {
  background: var(--grad-plasma);
  color: #fff !important;
  padding: 10px 22px; border-radius: 40px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: all 0.3s var(--spring);
  box-shadow: 0 0 20px rgba(217,70,239,0.3);
}
.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-plasma);
}

/* Mobile menu */
.nav-menu-btn {
  display: none; background: none;
  border: 1px solid var(--border-q);
  border-radius: 8px; width: 42px; height: 42px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  cursor: none; padding: 10px;
  transition: border-color 0.3s;
}
.nav-menu-btn:hover { border-color: var(--q-cyan); }
.menu-bar {
  display: block; width: 20px; height: 1.5px;
  background: var(--text-prime);
  transition: transform 0.3s var(--spring), opacity 0.3s;
}

/* ================================================================
   LOADER — QUANTUM
================================================================ */
#loader {
  position: fixed; inset: 0;
  background: var(--bg-void);
  z-index: 99998;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
  transition: opacity 0.8s var(--smooth), visibility 0.8s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-family: var(--f-disp-en); font-size: 40px; font-weight: 800;
  background: var(--grad-quantum); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200%; animation: grad-shift 1.5s linear infinite;
  letter-spacing: -0.04em;
}
.loader-bar-wrap {
  width: 220px; height: 2px;
  background: rgba(124,58,237,0.1); border-radius: 2px; overflow: hidden;
}
.loader-bar {
  height: 100%;
  background: var(--grad-neon); width: 0%;
  animation: loader-fill 1.4s var(--smooth) forwards;
  box-shadow: 0 0 10px var(--q-cyan);
}
@keyframes loader-fill { to { width: 100%; } }

/* ================================================================
   HERO SECTION — QUANTUM VOID
================================================================ */
.section-hero {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--bg-void);
  padding-top: var(--nav-h);
}

#neural-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.85; pointer-events: none;
}

.hero-aurora {
  position: absolute; inset: 0;
  background: var(--grad-hero);
  pointer-events: none;
}

/* Orbits */
.hero-orbit {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(124,58,237,0.12);
  pointer-events: none;
  animation: orbit-breathe 8s ease-in-out infinite;
}
.hero-orbit-1 { width: 520px; height: 520px; top: 50%; left: 50%; transform: translate(-50%,-55%); }
.hero-orbit-2 { width: 780px; height: 780px; top: 50%; left: 50%; transform: translate(-50%,-55%); border-color: rgba(0,255,245,0.06); animation-delay: -2.5s; }
.hero-orbit-3 { width: 1040px; height: 1040px; top: 50%; left: 50%; transform: translate(-50%,-55%); border-color: rgba(217,70,239,0.04); animation-delay: -5s; }

@keyframes orbit-breathe {
  0%,100% { opacity:0.4; }
  50%      { opacity:0.9; }
}

/* Floating quantum particles */
.hero-particle-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.q-particle {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, var(--q-cyan), transparent);
  animation: q-float 10s ease-in-out infinite;
  opacity: 0.6;
}

@keyframes q-float {
  0%,100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50%      { transform: translateY(-60px) scale(1.3); opacity: 0.7; }
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center; max-width: 1000px;
  padding: 0 clamp(20px,5vw,60px);
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--q-cyan); margin-bottom: 32px;
  padding: 8px 24px;
  background: rgba(0,255,245,0.05);
  border: 1px solid rgba(0,255,245,0.2);
  border-radius: 40px;
  animation: eyebrow-in 1s var(--spring) 0.3s both;
  box-shadow: 0 0 30px rgba(0,255,245,0.08);
}
.hero-eyebrow::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: var(--q-cyan);
  box-shadow: 0 0 12px var(--q-cyan), 0 0 24px rgba(0,255,245,0.5);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes eyebrow-in { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero-title {
  font-family: var(--f-disp-en);
  font-size: clamp(56px,10vw,140px);
  font-weight: 800; line-height: 0.92;
  letter-spacing: -0.045em; margin-bottom: 32px; overflow: hidden;
}
html[lang="ar"] .hero-title {
  font-family: var(--f-disp-ar);
  letter-spacing: -0.01em; line-height: 1.05;
}

.hero-title .line-wrap { overflow: hidden; display: block; }
.hero-title .line-inner {
  display: block;
  animation: line-up 1s var(--spring) both;
  animation-delay: calc(var(--li,0)*0.13s + 0.5s);
}
@keyframes line-up { from{transform:translateY(110%);opacity:0} to{transform:translateY(0);opacity:1} }

.hero-title .grad-word {
  background: var(--grad-quantum);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200%; animation: grad-shift 2s linear infinite;
  filter: drop-shadow(0 0 30px rgba(0,255,245,0.3));
}

.hero-sub {
  font-size: clamp(16px,2vw,20px);
  color: var(--text-second); max-width: 620px;
  margin: 0 auto 48px; line-height: 1.75;
  animation: fade-up 1s var(--spring) 1s both;
}
html[lang="ar"] .hero-sub { font-family: var(--f-body-ar); }
@keyframes fade-up { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

.hero-ctas {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
  animation: fade-up 1s var(--spring) 1.2s both;
}

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2; animation: fade-up 1s var(--spring) 1.8s both;
}
.hero-scroll span {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--text-dim);
}
.hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--q-cyan), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%  { transform:scaleY(0); transform-origin:top; opacity:1; }
  50% { transform:scaleY(1); transform-origin:top; }
  51% { transform-origin:bottom; }
  100%{ transform:scaleY(0); transform-origin:bottom; opacity:0.3; }
}

/* ================================================================
   BUTTONS — QUANTUM
================================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  background: var(--grad-plasma);
  color: #fff; border-radius: 40px;
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: transform 0.3s var(--spring), box-shadow 0.3s;
  position: relative; overflow: hidden;
  box-shadow: var(--glow-plasma);
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg,rgba(255,255,255,0.2),transparent);
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-4px); box-shadow: 0 0 60px rgba(217,70,239,0.6), 0 20px 40px rgba(0,0,0,0.4); }
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 35px;
  background: rgba(124,58,237,0.06);
  color: var(--text-prime);
  border: 1px solid var(--border-q);
  border-radius: 40px;
  font-family: var(--f-mono); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  backdrop-filter: blur(8px);
  transition: all 0.3s var(--spring);
}
.btn-ghost:hover {
  background: rgba(124,58,237,0.15);
  border-color: var(--q-cyan);
  color: var(--q-cyan);
  transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}

/* ================================================================
   ★ QUANTUM CALL BUTTON — NEVER SEEN BEFORE ★
================================================================ */
.quantum-call-wrap {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 16px;
}
html[lang="ar"] .quantum-call-wrap {
  right: auto;
  left: 40px;
  flex-direction: row-reverse;
}

/* The label that slides in on hover */
.quantum-call-label {
  background: rgba(5,0,30,0.9);
  border: 1px solid var(--border-glow);
  border-radius: 40px;
  padding: 12px 24px;
  display: flex; flex-direction: column; align-items: flex-end;
  backdrop-filter: blur(20px);
  transform: translateX(20px) scale(0.9);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--spring);
  box-shadow: 0 0 30px rgba(0,255,245,0.1);
}
html[lang="ar"] .quantum-call-label { align-items: flex-start; transform: translateX(-20px) scale(0.9); }

.quantum-call-wrap:hover .quantum-call-label {
  transform: translateX(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.call-label-top {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--q-cyan);
  margin-bottom: 4px;
}
.call-label-number {
  font-family: var(--f-disp-en);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-prime);
  letter-spacing: 0.05em;
  direction: ltr;
}

/* THE LEGENDARY CALL BUTTON */
.quantum-call-btn {
  position: relative;
  width: 72px; height: 72px;
  cursor: none;
  border: none; background: none; padding: 0;
  flex-shrink: 0;
}

/* Outer ring - rotating */
.qcb-outer-ring {
  position: absolute; inset: -10px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--q-cyan) 0deg,
    var(--q-plasma) 90deg,
    var(--q-violet) 180deg,
    var(--q-neon-green) 270deg,
    var(--q-cyan) 360deg
  );
  animation: qcb-spin 3s linear infinite;
  opacity: 0.7;
}
.qcb-outer-ring::before {
  content: '';
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: var(--bg-void);
}

/* Middle ring - counter rotating */
.qcb-mid-ring {
  position: absolute; inset: -2px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: linear-gradient(var(--bg-void), var(--bg-void)) padding-box,
              var(--grad-quantum) border-box;
  animation: qcb-counter-spin 2s linear infinite;
}

/* Inner glow circle */
.qcb-inner {
  position: absolute; inset: 4px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%,
    rgba(0,255,245,0.25) 0%,
    rgba(124,58,237,0.4) 40%,
    rgba(217,70,239,0.3) 70%,
    rgba(2,0,16,0.95) 100%
  );
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.3s var(--spring);
  overflow: hidden;
  border: 1px solid rgba(0,255,245,0.3);
}

/* Holographic sheen */
.qcb-inner::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,0.15) 0%,
    transparent 40%,
    rgba(0,255,245,0.1) 60%,
    transparent 100%
  );
  animation: qcb-sheen 2.5s ease-in-out infinite;
}

@keyframes qcb-sheen {
  0%,100% { transform: rotate(0deg) scale(1); opacity: 0.6; }
  50%      { transform: rotate(180deg) scale(1.1); opacity: 1; }
}

/* Phone icon */
.qcb-phone {
  position: relative; z-index: 1;
  width: 28px; height: 28px;
  color: var(--text-prime);
  filter: drop-shadow(0 0 8px var(--q-cyan));
  transition: transform 0.3s var(--spring), filter 0.3s;
  animation: qcb-ring-shake 4s ease-in-out infinite;
}

@keyframes qcb-ring-shake {
  0%,70%,100%  { transform: rotate(0deg); }
  72%  { transform: rotate(-15deg); }
  74%  { transform: rotate(15deg); }
  76%  { transform: rotate(-12deg); }
  78%  { transform: rotate(12deg); }
  80%  { transform: rotate(-8deg); }
  82%  { transform: rotate(8deg); }
  84%  { transform: rotate(0deg); }
}

@keyframes qcb-spin { from{transform:rotate(0deg)} to{transform:rotate(360deg)} }
@keyframes qcb-counter-spin { from{transform:rotate(0deg)} to{transform:rotate(-360deg)} }

/* Pulse waves */
.qcb-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid var(--q-cyan);
  animation: qcb-pulse-out 2.5s ease-out infinite;
  opacity: 0;
}
.qcb-pulse:nth-child(2) { animation-delay: 0.8s; border-color: var(--q-plasma); }
.qcb-pulse:nth-child(3) { animation-delay: 1.6s; border-color: var(--q-violet); }

@keyframes qcb-pulse-out {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* DATA STREAM particles on button */
.qcb-data {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden; pointer-events: none;
}
.qcb-data-dot {
  position: absolute; width: 2px; height: 2px;
  border-radius: 50%; background: var(--q-cyan);
  animation: qcb-data-stream 2s linear infinite;
  opacity: 0;
}
@keyframes qcb-data-stream {
  0%   { opacity:0; transform:translateY(40px) scale(0); }
  30%  { opacity:1; }
  70%  { opacity:1; }
  100% { opacity:0; transform:translateY(-40px) scale(0); }
}

/* Hover states */
.quantum-call-btn:hover .qcb-inner { transform: scale(1.08); }
.quantum-call-btn:hover .qcb-phone { filter: drop-shadow(0 0 16px var(--q-cyan)); color: var(--q-cyan); }
.quantum-call-btn:hover .qcb-outer-ring { animation-duration: 1s; opacity: 1; }

/* ================================================================
   PARTNERS TICKER
================================================================ */
.section-partners {
  padding: 80px 0;
  background: var(--bg-deep);
  border-top: 1px solid rgba(124,58,237,0.1);
  border-bottom: 1px solid rgba(124,58,237,0.1);
  overflow: hidden;
}
.partners-header { text-align: center; margin-bottom: 48px; }
.partners-title {
  font-family: var(--f-disp-en); font-size: clamp(28px,4vw,48px);
  font-weight: 800; color: var(--text-prime);
}
html[lang="ar"] .partners-title { font-family: var(--f-disp-ar); }
.partners-title em {
  font-style: normal;
  background: var(--grad-text); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200%; animation: grad-shift 3s linear infinite;
}
.partners-ticker-wrap {
  position: relative; overflow: hidden;
}
.partners-ticker-wrap::before, .partners-ticker-wrap::after {
  content: ''; position: absolute; top:0; bottom:0; width:160px; z-index:2; pointer-events:none;
}
.partners-ticker-wrap::before { left:0; background:linear-gradient(to right,var(--bg-deep),transparent); }
.partners-ticker-wrap::after  { right:0; background:linear-gradient(to left,var(--bg-deep),transparent); }
.partners-ticker {
  display:flex; width:max-content;
  animation:ticker-scroll 40s linear infinite;
}
.partners-ticker:hover { animation-play-state:paused; }
@keyframes ticker-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.ticker-inner { display:flex; gap:20px; padding:0 10px; }
.partner-logo-card {
  width:180px; height:90px;
  background: rgba(10,0,40,0.6);
  border:1px solid rgba(124,58,237,0.15);
  border-radius:16px;
  display:flex; align-items:center; justify-content:center; padding:16px;
  transition: all 0.3s var(--spring);
  backdrop-filter:blur(8px); flex-shrink:0;
}
.partner-logo-card:hover {
  border-color:rgba(0,255,245,0.4);
  transform:translateY(-6px) scale(1.03);
  box-shadow: 0 0 30px rgba(0,255,245,0.1), var(--glow-card);
}
.partner-logo-card svg { width:100%; height:100%; }

/* ================================================================
   DNA SECTION
================================================================ */
.section-dna {
  padding:120px 0; background:var(--bg-void);
  position:relative; overflow:hidden;
}
.section-dna::before {
  content:''; position:absolute;
  top:-200px; right:-200px;
  width:600px; height:600px; border-radius:50%;
  background:radial-gradient(circle,rgba(217,70,239,0.07),transparent 70%);
  pointer-events:none;
}
.dna-headline {
  font-family:var(--f-disp-en);
  font-size:clamp(40px,6vw,80px); font-weight:800;
  letter-spacing:-0.04em; line-height:1.05; margin-bottom:80px;
  color:var(--text-prime);
}
html[lang="ar"] .dna-headline { font-family:var(--f-disp-ar); letter-spacing:0; }
.dna-headline em {
  font-style:normal;
  background:var(--grad-quantum); -webkit-background-clip:text;
  -webkit-text-fill-color:transparent; background-clip:text;
  background-size:200%; animation:grad-shift 3s linear infinite;
}
.dna-list { border-top:1px solid rgba(124,58,237,0.12); }
.dna-row {
  display:flex; align-items:center; gap:40px;
  padding:36px 0; border-bottom:1px solid rgba(124,58,237,0.1);
  opacity:0; transform:translateX(-30px);
  transition:opacity 0.6s var(--spring),transform 0.6s var(--spring);
  cursor:none; position:relative; overflow:hidden;
}
html[lang="ar"] .dna-row { transform:translateX(30px); }
.dna-row::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(90deg,rgba(124,58,237,0.06),rgba(0,255,245,0.03));
  transform:scaleX(0); transform-origin:left;
  transition:transform 0.4s var(--smooth);
}
html[lang="ar"] .dna-row::before { transform-origin:right; }
.dna-row:hover::before { transform:scaleX(1); }
.dna-row.in { opacity:1; transform:translateX(0); }
.dna-num {
  font-family:var(--f-mono); font-size:12px;
  color:var(--text-dim); letter-spacing:0.1em; min-width:30px;
  position:relative; z-index:1;
}
.dna-word {
  font-family:var(--f-disp-en);
  font-size:clamp(30px,4.5vw,60px); font-weight:800;
  letter-spacing:-0.03em; color:var(--text-prime);
  flex:1; transition:all 0.3s; position:relative; z-index:1;
}
html[lang="ar"] .dna-word { font-family:var(--f-disp-ar); }
.dna-row:hover .dna-word {
  background:var(--grad-quantum); -webkit-background-clip:text;
  -webkit-text-fill-color:transparent; background-clip:text;
  background-size:200%; animation:grad-shift 2s linear infinite;
  filter:drop-shadow(0 0 20px rgba(0,255,245,0.3));
}
.dna-tag {
  font-family:var(--f-mono); font-size:11px; letter-spacing:0.15em;
  text-transform:uppercase; color:var(--q-cyan);
  padding:6px 16px; border:1px solid rgba(0,255,245,0.2);
  border-radius:40px; background:rgba(0,255,245,0.05);
  position:relative; z-index:1;
}

/* ================================================================
   STATS SECTION
================================================================ */
.section-stats {
  padding:100px 0; background:var(--bg-deep);
  position:relative; overflow:hidden;
}
.section-stats::before {
  content:''; position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:700px; height:700px; border-radius:50%;
  background:radial-gradient(circle,rgba(124,58,237,0.06),transparent 70%);
  pointer-events:none;
}
.stats-grid {
  display:grid; grid-template-columns:repeat(4,1fr); gap:2px;
}
.stat-card {
  padding:48px 32px;
  background:rgba(10,0,40,0.5);
  border:1px solid rgba(124,58,237,0.12);
  text-align:center;
  transition:all 0.3s var(--spring);
  backdrop-filter:blur(8px); position:relative; overflow:hidden;
}
.stat-card::before {
  content:''; position:absolute; bottom:0; left:0; right:0;
  height:2px; background:var(--grad-neon);
  transform:scaleX(0); transition:transform 0.4s var(--spring);
}
.stat-card:hover {
  background:rgba(20,0,60,0.7);
  border-color:rgba(0,255,245,0.2);
  transform:translateY(-6px);
  box-shadow:var(--glow-card);
  z-index:1;
}
.stat-card:hover::before { transform:scaleX(1); }
.stat-number {
  font-family:var(--f-disp-en);
  font-size:clamp(48px,5vw,76px); font-weight:800;
  letter-spacing:-0.04em; line-height:1;
  background:var(--grad-quantum); -webkit-background-clip:text;
  -webkit-text-fill-color:transparent; background-clip:text;
  background-size:200%; animation:grad-shift 3s linear infinite;
  display:block; margin-bottom:8px;
}
.stat-label-en {
  font-family:var(--f-mono); font-size:11px;
  letter-spacing:0.15em; text-transform:uppercase;
  color:var(--text-dim); display:block; margin-top:4px;
}
.stat-label-ar {
  font-family:var(--f-body-ar); font-size:14px;
  color:var(--text-second); display:block; margin-top:4px;
}

/* ================================================================
   SERVICES SECTION
================================================================ */
.section-services {
  padding:120px 0; background:var(--bg-space); position:relative;
}
.services-list { border-top:1px solid rgba(124,58,237,0.1); }
.svc-row {
  display:grid; grid-template-columns:60px 1fr auto;
  align-items:center; gap:32px;
  padding:40px 0; border-bottom:1px solid rgba(124,58,237,0.08);
  opacity:0; transform:translateY(20px);
  transition:opacity 0.6s var(--spring),transform 0.6s var(--spring);
  cursor:none; position:relative; overflow:hidden;
}
.svc-row::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(90deg,rgba(124,58,237,0.06),rgba(0,255,245,0.03));
  transform:scaleX(0); transform-origin:left;
  transition:transform 0.4s var(--smooth);
}
.svc-row:hover::before { transform:scaleX(1); }
.svc-row.in { opacity:1; transform:translateY(0); }
.svc-num {
  font-family:var(--f-mono); font-size:12px;
  color:var(--text-dim); letter-spacing:0.1em; position:relative; z-index:1;
}
.svc-body { position:relative; z-index:1; }
.svc-name {
  font-family:var(--f-disp-en);
  font-size:clamp(22px,3vw,38px); font-weight:700;
  letter-spacing:-0.02em; margin-bottom:8px;
  color:var(--text-prime); transition:color 0.3s;
}
html[lang="ar"] .svc-name { font-family:var(--f-disp-ar); }
.svc-row:hover .svc-name { color:var(--q-cyan); }
.svc-desc { font-size:15px; color:var(--text-second); line-height:1.6; max-width:500px; }
html[lang="ar"] .svc-desc { font-family:var(--f-body-ar); }
.svc-tags { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.svc-tag {
  font-family:var(--f-mono); font-size:10px; letter-spacing:0.1em;
  text-transform:uppercase; color:var(--q-electric);
  padding:4px 12px; border:1px solid rgba(0,212,255,0.2);
  border-radius:40px; background:rgba(0,212,255,0.04);
}
.svc-arrow {
  width:52px; height:52px; border-radius:50%;
  border:1px solid rgba(124,58,237,0.2);
  display:flex; align-items:center; justify-content:center;
  color:var(--text-dim);
  transition:all 0.3s var(--spring); position:relative; z-index:1; flex-shrink:0;
}
.svc-row:hover .svc-arrow {
  background:var(--grad-plasma); border-color:transparent;
  color:#fff; transform:translateX(6px);
  box-shadow:0 0 20px rgba(217,70,239,0.4);
}
html[lang="ar"] .svc-row:hover .svc-arrow { transform:translateX(-6px) rotate(180deg); }

/* ================================================================
   EXPERIENCE / PIPELINE
================================================================ */
.section-experience { padding:120px 0; background:var(--bg-void); }
.exp-sub { font-size:18px; color:var(--text-second); margin-bottom:80px; max-width:560px; line-height:1.7; }
html[lang="ar"] .exp-sub { font-family:var(--f-body-ar); }
.pipeline { position:relative; padding:40px 0; }
.pipeline-svg { width:100%; height:2px; display:block; margin:32px 0; }
.pl-nodes { display:flex; justify-content:space-between; position:relative; margin-top:-28px; }
.pl-node {
  display:flex; flex-direction:column; align-items:center; gap:12px;
  opacity:0.2; transition:all 0.4s var(--spring);
}
.pl-node.active { opacity:1; transform:translateY(-6px); }
.pl-dot {
  width:14px; height:14px; border-radius:50%;
  background:rgba(124,58,237,0.2); border:2px solid rgba(124,58,237,0.3);
  transition:all 0.4s;
}
.pl-node.active .pl-dot {
  background:var(--q-cyan); border-color:var(--q-cyan);
  box-shadow:0 0 20px var(--q-cyan),0 0 40px rgba(0,255,245,0.3);
}
.pl-label {
  font-family:var(--f-mono); font-size:11px; letter-spacing:0.12em;
  text-transform:uppercase; color:var(--text-dim);
  transition:color 0.4s; white-space:nowrap;
}
.pl-node.active .pl-label { color:var(--text-prime); }
.pl-node-impact .pl-dot { width:20px; height:20px; }

/* ================================================================
   WORK / PORTFOLIO
================================================================ */
.section-work { padding:120px 0 80px; background:var(--bg-deep); position:relative; }
.work-gallery {
  display:flex; gap:16px; overflow-x:auto;
  padding:0 clamp(20px,5vw,80px);
  scrollbar-width:none; scroll-snap-type:x mandatory;
  padding-bottom:40px; cursor:grab;
}
.work-gallery::-webkit-scrollbar { display:none; }
.work-gallery:active { cursor:grabbing; }
.work-card {
  flex:0 0 420px; height:520px; border-radius:24px;
  overflow:hidden; position:relative; scroll-snap-align:start;
  cursor:none; transition:transform 0.4s var(--spring);
  border:1px solid rgba(124,58,237,0.15);
}
.work-card:hover { transform:scale(1.03) translateY(-10px); box-shadow:var(--glow-card); }
.work-img { position:absolute; inset:0; transition:transform 0.6s var(--spring); }
.work-card:hover .work-img { transform:scale(1.06); }

/* Quantum work card backgrounds */
.work-nova-bg {
  background:linear-gradient(135deg,#0d0025 0%,#1a0050 30%,#7c3aed 60%,#d946ef 85%,#0d0025 100%);
}
.work-flux-bg {
  background:linear-gradient(135deg,#001a2e 0%,#003060 30%,#0070c0 60%,#00fff5 85%,#001a2e 100%);
}
.work-meridian-bg {
  background:linear-gradient(135deg,#001a10 0%,#003020 30%,#00c060 60%,#39ff14 85%,#001a10 100%);
}
.work-core-bg {
  background:linear-gradient(135deg,#1a0030 0%,#300060 30%,#7c3aed 55%,#00fff5 75%,#d946ef 90%,#1a0030 100%);
}

/* Grid overlay on work cards */
.work-img::after {
  content:''; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(0,255,245,0.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,255,245,0.04) 1px,transparent 1px);
  background-size:40px 40px;
}

.work-meta {
  position:absolute; bottom:0; left:0; right:0;
  padding:40px 32px 32px;
  background:linear-gradient(to top,rgba(0,0,10,0.9),transparent);
  transition:transform 0.4s var(--spring), opacity 0.4s;
}
.work-name {
  font-family:var(--f-disp-en); font-size:28px; font-weight:800;
  letter-spacing:-0.02em; color:#fff; margin-bottom:6px;
}
.work-type {
  font-family:var(--f-mono); font-size:11px;
  letter-spacing:0.15em; text-transform:uppercase; color:rgba(255,255,255,0.4);
}
.work-hover-layer {
  position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(124,58,237,0.92),rgba(0,255,245,0.85));
  backdrop-filter:blur(8px);
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:40px 32px; opacity:0;
  transform:translateY(12px);
  transition:all 0.4s var(--spring);
}
.work-card:hover .work-hover-layer { opacity:1; transform:translateY(0); }
.work-card:hover .work-meta { transform:translateY(12px); opacity:0; }
.work-tag {
  font-family:var(--f-mono); font-size:10px; letter-spacing:0.15em;
  text-transform:uppercase; color:rgba(255,255,255,0.7);
  margin-bottom:12px; display:block;
}
.work-hover-name {
  font-family:var(--f-disp-en); font-size:32px; font-weight:800;
  color:#fff; display:block; margin-bottom:12px;
}
.work-hover-desc { font-size:15px; color:rgba(255,255,255,0.85); line-height:1.6; }
html[lang="ar"] .work-hover-desc { font-family:var(--f-body-ar); }
.work-hint {
  display:flex; align-items:center; gap:16px;
  padding:0 clamp(20px,5vw,80px); margin-top:16px;
}
.work-hint span {
  font-family:var(--f-mono); font-size:11px;
  letter-spacing:0.2em; text-transform:uppercase; color:var(--text-dim);
}
.work-hint-line { flex:1; height:1px; background:rgba(124,58,237,0.1); position:relative; overflow:hidden; }
.work-hint-fill {
  position:absolute; top:0; left:0; height:100%;
  background:var(--grad-neon); width:0%; transition:width 0.2s ease;
  box-shadow:0 0 8px var(--q-cyan);
}

/* ================================================================
   TECHNOLOGY CLOUD
================================================================ */
.section-technology {
  padding:120px 0; background:var(--bg-space);
  text-align:center; position:relative; overflow:hidden;
}
.tech-headline {
  font-family:var(--f-disp-en);
  font-size:clamp(36px,5.5vw,72px); font-weight:800;
  letter-spacing:-0.04em; line-height:1.05; margin-bottom:24px; color:var(--text-prime);
}
html[lang="ar"] .tech-headline { font-family:var(--f-disp-ar); letter-spacing:0; }
.tech-headline em {
  font-style:normal;
  background:var(--grad-text); -webkit-background-clip:text;
  -webkit-text-fill-color:transparent; background-clip:text;
  background-size:200%; animation:grad-shift 3s linear infinite;
}
.tech-sub { font-size:17px; color:var(--text-second); margin-bottom:64px; max-width:500px; margin-left:auto; margin-right:auto; line-height:1.7; }
.tech-cloud { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; max-width:900px; margin:0 auto; }
.tech-word {
  padding:14px 28px; border-radius:40px;
  font-family:var(--f-mono); font-size:13px;
  letter-spacing:0.1em; text-transform:uppercase;
  color:var(--text-dim);
  border:1px solid rgba(124,58,237,0.15);
  background:rgba(10,0,40,0.5);
  transition:all 0.4s var(--spring); cursor:none;
  backdrop-filter:blur(8px);
}
.tech-word:hover,.tech-word.lit {
  color:var(--q-cyan); border-color:rgba(0,255,245,0.4);
  background:rgba(0,255,245,0.06);
  transform:translateY(-6px) scale(1.05);
  box-shadow:0 0 30px rgba(0,255,245,0.15),var(--glow-card);
}

/* ================================================================
   WHY VERTEX
================================================================ */
.section-why { padding:120px 0; background:var(--bg-void); position:relative; }
.why-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.why-card {
  padding:48px;
  background:rgba(10,0,40,0.5);
  border:1px solid rgba(124,58,237,0.12);
  border-radius:24px; position:relative; overflow:hidden;
  transition:all 0.4s var(--spring); backdrop-filter:blur(8px);
}
.why-card::before {
  content:''; position:absolute; top:0; left:0; right:0;
  height:1px; background:var(--grad-neon);
  transform:scaleX(0); transition:transform 0.4s var(--spring);
}
.why-card:hover {
  border-color:rgba(0,255,245,0.25);
  transform:translateY(-8px);
  box-shadow:var(--glow-card);
  background:rgba(15,0,55,0.7);
}
.why-card:hover::before { transform:scaleX(1); }
.why-card::after {
  content:''; position:absolute; bottom:-40px; right:-40px;
  width:200px; height:200px; border-radius:50%;
  background:radial-gradient(circle,rgba(124,58,237,0.12),transparent 70%);
  opacity:0; transition:all 0.5s var(--spring);
}
.why-card:hover::after { opacity:1; transform:translate(-10px,-10px); }
.why-num {
  font-family:var(--f-mono); font-size:12px; letter-spacing:0.15em;
  color:var(--q-cyan); margin-bottom:20px; display:block;
}
.why-icon {
  width:52px; height:52px; border-radius:16px;
  background:rgba(124,58,237,0.1);
  border:1px solid rgba(124,58,237,0.2);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:24px; font-size:24px;
  transition:all 0.3s var(--spring);
}
.why-card:hover .why-icon { background:rgba(0,255,245,0.1); border-color:rgba(0,255,245,0.3); transform:scale(1.1); }
.why-name {
  font-family:var(--f-disp-en); font-size:clamp(20px,2.5vw,28px);
  font-weight:700; letter-spacing:-0.02em; margin-bottom:16px;
  color:var(--text-prime); transition:color 0.3s;
}
html[lang="ar"] .why-name { font-family:var(--f-disp-ar); }
.why-card:hover .why-name { color:var(--q-cyan); }
.why-desc { font-size:15px; color:var(--text-second); line-height:1.7; }
html[lang="ar"] .why-desc { font-family:var(--f-body-ar); }
.why-accent-bar {
  position:absolute; bottom:0; left:0; width:100%; height:3px;
  background:var(--grad-neon); transform:scaleX(0);
  transform-origin:left; transition:transform 0.4s var(--spring);
}
html[lang="ar"] .why-accent-bar { transform-origin:right; }
.why-card:hover .why-accent-bar { transform:scaleX(1); }

/* ================================================================
   CTA SECTION
================================================================ */
.section-cta {
  padding:160px 0; background:var(--bg-nebula);
  text-align:center; position:relative; overflow:hidden;
}
.cta-blob {
  position:absolute; top:50%; left:50%;
  transform:translate(-50%,-50%);
  width:900px; height:900px; border-radius:50%;
  background:radial-gradient(circle,rgba(124,58,237,0.1) 0%,rgba(0,255,245,0.05) 40%,transparent 70%);
  animation:blob-pulse 6s ease-in-out infinite; pointer-events:none;
}
@keyframes blob-pulse {
  0%,100% { transform:translate(-50%,-50%) scale(1); opacity:0.6; }
  50%      { transform:translate(-50%,-50%) scale(1.1); opacity:1; }
}
.cta-v-bg {
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  pointer-events:none; opacity:0.05;
}
.cta-v-bg svg { width:60%; max-width:600px; }
.v-stroke-cta { fill:none; stroke:var(--q-cyan); stroke-width:1; }
.cta-content { position:relative; z-index:2; padding:0 clamp(20px,5vw,80px); }
.cta-headline {
  font-family:var(--f-disp-en);
  font-size:clamp(44px,7vw,96px); font-weight:800;
  letter-spacing:-0.04em; line-height:1.0;
  color:var(--text-prime); margin-bottom:16px;
}
html[lang="ar"] .cta-headline { font-family:var(--f-disp-ar); letter-spacing:0; }
.cta-headline em {
  font-style:normal;
  background:var(--grad-quantum); -webkit-background-clip:text;
  -webkit-text-fill-color:transparent; background-clip:text;
  background-size:200%; animation:grad-shift 2s linear infinite;
}
.cta-ar { font-family:var(--f-body-ar); font-size:18px; color:var(--text-second); margin-bottom:56px; }
.btn-cta {
  display:inline-flex; align-items:center; gap:16px;
  padding:22px 52px;
  background:var(--grad-plasma);
  color:#fff; border-radius:40px;
  font-family:var(--f-disp-en); font-size:17px; font-weight:700;
  letter-spacing:-0.01em;
  transition:all 0.3s var(--spring);
  position:relative; overflow:hidden;
  box-shadow:var(--glow-btn);
  margin-bottom:48px;
}
html[lang="ar"] .btn-cta { font-family:var(--f-disp-ar); }
.btn-cta:hover { transform:translateY(-6px) scale(1.03); box-shadow:0 0 80px rgba(217,70,239,0.6),0 0 40px rgba(0,255,245,0.3),0 30px 60px rgba(0,0,0,0.5); }
.btn-cta-icon {
  width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,0.15);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--f-disp-en); font-weight:900; font-size:15px;
  transition:all 0.3s;
}
.btn-cta:hover .btn-cta-icon { background:rgba(255,255,255,0.25); transform:rotate(20deg); }
.btn-ripple {
  position:absolute; width:10px; height:10px; border-radius:50%;
  background:rgba(255,255,255,0.4);
  transform:translate(-50%,-50%) scale(0);
  animation:ripple-out 0.6s var(--smooth) forwards; pointer-events:none;
}
@keyframes ripple-out { to{transform:translate(-50%,-50%) scale(32);opacity:0} }
.cta-contacts {
  display:flex; align-items:center; justify-content:center; gap:24px; flex-wrap:wrap;
}
.cta-link {
  font-family:var(--f-mono); font-size:13px; letter-spacing:0.08em;
  color:var(--text-second);
  transition:color 0.3s; border-bottom:1px solid transparent;
}
.cta-link:hover { color:var(--q-cyan); border-color:var(--q-cyan); }
.cta-sep { color:var(--text-dim); }

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background:var(--bg-void);
  border-top:1px solid rgba(124,58,237,0.1);
  padding:48px 0;
}
.footer-inner {
  max-width:var(--max-w); margin:0 auto;
  padding:0 clamp(20px,5vw,80px);
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:24px;
}
.footer-logo {
  font-family:var(--f-disp-en); font-size:20px; font-weight:800;
  background:var(--grad-quantum); -webkit-background-clip:text;
  -webkit-text-fill-color:transparent; background-clip:text;
  background-size:200%; animation:grad-shift 4s linear infinite;
  letter-spacing:-0.04em;
}
.footer-copy {
  font-family:var(--f-mono); font-size:11px;
  letter-spacing:0.1em; color:var(--text-dim);
}
.footer-social { display:flex; gap:12px; }
.social-link {
  width:42px; height:42px; border-radius:50%;
  background:rgba(124,58,237,0.06);
  border:1px solid rgba(124,58,237,0.15);
  display:flex; align-items:center; justify-content:center;
  font-family:var(--f-mono); font-size:12px; color:var(--text-second);
  transition:all 0.3s var(--spring);
}
.social-link:hover {
  background:rgba(0,255,245,0.08); border-color:rgba(0,255,245,0.3);
  color:var(--q-cyan); transform:translateY(-4px);
  box-shadow:var(--glow-cyan);
}

/* ================================================================
   THEME WAVE TRANSITION
================================================================ */
.theme-wave {
  position:fixed; border-radius:50%;
  pointer-events:none; z-index:99999; transition:none;
}

/* ================================================================
   RESPONSIVE
================================================================ */
@media (max-width:1024px) {
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .why-grid   { grid-template-columns:1fr; }
  .work-card  { flex:0 0 360px; height:460px; }
  .nav-links  { display:none; }
  .nav-menu-btn { display:flex; }
  .quantum-call-wrap { bottom:24px; right:24px; }
  html[lang="ar"] .quantum-call-wrap { right:auto; left:24px; }
}
@media (max-width:768px) {
  :root { --nav-h:64px; }
  #cursor-dot,#cursor-ring,#cursor-label { display:none; }
  html { cursor:auto; }
  body,a,button { cursor:auto; }
  .stats-grid { grid-template-columns:repeat(2,1fr); gap:1px; }
  .stat-card { padding:32px 20px; }
  .svc-row   { grid-template-columns:40px 1fr auto; gap:16px; }
  .work-card { flex:0 0 300px; height:400px; }
  .work-gallery { padding:0 20px; }
  .why-card  { padding:32px 24px; }
  .hero-orbit { display:none; }
  .footer-inner { flex-direction:column; text-align:center; align-items:center; }
  .dna-row { flex-direction:column; align-items:flex-start; gap:12px; }
  .quantum-call-btn { width:60px; height:60px; }
  .quantum-call-wrap { bottom:20px; right:20px; }
  html[lang="ar"] .quantum-call-wrap { right:auto; left:20px; }
}
@media (max-width:480px) {
  .stats-grid  { grid-template-columns:1fr; }
  .hero-ctas   { flex-direction:column; align-items:center; }
  .cta-contacts{ flex-direction:column; gap:12px; }
  .cta-sep     { display:none; }
  .svc-num,.svc-arrow { display:none; }
  .svc-row     { grid-template-columns:1fr; }
}

/* Mobile nav open */
@media (max-width:1024px) {
  .nav-links.open {
    display:flex; flex-direction:column;
    position:fixed; top:var(--nav-h); left:0; right:0;
    background:rgba(0,0,10,0.97);
    backdrop-filter:blur(30px);
    padding:40px clamp(20px,5vw,80px); gap:28px;
    border-bottom:1px solid rgba(124,58,237,0.15); z-index:999;
    animation:nav-drop 0.4s var(--spring);
  }
  [data-theme="light"] .nav-links.open { background:rgba(240,240,255,0.98); }
  @keyframes nav-drop { from{opacity:0;transform:translateY(-10px)} to{opacity:1;transform:translateY(0)} }
  .nav-links.open a { font-size:14px; letter-spacing:0.08em; }
}

/* Accessibility */
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation-duration:0.001ms !important;
    transition-duration:0.001ms !important;
  }
}
:focus-visible { outline:2px solid var(--q-cyan); outline-offset:3px; border-radius:4px; }

/* ================================================================
   QUANTUM CALL BUTTON — SMALLER SIZE (58px)
================================================================ */
.quantum-call-btn {
  width: 58px;
  height: 58px;
}
.qcb-outer-ring { inset: -8px; }

/* ================================================================
   WHATSAPP BUTTON — QUANTUM STYLE
================================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 112px;
  right: 40px;
  z-index: 9000;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  cursor: none;
}
html[lang="ar"] .whatsapp-btn {
  right: auto;
  left: 40px;
}

/* WhatsApp inner */
.wa-inner {
  position: absolute; inset: 3px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%,
    rgba(37, 211, 102, 0.3) 0%,
    rgba(18, 140, 126, 0.5) 50%,
    rgba(2, 0, 16, 0.9) 100%
  );
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(37, 211, 102, 0.4);
  transition: all 0.3s var(--spring);
  z-index: 2;
}
.wa-inner svg {
  width: 26px; height: 26px;
  color: #25d366;
  filter: drop-shadow(0 0 8px rgba(37,211,102,0.7));
  transition: all 0.3s;
}
/* WhatsApp border ring */
.whatsapp-btn::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #25d366 0deg,
    #128c7e 90deg,
    #075e54 180deg,
    #25d366 360deg
  );
  animation: qcb-spin 4s linear infinite;
  opacity: 0.7;
  z-index: 1;
}
.whatsapp-btn::after {
  content: '';
  position: absolute; inset: 1px;
  border-radius: 50%;
  background: var(--bg-void);
  z-index: 1;
}
/* Pulse waves */
.wa-pulse {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: qcb-pulse-out 2.5s ease-out infinite;
  opacity: 0;
  z-index: 0;
}
.whatsapp-btn:hover .wa-inner {
  transform: scale(1.08);
  background: radial-gradient(circle,rgba(37,211,102,0.3),rgba(18,140,126,0.6),rgba(2,0,16,0.85));
}
.whatsapp-btn:hover .wa-inner svg {
  filter: drop-shadow(0 0 16px rgba(37,211,102,0.9));
  transform: scale(1.1);
}
.whatsapp-btn:hover::before { animation-duration: 0.8s; opacity: 1; }

/* Call wrap — adjust bottom for two buttons */
.quantum-call-wrap {
  bottom: 40px;
  right: 40px;
}
html[lang="ar"] .quantum-call-wrap {
  right: auto;
  left: 40px;
}

/* ================================================================
   RESPONSIVE — MOBILE FIRST IMPROVEMENTS
================================================================ */

/* ── Extra Large (1400px+) ── */
@media (min-width: 1400px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid   { grid-template-columns: repeat(2, 1fr); }
  .work-card  { flex: 0 0 480px; height: 560px; }
}

/* ── Large Tablet / Small Desktop (768px - 1023px) ── */
@media (min-width: 768px) and (max-width: 1023px) {
  :root { --nav-h: 70px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid   { grid-template-columns: repeat(2, 1fr); }
  .work-card  { flex: 0 0 380px; height: 480px; }
  .svc-row    { grid-template-columns: 50px 1fr auto; gap: 20px; }
  .dna-headline { font-size: clamp(32px, 5vw, 64px); }
  .hero-title   { font-size: clamp(48px, 9vw, 110px); }
  .pl-nodes { gap: 0; }
  .pl-label { font-size: 9px; }

  /* Quantum buttons — tablet */
  .quantum-call-wrap { bottom: 28px; right: 28px; }
  html[lang="ar"] .quantum-call-wrap { right: auto; left: 28px; }
  .whatsapp-btn { bottom: 100px; right: 28px; }
  html[lang="ar"] .whatsapp-btn { right: auto; left: 28px; }
}

/* ── iPad Portrait / Tablet Portrait (600px - 767px) ── */
@media (min-width: 600px) and (max-width: 767px) {
  :root { --nav-h: 64px; }
  #cursor-dot, #cursor-ring, #cursor-label { display: none; }
  html { cursor: auto; }
  body, a, button { cursor: auto; }

  .hero-title   { font-size: clamp(40px, 8vw, 80px); }
  .hero-sub     { font-size: 15px; }
  .hero-ctas    { gap: 12px; }
  .btn-primary, .btn-ghost { padding: 14px 28px; font-size: 11px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .stat-card  { padding: 32px 20px; }
  .stat-number { font-size: clamp(40px, 8vw, 60px); }

  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card { padding: 32px 24px; }

  .svc-row { grid-template-columns: 1fr auto; gap: 16px; }
  .svc-num { display: none; }
  .svc-name { font-size: clamp(18px, 4vw, 28px); }

  .dna-row { padding: 24px 0; gap: 16px; }
  .dna-word { font-size: clamp(24px, 6vw, 44px); }

  .work-card { flex: 0 0 320px; height: 420px; }
  .work-gallery { padding: 0 20px; }

  .hero-orbit { display: none; }
  .section-experience { padding: 80px 0; }
  .pipeline-svg { display: none; }
  .pl-nodes { flex-direction: column; gap: 24px; margin-top: 0; }
  .pl-node  { flex-direction: row; gap: 16px; opacity: 1; }
  .pl-node.active { transform: none; }

  .quantum-call-wrap { bottom: 24px; right: 20px; }
  html[lang="ar"] .quantum-call-wrap { right: auto; left: 20px; }
  .quantum-call-btn { width: 52px; height: 52px; }
  .whatsapp-btn { width: 52px; height: 52px; bottom: 88px; right: 20px; }
  html[lang="ar"] .whatsapp-btn { right: auto; left: 20px; }

  .section-cta { padding: 100px 0; }
  .cta-headline { font-size: clamp(36px, 7vw, 64px); }
  .btn-cta { padding: 18px 36px; font-size: 15px; }
}

/* ── Mobile Large (480px - 599px) ── */
@media (min-width: 480px) and (max-width: 599px) {
  :root { --nav-h: 60px; }
  #cursor-dot, #cursor-ring, #cursor-label { display: none; }
  html { cursor: auto; }
  body, a, button { cursor: auto; }

  .hero-title  { font-size: clamp(36px, 10vw, 64px); }
  .hero-sub    { font-size: 14px; max-width: 100%; }
  .hero-ctas   { flex-direction: column; align-items: center; gap: 12px; }
  .btn-primary, .btn-ghost { width: 100%; max-width: 280px; justify-content: center; }

  .stats-grid  { grid-template-columns: repeat(2, 1fr); gap: 1px; }
  .stat-card   { padding: 28px 16px; }
  .stat-number { font-size: clamp(36px, 10vw, 56px); }

  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc-row  { grid-template-columns: 1fr; gap: 12px; }
  .svc-num, .svc-arrow { display: none; }

  .dna-row  { flex-direction: column; align-items: flex-start; gap: 8px; padding: 20px 0; }
  .dna-word { font-size: clamp(22px, 8vw, 40px); }
  .dna-tag  { display: none; }

  .work-card { flex: 0 0 260px; height: 340px; }
  .work-gallery { padding: 0 16px; }
  .hero-orbit, .hero-orbit-1, .hero-orbit-2, .hero-orbit-3 { display: none; }

  .pipeline-svg { display: none; }
  .pl-nodes { flex-wrap: wrap; gap: 16px; margin-top: 0; }
  .pl-node  { flex-direction: row; gap: 12px; opacity: 1; transform: none !important; }

  .quantum-call-wrap { bottom: 20px; right: 16px; }
  html[lang="ar"] .quantum-call-wrap { right: auto; left: 16px; }
  .quantum-call-btn { width: 50px; height: 50px; }
  .whatsapp-btn { width: 50px; height: 50px; bottom: 84px; right: 16px; }
  html[lang="ar"] .whatsapp-btn { right: auto; left: 16px; }

  .quantum-call-label { display: none; }
  .cta-contacts { flex-direction: column; gap: 8px; }
  .cta-sep { display: none; }
  .footer-inner { flex-direction: column; text-align: center; align-items: center; }
}

/* ── Mobile Small (max 479px) ── */
@media (max-width: 479px) {
  :root { --nav-h: 56px; }
  #cursor-dot, #cursor-ring, #cursor-label { display: none; }
  html { cursor: auto; }
  body, a, button { cursor: auto; }

  .nav-logo { font-size: 18px; }
  #lang-toggle { padding: 5px 10px; }
  #lang-label  { display: none; }

  .hero-title  { font-size: clamp(32px, 12vw, 56px); }
  .hero-eyebrow { font-size: 10px; padding: 6px 16px; }
  .hero-sub    { font-size: 13px; }
  .hero-ctas   { flex-direction: column; align-items: stretch; gap: 10px; padding: 0 20px; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; padding: 14px 24px; font-size: 11px; }

  .stats-grid  { grid-template-columns: 1fr 1fr; gap: 1px; }
  .stat-card   { padding: 24px 12px; }
  .stat-number { font-size: clamp(32px, 10vw, 48px); }

  .why-grid  { grid-template-columns: 1fr; }
  .why-card  { padding: 28px 20px; }

  .svc-row   { grid-template-columns: 1fr; }
  .svc-num, .svc-arrow { display: none; }
  .svc-name  { font-size: clamp(18px, 6vw, 28px); }

  .dna-row   { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 0; }
  .dna-word  { font-size: clamp(20px, 8vw, 36px); }
  .dna-tag   { display: none; }

  .work-card    { flex: 0 0 240px; height: 320px; }
  .work-gallery { padding: 0 16px; }
  .work-name    { font-size: 20px; }

  .hero-orbit-1, .hero-orbit-2, .hero-orbit-3 { display: none; }
  .pipeline-svg { display: none; }
  .pl-nodes { flex-wrap: wrap; gap: 16px; margin-top: 0; }
  .pl-node  { flex-direction: row; gap: 10px; opacity: 1; transform: none !important; width: calc(50% - 8px); }

  .section-experience { padding: 64px 0; }
  .section-cta { padding: 80px 0; }
  .cta-headline { font-size: clamp(28px, 9vw, 48px); }
  .btn-cta  { padding: 16px 28px; font-size: 14px; width: 100%; max-width: 340px; justify-content: center; }

  .quantum-call-wrap { bottom: 16px; right: 14px; }
  html[lang="ar"] .quantum-call-wrap { right: auto; left: 14px; }
  .quantum-call-btn { width: 48px; height: 48px; }
  .qcb-outer-ring { inset: -6px; }
  .whatsapp-btn { width: 48px; height: 48px; bottom: 78px; right: 14px; }
  html[lang="ar"] .whatsapp-btn { right: auto; left: 14px; }
  .quantum-call-label { display: none; }

  .cta-contacts { flex-direction: column; align-items: center; gap: 8px; }
  .cta-sep { display: none; }
  .footer-inner { flex-direction: column; text-align: center; align-items: center; gap: 16px; }
  .footer-social { justify-content: center; }
  .section-title { font-size: clamp(28px, 8vw, 44px); margin-bottom: 36px; }
  .eyebrow { font-size: 10px; }
}

/* ── Touch devices — improve tap targets ── */
@media (hover: none) and (pointer: coarse) {
  .btn-primary, .btn-ghost, .btn-cta, .nav-cta,
  #lang-toggle, #theme-toggle, .quantum-call-btn,
  .whatsapp-btn, .social-link { cursor: pointer !important; }

  .svc-row:hover::before { transform: none; }
  .svc-row:hover .svc-name { color: var(--text-prime); }

  /* Disable heavy hover effects on touch */
  .work-card:hover { transform: none; }
  .why-card:hover  { transform: none; }
  .tech-word:hover { transform: none; }
  .partner-logo-card:hover { transform: none; }

  /* Larger tap targets for floating buttons */
  .quantum-call-btn, .whatsapp-btn { min-width: 44px; min-height: 44px; }
}

/* ── High DPI / Retina screens ── */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  #neural-canvas { image-rendering: crisp-edges; }
}

/* ── Landscape Mobile ── */
@media (max-height: 500px) and (orientation: landscape) {
  .section-hero { min-height: 100svh; padding-top: var(--nav-h); }
  .hero-title   { font-size: clamp(28px, 8vh, 60px); }
  .hero-sub     { font-size: 13px; margin-bottom: 24px; }
  .hero-ctas    { margin-bottom: 24px; }
  .hero-scroll  { display: none; }
  .hero-orbit   { display: none; }
}

/* ── Print ── */
@media print {
  #navbar, #loader, #cursor-dot, #cursor-ring, #cursor-label,
  .quantum-call-wrap, .whatsapp-btn, #neural-canvas { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ── Partners Ticker — responsive ── */
@media (max-width: 767px) {
  .partner-logo-card { width: 150px; height: 75px; border-radius: 12px; }
  .partners-ticker { animation-duration: 28s; }
}
@media (max-width: 479px) {
  .partner-logo-card { width: 130px; height: 65px; padding: 10px; }
}

/* ================================================================
   TESTIMONIALS SECTION
================================================================ */
.section-testimonials {
  padding: 120px 0 80px;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.section-testimonials::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse at top, rgba(124,58,237,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.section-testimonials .container { margin-bottom: 56px; }

/* Track */
.testi-track-wrap {
  position: relative;
  overflow: hidden;
  padding-bottom: 48px;
}
.testi-track {
  display: flex;
  gap: 24px;
  padding: 20px clamp(20px,5vw,80px) 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
  cursor: grab;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-track:active { cursor: grabbing; }

/* Card */
.testi-card {
  flex: 0 0 460px;
  background: rgba(5, 0, 30, 0.6);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 28px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  scroll-snap-align: start;
  transition: all 0.4s var(--spring);
}
.testi-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-card-glow);
  opacity: 0;
  transition: opacity 0.4s;
}
.testi-card:hover {
  border-color: rgba(0,255,245,0.3);
  transform: translateY(-8px);
  box-shadow: var(--glow-card);
}
.testi-card:hover::before { opacity: 1; }

/* Holographic glow orb */
.testi-glow {
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.15), transparent 70%);
  pointer-events: none;
}

/* Quote icon */
.testi-quote-icon {
  margin-bottom: 28px;
  opacity: 0.8;
}

/* Text */
.testi-text {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-second);
  margin-bottom: 36px;
  position: relative; z-index: 1;
}
html[lang="ar"] .testi-text { font-family: var(--f-body-ar); font-size: 17px; }

/* Author */
.testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative; z-index: 1;
}
.testi-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--q-violet), var(--q-cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-disp-ar); font-size: 22px; font-weight: 900;
  color: #fff; flex-shrink: 0;
  box-shadow: 0 0 20px rgba(124,58,237,0.4);
}
.testi-av-2 { background: linear-gradient(135deg, var(--q-plasma), var(--q-violet)); box-shadow: 0 0 20px rgba(217,70,239,0.4); }
.testi-av-3 { background: linear-gradient(135deg, var(--q-neon-green), var(--q-electric)); box-shadow: 0 0 20px rgba(57,255,20,0.3); }
.testi-av-4 { background: linear-gradient(135deg, #6366f1, var(--q-cyan)); box-shadow: 0 0 20px rgba(99,102,241,0.4); }
.testi-av-5 { background: linear-gradient(135deg, var(--q-purple), var(--q-plasma)); box-shadow: 0 0 20px rgba(168,85,247,0.4); }

.testi-info { flex: 1; }
.testi-name {
  font-family: var(--f-disp-en);
  font-size: 16px; font-weight: 700;
  color: var(--text-prime);
  display: block; margin-bottom: 4px;
  letter-spacing: -0.01em;
}
html[lang="ar"] .testi-name { font-family: var(--f-disp-ar); }
.testi-role {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim);
}
.testi-stars {
  font-size: 14px;
  color: var(--q-gold);
  letter-spacing: 2px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255,230,0,0.4));
}

/* Navigation dots */
.testi-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(124,58,237,0.3);
  border: 1px solid rgba(124,58,237,0.3);
  cursor: none;
  transition: all 0.3s var(--spring);
  padding: 0;
}
.testi-dot.active {
  width: 28px; border-radius: 4px;
  background: var(--grad-neon);
  border-color: transparent;
  box-shadow: 0 0 12px rgba(0,255,245,0.4);
}
.testi-dot:hover { background: rgba(0,255,245,0.3); }

/* Arrow controls */
.testi-arrows {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.testi-arrow {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(124,58,237,0.08);
  border: 1px solid var(--border-q);
  color: var(--text-second);
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  transition: all 0.3s var(--spring);
}
.testi-arrow:hover {
  background: rgba(0,255,245,0.1);
  border-color: var(--q-cyan);
  color: var(--q-cyan);
  transform: scale(1.1);
  box-shadow: var(--glow-cyan);
}
@media (max-width: 768px) {
  .testi-card { flex: 0 0 320px; padding: 32px 24px; }
}
@media (max-width: 479px) {
  .testi-card { flex: 0 0 280px; padding: 24px 20px; }
  .testi-text { font-size: 14px; }
}

/* ================================================================
   CTA CONTACT FORM — QUANTUM STYLE
================================================================ */
.cta-form {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}
html[lang="ar"] .cta-form { text-align: right; }

.cta-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cta-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta-field-full { grid-column: 1 / -1; }
.cta-label {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color 0.3s;
}
.cta-field:focus-within .cta-label { color: var(--q-cyan); }

.cta-input {
  background: rgba(5, 0, 30, 0.6);
  border: 1px solid rgba(124,58,237,0.2);
  border-radius: 12px;
  padding: 16px 20px;
  font-family: var(--f-body-en);
  font-size: 15px;
  color: var(--text-prime);
  width: 100%;
  transition: all 0.3s var(--spring);
  backdrop-filter: blur(8px);
  outline: none;
  appearance: none;
}
html[lang="ar"] .cta-input { font-family: var(--f-body-ar); }
.cta-input::placeholder { color: var(--text-dim); }
.cta-input:focus {
  border-color: rgba(0,255,245,0.5);
  background: rgba(0,255,245,0.04);
  box-shadow: 0 0 0 3px rgba(0,255,245,0.08), 0 0 20px rgba(0,255,245,0.1);
}
.cta-input:invalid:not(:placeholder-shown) {
  border-color: rgba(217,70,239,0.5);
}
.cta-select {
  cursor: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238892b0' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
html[lang="ar"] .cta-select {
  background-position: left 16px center;
  padding-right: 20px;
  padding-left: 44px;
}
.cta-select option {
  background: #0a0028;
  color: var(--text-prime);
}
.cta-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

/* Animated underline bar */
.cta-field-bar {
  position: absolute;
  bottom: 0; left: 0;
  height: 2px; width: 0;
  background: var(--grad-neon);
  border-radius: 2px;
  transition: width 0.3s var(--spring);
  box-shadow: 0 0 8px var(--q-cyan);
}
.cta-field:focus-within .cta-field-bar { width: 100%; }

/* Success message */
.cta-form-success {
  display: none;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  color: var(--q-neon-green);
  padding: 16px 24px;
  background: rgba(57,255,20,0.05);
  border: 1px solid rgba(57,255,20,0.2);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(57,255,20,0.1);
  animation: fade-up 0.5s var(--spring);
}
.cta-form-success.visible { display: block; }

/* Form CTA button full width */
.cta-form .btn-cta { width: 100%; justify-content: center; }

@media (max-width: 600px) {
  .cta-form-row { grid-template-columns: 1fr; }
}

/* ================================================================
   FOOTER — FULL PREMIUM LAYOUT
================================================================ */
.footer {
  background: var(--bg-void);
  border-top: 1px solid rgba(124,58,237,0.12);
}

/* Top section with brand + cols */
.footer-top {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px clamp(20px,5vw,80px) 64px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-logo {
  font-family: var(--f-disp-en); font-size: 28px; font-weight: 800;
  background: var(--grad-quantum); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200%; animation: grad-shift 4s linear infinite;
  letter-spacing: -0.04em;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
  max-width: 240px;
}
html[lang="ar"] .footer-tagline { font-family: var(--f-body-ar); }

/* Social links */
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.social-link {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(124,58,237,0.06);
  border: 1px solid rgba(124,58,237,0.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-mono); font-size: 12px; color: var(--text-second);
  transition: all 0.3s var(--spring); cursor: none;
}
.social-link:hover {
  background: rgba(0,255,245,0.08); border-color: rgba(0,255,245,0.3);
  color: var(--q-cyan); transform: translateY(-4px);
  box-shadow: var(--glow-cyan);
}

/* Footer columns grid */
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col-title {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--q-cyan); margin-bottom: 20px;
}
.footer-col-links {
  list-style: none;
  display: flex; flex-direction: column; gap: 12px;
}
.footer-col-links a {
  font-size: 14px; color: var(--text-dim);
  transition: color 0.3s; display: flex; align-items: center; gap: 8px;
}
.footer-col-links a:hover { color: var(--text-prime); }
.footer-contact-list a { gap: 10px; }
.footer-contact-list svg { flex-shrink: 0; color: var(--q-cyan); opacity: 0.7; }

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(124,58,237,0.08);
}
.footer-bottom-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px clamp(20px,5vw,80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-copy {
  font-family: var(--f-mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--text-dim);
}
.footer-badges { display: flex; gap: 8px; }
.footer-badge {
  font-family: var(--f-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-dim);
  padding: 4px 12px;
  border: 1px solid rgba(124,58,237,0.15);
  border-radius: 40px;
  background: rgba(124,58,237,0.04);
}

/* Footer responsive */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-tagline { max-width: 100%; }
}
@media (max-width: 640px) {
  .footer-top { padding: 56px clamp(20px,5vw,80px) 40px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-badges { justify-content: center; }
}
@media (max-width: 400px) {
  .footer-cols { grid-template-columns: 1fr; }
}

/* ================================================================
   ★★★ OVERRIDES & FIXES v5 ★★★
   1. WhatsApp only floating — call button removed
   2. Stats section redesign
   3. Partners infinite marquee fix
   4. Mobile responsiveness complete overhaul
================================================================ */

/* ── 1. FLOATING BUTTONS: WhatsApp ONLY ─────────────────────── */

/* Hide the old quantum call button completely */
.quantum-call-wrap { display: none !important; }

/* WhatsApp button — standalone, larger, bottom-right */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9500;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
html[lang="ar"] .whatsapp-btn {
  right: auto;
  left: 28px;
}

/* WhatsApp inner glow */
.wa-inner {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%,
    rgba(37, 211, 102, 0.35) 0%,
    rgba(18, 140, 126, 0.55) 50%,
    rgba(2, 0, 16, 0.92) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(37, 211, 102, 0.45);
  transition: all 0.3s var(--spring);
  z-index: 2;
}
.wa-inner svg { width: 30px; height: 30px; color: #25d366; filter: drop-shadow(0 0 10px rgba(37,211,102,0.8)); transition: all 0.3s; }

.whatsapp-btn::before {
  content: '';
  position: absolute; inset: -2px; border-radius: 50%;
  background: conic-gradient(from 0deg, #25d366 0deg, #128c7e 90deg, #075e54 180deg, #25d366 360deg);
  animation: qcb-spin 3s linear infinite;
  opacity: 0.75; z-index: 1;
}
.whatsapp-btn::after {
  content: '';
  position: absolute; inset: 1px; border-radius: 50%;
  background: var(--bg-void); z-index: 1;
}
.wa-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: qcb-pulse-out 2.5s ease-out infinite;
  opacity: 0; z-index: 0;
}

/* WhatsApp tooltip label */
.whatsapp-btn .wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(8px) scale(0.92);
  background: rgba(5,0,30,0.92);
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: 12px;
  padding: 8px 16px;
  white-space: nowrap;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #25d366;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--spring);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 20px rgba(37,211,102,0.12);
}
html[lang="ar"] .whatsapp-btn .wa-tooltip {
  right: auto;
  left: calc(100% + 12px);
  transform: translateY(-50%) translateX(-8px) scale(0.92);
}
.whatsapp-btn:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0) scale(1);
}
.whatsapp-btn:hover .wa-inner { transform: scale(1.06); }
.whatsapp-btn:hover .wa-inner svg { filter: drop-shadow(0 0 18px rgba(37,211,102,1)); }
.whatsapp-btn:hover::before { animation-duration: 0.8s; opacity: 1; }

/* ── 2. STATS SECTION — Redesigned ─────────────────────────── */
.section-stats {
  padding: 80px 0;
  background: var(--bg-deep);
  position: relative;
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(124,58,237,0.12);
  border-radius: 20px;
  overflow: hidden;
}
.stat-card {
  padding: 52px 24px 40px;
  background: rgba(8, 0, 38, 0.6);
  border-right: 1px solid rgba(124,58,237,0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.stat-card:last-child { border-right: none; }
.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-neon);
  transform: scaleX(0);
  transition: transform 0.4s var(--spring);
}
.stat-card:hover { background: rgba(15,0,55,0.7); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-number {
  font-family: var(--f-disp-en);
  font-size: clamp(52px, 6vw, 80px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: var(--grad-quantum);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200%;
  animation: grad-shift 3s linear infinite;
  display: block;
}
.stat-label-en {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: block;
  margin-top: 4px;
}
.stat-label-ar {
  font-family: var(--f-body-ar);
  font-size: 13px;
  color: var(--text-second);
  display: block;
  line-height: 1.4;
}

/* Stats responsive */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); border-radius: 16px; }
  .stat-card:nth-child(2) { border-right: none; }
  .stat-card:nth-child(1),
  .stat-card:nth-child(2) { border-bottom: 1px solid rgba(124,58,237,0.1); }
  .stat-number { font-size: clamp(44px, 9vw, 68px); }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0; }
  .stat-card { padding: 36px 12px 28px; }
  .stat-number { font-size: clamp(36px, 11vw, 56px); }
  .stat-label-en { font-size: 9px; letter-spacing: 0.1em; }
  .stat-label-ar { font-size: 12px; }
}

/* ── 3. PARTNERS — True Infinite Marquee ────────────────────── */
.section-partners {
  padding: 64px 0;
  background: var(--bg-deep);
  border-top: 1px solid rgba(124,58,237,0.1);
  border-bottom: 1px solid rgba(124,58,237,0.1);
  overflow: hidden;
}
.partners-header { text-align: center; margin-bottom: 40px; }
.partners-title {
  font-family: var(--f-disp-en);
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--text-prime);
  margin-bottom: 0;
}
html[lang="ar"] .partners-title { font-family: var(--f-disp-ar); }

.partners-ticker-wrap {
  position: relative;
  overflow: hidden;
  /* fade edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
/* Remove old pseudo-element fades (replaced by mask) */
.partners-ticker-wrap::before,
.partners-ticker-wrap::after { display: none; }

/* Main ticker — true infinite: two identical sets, animate first 50% */
.partners-ticker {
  display: flex;
  width: max-content;
  animation: marquee-ltr 35s linear infinite;
  will-change: transform;
}
/* RTL: reverse direction */
html[lang="ar"] .partners-ticker {
  animation-name: marquee-rtl;
}
.partners-ticker:hover { animation-play-state: paused; }

@keyframes marquee-ltr {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-rtl {
  0%   { transform: translateX(0); }
  100% { transform: translateX(50%); }
}

.ticker-inner {
  display: flex;
  gap: 16px;
  padding: 8px 8px;
  flex-shrink: 0;
}

.partner-logo-card {
  width: 190px;
  height: 96px;
  background: rgba(8, 0, 36, 0.7);
  border: 1px solid rgba(124,58,237,0.18);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}
.partner-logo-card:hover {
  border-color: rgba(0,255,245,0.45);
  transform: translateY(-5px) scale(1.04);
  box-shadow: 0 0 28px rgba(0,255,245,0.12), var(--glow-card);
}
.partner-logo-card svg { width: 100%; height: 100%; overflow: visible; }

/* Mobile ticker speed up */
@media (max-width: 768px) {
  .partners-ticker { animation-duration: 25s; }
  .partner-logo-card { width: 155px; height: 80px; border-radius: 14px; padding: 12px; }
}
@media (max-width: 479px) {
  .partners-ticker { animation-duration: 20s; }
  .partner-logo-card { width: 135px; height: 68px; padding: 10px; }
}

/* ── 4. MOBILE RESPONSIVENESS COMPLETE OVERHAUL ─────────────── */

/* --- General text overflow prevention --- */
* { word-break: break-word; }
.ar-version, .en-version { overflow-wrap: break-word; }

/* Hero section mobile */
@media (max-width: 600px) {
  .section-hero { min-height: 100svh; padding-top: var(--nav-h); }
  .hero-content { padding: 0 clamp(16px, 4vw, 32px); }
  .hero-title {
    font-size: clamp(38px, 11vw, 68px);
    letter-spacing: -0.03em;
    line-height: 1.0;
  }
  html[lang="ar"] .hero-title {
    font-size: clamp(36px, 10.5vw, 64px);
    line-height: 1.12;
  }
  .hero-eyebrow { font-size: 10px; padding: 7px 18px; gap: 8px; }
  .hero-sub { font-size: 14px; line-height: 1.7; margin-bottom: 36px; }
  html[lang="ar"] .hero-sub { font-size: 15px; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 12px; padding: 0 4px; }
  .btn-primary, .btn-ghost {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 11px;
  }
  .hero-scroll { display: none; }
}

/* DNA / Philosophy section mobile */
@media (max-width: 600px) {
  .section-dna { padding: 80px 0; }
  .dna-headline {
    font-size: clamp(28px, 8vw, 48px);
    letter-spacing: -0.02em;
    margin-bottom: 48px;
    line-height: 1.15;
  }
  html[lang="ar"] .dna-headline { font-size: clamp(26px, 7.5vw, 44px); }
  .dna-row {
    flex-wrap: nowrap;
    align-items: flex-start;
    padding: 24px 0;
    gap: 16px;
  }
  .dna-num { min-width: 28px; font-size: 11px; }
  .dna-word {
    font-size: clamp(22px, 6.5vw, 38px);
    letter-spacing: -0.02em;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .dna-tag { display: none; }
}

/* Services section mobile */
@media (max-width: 600px) {
  .section-services { padding: 72px 0; }
  .svc-row {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 28px 0;
  }
  .svc-num { display: none; }
  .svc-arrow {
    display: flex;
    width: 40px; height: 40px;
    align-self: flex-end;
  }
  .svc-name { font-size: clamp(19px, 5.5vw, 30px); margin-bottom: 6px; }
  .svc-desc { font-size: 14px; }
  .svc-tags { gap: 6px; }
  .svc-tag { font-size: 9px; padding: 3px 10px; }
}

/* Experience / Pipeline section mobile */
@media (max-width: 640px) {
  .section-experience { padding: 72px 0; }
  .exp-sub { font-size: 15px; margin-bottom: 48px; }
  .pipeline-svg { display: none; }
  .pl-nodes {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px 16px;
    margin-top: 0;
    justify-content: center;
  }
  .pl-node {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 1 !important;
    transform: none !important;
    width: calc(33.33% - 16px);
  }
  .pl-node.active { transform: none !important; }
  .pl-label {
    font-size: 9px;
    text-align: center;
    letter-spacing: 0.08em;
  }
  .pl-dot { width: 12px; height: 12px; }
  .pl-node-impact .pl-dot { width: 16px; height: 16px; }
}
@media (max-width: 380px) {
  .pl-node { width: calc(50% - 12px); }
}

/* Work gallery mobile */
@media (max-width: 600px) {
  .section-work { padding: 72px 0 56px; }
  .work-card { flex: 0 0 clamp(260px, 80vw, 340px); height: 380px; }
  .work-gallery { padding: 0 clamp(16px, 4vw, 32px); gap: 12px; }
  .work-name { font-size: 22px; }
  .work-type { font-size: 10px; }
}

/* Why Vertex section mobile */
@media (max-width: 600px) {
  .section-why { padding: 72px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-card { padding: 32px 24px; }
  .why-name { font-size: clamp(17px, 4.5vw, 24px); }
  .why-desc { font-size: 14px; }
  .why-icon { width: 44px; height: 44px; font-size: 20px; margin-bottom: 16px; }
}

/* Technology cloud mobile */
@media (max-width: 600px) {
  .section-technology { padding: 72px 0; }
  .tech-headline { font-size: clamp(28px, 8vw, 48px); }
  .tech-sub { font-size: 15px; margin-bottom: 40px; }
  .tech-word { padding: 10px 18px; font-size: 11px; }
}

/* Testimonials mobile */
@media (max-width: 600px) {
  .section-testimonials { padding: 72px 0 56px; }
  .testi-card { flex: 0 0 clamp(280px, 85vw, 360px); padding: 28px 22px; }
  .testi-text { font-size: 14px; line-height: 1.75; margin-bottom: 24px; }
  html[lang="ar"] .testi-text { font-size: 15px; }
  .testi-name { font-size: 14px; }
  .testi-role { font-size: 10px; }
  .testi-stars { font-size: 12px; }
  .testi-avatar { width: 44px; height: 44px; font-size: 18px; }
  .testi-arrow { width: 44px; height: 44px; }
}

/* CTA section mobile */
@media (max-width: 600px) {
  .section-cta { padding: 80px 0; }
  .cta-headline { font-size: clamp(30px, 9vw, 52px); margin-bottom: 12px; }
  .cta-ar { font-size: 15px; margin-bottom: 36px; }
  .cta-form { gap: 16px; }
  .cta-form-row { grid-template-columns: 1fr; gap: 16px; }
  .cta-input { padding: 14px 16px; font-size: 14px; }
  .btn-cta { padding: 16px 24px; font-size: 15px; }
  .cta-contacts { flex-direction: column; gap: 10px; align-items: center; }
  .cta-sep { display: none; }
}

/* Nav mobile improvements */
@media (max-width: 600px) {
  .nav-logo { font-size: 19px; }
  .nav-cta { padding: 8px 16px; font-size: 10px; }
  #lang-toggle { padding: 6px 12px; }
  #lang-label { display: none; }
}

/* Section titles mobile */
@media (max-width: 600px) {
  .section-title {
    font-size: clamp(26px, 7.5vw, 44px);
    margin-bottom: 36px;
    letter-spacing: -0.02em;
  }
  html[lang="ar"] .section-title { letter-spacing: 0; }
  .eyebrow { font-size: 10px; letter-spacing: 0.22em; margin-bottom: 12px; }
}

/* Footer mobile */
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; gap: 36px; padding: 48px 20px 36px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-logo { font-size: 24px; }
  .footer-bottom-inner { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .footer-badges { flex-wrap: wrap; justify-content: center; }
}

/* Landscape mobile */
@media (max-height: 450px) and (orientation: landscape) {
  .section-hero { min-height: 100svh; }
  .hero-title { font-size: clamp(26px, 7vh, 52px); }
  .hero-sub { margin-bottom: 20px; font-size: 13px; }
  .hero-ctas { gap: 10px; }
  .hero-scroll, .hero-orbit { display: none; }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
  .whatsapp-btn { cursor: pointer !important; }
  .btn-primary, .btn-ghost, .btn-cta, .nav-cta, #lang-toggle, #theme-toggle,
  .testi-dot, .testi-arrow, .social-link { cursor: pointer !important; }
  /* Disable CPU-heavy hover effects on touch */
  .work-card:hover { transform: none; box-shadow: none; }
  .why-card:hover { transform: none; }
  .tech-word:hover { transform: none; }
  .partner-logo-card:hover { transform: none; }
  /* Min tap target */
  .whatsapp-btn, .testi-arrow, .social-link { min-width: 44px; min-height: 44px; }
}
