/* ===========================
   So'z yodlash kursi — styles
   =========================== */

:root {
  /* Default theme — bo'shga qoldirilgan; JS orqali to'ldiriladi */
  --bg: #ffffff;
  --bg-soft: #f4f6fb;
  --bg-card: #ffffff;
  --ink: #0a1530;
  --ink-soft: #4b5a78;
  --ink-mute: #7c8aa6;
  --line: #e3e8f2;
  --line-strong: #cfd6e6;

  --brand: #1e3a8a;     /* deep navy */
  --brand-2: #2563eb;   /* electric */
  --brand-ink: #ffffff;
  --accent: #f59e0b;    /* urgency amber */
  --accent-ink: #1a1100;
  --danger: #dc2626;

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(10,21,48,0.06), 0 1px 1px rgba(10,21,48,0.04);
  --shadow: 0 8px 24px -8px rgba(10,21,48,0.18), 0 2px 6px rgba(10,21,48,0.06);
  --shadow-lg: 0 30px 60px -30px rgba(10,21,48,0.35), 0 12px 24px -12px rgba(10,21,48,0.15);

  --max: 1200px;
  --pad: clamp(16px, 4vw, 32px);

  --font-display: "Bricolage Grotesque", "Inter Tight", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

/* Theme: dark */
[data-theme="dark"] {
  --bg: #07101f;
  --bg-soft: #0d1a31;
  --bg-card: #112241;
  --ink: #f1f5fb;
  --ink-soft: #b4c1d8;
  --ink-mute: #7b8aa8;
  --line: #1c2c4d;
  --line-strong: #2a3d63;
  --brand: #3b82f6;
  --brand-2: #60a5fa;
  --accent: #fbbf24;
}

/* Theme: warm */
[data-theme="warm"] {
  --bg: #fffaf2;
  --bg-soft: #fff3df;
  --bg-card: #ffffff;
  --ink: #1a1304;
  --ink-soft: #5b4a2a;
  --line: #f0e3c8;
  --brand: #b45309;
  --brand-2: #f59e0b;
  --accent: #1e3a8a;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* Typography */
.h-display {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
  margin: 0;
}
.h1 { font-size: clamp(40px, 7vw, 86px); }
.h2 { font-size: clamp(30px, 5vw, 56px); }
.h3 { font-size: clamp(22px, 3vw, 32px); }
.h-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-2);
  font-weight: 600;
  margin: 0 0 14px;
}
.lead {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-soft);
  text-wrap: pretty;
  max-width: 62ch;
  margin: 0;
}

/* Section */
section { padding: clamp(56px, 9vw, 110px) 0; position: relative; }
section.tight { padding: clamp(40px, 6vw, 72px) 0; }
section.bg-soft { background: var(--bg-soft); }
section.bg-ink { background: var(--ink); color: var(--bg); }
section.bg-ink .lead { color: #b4c1d8; }
section.bg-ink .h-eyebrow { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 18px 30px; font-size: 17px; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 22px -8px color-mix(in oklab, var(--accent) 70%, transparent);
}
.btn-primary:hover {
  box-shadow: 0 16px 32px -10px color-mix(in oklab, var(--accent) 80%, transparent);
}
.btn-brand {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 10px 22px -8px color-mix(in oklab, var(--brand) 60%, transparent);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--bg-soft); }
.btn-tg {
  background: #229ED9;
  color: #fff;
  box-shadow: 0 10px 22px -8px rgba(34,158,217,0.6);
}
.btn-tg:hover { background: #1b8ec4; box-shadow: 0 16px 32px -10px rgba(34,158,217,0.7); }

/* Pill / chip */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--brand) 8%, transparent);
  color: var(--brand);
  font-weight: 600;
  font-size: 13px;
  border: 1px solid color-mix(in oklab, var(--brand) 14%, transparent);
}
.pill.urgent {
  background: color-mix(in oklab, var(--accent) 18%, transparent);
  color: color-mix(in oklab, var(--accent) 70%, var(--ink));
  border-color: color-mix(in oklab, var(--accent) 35%, transparent);
}
[data-theme="dark"] .pill.urgent { color: var(--accent); }

