:root {
  --ink: #13231b;
  --muted: #66756e;
  --primary: #173b2a;
  --primary-strong: #0f2d20;
  --mint: #e8f6ee;
  --teal: #287c68;
  --amber: #b86b12;
  --red: #b83939;
  --paper: #f5f8f6;
  --surface: #ffffff;
  --line: #dce6e0;
  --shadow: 0 16px 40px rgb(19 35 27 / 12%);
  --shadow-soft: 0 10px 26px rgb(19 35 27 / 8%);
  --container: 1180px;
  color-scheme: light;
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  overflow-x: hidden;
}

body,
button,
input {
  font: inherit;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgb(40 124 104 / 45%);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  padding: 10px 16px;
  box-shadow: var(--shadow-soft);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 20;
  border-block-end: 1px solid rgb(220 230 224 / 78%);
  background: rgb(255 255 255 / 88%);
  backdrop-filter: blur(14px);
}

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

.brand {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

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

.brand span {
  display: grid;
  line-height: 1.15;
}

.brand small {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.nav-links,
.nav-actions,
.hero-actions,
.shot-tabs {
  display: flex;
  align-items: center;
}

.nav-links {
  gap: 8px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  font-weight: 600;
}

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

.nav-actions {
  gap: 10px;
}

.lang-toggle {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 16px;
  cursor: pointer;
  font-weight: 700;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--primary-strong);
}

.btn-secondary {
  border-color: rgb(255 255 255 / 58%);
  color: #ffffff;
  background: rgb(19 35 27 / 24%);
}

.btn-large {
  min-height: 52px;
  padding-inline: 26px;
}

.hero {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  isolation: isolate;
  background: #dfe9e4;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-shot {
  position: absolute;
  width: min(980px, 72vw);
  border: 1px solid rgb(220 230 224 / 80%);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgb(15 45 32 / 22%);
  opacity: 0.82;
}

.hero-shot-main {
  inset-block-start: 98px;
  inset-inline-end: -54px;
}

.hero-shot-side {
  width: min(620px, 44vw);
  inset-block-start: 328px;
  inset-inline-start: -80px;
  opacity: 0.58;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(19 35 27 / 78%), rgb(19 35 27 / 40%) 46%, rgb(19 35 27 / 4%)),
    linear-gradient(180deg, rgb(245 248 246 / 35%), rgb(245 248 246 / 88%) 92%);
}

[dir="rtl"] .hero-overlay {
  background:
    linear-gradient(270deg, rgb(19 35 27 / 78%), rgb(19 35 27 / 40%) 46%, rgb(19 35 27 / 4%)),
    linear-gradient(180deg, rgb(245 248 246 / 35%), rgb(245 248 246 / 88%) 92%);
}

.hero-content {
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-block: 90px 96px;
  color: #ffffff;
}

.hero-content > * {
  width: min(100%, 650px);
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-weight: 800;
}

.hero .eyebrow {
  color: #cce9d8;
}

h1,
h2,
h3,
p {
  margin-block-start: 0;
}

h1 {
  margin-block-end: 18px;
  font-size: clamp(2.45rem, 6vw, 5.35rem);
  line-height: 1.06;
  font-weight: 700;
  overflow-wrap: anywhere;
}

h2 {
  margin-block-end: 16px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.12;
}

