/* =====================================================================
   بوستینو — صفحه‌ی اصلی با ساختار و تجربه‌ی نسخه‌ی ۲
   (رفتارها: /assets/ui/ux.js — این فایل فقط ظاهره)
   ===================================================================== */

.v2 { --v2-spring: cubic-bezier(.34, 1.56, .64, 1); --v2-smooth: cubic-bezier(.32, .72, 0, 1); }

/* ---------- نوارِ متحرکِ اطلاعیه ---------- */
.v2-ann {
  margin: 12px 0 0; border-radius: 999px; overflow: hidden;
  background: var(--bn-ink); color: var(--bn-ink-fg);
}
html[data-theme="dark"] .v2-ann { background: var(--fill-teal); color: var(--on-fill); }
.v2-ann-mask { mask-image: linear-gradient(to left, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(to left, transparent, #000 8%, #000 92%, transparent); }
.v2-ann-track, .v2-big-track { display: flex; width: max-content; animation: v2Marquee 38s linear infinite; }
.v2-ann-track:hover { animation-play-state: paused; }
.v2-ann ul { display: flex; list-style: none; margin: 0; padding: 0; flex-shrink: 0; }
.v2-ann li { direction: rtl; white-space: nowrap; padding: 9px 26px; font-size: 12.5px; font-weight: 700; display: flex; align-items: center; gap: 26px; }
.v2-ann li::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .4; }
@keyframes v2Marquee { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- نوبار ---------- */
.v2-nav {
  position: sticky; top: 10px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 6px; margin-top: 8px;
  transition: transform .6s var(--v2-spring);
}
.v2-nav.bn-nav-away { transform: translateY(-150%); }
.v2-nav .brand { flex-shrink: 0; font-size: 20px; }
.v2-links { list-style: none; display: flex; gap: 2px; margin: 0 auto; padding: 0; position: relative; }
.v2-links a { position: relative; z-index: 1; display: block; padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--text-mid); transition: color .25s; }
.v2-links a:hover, .v2-links a.is-active { color: var(--text-hi); }
.v2-nav-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.v2-icon-btn, .v2-burger {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--bn-line); background: var(--bn-surface); color: var(--text-mid); cursor: pointer; font: inherit;
  transition: transform .5s var(--v2-spring), color .2s;
}
.v2-icon-btn:hover, .v2-burger:hover { color: var(--text-hi); }
.v2-icon-btn:active, .v2-burger:active { transform: scale(.9); transition-duration: .12s; }
.v2-icon-btn svg, .v2-burger svg { width: 18px; height: 18px; }
.v2-icon-btn kbd { font-family: var(--font-code); font-size: 11px; border: 1px solid var(--bn-line); border-radius: 6px; padding: 1px 5px; background: var(--bn-surface-2); }
.v2-login { padding: 9px 12px; font-size: 14px; font-weight: 700; color: var(--text-mid); border-radius: 999px; }
.v2-login:hover { color: var(--text-hi); }
.v2-signup { padding: 11px 20px; font-size: 14px; }
.v2-burger { display: none; width: 42px; justify-content: center; padding: 0; background: var(--bn-ink); color: var(--bn-ink-fg); border: 0; }
@media (max-width: 1100px) { .v2-icon-btn kbd { display: none; } }
@media (max-width: 960px) {
  .v2-links, .v2-login { display: none; }
  .v2-burger { display: inline-flex; }
}
@media (max-width: 620px) { .v2-signup { display: none; } .v2-nav .brand { font-size: 18px; } }

/* ---------- هدر: اسلایدر ---------- */
/* هدر تمام‌عرضِ صفحه‌ست و در «لبه‌ی صفحه» می‌بُره (نه لبه‌ی محتوا): محتوا همون عرض می‌مونه (padding)،
   سایه‌ی دکمه‌ها/آواتارها بریده نمی‌شن و اسلایدهای جابه‌جاشده هم اسکرولِ افقی (مخصوصاً آیفون) نمی‌سازن */
.v2-hero { position: relative; padding: 34px calc(50vw - 50%) 44px; margin-inline: calc(50% - 50vw); overflow-x: clip; }
/* قابِ هاله‌ها (هدر خودش تمام‌عرضه) */
.v2-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
/* هاله‌ها با گرادیانِ شعاعی (نه filter: blur) — همون ظاهر، بدونِ هزینه‌ی سنگینِ GPU روی گوشی */
.v2-orb { position: absolute; border-radius: 50%; pointer-events: none; opacity: var(--bn-orb-opacity); z-index: -1; background: radial-gradient(closest-side, var(--orb), transparent); will-change: translate; }
.v2-orb-a { --orb: var(--fill-teal); width: 40rem; height: 40rem; top: -15rem; right: -15rem; }
.v2-orb-b { --orb: var(--fill-pink); width: 38rem; height: 38rem; top: calc(30% - 7rem); left: -17rem; opacity: calc(var(--bn-orb-opacity) * .7); }
.v2-orb-c { --orb: var(--fill-gold); width: 32rem; height: 32rem; bottom: -7rem; left: calc(35% - 7rem); opacity: calc(var(--bn-orb-opacity) * .45); }
.v2-orb, .v2-chip, .v2-visuals { translate: var(--px, 0) var(--py, 0); transition: translate .6s cubic-bezier(.2, .8, .2, 1); }

.v2-hero-grid { display: grid; gap: 40px; align-items: center; touch-action: pan-y; }
@media (min-width: 1000px) { .v2-hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }

.v2-slides, .v2-visuals { display: grid; }
.v2-slide, .v2-visual { grid-area: 1 / 1; }
.v2-slide {
  opacity: 0; visibility: hidden; filter: blur(10px); transform: translateX(calc(var(--dir, 1) * 36px));
  transition: opacity .55s var(--v2-smooth), filter .55s var(--v2-smooth), transform .8s var(--v2-spring), visibility 0s .55s;
}
.v2-slide.is-active { opacity: 1; visibility: visible; filter: none; transform: none; transition-delay: .12s, .12s, .12s, 0s; }
.v2-slide.is-leaving { transform: translateX(calc(var(--dir, 1) * -28px)); }
.v2-h1 { font-size: clamp(2.15rem, 5.4vw, 3.55rem); font-weight: 900; line-height: 1.34; letter-spacing: -.5px; margin: 18px 0 18px; }
.v2-h1 .hl-teal, .v2 h2 .hl-teal { color: var(--bn-accent-text); }
.v2-h1 .hl-pink, .v2 h2 .hl-pink { color: var(--bn-pink-text); }
.v2-h1 .hl-gold, .v2 h2 .hl-gold { color: var(--bn-gold-text); }
.v2-lead { font-size: clamp(15px, 1.6vw, 17px); line-height: 2; color: var(--text-mid); max-width: 36rem; margin: 0; }
.v2-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 620px) { .v2-cta .btn { width: 100%; } }
.v2-proof { margin-top: 26px; }

.v2-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 800; border: 1px solid; }
.v2-eyebrow.teal { color: var(--bn-accent-text); background: rgba(43, 255, 198, .12); border-color: rgba(43, 255, 198, .28); }
.v2-eyebrow.pink { color: var(--bn-pink-text); background: rgba(255, 79, 216, .1); border-color: rgba(255, 79, 216, .28); }
.v2-eyebrow.gold { color: var(--bn-gold-text); background: rgba(255, 201, 74, .12); border-color: rgba(255, 201, 74, .32); }

/* کارت‌های تصویریِ هر اسلاید */
.v2-visuals { position: relative; width: 100%; max-width: 520px; margin: 0 auto; }
.v2-visual { opacity: 0; visibility: hidden; transform: scale(.94); filter: blur(14px); transition: opacity .6s var(--v2-smooth), transform .8s var(--v2-spring), filter .6s var(--v2-smooth), visibility 0s .6s; }
.v2-visual.is-active { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: .1s, .1s, .1s, 0s; }
/* ادیتورِ نمونه همیشه تیره (مثلِ ادیتورِ واقعیِ درس‌ها) */
.v2-code {
  --bg-panel: #1B1535; --bg-panel-raised: #221B42; --bg-deep: #140F26; --bg-card: #1E1838; --bg-void: #0B0815;
  --border-soft: rgba(255,255,255,.08); --border-mid: rgba(255,255,255,.14); --text-hi: #F5F3FF; --text-mid: #B8B0D9; --text-low: #756C99;
  --neon-teal: #2BFFC6; --neon-pink: #FF4FD8; --gold: #FFC94A;
  border-radius: var(--bn-radius-lg) !important; animation: none !important; box-shadow: var(--bn-shadow-lift) !important;
  color: var(--text-hi);
}
.v2-map {
  list-style: none; margin: 0; padding: 28px; display: flex; flex-direction: column; gap: 18px;
  background: var(--bn-surface); border: 1px solid var(--bn-line); border-radius: var(--bn-radius-lg); box-shadow: var(--bn-shadow-lift);
}
.v2-map li { display: flex; align-items: center; gap: 14px; }
.v2-map li:nth-child(even) { margin-inline-start: 44px; }
.v2-map .n { position: relative; width: 56px; height: 56px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: var(--bn-surface-2); }
.v2-map .done .n { background: var(--fill-teal); box-shadow: var(--bn-glow); }
.v2-map .current .n { box-shadow: 0 0 0 5px rgba(255, 79, 216, .25); }
.v2-map .locked .n { opacity: .7; }
.v2-map .n small { position: absolute; bottom: -3px; left: -3px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: var(--bn-surface); box-shadow: var(--bn-shadow-soft); }
.v2-map b { display: block; font-size: 14px; }
.v2-map span { font-size: 12px; color: var(--text-mid); }
.v2-prizes { display: flex; flex-direction: column; gap: 12px; }
.v2-prize { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--bn-radius-lg); background: var(--bn-surface); border: 1px solid var(--bn-line); box-shadow: var(--bn-shadow-soft); }
.v2-prize > span { width: 48px; height: 48px; flex-shrink: 0; border-radius: 16px; background: var(--bn-surface-2); display: grid; place-items: center; font-size: 24px; }
.v2-prize b { display: block; font-size: 14px; line-height: 1.8; }
.v2-prize small { color: var(--text-mid); font-size: 12.5px; }
.v2-prize.gold { border-color: rgba(255, 201, 74, .4); box-shadow: var(--bn-glow-gold); }
.v2-prize.pink { border-color: rgba(255, 79, 216, .35); box-shadow: var(--bn-glow-pink); }
.v2-prize.teal { border-color: rgba(43, 255, 198, .35); box-shadow: var(--bn-glow); }
.v2-visuals .v2-prize:nth-child(2) { margin-inline-start: 28px; }

