/* سایت پخشینو. تم تیرهٔ «استودیو» پیش‌فرض است و تم روشن با تنظیم گوشی یا دکمهٔ بالای صفحه. */

@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/vazirmatn-regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/vazirmatn-medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Vazirmatn';
  src: url('/fonts/vazirmatn-bold.ttf') format('truetype');
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --bg: #061011;
  --bg-2: #0a1718;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-solid: #0d1d1e;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e9f5f3;
  --text-2: #a8c1be;
  --text-3: #6f8a87;
  --primary: #2dd4bf;
  --primary-2: #14b8a6;
  --primary-deep: #0d9488;
  --on-primary: #032321;
  --live: #f43f5e;
  --gold: #f5b83b;
  --gold-deep: #c98a0f;
  --success: #34d399;
  --grid: rgba(45, 212, 191, 0.06);
  --glow: rgba(45, 212, 191, 0.22);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  --radius: 22px;
  --radius-sm: 14px;
  --max: 1160px;
  color-scheme: dark;
}

:root[data-theme='light'] {
  --bg: #f4faf9;
  --bg-2: #eaf5f3;
  --surface: rgba(255, 255, 255, 0.75);
  --surface-2: #ffffff;
  --surface-solid: #ffffff;
  --border: rgba(6, 60, 56, 0.1);
  --border-strong: rgba(6, 60, 56, 0.18);
  --text: #0b2220;
  --text-2: #3e5a57;
  --text-3: #6b8581;
  --primary: #0d9488;
  --primary-2: #0f766e;
  --primary-deep: #115e59;
  --on-primary: #ffffff;
  --gold-deep: #a86f00;
  --grid: rgba(13, 148, 136, 0.07);
  --glow: rgba(13, 148, 136, 0.18);
  --shadow: 0 30px 70px -35px rgba(6, 60, 56, 0.35);
  color-scheme: light;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) {
    --bg: #f4faf9;
    --bg-2: #eaf5f3;
    --surface: rgba(255, 255, 255, 0.75);
    --surface-2: #ffffff;
    --surface-solid: #ffffff;
    --border: rgba(6, 60, 56, 0.1);
    --border-strong: rgba(6, 60, 56, 0.18);
    --text: #0b2220;
    --text-2: #3e5a57;
    --text-3: #6b8581;
    --primary: #0d9488;
    --primary-2: #0f766e;
    --primary-deep: #115e59;
    --on-primary: #ffffff;
    --gold-deep: #a86f00;
    --grid: rgba(13, 148, 136, 0.07);
    --glow: rgba(13, 148, 136, 0.18);
    --shadow: 0 30px 70px -35px rgba(6, 60, 56, 0.35);
    color-scheme: light;
  }
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 8px;
}

h1,
h2,
h3 {
  line-height: 1.35;
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  background: var(--primary);
  color: var(--on-primary);
  padding: 10px 16px;
  border-radius: 12px;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* ─── پس‌زمینه ─── */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% -10%, var(--glow), transparent 60%),
    radial-gradient(700px 500px at 0% 30%, rgba(244, 63, 94, 0.06), transparent 60%),
    linear-gradient(var(--bg), var(--bg-2));
}

.backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}

/* ─── نوار خبر و سربرگ ─── */

.notice {
  background: linear-gradient(90deg, var(--primary-deep), var(--primary-2));
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding: 8px 16px;
}

.notice a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 21px;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.nav {
  display: flex;
  gap: 4px;
  margin-inline-start: 12px;
}

.nav a {
  color: var(--text-2);
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 10px;
}

.nav a:hover {
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}

.header-actions {
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--border-strong);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.theme-light,
:root[data-theme='light'] .theme-dark {
  display: none;
}

:root[data-theme='light'] .theme-light {
  display: block;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) .theme-dark {
    display: none;
  }
  :root:not([data-theme='dark']) .theme-light {
    display: block;
  }
}

.menu-btn {
  display: none;
}

