/* ==========================================================================
   مسیرچین — استایل اصلی سایت
   فونت: وزیرمتن با ارقام فارسی (OFL) — روی خود سایت، بدون CDN خارجی
   ساختار: ۱. فونت و متغیرها  ۲. پایه  ۳. سربرگ  ۴. دکمه‌ها  ۵. Hero  ۶. بخش‌ها
           ۷. فرم  ۸. صفحه‌های داخلی  ۹. نوار و فوتر  ۱۰. حرکت  ۱۱. واکنش‌گرا
   ========================================================================== */

/* ---------- ۱. فونت و متغیرها ---------- */

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

:root {
  /* متن */
  --ink: #0f1f1b;
  --ink-2: #3a4744;
  --muted: #66726e;
  /* سطح‌ها */
  --paper: #faf7f0;
  --sand: #f3eee3;
  --card: #ffffff;
  --line: #e7e0d2;
  --line-2: #f0ebe0;
  /* جنگلی (زمینه‌های تیره) */
  --forest: #0b2a24;
  --forest-2: #0f3a31;
  --forest-3: #154a3e;
  --forest-ink: #061a16;
  /* برند */
  --brand: #0e7c66;
  --brand-600: #0b6a57;
  --brand-700: #095646;
  --brand-50: #e9f5f0;
  --brand-100: #cfe9de;
  --mint: #3cc29b;
  --mint-soft: #a3e5cf;
  /* تأکید زعفرانی */
  --accent: #f5a524;
  --accent-600: #e3900c;
  --accent-700: #985a05;
  --accent-50: #fff5e3;
  --accent-100: #fde4b6;
  --on-accent: #241703;
  /* وضعیت */
  --danger: #b42318;
  --danger-50: #fef3f2;
  --ok: #067647;
  --ok-50: #ecfdf3;

  --radius-xl: 32px;
  --radius-lg: 26px;
  --radius: 20px;
  --radius-sm: 14px;
  --shadow-xs: 0 1px 2px rgba(15, 31, 27, 0.05);
  --shadow: 0 1px 2px rgba(15, 31, 27, 0.04), 0 12px 32px -8px rgba(15, 31, 27, 0.1);
  --shadow-lg: 0 2px 6px rgba(15, 31, 27, 0.05), 0 28px 60px -12px rgba(15, 31, 27, 0.18);
  --shadow-xl: 0 4px 10px rgba(6, 26, 22, 0.12), 0 40px 90px -20px rgba(6, 26, 22, 0.45);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1180px;
  --header-h: 76px;
}

/* ---------- ۲. پایه ---------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
  interpolate-size: allow-keywords;
}

body {
  margin: 0;
  font-family: "Vazirmatn FD", Tahoma, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink);
  background: var(--paper);
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--brand-700);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--brand);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.4;
  font-weight: 800;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

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

::selection {
  background: var(--accent-100);
  color: var(--ink);
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -60px;
  background: var(--ink);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.nowrap {
  white-space: nowrap;
}

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

/* ---------- ۳. سربرگ ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, 0.86);
  backdrop-filter: saturate(1.5) blur(14px);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 30px -14px rgba(15, 31, 27, 0.25);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
}
.brand:hover {
  color: var(--ink);
}
.brand-mark {
  width: 40px;
  height: 40px;
  flex: none;
  filter: drop-shadow(0 6px 12px rgba(14, 124, 102, 0.28));
}
.brand-name {
  font-weight: 800;
  font-size: 1.38rem;
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  position: relative;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 8px 13px;
  border-radius: 12px;
  transition: color 0.2s ease, background 0.2s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--brand-700);
  background: var(--brand-50);
}
.main-nav .main-nav-cta {
  display: none;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 14px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  position: relative;
  transition: transform 0.25s var(--ease), background 0.3s ease;
}
.nav-toggle span::before {
  position: absolute;
  top: -6px;
}
.nav-toggle span::after {
  position: absolute;
  top: 6px;
}
.nav-open .nav-toggle span {
  background: transparent;
}
.nav-open .nav-toggle span::before {
  transform: translateY(6px) rotate(45deg);
}
.nav-open .nav-toggle span::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* روی زمینهٔ تیرهٔ بالای صفحه (body.has-dark-top)، سربرگ شفاف است؛ فقط وقتی جاوااسکریپت روشن است */
.js .has-dark-top .site-header:not(.is-scrolled) {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.js .has-dark-top .site-header:not(.is-scrolled) .brand-name {
  color: #fff;
}
.js .has-dark-top .site-header:not(.is-scrolled) .main-nav a {
  color: rgba(255, 255, 255, 0.8);
}
.js .has-dark-top .site-header:not(.is-scrolled) .main-nav a:hover,
.js .has-dark-top .site-header:not(.is-scrolled) .main-nav a[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.js .has-dark-top .site-header:not(.is-scrolled) .header-cta .btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 10px 26px -8px rgba(245, 165, 36, 0.55);
}
.js .has-dark-top .site-header:not(.is-scrolled) .nav-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}
.js .has-dark-top .site-header:not(.is-scrolled) .nav-toggle span,
.js .has-dark-top .site-header:not(.is-scrolled) .nav-toggle span::before,
.js .has-dark-top .site-header:not(.is-scrolled) .nav-toggle span::after {
  background: #fff;
}
.js .nav-open.has-dark-top .site-header:not(.is-scrolled) .nav-toggle span {
  background: transparent;
}

