/*
 * Flagship course landings — tax-expert (17030) and tax-advisor (18332).
 * Owns: hero layout (purchase buttons inside the first screen), sticky purchase bar,
 * mobile dock timing, arrival highlight and page-wide motion tuning.
 * Every selector is scoped to body.cl-landing and is specific enough to sit above the
 * older hero layers (advisor-premium.css, site-polish.css) without !important.
 */

/* ---------- tokens ---------- */
body.cl-landing {
  --cl-ease-out: cubic-bezier(.22, 1, .36, 1);
  --cl-ease-std: cubic-bezier(.4, 0, .2, 1);
  --cl-radius: 20px;
  --cl-cta-from: #ffcf85;
  --cl-cta-mid: #fba830;
  --cl-cta-to: #ee9716;
  --cl-cta-ink: #2b1a00;
  --cl-cta-glow: rgba(251, 168, 48, .55);
  --cl-hi: #6fe6d8;
  --cl-hi-rgb: 111, 230, 216;
  --cl-fact-bg: #0a3350;
  --cl-hero-bg:
    radial-gradient(60% 70% at 8% 10%, rgba(50, 203, 197, .22), transparent 60%),
    radial-gradient(55% 65% at 92% 85%, rgba(42, 151, 224, .22), transparent 62%),
    linear-gradient(128deg, #04213a 0%, #06426a 55%, #08697a 100%);
}
body.cl-landing.postid-18332 {
  --cl-cta-from: #f4dfae;
  --cl-cta-mid: #e1bd72;
  --cl-cta-to: #c89a4f;
  --cl-cta-ink: #152234;
  --cl-cta-glow: rgba(213, 174, 103, .55);
  --cl-hi: #e6c687;
  --cl-hi-rgb: 230, 198, 135;
  --cl-fact-bg: #0c2239;
  --cl-hero-bg:
    radial-gradient(55% 60% at 85% 12%, rgba(213, 174, 103, .16), transparent 62%),
    radial-gradient(60% 70% at 6% 95%, rgba(47, 143, 214, .16), transparent 60%),
    linear-gradient(122deg, #06101d 0%, #0a1f36 55%, #112e4b 100%);
}

/* ---------- hero shell ---------- */
html body.cl-landing #hero.cl-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 0;
  margin: 0;
  color: #fff;
  background: var(--cl-hero-bg);
  border: 0;
  border-radius: 0 0 32px 32px;
}
html body.cl-landing #hero.cl-hero::before,
html body.cl-landing #hero.cl-hero::after { content: none; }
html body.cl-landing #hero.cl-hero .cl-hero__bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(75% 80% at 70% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(75% 80% at 70% 30%, #000 20%, transparent 75%);
}
html body.cl-landing #hero.cl-hero .cl-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center;
  gap: clamp(32px, 4vw, 64px);
  max-width: 1240px;
  margin: 0 auto;
  padding: 30px 32px 26px;
}
html body.cl-landing #hero.cl-hero .cl-hero__copy { min-width: 0; text-align: right; }
/* advisor-premium.css centres every h1/p on mobile with !important; the hero keeps one right-aligned reading line */
html body.cl-landing #hero.cl-hero .cl-hero__copy > :is(nav, div, h1, p),
html body.cl-landing #hero.cl-hero .cl-buy p { text-align: right !important; justify-content: flex-start; align-self: stretch; }

/* breadcrumb + chips */
html body.cl-landing #hero.cl-hero .cl-hero__crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
  margin: 0 0 14px; font-size: 12px; line-height: 1.6; color: rgba(255, 255, 255, .6);
}
html body.cl-landing #hero.cl-hero .cl-hero__crumbs a { color: inherit; text-decoration: none; transition: color .2s var(--cl-ease-std); }
html body.cl-landing #hero.cl-hero .cl-hero__crumbs a:hover { color: #fff; }
html body.cl-landing #hero.cl-hero .cl-hero__crumbs span { color: rgba(255, 255, 255, .85); }
html body.cl-landing #hero.cl-hero .cl-hero__crumbs svg { width: 14px; height: 14px; opacity: .6; }
html body.cl-landing #hero.cl-hero .cl-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
html body.cl-landing #hero.cl-hero .cl-chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px;
  background: rgba(255, 255, 255, .06); color: #dcecf7;
  font-size: 12px; font-weight: 800; line-height: 1.6; white-space: nowrap;
}
html body.cl-landing #hero.cl-hero .cl-chip svg { width: 15px; height: 15px; }
html body.cl-landing #hero.cl-hero .cl-chip--accent { border-color: transparent; background: linear-gradient(135deg, var(--cl-cta-from), var(--cl-cta-mid)); color: var(--cl-cta-ink); }

/* title + copy */
html body.cl-landing #hero.cl-hero .cl-hero__title {
  margin: 0 0 10px; color: #fff;
  font-size: clamp(2rem, 1.15rem + 2.25vw, 3.15rem);
  font-weight: 800; line-height: 1.36; letter-spacing: -.02em; text-wrap: balance;
}
html body.cl-landing #hero.cl-hero .cl-hero__emphasis { display: inline; color: var(--cl-hi); font-size: inherit; line-height: inherit; margin: 0; }
html body.cl-landing #hero.cl-hero .cl-hero__statement {
  display: flex; align-items: center; gap: 10px; margin: 0 0 8px;
  color: var(--cl-hi); font-size: 16px; font-weight: 700; line-height: 1.8;
}
html body.cl-landing #hero.cl-hero .cl-hero__statement::before { content: ""; flex: none; width: 7px; height: 7px; border: 1.5px solid currentColor; transform: rotate(45deg); }
html body.cl-landing #hero.cl-hero .cl-hero__lead {
  max-width: 610px; margin: 0 0 20px;
  color: rgba(255, 255, 255, .78); font-size: 15.5px; line-height: 1.95;
}
html body.cl-landing #hero.cl-hero .cl-lead-toggle {
  display: none; align-items: center; gap: 4px; margin: -12px 0 16px; padding: 4px 0;
  border: 0; background: none; color: var(--cl-hi); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer;
}

/* purchase panel */
html body.cl-landing #hero.cl-hero .cl-buy {
  max-width: 640px; padding: 16px;
  border: 1px solid rgba(255, 255, 255, .13); border-radius: var(--cl-radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
  box-shadow: 0 24px 60px -34px rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08);
}
html body.cl-landing #hero.cl-hero .cl-buy__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; margin: 0 2px 14px; }
html body.cl-landing #hero.cl-hero .cl-price { display: grid; gap: 4px; min-width: 0; }
html body.cl-landing #hero.cl-hero .cl-price__label { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .72); font-size: 12.5px; font-weight: 700; line-height: 1.7; }
html body.cl-landing #hero.cl-hero .cl-price__label b {
  padding: 1px 9px; border-radius: 999px; background: rgba(var(--cl-hi-rgb), .16); color: var(--cl-hi); font-size: 11.5px; font-weight: 800;
}
html body.cl-landing #hero.cl-hero .cl-price__old { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 0; color: rgba(255, 255, 255, .55); font-size: 12px; line-height: 1.5; }
html body.cl-landing #hero.cl-hero .cl-price__old small { font-size: inherit; }
html body.cl-landing #hero.cl-hero .cl-price__old del { display: inline; color: rgba(255, 255, 255, .72); font-size: 14px; font-weight: 700; line-height: 1.5; text-decoration: line-through; text-decoration-color: #ff7b72; text-decoration-thickness: 1.5px; word-spacing: .15em; }
html body.cl-landing #hero.cl-hero .cl-price__now { word-spacing: .22em; color: #fff; font-size: clamp(1.55rem, 1.15rem + 1vw, 2.05rem); font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
html body.cl-landing #hero.cl-hero .cl-proof {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; background: rgba(255, 255, 255, .06);
  color: #fff; font-size: 12.5px; line-height: 1.5; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--cl-ease-std), border-color .2s var(--cl-ease-std);
}
html body.cl-landing #hero.cl-hero .cl-proof:hover { background: rgba(255, 255, 255, .11); border-color: rgba(255, 255, 255, .22); }
html body.cl-landing #hero.cl-hero .cl-proof__stars svg { width: 16px; height: 16px; color: #fbbf24; fill: #fbbf24; }
html body.cl-landing #hero.cl-hero .cl-proof__of { color: rgba(255, 255, 255, .6); }
html body.cl-landing #hero.cl-hero .cl-proof__count { padding-inline-start: 8px; border-inline-start: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .8); }

