:root {
  --navy-900: #12142a;
  --navy-800: #1a1d3a;
  --navy-700: #232752;
  --blue-500: #2c5fd9;
  --blue-400: #4a7bff;
  --red-500: #e8262b;
  --red-600: #c81f24;
  --white: #ffffff;
  --off-white: #eef0fb;
  --muted: #a6acd6;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-lg: 0 30px 60px -20px rgba(10, 12, 30, 0.55);
  --shadow-md: 0 15px 35px -15px rgba(10, 12, 30, 0.45);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: var(--navy-900);
  color: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

[dir="rtl"] body,
[dir="rtl"] button,
[dir="rtl"] input {
  font-family: 'Cairo', 'Poppins', sans-serif;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(600px circle at 15% 0%, rgba(74, 123, 255, 0.25), transparent 60%),
    radial-gradient(700px circle at 90% 20%, rgba(232, 38, 43, 0.15), transparent 60%),
    var(--navy-900);
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-500);
  margin-bottom: 12px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--white);
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
p { color: var(--muted); margin: 0 0 16px; }

.accent { color: var(--red-500); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--red-500), var(--red-600));
  color: var(--white);
  box-shadow: 0 12px 24px -8px rgba(232, 38, 43, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(232, 38, 43, 0.65); }
.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-color: rgba(255,255,255,0.16);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(18, 20, 42, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.brand-logo { width: 34px; height: 34px; }
.brand em { color: var(--red-500); font-style: normal; }

.main-nav {
  display: flex;
  gap: 32px;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--off-white);
  opacity: 0.85;
  transition: opacity 0.2s;
}
.main-nav a:hover { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 16px; }

.lang-toggle {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--white);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: 'Cairo', 'Poppins', sans-serif;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lang-toggle:hover { background: rgba(255,255,255,0.12); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { width: 100%; height: 2px; background: var(--white); border-radius: 2px; }

/* Hero */
.hero { padding: 90px 0 60px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 1.5rem; color: var(--white); }
.stat span { font-size: 0.82rem; color: var(--muted); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-mock {
  width: 290px;
  border-radius: 42px;
  background: #0c0e22;
  border: 8px solid #0c0e22;
  box-shadow: var(--shadow-lg);
  padding: 14px 10px;
  position: relative;
  overflow: hidden;
}
.phone-notch {
  width: 90px;
  height: 18px;
  background: #0c0e22;
  border-radius: 0 0 14px 14px;
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.phone-img {
  width: 100%;
  border-radius: 28px;
  display: block;
}

.phone-mock-sm { width: 220px; padding: 10px 8px; }
.phone-mock-sm .phone-notch { width: 70px; height: 14px; top: 10px; }

.floating-badge {
  position: absolute;
  background: var(--white);
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}
.badge-1 { top: 8%; left: -6%; }
.badge-2 { bottom: 10%; right: -6%; animation-delay: 1.5s; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Logo strip */
.logo-strip { padding: 30px 0; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.logo-strip p { text-align: center; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.logo-strip-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--muted);
  opacity: 0.8;
}

/* Sections */
.section { padding: 90px 0; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(255,255,255,0.02), transparent); }
.section-head { max-width: 620px; margin: 0 auto 50px; text-align: center; }
.section-head p { margin: 0 auto; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}
.step-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--red-500);
  opacity: 0.6;
  margin-bottom: 10px;
}
.step-card p { margin-bottom: 0; }

/* App screens */
.screens-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.screen-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.screen-item figcaption {
  font-weight: 600;
  color: var(--off-white);
  font-size: 0.92rem;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(232,38,43,0.4); }
.feature-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: rgba(232,38,43,0.14);
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.feature-card p { margin-bottom: 0; }

/* Rewards */
.rewards-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.rewards-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; }
.rewards-list li {
  color: var(--off-white);
  padding-inline-start: 28px;
  position: relative;
}
.rewards-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--red-500);
  font-weight: 700;
}
.rewards-cards { display: flex; flex-direction: column; gap: 16px; }
.reward-card {
  border-radius: var(--radius-md);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.reward-tag {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 0.68rem;
  background: rgba(255,255,255,0.25);
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--white);
}
.reward-card h4 { margin: 0 0 4px; color: var(--white); }
.reward-card p { margin: 0; color: rgba(255,255,255,0.85); }
.reward-green { background: linear-gradient(135deg, #3f5f52, #2b3f38); }
.reward-olive { background: linear-gradient(135deg, #5c7a3a, #3d5227); }
.reward-light { background: linear-gradient(135deg, #e6e2d8, #cfc9ba); }
.reward-light h4, .reward-light p { color: #2a2a2a; }

/* Partners */
.partner-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.partner-pill {
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.08);
  font-weight: 600;
  color: var(--off-white);
}

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 18px 24px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--white);
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: inline-end; color: var(--red-500); font-size: 1.2rem; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 14px 0 0; }

/* CTA */
.cta {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--blue-500), var(--navy-900));
  text-align: center;
}
.cta h2 { margin-bottom: 8px; }
.cta p { color: rgba(255,255,255,0.85); }
.store-buttons { display: flex; gap: 16px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex;
  transition: transform 0.2s ease;
}
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 56px; width: auto; display: block; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-size: 0.88rem; color: var(--muted); }
.footer-copy { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .rewards-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 20px; }
  .steps-grid, .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-800);
    flex-direction: column;
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .btn.btn-primary.header-cta { display: none; }
  .steps-grid, .features-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
