/* ============ FOUNDERS GATEWAY, DESIGN SYSTEM ============ */
:root {
  --bg: #07091a;
  --bg-2: #0c1230;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f7ff;
  --text-muted: #9aa3c7;
  --text-dim: #6a7299;
  --gold: #e6b980;
  --gold-2: #f7d9a8;
  --blue: #5b8cff;
  --blue-2: #8fb0ff;
  --gradient-accent: linear-gradient(135deg, #e6b980 0%, #5b8cff 100%);
  --gradient-text: linear-gradient(135deg, #ffffff 0%, #c9d3ff 60%, #e6b980 100%);
  --shadow-glow: 0 0 60px rgba(91, 140, 255, 0.25);
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Cairo', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ===== Animated Background Layers ===== */
#bg-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  z-index: -2;
  background:
    radial-gradient(1200px 800px at 80% -10%, rgba(91, 140, 255, 0.18), transparent 60%),
    radial-gradient(900px 700px at -10% 110%, rgba(230, 185, 128, 0.14), transparent 60%),
    linear-gradient(180deg, #07091a 0%, #050714 100%);
}
#bg-orbs {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  z-index: -1; pointer-events: none; overflow: hidden;
}
.orb {
  position: absolute;
  width: 520px; height: 520px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: orbDrift 22s ease-in-out infinite;
}
.orb.gold { background: #e6b980; top: -120px; right: -100px; animation-delay: -4s; }
.orb.blue { background: #5b8cff; bottom: -160px; left: -120px; animation-delay: -10s; }
.orb.violet { background: #8b5cf6; top: 40%; left: 60%; opacity: 0.18; animation-delay: -16s; }
@keyframes orbDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(60px, -40px) scale(1.1); }
}

/* ===== Layout ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 56px 0; }

/* ===== Navigation ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 100;
  display: flex; align-items: center;
  background: rgba(7, 9, 26, 0.6);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s var(--ease);
}
.nav.scrolled { background: rgba(7, 9, 26, 0.85); }
.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--text); font-weight: 600;
}
.brand img { height: 56px; width: auto; display: block; }
.brand-name { display: none; }
.nav-links {
  display: flex; gap: 6px; list-style: none; align-items: center;
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--gold); }
/* Buttons inside nav must keep their own color (specificity fix) */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #07091a; background: var(--gradient-accent); }
.nav-cta-wrap { display: flex; align-items: center; gap: 12px; }
.lang-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12.5px; font-weight: 600;
  padding: 6px 10px; border-radius: 8px;
  cursor: pointer; letter-spacing: 0.5px;
  transition: all 0.2s;
}
.lang-toggle:hover { color: var(--text); border-color: var(--border-strong); }
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 12px;
  flex-direction: column; gap: 5px;
}
.hamburger span {
  width: 24px; height: 2px; background: var(--text);
  transition: transform 0.3s, opacity 0.3s;
  display: block;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 15px; font-weight: 600;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  font-family: inherit;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.25), transparent 40%);
  opacity: 0; transition: opacity 0.3s;
}
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: var(--gradient-accent);
  color: #07091a;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(255,255,255,0.18);
  box-shadow: 0 10px 30px -10px rgba(230, 185, 128, 0.5), 0 0 0 1px rgba(255,255,255,0.08) inset;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(230, 185, 128, 0.6); }
/* Compact size, same gradient/hover as primary, just smaller */
.btn-primary.btn-sm {
  padding: 9px 20px;
  font-size: 13.5px;
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--surface-2); transform: translateY(-2px); }
.btn-link {
  color: var(--gold); text-decoration: none; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap 0.2s;
}
.btn-link:hover { gap: 12px; }
.btn-arrow { transition: transform 0.3s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  padding: 6px 14px;
  background: rgba(230, 185, 128, 0.08);
  border: 1px solid rgba(230, 185, 128, 0.2);
  border-radius: 999px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.muted { color: var(--text-muted); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--text-muted); max-width: 720px; }

/* ===== Hero ===== */
.hero {
  padding: calc(var(--header-h) + 80px) 0 80px;
  position: relative;
  text-align: center;
}
.hero h1 { margin: 24px 0 24px; max-width: 920px; margin-left: auto; margin-right: auto; }
.hero .lead { margin: 0 auto 40px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }

