/* تراپو — صفحه ورود و ثبت‌نام */
:root { --bg: #f4f7f6; --card: #fff; --ink: #1f2a2e; --muted: #687a80; --line: #e2e8ea; --brand: #12b3a8; --brand-d: #0e8c84; --err: #d63a3a; --gold: #ffc800; }
@media (prefers-color-scheme: dark) { :root { --bg: #10181b; --card: #172226; --ink: #e8f0f2; --muted: #93a6ab; --line: #26363b; } }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: Vazirmatn, Nunito, system-ui, sans-serif; color: var(--ink); background: radial-gradient(1200px 600px at 10% -10%, #d7ffb8 0, transparent 60%), radial-gradient(900px 500px at 110% 10%, #d4f5f2 0, transparent 55%), radial-gradient(800px 500px at 50% 120%, #f7e2ef 0, transparent 55%), var(--bg); }
@media (prefers-color-scheme: dark) { body { background: var(--bg); } }
.au { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; }
.au__card { width: 100%; max-width: 440px; background: var(--card); border-radius: 26px; padding: 26px 24px 20px; box-shadow: 0 18px 50px rgba(18, 60, 70, .14); border: 1px solid var(--line); }
.au__h { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.au__h h1 { margin: 0; font-size: 26px; font-weight: 900; }
.au__h p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.au__lang { margin-inline-start: auto; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 12px; padding: 6px 10px; font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap; }
.au__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--bg); border-radius: 16px; margin-bottom: 16px; }
.au__tabs button { border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 800; padding: 10px; border-radius: 12px; cursor: pointer; }
.au__tabs button.is-on { background: var(--card); color: var(--brand-d); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.au__gift { margin: 0 0 14px; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--gold) 22%, var(--card)); font-weight: 700; font-size: 14px; line-height: 1.7; }
.au__f { display: grid; gap: 12px; }
.au__in { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.au__in[hidden] { display: none; }
.au__in input { width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--line); background: var(--card); color: var(--ink); outline: none; }
.au__in input:focus { border-color: var(--brand); }
.au__pw { position: relative; display: block; }
.au__pw button { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; cursor: pointer; font-size: 18px; }
[dir="rtl"] .au__pw button { inset-inline-end: auto; left: 8px; }
.au__err { margin: 0; color: var(--err); font-weight: 700; font-size: 14px; }
.au__go { border: 0; border-radius: 16px; padding: 14px; font: inherit; font-weight: 900; font-size: 17px; color: #fff; background: var(--brand); box-shadow: 0 5px 0 var(--brand-d); cursor: pointer; margin-top: 4px; }
.au__go:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--brand-d); }
.au__go:disabled { opacity: .7; }
.au__note { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.7; }
.au__note[hidden] { display: none; }
.au__feat { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; color: var(--muted); font-size: 13.5px; }
.au__foot { margin-top: 16px; color: var(--muted); font-size: 12px; text-align: center; max-width: 440px; }

