/* ============= RESET & TOKENS ============= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  /* Brand colors */
  --navy: #25285e;
  --navy-light: #353a7a;
  --navy-dark: #1a1c45;
  --green: #45b249;
  --green-light: #5dc861;
  --green-dark: #339937;

  /* Accents (vibrant) */
  --orange: #ff6b35;
  --yellow: #ffc857;
  --pink: #ff5d8f;
  --sky: #5bc0eb;

  /* Neutrals */
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --bg-alt: #f1f3fa;
  --text: #1a1c2e;
  --text-soft: #5a6175;
  --text-mute: #8b91a6;
  --border: #e6e8f0;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(37, 40, 94, 0.06);
  --shadow-md: 0 8px 24px rgba(37, 40, 94, 0.10);
  --shadow-lg: 0 20px 50px rgba(37, 40, 94, 0.15);
  --shadow-xl: 0 30px 80px rgba(37, 40, 94, 0.20);

  /* Radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 32px;

  /* Fonts */
  --font-ar: 'Cairo', system-ui, sans-serif;
  --font-en: 'Poppins', system-ui, sans-serif;

  /* Layout */
  --container: 1200px;
  --container-narrow: 800px;
  --header-h: 76px;
}

html[lang="ar"] body { font-family: var(--font-ar); }
html[lang="en"] body { font-family: var(--font-en); }

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

/* Skip-to-content link (visible only on keyboard focus) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 12px 0;
  z-index: 1000;
  font-weight: 700;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow { max-width: var(--container-narrow); }

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 20px rgba(69, 178, 73, 0.35);
}
.btn--primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(69, 178, 73, 0.45); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--sm { padding: 10px 22px; font-size: 14px; }

/* ============= HEADER ============= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.header.is-scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}
.logo__img { height: 38px; width: auto; display: block; }

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav__link {
  font-weight: 600;
  font-size: 15px;
  color: var(--text-soft);
  position: relative;
  transition: color .2s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width .25s ease;
  border-radius: 2px;
}
.nav__link:hover { color: var(--navy); }
.nav__link:hover::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-toggle {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-alt);
  font-weight: 800;
  font-size: 12px;
  color: var(--navy);
  transition: background .2s ease, transform .2s ease;
}
.lang-toggle:hover { background: var(--navy); color: #fff; transform: scale(1.05); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  padding: 6px;
}
.menu-toggle span {
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ============= HERO ============= */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7f8fc 0%, #ffffff 100%);
}
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  animation: float 10s ease-in-out infinite;
}
.blob--1 { width: 420px; height: 420px; background: var(--green); top: -120px; left: -120px; }
.blob--2 { width: 380px; height: 380px; background: var(--navy); top: 40%; right: -100px; opacity: 0.25; animation-delay: -3s; }
.blob--3 { width: 300px; height: 300px; background: var(--orange); bottom: -100px; left: 30%; opacity: 0.18; animation-delay: -6s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.05); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(69, 178, 73, 0.12);
  color: var(--green-dark);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.15;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 20px;
}
.hero__title span { display: block; }
.rot-slot { display: block; animation: tagFadeIn .55s ease both; }
@keyframes tagFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__title--accent {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  padding: 10px 18px;
  background: linear-gradient(90deg, rgba(37, 40, 94, 0.06), rgba(69, 178, 73, 0.06));
  border: 1px solid rgba(37, 40, 94, 0.10);
  border-radius: 14px;
  font-family: var(--font-en);
  direction: ltr;
}
.tagline-mark {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--green);
  letter-spacing: 0.5px;
  position: relative;
  padding-inline-end: 14px;
}
.tagline-mark::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 18px;
  background: var(--border);
}
html[dir="rtl"] .tagline-mark::after { right: auto; left: 0; }
.tagline-text {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.92rem;
  color: var(--text-soft);
}
.tl-word {
  display: inline-flex;
  align-items: baseline;
}
.tl-word b {
  color: var(--navy);
  font-weight: 800;
  font-size: 1.1rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-soft);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px;
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.store-btn:hover {
  background: var(--navy-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(37, 40, 94, 0.30);
}
.store-btn--dark { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); }
.store-btn--dark:hover { background: rgba(255,255,255,0.25); }
.store-btn span { display: flex; flex-direction: column; line-height: 1.2; text-align: start; }
.store-btn small { font-size: 10px; opacity: 0.85; }
.store-btn strong { font-size: 16px; font-weight: 700; }

