@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --bg: #eef8f7;
  --surface: rgba(255, 255, 255, .88);
  --surface-solid: #ffffff;
  --text: #123130;
  --muted: #58706e;
  --primary: #0b7a75;
  --primary-dark: #063f3c;
  --secondary: #1679b8;
  --accent: #5eead4;
  --border: rgba(15, 118, 110, .14);
  --shadow: 0 26px 80px rgba(6, 54, 61, .16);
  --shadow-soft: 0 16px 44px rgba(6, 54, 61, .09);
  font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 8%, rgba(94, 234, 212, .32), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(22, 121, 184, .18), transparent 26%),
    linear-gradient(180deg, #eef8f7 0%, #f8fcff 50%, #eef8f7 100%);
}

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

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

.site-shell {
  overflow: hidden;
}

.hero {
  min-height: 100svh;
  padding: 24px clamp(18px, 4vw, 56px) 72px;
}

.nav {
  width: min(1180px, 100%);
  min-height: 68px;
  margin-inline: auto;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 22px;
  background: rgba(255, 255, 255, .76);
  box-shadow: 0 12px 34px rgba(6, 54, 61, .08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(11, 122, 117, .22);
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong {
  font-size: 18px;
  line-height: 1.2;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-actions a {
  min-height: 42px;
  padding-inline: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 13px;
  color: var(--primary);
  background: #fff;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.nav-actions a:hover,
.button:hover {
  transform: translateY(-2px);
}

.nav-download {
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
}

.hero-grid {
  width: min(1180px, 100%);
  min-height: calc(100svh - 140px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 22px;
  justify-items: start;
}

.eyebrow,
.section-heading span,
.download-panel span {
  width: fit-content;
  min-height: 36px;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(11, 122, 117, .18);
  border-radius: 999px;
  color: var(--primary);
  background: rgba(255, 255, 255, .74);
  font-size: 13px;
  font-weight: 800;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(42px, 6.6vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p,
.download-panel p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.95;
}

.hero-actions,
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 54px;
  padding-inline: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-weight: 900;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--secondary));
  box-shadow: 0 18px 38px rgba(11, 122, 117, .24);
}

.button-primary[data-started='true'] {
  box-shadow: 0 0 0 5px rgba(94, 234, 212, .22), 0 18px 38px rgba(11, 122, 117, .24);
}

.button-secondary {
  border: 1px solid var(--border);
  color: var(--primary);
  background: rgba(255, 255, 255, .82);
}

.install-note {
  max-width: 680px;
  padding: 14px 16px;
  display: grid;
  gap: 4px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, .72);
  box-shadow: var(--shadow-soft);
}

.install-note strong {
  color: var(--primary-dark);
}

.install-note span {
  color: var(--muted);
  line-height: 1.75;
}

.hero-visual {
  position: relative;
  isolation: isolate;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 10% 5% auto auto;
  z-index: -1;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(94, 234, 212, .34), rgba(22, 121, 184, .24));
  filter: blur(10px);
}

.visual-card {
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 32px;
  background: rgba(255, 255, 255, .58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.visual-card img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 18px 48px rgba(6, 54, 61, .14);
}

.floating-metric {
  position: absolute;
  min-width: 136px;
  padding: 14px 16px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 20px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 42px rgba(6, 54, 61, .16);
  backdrop-filter: blur(14px);
}

.floating-metric small {
  color: var(--muted);
  font-weight: 800;
}

.floating-metric strong {
  color: var(--primary);
  font-size: 28px;
  line-height: 1;
}

.floating-metric--top {
  inset-block-start: 12%;
  inset-inline-start: -22px;
}

.floating-metric--bottom {
  inset-block-end: 11%;
  inset-inline-end: -16px;
}

.feature-band {
  padding: 84px clamp(18px, 4vw, 56px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .72)),
    linear-gradient(135deg, rgba(11, 122, 117, .08), rgba(22, 121, 184, .08));
}

.section-heading {
  width: min(1180px, 100%);
  margin: 0 auto 26px;
}

.section-heading h2,
.download-panel h2 {
  max-width: 720px;
  margin: 14px 0 0;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.18;
}

.features-grid {
  width: min(1180px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.features-grid article {
  min-height: 230px;
  padding: 24px;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, .82);
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.features-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(11, 122, 117, .28);
  box-shadow: 0 22px 50px rgba(6, 54, 61, .13);
}

.features-grid article span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  font-weight: 900;
}

.features-grid h3 {
  margin: 6px 0 0;
  font-size: 23px;
}

.features-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.download-panel {
  width: min(1180px, calc(100% - 36px));
  margin: 72px auto;
  padding: clamp(26px, 5vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 32px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(94, 234, 212, .24), transparent 30%),
    linear-gradient(135deg, #063f3c, #0b7a75 58%, #1679b8);
  box-shadow: var(--shadow);
}

.download-panel span {
  color: #d9fffa;
  border-color: rgba(255, 255, 255, .26);
  background: rgba(255, 255, 255, .12);
}

.download-panel p {
  margin-block-start: 12px;
  color: rgba(239, 255, 252, .84);
}

.download-panel .button-secondary {
  color: #073f3d;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .72s ease var(--reveal-delay, 0ms), transform .72s ease var(--reveal-delay, 0ms);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    min-height: auto;
    padding-block: 58px 0;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    justify-items: center;
    text-align: center;
  }

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

  .download-panel {
    grid-template-columns: 1fr;
  }

  .download-actions {
    justify-content: flex-start;
  }

  .floating-metric--top {
    inset-inline-start: 12px;
  }

  .floating-metric--bottom {
    inset-inline-end: 12px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 14px 14px 42px;
  }

  .nav {
    min-height: 62px;
    border-radius: 18px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand small,
  .nav-actions a:first-child {
    display: none;
  }

  .nav-actions a {
    min-height: 40px;
    padding-inline: 13px;
  }

  .hero-grid {
    gap: 34px;
    padding-block-start: 42px;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions,
  .download-actions {
    width: 100%;
  }

  .button {
    width: 100%;
    min-height: 52px;
  }

  .visual-card {
    padding: 8px;
    border-radius: 24px;
  }

  .visual-card img {
    border-radius: 18px;
  }

  .floating-metric {
    position: static;
    margin-block-start: 10px;
  }

  .feature-band {
    padding: 58px 14px;
  }

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

  .features-grid article {
    min-height: 0;
    padding: 22px;
  }

  .download-panel {
    width: calc(100% - 28px);
    margin-block: 50px;
    border-radius: 24px;
  }
}
/* Public legal links */
.site-legal-links {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
  padding: 24px 0 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #5f7280;
  font-weight: 700;
}

.site-legal-links a {
  color: #0f766e;
  text-decoration: none;
}

.site-legal-links a:hover {
  text-decoration: underline;
}
