@font-face {
  font-family: "HexaPersian";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("/fonts/Estedad-Arabic-400.woff2") format("woff2");
}

@font-face {
  font-family: "HexaPersian";
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url("/fonts/Estedad-Arabic-800.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --page: #f5f8fc;
  --surface: #ffffff;
  --surface-soft: #f9fbff;
  --border: #dce5ef;
  --text: #142033;
  --muted: #66758b;
  --blue: #1f8df2;
  --green: #19a974;
  --cyan: #20b8c8;
  --amber: #f4a62a;
  --brand-deep: #075172;
  --shadow: 0 18px 44px rgba(20, 32, 51, 0.09);
  font-family:
    "HexaPersian",
    "Estedad",
    "Yekan Bakh",
    "IRANSans",
    Tahoma,
    Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(rgba(31, 141, 242, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 141, 242, 0.035) 1px, transparent 1px),
    var(--page);
  background-size: 34px 34px, 34px 34px, auto;
  color: var(--text);
  font-family: inherit;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 14px max(18px, calc((100vw - 1120px) / 2));
  border-bottom: 1px solid rgba(220, 229, 239, 0.84);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.site-brand,
.site-nav,
.hero-actions,
.trust-row,
.cta-row,
.legal-section {
  display: flex;
  align-items: center;
}

.site-brand {
  gap: 10px;
  color: var(--brand-deep);
  font-size: 20px;
  font-weight: 950;
}

.site-brand img,
.product-preview img {
  border-radius: 8px;
  object-fit: cover;
}

.site-nav {
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-nav a:hover {
  background: #e7f3ff;
  color: var(--blue);
}

.site-nav a.active {
  background: #e7f3ff;
  color: var(--blue);
}

.header-cta,
.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
}

.header-cta,
.btn.primary {
  background: var(--blue);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(31, 141, 242, 0.2);
}

.btn.ghost {
  border-color: var(--border);
  background: #ffffff;
  color: var(--brand-deep);
}

.hero-section,
.section-band,
.steps-section,
.split-section,
.reseller-section,
.legal-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.82fr);
  gap: 28px;
  align-items: center;
  min-height: 620px;
  padding: 36px 0 28px;
}

.hero-content {
  display: grid;
  gap: 18px;
}

.eyebrow,
.section-head span {
  display: inline-flex;
  width: fit-content;
  padding: 6px 11px;
  border: 1px solid rgba(31, 141, 242, 0.18);
  border-radius: 999px;
  background: #e7f3ff;
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 900;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  max-width: 820px;
  color: var(--brand-deep);
  font-size: 64px;
  font-weight: 950;
  line-height: 1.12;
}

h2 {
  color: var(--brand-deep);
  font-size: 40px;
  font-weight: 950;
  line-height: 1.2;
}

p {
  max-width: 680px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 650;
  line-height: 2;
}

.hero-actions,
.cta-row {
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row {
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.trust-row span {
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.product-preview,
.section-band,
.reseller-section {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.product-preview {
  display: grid;
  gap: 10px;
  max-height: 560px;
  overflow: hidden;
  padding: 10px;
}

.portal-shot {
  display: block;
  width: min(100%, 360px);
  height: auto;
  max-height: 480px;
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
  object-fit: cover;
  object-position: top;
}

.preview-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
}

.preview-caption strong,
.steps-grid strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 950;
}

.preview-caption small,
.price-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.preview-metrics,
.pricing-grid,
.steps-grid {
  display: grid;
  gap: 10px;
}

.preview-metrics {
  grid-template-columns: repeat(3, 1fr);
}

.preview-metrics span,
.price-card,
.steps-grid article {
  display: grid;
  gap: 7px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface-soft);
}

.preview-metrics b {
  color: var(--blue);
  font-size: 18px;
  font-weight: 950;
}

.preview-caption a {
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--green);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.section-band,
.steps-section,
.split-section,
.reseller-section {
  margin-top: 22px;
  padding: 28px;
}

.section-head {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 18px;
  text-align: center;
}

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

.price-card {
  min-height: 190px;
  background: #ffffff;
}

.price-card.featured {
  border-color: rgba(31, 141, 242, 0.36);
  box-shadow: 0 12px 28px rgba(31, 141, 242, 0.1);
}

.price-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  font-weight: 950;
}

.price-card b {
  color: var(--brand-deep);
  font-size: 24px;
  font-weight: 950;
}

.price-card p {
  font-size: 13px;
  line-height: 1.8;
}

.price-card .btn {
  margin-top: auto;
}

.skeleton span,
.skeleton b,
.skeleton p {
  min-height: 18px;
  border-radius: 8px;
  background: #edf4fb;
}

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

.steps-grid b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #ffffff;
}

.split-section,
.reseller-section {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.56fr);
  gap: 18px;
  align-items: center;
}

.guide-list {
  display: grid;
  gap: 8px;
}

.guide-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
}

.guide-card strong,
.support-methods strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 950;
}

.guide-card p,
.support-methods p,
.legal-copy p {
  font-size: 14px;
  line-height: 1.9;
}

.guide-card a {
  color: var(--brand-deep);
  font-weight: 900;
}

.support-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.support-methods article {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #ffffff;
}

.legal-page {
  display: grid;
  gap: 12px;
}

.legal-copy {
  display: grid;
  gap: 12px;
}

.route-hidden {
  display: none !important;
}

body:not([data-route="home"]) .section-band,
body:not([data-route="home"]) .steps-section,
body:not([data-route="home"]) .split-section,
body:not([data-route="home"]) .reseller-section {
  margin-top: 26px;
}

.compact {
  box-shadow: none;
}

.legal-section {
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 28px 0 44px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

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

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero-section,
  .split-section,
  .reseller-section {
    grid-template-columns: 1fr;
  }

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

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .pricing-grid,
  .steps-grid,
  .support-methods {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding: 10px 12px;
  }

  .header-cta {
    padding-inline: 10px;
  }

  .hero-section,
  .section-band,
  .steps-section,
  .split-section,
  .reseller-section,
  .legal-section {
    width: min(100% - 20px, 1120px);
  }

  .section-band,
  .steps-section,
  .split-section,
  .reseller-section {
    padding: 18px;
  }

  .preview-metrics {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 25px;
  }
}