.v2-chip {
  position: absolute; z-index: 3; pointer-events: none; white-space: nowrap;
  padding: 9px 14px; border-radius: 16px; font-size: 12.5px; font-weight: 800;
  background: var(--bn-glass); -webkit-backdrop-filter: var(--bn-blur); backdrop-filter: var(--bn-blur);
  border: 1px solid var(--bn-glass-line); box-shadow: var(--bn-shadow-lift);
  animation: v2Float 6s var(--v2-smooth) infinite;
}
.v2-chip:nth-of-type(2) { animation-delay: -1.5s; } .v2-chip:nth-of-type(3) { animation-delay: -3s; } .v2-chip:nth-of-type(4) { animation-delay: -4.5s; }
@keyframes v2Float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 700px) { .v2-chip-md { display: none; } }
@media (max-width: 860px) { .v2-chip-lg { display: none; } }

/* کنترل‌ها */
.v2-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 44px; }
.v2-dots { display: flex; gap: 8px; }
.v2-dots button { position: relative; width: 30px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--bn-line-strong); overflow: hidden; cursor: pointer; transition: width .5s var(--v2-smooth); }
.v2-dots button[aria-selected="true"] { width: 64px; }
.v2-dots i { position: absolute; inset: 0; border-radius: inherit; background: var(--bn-accent-text); transform: scaleX(0); transform-origin: right; }
.v2-dots button[aria-selected="true"] i { animation: v2Progress 7s linear forwards; }
.v2-hero.is-paused .v2-dots i { animation-play-state: paused; }
@keyframes v2Progress { to { transform: scaleX(1); } }
.v2-arrows { display: flex; gap: 8px; }
.v2-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--bn-line-strong); background: var(--bn-surface); color: var(--text-hi); font-size: 22px; line-height: 1; cursor: pointer; transition: transform .5s var(--v2-spring); }
.v2-arrow.dark { background: var(--bn-ink); color: var(--bn-ink-fg); border: 0; }
.v2-arrow:active { transform: scale(.88); transition-duration: .12s; }

/* ---------- آمار ---------- */
.v2-stats { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--bn-surface); border: 1px solid var(--bn-line); border-radius: var(--bn-radius-lg); box-shadow: var(--bn-shadow-soft); overflow: hidden; }
.v2-stats > div { padding: 26px 8px; text-align: center; }
.v2-stats > div + div { border-right: 1px solid var(--bn-line); }
.v2-stats b { display: block; font-size: clamp(22px, 4vw, 34px); font-weight: 900; font-variant-numeric: tabular-nums; }
.v2-stats span { font-size: 12.5px; color: var(--text-mid); }
.v2-stats .teal { color: var(--bn-accent-text); } .v2-stats .pink { color: var(--bn-pink-text); } .v2-stats .gold { color: var(--bn-gold-text); }

/* ---------- بخش‌ها ---------- */
.v2-section { padding: 88px 0 0; scroll-margin-top: 90px; }
@media (max-width: 620px) { .v2-section { padding-top: 64px; } }
.v2-head { max-width: 40rem; margin: 0 auto 44px; text-align: center; }
.v2-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.35rem); font-weight: 900; line-height: 1.45; margin: 16px 0 12px; }
.v2-head p { color: var(--text-mid); line-height: 2; font-size: 15.5px; margin: 0; }

.v2-features { display: grid; gap: 16px; }
@media (min-width: 800px) { .v2-features { grid-template-columns: repeat(3, 1fr); } }
.v2-features article, .v2-feat { padding: 30px; border-radius: var(--bn-radius-lg); background: var(--bn-surface); border: 1px solid var(--bn-line); box-shadow: var(--bn-shadow-soft); transition: transform .6s var(--v2-spring), box-shadow .4s, border-color .3s; }
@media (hover: hover) { .v2-features article:hover { transform: translateY(-6px); box-shadow: var(--bn-shadow-lift); } }
.v2-features i { font-style: normal; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 24px; }
.v2-features i.teal { background: rgba(43, 255, 198, .14); } .v2-features i.pink { background: rgba(255, 79, 216, .12); } .v2-features i.gold { background: rgba(255, 201, 74, .15); }
.v2-features h3 { font-size: 17px; margin: 22px 0 8px; }
.v2-features p { color: var(--text-mid); line-height: 2; font-size: 14.5px; margin: 0; }

