:root {
  --navy: #0f2d52;
  --navy7: #234876;
  --blue: #1e66f0;
  --blue6: #1750c4;
  --blue50: #e9f1fe;
  --green: #14c29a;
  --green6: #0fa382;
  --green50: #e7f8f2;
  --amber: #ef9f27;
  --amber50: #fdf3e1;
  --ink: #15233b;
  --ink5: #4d5d74;
  --ink3: #94a0b2;
  --bd: rgba(255, 255, 255, 0.46);
  --s0: transparent;
  --s1: rgba(255, 255, 255, 0.28);
  --s2: rgba(255, 255, 255, 0.22);
  --grad: linear-gradient(135deg, #1e66f0, #14c29a);
  --glass: rgba(255, 255, 255, 0.38);
  --glass-strong: rgba(255, 255, 255, 0.58);
  --glass-tint: rgba(233, 241, 254, 0.42);
  --glass-dark: rgba(15, 45, 82, 0.42);
  --glass-edge: rgba(255, 255, 255, 0.68);
  --glass-edge-dim: rgba(255, 255, 255, 0.22);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.78), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  --blur: 22px;
  --shadow: 0 16px 48px rgba(15, 45, 82, 0.14);
  --shadow-sm: 0 8px 24px rgba(15, 45, 82, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 700px at 8% -10%, rgba(30, 102, 240, 0.22), transparent 55%),
    radial-gradient(900px 640px at 96% 8%, rgba(20, 194, 154, 0.2), transparent 50%),
    radial-gradient(800px 500px at 50% 110%, rgba(15, 45, 82, 0.12), transparent 55%),
    linear-gradient(180deg, #eaf1ff 0%, #f4f8ff 42%, #e7f7f2 100%);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}
html[lang="ar"] body {
  font-family: Tajawal, Inter, sans-serif;
  line-height: 1.7;
}
span[dir="ltr"] { unicode-bidi: isolate; direction: ltr; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button, input { font-family: inherit; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.hand { font-family: Caveat, cursive; color: var(--green); }
html[lang="ar"] .hand { font-family: "Aref Ruqaa", serif; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.orb-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.55;
  animation: orb-float 22s ease-in-out infinite;
}
.orb-a {
  width: 420px; height: 420px;
  top: -120px; left: -80px;
  background: radial-gradient(circle, #1e66f0 0%, transparent 70%);
}
.orb-b {
  width: 380px; height: 380px;
  top: 28%; right: -90px;
  background: radial-gradient(circle, #14c29a 0%, transparent 70%);
  animation-delay: -7s;
}
.orb-c {
  width: 460px; height: 460px;
  bottom: -140px; left: 30%;
  background: radial-gradient(circle, #7aa4ff 0%, transparent 70%);
  animation-delay: -13s;
}
.orb-d {
  width: 280px; height: 280px;
  top: 62%; left: 8%;
  background: radial-gradient(circle, #0f2d52 0%, transparent 70%);
  opacity: 0.28;
  animation-delay: -4s;
}

header, .hero, .trust, .sec, footer, .wa {
  position: relative;
  z-index: 1;
}
header { z-index: 100; }
.wa { z-index: 90; }

.glass,
.pill-card, .cat, .ncard, .qa, .pay, .hcard, .float, .lang, .burger,
.stat, .step, .side, .cta, .hero-trust span, .eyebrow {
  background: var(--glass);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%);
  backdrop-filter: blur(var(--blur)) saturate(180%);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-inset), var(--shadow-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--glass-edge);
  border-radius: 16px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transform: translateZ(0);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  box-shadow: var(--glass-inset), var(--shadow-sm);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.28s ease,
    background 0.28s ease,
    background-position 0.45s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    box-shadow 0.28s ease;
}
html[lang="ar"] .btn { font-size: 16px; }
.btn i {
  display: inline-flex;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  animation: icon-idle 3.6s ease-in-out infinite;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.55) 50%, transparent 80%);
  transform: translateX(-130%) skewX(-12deg);
  pointer-events: none;
  z-index: 1;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-3px) scale(1.04);
}
.btn:hover i,
.btn:focus-visible i {
  animation: icon-pop 0.55s ease;
  transform: translateX(3px);
}
html[dir="rtl"] .btn:hover i,
html[dir="rtl"] .btn:focus-visible i {
  transform: translateX(-3px);
}
.btn:hover::after,
.btn:focus-visible::after {
  animation: btn-shine 0.7s ease;
}
html[dir="rtl"] .btn::after {
  transform: translateX(130%) skewX(12deg);
}
html[dir="rtl"] .btn:hover::after,
html[dir="rtl"] .btn:focus-visible::after {
  animation: btn-shine-rtl 0.7s ease;
}
.btn:active {
  transform: translateY(0) scale(0.96);
  transition-duration: 0.12s;
}
.btn-grad {
  background: linear-gradient(135deg, rgba(30, 102, 240, 0.82), rgba(20, 194, 154, 0.82));
  background-size: 180% 180%;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  filter: drop-shadow(0 8px 18px rgba(30, 102, 240, 0.28));
  animation: grad-shift 5.5s ease-in-out infinite;
}
.btn-grad:hover,
.btn-grad:focus-visible {
  filter: drop-shadow(0 14px 26px rgba(20, 194, 154, 0.42));
}
.btn-navy {
  background: rgba(15, 45, 82, 0.72);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  filter: drop-shadow(0 8px 16px rgba(15, 45, 82, 0.28));
}
.btn-navy:hover,
.btn-navy:focus-visible { background: rgba(11, 35, 64, 0.82); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.4);
  color: var(--navy);
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: rgba(30, 102, 240, 0.45);
  color: var(--blue6);
  background: rgba(233, 241, 254, 0.55);
}
.btn-white {
  background: rgba(255, 255, 255, 0.62);
  color: var(--navy);
}
.btn-white:hover,
.btn-white:focus-visible {
  filter: drop-shadow(0 10px 18px rgba(15, 45, 82, 0.16));
  background: rgba(255, 255, 255, 0.78);
}
.hero-cta .btn-grad,
.cta-row .btn-grad {
  animation: grad-shift 5.5s ease-in-out infinite, btn-pulse 2.4s ease-in-out infinite;
}
.btn-grad:hover,
.btn-grad:focus-visible {
  animation-play-state: paused;
}
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: btn-ripple 0.6s ease-out;
  pointer-events: none;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue6);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}
