/* ═══════════════════════════════════════════════════
   Axorium Space · RTL Arabic
   ═══════════════════════════════════════════════════ */

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

:root {
  --primary: #7C3AED;
  --primary-glow: rgba(124, 58, 237, 0.3);
  --secondary: #10B981;
  --bg-dark: #0a0a0f;
  --bg-card: rgba(255,255,255,0.03);
  --bg-glass: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --text-muted: rgba(255,255,255,0.55);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-ar: 'Cairo', 'Tajawal', sans-serif;
  /* Aliases consumed by the /client & /admin portals */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121c;
  --text-primary: #ffffff;
  --text-secondary: rgba(255,255,255,0.78);
}

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

html { direction: rtl; scroll-behavior: smooth; }

body {
  font-family: var(--font-ar);
  background: var(--bg-dark);
  color: #fff;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; right: 0; left: 0; z-index: 1000;
  padding: 1rem 0;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav-logo { display: flex; align-items: center; gap: 0.15rem; text-decoration: none; font-family: 'Cairo', sans-serif; font-size: 1.55rem; color: #fff; letter-spacing: 0.5px; transition: transform 0.3s ease, text-shadow 0.3s ease; }
.nav-logo:hover { transform: scale(1.02); }
.nav-logo .axo-text { font-weight: 900; }
.nav-logo .dot { color: var(--primary); font-size: 1.6rem; text-shadow: 0 0 10px var(--primary); animation: pulseDot 2s infinite alternate; margin: 0 2px; }
.nav-logo .space-text { font-weight: 900; background: linear-gradient(90deg, var(--secondary), #34d399); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes pulseDot { from { opacity: 0.8; text-shadow: 0 0 5px var(--primary); } to { opacity: 1; text-shadow: 0 0 15px var(--primary), 0 0 25px var(--primary); } }
.nav-links { display: flex; list-style: none; gap: 1.4rem; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.92rem; font-weight: 500; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 0.6rem; align-items: center; }
.nav-cta .btn { white-space: nowrap; flex-shrink: 0; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 8px; font-weight: 600; text-decoration: none; transition: var(--transition); font-family: var(--font-ar); font-size: 0.95rem; border: none; cursor: pointer; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px var(--primary-glow); }
.btn-secondary { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid var(--border); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* ═══════════════════════════════════════════════════
   Hero — "Space AI" cosmic section  (v2 · premium)
   ═══════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 140px 20px 90px;
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(124,58,237,0.28) 0%, transparent 55%),
    radial-gradient(ellipse 75% 55% at 50% 105%, rgba(16,185,129,0.12) 0%, transparent 55%),
    radial-gradient(circle at 50% 42%, #0b0820 0%, #05050c 60%);
}
/* edge vignette for depth */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 78% 78% at 50% 45%, transparent 48%, rgba(0,0,0,0.6) 100%);
}

/* ── Cosmic background layers ── */
.space-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

/* aurora mesh — slowly rotating conic glows */
.aurora { position: absolute; border-radius: 50%; filter: blur(70px); mix-blend-mode: screen; opacity: 0.5; }
.aurora-1 {
  width: 1000px; height: 1000px; top: -340px; left: 50%; margin-left: -500px;
  background: conic-gradient(from 0deg, rgba(124,58,237,0) 0deg, rgba(124,58,237,0.55) 90deg, rgba(16,185,129,0.35) 200deg, rgba(129,140,248,0.4) 290deg, rgba(124,58,237,0) 360deg);
  animation: spin 60s linear infinite;
}
.aurora-2 {
  width: 720px; height: 720px; bottom: -300px; left: 50%; margin-left: -300px;
  background: conic-gradient(from 120deg, rgba(16,185,129,0) 0deg, rgba(16,185,129,0.45) 110deg, rgba(129,140,248,0.4) 230deg, rgba(16,185,129,0) 360deg);
  animation: spin 80s linear infinite reverse;
}

/* parallax starfields built from tiled radial-gradients.
   Each layer drifts exactly one tile per loop → perfectly seamless. */
.stars { position: absolute; inset: 0; background-repeat: repeat; }
.stars-sm {
  background-image:
    radial-gradient(1px 1px at 20px 30px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 90px 80px, rgba(255,255,255,0.6), transparent),
    radial-gradient(1px 1px at 160px 50px, rgba(255,255,255,0.85), transparent),
    radial-gradient(1px 1px at 130px 160px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 50px 140px, rgba(255,255,255,0.7), transparent);
  background-size: 200px 200px;
  animation: driftSm 160s linear infinite, twinkle 6s ease-in-out infinite alternate;
}
.stars-md {
  background-image:
    radial-gradient(1.5px 1.5px at 60px 40px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 200px 120px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1.5px 1.5px at 280px 200px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 120px 260px, rgba(255,255,255,0.7), transparent);
  background-size: 320px 320px;
  animation: driftMd 110s linear infinite, twinkle 5s ease-in-out 1s infinite alternate;
}
.stars-lg {
  background-image:
    radial-gradient(2px 2px at 100px 90px, #c7b8ff, transparent),
    radial-gradient(2.5px 2.5px at 340px 300px, #a7f3d0, transparent),
    radial-gradient(2px 2px at 250px 180px, #fff, transparent);
  background-size: 450px 450px;
  animation: driftLg 80s linear infinite, twinkle 4s ease-in-out infinite alternate;
}

/* nebula clouds */
.nebula { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; }
.nebula-1 {
  width: 620px; height: 620px; top: -180px; inset-inline-start: -120px;
  background: radial-gradient(circle, rgba(124,58,237,0.55), transparent 70%);
  animation: floatNebula 20s ease-in-out infinite;
}
.nebula-2 {
  width: 520px; height: 520px; bottom: -160px; inset-inline-end: -100px;
  background: radial-gradient(circle, rgba(16,185,129,0.40), transparent 70%);
  animation: floatNebula 26s ease-in-out infinite reverse;
}

/* ── AI core: glowing energy sphere + rotating halo + orbits ── */
.space-parallax { position: absolute; inset: 0; transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); will-change: transform; }
.ai-core {
  position: absolute; top: 47%; left: 50%; width: 560px; height: 560px;
  transform: translate(-50%, -50%); pointer-events: none;
}
.core-glow {
  position: absolute; top: 50%; left: 50%; width: 360px; height: 360px;
  transform: translate(-50%, -50%); border-radius: 50%; filter: blur(45px);
  background: radial-gradient(circle, rgba(124,58,237,0.5), rgba(124,58,237,0.12) 45%, transparent 70%);
  animation: glowPulse 5s ease-in-out infinite;
}
.core-sphere {
  position: absolute; top: 50%; left: 50%; width: 148px; height: 148px;
  transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 36% 30%, rgba(255,255,255,0.95), rgba(167,139,250,0.65) 24%, rgba(124,58,237,0.55) 56%, rgba(67,24,134,0.85) 100%);
  box-shadow: inset 0 0 38px rgba(10,0,30,0.55), 0 0 70px rgba(124,58,237,0.65), 0 0 140px rgba(124,58,237,0.35);
  animation: corePulse 5s ease-in-out infinite;
}
.core-sphere::after {
  content: ''; position: absolute; inset: -25%; border-radius: 50%; mix-blend-mode: screen; opacity: 0.7;
  background: conic-gradient(from 0deg, transparent, rgba(52,211,153,0.55), transparent 40%, rgba(167,139,250,0.6), transparent 75%);
  animation: spin 7s linear infinite;
}
.core-halo {
  position: absolute; top: 50%; left: 50%; width: 232px; height: 232px;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(167,139,250,0) 40deg, rgba(167,139,250,0.95) 120deg, rgba(52,211,153,0.9) 210deg, rgba(167,139,250,0) 300deg, transparent 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2px));
  animation: spin 6s linear infinite; opacity: 0.85;
}
.orbit { position: absolute; inset: 0; border: 1px solid rgba(167,139,250,0.16); border-radius: 50%; animation: spin 22s linear infinite; }
.orbit-2 { inset: 90px; border-color: rgba(16,185,129,0.14); animation-duration: 30s; animation-direction: reverse; }
.orbit-3 { inset: 175px; border-color: rgba(199,184,255,0.13); animation-duration: 16s; }
.orbit-dot { position: absolute; top: -4px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 14px 2px rgba(167,139,250,0.8); }
.orbit-2 .orbit-dot { background: #34d399; box-shadow: 0 0 14px 2px rgba(52,211,153,0.8); }
.orbit-3 .orbit-dot { background: #fff; box-shadow: 0 0 12px 2px rgba(255,255,255,0.7); }

/* ── Floating capability chips ── */
.cap-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.72rem 1.2rem; border-radius: 14px; font-size: 0.98rem; font-weight: 600; color: #e7e3ff;
  background: rgba(20,16,40,0.55); border: 1px solid rgba(167,139,250,0.25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.35), 0 0 22px rgba(124,58,237,0.12);
  white-space: nowrap; pointer-events: auto; cursor: pointer;
  /* "swimming" drift — name/duration set per chip below */
  animation-timing-function: ease-in-out; animation-iteration-count: infinite;
  /* `scale` is an individual transform property, so it composes with the
     translate-based swim animation instead of fighting it → smooth hover */
  transition: scale 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.cap-chip .chip-ic { width: 20px; height: 20px; flex-shrink: 0; }
/* Positions placed at the 6 user-marked spots (RTL: inset-inline-start = right, end = left).
   Each gets a different swim path + duration so the motion looks random. */
.cap-chip.chip-1 { top: 13%;    inset-inline-start: 4%;  color: #c7b8ff; animation-name: swimA; animation-duration: 13s;   animation-delay: 0s; }   /* تصميم مواقع — haut-droite */
.cap-chip.chip-2 { top: 11%;    inset-inline-end: 22%;   color: #a7f3d0; animation-name: swimB; animation-duration: 15s;   animation-delay: -2s; }  /* تحسين SEO — haut centre-gauche */
.cap-chip.chip-3 { top: 47%;    inset-inline-start: 11%; color: #a7f3d0; animation-name: swimC; animation-duration: 14s;   animation-delay: -4s; }  /* روبوتات AI — milieu-droite */
.cap-chip.chip-4 { top: 65%;    inset-inline-end: 9%;    color: #c7b8ff; animation-name: swimA; animation-duration: 16s;   animation-delay: -6s; }  /* أتمتة الأعمال — gauche, niveau CTA */
.cap-chip.chip-5 { top: 34%;    inset-inline-end: 6%;    color: #c7b8ff; animation-name: swimB; animation-duration: 13.5s; animation-delay: -3s; }  /* متاجر إلكترونية — milieu-gauche */
.cap-chip.chip-6 { top: 67%;    inset-inline-start: 5%;  color: #a7f3d0; animation-name: swimC; animation-duration: 15.5s; animation-delay: -5s; }  /* سمعة وتقييمات — droite, niveau CTA */
/* hover "emotion" — pops bigger, brightens, glows, and freezes its swim (placed last so it wins) */
.cap-chip:hover {
  scale: 1.16; z-index: 6; color: #fff;
  background: rgba(48,35,86,0.85); border-color: rgba(167,139,250,0.7);
  box-shadow: 0 16px 46px rgba(0,0,0,0.55), 0 0 40px rgba(124,58,237,0.5);
  animation-play-state: paused;
}

/* perspective grid horizon */
.grid-floor {
  position: absolute; left: -25%; right: -25%; bottom: 0; height: 45%;
  background-image:
    linear-gradient(rgba(124,58,237,0.22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.22) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(420px) rotateX(62deg); transform-origin: bottom;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 85%);
          mask-image: linear-gradient(to top, #000 0%, transparent 85%);
  opacity: 0.55;
}

/* occasional shooting star */
.shooting-star {
  position: absolute; top: 12%; left: 78%; width: 3px; height: 3px;
  background: #fff; border-radius: 50%; box-shadow: 0 0 10px 1px #fff;
  animation: shoot 9s ease-in infinite;
}
.shooting-star::after {
  content: ''; position: absolute; top: 50%; left: 100%; width: 90px; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.9), transparent); transform: translateY(-50%);
}

/* ── Hero content ── */
.hero-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; }
/* light scrim directly behind text → readable headline while the core still glows through */
.hero-content::before {
  content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 130%; height: 145%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 44% at 50% 47%, rgba(5,5,12,0.58) 0%, rgba(5,5,12,0.26) 48%, transparent 74%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.55rem 1.3rem; background: rgba(124,58,237,0.12);
  border: 1px solid rgba(167,139,250,0.32); border-radius: 99px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #c7b8ff; font-size: 0.875rem; font-weight: 600; margin-bottom: 2rem;
  box-shadow: 0 0 30px rgba(124,58,237,0.2);
}
.badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #34d399; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(52,211,153,0.7); animation: ping 2s ease-out infinite;
}
.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.5rem); font-weight: 900; line-height: 1.12;
  margin-bottom: 1.5rem; letter-spacing: -1px;
  text-shadow: 0 2px 16px rgba(5,5,12,0.9), 0 2px 40px rgba(5,5,12,0.7), 0 0 60px rgba(124,58,237,0.3);
}
.gradient-text {
  background: linear-gradient(110deg, #a78bfa 0%, #818cf8 35%, #34d399 70%, #a78bfa 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: gradientShift 8s ease-in-out infinite;
}
/* Hero headline — premium "deserves the best" gold treatment.
   NOTE: use background-image (not the `background` shorthand) so background-clip:text
   from the base rule isn't reset → keeps the gradient clipped to the glyphs. */
.hero h1 .gradient-text {
  display: inline-block; margin-top: 0.22em;
  background-image: linear-gradient(105deg, #FCE7A2 0%, #F6B73C 26%, #FFFFFF 50%, #FAD46B 72%, #E8951B 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 16px rgba(5,5,12,0.9), 0 0 28px rgba(245,158,11,0.5);
}
.hero p { font-size: 1.2rem; color: rgba(255,255,255,0.72); max-width: 650px; margin: 0 auto 2.5rem; line-height: 1.8; }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero .btn-primary { position: relative; overflow: hidden; box-shadow: 0 0 30px rgba(124,58,237,0.5); }
.hero .btn-primary::before {
  content: ''; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: skewX(-20deg); transition: left 0.6s ease;
}
.hero .btn-primary:hover::before { left: 130%; }
.hero-stats { display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap; margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--border); }
.stat-num { font-size: 2.5rem; font-weight: 900; color: #fff; display: block; text-shadow: 0 0 24px rgba(167,139,250,0.4); }
.stat-label { color: var(--text-muted); font-size: 0.875rem; }

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: rgba(255,255,255,0.45); text-decoration: none; font-size: 0.7rem; letter-spacing: 0.12em;
  transition: color 0.2s;
}
.scroll-cue:hover { color: rgba(255,255,255,0.8); }
.scroll-cue .mouse { width: 22px; height: 36px; border: 2px solid rgba(255,255,255,0.3); border-radius: 12px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-cue .wheel { width: 3px; height: 7px; background: #a78bfa; border-radius: 2px; animation: scrollWheel 1.6s ease-in-out infinite; }

/* ── Hero animations ── */
@keyframes driftSm { from { background-position: 0 0; } to { background-position: -200px 200px; } }
@keyframes driftMd { from { background-position: 0 0; } to { background-position: 320px 320px; } }
@keyframes driftLg { from { background-position: 0 0; } to { background-position: -450px -450px; } }
@keyframes twinkle { from { opacity: 0.5; } to { opacity: 1; } }
@keyframes floatNebula {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, -30px) scale(1.12); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes glowPulse {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.12); }
}
@keyframes corePulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: inset 0 0 38px rgba(10,0,30,0.55), 0 0 70px rgba(124,58,237,0.6), 0 0 140px rgba(124,58,237,0.3); }
  50% { transform: translate(-50%, -50%) scale(1.06); box-shadow: inset 0 0 38px rgba(10,0,30,0.55), 0 0 95px rgba(124,58,237,0.85), 0 0 170px rgba(124,58,237,0.45); }
}
/* swimming drift paths — gentle multi-directional wander so chips look like they float freely */
@keyframes swimA {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(16px, -20px) rotate(2deg); }
  50%  { transform: translate(-8px, -30px) rotate(-1.5deg); }
  75%  { transform: translate(-20px, -10px) rotate(1.5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes swimB {
  0%   { transform: translate(0, 0) rotate(0deg); }
  25%  { transform: translate(-18px, 14px) rotate(-2deg); }
  50%  { transform: translate(14px, 26px) rotate(1.5deg); }
  75%  { transform: translate(22px, 8px) rotate(-1deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes swimC {
  0%   { transform: translate(0, 0) rotate(0deg); }
  20%  { transform: translate(20px, 16px) rotate(1.5deg); }
  45%  { transform: translate(6px, -22px) rotate(-2deg); }
  70%  { transform: translate(-18px, -6px) rotate(2deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.6); }
  70%, 100% { box-shadow: 0 0 0 8px rgba(52,211,153,0); }
}
@keyframes gradientShift { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }
@keyframes shoot {
  0% { transform: translate(0, 0); opacity: 0; }
  2% { opacity: 1; }
  10% { transform: translate(-340px, 200px); opacity: 0; }
  100% { transform: translate(-340px, 200px); opacity: 0; }
}
@keyframes scrollWheel { 0% { opacity: 0; transform: translateY(-4px); } 50% { opacity: 1; } 100% { opacity: 0; transform: translateY(7px); } }

/* hide chips below 1400px — the mid-height chips need wide side gutters to clear the headline */
@media (max-width: 1400px) {
  .cap-chip { display: none; }
}
@media (max-width: 900px) {
  .ai-core { width: 440px; height: 440px; }
  .orbit-2 { inset: 70px; } .orbit-3 { inset: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .aurora, .stars, .nebula, .orbit, .core-glow, .core-sphere, .core-sphere::after,
  .core-halo, .cap-chip, .badge-dot, .gradient-text, .shooting-star, .scroll-cue .wheel,
  .space-parallax { animation: none !important; }
}

/* ── Sections ── */
section { padding: 100px 0; }
.section-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--secondary); margin-bottom: 1rem; }
.section-title-h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.15; margin-bottom: 1rem; }
.section-subtitle { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ── Cards ── */
.card {
  background: var(--bg-glass); border: 1px solid var(--border); border-radius: 20px;
  padding: 2rem; transition: var(--transition);
}
.card:hover { border-color: rgba(124,58,237,0.3); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.card-icon { width: 56px; height: 56px; background: rgba(124,58,237,0.12); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; }

/* ── Global Space Background ── */
.global-space-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #0a0a0f; }

/* ── Cosmic Divider (between sections) ── */
.cosmic-divider {
  position: relative;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,0.3), rgba(16,185,129,0.3), transparent);
  margin: 0;
  overflow: visible;
  z-index: 2;
}
.cosmic-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #a78bfa, #34d399, transparent);
  box-shadow: 0 0 20px 2px rgba(124,58,237,0.6);
  animation: pulseDivider 4s ease-in-out infinite alternate;
}
@keyframes pulseDivider {
  0% { width: 50px; opacity: 0.5; box-shadow: 0 0 10px rgba(124,58,237,0.3); }
  100% { width: 350px; opacity: 1; box-shadow: 0 0 35px rgba(16,185,129,0.8); }
}

/* ── Why Axorium section ── */
.why-section {
  background:
    radial-gradient(ellipse 80% 55% at 50% 50%, rgba(124,58,237,0.12) 0%, transparent 70%),
    linear-gradient(180deg, rgba(10,10,15,0.7) 0%, rgba(10,10,15,0.2) 15%, rgba(10,10,15,0.2) 85%, rgba(10,10,15,0.7) 100%);
}
.why-section .card { 
  position: relative; overflow: hidden; 
  background: rgba(255,255,255,0.03); 
  backdrop-filter: blur(16px); 
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08); 
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 1px rgba(255,255,255,0.05); 
}
.why-section .card::before {
  content: ""; position: absolute; top: 0; right: 0; left: 0; height: 2px;
  background: var(--ci, var(--primary));
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s ease;
}
.why-section .card:hover::before { transform: scaleX(1); }
.why-section .card:hover {
  border-color: color-mix(in srgb, var(--ci, var(--primary)) 40%, transparent);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px color-mix(in srgb, var(--ci, var(--primary)) 12%, transparent);
}
.why-section .card-icon { background: color-mix(in srgb, var(--ci, var(--primary)) 14%, transparent); }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.card p { color: var(--text-muted); line-height: 1.7; font-size: 0.95rem; }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }

/* ── Hero sectors + "also available" pills ── */
.sector-hero { position: relative; display: flex; flex-direction: column; overflow: hidden; }
/* Per-card accent bar that wipes in on hover (RTL: grows from the right) */
.sector-hero::before {
  content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px;
  background: var(--sc, var(--primary));
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s ease;
}
.sector-hero:hover::before { transform: scaleX(1); }
.sector-hero:hover {
  border-color: color-mix(in srgb, var(--sc, var(--primary)) 45%, transparent);
  box-shadow: 0 22px 45px rgba(0,0,0,0.35),
              0 0 0 1px color-mix(in srgb, var(--sc, var(--primary)) 18%, transparent);
}
/* Icon tinted to the sector colour + springy lift on hover */
.sector-hero .card-icon {
  background: color-mix(in srgb, var(--sc, var(--primary)) 14%, transparent);
  color: var(--sc, var(--primary));
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), background 0.3s;
}
.sector-hero:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.sector-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.55rem 0.75rem; margin-top: auto; padding-top: 1.1rem; }
/* Primary CTA: never wraps; the arrow nudges in its pointing direction on hover */
.sector-hero .sector-cta {
  color: var(--sc, var(--secondary)); font-size: 0.95rem; font-weight: 800;
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem;
  white-space: nowrap; flex-shrink: 0;
}
.sector-cta .arr { transition: transform 0.25s ease; }
.sector-hero:hover .sector-cta .arr { transform: translateX(-5px); }
/* Secondary CTA: compact ghost button; border tints to the sector colour on hover */
.sector-demo-link {
  display: inline-flex; align-items: center; gap: 0.3rem; flex-shrink: 0; white-space: nowrap;
  font-size: 0.78rem; color: var(--text-muted); text-decoration: none;
  padding: 0.4rem 0.8rem; border: 1px solid var(--border); border-radius: 8px;
  transition: var(--transition);
}
.sector-demo-link:hover {
  color: #fff; background: rgba(255,255,255,0.05);
  border-color: color-mix(in srgb, var(--sc, #fff) 50%, transparent);
}

/* ── Sectors grid: 5 cards laid out blank-free at every width ── */
/* Desktop: one clean row of 5 (overrides the shared .grid-4 auto-fit) */
#sectors-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
/* Tablet / small laptop: balanced 3-over-2 — both rows fully filled, no orphan hole.
   6-col scaffold: row 1 = three cards (span 2), row 2 = two cards (span 3). */
@media (max-width: 1079px) {
  #sectors-grid { grid-template-columns: repeat(6, 1fr); }
  #sectors-grid > .sector-hero { grid-column: span 2; }
  #sectors-grid > .sector-hero:nth-last-child(2),
  #sectors-grid > .sector-hero:nth-last-child(1) { grid-column: span 3; }
}
/* Phones: single column (no orphan possible) */
@media (max-width: 680px) {
  #sectors-grid { grid-template-columns: 1fr; }
  #sectors-grid > .sector-hero,
  #sectors-grid > .sector-hero:nth-last-child(1),
  #sectors-grid > .sector-hero:nth-last-child(2) { grid-column: auto; }
}
.sectors-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem; margin-top: 2rem; }
.sectors-more-label { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; width: 100%; text-align: center; margin-bottom: 0.4rem; }
.sector-pill { display: inline-flex; align-items: center; gap: 0.35rem; background: var(--bg-glass); border: 1px solid var(--border); border-radius: 99px; padding: 0.45rem 1rem; font-size: 0.85rem; color: var(--text-muted); text-decoration: none; transition: var(--transition); }
.sector-pill:hover { border-color: rgba(124,58,237,0.4); color: #fff; transform: translateY(-2px); }

/* ── Features Bento (Why Axorium) ── */
.features-bento { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.bento-card { background: rgba(20, 16, 40, 0.4); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 24px; padding: 2.5rem 2rem; position: relative; overflow: hidden; transition: var(--transition); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; flex-direction: column; }
.bento-card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--ci) 40%, transparent); box-shadow: 0 20px 40px -10px color-mix(in srgb, var(--ci) 25%, transparent); }
.bento-glow { position: absolute; top: -50%; right: -50%; width: 250px; height: 250px; background: var(--ci); filter: blur(90px); opacity: 0.12; border-radius: 50%; transition: opacity 0.4s ease; pointer-events: none; }
.bento-card:hover .bento-glow { opacity: 0.35; }
.bento-icon { width: 64px; height: 64px; border-radius: 18px; background: color-mix(in srgb, var(--ci) 15%, transparent); border: 1px solid color-mix(in srgb, var(--ci) 30%, transparent); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1.5rem; color: var(--ci); box-shadow: inset 0 0 20px color-mix(in srgb, var(--ci) 10%, transparent); transition: var(--transition); }
.bento-card:hover .bento-icon { transform: scale(1.1); background: color-mix(in srgb, var(--ci) 25%, transparent); }
.bento-card h3 { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 0.8rem; z-index: 1; }
.bento-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; z-index: 1; margin: 0; }

