@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/inter-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: "Vazirmatn";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/Vazirmatn-Regular.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-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: "Vazirmatn";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/vazirmatn-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: #071014;
  --panel: rgba(11, 23, 30, 0.78);
  --panel-solid: #101b21;
  --text: #f4fbff;
  --muted: #aabcc7;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #57d9ff;
  --gold: #f7c76c;
  --coral: #ff756c;
  --green: #77e8ac;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.5);
  --font-en: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-fa: Vazirmatn, "Noto Sans Arabic", Tahoma, Arial, sans-serif;
  font-family: var(--font-en);
}

html {
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

body[dir="rtl"] {
  font-family: var(--font-fa);
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(6, 14, 18, 0.76);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.header-actions,
.language-switch,
.hero-actions,
.primary-cta,
.secondary-cta {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 2px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(7, 16, 20, 0.08);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.nav-links {
  justify-content: center;
  gap: 6px;
}

.header-actions {
  gap: 8px;
}

.nav-links a,
.lang-button {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted);
  font: inherit;
  font-size: 0.92rem;
}

.nav-links a:hover,
.lang-button:hover,
.lang-button.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.language-switch {
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lang-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 76px;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 16, 20, 0.96) 0%, rgba(7, 16, 20, 0.78) 42%, rgba(7, 16, 20, 0.18) 78%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 16, 20, 0) 28%);
}

body[dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(7, 16, 20, 0.96) 0%, rgba(7, 16, 20, 0.78) 42%, rgba(7, 16, 20, 0.18) 78%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7, 16, 20, 0) 28%);
}

.hero-content,
.section-grid,
.plans,
.explainers,
.compare,
.capabilities,
.steps,
.faq,
.final-cta,
.site-footer,
.trust-band {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-content {
  max-width: 670px;
  margin-inline-start: calc((100% - min(1180px, calc(100% - 32px))) / 2);
  margin-inline-end: auto;
}

body[dir="rtl"] .hero-content {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

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

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

h1 {
  max-width: 12ch;
  margin-bottom: 20px;
  font-size: clamp(3rem, 7.5vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

body[dir="rtl"] h1 {
  max-width: 15ch;
  font-size: clamp(2.45rem, 5.3vw, 5rem);
  line-height: 1.18;
  font-weight: 900;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.hero-copy,
.section-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
  line-height: 1.75;
}

body[dir="rtl"] .hero-copy,
body[dir="rtl"] .section-copy p {
  max-width: 680px;
}

.sale-price {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 1px;
  width: min(650px, 100%);
  margin: 32px 0;
  overflow: hidden;
  border: 1px solid rgba(87, 217, 255, 0.32);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.sale-price-main,
.sale-price-compare {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  background: rgba(8, 22, 29, 0.86);
}

.sale-price-main {
  gap: 8px;
  background:
    linear-gradient(135deg, rgba(87, 217, 255, 0.16), rgba(247, 199, 108, 0.08)),
    rgba(8, 22, 29, 0.86);
}

.sale-price-main span,
.sale-price-compare span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 750;
}

.sale-price-main strong {
  color: var(--cyan);
  font-size: clamp(2.8rem, 5vw, 4.45rem);
  line-height: 0.95;
}

.sale-price-main small {
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(255, 117, 108, 0.28);
  border-radius: 8px;
  background: rgba(255, 117, 108, 0.1);
  color: #ffb3ad;
  font-size: 0.86rem;
  font-weight: 800;
}

.sale-price-compare {
  gap: 6px;
}

.sale-price-compare del {
  color: var(--gold);
  font-size: clamp(1.08rem, 1.65vw, 1.38rem);
  font-weight: 850;
  line-height: 1.1;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(247, 199, 108, 0.24);
  border-radius: 8px;
  background: rgba(247, 199, 108, 0.09);
  color: #ffe1a0;
  font-size: 0.88rem;
  font-weight: 800;
}

.purchase-note {
  max-width: 590px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.primary-cta,
.secondary-cta {
  justify-content: center;
  min-height: 54px;
  border-radius: 8px;
  font-weight: 850;
}

.primary-cta {
  gap: 10px;
  padding: 0 22px;
  background: var(--cyan);
  color: #041015;
  box-shadow: 0 14px 40px rgba(87, 217, 255, 0.26);
}

.primary-cta:hover {
  background: #7be3ff;
  transform: translateY(-1px);
}

.secondary-cta {
  padding: 0 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  transform: translateY(-28px);
}

.trust-band div,
.feature-list article,
.step-list li,
.faq details {
  background: var(--panel-solid);
}

.trust-band div {
  padding: 24px;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band strong {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.trust-band span,
.feature-list p,
.plan-card p,
.capability-grid p,
.step-list p,
.faq p,
.site-footer {
  color: var(--muted);
  line-height: 1.65;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 44px;
  padding: 76px 0 76px;
}

.plans {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  align-items: center;
  gap: 44px;
  padding: 52px 0 84px;
}

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

.plan-card {
  display: flex;
  flex-direction: column;
  min-height: 270px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-solid);
}

.featured-plan {
  border-color: rgba(87, 217, 255, 0.38);
  background:
    linear-gradient(145deg, rgba(87, 217, 255, 0.12), rgba(247, 199, 108, 0.08)),
    var(--panel-solid);
}

.plan-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 22px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
}

.plan-card strong {
  display: block;
  margin: 18px 0 10px;
  color: var(--cyan);
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
  line-height: 1.05;
}

.value-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.92rem;
}

.value-row del {
  color: var(--gold);
  font-weight: 850;
  text-decoration-color: currentColor;
  text-decoration-thickness: 2px;
}

.plan-card p:last-child {
  margin-bottom: 0;
}

.explainers,
.capabilities {
  padding: 84px 0;
}

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

.explainer-grid article,
.compare-list article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    var(--panel-solid);
}

.explainer-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(255, 117, 108, 0.12);
  color: var(--coral);
  font-weight: 900;
}

.explainer-grid p,
.compare-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.7;
}

.compare {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  align-items: center;
  gap: 44px;
  padding: 70px 0;
}

.compare-list {
  display: grid;
  gap: 12px;
}

.compare-list article {
  display: grid;
  grid-template-columns: minmax(120px, 0.36fr) 1fr;
  gap: 18px;
  align-items: start;
}

.compare-list strong {
  color: var(--gold);
  font-size: 1.05rem;
}

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

.capability-grid article {
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0)),
    var(--panel-solid);
}

