/* ══════════════════════════════════════════════════════
   QIZIL POMADA — BALANS KOMPLEKS
   Design system: dark luxury, Inter + Bebas Neue
   ══════════════════════════════════════════════════════ */

/* ── PLYR THEME ── */
:root {
  --plyr-color-main:                  #e8365d;
  --plyr-video-background:            #000;
  --plyr-font-family:                 'Inter', system-ui, sans-serif;
  --plyr-font-size-base:              13px;
  --plyr-control-icon-size:           17px;
  --plyr-control-spacing:             10px;
  --plyr-control-radius:              6px;
  --plyr-range-thumb-height:          14px;
  --plyr-range-thumb-width:           14px;
  --plyr-range-fill-background:       #e8365d;
  --plyr-video-control-color:         rgba(255,255,255,.85);
  --plyr-video-control-color-hover:   #fff;
  --plyr-video-controls-background:   linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,.72) 100%);
  --plyr-tooltip-background:          rgba(15,17,27,.95);
  --plyr-tooltip-color:               #f4f0f6;
  --plyr-tooltip-radius:              8px;
}

/* ── TOKENS ── */
:root {
  --bg:       #080910;
  --surface:  #0f111b;
  --surf2:    #161927;
  --surf3:    #1e2235;
  --border:   rgba(255,255,255,.07);
  --border2:  rgba(255,255,255,.12);

  --acc:      #e8365d;
  --acc-dark: #c0274a;
  --acc-glow: rgba(232,54,93,.25);
  --tg:       #229ed9;
  --ok:       #22c55e;

  --txt:      #f4f0f6;
  --txt2:     #c6bfcc;
  --muted:    #807789;
  --eyebrow:  #e8365d;

  --r-sm:  10px;
  --r-md:  16px;
  --r-lg:  22px;
  --r-xl:  28px;
  --r-max: 9999px;

  --shadow-card: 0 2px 20px rgba(0,0,0,.45);
  --shadow-btn:  0 4px 20px rgba(232,54,93,.35);
  --shadow-pop:  0 16px 64px rgba(0,0,0,.7);

  --wrap: 1200px;
  --px: clamp(16px, 4vw, 40px);

  --ease-out: cubic-bezier(.2,.8,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ── RESET ── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--txt);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display:block; max-width:100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── TYPE HELPERS ── */
.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--eyebrow);
}
.microcopy {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.accent-text { color: var(--acc); font-weight: 700; }

/* ── PAGE BG ── */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 50% at 50% -10%, rgba(232,54,93,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 90% 70%, rgba(139,92,246,.06) 0%, transparent 60%),
    var(--bg);
}

/* ══════════════════════════════════════
   BUTTONS
═════════════════════════════════════ */
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 26px;
  background: var(--acc);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  border-radius: var(--r-max);
  transition: background .2s, box-shadow .2s, transform .15s var(--ease-spring);
  box-shadow: var(--shadow-btn);
  white-space: nowrap;
}
.primary-btn:hover { background: var(--acc-dark); transform: translateY(-1px); }
.primary-btn:active { transform: scale(.97); }

.primary-btn--hero { padding: 16px 32px; font-size: 16px; }
.primary-btn--lg   { padding: 18px 36px; font-size: 17px; width: 100%; }

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 22px;
  background: var(--surf3);
  color: var(--txt);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-max);
  border: 1px solid var(--border2);
  transition: background .2s, transform .15s;
}
.secondary-btn:hover { background: var(--surf2); transform: translateY(-1px); }
.secondary-btn--sm { padding: 9px 16px; font-size: 13px; }

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 13px 22px;
  color: var(--txt2);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--r-max);
  border: 1px solid var(--border2);
  background: rgba(255,255,255,.04);
  transition: background .2s, color .2s, transform .15s;
}
.ghost-btn:hover { background: rgba(255,255,255,.08); color: var(--txt); transform: translateY(-1px); }

.icon-btn {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  color: var(--txt2);
  background: rgba(255,255,255,.07);
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.icon-btn:hover { background: rgba(255,255,255,.14); color: var(--txt); }

/* ══════════════════════════════════════
   FORM
═════════════════════════════════════ */
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.lead-form--compact { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }

.lead-form label { display: flex; flex-direction: column; gap: 5px; }
.lead-form label span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .03em;
  color: var(--txt2);
  text-transform: uppercase;
}

.field {
  width: 100%;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--txt);
  background: var(--surf3);
  border: 1.5px solid var(--border2);
  border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  min-height: 48px;
}
.field::placeholder { color: var(--muted); }
.field:focus { border-color: var(--acc); box-shadow: 0 0 0 3px var(--acc-glow); }