/* ── Process Steps ── */
.process-section {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(124,58,237,0.08) 0%, transparent 60%),
    rgba(0,0,0,0.2);
}
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; counter-reset: step; position: relative; }
/* connecting timeline rail behind the number row (desktop only) */
.steps::before {
  content: ""; position: absolute; top: 56px; right: 8%; left: 8%; height: 2px; z-index: 0; border-radius: 2px;
  background: linear-gradient(90deg, rgba(236,72,153,0.45) 0%, rgba(124,58,237,0.45) 38%, rgba(59,130,246,0.45) 68%, rgba(16,185,129,0.45) 100%);
}
.step {
  position: relative; z-index: 1; overflow: hidden;
  text-align: center; padding: 2rem 1.5rem; border-radius: 16px;
  background: var(--bg-glass); border: 1px solid var(--border);
  transition: var(--transition);
}
.step::before {
  content: ""; position: absolute; top: 0; right: 0; left: 0; height: 2px;
  background: var(--si, var(--primary));
  transform: scaleX(0); transform-origin: right; transition: transform 0.35s ease;
}
.step:hover::before { transform: scaleX(1); }
.step:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--si, var(--primary)) 40%, transparent);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 0 1px color-mix(in srgb, var(--si, var(--primary)) 12%, transparent);
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 1.2rem; margin: 0 auto 1rem; color: #fff;
  background: var(--si, var(--primary));
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--si, var(--primary)) 12%, transparent),
              0 8px 20px color-mix(in srgb, var(--si, var(--primary)) 35%, transparent);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.step:hover .step-num { transform: scale(1.1); }
