:root {
  color-scheme: light;
  --ink: #17204a;
  --ink-soft: #48527c;
  --muted: #687197;
  --line: rgba(51, 65, 132, 0.15);
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --brand: #465ed0;
  --brand-deep: #263a9c;
  --brand-soft: #eef1ff;
  --accent: #f5a33b;
  --shadow: 0 24px 80px rgba(43, 56, 126, 0.16);
  font-family:
    Inter,
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

*:focus,
*:focus-visible {
  outline: none;
  box-shadow: none;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(
      circle at 15% 8%,
      rgba(98, 121, 234, 0.18),
      transparent 30rem
    ),
    radial-gradient(
      circle at 88% 18%,
      rgba(245, 163, 59, 0.14),
      transparent 24rem
    ),
    linear-gradient(180deg, #f8f9ff 0%, #ffffff 42%, #f7f8fd 100%);
}

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

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

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(51, 65, 132, 0.1);
  background: rgba(248, 249, 255, 0.84);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(47, 72, 189, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--brand);
}

.language-link {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  align-items: center;
  gap: 70px;
  min-height: 680px;
  padding: 88px 0 94px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--brand);
  font-size: 0.77rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--ink);
  font-weight: 750;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(70, 94, 208, 0.35);
}

.button-primary {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 14px 32px rgba(70, 94, 208, 0.24);
}

.button-primary:hover {
  background: var(--brand-deep);
}

.availability {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

.availability::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #39a86b;
  content: "";
  box-shadow: 0 0 0 5px rgba(57, 168, 107, 0.11);
}

.hero-art {
  position: relative;
  min-height: 500px;
}

.hero-orbit {
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(70, 94, 208, 0.16);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(98, 121, 234, 0.14),
    transparent 62%
  );
}

.hero-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(310px, 65vw);
  transform: translate(-50%, -50%);
  border-radius: 28%;
  box-shadow: 0 38px 100px rgba(39, 57, 154, 0.3);
}

.mini-card {
  position: absolute;
  display: grid;
  gap: 5px;
  min-width: 170px;
  padding: 17px 18px;
  border: 1px solid rgba(70, 94, 208, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(43, 56, 126, 0.14);
  backdrop-filter: blur(14px);
}

.mini-card strong {
  font-size: 0.88rem;
}

.mini-card span {
  color: var(--muted);
  font-size: 0.75rem;
}

.mini-card-one {
  top: 70px;
  right: -12px;
}

.mini-card-two {
  bottom: 58px;
  left: -20px;
}

.section {
  padding: 100px 0;
}

.section-tint {
  border-block: 1px solid rgba(51, 65, 132, 0.09);
  background: rgba(238, 241, 255, 0.54);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 46px;
}

.section-heading h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

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

.feature-card,
.boundary-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(43, 56, 126, 0.07);
}

.feature-card {
  padding: 28px;
}

.feature-number {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 38px;
  place-items: center;
  border-radius: 11px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 850;
}

.feature-card h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.feature-card p,
.boundary-card p,
.screenshot-copy {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.65;
}

.screenshots {
  display: grid;
  gap: 48px;
}

.screenshot {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(0, 0.66fr);
  align-items: center;
  gap: 44px;
}

.screenshot:nth-child(even) {
  grid-template-columns: minmax(0, 0.66fr) minmax(240px, 0.34fr);
}

.screenshot:nth-child(even) .screenshot-copy {
  order: 2;
}

.screenshot-frame {
  overflow: hidden;
  border: 1px solid rgba(40, 52, 114, 0.22);
  border-radius: 20px;
  background: #e9ecf9;
  box-shadow: var(--shadow);
}

.screenshot-frame img {
  width: 100%;
  height: auto;
}

.screenshot-copy h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.55rem;
  letter-spacing: -0.035em;
}

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

.boundary-card {
  padding: 30px;
}

.boundary-card h3 {
  margin-bottom: 11px;
}

.membership-band {
  padding: 90px 0;
}

.membership-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 44px;
  border-radius: 28px;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.12), transparent 58%),
    var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
}

.membership-card h2 {
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.04em;
}

.membership-card p {
  max-width: 660px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.membership-card .button {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.site-footer {
  padding: 30px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.84rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

[dir="rtl"] h1,
[dir="rtl"] .section-heading h2,
[dir="rtl"] .membership-card h2 {
  letter-spacing: -0.035em;
}

[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 30px;
    padding-top: 70px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-art {
    min-height: 430px;
  }

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

  .screenshot,
  .screenshot:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .screenshot:nth-child(even) .screenshot-copy {
    order: initial;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 64px;
  }

  .nav-links a:not(.language-link) {
    display: none;
  }

  .hero {
    padding: 58px 0 70px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.4rem);
  }

  .hero-art {
    min-height: 350px;
  }

  .hero-icon {
    width: 220px;
  }

  .mini-card {
    min-width: 145px;
    padding: 13px;
  }

  .mini-card-one {
    top: 30px;
    right: 0;
  }

  .mini-card-two {
    bottom: 30px;
    left: 0;
  }

  .section {
    padding: 74px 0;
  }

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

  .membership-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