/* ---------- ۴. دکمه‌ها و برچسب‌ها ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  padding: 15px 24px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease,
    border-color 0.2s ease;
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.25s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:hover svg {
  transform: translateX(-4px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: linear-gradient(180deg, #129074, var(--brand));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(14, 124, 102, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  color: #fff;
  background: linear-gradient(180deg, var(--brand), var(--brand-600));
  box-shadow: 0 14px 30px -8px rgba(14, 124, 102, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-accent {
  background: linear-gradient(180deg, #ffb53d, var(--accent));
  color: var(--on-accent);
  box-shadow: 0 12px 28px -10px rgba(245, 165, 36, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-accent:hover {
  color: var(--on-accent);
  background: linear-gradient(180deg, #ffc35e, #f7ae35);
  box-shadow: 0 16px 34px -10px rgba(245, 165, 36, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-glass:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
}
.btn-light {
  background: #fff;
  color: var(--forest);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.35);
}
.btn-light:hover {
  color: var(--brand-700);
}
.btn-outline,
.btn-ghost {
  background: var(--card);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover,
.btn-ghost:hover {
  color: var(--brand-700);
  border-color: var(--brand-100);
  background: var(--brand-50);
}
.btn-lg {
  padding: 18px 30px;
  font-size: 1.06rem;
  border-radius: 18px;
}
.btn-sm {
  padding: 11px 18px;
  font-size: 0.95rem;
  border-radius: 13px;
}
.btn-sm svg {
  width: 16px;
  height: 16px;
}
.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
}
.pill--glass {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pill .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.pill .dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0;
  animation: ping 2.2s var(--ease) infinite;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}
.eyebrow--light {
  color: var(--mint-soft);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
}
.eyebrow--light::before {
  background: var(--accent);
}

/* ---------- ۵. Hero ---------- */

.hero,
.page-hero,
.register {
  position: relative;
  color: #fff;
  background: radial-gradient(1100px 620px at 88% -8%, var(--forest-3) 0%, rgba(21, 74, 62, 0) 62%),
    linear-gradient(180deg, var(--forest) 0%, #0c2f28 100%);
}
.hero {
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 56px) 0 0;
}

.hero-bg,
.page-hero-bg,
.register-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.07);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}
.hero-glow--a {
  width: 520px;
  height: 520px;
  inset: -160px auto auto -120px;
  background: rgba(22, 165, 131, 0.38);
}
.hero-glow--b {
  width: 420px;
  height: 420px;
  inset: auto -120px -140px auto;
  background: rgba(245, 165, 36, 0.16);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: 48px;
  padding-bottom: 48px;
}

.hero-title {
  color: #fff;
  font-size: clamp(2.35rem, 5.3vw, 4.05rem);
  line-height: 1.3;
  letter-spacing: -0.8px;
  margin: 24px 0 22px;
}
.hero-title-accent {
  display: block;
  color: var(--accent);
}
.swash {
  position: relative;
  display: inline-block;
}
.swash svg {
  position: absolute;
  inset-inline: -4px;
  bottom: -2px;
  width: calc(100% + 8px);
  height: 14px;
  overflow: visible;
}
.swash path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 130;
  stroke-dashoffset: 130;
  opacity: 0.75;
  animation: draw-dash 1.1s 0.6s var(--ease) forwards;
}

.hero-lead {
  font-size: 1.13rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 590px;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 28px;
}

.hero-facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  font-weight: 500;
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-facts svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--mint);
}

/* کارت نقشهٔ راه */

.hero-visual {
  position: relative;
}
.journey-card {
  position: relative;
  max-width: 500px;
  margin-inline: auto;
  padding: 18px 18px 8px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-xl), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.journey-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.journey-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.95rem;
}
.journey-title svg {
  width: 26px;
  height: 26px;
}
.journey-weeks {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--mint-soft);
  background: rgba(60, 194, 155, 0.12);
  border: 1px solid rgba(60, 194, 155, 0.25);
  border-radius: 999px;
  padding: 2px 11px;
}

