:root {
  --navy-950: #071b28;
  --navy-900: #0e2b3b;
  --navy-800: #173d4e;
  --navy-700: #235367;
  --gold-500: #b58a2b;
  --gold-400: #d3ad55;
  --gold-300: #e6ca88;
  --cream: #f8f3e9;
  --paper: #fffdf8;
  --white: #ffffff;
  --ink: #13212a;
  --muted: #687780;
  --line: #e5e0d5;
  --shadow: 0 24px 70px rgba(8, 31, 44, .13);
  --radius-lg: 30px;
  --radius-md: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: "Cairo", Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
svg { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; right: 20px; z-index: 2000; padding: 10px 18px; background: var(--white); color: var(--navy-900); border-radius: 0 0 10px 10px; }
.skip-link:focus { top: 0; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(7, 27, 40, .72);
  border-bottom: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(18px);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(7, 27, 40, .95); box-shadow: 0 12px 35px rgba(0,0,0,.16); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); min-width: 260px; }
.brand img { width: 58px; height: 58px; object-fit: contain; filter: drop-shadow(0 6px 15px rgba(0,0,0,.2)); }
.brand-copy { display: grid; line-height: 1.45; }
.brand-copy strong { font-family: "Noto Kufi Arabic", "Cairo", sans-serif; font-size: .95rem; }
.brand-copy small { color: rgba(255,255,255,.68); font-size: .72rem; }
.main-nav { display: flex; align-items: center; gap: 24px; color: rgba(255,255,255,.83); font-size: .88rem; font-weight: 600; }
.main-nav > a { position: relative; padding: 28px 0; transition: color .2s ease; white-space: nowrap; }
.main-nav > a::after { content: ""; position: absolute; right: 0; bottom: 19px; width: 0; height: 2px; background: var(--gold-400); transition: width .25s ease; }
.main-nav > a:hover { color: var(--white); }
.main-nav > a:hover::after, .main-nav > a.active::after { width: 100%; }
.nav-install { border: 1px solid rgba(211,173,85,.65); background: rgba(211,173,85,.12); color: var(--gold-300); border-radius: 12px; padding: 10px 14px; display: inline-flex; align-items: center; gap: 8px; transition: .2s ease; white-space: nowrap; }
.nav-install:hover { background: var(--gold-400); color: var(--navy-950); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); background: transparent; border-radius: 12px; padding: 11px; }
.menu-toggle span { display: block; height: 2px; background: var(--white); margin: 5px 0; border-radius: 20px; transition: .2s ease; }

