/* =====================================================================
   FARASA.AI — Deep-Space Glassmorphism Design System
   Shared stylesheet for index.html, builder.html, and future pages.
   Vanilla CSS. No build step. Google Fonts loaded in each HTML <head>.
   ===================================================================== */

/* =====================================================================
   1. DESIGN TOKENS
   ===================================================================== */
:root {
  /* --- Deep-space canvas --- */
  --space-1: #0A1626;   /* deepest */
  --space-2: #0D1F35;
  --space-3: #142D47;   /* lightest of the base gradient */
  --space-ink: #060E1A; /* near-black for footers/overlays */

  /* --- Brand accents --- */
  --gold: #C8A85C;
  --gold-bright: #E4C67E;
  --teal: #2DD4BF;
  --teal-bright: #5EEAD4;
  --blue: #1B3A5C;
  --blue-dark: #142D47;

  /* --- Employee accents --- */
  --nader: #2DD4BF;   /* teal */
  --karim: #F59E0B;   /* amber */
  --zaki:  #7C3AED;   /* violet */
  --salma: #10B981;   /* emerald */
  --omar:  #F43F5E;   /* rose */

  /* --- Text on dark --- */
  --text: #F4F7FB;
  --text-soft: rgba(255,255,255,0.78);
  --muted: rgba(255,255,255,0.60);
  --faint: rgba(255,255,255,0.40);

  /* --- Glass surfaces --- */
  --glass-bg: rgba(255,255,255,0.045);
  --glass-bg-2: rgba(255,255,255,0.065);
  --glass-bg-hover: rgba(255,255,255,0.085);
  --glass-border: rgba(255,255,255,0.10);
  --glass-border-strong: rgba(255,255,255,0.18);
  --glass-blur: blur(16px) saturate(140%);

  /* --- Glows / shadows --- */
  --glow-teal: 0 0 40px rgba(45,212,191,0.28);
  --glow-gold: 0 0 40px rgba(200,168,92,0.30);
  --shadow-soft: 0 8px 24px rgba(0,0,0,0.35);
  --shadow-lift: 0 18px 48px rgba(0,0,0,0.45);
  --inner-hi: inset 0 1px 0 rgba(255,255,255,0.08);

  /* --- Gradients --- */
  --grad-brand: linear-gradient(120deg, var(--teal) 0%, var(--gold) 100%);
  --grad-text: linear-gradient(100deg, var(--teal-bright) 0%, var(--gold-bright) 100%);
  --grad-canvas: radial-gradient(1200px 800px at 15% -10%, #16324f 0%, transparent 55%),
                 radial-gradient(1000px 700px at 100% 0%, #10283f 0%, transparent 50%),
                 linear-gradient(165deg, var(--space-1) 0%, var(--space-2) 45%, var(--space-3) 100%);

  /* --- Radii --- */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-pill: 999px;

  /* --- Layout --- */
  --maxw: 1200px;
  --gutter: 24px;

  /* --- Type --- */
  --font-head: 'Space Grotesk', 'Inter', system-ui, -apple-system, sans-serif;
  --font-en: 'Inter', system-ui, -apple-system, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', 'Inter', system-ui, sans-serif;

  /* --- Motion --- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

[dir="rtl"] {
  --font-head: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-en: 'IBM Plex Sans Arabic', system-ui, sans-serif;
  --font-ar: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

/* =====================================================================
   2. RESET
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-en);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  /* Static deep-space gradient — always visible even w/ reduced motion */
  background: var(--space-1);
  background-image: var(--grad-canvas);
  background-attachment: fixed;
}
[dir="rtl"] body { font-family: var(--font-ar); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }

/* =====================================================================
   3. AMBIENT BACKGROUND LAYERS (orbs + grid/starfield)
   Markup pattern (place once, right after <body>):
     <div class="ambient" aria-hidden="true">
       <div class="grid-overlay"></div>
       <span class="orb orb-teal"></span>
       <span class="orb orb-gold"></span>
       <span class="orb orb-violet"></span>
     </div>
   ===================================================================== */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

/* faint grid + starfield, extremely low opacity */
.grid-overlay {
  position: absolute;
  inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    radial-gradient(rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 160px 160px;
  background-position: 0 0, 0 0, 20px 30px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 20%, #000 30%, transparent 100%);
  opacity: 0.6;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  will-change: transform;
}
.orb-teal   { width: 520px; height: 520px; top: -120px; left: -80px;
  background: radial-gradient(circle at 30% 30%, rgba(45,212,191,0.55), transparent 70%);
  animation: drift1 26s ease-in-out infinite; }
.orb-gold   { width: 460px; height: 460px; top: 30%; right: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(200,168,92,0.50), transparent 70%);
  animation: drift2 32s ease-in-out infinite; }
.orb-violet { width: 400px; height: 400px; bottom: -140px; left: 25%;
  background: radial-gradient(circle at 30% 30%, rgba(124,58,237,0.40), transparent 70%);
  animation: drift3 30s ease-in-out infinite; }

@keyframes drift1 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(60px,40px,0) scale(1.12); } }
@keyframes drift2 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(-50px,30px,0) scale(1.08); } }
@keyframes drift3 { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(40px,-40px,0) scale(1.15); } }