.hero__stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.stat strong small { font-size: 1rem; color: var(--green); }
.stat span {
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 4px;
  display: block;
}

/* ============= HERO PHONE ============= */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 580px;
}
.phone {
  position: relative;
  width: 280px;
  height: 560px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255,255,255,0.05) inset;
  animation: bobUp 6s ease-in-out infinite;
}
@keyframes bobUp {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(-2deg); }
}
.phone__screen {
  width: 100%;
  height: 100%;
  background: var(--bg-soft);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}
.phone__notch {
  position: absolute;
  top: 8px; left: 50%;
  transform: translateX(-50%);
  width: 80px; height: 18px;
  background: var(--navy-dark);
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.phone__content {
  padding: 36px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.phone__topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}
.phone__search {
  background: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--text-mute);
  box-shadow: var(--shadow-sm);
}
.phone__categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.pc-item {
  background: #fff;
  border-radius: 10px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: var(--navy);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.pc-item span { font-size: 18px; }
.phone__card {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.pcard__img {
  width: 42px; height: 42px;
  background: var(--bg-alt);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 22px;
}
.pcard__info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pcard__info strong { font-size: 11px; color: var(--navy); font-weight: 700; }
.pcard__info span { font-size: 9px; color: var(--text-mute); }
.pcard__price {
  font-size: 13px; font-weight: 800; color: var(--green);
}
.pcard__price small { font-size: 9px; }

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatY 4s ease-in-out infinite;
}
.floating-card strong { display: block; font-size: 13px; color: var(--navy); font-weight: 700; }
.floating-card span { display: block; font-size: 11px; color: var(--text-mute); }
.fc__icon {
  width: 36px; height: 36px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.fc__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}
.fc__icon--orange { background: var(--orange); }
.fc-1 { top: 12%; left: -20px; animation-delay: -1s; }
.fc-2 { bottom: 14%; right: -10px; animation-delay: -3s; }
html[dir="rtl"] .fc-1 { left: auto; right: -20px; }
html[dir="rtl"] .fc-2 { right: auto; left: -10px; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============= SECTIONS ============= */
.section { padding: 100px 0; }
.section--alt { background: var(--bg-soft); }
.section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(37, 40, 94, 0.08);
  color: var(--navy);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}
.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}
.section__sub {
  font-size: 1.05rem;
  color: var(--text-soft);
}

/* ============= CATEGORIES ============= */
/* ============= APP CARDS (services) ============= */
.text-green { color: var(--green); }

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.app-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 36px 32px;
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.app-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-bg, transparent);
  opacity: 0.04;
  pointer-events: none;
}
.app-card--del { --accent: var(--navy); --accent-bg: var(--navy); }
.app-card--market { --accent: var(--green); --accent-bg: var(--green); }
.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.app-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(37, 40, 94, 0.10);
  color: var(--navy);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.app-card__badge--green {
  background: rgba(69, 178, 73, 0.15);
  color: var(--green-dark);
}
.app-card__badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.app-card__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.app-card__logo {
  width: 70px; height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(37, 40, 94, 0.25);
  flex-shrink: 0;
}
.app-card__logo svg {
  width: 38px;
  height: 38px;
  display: block;
}
.app-card__logo--green {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  box-shadow: 0 10px 24px rgba(69, 178, 73, 0.30);
}
.app-card__name {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1;
}
.app-card__tag {
  font-size: 14px;
  color: var(--text-soft);
  font-weight: 600;
}
.app-card__desc {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.app-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--bg-alt);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  transition: background .2s ease, transform .2s ease;
}
.app-card:hover .chip {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.apps-cta {
  text-align: center;
  padding: 36px;
  background: linear-gradient(135deg, rgba(37, 40, 94, 0.04), rgba(69, 178, 73, 0.04));
  border-radius: var(--r-xl);
  border: 1px dashed rgba(37, 40, 94, 0.20);
}
.apps-cta p {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
}
.apps-cta .hero__cta {
  margin-bottom: 0;
  justify-content: center;
}

/* Phone tabs (for DEL/Market toggle in mockup) */
.phone__tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}
.phone__tab {
  padding: 8px 6px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--text-mute);
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.phone__tab.is-active {
  background: var(--navy);
  color: #fff;
}

