/* =====================================================================
   VRPro — صفحات محتوایی (تماس با ما / راهنما)
   توکن‌ها آینه‌ی style.css لندینگ‌اند. اگر آنجا عوض شد، اینجا هم عوض کن.
   برخلاف لندینگ، این صفحات اسکرول عادی دارند (بدون scroll-jacking).
   ===================================================================== */

@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Black.woff2") format("woff2");
  font-weight: 900; font-style: normal; font-display: swap;
}

:root {
  --vr-blue-300: #7da4ff;
  --vr-blue-400: #5586f8;
  --vr-blue-500: #3b6ff6;
  --vr-blue-600: #2f5fe0;
  --vr-navy-950: #080d18;
  --vr-navy-900: #0a1120;
  --vr-navy-850: #0f1a2e;
  --vr-navy-800: #152436;
  --vr-navy-700: #1d2c44;
  --vr-slate-100: #dde4f0;
  --vr-slate-300: #aab6cd;
  --vr-slate-400: #8593ad;
  --vr-slate-500: #5b6b86;
  --vr-warning: #f5b53d;
  --vr-success: #2ecc71;
  --vr-bg: var(--vr-navy-900);
  --vr-text: #f1f4fa;
  --vr-text-muted: var(--vr-slate-400);
  --vr-border: rgba(255, 255, 255, 0.09);
  --vr-border-accent: rgba(59, 111, 246, 0.55);
  --vr-accent-soft: rgba(59, 111, 246, 0.13);
  --vr-accent-soft-border: rgba(59, 111, 246, 0.32);
  --vr-glass: rgba(15, 26, 46, 0.72);
  --vr-radius-md: 8px;
  --vr-radius-lg: 14px;
  --vr-radius-pill: 999px;
  --vr-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --vr-shadow-accent: 0 6px 20px rgba(59, 111, 246, 0.35);
  --vr-font: "Vazirmatn", "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; }
html, body { background: var(--vr-bg); }

body {
  font-family: var(--vr-font);
  color: var(--vr-text);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* هدف پرش لنگرها زیر هدر چسبان گیر نکند */
[id] { scroll-margin-top: calc(var(--header-h) + 18px); }

::selection { background: rgba(59, 111, 246, 0.35); }

a { color: var(--vr-blue-300); text-decoration: none; }
a:hover { color: var(--vr-blue-400); }

/* ---------------------------------------------------------------------
   پس‌زمینه — همان بلابِ محوِ لندینگ برای پیوستگی بصری
--------------------------------------------------------------------- */
.bg-blob {
  position: fixed;
  width: 62vmax; height: 62vmax;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
.bg-blob--1 {
  background: radial-gradient(circle, rgba(59, 111, 246, 0.20), transparent 65%);
  top: -26vmax; inset-inline-start: -20vmax;
}
.bg-blob--2 {
  background: radial-gradient(circle, rgba(29, 44, 68, 0.85), transparent 65%);
  bottom: -30vmax; inset-inline-end: -22vmax;
}

/* ---------------------------------------------------------------------
   هدر — همان تاپ‌بارِ صحنه‌ی پایانیِ لندینگ
--------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 clamp(12px, 3vw, 28px);
  background: rgba(10, 17, 32, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--vr-border);
}

.site-header__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--vr-text);
}
.site-header__logo:hover { color: var(--vr-text); }
.site-header__logo svg {
  height: 38px; width: auto;
  animation: bar-glow 2.6s ease-in-out infinite;
}
@keyframes bar-glow {
  0%, 100% { filter: drop-shadow(0 0 6px rgba(59, 111, 246, 0.30)); }
  50% { filter: drop-shadow(0 0 14px rgba(59, 111, 246, 0.65)); }
}
.site-header__wordmark { font-weight: 900; font-size: 20px; letter-spacing: -0.4px; }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--vr-radius-pill);
  color: var(--vr-slate-300);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.06); color: var(--vr-text); }
.site-nav a[aria-current="page"] {
  background: var(--vr-accent-soft);
  border: 1px solid var(--vr-accent-soft-border);
  color: var(--vr-blue-300);
}

/* ---------------------------------------------------------------------
   دکمه‌ها و بَج‌ها — مطابق vr-btn / vr-badge
--------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--vr-accent-soft-border);
  border-radius: var(--vr-radius-md);
  background: var(--vr-accent-soft);
  color: var(--vr-blue-300);
  font-family: var(--vr-font);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.08s;
}
.btn:hover { background: rgba(59, 111, 246, 0.2); color: var(--vr-blue-300); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--vr-blue-500); outline-offset: 2px; }
.btn--primary {
  background: var(--vr-blue-500);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--vr-shadow-accent);
}
.btn--primary:hover { background: var(--vr-blue-400); color: #fff; }
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--vr-border);
  color: var(--vr-slate-300);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--vr-text); }
.btn--soon { cursor: default; opacity: 0.92; }
.btn[disabled] { opacity: 0.55; cursor: default; }
.btn--block { width: 100%; }

.badge {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 3px 7px;
  border-radius: 4px;
  line-height: 1;
  background: rgba(245, 181, 61, 0.18);
  color: #ffc34f;
}
.badge--onprimary { background: rgba(255, 255, 255, 0.22); color: #fff; }

.lang-toggle {
  min-width: 44px; min-height: 38px;
  padding: 6px 14px;
  border-radius: var(--vr-radius-pill);
  border: 1px solid var(--vr-border);
  background: rgba(255, 255, 255, 0.06);
  color: var(--vr-slate-300);
  font-family: var(--vr-font);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-toggle:hover { background: rgba(255, 255, 255, 0.12); color: var(--vr-text); }
.lang-toggle:focus-visible { outline: 2px solid var(--vr-blue-500); outline-offset: 2px; }

/* ---------------------------------------------------------------------
   چیدمان صفحه
--------------------------------------------------------------------- */
.main { position: relative; z-index: 1; flex: 1 0 auto; }

.wrap {
  width: min(92vw, 1080px);
  margin-inline: auto;
}
.wrap--narrow { width: min(92vw, 780px); }

.page-hero {
  text-align: center;
  padding: clamp(38px, 7vw, 72px) 0 clamp(24px, 4vw, 36px);
}
.page-hero__eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--vr-slate-500);
}
.page-hero h1 {
  font-size: clamp(26px, 5.4vw, 42px);
  font-weight: 900;
  margin-top: 12px;
  line-height: 1.3;
}
.page-hero h1::after {
  content: "";
  display: block;
  width: 52px; height: 3px;
  border-radius: 2px;
  background: var(--vr-blue-500);
  margin: 16px auto 0;
}
.page-hero__sub {
  margin-top: 16px;
  font-size: clamp(14px, 3vw, 17px);
  line-height: 2;
  color: var(--vr-slate-300);
  max-width: 62ch;
  margin-inline: auto;
}

/* ---------------------------------------------------------------------
   کارت شیشه‌ای — همان جعبه‌متن‌های لندینگ
--------------------------------------------------------------------- */
.card {
  background: var(--vr-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-lg);
  box-shadow: var(--vr-shadow-md);
  padding: clamp(18px, 3.4vw, 28px);
}
.card + .card { margin-top: 18px; }
.card__title {
  font-size: clamp(17px, 3.4vw, 21px);
  font-weight: 900;
  margin-bottom: 6px;
}
.card__title::after {
  content: "";
  display: block;
  width: 40px; height: 3px;
  border-radius: 2px;
  background: var(--vr-blue-500);
  margin-top: 10px;
}
.card p, .card li {
  font-size: clamp(13.5px, 2.8vw, 15px);
  line-height: 2.05;
  color: var(--vr-text-muted);
}
.card p + p { margin-top: 12px; }
.card__title + p { margin-top: 14px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1.15fr 0.85fr; }
}