.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; display: inline-block;
  animation: blink 1.4s infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
}
.card.interactive {
  transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.card.interactive:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}

/* Sticky urgency strip */
.urgency-strip {
  position: relative;
  z-index: 30;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.urgency-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
}
.urgency-left {
  display: flex; align-items: center; gap: 12px;
  font-weight: 500;
}
.urgency-left .dot { color: var(--accent); }
.urgency-strip strong { color: var(--accent); font-weight: 700; }
.timer {
  display: inline-flex; gap: 4px;
  font-family: var(--font-mono);
  font-weight: 600;
}
.timer span {
  background: rgba(255,255,255,0.08);
  padding: 4px 8px;
  border-radius: 6px;
  min-width: 32px;
  text-align: center;
}

/* Nav */
.nav {
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.nav.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 20px -12px rgba(10,21,48,0.25);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.logo-mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  box-shadow: 0 6px 14px -4px color-mix(in oklab, var(--brand) 50%, transparent);
}
.nav-links {
  display: flex; gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
}
.nav-links a:hover { color: var(--ink); }
@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* Hero */
.hero {
  padding-top: clamp(36px, 6vw, 60px);
  padding-bottom: clamp(56px, 9vw, 110px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(40px, 6vw, 60px);
  max-width: 820px;
  margin: 0 auto;
}
.hero-eyebrow { display: inline-flex; gap: 10px; align-items: center; margin-bottom: 22px; justify-content: center; }
.hero h1 mark {
  background: linear-gradient(120deg, transparent 0 6%, color-mix(in oklab, var(--accent) 60%, transparent) 6% 94%, transparent 94%);
  color: inherit;
  padding: 0 2px;
}
.hero-sub {
  margin: 22px auto 28px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
  text-wrap: pretty;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-trust {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: left;
}
.avatar-stack { display: flex; }
.avatar-stack .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.avatar-stack .av:first-child { margin-left: 0; }

/* Hero video slot */
.hero-video {
  width: 100%;
  max-width: 760px;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--bg-card);
  background: #0b1020;
}
.hero-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
/* Video poster — bosilganda YouTube'da ochiladi (embed cheklovlaridan xoli) */
.video-poster {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .25s ease;
}
.video-poster:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.video-poster .vp-play {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(255,0,51,0.92);
  color: #fff;
  display: grid; place-items: center;
  font-size: 30px; padding-left: 6px;
  box-shadow: 0 10px 30px -6px rgba(0,0,0,0.5);
  transition: transform .2s ease, background .2s ease;
}
.video-poster:hover .vp-play { transform: scale(1.08); background: #ff0033; }
.video-poster .vp-label {
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  font-family: var(--font-display);
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  letter-spacing: 0.01em;
}
.video-caption {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 560px;
}
.video-caption .vc-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ff0033;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 14px -6px rgba(255,0,51,0.6);
}
.video-caption .vc-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  text-align: left;
  text-wrap: pretty;
  max-width: 40ch;
}
.hero-video.placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(120% 120% at 50% 0%, #1e3a8a 0%, #0b1020 70%);
  color: #fff;
  cursor: default;
}
.hero-video.placeholder .hv-play {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 2px solid rgba(255,255,255,0.4);
  display: grid; place-items: center;
  font-size: 26px;
  padding-left: 6px;
  animation: hvpulse 2.2s ease-in-out infinite;
}
@keyframes hvpulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.25); }
  50% { box-shadow: 0 0 0 16px rgba(255,255,255,0); }
}
.hero-video.placeholder .hv-text {
  text-align: center;
  display: flex; flex-direction: column; gap: 4px;
}
.hero-video.placeholder .hv-text strong {
  font-family: var(--font-display);
  font-size: 19px;
}
.hero-video.placeholder .hv-text span {
  font-size: 13.5px;
  color: rgba(255,255,255,0.7);
}