.mobile-nav {
  display: none;
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .header .btn-download {
    display: none;
  }
  .mobile-nav.open {
    display: block;
    position: fixed;
    inset: 68px 0 auto 0;
    background: var(--surface-solid);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px;
    box-shadow: var(--shadow);
    z-index: 49;
  }
  .mobile-nav a {
    display: block;
    padding: 12px 8px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    font-weight: 500;
  }
  .mobile-nav .store-buttons {
    margin-top: 16px;
  }
}

/* ─── دکمه‌ها ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px;
  border-radius: 14px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--on-primary);
  box-shadow: 0 12px 30px -12px var(--glow);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-sm {
  min-height: 40px;
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 12px;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 20px;
  min-height: 58px;
  border-radius: 16px;
  font-weight: 700;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}

.store-btn:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  text-decoration: none;
}

.store-btn small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  line-height: 1.3;
}

.store-btn span {
  line-height: 1.3;
  font-size: 17px;
}

.store-btn .store-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  flex: none;
}

.store-btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: var(--on-primary);
  border-color: transparent;
  box-shadow: 0 16px 36px -16px var(--glow);
}

.store-btn.primary small {
  color: color-mix(in srgb, var(--on-primary) 70%, transparent);
}

.mark-bazaar {
  background: #43b75a;
}

.mark-myket {
  background: #1e88e5;
}

/* ─── برچسب‌ها ─── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--live);
  box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.6);
  animation: pulse 1.8s infinite;
  flex: none;
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(244, 63, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0);
  }
}

.gold-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-deep);
  background: color-mix(in srgb, var(--gold) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  padding: 1px 10px;
  border-radius: 999px;
  vertical-align: middle;
}

:root:not([data-theme='light']) .gold-tag {
  color: var(--gold);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) .gold-tag {
    color: var(--gold-deep);
  }
}

/* ─── بخش‌ها ─── */

.section {
  padding: 96px 0;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 52px;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
}

.lead {
  color: var(--text-2);
  font-size: 18px;
}

.accent {
  background: linear-gradient(90deg, var(--primary), #5eead4 60%, var(--success));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

:root[data-theme='light'] .accent {
  background: linear-gradient(90deg, var(--primary-deep), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  backdrop-filter: blur(6px);
}

/* ─── قهرمان ─── */

.hero {
  padding: 64px 0 40px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  margin: 22px 0 20px;
}

.hero .lead {
  font-size: clamp(17px, 1.6vw, 20px);
  max-width: 560px;
}

.hero .store-buttons {
  margin-top: 32px;
}

.checks {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: var(--text-2);
  font-size: 15px;
}

.checks li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checks svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex: none;
}

.stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
}

.stage::before {
  content: '';
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 65%);
  filter: blur(10px);
}

.rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.rings span {
  position: absolute;
  width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  animation: ring 4.5s infinite ease-out;
  opacity: 0;
}

.rings span:nth-child(2) {
  animation-delay: 1.5s;
}

.rings span:nth-child(3) {
  animation-delay: 3s;
}

@keyframes ring {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}

.phone {
  position: relative;
  width: min(280px, 72vw);
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(160deg, #2b3b3c, #0b1213);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    var(--shadow),
    0 40px 90px -40px var(--glow);
}

.phone::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  border-radius: 50%;
  background: #050808;
  z-index: 2;
}

.phone img {
  border-radius: 33px;
  width: 100%;
  background: #0b1414;
}

.phone.sm {
  width: min(230px, 62vw);
  border-radius: 36px;
  padding: 8px;
}

.phone.sm img {
  border-radius: 29px;
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 14px;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}

.chip .ok {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--success) 20%, transparent);
  color: var(--success);
  font-size: 12px;
}

.chip small {
  color: var(--text-3);
  font-weight: 500;
}

.chip.c1 {
  top: 12%;
  inset-inline-end: 0;
}

.chip.c2 {
  top: 42%;
  inset-inline-start: -2%;
  animation-delay: -2s;
}

.chip.c3 {
  bottom: 20%;
  inset-inline-end: 2%;
  animation-delay: -4s;
}