.capability-grid p,
.feature-list p,
.step-list p {
  margin-bottom: 0;
}

.capability-grid span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: rgba(247, 199, 108, 0.13);
  color: var(--gold);
  font-weight: 900;
}

body[dir="rtl"] .plan-card strong {
  font-size: clamp(1.55rem, 2.6vw, 2.45rem);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list article,
.step-list li {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.feature-list span,
.step-list span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: rgba(87, 217, 255, 0.12);
  color: var(--cyan);
  font-weight: 900;
}

.steps {
  padding: 88px 0;
}

.centered {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.centered p {
  margin-inline: auto;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 28px;
  padding: 34px;
  border: 1px solid rgba(247, 199, 108, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(247, 199, 108, 0.16), rgba(87, 217, 255, 0.1)),
    #0d1a20;
}

.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.faq {
  padding: 94px 0 70px;
}

.faq h2 {
  margin-bottom: 28px;
}

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

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 800;
}

.faq p {
  margin: 14px 0 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--cyan);
  font-weight: 800;
}

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

.admin-widget {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(300px, calc(100% - 36px));
  padding: 12px 14px;
  border: 1px solid rgba(87, 217, 255, 0.32);
  border-radius: 8px;
  background: rgba(12, 27, 35, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
}

body[dir="rtl"] .admin-widget {
  right: auto;
  left: 18px;
}

.admin-widget-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--cyan);
  color: #041015;
  font-weight: 900;
}

.admin-widget strong,
.admin-widget small {
  display: block;
}

.admin-widget strong {
  margin-bottom: 2px;
  font-size: 0.96rem;
}

.admin-widget small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-content {
    width: min(100% - 32px, 1180px);
    margin-inline: auto;
  }

  h1,
body[dir="rtl"] h1 {
    max-width: 13ch;
  }

  .trust-band,
  .section-grid,
  .plans,
  .plan-grid,
  .explainer-grid,
  .compare,
  .capability-grid,
  .faq-grid,
  .step-list {
    grid-template-columns: 1fr;
  }

  .section-grid {
    padding-top: 42px;
  }

  .capabilities {
    padding-top: 54px;
  }

  .plans,
  .section-grid,
  .compare,
  .steps,
  .faq {
    padding-bottom: 58px;
  }

  .final-cta,
  .site-footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .hero {
    padding-bottom: 42px;
  }

  h1,
  body[dir="rtl"] h1 {
    max-width: 100%;
  }

  body[dir="rtl"] h1 {
    font-size: 2.25rem;
    line-height: 1.22;
  }

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

  .hero-badges {
    gap: 6px;
  }

  .hero-badges span {
    min-height: 30px;
    padding: 0 9px;
    font-size: 0.78rem;
  }

  .sale-price {
    grid-template-columns: 1fr;
    margin: 24px 0;
  }

  .sale-price-main,
  .sale-price-compare {
    padding: 18px;
  }

  .sale-price-main strong {
    font-size: clamp(3rem, 13vw, 4.1rem);
  }

  .sale-price-compare del {
    font-size: 1.18rem;
  }

  .trust-band div,
  .plan-card,
  .explainer-grid article,
  .compare-list article,
  .capability-grid article,
  .feature-list article,
  .step-list li {
    padding: 20px;
  }

  .compare-list article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .primary-cta,
  .secondary-cta {
    width: 100%;
  }

  .admin-widget {
    right: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
  }

  body[dir="rtl"] .admin-widget {
    left: 10px;
  }
}