/* یادداشت کوچک زیر یک بلوک (مثلاً «قیمت‌ها در اپ نمایش داده می‌شود») */
.form-note {
  font-size: 12px;
  color: var(--vr-slate-500);
  line-height: 1.9;
  margin-top: 4px;
}

/* ---------------------------------------------------------------------
   کاشی‌های اطلاعات تماس
--------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 640px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid__full { grid-column: 1 / -1; }
}
/* هر کاشی دقیقاً یک info-item دارد، پس خط جداکنندهٔ داخلی لازم نیست */
.contact-grid .card + .card { margin-top: 0; }

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--vr-border);
}
.info-item:last-child { border-bottom: 0; padding-bottom: 0; }
.info-item:first-child { padding-top: 0; }
.info-item__icon {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--vr-accent-soft);
  border: 1px solid var(--vr-accent-soft-border);
  color: var(--vr-blue-300);
}
.info-item__icon svg { width: 20px; height: 20px; }
.info-item__body { min-width: 0; }
.info-item__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--vr-slate-500);
  margin-bottom: 4px;
}
.info-item__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--vr-text);
  line-height: 1.9;
  word-break: break-word;
}
.info-item__value a { color: var(--vr-text); }
.info-item__value a:hover { color: var(--vr-blue-300); }
.info-item__meta { font-size: 12.5px; color: var(--vr-text-muted); margin-top: 4px; line-height: 1.8; }

/* ---------------------------------------------------------------------
   کالاوت (نکته / هشدار)
--------------------------------------------------------------------- */
.callout {
  display: flex;
  gap: 13px;
  padding: 15px 17px;
  border-radius: var(--vr-radius-md);
  background: var(--vr-accent-soft);
  border: 1px solid var(--vr-accent-soft-border);
  margin-top: 18px;
}
.callout svg { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 3px; color: var(--vr-blue-300); }
.callout p { font-size: 13.5px; line-height: 2; color: var(--vr-slate-300); }
.callout--warn { background: rgba(245, 181, 61, 0.11); border-color: rgba(245, 181, 61, 0.3); }
.callout--warn svg { color: var(--vr-warning); }

/* ---------------------------------------------------------------------
   راهنما — فهرست چسبان + بخش‌ها
--------------------------------------------------------------------- */
/* موبایل عمداً block است نه grid تک‌ستونه: چسبندگیِ فهرست فقط داخل بلوکِ دربرگیرنده‌اش
   کار می‌کند و در گرید تک‌ستونه ارتفاع آن ناحیه برابر خودِ فهرست است، یعنی
   position:sticky عملاً هیچ حرکتی نمی‌کند. */
.guide-layout { padding-bottom: 30px; }
@media (min-width: 940px) {
  .guide-layout {
    display: grid;
    grid-template-columns: 248px 1fr;
    gap: 22px;
    align-items: start;
  }
}

.toc {
  position: sticky;
  /* گرید-آیتم پیش‌فرض min-width:auto دارد؛ در موبایل که فهرست ردیفِ افقیِ nowrap می‌شود
     همین باعث می‌شد ظرف تا اندازهٔ کل ردیف پهن شود و صفحه اسکرول افقی پیدا کند. */
  min-width: 0;
  top: calc(var(--header-h) + 16px);
  background: var(--vr-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-lg);
  padding: 16px;
}
.toc__title {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--vr-slate-500);
  margin-bottom: 12px;
}
.toc ol { list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
/* شماره‌ها با شمارندهٔ CSS تولید می‌شوند تا در فارسی ۱۲۳ فارسی و در انگلیسی لاتین شوند
   (اگر در HTML هاردکد شوند، سوییچ زبان آنها را عوض نمی‌کند). */
.toc a::before { content: counter(toc, persian); }
[dir="ltr"] .toc a::before { content: counter(toc, decimal); }
.toc a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--vr-radius-md);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--vr-slate-300);
  line-height: 1.6;
  transition: background 0.18s, color 0.18s;
}
.toc a::before {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--vr-border);
  font-size: 11px;
  font-weight: 800;
  color: var(--vr-slate-500);
}
.toc a:hover { background: rgba(255, 255, 255, 0.05); color: var(--vr-text); }
.toc a.is-active {
  background: var(--vr-accent-soft);
  color: var(--vr-blue-300);
}
.toc a.is-active::before {
  background: var(--vr-blue-500);
  border-color: transparent;
  color: #fff;
}

