/* ===== TizVision — style.css ===== */

/* فونت محلی — preload در head. block یعنی تا آماده شدن وزیرمتن آریال نشان داده نشود. */
@font-face {
  font-family: "Vazirmatn Fallback";
  src: local("Arial"), local("Tahoma");
  size-adjust: 106.24%;
  ascent-override: 93.19%;
  descent-override: 24.41%;
  line-gap-override: 0%;
}
@font-face {
  font-family: Vazirmatn;
  src: url("fonts/Vazirmatn-Variable.woff2") format("woff2 supports variations"),
       url("fonts/Vazirmatn-Variable.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

:root {
  --bg: #15151f;
  --bg-soft: #15151f;
  --surface: #1c1c28;
  --surface-2: #232331;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f5f2ec;
  --text-2: rgba(245, 242, 236, 0.66);
  --gold: #f0a428;
  --gold-soft: #ffc45e;
  --gold-deep: #b97a12;
  --gold-tint: rgba(240, 164, 40, 0.10);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px rgba(0,0,0,.35);
  --font: Vazirmatn, "Vazirmatn Fallback", Tahoma, Arial, sans-serif;
  --title-line: clamp(20px, 2.8vw, 26px);
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-padding-top: 88px;
  /* همیشه جای اسکرول‌بار رزرو شود تا عرض صفحه بین صفحات بلند و کوتاه نپرد */
  scrollbar-gutter: stable;
  overflow-y: scroll;
  touch-action: pan-x pan-y;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 242, 236, 0.28) #12121a;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}
::-webkit-scrollbar-track {
  background: #12121a;
}
::-webkit-scrollbar-thumb {
  background: rgba(245, 242, 236, 0.2);
  border-radius: 999px;
  border: 2px solid #12121a;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(240, 164, 40, 0.55);
  border: 2px solid #12121a;
  background-clip: padding-box;
}
::-webkit-scrollbar-corner {
  background: #12121a;
}
html.is-standalone {
  scroll-padding-top: calc(88px + env(safe-area-inset-top));
}
html.is-standalone .site-header {
  padding-top: env(safe-area-inset-top);
}
html.is-standalone .hero {
  padding-top: calc(72px + env(safe-area-inset-top));
}
html.is-standalone body > .section:first-of-type {
  padding-top: calc(96px + env(safe-area-inset-top));
}
html.is-locked {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none !important; }
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; }

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  min-height: 44px;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn .arrow { font-size: 18px; line-height: 1; transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(-3px); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, #d98f14);
  color: #1c1204;
  box-shadow: 0 2px 10px rgba(240, 164, 40, 0.28);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(240, 164, 40, 0.4); }
.btn-danger {
  background: #c44548;
  color: #fff;
}
.btn-danger:hover { background: #d45457; }
.btn-outline {
  border-color: var(--border-strong);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-ghost { color: var(--text-2); }
.btn-ghost:hover { color: var(--text); }
.btn-sm { padding: 7px 16px; font-size: 14px; min-height: 40px; }
.btn-lg { padding: 13px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn:disabled,
.btn.is-disabled {
  opacity: 0.45;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
  pointer-events: none;
}
.btn-gold:disabled:hover,
.btn-gold.is-disabled:hover {
  transform: none;
  box-shadow: none;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  background: rgba(21, 21, 31, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.site-header.is-scrolled {
  background: rgba(21, 21, 31, 0.92);
  border-bottom-color: var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 34px; height: 34px; object-fit: contain; }
.brand-name {
  font-size: 21px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.main-nav { display: flex; gap: 4px; margin-inline-start: 12px; }
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-size: 15px;
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link.is-active { color: var(--gold-soft); }
/* آیتم متنیِ مخصوص صفحه فعلی — فقط در صفحات داخلی نمایش داده می‌شود */
.main-nav .nav-context {
  position: relative;
  margin-inline-start: 14px;
}
.main-nav .nav-context::before {
  content: "";
  position: absolute;
  inset-inline-start: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: var(--border-strong);
}
.header-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.header-account {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: min(280px, 52vw);
  min-height: 40px;
  overflow: hidden;
  padding-block: 4px;
  padding-inline-start: 14px;
  padding-inline-end: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(240, 164, 40, 0.45);
  background: var(--gold-tint);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.header-account:hover {
  border-color: rgba(240, 164, 40, 0.75);
  background: rgba(240, 164, 40, 0.16);
}
.header-account-meta {
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  line-height: 1.3;
}
.header-account-name,
.header-account-role {
  display: block;
  width: 100%;
  min-width: 0;
  font-size: 13.5px;
  font-weight: 700;
  text-align: end;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.header-account-name { color: var(--text); }
.header-account-role { color: var(--gold-soft); }
.header-account-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-tint);
  color: var(--gold-soft);
  border: 1px solid rgba(240, 164, 40, 0.4);
}
.header-account-avatar svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .header-inner { gap: 10px; }
  .nav-toggle { order: -1; flex-shrink: 0; }
  .brand { order: 0; flex-shrink: 0; }
  .header-actions { order: 1; margin-inline-start: auto; flex-shrink: 0; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  /* 908/1920 = نسبت خود والپیپر؛ تا عرض ۱۹۲۰ هیرو به اندازهٔ تمام تصویر بالا می‌آید تا سقف و عقاب بریده نشوند */
  min-height: max(92vh, calc(72px + min(100vw, 1920px) * 908 / 1920));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: 72px 0 0 0;
  background: url("hero-bg.webp") 18% 0 / cover no-repeat;
}
@media (max-width: 720px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    align-items: flex-start;
  }
  .hero-bg {
    inset: 72px 0 auto 0;
    aspect-ratio: 1 / 1.51333;
    background-size: 320% auto;
    background-position: 35% 0;
  }
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(21,21,31,0.60) 0%, rgba(21,21,31,0.65) 42%, rgba(21,21,31,0.02) 100%),
    radial-gradient(900px 480px at 85% 40%, rgba(240,164,40,0.08), transparent 65%);
}
.hero-fade {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
@media (max-width: 720px) {
  .hero-bg::after {
    background:
      linear-gradient(to bottom, transparent calc(100% - 160px), var(--bg) 100%),
      linear-gradient(to left, rgba(21,21,31,0.60) 0%, rgba(21,21,31,0.65) 42%, rgba(21,21,31,0.02) 100%),
      radial-gradient(900px 480px at 85% 40%, rgba(240,164,40,0.08), transparent 65%);
  }
  .hero-fade { display: none; }
}
.hero-inner { position: relative; z-index: 1; }
.hero-content { max-width: 620px; padding-block: 72px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--gold-soft);
  background: var(--gold-tint);
  border: 1px solid rgba(240, 164, 40, 0.3);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
.hero-title {
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
}
.hero-title .text-gold {
  font-size: 0.42em;
  display: inline-block;
  line-height: 1.1;
}
.text-gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 60%, var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 17.5px;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 24px;
}
.hero-rule {
  max-width: 540px;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
}
.hero-trial {
  font-size: 14px;
  color: var(--text-2);
  max-width: 540px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px; }

@media (max-width: 720px) {
  .hero-content {
    padding-top: calc(clamp(120px, 36vw, 170px) + 5px);
    padding-bottom: 56px;
  }
  .badge { margin-bottom: 14px; }
  .hero-title { margin-bottom: 12px; }
  .hero-sub { margin-bottom: 14px; }
  .hero-rule { margin-bottom: 12px; }
  .hero-trial { margin-bottom: 18px; }
}

/* ===== Sections ===== */
.section { padding-block: 96px; }
.section-alt { background: var(--bg-soft); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
#versions .section-head { margin-bottom: 24px; }
.kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  color: var(--gold);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  position: relative;
}
.kicker::before, .kicker::after {
  content: "";
  flex: 0 1 72px;
  width: 72px;
  min-width: 18px;
  height: 3px;
  background: linear-gradient(to left, transparent, var(--gold));
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}
.kicker::after {
  background: linear-gradient(to right, transparent, var(--gold));
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
}
.section-head h2 {
  font-size: var(--title-line);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 14px;
}
#versions .section-head h2 { margin-bottom: 0; }
.section-head p {
  color: var(--text-2);
  font-size: var(--title-line);
  line-height: 1.8;
}
.section-head .section-lead {
  color: var(--text);
  font-size: var(--title-line);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 0;
}
#features .section-lead,
#versions .section-head h2,
#agency .section-head p,
.gallery-head .section-lead {
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text);
}

/* ===== Shared features (لیست، نه کارت) ===== */
.shared-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  column-gap: 0;
}
.shared-split::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, transparent, var(--gold) 10%, var(--gold) 90%, transparent);
  clip-path: polygon(50% 0, 100% 16px, 100% calc(100% - 16px), 50% 100%, 0 calc(100% - 16px), 0 16px);
  pointer-events: none;
}
.shared-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-inline: 36px;
  min-width: 0;
}
.shared-item h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 17.5px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.4;
}
.shared-inapp {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold-soft);
  border: 1px solid rgba(240, 164, 40, 0.4);
  background: var(--gold-tint);
  border-radius: 999px;
  padding: 2px 10px;
  line-height: 1.5;
}
.shared-item h3 img {
  width: 40px;
  height: 40px;
  max-width: 40px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}
