@font-face {
  font-family: "IRANSansX";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("fonts/IRANSansX-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "IRANSansX";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("fonts/IRANSansX-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "IRANSansX";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("fonts/IRANSansX-ExtraBold.woff2") format("woff2");
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/vazirmatn-arabic-wght-normal.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: "Vazirmatn";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("fonts/vazirmatn-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F;
}

:root {
  --bg: #ffffff;
  --bg-muted: #eaeef0;
  --border: #dde2e5;
  --text: #0f2a2c;
  --text-muted: #3a5659;
  --text-subtle: #607c7f;
  --teal: #0d9488;
  --teal-deep: #0f766e;
  --teal-ink: #115e59;
  --gold: #c99a33;
  --gold-deep: #a67c28;
  --font: "IRANSansX", Tahoma, sans-serif;
  --font-num: "Vazirmatn", "IRANSansX", Tahoma, sans-serif;
  --max: 72rem;
  --nav-h: 3.5rem;
  --radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

.divider {
  height: 1px;
  background: var(--border);
  border: 0;
  margin: 0;
}
.divider__diamond { display: none; }

.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--nav-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.nav__in {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo { display: flex; align-items: center; gap: 0.55rem; }
.nav__logo img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.nav__logo-text { font-weight: 700; font-size: 0.95rem; color: var(--teal-deep); }
.nav__links {
  display: flex;
  gap: 1.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}
.nav__links a {
  padding: 0.2rem 0;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--teal-deep); border-bottom-color: var(--teal); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}
.btn--gold { background: var(--gold); color: #1a1408; }
.btn--gold:hover { background: var(--gold-deep); color: #fff; }
.btn--lg { padding: 0.65rem 1.25rem; font-size: 0.9rem; }
.btn--outline {
  background: transparent;
  color: var(--teal-deep);
  border: 1px solid var(--teal);
}
.btn--outline:hover { background: #f0fdfc; }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-deep); }
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.hero { padding: 2.5rem 0 3rem; }
.hero__glow, .hero__logo-ring { display: none; }
.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 900px) { .hero__grid { grid-template-columns: 0.9fr 1.1fr; } }
.hero__badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-deep);
  border-bottom: 2px solid var(--teal);
}
.hero__visual { display: flex; justify-content: center; }
.hero__logo { width: min(220px, 58vw); border-radius: 50%; }
.hero__text h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero__text h1 .hl { display: block; color: var(--teal-deep); }
.hero__text p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: 1rem 0.75rem; border-inline-start: 3px solid var(--teal); }
.stat__num {
  display: block;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}
.stat__label { font-size: 0.75rem; color: var(--text-subtle); }

.section { padding: clamp(2.75rem, 7vw, 4.5rem) 0; }
.section--muted { background: var(--bg-muted); }
.sec-head { margin-bottom: 2rem; }
.sec-head--center { text-align: center; }
.sec-head .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}
.sec-head h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.sec-head p { color: var(--text-muted); max-width: 34rem; font-size: 0.9375rem; }
.sec-head--center p { margin-inline: auto; }

.grid { display: grid; gap: 0.85rem; }
.grid-2, .grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  padding: 1.2rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-inline-start: 3px solid var(--teal);
  border-radius: var(--radius);
}
.card--gold, .card--stripe-gold { border-inline-start-color: var(--gold); }
.card--span2 { grid-column: 1 / -1; }
@media (min-width: 720px) {
  .card--span2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
  }
  .card--span2 .card__stats {
    border-top: none;
    border-inline-start: 1px solid var(--border);
    padding-top: 0;
    padding-inline-start: 1.25rem;
    margin-top: 0;
  }
}
.card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.75; }
.card ul { list-style: none; display: grid; gap: 0.25rem; }
.card li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding-inline-start: 0.85rem;
  position: relative;
}
.card li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 5px;
  height: 1px;
  background: var(--teal);
}
.card--big-num .card__big {
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--teal-ink);
  margin-bottom: 0.35rem;
}
.card__stats {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.card__stat-item b {
  display: block;
  font-family: var(--font-num);
  font-variant-numeric: tabular-nums;
  font-size: 1.15rem;
  color: var(--text);
}
.card__stat-item span { font-size: 0.68rem; color: var(--text-subtle); }
.card__code {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.62rem;
  font-family: ui-monospace, Consolas, monospace;
  direction: ltr;
  color: var(--teal-deep);
}

.spotlight {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  padding: 1.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 900px) { .spotlight { grid-template-columns: 1fr 1.1fr; } }
.spotlight h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.spotlight p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1rem; }
.pills { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pill {
  padding: 0.15rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--teal-deep);
  border-bottom: 1px solid var(--teal);
}

.players-banner {
  padding: 1.25rem 0 1.75rem;
  text-align: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.players-banner p { color: var(--text-muted); max-width: 38rem; margin: 0.4rem auto 0; font-size: 0.9rem; }
.players-banner strong { color: var(--teal-deep); }

.tech-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  min-width: 7rem;
}
.tech-item img { width: 44px; height: 44px; object-fit: contain; }
.tech-item span { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); }

.cta-band { display: none; }
.foot {
  padding: 2rem 0 5.5rem;
  border-top: 1px solid var(--border);
}
.foot__inner { display: flex; flex-direction: column; align-items: center; gap: 1.1rem; }
.foot__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
  font-size: 0.78rem;
  color: var(--text-subtle);
}
.foot__links a:hover { color: var(--teal-deep); }
.foot__copy {
  font-size: 0.75rem;
  color: var(--text-subtle);
  text-align: center;
}
.foot__copy a {
  color: var(--teal-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--teal);
}
.foot__copy a:hover { color: var(--teal-ink); }
.pills--center { justify-content: center; margin-top: 0.75rem; }
.sec-head--follow { margin-top: 2.5rem; }
.foot__logo { border-radius: 50%; }

.fab {
  position: fixed;
  bottom: 1.15rem;
  inset-inline-start: 1.15rem;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  background: var(--teal);
  color: #fff;
}
.fab:hover { background: var(--teal-deep); }
.fab svg { width: 16px; height: 16px; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    inset-inline: 0;
    flex-direction: column;
    padding: 0.85rem 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    gap: 0.65rem;
  }
  .nav__links.open { display: flex; }
  .menu-toggle { display: flex; align-items: center; justify-content: center; }
  .nav .wrap { position: relative; }
  .fab span { display: none; }
  .fab { padding: 0.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