/* buttons (hero + sticky bar) */
body.cl-landing .cl-btn,
body.cl-landing .cl-bar__cta {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 20px; border: 1px solid transparent; border-radius: 14px;
  font: inherit; font-size: 15px; font-weight: 800; line-height: 1.2; white-space: nowrap; text-decoration: none; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform .2s var(--cl-ease-out), box-shadow .25s var(--cl-ease-std), background-color .2s var(--cl-ease-std), border-color .2s var(--cl-ease-std), color .2s var(--cl-ease-std);
}
body.cl-landing .cl-btn svg, body.cl-landing .cl-bar__cta svg { width: 18px; height: 18px; flex: none; transition: transform .25s var(--cl-ease-out); }
body.cl-landing .cl-btn--primary,
body.cl-landing .cl-bar__cta {
  color: var(--cl-cta-ink);
  background: linear-gradient(135deg, var(--cl-cta-from), var(--cl-cta-mid) 55%, var(--cl-cta-to));
  box-shadow: 0 14px 30px -16px var(--cl-cta-glow), inset 0 1px 0 rgba(255, 255, 255, .45);
}
html body.cl-landing #hero.cl-hero .cl-actions { display: flex; flex-wrap: wrap; gap: 10px; }
html body.cl-landing #hero.cl-hero .cl-actions > .cl-btn--primary,
html body.cl-landing #hero.cl-hero .cl-actions > button[data-advisor-gate-trigger] { flex: 1 1 210px; }
html body.cl-landing #hero.cl-hero .cl-btn--ghost { flex: 0 1 auto; color: #eaf4fb; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); }
@media (hover: hover) {
  body.cl-landing .cl-btn--primary:hover, body.cl-landing .cl-bar__cta:hover { transform: translateY(-1px); box-shadow: 0 18px 36px -16px var(--cl-cta-glow), inset 0 1px 0 rgba(255, 255, 255, .5); }
  body.cl-landing .cl-btn--primary:hover svg, body.cl-landing .cl-bar__cta:hover svg { transform: translateX(-3px); }
  html body.cl-landing #hero.cl-hero .cl-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .38); }
}
body.cl-landing .cl-btn:active, body.cl-landing .cl-bar__cta:active { transform: scale(.98); transition-duration: .08s; }
body.cl-landing .cl-btn:focus-visible, body.cl-landing .cl-bar__cta:focus-visible, html body.cl-landing #hero.cl-hero .cl-proof:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
/* the admission gate turns the advisor trigger into a <button>; keep its look */
html body.cl-landing #hero.cl-hero .cl-actions > button.cl-btn { appearance: none; }

html body.cl-landing #hero.cl-hero .cl-buy__note { display: flex; align-items: center; gap: 6px; margin: 12px 2px 0; color: rgba(255, 255, 255, .6); font-size: 12px; line-height: 1.8; }
html body.cl-landing #hero.cl-hero .cl-buy__note svg { width: 15px; height: 15px; flex: none; color: var(--cl-hi); }

/* media */
html body.cl-landing #hero.cl-hero .cl-hero__media { position: relative; min-width: 0; padding: 0; }
html body.cl-landing #hero.cl-hero .cl-media.intro-video-frame {
  position: relative; margin: 0; padding: 6px; overflow: visible;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 24px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03));
  box-shadow: 0 40px 90px -42px rgba(0, 0, 0, .85);
  opacity: 1; transform: none;
}
html body.cl-landing.postid-18332 #hero.cl-hero .cl-media.intro-video-frame { border-color: rgba(213, 174, 103, .38); }
html body.cl-landing #hero.cl-hero .cl-media.intro-video-frame::before,
html body.cl-landing #hero.cl-hero .cl-media.intro-video-frame::after { content: none; }
html body.cl-landing #hero.cl-hero .cl-media .intro-video-shell { margin: 0; overflow: hidden; border-radius: 18px; }
html body.cl-landing #hero.cl-hero .cl-media .course-hero-cover { margin: 0; overflow: hidden; border-radius: 18px; aspect-ratio: 16 / 9; }
/* the player toolbar sits under the picture: keep it visible so there is never an empty band */
html body.cl-landing #hero.cl-hero .intro-video-player .intro-video-controls { opacity: 1; visibility: visible; }
html body.cl-landing #hero.cl-hero .cl-media__caption {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 12px 6px 0; color: rgba(255, 255, 255, .62); font-size: 12.5px; line-height: 1.7;
}
html body.cl-landing #hero.cl-hero .cl-media__caption > span { display: inline-flex; align-items: center; gap: 6px; }
html body.cl-landing #hero.cl-hero .cl-media__caption svg { width: 15px; height: 15px; }
html body.cl-landing #hero.cl-hero .cl-media__caption a { display: inline-flex; align-items: center; gap: 4px; color: var(--cl-hi); font-weight: 800; text-decoration: none; }

/* facts strip */
html body.cl-landing #hero.cl-hero .cl-hero__facts { max-width: 1240px; margin: 0 auto; padding: 0 32px 40px; }
html body.cl-landing #hero.cl-hero .cl-facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(168px, 1fr)); gap: 1px;
  margin: 0; padding: 0; list-style: none; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; background: rgba(255, 255, 255, .1);
}
html body.cl-landing #hero.cl-hero .cl-fact { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px 16px; background: var(--cl-fact-bg); }
html body.cl-landing #hero.cl-hero .cl-fact__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; background: rgba(var(--cl-hi-rgb), .12); color: var(--cl-hi); }
html body.cl-landing #hero.cl-hero .cl-fact__icon svg { width: 18px; height: 18px; }
html body.cl-landing #hero.cl-hero .cl-fact__text { display: grid; gap: 1px; min-width: 0; }
html body.cl-landing #hero.cl-hero .cl-fact__text small { color: rgba(255, 255, 255, .56); font-size: 11.5px; line-height: 1.6; }
html body.cl-landing #hero.cl-hero .cl-fact__text strong { color: #fff; font-size: 13px; font-weight: 800; line-height: 1.7; }

/* short laptop screens: keep the buttons above the fold */
@media (min-width: 1024px) and (max-height: 820px) {
  html body.cl-landing #hero.cl-hero .cl-hero__inner { padding-top: 22px; padding-bottom: 20px; }
  html body.cl-landing #hero.cl-hero .cl-hero__crumbs { margin-bottom: 10px; }
  html body.cl-landing #hero.cl-hero .cl-hero__chips { margin-bottom: 10px; }
  html body.cl-landing #hero.cl-hero .cl-hero__title { font-size: clamp(1.9rem, 1rem + 2vw, 2.55rem); margin-bottom: 6px; }
  html body.cl-landing #hero.cl-hero .cl-hero__lead { margin-bottom: 14px; font-size: 14.5px; line-height: 1.85; }
  html body.cl-landing #hero.cl-hero .cl-buy { padding: 14px; }
  html body.cl-landing #hero.cl-hero .cl-buy__row { margin-bottom: 10px; }
  html body.cl-landing #hero.cl-hero .cl-price__now { font-size: 1.6rem; }
}