/* Everything real sits above the ambient layer */
body > *:not(.ambient) { position: relative; z-index: 1; }

/* =====================================================================
   4. LAYOUT HELPERS
   ===================================================================== */
.container { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); width: 100%; }
section { padding: 96px 0; position: relative; }

.section-label {
  display: inline-block;
  font-size: 12.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 2px; margin-bottom: 12px;
  color: var(--teal-bright);
  padding: 5px 14px; border-radius: var(--r-pill);
  background: rgba(45,212,191,0.08);
  border: 1px solid rgba(45,212,191,0.22);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  color: var(--text); margin-bottom: 16px; max-width: 18ch;
}
.section-sub {
  font-size: 17px; color: var(--muted); max-width: 620px; margin-bottom: 56px;
  line-height: 1.7;
}

/* Gradient text — apply to hero words / accent headings */
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* =====================================================================
   5. GLASS UTILITY
   ===================================================================== */
.glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-soft), var(--inner-hi);
}
/* gradient border sheen via mask */
.glass::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(255,255,255,0.28), rgba(255,255,255,0.02) 40%, rgba(200,168,92,0.20));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.35s var(--ease);
}
.glass:hover::before { opacity: 1; }

/* Interactive glass card lift */
.glass-hover {
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease);
}
.glass-hover:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-hover);
  box-shadow: var(--shadow-lift), var(--glow-teal), var(--inner-hi);
}

/* =====================================================================
   6. BUTTONS
   ===================================================================== */
.btn-gold, .btn-ghost, .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-en);
  font-size: 16px; font-weight: 600;
  padding: 14px 30px; border-radius: var(--r-pill);
  transition: transform 0.15s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
[dir="rtl"] .btn-gold, [dir="rtl"] .btn-ghost, [dir="rtl"] .btn-primary { font-family: var(--font-ar); }

/* Primary glowing gold */
.btn-gold {
  color: var(--space-1);
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
  box-shadow: 0 6px 20px rgba(200,168,92,0.35), var(--inner-hi);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 34px rgba(200,168,92,0.55), 0 0 0 1px rgba(228,198,126,0.5); }
.btn-gold:active { transform: translateY(0) scale(0.98); }

/* Glass ghost button */
.btn-ghost {
  color: var(--text);
  background: var(--glass-bg-2);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-strong);
}
.btn-ghost:hover { transform: translateY(-2px); background: var(--glass-bg-hover); border-color: rgba(45,212,191,0.5); box-shadow: var(--glow-teal); }
.btn-ghost:active { transform: translateY(0) scale(0.98); }

/* Teal-tinted primary (nav CTA) */
.btn-primary {
  color: var(--space-1);
  background: linear-gradient(135deg, var(--teal-bright) 0%, var(--teal) 100%);
  box-shadow: 0 6px 20px rgba(45,212,191,0.30), var(--inner-hi);
  padding: 11px 24px; font-size: 15px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(45,212,191,0.5); }
.btn-primary:active { transform: translateY(0) scale(0.98); }

/* =====================================================================
   7. NAV
   ===================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,22,38,0.62);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--glass-border);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 10px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.logo { display: inline-flex; align-items: center; font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: -0.5px; color: var(--text); }
.logo span { color: var(--gold); }
/* Image logo (replaces text wordmark) */
.logo-img {
  height: 57px; width: auto; display: block;
  filter: drop-shadow(0 0 16px rgba(45,212,191,0.40));
  transition: filter 0.3s var(--ease), transform 0.3s var(--ease);
}
.logo:hover .logo-img { filter: drop-shadow(0 0 22px rgba(45,212,191,0.6)); transform: translateY(-1px); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-soft); transition: color 0.2s; }
.nav-links a:hover { color: var(--teal-bright); }
.nav-links a.btn-primary { color: var(--space-1); }
.nav-links a.btn-primary:hover { color: var(--space-1); }