/* ===== Trust Bar ===== */
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
  background: rgba(255,255,255,0.02);
}
.trust-text { text-align: center; color: var(--text-dim); font-size: 13px; margin-bottom: 18px; letter-spacing: 0.05em; text-transform: uppercase; }
.marquee {
  display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex; gap: 56px; padding-right: 56px;
  animation: marquee 28s linear infinite;
  flex-shrink: 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  color: var(--text-muted); font-weight: 600; font-size: 16px;
  white-space: nowrap; opacity: 0.7; transition: opacity 0.2s, color 0.2s;
  display: flex; align-items: center; gap: 10px;
}
.marquee-item:hover { opacity: 1; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Cards / Grids ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  transition: transform 0.4s var(--ease), border-color 0.3s, background 0.3s;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(230,185,128,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover { transform: translateY(-6px); background: var(--surface-2); border-color: var(--border-strong); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(230,185,128,0.2), rgba(91,140,255,0.2));
  display: grid; place-items: center;
  font-size: 22px; margin-bottom: 18px;
  border: 1px solid rgba(230,185,128,0.25);
}
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: 15px; }

/* ===== Section header ===== */
.section-header { text-align: center; margin-bottom: 64px; }
.section-header .eyebrow { margin-bottom: 18px; }
.section-header h2 { margin-bottom: 16px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-header p { margin: 0 auto; }

/* ===== Step / Process ===== */
.steps { display: grid; gap: 20px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 24px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s, transform 0.3s;
}
.step:hover { border-color: rgba(230,185,128,0.35); transform: translateX(6px); }
.step-num {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--gradient-accent);
  color: #0a0e1a;
  font-weight: 800; font-size: 22px;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 8px 30px -8px rgba(230,185,128,0.5);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); margin-bottom: 12px; font-size: 15px; }
.step ul { color: var(--text-muted); font-size: 14.5px; padding-left: 20px; }
.step ul li { margin-bottom: 6px; }

/* ===== Testimonials ===== */
.testimonial {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  position: relative;
}
.testimonial::before {
  content: '"'; position: absolute; top: 8px; left: 22px;
  font-size: 80px; color: var(--gold); opacity: 0.25; font-family: Georgia, serif; line-height: 1;
}
.testimonial p { font-size: 16px; line-height: 1.6; margin-bottom: 18px; position: relative; }
.testimonial cite {
  font-style: normal; color: var(--gold); font-weight: 600; font-size: 14px;
}

/* ===== FAQ Accordion ===== */
.faq { max-width: 880px; margin: 0 auto; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(230,185,128,0.4); }
.faq-item summary {
  padding: 22px 28px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
  transition: background 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--surface-2); }
.faq-item summary::after {
  content: '+'; font-size: 24px; color: var(--gold); font-weight: 300;
  transition: transform 0.4s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq-body-wrap > .faq-body {
  padding: 4px 28px 24px;
  color: var(--text-muted); font-size: 15.5px; line-height: 1.7;
}

/* ===== Glossary ===== */
.glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 768px) { .glossary { grid-template-columns: 1fr; } }
.glossary-item {
  padding: 22px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); transition: border-color 0.3s, transform 0.3s;
}
.glossary-item:hover { border-color: rgba(91,140,255,0.4); transform: translateY(-2px); }
.glossary-item h4 { color: var(--gold); margin-bottom: 6px; font-size: 16px; }
.glossary-item p { color: var(--text-muted); font-size: 14.5px; }

/* ===== Form ===== */
.form-card {
  max-width: 720px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
}
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13.5px; color: var(--text-muted); margin-bottom: 8px; font-weight: 500; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: 14px 16px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text); font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none; border-color: var(--gold); background: rgba(0,0,0,0.4);
}
.form-row textarea { resize: vertical; min-height: 110px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 600px) { .checkbox-grid { grid-template-columns: 1fr; } }
.checkbox-grid label {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; background: rgba(0,0,0,0.2);
  border: 1px solid var(--border); border-radius: 10px;
  cursor: pointer; font-size: 14px; color: var(--text);
  transition: border-color 0.2s, background 0.2s;
  margin: 0;
  min-height: 52px;
  line-height: 1.3;
}
.checkbox-grid label:hover { border-color: var(--border-strong); }
.checkbox-grid input[type="checkbox"] {
  accent-color: var(--gold);
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin: 0;
}