/* موبایل: فهرست به نوار افقیِ چسبان تبدیل می‌شود */
@media (max-width: 939px) {
  /* ⚠️ فهرست را با حاشیهٔ منفی «تمام‌عرض» نکن. نه vw جواب می‌دهد (پهنای نوار اسکرول را
     حساب می‌کند) نه درصد (روی گرید-آیتم مرجع درصد قابل اتکا نیست) — هر دو صفحه را
     چند صد پیکسل افقی اسکرول‌پذیر کردند. داخل همان ظرف بماند. */
  .toc {
    top: var(--header-h);
    padding: 10px 12px;
    margin-bottom: 18px;
    z-index: 20;
  }
  .toc__title { display: none; }
  .toc ol {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .toc ol::-webkit-scrollbar { display: none; }
  .toc a {
    white-space: nowrap;
    border: 1px solid var(--vr-border);
    background: rgba(255, 255, 255, 0.04);
    font-size: 12.5px;
    padding: 7px 12px;
  }
  .toc a::before { display: none; }
}

.guide-content { counter-reset: sec; }
.guide-section { counter-increment: sec; }
.guide-section + .guide-section { margin-top: 20px; }
.guide-section h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(18px, 3.6vw, 23px);
  font-weight: 900;
  line-height: 1.5;
}
.guide-section h2 .num {
  flex: 0 0 auto;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--vr-accent-soft);
  border: 1px solid var(--vr-accent-soft-border);
  color: var(--vr-blue-300);
  font-size: 15px;
  font-weight: 900;
}
.guide-section h2 .num::before { content: counter(sec, persian); }
[dir="ltr"] .guide-section h2 .num::before { content: counter(sec, decimal); }
.guide-section h3 {
  font-size: clamp(14.5px, 3vw, 16.5px);
  font-weight: 800;
  color: var(--vr-text);
  margin: 20px 0 8px;
}
.guide-section > p:first-of-type { margin-top: 14px; }

.bullets { margin: 10px 0 0; padding-inline-start: 20px; }
.bullets li { margin-bottom: 8px; }
.bullets li::marker { color: var(--vr-blue-500); }
.bullets li:last-child { margin-bottom: 0; }
.bullets b, .card b, .guide-section p b { color: var(--vr-text); font-weight: 700; }

/* ---------------------------------------------------------------------
   استپر — مراحل ثبت‌نام و احراز هویت
--------------------------------------------------------------------- */
.stepper { margin-top: 18px; counter-reset: step; }
.step {
  counter-increment: step;
  display: flex;
  gap: 16px;
  padding-bottom: 22px;
  position: relative;
}
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  inset-inline-start: 17px;
  top: 38px; bottom: 4px;
  width: 2px;
  background: linear-gradient(var(--vr-accent-soft-border), rgba(255, 255, 255, 0.05));
}
.step:last-child::before { display: none; }
.step__num {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--vr-navy-800);
  border: 1px solid var(--vr-accent-soft-border);
  color: var(--vr-blue-300);
  font-size: 14px;
  font-weight: 900;
  z-index: 1;
}
.step__num::before { content: counter(step, persian); }
[dir="ltr"] .step__num::before { content: counter(step, decimal); }
.step--admin .step__num {
  background: var(--vr-blue-500);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--vr-shadow-accent);
}
.step__body { padding-top: 4px; min-width: 0; }
.step__title { font-size: 15px; font-weight: 800; color: var(--vr-text); margin-bottom: 6px; }
.step__title .badge { margin-inline-start: 8px; vertical-align: middle; }
.step__text { font-size: 13.5px; line-height: 2; color: var(--vr-text-muted); }

/* ---------------------------------------------------------------------
   جدول سطوح تور
--------------------------------------------------------------------- */
.tier-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}
@media (min-width: 700px) {
  .tier-grid { grid-template-columns: repeat(3, 1fr); }
}
.tier {
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-md);
  background: rgba(255, 255, 255, 0.03);
  padding: 16px;
}
.tier--featured { border-color: var(--vr-accent-soft-border); background: var(--vr-accent-soft); }
.tier__name { font-size: 16px; font-weight: 900; color: var(--vr-text); }
.tier__tag { font-size: 11.5px; font-weight: 700; color: var(--vr-blue-300); margin-top: 4px; }
.tier ul { list-style: none; margin-top: 12px; }
.tier li {
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--vr-text-muted);
  padding: 5px 0;
  border-top: 1px solid var(--vr-border);
}
.tier li:first-child { border-top: 0; }
.tier li svg { flex: 0 0 auto; width: 15px; height: 15px; margin-top: 5px; color: var(--vr-blue-400); }

/* ---------------------------------------------------------------------
   آکاردئون سوالات متداول
--------------------------------------------------------------------- */
.faq { margin-top: 16px; }
.faq details {
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-md);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq details[open] { border-color: var(--vr-accent-soft-border); background: var(--vr-accent-soft); }
.faq summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--vr-text);
  line-height: 1.8;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  margin-inline-start: auto;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 9l7 7 7-7' stroke='%237da4ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.22s;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:focus-visible { outline: 2px solid var(--vr-blue-500); outline-offset: -2px; }
.faq__answer { padding: 0 16px 16px; font-size: 13.5px; line-height: 2.05; color: var(--vr-text-muted); }

/* ---------------------------------------------------------------------
   نوار فراخوان پایانی
--------------------------------------------------------------------- */
.cta {
  text-align: center;
  padding: clamp(22px, 4vw, 32px);
  margin-top: 20px;
  border-radius: var(--vr-radius-lg);
  border: 1px solid var(--vr-accent-soft-border);
  background: linear-gradient(180deg, var(--vr-accent-soft), rgba(15, 26, 46, 0.6));
}
.cta h2 { font-size: clamp(17px, 3.4vw, 22px); font-weight: 900; }
.cta p { margin-top: 10px; font-size: 13.5px; line-height: 2; color: var(--vr-slate-300); }
.cta__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* ---------------------------------------------------------------------
   فوتر
--------------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  margin-top: clamp(34px, 6vw, 58px);
  border-top: 1px solid var(--vr-border);
  background: rgba(8, 13, 24, 0.6);
  padding: clamp(22px, 4vw, 32px) 0 24px;
}
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer__links { display: flex; gap: 6px; flex-wrap: wrap; }
.site-footer__links a {
  font-size: 13px;
  font-weight: 700;
  color: var(--vr-slate-400);
  padding: 6px 10px;
  border-radius: var(--vr-radius-md);
}
.site-footer__links a:hover { color: var(--vr-text); background: rgba(255, 255, 255, 0.05); }
.site-footer__copy { font-size: 12.5px; color: var(--vr-slate-500); }
/* جای نماد اعتماد الکترونیکی — بعد از تایید اینماد، کد لوگو را اینجا بگذار */
.site-footer__trust { display: flex; gap: 10px; align-items: center; }