.journey {
  position: relative;
  width: 100%;
  aspect-ratio: 520 / 560;
}
.journey > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.journey .track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 26;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.journey .route {
  fill: none;
  stroke: url(#route-grad);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 2.6s 0.3s var(--ease) forwards;
}
.journey .stone {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 0.5s var(--d, 0s) var(--ease) forwards;
}
.journey .stone circle {
  fill: var(--forest-2);
  stroke: var(--mint);
  stroke-width: 3;
}
.journey .stone text {
  font-family: "Vazirmatn FD", Tahoma, sans-serif;
  font-size: 16px;
  font-weight: 800;
  fill: #fff;
  text-anchor: middle;
  dominant-baseline: central;
}
.journey .goal {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 0.6s 2.7s var(--ease) forwards;
}
.journey .start-dot {
  fill: #fff;
}
.journey .start-ring {
  fill: none;
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.6s ease-out infinite;
}

.chip {
  position: absolute;
  z-index: 2;
  left: var(--x);
  top: var(--y);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.45);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  opacity: 0;
  animation: rise 0.55s var(--d, 0s) var(--ease) forwards, float 6s calc(var(--d, 0s) + 0.6s) ease-in-out infinite;
}
.chip b {
  color: var(--ink);
  font-weight: 800;
}
.chip .tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-700);
  background: var(--brand-50);
  border-radius: 8px;
  padding: 2px 8px;
}
.chip--start .tag {
  background: var(--accent-50);
  color: var(--accent-700);
}
.chip--goal {
  background: linear-gradient(180deg, #ffb53d, var(--accent));
  color: var(--on-accent);
}
.chip--goal b {
  color: var(--on-accent);
}
.chip--goal .tag {
  background: rgba(36, 23, 3, 0.12);
  color: var(--on-accent);
}

/* نوار مشخصات محصول (حقایق محصول، نه آمار) */

.spec-strip {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0 0 -58px;
  padding: 22px 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.spec-strip li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 14px;
  line-height: 1.5;
}
.spec-strip li + li {
  border-inline-start: 1px solid var(--line-2);
}
.spec-strip b {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.5px;
}
.spec-strip span {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

/* ---------- ۶. بخش‌ها ---------- */

.section {
  position: relative;
  padding: 104px 0;
}
.section--sand {
  background: var(--sand);
  border-block: 1px solid var(--line-2);
}
.section-tight {
  padding: 64px 0 0;
}
#problem {
  padding-top: 164px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head--start {
  margin-inline: 0;
  text-align: start;
}
.section-title {
  font-size: clamp(1.8rem, 3.6vw, 2.65rem);
  letter-spacing: -0.5px;
  line-height: 1.35;
}
.section-title .hl {
  background: linear-gradient(transparent 62%, rgba(245, 165, 36, 0.38) 62%);
  border-radius: 4px;
  padding: 0 4px;
}
.section-lead {
  color: var(--ink-2);
  font-size: 1.08rem;
  margin: 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-xs);
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.card p {
  color: var(--ink-2);
  margin: 0;
}

.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--brand-50), #fff);
  border: 1px solid var(--brand-100);
  color: var(--brand-700);
  margin-bottom: 20px;
}
.icon-badge svg {
  width: 26px;
  height: 26px;
}
.icon-badge--warm {
  background: linear-gradient(160deg, var(--accent-50), #fff);
  border-color: var(--accent-100);
  color: var(--accent-700);
}

/* مشکل */

.pain-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.pain-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-100);
}
.pain-card .num {
  position: absolute;
  inset-inline-end: 24px;
  top: 16px;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
}

.answer-banner {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 30px 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--forest) 0%, var(--forest-3) 60%, var(--brand) 140%);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.answer-path {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 55%;
  height: 100%;
  opacity: 0.35;
}
.answer-path path {
  fill: none;
  stroke: var(--mint);
  stroke-width: 2;
  stroke-dasharray: 2 8;
}
.answer-path circle {
  fill: var(--accent);
}
.answer-banner p {
  position: relative;
  margin: 0;
  font-size: 1.14rem;
  font-weight: 500;
  max-width: 760px;
}
.answer-banner b {
  color: #ffd58a;
}
.answer-banner .btn {
  position: relative;
}

