/* ═══════════════════════════════════════
   WEBNA — styles.css
   شامل كل الـ CSS للموقع كامل
═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,600;1,700;1,800;1,900&display=swap');

/* ─── RESET & ROOT ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@media (max-width: 991px) {
  .fb-nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid #ececec;
    gap: 18px;
    z-index: 99;
  }
}
html { scroll-behavior: smooth; }

:root {
  --bg: #060b12;
  --bg-2: #0a1018;
  --white: #ffffff;
  --muted: #8b9098;
  --muted-2: #6d727a;
  --line: rgba(255,255,255,.08);
  --line-soft: rgba(255,255,255,.12);
  --pill-border: rgba(255,255,255,.14);
  --red: #f42f45;
  --red-dark: #e6273c;
  --bg-process: #ece9e6;
  --text: #0d0d0d;
  --text-muted: #555;
  --line-process: #d7d1cb;
  --lightNum: #d8d4cf;
  --accent: #ff3045;
  --frx-bg: #05090e;
  --frx-text: #f2f2f2;
  --frx-line: rgba(255,255,255,.10);
  --fx-bg: #efedea;
  --fx-bg-dark: #06090f;
  --fx-light: #f4f1ec;
  --fx-red: #ff3b4d;
  --fx-shadow: 0 30px 70px rgba(0,0,0,.18);
}

body {
  font-family: 'Inter', sans-serif;
  background: #f4f4f4;
  color: #111;
  overflow-x: hidden;
}

.fb-page {
  width: 100%;
  min-height: 100vh;
  background: #fff;
}


/* ════════════════════════════════════════
   NAVBAR — with scroll-hide animation
════════════════════════════════════════ */
.fb-nav {
  height: 72px;
  background: #fff;
  border-bottom: 1px solid #ececec;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 46px;
  position: sticky;
  top: 0;
  z-index: 100;
  /* ── scroll animations ── */
  transition: transform .38s cubic-bezier(.4,0,.2,1),
              box-shadow .38s ease,
              background .3s ease;
  will-change: transform;
}

/* يختفي لأسفل عند الـ scroll */
.fb-nav.nav-hidden {
  transform: translateY(-100%);
}

/* ظل خفيف بعد ما تسكرول شوية */
.fb-nav.nav-scrolled {
  box-shadow: 0 4px 28px rgba(0,0,0,.10);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.fb-nav-left { display: flex; align-items: center; gap: 26px; }

.fb-logo {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -1px;
  line-height: 1;
}

.fb-nav-sep { width: 1px; height: 24px; background: #dadada; }

.fb-nav-icon {
  width: 34px; height: 34px;
  border-radius: 999px;
  border: 1px solid #cfd3d8;
  display: flex; align-items: center; justify-content: center;
  color: #6f7781; font-size: 15px; font-weight: 600;
  position: relative;
}
.fb-nav-icon::before { content: "〰"; transform: translateY(-1px); font-size: 15px; }

.fb-nav-right { display: flex; align-items: center; gap: 28px; }
.fb-nav-links { display: flex; align-items: center; gap: 38px; }
.fb-nav-links a { text-decoration: none; color: #181818; font-size: 14px; font-weight: 500; }
.fb-nav-links .has-arrow { display: flex; align-items: center; gap: 7px; }
.fb-nav-links .has-arrow::after { content: "▼"; font-size: 9px; transform: translateY(-1px); }
.fb-nav-divider { width: 1px; height: 26px; background: #dcdcdc; }

.fb-nav-cta {
  border: none; background: var(--red); color: #fff;
  border-radius: 999px; height: 40px; padding: 0 28px;
  font-size: 14px; font-weight: 600; cursor: pointer;
  transition: .2s ease;
}
.fb-nav-cta:hover { background: var(--red-dark); }

/* Mobile hamburger */
.fb-hamburger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid #e2e2e2;
  background: #fff;
  align-items: center; justify-content: center;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}
.fb-hamburger span,
.fb-hamburger span::before,
.fb-hamburger span::after {
  content: ""; position: absolute;
  width: 18px; height: 2px; background: #111;
  transition: transform .3s ease, opacity .3s ease;
}
.fb-hamburger span::before { transform: translateY(-6px); }
.fb-hamburger span::after  { transform: translateY(6px);  }
.fb-hamburger.is-open span          { background: transparent; }
.fb-hamburger.is-open span::before  { transform: rotate(45deg);  }
.fb-hamburger.is-open span::after   { transform: rotate(-45deg); }


/* ════════════════════════════════════════
   HERO
════════════════════════════════════════ */
.fb-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.03), transparent 20%),
    radial-gradient(circle at 80% 30%, rgba(255,255,255,.02), transparent 18%),
    linear-gradient(180deg, #060b12 0%, #070c13 55%, #060a11 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.fb-hero::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.05) 0 22px, transparent 23px),
    radial-gradient(circle at 18% 72%, rgba(255,255,255,.04) 0 28px, transparent 29px),
    radial-gradient(circle at 35% 28%, rgba(255,255,255,.03) 0 34px, transparent 35px),
    radial-gradient(circle at 50% 18%, rgba(255,255,255,.03) 0 18px, transparent 19px),
    radial-gradient(circle at 61% 42%, rgba(255,255,255,.03) 0 24px, transparent 25px),
    radial-gradient(circle at 75% 20%, rgba(255,255,255,.03) 0 26px, transparent 27px),
    radial-gradient(circle at 86% 60%, rgba(255,255,255,.03) 0 22px, transparent 23px),
    radial-gradient(circle at 70% 80%, rgba(255,255,255,.03) 0 30px, transparent 31px);
  opacity: .25;
  filter: blur(1px);
}

.fb-hero-glow {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: rgba(244,47,69,.08);
  filter: blur(140px);
  top: -250px; right: -250px;
  pointer-events: none;
}

.fb-hero-inner {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  flex: 1;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center;
  position: relative; z-index: 2;
  padding: 80px 0 48px;
}

.fb-eyebrow {
  color: #6e737b;
  text-transform: uppercase;
  font-size: clamp(11px, 1.4vw, 12px); font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: clamp(18px, 4vw, 30px);
}

.fb-title {
  max-width: 1000px;
  color: #fff;
  font-size: clamp(36px, 9vw, 88px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: clamp(18px, 3vw, 28px);
}

.fb-desc {
  max-width: 780px;
  color: #d3d7dc;
  font-size: clamp(14px, 1.6vw, 18px);
  line-height: 1.75;
  margin-bottom: clamp(22px, 4vw, 34px);
}
.fb-desc span { color: #fff; }

.fb-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: clamp(22px, 4vw, 34px); }

.fb-pill {
  height: 38px; padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--pill-border);
  color: #f1f1f1;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,.01);
  backdrop-filter: blur(8px);
}

.fb-actions { display: flex; align-items: center; gap: 14px; margin-bottom: clamp(32px, 6vw, 52px); flex-wrap: wrap; justify-content: center; }

.fb-btn-primary, .fb-btn-secondary {
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: .2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}

.fb-btn-primary {
  background: var(--red); color: #fff; border: none;
  font-weight: 700;
  box-shadow: 0 20px 40px rgba(244,47,69,.25);
}
.fb-btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }

.fb-btn-secondary {
  border: 1px solid rgba(255,255,255,.28);
  color: #fff; background: transparent;
  font-weight: 600;
  min-width: 200px;
}
.fb-btn-secondary:hover { background: rgba(255,255,255,.04); }

.fb-hero-mockup { width: 100%; max-width: 1100px; margin-top: clamp(30px, 6vw, 60px); }
.fb-hero-mockup img {
  width: 100%; display: block;
  border-radius: 20px;
  box-shadow: 0 50px 100px rgba(0,0,0,.4);
}

/* STATS BAR */
.fb-stats-wrap {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,.07);
  position: relative; z-index: 2;
}

.fb-stats {
  width: min(1200px, calc(100% - 80px));
  margin: 0 auto;
  min-height: 116px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.65fr;
  align-items: center;
}

.fb-stat {
  min-height: 116px;
  display: flex; align-items: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.07);
  position: relative;
  transition: .3s ease;
}
.fb-stat:hover { background: rgba(255,255,255,.02); }
.fb-stat:first-child { padding-left: 0; }
.fb-stat:last-child { border-right: none; justify-content: flex-end; padding-right: 0; }

.fb-red-line { position: absolute; top: -1px; left: 0; width: 110px; height: 2px; background: var(--red); }

.fb-stat-box { display: flex; align-items: flex-start; gap: 18px; }

.fb-stat-number {
  font-size: clamp(34px, 4.5vw, 56px); line-height: .95;
  letter-spacing: -2px; font-weight: 800;
  color: #fff; flex-shrink: 0;
}
.fb-stat-number .plus { color: var(--red); }