/* ---------------------------------------------------------------------
   ریسپانسیو هدر
--------------------------------------------------------------------- */
@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
    row-gap: 10px;
  }
  .site-header__logo { position: static; transform: none; order: 1; }
  .site-header .lang-toggle { order: 2; }
  .site-nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { font-size: 13px; padding: 0 12px; min-height: 34px; }
  :root { --header-h: 108px; }
}

/* ---------------------------------------------------------------------
   کاهش حرکت
--------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header__logo svg { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* =====================================================================
   --- owner landing ---
   صفحهٔ «ثبت رایگان ملک» (register-property.html)
   مخاطبش مالک است نه دفتر، ولی هیچ توکن یا کامپوننت تازه‌ای نمی‌سازد:
   کارت‌های مزیت روی .tier، مراحل روی .stepper و پرسش‌ها روی .faq سوارند.
   فقط چیزی که قبلاً وجود نداشت اینجاست: کنترل‌های فرم و پنل موفقیت.
   ===================================================================== */

:root {
  /* تنها توکن تازه: قرمزِ خطا. #e74c3c پالت روی پس‌زمینهٔ تیره فقط ۴:۱ کنتراست
     می‌دهد و برای متنِ ۱۲ پیکسلی زیر فیلد AA نمی‌شود؛ این روشن‌ترش ۷٫۵:۱ است. */
  --vr-danger: #ff8579;
  --vr-danger-bg: rgba(231, 76, 60, 0.10);
  --vr-danger-border: rgba(231, 76, 60, 0.42);
}

/* ── متن داخل کارت مزیت (‏.tier فقط <ul> داشت) ─────────────────────── */
.tier__text {
  margin-top: 10px;
  font-size: 13px;
  line-height: 2;
  color: var(--vr-text-muted);
}
.tier--featured .tier__text { color: var(--vr-slate-300); }

/* ── استپر افقی — همان .step است، فقط در دسکتاپ کنار هم ───────────── */
@media (min-width: 900px) {
  .stepper--h {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .stepper--h .step { flex-direction: column; gap: 12px; padding-bottom: 0; }
  .stepper--h .step__body { padding-top: 0; }
  /* خطِ رابط از عمودی به افقی می‌چرخد و از شکافِ گرید رد می‌شود.
     گرادیان جهت‌دار نیست چون در RTL برعکس دیده می‌شد. */
  .stepper--h .step::before {
    top: 17px;
    bottom: auto;
    inset-inline-start: 44px;
    inset-inline-end: -20px;
    width: auto;
    height: 2px;
    background: var(--vr-accent-soft-border);
  }
}

/* ── نوار اعتماد پیش از فرم ────────────────────────────────────────── */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 20px;
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-lg);
  background: rgba(255, 255, 255, 0.03);
}
.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--vr-slate-300);
}
.trust-strip__item svg { flex: 0 0 auto; width: 16px; height: 16px; color: var(--vr-blue-400); }