html[lang="ar"] .eyebrow { font-size: 14px; letter-spacing: 0; }
.sec { padding: 74px 0; }
.sec h2 { font-size: 34px; font-weight: 800; line-height: 1.25; letter-spacing: -0.6px; }
html[lang="ar"] .sec h2 { line-height: 1.3; letter-spacing: -0.5px; }
.sec .lead { font-size: 17px; color: var(--ink5); max-width: 600px; margin-top: 12px; }
html[lang="ar"] .sec .lead { max-width: 620px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

.glass-band {
  background: rgba(255, 255, 255, 0.22) !important;
  -webkit-backdrop-filter: blur(28px) saturate(170%);
  backdrop-filter: blur(28px) saturate(170%);
  border-block: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

header {
  position: sticky;
  top: 12px;
  z-index: 100;
  margin: 12px 16px 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-inset), 0 12px 40px rgba(15, 45, 82, 0.12);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 12px;
  min-width: 0;
  flex-wrap: nowrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  flex-shrink: 0;
  white-space: nowrap;
}
.logo-mark {
  width: 40px;
  height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(15, 45, 82, 0.18));
}
.logo-word { letter-spacing: -0.4px; }
.logo-sub {
  font-weight: 500;
  color: var(--ink5);
  font-size: 15px;
}
.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink5);
}
.nav-links a {
  padding: 6px 9px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease;
}
.nav-links a:hover {
  color: var(--blue6);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.38);
}
.nav-cta { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.nav .btn { padding: 10px 14px; font-size: 13px; border-radius: 12px; }
.btn-login {
  background: linear-gradient(180deg, #3b82f6 0%, #1e66f0 52%, #1750c4 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  filter: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 8px 22px rgba(30, 102, 240, 0.42);
  animation: login-glow 2.8s ease-in-out infinite;
}
.btn-login:hover,
.btn-login:focus-visible {
  background: linear-gradient(180deg, #5b94f7 0%, #1e66f0 48%, #1a5ae0 100%);
  filter: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.62),
    0 12px 28px rgba(30, 102, 240, 0.52);
  animation-play-state: paused;
}
.nav .btn-login { white-space: nowrap; }
@media (min-width: 981px) {
  .nav-cta .btn-download { display: none; }
}

.lang {
  display: flex;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang a {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--ink5);
  position: relative;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}
.lang a:hover {
  transform: scale(1.08);
  color: var(--navy);
}
.lang a.on, .lang a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy);
  box-shadow: var(--glass-inset), var(--shadow-sm);
}
.lang a:active { transform: scale(0.94); }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--navy);
  font-size: 22px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}