/* ---------- tablet & mobile ---------- */
@media (max-width: 1023px) {
  html body.cl-landing #hero.cl-hero .cl-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 22px; max-width: 760px; padding: 18px 20px 20px; }
  html body.cl-landing #hero.cl-hero .cl-buy { max-width: none; }
  html body.cl-landing #hero.cl-hero .cl-hero__facts { max-width: 760px; padding: 0 20px 28px; }
  html body.cl-landing #hero.cl-hero .cl-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  html body.cl-landing #hero.cl-hero { border-radius: 0 0 24px 24px; }
  html body.cl-landing #hero.cl-hero .cl-hero__inner { padding: 14px 16px 18px; gap: 18px; }
  html body.cl-landing #hero.cl-hero .cl-hero__crumbs { margin-bottom: 10px; font-size: 11px; }
  html body.cl-landing #hero.cl-hero .cl-hero__crumbs > :nth-child(n+4) { display: none; }
  html body.cl-landing #hero.cl-hero .cl-hero__chips { margin-bottom: 10px; }
  html body.cl-landing #hero.cl-hero .cl-chip { min-height: 28px; font-size: 11.5px; padding: 3px 10px; }
  html body.cl-landing #hero.cl-hero .cl-hero__title { font-size: clamp(1.7rem, 1.1rem + 3vw, 2.2rem); line-height: 1.42; margin-bottom: 8px; }
  html body.cl-landing #hero.cl-hero .cl-hero__statement { font-size: 14px; }
  html body.cl-landing #hero.cl-hero .cl-hero__lead { margin-bottom: 14px; font-size: 14px; line-height: 1.9; }
  html body.cl-landing #hero.cl-hero .cl-hero__lead.is-clamped { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  html body.cl-landing #hero.cl-hero .cl-lead-toggle.is-shown { display: inline-flex; }
  html body.cl-landing #hero.cl-hero .cl-buy { padding: 14px; border-radius: 18px; }
  html body.cl-landing #hero.cl-hero .cl-buy__row { margin-bottom: 12px; }
  html body.cl-landing #hero.cl-hero .cl-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  html body.cl-landing #hero.cl-hero .cl-actions > :first-child { grid-column: 1 / -1; }
  html body.cl-landing #hero.cl-hero .cl-actions > :nth-child(4) { display: none; }
  body.cl-landing .cl-btn { min-height: 48px; padding: 0 12px; font-size: 14px; border-radius: 13px; }
  html body.cl-landing #hero.cl-hero .cl-actions > :first-child { min-height: 52px; font-size: 15px; }
  html body.cl-landing #hero.cl-hero .cl-media__caption { display: none; }
  html body.cl-landing #hero.cl-hero .cl-media.intro-video-frame { padding: 4px; border-radius: 18px; }
  html body.cl-landing #hero.cl-hero .cl-media .intro-video-shell,
  html body.cl-landing #hero.cl-hero .cl-media .course-hero-cover { border-radius: 14px; }
  html body.cl-landing #hero.cl-hero .cl-hero__facts { padding: 0 16px 22px; }
  html body.cl-landing #hero.cl-hero .cl-fact { padding: 11px 12px; gap: 9px; }
  html body.cl-landing #hero.cl-hero .cl-fact__icon { width: 32px; height: 32px; border-radius: 10px; }
  html body.cl-landing #hero.cl-hero .cl-fact__icon svg { width: 16px; height: 16px; }
  html body.cl-landing #hero.cl-hero .cl-fact__text strong { font-size: 12.5px; }
}

/* ---------- desktop sticky purchase bar ---------- */
body.cl-landing .cl-bar { display: none; }
@media (min-width: 1024px) {
  body.cl-landing .cl-bar {
    position: fixed; left: 50%; bottom: 18px; z-index: 58;
    display: flex; align-items: center; gap: 18px;
    width: min(700px, calc(100% - 380px)); padding: 10px 10px 10px 10px; padding-inline-start: 20px;
    border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px;
    background: rgba(8, 30, 49, .96); color: #fff;
    box-shadow: 0 26px 60px -24px rgba(4, 20, 35, .6);
    transform: translate3d(-50%, calc(100% + 28px), 0); opacity: 0; visibility: hidden;
    transition: transform .5s var(--cl-ease-out), opacity .3s var(--cl-ease-std), visibility 0s linear .5s;
  }
  body.cl-landing .cl-bar.is-visible { transform: translate3d(-50%, 0, 0); opacity: 1; visibility: visible; transition: transform .5s var(--cl-ease-out), opacity .3s var(--cl-ease-std), visibility 0s; }
  body.cl-landing .cl-bar__info { display: grid; gap: 1px; min-width: 0; margin-inline-end: auto; }
  body.cl-landing .cl-bar__info strong { overflow: hidden; font-size: 14px; font-weight: 800; line-height: 1.7; white-space: nowrap; text-overflow: ellipsis; }
  body.cl-landing .cl-bar__info span { color: var(--cl-hi); font-size: 13px; font-weight: 700; line-height: 1.6; }
  body.cl-landing .cl-bar__link { color: rgba(255, 255, 255, .78); font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: color .2s; }
  body.cl-landing .cl-bar__link:hover { color: #fff; }
  body.cl-landing .cl-bar__cta { min-height: 46px; padding: 0 18px; border-radius: 12px; font-size: 14px; }
  /* the bar replaces the floating "خرید دوره" button on these two pages */
  body.cl-landing .global-action-island { display: none; }
}

/* ---------- mobile dock: only after the hero buttons scroll away ---------- */
@media (max-width: 767px) {
  body.cl-landing .product-mobile-dock { transition: transform .4s var(--cl-ease-out), opacity .25s var(--cl-ease-std); will-change: transform; }
  body.cl-landing.cl-cta-onscreen .product-mobile-dock { transform: translate3d(0, 110%, 0); opacity: 0; pointer-events: none; }
}

/* ---------- arrival highlight on the payment section ---------- */
body.cl-landing #pricing.cl-arrive .lift-card { animation: clArrive 1.5s var(--cl-ease-out) .1s both; }
@keyframes clArrive {
  0% { box-shadow: 0 0 0 0 rgba(251, 168, 48, 0); }
  30% { box-shadow: 0 0 0 4px rgba(251, 168, 48, .6); }
  100% { box-shadow: 0 0 0 0 rgba(251, 168, 48, 0); }
}

/* ---------- page-wide motion tuning ---------- */
body.cl-landing .reveal { transition: opacity .55s var(--cl-ease-std), transform .7s var(--cl-ease-out); }
html.reveal-enabled body.cl-landing .reveal:not(.in) { opacity: 0; transform: translate3d(0, 14px, 0); }
body.cl-landing .acc-body { transition: max-height .4s var(--cl-ease-std); }
body.cl-landing .acc-icon { transition: transform .3s var(--cl-ease-std); }
body.cl-landing .lift-card { transition: transform .35s var(--cl-ease-out), box-shadow .35s var(--cl-ease-std), border-color .25s var(--cl-ease-std); }
@media (hover: none) { body.cl-landing .lift-card:hover, body.cl-landing .btn:hover { transform: none; } }
body.cl-landing main .btn { transition: transform .2s var(--cl-ease-out), box-shadow .25s var(--cl-ease-std), filter .2s var(--cl-ease-std), background-color .2s var(--cl-ease-std); }
body.cl-landing main .btn:active { transform: scale(.98); transition-duration: .08s; }
/* section numbers no longer follow the on-screen order (mobile moves payment up) */
body.cl-landing main .sec-num { display: none; }

@media (prefers-reduced-motion: reduce) {
  body.cl-landing .cl-btn, body.cl-landing .cl-bar, body.cl-landing .cl-bar__cta, body.cl-landing .product-mobile-dock,
  body.cl-landing .reveal, body.cl-landing .acc-body, body.cl-landing .acc-icon, body.cl-landing .lift-card, body.cl-landing main .btn { transition: none; }
  body.cl-landing #pricing.cl-arrive .lift-card { animation: none; }
  html.reveal-enabled body.cl-landing .reveal:not(.in) { opacity: 1; transform: none; }
}

/* =====================================================================
 * v2 — badges on the video, two-line titles, controls that step aside
 * while playing, Reels players, app-style mobile, richer motion.
 * ===================================================================== */

/* ---------- exact anchor landing, even before the script runs ---------- */
html:has(body.cl-v2) { scroll-padding-top: 64px; }
body.cl-v2 main > section, body.cl-v2 main [id] { scroll-margin-top: 0 !important; }
@media (max-width: 767px) { html:has(body.cl-v2) { scroll-padding-top: 118px; } }

/* ---------- hero title: two lines ---------- */
html body.cl-v2 #hero.cl-hero .cl-hero__title { display: grid; gap: 2px; margin-bottom: 12px; }
html body.cl-v2 #hero.cl-hero .cl-hero__line { display: block; }
html body.cl-v2 #hero.cl-hero .cl-hero__line--lead { color: rgba(255, 255, 255, .8); font-size: .56em; font-weight: 700; line-height: 1.55; letter-spacing: 0; }
html body.cl-v2 #hero.cl-hero .cl-hero__line--main { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; line-height: 1.3; }
html body.cl-v2.postid-17030 #hero.cl-hero .cl-hero__emphasis { color: #fff; }
html body.cl-v2 #hero.cl-hero .cl-cohort {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border: 1px solid rgba(var(--cl-hi-rgb), .38); border-radius: 999px;
  background: rgba(var(--cl-hi-rgb), .1); color: var(--cl-hi);
  font-family: IRANSansX, IRANSans, Tahoma, sans-serif; font-size: 14px; font-weight: 800; line-height: 1.6; letter-spacing: 0; white-space: nowrap;
}
html body.cl-v2 #hero.cl-hero .cl-cohort svg { width: 16px; height: 16px; }