/* ── چیدمان فرم ────────────────────────────────────────────────────── */
/* موبایل‌اول: همیشه تک‌ستونه، از ۶۴۰ به بالا فیلدهای کوتاه جفت می‌شوند. */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 22px;
}
@media (min-width: 640px) {
  .form-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .form-grid__full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
/* گروه رادیویی داخل fieldset است تا legend نقشِ برچسب گروه را بگیرد؛
   fieldset پیش‌فرض مرورگر بوردر و padding دارد که اینجا لازم نیست. */
fieldset.field { border: 0; padding: 0; margin: 0; }
.field > legend.field__label { padding: 0; }
.field__label { font-size: 13.5px; font-weight: 700; color: var(--vr-text); line-height: 1.7; }
.field__req { color: var(--vr-blue-300); margin-inline-start: 4px; }
/* راهنما با slate-400 نه slate-500: در ۱۲ پیکسل، slate-500 به AA نمی‌رسد. */
.field__hint { font-size: 12px; line-height: 1.9; color: var(--vr-text-muted); }
.field__error {
  display: none;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.8;
  color: var(--vr-danger);
}
.field__error.is-on { display: block; }

/* ── کنترل‌ها ──────────────────────────────────────────────────────── */
.control {
  width: 100%;
  min-height: 50px;              /* هدف لمسی بزرگ — بیشتر ترافیک موبایل است */
  padding: 12px 14px;
  font-family: var(--vr-font);
  font-size: 15px;
  color: var(--vr-text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-md);
  transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.control::placeholder { color: var(--vr-slate-500); }
.control:hover { border-color: rgba(255, 255, 255, 0.16); }
.control:focus {
  outline: none;
  border-color: var(--vr-blue-500);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(59, 111, 246, 0.22);
}
.control[aria-invalid="true"] {
  border-color: var(--vr-danger-border);
  background: var(--vr-danger-bg);
}
.control[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.22); }

textarea.control { min-height: 104px; resize: vertical; line-height: 1.95; }

/* فلش عددی مرورگر روی متراژ لازم نیست و در موبایل جای تایپ می‌گیرد */
.control[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.control[type="number"]::-webkit-outer-spin-button,
.control[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

select.control {
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 9l7 7 7-7' stroke='%237da4ff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: left 14px center;
  padding-left: 40px;
  padding-right: 14px;
}
[dir="ltr"] select.control {
  background-position: right 14px center;
  padding-left: 14px;
  padding-right: 40px;
}
/* فهرست بازشدهٔ select رنگ سیستم را می‌گیرد؛ روی ویندوز سفید می‌شد */
select.control option { background: var(--vr-navy-850); color: var(--vr-text); }

/* ── رادیو به‌شکل چیپ ──────────────────────────────────────────────── */
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice {
  flex: 1 1 170px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-md);
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--vr-slate-300);
  line-height: 1.6;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.choice:hover { background: rgba(255, 255, 255, 0.06); color: var(--vr-text); }
.choice input {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 auto;
  width: 19px; height: 19px;
  margin: 0;
  border: 2px solid var(--vr-slate-500);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.choice input:checked { border-color: var(--vr-blue-500); box-shadow: inset 0 0 0 4px var(--vr-blue-500); }
/* حالت انتخاب‌شده با کلاس هم ست می‌شود، نه فقط :has — وب‌ویوهای قدیمی‌تر
   اندروید :has ندارند و آنجا کل چیپ بی‌حالت می‌ماند. */
.choice.is-checked,
.choice:has(input:checked) {
  background: var(--vr-accent-soft);
  border-color: var(--vr-accent-soft-border);
  color: var(--vr-blue-300);
}
.choice:focus-within { outline: 2px solid var(--vr-blue-500); outline-offset: 2px; }
.choice-row.is-invalid .choice { border-color: var(--vr-danger-border); }

/* ── رضایت‌نامه ────────────────────────────────────────────────────── */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px 17px;
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-md);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
}
.consent:hover { background: rgba(255, 255, 255, 0.05); }
.consent input {
  -webkit-appearance: none;
  appearance: none;
  flex: 0 0 auto;
  width: 21px; height: 21px;
  margin: 2px 0 0;
  border: 2px solid var(--vr-slate-500);
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s;
}
.consent input:checked {
  background-color: var(--vr-blue-500);
  border-color: var(--vr-blue-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.consent__text { font-size: 13px; line-height: 2.05; color: var(--vr-text-muted); }
.consent:focus-within { outline: 2px solid var(--vr-blue-500); outline-offset: 2px; }
.consent.is-invalid { border-color: var(--vr-danger-border); background: var(--vr-danger-bg); }

/* پیام جایگزینِ «جاوااسکریپت خاموش است» — فقط <noscript> در <head> بازش می‌کند */
.callout--noscript { display: none; }

/* ── تلهٔ ربات: از دید پنهان، ولی برای مرورگرِ ربات یک فیلد عادی ───── */
/* عمداً display:none / type=hidden نیست — رباتی که آن‌ها را رد می‌کند در تله نمی‌افتد. */
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── هشدار بالای دکمهٔ ارسال ───────────────────────────────────────── */
.form-alert {
  display: none;
  margin-top: 20px;
  padding: 13px 16px;
  border-radius: var(--vr-radius-md);
  background: var(--vr-danger-bg);
  border: 1px solid var(--vr-danger-border);
  color: var(--vr-danger);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.95;
}
.form-alert.is-on { display: block; }

.form-actions { margin-top: 22px; }
.btn--sm { min-height: 36px; padding: 6px 14px; font-size: 12.5px; }

/* ── پنل موفقیت (جایگزین کل کارت فرم) ─────────────────────────────── */
.success { text-align: center; }
.success__icon {
  width: 64px; height: 64px;
  margin: 4px auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.14);
  border: 1px solid rgba(46, 204, 113, 0.42);
  color: var(--vr-success);
}
.success__icon svg { width: 32px; height: 32px; }
.success__title { font-size: clamp(18px, 3.6vw, 23px); font-weight: 900; line-height: 1.5; }
.success__text { margin-top: 14px; font-size: 14px; line-height: 2.05; color: var(--vr-text-muted); }
.success__code {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  border-radius: var(--vr-radius-md);
  background: var(--vr-accent-soft);
  border: 1px solid var(--vr-accent-soft-border);
}
.success__code-label { font-size: 12.5px; font-weight: 700; color: var(--vr-slate-300); }
.success__code-value {
  font-size: clamp(19px, 4.4vw, 24px);
  font-weight: 900;
  letter-spacing: 3px;
  color: var(--vr-text);
}
.success__again { margin-top: 20px; }

/* ── کاهش حرکت ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .control, .choice, .consent { transition: none; }
}

/* =====================================================================
   حساب کاربری — ورود، عضویت، و پنل مالک/مشاور
   هیچ توکن تازه‌ای اینجا تعریف نمی‌شود؛ همه از :root بالای همین فایل می‌آید.
   قاعده‌ای که با آن ساخته شده: هر چیزی که در فرم ثبت ملک جواب داده
   (.card / .field / .control / .form-alert / .success) دوباره استفاده شود و
   فقط چیدمان و کامپوننت‌های واقعاً تازه اینجا اضافه شوند.
   ===================================================================== */

/* ---------------------------------------------------------------------
   قاب صفحات ورود و عضویت
--------------------------------------------------------------------- */
.auth-wrap {
  width: min(92vw, 520px);
  margin: 0 auto;
  padding: clamp(26px, 6vw, 52px) 0 60px;
}
.auth-wrap--wide { width: min(92vw, 720px); }

.auth-head { text-align: center; margin-bottom: 22px; }
.auth-head__eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: var(--vr-blue-300);
  text-transform: uppercase;
}
.auth-head h1 {
  margin-top: 10px;
  font-size: clamp(20px, 4.4vw, 27px);
  font-weight: 900;
  line-height: 1.55;
}
.auth-head p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 2;
  color: var(--vr-text-muted);
}

.auth-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  line-height: 2.1;
  color: var(--vr-text-muted);
}
.auth-foot a { font-weight: 700; }

/* ردیف «رمز را فراموش کردم» کنار برچسب فیلد */
.field__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.field__label-row a { font-size: 12.5px; font-weight: 700; }

/* چشمکِ نمایش رمز — داخل خودِ فیلد می‌نشیند */
.control-wrap { position: relative; display: block; }
.control-wrap .control { padding-inline-end: 46px; }
.pw-toggle {
  position: absolute;
  inset-inline-end: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  padding: 0;
  border: 0;
  border-radius: var(--vr-radius-sm, 6px);
  background: transparent;
  color: var(--vr-slate-400);
  cursor: pointer;
}
.pw-toggle:hover { background: rgba(255, 255, 255, 0.07); color: var(--vr-text); }
.pw-toggle:focus-visible { outline: 2px solid var(--vr-blue-500); outline-offset: 1px; }
.pw-toggle svg { width: 19px; height: 19px; }

/* نوار قدرت رمز */
.pw-meter { display: flex; gap: 5px; margin-top: 2px; }
.pw-meter__bar {
  flex: 1;
  height: 4px;
  border-radius: var(--vr-radius-pill);
  background: rgba(255, 255, 255, 0.09);
  transition: background 0.25s;
}
.pw-meter.is-1 .pw-meter__bar:nth-child(-n + 1) { background: var(--vr-danger); }
.pw-meter.is-2 .pw-meter__bar:nth-child(-n + 2) { background: var(--vr-warning); }
.pw-meter.is-3 .pw-meter__bar:nth-child(-n + 3) { background: var(--vr-blue-400); }
.pw-meter.is-4 .pw-meter__bar { background: var(--vr-success); }