/* چطور کار می‌کند */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px 14px 28px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.step > h3,
.step > p,
.step > .meta {
  margin-inline: 16px;
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.step p {
  color: var(--ink-2);
  margin-bottom: 0;
}
.step-visual {
  height: 172px;
  border-radius: 18px;
  background: radial-gradient(260px 140px at 20% 0%, rgba(60, 194, 155, 0.18), transparent 70%),
    linear-gradient(160deg, #f6f2e8, #efe8da);
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  padding: 18px;
  overflow: hidden;
}
.step-num {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  margin: -26px 16px 12px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--forest);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  border: 4px solid var(--card);
  box-shadow: var(--shadow);
}
.step .meta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-700);
  background: var(--accent-50);
  border: 1px solid var(--accent-100);
  border-radius: 999px;
  padding: 3px 12px;
}
.step .meta svg {
  width: 16px;
  height: 16px;
}

/* تصویرسازی‌های کوچک داخل قدم‌ها (فقط تزئینی) */

.mini-quiz,
.mini-map,
.mini-chat {
  width: 100%;
  max-width: 270px;
  font-size: 0.8rem;
  line-height: 1.6;
}
.mini-quiz,
.mini-map {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.mini-quiz-progress {
  display: block;
  height: 5px;
  border-radius: 99px;
  background: var(--line-2);
  overflow: hidden;
  margin-bottom: 10px;
}
.mini-quiz-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--mint));
}
.mini-quiz-q {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}
.mini-quiz-scale {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.mini-quiz-scale i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--paper);
}
.mini-quiz-scale i.is-on {
  border-color: var(--brand);
  background: radial-gradient(circle, var(--brand) 0 42%, #fff 46%);
  box-shadow: 0 0 0 4px var(--brand-50);
}
.mini-quiz-labels {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.7rem;
  margin-top: 6px;
}
.mini-map-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.mini-map-row b {
  font-weight: 700;
  color: var(--ink-2);
  font-size: 0.74rem;
  white-space: nowrap;
}
.mini-map-row i {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--brand), var(--mint));
}
.mini-map-chips {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.mini-map-chips span {
  font-size: 0.7rem;
  font-weight: 500;
  border: 1px solid var(--brand-100);
  background: var(--brand-50);
  color: var(--brand-700);
  border-radius: 99px;
  padding: 0 8px;
}
.mini-chat {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.mini-chat-bubble {
  align-self: flex-start;
  max-width: 88%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 4px;
  padding: 6px 11px;
  color: var(--ink-2);
  box-shadow: var(--shadow-xs);
}
.mini-chat-bubble--me {
  align-self: flex-end;
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  border-radius: 14px 14px 4px 14px;
}

/* نمونهٔ گزارش */

#sample {
  overflow-x: clip;
}
.sample-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-2);
}
.check-list svg {
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 4px;
  color: var(--brand);
}
.check-list b {
  color: var(--ink);
}