/* Hero visual — phone-like flashcard demo */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 760px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}
.flashcard {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 5 / 6;
  position: relative;
  cursor: pointer;
}
.flashcard-inner {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.7,.05,.3,1);
}
.flashcard.is-flipped .flashcard-inner { transform: rotateY(180deg); }
.flashcard-face {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  padding: 26px 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
}
.flashcard-face.back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, var(--brand), #0c1d4a);
  color: #fff;
  border-color: transparent;
}
.flashcard-meta {
  display: flex; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.flashcard-face.back .flashcard-meta { color: rgba(255,255,255,0.65); }
.flashcard-word {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}
.flashcard-pron {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 8px;
}
.flashcard-face.back .flashcard-pron { color: rgba(255,255,255,0.7); }
.flashcard-translate {
  margin-top: auto;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 700;
}
.flashcard-example {
  margin-top: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-style: italic;
}
.flashcard-tags { display: flex; gap: 8px; margin-top: 14px; }
.flashcard-tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: color-mix(in oklab, var(--brand) 12%, transparent);
  color: var(--brand);
}
.flashcard-face.back .flashcard-tag {
  background: rgba(255,255,255,0.16);
  color: #fff;
}

.flashcard-stack-bg, .flashcard-stack-bg2 {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: -1;
}
.flashcard-stack-bg { transform: translate(12px, 14px) rotate(2.5deg); opacity: .7; }
.flashcard-stack-bg2 { transform: translate(-10px, 22px) rotate(-3deg); opacity: .45; z-index: -2; }

.hero-blob {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 700px;
  max-height: 700px;
  right: -20%;
  top: -10%;
  background: radial-gradient(closest-side, color-mix(in oklab, var(--brand) 18%, transparent), transparent 70%);
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 64px;
}
@media (max-width: 720px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.stat {
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--brand);
  line-height: 1;
}
.stat-label {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Problem grid */
.section-head {
  max-width: 740px;
  margin: 0 auto clamp(36px, 6vw, 56px);
  text-align: center;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.problem-card {
  position: relative;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--line);
}
.problem-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand-2);
  letter-spacing: 0.15em;
  font-weight: 700;
}
.problem-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 8px 0 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.problem-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}
.problem-card .x-mark {
  position: absolute;
  top: 22px; right: 22px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: color-mix(in oklab, var(--danger) 12%, transparent);
  color: var(--danger);
  display: grid; place-items: center;
  font-weight: 800;
}

/* Method steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.step {
  padding: 26px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.04em;
}
.step h4 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 8px 0 8px;
  font-weight: 700;
}
.step p {
  margin: 0; color: var(--ink-soft); font-size: 14.5px;
}

/* Results */
.results-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (max-width: 880px) { .results-grid { grid-template-columns: 1fr; } }
.result-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.result-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: 12px;
}
.result-item .check {
  width: 26px; height: 26px; flex: none;
  border-radius: 50%;
  background: color-mix(in oklab, var(--brand) 14%, transparent);
  color: var(--brand);
  display: grid; place-items: center;
  font-weight: 800;
  margin-top: 2px;
}
.result-item strong { display: block; font-family: var(--font-display); font-size: 17px; }
.result-item span { color: var(--ink-soft); font-size: 14px; }

.progress-mock {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.progress-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.progress-bar {
  height: 10px; border-radius: 999px;
  background: var(--bg-soft);
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(.2,.7,.3,1);
}
.day-grid {
  display: grid;
  grid-template-columns: repeat(15, 1fr);
  gap: 5px;
  margin-top: 22px;
}
.day-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--bg-soft);
}
.day-cell.done { background: var(--brand); }
.day-cell.done.high { background: var(--brand-2); }