/* Phone row: country code + number */
.phone-row { display: flex; gap: 8px; }
.phone-row > input[type="tel"] { flex: 1; min-width: 0; }

/* Searchable country code combobox */
.dial-combo { position: relative; width: 140px; flex-shrink: 0; }
.combo-trigger {
  display: flex; align-items: center; gap: 8px;
  width: 100%; padding: 14px 12px;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text); font: inherit; font-size: 15px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-variant-numeric: tabular-nums;
}
.combo-trigger:hover { border-color: var(--border-strong); }
.dial-combo.open .combo-trigger { border-color: var(--gold); background: rgba(0,0,0,0.4); }
.combo-flag { font-size: 18px; line-height: 1; }
.combo-dial { flex: 1; text-align: left; }
.combo-caret { font-size: 11px; color: var(--text-muted); transition: transform 0.2s; }
.dial-combo.open .combo-caret { transform: rotate(180deg); }
.combo-panel {
  position: absolute; top: calc(100% + 6px); left: 0;
  width: 320px; max-width: calc(100vw - 40px);
  background: rgba(12, 18, 48, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 24px 60px -10px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
  z-index: 50;
}
.combo-search {
  width: 100%;
  padding: 11px 14px;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text); font: inherit; font-size: 14px;
  margin-bottom: 8px;
}
.combo-search:focus { outline: none; border-color: var(--gold); }
.combo-list {
  list-style: none; padding: 0; margin: 0;
  max-height: 280px; overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.15) transparent;
}
.combo-list::-webkit-scrollbar { width: 6px; }
.combo-list::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
.combo-list li {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px; color: var(--text);
  transition: background 0.15s;
}
.combo-list li:hover, .combo-list li.active { background: rgba(230, 185, 128, 0.12); }
.opt-flag { font-size: 18px; flex-shrink: 0; }
.opt-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.opt-dial { color: var(--text-muted); font-variant-numeric: tabular-nums; font-size: 13px; }
.combo-empty { text-align: center; padding: 18px; color: var(--text-muted); font-size: 14px; }

[dir="rtl"] .combo-dial { text-align: right; }
[dir="rtl"] .combo-panel { left: auto; right: 0; }
[dir="rtl"] .combo-search { text-align: right; }
[dir="rtl"] .opt-name { text-align: right; }

