/* ============================================================
   FamousTech — Brand Styles
   Palette extracted from brand image:
   - Royal Blue (primary):  #1F4788
   - Deep Navy:             #163566
   - Darker Navy:           #0E2449
   - Silver Sheen:          #DCE4F0 → #F5F8FC → #B8C7DD
   ============================================================ */

:root {
  --brand-500: #1F4788;
  --brand-600: #1A3C73;
  --brand-700: #163566;
  --brand-800: #0E2449;
  --brand-900: #081732;
  --brand-400: #2E5CA8;
  --brand-300: #5078BE;

  --silver-50:  #F8FAFD;
  --silver-100: #F0F4FA;
  --silver-200: #DCE4F0;
  --silver-300: #C3D0E3;
  --silver-400: #9FB1CC;
  --silver-500: #7A8FB0;
  --silver-600: #5A6F8E;

  --ink-900: #0A1628;
  --ink-800: #0F1E35;
  --ink-700: #1A2B47;
  --ink-600: #2E4160;
  --ink-500: #4A5F7E;
  --ink-400: #6B7F9C;
  --ink-300: #96A6BE;

  --white: #FFFFFF;
  --bg:    #FFFFFF;
  --bg-tint: #F6F9FD;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(14, 36, 73, 0.08), 0 1px 2px rgba(14, 36, 73, 0.04);
  --shadow:    0 4px 12px rgba(14, 36, 73, 0.08), 0 2px 4px rgba(14, 36, 73, 0.04);
  --shadow-lg: 0 20px 50px -12px rgba(14, 36, 73, 0.18), 0 8px 16px -8px rgba(14, 36, 73, 0.1);
  --shadow-xl: 0 32px 80px -20px rgba(14, 36, 73, 0.28), 0 12px 24px -12px rgba(14, 36, 73, 0.14);
  --shadow-brand: 0 20px 45px -15px rgba(31, 71, 136, 0.45);

  --gradient-brand: linear-gradient(135deg, #2E5CA8 0%, #1F4788 50%, #163566 100%);
  --gradient-silver: linear-gradient(135deg, #DCE4F0 0%, #F5F8FC 45%, #B8C7DD 100%);
  --gradient-dark: linear-gradient(140deg, #0E2449 0%, #163566 55%, #1F4788 120%);

  --font-ar: 'IBM Plex Sans Arabic', 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-en: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;

  --dur: 320ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-ar);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-800);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
html[lang="en"] body { font-family: var(--font-en); }

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; transition: color var(--dur) var(--ease); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ------------------------------------------------------------
   Background decorative shapes
   ------------------------------------------------------------ */
.bg-shapes {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
}
.shape {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35;
}
.shape-1 { width: 600px; height: 600px; background: var(--brand-400); top: -200px; right: -200px; opacity: 0.08; }
.shape-2 { width: 500px; height: 500px; background: var(--silver-300); bottom: -150px; left: -100px; opacity: 0.4; }
.shape-3 { width: 400px; height: 400px; background: var(--brand-500); top: 40%; right: 10%; opacity: 0.05; }
html[dir="rtl"] .shape-1 { right: auto; left: -200px; }
html[dir="rtl"] .shape-2 { left: auto; right: -100px; }
html[dir="rtl"] .shape-3 { right: auto; left: 10%; }

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(31, 71, 136, 0.08);
  transition: box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1px 24px rgba(14, 36, 73, 0.08);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(31, 71, 136, 0.25));
}
.brand-text { display: flex; flex-direction: column; line-height: 1; gap: 3px; }
.brand-name {
  font-family: var(--font-display); font-weight: 900; font-size: 18px;
  color: var(--brand-700); letter-spacing: 0.02em;
  display: inline-flex; gap: 4px;
  direction: ltr; unicode-bidi: isolate;
}
.brand-name span { color: var(--brand-500); font-weight: 900; }
html[dir="rtl"] .brand-text { align-items: flex-end; }
.brand-sub {
  font-size: 9.5px; font-weight: 600;
  color: var(--ink-400); letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-brand .brand-mark { filter: none; }
.footer-brand .brand-name { color: white; }
.footer-brand .brand-name span { color: var(--silver-300); }
.footer-brand .brand-sub { color: var(--silver-400); }

.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-700);
  position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--brand-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: center;
  transition: transform var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--brand-600); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  background: transparent; border: 1px solid rgba(31, 71, 136, 0.15);
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  font-size: 13px; font-weight: 600; color: var(--brand-700);
  transition: all var(--dur) var(--ease);
}
.lang-toggle:hover { background: var(--brand-500); color: white; border-color: var(--brand-500); }

