/* ── HuntSmart Stripe / Paywall Styles ────────────────────── */

/* Trial bar — top of page */
.hs-trial-bar {
  background: #c49a1a;
  color: #000;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  position: relative;
  z-index: 100;
}
.hs-trial-bar a {
  color: #000;
  text-decoration: underline;
  cursor: pointer;
  margin-left: 8px;
}

/* Paywall overlay */
#hs-paywall {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
#hs-paywall.hs-visible { opacity: 1; }

.hs-paywall-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
}

.hs-paywall-modal {
  position: relative;
  background: #181a1c;
  border: 1px solid #2a2e32;
  border-radius: 20px;
  padding: 36px 32px 28px;
  width: min(440px, 92vw);
  max-height: 90vh;
  overflow-y: auto;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}

.hs-paywall-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  color: #6b7580;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
}
.hs-paywall-close:hover { background: #2a2e32; }

.hs-trial-badge {
  display: inline-block;
  background: rgba(196,154,26,0.15);
  color: #c49a1a;
  border: 1px solid rgba(196,154,26,0.3);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hs-paywall-logo { font-size: 40px; margin-bottom: 8px; }

.hs-paywall-title {
  font-size: 22px;
  font-weight: 800;
  color: #f0f2f4;
  margin: 0 0 8px;
  font-family: 'Playfair Display', serif;
}

.hs-paywall-sub {
  font-size: 14px;
  color: #6b7580;
  margin: 0 0 24px;
  line-height: 1.5;
}

/* Plan toggle */
.hs-plan-toggle {
  display: flex;
  gap: 6px;
  background: #111214;
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 20px;
}

.hs-plan-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  color: #6b7580;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.hs-plan-btn.active {
  background: #3a7d44;
  color: #fff;
}

.hs-save-badge {
  background: rgba(58,173,82,0.15);
  color: #3aad52;
  border-radius: 8px;
  padding: 2px 7px;
  font-size: 11px;
  font-weight: 700;
}
.hs-plan-btn.active .hs-save-badge {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* Price display */
.hs-price-display { margin-bottom: 20px; }

.hs-price-amount {
  font-size: 36px;
  font-weight: 900;
  color: #f0f2f4;
  font-family: 'Playfair Display', serif;
}
.hs-price-period {
  font-size: 14px;
  color: #6b7580;
  margin-left: 4px;
}
.hs-price-equiv {
  font-size: 12px;
  color: #3aad52;
  margin-top: 4px;
}

/* CTA button */
.hs-cta-btn {
  width: 100%;
  padding: 15px;
  background: #3a7d44;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
  margin-bottom: 8px;
}
.hs-cta-btn:hover { opacity: 0.9; transform: translateY(-1px); }
.hs-cta-btn:active { transform: translateY(0); }

.hs-no-card {
  font-size: 12px;
  color: #6b7580;
  margin: 0 0 20px;
}

/* Features list */
.hs-features {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  text-align: left;
  border-top: 1px solid #2a2e32;
  padding-top: 16px;
}
.hs-features li {
  font-size: 13px;
  color: #6b7580;
  padding: 5px 0;
}
.hs-features li::before { color: #3aad52; }

/* Loading overlay */
#hs-loading {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.75);
  align-items: center;
  justify-content: center;
  color: #f0f2f4;
  font-size: 16px;
  font-weight: 600;
}

/* Toast banner */
.hs-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10001;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  animation: hsBannerIn 0.3s ease;
}
.hs-banner-success { background: #3a7d44; color: #fff; }
.hs-banner-error   { background: #b03a2a; color: #fff; }

@keyframes hsBannerIn {
  from { opacity: 0; transform: translateX(-50%) translateY(16px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Logo + PRO badge ───────────────────────────────────────── */
.hs-paywall-logo {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}
.hs-paywall-logo-img {
  height: 38px;
  width: auto;
  border-radius: 6px;
  display: block;
}
.hs-pro-badge {
  position: absolute;
  top: -9px;
  right: -30px;
  background: linear-gradient(135deg, #c49a1a, #f0c030);
  color: #000;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 2px 7px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(196,154,26,0.4);
}

/* ── Skip trial toggle ──────────────────────────────────────── */
.hs-skip-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.15s;
}
.hs-skip-toggle:hover {
  background: rgba(255,255,255,0.07);
}
.hs-skip-toggle input[type="checkbox"] {
  display: none;
}
.hs-skip-track {
  width: 36px;
  height: 20px;
  background: #2a2e32;
  border-radius: 20px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.2s;
  border: 1px solid rgba(255,255,255,0.1);
}
.hs-skip-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #6b7580;
  border-radius: 50%;
  transition: transform 0.2s, background 0.2s;
}
.hs-skip-toggle input:checked ~ .hs-skip-track {
  background: #3a7d44;
  border-color: #3a7d44;
}
.hs-skip-toggle input:checked ~ .hs-skip-track .hs-skip-thumb {
  transform: translateX(16px);
  background: #fff;
}
.hs-skip-label {
  font-size: 13px;
  color: #9ba3ab;
  font-weight: 500;
  transition: color 0.15s;
}
.hs-skip-toggle:has(input:checked) .hs-skip-label {
  color: #f0f2f4;
}

/* Outline CTA button (Subscribe Now secondary) */
.hs-cta-btn-outline {
  background: transparent;
  border: 2px solid #3a7d44;
  color: #3aad52;
  margin-top: 6px;
}
.hs-cta-btn-outline:hover {
  background: rgba(58,125,68,0.15);
  opacity: 1;
}