/* ===== صفحه معرفی (لندینگ) ===== */
html[lang="fa"] [data-l="en"], html[lang="en"] [data-l="fa"] { display: none; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { line-height: 1.8; }
html[lang="en"] body { font-family: Nunito, Vazirmatn, system-ui, sans-serif; line-height: 1.65; }
.lp-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px max(16px, calc((100% - 1160px) / 2)); background: color-mix(in srgb, var(--card) 86%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.lp-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.lp-logo b { font-size: 22px; font-weight: 900; }
/* لوگوی جغد: پلک زدن آرام */
.tlogo .owl-eyes { transform-origin: 64px 65px; animation: owlblink 5.5s infinite; }
@keyframes owlblink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@media (prefers-reduced-motion: reduce) { .tlogo .owl-eyes { animation: none; } }
.lp-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.lp-nav > a:not(.lp-cta) { color: var(--muted); font-weight: 800; text-decoration: none; padding: 6px 10px; border-radius: 10px; }
.lp-nav > a:not(.lp-cta):hover { color: var(--ink); background: var(--bg); }
.lp-nav .au__lang { margin: 0; }
.lp-inst { border: 1px solid color-mix(in srgb, var(--brand) 45%, var(--line)); background: color-mix(in srgb, var(--brand) 8%, var(--card)); color: var(--ink); border-radius: 12px; padding: 6px 12px; font: inherit; font-size: 13.5px; font-weight: 800; cursor: pointer; }
.lp-inst[hidden] { display: none; }
.lp-cta { display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; padding: 14px 24px; font-weight: 900; font-size: 17px; color: #fff; background: var(--brand); box-shadow: 0 5px 0 var(--brand-d); text-decoration: none; transition: transform .15s; }
.lp-cta:hover { transform: translateY(-2px); }
.lp-cta--sm { padding: 8px 16px; font-size: 14.5px; box-shadow: 0 3px 0 var(--brand-d); border-radius: 12px; }
.lp-ghost { display: inline-flex; align-items: center; border-radius: 16px; padding: 13px 22px; font-weight: 800; color: var(--ink); border: 2px solid var(--line); background: var(--card); text-decoration: none; }
.lp-hero { max-width: 1160px; margin: 0 auto; padding: 44px 16px 28px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, 440px); gap: 40px; align-items: center; }
.lp-kicker { display: inline-block; margin: 0 0 12px; padding: 6px 14px; border-radius: 99px; background: color-mix(in srgb, var(--brand) 12%, var(--card)); color: var(--brand-d); font-weight: 800; font-size: 14px; }
@media (prefers-color-scheme: dark) { .lp-kicker { color: #6fe3d9; } }
.lp-hero h1 { margin: 0; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.45; font-weight: 900; letter-spacing: 0; }
html[lang="en"] .lp-hero h1 { line-height: 1.15; letter-spacing: -.02em; }
.lp-lead { margin: 16px 0 22px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); font-weight: 600; max-width: 640px; }
.lp-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-nums { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; max-width: 620px; }
.lp-nums li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 8px; text-align: center; display: grid; }
.lp-nums b { font-size: 22px; font-weight: 900; color: var(--brand-d); line-height: 1.4; }
@media (prefers-color-scheme: dark) { .lp-nums b { color: #6fe3d9; } }
.lp-nums span { font-size: 12.5px; color: var(--muted); font-weight: 700; line-height: 1.5; }
.lp-join { max-width: none; scroll-margin-top: 80px; }
.lp-join .au__h h2 { margin: 0; font-size: 24px; font-weight: 900; }
.au__kick { background: color-mix(in srgb, var(--brand) 12%, var(--card)); }
.lp-sec { max-width: 1160px; margin: 0 auto; padding: 36px 16px; }
.lp-sec > h2, .lp-end h2 { margin: 0 0 8px; font-size: clamp(24px, 3vw, 34px); font-weight: 900; line-height: 1.5; }
.lp-sub { margin: 0 0 22px; color: var(--muted); font-weight: 600; max-width: 760px; }
.lp-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 18px; }
.lp-c { background: var(--card); border: 1.5px solid color-mix(in srgb, var(--cc) 30%, var(--line)); border-radius: 24px; padding: 18px; display: grid; gap: 8px; align-content: start;
  box-shadow: 0 14px 36px -24px color-mix(in srgb, var(--cc) 70%, transparent); }
.lp-c img { width: 84px; height: 105px; justify-self: center; filter: drop-shadow(0 8px 12px color-mix(in srgb, var(--cc) 35%, transparent)); }
.lp-c h3 { margin: 0; font-size: 22px; font-weight: 900; color: var(--cc); display: grid; gap: 2px; }
.lp-c h3 small { color: var(--ink); font-size: 14.5px; font-weight: 800; }
.lp-c p { margin: 0; color: var(--muted); font-weight: 600; font-size: 14.5px; }
.lp-c .lp-aud { padding: 8px 10px; border-radius: 12px; background: color-mix(in srgb, var(--cc) 7%, var(--card)); color: var(--ink); font-size: 13px; }
.lp-c .lp-aud b { color: var(--cc); }
.lp-why { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.lp-why li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; display: grid; gap: 4px; }
.lp-why b { font-size: 17px; font-weight: 900; } .lp-why span { color: var(--muted); font-weight: 600; font-size: 14.5px; }
.lp-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.lp-steps li { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; font-weight: 700; }
.lp-steps b { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 18px; font-weight: 900; }
.lp-faq { display: grid; gap: 10px; margin-top: 16px; max-width: 860px; }
.lp-faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; }
.lp-faq summary { cursor: pointer; font-weight: 900; font-size: 16px; }
.lp-faq p { margin: 8px 0 0; color: var(--muted); font-weight: 600; }
.lp-end { text-align: center; padding: 30px 16px 46px; display: grid; justify-items: center; gap: 14px; }
.lp-foot { border-top: 1px solid var(--line); padding: 20px 16px 28px; color: var(--muted); font-size: 13px; }
.lp-foot p { margin: 2px 0; line-height: 1.9; }
.lp-foot__in { max-width: 1120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.lp-foot__t { flex: 1 1 320px; min-width: 0; }
.lp-foot__c { font-weight: 700; }
.lp-foot__nav { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.lp-foot__nav a { color: inherit; font-weight: 700; }
.lp-foot__ct { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; }
.lp-foot__ct > span { font-weight: 800; color: var(--ink); }
.lp-ct { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 12.5px; line-height: 1.6; transition: border-color .15s, transform .12s; }
.lp-ct svg { width: 16px; height: 16px; }
.lp-ct--telegram svg { color: #229ed9; }
.lp-ct--bale svg { color: #12a56a; }
.lp-ct--email svg { color: #5b4fe0; }
.lp-ct:hover { border-color: currentColor; transform: translateY(-1px); }
.lp-enamad { flex: none; display: inline-flex; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.lp-enamad img { display: block; width: 92px; height: auto; }
.lp-plan h3 small { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-top: 2px; }
@media (max-width: 900px) {
  .lp-hero { grid-template-columns: 1fr; gap: 26px; padding-top: 28px; }
  .lp-nums { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .lp-nav > a:not(.lp-cta) { display: none; }
  .lp-logo b { font-size: 19px; }
  .lp-hero__cta > * { flex: 1 1 100%; }
}

/* ===== قیمت قلب‌ها ===== */
.lp-c h3 a { color: inherit; text-decoration: none; display: grid; gap: 2px; }
.lp-more { margin-top: 2px; font-weight: 800; font-size: 14px; color: var(--cc); text-decoration: none; }
.lp-more:hover, .lp-c h3 a:hover { text-decoration: underline; }
.lp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin-top: 18px; }
.lp-plan { position: relative; display: grid; gap: 8px; align-content: start; padding: 20px 18px; border-radius: 22px; background: var(--card); border: 1.5px solid color-mix(in srgb, var(--pc, #ff4b4b) 35%, var(--line)); box-shadow: 0 14px 34px -26px color-mix(in srgb, var(--pc, #ff4b4b) 80%, transparent); }
.lp-plan--free { --pc: #12b3a8; } .lp-plan--bronze { --pc: #cd7f32; } .lp-plan--silver { --pc: #7f93a1; } .lp-plan--gold { --pc: #e5a500; }
.lp-plan.is-pop { border-width: 2.5px; transform: translateY(-4px); }
.lp-plan__b { position: absolute; top: -12px; inset-inline-start: 18px; padding: 2px 12px; border-radius: 999px; background: #ff4b4b; color: #fff; font-size: 12.5px; font-weight: 900; }
.lp-plan h3 { margin: 0; font-size: 20px; font-weight: 900; }
.lp-plan__d { margin: 0; color: var(--muted); font-weight: 700; } .lp-plan__d b { color: #e5383b; font-size: 22px; font-weight: 900; }
.lp-plan__p { margin: 0; font-weight: 800; color: var(--muted); } .lp-plan__p b { color: var(--ink); font-size: 26px; font-weight: 900; }
.lp-plan ul, .lp-x ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lp-plan li { font-weight: 600; font-size: 14px; color: var(--muted); padding-inline-start: 22px; position: relative; }
.lp-plan li::before { content: '✓'; position: absolute; inset-inline-start: 0; color: var(--pc); font-weight: 900; }
.lp-plan .lp-ghost { justify-self: start; margin-top: 4px; }
.lp-extra { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; margin-top: 14px; }
.lp-x { padding: 18px; border-radius: 22px; background: var(--card); border: 1px solid var(--line); display: grid; gap: 10px; }
.lp-x h3 { margin: 0; font-size: 17px; font-weight: 900; }
.lp-x li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 12px; background: color-mix(in srgb, #ff4b4b 6%, var(--card)); font-weight: 700; }
.lp-x--ult li { background: color-mix(in srgb, #a560e8 9%, var(--card)); }
.lp-x li b { font-weight: 900; }
.lp-note { margin: 14px 0 0; color: var(--muted); font-weight: 700; }

/* ===== صفحه معرفی هر دوره ===== */
.cp-bc { max-width: 1160px; margin: 0 auto; padding: 10px 16px 0; font-size: 14px; font-weight: 700; color: var(--muted); }
.cp-bc a { color: var(--brand-d); text-decoration: none; } .cp-bc a:hover { text-decoration: underline; }
.cp-hero h1 { color: var(--ink); }
.cp-tag { margin: 0 0 6px; font-size: 18px; font-weight: 900; color: var(--cc); }
.cp-art { display: grid; place-items: center; padding: 20px; border-radius: 32px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--cc) 22%, transparent), transparent 70%); }
.cp-art img { width: min(220px, 60vw); height: auto; filter: drop-shadow(0 18px 24px color-mix(in srgb, var(--cc) 40%, transparent)); }
.cp-out { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 10px; }
.cp-out li { position: relative; padding: 12px 16px; padding-inline-start: 42px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-weight: 700; line-height: 1.9; }
.cp-out li::before { content: '✓'; position: absolute; inset-inline-start: 14px; top: 12px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--cc); color: #fff; font-size: 12px; font-weight: 900; }
.cp-aud { margin: 16px 0 0; padding: 12px 16px; border-radius: 16px; background: color-mix(in srgb, var(--cc) 8%, var(--card)); font-weight: 700; line-height: 1.9; }
.cp-aud b { color: var(--cc); }
.cp-hl { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cp-hl li { padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 800; font-size: 14px; }
.cp-syl { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: w; }
.cp-syl > li { counter-increment: w; }
.cp-syl details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; }
.cp-syl summary { cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 16px; }
.cp-syl summary::before { content: counter(w); display: inline-grid; place-items: center; min-width: 28px; height: 28px; border-radius: 9px; background: var(--cc); color: #fff; font-weight: 900; font-size: 14px; }
.cp-syl summary b { font-weight: 900; } .cp-syl summary small { color: var(--muted); font-weight: 700; }
.cp-syl ul { margin: 10px 0 0; padding-inline-start: 46px; display: grid; gap: 4px; color: var(--muted); font-weight: 700; }
.cp-tools { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 10px; }
.cp-tools li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.cp-tools span { flex: none; min-width: 40px; height: 34px; padding: 0 6px; border-radius: 10px; display: grid; place-items: center; background: var(--cc); color: #fff; font: 900 14px/1 system-ui, sans-serif; }
.cp-tools b { display: block; font-weight: 900; } .cp-tools small { color: var(--muted); font-weight: 600; line-height: 1.8; }
.cp-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; margin-top: 16px; }
.cp-mc { text-decoration: none; color: var(--ink); grid-template-columns: auto 1fr; align-items: center; }
.cp-mc img { width: 56px; height: 70px; } .cp-mc h3 { font-size: 18px; }
.cp-mc:hover { transform: translateY(-2px); }
@media (max-width: 860px) { .cp-hero { grid-template-columns: 1fr; } .cp-art { order: -1; padding: 6px; } .cp-art img { width: 150px; } }

/* ===== انیمیشن‌های صفحه معرفی و صفحه دوره‌ها (هم‌سبک داشبورد برنامه) ===== */
.lp-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.lp-bg i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(70px); opacity: .32; animation: lpBlob 22s ease-in-out infinite alternate; will-change: transform; }
.lp-bg i:nth-child(1) { background: #58cc02; top: -18vmax; inset-inline-start: -12vmax; }
.lp-bg i:nth-child(2) { background: #12b3a8; top: 10vmax; inset-inline-end: -16vmax; animation-duration: 26s; animation-delay: -6s; }
.lp-bg i:nth-child(3) { background: #8e2c6e; bottom: -22vmax; inset-inline-start: 20vw; opacity: .2; animation-duration: 30s; animation-delay: -12s; }
.lp-bg i:nth-child(4) { background: #1cb0f6; top: 45vh; inset-inline-start: -14vmax; width: 30vmax; height: 30vmax; opacity: .18; animation-duration: 24s; animation-delay: -3s; }
.lp-bg__grid { position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--ink) 9%, transparent) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(to bottom, #000, transparent 70%); -webkit-mask-image: linear-gradient(to bottom, #000, transparent 70%); }
@keyframes lpBlob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vw, 4vh) scale(1.12); } 100% { transform: translate(-4vw, 8vh) scale(.94); } }
@media (prefers-color-scheme: dark) { .lp-bg i { opacity: .22; } }

/* ورود صفحه: عنوان، متن و دکمه‌ها پشت‌سرهم */
.lp-hero__txt > * { animation: lpUp .7s cubic-bezier(.2, .8, .2, 1) both; }
.lp-hero__txt > :nth-child(1) { animation-delay: .05s; } .lp-hero__txt > :nth-child(2) { animation-delay: .15s; } .lp-hero__txt > :nth-child(3) { animation-delay: .27s; }
.lp-hero__txt > :nth-child(4) { animation-delay: .39s; } .lp-hero__txt > :nth-child(5) { animation-delay: .5s; } .lp-hero__txt > :nth-child(6) { animation-delay: .6s; }
@keyframes lpUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.lp-kicker { position: relative; overflow: hidden; }
.lp-kicker::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%); transform: translateX(-120%); animation: lpShine 4.5s ease-in-out 1.2s infinite; }
@keyframes lpShine { 0%, 60% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.lp-cta { position: relative; overflow: hidden; }
.lp-hero__cta .lp-cta { animation: lpPulse 2.6s ease-in-out 1.4s infinite; }
@keyframes lpPulse { 0%, 100% { box-shadow: 0 4px 0 var(--brand-d), 0 0 0 0 color-mix(in srgb, var(--brand) 45%, transparent); } 50% { box-shadow: 0 4px 0 var(--brand-d), 0 0 0 12px transparent; } }
.lp-cta::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-260%) skewX(-18deg); animation: lpSweep 3.8s ease-in-out 2s infinite; }
@keyframes lpSweep { 0%, 70% { transform: translateX(-260%) skewX(-18deg); } 100% { transform: translateX(360%) skewX(-18deg); } }
.lp-nums li { animation: lpPop .6s cubic-bezier(.3, 1.5, .5, 1) both; transition: transform .2s; }
.lp-nums li:nth-child(1) { animation-delay: .55s; } .lp-nums li:nth-child(2) { animation-delay: .65s; } .lp-nums li:nth-child(3) { animation-delay: .75s; } .lp-nums li:nth-child(4) { animation-delay: .85s; }
.lp-nums li:hover { transform: translateY(-4px); }
@keyframes lpPop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }

/* کارت ثبت‌نام با شخصیت‌های دوره‌ها که دورش شناورند */
.lp-joinwrap { position: relative; animation: lpUp .8s cubic-bezier(.2, .8, .2, 1) .25s both; }
.lp-joinwrap .lp-join { position: relative; z-index: 2; }
.lp-fly { position: absolute; inset: -46px -40px; pointer-events: none; z-index: 1; }
.lp-fm { position: absolute; width: 74px; height: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .16)); animation: lpFloat 4.6s ease-in-out infinite; }
.lp-fm--0 { top: -6px; inset-inline-end: -4px; animation-delay: -.4s; }
.lp-fm--1 { top: 32%; inset-inline-start: -18px; width: 66px; animation-delay: -1.6s; animation-duration: 5.2s; z-index: 3; }
.lp-fm--2 { bottom: -14px; inset-inline-end: 10%; width: 64px; animation-delay: -2.4s; animation-duration: 5.8s; z-index: 3; }
.lp-fm--3 { bottom: 18%; inset-inline-end: -26px; width: 60px; animation-delay: -3.1s; animation-duration: 4.9s; z-index: 3; }
.lp-fm--4 { top: -14px; inset-inline-start: 18%; width: 58px; animation-delay: -2s; animation-duration: 5.4s; z-index: 3; }
@keyframes lpFloat { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(4deg); } }
.lp-spark { position: absolute; font-size: 18px; color: #ffc800; animation: lpTwinkle 2.4s ease-in-out infinite; pointer-events: none; }
.lp-spark--a { top: 4%; inset-inline-start: 12%; } .lp-spark--b { top: 46%; inset-inline-end: -8px; font-size: 16px; animation-delay: -.8s; animation-name: lpBeat; z-index: 3; } .lp-spark--c { bottom: 6%; inset-inline-start: 4%; color: #12b3a8; animation-delay: -1.5s; }
@keyframes lpTwinkle { 0%, 100% { opacity: .2; transform: scale(.6) rotate(0); } 50% { opacity: 1; transform: scale(1.15) rotate(25deg); } }
@keyframes lpBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } 45% { transform: scale(1.2); } }

/* خط نوار قلب زیر بالای صفحه */
.lp-ecg { display: block; width: min(1160px, calc(100% - 32px)); height: 56px; margin: 0 auto; overflow: visible; }
.lp-ecg path { fill: none; stroke: url(#lpecg); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1700; stroke-dashoffset: 1700; animation: lpEcg 3.2s ease-out .6s forwards, lpEcgGlow 2.4s ease-in-out 3.8s infinite; }
@keyframes lpEcg { to { stroke-dashoffset: 0; } }
@keyframes lpEcgGlow { 0%, 100% { filter: none; opacity: 1; } 50% { filter: drop-shadow(0 0 6px rgba(18, 179, 168, .7)); opacity: .85; } }

/* بخش‌ها هنگام اسکرول (lp.js) */
.lp-anim .rv { opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--rvd, 0ms); }
.lp-anim .rv.is-in { opacity: 1; transform: none; }

/* کارت‌های دوره: شخصیت شناور، بلند شدن با ماوس */
.lp-c { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.lp-c:hover { transform: translateY(-6px); box-shadow: 0 22px 44px -24px color-mix(in srgb, var(--cc) 80%, transparent); }
.lp-c img { animation: lpBob 3.6s ease-in-out infinite; }
.lp-c:nth-child(2) img { animation-delay: -.9s; } .lp-c:nth-child(3) img { animation-delay: -1.8s; } .lp-c:nth-child(4) img { animation-delay: -2.7s; }
.lp-c:hover img { animation: lpJump .6s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes lpBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes lpJump { 0% { transform: none; } 40% { transform: translateY(-16px) scale(1.06) rotate(-4deg); } 100% { transform: none; } }
.lp-why li, .lp-steps li, .lp-x, .cp-out li, .cp-tools li { transition: transform .2s, box-shadow .2s, opacity .6s ease; }
.lp-why li:hover, .lp-steps li:hover, .cp-tools li:hover { transform: translateY(-3px); box-shadow: 0 12px 26px -18px rgba(0, 0, 0, .35); }

/* قیمت‌ها: کارت محبوب نبض دارد، قلب‌ها می‌تپند */
.lp-plan { transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s, opacity .6s ease; }
.lp-plan:hover { transform: translateY(-6px); }
.lp-plan.is-pop { animation: lpGlow 3s ease-in-out infinite; }
.lp-anim .lp-plan.is-pop.rv:not(.is-in) { animation: none; }
@keyframes lpGlow { 0%, 100% { box-shadow: 0 14px 34px -26px color-mix(in srgb, var(--pc) 80%, transparent); } 50% { box-shadow: 0 18px 44px -18px color-mix(in srgb, var(--pc) 90%, transparent); } }
.lp-plan__b { animation: lpBadge 2.2s ease-in-out infinite; }
@keyframes lpBadge { 0%, 100% { transform: scale(1) rotate(-3deg); } 50% { transform: scale(1.08) rotate(3deg); } }
.lp-plan__d b { display: inline-block; animation: lpBeat 2.4s ease-in-out infinite; }
.lp-x--ult h3 { background: linear-gradient(90deg, #a560e8, #e5a500, #a560e8); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: lpGrad 4s linear infinite; }
@keyframes lpGrad { to { background-position: 200% center; } }
.lp-faq details { transition: transform .2s, opacity .6s ease, box-shadow .2s; }
.lp-faq details[open] { box-shadow: 0 10px 24px -18px rgba(0, 0, 0, .3); }
.lp-faq details[open] p { animation: lpUp .35s ease both; }
.lp-end .lp-cta { animation: lpPulse 2.6s ease-in-out infinite; }

/* صفحه هر دوره: شخصیت بزرگ با حلقه‌های تپنده */
.cp-art { position: relative; }
.cp-art img { position: relative; z-index: 1; animation: lpFloat 4.8s ease-in-out infinite; }
.cp-ring { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--cc) 40%, transparent); animation: lpRing 3.2s ease-out infinite; }
.cp-ring--2 { animation-delay: -1.6s; }
@keyframes lpRing { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.cp-syl summary::before { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.cp-syl details[open] summary::before { transform: rotate(-8deg) scale(1.1); }
.cp-syl details[open] ul { animation: lpUp .35s ease both; }
.cp-mc img { transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.cp-mc:hover img { transform: translateY(-6px) rotate(-6deg); }
.cp-mc { transition: transform .25s, box-shadow .25s, opacity .6s ease; }

@media (max-width: 860px) {
  .lp-fly { inset: -30px -6px; }
  .lp-fm { width: 52px; } .lp-fm--1 { inset-inline-start: -6px; width: 46px; } .lp-fm--2 { width: 46px; } .lp-fm--3 { inset-inline-end: -6px; width: 44px; } .lp-fm--4 { width: 42px; }
  .lp-ecg { height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-bg i, .lp-hero__txt > *, .lp-kicker::after, .lp-cta, .lp-cta::after, .lp-nums li, .lp-joinwrap, .lp-fm, .lp-spark, .lp-ecg path, .lp-c img, .lp-plan, .lp-plan__b, .lp-plan__d b, .lp-x--ult h3, .cp-art img, .cp-ring, .lp-end .lp-cta { animation: none !important; }
  .lp-ecg path { stroke-dashoffset: 0; }
  .cp-ring { display: none; }
}

/* ===== صحنه‌های متحرک: بیمارستان، کلاس درس، ICU، آزمایشگاه ===== */
.lp-scg { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: 18px; margin-top: 18px; }
.lp-sci { background: var(--card); border: 1px solid var(--line); border-radius: 26px; overflow: hidden; box-shadow: 0 18px 40px -30px rgba(10, 40, 50, .5); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, opacity .6s ease; }
.lp-sci:hover { transform: translateY(-6px); box-shadow: 0 26px 50px -28px rgba(10, 40, 50, .55); }
.lp-sci__t { padding: 14px 18px 18px; } .lp-sci__t h3 { margin: 0 0 4px; font-size: 19px; font-weight: 900; } .lp-sci__t p { margin: 0; color: var(--muted); font-weight: 600; }
.sc { position: relative; direction: ltr; aspect-ratio: 400 / 250; overflow: hidden; isolation: isolate; }
.sc > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.sc svg * { transform-box: fill-box; }
.cp-scene { padding-top: 6px; padding-bottom: 6px; } .cp-scene .sc { border-radius: 28px; box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--cc) 60%, rgba(0,0,0,.4)); max-width: 900px; margin: 0 auto; }
/* شخصیت‌ها */
.sc-m { position: absolute; height: auto; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .18)); z-index: 2; }
.sc-doc { width: 15%; left: 58%; bottom: 17%; animation: scWalk 7s ease-in-out infinite; }
@keyframes scWalk { 0%, 100% { transform: translateX(0) translateY(0) scaleX(1); } 10% { transform: translateX(-6%) translateY(-6%); } 20% { transform: translateX(-12%) translateY(0); } 45% { transform: translateX(-30%) translateY(-5%); } 50% { transform: translateX(-30%) translateY(0) scaleX(-1); } 75% { transform: translateX(-12%) translateY(-6%) scaleX(-1); } 95% { transform: translateX(0) scaleX(-1); } }
.sc-teacher { width: 15%; left: 4%; bottom: 20%; animation: scTalk 2.4s ease-in-out infinite; transform-origin: bottom center; }
@keyframes scTalk { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(4deg) translateY(-4%); } }
.sc-st { width: 10.5%; bottom: 16%; animation: scBob 2.2s ease-in-out infinite; }
.sc-st--1 { left: 36%; } .sc-st--2 { left: 57.5%; animation-delay: -.7s; } .sc-st--3 { left: 79%; animation-delay: -1.4s; animation-name: scHop; }
@keyframes scBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7%); } }
@keyframes scHop { 0%, 60%, 100% { transform: translateY(0); } 70% { transform: translateY(-26%) rotate(-6deg); } 80% { transform: translateY(0); } 88% { transform: translateY(-10%); } }
.sc-run { width: 14%; left: 64%; bottom: 14%; animation: scRun 3.2s ease-in-out infinite; }
@keyframes scRun { 0%, 100% { transform: translateX(0) rotate(-4deg); } 25% { transform: translateX(-40%) translateY(-10%) rotate(4deg); } 50% { transform: translateX(-80%) rotate(-4deg); } 75% { transform: translateX(-40%) translateY(-10%) rotate(4deg); } }
.sc-scan { width: 14%; left: 47%; bottom: 30%; animation: scScan 5s ease-in-out infinite; }
@keyframes scScan { 0%, 100% { transform: translateX(0) rotate(-8deg); } 30% { transform: translateX(-120%) translateY(10%) rotate(8deg); } 55% { transform: translateX(-200%) translateY(-6%) rotate(-6deg); } 80% { transform: translateX(-80%) rotate(6deg); } }
/* برچسب‌های ایموجی */
.sc-tag { position: absolute; z-index: 3; font-size: clamp(14px, 3.4vw, 26px); line-height: 1; }
.sc-tag--w { left: 70%; bottom: 40%; animation: scPop 7s ease-in-out infinite; }
.sc-tag--hand { left: 82%; bottom: 44%; animation: scHand 4s ease-in-out infinite; }
.sc-tag--idea { left: 60%; bottom: 46%; animation: scIdea 4s ease-in-out 2s infinite; opacity: 0; }
.sc-tag--abg { left: 54%; bottom: 40%; animation: scFloatUp 3.2s ease-in-out infinite; }
.sc-tag--lab { left: 40%; bottom: 52%; animation: scPop 5s ease-in-out infinite; }
@keyframes scPop { 0%, 100% { transform: scale(.9) rotate(-8deg); } 50% { transform: scale(1.15) rotate(8deg); } }
@keyframes scHand { 0%, 55%, 100% { transform: translateY(40%) rotate(0); opacity: 0; } 62% { opacity: 1; transform: translateY(0) rotate(-12deg); } 70% { transform: translateY(-8%) rotate(12deg); } 78% { transform: rotate(-12deg); opacity: 1; } 90% { opacity: 0; } }
@keyframes scIdea { 0%, 40%, 100% { opacity: 0; transform: scale(.4) translateY(30%); } 48% { opacity: 1; transform: scale(1.3); } 58% { transform: scale(1); opacity: 1; } 75% { opacity: 0; transform: translateY(-40%); } }
@keyframes scFloatUp { 0% { transform: translateY(20%) scale(.8); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-160%) scale(1.1); opacity: 0; } }
/* حباب گفت‌وگو: سه جمله پشت‌سرهم */
.sc-bub { position: absolute; z-index: 4; display: grid; min-width: 34%; max-width: 46%; padding: 6px 10px; border-radius: 14px; background: #fff; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .35); font: 800 clamp(10px, 2.1vw, 14px)/1.5 Vazirmatn, system-ui, sans-serif; color: #1f2a2e; text-align: center; }
.sc-bub::after { content: ''; position: absolute; bottom: -7px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.sc-bub span { grid-area: 1 / 1; opacity: 0; animation: scSay 9s infinite; animation-delay: calc(var(--i) * 3s); }
@keyframes scSay { 0% { opacity: 0; transform: translateY(6px) scale(.95); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-6px); } }
.sc-bub--ward { left: 40%; top: 8%; } .sc-bub--ward::after { left: 70%; }
.sc-bub--class { left: 50%; top: 62%; } .sc-bub--class::after { left: 20%; top: -7px; bottom: auto; }
.sc-bub--icu { left: 8%; top: 8%; } .sc-bub--icu::after { left: 80%; }
.sc-bub--lab { left: 46%; top: 6%; } .sc-bub--lab::after { left: 30%; }
.sc-alert { position: absolute; left: 8%; bottom: 6%; z-index: 4; display: grid; font: 900 clamp(11px, 2.4vw, 16px)/1.4 Vazirmatn, system-ui, sans-serif; }
.sc-alert b { grid-area: 1 / 1; padding: 4px 12px; border-radius: 999px; color: #fff; }
.sc-a1 { background: #e5383b; animation: scA1 8s infinite; } .sc-a2 { background: #2fa84f; animation: scA2 8s infinite; opacity: 0; }
@keyframes scA1 { 0%, 45% { opacity: 1; } 5%, 15%, 25%, 35% { transform: scale(1.08); } 10%, 20%, 30%, 40% { transform: scale(1); } 50%, 100% { opacity: 0; } }
@keyframes scA2 { 0%, 50% { opacity: 0; transform: scale(.8); } 56%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* اجزای صحنه */
.sc-cloud { animation: scCloud 14s linear infinite; } .sc-cloud--2 { animation-duration: 20s; animation-delay: -8s; }
@keyframes scCloud { from { transform: translateX(-60px); } to { transform: translateX(130px); } }
.sc-sun { animation: scBeat 4s ease-in-out infinite; transform-origin: center; }
.sc-cross { animation: scBeat 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes scBeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.12); } 24% { transform: scale(1); } 36% { transform: scale(1.08); } }
.sc-heart { animation: scBeat 1s ease-in-out infinite; transform-origin: center; }
.sc-blink { animation: scBlink 1s steps(2) infinite; }
@keyframes scBlink { 50% { opacity: .35; } }
.sc-wave { stroke-dasharray: 120 400; stroke-dashoffset: 520; animation: scWave 2.2s linear infinite; }
.sc-wave--2 { stroke-dasharray: 90 300; animation-duration: 2.8s; } .sc-wave--3 { stroke-dasharray: 80 260; animation-duration: 3.6s; }
@keyframes scWave { to { stroke-dashoffset: 0; } }
.sc-drop { animation: scDrop 1.6s ease-in infinite; } .sc-drop--2 { animation-delay: -.8s; }
@keyframes scDrop { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 90% { transform: translateY(9px); opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
.sc-fluid { transform-origin: bottom; animation: scFluid 12s linear infinite; }
@keyframes scFluid { from { transform: scaleY(1); } to { transform: scaleY(.55); } }
.sc-breathe { transform-origin: bottom; animation: scBreathe 3.6s ease-in-out infinite; }
@keyframes scBreathe { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.18); } }
.sc-hand { transform-origin: 0 0; transform-box: view-box; animation: scClock 6s linear infinite; } .sc-hand--h { animation-duration: 72s; }
.sc--class .sc-hand { transform-origin: 46px 50px; }
@keyframes scClock { to { transform: rotate(360deg); } }
.sc-write { opacity: 0; animation: scWrite 9s ease-out infinite; } .sc-write--2 { animation-delay: .9s; } .sc-write--3 { animation-delay: 1.8s; }
@keyframes scWrite { 0% { opacity: 0; transform: translateX(14px); } 8%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; } }
.sc-bar { transform-origin: bottom; animation: scBar 9s cubic-bezier(.3, 1.4, .5, 1) 2.4s infinite; transform: scaleY(0); } .sc-bar--2 { animation-delay: 2.6s; } .sc-bar--3 { animation-delay: 2.8s; }
@keyframes scBar { 0% { transform: scaleY(0); } 8%, 70% { transform: scaleY(1); } 80%, 100% { transform: scaleY(0); } }
.sc-tick { stroke-dasharray: 40; stroke-dashoffset: 40; animation: scTick 9s ease-out 3.4s infinite; }
@keyframes scTick { 0% { stroke-dashoffset: 40; } 6%, 70% { stroke-dashoffset: 0; } 80%, 100% { stroke-dashoffset: 40; opacity: 0; } }
.sc-pointer { transform-origin: 0% 100%; animation: scPoint 3s ease-in-out infinite; }
@keyframes scPoint { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(-10deg); } 60% { transform: rotate(6deg); } }
.sc-flash { animation: scFlash 8s infinite; }
@keyframes scFlash { 0%, 45% { opacity: 0; } 2%, 10%, 18%, 26%, 34%, 42% { opacity: .16; } 6%, 14%, 22%, 30%, 38% { opacity: 0; } 50%, 100% { opacity: 0; } }
.sc-siren { animation: scSiren .5s steps(2) infinite; } @keyframes scSiren { 50% { fill: #ffb020; } }
.sc-beam { transform-origin: 50% 0%; animation: scBeam 1.2s linear infinite; } @keyframes scBeam { 0% { transform: rotate(-35deg); } 50% { transform: rotate(35deg); } 100% { transform: rotate(-35deg); } }
.sc-spo { animation: scSpo 8s infinite; } .sc-spo--2 { animation-name: scSpo2; opacity: 0; }
@keyframes scSpo { 0%, 48% { opacity: 1; } 52%, 100% { opacity: 0; } } @keyframes scSpo2 { 0%, 50% { opacity: 0; } 54%, 100% { opacity: 1; } }
.sc-bellows { transform-origin: bottom; animation: scBellow 3s ease-in-out infinite; } @keyframes scBellow { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.6); } }
.sc-spin { transform-origin: center; animation: scClock 1.1s linear infinite; }
.sc-slide { animation: scBeat 2s ease-in-out infinite; transform-origin: center; }
.sc-liq { transform-origin: bottom; animation: scLiq 3s ease-in-out infinite; } .sc-liq--2 { animation-delay: -1s; } .sc-liq--3 { animation-delay: -2s; }
@keyframes scLiq { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.12); } }
.sc-bubl { animation: scBubl 1.8s ease-in infinite; } .sc-bubl--2 { animation-delay: -.6s; } .sc-bubl--3 { animation-delay: -1.2s; }
@keyframes scBubl { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-34px); opacity: 0; } }
.sc-steam { animation: scSteam 3s ease-in-out infinite; } @keyframes scSteam { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateY(-16px); } }
.sc-jar { animation: scBob 3s ease-in-out infinite; }
/* صحنه بیرون از دید: انیمیشن‌ها متوقف (lp.js) تا گوشی داغ نکند */
.lp-anim .sc:not(.is-play) *, .lp-anim .sc:not(.is-play) { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .sc *, .sc { animation: none !important; } .sc-bub span:first-child, .sc-a1, .sc-write, .sc-spo { opacity: 1; } .sc-bar { transform: none; } }
.cp-refs { margin: 12px 0 0; padding-inline-start: 22px; display: grid; gap: 8px; text-align: left; color: var(--muted); font: 600 14px/1.7 Nunito, Vazirmatn, system-ui, sans-serif; }