.step h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.step p { color: var(--text-muted); font-size: 0.9rem; }
@media (max-width: 720px) { .steps::before { display: none; } }

/* ── Premium Use Cases ── */
.uc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.uc-card { background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); border-radius: 16px; padding: 2rem; position: relative; overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.uc-card:hover { transform: translateY(-5px); border-color: var(--uc-color); box-shadow: 0 10px 30px -10px var(--uc-color); }
.uc-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--uc-color); opacity: 0.5; transition: opacity 0.3s; }
.uc-card:hover::before { opacity: 1; }
.uc-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.uc-icon-wrap { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; border: 1px solid rgba(255,255,255,0.08); transition: var(--transition); }
.uc-card:hover .uc-icon-wrap { background: color-mix(in srgb, var(--uc-color) 15%, transparent); border-color: var(--uc-color); transform: scale(1.1); }
.uc-sector { font-size: 0.85rem; font-weight: 700; color: var(--uc-color); text-transform: uppercase; letter-spacing: 0.5px; }
.uc-title { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 0.8rem; line-height: 1.4; }
.uc-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; flex-grow: 1; margin-bottom: 1.5rem; }
.uc-footer { padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.06); display: flex; flex-direction: column; gap: 0.6rem; }
.uc-target-label { display: inline-flex; align-items: center; font-size: 0.75rem; font-weight: 800; color: var(--uc-color); background: color-mix(in srgb, var(--uc-color) 12%, transparent); padding: 4px 10px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--uc-color) 25%, transparent); width: fit-content; letter-spacing: 0.5px; }
.uc-target-value { font-size: 1.05rem; font-weight: 900; color: #fff; text-shadow: 0 0 15px rgba(255,255,255,0.1); position: relative; display: inline-block; padding-bottom: 8px; }
.uc-target-value::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--uc-color), transparent); box-shadow: 0 0 8px var(--uc-color); opacity: 0.8; border-radius: 2px; }

