/* ===================================================================
   FREEMIUM TEASER & FULL UNLOCK PAYWALL STYLES
   =================================================================== */

.btn-unlock-pill {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  border: none;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.btn-unlock-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.5);
}

.badge-pro-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--success-100);
  color: var(--success-700);
  border: 1px solid var(--success-500);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-weight: 800;
  border: none;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
  transform: translateY(-1px);
}

.freemium-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #f8fafc;
  border: 1.5px solid #f59e0b;
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}

.freemium-banner-left {
  flex: 1;
  min-width: 260px;
}

.freemium-tag {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid #f59e0b;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.freemium-banner-left h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.freemium-banner-left p {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.inline-lock-tag {
  display: inline-block;
  background: var(--warning-100);
  color: var(--warning-700);
  border: 1px solid var(--warning-500);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-sm);
  margin-left: 0.35rem;
  vertical-align: middle;
}

.mode-card.locked-card {
  position: relative;
  opacity: 0.85;
  border-style: dashed;
}

.mode-card.locked-card:hover {
  border-color: var(--warning-500);
}

/* Upsell Card on Results Screen */
.freemium-upsell-card {
  background: var(--bg-secondary);
  color: #ffffff;
  border: 2px solid #f59e0b;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-xl);
}

.upsell-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid #f59e0b;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.06em;
}

.upsell-header h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0.5rem 0 0.4rem;
}

.upsell-header p {
  color: #cbd5e1;
  font-size: 0.95rem;
  max-width: 760px;
}

.upsell-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
}

.upsell-perk {
  font-size: 0.9rem;
  color: #f1f5f9;
}

/* Locked Solution Box in Free Review */
.solution-locked-box {
  position: relative;
  background: var(--bg-tertiary);
  border: 1.5px dashed var(--warning-500);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.solution-locked-info h5 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--warning-700);
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .solution-locked-info h5 {
  color: #fbbf24;
}

.solution-locked-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Unlock Modal */
.unlock-modal-card {
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  gap: 1.15rem;
  padding: 1.75rem;
  margin: auto;
}

.unlock-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.unlock-modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
}

.unlock-reason-banner {
  background: var(--warning-100);
  color: var(--warning-700);
  border-left: 4px solid var(--warning-500);
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
}

.unlock-price-box {
  background: var(--bg-secondary);
  color: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid #334155;
}

.price-left {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-weight: 800;
  font-size: 0.95rem;
  color: #f8fafc;
}

.price-sub {
  font-size: 0.78rem;
  color: #94a3b8;
}

.price-amount {
  font-family: var(--font-mono);
  font-size: 1.65rem;
  font-weight: 800;
  color: #fbbf24;
}

.payment-steps-box, .code-redemption-box {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.payment-steps-box h4, .code-redemption-box h4 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.bank-details-card {
  background: var(--bg-tertiary);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.bank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
}

.bank-row span {
  color: var(--text-muted);
  font-weight: 500;
}

.mono-acct {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--primary-600);
  letter-spacing: 0.05em;
}

.btn-copy-mini {
  background: var(--primary-100);
  color: var(--primary-700);
  border: 1px solid var(--primary-500);
  border-radius: var(--radius-sm);
  padding: 0.15rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-copy-mini:hover {
  background: var(--primary-600);
  color: #ffffff;
}

.btn-whatsapp {
  background: #16a34a;
  color: #ffffff;
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: #15803d;
}

.code-input-group {
  display: flex;
  gap: 0.5rem;
}

.code-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.code-input:focus {
  outline: none;
  border-color: var(--primary-500);
}

/* Flutterwave Payment Button & Elements */
.btn-flw-pay {
  background: linear-gradient(135deg, #ff9f1c 0%, #f95738 100%);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: 0 4px 14px rgba(249, 87, 56, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.btn-flw-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 87, 56, 0.45);
}

.btn-flw-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.25;
}

.btn-flw-text strong {
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.btn-flw-text small {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.95;
}

.flw-channels-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.flw-channel-tag {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
}

.unlock-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 0.75rem 0 0.4rem;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: none;
}

.unlock-divider::before,
.unlock-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border-medium);
}

.unlock-divider span {
  padding: 0 0.75rem;
}

.manual-options-toggle {
  background: none;
  border: none;
  color: var(--primary-600);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem;
  margin: 0 auto;
}

.manual-options-toggle:hover {
  text-decoration: underline;
}

.unlock-feedback-msg {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
}

.unlock-feedback-msg.error {
  background: var(--danger-100);
  color: var(--danger-700);
}

.unlock-feedback-msg.success {
  background: var(--success-100);
  color: var(--success-700);
}