.burger:hover {
  transform: scale(1.08) rotate(-8deg);
  color: var(--blue6);
}
.burger:active { transform: scale(0.92) rotate(0deg); }
.mobile-panel {
  display: none;
  border-top: 1px solid var(--glass-edge-dim);
  padding: 12px 22px 22px;
}
.mobile-panel a {
  display: block;
  padding: 12px 0;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  transition: color 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), padding 0.22s ease;
}
.mobile-panel a:hover {
  color: var(--blue6);
  padding-inline-start: 6px;
}
.mobile-panel .m-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
  border: none;
  padding: 0;
}
.mobile-panel .m-cta .btn { justify-content: center; width: 100%; }
body.nav-open .mobile-panel { display: block; }
body.nav-open .burger .ti-menu-2 { display: none; }
body.nav-open .burger .ti-x { display: inline; }
.burger .ti-x { display: none; }

@media (max-width: 980px) {
  .nav-links,
  .nav-cta > .btn { display: none; }
  .burger { display: inline-flex; }
  .logo-sub { display: none; }
  .lang a { padding: 5px 8px; }
  .nav-cta { gap: 8px; }
  header { top: 8px; margin: 8px 10px 0; }
}

.hero {
  margin: 18px 16px 0;
  border-radius: 32px;
  color: #fff;
  overflow: hidden;
  padding: 76px 0 90px;
  background:
    radial-gradient(1000px 480px at 15% -10%, rgba(20, 194, 154, 0.38), transparent 60%),
    radial-gradient(900px 460px at 95% 110%, rgba(30, 102, 240, 0.42), transparent 60%),
    linear-gradient(160deg, rgba(15, 45, 82, 0.82), rgba(15, 45, 82, 0.7));
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--glass-inset), 0 24px 60px rgba(15, 45, 82, 0.22);
}
html[dir="rtl"] .hero {
  background:
    radial-gradient(1000px 480px at 85% -10%, rgba(20, 194, 154, 0.38), transparent 60%),
    radial-gradient(900px 460px at 5% 110%, rgba(30, 102, 240, 0.42), transparent 60%),
    linear-gradient(200deg, rgba(15, 45, 82, 0.82), rgba(15, 45, 82, 0.7));
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}
.hero .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: #cfe0ff;
  border-color: rgba(255, 255, 255, 0.22);
}
.hero h1 { font-size: 52px; font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; color: #fff; }
html[lang="ar"] .hero h1 { line-height: 1.18; letter-spacing: -1px; }
.hero h1 .g {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.sub { font-size: 18px; color: #c6d3e6; margin: 18px 0 26px; max-width: 520px; }
html[lang="ar"] .hero p.sub { font-size: 19px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-cta .btn-white {
  background: #fff;
  color: #0f2d52;
  border-color: #fff;
}
.hero-trust { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: #9fb2cc; background: none; border: 0; box-shadow: none; backdrop-filter: none; }
.hero-trust span {
  color: #9fb2cc;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}
.hero-trust b { color: #fff; }
.hero-visual { position: relative; }
.hcard {
  color: #15233b;
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  border: 0;
  box-shadow: 0 12px 40px rgba(15, 45, 82, 0.1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.hcard .rowx {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 6px;
  border-bottom: 1px solid #eef2f8;
}
.hcard .rowx:last-child { border: none; }
.hcard .rowx > div > div:first-child { color: #15233b; }
.hcard .rowx > div > div:last-child { color: #5f6b7e !important; }
.av {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e9f1fe;
  color: #1750c4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  border: 0;
  box-shadow: none;
}
.pill {
  margin-inline-start: auto;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  border-radius: 999px;
  padding: 6px 12px;
  white-space: nowrap;
  border: 0;
  box-shadow: none;
}
.float {
  position: absolute;
  border-radius: 14px;
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 0;
  box-shadow: 0 12px 40px rgba(15, 45, 82, 0.1);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.float.a { top: -18px; right: -14px; color: #0fa382; }
.float.b { bottom: -16px; left: -10px; color: #1750c4; }
html[dir="rtl"] .float.a { right: auto; left: -14px; }
html[dir="rtl"] .float.b { left: auto; right: -10px; }

@media (max-width: 900px) {
  .hero { margin: 12px 10px 0; border-radius: 24px; padding: 56px 0 64px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; letter-spacing: -0.8px; }
  .hero-visual { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 8px; }
  .sec h2 { font-size: 28px; }
  .cta { padding: 40px 20px; }
  .cta h2 { font-size: 26px; }
}

.trust {
  margin: 14px 16px 0;
  border-radius: 18px;
  padding: 16px 0;
}
.trust .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink5);
}
.pay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 7px 14px;
  font-weight: 700;
  font-size: 13px;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.2px;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    color 0.35s ease,
    background 0.35s ease;
  animation:
    pay-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both,
    pay-breathe 3.6s ease-in-out 0.7s infinite;
}
.pay::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.65) 50%, transparent 75%);
  transform: translateX(-130%);
  pointer-events: none;
  animation: pay-shimmer 5.2s ease-in-out infinite;
}
.pay:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.06);
}
.pay:hover::before { animation: btn-shine 0.85s ease; }
html[dir="rtl"] .pay:hover::before { animation: btn-shine-rtl 0.85s ease; }
.pay:hover img { animation: icon-pop 0.55s ease; }
.trust .pay:nth-child(2) { animation-delay: 0.05s, 0.75s; }
.trust .pay:nth-child(2)::before { animation-delay: 0.4s; }
.trust .pay:nth-child(3) { animation-delay: 0.12s, 1.1s; }
.trust .pay:nth-child(3)::before { animation-delay: 1.1s; }
.trust .pay:nth-child(4) { animation-delay: 0.19s, 1.45s; }
.trust .pay:nth-child(4)::before { animation-delay: 1.8s; }
.trust .pay:nth-child(5) { animation-delay: 0.26s, 1.8s; }
.trust .pay:nth-child(5)::before { animation-delay: 2.5s; }
.trust .pay:nth-child(6) { animation-delay: 0.33s, 2.15s; }
.trust .pay:nth-child(6)::before { animation-delay: 3.2s; }
.pay.mada {
  color: #087a54;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(8, 122, 84, 0.14));
  border-color: rgba(8, 122, 84, 0.28);
}
.pay.mada:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 26px rgba(8, 122, 84, 0.28); }
.pay.apple {
  color: #111;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(20, 20, 20, 0.08));
  border-color: rgba(0, 0, 0, 0.14);
}
.pay.apple:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 12px 26px rgba(0, 0, 0, 0.16); }
.pay.stc {
  color: #4f008c;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(79, 0, 140, 0.12));
  border-color: rgba(79, 0, 140, 0.22);
}
.pay.stc:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 26px rgba(79, 0, 140, 0.24); }
.pay.tabby {
  color: #0e9a6a;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(22, 180, 127, 0.16));
  border-color: rgba(22, 180, 127, 0.3);
}
.pay.tabby:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 26px rgba(22, 180, 127, 0.28); }
.pay.tamara {
  color: #0e3a2f;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(14, 58, 47, 0.14));
  border-color: rgba(14, 58, 47, 0.24);
}
.pay.tamara:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 12px 26px rgba(14, 58, 47, 0.22); }
.pay img {
  height: 16px;
  width: auto;
  max-width: 68px;
  display: block;
  position: relative;
  z-index: 1;
  pointer-events: none;
  object-fit: contain;
  animation: pay-logo-float 3.2s ease-in-out infinite;
}
.pay.mada img { height: 18px; max-width: 72px; animation-delay: 0s; }
.pay.apple img { height: 16px; max-width: 62px; animation-delay: 0.35s; }
.pay.stc img { height: 16px; max-width: 72px; animation-delay: 0.7s; }
.pay.tabby img { height: 20px; max-width: 68px; animation-delay: 1.05s; }
.pay.tamara img { height: 14px; max-width: 72px; animation-delay: 1.4s; }

i.ti {
  display: inline-flex;
  animation: icon-idle 3.8s ease-in-out infinite;
}
.eyebrow i.ti { animation: icon-twinkle 2.6s ease-in-out infinite; }
.ti-sparkles { animation: icon-twinkle 2.2s ease-in-out infinite; }
.ti-star { animation: icon-spin-slow 10s linear infinite; color: var(--amber); }
.ti-bolt { animation: icon-flash 2.8s ease-in-out infinite; }
.ti-download { animation: icon-bounce 2.4s ease-in-out infinite; }
.ti-trending-up { animation: icon-rise 2.6s ease-in-out infinite; }
.ti-rocket { animation: icon-rise 2.2s ease-in-out infinite; }
.ti-circle-check { animation: icon-idle 3.2s ease-in-out infinite; }
.pill-ic i,
.cat i,
.social a i,
.float i,
.av i,
.qa i,
.wa i {
  animation: icon-idle 3.6s ease-in-out infinite;
}
.eyebrow:hover i,
.pill-card:hover .pill-ic i,
.cat:hover i,
.float:hover i,
.qa:hover i,
.social a:hover i,
.pay:hover i {
  animation: icon-pop 0.55s ease;
}

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.pill-card {
  border-radius: 22px;
  padding: 26px;
  text-align: start;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, background 0.28s ease;
}
.pill-card:hover {
  transform: translateY(-4px);
  background: var(--glass-strong);
  box-shadow: var(--glass-inset), var(--shadow);
}
.pill-ic {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--glass-inset);
}
.pill-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.pill-card p { color: var(--ink5); font-size: 15px; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } }

.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 36px; }
.side { border-radius: 26px; padding: 34px; position: relative; overflow: hidden; text-align: start; }
.side.learn {
  background: rgba(233, 241, 254, 0.46);
  color: var(--ink);
}
.side.expert {
  background: rgba(15, 45, 82, 0.62);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.side h3 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.side .k {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: 10px;
}
html[lang="ar"] .side .k { font-size: 14px; letter-spacing: 0.5px; }
.side ul { list-style: none; margin: 16px 0 22px; }
.side li { display: flex; gap: 9px; align-items: flex-start; margin-bottom: 9px; font-size: 15px; }
.side li i { color: var(--green); margin-top: 4px; }
@media (max-width: 800px) { .dual { grid-template-columns: 1fr; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.step { text-align: center; padding: 22px 16px; border-radius: 22px; }
.step .num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(30, 102, 240, 0.9), rgba(20, 194, 154, 0.9));
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--glass-inset);
}
.step h4 { font-size: 18px; font-weight: 800; margin-bottom: 5px; }
.step p { color: var(--ink5); font-size: 14px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.cat {
  border-radius: 18px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease;
}
.cat:hover {
  color: var(--blue6);
  transform: translateY(-4px) scale(1.02);
  background: var(--glass-strong);
  box-shadow: var(--glass-inset), var(--shadow);
}
.cat:active { transform: translateY(0) scale(0.98); }
.cat i {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(233, 241, 254, 0.7);
  color: var(--blue6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 800px) { .cats { grid-template-columns: 1fr 1fr; } }

.statsec {
  margin: 0 16px;
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(800px 360px at 20% 0%, rgba(20, 194, 154, 0.28), transparent 60%),
    rgba(15, 45, 82, 0.72);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--glass-inset), var(--shadow);
}
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 8px; }
.stat {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 26px 18px;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: default;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
}
.stat::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.28) 50%, transparent 75%);
  transform: translateX(-130%);
  pointer-events: none;
}
.stat:hover {
  transform: translateY(-6px) scale(1.03);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.36);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 16px 36px rgba(30, 102, 240, 0.28);
}
.stat:hover::before { animation: btn-shine 0.85s ease; }
html[dir="rtl"] .stat:hover::before { animation: btn-shine-rtl 0.85s ease; }
.stat .big {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat:hover .big { transform: scale(1.1); }
html[lang="ar"] .stat .big { font-size: 38px; }
.stat .lbl {
  font-size: 14px;
  color: #c6d3e6;
  margin-top: 8px;
  font-weight: 600;
  transition: color 0.35s ease;
}
.stat:hover .lbl { color: #fff; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }

.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.ncard {
  border-radius: 22px;
  overflow: hidden;
  text-align: start;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, background 0.28s ease;
}
.ncard:hover {
  box-shadow: var(--glass-inset), var(--shadow);
  transform: translateY(-4px);
  background: var(--glass-strong);
}
.ncard .thumb {
  height: 150px;
  background: linear-gradient(135deg, rgba(30, 102, 240, 0.9), rgba(20, 194, 154, 0.9));
  position: relative;
}
.ncard .thumb.b { background: linear-gradient(135deg, rgba(15, 45, 82, 0.9), rgba(30, 102, 240, 0.9)); }
.ncard .thumb.c { background: linear-gradient(135deg, rgba(20, 194, 154, 0.9), rgba(15, 163, 130, 0.9)); }
.ncard .tag {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}
.ncard .body { padding: 18px; }
.ncard h4 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.ncard p { font-size: 14px; color: var(--ink5); }
.ncard .date { font-size: 12px; color: var(--ink3); margin-top: 10px; }
@media (max-width: 800px) { .news { grid-template-columns: 1fr; } }

.faq { max-width: 760px; margin: 32px auto 0; text-align: start; }
.qa {
  border-radius: 18px;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.qa h4 { font-size: 16px; font-weight: 800; display: flex; gap: 9px; align-items: flex-start; }
.qa h4 i { color: var(--blue); margin-top: 3px; }
.qa p { font-size: 14px; color: var(--ink5); margin-top: 7px; padding-inline-start: 28px; }

.cta {
  color: #fff;
  border-radius: 30px;
  padding: 52px 34px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(30, 102, 240, 0.62), rgba(20, 194, 154, 0.62));
  border-color: rgba(255, 255, 255, 0.38);
}
.cta h2 { font-size: 32px; font-weight: 800; }
.cta p { font-size: 17px; opacity: 0.95; margin: 10px auto 24px; max-width: 560px; }
.cta .btn-white { padding: 15px 30px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-note { font-size: 13px; opacity: 0.9; margin-top: 16px; font-weight: 600; }

footer {
  margin: 18px 16px 16px;
  border-radius: 28px;
  color: #c5d4e8;
  padding: 54px 0 26px;
  background: rgba(10, 28, 52, 0.66);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--glass-inset), var(--shadow);
}
.fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.fcol { text-align: start; }
.fcol h5 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.fcol a {
  display: block;
  font-size: 14px;
  margin-bottom: 9px;
  color: #9fb2cc;
  transition: color 0.22s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
.fcol a:hover {
  color: #fff;
  transform: translateX(4px);
}
html[dir="rtl"] .fcol a:hover { transform: translateX(-4px); }
.footer-logo { height: 56px; width: auto; margin-bottom: 14px; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2)); }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--glass-inset);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), background 0.28s ease;
}
.social a:hover {
  background: linear-gradient(135deg, rgba(30, 102, 240, 0.85), rgba(20, 194, 154, 0.85));
  transform: translateY(-4px) rotate(-8deg) scale(1.1);
}
.social a:active { transform: translateY(0) scale(0.94); }
.fbottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 34px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}
@media (max-width: 800px) {
  .fgrid { grid-template-columns: 1fr 1fr; }
  .trust, .statsec, footer { margin-inline: 10px; }
}