@media (max-width: 480px) {
  .dial-combo { width: 110px; }
  .combo-trigger { padding: 14px 10px; font-size: 14px; }
  .combo-flag { font-size: 16px; }
  .combo-panel { width: 280px; }
}

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  text-align: center; padding: 28px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.stat-num { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; background: var(--gradient-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label { color: var(--text-muted); font-size: 13.5px; margin-top: 8px; }

/* ===== CTA Banner ===== */
.cta-banner {
  margin: 80px 0;
  padding: 60px 40px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px circle at 80% 50%, rgba(91,140,255,0.18), transparent 60%),
    radial-gradient(500px circle at 10% 50%, rgba(230,185,128,0.15), transparent 60%),
    rgba(255,255,255,0.03);
  border: 1px solid var(--border-strong);
  text-align: center;
}
.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { color: var(--text-muted); margin: 0 auto 28px; max-width: 600px; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  background: rgba(0,0,0,0.4);
  position: relative;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 18px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer a {
  color: var(--text-muted); text-decoration: none; font-size: 14.5px;
  transition: color 0.2s;
}
.footer a:hover { color: var(--text); }
.footer-brand p { color: var(--text-muted); font-size: 14.5px; margin-top: 14px; max-width: 280px; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 38px; height: 38px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 10px; display: grid; place-items: center;
  font-size: 16px; transition: all 0.2s;
}
.socials a:hover { background: var(--gold); color: #0a0e1a; transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--text-dim);
}
.footer-bottom a { color: var(--text-dim); margin-left: 18px; }

/* ===== WhatsApp Floating ===== */
.whatsapp-fab {
  position: fixed; right: 24px; bottom: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  text-decoration: none;
  box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6);
  z-index: 90;
  transition: transform 0.3s var(--ease);
  animation: pulseGreen 2.4s ease-in-out infinite;
}
.whatsapp-fab:hover { transform: scale(1.1); }
.whatsapp-fab svg { width: 30px; height: 30px; }
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 10px 30px -8px rgba(37, 211, 102, 0.6), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ===== Page Title (sub-pages) ===== */
.page-header {
  padding: calc(var(--header-h) + 64px) 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.page-header h1 { margin: 18px auto 18px; max-width: 880px; }
.page-header p { margin: 0 auto; }

/* ===== Mobile Nav ===== */
@media (max-width: 880px) {
  .nav-links, .nav-cta-wrap .btn { display: none; }
  .hamburger { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column;
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: rgba(7, 9, 26, 0.97);
    backdrop-filter: blur(20px);
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav-links.mobile-open a { padding: 14px 16px; font-size: 16px; border-radius: 10px; }
  .nav-links.mobile-open a.btn { display: inline-flex; margin-top: 8px; align-self: stretch; justify-content: center; padding: 14px; font-size: 15px; }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 64px 0; }
  .section-sm { padding: 40px 0; }
  .form-card { padding: 24px; }
  .step { grid-template-columns: 1fr; }
  .step-num { width: 48px; height: 48px; font-size: 18px; border-radius: 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom div a { margin-left: 0; margin-right: 18px; }
  .hero { padding: calc(var(--header-h) + 48px) 0 56px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .cta-banner { padding: 40px 24px; margin: 56px 0; }
  .cta-banner > div { flex-direction: column; }
  .cta-banner .btn { width: 100%; }
  .container { padding: 0 18px; }
  .card { padding: 24px; }
  .testimonial { padding: 24px; }
  .section-header { margin-bottom: 44px; }
  .page-header { padding: calc(var(--header-h) + 40px) 0 40px; }
  .stat { padding: 22px 12px; }
  .footer { padding: 48px 0 24px; }
  .footer-grid { gap: 32px; margin-bottom: 36px; }
  .nav .container { padding: 0 16px; }
  .brand img { height: 46px; }
}

@media (max-width: 480px) {
  .brand-name { display: none; }
  .lang-toggle { padding: 5px 8px; font-size: 11.5px; }
  .whatsapp-fab { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .whatsapp-fab svg { width: 26px; height: 26px; }
  h1 { letter-spacing: -0.015em; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .glossary { gap: 12px; }
  .faq-item summary { padding: 18px 20px; font-size: 15px; }
  .faq-body-wrap > .faq-body { padding: 4px 20px 20px; }
  .marquee-track { gap: 36px; padding-right: 36px; }
}

/* ===== RTL / Arabic ===== */
[dir="rtl"] body,
body.rtl { font-family: 'Cairo', 'Inter', system-ui, -apple-system, sans-serif; }
[dir="rtl"] .brand img { margin-left: 4px; }
[dir="rtl"] .btn-arrow { display: inline-block; transform: scaleX(-1); }
[dir="rtl"] .btn:hover .btn-arrow { transform: scaleX(-1) translateX(4px); }
[dir="rtl"] .btn-link:hover { gap: 12px; }
[dir="rtl"] .step:hover { transform: translateX(-6px); }
[dir="rtl"] .testimonial::before { left: auto; right: 22px; }
[dir="rtl"] .faq-item summary::after { margin-right: auto; }
[dir="rtl"] .marquee,
[dir="rtl"] .marquee-track { direction: ltr; }
[dir="rtl"] .footer-bottom div a { margin-left: 0; margin-right: 18px; }
[dir="rtl"] .step ul, [dir="rtl"] .card ul { padding-left: 0; padding-right: 20px; }
[dir="rtl"] .nav-cta-wrap { flex-direction: row-reverse; }
[dir="rtl"] .whatsapp-fab { right: auto; left: 24px; }
@media (max-width: 480px) {
  [dir="rtl"] .whatsapp-fab { left: 16px; right: auto; }
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 { letter-spacing: 0; }
[dir="rtl"] .eyebrow { letter-spacing: 0; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