/* Teacher */
.teacher-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
}
@media (max-width: 880px) { .teacher-grid { grid-template-columns: 1fr; } }
.teacher-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  box-shadow: var(--shadow-lg);
}
.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}
.teacher-badges {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 24px;
}
.t-badge {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.bg-ink .t-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Reviews — kartochka uslubi */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.review-card {
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  position: relative;
}
.review-stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; }
.review-text {
  margin: 14px 0 18px;
  font-size: 15px;
  color: var(--ink);
  text-wrap: pretty;
  flex: 1;
}
.review-author {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
}
.review-author .av {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 16px;
}
.review-author strong { display: block; font-size: 14.5px; font-weight: 700; }
.review-author span { color: var(--ink-mute); font-size: 13px; }
.review-words {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--brand);
  font-weight: 700;
}
.review-src {
  position: absolute; top: 16px; right: 20px;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700;
  color: #ff0033;
  background: color-mix(in oklab, #ff0033 10%, transparent);
  padding: 4px 9px; border-radius: 999px;
  letter-spacing: 0.01em;
}
[data-theme="dark"] .review-src { color: #ff5a78; background: rgba(255,0,51,0.16); }

/* Reviews — YouTube izoh kartochkasi */
.yt-card {
  padding: 20px 22px;
  gap: 0;
}
.yt-badge {
  position: absolute; top: 16px; right: 18px;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11.5px; font-weight: 700;
  color: var(--ink-mute);
  letter-spacing: 0.01em;
}
.yt-badge svg { display: block; }
.yt-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.yt-av {
  width: 42px; height: 42px; flex: none;
  border-radius: 50%;
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 19px;
}
.yt-id { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.yt-name {
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.yt-time { font-size: 12px; color: var(--ink-mute); }
.yt-text {
  margin: 0 0 16px;
  font-size: 15px; line-height: 1.55;
  color: var(--ink);
  text-wrap: pretty;
  flex: 1;
}
.yt-actions {
  display: flex; align-items: center; gap: 6px;
  color: var(--ink-mute);
  margin-top: auto;
}
.yt-actions svg { flex: none; }
.yt-likes { font-size: 12.5px; font-weight: 500; margin-left: 2px; }
.yt-reply { font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-left: 12px; }
.yt-heart { font-size: 14px; margin-left: 2px; }

/* Pricing */
.pricing-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--brand) 0%, transparent 30%, transparent 70%, var(--accent) 100%);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.4;
}
.price-tag {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0 16px;
}
.price-old {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  color: var(--ink-mute);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--danger);
  font-weight: 600;
}
.price-new {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1;
}
.price-currency { font-size: 0.55em; font-weight: 600; color: var(--ink-soft); margin-left: 6px; }
.price-save {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: color-mix(in oklab, var(--danger) 14%, transparent);
  color: var(--danger);
  font-weight: 700;
  font-size: 13px;
}
.price-features {
  margin: 26px 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 1px dashed var(--line);
}
.price-features li:last-child { border: none; }
.price-features svg { flex: none; color: var(--brand); margin-top: 3px; }

.slots-meter {
  margin-top: 24px;
  padding: 18px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.slots-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 600;
  margin-bottom: 10px;
}
.slots-row .red { color: var(--danger); }
.slots-bar {
  height: 8px; border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
}
.slots-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width .8s ease;
}
.slots-note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}

.countdown-big {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: 8px 0 0;
}
.cd-cell {
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 14px 6px;
  text-align: center;
}
.cd-num {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1;
}
.cd-label {
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* FAQ */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  border: 1px solid var(--line);
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font-body);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-q .chev {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: grid; place-items: center;
  transition: transform .2s ease, background .2s ease;
  flex: none;
  color: var(--brand);
  font-weight: 800;
}
.faq-item.open .faq-q .chev { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height .35s ease;
}
.faq-item.open .faq-a { max-height: var(--faq-h, 1000px); }
.faq-a-inner {
  padding: 0 22px 22px;
  color: var(--ink-soft);
  font-size: 15px;
  text-wrap: pretty;
}

/* Form */
.form-wrap {
  max-width: 560px;
  margin: 0 auto;
}
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}
.field input, .field select {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: var(--bg-card);
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--brand-2);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--brand-2) 18%, transparent);
}
.field .err { color: var(--danger); font-size: 12px; }
.form-ok {
  padding: 22px;
  background: color-mix(in oklab, var(--brand) 8%, transparent);
  border: 1px solid color-mix(in oklab, var(--brand) 25%, transparent);
  border-radius: 14px;
  color: var(--brand);
  text-align: center;
  font-weight: 600;
}