/* ── Pricing ── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.pricing-card { background: var(--bg-glass); border: 1px solid var(--border); border-radius: 20px; padding: 2.5rem; position: relative; }
.pricing-card.featured { border-color: var(--primary); box-shadow: 0 0 40px rgba(124,58,237,0.15); }
.pricing-badge { position: absolute; top: -14px; right: 2rem; background: var(--primary); color: #fff; padding: 4px 16px; border-radius: 99px; font-size: 0.78rem; font-weight: 700; }
.pricing-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.pricing-price { font-size: 2.5rem; font-weight: 900; color: #fff; margin: 0.75rem 0; }
.pricing-price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.pricing-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.pricing-features { list-style: none; margin-bottom: 2rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.4rem 0; color: var(--text-muted); font-size: 0.9rem; }
.pricing-features li::before { content: '✓'; color: var(--secondary); font-weight: 700; flex-shrink: 0; }

/* ── Express (foot-in-the-door) banner ── */
.express-banner { background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(16,185,129,0.08)); border: 1px solid rgba(124,58,237,0.3); border-radius: 20px; padding: 2rem; margin-bottom: 2.5rem; }
.express-tag { display: inline-block; background: rgba(16,185,129,0.15); color: var(--secondary); font-size: 0.78rem; font-weight: 700; padding: 4px 14px; border-radius: 99px; margin-bottom: 1rem; }
.express-main { display: flex; gap: 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.express-title { font-size: 1.4rem; font-weight: 900; margin-bottom: 0.5rem; }
.express-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; max-width: 520px; }
.express-price-box { text-align: center; min-width: 220px; flex: 1; }
.express-price { font-size: 2.4rem; font-weight: 900; color: #fff; line-height: 1; }
.express-price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.express-delay { color: var(--secondary); font-weight: 700; font-size: 0.85rem; margin: 0.4rem 0 1rem; }

/* ── Pricing comparison table ── */
.compare-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid var(--border); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--bg-glass); }
.compare-table th, .compare-table td { padding: 1rem 1.25rem; text-align: center; border-bottom: 1px solid var(--border); }
.compare-table thead th { vertical-align: bottom; border-bottom: 2px solid var(--border); }
.compare-table td:first-child, .compare-table th.compare-feat-col { text-align: right; color: var(--text-muted); font-size: 0.92rem; }
.compare-feat-col { font-weight: 700; color: #fff !important; }
.compare-plan { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.compare-plan-price { font-size: 1.6rem; font-weight: 900; color: #fff; line-height: 1.1; }
.compare-plan-price span { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }
/* Prix : force les chiffres en LTR pour que le bidi RTL n'inverse pas les groupes de milliers (2 900 → 900 2).
   express/compare sont centrés par leur conteneur ; offer-price garde son alignement à droite. */
.express-price, .compare-plan-price { direction: ltr; }
.offer-price { direction: ltr; text-align: right; }
.compare-plan-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem; }
.compare-plan-badge { display: inline-block; background: var(--primary); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 3px 12px; border-radius: 99px; margin-bottom: 0.5rem; }
.compare-featured { background: rgba(124,58,237,0.07); }
.compare-table td.ok { color: var(--secondary); font-weight: 700; font-size: 1.1rem; }
.compare-table td.dash { color: rgba(255,255,255,0.25); }
.compare-cta-row td { border-bottom: none; padding-top: 1.5rem; }
.compare-foot { text-align: center; color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; max-width: 640px; margin: 1.5rem auto 0; }
@media (max-width: 600px) { .express-main { flex-direction: column; align-items: stretch; } .express-price-box { min-width: 0; } }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; color: #fff; font-family: var(--font-ar); font-size: 1.05rem; font-weight: 600; padding: 1.5rem 0; text-align: right; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-icon { color: var(--primary); font-size: 1.25rem; flex-shrink: 0; transition: transform 0.3s; }
.faq-a { color: var(--text-muted); line-height: 1.8; padding-bottom: 1.5rem; display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ── Footer ── */
.footer { background: rgba(0,0,0,0.4); border-top: 1px solid var(--border); padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 1rem; line-height: 1.7; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 1.25rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-link { width: 38px; height: 38px; background: var(--bg-glass); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: var(--transition); }
.social-link:hover { color: #fff; border-color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 2rem; display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.85rem; flex-wrap: wrap; gap: 1rem; }

/* ── Forms ── */
.form-group { margin-bottom: 1.5rem; }
.form-label { display: block; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.85rem; font-weight: 600; }
.form-input { width: 100%; padding: 0.875rem 1rem; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 10px; color: #fff; font-family: var(--font-ar); font-size: 0.95rem; transition: border-color 0.2s; }
.form-input:focus { outline: none; border-color: var(--primary); }
.form-input::placeholder { color: var(--text-muted); }
select.form-input option { background: #1a1a2e; }
.form-submit { width: 100%; padding: 1rem; background: var(--primary); color: #fff; border: none; border-radius: 10px; font-family: var(--font-ar); font-size: 1rem; font-weight: 700; cursor: pointer; transition: var(--transition); }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px var(--primary-glow); }

/* ── Vertical page specific ── */
.v-hero { padding: 160px 20px 80px; text-align: center; }
.v-badge { display: inline-block; padding: 8px 20px; background: rgba(124,58,237,0.1); border: 1px solid rgba(124,58,237,0.25); border-radius: 99px; font-size: 0.85rem; font-weight: 700; margin-bottom: 1.5rem; }
.v-hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.15; margin-bottom: 1.25rem; }
.v-hero p { color: var(--text-muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto 2rem; line-height: 1.8; }
.trust-bar { display: flex; justify-content: center; gap: 3rem; padding: 2.5rem 20px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(0,0,0,0.25); flex-wrap: wrap; }
.trust-stat .val { font-size: 2rem; font-weight: 900; display: block; }
.trust-stat .label { color: var(--text-muted); font-size: 0.8rem; }
.pain-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.pain-card { background: rgba(239,68,68,0.05); border: 1px solid rgba(239,68,68,0.15); border-radius: 16px; padding: 1.5rem; }
.pain-card h4 { color: #FCA5A5; margin-bottom: 0.5rem; font-size: 1rem; }
.pain-card p { color: var(--text-muted); font-size: 0.9rem; }
.sol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.sol-card { background: var(--bg-glass); border: 1px solid var(--border); border-radius: 18px; padding: 2rem; transition: var(--transition); }
.sol-card:hover { border-color: var(--primary); transform: translateY(-6px); }
.sol-icon { font-size: 2rem; margin-bottom: 1rem; }
.sol-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.6rem; }
.sol-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; }
.demo-box { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; background: rgba(124,58,237,0.04); border: 1px solid rgba(124,58,237,0.15); border-radius: 24px; padding: 3.5rem; }
.demo-text h3 { font-size: 1.7rem; font-weight: 900; margin-bottom: 1rem; }
.demo-text p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; }
.demo-list { list-style: none; }
.demo-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 1.25rem; }
.demo-list .icon { color: var(--secondary); font-size: 1.1rem; margin-top: 3px; }
.demo-list h4 { color: #fff; font-size: 1rem; margin-bottom: 0.2rem; }
.demo-list p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 0; }
.code-window { background: #080810; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.code-header { background: #12121e; padding: 10px 15px; display: flex; gap: 8px; border-bottom: 1px solid var(--border); }
.code-dot { width: 12px; height: 12px; border-radius: 50%; }
.code-dot:nth-child(1){background:#ff5f56} .code-dot:nth-child(2){background:#ffbd2e} .code-dot:nth-child(3){background:#27c93f}
.code-body { padding: 20px; font-family: 'Courier New', monospace; font-size: 0.82rem; line-height: 1.7; white-space: pre; direction: ltr; text-align: left; }
.offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; }
.offer-card { background: var(--bg-glass); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; }
.offer-card.featured { border-color: var(--primary); box-shadow: 0 0 40px rgba(124,58,237,0.12); }
.offer-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.offer-price { font-size: 2.2rem; font-weight: 900; margin: 0.5rem 0 1rem; }
.offer-features { list-style: none; margin-bottom: 1.5rem; }
.offer-features li { color: var(--text-muted); padding: 0.35rem 0; font-size: 0.9rem; }
.offer-features li::before { content: '✓ '; color: var(--secondary); font-weight: 700; }
.cta-block { text-align: center; padding: 6rem 3rem; background: rgba(20, 16, 40, 0.6); border: 1px solid rgba(124,58,237,0.3); border-radius: 32px; margin: 4rem 0; position: relative; overflow: hidden; box-shadow: 0 30px 60px -15px rgba(124,58,237,0.2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.cta-block::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at top, rgba(124,58,237,0.25), transparent 70%); pointer-events: none; }
.cta-block::after { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: conic-gradient(from 0deg, transparent 70%, rgba(124,58,237,0.15) 80%, transparent 100%); animation: spin 12s linear infinite; pointer-events: none; z-index: 0; }
.cta-block > * { position: relative; z-index: 2; }
.cta-block h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 900; margin-bottom: 1.5rem; letter-spacing: -0.5px; }
.cta-block p { color: #e7e3ff; font-size: 1.15rem; max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.8; }
.cta-glow-btn { position: relative; display: inline-flex; }
.cta-glow-btn::before { content: ''; position: absolute; inset: -4px; background: linear-gradient(90deg, var(--primary), var(--secondary)); filter: blur(15px); border-radius: 99px; opacity: 0.7; z-index: -1; animation: pulseDot 2s infinite alternate; }

/* ── Admin & Client (inherit from main, just font override) ── */
.admin-wrap, .client-wrap { font-family: var(--font-ar); }

/* ── Animations ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.reveal { animation: fadeUp 0.6s ease both; }

/* ── Responsive ── */
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
/* Nav collapses to hamburger earlier (6 links need more room) */
@media (max-width: 1024px) { 
  .nav-links { display: none; } 
  .hamburger { display: flex; } 
  /* Fix nav links overflowing screen height on small phones */
  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column !important;
    position: absolute !important;
    top: 70px !important;
    right: 0 !important;
    left: 0 !important;
    background: rgba(10,10,15,0.98) !important;
    padding: 1.5rem 2rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    max-height: calc(100vh - 70px) !important;
    overflow-y: auto !important;
  }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.4rem; }
  .demo-box { grid-template-columns: 1fr; padding: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-stats { gap: 2rem; }
  .trust-bar { gap: 1.5rem; }
}
@media (max-width: 480px) { .hero h1 { font-size: 1.9rem; } }

/* 3D and Authority Enhancements */
.glass-panel { background: rgba(15, 10, 41, 0.65); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(139, 92, 246, 0.2); border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); transition: 0.4s; }
.glass-panel:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.8); box-shadow: 0 30px 60px rgba(139, 92, 246, 0.2); }
.fade-up { opacity: 0; transform: translateY(40px); transition: 1s cubic-bezier(0.16, 1, 0.3, 1); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
/* Authority Bar */
.authority-bar { background: rgba(15, 10, 41, 0.4); border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 30px 0; overflow: hidden; direction: ltr; margin: 40px 0; }
.authority-bar p { font-size: 0.95rem; color: #94a3b8; font-weight: 700; margin-bottom: 20px; letter-spacing: 1px; text-align: center; direction: rtl; }
.marquee-wrapper { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-wrapper:hover { animation-play-state: paused; }
.authority-logos { display: flex; gap: 80px; padding: 0 40px; align-items: center; }
.auth-logo { font-family: 'Cairo', serif; font-size: 1.6rem; font-weight: 900; color: #94a3b8; transition: 0.3s; opacity: 0.5; }
.auth-logo:hover { color: #8b5cf6; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