/* ============= FEATURES ============= */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* 5-card layout: 3 on top row, 2 centered on second row (desktop only) */
@media (min-width: 1024px) {
  .feat-grid--4 {
    grid-template-columns: repeat(6, 1fr);
  }
  .feat-grid--4 .feat-card { grid-column: span 2; }
  .feat-grid--4 .feat-card:nth-child(4) { grid-column: 2 / span 2; }
  .feat-grid--4 .feat-card:nth-child(5) { grid-column: 4 / span 2; }
}
@media (min-width: 700px) and (max-width: 1023px) {
  .feat-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
.feat-card {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feat-card__icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  box-shadow: 0 10px 24px rgba(37, 40, 94, 0.20);
  color: #fff;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1);
}
.feat-card__icon svg {
  width: 32px;
  height: 32px;
  display: block;
}
.feat-card:hover .feat-card__icon {
  transform: scale(1.08) rotate(-4deg);
}
.feat-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.feat-card p {
  color: var(--text-soft);
  font-size: 15px;
}

/* ============= HOW IT WORKS ============= */
.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: start;
}
.step {
  text-align: center;
  padding: 0 14px;
}
.step-arrow {
  align-self: start;
  width: 120px;
  height: 60px;
  margin-top: 70px;
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
}
.step-arrow svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(69, 178, 73, 0.25));
}
/* In RTL the visual flow is right→left, so flip the arrow */
html[dir="rtl"] .step-arrow svg { transform: scaleX(-1); }
.step__num {
  width: 36px; height: 36px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 16px;
  margin: 0 auto 12px;
  box-shadow: 0 8px 20px rgba(69, 178, 73, 0.40);
}
.step__icon {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
  border-radius: 28px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  box-shadow: 0 14px 30px rgba(37, 40, 94, 0.22);
  color: #fff;
  transition: transform .3s ease;
}
.step__icon svg {
  width: 52px;
  height: 52px;
  display: block;
}
.step:hover .step__icon { transform: scale(1.08) rotate(-3deg); }
.step h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.step p {
  color: var(--text-soft);
  font-size: 15px;
  max-width: 260px;
  margin: 0 auto;
}

/* ============= JOIN / PARTNERS ============= */
.join-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.join-card {
  padding: 44px 36px;
  border-radius: var(--r-xl);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.join-card--blue {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.join-card--green {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
}
.join-card::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  top: -100px;
  right: -100px;
}
.join-card__icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.18);
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  color: #fff;
}
.join-card__icon svg {
  width: 34px;
  height: 34px;
  display: block;
}
.join-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}
.join-card > p {
  font-size: 1rem;
  opacity: 0.95;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}
.join-list {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.join-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 15px;
  opacity: 0.95;
}
.join-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}

/* ============= FAQ ============= */
.faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}
.faq__item[open] {
  border-color: var(--green);
  box-shadow: 0 8px 24px rgba(69, 178, 73, 0.10), var(--shadow-sm);
  background: linear-gradient(180deg, #fff 0%, #f7fbf7 100%);
}
.faq__item summary {
  padding: 20px 24px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  transition: color .25s ease;
  user-select: none;
}
.faq__item summary:hover { color: var(--green-dark); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  flex-shrink: 0;
  width: 30px; height: 30px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
  transition:
    transform .35s cubic-bezier(.34,1.56,.64,1),
    background .25s ease,
    color .25s ease,
    box-shadow .25s ease;
  line-height: 1;
}
.faq__item summary:hover::after {
  background: rgba(69, 178, 73, 0.15);
  color: var(--green-dark);
}
.faq__item[open] summary::after {
  transform: rotate(135deg);
  background: var(--green);
  color: #fff;
  box-shadow: 0 6px 16px rgba(69, 178, 73, 0.40);
}
.faq__body {
  padding: 0 24px 22px;
  color: var(--text-soft);
  line-height: 1.7;
  will-change: height, opacity, transform;
}

/* ============= CTA STRIP ============= */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip::before, .cta-strip::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.cta-strip::before {
  width: 400px; height: 400px;
  background: var(--green);
  opacity: 0.25;
  top: -150px; left: -100px;
}
.cta-strip::after {
  width: 300px; height: 300px;
  background: var(--orange);
  opacity: 0.18;
  bottom: -100px; right: -50px;
}
.cta-strip__inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-strip h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 8px;
}
.cta-strip p { opacity: 0.9; font-size: 1.05rem; }
.cta-strip .hero__cta { margin-bottom: 0; }

