:root {
  --green: #118341;
  --green-light: #17914a;
  --red: #cd2030;
  --yellow: #ffc117;
  --blue: #3185ff;
  --black: #1e1e2a;
  --bg: #fbfbfb;
  --border: #e6e6e9;
  --muted: #6b6b73;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 251, 251, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 600;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--black);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 4px 14px rgba(17, 131, 65, 0.3);
}

.btn-primary:hover {
  background: var(--green-light);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--black);
}

.btn-ghost:hover {
  color: var(--green);
}

.hero {
  padding: 80px 0 100px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(17, 131, 65, 0.1);
  color: var(--green);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.accent {
  color: var(--green);
}

.lede {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 32px;
  max-width: 540px;
}

.cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.trust {
  display: flex;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.trust > div {
  display: flex;
  flex-direction: column;
}

.trust strong {
  font-size: 22px;
  font-weight: 800;
}

.trust span {
  font-size: 13px;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}

.phone {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 560px;
  background: var(--black);
  border-radius: 44px;
  padding: 12px;
  box-shadow: 0 30px 60px -20px rgba(30, 30, 42, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #f5f5f7;
  border-radius: 32px;
  padding: 24px 18px;
  position: relative;
  overflow: hidden;
}

.screen-top {
  width: 80px;
  height: 6px;
  background: #d0d0d5;
  border-radius: 999px;
  margin: 4px auto 24px;
}

.screen-card {
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  color: #fff;
}

.screen-card.red {
  background: linear-gradient(135deg, var(--red), #e8344a);
}

.screen-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.bar {
  flex: 1;
  height: 8px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
}

.screen-status {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.screen-sub {
  font-size: 12px;
  opacity: 0.88;
  margin-top: 4px;
}

.screen-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.screen-item {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.screen-item span:first-child {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef0f2;
}

.screen-item span:last-child {
  flex: 1;
  height: 8px;
  background: #eef0f2;
  border-radius: 999px;
}

.screen-fab {
  position: absolute;
  bottom: 24px;
  inset-inline-end: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 8px 20px rgba(17, 131, 65, 0.4);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
}

.blob-green {
  width: 280px;
  height: 280px;
  background: rgba(27, 173, 90, 0.35);
  top: 20px;
  inset-inline-start: 20px;
}

.blob-red {
  width: 240px;
  height: 240px;
  background: rgba(205, 32, 48, 0.25);
  bottom: 30px;
  inset-inline-end: 30px;
}

.section {
  padding: 100px 0;
}

.section-alt {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 56px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(30, 30, 42, 0.08);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon.green {
  background: rgba(17, 131, 65, 0.12);
  color: var(--green);
}

.feature-icon.red {
  background: rgba(205, 32, 48, 0.12);
  color: var(--red);
}

.feature-icon.yellow {
  background: rgba(255, 193, 23, 0.18);
  color: #c79100;
}

.feature-icon.blue {
  background: rgba(49, 133, 255, 0.12);
  color: var(--blue);
}

.feature h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature p {
  color: var(--muted);
  font-size: 15px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.step {
  text-align: center;
  padding: 32px 24px;
}

.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(17, 131, 65, 0.25);
}

.step h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
}

.download {
  background: linear-gradient(135deg, var(--green), var(--green-light));
  color: #fff;
  text-align: center;
}

.download h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.download p {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 40px;
}

.store-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  color: #fff;
  padding: 14px 26px;
  border-radius: 14px;
  transition: transform 0.15s ease, background 0.15s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  background: #2d2d3a;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}

.store-text .small {
  font-size: 11px;
  opacity: 0.85;
}

.store-text .big {
  font-size: 18px;
  font-weight: 700;
}

.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.footer-brand .brand-logo {
  width: 28px;
  height: 28px;
}

.footer-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--black);
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .nav-links,
html[dir="rtl"] .cta-row,
html[dir="rtl"] .trust,
html[dir="rtl"] .screen-row,
html[dir="rtl"] .store-row,
html[dir="rtl"] .footer-links,
html[dir="rtl"] .footer-brand {
  direction: rtl;
}

html[dir="rtl"] .store-text {
  align-items: flex-start;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .hero {
    padding: 56px 0 60px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .trust {
    gap: 24px;
    flex-wrap: wrap;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 640px) {
  .nav-inner {
    min-height: 64px;
  }

  .brand-name {
    font-size: 18px;
  }

  .btn-sm {
    padding: 9px 16px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .lede {
    font-size: 16px;
  }

  .store-btn,
  .btn {
    width: 100%;
  }

  .phone {
    width: 240px;
    height: 500px;
  }
}