.form-error {
  font-size: 13px;
  color: var(--acc);
  min-height: 18px;
  line-height: 1.4;
}

.trust-row {
  display: flex;
  gap: 2px;
  margin: 14px 0;
}
.trust-row > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 8px;
  background: var(--surf3);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}
.trust-row strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--acc);
  line-height: 1;
}
.trust-row span { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ══════════════════════════════════════
   POPUPS
═════════════════════════════════════ */
.popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8,9,16,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: popBgIn .2s ease;
}
.popup--hidden { display: none !important; }

@keyframes popBgIn { from { opacity:0 } to { opacity:1 } }
@keyframes popCardIn {
  from { opacity:0; transform: scale(.92) translateY(16px); }
  to   { opacity:1; transform: scale(1)  translateY(0); }
}

.popup__card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 440px;
  max-height: 92dvh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: var(--r-xl);
  padding: 36px 30px 32px;
  box-shadow: var(--shadow-pop);
  animation: popCardIn .28s var(--ease-out);
  scrollbar-width: thin;
  scrollbar-color: var(--surf3) transparent;
}

.popup__card--premium {
  background: linear-gradient(160deg, #1a0d22 0%, #120914 100%);
  border-color: rgba(232,54,93,.3);
}

.popup__shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 30% at 50% 0%, rgba(232,54,93,.12) 0%, transparent 60%);
  pointer-events: none;
}

.popup__close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.popup__icon {
  font-size: 40px;
  text-align: center;
  margin-bottom: 14px;
  line-height: 1;
}
.popup__icon--ok { color: var(--ok); font-size: 48px; }

.popup__title {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(28px, 5vw, 36px);
  font-weight: 400;
  letter-spacing: .04em;
  text-align: center;
  line-height: 1.1;
  color: var(--txt);
  margin-bottom: 12px;
}

.popup__text {
  font-size: 15px;
  color: var(--txt2);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 20px;
}

.popup__form-state { display: flex; flex-direction: column; }
.popup__success-state { display: none; flex-direction: column; align-items: center; }
.popup__success-state.is-active { display: flex; }

/* ══════════════════════════════════════
   OFFER STRIP
═════════════════════════════════════ */
.offer-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 12px var(--px);
  background: var(--acc);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  line-height: 1.4;
}

.offer-strip__main { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; }

.offer-strip__tag {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(0,0,0,.2);
  border-radius: var(--r-max);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.offer-strip__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.offer-strip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.7);
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.3} }

.offer-strip__time { font-size: 20px; font-weight: 900; letter-spacing: .06em; }

/* ══════════════════════════════════════
   TOPBAR
═════════════════════════════════════ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--px);
  height: 60px;
  background: rgba(8,9,16,.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__mark {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--acc);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  border-radius: 10px;
}
.brand__text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: .08em;
  color: var(--txt);
}

.topbar__cta { padding: 10px 20px; font-size: 14px; }

/* ══════════════════════════════════════
   HERO
═════════════════════════════════════ */
.hero {
  position: relative;
  min-height: min(80vh, 660px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--px) var(--px) clamp(40px, 8vw, 72px);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('media/hero.jpg') center center / cover no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero__media { transform: scale(1); }

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(8,9,16,1) 0%, rgba(8,9,16,.6) 40%, rgba(8,9,16,.1) 100%),
    linear-gradient(to right, rgba(8,9,16,.6) 0%, transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 640px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.hero__meta span {
  padding: 5px 12px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-max);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--txt2);
}

.hero__title {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(56px, 10vw, 100px);
  font-weight: 400;
  letter-spacing: .03em;
  line-height: .92;
  color: var(--txt);
  margin-bottom: 20px;
}
.hero__title span { color: var(--acc); }