.lang-toggle {
  font-size: 13px; font-weight: 600;
  padding: 7px 16px; border-radius: var(--r-pill);
  color: var(--text); background: var(--glass-bg-2);
  border: 1px solid var(--glass-border-strong);
  transition: background 0.2s, border-color 0.2s;
}
.lang-toggle:hover { background: var(--glass-bg-hover); border-color: rgba(200,168,92,0.5); }

/* =====================================================================
   8. HERO
   ===================================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: 640px; display: flex; align-items: center;
  padding: 40px 0;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(10,22,38,0.72) 0%, rgba(13,31,53,0.86) 60%, var(--space-1) 100%),
    url('https://images.unsplash.com/photo-1577412647305-991150e7e163?w=1600&q=80');
  background-size: cover; background-position: center;
  opacity: 0.9;
}
.hero-content { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 72px var(--gutter); width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  color: var(--teal-bright);
  padding: 7px 16px; border-radius: var(--r-pill);
  background: rgba(45,212,191,0.08); border: 1px solid rgba(45,212,191,0.22);
  margin-bottom: 24px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 10px var(--teal); }
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 6vw, 66px); font-weight: 700; line-height: 1.06;
  letter-spacing: -0.03em; color: var(--text); margin-bottom: 22px; max-width: 15ch;
}
.hero p { font-size: clamp(17px, 2vw, 20px); color: var(--text-soft); max-width: 560px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero: two-column layout with a 3D rotating showcase on the right */
.hero-content { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 44px; align-items: center; }
.hero-copy { min-width: 0; }

.hero-stage { position: relative; min-height: 420px; display: grid; place-items: center; perspective: 1500px; }
.hero-glow {
  position: absolute; width: 80%; height: 62%; z-index: 0;
  background: radial-gradient(ellipse at center, rgba(45,212,191,0.30), rgba(200,168,92,0.12) 45%, transparent 72%);
  filter: blur(26px); animation: heroGlowPulse 6s ease-in-out infinite;
}
.hero-ring {
  position: relative; width: 340px; height: 226px; z-index: 1;
  transform-style: preserve-3d;
  animation: heroSpin 20s linear infinite;
}
.hero-stage:hover .hero-ring { animation-play-state: paused; }
.hero-slide {
  position: absolute; inset: 0; margin: 0;
  border-radius: 18px; overflow: hidden; background: #0b1a2c;
  border: 1px solid rgba(255,255,255,0.16);
  box-shadow: 0 26px 64px rgba(0,0,0,0.52), inset 0 1px 0 rgba(255,255,255,0.08);
  backface-visibility: hidden;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-slide::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(6,15,26,0.88));
}
.hero-slide figcaption {
  position: absolute; left: 15px; right: 15px; bottom: 13px; z-index: 2;
  font-family: var(--font-head); font-weight: 600; font-size: 14.5px; letter-spacing: 0.2px;
  color: #EAF1F7; text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hero-slide:nth-child(1) { transform: rotateY(0deg)   translateZ(300px); }
.hero-slide:nth-child(2) { transform: rotateY(90deg)  translateZ(300px); }
.hero-slide:nth-child(3) { transform: rotateY(180deg) translateZ(300px); }
.hero-slide:nth-child(4) { transform: rotateY(270deg) translateZ(300px); }
@keyframes heroSpin { to { transform: rotateY(-360deg); } }
@keyframes heroGlowPulse { 0%, 100% { opacity: 0.7; } 50% { opacity: 1; } }

/* From-chaos-to-calm before/after band */
.ba-band { padding: 40px 0 4px; }
.ba-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; }
.ba-card {
  position: relative; margin: 0; overflow: hidden; aspect-ratio: 16 / 10;
  border-radius: var(--r-md); border: 1px solid var(--glass-border);
  box-shadow: 0 18px 48px rgba(0,0,0,0.4);
}
.ba-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-before img { filter: grayscale(0.32) brightness(0.9); }
.ba-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px;
  display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; line-height: 1.5; color: var(--text);
  background: linear-gradient(180deg, transparent, rgba(6,15,26,0.92));
}
.ba-tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  padding: 4px 11px; border-radius: var(--r-pill);
}
.ba-tag-x { color: #fca5a5; background: rgba(248,113,113,0.14); border: 1px solid rgba(248,113,113,0.32); }
.ba-tag-a { color: var(--teal-bright); background: rgba(45,212,191,0.14); border: 1px solid rgba(45,212,191,0.34); }
.ba-arrow { font-size: 30px; color: var(--teal-bright); opacity: 0.85; }

@media (prefers-reduced-motion: reduce) {
  .hero-ring, .hero-glow { animation: none; }
}
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 10px; }
  .hero-stage { min-height: 300px; margin-top: 6px; }
  .hero-ring { width: 300px; height: 200px; }
  .hero-slide:nth-child(1) { transform: rotateY(0deg)   translateZ(270px); }
  .hero-slide:nth-child(2) { transform: rotateY(90deg)  translateZ(270px); }
  .hero-slide:nth-child(3) { transform: rotateY(180deg) translateZ(270px); }
  .hero-slide:nth-child(4) { transform: rotateY(270deg) translateZ(270px); }
}
@media (max-width: 760px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-arrow { transform: rotate(90deg); justify-self: center; }
}
@media (max-width: 560px) {
  /* Collapse the 3D ring to a single static framed image on phones */
  .hero-stage { perspective: none; min-height: 0; }
  .hero-ring { animation: none; transform: none; width: 100%; max-width: 340px; height: auto; aspect-ratio: 3 / 2; }
  .hero-slide { backface-visibility: visible; }
  .hero-slide:not(:nth-child(3)) { display: none; }
  .hero-slide:nth-child(3) { position: relative; transform: none; }
}