.menu-btn {
  display: none; background: transparent; border: none; cursor: pointer;
  width: 40px; height: 40px; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.menu-btn span {
  width: 22px; height: 2px; background: var(--brand-700); border-radius: 2px;
  transition: all var(--dur) var(--ease);
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 12px;
  font-size: 15px; font-weight: 600; cursor: pointer; border: none;
  transition: all var(--dur) var(--ease);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--gradient-brand); color: white;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 24px 50px -15px rgba(31, 71, 136, 0.55); }
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent 60%);
  opacity: 0; transition: opacity var(--dur) var(--ease);
}
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  background: var(--silver-100); color: var(--brand-700);
  border: 1px solid var(--silver-200);
}
.btn-ghost:hover { background: var(--silver-200); border-color: var(--silver-300); }

.btn-outline {
  background: transparent; color: var(--brand-700);
  border: 1.5px solid var(--brand-500);
}
.btn-outline:hover { background: var(--brand-500); color: white; }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  padding: 72px 0 0;
  position: relative;
}
.hero-inner {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 64px; align-items: center; min-height: calc(100vh - 76px - 80px);
  padding: 32px 0 80px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(31, 71, 136, 0.08);
  border: 1px solid rgba(31, 71, 136, 0.12);
  font-size: 13px; font-weight: 600; color: var(--brand-700);
  margin-bottom: 24px;
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-500); box-shadow: 0 0 0 4px rgba(31, 71, 136, 0.15);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(31, 71, 136, 0.15); }
  50% { box-shadow: 0 0 0 8px rgba(31, 71, 136, 0.05); }
}

.hero-title {
  font-family: var(--font-ar);
  font-size: clamp(36px, 5.6vw, 68px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink-900);
  margin-bottom: 24px;
}
html[lang="en"] .hero-title { font-family: var(--font-display); }
.hero-title span { display: block; }
.title-accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 18px; line-height: 1.75; color: var(--ink-500);
  max-width: 560px; margin-bottom: 36px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 56px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--silver-200);
  max-width: 500px;
}
.stat-num {
  font-family: var(--font-display); font-size: 32px; font-weight: 700;
  color: var(--brand-600); letter-spacing: -0.02em;
}
.stat-label { font-size: 13px; color: var(--ink-400); margin-top: 2px; }