.shared-item ul {
  display: grid;
  gap: 8px;
}
.shared-item li {
  position: relative;
  padding-inline-start: 18px;
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.9;
}
.shared-item li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.shared-item li a {
  color: var(--gold-soft);
  text-decoration: none;
  font-weight: 700;
}
.shared-item li a:hover { color: var(--gold); }

/* ===== Features (کارت‌های نمایندگی و صفحات مشابه) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  transition: border-color .2s ease, transform .2s ease;
}
.feature-card:hover {
  border-color: rgba(240, 164, 40, 0.45);
  transform: translateY(-3px);
  z-index: 2;
}
.feature-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.feature-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255, 196, 94, 0.22), rgba(240, 164, 40, 0.07));
  border: 1px solid rgba(240, 164, 40, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 196, 94, 0.28), 0 0 18px rgba(240, 164, 40, 0.12);
}
.feature-icon svg {
  width: 30px;
  height: 30px;
  display: block;
  overflow: visible;
}
.feature-icon .ico-hi { fill: var(--gold-soft); }
.feature-icon .ico-mid { fill: var(--gold); }
.feature-icon .ico-deep { fill: var(--gold-deep); }
.feature-icon .ico-cut { fill: #15151f; }
.feature-icon .ico-stroke,
.feature-icon .ico-stroke-band {
  fill: none;
  stroke: var(--gold-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature-icon .ico-stroke { stroke-width: 2.6; }
.feature-icon .ico-stroke-band { stroke-width: 3.4; }
.feature-card h3 {
  font-size: 16.5px;
  font-weight: 800;
  margin: 0;
  line-height: 1.35;
}
.feature-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.75; }

/* ===== Themes / Mockup ===== */
.theme-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.chip {
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-2);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  transition: all .15s ease;
}
.chip:hover { color: var(--text); border-color: var(--gold); }
.chip.is-active {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  border-color: transparent;
  color: #1c1204;
}