/* =====================================================================
   9. EMPLOYEE CARDS
   ===================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }

.emp-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-md);
  overflow: hidden; cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  box-shadow: var(--shadow-soft), var(--inner-hi);
}
.emp-card:hover {
  transform: translateY(-6px);
  background: var(--glass-bg-hover);
  border-color: rgba(255,255,255,0.22);
  box-shadow: var(--shadow-lift), var(--inner-hi);
}
.emp-card[data-emp="nader"]:hover { box-shadow: var(--shadow-lift), 0 0 40px rgba(45,212,191,0.30); }
.emp-card[data-emp="karim"]:hover { box-shadow: var(--shadow-lift), 0 0 40px rgba(245,158,11,0.30); }
.emp-card[data-emp="zaki"]:hover  { box-shadow: var(--shadow-lift), 0 0 40px rgba(124,58,237,0.34); }
.emp-card[data-emp="salma"]:hover { box-shadow: var(--shadow-lift), 0 0 40px rgba(16,185,129,0.30); }

.emp-card-top { height: 132px; position: relative; background-size: cover; background-position: center; }
.emp-card-top::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,22,38,0.25) 0%, rgba(10,22,38,0.85) 100%);
}
.emp-card-top::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 1; }
.emp-card[data-emp="nader"] .emp-card-top::before { background: var(--nader); box-shadow: 0 0 14px var(--nader); }
.emp-card[data-emp="karim"] .emp-card-top::before { background: var(--karim); box-shadow: 0 0 14px var(--karim); }
.emp-card[data-emp="zaki"]  .emp-card-top::before { background: var(--zaki);  box-shadow: 0 0 14px var(--zaki); }
.emp-card[data-emp="salma"] .emp-card-top::before { background: var(--salma); box-shadow: 0 0 14px var(--salma); }
.emp-card[data-emp="omar"]  .emp-card-top::before { background: var(--omar);  box-shadow: 0 0 14px var(--omar); }

.emp-card-photo {
  width: 84px; height: 84px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.5); margin: -42px auto 12px;
  position: relative; z-index: 2; background-size: cover; background-position: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}
.emp-card-body { padding: 0 20px 26px; text-align: center; }
.emp-name { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.emp-name-ar { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.emp-role { font-size: 13.5px; font-weight: 600; color: var(--teal-bright); margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.6px; }
.emp-desc { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; min-height: 44px; }
.emp-badge {
  display: inline-block; font-size: 12px; font-weight: 600;
  padding: 5px 13px; border-radius: var(--r-pill); margin-bottom: 14px;
  background: rgba(16,185,129,0.14); color: #5eead4;
  border: 1px solid rgba(16,185,129,0.30);
}
.emp-badge.coming { background: rgba(200,168,92,0.14); color: var(--gold-bright); border-color: rgba(200,168,92,0.30); }
.emp-link { font-size: 14px; font-weight: 600; color: var(--text); display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s, color 0.2s; }
.emp-card:hover .emp-link { gap: 10px; color: var(--teal-bright); }

/* =====================================================================
   10. CUSTOM BANNER
   ===================================================================== */