.report-wrap {
  position: relative;
  padding: 10px;
}
.report-wrap::before,
.report-wrap::after {
  content: "";
  position: absolute;
  border-radius: 28px;
  z-index: 0;
}
.report-wrap::before {
  inset: 30px -6px -14px 26px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  transform: rotate(3deg);
}
.report-wrap::after {
  width: 160px;
  height: 160px;
  inset: -10px auto auto -24px;
  background: radial-gradient(circle, rgba(245, 165, 36, 0.28), transparent 70%);
  filter: blur(4px);
}
.report {
  position: relative;
  z-index: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transform: rotate(-1deg);
  transition: transform 0.5s var(--ease);
}
.report:hover {
  transform: rotate(0deg) translateY(-4px);
}
.report-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  background: linear-gradient(120deg, var(--forest), var(--forest-3));
  color: #fff;
}
.report-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 1rem;
}
.report-brand svg {
  width: 28px;
  height: 28px;
}
.sample-badge {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 999px;
  padding: 3px 12px;
}
.report-body {
  padding: 20px 24px 18px;
}
.report-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  align-items: center;
  gap: 14px;
  margin-bottom: 4px;
}
.report-persona {
  font-size: 0.95rem;
  color: var(--ink-2);
  margin-bottom: 12px;
}
.report-persona b {
  color: var(--ink);
}
.codes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
}
.code--soft {
  background: var(--brand-50);
  color: var(--brand-700);
}
.code .ltr {
  font-weight: 800;
}
.riasec {
  width: 128px;
  height: 128px;
}
.riasec-ring {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}
.riasec-axis {
  stroke: var(--line-2);
  stroke-width: 1;
}
.riasec-shape {
  fill: rgba(14, 124, 102, 0.16);
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linejoin: round;
}
.riasec-label text {
  font-family: ui-sans-serif, system-ui, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  fill: var(--muted);
  text-anchor: middle;
  dominant-baseline: central;
}
.riasec-label text.on {
  fill: var(--brand-700);
  font-weight: 800;
}
.report h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 700;
  margin: 14px 0 10px;
}
.report h4::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line-2);
}
.fit-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 14px;
  font-size: 0.93rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.fit-bar {
  height: 8px;
  background: var(--line-2);
  border-radius: 999px;
  overflow: hidden;
}
.fit-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--mint));
  border-radius: 999px;
  transform-origin: right center;
  transition: transform 1.1s 0.3s var(--ease);
}
.js .report-wrap:not(.is-in) .fit-bar span {
  transform: scaleX(0);
}
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.skills span {
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 11px;
  color: var(--ink-2);
  background: var(--paper);
}
.weeks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.weeks li {
  position: relative;
  border-radius: 12px;
  background: var(--paper);
  border: 1px solid var(--line-2);
  padding: 9px 10px 8px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink-2);
  overflow: hidden;
}
.weeks li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--brand);
  opacity: 0.25;
}
.weeks li:first-child::before {
  opacity: 1;
  background: var(--accent);
}
.weeks b {
  display: block;
  color: var(--brand-700);
  font-size: 0.78rem;
}
.report-foot {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* بسته‌ها */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px 30px 30px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.plan:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.plan--featured {
  color: #fff;
  border: 0;
  background: radial-gradient(420px 240px at 100% 0%, rgba(60, 194, 155, 0.28), transparent 70%),
    linear-gradient(170deg, var(--forest-3), var(--forest));
  box-shadow: var(--shadow-xl);
}
.plan.plan--featured h3,
.plan.plan--featured .price strong {
  color: #fff;
}
.plan.plan--featured .plan-for,
.plan.plan--featured .price span {
  color: rgba(255, 255, 255, 0.68);
}
.plan.plan--featured li {
  color: rgba(255, 255, 255, 0.86);
}
.plan.plan--featured li svg {
  color: var(--mint);
  background: rgba(60, 194, 155, 0.14);
}
.plan-badge {
  position: absolute;
  top: -14px;
  inset-inline-start: 26px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.84rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 14px;
  box-shadow: 0 10px 22px -8px rgba(245, 165, 36, 0.7);
}
.plan h3 {
  font-size: 1.4rem;
  margin-bottom: 2px;
}
.plan .plan-for {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.price strong {
  font-size: 2.7rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
}
.price span {
  color: var(--muted);
  font-weight: 500;
}
.intro-price {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--accent-700);
  background: var(--accent-50);
  border: 1px solid var(--accent-100);
  border-radius: 10px;
  padding: 3px 10px;
}
.plan ul {
  list-style: none;
  padding: 18px 0 0;
  margin: 18px 0 26px;
  border-top: 1px dashed var(--line);
  display: grid;
  align-content: start;
  gap: 12px;
  flex: 1;
}
.plan.plan--featured ul {
  border-top-color: rgba(255, 255, 255, 0.14);
}
.plan li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--ink-2);
  font-size: 0.97rem;
}
.plan li svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  flex: none;
  margin-top: 4px;
  color: var(--brand);
  background: var(--brand-50);
  border-radius: 50%;
}
.plan .btn {
  width: 100%;
}
.plans-note {
  margin: 30px auto 0;
  max-width: 760px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink-2);
  font-size: 0.97rem;
}
.plans-note svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--brand);
}

/* چه چیزی نیست */

.honest {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.honest-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fff, var(--paper));
  border: 1px solid var(--line);
}
.honest-x {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--danger-50);
  color: var(--danger);
  border: 1px solid #fcd9d6;
  margin-bottom: 16px;
}
.honest-x svg {
  width: 22px;
  height: 22px;
}
.honest-card h3 {
  font-size: 1.12rem;
}
.honest-card p {
  color: var(--ink-2);
  margin: 0;
}

/* سؤال‌های رایج */

.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.faq-aside {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}
.faq-aside .section-lead {
  margin-bottom: 22px;
}
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2px 22px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq details:hover {
  border-color: var(--brand-100);
}
.faq details[open] {
  border-color: var(--brand-100);
  box-shadow: var(--shadow);
}
.faq details::details-content {
  height: 0;
  overflow: clip;
  transition: height 0.35s var(--ease), content-visibility 0.35s allow-discrete;
}
.faq details[open]::details-content {
  height: auto;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.04rem;
  padding: 17px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 10px;
  background: var(--brand-50)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23095646' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E")
    center / 14px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s ease;
}
.faq details[open] summary::after {
  transform: rotate(135deg);
  background-color: var(--accent-50);
}
.faq details p {
  color: var(--ink-2);
  margin: 0 0 20px;
}

/* ---------- ۷. پیش‌ثبت‌نام و فرم ---------- */