/* مسیرها: سه مسیر (وب / پروژه / پایتون) ← کارتِ مسیر با نقشه‌ی فصل‌ها ← ایستگاه‌ها */
.v2-tabs button {
  position: relative; z-index: 1; flex-shrink: 0; border: 0; background: none; cursor: pointer; font: inherit;
  padding: 10px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 800; color: var(--text-mid); transition: color .3s;
}
#section-paths { --tone: 43, 255, 198; }
#section-paths[data-tone="proj"] { --tone: 255, 79, 216; }
#section-paths[data-tone="py"] { --tone: 255, 201, 74; }
.v2-trk-wrap { position: sticky; top: 86px; z-index: 30; display: flex; justify-content: center; margin-bottom: 18px; transition: top .6s var(--v2-spring); }
/* overflow-x: hidden روی body اون رو «ظرفِ اسکرول» می‌کنه و sticky (نوبار و نوارِ مسیرها) از کار می‌افته؛ clip همون جلوگیری از سرریز رو بدونِ این عارضه انجام می‌ده — فقط وقتی صفحه‌ی اصلی بازه */
@supports (overflow-x: clip) { body:has(.v2-nav) { overflow-x: clip; } }
.v2:has(.v2-nav.bn-nav-away) .v2-trk-wrap { top: 12px; }
.v2-trk-tabs {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; width: min(100%, 640px); padding: 6px;
  border-radius: 26px; background: var(--bn-glass); -webkit-backdrop-filter: var(--bn-blur); backdrop-filter: var(--bn-blur);
  border: 1px solid var(--bn-glass-line); box-shadow: var(--bn-shadow-soft);
}
.v2-trk-tabs .bn-ind { border-radius: 20px; background: rgb(var(--tone)); box-shadow: 0 10px 28px -10px rgba(var(--tone), .75); transition: transform .55s var(--bn-spring), width .55s var(--bn-spring), height .55s var(--bn-spring), opacity .25s, background-color .45s, box-shadow .45s; }
.v2-trk-tabs button {
  position: relative; z-index: 1; min-width: 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--text-mid);
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 12px; border-radius: 20px; transition: color .3s;
  -webkit-tap-highlight-color: transparent;
}
.v2-trk-tabs button i { font-style: normal; font-size: 22px; line-height: 1; transition: transform .5s var(--v2-spring); }
.v2-trk-tabs button span { display: flex; flex-direction: column; min-width: 0; text-align: right; }
.v2-trk-tabs button b { font-size: 14.5px; font-weight: 900; white-space: nowrap; }
.v2-trk-tabs button small { font-size: 11px; font-weight: 700; opacity: .75; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-trk-tabs button.is-active { color: var(--on-fill, #0b0815); }
.v2-trk-tabs button.is-active i { transform: scale(1.12) rotate(-6deg); }
@media (hover: hover) { .v2-trk-tabs button:not(.is-active):hover { color: var(--text-hi); } .v2-trk-tabs button:not(.is-active):hover i { transform: scale(1.12); } }
.v2-trk-tabs button:focus-visible { outline: 2px solid rgb(var(--tone)); outline-offset: 2px; }
.v2-trk-tabs em {
  position: absolute; top: -9px; left: 8px; font-style: normal; font-size: 10px; font-weight: 900; padding: 2px 8px; border-radius: 999px;
  color: #fff; background: linear-gradient(135deg, #FF4FD8, #8B5CF6); box-shadow: 0 6px 16px -4px rgba(255, 79, 216, .7); animation: v2Pulse 2.4s ease-in-out infinite;
}
@keyframes v2Pulse { 50% { transform: scale(1.1); box-shadow: 0 6px 22px -2px rgba(255, 79, 216, .9); } }
@media (max-width: 560px) {
  .v2-trk-tabs { border-radius: 22px; padding: 5px; }
  .v2-trk-tabs .bn-ind { border-radius: 17px; }
  .v2-trk-tabs button { gap: 6px; padding: 11px 4px; border-radius: 17px; }
  .v2-trk-tabs button i { font-size: 18px; }
  .v2-trk-tabs button b { font-size: 13.5px; }
  .v2-trk-tabs button small { display: none; }
}

/* کارتِ مسیر */
.v2-trk {
  position: relative; overflow: hidden; isolation: isolate; margin-bottom: 22px; padding: 22px; border-radius: var(--bn-radius-lg);
  background: linear-gradient(160deg, rgba(var(--tone), .16), rgba(var(--tone), .03) 55%), var(--bn-surface);
  border: 1px solid rgba(var(--tone), .28); box-shadow: var(--bn-shadow-soft); transition: border-color .45s, background .45s;
}
.v2-trk::before { content: ""; position: absolute; z-index: -1; width: 320px; height: 320px; top: -160px; left: -90px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--tone), .28), transparent); pointer-events: none; }
.v2-trk-head { display: flex; gap: 16px; align-items: flex-start; animation: v2Fade .5s var(--v2-smooth) backwards; }
.v2-trk-ic {
  flex-shrink: 0; width: 60px; height: 60px; border-radius: 20px; display: grid; place-items: center; font-size: 30px;
  background: var(--bn-surface); border: 1px solid rgba(var(--tone), .35); box-shadow: 0 12px 30px -12px rgba(var(--tone), .8);
  animation: v2Bob 4s ease-in-out infinite;
}
@keyframes v2Bob { 50% { transform: translateY(-4px) rotate(-4deg); } }
.v2-trk-head > div { min-width: 0; }
.v2-trk-head b { display: block; font-size: 19px; font-weight: 900; line-height: 1.5; }
.v2-trk-head small { display: block; margin-top: 4px; color: var(--text-mid); font-size: 13.5px; line-height: 2; }
.v2-trk-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; animation: v2Fade .5s .06s var(--v2-smooth) backwards; }
.v2-trk-stats > * {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; font: inherit; font-size: 12px; font-weight: 700;
  color: var(--text-mid); background: var(--bn-surface-2); border: 1px solid var(--bn-line);
}
.v2-trk-stats b { color: var(--text-hi); font-size: 13.5px; font-weight: 900; }
.v2-trk-stats i { font-style: normal; }
.v2-trk-stats > .v2-trk-free { border-color: rgba(43, 255, 198, .55); background: rgba(43, 255, 198, .1); }
.v2-trk-free { cursor: pointer; transition: background .25s, border-color .25s, transform .4s var(--v2-spring); -webkit-tap-highlight-color: transparent; }
.v2-trk-free:active { transform: scale(.95); }
.v2-trk-stats > .v2-trk-free[aria-pressed="true"] { color: var(--on-fill, #0b0815); background: var(--fill-teal, #2BFFC6); border-color: transparent; }
.v2-trk-stats > .v2-trk-free[aria-pressed="true"] b { color: inherit; }
@media (hover: hover) { .v2-trk-free[aria-pressed="false"]:hover { border-color: rgba(43, 255, 198, .6); } }

/* نقشه‌ی فصل‌ها */
.v2-trk-path { position: relative; list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 6px; animation: v2Fade .5s .1s var(--v2-smooth) backwards; }
.v2-trk-path::before { content: ""; position: absolute; top: 25px; right: calc(50% / var(--n, 3)); left: calc(50% / var(--n, 3)); height: 3px; border-radius: 3px; background: linear-gradient(to left, rgba(var(--tone), .9), rgba(var(--tone), .15)); }
.v2-trk-path li { min-width: 0; }
@media (min-width: 900px) { .v2-trk-path { max-width: 760px; margin-inline: auto; } .v2-trk-head small { max-width: 72ch; } }
.v2-trk-path button {
  width: 100%; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 0 2px 6px; border: 0; background: none;
  font: inherit; color: var(--text-hi); cursor: pointer; border-radius: 16px; text-align: center; -webkit-tap-highlight-color: transparent;
}
.v2-trk-path i {
  position: relative; font-style: normal; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 23px;
  background: var(--bn-surface); border: 2px solid rgba(var(--tone), .55); box-shadow: 0 0 0 5px var(--bn-surface), 0 10px 24px -10px rgba(var(--tone), .9);
  transition: transform .5s var(--v2-spring), border-color .3s, background .3s;
}
.v2-trk-path em {
  position: absolute; bottom: -4px; left: -4px; font-style: normal; font-size: 10.5px; font-weight: 900; min-width: 20px; height: 20px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 999px; color: var(--on-fill, #0b0815); background: rgb(var(--tone)); border: 2px solid var(--bn-surface);
}
.v2-trk-path b { margin-top: 6px; font-size: 13px; font-weight: 900; line-height: 1.5; max-width: 100%; }
.v2-trk-path small { font-size: 11px; color: var(--text-low); font-weight: 700; }
.v2-trk-path button:active i { transform: scale(.92); }
@media (hover: hover) { .v2-trk-path button:hover i { transform: translateY(-3px) scale(1.06); } }
.v2-trk-path button:focus-visible { outline: 2px solid rgb(var(--tone)); outline-offset: 2px; }
.v2-trk-path.has-on button:not(.is-on) { opacity: .55; }
.v2-trk-path button.is-on i { background: rgb(var(--tone)); border-color: rgb(var(--tone)); transform: scale(1.08); box-shadow: 0 0 0 5px var(--bn-surface), 0 0 0 7px rgba(var(--tone), .35), 0 14px 30px -8px rgba(var(--tone), 1); }
.v2-trk-path button.is-on em { background: var(--bn-surface); color: var(--text-hi); border-color: rgb(var(--tone)); }
.v2-trk-tip { margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--text-low); }
.v2-trk-back {
  display: block; margin: 12px auto 0; padding: 7px 16px; border-radius: 999px; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer;
  color: var(--text-hi); background: var(--bn-surface-2); border: 1px solid var(--bn-line); transition: border-color .25s;
}
@media (hover: hover) { .v2-trk-back:hover { border-color: rgba(var(--tone), .6); } }
@keyframes v2Fade { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 560px) {
  .v2-trk { padding: 18px 16px; border-radius: 28px; }
  .v2-trk-head { gap: 12px; }
  .v2-trk-ic { width: 50px; height: 50px; border-radius: 16px; font-size: 25px; }
  .v2-trk-head b { font-size: 17px; }
  .v2-trk-head small { font-size: 13px; line-height: 1.95; }
  .v2-trk-stats { gap: 6px; }
  .v2-trk-stats > * { padding: 5px 10px; font-size: 11.5px; }
  .v2-trk-path { gap: 2px; }
  .v2-trk-path::before { top: 22px; }
  .v2-trk-path i { width: 46px; height: 46px; font-size: 20px; }
  .v2-trk-path b { font-size: 12px; }
  .v2-trk-path small { font-size: 10.5px; }
}
@media (max-width: 360px) { .v2-trk-path { gap: 0; } .v2-trk-path b { font-size: 11px; letter-spacing: -.2px; } .v2-trk-path small { font-size: 10px; } .v2-trk-path i { width: 42px; height: 42px; font-size: 18px; } .v2-trk-path::before { top: 20px; } }

/* ایستگاه‌ها */
.v2-lessons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .v2-lessons { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1040px) { .v2-lessons { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.v2-lessons li { min-width: 0; animation: v2In .55s var(--v2-smooth) backwards; animation-delay: calc(var(--i, 0) * 28ms); }
.v2-lessons button {
  width: 100%; height: 100%; min-width: 0; text-align: right; cursor: pointer; font: inherit; color: var(--text-hi);
  display: flex; flex-direction: column; padding: 16px; border-radius: 26px;
  background: var(--bn-surface); border: 1px solid var(--bn-line); box-shadow: var(--bn-shadow-soft);
  transition: transform .6s var(--v2-spring), box-shadow .35s, border-color .25s; -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) { .v2-lessons button:hover { transform: translateY(-4px); box-shadow: var(--bn-shadow-lift); border-color: rgba(var(--tone), .45); } }
.v2-lessons button:active { transform: scale(.97); transition-duration: .12s; }
.v2-lessons .top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.v2-lessons .ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; font-size: 19px; background: rgba(var(--tone), .12); }
.v2-tag { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.v2-tag.free { color: var(--bn-accent-text); background: rgba(43, 255, 198, .15); }
.v2-tag.plus { color: var(--text-low); background: var(--bn-surface-2); }
.v2-lessons .n { margin-top: 14px; font-size: 11.5px; color: var(--text-low); font-weight: 700; }
.v2-lessons .t { font-size: 15px; font-weight: 800; margin-top: 2px; line-height: 1.6; overflow-wrap: anywhere; }
.v2-lessons .s {
  font-size: 11.5px; color: var(--text-mid); margin-top: 4px; line-height: 1.7; overflow: hidden; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.v2-lessons .s.code { font-family: var(--font-code); font-size: 11px; text-align: left; direction: ltr; }
/* غولِ آخرِ هر فصل */
.v2-lessons li.boss button { border-color: rgba(255, 201, 74, .55); background: linear-gradient(160deg, rgba(255, 201, 74, .16), transparent 60%), var(--bn-surface); }
.v2-lessons li.boss .ic { background: rgba(255, 201, 74, .2); box-shadow: 0 8px 20px -8px rgba(255, 201, 74, .9); }
.v2-lessons li.boss .n { color: #A87800; }
html:not([data-theme="light"]) .v2-lessons li.boss .n { color: #FFC94A; }
/* سرتیترِ هر دنیا/فصل */
.v2-lessons li.v2-grp { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; padding: 14px 4px 2px; }
.v2-lessons li.v2-grp:first-child { padding-top: 0; }
.v2-grp > span { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; background: rgba(var(--tone), .14); flex-shrink: 0; }
.v2-grp b { font-size: 15px; font-weight: 900; min-width: 0; }
.v2-grp small { margin-inline-start: auto; flex-shrink: 0; font-size: 11.5px; font-weight: 800; color: var(--text-low); padding: 4px 10px; border-radius: 999px; background: var(--bn-surface-2); }
/* کارتِ «بقیه‌ی ایستگاه‌ها» */
.v2-lessons li.v2-rest button { align-items: center; justify-content: center; text-align: center; gap: 2px; min-height: 150px; background: rgba(var(--tone), .06); border: 1.5px dashed rgba(var(--tone), .5); box-shadow: none; }
.v2-rest b { font-size: 28px; font-weight: 900; color: var(--text-hi); line-height: 1.3; }
.v2-rest span { font-size: 13px; font-weight: 800; color: var(--text-mid); }
.v2-rest small { margin-top: 8px; font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; color: var(--on-fill, #0b0815); background: rgb(var(--tone)); }
@media (max-width: 400px) {
  .v2-lessons { gap: 10px; }
  .v2-lessons button { padding: 14px 12px; border-radius: 22px; }
  .v2-lessons .ic { width: 36px; height: 36px; border-radius: 12px; font-size: 17px; }
  .v2-lessons .n { margin-top: 12px; }
  .v2-lessons .t { font-size: 14px; }
  .v2-tag { padding: 3px 8px; font-size: 10.5px; }
}
.v2-more { text-align: center; margin-top: 26px; }
@keyframes v2In { from { opacity: 0; transform: translateY(12px) scale(.97); filter: blur(8px); } }

/* قرعه‌کشی */
.v2-lottery {
  margin-top: 88px; padding: 56px 20px; border-radius: 40px;
  background: linear-gradient(135deg, rgba(255, 201, 74, .13), var(--bn-surface) 45%, rgba(255, 79, 216, .1));
  border: 1px solid rgba(255, 201, 74, .3); box-shadow: var(--bn-shadow-soft);
}
@media (min-width: 700px) { .v2-lottery { padding: 72px 48px; } }
.v2-lottery-grid { display: grid; gap: 28px; }
@media (min-width: 1000px) { .v2-lottery-grid { grid-template-columns: 1fr 1.3fr; gap: 44px; } }
.v2-lottery h3 { font-size: 15px; margin: 0 0 14px; text-align: center; }
@media (min-width: 1000px) { .v2-lottery h3 { text-align: right; } }
.v2-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.v2-steps > div { padding: 22px 16px; text-align: center; border-radius: 28px; background: var(--bn-surface); border: 1px solid var(--bn-line); box-shadow: var(--bn-shadow-soft); }
.v2-steps i { font-style: normal; font-size: 30px; }
.v2-steps b { display: block; margin: 10px 0 4px; font-size: 14px; line-height: 1.8; }
.v2-steps small { color: var(--text-mid); font-size: 12px; }
.v2-center { text-align: center; margin-top: 36px; }
.v2-center small { display: block; margin-top: 12px; color: var(--text-low); font-size: 12px; }

/* قیمت‌ها */
.v2-price-grid { display: grid; gap: 18px; max-width: 900px; margin: 0 auto; align-items: stretch; }
@media (min-width: 900px) { .v2-price-grid { grid-template-columns: 1fr 1.35fr; } }
.v2-free, .v2-plus { display: flex; flex-direction: column; padding: 32px; border-radius: 40px; }
.v2-free { background: var(--bn-surface); border: 1px solid var(--bn-line); box-shadow: var(--bn-shadow-soft); order: 2; }
.v2-plus { order: 1; position: relative; overflow: hidden; background: #0B0815; color: #F4F1FF; box-shadow: var(--bn-shadow-lift), 0 0 0 1px rgba(43, 255, 198, .3); }
html[data-theme="dark"] .v2-plus { background: #1B1535; }
@media (min-width: 900px) { .v2-free { order: 1; } .v2-plus { order: 2; } }
.v2-plus::before { content: ""; position: absolute; top: -6rem; left: -4rem; width: 18rem; height: 18rem; border-radius: 50%; background: radial-gradient(closest-side, #2BFFC6, transparent); transform: scale(1.8); opacity: .22; pointer-events: none; }
.v2-free h3, .v2-plus h3 { font-size: 18px; margin: 0; }
.v2-amount { font-size: 40px; font-weight: 900; margin: 14px 0 4px; }
.v2-amount small { font-size: 15px; color: var(--text-mid); }
.v2-free p { color: var(--text-mid); font-size: 14px; margin: 0 0 20px; }
.v2-free ul, .v2-plus-feats { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; font-size: 14px; }
.v2-free li.off { color: var(--text-low); }
.v2-free .btn { margin-top: auto; }
.v2-plus-head { position: relative; display: flex; justify-content: space-between; align-items: center; }
.v2-plus-head span { background: #2BFFC6; color: #052A21; font-size: 11px; font-weight: 900; padding: 5px 12px; border-radius: 999px; }
.v2-tabs { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 22px 0 6px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); }
.v2-tabs button { color: #B8B2D9; padding: 10px 6px; }
.v2-tabs button.is-active { color: #052A21; }
.v2-plan { position: relative; min-height: 118px; display: grid; }
.v2-plan > div { grid-area: 1 / 1; padding-top: 18px; animation: v2PlanIn .55s var(--v2-smooth) backwards; }
.v2-plan .p { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 12px; }
.v2-plan .num { font-size: 48px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.v2-plan .per { color: #B8B2D9; font-size: 14px; font-weight: 700; padding-bottom: 6px; }
.v2-plan .badge { margin-bottom: 6px; font-size: 11.5px; font-weight: 800; color: #FF4FD8; background: rgba(255, 79, 216, .15); border: 1px solid rgba(255, 79, 216, .3); padding: 3px 11px; border-radius: 999px; }
.v2-plan .pm { color: #B8B2D9; font-size: 14px; margin: 10px 0 0; }
.v2-plan .perk { color: #FFC94A; font-size: 13px; font-weight: 800; margin: 6px 0 0; }
@keyframes v2PlanIn { from { opacity: 0; transform: translateY(12px); filter: blur(8px); } }
.v2-plus-feats { position: relative; margin-top: 10px; }
@media (min-width: 560px) { .v2-plus-feats { grid-template-columns: 1fr 1fr; } }
.v2-plus-feats li::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-left: 8px; border-radius: 50%; background: rgba(43, 255, 198, .2); color: #2BFFC6; font-size: 11px; font-weight: 900; }
.v2-trust { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 12px; color: #B8B2D9; margin-bottom: 16px; }
.v2-plus .v2-accent { position: relative; margin-top: auto; }

/* دکمه‌ی نئونی (روی زمینه‌ی تیره) */
.btn.v2-accent {
  color: #052A21;
  background: linear-gradient(0deg, #0B0815, #221B42) center bottom / 100% 0% no-repeat, linear-gradient(135deg, #2BFFC6, #18C99F);
  box-shadow: 0 14px 36px -14px rgba(43, 255, 198, .6);
}
@media (hover: hover) and (pointer: fine) { .btn.v2-accent:hover { background-size: 100% 100%, auto; color: #F4F1FF; } }

/* سوالات */
.v2-faq-wrap { max-width: 760px; margin: 0 auto; }
.v2-faq { display: grid; gap: 12px; }
.v2-faq details { border-radius: 28px; background: var(--bn-surface); border: 1px solid var(--bn-line); transition: border-color .4s, box-shadow .4s; }
.v2-faq details[open] { border-color: rgba(43, 255, 198, .45); box-shadow: var(--bn-shadow-soft); }
.v2-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px; font-weight: 800; font-size: 15px; }
.v2-faq summary::-webkit-details-marker { display: none; }
.v2-faq summary i { position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: var(--bn-surface-2); transition: transform .55s var(--v2-spring), background-color .3s; }
.v2-faq summary i::before, .v2-faq summary i::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .45s var(--v2-spring); }
.v2-faq summary i::after { transform: rotate(90deg); }
.v2-faq details[open] summary i { background: var(--fill-teal); color: #052A21; transform: rotate(180deg); }
.v2-faq details[open] summary i::after { transform: rotate(0deg); }
.v2-faq p { margin: 0; padding: 0 24px 22px; color: var(--text-mid); line-height: 2; font-size: 14.5px; }
.v2-faq details[open] p { animation: v2PlanIn .5s var(--v2-smooth); }

/* نوشته‌ی متحرکِ توخالی */
.v2-big { overflow: hidden; margin: 70px -24px 0; padding: 20px 0; }
@media (max-width: 600px) { .v2-big { margin: 50px -16px 0; } }
.v2-big-track { animation-duration: 60s; }
.v2-big ul { display: flex; list-style: none; margin: 0; padding: 0; flex-shrink: 0; }
.v2-big li { direction: rtl; white-space: nowrap; display: flex; align-items: center; gap: .5em; padding: 0 .35em; font-size: clamp(4.5rem, 15vw, 11rem); font-weight: 900; line-height: 1.1; color: transparent; -webkit-text-stroke: 1.5px var(--bn-line-strong); }
.v2-big li::after { content: ""; width: .16em; height: .16em; border-radius: 50%; background: rgba(43, 255, 198, .6); }

/* ---------- فوترِ تیره ---------- */
.v2-footer {
  position: relative; overflow: hidden; margin: 24px -24px -80px; padding: 56px 32px 0;
  border: 0 !important; border-radius: 48px 48px 0 0;
  background: var(--bn-footer); color: #dcd8ef;
  --text-hi: #fff; --text-mid: #b8b2d9; --text-low: #8a82b8; --bg-card: rgba(255,255,255,.06); --border-soft: rgba(255,255,255,.1);
}
@media (max-width: 600px) { .v2-footer { margin: 24px -16px -60px; padding: 44px 20px 0; border-radius: 36px 36px 0 0; } }
.v2-footer::before { content: ""; position: absolute; top: -8rem; right: 25%; width: 24rem; height: 24rem; border-radius: 50%; background: radial-gradient(closest-side, #2BFFC6, transparent); transform: scale(2); opacity: .18; pointer-events: none; }
.v2-news { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 28px; border-radius: 32px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.v2-news h2 { color: #fff; font-size: 22px; font-weight: 900; margin: 0; }
.v2-news p { color: #b8b2d9; font-size: 14px; margin: 6px 0 0; }
.v2-news-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 600px) { .v2-news-actions { width: 100%; } .v2-news-actions .btn { flex: 1 1 100%; } }
.btn.v2-glass-btn { color: #fff; background: linear-gradient(0deg, #2BFFC6, #74FFDF) center bottom / 100% 0% no-repeat, rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .2); }
@media (hover: hover) and (pointer: fine) { .btn.v2-glass-btn:hover { background-size: 100% 100%, auto; color: #052A21; border-color: transparent; } }
.v2-footer-grid { position: relative; margin-top: 48px; }
.v2-footer .footer-col h5 { color: #fff; }
.v2-footer .footer-links a, .v2-footer .footer-tagline { color: #b8b2d9; }
.v2-footer .footer-links a:hover { color: #2BFFC6; }
.v2-footer .brand-name { color: #fff; }
.v2-footer .brand-name span { color: #2BFFC6; }
.v2-footer .trust-badge, .v2-footer .footer-social a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.v2-footer .tb-t { color: #fff; } .v2-footer .tb-s, .v2-footer .copy { color: #8a82b8; }
.v2-footer .footer-bottom { position: relative; border-top-color: rgba(255, 255, 255, .1); }
.v2-brand-big { position: relative; text-align: center; line-height: .9; margin-top: 10px; margin-bottom: -.18em; font-size: clamp(5.5rem, 24vw, 19rem); font-weight: 900; pointer-events: none; user-select: none; }
.v2-brand-big span { background: linear-gradient(to bottom, rgba(255, 255, 255, .26), rgba(43, 255, 198, .14), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* فوتر (همون کلاس‌های قبلی؛ چیدمان) */
.site-footer .footer-grid { display: flex; flex-wrap: wrap; gap: 36px; justify-content: space-between; align-items: flex-start; }
.site-footer .footer-brand { max-width: 290px; }
.site-footer .footer-brand .brand { margin-bottom: 14px; }
.site-footer .footer-tagline { font-size: 13px; line-height: 2; }
.site-footer .footer-col h5 { font-size: 13px; margin-bottom: 15px; font-weight: 800; }
.site-footer .footer-links { display: flex; flex-direction: column; gap: 11px; }
.site-footer .footer-links a { font-size: 13px; transition: color .15s; }
.site-footer .footer-trust { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer .trust-badge { display: flex; align-items: center; gap: 10px; border: 1px solid; border-radius: 16px; padding: 11px 14px; transition: border-color .2s, transform .5s var(--v2-spring); }
.site-footer .trust-badge:hover { border-color: #2BFFC6; transform: translateY(-2px); }
.site-footer .tb-ic { font-size: 24px; line-height: 1; }
.site-footer .tb-t { font-size: 12px; font-weight: 800; display: block; }
.site-footer .tb-s { font-size: 10.5px; display: block; margin-top: 2px; }
.site-footer .footer-bottom { border-top: 1px solid; margin-top: 34px; padding: 20px 0 8px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.site-footer .copy { font-size: 12px; }
.site-footer .footer-social { display: flex; gap: 10px; }
.site-footer .footer-social a { width: 40px; height: 40px; border-radius: 12px; border: 1px solid; display: flex; align-items: center; justify-content: center; font-size: 17px; }

/* ---------- حرکتِ کمتر ---------- */
@media (prefers-reduced-motion: reduce) {
  .v2-ann-track, .v2-big-track, .v2-chip, .v2-lessons li, .v2-trk-head, .v2-trk-stats, .v2-trk-path, .v2-trk-ic, .v2-trk-tabs em, .v2-plan > div, .v2-faq details[open] p { animation: none !important; }
  .v2-slide, .v2-visual { transition: opacity .2s linear, visibility 0s !important; transform: none !important; filter: none !important; }
  .v2-dots button[aria-selected="true"] i { animation: none; transform: scaleX(1); }
  .v2-orb, .v2-chip, .v2-visuals { translate: none; }
}

/* display:flex/inline-flex ویژگیِ hidden رو خنثی می‌کنه → صریحاً مخفی */
.v2 [hidden] { display: none !important; }

/* گوشی/لمسی: جابه‌جاییِ اسلایدها و ورودِ کارت‌ها بدونِ blur (فقط حرکت + شفافیت) تا روی گوشی‌های ضعیف هم روون باشه */
@media (hover: none), (max-width: 760px) {
  .v2-slide, .v2-visual { filter: none !important; }
  @keyframes v2In { from { opacity: 0; transform: translateY(12px) scale(.97); } }
  @keyframes v2PlanIn { from { opacity: 0; transform: translateY(12px); } }
}


/* =====================================================================
   لایه‌ی تعاملیِ نسخه‌ی ۲.۱ (landing-fx.js)
   ===================================================================== */

/* ---------- نوارِ پیشرفتِ اسکرول ---------- */
.v2-progress { position: fixed; top: 0; right: 0; left: 0; height: 3px; z-index: 120; pointer-events: none;
  background: linear-gradient(270deg, var(--fill-teal), var(--fill-blue) 55%, var(--fill-pink));
  transform: scaleX(0); transform-origin: right center; will-change: transform; }

/* ---------- کارت‌های ویژگی: دکمه‌ی پاپ‌آپ + نورِ نشانگر + کجیِ سه‌بعدی ---------- */
.v2-feat { position: relative; display: block; width: 100%; text-align: right; font: inherit; color: inherit; cursor: pointer; overflow: hidden; isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.v2-feat::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 255, 198, .16), transparent 45%); }
.v2-feat[data-feat="map"]::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 79, 216, .14), transparent 45%); }
.v2-feat[data-feat="reward"]::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 201, 74, .18), transparent 45%); }
.v2-feat-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 13px; font-weight: 800; color: var(--bn-accent-text); }
.v2-feat-more b { display: inline-block; transition: transform .5s var(--v2-spring); }
.v2-feat:focus-visible { outline: 3px solid var(--fill-teal); outline-offset: 3px; }
.v2-feat:active { transform: scale(.97); transition-duration: .15s; }
@media (hover: hover) {
  .v2-feat:hover { box-shadow: var(--bn-shadow-lift); border-color: var(--bn-line-strong); }
  .v2-feat:hover::after { opacity: 1; }
  .v2-feat:hover .v2-feat-more b { transform: translate(-4px, -4px); }
}
.v2-free, .v2-plus, .v2-play-box { --mx: 50%; --my: 50%; }

/* ---------- دکمه‌های مغناطیسی ---------- */
.fx-mag { translate: var(--mgx, 0px) var(--mgy, 0px); transition: translate .45s var(--v2-spring, cubic-bezier(.34,1.56,.64,1)), transform .3s, box-shadow .3s, background-size .5s; }

/* ---------- زمینِ بازیِ زنده ---------- */
.v2-play-box { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
.v2-play-box > * { min-width: 0; }
@media (min-width: 900px) { .v2-play-box { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: stretch; } }
.v2-play-ed {
  --pc-bg: #141026; border-radius: var(--bn-radius-lg); background: var(--pc-bg); color: #f5f3ff;
  border: 1px solid rgba(255, 255, 255, .08); box-shadow: var(--bn-shadow-lift); overflow: hidden; display: flex; flex-direction: column; min-height: 340px;
}
.v2-play-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid rgba(255, 255, 255, .07); font-size: 12.5px; }
.v2-play-bar b { font: 600 12.5px/1 'JetBrains Mono', monospace; color: #b8b0d9; flex: 1; text-align: left; }
.v2-dots3 { display: inline-flex; gap: 6px; } .v2-dots3 i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f7a; }
.v2-dots3 i:nth-child(2) { background: #ffc94a; } .v2-dots3 i:nth-child(3) { background: #2bffc6; }
.v2-play-reset { font: 700 12px/1 inherit; font-family: inherit; color: #b8b0d9; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px; padding: 7px 12px; cursor: pointer; transition: background .2s, color .2s; }
.v2-play-reset:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.v2-play-code { position: relative; flex: 1; min-height: 280px; }
.v2-play-code pre, .v2-play-code textarea {
  position: absolute; inset: 0; margin: 0; padding: 18px 20px; border: 0; box-sizing: border-box; overflow: auto;
  font: 500 15px/1.85 'JetBrains Mono', ui-monospace, monospace; letter-spacing: 0; tab-size: 2; white-space: pre-wrap; word-wrap: break-word; text-align: left;
  direction: ltr; unicode-bidi: normal; font-variant-ligatures: none; font-kerning: none;
}
.v2-play-code pre { pointer-events: none; color: #e9e4ff; scrollbar-width: none; }
.v2-play-code pre::-webkit-scrollbar { display: none; }
.v2-play-code textarea { background: transparent; color: transparent; caret-color: #2bffc6; resize: none; outline: none; -webkit-text-fill-color: transparent; }
.v2-play-code textarea::selection { background: rgba(43, 255, 198, .25); -webkit-text-fill-color: transparent; }
.v2-play-code textarea:focus-visible { box-shadow: inset 0 0 0 2px rgba(43, 255, 198, .45); }
.v2-play-code .t { color: #ff79d8; } .v2-play-code .a { color: #ffc94a; } .v2-play-code .s { color: #2bffc6; }
@media (max-width: 640px) { .v2-play-code pre, .v2-play-code textarea { font-size: 16px; padding: 16px; } .v2-play-code { min-height: 230px; } .v2-play-ed { min-height: 280px; } }

.v2-play-side { display: grid; gap: 16px; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); }
.v2-play-view { border-radius: var(--bn-radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--bn-line); box-shadow: var(--bn-shadow-soft); display: flex; flex-direction: column; }
.v2-play-url { display: flex; align-items: center; gap: 8px; margin: 10px; padding: 8px 14px; border-radius: 999px; background: #f1eff8; color: #5b5578; font: 600 12px/1 'JetBrains Mono', monospace; }
.v2-play-view iframe { width: 100%; height: 190px; border: 0; background: #fff; display: block; }
.v2-play-quest { border-radius: var(--bn-radius-lg); background: var(--bn-surface); border: 1px solid var(--bn-line); box-shadow: var(--bn-shadow-soft); padding: 16px; }
.v2-play-xp { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-weight: 800; font-size: 13px; }
.v2-play-xp > span { color: var(--bn-gold-text); }
.v2-play-xp b { min-width: 32px; text-align: left; font-variant-numeric: tabular-nums; }
.v2-play-track { flex: 1; height: 10px; border-radius: 99px; background: var(--tint-2); overflow: hidden; }
.v2-play-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(270deg, var(--fill-gold), var(--fill-teal)); transform: scaleX(0); transform-origin: right; transition: transform .8s var(--v2-spring); }
.v2-play-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
.v2-play-tasks li { min-width: 0; }
.v2-play-tasks li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: var(--tint-1); border: 1px solid transparent; transition: background .3s, border-color .3s, transform .5s var(--v2-spring); }
.v2-task-ic { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 13px; background: var(--bn-surface); border: 1px solid var(--bn-line); transition: background .3s, color .3s, transform .5s var(--v2-spring); }
.v2-task-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.v2-task-txt b { font-size: 13.5px; }
.v2-task-txt code { font: 500 11.5px/1.5 'JetBrains Mono', monospace; color: var(--text-low); text-align: right; unicode-bidi: plaintext; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-task-act { flex: none; font: 800 12px/1 inherit; font-family: inherit; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--bn-line-strong); background: var(--bn-surface); color: var(--text-hi); cursor: pointer; transition: transform .3s var(--v2-spring), background .2s; }
.v2-task-act:hover { background: var(--tint-2); } .v2-task-act:active { transform: scale(.92); }
.v2-play-tasks li.is-done { background: rgba(43, 255, 198, .1); border-color: rgba(43, 255, 198, .3); }
.v2-play-tasks li.is-done .v2-task-ic { background: var(--fill-teal); color: #052a21; border-color: transparent; transform: scale(1.08); font-size: 0; }
.v2-play-tasks li.is-done .v2-task-ic::before { content: "✓"; font-size: 15px; }
.v2-play-tasks li.is-done .v2-task-act { display: none; }
.v2-play-tasks li.is-done .v2-task-txt b { text-decoration: line-through; text-decoration-color: rgba(43, 255, 198, .7); text-decoration-thickness: 2px; }
.v2-task-win { flex-wrap: wrap; background: linear-gradient(135deg, rgba(43, 255, 198, .16), rgba(255, 79, 216, .12)) !important; animation: v2WinIn .7s var(--v2-spring) both; }
.v2-task-win > span:first-child { font-size: 26px; }
.v2-task-win > span:nth-child(2) { flex: 1; min-width: 180px; display: flex; flex-direction: column; }
.v2-task-win small { color: var(--text-mid); font-size: 12.5px; line-height: 1.8; }
.v2-task-win .btn { width: 100%; }
@keyframes v2WinIn { from { opacity: 0; transform: translateY(10px) scale(.94); } }

/* ---------- نظراتِ واقعی ---------- */
.v2-rev-rows { display: grid; gap: 14px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.v2-rev-track { display: flex; gap: 14px; width: max-content; animation: v2RevScroll var(--dur, 40s) linear infinite; }
.v2-rev-row.is-rev .v2-rev-track { animation-direction: reverse; }
.v2-rev-rows:hover .v2-rev-track { animation-play-state: paused; }
@keyframes v2RevScroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 7px)); } }
.v2-rev { margin: 0; width: 290px; flex: none; padding: 18px 20px; border-radius: 24px; background: var(--bn-surface); border: 1px solid var(--bn-line); box-shadow: var(--bn-shadow-soft); display: flex; flex-direction: column; gap: 14px; }
.v2-rev blockquote { margin: 0; font-size: 14px; line-height: 1.95; color: var(--text-hi); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; white-space: pre-line; }
.v2-rev blockquote::before { content: "“"; color: var(--bn-gold-text); font-size: 22px; font-weight: 900; margin-left: 4px; }
.v2-rev figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.v2-rev-av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 14px; color: #052a21; background: linear-gradient(135deg, var(--fill-teal), var(--fill-blue)); flex: none; }
.v2-rev:nth-child(3n+2) .v2-rev-av { background: linear-gradient(135deg, var(--fill-pink), var(--fill-gold)); }
.v2-rev:nth-child(3n) .v2-rev-av { background: linear-gradient(135deg, var(--fill-gold), var(--fill-teal)); }
.v2-rev figcaption > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.v2-rev b { font-size: 13px; } .v2-rev small { font-size: 11.5px; color: var(--text-low); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- جلوه‌های سراسری: کانفتی و «+XP» ---------- */
.fx-burst { position: fixed; z-index: 10000; pointer-events: none; width: 0; height: 0; }
.fx-burst i { position: absolute; width: 8px; height: 8px; border-radius: 2px; animation: fxBurst .9s cubic-bezier(.2, .8, .3, 1) forwards; }
@keyframes fxBurst { to { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); opacity: 0; } }
.fx-xp { position: fixed; z-index: 10001; pointer-events: none; transform: translate(-50%, 0); font-weight: 900; font-size: 15px; color: #052a21;
  background: var(--fill-gold, #ffc94a); padding: 6px 12px; border-radius: 999px; box-shadow: 0 10px 24px rgba(255, 201, 74, .45); white-space: nowrap;
  animation: fxXp 1.1s cubic-bezier(.2, .8, .3, 1) forwards; }
@keyframes fxXp { 0% { opacity: 0; transform: translate(-50%, 6px) scale(.6); } 20% { opacity: 1; transform: translate(-50%, -14px) scale(1.08); } 100% { opacity: 0; transform: translate(-50%, -64px) scale(1); } }

/* ---------- محتوای پاپ‌آپِ ویژگی‌ها (داخلِ .bn-dlg، بیرون از .v2) ---------- */
.fx-demo { display: grid; gap: 16px; }
.fx-sheet-cta { margin-top: 18px; }
.fx-note { margin: 0; font-size: 13px; color: var(--text-mid); line-height: 1.9; }
.fx-code { margin: 0; padding: 16px 18px; border-radius: 18px; background: #141026; color: #e9e4ff; font: 500 13.5px/1.8 'JetBrains Mono', monospace; text-align: left; overflow-x: auto; }
.fx-code .t { color: #ff79d8; } .fx-code .s { color: #2bffc6; }
.fx-live-out { display: grid; place-items: center; min-height: 120px; border-radius: 18px; background: var(--tint-1); border: 1px dashed var(--bn-line-strong); }
.fx-live-btn { font: 800 15px/1 inherit; font-family: inherit; padding: 16px 28px; border: 0; border-radius: 14px; background: #2BFFC6; color: #0b0815; cursor: pointer; box-shadow: 0 10px 26px rgba(0, 0, 0, .18); transition: background .35s, border-radius .15s; }
.fx-live-btn.is-pop { animation: fxPop .55s var(--bn-spring, cubic-bezier(.34,1.56,.64,1)); }
@keyframes fxPop { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }
.fx-swatches { display: flex; gap: 10px; justify-content: center; }
.fx-sw { width: 40px; height: 40px; border-radius: 50%; background: var(--c); border: 3px solid var(--bn-surface); box-shadow: 0 0 0 2px var(--bn-line); cursor: pointer; transition: transform .35s var(--bn-spring, ease), box-shadow .2s; }
.fx-sw.is-on { box-shadow: 0 0 0 3px var(--c); transform: scale(1.12); }
.fx-range { display: flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--text-mid); }
.fx-range input { flex: 1; accent-color: #2BFFC6; }
.fx-path { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; }
.fx-path li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; background: var(--tint-1); transition: background .4s, opacity .4s; }
.fx-path li.is-lock { opacity: .55; }
.fx-path li.is-done { background: rgba(43, 255, 198, .12); }
.fx-path li.is-cur { background: rgba(255, 79, 216, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 79, 216, .35); }
.fx-node { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 900; flex: none; background: var(--bn-surface); border: 1px solid var(--bn-line); }
.fx-path li.is-done .fx-node { background: var(--fill-teal); color: #052a21; border-color: transparent; }
.fx-path li.is-cur .fx-node { background: var(--fill-pink); color: #fff; border-color: transparent; }
.fx-path li.is-unlock .fx-node { animation: fxUnlock .7s var(--bn-spring, ease); }
@keyframes fxUnlock { 0% { transform: scale(.4) rotate(-40deg); } 60% { transform: scale(1.2) rotate(8deg); } 100% { transform: none; } }
.fx-map-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fx-xpc { font-weight: 800; color: var(--bn-gold-text); }
.fx-streak { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.fx-streak span { display: grid; justify-items: center; gap: 4px; padding: 10px 0; border-radius: 16px; background: var(--tint-1); }
.fx-streak i { font-style: normal; font-size: 22px; filter: grayscale(1); opacity: .35; transition: filter .3s, opacity .3s, transform .5s var(--bn-spring, ease); }
.fx-streak small { font-size: 11px; color: var(--text-low); font-weight: 700; }
.fx-streak span.is-lit { background: rgba(255, 150, 60, .12); }
.fx-streak span.is-lit i { filter: none; opacity: 1; transform: scale(1.15); }
.fx-hearts { text-align: center; font-size: 22px; letter-spacing: 4px; }
.fx-badge { display: grid; justify-items: center; gap: 2px; padding: 16px; border-radius: 22px; border: 1.5px dashed var(--bn-line-strong); opacity: .5; filter: grayscale(1); transition: opacity .4s, filter .4s, transform .6s var(--bn-spring, ease), background .4s; }
.fx-badge span { font-size: 38px; } .fx-badge small { color: var(--text-low); font-size: 12px; }
.fx-badge.is-won { opacity: 1; filter: none; transform: scale(1.04); background: rgba(255, 201, 74, .12); border-style: solid; border-color: rgba(255, 201, 74, .5); }

@media (prefers-reduced-motion: reduce) {
  .v2-rev-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .v2-rev[aria-hidden="true"] { display: none; }
  .v2-feat { transform: none !important; }
  .fx-mag { translate: none !important; }
  .v2-progress { display: none; }
}

/* =====================================================================
   تمِ روشنِ صفحه‌ی اصلی (v2.7): پالتِ «یاسیِ روشن» هم‌خانواده‌ی بنفشِ برند
   به‌جای کرمی/سبزِ تیره؛ فقط وقتی صفحه‌ی اصلی بازه (اپ و پنل دست نخورده)
   ===================================================================== */
html[data-theme="light"]:has(.v2-nav) {
  --bn-bg: #f6f5fd; --bg-void: #f6f5fd;
  --bn-surface: #ffffff; --bg-panel: #ffffff; --bg-card: #ffffff;
  --bn-surface-2: #f1effb; --bg-deep: #f1effb; --bn-surface-3: #e9e6f8; --bg-panel-raised: #f4f2fc;
  --bn-line: rgba(46, 30, 110, .08); --border-soft: rgba(46, 30, 110, .08);
  --bn-line-strong: rgba(46, 30, 110, .15); --border-mid: rgba(46, 30, 110, .15);
  --bn-fg: #17112f; --text-hi: #17112f;
  --bn-fg-muted: #4e4869; --text-mid: #4e4869;
  --bn-fg-soft: #8a84a7; --text-low: #8a84a7;
  --bn-accent-text: #008a6d; --neon-teal: #008a6d;
  --bn-pink-text: #c0158f; --neon-pink: #c0158f;
  --bn-ink: #1c1440; --bn-ink-fg: #ffffff;
  --bn-glass: rgba(255, 255, 255, .74); --bn-glass-line: rgba(255, 255, 255, .95);
  --bn-footer: #140e2c;
  --bn-shadow-rgb: 52 30 140;
  --bn-orb-opacity: .5;
  --bn-grain-opacity: .03;
  --tint-1: rgba(46, 30, 110, .035); --tint-2: rgba(46, 30, 110, .06);
}
/* پس‌زمینه: هاله‌های رنگیِ ملایم + بافتِ نقطه‌ای خیلی کم‌رنگ */
/* رنگِ body روی لایه‌های z-index منفی (هاله‌ها) می‌افتاد و پنهونشون می‌کرد؛ رنگ رو به html (بوم) می‌سپاریم */
html[data-theme="light"] body:has(.v2-nav) { background-color: transparent; }
html[data-theme="light"] body:has(.v2-nav)::after {
  opacity: 1;
  background:
    radial-gradient(ellipse 50% 36% at 88% 4%, rgba(43, 255, 198, .22), transparent 70%),
    radial-gradient(ellipse 46% 38% at 6% 30%, rgba(255, 79, 216, .13), transparent 70%),
    radial-gradient(ellipse 56% 40% at 60% 62%, rgba(124, 92, 255, .12), transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 96%, rgba(255, 201, 74, .14), transparent 70%);
}
html[data-theme="light"] .v2-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(46, 30, 110, .13) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}
/* دکمه‌ی اصلی: بنفشِ عمیقِ برند با درخششِ رنگی به‌جای مشکیِ خشک */
html[data-theme="light"] .v2 .btn-primary {
  background: linear-gradient(0deg, var(--fill-teal), #74ffdf) center bottom / 100% 0% no-repeat, linear-gradient(135deg, #2a1d63, #17112f 70%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 14px 30px -12px rgba(60, 30, 160, .55);
}
html[data-theme="light"] .v2 .btn-ghost, html[data-theme="light"] .v2 .btn-secondary {
  background: rgba(255, 255, 255, .8); border-color: rgba(46, 30, 110, .12); box-shadow: 0 8px 22px -14px rgba(52, 30, 140, .35);
}
/* کارت‌ها: سفیدِ تمیز با قابِ یاسی و سایه‌ی رنگی */
html[data-theme="light"] .v2-features article, html[data-theme="light"] .v2-lessons button, html[data-theme="light"] .v2-faq details,
html[data-theme="light"] .v2-free, html[data-theme="light"] .v2-plus, html[data-theme="light"] .v2-stats, html[data-theme="light"] .v2-steps > div {
  border-color: rgba(46, 30, 110, .09);
  box-shadow: 0 1px 2px rgba(52, 30, 140, .05), 0 18px 40px -22px rgba(52, 30, 140, .32);
}
html[data-theme="light"] .v2-features i.teal { background: linear-gradient(135deg, rgba(43, 255, 198, .28), rgba(43, 255, 198, .08)); }
html[data-theme="light"] .v2-features i.pink { background: linear-gradient(135deg, rgba(255, 79, 216, .22), rgba(255, 79, 216, .06)); }
html[data-theme="light"] .v2-features i.gold { background: linear-gradient(135deg, rgba(255, 201, 74, .32), rgba(255, 201, 74, .08)); }
/* نوارِ مسیرها و کارتِ مسیر */
html[data-theme="light"] .v2-trk { background: linear-gradient(160deg, rgba(var(--tone), .2), rgba(var(--tone), .04) 55%), #fff; border-color: rgba(var(--tone), .45); box-shadow: 0 20px 44px -24px rgba(var(--tone), .6); }
html[data-theme="light"] #section-paths[data-tone="py"] .v2-trk { box-shadow: 0 20px 44px -24px rgba(214, 150, 0, .55); }
html[data-theme="light"] .v2-trk-path em { color: #17112f; }
html[data-theme="light"] .v2-trk-stats > * { background: rgba(255, 255, 255, .7); }
html[data-theme="light"] .v2-lessons .ic { background: rgba(var(--tone), .18); }
html[data-theme="light"] .v2-rest small { color: #17112f; }
/* پنجره‌ی کدِ هدر همیشه تیره‌ست → رنگ‌های نئونِ اصلی (نه نسخه‌ی تیره‌شده‌ی تمِ روشن) */
html[data-theme="light"] .hero-visual { --bg-plum: #2A1B3F; --gold: #FFC94A; --neon-teal: #2BFFC6; --neon-pink: #FF4FD8; --blue-soft: #6C8CFF; --border-soft: rgba(255, 255, 255, .1); --text-hi: #F5F3FF; --text-mid: #B8B0D9; --text-low: #8A83AE; }

/* مسیرِ چهارم: هوشِ مصنوعی (به‌زودی) — v3.0 */
#section-paths[data-tone="ai"] { --tone: 168, 85, 247; }
.v2-trk-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v2-trk-tabs .ls { display: none; }
.v2-trk-tabs em.soon { background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.v2-tag.soon { color: #fff; background: linear-gradient(135deg, #8b5cf6, #ec4899); }
.v2-soon-pill { color: #fff !important; border-color: transparent !important; background: linear-gradient(135deg, #8b5cf6, #ec4899) !important; font-weight: 900 !important; }
@media (max-width: 760px) {
  .v2-trk-tabs .lf { display: none; } .v2-trk-tabs .ls { display: inline; }
  .v2-trk-tabs button small { display: none; }
}
@media (max-width: 560px) {
  .v2-trk-tabs button { flex-direction: column; gap: 2px; padding: 8px 2px; }
  .v2-trk-tabs button i { font-size: 18px; }
  .v2-trk-tabs button b { font-size: 12.5px; }
  .v2-trk-tabs em { top: -8px; left: 2px; font-size: 9.5px; padding: 1px 6px; }
}
.v2-ai-demo { display: grid; grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 18px; }
.v2-ai-chat { padding: 12px 14px; border-radius: 18px 18px 4px 18px; background: var(--bn-surface-2); border: 1px solid rgba(var(--tone), .35); font-size: 13px; line-height: 2; }
.v2-ai-chat span { display: block; font-size: 11px; font-weight: 800; color: var(--text-low); }
.v2-ai-chat p { margin: 0; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.v2-ai-arrow { font-size: 22px; font-weight: 900; color: rgb(var(--tone)); animation: v2AiArrow 1.6s ease-in-out infinite; }
@keyframes v2AiArrow { 50% { transform: translateX(-5px); } }
.v2-ai-site { display: grid; gap: 6px; padding: 8px; border-radius: 14px; background: #fdf8f3; border: 1px solid rgba(124, 74, 30, .25); box-shadow: 0 14px 30px -16px rgba(124, 74, 30, .6); }
.v2-ai-site i { display: block; border-radius: 6px; }
.v2-ai-site .nav { height: 10px; background: #efe3d6; }
.v2-ai-site .hero { display: grid; justify-items: center; gap: 4px; padding: 10px 6px; background: linear-gradient(135deg, #7c4a1e, #b07a4a); }
.v2-ai-site .hero b { width: 70%; height: 7px; border-radius: 4px; background: #fff; }
.v2-ai-site .hero em { width: 50%; height: 5px; border-radius: 4px; background: rgba(255,255,255,.6); }
.v2-ai-site .hero u { width: 34%; height: 9px; border-radius: 99px; background: #f6e7d4; }
.v2-ai-site .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.v2-ai-site .row s { height: 22px; border-radius: 6px; background: #efe3d6; }
.v2-ai-site { animation: v2AiPop 3.2s ease-in-out infinite; transform-origin: center; }
@keyframes v2AiPop { 0%, 30% { opacity: .35; transform: scale(.96); } 45%, 100% { opacity: 1; transform: none; } }
.v2-ai-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; padding: 12px 14px; border-radius: 18px; background: rgba(var(--tone), .1); border: 1px dashed rgba(var(--tone), .5); }
.v2-ai-cta p { margin: 0; font-size: 13.5px; line-height: 2; color: var(--text-mid); flex: 1; min-width: 200px; }
@media (max-width: 560px) { .v2-ai-demo { grid-template-columns: minmax(0, 1fr); } .v2-ai-arrow { justify-self: center; transform: rotate(-90deg); animation: none; } .v2-ai-cta .btn { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .v2-ai-arrow, .v2-ai-site { animation: none !important; } }
#section-paths[data-tone="ai"] .v2-rest small, #section-paths[data-tone="ai"] .v2-trk-tabs button.is-active { color: #fff; }
html[data-theme="light"] #section-paths[data-tone="ai"] .v2-rest small { color: #fff; }

/* =====================================================================
   v3.1 — لندینگِ گوشی: ساده، بی‌ابهام، با یه مسیرِ روشن
   - هدر فقط پیامِ اصلی (اسلایدرِ خودکار و چیپ‌های شناور روی گوشی حذف)
   - «ورود» همیشه توی نوبار، تم توی منوی کشویی
   - کارت‌های ویژگی جمع‌وجور + نوارِ چسبانِ «شروعِ رایگان»
   ===================================================================== */
.v2-sticky { display: none; }
@media (max-width: 760px) {
  .v2-hero { padding-top: 22px; padding-bottom: 6px; }
  .v2-hero-grid { gap: 28px; }
  .v2-slide:not([data-i="0"]), .v2-visual:not([data-i="0"]), .v2-controls, .v2-chip { display: none !important; }
  .v2-slide[data-i="0"], .v2-visual[data-i="0"] { opacity: 1 !important; visibility: visible !important; transform: none !important; filter: none !important; }
  .v2-h1 { font-size: clamp(1.95rem, 8.6vw, 2.35rem); margin: 14px 0 12px; }
  .v2-lead { font-size: 15px; line-height: 1.95; }
  .v2-cta { margin-top: 22px; gap: 10px; }
  .v2-proof { margin-top: 18px; }

  .v2-nav .v2-login { display: inline-flex; align-items: center; padding: 8px 15px; font-size: 13.5px; font-weight: 800; color: var(--text-hi); background: var(--bn-surface-2); border: 1px solid var(--bn-line-strong); }
  .v2-nav-actions > .bn-theme-toggle { display: none !important; }

  .v2-head { margin-bottom: 28px; }
  .v2-feat { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; padding: 18px; }
  .v2-feat > i { width: 48px; height: 48px; font-size: 21px; border-radius: 15px; grid-column: 1; grid-row: 1 / span 3; }
  .v2-feat > :not(i) { grid-column: 2; }
  .v2-features .v2-feat h3 { margin: 2px 0 4px; font-size: 16px; }
  .v2-features .v2-feat p { font-size: 13.5px; line-height: 1.9; }
  .v2-feat-more { margin-top: 8px; }

  .v2-sticky {
    display: flex; position: fixed; z-index: 90; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    align-items: center; gap: 12px; padding: 10px 10px 10px 14px; border-radius: 22px;
    background: var(--bn-glass); -webkit-backdrop-filter: var(--bn-blur); backdrop-filter: var(--bn-blur);
    border: 1px solid var(--bn-glass-line); box-shadow: var(--bn-shadow-lift);
    transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform .45s var(--v2-spring), opacity .3s;
  }
  .v2-sticky.is-on { transform: none; opacity: 1; pointer-events: auto; }
  .v2-sticky > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.55; }
  .v2-sticky b { font-size: 14px; }
  .v2-sticky small { font-size: 11.5px; color: var(--text-mid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .v2-sticky .btn { flex-shrink: 0; padding: 12px 18px; font-size: 14.5px; }
  body:has(.v2-sticky.is-on) .recovery-pill { bottom: calc(88px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .v2-sticky { transition: opacity .2s linear; } }

/* مسیرِ پنجم: «اولین درآمدت از کدنویسی» (به‌زودی — فقط سرفصل) — v3.7 */
#section-paths[data-tone="money"] { --tone: 52, 211, 153; }
.v2-trk-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); width: min(100%, 780px); }
.v2-trk-tabs button[data-t="money"] em.soon { background: linear-gradient(135deg, #10b981, #f59e0b); }
.v2-mc-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; counter-reset: none; }
.v2-mc-steps li { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border-radius: 18px; background: var(--bn-surface-2); border: 1px solid rgba(var(--tone), .3); min-width: 0; }
.v2-mc-steps i { font-style: normal; font-size: 24px; line-height: 1.2; flex-shrink: 0; }
.v2-mc-steps span { display: flex; flex-direction: column; min-width: 0; }
.v2-mc-steps small { font-size: 11px; font-weight: 800; color: rgb(var(--tone)); }
.v2-mc-steps b { font-size: 14px; font-weight: 900; line-height: 1.7; }
.v2-mc-steps em { font-style: normal; font-size: 12px; color: var(--text-low); line-height: 1.8; }
html[data-theme="light"] .v2-mc-steps small { color: #047857; }
@media (max-width: 560px) { .v2-mc-steps { grid-template-columns: minmax(0, 1fr); } .v2-mc-cta .btn { width: 100%; } }