.custom-banner {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); padding: 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  margin-top: 64px;
  background: linear-gradient(120deg, rgba(45,212,191,0.10), rgba(200,168,92,0.08));
  border: 1px solid var(--glass-border-strong);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-soft), var(--inner-hi);
}
.custom-banner h3 { font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.custom-banner p { font-size: 15px; color: var(--muted); max-width: 460px; }

/* =====================================================================
   11. HOW IT WORKS
   ===================================================================== */
.howitworks { background: rgba(6,14,26,0.35); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.step { text-align: center; padding: 28px 20px; border-radius: var(--r-md);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover { transform: translateY(-5px); background: var(--glass-bg-hover); box-shadow: var(--shadow-soft), var(--glow-teal); }
.step-num { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 2px; color: var(--gold); margin-bottom: 12px; }
.step-icon {
  width: 60px; height: 60px; border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(45,212,191,0.16), rgba(200,168,92,0.12));
  border: 1px solid var(--glass-border-strong);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; font-size: 26px;
}
.step h4 { font-size: 17px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); }

/* =====================================================================
   12. WHY / FEATURE CARDS
   ===================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ml-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 760px) { .ml-grid { grid-template-columns: 1fr; } }

/* Corporate / enterprise solutions band */
.corp {
  background: linear-gradient(180deg, rgba(45,212,191,0.06), rgba(6,14,26,0.55));
  border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border);
}
.corp-label { color: var(--gold); background: rgba(200,168,92,0.10); border: 1px solid rgba(200,168,92,0.30); }
.corp-grid { margin-top: 8px; }
.why-card {
  border-radius: var(--r-md); padding: 32px;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-soft), var(--inner-hi);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.why-card:hover { transform: translateY(-5px); background: var(--glass-bg-hover); box-shadow: var(--shadow-lift), var(--glow-gold); }
.why-icon {
  font-size: 28px; margin-bottom: 18px;
  width: 58px; height: 58px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(45,212,191,0.14), rgba(200,168,92,0.12));
  border: 1px solid var(--glass-border-strong);
}
.why-card h4 { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.why-card p { font-size: 15px; color: var(--muted); }

/* =====================================================================
   13. PRICING CARDS
   ===================================================================== */
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; }
.price-card {
  position: relative; text-align: center; padding: 34px 24px;
  border-radius: var(--r-md); overflow: hidden;
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-soft), var(--inner-hi);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.price-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.price-card[data-emp="nader"]::before { background: var(--nader); box-shadow: 0 0 14px var(--nader); }
.price-card[data-emp="karim"]::before { background: var(--karim); box-shadow: 0 0 14px var(--karim); }
.price-card[data-emp="zaki"]::before  { background: var(--zaki);  box-shadow: 0 0 14px var(--zaki); }
.price-card[data-emp="salma"]::before { background: var(--salma); box-shadow: 0 0 14px var(--salma); }
.price-card[data-emp="omar"]::before  { background: var(--omar);  box-shadow: 0 0 14px var(--omar); }
.price-card:hover { transform: translateY(-6px); background: var(--glass-bg-hover); box-shadow: var(--shadow-lift), var(--inner-hi); }
.price-card h4 { font-family: var(--font-head); font-size: 19px; color: var(--text); margin-bottom: 4px; }
.price-role { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.price-amount { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.price-unit { font-size: 13px; color: var(--muted); }
.price-fee { font-size: 12px; color: var(--faint); margin-top: 10px; }

/* =====================================================================
   14. CTA BAND
   ===================================================================== */
.cta-band {
  position: relative; overflow: hidden; text-align: center;
  padding: 84px var(--gutter);
  background: radial-gradient(600px 300px at 50% 0%, rgba(45,212,191,0.14), transparent 70%),
              rgba(6,14,26,0.55);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); color: var(--text); margin-bottom: 16px; }
.cta-band p { color: var(--text-soft); }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Full-width framed section visual with overlaid caption */
.section-visual {
  position: relative; margin: 4px 0 44px; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft), var(--inner-hi);
  aspect-ratio: 21 / 8;
}
.section-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.section-visual::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(6,14,26,0.86), rgba(6,14,26,0.35) 52%, transparent 78%),
              linear-gradient(0deg, rgba(6,14,26,0.6), transparent 55%);
}
.section-visual .sv-cap { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 26px; }
.sv-cap h3 { font-family: var(--font-head); font-size: clamp(19px, 2.4vw, 27px); color: var(--text); margin-bottom: 7px; }
.sv-cap p { color: var(--text-soft); font-size: 15px; line-height: 1.55; max-width: 540px; }
[dir="rtl"] .section-visual::after {
  background: linear-gradient(270deg, rgba(6,14,26,0.86), rgba(6,14,26,0.35) 52%, transparent 78%),
              linear-gradient(0deg, rgba(6,14,26,0.6), transparent 55%);
}

