@font-face {
  font-family: "Vazir";
  src: url("./assets/Vazir-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0a0a0c;
  --bg-2: #121214;
  --surface: #1c1c1e;
  --text: #f0ebe1;
  --muted: #afa89c;
  --line: #38383a;
  --orange: #ff5000;
  --orange-2: #ff7a00;
  --ok: #32d74b;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Vazir", Tahoma, sans-serif;
  line-height: 1.7;
}

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

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

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(10, 10, 12, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
}

.brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
}

.btn-primary:hover {
  background: var(--orange-2);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 72px 0 48px;
}

.kicker {
  color: var(--orange);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.2;
  margin-bottom: 18px;
}

.lede {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.8rem;
  background: var(--bg-2);
}

.device-stage {
  display: flex;
  justify-content: center;
}

.device {
  width: min(100%, 300px);
  padding: 12px;
  border-radius: 36px;
  border: 1px solid var(--line);
  background: #141416;
}

.device-screen {
  border-radius: 26px;
  background: var(--bg);
  overflow: hidden;
  min-height: 520px;
  padding: 18px 16px 20px;
}

.device-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.device-logo {
  height: 22px;
  width: auto;
  opacity: 0.9;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 80, 0, 0.16);
  color: var(--orange-2);
  font-size: 0.72rem;
}

.status-pill i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
}

.timer {
  text-align: center;
  padding: 18px 0 10px;
}

.timer-value {
  color: var(--orange);
  font-size: 2.4rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.timer-label {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.subject {
  width: fit-content;
  margin: 16px auto 22px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--orange-2);
  font-size: 0.8rem;
}

.fake-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 22px;
}

.fake-btn {
  height: 40px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
}

.fake-btn.on {
  background: var(--orange);
  color: #fff;
}

.fake-btn.off {
  border: 1px solid var(--line);
  color: var(--muted);
}

.board-title {
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 10px;
}

.board-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

.board-row span:last-child {
  color: var(--muted);
}

.rank {
  width: 22px;
  color: var(--orange);
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--bg-2);
}

.strip article {
  padding: 22px 20px;
}

.strip article + article {
  border-right: 1px solid var(--line);
}

.strip strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.strip span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: 72px 0;
}

.section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 10px;
}

.section-lead {
  color: var(--muted);
  max-width: 40rem;
  margin-bottom: 32px;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}

.feature {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.feature-index {
  color: var(--orange);
  font-size: 1.1rem;
  padding-top: 2px;
}

.feature h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.feature p {
  color: var(--muted);
  font-size: 0.92rem;
}

.platforms {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
}

.platform {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 22px;
  min-height: 180px;
}

.platform.ready {
  border-color: rgba(255, 80, 0, 0.55);
}

.platform .label {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 18px;
}

.platform h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.platform p {
  color: var(--muted);
  font-size: 0.92rem;
}

.download-band {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}

.download-band .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px 0;
}

.download-band h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
}

.download-band p {
  color: var(--muted);
  margin-top: 8px;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.steps li {
  list-style: none;
  color: var(--muted);
  padding-right: 8px;
  border-right: 2px solid var(--orange);
}

.site-footer {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.download-page .hero {
  grid-template-columns: 1fr;
  max-width: 640px;
  padding-top: 56px;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .hero,
  .features,
  .platforms,
  .strip,
  .download-band .wrap {
    grid-template-columns: 1fr;
  }

  .strip article + article {
    border-right: 0;
    border-top: 1px solid var(--line);
  }

  .hero {
    padding-top: 40px;
  }

  .device {
    width: min(100%, 280px);
  }
}