/* Footer */
.footer {
  padding: 56px 0 36px;
  background: var(--ink);
  color: #b4c1d8;
  font-size: 14px;
}
.footer .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 720px) { .footer .container { grid-template-columns: 1fr; gap: 28px; } }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer h5 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 14px;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer ul a:hover { color: #fff; }
.social {
  display: flex; gap: 10px; margin-top: 14px;
}
.social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: #fff;
  transition: background .2s;
}
.social a:hover { background: var(--brand-2); }

.copyright {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 13px;
  color: #7b8aa8;
  text-align: center;
}

/* Variant: aggressive */
[data-vibe="aggressive"] .h1 {
  text-transform: uppercase;
  letter-spacing: -0.025em;
}
[data-vibe="aggressive"] .h-eyebrow {
  color: var(--danger);
}
[data-vibe="aggressive"] .urgency-strip {
  background: var(--danger);
  color: #fff;
}
[data-vibe="aggressive"] .urgency-strip strong { color: #fff; }
[data-vibe="aggressive"] .pill.urgent {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
  animation: pulse 1.4s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--danger) 60%, transparent); }
  50% { box-shadow: 0 0 0 10px color-mix(in oklab, var(--danger) 0%, transparent); }
}
[data-vibe="aggressive"] .btn-primary {
  animation: jiggle 3s ease-in-out infinite;
}
@keyframes jiggle {
  0%, 92%, 100% { transform: translateY(0); }
  94% { transform: translateY(-2px) rotate(-1deg); }
  96% { transform: translateY(0) rotate(1deg); }
  98% { transform: translateY(-1px) rotate(0); }
}

/* Hero variant: stats-led */
[data-hero="stats"] .flashcard { display: none; }
[data-hero="stats"] .hero-visual::before {
  content: "";
  position: absolute; inset: 0;
}

/* Misc */
.divider {
  height: 1px;
  background: var(--line);
  margin: 0;
}
.spaced { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Tweaks panel z-index above sticky */
#tweaks-root { z-index: 100; }

/* Signup modal (popup) */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(7, 16, 31, 0.62);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(16px, 5vh, 64px) 16px;
  overflow-y: auto;
  animation: modalFade .22s ease;
}
@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
.modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--bg-card);
  border-radius: 22px;
  padding: clamp(26px, 4vw, 38px);
  box-shadow: var(--shadow-lg);
  animation: modalPop .26s cubic-bezier(.2,.8,.3,1);
  margin: auto;
}
@keyframes modalPop {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-align: center;
  text-wrap: balance;
  margin: 0 0 22px;
  color: var(--ink);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 16px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.modal-close:hover { background: var(--line); color: var(--ink); transform: rotate(90deg); }
.modal-card .form-grid { margin-top: 0; }

/* Signup modal (ism + telefon) */
.signup-modal { text-align: center; }
.signup-modal .modal-title { margin-bottom: 6px; }
.sm-lead {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 40ch;
  margin: 0 auto 18px;
  text-wrap: pretty;
}
.sm-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.sm-badge {
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  color: var(--ink);
}
.sm-badge.price {
  background: color-mix(in oklab, var(--brand) 12%, transparent);
  border-color: color-mix(in oklab, var(--brand) 25%, transparent);
  color: var(--brand);
}
.signup-modal .form-grid { text-align: left; }
.sm-guarantee {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

/* Telegram bridge modal */
.tg-modal { text-align: center; }
.tg-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  display: grid; place-items: center;
  margin: 4px auto 18px;
  box-shadow: 0 12px 26px -10px rgba(34,158,217,0.7);
}
.tg-lead {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 40ch;
  margin: 10px auto 20px;
  text-wrap: pretty;
}
.tg-points {
  list-style: none;
  padding: 0;
  margin: 0 auto 24px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  text-align: left;
  max-width: 340px;
}
.tg-points li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 14.5px;
  color: var(--ink);
}
.tg-check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: color-mix(in oklab, #229ED9 16%, transparent);
  color: #229ED9;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
  margin-top: 1px;
}
.tg-modal .btn-tg { width: 100%; }
.tg-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-soft);
}
.tg-note strong { color: var(--ink); }

