/* =====================================================
   practice-teaser.css — ChemUnlocked Shared Teaser Styles
   Used by all XX_practice.html teaser pages.
   ===================================================== */

/* ── Sample problems section ── */
.teaser-intro {
  margin-bottom: 2rem;
}

.sample-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.sample-note {
  margin: -0.45rem 0 0;
  max-width: 680px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--dim);
}

.unit-label-inline {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── Blurred premium preview ── */
.premium-preview {
  position: relative;
  margin-top: 2.5rem;
  margin-bottom: 0;
  border-radius: 18px;
  overflow: hidden;
}

.premium-preview-blur {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
  opacity: 0.65;
}

.premium-preview-blur .problem {
  margin-bottom: 1rem;
}

.premium-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 30%, rgba(255,255,255,0.97) 70%);
  border-radius: 18px;
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.premium-overlay-title {
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 0.4rem;
}

/* ── CTA section ── */
.teaser-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.teaser-cta-card {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  max-width: 540px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
}

.teaser-cta-card h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.teaser-cta-card p {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.97rem;
  line-height: 1.55;
}

.lock-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.teaser-cta-btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── What's included list ── */
.premium-includes {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  text-align: left;
  font-size: 0.93rem;
  color: var(--muted);
  display: inline-block;
}

.premium-includes li::before {
  content: "✓ ";
  color: #2563eb;
  font-weight: 700;
}

@media (max-width: 560px) {
  .premium-overlay {
    justify-content: flex-start;
    padding: 1.25rem 1rem;
  }

  .teaser-cta-card {
    padding: 1.5rem 1rem;
  }

  .teaser-cta-btns .btn {
    width: 100%;
  }
}