/* --------------------------------------------------------------------------
   Unlock modal (uk-*): price card, then three numbered steps.
   New class names on purpose, so the older !important paywall overrides do not apply.
   -------------------------------------------------------------------------- */
.uk-card.unlock-modal-card {
  max-width: 460px;
  padding: 1.5rem;
  gap: 1.25rem;
}

.uk-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.uk-eyebrow {
  display: inline-block;
  margin-bottom: 0.2rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-600);
}

.uk-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.uk-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s ease;
}

.uk-close:hover {
  background: var(--border-light);
}

.uk-close svg {
  width: 18px;
  height: 18px;
}

.uk-reason {
  margin: 0;
  border-left: 0;
  border-radius: 12px;
  font-size: 0.84rem;
}

/* Price card */
.uk-price {
  padding: 1.15rem 1.2rem;
  border-radius: 18px;
  background: linear-gradient(135deg, #1e3a8a 0%, #4f46e5 55%, #7c3aed 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.28);
}

.uk-price-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.uk-price-name {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.3;
}

.uk-price-note {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
}

.uk-price-amount {
  flex-shrink: 0;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #fde68a;
}

.uk-perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.9rem 0 0;
  padding: 0;
  list-style: none;
}

.uk-perks li {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.74rem;
  font-weight: 600;
}

.uk-perks svg {
  width: 12px;
  height: 12px;
  stroke-width: 3;
}

/* Steps */
.uk-steps {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.uk-step {
  position: relative;
  display: flex;
  gap: 0.85rem;
}

/* Thin line joining the step numbers */
.uk-step:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: -1.1rem;
  left: 13px;
  width: 2px;
  background: var(--border-light);
}

.uk-step-num {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-50);
  color: var(--primary-600);
  font-size: 0.82rem;
  font-weight: 800;
}

.uk-step-body {
  flex: 1;
  min-width: 0;
}

.uk-step-body h4 {
  margin: 0.2rem 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Account card */
.uk-acct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-light);
}

.uk-acct-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.uk-acct-bank,
.uk-acct-name {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.uk-acct-num {
  margin: 0.1rem 0;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-primary);
}

.uk-copy {
  flex-shrink: 0;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: var(--primary-600);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

[data-theme="dark"] .uk-copy {
  background: #3b82f6;
}

/* WhatsApp */
.uk-whatsapp {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.9rem;
  border-radius: 14px;
  background: #16a34a;
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s ease;
}

.uk-whatsapp:hover {
  background: #15803d;
}

.uk-whatsapp svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.uk-whatsapp-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.uk-whatsapp-text strong {
  font-size: 0.92rem;
}

.uk-whatsapp-text small {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Activation form */
.uk-fields {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.uk-input {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-medium);
  background: var(--bg-primary);
  color: var(--text-primary);
  font: inherit;
  font-size: 16px; /* 16px stops iOS zooming in on focus */
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.uk-input::placeholder {
  color: var(--text-muted);
}

.uk-input:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.uk-input-code {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uk-input-code::placeholder {
  text-transform: none;
  font-weight: 500;
}

.uk-submit.btn {
  width: 100%;
  margin: 0.65rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
}

.uk-note {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.55rem 0 0;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.uk-note svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .uk-card.unlock-modal-card {
    padding: 1.15rem;
  }

  .uk-price-amount {
    font-size: 1.4rem;
  }
}

/* Shared details + Flutterwave online payment */
.uk-details h4 {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.uk-flw {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.uk-flw-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.85rem 1rem;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
  color: #ffffff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(249, 115, 22, 0.3);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.uk-flw-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.36);
}

.uk-flw-btn:active {
  transform: none;
}

.uk-flw-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
}

.uk-flw-icon svg {
  width: 20px;
  height: 20px;
}

.uk-flw-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.uk-flw-text strong {
  font-size: 1rem;
  font-weight: 800;
}

.uk-flw-text small {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.9);
}

.uk-flw-go {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.uk-flw-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.uk-flw-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
}

.uk-flw-tag svg {
  width: 12px;
  height: 12px;
}

.uk-flw-secure {
  text-align: center;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* "Already paid? Check again" (re-verifies a Flutterwave payment by its tx_ref) */
.uk-recheck {
  margin-top: 0.7rem;
  font-size: 0.8rem;
}

.uk-recheck summary {
  cursor: pointer;
  text-align: center;
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0.35rem 0;
}

.uk-recheck[open] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.uk-recheck-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.74rem;
  line-height: 1.45;
}

.uk-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.uk-divider::before,
.uk-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-light);
}