/* ---------------------------------------------------------------------
   انتخاب نقش — اولین گام عضویت
--------------------------------------------------------------------- */
.role-picker {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 6px;
}
.role-option {
  position: relative;
  display: block;
  padding: 20px 18px;
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-lg);
  background: var(--vr-navy-850);
  cursor: pointer;
  text-align: start;
  transition: border-color 0.2s, background 0.2s, transform 0.08s;
}
.role-option:hover { border-color: rgba(255, 255, 255, 0.16); background: var(--vr-navy-800); }
.role-option:active { transform: translateY(1px); }
.role-option:focus-within { outline: 2px solid var(--vr-blue-500); outline-offset: 2px; }
.role-option input { position: absolute; opacity: 0; pointer-events: none; }
.role-option:has(input:checked),
.role-option.is-checked {
  border-color: var(--vr-border-accent);
  background: var(--vr-accent-soft);
  box-shadow: var(--vr-shadow-accent);
}
.role-option__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--vr-radius-md);
  background: var(--vr-accent-soft);
  border: 1px solid var(--vr-accent-soft-border);
  color: var(--vr-blue-300);
  margin-bottom: 12px;
}
.role-option__icon svg { width: 22px; height: 22px; }
.role-option__title { display: block; font-size: 15.5px; font-weight: 900; color: var(--vr-text); }
.role-option__text { display: block; margin-top: 8px; font-size: 13px; line-height: 2; color: var(--vr-text-muted); }
.role-option__list { margin-top: 12px; list-style: none; }
.role-option__list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12.5px;
  line-height: 1.95;
  color: var(--vr-slate-300);
  padding-top: 6px;
}
.role-option__list li svg { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 5px; color: var(--vr-blue-400); }

/* نوار گام‌های عضویت */
.steps-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}
.steps-bar__dot {
  width: 26px; height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--vr-border);
  background: var(--vr-navy-850);
  color: var(--vr-slate-400);
  font-size: 12px;
  font-weight: 800;
}
.steps-bar__dot.is-on {
  border-color: transparent;
  background: var(--vr-blue-500);
  color: #fff;
}
.steps-bar__dot.is-done { border-color: var(--vr-accent-soft-border); background: var(--vr-accent-soft); color: var(--vr-blue-300); }
.steps-bar__line { width: 34px; height: 2px; background: var(--vr-border); border-radius: 2px; }
.steps-bar__line.is-done { background: var(--vr-accent-soft-border); }

/* ---------------------------------------------------------------------
   چیدمان پنل کاربری
--------------------------------------------------------------------- */
.panel-wrap {
  width: min(96vw, 1180px);
  margin: 0 auto;
  padding: 22px 0 60px;
}

.panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.panel-top__who { min-width: 0; }
.panel-top__hi { font-size: clamp(17px, 3.4vw, 22px); font-weight: 900; line-height: 1.6; }
.panel-top__sub {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--vr-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.panel-top__actions { display: flex; gap: 8px; align-items: center; }

.panel-layout {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
@media (max-width: 860px) {
  .panel-layout { grid-template-columns: 1fr; }
}

.panel-nav {
  position: sticky;
  top: calc(var(--header-h) + 14px);
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px;
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-lg);
  background: var(--vr-glass);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
@media (max-width: 860px) {
  .panel-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 8px;
  }
  .panel-nav::-webkit-scrollbar { display: none; }
  .panel-nav__item { white-space: nowrap; }
  .panel-nav__sep { display: none; }
}

.panel-nav__item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--vr-radius-md);
  background: transparent;
  color: var(--vr-slate-300);
  font-family: var(--vr-font);
  font-size: 13.5px;
  font-weight: 700;
  text-align: start;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
}
.panel-nav__item:hover { background: rgba(255, 255, 255, 0.06); color: var(--vr-text); }
.panel-nav__item:focus-visible { outline: 2px solid var(--vr-blue-500); outline-offset: -2px; }
.panel-nav__item.is-on {
  background: var(--vr-accent-soft);
  color: var(--vr-blue-300);
  box-shadow: inset 0 0 0 1px var(--vr-accent-soft-border);
}
.panel-nav__item svg { flex: 0 0 auto; width: 17px; height: 17px; }
.panel-nav__count {
  margin-inline-start: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--vr-radius-pill);
  background: var(--vr-blue-500);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}
.panel-nav__sep { height: 1px; margin: 6px 4px; background: var(--vr-border); }

.panel-view[hidden] { display: none; }
.panel-view > .card:first-of-type { margin-top: 0; }

.view-head { margin-bottom: 14px; }
.view-head h2 { font-size: clamp(16px, 3.2vw, 19px); font-weight: 900; }
.view-head p { margin-top: 8px; font-size: 13px; line-height: 2; color: var(--vr-text-muted); }