.register {
  overflow: hidden;
}
.register-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}
.register .section-title {
  color: #fff;
  margin-bottom: 14px;
}
.register .section-lead {
  color: rgba(255, 255, 255, 0.75);
}
.perks {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 18px;
}
.perks li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.74);
}
.perks b {
  display: block;
  color: #fff;
}
.perk-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  flex: none;
  background: rgba(60, 194, 155, 0.12);
  border: 1px solid rgba(60, 194, 155, 0.28);
  color: var(--mint-soft);
}
.perk-icon--warm {
  background: rgba(245, 165, 36, 0.12);
  border-color: rgba(245, 165, 36, 0.3);
  color: #ffd58a;
}
.perk-icon svg {
  width: 22px;
  height: 22px;
}

.form-card {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius-xl);
  padding: 34px;
  box-shadow: var(--shadow-xl);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field--full {
  grid-column: 1 / -1;
}
.field label,
.field .label {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--ink);
}
.field .opt {
  font-weight: 500;
  color: var(--muted);
  font-size: 0.84rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 15px;
  min-height: 52px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field input:hover,
.field select:hover {
  border-color: #d8cfbd;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2366726e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 18px;
  padding-left: 42px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background-color: #fff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(14, 124, 102, 0.14);
}
.field input[type="tel"],
.field input[type="email"] {
  direction: ltr;
  text-align: right;
}
.field input[type="email"] {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.field input::placeholder {
  color: #a0a8a5;
}
.field.has-error input,
.field.has-error select {
  border-color: var(--danger);
  background-color: var(--danger-50);
}
.field-error {
  color: var(--danger);
  font-size: 0.86rem;
  font-weight: 500;
}
.field-error:empty {
  display: none;
}

.field .consent {
  font-weight: 500;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.8;
  cursor: pointer;
}
.consent input {
  width: 20px;
  height: 20px;
  min-height: 0;
  margin-top: 4px;
  accent-color: var(--brand);
  flex: none;
}

/* تلهٔ ربات: برای انسان دیده نمی‌شود؛ با clip پنهان شده تا در راست‌به‌چپ اسکرول افقی نسازد */
.hp-field {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.form-actions .btn {
  min-width: 230px;
}
.form-note {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
}

.form-status {
  margin-top: 14px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}
.form-status:empty {
  display: none;
}
.form-status.is-error {
  padding: 12px 14px;
  background: var(--danger-50);
  color: var(--danger);
  border: 1px solid #fecdca;
}

.form-success {
  display: none;
  text-align: center;
  padding: 22px 6px 10px;
}
.form-success.is-visible {
  display: block;
  animation: rise 0.5s var(--ease);
}
.form-success .ok-mark {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: var(--ok-50);
  color: var(--ok);
  box-shadow: 0 0 0 8px rgba(6, 118, 71, 0.06);
}
.form-success .ok-mark svg {
  width: 38px;
  height: 38px;
}
.form-success h1,
.form-success h3 {
  font-size: 1.5rem;
}
.form-success p {
  color: var(--ink-2);
  max-width: 460px;
  margin-inline: auto;
}

.spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  display: none;
}
.is-loading .spinner {
  display: inline-block;
}

/* ---------- ۸. صفحه‌های داخلی ---------- */

.page-hero {
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + 60px) 0 128px;
  text-align: center;
  overflow: hidden;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3rem);
  letter-spacing: -0.6px;
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.1rem;
  max-width: 680px;
  margin-inline: auto;
}
.page-hero--full {
  min-height: 78vh;
  display: flex;
  align-items: center;
  padding-bottom: 96px;
}
.page-hero--full .container {
  width: 100%;
}
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 18px;
}
.breadcrumb a {
  color: var(--mint-soft);
}
.breadcrumb a:hover {
  color: #fff;
}

.page-body {
  position: relative;
  z-index: 2;
  margin-top: -76px;
  padding-bottom: 104px;
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 40px;
  align-items: center;
  padding: 44px;
  box-shadow: var(--shadow-lg);
}
.about-intro h2 {
  font-size: 1.4rem;
}
.about-intro p {
  margin-bottom: 1.2em;
}
.about-intro p:last-child {
  margin-bottom: 0;
}
.about-art {
  width: 100%;
  max-width: 320px;
  justify-self: center;
}

.values {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.value-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}
.value-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.value-card h3 {
  font-size: 1.1rem;
}
.value-card p {
  color: var(--ink-2);
  margin: 0;
  font-size: 0.97rem;
}

.info-card {
  margin-top: 40px;
  padding: 36px 40px;
}
.info-card h2 {
  font-size: 1.3rem;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 0;
}
.info-table th,
.info-table td {
  text-align: start;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: top;
}
.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: 0;
}
.info-table th {
  width: 30%;
  color: var(--ink);
  font-weight: 700;
  background: var(--paper);
}
.info-table td {
  color: var(--ink-2);
}
.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  margin-inline-end: 8px;
  box-shadow: 0 0 0 4px var(--accent-50);
}