/* ============= FOOTER ============= */
.footer {
  background: var(--navy-dark);
  color: #c9ccdf;
  padding: 70px 0 30px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 50px;
}
.footer__logo {
  height: 52px;
  width: auto;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}
.footer__motto {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-family: var(--font-en);
  font-size: 13px;
  color: #c9ccdf;
  direction: ltr;
}
.footer__motto span { display: inline-flex; align-items: baseline; }
.footer__motto b {
  color: var(--green-light);
  font-weight: 800;
  font-size: 14px;
}
.footer__brand p {
  font-size: 14px;
  margin-bottom: 22px;
  max-width: 320px;
  line-height: 1.7;
}
.footer__social {
  display: flex;
  gap: 10px;
}
.social {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #c9ccdf;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.social:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-3px);
}
.footer__col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 18px;
}
.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__col a {
  font-size: 14px;
  color: #c9ccdf;
  transition: color .2s ease;
}
.footer__col a:hover { color: var(--green-light); }

.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  opacity: 0.85;
}

/* ============= INNER PAGES (about, privacy, terms) ============= */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 60px) 0 60px;
  background: linear-gradient(180deg, #f7f8fc 0%, #ffffff 100%);
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  width: 480px;
  height: 480px;
  background: var(--green);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  top: -180px;
  left: -160px;
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  width: 380px;
  height: 380px;
  background: var(--navy);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.12;
  bottom: -150px;
  right: -100px;
  pointer-events: none;
}
.page-hero__inner { position: relative; z-index: 1; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.breadcrumb a {
  color: var(--green-dark);
  font-weight: 700;
}
.breadcrumb a:hover { color: var(--green); }
.breadcrumb__sep { color: var(--text-mute); }
.breadcrumb__current { color: var(--navy); }

.page-hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.15;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-soft);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}
.page-hero__meta {
  display: inline-block;
  margin-top: 18px;
  padding: 5px 14px;
  background: var(--bg-alt);
  border-radius: 100px;
  font-size: 12px;
  color: var(--text-mute);
  font-weight: 600;
}

/* Long-form content article */
.page-content {
  padding: 70px 0 100px;
  background: #fff;
}
.page-content__inner {
  max-width: 780px;
  margin: 0 auto;
}
.page-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 800;
  color: var(--navy);
  margin: 48px 0 16px;
  scroll-margin-top: 100px;
  position: relative;
  padding-inline-start: 18px;
}
.page-content h2::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 8px;
  bottom: 8px;
  width: 5px;
  background: linear-gradient(180deg, var(--green) 0%, var(--navy) 100%);
  border-radius: 100px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 12px;
}
.page-content p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 16px;
}
.page-content ul,
.page-content ol {
  padding-inline-start: 22px;
  margin: 14px 0 22px;
}
.page-content li {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 8px;
  list-style: disc;
}
.page-content ol li { list-style: decimal; }
.page-content li::marker { color: var(--green); }
.page-content a {
  color: var(--green-dark);
  font-weight: 600;
  border-bottom: 1px solid rgba(69, 178, 73, 0.30);
  transition: border-color .2s ease;
}
.page-content a:hover { border-color: var(--green); }
.page-content strong { color: var(--navy); font-weight: 800; }
.page-content blockquote {
  margin: 24px 0;
  padding: 18px 22px;
  background: var(--bg-soft);
  border-inline-start: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-soft);
}
html[dir="rtl"] .page-content blockquote {
  border-radius: 12px 0 0 12px;
}

/* "About" — value cards inside the article */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.value-card {
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 22px 20px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--green);
}
.value-card__icon {
  width: 52px; height: 52px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
  color: #fff;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.value-card__icon svg { width: 28px; height: 28px; }
.value-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.value-card p {
  font-size: 13px;
  color: var(--text-soft);
  margin: 0;
}

/* ============= ANIMATIONS ON SCROLL ============= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============= RESPONSIVE ============= */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__stats { justify-content: center; flex-wrap: wrap; gap: 24px; }
  .hero__visual { min-height: 520px; }

  .join-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

/* ============= 404 — NOT FOUND PAGE (light style, matches privacy/terms/about) ============= */
.nf-hero { padding-bottom: 40px; }
.nf-hero__inner { max-width: 720px; margin: 0 auto; }

/* Giant 404 numeral with navy → green gradient
   NOTE: must be FLEX (block-level) so it sits on its own line below the breadcrumb,
   not inline next to it. */
.nf-number {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.6vw, 18px);
  margin: 18px auto 22px;
  line-height: 1;
  font-family: var(--font-en);
  direction: ltr;
}
.nf-digit {
  font-size: clamp(5.5rem, 16vw, 10.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 12px 30px rgba(37, 40, 94, 0.18));
  animation: nfPop .7s cubic-bezier(.2,.9,.3,1.2) both;
}
.nf-digit:nth-of-type(3) { animation-delay: .18s; }