.theme-preview {
  max-width: 960px;
  margin-inline: auto;
}

/* ===== Laptop mockup (قاب لپ‌تاپ دور اسکرین‌شات) ===== */
.laptop {
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 26px 52px rgba(0, 0, 0, 0.55));
}
.laptop-screen {
  position: relative;
  width: min(100%, 840px);
  background: linear-gradient(180deg, #2e2f36, #1a1b20 70%, #141519);
  border: 1px solid #43444d;
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  padding: 26px 16px 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.laptop-camera {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10101a;
  box-shadow: inset 0 0 2px rgba(140, 180, 255, 0.5), 0 0 0 2px rgba(0, 0, 0, 0.35);
}
.laptop-screen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  background: #15151f;
  border: 1px solid rgba(0, 0, 0, 0.6);
  opacity: 1;
  transition: opacity .25s ease;
}
.laptop-screen img.is-fading { opacity: 0; }
.laptop-base {
  position: relative;
  width: 100%;
  height: 20px;
  background: linear-gradient(180deg, #4a4b54, #2a2b31 45%, #1a1b20 85%, #15151f);
  border: 1px solid #43444d;
  border-top-color: #5b5c66;
  border-radius: 3px 3px 16px 16px / 3px 3px 12px 12px;
}
.laptop-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 9px;
  background: linear-gradient(180deg, #17181c, #26272d);
  border-radius: 0 0 12px 12px;
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.6);
}

/* ===== Trial banner (داخل بخش نسخه‌ها — هم‌عرض سه کارت نسخه) ===== */
.trial-banner {
  width: 100%;
  margin-bottom: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 30px;
  border-radius: 16px;
  border: 1px solid rgba(240, 164, 40, 0.4);
  background: linear-gradient(135deg, rgba(240, 164, 40, 0.14), rgba(240, 164, 40, 0.04) 60%);
}
.trial-flag {
  display: inline-block;
  background: var(--gold);
  color: #1c1204;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.trial-text h3 { font-size: 22px; margin-bottom: 6px; }
.trial-text p { color: var(--text-2); max-width: 620px; }
.trial-banner > .btn { flex-shrink: 0; }
@media (max-width: 720px) {
  .trial-banner { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
}

/* ===== Agency ===== */
.agency-actions { margin-top: 44px; text-align: center; }

/* ===== Versions ===== */
.versions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
.version-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(420px 260px at 50% 0%, rgba(240,164,40,0.12), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  transition: border-color .2s ease, transform .2s ease;
}
.version-card:hover { border-color: rgba(240,164,40,0.45); transform: translateY(-3px); z-index: 2; }
.version-tag {
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #1c1204;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 14px;
}
.version-card h3.version-tag {
  position: static;
  align-self: center;
  display: inline-block;
  margin: 0 0 14px;
  font-size: 14.5px;
  font-weight: 800;
  padding: 6px 16px;
  text-align: center;
  line-height: 1.6;
}
.version-card h3 { font-size: 19px; font-weight: 800; text-align: center; margin-bottom: 8px; }
.version-sub {
  color: var(--text-2);
  font-size: 13.5px;
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 16px;
}
.version-list {
  display: grid;
  gap: 8px;
  margin-bottom: 0;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.version-list li {
  position: relative;
  padding-inline-start: 18px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.9;
}
.version-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.version-list a {
  color: var(--gold-soft);
  text-decoration: none;
  font-weight: 700;
}
.version-list a:hover { color: var(--gold); }
.version-deal {
  border-top: 1px solid var(--border);
  margin-top: 16px;
  padding-top: 16px;
}
.deal-kicker {
  text-align: center;
  color: var(--gold);
  font-size: 14.5px;
  font-weight: 800;
  margin-bottom: 12px;
}
.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 8px;
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 4px;
}
.price-row .plabel { color: var(--text); font-weight: 600; }
.price-row s {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: rgba(245, 242, 236, 0.72);
  white-space: nowrap;
}
.price-row s::after {
  content: "";
  position: absolute;
  inset-inline: -2px;
  top: 52%;
  height: 1px;
  background: rgba(245, 242, 236, 0.92);
  transform: rotate(-12deg);
  transform-origin: center;
  pointer-events: none;
  border-radius: 1px;
}
.price-row b { color: var(--gold-soft); font-weight: 800; }
.price-row .toman { font-size: 12px; }
.price-row.is-total {
  border-top: 1px solid var(--border);
  margin-top: 10px;
  padding-top: 10px;
  font-size: 15.5px;
  color: var(--text);
}
.price-row.is-total b { font-size: 1.08em; }
.renew-flag {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-soft);
  border: 1px solid rgba(240,164,40,0.4);
  border-radius: 999px;
  padding: 7px 14px;
  background: var(--gold-tint);
  line-height: 1.5;
  margin-top: 12px;
}
.version-actions { display: grid; gap: 10px; margin-top: auto; padding-top: 18px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--text-2); font-size: 14px; margin-top: 16px; max-width: 300px; }
.footer-domains {
  margin-top: 14px;
  font-size: 13.5px;
  direction: ltr;
  text-align: right;
}
.footer-domains span { margin-inline: 16px; }
.site-footer .footer-domains,
.site-footer .footer-domains span {
  color: var(--text-2);
}
.footer-legal {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--text-2);
  max-width: 320px;
}
.footer-col h4 { font-size: 15.5px; font-weight: 700; margin-bottom: 18px; color: var(--text); }
.footer-col ul { display: grid; gap: 10px; }
.footer-col ul a { color: var(--text-2); font-size: 14px; transition: color .15s ease; }
.footer-col ul a:hover { color: var(--gold-soft); }
.footer-contact li { color: var(--text-2); font-size: 14px; }
.footer-contact span { color: var(--text); font-weight: 600; }
.trust-badges { display: grid; gap: 12px; }
.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--text-2);
  transition: border-color .15s ease;
}
.trust-badge:hover { border-color: var(--gold); }
.trust-logo {
  height: 44px;
  width: 64px;
  object-fit: contain;
  object-position: center;
  flex: none;
  border: none;
  background: none;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 22px;
  text-align: center;
}
.footer-bottom p { color: var(--text-2); font-size: 13.5px; }
.footer-links {
  margin-bottom: 8px;
}
.site-footer .footer-links a {
  color: var(--gold-soft);
  text-decoration: none;
  font-weight: 700;
}
.site-footer .footer-links a:hover { color: var(--gold); }