.fb-stat-label { color: #70757d; font-size: clamp(13px, 1.4vw, 16px); line-height: 1.25; font-weight: 500; padding-top: 12px; max-width: 120px; }

.fb-trusted { text-align: right; }
.fb-trusted-title { color: #8c9097; font-size: clamp(14px, 1.6vw, 18px); font-style: italic; margin-bottom: 8px; }
.fb-trusted-text  { color: #fff;    font-size: clamp(14px, 1.6vw, 18px); line-height: 1.45; }


/* ════════════════════════════════════════
   DISCIPLINES / SERVICES SECTION
════════════════════════════════════════ */
.services-section { padding: clamp(56px, 10vw, 110px) 0; position: relative; background: #f8f6f3; }
.container { width: 92%; max-width: 1450px; margin: auto; }

.top { display: flex; justify-content: space-between; align-items: flex-start; gap: 80px; margin-bottom: clamp(36px, 7vw, 70px); }
.left-title { flex: 1; min-width: 0; }
.right-text { width: 390px; margin-top: 18px; flex-shrink: 0; }
.mini-title { font-size: 13px; letter-spacing: 2px; font-weight: 700; color: #666; display: block; margin-bottom: 15px; }
.left-title h2 { font-size: clamp(36px, 7vw, 82px); line-height: .94; font-weight: 900; letter-spacing: -.03em; }
.left-title h2 span { font-style: italic; font-weight: 600; color: #9d9389; }
.right-text p { font-size: clamp(15px, 1.7vw, 18px); line-height: 1.8; color: #666; margin-bottom: 15px; }
.right-text strong { color: #111; }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  margin-top: clamp(36px, 6vw, 60px);
}

.service-card {
  background: #fff;
  border: 1px solid #ece8e4;
  border-radius: 24px;
  padding: clamp(22px, 3vw, 34px);
  min-height: 420px;
  position: relative; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.03), 0 15px 45px rgba(0,0,0,.04);
  transition: opacity .8s ease, transform .8s ease, box-shadow .4s ease;
  opacity: 0; transform: translateY(50px);
}
.service-card.show { opacity: 1; transform: translateY(0); }
.service-card:hover { box-shadow: 0 35px 90px rgba(0,0,0,.09); }

.service-card::before {
  content: ""; position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,255,255,.55), transparent 70%);
  top: -170px; left: -170px;
  transition: .6s; pointer-events: none;
}
.service-card:hover::before { left: 40%; top: 20%; }
.service-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-130%); transition: 1s; pointer-events: none;
}
.service-card:hover::after { transform: translateX(130%); }

.number { font-size: clamp(36px, 4.5vw, 52px); font-weight: 900; color: #d8d4cf; margin-bottom: 8px; line-height: 1; }
.service-card h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 6px; line-height: 1.1; }
.service-card > span { font-size: 14px; color: #777; display: block; margin-bottom: 18px; }

.service-card ul { list-style: none; margin-top: 18px; flex: 1; }
.service-card li {
  padding: 11px 0;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid #efefef;
  font-size: 14px; transition: .3s;
  gap: 10px;
}
.service-card li:last-child { border: none; }
.service-card li::after { content: "↗"; font-size: 12px; color: #bbb; transition: .3s; flex-shrink: 0; margin-left: 8px; }
.service-card li:hover { padding-left: 10px; }
.service-card li:hover::after { transform: translateX(5px); color: #111; }

.arrow {
  position: absolute; bottom: 22px; right: 22px;
  font-size: 20px; width: 46px; height: 46px; border-radius: 50%;
  display: flex; justify-content: center; align-items: center;
  background: #fafafa; border: 1px solid #ececec;
  cursor: pointer; transition: .3s;
}
.arrow:hover { background: #111; color: #fff; }

.wordpress {
  position: absolute; right: 22px; top: 22px;
  width: 56px; height: 56px; border-radius: 50%;
  border: 2.5px solid #111;
  display: flex; justify-content: center; align-items: center;
  font-size: 28px; font-weight: 900;
}

.badge {
  position: absolute; left: 50%; transform: translateX(-50%); top: -18px;
  background: #111; color: #fff;
  padding: 9px 18px; border-radius: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  white-space: nowrap;
}

.card-03 { display: flex; flex-direction: column; }
.dev-body { flex: 1; display: flex; flex-direction: column; }

.columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 22px; }
.columns ul { list-style: none; }
.columns li {
  padding: 8px 0;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid #efefef;
  font-size: 13px; transition: .3s;
  gap: 8px;
}
.columns li:last-child { border: none; }
.columns li::after { content: "↗"; font-size: 11px; color: #bbb; flex-shrink: 0; margin-left: 4px; transition: .3s; }
.columns li:hover { padding-left: 8px; }
.columns li:hover::after { transform: translateX(4px); color: #111; }

.bottom-dark {
  position: relative; margin-top: auto;
  border-radius: 20px;
}
.bottom-dark span { color: #fff; font-size: 15px; line-height: 1.65; flex: 1; }
.bottom-dark button {
  width: 50px; height: 50px; border-radius: 50%; border: none;
  background: #222; color: #fff; font-size: 22px;
  cursor: pointer; transition: .35s; flex-shrink: 0;
}
.bottom-dark button:hover { transform: rotate(-45deg) scale(1.12); background: #fff; color: #111; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px; margin-top: 28px;
}
.stat {
  background: #fff; border-radius: 20px; padding: clamp(20px, 3vw, 30px);
  text-align: center; border: 1px solid #ece8e4;
  transition: opacity .8s ease, transform .8s ease;
  opacity: 0; transform: translateY(50px);
}
.stat.show { opacity: 1; transform: translateY(0); }
.stat:hover { transform: translateY(-6px); }
.stat h4 { font-size: clamp(30px, 4vw, 46px); font-weight: 900; margin-bottom: 6px; }
.stat span { color: #777; font-size: 13px; }


/* ════════════════════════════════════════
   PROCESS SECTION
════════════════════════════════════════ */
.process-section {
  position: relative;
  background: var(--bg-process);
  padding: clamp(56px, 10vw, 110px) 0;
  overflow: hidden;
}

.process-wrap {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
}

.process-left { max-width: 560px; }

.process-kicker {
  display: inline-block;
  font-size: 12px; font-weight: 800; letter-spacing: .08em;
  color: #111; margin-bottom: clamp(18px, 3vw, 26px); text-transform: uppercase;
}

.process-title {
  margin: 0;
  font-size: clamp(34px, 7vw, 74px);
  line-height: .98; letter-spacing: -0.03em;
  font-weight: 900; color: var(--text); max-width: 700px;
}

.process-desc {
  margin: clamp(22px, 4vw, 34px) 0;
  max-width: 520px;
  font-size: clamp(15px, 1.8vw, 18px); line-height: 1.75;
  color: #2e2e2e; font-weight: 500;
}

.process-btn {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none;
  background: var(--accent); color: #fff;
  padding: 16px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  box-shadow: 0 18px 35px rgba(255,48,69,.28);
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.process-btn:hover { transform: translateY(-3px); box-shadow: 0 24px 45px rgba(255,48,69,.36); background: #ff223a; }
.btn-icon { width: 18px; height: 18px; display: grid; place-items: center; flex-shrink: 0; }

.process-right { padding-top: 6px; position: relative; }
.process-right::before {
  content: ""; position: absolute;
  left: 38px; top: 20px; bottom: 20px;
  width: 1px; background: #d3cdc6;
}

.process-step {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 20px; align-items: start;
  padding: 0 0 26px; margin: 0 0 26px;
  border-bottom: 1px solid var(--line-process);
  transition: transform .35s ease;
}
.process-step:last-child { margin-bottom: 0; }
.process-step:hover { transform: translateX(-4px); }

.step-num { font-size: clamp(48px, 6vw, 72px); line-height: .9; font-weight: 900; letter-spacing: -0.05em; color: var(--lightNum); user-select: none; }
.step-content h3 { margin: 6px 0 8px; font-size: clamp(22px, 3vw, 28px); line-height: 1.1; font-weight: 900; letter-spacing: -0.03em; color: var(--text); }
.step-content p { margin: 0; max-width: 500px; color: #3d3d3d; font-size: 15px; line-height: 1.7; font-weight: 500; }

/* Process reveal animations */
.reveal-left { opacity: 0; transform: translateY(36px); will-change: transform, opacity; animation: fadeUp .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: .08s; }
.reveal-step  { opacity: 0; transform: translateY(42px); will-change: transform, opacity; animation: stepUp .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--delay); }

@keyframes fadeUp { 0% { opacity: 0; transform: translateY(36px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes stepUp { 0% { opacity: 0; transform: translateY(42px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes contentFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.process-kicker { animation: contentFade .85s cubic-bezier(.2,.8,.2,1) both; animation-delay: .05s; }
.process-title  { animation: contentFade .85s cubic-bezier(.2,.8,.2,1) both; animation-delay: .12s; }
.process-desc   { animation: contentFade .85s cubic-bezier(.2,.8,.2,1) both; animation-delay: .22s; }
.process-btn    { animation: contentFade .85s cubic-bezier(.2,.8,.2,1) both; animation-delay: .34s; }


/* ════════════════════════════════════════
   WHY WEBNA (DARK SHELL)
════════════════════════════════════════ */
.frx-why-advanced { position: relative; background: #e9e5e1; padding: clamp(64px, 10vw, 120px) 0; overflow: hidden; }
.frx-why-wrap { width: min(1280px, calc(100% - 40px)); margin: 0 auto; }

.frx-why-shell {
  position: relative;
  background: radial-gradient(circle at 18% 20%, rgba(255,255,255,.06), transparent 28%), radial-gradient(circle at 82% 78%, rgba(255,255,255,.05), transparent 30%), linear-gradient(180deg, #0d1016 0%, #090c12 100%);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 32px;
  padding: clamp(28px, 5vw, 52px) clamp(18px, 4vw, 46px) clamp(20px, 3vw, 34px);
  color: #f5f2ed;
  box-shadow: 0 30px 80px rgba(7,10,18,.18), inset 0 1px 0 rgba(255,255,255,.04);
  isolation: isolate;
}

.frx-why-shell::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 34px 34px; opacity: .24;
  mask-image: radial-gradient(circle at center, #000 45%, transparent 100%);
  z-index: -1;
}

.frx-cut { position: absolute; top: -1px; width: 120px; height: 58px; background: #e9e5e1; z-index: 2; pointer-events: none; }
.frx-cut-left  { left: 88px;  border-bottom-right-radius: 36px; box-shadow:  14px 14px 0 0 #0d1016; }
.frx-cut-right { right: 88px; border-bottom-left-radius:  36px; box-shadow: -14px 14px 0 0 #0d1016; }

.frx-why-head { text-align: center; max-width: 860px; margin: 0 auto clamp(28px, 5vw, 42px); }
.frx-why-kicker { margin: 0 0 14px; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.frx-why-head h2 { margin: 0; font-size: clamp(28px, 6vw, 58px); line-height: 1.02; font-weight: 900; letter-spacing: -0.03em; color: #fff; }
.frx-why-head h2 span { color: #ff4257; }
.frx-why-intro { max-width: 760px; margin: 16px auto 0; color: rgba(245,242,237,.74); font-size: 14px; line-height: 1.8; }

.frx-why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }

.frx-why-card {
  position: relative; min-height: 230px;
  padding: clamp(20px, 3vw, 28px) clamp(18px, 3vw, 24px) 24px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)), rgba(255,255,255,.015);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 12px 30px rgba(0,0,0,.14);
  transition: transform .45s cubic-bezier(.22,1,.36,1), border-color .35s ease, box-shadow .35s ease;
}
.frx-why-card:hover { transform: translateY(-8px); border-color: rgba(255,66,87,.34); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 18px 40px rgba(0,0,0,.22); }
.frx-why-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255,66,87,.22), rgba(255,255,255,0) 35%, rgba(255,255,255,.08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .7; pointer-events: none;
}

.frx-why-icon {
  width: 50px; height: 50px; display: grid; place-items: center;
  border-radius: 14px; margin-bottom: 18px;
  color: #ff4257; background: rgba(255,66,87,.08); border: 1px solid rgba(255,66,87,.18);
}
.frx-why-icon svg { width: 24px; height: 24px; }
.frx-why-card h3 { margin: 0 0 10px; font-size: clamp(18px, 2.4vw, 22px); line-height: 1.18; letter-spacing: -0.02em; color: #fff; font-weight: 800; }
.frx-why-card p  { margin: 0; color: rgba(245,242,237,.72); font-size: 13.5px; line-height: 1.8; }

.frx-why-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.frx-why-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 12px;
  height: 54px; padding: 0 22px; border-radius: 999px;
  background: #ff4257; color: #fff; text-decoration: none;
  font-size: 14px; font-weight: 800; letter-spacing: -0.01em;
  box-shadow: 0 16px 34px rgba(255,66,87,.28);
  transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.frx-why-btn:hover { transform: translateY(-3px); box-shadow: 0 22px 40px rgba(255,66,87,.34); background: #ff3148; }
.frx-btn-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.14); }
.frx-why-note { max-width: 720px; margin: 0; color: rgba(245,242,237,.64); font-size: 13px; line-height: 1.9; }

/* Why section reveals */
.reveal-up, .reveal-stagger, .reveal-up-delay { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1); }
.reveal-up.is-visible, .reveal-stagger.is-visible, .reveal-up-delay.is-visible { opacity: 1; transform: translateY(0); }
.frx-why-grid .reveal-stagger:nth-child(1) { transition-delay: .08s; }
.frx-why-grid .reveal-stagger:nth-child(2) { transition-delay: .18s; }
.frx-why-grid .reveal-stagger:nth-child(3) { transition-delay: .28s; }
.reveal-up-delay { transition-delay: .34s; }


/* ════════════════════════════════════════
   WHY US V2 (PILLARS)
════════════════════════════════════════ */
.frx-why-v2 {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(1200px 500px at 72% 18%, rgba(255,255,255,.025), transparent 60%), linear-gradient(180deg, #05090e 0%, #060b11 100%);
  color: var(--frx-text); padding: clamp(56px, 9vw, 88px) 0 clamp(56px, 9vw, 90px);
}

.frx-why-v2__bg {
  position: absolute; inset: 0; z-index: 0; opacity: .28; pointer-events: none;
  background-image:
    radial-gradient(circle at 10% 16%, rgba(255,255,255,.05) 0 24px, transparent 25px),
    radial-gradient(circle at 18% 40%, rgba(255,255,255,.03) 0 18px, transparent 19px),
    radial-gradient(circle at 28% 18%, rgba(255,255,255,.04) 0 30px, transparent 31px),
    radial-gradient(circle at 44% 28%, rgba(255,255,255,.035) 0 28px, transparent 29px),
    radial-gradient(circle at 60% 48%, rgba(255,255,255,.03) 0 22px, transparent 23px),
    radial-gradient(circle at 84% 18%, rgba(255,255,255,.04) 0 22px, transparent 23px),
    radial-gradient(circle at 74% 80%, rgba(255,255,255,.03) 0 20px, transparent 21px);
  filter: blur(10px); transform: scale(1.03);
}

.frx-why-v2__noise {
  position: absolute; inset: 0; z-index: 0; opacity: .045; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 4px 4px; mix-blend-mode: soft-light;
}

.frx-why-v2__container {
  position: relative; z-index: 1;
  width: min(1400px, calc(100% - 80px));
  margin: 0 auto;
  display: grid; grid-template-columns: 500px minmax(0, 1fr);
  column-gap: 78px; align-items: start;
}

.frx-why-v2__eyebrow, .frx-why-v2__tag { display: inline-block; font-size: 12px; line-height: 1; letter-spacing: .18em; text-transform: uppercase; color: #e3e3e3; font-weight: 800; }
.frx-why-v2__left  { padding-top: 4px; }
.frx-why-v2__title { margin: 18px 0 0; max-width: 430px; font-size: clamp(34px, 4.2vw, 60px); line-height: .96; letter-spacing: -0.04em; font-weight: 900; text-transform: uppercase; }
.frx-why-v2__right { position: relative; min-height: 470px; }
.frx-why-v2__tag   { position: absolute; top: 2px; right: 0; z-index: 4; }
.frx-why-v2__pro   { position: absolute; top: -6px; right: 10px; z-index: 1; font-size: clamp(210px, 20vw, 320px); line-height: .78; font-weight: 900; letter-spacing: -0.08em; text-transform: uppercase; color: rgba(0,0,0,.58); user-select: none; pointer-events: none; }
.frx-why-v2__content { position: relative; z-index: 3; width: 100%; max-width: 820px; margin-top: 175px; }
.frx-why-v2__heading { margin: 0 0 18px; font-size: clamp(20px, 2vw, 28px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 900; text-transform: uppercase; }
.frx-why-v2__table  { border-top: 1px solid var(--frx-line); }

.frx-why-v2__row {
  position: relative;
  display: grid; grid-template-columns: 64px minmax(230px, 1fr) 1.35fr;
  gap: 28px; align-items: center; min-height: 78px;
  border-bottom: 1px solid var(--frx-line);
  transition: transform .35s ease, background .35s ease, border-color .35s ease;
}
.frx-why-v2__row::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.035), transparent 70%); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.frx-why-v2__row:hover { transform: translateX(8px); background: rgba(255,255,255,.018); border-color: rgba(255,255,255,.14); }
.frx-why-v2__row:hover::before { opacity: 1; }
.frx-why-v2__num  { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; color: #fff; text-transform: uppercase; }
.frx-why-v2__head { font-size: 16px; line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; text-transform: uppercase; color: #f5f5f5; }
.frx-why-v2__text { font-size: 14.5px; line-height: 1.3; font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; color: #d7d7d7; max-width: 430px; }

/* V2 reveals */
.reveal-left, .reveal-up, .reveal-row, .reveal-fade { opacity: 0; will-change: transform, opacity; }
.reveal-left { transform: translateX(-34px); }
.reveal-up   { transform: translateY(36px); }
.reveal-row  { transform: translateY(26px); }
.reveal-fade { transform: translateY(10px); }
.is-visible.reveal-left, .is-visible.reveal-up, .is-visible.reveal-fade { opacity: 1; transform: none; transition: transform .9s cubic-bezier(.22,1,.36,1), opacity .9s cubic-bezier(.22,1,.36,1); }
.is-visible.reveal-row { opacity: 1; transform: none; transition: transform .8s cubic-bezier(.22,1,.36,1), opacity .8s cubic-bezier(.22,1,.36,1); transition-delay: var(--delay, 0s); }


/* ════════════════════════════════════════
   PROJECTS SHOWCASE — HORIZONTAL SCROLL
   يشتغل نفس الأسلوب على موبايل وديسكتوب
════════════════════════════════════════ */
.fx-projects-showcase {
  position: relative;
  background: var(--fx-bg);
  color: var(--fx-text);
  overflow: clip;
  padding: clamp(56px, 9vw, 90px) 0 0;
}

.fx-projects-head {
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto 30px;
}
.fx-projects-kicker {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 16px; color: rgba(10,10,10,.72);
}
.fx-projects-title-wrap {
  display: grid; grid-template-columns: 1.2fr .9fr;
  gap: 32px; align-items: end;
}
.fx-projects-title {
  margin: 0; font-size: clamp(34px, 6vw, 78px);
  line-height: .98; font-weight: 900; letter-spacing: -.03em;
}
.fx-projects-subtitle {
  margin: 0 0 8px; font-size: 15px;
  line-height: 1.8; color: rgba(20,20,20,.68); max-width: 640px;
}

/* ── Sticky scroll container — يشتغل على كل الشاشات ── */
.fx-projects-sticky {
  position: relative;
  height: 320vh; /* يحتاج مساحة عمودية للـ scroll-jacking */
}
.fx-projects-track-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden; /* مش overflow-x على الموبايل */
}
.fx-projects-track {
  display: flex;
  align-items: stretch;
  gap: 56px;
  will-change: transform;
  padding-left: 72px;
  padding-right: 72px;
}

/* الـ fades على الجانبين */
.fx-projects-track-wrap::before,
.fx-projects-track-wrap::after {
  content: "";
  position: absolute; top: 0;
  width: 140px; height: 100%;
  z-index: 5; pointer-events: none;
}
.fx-projects-track-wrap::before { left: 0;  background: linear-gradient(to right, var(--fx-bg), rgba(239,237,234,0)); }
.fx-projects-track-wrap::after  { right: 0; background: linear-gradient(to left,  var(--fx-bg), rgba(239,237,234,0)); }

/* Project Cards */
.fx-project-card {
  position: relative;
  flex: 0 0 min(72vw, 920px);
  height: min(72vh, 860px);
  min-height: 640px;
  border-radius: 34px; overflow: hidden;
  background: #151515;
  box-shadow: 0 35px 80px rgba(0,0,0,.22);
  transform: translateY(80px) scale(.97); opacity: 0;
  transition: transform .95s cubic-bezier(.22,1,.36,1), opacity .95s ease, box-shadow .45s ease;
}
.fx-project-card.in-view  { transform: translateY(0) scale(1); opacity: 1; }
.fx-project-card:hover    { box-shadow: 0 42px 100px rgba(0,0,0,.28); }
.fx-project-card.featured { flex-basis: min(76vw, 980px); }

.fx-project-media { position: absolute; inset: 0; }
.fx-project-media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.02); transition: transform .9s ease; }
.fx-project-card:hover .fx-project-media img { transform: scale(1.07); }

.fx-project-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.36) 36%, rgba(0,0,0,.12) 58%, rgba(0,0,0,.18) 100%),
    radial-gradient(circle at 25% 15%, rgba(255,255,255,.16), transparent 28%),
    linear-gradient(135deg, rgba(0,0,0,.18), rgba(0,0,0,.06));
}

.fx-project-content {
  position: absolute; left: 42px; right: 42px; bottom: 34px; z-index: 3;
  color: #fff; transform: translateY(26px); opacity: 0;
  transition: transform .9s cubic-bezier(.22,1,.36,1) .15s, opacity .9s ease .15s;
}
.fx-project-card.in-view .fx-project-content { transform: translateY(0); opacity: 1; }

.fx-project-index {
  display: inline-flex; width: 54px; height: 54px; border-radius: 50%;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,.12); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 14px; font-weight: 800; letter-spacing: .08em; margin-bottom: 18px;
}
.fx-project-content h3 { margin: 0 0 12px; font-size: clamp(22px, 2.4vw, 42px); line-height: 1.08; font-weight: 900; letter-spacing: -.02em; text-transform: uppercase; }
.fx-project-content p  { margin: 0; max-width: 700px; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.8; }

.fx-project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.fx-project-tags span {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}

.fx-project-badge {
  position: absolute; top: 28px; right: 28px; z-index: 4;
  width: 110px; height: 110px; border-radius: 50%;
  background: rgba(33,21,10,.96); color: #fff; text-decoration: none;
  display: flex; align-items: center; justify-content: center;
  text-align: center; font-size: 18px; line-height: 1.05;
  font-weight: 900; letter-spacing: -.02em;
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
  transform: translateY(18px) scale(.92); opacity: 0;
  transition: transform .8s cubic-bezier(.22,1,.36,1) .25s, opacity .8s ease .25s, background .3s ease;
}
.fx-project-card.in-view .fx-project-badge { transform: translateY(0) scale(1); opacity: 1; }
.fx-project-badge:hover { background: #120c06; }

.fx-project-cursor {
  position: fixed; left: 0; top: 0; width: 108px; height: 108px;
  border-radius: 50%; background: rgba(36,23,12,.92); color: #fff;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%) scale(0);
  transition: transform .22s ease, opacity .22s ease;
  opacity: 0; box-shadow: 0 18px 45px rgba(0,0,0,.24); backdrop-filter: blur(6px);
}
.fx-project-cursor span { font-size: 15px; font-weight: 800; letter-spacing: .08em; }
.fx-projects-showcase.cursor-active .fx-project-cursor { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.fx-projects-showcase.dragging     .fx-project-cursor { transform: translate(-50%,-50%) scale(1.08); }


/* ════════════════════════════════════════
   EXTRA SECTIONS (CASE STUDIES, TESTIMONIALS, FAQ)
════════════════════════════════════════ */
.fx-section { position: relative; width: 100%; overflow: hidden; }
.fx-wrap { width: min(1280px, calc(100% - 40px)); margin: 0 auto; }
.fx-kicker { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #222; margin-bottom: 16px; }
.fx-head { margin-bottom: clamp(28px, 5vw, 48px); }
.fx-head-row { display: grid; grid-template-columns: 1.25fr .9fr; gap: 32px; align-items: start; }
.fx-title { margin: 0; color: #0f0f10; font-size: clamp(32px, 7vw, 74px); line-height: .98; letter-spacing: -.03em; font-weight: 900; text-transform: uppercase; }
.fx-title span { color: #b4aba2; font-style: italic; }
.fx-title-light { color: var(--fx-light); }
.fx-desc { margin: 10px 0 0; max-width: 580px; color: #59544f; font-size: 15px; line-height: 1.85; }
.fx-desc-light { color: rgba(244,241,236,.72); }

/* Case Studies */
.fx-case-studies { background: #efebe7; padding: clamp(56px, 10vw, 110px) 0; }
.fx-cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fx-case-card { position: relative; background: #f7f4f1; border: 1px solid rgba(0,0,0,.08); border-radius: 24px; overflow: hidden; box-shadow: var(--fx-shadow); transition: transform .45s ease, box-shadow .45s ease; }
.fx-case-card:hover { transform: translateY(-8px); box-shadow: 0 38px 80px rgba(0,0,0,.18); }
.fx-case-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.fx-case-image img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.01); transition: transform .8s ease; }
.fx-case-card:hover .fx-case-image img { transform: scale(1.06); }
.fx-case-badge { position: absolute; top: 16px; left: 16px; width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center; background: rgba(10,10,10,.78); color: #fff; font-size: 12px; font-weight: 900; letter-spacing: .06em; backdrop-filter: blur(10px); }
.fx-case-content { padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px) 26px; }
.fx-case-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.fx-case-type, .fx-case-year { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #6b645d; }
.fx-case-content h3 { margin: 0 0 12px; font-size: clamp(22px, 3vw, 34px); line-height: 1.1; color: #111; font-weight: 900; letter-spacing: -.02em; }
.fx-case-content p  { margin: 0; color: #5f5953; font-size: 14.5px; line-height: 1.8; }
.fx-case-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,.08); }
.fx-case-meta div    { display: flex; flex-direction: column; gap: 5px; }
.fx-case-meta strong { font-size: clamp(20px, 2.4vw, 28px); line-height: 1; color: #111; font-weight: 900; }
.fx-case-meta span   { font-size: 12px; color: #6d655f; }
.fx-link-arrow { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #111; font-weight: 800; font-size: 14px; }
.fx-link-arrow span { display: inline-block; transition: transform .3s ease; }
.fx-link-arrow:hover span { transform: translate(4px,-4px); }

/* Testimonials */
.fx-testimonials { background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.04), transparent 26%), radial-gradient(circle at 80% 70%, rgba(255,255,255,.03), transparent 28%), var(--fx-bg-dark); padding: clamp(64px, 10vw, 120px) 0; }
.fx-testimonials-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 32px; align-items: start; }
.fx-test-left { position: sticky; top: 110px; }
.fx-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 30px; }
.fx-stat-card { padding: 20px 16px; border-radius: 18px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); }
.fx-stat-card strong { display: block; font-size: clamp(26px, 3vw, 42px); color: var(--fx-light); font-weight: 900; line-height: 1; margin-bottom: 8px; }
.fx-stat-card span   { color: rgba(244,241,236,.65); font-size: 12px; }
.fx-test-right { display: grid; gap: 16px; }
.fx-quote-card { position: relative; padding: clamp(22px, 4vw, 30px) clamp(20px, 4vw, 30px) 26px; border-radius: 22px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(10px); transition: transform .35s ease, border-color .35s ease; }
.fx-quote-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.12); }
.fx-quote-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.fx-quote-number, .fx-quote-company { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(244,241,236,.62); }
.fx-quote-card p { margin: 0; color: var(--fx-light); font-size: clamp(17px, 2.2vw, 22px); line-height: 1.6; letter-spacing: -.01em; font-weight: 600; }
.fx-quote-author { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 4px; }
.fx-quote-author strong { color: var(--fx-light); font-size: 15px; }
.fx-quote-author span   { color: rgba(244,241,236,.6); font-size: 12px; }

/* FAQ */
.fx-faq { background: #efebe7; padding: clamp(56px, 10vw, 110px) 0; }
.fx-faq-list { display: grid; gap: 12px; }
.fx-faq-item { border-radius: 20px; background: #f7f4f1; border: 1px solid rgba(0,0,0,.08); overflow: hidden; transition: transform .35s ease, box-shadow .35s ease; }
.fx-faq-item:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.fx-faq-question { width: 100%; background: transparent; border: 0; outline: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 22px; cursor: pointer; text-align: left; min-height: 56px; -webkit-tap-highlight-color: transparent; }
.fx-faq-question span:first-child { font-size: clamp(17px, 2.4vw, 28px); line-height: 1.2; color: #111; font-weight: 900; letter-spacing: -.02em; }
.fx-faq-icon { position: relative; width: 18px; height: 18px; flex: 0 0 18px; }
.fx-faq-icon::before, .fx-faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; background: #111; transform: translate(-50%,-50%); transition: transform .3s ease, opacity .3s ease; }
.fx-faq-icon::before { width: 18px; height: 2px; }
.fx-faq-icon::after  { width: 2px; height: 18px; }
.fx-faq-item.active .fx-faq-icon::after { opacity: 0; transform: translate(-50%,-50%) scaleY(.3); }
.fx-faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s ease; }
.fx-faq-item.active .fx-faq-answer { grid-template-rows: 1fr; }
.fx-faq-answer p { overflow: hidden; margin: 0; padding: 0 22px 22px; color: #5d5752; font-size: 14.5px; line-height: 1.9; }

/* Reveal */
.fx-reveal { opacity: 0; transform: translateY(50px); transition: opacity .9s cubic-bezier(.2,.65,.2,1), transform .9s cubic-bezier(.2,.65,.2,1); will-change: opacity, transform; }
.fx-reveal.in-view { opacity: 1; transform: translateY(0); }
.fx-delay-1 { transition-delay: .12s; }
.fx-delay-2 { transition-delay: .22s; }
.fx-delay-3 { transition-delay: .32s; }


/* ════════════════════════════════════════
   CTA SECTION
════════════════════════════════════════ */
.frx-footer-cta {
  position: relative; overflow: hidden;
  background: radial-gradient(circle at top right, rgba(255,255,255,.12), transparent 40%), #ff3045;
  padding: clamp(64px, 12vw, 120px) 20px; text-align: center;
}
.frx-footer-cta-content { max-width: 900px; margin: auto; }
.frx-cta-tag { display: inline-block; color: rgba(255,255,255,.8); font-size: 11px; letter-spacing: .16em; font-weight: 800; margin-bottom: 18px; }
.frx-footer-cta h2 { color: #fff; font-size: clamp(34px, 9vw, 90px); line-height: .98; letter-spacing: -.04em; font-weight: 900; margin-bottom: 22px; }
.frx-footer-cta p  { color: rgba(255,255,255,.85); font-size: clamp(14px, 2vw, 18px); line-height: 1.8; max-width: 700px; margin: auto auto 32px; }
.frx-cta-btn { display: inline-flex; align-items: center; justify-content: center; height: 56px; padding: 0 32px; border-radius: 999px; background: #fff; color: #111; text-decoration: none; font-weight: 800; transition: .35s; -webkit-tap-highlight-color: transparent; }
.frx-cta-btn:hover { transform: translateY(-4px); }


/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.frx-footer { background: #05090e; color: #fff; padding: clamp(56px, 10vw, 90px) 0 30px; }
.frx-footer-container { width: min(1280px, calc(100% - 40px)); margin: auto; }
.frx-footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: clamp(32px, 6vw, 55px); border-bottom: 1px solid rgba(255,255,255,.08); flex-wrap: wrap; }
.frx-footer-brand h2 { font-size: clamp(38px, 6vw, 64px); line-height: 1; font-weight: 900; letter-spacing: -2px; margin-bottom: 16px; }
.frx-footer-brand p  { max-width: 520px; color: #8e96a1; line-height: 1.9; font-size: 14.5px; }
.frx-footer-btn { display: inline-flex; align-items: center; justify-content: center; height: 54px; padding: 0 26px; border-radius: 999px; background: #ff3045; color: #fff; text-decoration: none; font-weight: 700; transition: .35s; -webkit-tap-highlight-color: transparent; }
.frx-footer-btn:hover { background: #ff1832; }
.frx-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding: clamp(36px, 6vw, 60px) 0; }
.frx-footer-col h4 { color: #7e8793; margin-bottom: 20px; font-size: 12px; letter-spacing: .14em; font-weight: 800; }
.frx-footer-col a  { display: block; color: #fff; text-decoration: none; margin-bottom: 14px; transition: .3s; padding: 4px 0; }
.frx-footer-col a:hover { color: #ff3045; transform: translateX(4px); }
.frx-footer-bottom { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.08); padding-top: 28px; flex-wrap: wrap; gap: 16px; }
.frx-footer-bottom p { color: #78808b; font-size: 13.5px; }
.frx-footer-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.frx-footer-legal a { color: #78808b; text-decoration: none; font-size: 13.5px; }
.frx-footer-legal a:hover { color: #fff; }


/* ════════════════════════════════════════
   TEXT REVEAL ENGINE (split-text)
════════════════════════════════════════ */
.split-text { overflow: visible; }

.split-line {
  display: inline-block; overflow: hidden;
  position: relative; vertical-align: top;
  padding-bottom: .08em;
}

.split-word {
  display: inline-block;
  transform: translateY(115%) scale(.94);
  opacity: 0; will-change: transform, opacity;
  transition: transform .9s cubic-bezier(.16,1,.3,1), opacity .7s ease;
  transition-delay: var(--d, 0s);
}

.split-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--curtain-color, #ff3045);
  transform-origin: left; transform: scaleX(1); z-index: 3;
  transition: transform .65s cubic-bezier(.76,0,.24,1);
  transition-delay: var(--cd, 0s);
}

.split-text.is-revealed .split-word { transform: translateY(0) scale(1); opacity: 1; }
.split-text.is-revealed .split-line::after { transform: scaleX(0); transform-origin: right; }

/* Light sections get dark curtain */
.services-section .split-line::after,
.process-section .split-line::after,
.fx-case-studies .split-line::after,
.fx-faq .split-line::after,
.fx-projects-showcase .split-line::after { --curtain-color: #111; }


/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   Breakpoints: 1280 / 1200 / 1100 / 1024 / 991 / 900 / 860
                / 820 / 768 / 680 / 640 / 540 / 420 / 360
════════════════════════════════════════════════════════════ */

@media (max-width: 1280px) {
  .frx-why-v2__container { width: min(100%, calc(100% - 60px)); grid-template-columns: 420px 1fr; column-gap: 48px; }
  .frx-why-v2__content { margin-top: 150px; }
  .frx-why-v2__pro { font-size: clamp(170px, 18vw, 260px); }
}

@media (max-width: 1200px) {
  .fb-stats { grid-template-columns: 1fr 1fr; }
  .fb-stat:nth-child(2) { border-right: none; }
  .fb-stat:last-child { grid-column: 1 / -1; justify-content: flex-start; padding-left: 0; padding-top: 10px; padding-bottom: 20px; }
  .fb-trusted { text-align: left; }
  .fx-head-row, .fx-testimonials-grid { grid-template-columns: 1fr; }
  .fx-test-left { position: relative; top: 0; }
  .fx-projects-title-wrap { grid-template-columns: 1fr; gap: 18px; }
  /* Projects cards size on medium screens */
  .fx-project-card, .fx-project-card.featured { flex-basis: min(80vw, 860px); min-height: 580px; }
}

@media (max-width: 1100px) {
  .top { flex-direction: column; gap: 24px; }
  .right-text { width: 100%; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .process-wrap { grid-template-columns: 1fr; gap: 48px; }
  .process-left { max-width: 100%; }
  .frx-why-grid { grid-template-columns: 1fr; }
  .frx-why-card { min-height: unset; }
  .frx-why-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 1024px) {
  .frx-why-v2__container { grid-template-columns: 1fr; gap: 30px; }
  .frx-why-v2__right { min-height: auto; }
  .frx-why-v2__pro { top: 0; right: 0; font-size: clamp(130px, 22vw, 220px); }
  .frx-why-v2__content { margin-top: 110px; max-width: 100%; }
}

/* ══ Tablet / Mobile nav ══ */
@media (max-width: 991px) {
  .fb-nav { padding: 0 20px; }
  .fb-nav-links { display: none; }
  .fb-nav-divider { display: none; }
  .fb-hamburger { display: flex; }
  .fb-nav-sep { display: none; }

  /* Projects: تقليل الـ gap والـ padding على التابلت */
  .fx-projects-showcase { padding-top: 60px; }
  .fx-projects-track { gap: 28px; padding-left: 28px; padding-right: 28px; }
  .fx-projects-track-wrap::before { width: 40px; }
  .fx-projects-track-wrap::after  { width: 40px; }

  /* كروت أصغر شوية على التابلت لكن نفس المفهوم */
  .fx-project-card, .fx-project-card.featured {
    flex: 0 0 min(86vw, 720px);
    height: min(74vh, 720px);
    min-height: 520px;
    border-radius: 28px;
  }
  .fx-project-content { left: 28px; right: 28px; bottom: 24px; }
  .fx-project-badge { width: 90px; height: 90px; top: 20px; right: 20px; font-size: 14px; }
  /* الـ custom cursor مش ضروري على touch */
  .fx-project-cursor { display: none; }
}

@media (max-width: 900px) {
  .fx-wrap { width: min(100% - 28px, 1280px); }
  .fx-case-studies, .fx-testimonials, .fx-faq { padding: 72px 0; }
  .fx-cases-grid { grid-template-columns: 1fr; }
  .fx-stats-row, .fx-case-meta { grid-template-columns: 1fr; gap: 10px; }
  .fx-quote-card p { font-size: 17px; }
}

@media (max-width: 860px) {
  .fb-hero-inner, .fb-stats { width: min(100%, calc(100% - 28px)); }
  .fb-actions { flex-direction: column; width: 100%; }
  .fb-btn-primary, .fb-btn-secondary { width: 100%; }
  .fb-stats { grid-template-columns: 1fr; }
  .fb-stat { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,.07); padding-left: 0; }
  .fb-stat:last-child { border-bottom: none; }
  .fb-hero-mockup { margin-top: 36px; }
}

@media (max-width: 820px) {
  .frx-why-v2 { padding: 64px 0 70px; }
  .frx-why-v2__container { width: min(100%, calc(100% - 24px)); gap: 26px; }
  .frx-why-v2__title { font-size: clamp(32px, 11vw, 48px); max-width: 100%; }
  .frx-why-v2__pro { font-size: clamp(80px, 24vw, 140px); top: 6px; opacity: .85; }
  .frx-why-v2__content { margin-top: 76px; }
  .frx-why-v2__heading { font-size: 20px; margin-bottom: 14px; }
  .frx-why-v2__row { grid-template-columns: 48px 1fr; gap: 10px 14px; align-items: start; min-height: auto; padding: 16px 0; }
  .frx-why-v2__num  { grid-row: 1 / span 2; font-size: 17px; }
  .frx-why-v2__head { grid-column: 2/3; font-size: 14px; }
  .frx-why-v2__text { grid-column: 2/3; max-width: 100%; font-size: 12.5px; line-height: 1.45; }
}

@media (max-width: 768px) {
  .frx-why-advanced { padding: 70px 0; }
  .frx-why-wrap { width: min(100% - 20px, 1280px); }
  .frx-why-shell { border-radius: 24px; padding: 30px 16px 20px; }
  .frx-cut { width: 60px; height: 30px; }
  .frx-cut-left  { left: 26px;  border-bottom-right-radius: 18px; box-shadow:  8px 8px 0 0 #0d1016; }
  .frx-cut-right { right: 26px; border-bottom-left-radius:  18px; box-shadow: -8px 8px 0 0 #0d1016; }
  .frx-why-btn { width: 100%; justify-content: center; }
  .process-step { grid-template-columns: 60px 1fr; gap: 14px; padding: 0 0 20px; margin: 0 0 20px; }
  .process-btn { width: 100%; justify-content: center; }
  .frx-footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .frx-footer-btn { width: 100%; justify-content: center; }
  .frx-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .frx-footer-container { width: min(100% - 24px, 1280px); }
  .frx-footer-bottom { flex-direction: column; gap: 18px; text-align: center; }
  .frx-footer-legal { justify-content: center; }
  .frx-cta-btn { width: 100%; max-width: 320px; }
}

@media (max-width: 680px) {
  .cards-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .columns { grid-template-columns: 1fr; gap: 0; }
  .wordpress { width: 46px; height: 46px; font-size: 22px; top: 16px; right: 16px; }
  .badge { top: -14px; font-size: 10px; padding: 7px 14px; }
}

@media (max-width: 640px) {
  .fx-faq-question { padding: 18px 18px; }
  .fx-faq-answer p { padding: 0 18px 18px; }
  .fx-case-top { flex-direction: column; align-items: flex-start; gap: 6px; }
  .fx-quote-card { padding: 20px 18px 22px; }
  /* Projects cards on small phones */
  .fx-project-card, .fx-project-card.featured {
    flex: 0 0 90vw;
    height: 68vh;
    min-height: 440px;
    border-radius: 22px;
  }
  .fx-project-content { left: 18px; right: 18px; bottom: 18px; }
  .fx-project-content h3 { font-size: 20px; }
  .fx-project-tags span { min-height: 32px; padding: 0 12px; font-size: 10.5px; }
  .frx-footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
  /* فاضي padding على فيديو اقل */
  .fx-projects-track { gap: 18px; padding-left: 16px; padding-right: 16px; }
  .fx-projects-track-wrap::before,
  .fx-projects-track-wrap::after { display: none; }
}

/* ── Phones ── */
@media (max-width: 540px) {
  .fb-nav { height: 64px; padding: 0 16px; }
  .fb-logo { font-size: 24px; }
  .fb-nav-cta { display: none; }

  .fb-hero { min-height: calc(100vh - 64px); }
  .fb-hero-inner { padding: 52px 0 36px; }
  .fb-eyebrow { margin-bottom: 16px; }
  .fb-title { letter-spacing: -.03em; }
  .fb-pill { height: 34px; padding: 0 14px; font-size: 12.5px; }
  .fb-hero-mockup img { border-radius: 16px; }

  .service-card { padding: 20px; min-height: auto; }
  .number { margin-bottom: 4px; }
  .arrow { width: 40px; height: 40px; font-size: 17px; bottom: 18px; right: 18px; }
  .bottom-dark { flex-direction: column; align-items: flex-start; gap: 14px; }
  .bottom-dark button { align-self: flex-end; }

  .process-right::before { left: 30px; }
  .step-num { font-size: 38px; }

  .frx-why-shell { padding: 26px 14px 18px; }
  .frx-why-grid { gap: 14px; }
  .frx-why-card { padding: 20px 18px 22px; }

  .frx-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .frx-footer-brand h2 { font-size: 34px; }

  .fx-case-meta { grid-template-columns: 1fr 1fr; gap: 14px 10px; }
  .fx-case-meta div:last-child { grid-column: 1 / -1; }

  .fx-stats-row { grid-template-columns: 1fr 1fr; }
  .fx-stat-card:last-child { grid-column: 1 / -1; }

  /* Projects on small phones */
  .fx-project-card, .fx-project-card.featured {
    flex: 0 0 92vw;
    height: 66vh;
    min-height: 400px;
    border-radius: 20px;
  }
  .fx-project-badge { width: 76px; height: 76px; font-size: 12px; }
  .fx-project-index { width: 44px; height: 44px; font-size: 12px; margin-bottom: 12px; }
}

@media (max-width: 420px) {
  .container { width: 94%; }
  .fb-hero-inner, .fb-stats, .frx-why-wrap, .fx-wrap, .frx-footer-container { width: min(100%, calc(100% - 20px)); }
  .left-title h2 { letter-spacing: -.025em; }
  .fb-btn-primary, .fb-btn-secondary { height: 50px; font-size: 14.5px; }
  .frx-footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .frx-footer-col a { margin-bottom: 12px; }
  .fx-case-meta { grid-template-columns: 1fr 1fr; }
  .fx-quote-card p { font-size: 16px; }
  .fx-project-card, .fx-project-card.featured {
    flex: 0 0 94vw;
    height: 64vh;
    min-height: 380px;
    border-radius: 18px;
  }
  .fx-project-content { left: 16px; right: 16px; bottom: 16px; }
  .frx-footer-cta { padding: 56px 16px; }
  .frx-cut { display: none; }
}

@media (max-width: 360px) {
  .fb-logo { font-size: 21px; }
  .fb-pills { gap: 8px; }
  .fb-pill { height: 32px; padding: 0 12px; font-size: 12px; }
  .number { font-size: 30px; }
  .service-card h3 { font-size: 21px; }
  .stat h4 { font-size: 26px; }
  .frx-why-v2__pro { display: none; }
  .fx-project-card, .fx-project-card.featured {
    flex: 0 0 96vw;
    height: 62vh;
    min-height: 360px;
  }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── Touch devices: تسريع الـ transitions ── */
@media (hover: none) and (pointer: coarse) {
  .service-card, .stat, .fx-reveal, .reveal-up, .reveal-left,
  .reveal-stagger, .reveal-up-delay, .frx-why-card, .fx-project-card {
    transition-duration: .5s !important;
  }
}

/* ── Safe-area padding (notch / home indicator) ── */
@supports (padding: max(0px)) {
  .fb-nav {
    padding-left:  max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .frx-footer { padding-bottom: max(30px, env(safe-area-inset-bottom)); }
}

/* ── Horizontal overflow lock ── */
@media (max-width: 540px) {
  html, body { max-width: 100vw; }
  .fb-page, .services-section, .process-section, .frx-why-advanced,
  .frx-why-v2, .fx-case-studies, .fx-testimonials, .fx-faq, .frx-footer {
    overflow-x: hidden;
  }
}

@media (min-width: 992px) {
  .fb-hamburger { display: none; }
}


#curtain{position:fixed;inset:0;background:var(--black);z-index:9999;display:flex;align-items:center;justify-content:center;animation:curtainOut 1s var(--transition) 0.3s forwards}
#curtain .logo-splash{color:#fff;font-size:36px;font-weight:900;letter-spacing:-1px;opacity:0;animation:fadeInSplash 0.4s ease 0.1s forwards}
#curtain .logo-splash span{color:var(--red)}
@keyframes curtainOut{0%,60%{transform:scaleY(1);opacity:1}100%{transform:scaleY(0);opacity:0;pointer-events:none}}
@keyframes fadeInSplash{to{opacity:1}}

.page-transition{position:fixed;inset:0;background:var(--black);z-index:9998;transform:scaleY(0);transform-origin:top;pointer-events:none;transition:transform 0.6s var(--transition)}
.page-transition.entering{transform:scaleY(1)}