.chip.c4 {
  bottom: 6%;
  inset-inline-start: 6%;
  animation-delay: -3s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero .lead {
    margin-inline: auto;
  }
  .hero .store-buttons,
  .checks {
    justify-content: center;
  }
  .stage {
    min-height: 520px;
  }
}

@media (max-width: 520px) {
  .chip {
    font-size: 12px;
    padding: 7px 10px;
  }
  .chip.c2 {
    inset-inline-start: 0;
  }
  .stage {
    min-height: 470px;
  }
}

/* ─── نوار مقصدها ─── */

.strip {
  padding: 20px 0 10px;
}

.strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 14px;
}

.strip p {
  color: var(--text-3);
  font-size: 15px;
  margin-inline-end: 6px;
}

.dest {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 700;
  font-size: 15px;
}

.dest i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

/* رنگ نشان هر مقصد */
.c-eitaa {
  background: #f08c1a;
}
.c-rubika {
  background: #2f7cf6;
}
.c-aparat {
  background: #ed145b;
}
.c-other {
  background: var(--primary);
}
.c-bale {
  background: #26b36b;
}

.cta-page {
  margin-top: 40px;
}

/* ─── امکانات ─── */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 45%, transparent);
}

.feature .icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
  margin-bottom: 18px;
}

.feature .icon svg {
  width: 25px;
  height: 25px;
}

.feature h3 {
  font-size: 20px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.feature p {
  color: var(--text-2);
  font-size: 16px;
}

.feature.wide {
  grid-column: span 2;
}

@media (max-width: 960px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .features {
    grid-template-columns: 1fr;
  }
  .feature.wide {
    grid-column: auto;
  }
}

/* ─── یک پخش، چند مقصد ─── */

.multi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.multi h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 16px 0;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.bullets li {
  display: flex;
  gap: 12px;
  color: var(--text-2);
}

.bullets li::before {
  content: '';
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 5px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232dd4bf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E")
      center / 14px no-repeat,
    color-mix(in srgb, var(--primary) 15%, transparent);
}

.flow {
  position: relative;
  padding: 28px;
}

.flow svg.lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.flow .lines path {
  fill: none;
  stroke: color-mix(in srgb, var(--primary) 55%, transparent);
  stroke-width: 2;
  stroke-dasharray: 6 8;
  animation: dash 1.6s linear infinite;
}

@keyframes dash {
  to {
    stroke-dashoffset: -28;
  }
}

.flow-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 20px;
  align-items: center;
}

.targets {
  display: grid;
  gap: 16px;
}

.target {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--surface-solid);
  border: 1px solid var(--border);
}

.target b {
  display: block;
  font-size: 16px;
}

.target small {
  color: var(--text-3);
  font-size: 13px;
}

.target .badge {
  margin-inline-start: auto;
  font-size: 12px;
  font-weight: 700;
  color: var(--success);
  background: color-mix(in srgb, var(--success) 14%, transparent);
  padding: 2px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.target .badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.target.retry .badge {
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 14%, transparent);
}

.target .logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  flex: none;
}

@media (max-width: 960px) {
  .multi {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .flow-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .flow svg.lines {
    display: none;
  }
}

/* ─── منبع‌ها (زبانه‌ها) ─── */

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
}

.tab {
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 999px;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
}

.tab[aria-selected='true'] {
  color: var(--on-primary);
  background: var(--primary);
  border-color: var(--primary);
}

.panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.panel h3 {
  font-size: 28px;
  margin-bottom: 12px;
}

.panel p {
  color: var(--text-2);
}

.panel[hidden] {
  display: none;
}