.cta-band {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 36px 40px;
  border-radius: var(--radius-xl);
  color: #fff;
  background: radial-gradient(400px 200px at 0% 100%, rgba(245, 165, 36, 0.22), transparent 70%),
    linear-gradient(120deg, var(--forest), var(--forest-3));
  box-shadow: var(--shadow-xl);
}
.cta-band h2 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin-inline: auto;
}
.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: var(--shadow-lg);
  transition: transform 0.35s var(--ease);
}
.contact-card:hover {
  transform: translateY(-4px);
}
.contact-card .icon-badge {
  margin: 0;
  flex: none;
}
.contact-card h2 {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 2px;
}
.contact-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.contact-card .contact-value {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
}
.contact-card .contact-value a {
  color: var(--brand-700);
}
.note-box {
  max-width: 1000px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink-2);
}
.note-box svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--brand);
}

.legal {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px 18px;
  box-shadow: var(--shadow-lg);
}
.legal-toc b {
  display: block;
  font-size: 0.95rem;
  margin: 0 8px 8px;
}
.legal-toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.legal-toc a {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-2);
  padding: 6px 10px;
  border-radius: 10px;
  line-height: 1.6;
}
.legal-toc a:hover,
.legal-toc a.is-active {
  background: var(--brand-50);
  color: var(--brand-700);
}

.prose {
  padding: 44px 48px;
  box-shadow: var(--shadow-lg);
}
.prose h2 {
  font-size: 1.25rem;
  margin-top: 1.9em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h2:first-of-type {
  margin-top: 0.4em;
}
.prose p,
.prose li {
  color: var(--ink-2);
}
.prose ul,
.prose ol {
  padding-inline-start: 1.3em;
  margin: 0 0 1em;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose li::marker {
  color: var(--brand);
}
.prose .updated {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 999px;
  padding: 2px 12px;
}

.thanks-box {
  max-width: 560px;
  margin: 0 auto;
}
.thanks-box .form-success {
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius-xl);
  padding: 44px 32px 30px;
  box-shadow: var(--shadow-xl);
}
.thanks-box .form-success h1 {
  color: var(--ink);
  font-size: 1.9rem;
}
.form-success.thanks-dup {
  display: none;
}
.form-success.thanks-dup:target {
  display: block;
  outline: none;
}
.thanks-dup:target + .thanks-ok {
  display: none;
}

.notfound {
  max-width: 600px;
  margin: 0 auto;
}
.notfound-art {
  width: 220px;
  margin: 0 auto 18px;
}

/* ---------- ۹. نوار «خدمت روان‌شناختی نیست» و فوتر ---------- */

.psych-note {
  background: var(--brand-50);
  border-top: 1px solid var(--brand-100);
  color: var(--ink);
  padding: 22px 0;
}
.psych-note-inner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  max-width: 940px;
}
.psych-note-icon {
  width: 26px;
  height: 26px;
  flex: none;
  margin-top: 4px;
  color: var(--brand-700);
}
.psych-note p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.95;
  color: var(--ink);
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--forest-ink);
  color: #b7c5c0;
  padding: 72px 0 30px;
}
.footer-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  inset: -380px auto auto -200px;
  border-radius: 50%;
  background: rgba(22, 165, 131, 0.16);
  filter: blur(80px);
  pointer-events: none;
}
.site-footer .container {
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.9fr;
  gap: 36px;
}
.site-footer .brand,
.site-footer .brand:hover {
  color: #fff;
}
.site-footer p {
  color: #9fb0aa;
  font-size: 0.95rem;
  margin: 16px 0 0;
  max-width: 360px;
}
.site-footer h2 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact svg {
  width: 18px;
  height: 18px;
  flex: none;
  color: var(--mint);
}
.footer-contact a {
  color: var(--mint-soft);
}
.footer-contact a:hover {
  color: #fff;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.footer-links a {
  color: #b7c5c0;
  font-size: 0.95rem;
}
.footer-links a:hover {
  color: #fff;
}
.enamad-slot {
  width: 140px;
  min-height: 140px;
  border-radius: 18px;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 8px;
}
.enamad-slot:empty::before {
  content: "جای نماد اعتماد";
  color: #9ca3af;
  font-size: 0.8rem;
  text-align: center;
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #8a9d97;
}

