:root {
  --ink: #172026;
  --muted: #5e6a71;
  --line: #dde5df;
  --paper: #fbfcf8;
  --white: #ffffff;
  --green: #61d238;
  --green-dark: #245f20;
  --teal: #0d7774;
  --blue: #244a7c;
  --yellow: #f5c84b;
  --shadow: 0 20px 50px rgba(23, 32, 38, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body[dir="rtl"] {
  font-family: "Noto Sans Arabic", Tahoma, Arial, sans-serif;
}

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

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

.sr-only {
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(221, 229, 223, 0.86);
  background: rgba(251, 252, 248, 0.9);
  backdrop-filter: blur(18px);
}

.nav {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 74px;
  padding: 0 24px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-weight: 800;
  min-width: 0;
}

.brand img {
  border-radius: 8px;
  height: 42px;
  width: 42px;
}

.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

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

.language-select {
  align-items: center;
  display: flex;
  gap: 8px;
}

.language-select select {
  appearance: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-width: 112px;
  padding: 9px 34px 9px 12px;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--muted);
  content: "";
  pointer-events: none;
  position: absolute;
  right: 13px;
  top: 50%;
  transform: translateY(-40%);
}

body[dir="rtl"] .select-wrap::after {
  left: 13px;
  right: auto;
}

.section {
  margin: 0 auto;
  max-width: 1180px;
  padding: 84px 24px;
}

.hero {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) 540px;
  min-height: calc(100vh - 74px);
  padding-bottom: 56px;
  padding-top: 64px;
}

.eyebrow {
  align-items: center;
  color: var(--green-dark);
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 850;
  gap: 9px;
  letter-spacing: 0;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.dot {
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 999px;
  height: 12px;
  width: 12px;
}

h1,
h2,
h3 {
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

h1 {
  font-size: clamp(2.55rem, 6vw, 5.15rem);
  max-width: 820px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 860px;
}

h3 {
  font-size: 1.2rem;
}

.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  margin: 24px 0 0;
  max-width: 720px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 850;
  gap: 10px;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
}

.button.primary {
  background: var(--ink);
  color: var(--white);
}

.button.secondary {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.button:hover {
  transform: translateY(-1px);
}

.trust-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
  max-width: 720px;
}

.trust-item {
  border-left: 3px solid var(--green);
  color: var(--muted);
  font-size: 0.94rem;
  padding-left: 13px;
}

body[dir="rtl"] .trust-item {
  border-left: 0;
  border-right: 3px solid var(--green);
  padding-left: 0;
  padding-right: 13px;
}

.trust-item strong {
  color: var(--ink);
  display: block;
  font-size: 1.15rem;
}

.hero-media {
  align-self: start;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, #f4fbef, #ffffff);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(23, 32, 38, 0.1);
  margin-top: 92px;
  min-width: 0;
}

.phone-shot {
  align-self: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(23, 32, 38, 0.13);
  overflow: hidden;
}

.phone-shot img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.phone-shot.main {
  aspect-ratio: 333 / 592;
  transform: none;
}

.phone-stack {
  display: contents;
}

.phone-stack .phone-shot {
  aspect-ratio: 333 / 592;
}

.keyword-strip {
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.keyword-strip .inner {
  align-items: center;
  display: flex;
  gap: 16px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 14px 24px;
}

.keyword-strip span {
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  flex: 0 0 auto;
  font-size: 0.92rem;
  padding: 7px 12px;
}

.split {
  align-items: start;
  display: grid;
  gap: 46px;
  grid-template-columns: 0.9fr 1.1fr;
}

.section-intro {
  color: var(--muted);
  font-size: 1.06rem;
  margin: 18px 0 0;
  max-width: 740px;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.feature .icon {
  align-items: center;
  background: #e8f8de;
  border-radius: 8px;
  color: var(--green-dark);
  display: inline-flex;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  margin-bottom: 18px;
  width: 38px;
}

.feature p,
.step p,
.faq p {
  color: var(--muted);
  margin: 10px 0 0;
}

.steps {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.step {
  border-top: 4px solid var(--teal);
  padding-top: 18px;
}

.step strong {
  color: var(--teal);
  display: block;
  font-size: 0.92rem;
  margin-bottom: 8px;
}

.screens {
  background: #eef5ec;
}

.screens-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 34px;
}

.screens-row img {
  aspect-ratio: 333 / 592;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(23, 32, 38, 0.12);
  object-fit: cover;
  width: 100%;
}

.use-cases {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.use-case {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 150px;
  padding: 20px;
}

.seo-copy {
  columns: 2 320px;
  column-gap: 46px;
  color: var(--muted);
  font-size: 1.02rem;
  margin-top: 24px;
}

.seo-copy p {
  break-inside: avoid;
  margin: 0 0 18px;
}

.faq-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.faq {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.cta {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr auto;
  max-width: none;
  padding-left: max(24px, calc((100vw - 1180px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1180px) / 2 + 24px));
}

.cta .lead,
.cta .section-intro {
  color: rgba(255, 255, 255, 0.72);
}

.cta .button.primary {
  background: var(--green);
  color: var(--ink);
}

.footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px 24px;
}

@media (max-width: 960px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 14px;
    padding-top: 14px;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero,
  .split,
  .cta {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-media {
    margin-top: 0;
    max-width: 620px;
  }

  .screens-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .use-cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .section {
    padding: 58px 18px;
  }

  .nav {
    padding-left: 18px;
    padding-right: 18px;
  }

  .nav-links {
    gap: 11px;
    font-size: 0.9rem;
  }

  .trust-row,
  .feature-grid,
  .steps,
  .faq-grid,
  .use-cases {
    grid-template-columns: 1fr;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-media {
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 10px;
  }

  .phone-stack {
    display: contents;
  }

  .screens-row {
    display: flex;
    margin-left: -18px;
    margin-right: -18px;
    overflow-x: auto;
    padding: 0 18px 12px;
    scroll-snap-type: x mandatory;
  }

  .screens-row img {
    flex: 0 0 68%;
    scroll-snap-align: start;
  }

  .keyword-strip .inner {
    overflow-x: auto;
    padding-left: 18px;
    padding-right: 18px;
  }
}