.wa {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.72);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: var(--glass-inset), 0 8px 22px rgba(37, 211, 102, 0.35);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  animation: wa-pulse 2.2s ease-in-out infinite;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: visible;
}
.wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: wa-ring 2.2s ease-out infinite;
}
.wa-mascot {
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  width: 132px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(18px) scale(0.42);
  transform-origin: 80% 100%;
  filter: drop-shadow(0 12px 20px rgba(15, 45, 82, 0.28));
  transition:
    opacity 0.22s ease,
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}
.wa-boy {
  width: 100%;
  height: auto;
  display: block;
  background: none;
  transform-origin: 72% 92%;
  backface-visibility: hidden;
  will-change: transform;
}
.wa > i {
  position: relative;
  z-index: 3;
}
.wa:hover,
.wa:focus-visible,
.wa.is-open {
  transform: scale(1.08);
  animation: none;
}
.wa:hover .wa-mascot,
.wa:focus-visible .wa-mascot,
.wa.is-open .wa-mascot {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.wa:hover .wa-boy,
.wa:focus-visible .wa-boy,
.wa.is-open .wa-boy {
  animation: boy-wave 1.6s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}
.wa:active { transform: scale(0.94); }
@media (max-width: 600px) {
  .wa { right: 16px; bottom: 16px; }
  .wa-mascot { width: 108px; right: 4px; }
}

@keyframes btn-shine {
  to { transform: translateX(130%) skewX(-12deg); }
}
@keyframes btn-shine-rtl {
  to { transform: translateX(-130%) skewX(12deg); }
}
@keyframes grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
@keyframes btn-pulse {
  0%, 100% { filter: drop-shadow(0 8px 18px rgba(30, 102, 240, 0.28)); }
  50% { filter: drop-shadow(0 14px 28px rgba(20, 194, 154, 0.48)); }
}
@keyframes wa-pulse {
  0%, 100% { box-shadow: var(--glass-inset), 0 8px 22px rgba(37, 211, 102, 0.35); transform: scale(1); }
  50% { box-shadow: var(--glass-inset), 0 12px 28px rgba(37, 211, 102, 0.5); transform: scale(1.06); }
}
@keyframes wa-ring {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes boy-wave {
  from { transform: rotate(-11deg) translate3d(-1px, 1px, 0); }
  to { transform: rotate(10deg) translate3d(2px, -2px, 0); }
}
@keyframes btn-ripple {
  to { transform: scale(2.6); opacity: 0; }
}
@keyframes login-glow {
  0%, 100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      0 8px 20px rgba(30, 102, 240, 0.38);
  }
  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      0 10px 28px rgba(30, 102, 240, 0.58);
  }
}
@keyframes orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(40px, -30px, 0) scale(1.08); }
}
@keyframes icon-idle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes icon-pop {
  0% { transform: scale(1) rotate(0deg); }
  35% { transform: scale(1.22) rotate(-10deg); }
  100% { transform: scale(1) rotate(0deg); }
}
@keyframes icon-twinkle {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 0 transparent); }
  50% { opacity: 0.7; filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9)); }
}
@keyframes icon-spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes icon-flash {
  0%, 100% { opacity: 1; transform: scale(1); }
  40% { opacity: 0.55; transform: scale(0.92); }
  55% { opacity: 1; transform: scale(1.12); }
}
@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  40% { transform: translateY(3px); }
  70% { transform: translateY(-3px); }
}
@keyframes icon-rise {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes pay-rise {
  from { opacity: 0; transform: translateY(10px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes pay-breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
@keyframes pay-logo-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-2px) scale(1.04); }
}
@keyframes pay-shimmer {
  0%, 72%, 100% { transform: translateX(-130%); }
  84% { transform: translateX(130%); }
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .glass, .pill-card, .cat, .ncard, .qa, .pay, .hcard, .float, .lang, .burger,
  .stat, .step, .side, .cta, header, .trust, .statsec, footer, .btn {
    background: rgba(255, 255, 255, 0.92);
  }
  .hero, .statsec, footer, .side.expert, .btn-grad, .btn-navy, .wa {
    background: var(--navy);
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .btn:hover,
  .btn:focus-visible,
  .btn:active,
  .cat:hover,
  .social a:hover,
  .wa:hover,
  .burger:hover,
  .lang a:hover,
  .stat:hover,
  .stat:hover .big,
  .pay:hover,
  .pay:hover img,
  .wa:hover .wa-boy,
  .wa:hover .wa-mascot,
  .wa.is-open .wa-boy,
  .wa.is-open .wa-mascot {
    transform: none;
  }
  .wa:hover .wa-mascot,
  .wa:focus-visible .wa-mascot,
  .wa.is-open .wa-mascot { opacity: 1; }
  .btn-login {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.55),
      0 8px 20px rgba(30, 102, 240, 0.38);
  }
}