@media (max-width: 760px) {
  .panel {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

/* ─── سه قدم ─── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step, persian);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-weight: 900;
  font-size: 20px;
  color: var(--on-primary);
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  margin-bottom: 18px;
}

.step h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.step p {
  color: var(--text-2);
}

.step a {
  font-weight: 700;
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ─── گالری ─── */

.gallery {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 4px 26px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.shot {
  flex: none;
  width: 230px;
  scroll-snap-align: center;
  text-align: center;
  margin: 0;
}

.shot .phone {
  width: 100%;
}

.shot figcaption {
  margin-top: 14px;
}

.shot b {
  display: block;
  font-size: 16px;
}

.shot span {
  color: var(--text-3);
  font-size: 14px;
  line-height: 1.6;
  display: block;
}

.gallery-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* ─── برای چه کسانی ─── */

.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.audience .card h3 {
  font-size: 19px;
  margin: 14px 0 8px;
}

.audience .card p {
  color: var(--text-2);
  font-size: 15px;
}

.audience .emoji {
  font-size: 30px;
  line-height: 1;
}

@media (max-width: 960px) {
  .audience {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .audience {
    grid-template-columns: 1fr;
  }
}

/* ─── حریم خصوصی ─── */

.trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.trust .card {
  display: flex;
  gap: 16px;
}

.trust .icon {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 13%, transparent);
}

.trust .icon svg {
  width: 23px;
  height: 23px;
}

.trust h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.trust p {
  color: var(--text-2);
  font-size: 15px;
}

@media (max-width: 760px) {
  .trust {
    grid-template-columns: 1fr;
  }
}

/* ─── طلایی و قیمت‌ها ─── */

.compare {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  font-size: 15px;
}

.compare th,
.compare td {
  padding: 13px 18px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.compare th:first-child,
.compare td:first-child {
  text-align: start;
}

.compare thead th {
  background: var(--surface-2);
  font-size: 15px;
}

.compare tr:last-child td {
  border-bottom: 0;
}

.compare .yes {
  color: var(--success);
  font-weight: 900;
}

.compare .no {
  color: var(--text-3);
}

.compare .gold-col {
  color: var(--gold-deep);
}

:root:not([data-theme='light']) .compare .gold-col {
  color: var(--gold);
}

.table-wrap {
  overflow-x: auto;
  margin-bottom: 42px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.plan {
  position: relative;
  text-align: center;
  display: grid;
  gap: 6px;
  align-content: start;
}

.plan h3 {
  font-size: 19px;
}

.plan .price {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.3;
}

.plan .price small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
}

.plan .per {
  color: var(--text-2);
  font-size: 14px;
}

.plan .save {
  justify-self: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--success);
  background: color-mix(in srgb, var(--success) 13%, transparent);
  padding: 2px 12px;
  border-radius: 999px;
}

.plan.best {
  border: 1.5px solid var(--gold);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--gold) 10%, transparent), transparent 60%),
    var(--surface);
}

.plan .ribbon {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold), #f8d27a);
  color: #3b2600;
  font-size: 13px;
  font-weight: 800;
  padding: 3px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-note {
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
  margin-top: 22px;
}

.trial-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--gold) 12%, transparent), transparent),
    var(--surface);
}

.trial-banner h3 {
  font-size: 21px;
}

.trial-banner p {
  color: var(--text-2);
}

@media (max-width: 960px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .plans {
    grid-template-columns: 1fr;
  }
}

/* ─── پرسش‌ها ─── */

.faq {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 0 22px;
}