/* Middle "0" replaced by a map pin inside a gradient ring.
   Trick: outer circle = navy→green gradient; inner pseudo = white disc on top,
   leaving a perfect gradient ring (border-image + border-radius doesn't work cross-browser). */
.nf-digit--zero {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(5.5rem, 16vw, 10.5rem);
  height: clamp(5.5rem, 16vw, 10.5rem);
  background: linear-gradient(135deg, var(--navy) 0%, var(--green) 100%);
  border-radius: 50%;
  -webkit-text-fill-color: initial;
  color: transparent;
  animation-delay: .09s;
  filter: none;
  box-shadow: 0 14px 36px rgba(37, 40, 94, 0.20);
}
.nf-digit--zero::before {
  content: '';
  position: absolute;
  inset: clamp(9px, 2.4vw, 16px);
  border-radius: 50%;
  background: #fff;
}
.nf-zero-inner {
  position: relative;
  width: 55%;
  height: 55%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  animation: nfPinDrop 1.8s ease-in-out infinite;
}
.nf-zero-inner svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 10px rgba(69, 178, 73, 0.40));
}

@keyframes nfPop {
  0%   { opacity: 0; transform: translateY(18px) scale(.85); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes nfPinDrop {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* CTAs (sit inside page-hero) */
.nf-cta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}
.nf-cta__primary {
  padding: 16px 30px;
  font-size: 16px;
}
.nf-cta__outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nf-cta__outline:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Quick links section (sits AFTER page-hero, on white bg) */
.nf-quick-section {
  padding: 30px 0 80px;
  background: #fff;
  text-align: center;
}
.nf-quick__label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.nf-quick__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 0 auto 32px;
}
.nf-quick__item {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.nf-quick__item:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(69, 178, 73, 0.14);
}
.nf-quick__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(69, 178, 73, 0.10);
  color: var(--green-dark);
  transition: background .2s ease, color .2s ease;
}
.nf-quick__item:hover .nf-quick__icon {
  background: var(--green);
  color: #fff;
}
.nf-quick__text { color: var(--navy); }

/* Friendly footer line */
.nf-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-soft);
  padding: 10px 20px;
  background: linear-gradient(90deg, rgba(37, 40, 94, 0.05), rgba(69, 178, 73, 0.05));
  border: 1px solid rgba(37, 40, 94, 0.10);
  border-radius: 100px;
}

/* 404 — responsive */
@media (max-width: 760px) {
  .nf-quick__grid { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
  .nf-cta { flex-direction: column; width: 100%; max-width: 320px; }
  .nf-cta .btn { width: 100%; }
}
@media (max-width: 480px) {
  .nf-digit { font-size: 5rem; }
  .nf-digit--zero { width: 5rem; height: 5rem; }
  .nf-digit--zero::before { border-width: 8px; inset: 6px; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform .3s ease;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { transform: translateY(0); }
  .nav__link {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav__link:last-child { border-bottom: none; }
  .menu-toggle { display: flex; }

  .header__actions .btn { display: none; }

  .section { padding: 70px 0; }
  .section__head { margin-bottom: 44px; }

  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step-arrow { display: none; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; text-align: start; }
  .footer__bottom { justify-content: center; text-align: center; }

  .cta-strip__inner { justify-content: center; text-align: center; }

  .floating-card { padding: 10px 14px; }
  .floating-card strong { font-size: 12px; }
  .floating-card span { font-size: 10px; }

  .hero__stats .stat strong { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero { padding-top: calc(var(--header-h) + 30px); padding-bottom: 50px; }
  .hero__stats { gap: 18px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .store-btn { justify-content: center; }
  .cta-strip .hero__cta { flex-direction: column; width: 100%; }
}

/* ============= REDUCED MOTION ============= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