/* ---------------------------------------------------------------------
   نوار وضعیت حساب — بزرگ‌ترین چیزی که کاربر تازه‌وارد باید ببیند
--------------------------------------------------------------------- */
.status-banner {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  padding: 16px 18px;
  margin-bottom: 16px;
  border: 1px solid var(--vr-accent-soft-border);
  border-radius: var(--vr-radius-lg);
  background: var(--vr-accent-soft);
}
.status-banner[hidden] { display: none; }
.status-banner svg { flex: 0 0 auto; width: 21px; height: 21px; margin-top: 2px; color: var(--vr-blue-300); }
.status-banner__body { min-width: 0; flex: 1; }
.status-banner__title { font-size: 14.5px; font-weight: 800; color: var(--vr-text); }
.status-banner__text { margin-top: 7px; font-size: 13px; line-height: 2; color: var(--vr-slate-300); }
.status-banner__actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.status-banner--warn { background: rgba(245, 181, 61, 0.11); border-color: rgba(245, 181, 61, 0.32); }
.status-banner--warn svg { color: var(--vr-warning); }
.status-banner--danger { background: rgba(229, 72, 77, 0.11); border-color: rgba(229, 72, 77, 0.34); }
.status-banner--danger svg { color: #f0595e; }
.status-banner--ok { background: rgba(46, 204, 113, 0.10); border-color: rgba(46, 204, 113, 0.30); }
.status-banner--ok svg { color: var(--vr-success); }

/* ---------------------------------------------------------------------
   کاشی‌های عدد
--------------------------------------------------------------------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.stat {
  padding: 15px 16px;
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-lg);
  background: var(--vr-navy-850);
}
.stat__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--vr-text-muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.stat__label svg { width: 15px; height: 15px; color: var(--vr-blue-400); }
.stat__value {
  margin-top: 9px;
  font-size: clamp(18px, 3.6vw, 23px);
  font-weight: 900;
  line-height: 1.4;
  color: var(--vr-text);
}
.stat__unit { font-size: 12.5px; font-weight: 700; color: var(--vr-text-muted); margin-inline-start: 5px; }
.stat__meta { margin-top: 6px; font-size: 12px; line-height: 1.9; color: var(--vr-slate-500); }
.stat--accent { border-color: var(--vr-accent-soft-border); background: var(--vr-accent-soft); }

/* ---------------------------------------------------------------------
   کارت تور
--------------------------------------------------------------------- */
.tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
  gap: 14px;
}
.tour-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-lg);
  background: var(--vr-navy-850);
  overflow: hidden;
  color: var(--vr-text);
}
a.tour-card:hover { border-color: var(--vr-border-accent); color: var(--vr-text); }
.tour-card__thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, var(--vr-navy-800), var(--vr-navy-700));
  overflow: hidden;
}
.tour-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tour-card__thumb-ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vr-slate-500);
}
.tour-card__thumb-ph svg { width: 40px; height: 40px; }
.tour-card__flag {
  position: absolute;
  top: 9px;
  inset-inline-start: 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--vr-radius-pill);
  background: rgba(8, 13, 24, 0.78);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 800;
  color: var(--vr-slate-100);
}
.tour-card__flag--live { color: #7ee2ab; }
.tour-card__flag--warn { color: #ffd27a; }
.tour-card__flag--off  { color: var(--vr-slate-400); }
.tour-card__body { padding: 14px 15px; flex: 1; }
.tour-card__title {
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.75;
  color: var(--vr-text);
  overflow-wrap: anywhere;
}
.tour-card__meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.tour-card__note { margin-top: 10px; font-size: 12px; line-height: 1.95; color: var(--vr-text-muted); }
.tour-card__actions { padding: 0 15px 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.tour-card__actions .btn { flex: 1 1 auto; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-pill);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--vr-slate-300);
  white-space: nowrap;
}
.chip svg { width: 13px; height: 13px; color: var(--vr-blue-400); }
.chip--accent { border-color: var(--vr-accent-soft-border); background: var(--vr-accent-soft); color: var(--vr-blue-300); }
.chip--ok     { border-color: rgba(46, 204, 113, 0.32); background: rgba(46, 204, 113, 0.10); color: #7ee2ab; }
.chip--warn   { border-color: rgba(245, 181, 61, 0.32); background: rgba(245, 181, 61, 0.11); color: #ffd27a; }
.chip--danger { border-color: rgba(229, 72, 77, 0.34); background: rgba(229, 72, 77, 0.11); color: #ff8b8f; }

/* ---------------------------------------------------------------------
   تایم‌لاین پیگیری درخواست
--------------------------------------------------------------------- */
.track + .track { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--vr-border); }
.track__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.track__code { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--vr-text); }
.track__code b {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  letter-spacing: 1.5px;
  color: var(--vr-blue-300);
}
.track__meta { font-size: 12px; color: var(--vr-text-muted); }

.timeline {
  display: flex;
  margin-top: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.timeline::-webkit-scrollbar { display: none; }
.timeline__step {
  flex: 1 1 0;
  min-width: 96px;
  position: relative;
  padding-top: 26px;
  text-align: center;
}
.timeline__step::before {
  content: "";
  position: absolute;
  top: 8px;
  inset-inline-start: 50%;
  inset-inline-end: -50%;
  height: 2px;
  background: var(--vr-border);
}
.timeline__step:last-child::before { display: none; }
.timeline__step::after {
  content: "";
  position: absolute;
  top: 3px;
  inset-inline-start: calc(50% - 6px);
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 2px solid var(--vr-border);
  background: var(--vr-navy-900);
}
.timeline__step.is-done::after { border-color: var(--vr-blue-500); background: var(--vr-blue-500); }
.timeline__step.is-done::before { background: var(--vr-border-accent); }
.timeline__step.is-now::after {
  border-color: var(--vr-blue-400);
  background: var(--vr-navy-900);
  box-shadow: 0 0 0 4px rgba(59, 111, 246, 0.22);
}
.timeline__step.is-bad::after { border-color: #e5484d; background: #e5484d; }
.timeline__label { font-size: 11.5px; font-weight: 700; color: var(--vr-slate-500); line-height: 1.8; }
.timeline__step.is-done .timeline__label,
.timeline__step.is-now  .timeline__label { color: var(--vr-text); }
.timeline__step.is-bad  .timeline__label { color: #ff8b8f; }

/* ---------------------------------------------------------------------
   جدول‌ها — تراکنش‌ها، درآمد، برداشت‌ها
--------------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-lg);
  background: var(--vr-navy-850);
}
.data-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 520px; }
.data-table th,
.data-table td {
  padding: 11px 14px;
  text-align: start;
  border-bottom: 1px solid var(--vr-border);
  white-space: nowrap;
}
.data-table th { font-size: 12px; font-weight: 800; color: var(--vr-text-muted); background: rgba(255, 255, 255, 0.025); }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: rgba(255, 255, 255, 0.025); }
.data-table td.num { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--vr-text); }
.data-table td.wrap { white-space: normal; min-width: 180px; }

/* ---------------------------------------------------------------------
   حالت خالی و حالت بارگذاری
--------------------------------------------------------------------- */
.empty {
  padding: 34px 22px;
  text-align: center;
  border: 1px dashed var(--vr-border);
  border-radius: var(--vr-radius-lg);
  background: rgba(255, 255, 255, 0.015);
  grid-column: 1 / -1;
}
.empty svg { width: 34px; height: 34px; color: var(--vr-slate-500); }
.empty__title { margin-top: 12px; font-size: 14.5px; font-weight: 800; color: var(--vr-slate-100); }
.empty__text { margin-top: 8px; font-size: 13px; line-height: 2; color: var(--vr-text-muted); }
.empty__action { margin-top: 16px; }

.skeleton {
  border-radius: var(--vr-radius-md);
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.09) 37%,
    rgba(255, 255, 255, 0.04) 63%);
  background-size: 400% 100%;
  animation: sk 1.3s ease-in-out infinite;
}
@keyframes sk { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
.skeleton--line { height: 13px; margin-bottom: 9px; }
.skeleton--card { height: 168px; }
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } }

/* ---------------------------------------------------------------------
   زنگولهٔ اعلان‌ها
--------------------------------------------------------------------- */
.bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--vr-slate-300);
  cursor: pointer;
}
.bell:hover { background: rgba(255, 255, 255, 0.12); color: var(--vr-text); }
.bell:focus-visible { outline: 2px solid var(--vr-blue-500); outline-offset: 2px; }
.bell svg { width: 19px; height: 19px; }
.bell__dot {
  position: absolute;
  top: -3px;
  inset-inline-end: -3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: var(--vr-radius-pill);
  background: var(--vr-blue-500);
  border: 2px solid var(--vr-navy-900);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
}
.bell__dot.is-on { display: inline-flex; }