.faq details[open] {
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details > div {
  color: var(--text-2);
  padding-bottom: 20px;
}

/* ─── راهنماها ─── */

.guides {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-card {
  display: grid;
  gap: 10px;
  color: var(--text);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.guide-card:hover {
  text-decoration: none;
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 45%, transparent);
}

.guide-card h3 {
  font-size: 19px;
}

.guide-card p {
  color: var(--text-2);
  font-size: 15px;
}

.guide-card .more {
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
}

@media (max-width: 860px) {
  .guides {
    grid-template-columns: 1fr;
  }
}

/* ─── دعوت پایانی ─── */

.cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 64px 28px;
  border-radius: 32px;
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  background:
    radial-gradient(600px 300px at 50% 0%, var(--glow), transparent 70%),
    var(--surface);
  display: grid;
  justify-items: center;
  gap: 18px;
}

.cta h2 {
  font-size: clamp(28px, 4.4vw, 46px);
}

.cta .store-buttons {
  justify-content: center;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.contact a {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
}

.contact a:hover {
  border-color: var(--primary);
  text-decoration: none;
}

/* ─── پانویس ─── */

.footer {
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 48px 0 32px;
  color: var(--text-2);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer h3 {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 12px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer a {
  color: var(--text-2);
}

.footer a:hover {
  color: var(--primary);
}

.footer .brand {
  margin-bottom: 12px;
}

.copyright {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-3);
  font-size: 14px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── صفحه‌های متنی (راهنما، حریم خصوصی) ─── */

.page-hero {
  padding: 56px 0 24px;
}

.crumbs {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 14px;
}

.crumbs a {
  color: var(--text-2);
}

.page-hero h1 {
  font-size: clamp(30px, 4.6vw, 48px);
  margin-bottom: 14px;
}

.article {
  max-width: 780px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.article h2 {
  font-size: 26px;
  margin: 44px 0 14px;
}

.article p {
  color: var(--text-2);
  margin: 12px 0;
}

.article ul,
.article ol {
  color: var(--text-2);
  padding-inline-start: 22px;
}

.article li {
  margin: 8px 0;
}

.article ol.howto {
  list-style: none;
  padding: 0;
  counter-reset: s;
  display: grid;
  gap: 14px;
}

.article ol.howto > li {
  counter-increment: s;
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 0;
  color: var(--text);
}

.article ol.howto > li::before {
  content: counter(s, persian);
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
  color: var(--on-primary);
  background: var(--primary);
}

.article figure {
  margin: 22px auto;
  max-width: 560px;
}

.article figure.narrow {
  max-width: 320px;
}

.article figure img {
  border-radius: 18px;
  border: 1px solid var(--border);
  width: 100%;
}

.article figcaption {
  text-align: center;
  font-size: 14px;
  color: var(--text-3);
  margin-top: 10px;
}

.callout {
  display: flex;
  gap: 12px;
  border-radius: 16px;
  padding: 16px 18px;
  margin: 18px 0;
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
  color: var(--text);
}

.callout.warn {
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
  background: color-mix(in srgb, var(--gold) 9%, transparent);
}

.callout b {
  flex: none;
}

.next-guides {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
}

@media (max-width: 640px) {
  .next-guides {
    grid-template-columns: 1fr;
  }
}

.not-found {
  text-align: center;
  padding: 120px 0;
  display: grid;
  gap: 18px;
  justify-items: center;
}

.not-found h1 {
  font-size: 72px;
}

/* ─── نمایان شدن آرام هنگام پیمایش ─── */

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .header,
  .backdrop,
  .notice,
  .stage,
  .gallery-nav {
    display: none;
  }
}

/* ─── بخش‌های تعاملی ─── */

.progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  box-shadow: 0 0 12px var(--glow);
  margin-inline-start: auto;
}

.to-top {
  position: fixed;
  bottom: 22px;
  inset-inline-start: 22px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: var(--surface-solid);
  color: var(--text);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  z-index: 40;
}

.to-top svg {
  width: 20px;
  height: 20px;
}

.to-top.show {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.sticky-cta {
  display: none;
}

@media (max-width: 760px) {
  .sticky-cta {
    position: fixed;
    inset: auto 12px 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px 10px 16px;
    border-radius: 18px;
    background: color-mix(in srgb, var(--surface-solid) 92%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow);
    font-size: 14px;
    z-index: 45;
    transform: translateY(140%);
    transition: transform 0.35s ease;
  }
  .sticky-cta.show {
    transform: none;
  }
  .to-top {
    bottom: 84px;
  }
  .footer {
    padding-bottom: 96px;
  }
}

/* نوار روان امکانات */
.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-block: 1px solid var(--border);
  background: var(--surface);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marquee 48s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee span {
  white-space: nowrap;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  font-size: 15px;
}

.marquee span::before {
  content: '●';
  color: var(--primary);
  font-size: 9px;
  margin-inline-end: 8px;
  vertical-align: middle;
}

@keyframes marquee {
  to {
    transform: translateX(50%);
  }
}

/* کلیدهای مقصد */
.switch {
  flex: none;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  border: 0;
  padding: 3px;
  cursor: pointer;
  background: var(--primary);
  transition: background 0.25s ease;
}

.switch span {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease;
}

.switch[aria-checked='false'] {
  background: var(--border-strong);
}

.switch span {
  transform: translateX(-20px);
}

.switch[aria-checked='false'] span {
  transform: translateX(0);
}

[dir='ltr'] .switch span {
  transform: translateX(20px);
}

[dir='ltr'] .switch[aria-checked='false'] span {
  transform: translateX(0);
}

.target {
  transition:
    opacity 0.3s ease,
    border-color 0.3s ease;
}

.target .badge {
  margin-inline-start: auto;
}

.target.off {
  opacity: 0.55;
}

.target.off .badge {
  color: var(--text-3);
  background: var(--surface-2);
}

.target.retry .badge {
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 14%, transparent);
}

.flow .lines path.off {
  stroke: var(--border-strong);
  animation: none;
}

.flow-hint {
  color: var(--text-3);
  font-size: 13px;
  text-align: center;
}

/* روش‌های دیگر / پخشینو */
.versus {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 940px;
  margin: 0 auto;
}

.versus h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  margin-bottom: 14px;
}

.versus h3 svg {
  width: 26px;
  height: 26px;
}

.versus ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.versus li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-2);
}

