@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/tajawal-400-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/tajawal-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/tajawal-500-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/tajawal-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/tajawal-700-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/tajawal-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0b0d12;
  --bg-elev: #14171f;
  --accent: #22c25d;
  --accent-soft: #5ee9a4;
  --text: #f3f1ea;
  --muted: #9a978c;
  --line: rgba(34, 194, 93, 0.40);
  --font: "Tajawal", "Segoe UI", Tahoma, sans-serif;
}

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

html, body {
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}

body {
  position: fixed;
  inset: 0;
  width: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  height: 100%;
  max-height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 24px 10px;
  padding-top: max(14px, env(safe-area-inset-top));
  padding-bottom: max(10px, env(safe-area-inset-bottom));
}

.page::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(520px, 80vw);
  height: min(320px, 50vh);
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(34, 194, 93, 0.14), transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.page > * {
  position: relative;
  z-index: 1;
}

header.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  width: 100%;
}

.lang-toggle {
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  z-index: 2;
}

.lang-toggle button {
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 4px 5px;
}

.lang-toggle button[aria-pressed="true"] {
  color: var(--accent-soft);
}

.lang-toggle .sep {
  color: #4a4840;
  font-size: 11px;
  line-height: 1;
  user-select: none;
}

.t-en {
  display: none;
}

html[data-lang="en"] .t-ar {
  display: none;
}

html[data-lang="en"] .t-en {
  display: inline;
}

header.brand img,
header.brand .logo {
  width: 42px;
  height: 42px;
  display: block;
  flex-shrink: 0;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--text);
}

main {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

h1 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  text-align: center;
  line-height: 1.4;
  max-width: 92vw;
}

.notes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.3;
}

.notes .note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.notes .note::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(34, 194, 93, 0.45);
  flex-shrink: 0;
}

.features {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
  list-style: none;
}

.features li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  white-space: nowrap;
}

.features li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 6px rgba(34, 194, 93, 0.45);
  flex-shrink: 0;
}

.card {
  width: min(320px, 92vw);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px 14px;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 12px 32px rgba(0, 0, 0, 0.4);
}

.plan {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-soft);
  margin-bottom: 2px;
}

.price {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 12px;
}

.price .currency {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-inline-start: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(180deg, #47f591 0%, #109840 100%);
  color: #042016;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(16, 152, 64, 0.32);
}

.btn:hover {
  filter: brightness(1.07);
}

.btn:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(1px);
  filter: brightness(0.97);
}

footer {
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 400;
  color: #6e6b63;
  padding-top: 8px;
  line-height: 1;
}

@media (max-width: 640px) {
  .page {
    padding: 12px 16px 8px;
    padding-top: max(12px, env(safe-area-inset-top));
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  main {
    gap: 16px;
  }

  h1 {
    font-size: 15px;
  }

  .features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 10px;
    width: min(320px, 92vw);
  }

  .features li {
    font-size: 12px;
    white-space: normal;
  }

  .card {
    width: min(300px, 92vw);
    padding: 16px 16px 14px;
  }

  .price {
    font-size: 26px;
  }
}

@media (max-height: 700px) {
  main {
    gap: 10px;
  }

  .card {
    padding: 12px 16px 12px;
  }

  .price {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .btn {
    height: 34px;
  }

  header.brand .logo,
  header.brand img {
    width: 32px;
    height: 32px;
  }
}