/* CTA band with photographic background */
.cta-band--img .cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-band--img .cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; opacity: 0.32; }
.cta-band--img::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(720px 340px at 50% 100%, rgba(45,212,191,0.14), transparent 70%),
              linear-gradient(180deg, rgba(6,14,26,0.72), rgba(6,14,26,0.9));
}
.cta-band--img .cta-inner { position: relative; z-index: 2; }

@media (max-width: 760px) {
  .section-visual { aspect-ratio: 16 / 11; }
  .section-visual .sv-cap { left: 18px; right: 18px; bottom: 18px; }
}

/* =====================================================================
   15. FOOTER
   ===================================================================== */
.footer {
  background: var(--space-ink);
  border-top: 1px solid var(--glass-border);
  color: var(--muted);
  padding: 56px var(--gutter) 32px;
}
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 32px; }
.footer-brand { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.footer-brand span { color: var(--gold); }
.footer-logo-img { height: 64px; width: auto; filter: drop-shadow(0 0 14px rgba(45,212,191,0.28)); }

/* Everyday wins — hard task → handled */
.hard-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.hard-card { padding: 22px 24px; }
.hard-before, .hard-after { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; line-height: 1.55; margin: 0; }
.hard-before { color: var(--muted); }
.hard-before .x { color: #f87171; font-weight: 700; flex: none; margin-top: 1px; }
.hard-after { color: var(--text); font-weight: 500; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--glass-border); }
.hard-after .a { color: var(--teal-bright); font-weight: 700; flex: none; margin-top: 1px; }
@media (max-width: 760px) { .hard-cards { grid-template-columns: 1fr; } }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--teal-bright); }
.footer-bottom {
  max-width: var(--maxw); margin: 32px auto 0; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px; color: var(--faint);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* =====================================================================
   16. SCROLL REVEAL (progressive-enhancement)
   .reveal starts hidden ONLY when JS marks <html class="js"> so the
   site is fully visible without JS.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
  html.js .reveal.in { opacity: 1; transform: none; }
  /* stagger children */
  html.js .reveal.in .stagger > * { animation: rise 0.6s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   17. RTL OVERRIDES
   ===================================================================== */
[dir="rtl"] .nav-links { flex-direction: row-reverse; }
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .custom-banner { text-align: right; }
[dir="rtl"] .section-title, [dir="rtl"] .section-sub { text-align: right; }
[dir="rtl"] .step { text-align: center; }
[dir="rtl"] .footer-inner { direction: rtl; }

/* =====================================================================
   18. RESPONSIVE
   ===================================================================== */
@media (max-width: 960px) {
  .team-grid, .price-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  section { padding: 72px 0; }
  .custom-banner { flex-direction: column; text-align: center; padding: 36px 28px; }
  [dir="rtl"] .custom-banner { text-align: center; }
}
@media (max-width: 768px) {
  .nav-links a:not(.lang-toggle):not(.btn-primary) { display: none; }
  .nav-links { gap: 14px; }
}
@media (max-width: 560px) {
  .team-grid, .price-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero { min-height: 560px; }
  .hero-actions .btn-gold, .hero-actions .btn-ghost { flex: 1 1 auto; }
}

/* =====================================================================
   19. REDUCED MOTION — kill orb/reveal motion, keep static visuals
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .orb { animation: none !important; }
  html.js .reveal { opacity: 1 !important; transform: none !important; }
  * { scroll-behavior: auto !important; }
}