/* Hero Visual (dashboard mockup) */
.hero-visual {
  position: relative;
  perspective: 1500px;
}
.hv-card {
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(31, 71, 136, 0.08);
}
.hv-card-main {
  padding: 20px; width: 100%;
  transform: rotate(-1.5deg);
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50% { transform: rotate(-1.5deg) translateY(-12px); }
}
.hv-header {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 14px; border-bottom: 1px solid var(--silver-100);
  margin-bottom: 16px;
}
.hv-dots { display: flex; gap: 5px; }
.hv-dots span {
  width: 10px; height: 10px; border-radius: 50%; background: var(--silver-200);
}
.hv-dots span:first-child { background: #FF5F57; }
.hv-dots span:nth-child(2) { background: #FEBC2E; }
.hv-dots span:nth-child(3) { background: #28C840; }
.hv-title { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ink-600); margin-left: auto; }
html[dir="rtl"] .hv-title { margin-left: 0; margin-right: auto; }

.hv-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(34, 197, 94, 0.1); color: #15803D;
  font-size: 12px; font-weight: 600; margin-bottom: 14px;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22C55E;
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hv-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px;
}
.hv-tile {
  aspect-ratio: 16/10; border-radius: 10px;
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 10px; font-size: 11px; font-weight: 600; color: white;
  position: relative; overflow: hidden;
}
.hv-tile::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6));
}
.hv-tile span { position: relative; z-index: 1; display: flex; align-items: center; gap: 5px; }
.hv-tile .rec {
  width: 6px; height: 6px; border-radius: 50%; background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
.hv-tile-1 { background: linear-gradient(135deg, #1F4788, #0E2449); }
.hv-tile-2 { background: linear-gradient(135deg, #2E5CA8, #163566); }
.hv-tile-3 { background: linear-gradient(135deg, #163566, #1F4788); }
.hv-tile-4 { background: linear-gradient(135deg, #0E2449, #2E5CA8); }

.hv-bars { display: flex; flex-direction: column; gap: 10px; }
.hv-bar-row {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--ink-500); font-weight: 500;
}
.hv-bar-row span { min-width: 60px; }
.hv-bar-row .bar {
  flex: 1; height: 6px; background: var(--silver-100); border-radius: 3px; overflow: hidden;
}
.hv-bar-row .bar i {
  display: block; height: 100%; background: var(--gradient-brand); border-radius: 3px;
}

.hv-card-float {
  position: absolute; padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
}
.hv-float-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(34, 197, 94, 0.1); color: #16A34A;
  display: grid; place-items: center;
}
.hv-float-icon.icon-blue { background: rgba(31, 71, 136, 0.1); color: var(--brand-600); }
.hv-float-label { font-size: 13px; font-weight: 600; color: var(--ink-800); }
.hv-float-time { font-size: 11px; color: var(--ink-400); }

.hv-float-1 { top: -20px; right: -30px; animation: floatY 5s ease-in-out infinite 0.5s; }
.hv-float-2 { bottom: 30px; left: -40px; animation: floatY 7s ease-in-out infinite 1s; }
html[dir="rtl"] .hv-float-1 { right: auto; left: -30px; }
html[dir="rtl"] .hv-float-2 { left: auto; right: -40px; }

/* Trust strip */
.trust-strip {
  border-top: 1px solid var(--silver-200);
  padding: 28px 0;
  background: linear-gradient(180deg, transparent, var(--silver-50));
}
.trust-inner {
  display: flex; align-items: center; gap: 32px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 12px; font-weight: 600; color: var(--ink-400);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.trust-logos {
  display: flex; align-items: center; gap: 36px;
  flex-wrap: wrap; flex: 1;
}
.trust-logos span {
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--ink-400); letter-spacing: 0.05em;
  transition: color var(--dur) var(--ease);
}
.trust-logos span:hover { color: var(--brand-600); }

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
.section { padding: 110px 0; position: relative; }
.section-tint { background: var(--silver-50); }
.section-dark {
  background: var(--gradient-dark); color: white; position: relative; overflow: hidden;
}
.section-dark::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 50%;
  background: radial-gradient(circle at center, rgba(46, 92, 168, 0.4), transparent 70%);
}
html[dir="rtl"] .section-dark::before { right: auto; left: 0; }

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow-light { background: white; border-color: var(--silver-200); }

.section-title {
  font-family: var(--font-ar); font-weight: 800;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15; letter-spacing: -0.02em;
  color: var(--ink-900); margin-bottom: 16px;
}
html[lang="en"] .section-title { font-family: var(--font-display); }
.section-title.light { color: white; }
.section-sub {
  font-size: 17px; color: var(--ink-500); line-height: 1.7;
}
.section-dark .section-sub { color: var(--silver-200); }

/* ------------------------------------------------------------
   Services grid
   ------------------------------------------------------------ */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.service-card {
  position: relative;
  background: white; border: 1px solid var(--silver-200);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: all var(--dur) var(--ease);
  overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-brand); opacity: 0;
  transition: opacity var(--dur) var(--ease);
  z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover h3,
.service-card:hover p,
.service-card:hover .service-list li { color: white; }
.service-card:hover .service-icon {
  background: rgba(255, 255, 255, 0.15); color: white;
}
.service-card:hover .service-list li::before { background: white; }

.service-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--silver-100); color: var(--brand-600);
  display: grid; place-items: center;
  margin-bottom: 20px;
  transition: all var(--dur) var(--ease);
}
.service-card h3 {
  font-family: var(--font-display); font-size: 20px; font-weight: 700;
  color: var(--ink-900); margin-bottom: 12px;
  transition: color var(--dur) var(--ease);
}
html[lang="ar"] .service-card h3 { font-family: var(--font-ar); }
.service-card p {
  color: var(--ink-500); font-size: 14.5px; line-height: 1.65;
  margin-bottom: 16px;
  transition: color var(--dur) var(--ease);
}
.service-list { display: flex; flex-direction: column; gap: 6px; }
.service-list li {
  font-size: 13.5px; color: var(--ink-600); display: flex; align-items: center; gap: 8px;
  transition: color var(--dur) var(--ease);
}
.service-list li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand-500); flex-shrink: 0;
  transition: background var(--dur) var(--ease);
}

.service-card-feature { border-color: var(--brand-500); box-shadow: var(--shadow-brand); }
.badge {
  position: absolute; top: 20px;
  background: var(--gradient-silver); color: var(--brand-700);
  padding: 4px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  z-index: 2;
}
html[dir="ltr"] .badge { right: 20px; }
html[dir="rtl"] .badge { left: 20px; }

/* Mini cards */
.services-mini {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 32px;
}
.mini-card {
  background: white; border: 1px solid var(--silver-200);
  border-radius: var(--radius); padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
  color: var(--ink-700); font-size: 14.5px; font-weight: 500;
  transition: all var(--dur) var(--ease);
}
.mini-card svg { color: var(--brand-500); flex-shrink: 0; }
.mini-card:hover {
  border-color: var(--brand-500);
  background: var(--silver-50);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------
   About
   ------------------------------------------------------------ */
.about-grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 72px; align-items: center;
  position: relative; z-index: 1;
}
.section-dark .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15); color: var(--silver-100);
}
.section-dark .eyebrow .dot { background: var(--silver-200); box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1); }