h3 {
  margin-block-end: 8px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.hero-copy {
  margin-block-end: 28px;
  color: rgb(255 255 255 / 88%);
  font-size: 1.15rem;
  max-width: 590px;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-block-end: 34px;
}

.hero-stats {
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  max-width: 760px;
}

.hero-stats div {
  min-height: 96px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  background: rgb(255 255 255 / 11%);
  padding: 16px;
  backdrop-filter: blur(8px);
}

.hero-stats dt {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.hero-stats dd {
  margin: 0;
  color: rgb(255 255 255 / 76%);
  font-size: 0.92rem;
}

.section {
  padding-block: 84px;
}

.intro-band {
  padding-block: 56px;
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.split,
.outcome-grid,
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 48px;
  align-items: center;
}

.split p,
.contact p {
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  flex-wrap: wrap;
  color: var(--muted);
  font-weight: 700;
}

.contact-phone a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  padding: 0 16px;
  font-variant-numeric: tabular-nums;
}

.section-heading {
  max-width: 720px;
  margin-block-end: 34px;
}

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

.feature-card {
  min-height: 236px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.feature-card svg {
  width: 32px;
  height: 32px;
  margin-block-end: 30px;
  color: var(--primary);
  stroke-width: 1.8;
}

.feature-card p {
  color: var(--muted);
  margin: 0;
}

.product-proof {
  background: #eef4f1;
  border-block: 1px solid var(--line);
}

.shot-tabs {
  gap: 10px;
  flex-wrap: wrap;
  margin-block-end: 18px;
}

.shot-tab {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 0 16px;
  cursor: pointer;
  font-weight: 700;
}

.shot-tab.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.screenshot-frame {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  width: 100%;
  aspect-ratio: 2792 / 1546;
  object-fit: cover;
}

.screenshot-frame figcaption {
  border-block-start: 1px solid var(--line);
  padding: 16px 18px;
  color: var(--muted);
  font-weight: 600;
}

.outcome-band {
  background: var(--primary);
  color: #ffffff;
}

.outcome-band .eyebrow {
  color: #b9ddc8;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-inline-start: 34px;
  color: rgb(255 255 255 / 84%);
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0.35em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--mint);
}

.check-list li::after {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  inset-block-start: 0.67em;
  width: 7px;
  height: 4px;
  border-inline-start: 2px solid var(--primary);
  border-block-end: 2px solid var(--primary);
  transform: rotate(-45deg);
}

.contact {
  background: var(--surface);
}

.contact-inner {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 34px;
}

.contact-inner .btn {
  justify-self: end;
}

[dir="rtl"] .contact-inner .btn {
  justify-self: start;
}

.site-footer {
  border-block-start: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}

.whatsapp-float {
  position: fixed;
  z-index: 30;
  inset-inline-end: 22px;
  inset-block-end: 22px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #1f7a4d;
  color: #ffffff;
  padding: 0 18px;
  box-shadow: 0 16px 38px rgb(31 122 77 / 28%);
  font-weight: 800;
}

.whatsapp-float:hover {
  background: #17643f;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

.footer-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
}

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

  .hero {
    min-height: 760px;
  }

  .hero-content {
    min-height: 760px;
    justify-content: flex-start;
    padding-block-start: 84px;
  }

  .hero-content > * {
    width: 100%;
    max-width: 100%;
  }

  .hero-shot-main {
    width: 100%;
    max-width: 100%;
    inset-block-start: 410px;
    inset-inline: 0;
  }

  .hero-shot-side {
    display: none;
  }

  .hero-overlay,
  [dir="rtl"] .hero-overlay {
    background:
      linear-gradient(180deg, rgb(19 35 27 / 86%), rgb(19 35 27 / 66%) 48%, rgb(245 248 246 / 84%) 92%),
      linear-gradient(180deg, rgb(245 248 246 / 28%), rgb(245 248 246 / 94%));
  }

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

  .split,
  .outcome-grid,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-inner .btn,
  [dir="rtl"] .contact-inner .btn {
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  html,
  body,
  main,
  .site-header,
  .hero,
  .section,
  .site-footer {
    width: 100vw;
    max-width: 100vw;
  }

  .shell {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-left: 12px;
    margin-right: auto;
  }

  .site-header {
    position: static;
  }

  .nav {
    min-height: auto;
    padding-block: 12px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .brand {
    width: 100%;
    flex: 1 1 100%;
  }

  .nav-actions {
    width: 100%;
    min-width: 0;
  }

  .nav-actions .btn,
  .lang-toggle {
    flex: 1;
    min-width: 0;
    padding-inline: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    align-items: stretch;
    padding-block: 54px 58px;
  }

  h1 {
    font-size: 1.9rem;
    line-height: 1.16;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    flex: 1 1 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero-stats div {
    min-height: 74px;
  }

  .hero-shot-main {
    display: none;
  }

  .section {
    padding-block: 58px;
  }

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

  .feature-card {
    min-height: auto;
  }

  .screenshot-frame img {
    min-height: 300px;
  }

  .footer-inner {
    min-height: 92px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
  }

  .whatsapp-float {
    inset-inline: 12px;
    inset-block-end: 12px;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