/* ===== Toast ===== */
.tv-toasts {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: min(440px, calc(100% - 24px));
  pointer-events: none;
}
.tv-toast {
  pointer-events: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  padding: 16px 18px 18px;
  cursor: pointer;
  animation: tvToastIn .42s cubic-bezier(.18, 1.35, .32, 1);
}
.tv-toast.is-out { animation: tvToastOut .2s ease forwards; }
.tv-toast.is-pulse { animation: tvToastPulse .42s ease; }
.tv-toast-ok {
  background: linear-gradient(180deg, #163528 0%, #0f1f18 100%);
  border: 1px solid #7fd6a4;
  box-shadow:
    0 0 0 1px rgba(127, 214, 164, 0.28),
    0 14px 40px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(70, 161, 113, 0.45);
}
.tv-toast-error {
  background: linear-gradient(180deg, #3a1618 0%, #241011 100%);
  border: 1px solid #ff6b70;
  box-shadow:
    0 0 0 1px rgba(229, 72, 77, 0.32),
    0 14px 40px rgba(0, 0, 0, 0.55),
    0 0 36px rgba(229, 72, 77, 0.48);
}
.tv-toast-mark {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.tv-toast-ok .tv-toast-mark {
  background: linear-gradient(135deg, #9ae4ba, #46a171);
  color: #07140e;
  box-shadow: 0 0 20px rgba(127, 214, 164, 0.7);
}
.tv-toast-error .tv-toast-mark {
  background: linear-gradient(135deg, #ff8a8d, #e5484d);
  color: #2a0c0e;
  box-shadow: 0 0 20px rgba(229, 72, 77, 0.65);
}
.tv-toast-mark svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tv-toast-text {
  margin: 0;
  flex: 1;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.7;
  text-align: start;
}
.tv-toast-ok .tv-toast-text { color: #9ae4ba; }
.tv-toast-error .tv-toast-text { color: #ffb3b5; }
.tv-toast-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
}
.tv-toast-bar i {
  display: block;
  height: 100%;
  width: 100%;
  transform-origin: right center;
  animation: tvToastBar 4.5s linear forwards;
}
.tv-toast-ok .tv-toast-bar i {
  background: linear-gradient(90deg, #46a171, #9ae4ba);
}
.tv-toast-error .tv-toast-bar i {
  background: linear-gradient(90deg, #e5484d, #ff8a8d);
}
@keyframes tvToastIn {
  from { opacity: 0; transform: translateY(-28px) scale(.88); }
  55% { opacity: 1; transform: translateY(5px) scale(1.06); }
  to { opacity: 1; transform: none; }
}
@keyframes tvToastOut {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(-12px) scale(.96); }
}
@keyframes tvToastPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.07); }
  100% { transform: scale(1); }
}
@keyframes tvToastBar {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .tv-toast,
  .tv-toast.is-out,
  .tv-toast.is-pulse,
  .tv-toast-bar i { animation: none; }
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }
.version-card.reveal.is-visible,
.feature-card.reveal.is-visible {
  transition: opacity .6s ease, transform .2s ease, border-color .2s ease;
}
.version-card.reveal.is-visible:hover,
.feature-card.reveal.is-visible:hover { transform: translateY(-3px); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .versions-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .shared-split {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .shared-split::before { display: none; }
  .shared-col { padding-inline: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav {
    position: fixed;
    top: 72px;
    inset-inline: 0;
    flex-direction: column;
    background: rgba(21,21,31,0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .nav-toggle {
    display: grid;
    gap: 5px;
    background: none;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    padding: 12px 10px;
    cursor: pointer;
  }
  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header-actions .btn-ghost { display: none; }
  .main-nav .nav-context { margin-inline-start: 0; }
  .main-nav .nav-context::before { display: none; }
}
@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .section { padding-block: 64px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}


/* ===== Agency section emphasis (همکاری با تیزویژن) ===== */
.kicker-lg { font-size: 19px; font-weight: 800; }
#agency .section-head p { margin-top: 6px; }
#agency .section-head p strong.text-gold { font-weight: 800; white-space: nowrap; color: var(--gold); }