.notif { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--vr-border); }
.notif:last-child { border-bottom: 0; }
.notif__dot { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--vr-blue-500); }
.notif.is-read .notif__dot { background: #2e3a52; }
.notif__body { min-width: 0; flex: 1; }
.notif__title { font-size: 13.5px; font-weight: 800; color: var(--vr-text); line-height: 1.8; }
.notif.is-read .notif__title { font-weight: 700; color: var(--vr-slate-300); }
.notif__text { margin-top: 5px; font-size: 12.5px; line-height: 2; color: var(--vr-text-muted); overflow-wrap: anywhere; }
.notif__time { margin-top: 5px; font-size: 11.5px; color: var(--vr-slate-500); }

/* ---------------------------------------------------------------------
   مودال — اشتراک‌گذاری، برداشت، بازیابی رمز
--------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(6, 10, 20, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal[hidden] { display: none; }
.modal__box {
  width: min(94vw, 520px);
  max-height: 88vh;
  overflow-y: auto;
  padding: 22px;
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-lg);
  background: var(--vr-navy-850);
  box-shadow: var(--vr-shadow-md);
}
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.modal__title { font-size: 16px; font-weight: 900; line-height: 1.7; }
.modal__close {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--vr-radius-sm, 6px);
  background: rgba(255, 255, 255, 0.06);
  color: var(--vr-slate-300);
  cursor: pointer;
}
.modal__close:hover { background: rgba(255, 255, 255, 0.12); color: var(--vr-text); }
.modal__close svg { width: 17px; height: 17px; }
.modal__actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.modal__actions .btn { flex: 1 1 auto; }

.copy-row { display: flex; gap: 8px; align-items: stretch; }
.copy-row .control { flex: 1; font-size: 12.5px; font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; }
.copy-row .btn { flex: 0 0 auto; }

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--vr-border);
}
.link-row:last-child { border-bottom: 0; }
.link-row__main { min-width: 0; flex: 1 1 260px; }
.link-row__url {
  font-size: 12px;
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  color: var(--vr-slate-300);
  overflow-wrap: anywhere;
}
.link-row__meta { margin-top: 5px; font-size: 11.5px; color: var(--vr-slate-500); }
.link-row__actions { display: flex; gap: 6px; }
.link-row.is-dead .link-row__url { color: var(--vr-slate-500); text-decoration: line-through; }

/* ---------------------------------------------------------------------
   کارت دانلود نرم‌افزار
--------------------------------------------------------------------- */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.store-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-lg);
  background: var(--vr-navy-850);
  color: var(--vr-text);
  transition: border-color 0.2s, background 0.2s;
}
.store-link:hover { border-color: var(--vr-border-accent); background: var(--vr-navy-800); color: var(--vr-text); }
.store-link__icon {
  flex: 0 0 auto;
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--vr-radius-md);
  background: var(--vr-accent-soft);
  border: 1px solid var(--vr-accent-soft-border);
  color: var(--vr-blue-300);
}
.store-link__icon svg { width: 20px; height: 20px; }
.store-link__name { display: block; font-size: 13.5px; font-weight: 800; }
.store-link__meta { display: block; margin-top: 3px; font-size: 11.5px; color: var(--vr-text-muted); }
.store-link[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

/* ---------------------------------------------------------------------
   نوار پیام شناور (کپی شد / ذخیره شد / خطا)
--------------------------------------------------------------------- */
.toast {
  position: fixed;
  inset-inline: 0;
  bottom: 22px;
  z-index: 70;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.toast[hidden] { display: none; }
.toast__box {
  max-width: min(92vw, 420px);
  padding: 12px 18px;
  border: 1px solid var(--vr-accent-soft-border);
  border-radius: var(--vr-radius-pill);
  background: var(--vr-navy-800);
  box-shadow: var(--vr-shadow-md);
  font-size: 13px;
  font-weight: 700;
  color: var(--vr-text);
  text-align: center;
}
.toast--bad .toast__box { border-color: rgba(229, 72, 77, 0.4); color: #ff8b8f; }

/* پیام موفقیت با همان قالب form-alert */
.form-alert--ok {
  background: rgba(46, 204, 113, 0.10);
  border-color: rgba(46, 204, 113, 0.32);
  color: #7ee2ab;
}

/* ---------------------------------------------------------------------
   صفحهٔ بازدید اشتراکی (tour.html)
--------------------------------------------------------------------- */
.share-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
@media (max-width: 760px) { .share-hero { grid-template-columns: 1fr; } }
.share-hero__media {
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, var(--vr-navy-800), var(--vr-navy-700));
}
.share-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.share-hero h1 { font-size: clamp(19px, 4vw, 26px); font-weight: 900; line-height: 1.6; }
.share-hero__meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.share-hero__text { margin-top: 14px; font-size: 13.5px; line-height: 2.05; color: var(--vr-text-muted); }
.share-hero__actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 9px; }

.share-frame {
  margin-top: 20px;
  border: 1px solid var(--vr-border);
  border-radius: var(--vr-radius-lg);
  overflow: hidden;
  background: #000;
}
.share-frame iframe { display: block; width: 100%; height: min(72vh, 620px); border: 0; }

/* ---------------------------------------------------------------------
   ریزه‌کاری‌های مشترک
--------------------------------------------------------------------- */
.row-between {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.mt-16 { margin-top: 16px; }
.muted { color: var(--vr-text-muted); font-size: 13px; line-height: 2; }
.ltr { direction: ltr; text-align: start; }
.is-busy { opacity: 0.6; pointer-events: none; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* لینک حساب کاربری در ناوبری — همان شکلِ صفحهٔ جاری، ولی همیشه برجسته */
.site-nav a.site-nav__cta {
  background: var(--vr-accent-soft);
  border: 1px solid var(--vr-accent-soft-border);
  color: var(--vr-blue-300);
  margin-inline-start: 6px;
}
.site-nav a.site-nav__cta:hover { background: rgba(59, 111, 246, 0.2); color: var(--vr-blue-300); }
