/* ============================================================
   BLUMI — unlock.css (Sprint 1: Paywall)
   Extends style.css — do NOT redefine existing tokens.
   ============================================================ */

/* ── Page background ── */
.unlock-body {
  background: linear-gradient(160deg, var(--color-sage-light) 0%, var(--color-warm-white) 50%, var(--color-primary-soft) 100%);
  min-height: 100vh;
}

.unlock-page {
  max-width: 480px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md) var(--space-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ── Top nav ── */
.unlock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.unlock-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  color: var(--color-text-tertiary);
  font-size: 18px;
  text-decoration: none;
  transition: var(--transition-fast);
}
.unlock-close:hover {
  border-color: var(--color-sage);
  color: var(--color-sage);
  background: var(--color-sage-light);
}

/* ── Child info chip ── */
.unlock-child-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--border-radius-pill);
  padding: 6px 16px;
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
  animation: fadeUp 0.3s ease-out;
}
.unlock-child-chip .child-name {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

/* ── Hero title ── */
.unlock-hero {
  text-align: center;
  animation: fadeUp 0.35s ease-out;
}
.unlock-emoji {
  font-size: 48px;
  display: block;
  margin-bottom: var(--space-sm);
}
.unlock-title {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  line-height: 1.3;
  margin-bottom: var(--space-xs);
}
.unlock-subtitle {
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

/* ── Value prop card ── */
.unlock-value-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
  animation: fadeUp 0.35s ease-out 0.1s both;
}
.unlock-value-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  list-style: none;
}
.unlock-value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  font-size: var(--font-size-small);
  color: var(--color-text-primary);
  line-height: 1.5;
}
.unlock-value-icon {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
}

/* ── Price display ── */
.unlock-price-wrapper {
  text-align: center;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1.5px solid var(--color-border);
}
.unlock-price-label {
  font-size: var(--font-size-caption);
  color: var(--color-text-tertiary);
  margin-bottom: var(--space-xs);
}
.unlock-price {
  font-size: var(--font-size-hero);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  line-height: 1.2;
}
.unlock-price-note {
  font-size: var(--font-size-caption);
  color: var(--color-text-tertiary);
  margin-top: var(--space-xs);
}

/* ── CTA button ── */
.unlock-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 18px var(--space-xl);
  background: linear-gradient(135deg, var(--color-sage) 0%, var(--color-sage-dark) 100%);
  color: white;
  font-family: var(--font-family);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-bold);
  border: none;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(126, 181, 166, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: fadeUp 0.35s ease-out 0.2s both;
  text-decoration: none;
}
.unlock-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(126, 181, 166, 0.45);
}
.unlock-cta:active {
  transform: scale(0.97);
}
.unlock-cta:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Trust badges ── */
.unlock-trust {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  animation: fadeUp 0.35s ease-out 0.25s both;
}
.unlock-trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}
.unlock-trust-icon {
  font-size: 22px;
}
.unlock-trust-label {
  font-size: 11px;
  color: var(--color-text-tertiary);
  line-height: 1.4;
  max-width: 85px;
}

/* ── Back link ── */
.unlock-back {
  text-align: center;
  animation: fadeUp 0.35s ease-out 0.3s both;
}
.unlock-back-link {
  font-size: var(--font-size-small);
  color: var(--color-text-tertiary);
  text-decoration: none;
  transition: var(--transition-fast);
}
.unlock-back-link:hover {
  color: var(--color-sage-dark);
}

/* ── Status message (post-order) ── */
.unlock-status {
  text-align: center;
  animation: fadeUp 0.35s ease-out;
  padding: var(--space-xl);
}
.unlock-status-icon {
  font-size: 56px;
  display: block;
  margin-bottom: var(--space-md);
}
.unlock-status-title {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-sm);
}
.unlock-status-body {
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 340px;
  margin: 0 auto var(--space-xl);
}
.unlock-status-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: left;
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
  max-width: 380px;
  margin: 0 auto var(--space-xl);
}
.unlock-status-step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--font-size-small);
  color: var(--color-text-secondary);
  line-height: 1.5;
}
.unlock-status-step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-sage-light);
  color: var(--color-sage-dark);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Responsive ── */
@media (min-width: 480px) {
  .unlock-page {
    padding: var(--space-2xl) var(--space-md) var(--space-3xl);
  }
}