.hero__lead {
  font-size: clamp(15px, 2.5vw, 18px);
  color: var(--txt2);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__badge {
  position: absolute;
  bottom: clamp(24px, 5vw, 48px);
  right: var(--px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(15,17,27,.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border2);
  border-radius: var(--r-max);
  font-size: 13px;
  font-weight: 600;
  color: var(--txt);
  white-space: nowrap;
}
.hero__badge-avatars { display: flex; }
.hero__badge-avatars span {
  font-size: 20px;
  margin-right: -6px;
  filter: drop-shadow(0 0 0 2px var(--surface));
}

/* ══════════════════════════════════════
   STATUS BAR (sticky)
═════════════════════════════════════ */
.status-bar {
  position: sticky;
  top: 60px;
  z-index: 190;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px var(--px);
  background: rgba(15,17,27,.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.status-bar__info { flex: 1; min-width: 0; }
.status-bar__count { font-size: 13px; font-weight: 600; color: var(--txt2); margin-bottom: 5px; }
.status-bar__track {
  height: 4px;
  background: var(--surf3);
  border-radius: var(--r-max);
  overflow: hidden;
}
.status-bar__fill {
  height: 100%;
  background: var(--acc);
  border-radius: var(--r-max);
  width: 0%;
  transition: width .6s var(--ease-out);
}
.status-bar__pct {
  font-size: 13px;
  font-weight: 700;
  color: var(--acc);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.status-bar__btn { padding: 9px 18px; font-size: 13px; flex-shrink: 0; }

/* ══════════════════════════════════════
   PLAYER
═════════════════════════════════════ */
.player {
  max-width: var(--wrap);
  margin: 32px auto 0;
  padding: 0 var(--px);
}
.player--hidden { display: none !important; }

.player__screen {
  position: relative;
  width: 100%;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  border-bottom: none;
}

/* Plyr fills screen */
.player__screen .plyr {
  width: 100%;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  --plyr-video-background: #000;
}
.player__screen .plyr video {
  object-fit: contain;
  background: #000;
}
/* hide raw video before Plyr wraps it */
.player__screen > video { display: none; }

/* Single-row YouTube-like controls — progress stretches in the middle */
.plyr__controls { flex-wrap: nowrap; gap: 0; padding: 8px 10px 10px; }
.plyr__controls__item.plyr__progress__container { flex: 1 1 auto !important; min-width: 60px; }
.plyr__progress input[type=range] { width: 100%; }
/* Fix: thumb-offset makes 100% look ~80% — compensate with negative margin */
.plyr__progress input[type=range]::-webkit-slider-thumb { margin-top: 0; }
.plyr__progress .plyr__progress__buffer { border-radius: 3px; }
/* Hide volume slider on narrow screens, keep mute button */
@media (max-width: 480px) { .plyr__volume input[type=range] { display: none; } }

.player__empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(24px, 5%, 56px);
  min-height: 260px;
  background: var(--surface);
}
.player__empty--hidden { display: none; }
.player__empty h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: .04em;
  color: var(--txt);
  margin: 8px 0 16px;
  white-space: pre-line;
}
.player__points { display: flex; flex-direction: column; gap: 8px; }
.player__points li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--txt2);
  line-height: 1.4;
}
.player__points li::before {
  content: '✓';
  color: var(--ok);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.player__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.player__bar-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.player__bar-info strong { font-size: 17px; font-weight: 700; color: var(--txt); }
.player__bar-info span  { font-size: 13px; color: var(--muted); }
.player__bar-desc { font-size: 13px; color: var(--txt2); margin: 0; margin-top: 4px; line-height: 1.5; }

/* ══════════════════════════════════════
   PiP
═════════════════════════════════════ */
.pip {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 500;
  width: clamp(200px, 30vw, 300px);
  background: #000;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.6);
  border: 1px solid var(--border2);
  display: none;
}
.pip.is-active { display: block; }
.pip video { width: 100%; display: block; }
.pip__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: var(--surface);
}
.pip__bar span { font-size: 12px; color: var(--txt2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ══════════════════════════════════════
   NEXT HINT
═════════════════════════════════════ */
.next-hint {
  display: none;
  align-items: center;
  gap: 14px;
  max-width: var(--wrap);
  margin: 16px auto 0;
  padding: 14px var(--px);
  background: var(--surf2);
  border-left: 3px solid var(--ok);
}
.next-hint.is-active { display: flex; }
.next-hint__icon { font-size: 20px; color: var(--ok); flex-shrink: 0; }
.next-hint__text { flex: 1; min-width: 0; }
.next-hint__text strong { display: block; font-size: 14px; font-weight: 700; color: var(--txt); }
.next-hint__text span  { font-size: 13px; color: var(--muted); }

/* ══════════════════════════════════════
   AFTER-3 BANNER
═════════════════════════════════════ */
.after-banner {
  display: none;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  max-width: var(--wrap);
  margin: 32px auto 0;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(232,54,93,.15) 0%, rgba(139,92,246,.1) 100%);
  border: 1px solid rgba(232,54,93,.25);
  border-radius: var(--r-lg);
}
.after-banner.is-active { display: flex; }
.after-banner__text { flex: 1; min-width: 200px; }
.after-banner__text h2 { font-size: clamp(18px, 3vw, 24px); font-weight: 800; margin: 6px 0 8px; color: var(--txt); }
.after-banner__text p  { font-size: 14px; color: var(--txt2); }

/* ══════════════════════════════════════
   SECTION HEADER
═════════════════════════════════════ */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--wrap);
  margin: 40px auto 0;
  padding: 0 var(--px);
}
.section-head h2 { font-size: clamp(22px, 4vw, 30px); font-weight: 800; color: var(--txt); margin-top: 4px; }
.section-head__count { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }

/* ══════════════════════════════════════
   LESSON GRID
═════════════════════════════════════ */
.lesson-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 20px auto 0;
  padding: 0 var(--px) 40px;
}

/* ── LESSON CARD ── */
.lcard {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), border-color .25s;

  opacity: 0;
  transform: translateY(24px) scale(.97);
}
.lcard.lcard--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity .5s var(--ease-out),
    transform .5s var(--ease-out),
    box-shadow .35s var(--ease-out),
    border-color .25s;
}
.lcard:not(.lcard--blocked):hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 40px rgba(0,0,0,.55);
  border-color: var(--border2);
}
.lcard:focus-visible { outline: 3px solid var(--acc); outline-offset: 2px; }

/* ── CARD LAYERS (explicit z-index — no wildcard to avoid height:0 bug) ── */
.lcard-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center top;
  transition: transform .5s var(--ease-out);
}
.lcard:hover .lcard-photo { transform: scale(1.06); }

.lcard-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(8,9,16,.1) 0%,
    rgba(8,9,16,.3) 40%,
    rgba(8,9,16,.85) 75%,
    rgba(8,9,16,.97) 100%
  );
  transition: background .3s;
}

.lcard-head {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 0;
}

.lcard-num {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  padding: 4px 10px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(6px);
  border-radius: var(--r-max);
}

.lcard-status {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}
.lcard-status--watched { background: var(--ok); color: #fff; }
.lcard-status--playing {
  background: var(--acc);
  color: #fff;
  animation: pulsePing .9s ease infinite;
}
@keyframes pulsePing {
  0%,100% { box-shadow: 0 0 0 0 rgba(232,54,93,.5); }
  50%     { box-shadow: 0 0 0 6px rgba(232,54,93,0); }
}

.lcard-play {
  position: absolute;
  top: 50%; left: 50%;
  z-index: 3;
  transform: translate(-50%, -50%) scale(.7);
  opacity: 0;
  width: 56px;
  height: 56px;
  background: rgba(232,54,93,.9);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-spring);
  pointer-events: none;
}
.lcard-play svg { width: 22px; height: 22px; fill: #fff; margin-left: 3px; }
.lcard:not(.lcard--blocked):hover .lcard-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.lcard-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  padding: 0 16px 16px;
}
.lcard-title {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: .05em;
  line-height: .95;
  color: var(--txt);
  white-space: pre-line;
  margin-bottom: 6px;
}
.lcard-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* ── HOVER PREVIEW ── */
.lcard-preview {
  position: absolute;
  inset: 0;
  z-index: 4;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(8,9,16,.88);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.lcard:not(.lcard--blocked):hover .lcard-preview { opacity: 1; pointer-events: auto; }
.lcard-preview ul { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.lcard-preview li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: var(--txt2);
  line-height: 1.35;
}
.lcard-preview li::before { content:'✓'; color: var(--ok); font-weight: 700; flex-shrink:0; }

/* ── CARD STATES ── */
.lcard--watched .lcard-shade {
  background: linear-gradient(
    to bottom,
    rgba(34,197,94,.08) 0%,
    rgba(8,9,16,.5) 50%,
    rgba(8,9,16,.95) 100%
  );
}

.lcard--blocked {
  cursor: not-allowed;
  opacity: .5;
  filter: grayscale(.4);
}

/* ── LOCK OVERLAY ── */
.lcard-lock {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(8,9,16,.7);
  backdrop-filter: blur(4px);
  padding: 16px;
  text-align: center;
}
.lcard-lock__icon { font-size: 36px; }
.lcard-lock__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--txt2);
}
.lcard-lock__chip {
  padding: 5px 12px;
  background: rgba(232,54,93,.2);
  border: 1px solid rgba(232,54,93,.4);
  border-radius: var(--r-max);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--acc);
}

/* ── CARD PROGRESS BAR ── */
.lcard-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 6;
  height: 3px;
  background: rgba(255,255,255,.1);
}
.lcard-progress span {
  display: block;
  height: 100%;
  background: var(--ok);
  border-radius: var(--r-max);
}

/* ══════════════════════════════════════
   PITCH SECTION
═════════════════════════════════════ */
.pitch {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) var(--px);
}