.versus li svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 5px;
}

.vs-old li svg {
  color: var(--live);
}

.vs-new {
  border-color: color-mix(in srgb, var(--primary) 50%, transparent);
  background:
    radial-gradient(400px 200px at 80% 0%, var(--glow), transparent 70%),
    var(--surface);
}

.vs-new h3 {
  color: var(--primary);
}

.vs-new li {
  color: var(--text);
}

.vs-new li svg {
  color: var(--success);
}

@media (max-width: 760px) {
  .versus {
    grid-template-columns: 1fr;
  }
}

/* نقطه‌های گالری */
.gallery-nav {
  align-items: center;
}

.dots {
  display: flex;
  gap: 6px;
  margin-inline: 8px;
}

.dots i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--border-strong);
  transition:
    width 0.3s ease,
    background 0.3s ease;
}

.dots i.on {
  width: 24px;
  background: var(--primary);
}

.gallery {
  cursor: grab;
}

.gallery.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.shot .phone {
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.shot.on .phone {
  transform: translateY(-8px);
}

.faq-tools {
  display: flex;
  justify-content: flex-end;
}

/* نور زیر نشانگر روی کارت‌ها */
.spot {
  position: relative;
  overflow: hidden;
}

.spot::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 65%);
}

.spot:hover::after {
  opacity: 1;
}

/* چرخش آرام گوشی قهرمان با نشانگر */
.tilt {
  transition: transform 0.25s ease-out;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  will-change: transform;
}

.timer {
  font-variant-numeric: tabular-nums;
  color: var(--live);
}

.flow .phone.sm {
  width: 190px;
}

.target small {
  white-space: nowrap;
}

.target > div {
  min-width: 0;
}

@media (max-width: 560px) {
  .flow .phone.sm {
    display: none;
  }
}

/* حلقه‌ها و سایه‌های متحرک نباید صفحه را در گوشی به پهلو بکشند. */
html,
body {
  overflow-x: clip;
}

.hero,
.section {
  overflow-x: clip;
}


/* ════════════════════════════════════════════════════════════
   دور تازه: کارت‌های عددی، گروه امکانات، مقصدها، زبانه‌ها، قدم‌ها،
   پانویس، خبرها، نظرها و صفحهٔ «به‌زودی»
   ════════════════════════════════════════════════════════════ */

/* کارت‌های عددی زیر بالای صفحه */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 34px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  align-items: center;
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.55;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--primary) 40%, transparent);
}

