#paywall-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.paywall-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  position: relative;
}

.paywall-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.1rem;
  padding: 0.25rem;
  line-height: 1;
}

.paywall-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.paywall-heading {
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.paywall-sub {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* PLAN CARDS */
.paywall-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.plan-card {
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1rem;
  cursor: pointer;
  transition: border-color 0.15s;
  position: relative;
  text-align: center;
}

.plan-card.selected,
.plan-card:hover { border-color: var(--green); }

.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  white-space: nowrap;
  font-weight: 500;
}

.plan-period {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.plan-price {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.plan-price sub {
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-muted);
  vertical-align: baseline;
}

.plan-note {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

/* CTA */
.paywall-cta {
  width: 100%;
  background: var(--green);
  color: white;
  border: none;
  padding: 0.875rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s;
}

.paywall-cta:hover { background: var(--green-mid); }

.paywall-cancel {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .paywall-plans { grid-template-columns: 1fr; }
}

/* MOBILE */
@media (max-width: 480px) {
  .paywall-card { padding: 2rem 1.25rem; }
  .paywall-plans { grid-template-columns: 1fr; }
  .paywall-cta { min-height: 48px; font-size: 1rem; }
  .plan-card { padding: 1rem; }
}