.pitch__intro { text-align: center; margin-bottom: 40px; }
.pitch__intro h2 {
  font-family: 'Bebas Neue', 'Inter', sans-serif;
  font-size: clamp(32px, 6vw, 60px);
  letter-spacing: .04em;
  line-height: 1.0;
  color: var(--txt);
  margin: 10px 0 16px;
}
.pitch__intro p { font-size: clamp(14px, 2vw, 17px); color: var(--txt2); max-width: 580px; margin: 0 auto; }

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}
.chip-grid span {
  padding: 8px 18px;
  background: var(--surf2);
  border: 1px solid var(--border2);
  border-radius: var(--r-max);
  font-size: 13px;
  font-weight: 600;
  color: var(--txt2);
  transition: background .2s, color .2s, border-color .2s;
}
.chip-grid span:hover {
  background: rgba(232,54,93,.12);
  border-color: rgba(232,54,93,.35);
  color: var(--txt);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
.stats-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  text-align: center;
}
.stats-grid strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 400;
  letter-spacing: .03em;
  color: var(--acc);
  line-height: 1;
}
.stats-grid span { font-size: 12px; color: var(--muted); margin-top: 4px; font-weight: 500; }

.price-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px;
  background: linear-gradient(135deg, var(--surf2) 0%, var(--surface) 100%);
  border: 1px solid var(--border2);
  border-radius: var(--r-xl);
  flex-wrap: wrap;
}
.price-card__info { flex: 1; min-width: 200px; }
.price-card__old { font-size: 13px; color: var(--muted); text-decoration: line-through; margin-bottom: 6px; }
.price-card__new {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(44px, 7vw, 64px);
  letter-spacing: .03em;
  color: var(--txt);
  line-height: 1;
  display: block;
}
.price-card__unit { font-size: 14px; color: var(--txt2); display: block; margin-bottom: 10px; }
.price-card__tag {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(232,54,93,.15);
  border: 1px solid rgba(232,54,93,.3);
  border-radius: var(--r-max);
  font-size: 13px;
  font-weight: 700;
  color: var(--acc);
}
.price-card__mockup {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-top: 14px;
}

.price-card__actions { display: flex; flex-direction: column; gap: 10px; flex: 1; min-width: 220px; }

/* ══════════════════════════════════════
   FOOTER
═════════════════════════════════════ */
.footer {
  padding: 32px var(--px);
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

/* ══════════════════════════════════════
   TELEGRAM BUTTON
═════════════════════════════════════ */
.tg-btn {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  background: #229ed9;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--r-max);
  box-shadow: 0 4px 24px rgba(34,158,217,.45);
  white-space: nowrap;
  transition: background .2s, box-shadow .2s, transform .2s var(--ease-spring);
  border: none;
  cursor: pointer;
}
.tg-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.tg-btn:hover {
  background: #1a85b8;
  box-shadow: 0 6px 30px rgba(34,158,217,.55);
  transform: translateX(-50%) translateY(-2px);
}

/* ══════════════════════════════════════
   TOAST
═════════════════════════════════════ */
.toast-wrap {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 600;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  width: max-content;
  max-width: min(90vw, 440px);
}

.toast {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  background: rgba(22,25,39,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border2);
  border-radius: var(--r-max);
  font-size: 14px;
  font-weight: 500;
  color: var(--txt);
  white-space: nowrap;
  box-shadow: 0 4px 24px rgba(0,0,0,.45);
  animation: toastIn .28s var(--ease-spring) both;
  pointer-events: auto;
}
.toast--warn  { border-color: rgba(232,54,93,.4);  background: rgba(30,10,15,.96); }
.toast--ok    { border-color: rgba(34,197,94,.35); }
.toast--sales { border-color: rgba(232,54,93,.4);  background: rgba(26,13,34,.96); }
.toast.toast--out { animation: toastOut .25s var(--ease-out) forwards; }

@keyframes toastIn  { from { opacity:0; transform:translateY(12px) scale(.95); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes toastOut { to   { opacity:0; transform:translateY(-8px)  scale(.95); } }

/* ══════════════════════════════════════
   RESPONSIVE
═════════════════════════════════════ */
@media (max-width: 780px) {
  .lesson-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .price-card  { flex-direction: column; gap: 20px; }
  .price-card__info { text-align: center; }
  .after-banner { flex-direction: column; text-align: center; }
  .hero__badge { position: static; margin-top: 20px; width: fit-content; }
}

@media (max-width: 540px) {
  .lesson-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero__title { font-size: clamp(48px, 13vw, 70px); }
  .offer-strip { padding: 10px var(--px); }
  .topbar__cta { display: none; }
  .status-bar  { flex-wrap: wrap; }
  .status-bar__btn { width: 100%; }
  .lcard-title { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