.hero {
  min-height: 100vh;
  position: relative;
  color: var(--white);
  background:
    radial-gradient(circle at 20% 0%, rgba(211,173,85,.18), transparent 34%),
    linear-gradient(135deg, var(--navy-950), var(--navy-900) 55%, #12394a);
  padding: 158px 0 55px;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(to bottom, black, transparent 80%); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.hero-content { padding-bottom: 45px; }
.eyebrow { width: fit-content; display: inline-flex; align-items: center; gap: 10px; color: var(--gold-300); border: 1px solid rgba(230,202,136,.25); background: rgba(255,255,255,.045); border-radius: 999px; padding: 8px 14px; font-size: .82rem; font-weight: 600; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 6px rgba(211,173,85,.12); }
.hero h1 { margin: 24px 0 21px; font-family: "Noto Kufi Arabic", "Cairo", sans-serif; font-size: clamp(2.7rem, 5.4vw, 5.5rem); line-height: 1.25; letter-spacing: -.05em; }
.hero h1 span { color: var(--gold-400); }
.hero-text { max-width: 680px; margin: 0; color: rgba(255,255,255,.76); font-size: 1.08rem; line-height: 2; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.btn { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; border-radius: 14px; padding: 11px 22px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold-400); color: var(--navy-950); box-shadow: 0 14px 35px rgba(181,138,43,.25); }
.btn-primary:hover, .btn-gold:hover { background: #e0bd6b; box-shadow: 0 18px 40px rgba(181,138,43,.3); }
.btn-light { background: rgba(255,255,255,.075); border-color: rgba(255,255,255,.18); color: var(--white); }
.btn-light:hover { background: rgba(255,255,255,.13); }
.btn-gold { background: var(--gold-400); color: var(--navy-950); }
.btn-outline-light { color: var(--white); border-color: rgba(255,255,255,.35); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-facebook { color: var(--white); border-color: rgba(255,255,255,.22); background: #1877f2; box-shadow: 0 12px 28px rgba(24,119,242,.22); }
.btn-facebook:hover { background: #1268d6; box-shadow: 0 16px 34px rgba(24,119,242,.3); }
.btn-facebook svg, .footer-facebook svg { fill: currentColor; stroke: none; }
.hero-points { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 29px; color: rgba(255,255,255,.73); font-size: .84rem; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points i { width: 7px; height: 7px; background: var(--gold-400); border-radius: 50%; }

.hero-visual { min-height: 530px; display: grid; place-items: center; position: relative; }
.seal-card { width: min(390px, 82vw); aspect-ratio: .85; background: linear-gradient(150deg, rgba(255,255,255,.17), rgba(255,255,255,.06)); border: 1px solid rgba(255,255,255,.18); border-radius: 42px; backdrop-filter: blur(16px); box-shadow: 0 45px 90px rgba(0,0,0,.28); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; position: relative; overflow: hidden; transform: rotate(-2deg); }
.seal-card::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(230,202,136,.2); border-radius: 32px; }
.seal-card img { width: 70%; position: relative; filter: drop-shadow(0 20px 28px rgba(0,0,0,.23)); }
.seal-caption { display: grid; text-align: center; line-height: 1.3; position: relative; }
.seal-caption span { color: var(--gold-300); letter-spacing: .18em; font-weight: 800; }
.seal-caption small { color: rgba(255,255,255,.65); }
.seal-shine { position: absolute; top: -25%; right: -40%; width: 80%; height: 150%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), transparent); transform: rotate(20deg); animation: shine 7s ease-in-out infinite; }
@keyframes shine { 0%, 55% { transform: translateX(0) rotate(20deg); } 80%, 100% { transform: translateX(-180%) rotate(20deg); } }
.seal-orbit { position: absolute; border: 1px solid rgba(211,173,85,.22); border-radius: 50%; }
.orbit-a { width: 480px; height: 480px; animation: spin 22s linear infinite; }
.orbit-a::after { content: ""; width: 10px; height: 10px; background: var(--gold-400); border-radius: 50%; position: absolute; top: 62px; left: 80px; box-shadow: 0 0 20px var(--gold-400); }
.orbit-b { width: 570px; height: 380px; transform: rotate(35deg); opacity: .45; }
@keyframes spin { to { transform: rotate(360deg); } }
.floating-card { position: absolute; z-index: 3; min-width: 210px; display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.16); background: rgba(8,31,44,.8); backdrop-filter: blur(14px); border-radius: 16px; box-shadow: 0 20px 45px rgba(0,0,0,.23); }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: .83rem; }
.floating-card small { color: rgba(255,255,255,.6); font-size: .68rem; }
.floating-icon { width: 39px; height: 39px; border-radius: 12px; display: grid; place-items: center; background: rgba(211,173,85,.15); color: var(--gold-300); }
.card-training { right: -28px; top: 90px; animation: float 5s ease-in-out infinite; }
.card-quality { left: -12px; bottom: 82px; animation: float 5s ease-in-out infinite 1s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-glow { position: absolute; border-radius: 50%; filter: blur(15px); opacity: .45; }
.glow-one { width: 340px; height: 340px; background: rgba(181,138,43,.18); left: -100px; top: 100px; }
.glow-two { width: 460px; height: 460px; background: rgba(74,134,155,.17); right: -100px; bottom: -120px; }
.hero-metrics { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(255,255,255,.13); padding-top: 27px; }
.metric { display: grid; text-align: center; border-left: 1px solid rgba(255,255,255,.12); }
.metric:last-child { border-left: 0; }
.metric strong { font-family: "Noto Kufi Arabic", sans-serif; color: var(--gold-300); font-size: 1.65rem; }
.metric span { color: rgba(255,255,255,.6); font-size: .79rem; }

.section { padding: 110px 0; }
.section-kicker { display: inline-block; color: var(--gold-500); font-weight: 800; font-size: .82rem; letter-spacing: .06em; margin-bottom: 10px; }
.section-kicker.light { color: var(--gold-300); }
.section-copy h2, .section-heading h2, .app-copy h2, .contact h2 { margin: 0 0 20px; font-family: "Noto Kufi Arabic", "Cairo", sans-serif; font-size: clamp(2rem, 3.5vw, 3.3rem); line-height: 1.5; letter-spacing: -.035em; }
.section-copy p, .section-heading p, .app-copy > p { color: var(--muted); font-size: 1rem; }
.section-heading { max-width: 760px; margin-bottom: 50px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.about { background: var(--paper); position: relative; overflow: clip; }
.about-grid { display: grid; grid-template-columns: 1fr .92fr; gap: 80px; align-items: center; }
.section-copy p { margin: 0 0 16px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: var(--navy-800); font-weight: 800; margin-top: 12px; }
.text-link span { color: var(--gold-500); transition: transform .2s ease; }
.text-link:hover span { transform: translateX(-5px); }
.about-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.about-panel::before { content: ""; position: absolute; width: 140px; height: 140px; left: -45px; top: -45px; background: rgba(211,173,85,.11); border-radius: 50%; filter: blur(1px); z-index: -1; }
.panel-badge { width: fit-content; color: var(--gold-500); background: #fbf4e3; border-radius: 999px; padding: 6px 12px; font-size: .75rem; font-weight: 800; margin-bottom: 20px; }
.identity-row { display: grid; grid-template-columns: 55px 1fr; align-items: start; gap: 15px; padding: 20px 0; border-bottom: 1px solid #eeeae1; }
.identity-row:last-child { border-bottom: 0; padding-bottom: 0; }
.identity-icon { width: 50px; height: 50px; display: grid; place-items: center; color: var(--gold-500); background: var(--cream); border-radius: 15px; }
.identity-row strong { font-size: 1rem; }
.identity-row p { color: var(--muted); margin: 3px 0 0; font-size: .87rem; }

.vision-section { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.vision-section::after { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; border: 100px solid rgba(211,173,85,.04); left: -220px; bottom: -250px; }
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; position: relative; z-index: 2; }
.vision-card { min-height: 340px; position: relative; padding: 38px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.05); border-radius: var(--radius-lg); overflow: hidden; }
.vision-card.accent { background: linear-gradient(150deg, rgba(211,173,85,.18), rgba(255,255,255,.05)); }
.vision-number { position: absolute; left: 25px; top: 10px; font-family: "Noto Kufi Arabic", sans-serif; font-size: 5.2rem; color: rgba(255,255,255,.045); font-weight: 800; }
.vision-icon { width: 58px; height: 58px; display: grid; place-items: center; background: rgba(211,173,85,.15); color: var(--gold-300); border-radius: 18px; margin-bottom: 24px; }
.vision-card h3 { margin: 0 0 12px; font-family: "Noto Kufi Arabic", sans-serif; font-size: 1.4rem; }
.vision-card p { margin: 0; color: rgba(255,255,255,.7); }

.goals { background: #f8f6f1; }
.goals-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.goal-card { min-height: 255px; position: relative; padding: 25px; background: var(--white); border: 1px solid #e8e4db; border-radius: 20px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; overflow: hidden; }
.goal-card::after { content: ""; position: absolute; right: 0; bottom: 0; width: 0; height: 4px; background: var(--gold-400); transition: width .25s ease; }
.goal-card:hover { transform: translateY(-7px); box-shadow: 0 18px 45px rgba(14,43,59,.09); border-color: #d8caac; }
.goal-card:hover::after { width: 100%; }
.goal-no { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--cream); color: var(--gold-500); font-weight: 800; font-size: .85rem; }
.goal-card h3 { margin: 20px 0 8px; font-size: 1.05rem; color: var(--navy-900); }
.goal-card p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.85; }

.values { background: var(--paper); }
.values-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; }
.value-card { padding: 28px 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); text-align: center; transition: .25s ease; }
.value-card:hover { transform: translateY(-6px); border-color: var(--gold-300); box-shadow: 0 20px 45px rgba(14,43,59,.08); }
.value-card span { width: 46px; height: 46px; margin: 0 auto 17px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); border-radius: 50%; font-weight: 800; }
.value-card h3 { margin: 0 0 7px; color: var(--navy-900); }
.value-card p { margin: 0; color: var(--muted); font-size: .82rem; }


/* Membership */
.membership {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 12% 8%, rgba(211,173,85,.16), transparent 25%),
    linear-gradient(135deg, var(--navy-950), #123747 60%, var(--navy-800));
}
.membership::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .08;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.membership .container { position: relative; z-index: 2; }
.membership .section-heading p { color: rgba(255,255,255,.68); }
.membership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.membership-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 28px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 26px;
  background: rgba(255,255,255,.065);
  box-shadow: 0 22px 60px rgba(0,0,0,.12);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.membership-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(211,173,85,.08);
  left: -95px;
  bottom: -105px;
}
.membership-card:hover { transform: translateY(-7px); border-color: rgba(230,202,136,.48); background: rgba(255,255,255,.085); }
.membership-card.featured { border-color: rgba(230,202,136,.48); background: linear-gradient(160deg, rgba(211,173,85,.19), rgba(255,255,255,.065)); }
.membership-card.honorary { background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(181,138,43,.105)); }
.membership-top { display: grid; grid-template-columns: 54px 1fr auto; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.11); }
.membership-letter { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--gold-400); color: var(--navy-950); font-family: "Noto Kufi Arabic", sans-serif; font-size: 1.25rem; font-weight: 800; box-shadow: 0 10px 26px rgba(211,173,85,.19); }
.membership-top div { display: grid; line-height: 1.45; }
.membership-top small { color: rgba(255,255,255,.48); font-size: .7rem; }
.membership-top h3 { margin: 2px 0 0; font-family: "Noto Kufi Arabic", sans-serif; font-size: 1.2rem; }
.membership-badge { white-space: nowrap; padding: 6px 10px; border: 1px solid rgba(230,202,136,.26); border-radius: 999px; color: var(--gold-300); background: rgba(211,173,85,.09); font-size: .67rem; font-weight: 800; }
.membership-intro { margin: 20px 0 16px; color: rgba(255,255,255,.7); font-size: .87rem; }
.membership-condition { display: flex; align-items: flex-start; gap: 11px; margin: 20px 0 5px; padding: 14px; border-radius: 16px; background: rgba(211,173,85,.11); border: 1px solid rgba(230,202,136,.18); }
.membership-condition svg { flex: 0 0 auto; width: 25px; height: 25px; color: var(--gold-300); margin-top: 2px; }
.membership-condition p { margin: 0; color: rgba(255,255,255,.72); font-size: .8rem; }
.membership-benefits { position: relative; z-index: 2; display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; }
.membership-benefits li { position: relative; padding-right: 28px; color: rgba(255,255,255,.7); font-size: .8rem; line-height: 1.85; }
.membership-benefits li::before { content: "✓"; position: absolute; right: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(211,173,85,.16); color: var(--gold-300); font-size: .7rem; font-weight: 900; }
.membership-benefits strong { color: var(--white); }
.membership-limits { position: relative; z-index: 2; margin-top: auto; padding: 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); background: rgba(3,17,24,.24); }
.membership-limits strong { display: block; color: var(--gold-300); margin-bottom: 5px; font-size: .82rem; }
.membership-limits p { margin: 0; color: rgba(255,255,255,.58); font-size: .75rem; line-height: 1.8; }
.membership-cta { margin-top: 28px; padding: 24px 28px; border: 1px solid rgba(255,255,255,.13); border-radius: 22px; background: rgba(255,255,255,.065); display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.membership-cta div { display: grid; }
.membership-cta span { color: var(--gold-300); font-size: .78rem; font-weight: 800; }
.membership-cta strong { font-family: "Noto Kufi Arabic", sans-serif; font-size: 1rem; margin-top: 3px; }
.membership-cta .btn { flex: 0 0 auto; }


.app-section { position: relative; color: var(--white); overflow: hidden; background: linear-gradient(125deg, #0b2534, #173f51); }
.app-section::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: radial-gradient(circle at center, var(--gold-400) 1px, transparent 1px); background-size: 28px 28px; }
.app-grid { position: relative; z-index: 2; display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; align-items: center; }
.phone-stage { min-height: 540px; position: relative; display: grid; place-items: center; }
.phone-shadow { position: absolute; width: 300px; height: 80px; background: rgba(0,0,0,.35); filter: blur(28px); bottom: 20px; border-radius: 50%; }
.phone { width: 265px; height: 520px; padding: 10px; border-radius: 40px; background: linear-gradient(145deg, #212b31, #02080b); box-shadow: 0 38px 85px rgba(0,0,0,.45); transform: rotate(-4deg); position: relative; }
.phone::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(255,255,255,.18); border-radius: 36px; pointer-events: none; }
.phone-top { position: absolute; top: 17px; left: 50%; transform: translateX(-50%); width: 84px; height: 21px; background: #020608; border-radius: 20px; z-index: 3; }
.phone-top span { width: 6px; height: 6px; background: #163a4b; border-radius: 50%; position: absolute; right: 15px; top: 8px; }
.phone-screen { height: 100%; border-radius: 31px; overflow: hidden; background: var(--paper); color: var(--ink); }
.mini-nav { height: 69px; display: flex; align-items: center; justify-content: center; gap: 7px; background: var(--navy-950); color: white; padding-top: 11px; }
.mini-nav img { width: 30px; height: 30px; }
.mini-hero { height: 210px; padding: 27px 19px; background: linear-gradient(145deg, #103144, #1c4b5f); color: white; display: flex; flex-direction: column; justify-content: center; }
.mini-hero small { color: var(--gold-300); font-size: .56rem; }
.mini-hero strong { font-family: "Noto Kufi Arabic", sans-serif; font-size: 1.14rem; line-height: 1.55; margin: 8px 0; }
.mini-hero span { color: rgba(255,255,255,.65); font-size: .55rem; }
.mini-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; padding: 17px; }
.mini-cards i { height: 65px; background: var(--cream); border-radius: 10px; border: 1px solid #ede5d3; }
.mini-line { height: 8px; border-radius: 8px; background: #e8e3d9; margin: 6px 18px; }
.mini-line.short { width: 58%; }
.app-badge { position: absolute; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.17); color: var(--gold-300); border-radius: 999px; padding: 8px 16px; font-size: .78rem; font-weight: 700; backdrop-filter: blur(10px); }
.badge-android { top: 90px; right: 7%; }
.badge-ios { bottom: 115px; left: 8%; }
.app-copy h2 { max-width: 650px; }
.app-copy > p { color: rgba(255,255,255,.7); max-width: 680px; }
.app-features { display: grid; gap: 15px; margin: 28px 0; }
.app-features > div { display: flex; align-items: center; gap: 13px; }
.app-features svg { flex: 0 0 auto; width: 27px; height: 27px; padding: 5px; border-radius: 50%; background: rgba(211,173,85,.17); color: var(--gold-300); }
.app-features span, .app-features strong, .app-features small { display: block; }
.app-features small { color: rgba(255,255,255,.56); }

.contact { padding-top: 80px; background: #f8f6f1; }
.contact-card { color: var(--white); background: linear-gradient(130deg, var(--navy-900), #1f5266); border-radius: 34px; padding: 50px 55px; display: flex; align-items: center; justify-content: space-between; gap: 45px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; width: 280px; height: 280px; border: 60px solid rgba(211,173,85,.08); border-radius: 50%; left: -100px; top: -130px; }
.contact-copy { position: relative; z-index: 2; max-width: 650px; }
.contact-copy h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 10px; }
.contact-copy p { margin: 0; color: rgba(255,255,255,.65); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 2; }

.site-footer { background: var(--navy-950); color: var(--white); padding: 55px 0 22px; }
.footer-main { display: grid; grid-template-columns: 1.25fr 1fr auto; align-items: center; gap: 40px; padding-bottom: 35px; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand img { width: 64px; }
.footer-brand div { display: grid; }
.footer-brand strong { font-family: "Noto Kufi Arabic", sans-serif; font-size: .95rem; }
.footer-brand span { color: rgba(255,255,255,.58); font-size: .75rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 22px; color: rgba(255,255,255,.65); font-size: .82rem; }
.footer-links a:hover { color: var(--gold-300); }
.footer-domain { display: grid; text-align: left; }
.footer-domain small { color: rgba(255,255,255,.5); }
.footer-domain strong { color: var(--gold-300); font-size: 1.3rem; letter-spacing: .08em; }
.footer-facebook { margin-top: 8px; display: inline-flex; align-items: center; justify-content: flex-start; gap: 7px; color: rgba(255,255,255,.75); font-size: .78rem; transition: color .2s ease, transform .2s ease; }
.footer-facebook:hover { color: #8db9ff; transform: translateY(-1px); }
.footer-facebook svg { width: 1.05rem; height: 1.05rem; }
.footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 20px; color: rgba(255,255,255,.45); font-size: .75rem; }
.footer-bottom a { color: var(--gold-300); }

.back-top { position: fixed; left: 22px; bottom: 22px; z-index: 800; width: 46px; height: 46px; border-radius: 14px; border: 0; background: var(--gold-400); color: var(--navy-950); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(14,43,59,.22); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .2s ease; }
.back-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

.install-toast {
  position: fixed;
  z-index: 1450;
  right: 20px;
  bottom: max(20px, env(safe-area-inset-bottom));
  width: min(470px, calc(100% - 40px));
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(181,138,43,.28);
  border-radius: 20px;
  box-shadow: 0 26px 70px rgba(5,25,35,.28);
  padding: 13px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 11px;
  transform: translateY(calc(160% + env(safe-area-inset-bottom)));
  opacity: 0;
  visibility: hidden;
  transition: transform .32s ease, opacity .32s ease, visibility .32s ease;
}
.install-toast.show { transform: translateY(0); opacity: 1; visibility: visible; }
.install-toast img { width: 50px; height: 50px; border-radius: 14px; box-shadow: 0 7px 18px rgba(14,43,59,.14); }
.install-toast-copy { min-width: 0; display: grid; line-height: 1.5; }
.install-toast strong { color: var(--navy-900); font-size: .86rem; }
.install-toast span { color: var(--muted); font-size: .7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.install-toast-action { border: 0; background: var(--gold-400); color: var(--navy-950); border-radius: 11px; padding: 9px 14px; font-weight: 800; font-size: .75rem; white-space: nowrap; }
.install-toast-action:hover { background: #e0bd6b; }
.toast-close { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #f3f0e9; color: #687780; font-size: 1.25rem; line-height: 1; }
body.install-nudge-visible .back-top { bottom: 112px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: grid;
  place-items: center;
  padding: max(14px, env(safe-area-inset-top)) 16px max(14px, env(safe-area-inset-bottom));
  opacity: 0;
  visibility: hidden;
  transition: .22s ease;
}
.modal.open { opacity: 1; visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(3,17,24,.78); backdrop-filter: blur(7px); }
.modal-card {
  position: relative;
  z-index: 2;
  width: min(540px, 100%);
  max-height: calc(100dvh - 28px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--white);
  border: 1px solid rgba(211,173,85,.24);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 38px 100px rgba(0,0,0,.38);
  text-align: center;
  transform: scale(.96) translateY(12px);
  transition: .22s ease;
}
.modal.open .modal-card { transform: scale(1) translateY(0); }
.modal-close { position: absolute; left: 14px; top: 12px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #f3f0e9; color: #66757d; font-size: 1.45rem; line-height: 1; }
.modal-logo { width: 76px; height: 76px; border-radius: 20px; margin: 0 auto 8px; box-shadow: 0 12px 30px rgba(14,43,59,.13); }
.modal-kicker { display: inline-block; color: var(--gold-500); font-size: .66rem; font-weight: 800; letter-spacing: .12em; margin-bottom: 6px; }
.modal-card h2 { margin: 0 0 6px; color: var(--navy-900); font-family: "Noto Kufi Arabic", "Cairo", sans-serif; font-size: 1.35rem; line-height: 1.55; }
.modal-card > p { max-width: 430px; margin: 0 auto 16px; color: var(--muted); font-size: .82rem; line-height: 1.8; }
.install-device-status { display: flex; align-items: center; gap: 10px; text-align: right; padding: 12px 14px; margin-bottom: 14px; border: 1px solid #e9e4d9; border-radius: 15px; background: #faf8f3; }
.install-device-status > div { display: grid; line-height: 1.45; }
.install-device-status strong { font-size: .78rem; color: var(--navy-900); }
.install-device-status small { font-size: .68rem; color: var(--muted); }
.install-status-dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 6px rgba(211,173,85,.14); }
.install-device-status.ready .install-status-dot { background: #2b9d67; box-shadow: 0 0 0 6px rgba(43,157,103,.13); }
.install-device-status.manual .install-status-dot { background: #d38b32; box-shadow: 0 0 0 6px rgba(211,139,50,.13); }
.install-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; background: #f0eee8; padding: 5px; border-radius: 14px; }
.tab-btn { border: 0; border-radius: 10px; padding: 10px 8px; background: transparent; color: var(--muted); font-weight: 800; font-size: .8rem; }
.tab-btn.active { background: var(--white); color: var(--navy-900); box-shadow: 0 5px 16px rgba(10,40,54,.1); }
.tab-panel { display: none; text-align: right; }
.tab-panel.active { display: block; }
.install-steps { display: grid; gap: 9px; margin: 15px 0 10px; padding: 0; list-style: none; }
.install-steps li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center; padding: 10px 11px; border: 1px solid #ece7dc; border-radius: 14px; background: #fffdfa; }
.install-steps li > span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: var(--navy-900); color: var(--gold-300); font-weight: 900; font-size: .77rem; }
.install-steps li > div { min-width: 0; display: grid; line-height: 1.45; }
.install-steps strong { color: var(--navy-900); font-size: .78rem; }
.install-steps small { color: var(--muted); font-size: .67rem; }
.install-manual-note, .ios-install-note { margin-top: 10px; padding: 11px 13px; border-radius: 13px; font-size: .7rem; line-height: 1.75; }
.install-manual-note { color: #77511f; background: #fff6e6; border: 1px solid #f1d6a8; }
.ios-install-note { display: grid; gap: 2px; color: #36505e; background: #eef6f8; border: 1px solid #d4e6eb; }
.ios-install-note strong { color: var(--navy-900); font-size: .76rem; }
.modal-action { width: 100%; margin-top: 12px; }
.modal-action[disabled] { opacity: .62; cursor: wait; transform: none; box-shadow: none; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }

@media (max-width: 1100px) {
  .main-nav { gap: 15px; font-size: .8rem; }
  .nav-install { display: none; }
  .hero-grid { gap: 35px; }
  .goals-grid { grid-template-columns: repeat(2,1fr); }
  .values-grid { grid-template-columns: repeat(3,1fr); }
  .membership-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .container { width: min(calc(100% - 30px), var(--container)); }
  .nav-wrap { min-height: 74px; }
  .brand img { width: 50px; height: 50px; }
  .brand-copy strong { font-size: .83rem; }
  .brand-copy small { font-size: .64rem; }
  .menu-toggle { display: block; }
  .main-nav { position: fixed; top: 74px; inset-inline: 15px; display: grid; gap: 0; background: rgba(7,27,40,.98); border: 1px solid rgba(255,255,255,.11); border-radius: 0 0 18px 18px; padding: 10px 18px 18px; transform: translateY(-18px); opacity: 0; visibility: hidden; transition: .22s ease; box-shadow: 0 25px 50px rgba(0,0,0,.25); }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav > a { padding: 12px 2px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .main-nav > a::after { display: none; }
  .nav-install { display: inline-flex; width: 100%; justify-content: center; margin-top: 12px; }
  .hero { padding-top: 112px; }
  .hero-grid, .about-grid, .app-grid { grid-template-columns: 1fr; }
  .hero-content { text-align: center; padding-bottom: 0; }
  .eyebrow, .hero-text { margin-inline: auto; }
  .hero-actions, .hero-points { justify-content: center; }
  .hero-visual { min-height: 520px; }
  .hero-metrics { grid-template-columns: repeat(2,1fr); gap: 20px 0; }
  .metric:nth-child(2) { border-left: 0; }
  .about-grid { gap: 45px; }
  .vision-grid { grid-template-columns: 1fr; }
  .app-grid { gap: 45px; }
  .app-copy { text-align: center; }
  .app-features { width: fit-content; margin-inline: auto; text-align: right; }
  .membership-cta { align-items: flex-start; }
  .contact-card { display: grid; text-align: center; padding: 40px 28px; }
  .contact-actions { justify-content: center; }
  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .footer-brand, .footer-links { justify-content: center; }
  .footer-domain { text-align: center; }
  .footer-facebook { justify-content: center; }
}

@media (max-width: 620px) {
  .brand { min-width: 0; flex: 1; overflow: hidden; }
  .brand-copy { min-width: 0; }
  .brand-copy strong { font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand-copy small { display: none; }
  .section { padding: 78px 0; }
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero h1 { max-width: 100%; font-size: clamp(2rem, 10.5vw, 3rem); line-height: 1.3; letter-spacing: -.025em; }
  .hero-text { max-width: 100%; font-size: .9rem; line-height: 1.95; }
  .eyebrow { max-width: 100%; justify-content: center; text-align: center; white-space: normal; font-size: .74rem; line-height: 1.7; }
  .hero-actions .btn { width: 100%; }
  .hero-visual { min-height: 430px; margin-top: 15px; }
  .seal-card { width: 270px; border-radius: 31px; }
  .orbit-a { width: 330px; height: 330px; }
  .orbit-b { width: 380px; height: 250px; }
  .floating-card { min-width: 170px; padding: 10px; }
  .floating-card strong { font-size: .72rem; }
  .floating-card small { font-size: .58rem; }
  .card-training { right: -4px; top: 60px; }
  .card-quality { left: 0; bottom: 65px; }
  .hero-metrics { font-size: .9rem; }
  .metric strong { font-size: 1.35rem; }
  .section-copy h2, .section-heading h2, .app-copy h2 { font-size: 1.9rem; }
  .goals-grid, .values-grid { grid-template-columns: 1fr; }
  .membership-card { padding: 22px 18px; }
  .membership-top { grid-template-columns: 48px 1fr; }
  .membership-letter { width: 46px; height: 46px; border-radius: 14px; }
  .membership-badge { grid-column: 2; width: fit-content; }
  .membership-cta { display: grid; text-align: center; padding: 22px 18px; }
  .membership-cta .btn { width: 100%; }
  .goal-card { min-height: auto; }
  .value-card { text-align: right; display: grid; grid-template-columns: 50px 1fr; column-gap: 12px; }
  .value-card span { grid-row: 1 / 3; margin: 0; }
  .value-card h3, .value-card p { grid-column: 2; }
  .phone-stage { min-height: 500px; }
  .phone { width: 235px; height: 465px; }
  .app-badge { font-size: .68rem; }
  .badge-android { right: 0; }
  .badge-ios { left: 0; }
  .contact-actions .btn { width: 100%; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
  .install-toast { grid-template-columns: 44px minmax(0,1fr) auto; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100% - 20px); padding: 10px; border-radius: 17px; }
  .install-toast img { width: 44px; height: 44px; border-radius: 12px; }
  .install-toast-action { padding: 9px 11px; }
  .toast-close { display: none; }
  body.install-nudge-visible .back-top { bottom: 96px; }
  .modal-card { border-radius: 23px; padding: 22px 14px 16px; }
  .modal-logo { width: 68px; height: 68px; border-radius: 17px; }
  .modal-card h2 { font-size: 1.1rem; }
  .modal-card > p { font-size: .75rem; }
  .install-device-status { padding: 10px 11px; }
  .install-steps li { grid-template-columns: 31px 1fr; padding: 9px; }
  .install-steps li > span { width: 29px; height: 29px; }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}


/* Responsive hardening — prevents RTL horizontal drift on mobile browsers */
main, section, .container, .hero-grid, .hero-content, .hero-visual, .about-grid, .app-grid { min-width: 0; }
main { max-width: 100%; overflow-x: clip; }
@supports not (overflow: clip) {
  html, body, main, .about { overflow-x: hidden; }
}
@media (max-width: 430px) {
  .container { width: calc(100% - 24px); }
  .nav-wrap { min-height: 70px; gap: 10px; }
  .site-header .brand img { width: 45px; height: 45px; }
  .brand-copy strong { font-size: .68rem; }
  .menu-toggle { flex: 0 0 42px; width: 42px; height: 42px; }
  .main-nav { top: 70px; inset-inline: 12px; }
  .hero { padding-top: 102px; }
  .hero h1 { font-size: clamp(1.9rem, 10.2vw, 2.65rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .hero-actions .btn { min-width: 0; padding-inline: 14px; }
  .hero-points { gap: 9px 15px; }
  .hero-points span { font-size: .75rem; }
  .section-copy h2, .section-heading h2, .app-copy h2 { font-size: 1.65rem; }
  .install-toast-copy span { max-width: 150px; }
}
@media (max-width: 350px) {
  .brand-copy strong { font-size: .62rem; }
  .hero h1 { font-size: 1.8rem; }
  .install-toast { grid-template-columns: 40px minmax(0,1fr) auto; }
  .install-toast img { width: 40px; height: 40px; }
  .install-toast-copy span { display: none; }
  .install-toast-action { padding-inline: 9px; font-size: .7rem; }
  .install-tabs { grid-template-columns: 1fr; }
}