.stat-icon {
  grid-row: 1 / span 2;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 13%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-card b {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.15;
  background: linear-gradient(135deg, var(--primary), var(--success));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-card strong {
  font-size: 15px;
  color: var(--text);
  line-height: 1.4;
}

.stat-card > span:last-child {
  grid-column: 1 / -1;
  margin-top: 10px;
  color: var(--text-3);
  font-size: 13.5px;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .stat-card {
    padding: 14px;
  }
  .stat-icon {
    width: 40px;
    height: 40px;
  }
}

.strip-note {
  flex-basis: 100%;
  text-align: center;
  color: var(--text-3);
  font-size: 13.5px;
}

/* امکانات در دو گروه: رایگان و طلایی */
.feature-group + .feature-group {
  margin-top: 46px;
}

.group-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  font-size: 18px;
}

.group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.group-title span {
  padding: 6px 16px;
  border-radius: 999px;
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
}

.feature-group.gold .group-title span {
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  border-color: color-mix(in srgb, var(--gold) 38%, transparent);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme='dark']) .feature-group.gold .group-title span {
    color: var(--gold-deep);
  }
}
:root[data-theme='light'] .feature-group.gold .group-title span {
  color: var(--gold-deep);
}

.feature.is-gold .icon {
  color: var(--gold);
  background: color-mix(in srgb, var(--gold) 12%, transparent);
  border-color: color-mix(in srgb, var(--gold) 30%, transparent);
}

.feature.is-gold:hover {
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
}

/* یک پخش، چند مقصد: گوشی یک طرف، مقصدها طرف دیگر، خط‌ها واقعاً بینشان */
.flow {
  padding: 28px;
}

.flow-grid {
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 64px;
}

.flow-phone {
  display: grid;
  justify-items: center;
}

.flow svg.lines {
  display: none;
  pointer-events: none;
}

.js .flow svg.lines {
  display: block;
}

.flow .lines path {
  stroke-width: 2.2;
}

.flow .lines circle {
  fill: var(--primary);
  filter: drop-shadow(0 0 6px var(--primary));
}

.flow .lines circle.off {
  display: none;
}

.flow-hint {
  margin-top: 18px;
}

.target {
  position: relative;
  z-index: 1;
}

@media (max-width: 1100px) and (min-width: 961px) {
  .flow-grid {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 44px;
  }
  .flow .phone.sm {
    width: 160px;
  }
}

/* گوشی کوچک: گوشی بالا، مقصدها کاشی‌وار زیرش */
@media (max-width: 560px) {
  .flow {
    padding: 18px 14px;
  }
  .flow-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    justify-items: stretch;
  }
  .flow .phone.sm {
    display: block;
    width: 132px;
    border-radius: 26px;
    padding: 6px;
  }
  .flow .phone.sm img {
    border-radius: 21px;
  }
  .flow svg.lines {
    display: none;
  }
  .js .flow svg.lines {
    display: block;
  }
  .targets {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .target {
    flex-direction: column;
    text-align: center;
    gap: 6px;
    padding: 12px 6px;
  }
  .target .logo {
    width: 36px;
    height: 36px;
  }
  .target small {
    display: none;
  }
  .target .badge {
    margin-inline-start: 0;
    font-size: 11px;
    padding: 1px 8px;
  }
}

/* زبانه‌ها: جابه‌جایی نرم */
.tabs {
  position: relative;
}

.tab {
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}

.tab:hover {
  transform: translateY(-1px);
}

.panel:not([hidden]) .panel-text {
  animation: panel-text-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.panel:not([hidden]) .phone {
  animation: panel-phone-in 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@keyframes panel-text-in {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
}

@keyframes panel-phone-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
}

.panel .bullets {
  margin-top: 16px;
}

.panel .bullets li {
  color: var(--text-2);
}

.panel .bullets b {
  color: var(--text);
}

/* قدم‌ها: چهار ستون، با خط پیوند */
.steps.n4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.steps {
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 49px;
  inset-inline: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--primary) 45%, transparent), transparent);
}