/* ---------- ۱۰. حرکت ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes draw-dash {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes pop {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  70% {
    opacity: 1;
    transform: scale(1.08);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes rise {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes float {
  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-6px);
  }
}
@keyframes pulse {
  0% {
    transform: scale(0.7);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}
@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- ۱۱. واکنش‌گرا ---------- */

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .spec-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 14px;
  }
  .spec-strip li:nth-child(4) {
    border-inline-start: 0;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .sample-wrap,
  .register-grid,
  .faq-wrap,
  .about-intro,
  .legal {
    grid-template-columns: 1fr;
  }
  .hero {
    padding-top: calc(var(--header-h) + 36px);
  }
  .hero-grid {
    gap: 36px;
  }
  .journey-card {
    max-width: 440px;
  }
  .grid-3,
  .steps,
  .plans,
  .honest {
    grid-template-columns: 1fr;
  }
  .plans,
  .steps {
    max-width: 540px;
    margin-inline: auto;
  }
  .plan--featured {
    order: -1;
  }
  .report {
    transform: none;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .faq-aside {
    position: static;
  }
  .legal-toc {
    display: none;
  }
  .about-art {
    max-width: 240px;
  }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 20px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
  }
  .main-nav a,
  .js .has-dark-top .site-header:not(.is-scrolled) .main-nav a {
    padding: 13px 14px;
    font-size: 1.04rem;
    color: var(--ink-2);
  }
  .js .has-dark-top .site-header:not(.is-scrolled) .main-nav a:hover,
  .js .has-dark-top .site-header:not(.is-scrolled) .main-nav a[aria-current="page"] {
    color: var(--brand-700);
    background: var(--brand-50);
  }
  .main-nav .main-nav-cta,
  .js .has-dark-top .site-header:not(.is-scrolled) .main-nav .main-nav-cta {
    display: inline-flex;
    margin-top: 10px;
    color: #fff;
  }
  .nav-open .main-nav {
    transform: none;
    opacity: 1;
    visibility: visible;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-cta .btn {
    display: none;
  }
  .js .nav-open.has-dark-top .site-header:not(.is-scrolled) {
    background: var(--paper);
  }
  .js .nav-open.has-dark-top .site-header:not(.is-scrolled) .brand-name {
    color: var(--ink);
  }
  .js .nav-open.has-dark-top .site-header:not(.is-scrolled) .nav-toggle {
    background: var(--card);
    border-color: var(--line);
  }
  .js .nav-open.has-dark-top .site-header:not(.is-scrolled) .nav-toggle span::before,
  .js .nav-open.has-dark-top .site-header:not(.is-scrolled) .nav-toggle span::after {
    background: var(--ink);
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 68px;
  }
  body {
    font-size: 16px;
  }
  .section {
    padding: 76px 0;
  }
  #problem {
    padding-top: 120px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .brand-name {
    font-size: 1.25rem;
  }
  .hero-title {
    letter-spacing: -0.4px;
  }
  .hero-actions .btn,
  .form-actions .btn {
    width: 100%;
  }
  .spec-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px 6px;
  }
  .spec-strip li {
    padding: 6px 8px;
  }
  .spec-strip li:nth-child(odd) {
    border-inline-start: 0;
  }
  .spec-strip li:nth-child(4) {
    border-inline-start: 1px solid var(--line-2);
  }
  .spec-strip li:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line-2);
    padding-top: 12px;
  }
  .spec-strip b {
    font-size: 1.55rem;
  }
  .journey-card {
    padding: 14px 12px 4px;
    border-radius: 26px;
  }
  .chip {
    font-size: 0.74rem;
    padding: 6px 9px;
    gap: 6px;
  }
  .chip .tag {
    font-size: 0.66rem;
    padding: 1px 6px;
  }
  .chip--hide-sm {
    display: none;
  }
  .chip--goal {
    --x: 14% !important;
  }
  .card,
  .honest-card,
  .value-card {
    padding: 24px 22px;
  }
  .answer-banner {
    padding: 24px 22px;
  }
  .form-card {
    padding: 24px 18px;
    border-radius: 26px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .report-body {
    padding: 18px 16px 16px;
  }
  .report-top {
    grid-template-columns: minmax(0, 1fr) 96px;
  }
  .riasec {
    width: 96px;
    height: 96px;
  }
  .weeks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fit-row {
    grid-template-columns: 1fr 90px;
  }
  .plan {
    padding: 30px 22px 24px;
  }
  .page-hero {
    padding-bottom: 112px;
  }
  .about-intro,
  .prose,
  .info-card {
    padding: 28px 20px;
  }
  .info-table th {
    width: 38%;
  }
  .cta-band {
    padding: 28px 22px;
  }
  .cta-band .btn {
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }
  .journey .route,
  .swash path {
    stroke-dashoffset: 0;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