.about-lead {
  font-size: 18px; color: var(--silver-200); line-height: 1.75;
  margin: 24px 0 36px;
}

.vm-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.vm-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius); padding: 24px;
}
.vm-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient-silver); color: var(--brand-700);
  display: grid; place-items: center; margin-bottom: 16px;
}
.vm-card h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  color: white; margin-bottom: 8px;
}
html[lang="ar"] .vm-card h4 { font-family: var(--font-ar); }
.vm-card p { color: var(--silver-300); font-size: 14px; line-height: 1.65; }

.about-visual { position: relative; }
.feature-list { display: flex; flex-direction: column; gap: 18px; }
.feature-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius); padding: 20px 22px;
  transition: all var(--dur) var(--ease);
}
.feature-item:hover {
  background: rgba(255, 255, 255, 0.07);
  transform: translateX(-4px);
}
html[dir="rtl"] .feature-item:hover { transform: translateX(4px); }
.feature-check {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gradient-silver); color: var(--brand-700);
  display: grid; place-items: center; flex-shrink: 0;
}
.feature-item h5 {
  font-size: 16px; font-weight: 700; color: white; margin-bottom: 4px;
}
.feature-item p { color: var(--silver-300); font-size: 13.5px; }

/* ------------------------------------------------------------
   Process
   ------------------------------------------------------------ */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.process-step {
  position: relative; padding: 32px 24px;
  background: white; border: 1px solid var(--silver-200);
  border-radius: var(--radius-lg);
  transition: all var(--dur) var(--ease);
}
.process-step:hover {
  border-color: var(--brand-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.step-num {
  font-family: var(--font-display); font-size: 44px; font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1; margin-bottom: 20px;
  letter-spacing: -0.03em;
}
.process-step h4 {
  font-size: 17px; font-weight: 700; color: var(--ink-900); margin-bottom: 10px;
}
.process-step p { font-size: 14px; color: var(--ink-500); line-height: 1.65; }

/* ------------------------------------------------------------
   Partners
   ------------------------------------------------------------ */
.partners-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.partner-logo {
  background: white; border: 1px solid var(--silver-200);
  border-radius: var(--radius); padding: 32px 24px;
  text-align: center;
  transition: all var(--dur) var(--ease);
  position: relative; overflow: hidden;
}
.partner-logo::before {
  content: ''; position: absolute; inset: 0;
  background: var(--gradient-silver); opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.partner-logo > * { position: relative; z-index: 1; }
.partner-logo:hover {
  border-color: var(--brand-500); transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.partner-logo:hover::before { opacity: 0.4; }
.partner-logo span {
  display: block;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  color: var(--brand-700); letter-spacing: 0.05em; margin-bottom: 4px;
}
.partner-logo em {
  display: block; font-style: normal; font-size: 12px;
  color: var(--ink-400); font-weight: 500;
}

/* ------------------------------------------------------------
   CTA box
   ------------------------------------------------------------ */
.section-cta { padding: 60px 0; }
.cta-box {
  background: var(--gradient-dark); color: white;
  border-radius: var(--radius-xl); padding: 56px 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.cta-shape {
  position: absolute; width: 400px; height: 400px;
  background: var(--brand-400); border-radius: 50%;
  filter: blur(100px); opacity: 0.4;
  top: -100px;
}
html[dir="ltr"] .cta-shape { right: -100px; }
html[dir="rtl"] .cta-shape { left: -100px; }
.cta-content { position: relative; z-index: 1; }
.cta-box h2 {
  font-family: var(--font-ar); font-size: clamp(24px, 3vw, 36px);
  font-weight: 800; margin-bottom: 10px; line-height: 1.2;
  letter-spacing: -0.02em;
}
html[lang="en"] .cta-box h2 { font-family: var(--font-display); }
.cta-box p { color: var(--silver-200); font-size: 17px; }
.cta-actions {
  display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1;
}
.section-cta .btn-outline {
  color: white; border-color: rgba(255, 255, 255, 0.3);
}
.section-cta .btn-outline:hover { background: white; color: var(--brand-700); border-color: white; }

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
}
.contact-cards {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px;
}
.contact-card {
  background: white; border: 1px solid var(--silver-200);
  border-radius: var(--radius); padding: 18px;
  display: flex; align-items: center; gap: 14px;
  transition: all var(--dur) var(--ease);
}
.contact-card:not(.contact-card-static):hover {
  border-color: var(--brand-500); transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.cc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--silver-100); color: var(--brand-600);
  display: grid; place-items: center; flex-shrink: 0;
}
.cc-label { font-size: 12px; color: var(--ink-400); font-weight: 500; }
.cc-value { font-size: 15px; font-weight: 600; color: var(--ink-800); margin-top: 2px; }

.contact-form {
  background: white; border: 1px solid var(--silver-200);
  border-radius: var(--radius-lg); padding: 36px;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--ink-900); margin-bottom: 6px;
}
html[lang="ar"] .contact-form h3 { font-family: var(--font-ar); }
.form-sub { color: var(--ink-500); font-size: 14px; margin-bottom: 24px; }

.form-field { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-field label {
  display: block; font-size: 13px; font-weight: 600; color: var(--ink-700);
  margin-bottom: 6px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%; padding: 12px 14px;
  background: var(--silver-50);
  border: 1px solid var(--silver-200);
  border-radius: 10px; font-size: 14.5px; color: var(--ink-900);
  transition: all var(--dur) var(--ease);
  font-family: inherit;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none; border-color: var(--brand-500);
  background: white;
  box-shadow: 0 0 0 4px rgba(31, 71, 136, 0.1);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.contact-form .btn { margin-top: 8px; }

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footer {
  background: var(--brand-900); color: var(--silver-300);
  padding-top: 72px;
}
.footer-inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .brand-name,
.footer-brand .brand-sub { color: white; }
.footer-brand .brand-sub { color: var(--silver-400); }
.footer-brand p {
  color: var(--silver-400); margin-top: 16px;
  font-size: 14px; line-height: 1.7; max-width: 320px;
}
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h5 {
  color: white; font-size: 14px; font-weight: 700; margin-bottom: 8px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.footer-col a, .footer-col span {
  color: var(--silver-400); font-size: 14px;
  transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: var(--silver-100); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  color: var(--silver-500); font-size: 13px;
}
.footer-sa { display: inline-flex; align-items: center; gap: 8px; }

/* ------------------------------------------------------------
   Floating WhatsApp
   ------------------------------------------------------------ */
.float-wa {
  position: fixed; bottom: 24px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: white;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  animation: floatY 3s ease-in-out infinite;
  transition: transform var(--dur) var(--ease);
}
html[dir="ltr"] .float-wa { right: 24px; }
html[dir="rtl"] .float-wa { left: 24px; }
.float-wa:hover { transform: scale(1.1); }

/* ------------------------------------------------------------
   Scroll reveal
   ------------------------------------------------------------ */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; margin-inline: auto; }
  .services-grid, .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .services-mini { grid-template-columns: repeat(2, 1fr); }
  .cta-box { flex-direction: column; text-align: center; padding: 40px 32px; }
  .cta-actions { justify-content: center; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .menu-btn { display: flex; }
  .nav-actions .lang-toggle { display: none; }
  .nav.menu-open .nav-links {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: white; padding: 20px;
    box-shadow: 0 20px 40px rgba(14, 36, 73, 0.15);
    border-bottom: 1px solid var(--silver-200);
  }
  .nav.menu-open .nav-links a {
    padding: 14px 8px; border-bottom: 1px solid var(--silver-100);
  }
  .nav.menu-open .nav-links a:last-child { border-bottom: none; }
  .nav.menu-open .nav-links a::after { display: none; }

  .section { padding: 72px 0; }
  .services-grid, .partners-grid, .process-grid, .services-mini,
  .contact-cards, .form-row, .vm-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .stat-num { font-size: 24px; }
  .cta-box { padding: 32px 24px; border-radius: var(--radius-lg); }
  .contact-form { padding: 24px; }
  .hv-card-main { padding: 16px; }
  .hv-float-1, .hv-float-2 { display: none; }
}

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