.step::before {
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--bg);
}

@media (max-width: 1060px) {
  .steps.n4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps::before {
    display: none;
  }
}

@media (max-width: 620px) {
  .steps.n4 {
    grid-template-columns: 1fr;
  }
}

/* قیمت روزانه */
.plan .per-day {
  font-size: 13.5px;
  color: var(--primary);
  font-weight: 700;
  margin-top: 2px;
}

/* نشانهٔ پیام‌رسان‌ها و شبکه‌ها */
.soc {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-grid;
  place-items: center;
  flex: none;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  background: var(--primary-deep);
}

.soc svg {
  width: 15px;
  height: 15px;
}

.soc.k-bale {
  background: #26b36b;
}
.soc.k-eitaa {
  background: #f08c1a;
}
.soc.k-rubika {
  background: linear-gradient(135deg, #7b3fe4, #e0306a);
}
.soc.k-telegram {
  background: #2aa3e0;
}
.soc.k-instagram {
  background: radial-gradient(circle at 30% 110%, #fdc15b, #f0564a 45%, #c13584 70%, #6d4ad6);
}
.soc.k-aparat {
  background: #ed145b;
}

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

.socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-2);
  font-size: 14px;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.socials a:hover {
  border-color: var(--primary);
  color: var(--text);
  transform: translateY(-1px);
  text-decoration: none;
}

.socials.compact {
  margin-top: 16px;
}

.socials.compact a {
  padding: 4px;
}

.socials.compact a span:not(.soc) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.socials.list {
  display: grid;
  gap: 8px;
}

.socials.list a {
  justify-self: start;
}

.socials.contact {
  justify-content: center;
}

.socials.contact a {
  padding: 6px 16px 6px 8px;
  font-size: 15px;
}

.support-id {
  margin-bottom: 10px;
}

/* خبرها */
.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  color: var(--text);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--primary) 45%, transparent);
  text-decoration: none;
}

.post-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-body {
  padding: 20px;
  display: grid;
  gap: 8px;
}

.post-body time,
.post-date {
  color: var(--text-3);
  font-size: 13.5px;
}

.post-body h3 {
  font-size: 19px;
}

.post-body p {
  color: var(--text-2);
  font-size: 15px;
}

.post-card .more,
.more-link a {
  color: var(--primary);
  font-weight: 700;
}

.more-link {
  text-align: center;
  margin-top: 24px;
}

@media (max-width: 960px) {
  .posts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .posts {
    grid-template-columns: 1fr;
  }
}

/* نظر کاربران */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review {
  margin: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.review .stars {
  color: var(--gold);
  letter-spacing: 2px;
}

.review .stars span {
  color: var(--border-strong);
}

.review blockquote {
  margin: 0;
  color: var(--text-2);
}

.review figcaption small {
  display: block;
  color: var(--text-3);
}

@media (max-width: 960px) {
  .reviews {
    grid-template-columns: 1fr;
  }
}

/* صفحهٔ «به‌زودی» */
body.bare {
  min-height: 100vh;
}

.soon {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background:
    radial-gradient(700px 400px at 50% 0%, var(--glow), transparent 70%),
    var(--bg);
}

.soon-card {
  width: min(560px, 100%);
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 44px 28px;
  border-radius: 32px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.soon-card img {
  border-radius: 22px;
}

.soon-card h1 {
  font-size: clamp(30px, 6vw, 44px);
}

.soon-support {
  color: var(--text-3);
  font-size: 14px;
}

.not-found h2 {
  font-size: 22px;
}

/* گوشی: کارت امکانات فشرده‌تر (آیکون کنار عنوان) تا فهرست بلند، کوتاه‌تر شود. */
@media (max-width: 640px) {
  .feature {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 14px;
    padding: 18px;
  }
  .feature .icon {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }
  .feature h3 {
    font-size: 17px;
    margin-bottom: 4px;
  }
  .feature p {
    font-size: 15px;
  }
}

.target .badge {
  white-space: nowrap;
}
