:root {
  --burgundy: #6b1e2b;
  --burgundy-dark: #4a1520;
  --gold: #c9a227;
  --gold-soft: #fff6dc;
  --black: #0d0d0d;
  --ink: #1a1a1a;
  --cream: #f7f4ef;
  --surface: #fffcf8;
  --muted: #5c5348;
  --border: #e8e0d4;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(13, 13, 13, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans Arabic", "Outfit", system-ui, sans-serif;
  background: var(--cream);
  color: var(--black);
  line-height: 1.65;
}
body[dir="ltr"] { font-family: "Outfit", "Noto Sans Arabic", system-ui, sans-serif; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(247, 244, 239, 0.86);
  border-bottom: 1px solid rgba(232, 224, 212, 0.8);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--burgundy), var(--black));
  color: white;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.95rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.nav-links a { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover { color: var(--burgundy); }

.lang-switch {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
}
.lang-switch button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
}
.lang-switch button.active {
  background: var(--black);
  color: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 14px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.btn-primary {
  background: var(--burgundy);
  color: white;
  box-shadow: 0 10px 28px rgba(107, 30, 43, 0.28);
}
.btn-primary:hover { background: var(--burgundy-dark); }
.btn-gold {
  background: var(--gold);
  color: var(--black);
}
.btn-ghost {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--border);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 162, 39, 0.18), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(107, 30, 43, 0.18), transparent 35%),
    linear-gradient(180deg, #0d0d0d 0%, #1a1214 55%, #2a151c 100%);
  color: white;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  background: linear-gradient(180deg, transparent, var(--cream));
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: end;
}
.hero-brand {
  font-size: clamp(3.4rem, 10vw, 6.5rem);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  background: linear-gradient(120deg, #fff 20%, var(--gold) 70%, #fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 {
  max-width: 16ch;
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3.5vw, 2.4rem);
  line-height: 1.25;
  font-weight: 700;
}
.hero p {
  max-width: 42rem;
  margin: 0 0 1.6rem;
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-panel {
  justify-self: end;
  width: min(100%, 380px);
  padding: 1.25rem;
  border-radius: 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,162,39,0.28);
  backdrop-filter: blur(10px);
}
.hero-panel h3 {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-stat {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.86);
  font-weight: 600;
}
.hero-stat:first-of-type { border-top: 0; }

.section { padding: 4.5rem 0; }
.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: var(--burgundy);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.section-head h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.2;
}
.section-head p { margin: 0; color: var(--muted); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(107, 30, 43, 0.14);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(201,162,39,0.2), rgba(107,30,43,0.12));
  color: var(--burgundy);
  font-size: 1.25rem;
  font-weight: 800;
}
.card h3 { margin: 0 0 0.55rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.step {
  position: relative;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--black);
  color: white;
  overflow: hidden;
}
.step::before {
  content: attr(data-step);
  position: absolute;
  top: -0.4rem;
  inset-inline-end: 0.6rem;
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(201,162,39,0.18);
}
.step h3 { margin: 0 0 0.5rem; color: var(--gold); position: relative; }
.step p { margin: 0; color: rgba(255,255,255,0.75); position: relative; }

.cta {
  margin: 1rem 0 4rem;
  padding: 2.2rem;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(201,162,39,0.16), transparent 40%),
    linear-gradient(160deg, var(--burgundy), var(--black));
  color: white;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.cta h2 { margin: 0 0 0.4rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta p { margin: 0; color: rgba(255,255,255,0.78); }

.site-footer {
  padding: 2.5rem 0 2rem;
  background: var(--black);
  color: rgba(255,255,255,0.78);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer h3 { margin: 0 0 0.8rem; color: var(--gold); }
.site-footer a { display: block; margin-bottom: 0.45rem; }
.site-footer a:hover { color: var(--gold); }
.footer-copy {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
}

.legal-page {
  padding: 3rem 0 4rem;
}
.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
}
.legal-card h1 { margin-top: 0; }
.legal-card h2 { margin-top: 1.8rem; color: var(--burgundy); font-size: 1.15rem; }
.legal-card .muted { color: var(--muted); }
.legal-card a { color: var(--burgundy); font-weight: 700; }

@media (max-width: 960px) {
  .cards, .steps, .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-panel { justify-self: stretch; width: 100%; }
}
@media (max-width: 720px) {
  .nav-links .hide-sm { display: none; }
  .cards, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
}
