  :root {
    --primary: #2F7D5C;
    --primary-light: #4FA67E;
    --primary-dark: #245F46;
    --primary-soft: #E8F3ED;
    --primary-rgb: 47, 125, 92;
    --secondary: #8e33ff;
    --info: #00b8d9;
    --warning: #ffab00;
    --text: #1c252e;
    --text-soft: #637381;
    --bg: #FAFCFA;
    --bg-neutral: #F2F7F4;
    --card-bg: #ffffff;
    --line: rgba(145, 158, 171, 0.2);
    --card-shadow: 0 12px 32px -8px rgba(145, 158, 171, 0.22);
    --card-shadow-lg: 0 28px 60px -14px rgba(15, 30, 25, 0.28);
    --radius-card: 18px;
    --radius-btn: 10px;
    --maxw: 1180px;
        --fab-edge: 18px;
        --fab-stack: 0px;
        --fab-gap: 12px;
        --fab-bmc-h: 60px;
    --telegram: #26A5E4;
    --telegram-dark: #1A8FC7;
    --telegram-soft: rgba(38, 165, 228, 0.14);
    --font-display: "Barlow", "Vazirmatn", system-ui, sans-serif;
    --font-body: "Public Sans", "Vazirmatn", system-ui, sans-serif;
  }
  /* Persian typography — scoped to content, not chrome (nav/header bar) */
  html[lang="fa"] main,
  html[lang="fa"] .footer,
  html[lang="fa"] .skip-link {
    --font-display: "Vazirmatn", "Tahoma", "Arial", sans-serif;
    --font-body: "Vazirmatn", "Tahoma", "Arial", sans-serif;
    line-height: 1.75;
    text-wrap: pretty;
    font-variant-numeric: normal;
  }
  html[lang="fa"] main .kicker,
  html[lang="fa"] .footer .kicker {
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.82rem;
    font-weight: 800;
  }
  html[lang="fa"] .hero-copy p.lead,
  html[lang="fa"] .section-head p,
  html[lang="fa"] .step p,
  html[lang="fa"] .feature-panel > p,
  html[lang="fa"] .faq-a,
  html[lang="fa"] .journey-panel p,
  html[lang="fa"] .module-cat > p,
  html[lang="fa"] .module-foot,
  html[lang="fa"] .problem-card p,
  html[lang="fa"] .problem-bridge,
  html[lang="fa"] .price-card > p,
  html[lang="fa"] .testimonial q {
    line-height: 1.85;
  }
  html[lang="fa"] .check-list li {
    line-height: 1.7;
  }
  html[lang="fa"] main .btn:not(.nav-cta),
  html[lang="fa"] .footer .btn {
    white-space: normal;
    text-align: center;
  }
  /* Keep header bar + hero grid LTR; Persian hero text flows RTL */
  .nav,
  .hero-grid {
    direction: ltr;
  }
  html[lang="fa"] .hero-copy {
    direction: rtl;
    text-align: right;
  }
  html[lang="fa"] .hero-copy .hero-actions,
  html[lang="fa"] .hero-copy .hero-proof-card {
    justify-content: flex-start;
  }
  html[lang="fa"] .module-cat > p { direction: rtl; text-align: right; }
  html[dir="rtl"] .skip-link {
    left: auto;
    right: 16px;
  }
  html[data-theme="dark"] {
    --text: #e9edf0;
    --text-soft: #9fb0bd;
    --bg: #0d1411;
    --bg-neutral: #131c18;
    --card-bg: #16211c;
    --primary-soft: rgba(47, 125, 92, 0.2);
    --line: rgba(145, 158, 171, 0.22);
    --card-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.5);
    --card-shadow-lg: 0 28px 60px -14px rgba(0, 0, 0, 0.62);
    --telegram: #2AABEE;
    --telegram-dark: #26A5E4;
    --telegram-soft: rgba(42, 171, 238, 0.16);
    color-scheme: dark;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.13; letter-spacing: -0.01em; margin: 0; color: var(--text); }
  h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-weight: 900; }
  h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
  h3 { font-size: 1.5rem; }
  p { margin: 0; }
  a { color: inherit; text-decoration: none; }
  img, svg { display: block; max-width: 100%; }
  main.lang-transition-target { display: flex; flex-direction: column; }
  .hero { order: 1; }
  #audience { order: 2; }
  #modules { order: 3; }
  #features { order: 4; }
  #pricing-summary { order: 5; }
  #social-proof { order: 6; }
  .trust-strip { order: 7; }
  #how { order: 8; }
  #testimonials { order: 9; }
  #pricing { order: 10; }
  #blog { order: 11; }
  #faq { order: 12; }
  #journey { order: 13; }
  .container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
  }

  /* trust badges */
  .trust-strip { padding: 0 0 8px; margin-top: -24px; position: relative; z-index: 2; }
  .trust-badges {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
  }
  .trust-badges span {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.84rem; font-weight: 600; color: var(--text-soft);
    background: var(--card-bg); border: 1px solid var(--line);
    border-radius: 999px; padding: 8px 14px; box-shadow: var(--card-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  }
  @media (hover: hover) {
    .trust-badges span:hover {
      transform: translateY(-2px);
      border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
      box-shadow: var(--card-shadow-lg);
    }
  }
  .trust-badges svg { width: 16px; height: 16px; color: var(--primary); flex: none; }

  /* problem / audience */
  .problem-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 32px;
  }
  .problem-card {
    background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius-card);
    padding: 28px 24px; box-shadow: var(--card-shadow);
    transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  }
  .problem-card:hover {
    border-color: color-mix(in srgb, var(--primary) 32%, var(--line));
    transform: translateY(-4px); box-shadow: var(--card-shadow-lg);
  }
  .problem-card-icon {
    width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--primary-soft); color: var(--primary-dark);
    transition: transform 0.24s ease, background-color 0.24s ease;
  }
  @media (hover: hover) {
    .problem-card:hover .problem-card-icon {
      transform: scale(1.08);
      background: color-mix(in srgb, var(--primary) 20%, var(--primary-soft));
    }
  }
  .problem-card-icon svg { width: 22px; height: 22px; }
  .problem-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
  .problem-card p { color: var(--text-soft); font-size: 0.98rem; line-height: 1.6; }
  .problem-bridge {
    text-align: center; max-width: 36em; margin: 0 auto;
    font-size: 1.12rem; font-weight: 700; color: var(--primary-dark);
  }
  html[lang="fa"] .problem-card p,
  html[lang="fa"] .problem-bridge { direction: rtl; }

  /* pricing — subscription + lifetime plans */
  .pricing-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--bg-neutral) 0%, var(--bg) 100%);
  }
  .pricing-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 70% 55% at 50% -5%, rgba(var(--primary-rgb), 0.12), transparent 68%),
      radial-gradient(circle at 85% 80%, rgba(38, 165, 228, 0.06), transparent 42%);
    pointer-events: none;
  }
  .pricing-section > .container { position: relative; z-index: 1; }
  .pricing-free-banner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px 24px;
    align-items: center;
    max-width: 980px;
    margin: 0 auto 28px;
    padding: 22px 24px;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--card-shadow);
  }
  .pricing-free-banner h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
  }
  .pricing-free-banner p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.55;
  }
  .pricing-free-banner .btn { white-space: nowrap; min-height: 46px; }
  .pricing-plans-head {
    max-width: 980px;
    margin: 0 auto 16px;
    text-align: center;
  }
  .pricing-plans-head h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
  }
  .pricing-plans-head p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.92rem;
    line-height: 1.55;
  }
  .pricing-plans-shell {
    max-width: 1040px;
    margin: 0 auto 26px;
    padding: 22px 18px;
    background: color-mix(in srgb, var(--card-bg) 90%, var(--primary-soft));
    border: 1px solid color-mix(in srgb, var(--primary) 14%, var(--line));
    border-radius: 24px;
    box-shadow: var(--card-shadow);
  }
  .pricing-plans-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
  }
  .pricing-plan-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 12px 14px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
    display: grid;
    grid-template-rows: 30px 38px 48px minmax(42px, auto) 28px;
    align-items: center;
    justify-items: center;
    text-align: center;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  }
  .pricing-plan-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-lg);
    border-color: color-mix(in srgb, var(--primary) 28%, var(--line));
  }
  .pricing-plan-card.is-featured {
    border-color: color-mix(in srgb, var(--primary) 42%, var(--line));
    background: linear-gradient(180deg, color-mix(in srgb, var(--primary-soft) 55%, var(--card-bg)) 0%, var(--card-bg) 100%);
    box-shadow:
      0 16px 40px -22px rgba(var(--primary-rgb), 0.35),
      0 0 0 1px color-mix(in srgb, var(--primary) 10%, transparent);
  }
  .pricing-plan-card.is-lifetime {
    border-color: color-mix(in srgb, #B8860B 35%, var(--line));
    background: linear-gradient(180deg, color-mix(in srgb, #F5E6B8 28%, var(--card-bg)) 0%, var(--card-bg) 100%);
  }
  html[data-theme="dark"] .pricing-plan-card.is-lifetime {
    background: linear-gradient(180deg, rgba(184, 134, 11, 0.12) 0%, var(--card-bg) 100%);
  }
  .plan-badge-slot {
    width: 100%;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .plan-badge {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 999px;
    padding: 4px 9px;
    line-height: 1.2;
    white-space: nowrap;
  }
  .plan-badge.is-gold {
    background: linear-gradient(135deg, #C9A227, #8B6914);
  }
  .plan-duration {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
    width: 100%;
  }
  .plan-price-row {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .plan-price {
    font-family: var(--font-display);
    font-size: 1.62rem;
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    white-space: nowrap;
  }
  .pricing-plan-card.is-featured .plan-price,
  .pricing-plan-card.is-lifetime .plan-price { color: var(--primary); }
  .plan-note {
    margin: 0;
    width: 100%;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--text-soft);
    line-height: 1.35;
    padding: 0 4px;
  }
  .plan-mode {
    margin: 0;
    width: 100%;
    padding-top: 6px;
    border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
  }
  .pricing-plan-card.is-featured .plan-mode { color: var(--primary-dark); }
  .pricing-premium-box {
    max-width: 820px;
    margin: 0 auto 22px;
    padding: 20px 22px;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--card-shadow);
  }
  .pricing-premium-features {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
  }
  .pricing-premium-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
  }
  .pricing-premium-features li::before {
    content: "";
    flex: none;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F7D5C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
    border-radius: 50%;
  }
  .pricing-pay-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0;
  }
  .pricing-pay-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--primary-dark);
    background: color-mix(in srgb, var(--primary-soft) 75%, var(--card-bg));
    border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--line));
    border-radius: 999px;
    padding: 8px 14px;
  }
  .pricing-pay-chip svg {
    width: 15px;
    height: 15px;
    flex: none;
    color: var(--primary);
  }
  .pricing-cta-wrap {
    text-align: center;
    margin-bottom: 8px;
  }
  .pricing-cta-wrap .btn { min-width: min(100%, 320px); justify-content: center; min-height: 50px; }
  .price-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 34px 30px 28px;
    box-shadow: var(--card-shadow);
  }
  .pricing-trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    max-width: 820px;
    margin: 28px auto 0;
  }
  .pricing-trust-bar span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-soft);
  }
  .pricing-trust-bar svg {
    width: 16px;
    height: 16px;
    flex: none;
    color: var(--primary);
  }
  .price-foot {
    margin-top: 22px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.6;
  }
  .pricing-plans-note {
    max-width: 980px;
    margin: 0 auto 22px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-soft);
    line-height: 1.55;
  }
  .pricing-compare {
    max-width: 960px;
    margin: 36px auto 0;
  }
  .pricing-compare-shell {
    position: relative;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(
      145deg,
      color-mix(in srgb, var(--primary) 42%, transparent),
      color-mix(in srgb, var(--primary) 8%, transparent) 38%,
      color-mix(in srgb, #B8860B 22%, transparent) 100%
    );
    box-shadow:
      0 28px 60px -34px rgba(var(--primary-rgb), 0.45),
      var(--card-shadow-lg);
  }
  .pricing-compare-shell::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 23px;
    background:
      radial-gradient(120% 80% at 100% 0%, rgba(var(--primary-rgb), 0.08), transparent 55%),
      radial-gradient(90% 70% at 0% 100%, rgba(38, 165, 228, 0.05), transparent 50%),
      color-mix(in srgb, var(--card-bg) 92%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    pointer-events: none;
  }
  .pricing-compare-head {
    position: relative;
    z-index: 1;
    padding: 24px 26px 18px;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
  }
  .pricing-compare-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: color-mix(in srgb, var(--primary-soft) 80%, var(--card-bg));
    border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
  }
  .pricing-compare-kicker svg {
    width: 14px;
    height: 14px;
    flex: none;
    color: var(--primary);
  }
  .pricing-compare-head h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.28rem, 2.4vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
    color: var(--text);
  }
  .pricing-compare-scroll {
    position: relative;
    z-index: 1;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0 0 22px 22px;
  }
  .pricing-compare table {
    width: 100%;
    min-width: 560px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.94rem;
  }
  .pricing-compare caption {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .pricing-compare thead th {
    padding: 16px 18px 14px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 800;
    vertical-align: bottom;
    border-bottom: 1px solid var(--line);
  }
  .pricing-compare thead th:first-child {
    width: 42%;
    text-align: start;
    color: var(--text-soft);
    background: transparent;
  }
  .pricing-compare thead th.compare-col-free {
    text-align: center;
    color: var(--text-soft);
    background: color-mix(in srgb, var(--bg-neutral) 55%, transparent);
  }
  .pricing-compare thead th.compare-col-pro {
    text-align: center;
    color: #fff;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  }
  .pricing-compare thead th.compare-col-pro .compare-col-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }
  .pricing-compare thead th.compare-col-pro .compare-col-label svg {
    width: 14px;
    height: 14px;
    flex: none;
    opacity: 0.92;
  }
  .pricing-compare tbody th,
  .pricing-compare tbody td {
    padding: 15px 18px;
    border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
    vertical-align: middle;
  }
  .pricing-compare tbody tr:last-child th,
  .pricing-compare tbody tr:last-child td { border-bottom: 0; }
  .pricing-compare tbody th {
    font-weight: 700;
    color: var(--text);
    text-align: start;
    background: transparent;
  }
  .pricing-compare tbody td {
    text-align: center;
    color: var(--text-soft);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.45;
  }
  .pricing-compare tbody td.compare-col-free {
    background: color-mix(in srgb, var(--bg-neutral) 35%, transparent);
  }
  .pricing-compare tbody td.compare-col-pro,
  .pricing-compare td.pro-col {
    position: relative;
    color: var(--primary-dark);
    font-weight: 700;
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--primary-soft) 52%, transparent), color-mix(in srgb, var(--primary-soft) 28%, transparent));
    box-shadow: inset 1px 0 0 color-mix(in srgb, var(--primary) 12%, transparent);
  }
  html[data-theme="dark"] .pricing-compare tbody td.compare-col-pro,
  html[data-theme="dark"] .pricing-compare td.pro-col {
    color: #b8ebd8;
  }
  .compare-cell {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    max-width: 16em;
    margin: 0 auto;
  }
  .compare-cell svg {
    width: 16px;
    height: 16px;
    flex: none;
  }
  .compare-cell.is-muted { color: color-mix(in srgb, var(--text-soft) 88%, transparent); }
  .compare-cell.is-muted svg { color: color-mix(in srgb, var(--text-soft) 70%, transparent); }
  .compare-cell.is-yes svg { color: var(--primary); }
  .compare-cell.is-yes strong { color: var(--primary-dark); font-weight: 800; }
  html[data-theme="dark"] .compare-cell.is-yes strong { color: #d4f5e8; }
  @media (hover: hover) {
    .pricing-compare tbody tr {
      transition: background-color 0.22s ease;
    }
    .pricing-compare tbody tr:hover th {
      color: var(--primary-dark);
    }
    .pricing-compare tbody tr:hover td.compare-col-free {
      background: color-mix(in srgb, var(--bg-neutral) 55%, transparent);
    }
    .pricing-compare tbody tr:hover td.compare-col-pro,
    .pricing-compare tbody tr:hover td.pro-col {
      background: color-mix(in srgb, var(--primary-soft) 62%, transparent);
    }
  }
  .tag-premium {
    display: inline-flex;
    margin-inline-start: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: var(--primary-soft);
    border-radius: 999px;
    padding: 2px 7px;
    vertical-align: middle;
  }
  .price-foot a { color: var(--primary); font-weight: 700; }
  .price-foot a:hover { text-decoration: underline; }

  /* testimonials */
  .testimonial-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  }
  @media (max-width: 1080px) {
    .testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  .testimonial {
    background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius-card);
    padding: 26px 24px; box-shadow: var(--card-shadow);
    display: flex; flex-direction: column; gap: 16px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }
  .testimonial:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-lg); }
  .testimonial-stars { display: flex; gap: 3px; color: #f59e0b; }
  .testimonial-stars svg {
    width: 16px; height: 16px; fill: currentColor;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }
  @media (hover: hover) {
    .testimonial:hover .testimonial-stars svg { transform: scale(1.14); }
    .testimonial:hover .testimonial-stars svg:nth-child(2) { transition-delay: 0.04s; }
    .testimonial:hover .testimonial-stars svg:nth-child(3) { transition-delay: 0.08s; }
    .testimonial:hover .testimonial-stars svg:nth-child(4) { transition-delay: 0.12s; }
    .testimonial:hover .testimonial-stars svg:nth-child(5) { transition-delay: 0.16s; }
  }
  .testimonial q {
    display: block; font-size: 1rem; line-height: 1.65; color: var(--text);
    quotes: "\201E" "\201C" "\2018" "\2019";
  }
  html[lang="fa"] .testimonial q { direction: rtl; text-align: right; }
  .testimonial cite {
    font-style: normal; font-size: 0.88rem; color: var(--text-soft); font-weight: 600;
  }
  .testimonial cite strong { display: block; color: var(--text); font-size: 0.95rem; margin-bottom: 2px; }

  /* mobile nav */
  .nav-toggle {
    display: none; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 999px;
    border: 1px solid var(--line); background: transparent; color: var(--text);
    cursor: pointer; transition: color 0.18s ease, border-color 0.18s ease;
  }
  .nav-toggle:hover { color: var(--primary); border-color: var(--primary); }
  .nav-toggle svg { width: 22px; height: 22px; }
  .mobile-nav {
    display: none; position: fixed; top: var(--nav-h, 64px); left: 0; right: 0; z-index: 49;
    background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line); box-shadow: var(--card-shadow-lg);
    padding: 12px 16px 16px;
    max-height: calc(100dvh - var(--nav-h, 64px));
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  html[data-theme="dark"] .mobile-nav { background: rgba(13, 20, 17, 0.96); }
  .mobile-nav.is-open { display: block; }
  body.is-mobile-nav-open { overflow: hidden; }
  .mobile-nav-links { display: grid; gap: 4px; }
  .mobile-nav-tools {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .mobile-nav-theme-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--bg-neutral);
    color: var(--text);
    font-family: "Public Sans", "Vazirmatn", system-ui, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  }
  .mobile-nav-theme-btn svg { width: 20px; height: 20px; flex: none; color: var(--primary-dark); }
  .mobile-nav-theme-btn:hover,
  .mobile-nav-theme-btn:focus-visible {
    background: var(--primary-soft);
    border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
    color: var(--primary-dark);
  }
  .mobile-nav-links a {
    display: flex; align-items: center; min-height: 44px;
    padding: 10px 14px; border-radius: 12px; font-weight: 700; font-size: 1rem;
    color: var(--text); font-family: "Public Sans", "Vazirmatn", system-ui, sans-serif;
    transition: background-color 0.18s ease, color 0.18s ease;
  }
  .mobile-nav-links a:hover,
  .mobile-nav-links a:focus-visible { background: var(--primary-soft); color: var(--primary-dark); }

  /* sticky mobile CTA */
  .mobile-cta-bar {
    display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 54;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, 0.15);
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.24s ease;
  }
  .mobile-cta-bar.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-cta-bar .btn { width: 100%; justify-content: center; min-height: 48px; }

  /* scroll progress bar — transform-based for smooth GPU updates */
  .scroll-progress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px;
    z-index: 60; pointer-events: none; overflow: hidden;
    background: color-mix(in srgb, var(--primary) 12%, transparent);
  }
  .scroll-progress__fill {
    display: block; width: 100%; height: 100%;
    transform: scaleX(0); transform-origin: left center;
    will-change: transform;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary) 55%, var(--primary-light));
    box-shadow: 0 0 10px color-mix(in srgb, var(--primary) 55%, transparent);
  }
  html[dir="rtl"] .scroll-progress__fill { transform-origin: right center; }

  /* keyboard focus visibility */
  :focus-visible { outline: 3px solid rgba(var(--primary-rgb), 0.55); outline-offset: 2px; border-radius: 8px; }
  .btn:focus-visible { outline-offset: 3px; }

  /* skip to content */
  .skip-link {
    position: absolute; left: 16px; top: -64px; z-index: 100;
    background: var(--primary); color: #fff; font-weight: 700;
    padding: 11px 18px; border-radius: 10px; box-shadow: var(--card-shadow);
    transition: top 0.18s ease;
  }
  .skip-link:focus { top: 14px; }

  /* bilingual visibility + language switch animation */
  [data-lang-block] { display: none; }
  html[lang="de"] [data-lang-block="de"],
  html[lang="fa"] [data-lang-block="fa"] { display: contents; }

  .lang-switch-veil {
    position: fixed; inset: 0; z-index: 45; pointer-events: none; opacity: 0;
    background:
      radial-gradient(120% 80% at 50% -10%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 58%),
      linear-gradient(180deg, color-mix(in srgb, var(--primary) 6%, transparent), transparent 42%);
    transition: opacity 0.34s ease;
  }
  html.is-lang-switching-out .lang-switch-veil,
  html.is-lang-switching-in .lang-switch-veil,
  html.is-lang-revealing .lang-switch-veil,
  html.is-lang-vt .lang-switch-veil { opacity: 1; }

  .lang-transition-target {
    transition:
      opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.3s ease;
  }
  html.is-lang-switching-out .lang-transition-target {
    opacity: 0;
    filter: blur(6px);
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
    pointer-events: none;
  }
  html.is-lang-switching-out #site-nav.lang-transition-target {
    opacity: 0.35;
    filter: blur(0);
    transform: translateY(4px);
  }
  html.is-lang-switching-out[data-lang-from="de"] main.lang-transition-target,
  html.is-lang-switching-out[data-lang-from="de"] .footer.lang-transition-target {
    transform: translateX(-22px) translateY(12px) scale(0.991);
  }
  html.is-lang-switching-out[data-lang-from="fa"] main.lang-transition-target,
  html.is-lang-switching-out[data-lang-from="fa"] .footer.lang-transition-target {
    transform: translateX(22px) translateY(12px) scale(0.991);
  }
  html.is-lang-switching-in .lang-transition-target {
    opacity: 0;
    filter: blur(5px);
    transition: none;
  }
  html.is-lang-switching-in[data-lang-to="fa"] main.lang-transition-target,
  html.is-lang-switching-in[data-lang-to="fa"] .footer.lang-transition-target {
    transform: translateX(22px) translateY(-10px) scale(0.994);
  }
  html.is-lang-switching-in[data-lang-to="de"] main.lang-transition-target,
  html.is-lang-switching-in[data-lang-to="de"] .footer.lang-transition-target {
    transform: translateX(-22px) translateY(-10px) scale(0.994);
  }
  html.is-lang-switching-in #site-nav.lang-transition-target {
    opacity: 0.4;
    filter: blur(0);
    transform: translateY(-3px);
  }
  html.is-lang-revealing .lang-transition-target {
    opacity: 1;
    transform: none;
    filter: none;
  }
  html.is-lang-revealing #site-nav.lang-transition-target { transition-delay: 0.05s; }
  html.is-lang-revealing main.lang-transition-target { transition-delay: 0.12s; }
  html.is-lang-revealing .footer.lang-transition-target { transition-delay: 0.2s; }
  html.is-lang-switching-out,
  html.is-lang-switching-in,
  html.is-lang-revealing,
  html.is-lang-vt { cursor: progress; }

  @keyframes lang-vt-out {
    to { opacity: 0; filter: blur(8px); transform: scale(0.985) translateY(12px); }
  }
  @keyframes lang-vt-in {
    from { opacity: 0; filter: blur(6px); transform: scale(1.012) translateY(-14px); }
    to { opacity: 1; filter: blur(0); transform: none; }
  }
  html.is-lang-vt::view-transition-old(root) {
    animation: lang-vt-out 0.36s cubic-bezier(0.4, 0, 1, 1) both;
  }
  html.is-lang-vt::view-transition-new(root) {
    animation: lang-vt-in 0.44s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  /* smooth theme switch: circular reveal (View Transitions) + color-crossfade fallback */
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
  ::view-transition-old(root) { z-index: 1; }
  ::view-transition-new(root) { z-index: 2; }
  html.is-theme-switching * {
    transition: background-color 0.34s ease, color 0.34s ease, border-color 0.34s ease,
      fill 0.34s ease, box-shadow 0.34s ease !important;
  }

  .brand-mark {
    display: inline-block;
    width: 34px;
    height: 34px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--primary-dark));
    -webkit-mask: url("/assets/persiahub-brand.png") center / contain no-repeat;
    mask: url("/assets/persiahub-brand.png") center / contain no-repeat;
    flex: none;
  }

  /* buttons */
  .btn {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-body); font-weight: 700; font-size: 1rem;
    padding: 13px 24px; border-radius: var(--radius-btn);
    border: 1px solid transparent; cursor: pointer;
    position: relative; overflow: hidden; isolation: isolate;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, border-color 0.22s ease;
    white-space: nowrap;
  }
  .btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.24) 50%, transparent 72%);
    transform: translateX(-140%);
    transition: transform 0.55s ease;
    pointer-events: none;
  }
  .btn > * { position: relative; z-index: 1; }
  @media (hover: hover) {
    .btn:hover::after { transform: translateX(140%); }
  }
  .btn svg { width: 20px; height: 20px; fill: currentColor; }
  .btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -6px rgba(var(--primary-rgb), 0.55); }
  .btn-telegram {
    background: var(--telegram);
    color: #fff;
    box-shadow: 0 8px 20px -6px rgba(38, 165, 228, 0.5);
  }
  @media (hover: hover) {
    .btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(var(--primary-rgb), 0.62); }
    .btn-telegram:hover {
      background: var(--telegram-dark);
      transform: translateY(-2px);
      box-shadow: 0 14px 28px -8px rgba(38, 165, 228, 0.58);
    }
    .btn-telegram.btn-ghost:hover {
      background: var(--telegram-soft);
      border-color: var(--telegram);
      color: var(--telegram-dark);
      transform: translateY(-2px);
    }
    .btn-ghost:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-2px); }
  }
  .btn-telegram.btn-ghost {
    background: transparent;
    color: var(--telegram-dark);
    border-color: color-mix(in srgb, var(--telegram) 45%, var(--line));
    box-shadow: none;
  }
  .btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
  .btn.is-pressed { transform: scale(0.97); }

  /* nav — identical metrics in DE and FA */
  .nav {
    position: sticky; top: 0; z-index: 50;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    direction: ltr;
    font-family: "Public Sans", "Vazirmatn", system-ui, sans-serif;
    font-size: 17px;
    line-height: 1.65;
  }
  .nav .brand { justify-self: start; }
  .nav .nav-links { justify-self: center; }
  .nav .nav-actions { justify-self: end; }
  .nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 8px 24px -16px rgba(145, 158, 171, 0.5); background: rgba(255, 255, 255, 0.9); }
  html[data-theme="dark"] .nav { background: rgba(13, 20, 17, 0.72); }
  html[data-theme="dark"] .nav.is-scrolled { background: rgba(13, 20, 17, 0.92); }
  .brand {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: "Barlow", "Vazirmatn", system-ui, sans-serif;
    font-weight: 800; font-size: 1.22rem; line-height: 1.2;
  }
  .nav-links { display: flex; gap: 18px; align-items: center; }
  .nav-links a {
    position: relative; color: var(--text-soft); font-weight: 600; font-size: 0.92rem; line-height: 1.65;
    font-family: "Public Sans", "Vazirmatn", system-ui, sans-serif;
    white-space: nowrap;
    transition: color 0.18s ease;
  }
  .nav-links a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
    background: var(--primary); border-radius: 2px; transform: scaleX(0); transform-origin: center;
    transition: transform 0.2s ease;
  }
  .nav-links a:hover { color: var(--primary); }
  .nav-links a:hover::after { transform: scaleX(1); }
  .nav-links a.is-active { color: var(--primary); }
  .nav-links a.is-active::after { transform: scaleX(1); }
  .theme-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border-radius: 999px;
    border: 1px solid var(--line); background: #fff; color: #0a1511;
    cursor: pointer;
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.18s ease, transform 0.18s ease;
  }
  html[data-theme="dark"] .theme-toggle {
    background: #0a0a0a; color: #fff; border-color: rgba(255, 255, 255, 0.12);
  }
  .theme-toggle:hover { border-color: var(--primary); }
  .theme-toggle:active { transform: scale(0.95); }
  .theme-toggle svg { width: 22px; height: 22px; display: block; overflow: visible; }
  .icon-toggle__clip-path {
    transform-box: fill-box; transform-origin: center;
    transition: transform 0.35s ease-in-out;
  }
  html[data-theme="dark"] .theme-toggle .icon-toggle__clip-path { transform: translate(-12px, 10px); }
  .icon-toggle__core { transition: r 0.35s ease-in-out; }
  html[data-theme="dark"] .theme-toggle .icon-toggle__core { r: 10; }
  .icon-toggle__rays {
    transform-box: fill-box; transform-origin: center;
    transition: transform 0.35s ease-in-out, opacity 0.35s ease-in-out;
  }
  html[data-theme="dark"] .theme-toggle .icon-toggle__rays {
    transform: rotate(-100deg) scale(0.5);
    opacity: 0;
  }
  .lang {
    position: relative;
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    overflow: hidden;
    isolation: isolate;
  }
  .lang::before {
    content: "";
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 2px;
    width: calc(50% - 2px);
    border-radius: 999px;
    background: var(--primary);
    box-shadow: 0 4px 14px -4px rgba(var(--primary-rgb), 0.55);
    transform: translateX(0);
    transition: transform 0.34s cubic-bezier(0.34, 1.15, 0.64, 1);
    z-index: 0;
  }
  html[lang="fa"] .lang::before { transform: translateX(100%); }
  .lang button {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 44px; min-width: 44px;
    border: 0; background: transparent; color: var(--text-soft);
    font-family: "Public Sans", "Vazirmatn", system-ui, sans-serif;
    font-weight: 700; font-size: 0.85rem; line-height: 1;
    padding: 0 14px; cursor: pointer;
    position: relative; z-index: 1;
    transition: color 0.24s ease, transform 0.18s ease;
  }
  .lang button:active { transform: scale(0.94); }
  .lang button.active { color: #fff; }
  .nav .btn {
    font-family: "Public Sans", "Vazirmatn", system-ui, sans-serif;
    font-size: 1rem; font-weight: 700; line-height: 1.65;
    padding: 13px 24px; white-space: nowrap; text-align: center;
  }
  .nav .nav-cta {
    min-height: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--telegram);
    color: #fff;
    border: 1px solid transparent;
    box-shadow: 0 4px 14px -4px rgba(38, 165, 228, 0.45);
    font-size: 0.88rem;
    gap: 7px;
  }
  .nav .nav-cta svg { width: 18px; height: 18px; }
  @media (hover: hover) {
    .nav .nav-cta:hover {
      background: var(--telegram-dark);
      transform: translateY(-1px);
      box-shadow: 0 6px 16px -4px rgba(38, 165, 228, 0.5);
    }
  }
  .nav-actions { display: flex; align-items: center; gap: 12px; }
  .hero {
    position: relative;
    padding: 76px 0 92px;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(250, 252, 250, 0.88) 0%, rgba(250, 252, 250, 0.72) 42%, rgba(250, 252, 250, 0.94) 100%),
      url("/assets/hero-background.png") center 38% / cover no-repeat;
  }
  html[data-theme="dark"] .hero {
    background:
      linear-gradient(180deg, rgba(13, 20, 17, 0.9) 0%, rgba(13, 20, 17, 0.78) 45%, rgba(13, 20, 17, 0.94) 100%),
      url("/assets/hero-background.png") center 38% / cover no-repeat;
  }
  .blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.28; z-index: 0; pointer-events: none; }
  .blob-1 { width: 420px; height: 420px; background: radial-gradient(circle, rgba(79, 166, 126, 0.45), transparent 70%); top: -140px; right: -40px; }
  .blob-2 { width: 320px; height: 320px; background: radial-gradient(circle, rgba(0, 184, 217, 0.12), transparent 70%); bottom: -100px; left: -80px; }
  .hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
  .kicker {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-display); font-weight: 800; font-size: 0.82rem;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--primary);
    background: var(--primary-soft); padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
  }
  .hero-copy h1 { margin-bottom: 20px; }
  .hero-copy h1 .accent { color: var(--primary); }
  .hero-copy p.lead { font-size: 1.18rem; color: var(--text); max-width: 34em; margin-bottom: 30px; line-height: 1.7; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
  .hero-proof-card {
    width: min(100%, 650px);
    display: grid;
    gap: 14px;
    margin-top: 2px;
    padding: 18px 20px 16px;
    border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--line));
    border-radius: 18px;
    background: color-mix(in srgb, var(--card-bg) 76%, transparent);
    box-shadow: 0 16px 42px -28px rgba(15, 30, 25, 0.34);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .hero-proof-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .hero-proof-stat {
    min-width: 0;
    display: grid;
    align-content: center;
    gap: 2px;
    padding: 0 12px;
    border-inline-start: 1px solid var(--line);
  }
  .hero-proof-stat:first-child { border-inline-start: 0; padding-inline-start: 0; }
  .hero-proof-stat strong {
    color: var(--primary-dark);
    font-family: var(--font-display);
    font-size: clamp(1.18rem, 2vw, 1.45rem);
    font-weight: 900;
    line-height: 1.08;
    white-space: nowrap;
  }
  .hero-proof-stat span {
    color: var(--text-soft);
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.25;
  }
  .hero-proof-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .hero-proof-features span {
    color: var(--text-soft);
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
  }
  .hero-proof-features > span:not(:last-child)::after {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-inline-start: 16px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary) 48%, transparent);
    vertical-align: middle;
  }
  .hero-proof-note {
    margin: -2px 0 0;
    color: var(--text-soft);
    font-size: 0.8rem;
    line-height: 1.45;
  }
  .hero-device-wrap { display: flex; justify-content: center; position: relative; }
  .hero-device-wrap::before {
    content: "";
    position: absolute;
    inset: 8% 0 0;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary) 26%, transparent), transparent 68%);
    filter: blur(28px);
    z-index: 0;
    animation: hero-glow 4.5s ease-in-out infinite;
    pointer-events: none;
  }
  @keyframes hero-glow {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.08); }
  }
  @keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-11px); }
  }
  .hero-device-wrap .device {
    position: relative; z-index: 1;
    animation: hero-float 5.2s ease-in-out infinite;
  }
  .hero-device-wrap .device.is-tilting { animation: none !important; }

  /* social proof stats */
  .social-proof {
    position: relative;
    z-index: 2;
    padding: 0 0 40px;
    margin-top: -28px;
  }
  .social-proof-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }
  .stat-card {
    background: color-mix(in srgb, var(--card-bg) 90%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid color-mix(in srgb, var(--primary) 14%, var(--line));
    border-radius: var(--radius-card);
    padding: 22px 14px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  }
  @media (hover: hover) {
    .stat-card:hover {
      transform: translateY(-3px);
      border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
      box-shadow: var(--card-shadow-lg);
    }
  }
  .stat-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.1vw, 1.8rem);
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1.1;
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
  }
  .stat-card span {
    display: block;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-soft);
    line-height: 1.35;
  }

  /* real-screenshot phone frame - shows the FULL screenshot, never cropped */
  .device {
    width: 100%; max-width: 280px;
    background: #0d1b2a; border-radius: 34px; padding: 10px;
    box-shadow: var(--card-shadow-lg); border: 1px solid rgba(255, 255, 255, 0.07);
    position: relative; overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .device img { width: 100%; height: auto; display: block; border-radius: 25px; }

  /* sections */
  .section { padding: 88px 0; }
  .section-alt { background: var(--bg-neutral); }
  .section-head { text-align: center; max-width: 42em; margin: 0 auto 56px; }
  .section-head .kicker { margin-bottom: 16px; }
  .section-head p { color: var(--text-soft); font-size: 1.08rem; margin-top: 14px; }
  .pricing-snapshot {
    padding: 72px 0;
    background: linear-gradient(180deg, var(--bg-neutral), var(--bg));
  }
  .pricing-snapshot-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 28px;
    align-items: center;
    max-width: 1040px;
    margin: 0 auto;
  }
  .pricing-snapshot-copy h2 {
    max-width: 12em;
    margin-bottom: 14px;
  }
  .pricing-snapshot-copy p {
    color: var(--text-soft);
    max-width: 42em;
    line-height: 1.7;
  }
  .pricing-snapshot-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .pricing-snapshot-cards article {
    min-height: 136px;
    padding: 18px 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
    display: grid;
    align-content: center;
    gap: 6px;
  }
  .pricing-snapshot-cards article.is-pro {
    border-color: color-mix(in srgb, var(--primary) 36%, var(--line));
    background: color-mix(in srgb, var(--primary-soft) 46%, var(--card-bg));
  }
  .pricing-snapshot-cards strong {
    font-size: 0.95rem;
    color: var(--text);
  }
  .pricing-snapshot-cards article > span {
    font-size: 1.55rem;
    font-family: var(--font-display);
    font-weight: 900;
    color: var(--primary-dark);
    line-height: 1.1;
  }
  .pricing-snapshot-cards small {
    color: var(--text-soft);
    font-size: 0.82rem;
    line-height: 1.45;
  }
  .pricing-snapshot-cards .btn {
    grid-column: 1 / -1;
    justify-content: center;
    min-height: 50px;
  }

  /* how it works steps */
  .steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
  .step {
    counter-increment: step;
    position: relative; overflow: hidden;
    background:
      radial-gradient(120% 80% at 100% 0%, rgba(var(--primary-rgb), 0.07), transparent 60%),
      var(--card-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-card); padding: 34px 30px 30px; box-shadow: var(--card-shadow);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
  }
  /* large translucent step number fills the card for depth */
  .step::before {
    content: counter(step); position: absolute; right: 16px; bottom: -26px; z-index: 0;
    font-family: var(--font-display); font-weight: 900; font-size: 8.5rem; line-height: 1;
    color: var(--primary); opacity: 0.08; pointer-events: none; user-select: none;
  }
  html[dir="rtl"] .step::before { right: auto; left: 16px; }
  .step > * { position: relative; z-index: 1; }
  .step:hover { transform: translateY(-8px); border-color: rgba(var(--primary-rgb), 0.4); box-shadow: var(--card-shadow-lg); }
  .step .num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; border-radius: 50%; margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary) 55%, var(--primary-dark));
    color: #fff; font-family: var(--font-display); font-weight: 900; font-size: 1.45rem;
    box-shadow: 0 10px 22px -6px rgba(var(--primary-rgb), 0.55);
  }
  .step h3 { font-size: 1.28rem; margin-bottom: 10px; }
  .step p { color: var(--text-soft); font-size: 1rem; }
  /* gradient connector aligned to the badge centre */
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 62px; right: -28px; width: 28px; height: 2px; z-index: 2;
    background: linear-gradient(90deg, var(--primary), transparent);
  }
  html[dir="rtl"] .step:not(:last-child)::after { right: auto; left: -28px; background: linear-gradient(270deg, var(--primary), transparent); }
  .steps .step:nth-child(2) { transition-delay: 0.08s; }
  .steps .step:nth-child(3) { transition-delay: 0.16s; }

  /* feature showcase — sticky stacked cards (desktop) */
  .check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
  .check-list li { display: flex; align-items: flex-start; gap: 11px; font-weight: 600; font-size: 1rem; }
  .check-list li::before {
    content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
    background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232F7D5C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
    transition: transform 0.22s ease, background-color 0.22s ease;
  }
  .feature-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
    font-family: var(--font-display); font-weight: 900; font-size: 1.15rem;
    background: var(--primary-soft); color: var(--primary-dark);
    transition: transform 0.28s ease, background-color 0.28s ease, color 0.28s ease;
  }
  .feature-panel h3 { margin-bottom: 12px; }
  .feature-panel > p { color: var(--text-soft); font-size: 1.08rem; margin-bottom: 22px; }
  .feature-showcase { position: relative; margin-top: 8px; }
  .feature-showcase__pin {
    display: flex; align-items: center; justify-content: center;
    min-height: min(90vh, 820px); overflow: hidden;
  }
  .feature-showcase__grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 72px); align-items: center;
    width: 100%; max-width: 1080px; margin: 0 auto;
  }
  .feature-showcase__copy {
    position: relative; min-height: clamp(320px, 42vh, 440px);
  }
  .feature-panel {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(18px);
    will-change: transform, opacity;
  }
  .feature-panel.is-active {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateY(0);
  }
  .feature-panel.is-active .feature-icon {
    background: var(--primary); color: #fff; transform: scale(1.05);
  }
  .feature-panel__device--mobile { display: none; }
  .feature-showcase__visual { display: flex; justify-content: center; align-items: center; }
  .feature-device-stack {
    position: relative; width: min(100%, 280px);
    aspect-ratio: 780 / 1688;
  }
  .feature-stack-card {
    position: absolute; inset: 0; width: 100%; max-width: none;
    will-change: transform;
    transform-origin: center center;
  }
  .feature-stack-card .device { width: 100%; max-width: none; height: 100%; }
  .feature-stack-card img {
    width: 100%; height: 100%; object-fit: contain; object-position: top center;
  }
  html.is-feature-scroll { scroll-behavior: auto; }
  html.is-feature-scroll .feature-panel { transition: none; }
  html.is-feature-scroll .feature-panel__device--mobile { display: none !important; }
  html:not(.is-feature-scroll) .feature-showcase__visual { display: none; }
  html:not(.is-feature-scroll) .feature-showcase__copy { min-height: 0; }
  html:not(.is-feature-scroll) .feature-panel {
    position: relative; inset: auto; opacity: 1; visibility: visible;
    pointer-events: auto; transform: none; margin-bottom: 72px;
  }
  html:not(.is-feature-scroll) .feature-panel:last-child { margin-bottom: 0; }
  html:not(.is-feature-scroll) .feature-panel__device--mobile {
    display: flex; justify-content: center; margin-top: 28px;
  }
  html:not(.is-feature-scroll) .feature-showcase__pin { min-height: 0; overflow: visible; }
  @media (hover: hover) {
    .feature-panel.is-active .check-list li:hover::before { transform: scale(1.12); }
  }

  /* module categories */
  .module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  .module-cat {
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    padding: 26px 24px;
    box-shadow: var(--card-shadow);
    transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  }
  .module-cat:hover {
    border-color: color-mix(in srgb, var(--primary) 32%, var(--line));
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-lg);
  }
  .module-cat-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
  }
  .module-cat-icon {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-soft);
    color: var(--primary-dark);
  }
  .module-cat-icon svg { width: 22px; height: 22px; }
  .module-cat h3 { margin: 0; font-size: 1.12rem; }
  .module-cat > p {
    margin: 0 0 16px;
    color: var(--text-soft);
    font-size: 0.98rem;
    line-height: 1.55;
  }
  .module-tags {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .module-tags li {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 11px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--primary) 10%, var(--card-bg));
    border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--line));
    color: var(--text);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
    cursor: default;
  }
  @media (hover: hover) {
    .module-tags li:hover {
      transform: translateY(-2px);
      border-color: color-mix(in srgb, var(--primary) 42%, var(--line));
      background: color-mix(in srgb, var(--primary) 16%, var(--card-bg));
    }
  }
  .module-foot {
    margin-top: 28px;
    text-align: center;
    color: var(--text-soft);
    font-size: 1rem;
    font-weight: 600;
  }

  /* faq */
  .faq {
    max-width: 820px; margin: 0 auto; display: grid; gap: 12px;
    counter-reset: faq;
  }
  .faq-item {
    counter-increment: faq;
    background: var(--card-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition:
      border-color 0.26s ease,
      box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .faq-item:hover {
    border-color: color-mix(in srgb, var(--primary) 28%, var(--line));
    transform: translateY(-2px);
  }
  .faq-item[open] {
    border-color: color-mix(in srgb, var(--primary) 50%, var(--line));
    box-shadow: 0 18px 40px -20px color-mix(in srgb, var(--primary) 42%, transparent);
    transform: none;
  }
  .faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 22px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.06rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: color 0.2s ease, background-color 0.2s ease;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary::before {
    content: counter(faq, decimal-leading-zero);
    flex: none;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-soft);
    transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s ease;
  }
  .faq-item[open] summary::before {
    background: var(--primary);
    color: #fff;
    transform: scale(1.04);
  }
  .faq-item summary span { flex: 1; text-align: start; }
  .faq-item summary::after {
    content: "";
    flex: none;
    width: 22px;
    height: 22px;
    background: var(--text-soft);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1), background-color 0.2s ease;
  }
  .faq-item[open] summary::after {
    transform: rotate(180deg);
    background: var(--primary);
  }
  .faq-item summary:hover { color: var(--primary); }
  .faq-item[open] summary {
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 6%, transparent);
  }
  .faq-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.34s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .faq-item[open] .faq-panel { grid-template-rows: 1fr; }
  .faq-a {
    overflow: hidden;
    min-height: 0;
    padding: 0 22px 22px 70px;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.75;
  }
  html[lang="fa"] .faq-a { padding-inline-start: 22px; padding-inline-end: 70px; }
  .faq .faq-item.reveal:nth-child(1) { transition-delay: 0.03s; }
  .faq .faq-item.reveal:nth-child(2) { transition-delay: 0.07s; }
  .faq .faq-item.reveal:nth-child(3) { transition-delay: 0.11s; }
  .faq .faq-item.reveal:nth-child(4) { transition-delay: 0.15s; }
  .faq .faq-item.reveal:nth-child(5) { transition-delay: 0.19s; }
  .faq .faq-item.reveal:nth-child(6) { transition-delay: 0.23s; }
  .faq .faq-item.reveal:nth-child(7) { transition-delay: 0.27s; }
  .faq .faq-item.reveal:nth-child(8) { transition-delay: 0.31s; }
  .faq .faq-item.reveal:nth-child(9) { transition-delay: 0.35s; }
  .faq-foot {
    max-width: 820px;
    margin: 36px auto 0;
    padding: 26px 28px;
    border-radius: var(--radius-card);
    border: 1px dashed color-mix(in srgb, var(--primary) 35%, var(--line));
    background: color-mix(in srgb, var(--primary) 5%, var(--card-bg));
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  .faq-foot p {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.98rem;
    max-width: 34em;
    line-height: 1.65;
  }
  .faq-foot .btn { cursor: pointer; }

  /* journey / cta */
  .journey-panel {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #06281f, #0c3a2c 55%, #07533c);
    border-radius: 28px; padding: 60px 48px; text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 26px;
    box-shadow: var(--card-shadow-lg);
  }
  .journey-panel::before {
    content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0.18;
    background: radial-gradient(circle at 80% 10%, var(--primary-light), transparent 55%);
    animation: journey-glow 7s ease-in-out infinite alternate;
  }
  @keyframes journey-glow {
    from { opacity: 0.12; transform: scale(1); }
    to { opacity: 0.28; transform: scale(1.06); }
  }
  .journey-panel > * { position: relative; z-index: 1; }
  .journey-panel h2, .journey-panel p { color: #fff; }
  .journey-panel p { color: rgba(255, 255, 255, 0.78); max-width: 36em; }
  .qr-holo { background: #fff; border-radius: 18px; padding: 14px; box-shadow: var(--card-shadow); transition: transform 0.28s ease, box-shadow 0.28s ease; }
  @media (hover: hover) {
    .journey-panel:hover .qr-holo { transform: translateY(-4px) scale(1.02); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.35); }
  }
  .qr-holo img { width: 150px; height: 150px; }
  .journey-contact { color: rgba(255, 255, 255, 0.7); font-size: 0.92rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; transition: color 0.18s ease; }
  .journey-contact:hover { color: #fff; }
  .journey-support {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    margin-top: 2px; padding: 11px 18px; min-height: 44px;
    border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08); color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem; font-weight: 700; cursor: pointer;
    transition: transform 0.22s ease, background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease;
  }
  .journey-support svg { width: 18px; height: 18px; flex: none; color: #ffdd00; }
  @media (hover: hover) {
    .journey-support:hover {
      transform: translateY(-2px);
      background: rgba(255, 255, 255, 0.14);
      border-color: rgba(255, 255, 255, 0.36);
      color: #fff;
    }
  }
  .support-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--primary); font-weight: 700;
  }
  .support-link svg { width: 15px; height: 15px; flex: none; color: #c9a000; }
  html[data-theme="dark"] .support-link svg { color: #ffdd00; }
  .support-link:hover { text-decoration: underline; text-underline-offset: 3px; }

  /* Buy Me a Coffee + scroll-to-top — shared stack on trailing edge */
  #bmc-wbtn,
  #bmc-wbtn-frame {
    z-index: 9999 !important;
    transition: bottom 0.28s cubic-bezier(0.22, 1, 0.36, 1), transform 0.25s ease !important;
  }
  #bmc-wbtn {
    bottom: calc(var(--fab-edge) + var(--fab-stack) + env(safe-area-inset-bottom, 0px)) !important;
  }
  html[dir="ltr"] #bmc-wbtn {
    right: var(--fab-edge) !important;
    left: auto !important;
  }
  html[dir="rtl"] #bmc-wbtn {
    left: var(--fab-edge) !important;
    right: auto !important;
  }
  #bmc-wbtn-frame {
    z-index: 9998 !important;
    max-width: min(280px, calc(100vw - var(--fab-edge) * 2 - 24px)) !important;
  }
  html.is-scroll-top-visible {
    --fab-stack: 60px;
  }

  .scroll-top-btn {
    position: fixed;
    right: var(--fab-edge);
    bottom: calc(var(--fab-edge) + env(safe-area-inset-bottom, 0px));
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--line));
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-dark);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.14);
    cursor: pointer;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px) scale(0.84);
    transition:
      opacity 0.26s ease,
      transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.26s ease,
      background 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }
  .scroll-top-btn svg { width: 20px; height: 20px; flex: none; }
  .scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
  .scroll-top-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
  }
  @media (hover: hover) {
    .scroll-top-btn:hover {
      background: var(--primary-soft);
      border-color: color-mix(in srgb, var(--primary) 45%, var(--line));
      color: var(--primary-dark);
      box-shadow: 0 8px 22px rgba(var(--primary-rgb), 0.22);
    }
  }
  .scroll-top-btn.is-visible:active { transform: translateY(1px) scale(0.96); }
  html[dir="rtl"] .scroll-top-btn {
    right: auto;
    left: var(--fab-edge);
  }
  @media (max-width: 900px) {
    :root { --fab-edge: 88px; }
  }

  /* scroll parallax (transform applied via JS) */
  [data-parallax] { will-change: transform; }

  /* footer */
  .footer { border-top: 1px solid var(--line); padding: 36px 0; background: var(--bg); }
  .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--text-soft); font-size: 0.94rem; }
  .footer-inner a { color: var(--text-soft); font-weight: 600; }
  .footer-inner a:hover { color: var(--primary); }
  .footer-inner > div { display: flex; gap: 22px; }

  /* reveal */
  .reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.65s ease;
    filter: blur(4px);
  }
  .reveal.on { opacity: 1; transform: none; filter: none; }
  .stagger-grid > .reveal:nth-child(1) { transition-delay: 0.04s; }
  .stagger-grid > .reveal:nth-child(2) { transition-delay: 0.1s; }
  .stagger-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
  .stagger-grid > .reveal:nth-child(4) { transition-delay: 0.22s; }
  .stagger-grid > .reveal:nth-child(5) { transition-delay: 0.28s; }
  .stagger-grid > .reveal:nth-child(6) { transition-delay: 0.34s; }
  .btn-ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    pointer-events: none;
    background: rgba(255, 255, 255, 0.45);
    animation: btn-ripple 0.55s ease-out forwards;
    z-index: 0;
  }
  @keyframes btn-ripple {
    to { transform: scale(2.8); opacity: 0; }
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; filter: none; transition: none; }
    .feature-panel { opacity: 1 !important; transform: none !important; visibility: visible !important; }
    html { scroll-behavior: auto; }
    .device, .step, .theme-toggle, .nav-links a::after, .faq-item summary::after, .faq-panel { transition: none; }
    .icon-toggle__clip-path,
    .icon-toggle__core,
    .icon-toggle__rays { transition: none; }
    html[data-theme="dark"] .theme-toggle .icon-toggle__clip-path { transform: translate(-12px, 10px); }
    html[data-theme="dark"] .theme-toggle .icon-toggle__core { r: 10; }
    html[data-theme="dark"] .theme-toggle .icon-toggle__rays { transform: rotate(-100deg) scale(0.5); opacity: 0; }
    .step:hover, .theme-toggle:hover,
    .problem-card:hover, .pricing-plan-card:hover, .testimonial:hover { transform: none; }
    .hero-device-wrap::before,
    .hero-device-wrap .device,
    .journey-panel::before { animation: none !important; }
    .btn::after { display: none; }
    html.is-lang-switching-out .lang-transition-target,
    html.is-lang-switching-in .lang-transition-target,
    html.is-lang-revealing .lang-transition-target { opacity: 1; transform: none; filter: none; transition: none; }
    html.is-lang-vt::view-transition-old(root),
    html.is-lang-vt::view-transition-new(root) { animation: none !important; }
    .lang-switch-veil { display: none; }
    .lang::before { transition: none; }
    html.is-theme-switching * { transition: none !important; }
    #bmc-wbtn { transition: none !important; }
    .scroll-top-btn { transition: none; }
    .scroll-top-btn:not(.is-visible) { transform: translateY(16px) scale(0.84); opacity: 0; }
    .scroll-top-btn.is-visible { transform: none; opacity: 1; }
    ::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
  }

  /* responsive */
  @media (max-width: 900px) {
    :root { --nav-h: 58px; }
    .nav {
      grid-template-columns: minmax(0, 1fr) auto;
      padding: 10px 16px;
      padding-top: calc(10px + env(safe-area-inset-top, 0px));
      gap: 10px;
    }
    .nav .nav-cta,
    .nav .theme-toggle { display: none !important; }
    .nav .nav-actions { gap: 8px; flex-shrink: 0; }
    .nav .brand {
      font-size: 1.05rem;
      gap: 8px;
      min-width: 0;
    }
    .nav .brand > span:not(.brand-mark) {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .nav .brand-mark { width: 30px; height: 30px; }
    .lang button {
      min-width: 40px;
      min-height: 40px;
      padding: 0 11px;
      font-size: 0.8rem;
    }
    .nav-toggle { display: inline-flex; }
    .nav-links { display: none; }
    .mobile-cta-bar { display: block; }
    #bmc-wbtn,
    #bmc-wbtn-frame,
    .scroll-top-btn {
      display: none !important;
      visibility: hidden !important;
      pointer-events: none !important;
    }
    body {
      padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
      -webkit-tap-highlight-color: transparent;
    }
    .container { padding: 0 16px; }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 40px; }
    .section-head p { font-size: 1rem; }
    .hero { padding: 26px 0 48px; }
    .hero-copy h1 { font-size: clamp(1.65rem, 7.8vw, 2.35rem); }
    .hero-copy p.lead { font-size: 1rem; line-height: 1.65; margin-bottom: 22px; }
    .hero-actions { flex-direction: column; gap: 10px; }
    .hero-actions .btn { width: 100%; justify-content: center; min-height: 48px; }
    .hero-proof-card { padding: 16px; border-radius: 16px; }
    .hero-proof-stats { grid-template-columns: 1fr; gap: 10px; }
    .hero-proof-stat {
      grid-template-columns: 82px 1fr;
      align-items: baseline;
      padding: 0;
      border-inline-start: 0;
    }
    .hero-proof-features { gap: 6px 12px; }
    .hero-proof-features > span:not(:last-child)::after { margin-inline-start: 12px; }
    .device { max-width: min(196px, 56vw); }
    .problem-grid { grid-template-columns: 1fr; }
    .pricing-plans-shell { padding: 14px 10px; overflow: hidden; }
    .pricing-plans-grid {
      display: flex;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      gap: 10px;
      padding-bottom: 4px;
      -webkit-overflow-scrolling: touch;
    }
    .pricing-plan-card {
      flex: 0 0 min(68vw, 168px);
      scroll-snap-align: start;
    }
    .pricing-free-banner { grid-template-columns: 1fr; text-align: center; }
    .pricing-free-banner .btn { width: 100%; justify-content: center; }
    .pricing-premium-features { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .social-proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .stat-card { padding: 16px 10px; }
    .stat-card strong { font-size: 1.2rem; }
    .stat-card span { font-size: 0.78rem; }
    .hero-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero-copy { order: 1; }
    .hero-device-wrap { order: 2; }
    .hero-device-wrap::before { filter: blur(18px); opacity: 0.65; }
    .hero-proof-note { font-size: 0.78rem; }
    .pricing-snapshot { padding: 56px 0; }
    .pricing-snapshot-grid { grid-template-columns: 1fr; gap: 22px; }
    .pricing-snapshot-copy h2 { max-width: none; }
    .pricing-snapshot-cards { grid-template-columns: 1fr; }
    .pricing-snapshot-cards article { min-height: 112px; }
    .steps { grid-template-columns: 1fr; gap: 18px; }
    .step:not(:last-child)::after { display: none; }
    .feature-showcase__grid { grid-template-columns: 1fr; gap: 0; }
    html:not(.is-feature-scroll) .feature-panel { margin-bottom: 48px; }
    .module-grid { grid-template-columns: 1fr; gap: 14px; }
    .module-cat { padding: 20px 16px; }
    .footer { padding: 28px 0 calc(28px + env(safe-area-inset-bottom, 0px)); }
    .footer-inner {
      flex-direction: column;
      align-items: flex-start;
      gap: 14px;
    }
    .footer-inner > div {
      flex-wrap: wrap;
      gap: 14px 18px;
    }
    .pricing-compare-scroll { border-radius: 0 0 18px 18px; }
    .pricing-compare-head { padding: 20px 16px 14px; }
    .faq-item summary { padding: 16px 16px; font-size: 0.98rem; gap: 10px; }
    .faq-item summary::before { width: 30px; height: 30px; font-size: 0.72rem; }
    .faq-a { padding: 0 16px 16px 16px; }
    html[lang="fa"] .faq-a { padding-inline: 16px; }
    .faq-foot { padding: 20px 16px; flex-direction: column; align-items: stretch; }
    .faq-foot .btn { justify-content: center; }
    .journey-panel { padding: 36px 18px; }
    .blog-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 560px) {
    body { font-size: 16px; }
    .social-proof-grid { grid-template-columns: 1fr 1fr; }
    .lang button { min-width: 38px; padding: 0 9px; }
  }
  @media (max-width: 380px) {
    .nav .brand > span:not(.brand-mark) { display: none; }
    .social-proof-grid { grid-template-columns: 1fr; }
  }

/* ——— Review batch: trust, blog, scroll CTAs, a11y polish ——— */

.section-head-compact { margin-bottom: 28px; }
.section-head-compact h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }

.pricing-featured-hint {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--primary-dark);
  font-weight: 600;
}
.pricing-featured-hint strong { color: var(--primary); }

.feature-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
}
html.is-feature-scroll .feature-scroll-hint {
  display: inline-flex;
  width: 100%;
}
.feature-scroll-hint svg { width: 16px; height: 16px; }

.pricing-compare-scroll {
  position: relative;
  -webkit-mask-image: linear-gradient(to right, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, #000 92%, transparent 100%);
}
.pricing-compare-scroll.is-scrolled-end {
  -webkit-mask-image: none;
  mask-image: none;
}
.compare-scroll-hint {
  display: none;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  padding: 0 4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
}
.compare-scroll-hint svg { width: 14px; height: 14px; }
@media (max-width: 720px) {
  .compare-scroll-hint { display: inline-flex; }
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 8px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.blog-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius-card);
  background: var(--card-bg);
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
  cursor: default;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
@media (hover: hover) {
  .blog-card:hover {
    border-color: color-mix(in srgb, var(--primary) 35%, var(--line));
    box-shadow: var(--card-shadow-lg);
  }
}
.blog-tag {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--primary-soft);
}
.blog-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.3;
}
.blog-card h3 a {
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.blog-card h3 a:hover { color: var(--primary); }
.blog-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
  line-height: 1.6;
}
.blog-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  cursor: pointer;
}
.blog-link:hover { color: var(--primary); }

.journey-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

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

/* Hero A/B: static screenshot vs. motion carousel */
html[data-hero-variant="static"] .hero-device-motion { display: none; }
html[data-hero-variant="motion"] .hero-device-static { display: none; }
html:not([data-hero-variant]) .hero-device-motion { display: none; }

.hero-device-motion {
  position: relative;
}
.hero-motion-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 780 / 1688;
}
.hero-motion-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 700ms ease, transform 900ms ease;
}
.hero-motion-frame.is-active {
  opacity: 1;
  transform: scale(1);
}
.hero-motion-badge {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: color-mix(in srgb, var(--card-bg) 92%, transparent);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(15, 30, 25, 0.12);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-motion-frame { transition: none; }
}
