/*


 */

/* Custom styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.hover-check:hover {
  background-color: #fff3cd;
  border-color: #ffc107 !important;
}

.hover-check:has(.form-check-input:checked) {
  background-color: #d1e7dd;
  border-color: #198754 !important;
}

.fw-black {
  font-weight: 900 !important;
}

.letter-spacing-1 {
  letter-spacing: 0.05em;
}

/* Sticky share bar on mobile */
@media (max-width: 767px) {
  .share-bar-sticky {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    padding: 12px 16px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
  }
}

/* Score display */
.score-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 6px solid currentColor;
}

/* =====================================================
   CONVERSION FLOW
   ===================================================== */

/* Step sequencing — only .active steps are visible */
.conversion-step {
  display: none;
  animation: fadeSlideIn 0.4s ease;
}
.conversion-step.active {
  display: block;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Blurred preview of the paid report */
.blurred-preview {
  filter: blur(7px);
  user-select: none;
  pointer-events: none;
  opacity: 0.85;
  position: relative;
}

/* Overlay CTA on top of the blurred preview */
.preview-wrapper {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
}

.preview-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.1) 0%, rgba(255,255,255,0.92) 40%);
  z-index: 10;
  padding: 1.5rem;
  text-align: center;
}

/* CTA card styling */
.cta-card {
  border: 2px solid #198754;
  box-shadow: 0 4px 24px rgba(25, 135, 84, 0.15);
}

.cta-card-warning {
  border: 2px solid #ffc107;
  box-shadow: 0 4px 24px rgba(255, 193, 7, 0.15);
}

/* Price display */
.price-anchor {
  text-decoration: line-through;
  color: #adb5bd;
  font-size: 1rem;
  margin-right: 0.25rem;
}

.price-main {
  font-size: 2rem;
  font-weight: 900;
  color: #198754;
}

/* Processing payment state */
.payment-processing {
  text-align: center;
  padding: 2rem;
}

/* Paid report unlock badge */
.unlock-badge {
  background: linear-gradient(135deg, #198754, #0d6efd);
  color: white;
  border-radius: 2rem;
  padding: 0.25rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.75rem;
}

/* Negotiation script cards */
.script-card {
  border-left: 4px solid #0d6efd;
  background: #f8f9ff;
}

/* 5-year trajectory mini table */
.trajectory-table td,
.trajectory-table th {
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
}