/* ---------- course badge on the video (hidden while it plays) ---------- */
html body.cl-v2 #hero.cl-hero .cl-media__badge {
  position: absolute; top: 18px; right: 18px; z-index: 12; display: inline-flex; align-items: center; gap: 7px;
  max-width: calc(100% - 36px); padding: 7px 14px; border-radius: 999px;
  background: linear-gradient(135deg, var(--cl-cta-from), var(--cl-cta-mid)); color: var(--cl-cta-ink);
  font-size: 12.5px; font-weight: 800; line-height: 1.6; white-space: nowrap; pointer-events: none;
  box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .6);
  transition: opacity .35s var(--cl-ease-std), transform .45s var(--cl-ease-out);
}
html body.cl-v2 #hero.cl-hero .cl-media__badge svg { width: 15px; height: 15px; flex: none; }
html body.cl-v2 #hero.cl-hero .cl-media.cl-playing .cl-media__badge,
html body.cl-v2 #hero.cl-hero .cl-media:has(.intro-video-player.is-playing) .cl-media__badge { opacity: 0; transform: translate3d(0, -10px, 0) scale(.96); }

/* ---------- hero player: controls float over the picture and step aside while playing ---------- */
html body.cl-v2 #hero.cl-hero .intro-video-player.is-premium .intro-video-shell { position: relative; }
html body.cl-v2 #hero.cl-hero .intro-video-player.is-premium .intro-video-controls {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 9; padding: 30px 12px 10px; border: 0;
  background: linear-gradient(180deg, transparent, rgba(2, 14, 25, .86)); opacity: 1; visibility: visible;
  transition: opacity .35s var(--cl-ease-std), transform .4s var(--cl-ease-out), visibility 0s;
}
html body.cl-v2 #hero.cl-hero .intro-video-player.is-premium:not(.has-started) .intro-video-controls { opacity: 0; visibility: hidden; transform: translate3d(0, 8px, 0); }
html body.cl-v2 #hero.cl-hero .intro-video-player.is-playing .mrtax-player-toggle { display: none; }
html body.cl-v2 #hero.cl-hero .intro-video-player.cl-idle .intro-video-controls { opacity: 0; transform: translate3d(0, 10px, 0); pointer-events: none; }
html body.cl-v2 #hero.cl-hero .intro-video-player.cl-idle { cursor: none; }
html body.cl-v2 #hero.cl-hero .intro-video-overlay { transition: opacity .35s var(--cl-ease-std); }

/* sample-lesson player (expert): same behaviour */
body.cl-v2 .expert-sample-player .expert-sample-controls { transition: opacity .35s var(--cl-ease-std), transform .4s var(--cl-ease-out); }
body.cl-v2 .expert-sample-player.is-playing #expertSampleToggle { opacity: 0 !important; width: 0 !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; margin-inline-end: -8px; overflow: hidden; pointer-events: none; }
body.cl-v2 .expert-sample-player.cl-idle :is(.expert-sample-controls, .expert-sample-caption) { opacity: 0 !important; transform: translate3d(0, 10px, 0); pointer-events: none; }
body.cl-v2 .expert-sample-player.cl-idle { cursor: none; }

/* ---------- Reels (instructor + student videos) ---------- */
body.cl-v2 .cl-reels { padding: clamp(48px, 7vw, 88px) 0; background: linear-gradient(180deg, #f4f8fc, #fff); color: #0b2236; }
body.cl-v2 .cl-reels + .cl-reels { background: #fff; }
body.cl-v2 .cl-reels__inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
body.cl-v2 .cl-reels__head { margin: 0 auto 32px; text-align: center; }
body.cl-v2 .cl-reels__eyebrow {
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 14px; border-radius: 999px;
  background: linear-gradient(135deg, rgba(221, 42, 123, .1), rgba(129, 52, 175, .1), rgba(245, 133, 41, .12)); color: #9b2a6f; font-size: 12.5px; font-weight: 800;
}
body.cl-v2 .cl-reels__eyebrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.cl-v2 .cl-reels__head h2 { margin: 12px 0 8px; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.5; color: #0b2236; }
body.cl-v2 .cl-reels__head p { margin: 0 auto; max-width: 560px; color: #5b6b7b; font-size: 15px; line-height: 1.9; }
body.cl-v2 .cl-reels__rail { position: relative; }
body.cl-v2 .cl-reels__track {
  display: flex; gap: 18px; justify-content: center; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 24px; padding: 6px 4px 14px; scrollbar-width: none;
}
body.cl-v2 .cl-reels__track::-webkit-scrollbar { display: none; }
body.cl-v2 .cl-reels__rail[data-count="4"] .cl-reels__track,
body.cl-v2 .cl-reels__rail[data-count="5"] .cl-reels__track,
body.cl-v2 .cl-reels__rail.is-scrollable .cl-reels__track { justify-content: flex-start; }
body.cl-v2 .cl-reel { flex: 0 0 min(290px, 30%); margin: 0; scroll-snap-align: start; }
body.cl-v2 .cl-reel__frame {
  position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 9 / 16; border-radius: 18px; background: #000;
  box-shadow: 0 22px 44px -26px rgba(4, 20, 35, .7);
  transition: transform .45s var(--cl-ease-out), box-shadow .45s var(--cl-ease-std);
}
@media (hover: hover) { body.cl-v2 .cl-reel__frame:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -26px rgba(4, 20, 35, .75); } }
body.cl-v2 .cl-reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; direction: ltr; cursor: pointer; }
body.cl-v2 .cl-reel__shade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .42) 0, transparent 22%, transparent 55%, rgba(0, 0, 0, .78) 100%);
  transition: opacity .4s var(--cl-ease-std);
}
body.cl-v2 .cl-reel__tag { position: absolute; top: 14px; right: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-size: 13px; font-weight: 800; text-shadow: 0 1px 6px rgba(0, 0, 0, .45); pointer-events: none; transition: opacity .35s; }
body.cl-v2 .cl-reel__tag svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.cl-v2 .cl-reel__meta {
  position: absolute; right: 14px; left: 62px; bottom: 20px; z-index: 3; display: flex; align-items: center; gap: 10px;
  margin: 0; padding: 0; color: #fff; text-align: right; pointer-events: none; transition: opacity .35s, transform .4s var(--cl-ease-out);
}
body.cl-v2 .cl-reel__avatar {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; padding: 2px; border-radius: 50%;
  background: conic-gradient(from 210deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
}
body.cl-v2 .cl-reel__avatar > * { display: grid; place-items: center; width: 100%; height: 100%; border: 2px solid #000; border-radius: 50%; background: #0b3a5c; color: #fff; font-size: 15px; font-weight: 800; object-fit: cover; object-position: top; }
body.cl-v2 .cl-reel__who { display: grid; gap: 1px; min-width: 0; }
body.cl-v2 .cl-reel__who strong { overflow: hidden; font-size: 14px; font-weight: 800; line-height: 1.6; white-space: nowrap; text-overflow: ellipsis; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
body.cl-v2 .cl-reel__who small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: rgba(255, 255, 255, .85); font-size: 12px; line-height: 1.7; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
/* built by the script */
body.cl-v2 .cl-reel__center {
  position: absolute; top: 50%; left: 50%; z-index: 4; display: grid; place-items: center; width: 68px; height: 68px; margin: -34px 0 0 -34px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(0, 0, 0, .38); color: #fff; cursor: pointer;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: opacity .3s var(--cl-ease-std), transform .35s var(--cl-ease-out);
}
body.cl-v2 .cl-reel__center svg { width: 30px; height: 30px; fill: currentColor; transform: translateX(2px); }
body.cl-v2 .cl-reel.is-playing .cl-reel__center { opacity: 0; transform: scale(.7); pointer-events: none; }
body.cl-v2 .cl-reel__flash { position: absolute; top: 50%; left: 50%; z-index: 4; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: rgba(0, 0, 0, .35); color: #fff; opacity: 0; pointer-events: none; }
body.cl-v2 .cl-reel__flash svg { width: 28px; height: 28px; fill: currentColor; }
body.cl-v2 .cl-reel__flash.is-on { animation: clFlash .6s var(--cl-ease-out); }
@keyframes clFlash { 0% { opacity: 0; transform: scale(.6); } 25% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.25); } }
body.cl-v2 .cl-reel__side { position: absolute; left: 12px; bottom: 20px; z-index: 4; display: flex; flex-direction: column; gap: 14px; transition: opacity .35s, transform .4s var(--cl-ease-out); }
body.cl-v2 .cl-reel__side button {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .3); color: #fff; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .2s var(--cl-ease-out), background-color .2s;
}
body.cl-v2 .cl-reel__side button:active { transform: scale(.9); }
body.cl-v2 .cl-reel__side svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.cl-v2 .cl-reel__progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; height: 18px; cursor: pointer; direction: ltr; touch-action: none; }
body.cl-v2 .cl-reel__progress::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, .28); }
body.cl-v2 .cl-reel__progress > span { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #fff; transform-origin: left center; transform: scaleX(var(--p, 0)); }
body.cl-v2 .cl-reel__status { position: absolute; top: 50px; left: 12px; right: 12px; z-index: 6; margin: 0; padding: 6px 10px; border-radius: 10px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 12px; text-align: center; }
body.cl-v2 .cl-reel__status:empty { display: none; }
/* while playing and untouched: only the picture and the progress line */
body.cl-v2 .cl-reel.is-playing.cl-idle :is(.cl-reel__meta, .cl-reel__side, .cl-reel__tag) { opacity: 0; transform: translate3d(0, 6px, 0); }
body.cl-v2 .cl-reel.is-playing.cl-idle .cl-reel__shade { opacity: .35; }
body.cl-v2 .cl-reel.is-playing.cl-idle video { cursor: none; }
body.cl-v2 .cl-reel :is(button, .cl-reel__progress):focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
body.cl-v2 .cl-reel__frame:fullscreen { aspect-ratio: auto; width: 100%; height: 100%; border-radius: 0; }
body.cl-v2 .cl-reel__frame:fullscreen video { object-fit: contain; }
body.cl-v2 .cl-reels__nav {
  position: absolute; top: 50%; z-index: 6; display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0;
  border: 1px solid #dbe6ef; border-radius: 50%; background: #fff; color: #0b2236; cursor: pointer; box-shadow: 0 10px 24px -14px rgba(4, 34, 59, .5);
  transition: transform .2s var(--cl-ease-out), opacity .2s;
}
body.cl-v2 .cl-reels__nav:hover { transform: scale(1.06); }
body.cl-v2 .cl-reels__nav[disabled] { opacity: .35; cursor: default; transform: none; }
body.cl-v2 .cl-reels__nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
body.cl-v2 .cl-reels__nav--prev { right: -18px; }
body.cl-v2 .cl-reels__nav--next { left: -18px; }
body.cl-v2 .cl-reels__dots { display: none; justify-content: center; gap: 6px; margin-top: 6px; }
body.cl-v2 .cl-reels__dots i { width: 6px; height: 6px; border-radius: 99px; background: #c9d6e2; transition: width .35s var(--cl-ease-out), background-color .3s; }
body.cl-v2 .cl-reels__dots i.is-on { width: 20px; background: #0b3a5c; }
@media (max-width: 767px) {
  body.cl-v2 .cl-reels__inner { padding: 0; }
  body.cl-v2 .cl-reels__head { padding: 0 16px; margin-bottom: 18px; text-align: right; }
  body.cl-v2 .cl-reels__head p { margin: 0; }
  body.cl-v2 .cl-reels__track { justify-content: flex-start; gap: 12px; padding: 4px 16px 12px; scroll-padding-inline: 16px; }
  body.cl-v2 .cl-reel { flex: 0 0 68%; }
  body.cl-v2 .cl-reels__nav { display: none; }
  body.cl-v2 .cl-reels__dots { display: flex; }
}

/* ---------- professional section rhythm (desktop + mobile) ---------- */
body.cl-v2 main > section > [class*="max-w-"] > .reveal.text-center:first-child { margin-bottom: 40px; }
body.cl-v2 main > section > [class*="max-w-"] > .reveal.text-center:first-child h2 { margin-bottom: 10px; color: #0b2236; font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.3rem); line-height: 1.5; letter-spacing: -.01em; }
body.cl-v2 main > section#pricing > [class*="max-w-"] > .reveal.text-center:first-child h2 { color: #fff; }
body.cl-v2 main > section > [class*="max-w-"] > .reveal.text-center:first-child p { max-width: 640px; font-size: 15.5px; line-height: 1.95; }
body.cl-v2 main > section > [class*="max-w-"] > .reveal.text-center:first-child > .flex:first-child > span:not(.sec-num) { padding: 5px 14px; font-size: 12.5px; letter-spacing: .01em; }
body.cl-v2 main .lift-card:not(.is-dark) {
  border: 1px solid #e3ecf4; border-radius: 20px; background: #fff;
  box-shadow: 0 1px 2px rgba(4, 34, 59, .04), 0 18px 40px -30px rgba(4, 34, 59, .3);
}
body.cl-v2 main .lift-card:not(.is-dark)::before { opacity: 0; }
@media (hover: hover) {
  body.cl-v2 main .lift-card:not(.is-dark):hover { transform: translate3d(0, -4px, 0); border-color: #cddfee; box-shadow: 0 2px 4px rgba(4, 34, 59, .04), 0 26px 50px -30px rgba(4, 34, 59, .38); }
  body.cl-v2 main .lift-card:hover .icon-box { transform: scale(1.06) rotate(-3deg); }
}
body.cl-v2 main .icon-box { transition: transform .4s var(--cl-ease-out); }
body.cl-v2 #chapterList > * { border-radius: 16px; transition: border-color .25s var(--cl-ease-std), box-shadow .3s var(--cl-ease-std); }
body.cl-v2 #chapterList > *:has(.acc-trigger[aria-expanded="true"]) { border-color: #bcd6ea; box-shadow: 0 16px 36px -28px rgba(4, 34, 59, .4); }

/* FAQ: first six, then "show all" */
body.cl-v2 #faqList.cl-faq-folded > .product-faq-item:nth-child(n+7) { display: none; }
body.cl-v2 .cl-faq-more {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin-top: 12px;
  border: 1px dashed #b9d0e3; border-radius: 16px; background: #f7fbfe; color: #0b4f7d; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
body.cl-v2 .cl-faq-more:hover { background: #eef6fc; border-color: #0167ad; }

/* ---------- entrance + scroll motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  html body.cl-v2 #hero.cl-hero :is(.cl-hero__crumbs, .cl-hero__line, .cl-hero__statement, .cl-hero__lead, .cl-buy) { animation: clRise .8s var(--cl-ease-out) both; }
  html body.cl-v2 #hero.cl-hero .cl-hero__line--lead { animation-delay: .04s; }
  html body.cl-v2 #hero.cl-hero .cl-hero__line--main { animation-delay: .1s; }
  html body.cl-v2 #hero.cl-hero .cl-hero__statement { animation-delay: .16s; }
  html body.cl-v2 #hero.cl-hero .cl-hero__lead { animation-delay: .2s; }
  html body.cl-v2 #hero.cl-hero .cl-buy { animation-delay: .26s; }
  html body.cl-v2 #hero.cl-hero .cl-hero__media { animation: clZoom 1s var(--cl-ease-out) .12s both; }
  /* backwards (not both): once it has appeared, the badge is free to fade out while the video plays */
  html body.cl-v2 #hero.cl-hero .cl-media__badge { animation: clPop .7s var(--cl-ease-out) .55s backwards; }
  html body.cl-v2 #hero.cl-hero .cl-fact { animation: clRise .7s var(--cl-ease-out) both; }
  html body.cl-v2 #hero.cl-hero .cl-fact:nth-child(1) { animation-delay: .3s; }
  html body.cl-v2 #hero.cl-hero .cl-fact:nth-child(2) { animation-delay: .35s; }
  html body.cl-v2 #hero.cl-hero .cl-fact:nth-child(3) { animation-delay: .4s; }
  html body.cl-v2 #hero.cl-hero .cl-fact:nth-child(4) { animation-delay: .45s; }
  html body.cl-v2 #hero.cl-hero .cl-fact:nth-child(5) { animation-delay: .5s; }
  html body.cl-v2 #hero.cl-hero .cl-fact:nth-child(6) { animation-delay: .55s; }
  html body.cl-v2 #hero.cl-hero .cl-fact:nth-child(n+7) { animation-delay: .6s; }
  /* scroll reveal, owned by course-landing-v2.js (one pass, staggered per group) */
  body.cl-v2 [data-cl-reveal] { transition: opacity .7s var(--cl-ease-std) var(--cl-d, 0s), transform .9s var(--cl-ease-out) var(--cl-d, 0s); }
  body.cl-v2 [data-cl-reveal]:not(.cl-in) { opacity: 0 !important; transform: translate3d(0, 26px, 0) scale(.985) !important; }
  body.cl-v2 [data-cl-reveal].cl-in { opacity: 1; transform: none; }
}
@keyframes clRise { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes clZoom { from { opacity: 0; transform: translate3d(0, 14px, 0) scale(.965); } to { opacity: 1; transform: none; } }
@keyframes clPop { from { opacity: 0; transform: translate3d(0, -8px, 0) scale(.9); } to { opacity: 1; transform: none; } }

/* ---------- mobile: the feel of a learning app ---------- */
@media (max-width: 767px) {
  /* hero: title, then the video, then price + buttons */
  html body.cl-v2 #hero.cl-hero .cl-hero__inner { display: flex; flex-direction: column; gap: 0; padding: 18px 16px 20px; }
  html body.cl-v2 #hero.cl-hero .cl-hero__copy { display: contents; }
  html body.cl-v2 #hero.cl-hero :is(.cl-hero__crumbs, .cl-hero__lead, .cl-lead-toggle) { display: none !important; }
  html body.cl-v2 #hero.cl-hero .cl-hero__title { order: 1; margin-bottom: 6px; font-size: clamp(1.75rem, 1.15rem + 3vw, 2.2rem); }
  html body.cl-v2 #hero.cl-hero .cl-hero__line--lead { font-size: .6em; }
  html body.cl-v2 #hero.cl-hero .cl-cohort { font-size: 12.5px; padding: 3px 10px; }
  html body.cl-v2 #hero.cl-hero .cl-hero__statement { order: 2; margin: 0 0 4px; font-size: 13.5px; }
  html body.cl-v2 #hero.cl-hero .cl-hero__media { order: 3; margin: 12px 0 14px; }
  html body.cl-v2 #hero.cl-hero .cl-buy { order: 4; }
  html body.cl-v2 #hero.cl-hero .cl-media__badge { top: 12px; right: 12px; padding: 5px 11px; font-size: 11.5px; }
  html body.cl-v2 #hero.cl-hero .cl-buy__row { flex-wrap: nowrap; align-items: center; }
  html body.cl-v2 #hero.cl-hero .cl-proof { display: grid; grid-template-columns: auto auto; justify-items: center; align-items: center; gap: 0 4px; min-height: 0; padding: 7px 12px; border-radius: 14px; font-size: 12px; line-height: 1.5; }
  html body.cl-v2 #hero.cl-hero .cl-proof__of { display: none; }
  html body.cl-v2 #hero.cl-hero .cl-proof__count { grid-column: 1 / -1; padding: 0; border: 0; font-size: 11px; }

  /* app canvas: sections become rounded sheets */
  body.cl-v2 main { background: #edf2f7; padding-bottom: 96px; }
  body.cl-v2 main > :is(section, details):not(#hero) { margin: 12px 12px 0; border-radius: 24px; overflow: hidden; box-shadow: 0 1px 2px rgba(4, 34, 59, .05); }
  body.cl-v2 main > section:is(.bg-surface, .bg-white, .product-faq-section, .expert-sample-section, .course-instructors, .mrtax-comments-section) { background: #fff; }
  body.cl-v2 main > section[class*="py-"] { padding-block: 26px; }
  body.cl-v2 main > section > [class*="max-w-"] { padding-inline: 16px; }
  body.cl-v2 main > section > [class*="max-w-"] > .reveal.text-center:first-child { margin-bottom: 18px; text-align: right !important; }
  body.cl-v2 main > section > [class*="max-w-"] > .reveal.text-center:first-child > .flex:first-child { justify-content: flex-start; }
  body.cl-v2 main > section > [class*="max-w-"] > .reveal.text-center:first-child :is(h2, p) { text-align: right !important; margin-inline: 0; }
  body.cl-v2 main > section > [class*="max-w-"] > .reveal.text-center:first-child h2 { font-size: 21px; line-height: 1.6; }
  body.cl-v2 main > section > [class*="max-w-"] > .reveal.text-center:first-child p { font-size: 13.5px; line-height: 1.9; }
  body.cl-v2 main .lift-card:not(.is-dark) { border-radius: 18px; box-shadow: 0 1px 2px rgba(4, 34, 59, .05), 0 12px 26px -22px rgba(4, 34, 59, .35); }

  /* swipeable rows instead of long stacks */
  body.cl-v2 :is(#audience, #outcomes) .grid { display: flex; gap: 12px; margin-inline: -16px; padding: 4px 16px 10px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; }
  body.cl-v2 :is(#audience, #outcomes) .grid::-webkit-scrollbar { display: none; }
  body.cl-v2 :is(#audience, #outcomes) .grid > * { flex: 0 0 78%; scroll-snap-align: start; margin: 0; }

  /* folded sections read as app list rows */
  body.cl-v2 details.product-mobile-detail { background: #fff; border: 0; }
  body.cl-v2 details.product-mobile-detail > summary {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; padding: 14px 18px;
    color: #0b2236; font-size: 14.5px; font-weight: 800; list-style: none; cursor: pointer;
  }
  body.cl-v2 details.product-mobile-detail > summary::-webkit-details-marker { display: none; }
  body.cl-v2 details.product-mobile-detail > summary::after {
    content: ""; flex: none; width: 9px; height: 9px; margin-inline-end: 4px;
    border-left: 2px solid #7a8da0; border-bottom: 2px solid #7a8da0; transform: rotate(-45deg); transition: transform .35s var(--cl-ease-out);
  }
  body.cl-v2 details.product-mobile-detail[open] > summary::after { transform: rotate(135deg); }
  body.cl-v2 details.product-mobile-detail > summary::before { display: none; }

  /* segmented section switcher under the header */
  body.cl-v2 .product-mobile-nav {
    position: sticky; top: calc(var(--product-header-bottom, 61px) + 6px); z-index: 35; display: grid; margin: 10px 12px 0; padding: 4px;
    border: 1px solid rgba(4, 34, 59, .07); border-radius: 16px; background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: 0 12px 28px -20px rgba(4, 34, 59, .55);
  }
  body.cl-v2 .product-mobile-nav a { position: relative; z-index: 1; min-height: 40px; border-radius: 12px; color: #4a5d70; font-size: 12.5px; transition: color .3s var(--cl-ease-std); }
  body.cl-v2 .product-mobile-nav a.is-active { color: #fff; }
  body.cl-v2 .cl-nav-pill {
    position: absolute; top: 4px; bottom: 4px; right: 0; z-index: 0; width: 0; border-radius: 12px;
    background: linear-gradient(135deg, #0b4f7d, #093556); box-shadow: 0 8px 18px -10px rgba(9, 53, 86, .8);
    transition: transform .45s var(--cl-ease-out), width .45s var(--cl-ease-out), opacity .3s;
  }
  body.cl-v2 .cl-nav-progress { position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px; overflow: hidden; border-radius: 2px; pointer-events: none; }
  body.cl-v2 .cl-nav-progress > span { display: block; height: 100%; background: linear-gradient(90deg, #fba830, #ffd08a); transform-origin: right center; transform: scaleX(var(--cl-progress, 0)); }

  /* app-style purchase bar */
  body.cl-v2 .product-mobile-dock {
    inset-inline: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 10px 10px 10px 16px;
    border: 1px solid rgba(4, 34, 59, .08); border-radius: 20px; background: rgba(255, 255, 255, .95);
    -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
    box-shadow: 0 20px 44px -18px rgba(4, 34, 59, .55);
  }
  body.cl-v2 .product-mobile-dock__action { min-height: 48px; padding-inline: 20px; border-radius: 14px; background: linear-gradient(135deg, #ffcf85, #fba830 55%, #ee9716); box-shadow: 0 10px 22px -12px rgba(251, 168, 48, .9); }
  body.cl-v2.postid-18332 .product-mobile-dock__action { background: linear-gradient(135deg, #f4dfae, #e1bd72 55%, #c89a4f); color: #152234; }
  body.cl-v2.cl-cta-onscreen .product-mobile-dock { transform: translate3d(0, calc(100% + 24px), 0); }
}

@media (prefers-reduced-motion: reduce) {
  body.cl-v2 :is(.cl-reel__frame, .cl-reel__center, .cl-reel__side, .cl-reel__meta, .cl-nav-pill, .cl-media__badge) { transition: none; }
  body.cl-v2 .cl-reel__flash.is-on { animation: none; }
}

/* advisor-premium.css hides "#hero > div:last-child" (the old wave); the facts strip must stay visible */
html body.cl-landing #hero.cl-hero > .cl-hero__facts { display: block; }
@media (max-width: 1023px) { html body.cl-landing #hero.cl-hero .cl-fact:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* =====================================================================
 * v2.1 — badge at the bottom of the video, certificates album, warning
 * prerequisite, readable mobile purchase bar, lighter rendering.
 * ===================================================================== */

/* course badge: bottom-centre of the video; gone once playback has started */
html body.cl-v2 #hero.cl-hero .cl-media__badge { top: auto; right: auto; left: 50%; bottom: 18px; transform: translate3d(-50%, 0, 0); }
html body.cl-v2 #hero.cl-hero .cl-media:is(.cl-playing, .cl-started) .cl-media__badge,
html body.cl-v2 #hero.cl-hero .cl-media:has(.intro-video-player:is(.is-playing, .has-started)) .cl-media__badge { opacity: 0; transform: translate3d(-50%, 10px, 0) scale(.96); }
@media (prefers-reduced-motion: no-preference) {
  html body.cl-v2 #hero.cl-hero .cl-media__badge { animation: clPopCenter .7s var(--cl-ease-out) .55s backwards; }
}
@keyframes clPopCenter { from { opacity: 0; transform: translate3d(-50%, 10px, 0) scale(.9); } to { opacity: 1; transform: translate3d(-50%, 0, 0); } }
@media (max-width: 767px) { html body.cl-v2 #hero.cl-hero .cl-media__badge { top: auto; right: auto; bottom: 12px; } }

/* prerequisite of the advisor path: a real warning */
body.cl-v2 .course-prerequisite--warning {
  position: relative; max-width: 880px; padding: 20px 22px; align-items: flex-start;
  border: 1px solid #f5b8a5; border-inline-start: 5px solid #e4572e; border-radius: 18px;
  background: linear-gradient(135deg, #fff5f0, #fffaf5); box-shadow: 0 16px 34px -26px rgba(196, 64, 24, .55);
}
body.cl-v2 .course-prerequisite--warning .icon-box { width: 44px; height: 44px; border-radius: 14px; background: #e4572e; color: #fff; box-shadow: 0 8px 18px -8px rgba(228, 87, 46, .8); }
body.cl-v2 .course-prerequisite--warning h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; color: #9a2f12; font-size: 16px; }
body.cl-v2 .course-prerequisite--warning h3::before { content: "هشدار"; padding: 1px 9px; border-radius: 999px; background: #e4572e; color: #fff; font-size: 11.5px; font-weight: 800; line-height: 1.8; }
body.cl-v2 .course-prerequisite--warning p { color: #6b3a2a; font-size: 14px; line-height: 2; }

/* mobile purchase bar: dark bar, bright button — clearly separate and easy to read */
@media (max-width: 767px) {
  body.cl-v2 .product-mobile-dock { border-color: rgba(255, 255, 255, .08); background: #0b2236; box-shadow: 0 18px 40px -16px rgba(4, 20, 35, .7); -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.cl-v2 .product-mobile-dock__price small { color: rgba(255, 255, 255, .62); }
  body.cl-v2 .product-mobile-dock__price strong { color: #fff; }
  body.cl-v2 .product-mobile-dock__action { color: #2b1a00; font-weight: 900; background: linear-gradient(135deg, #ffd08a, #fba830 55%, #f39a17); box-shadow: 0 10px 22px -10px rgba(251, 168, 48, .95), inset 0 1px 0 rgba(255, 255, 255, .5); }
  body.cl-v2.postid-18332 .product-mobile-dock__action { color: #152234; background: linear-gradient(135deg, #f7e4b6, #e6c27a 55%, #cfa257); }
}

/* rendering cost: no live blur on elements that sit over scrolling content */
@media (max-width: 767px) {
  body.cl-v2 .product-mobile-nav { background: rgba(255, 255, 255, .98); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
body.cl-v2 :is(.cl-reel__center, .cl-reel__side button) { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(0, 0, 0, .42); }
/* sections after the payment block render only when they come near the screen */
body.cl-v2 :is(#faq, #callback, #mrtax-comments) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* continuous promo animations pause while off screen */
.cl-anim-paused, .cl-anim-paused * { animation-play-state: paused !important; }

/* ---------- certificates: stacked samples + album ---------- */
body.cl-v2 .cl-certs { position: relative; }
body.cl-v2 .cl-certs__stack {
  position: relative; display: block; width: 100%; aspect-ratio: 10 / 8; padding: 0; border: 0; background: none; cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
body.cl-v2 .cl-cert {
  position: absolute; inset: 6% 8% auto; margin: 0; overflow: hidden; border-radius: 14px; background: #fff;
  box-shadow: 0 2px 4px rgba(4, 34, 59, .06), 0 30px 60px -30px rgba(4, 34, 59, .5);
  transition: transform .6s var(--cl-ease-out), opacity .45s var(--cl-ease-std), box-shadow .45s var(--cl-ease-std), filter .45s var(--cl-ease-std);
}
body.cl-v2 .cl-cert img { display: block; width: 100%; height: auto; }
body.cl-v2 .cl-cert figcaption {
  position: absolute; right: 12px; bottom: 12px; padding: 4px 11px; border-radius: 999px;
  background: rgba(11, 34, 54, .86); color: #fff; font-size: 12px; font-weight: 800; line-height: 1.7;
}
body.cl-v2 .cl-cert--front { z-index: 2; transform: translate3d(0, 0, 0) rotate(0deg); }
body.cl-v2 .cl-cert--back { z-index: 1; transform: translate3d(-9%, 12%, 0) rotate(-5deg) scale(.9); filter: saturate(.85) brightness(.97); }
@media (hover: hover) {
  body.cl-v2 .cl-certs__stack:hover .cl-cert--front { z-index: 1; transform: translate3d(9%, 12%, 0) rotate(5deg) scale(.9); filter: saturate(.85) brightness(.97); }
  body.cl-v2 .cl-certs__stack:hover .cl-cert--back { z-index: 2; transform: none; filter: none; box-shadow: 0 2px 4px rgba(4, 34, 59, .06), 0 36px 70px -30px rgba(4, 34, 59, .6); }
}
body.cl-v2 .cl-certs__sample {
  position: absolute; top: 2%; left: 6%; z-index: 3; padding: 5px 12px; border-radius: 999px;
  background: linear-gradient(135deg, #ffd08a, #fba830); color: #3a2300; font-size: 12px; font-weight: 800; box-shadow: 0 10px 20px -10px rgba(251, 168, 48, .9);
}
body.cl-v2 .cl-certs__stack:focus-visible { outline: 3px solid #0167ad; outline-offset: 6px; border-radius: 16px; }
body.cl-v2 .cl-certs__hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; color: #5b6b7b; font-size: 13px; line-height: 1.8; text-align: center; }
body.cl-v2 .cl-certs__hint svg { width: 18px; height: 18px; flex: none; color: #0167ad; }
body.cl-v2 .cl-certs__hint-touch { display: none; }
@media (hover: none) { body.cl-v2 .cl-certs__hint-hover { display: none; } body.cl-v2 .cl-certs__hint-touch { display: inline; } }
@media (max-width: 767px) { body.cl-v2 .cl-certs__stack { aspect-ratio: 10 / 8.4; } body.cl-v2 .cl-cert { inset: 4% 4% auto; } }

html.cl-lightbox-open { overflow: hidden; }
.cl-lightbox { position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; direction: rtl; font-family: inherit; }
.cl-lightbox[hidden] { display: none; }
.cl-lightbox__backdrop { position: absolute; inset: 0; background: rgba(3, 14, 24, .88); opacity: 0; transition: opacity .3s ease; }
.cl-lightbox__panel { position: relative; display: flex; flex-direction: column; gap: 12px; width: min(1100px, 100vw - 24px); max-height: calc(100dvh - 24px); opacity: 0; transform: translate3d(0, 16px, 0) scale(.98); transition: opacity .3s ease, transform .45s cubic-bezier(.22, 1, .36, 1); }
.cl-lightbox.is-open .cl-lightbox__backdrop, .cl-lightbox.is-open .cl-lightbox__panel { opacity: 1; transform: none; }
.cl-lightbox__top { display: flex; align-items: center; justify-content: space-between; color: #fff; }
.cl-lightbox__count { padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font-size: 13px; font-weight: 700; }
.cl-lightbox button { display: grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; transition: background-color .2s, transform .2s; }
.cl-lightbox button:hover { background: rgba(255, 255, 255, .18); }
.cl-lightbox button:focus-visible { outline: 3px solid #fba830; outline-offset: 2px; }
.cl-lightbox button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.cl-lightbox__close { width: 44px; height: 44px; border-radius: 50%; }
.cl-lightbox__stage { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 10px; min-height: 0; touch-action: pan-y; }
.cl-lightbox__nav { width: 48px; height: 48px; border-radius: 50%; }
.cl-lightbox__figure { display: grid; gap: 10px; margin: 0; min-height: 0; }
.cl-lightbox__figure img { display: block; width: 100%; height: auto; max-height: calc(100dvh - 220px); object-fit: contain; border-radius: 12px; background: #fff; box-shadow: 0 30px 70px -30px #000; }
.cl-lightbox__figure figcaption { color: rgba(255, 255, 255, .85); font-size: 14px; font-weight: 700; text-align: center; }
.cl-lightbox__figure.is-in { animation: clLbIn .45s cubic-bezier(.22, 1, .36, 1); }
@keyframes clLbIn { from { opacity: 0; transform: translate3d(0, 8px, 0) scale(.985); } to { opacity: 1; transform: none; } }
.cl-lightbox__thumbs { display: flex; justify-content: center; gap: 10px; }
.cl-lightbox__thumbs button { width: 84px; height: 60px; overflow: hidden; border-radius: 10px; opacity: .55; }
.cl-lightbox__thumbs button.is-on { opacity: 1; border-color: #fba830; box-shadow: 0 0 0 2px #fba830; }
.cl-lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) {
  .cl-lightbox__stage { grid-template-columns: minmax(0, 1fr); }
  .cl-lightbox__nav { position: absolute; top: 50%; z-index: 2; width: 40px; height: 40px; margin-top: -20px; background: rgba(3, 14, 24, .6); }
  .cl-lightbox__nav.is-prev { right: 6px; } .cl-lightbox__nav.is-next { left: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .cl-lightbox__backdrop, .cl-lightbox__panel, body.cl-v2 .cl-cert { transition: none; }
  .cl-lightbox__figure.is-in { animation: none; }
}
