/* ═════════════════════════════════════════════════════════
   CONVERSION-BOOST WIDGETS – Phase 5
   ═════════════════════════════════════════════════════════ */

/* ── Hero Status Widget ─────────────────────────────────── */
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(34,197,94,.08);
  border: 1px solid rgba(34,197,94,.25);
  border-radius: 24px;
  font-size: 12.5px;
  color: #4ade80;
  margin-bottom: 8px;
  width: fit-content;
  font-weight: 500;
  transition: all .2s;
}
.hero-status:hover { background: rgba(34,197,94,.14); transform: translateY(-1px) }
.hero-status__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34,197,94,.7);
  animation: statusPulse 2s infinite;
}
@keyframes statusPulse {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,.6) }
  70%  { box-shadow: 0 0 0 8px rgba(34,197,94,0) }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0) }
}
.hero-status__sep { opacity: .35 }
.hero-status__dc, .hero-status__ping { color: #94a3b8; font-weight: 500 }
.hero-status__ping i { color: #fbbf24 }
.hero-status__dc i { color: #6f92f7 }
@media (max-width: 520px) {
  .hero-status { font-size: 11px; padding: 5px 10px; gap: 5px }
  .hero-status__sep, .hero-status__dc { display: none }
}

/* ── Promo Banner Extensions ───────────────────────────── */
.announcement-bar__countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(0,0,0,.25);
  border-radius: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: .85rem;
  margin-left: 6px;
}
.announcement-bar__cta {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background: rgba(255,255,255,.95);
  color: #1a1a2e !important;
  border-radius: 20px;
  font-weight: 700;
  font-size: .85rem;
  margin-left: 10px;
  text-decoration: none;
  transition: transform .2s, background .2s;
}
.announcement-bar__cta:hover {
  transform: translateY(-1px);
  background: #fff;
}

/* ── Trust Strip ────────────────────────────────────────── */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.trust-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary, #94a3b8);
  font-size: .9rem;
  font-weight: 500;
}
.trust-strip__item i { color: #22c55e; }
.trust-strip__item--stars i { color: #fbbf24; }

/* ── Live Counter ───────────────────────────────────────── */
.live-counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(59, 108, 244,.08), rgba(59, 108, 244,.02));
  border: 1px solid rgba(59, 108, 244,.2);
  border-radius: 14px;
}
.live-counter { text-align: center }
.live-counter__value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #6f92f7, #7dd3fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.live-counter__label {
  font-size: .78rem;
  color: var(--text-secondary, #94a3b8);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
@media (max-width: 600px) {
  .live-counters { grid-template-columns: 1fr; gap: .5rem }
  .live-counter__value { font-size: 1.3rem }
}

/* ── Typewriter ─────────────────────────────────────────── */
.typewriter {
  display: inline-block;
  position: relative;
  min-height: 1.2em;
}
.typewriter::after {
  content: '|';
  display: inline-block;
  color: #6f92f7;
  animation: blink 1s infinite;
  margin-left: 2px;
  font-weight: 300;
}
@keyframes blink { 0%, 50% { opacity: 1 } 51%, 100% { opacity: 0 } }

/* ── Live Social Proof (Floating Notification) ──────────── */
.social-proof {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(20, 24, 40, .96);
  border: 1px solid rgba(59, 108, 244,.3);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0,0,0,.4);
  backdrop-filter: blur(12px);
  max-width: 340px;
  transform: translateX(-400px);
  opacity: 0;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .3s;
  cursor: default;
}
.social-proof.visible { transform: translateX(0); opacity: 1 }
.social-proof__icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.1rem;
  flex-shrink: 0;
}
.social-proof__text { flex: 1; min-width: 0 }
.social-proof__main {
  color: #fff; font-size: .88rem; font-weight: 600; line-height: 1.3;
}
.social-proof__sub {
  color: #94a3b8; font-size: .75rem; margin-top: 2px;
}
.social-proof__close {
  background: none; border: none; color: #64748b;
  cursor: pointer; font-size: 1rem; padding: 4px; line-height: 1;
}
.social-proof__close:hover { color: #fff }
@media (max-width: 600px) {
  .social-proof { bottom: 80px; left: 12px; right: 12px; max-width: none }
}

/* ── Sticky Mobile CTA ──────────────────────────────────── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9985;
  padding: 12px 16px;
  background: rgba(15,18,32,.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(59, 108, 244,.3);
  align-items: center;
  gap: 10px;
  box-shadow: 0 -8px 24px rgba(0,0,0,.3);
}
.mobile-cta__btn {
  flex: 1;
  padding: 12px 18px;
  background: linear-gradient(135deg, #3b6cf4, #6f92f7);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 6px 18px rgba(59, 108, 244,.4);
}
.mobile-cta__btn-sec {
  padding: 12px 14px;
  background: rgba(255,255,255,.06);
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: .95rem;
}
.mobile-cta__close {
  background: none; border: none; color: #64748b;
  font-size: 1.1rem; padding: 6px;
}
@media (max-width: 768px) {
  .mobile-cta.visible { display: flex }
  body.has-mobile-cta { padding-bottom: 70px }
}

/* ── Comparison Table ───────────────────────────────────── */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 2rem;
}
.comparison-table th, .comparison-table td {
  padding: 1rem 1.25rem;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.comparison-table th {
  background: rgba(59, 108, 244,.05);
  color: #94a3b8;
  font-weight: 600;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.comparison-table th.us {
  background: linear-gradient(135deg, rgba(59, 108, 244,.25), rgba(59, 108, 244,.1));
  color: #fff;
  font-size: 1rem;
}
.comparison-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #fff;
}
.comparison-table tbody tr:last-child td { border-bottom: none }
.comparison-table .check { color: #22c55e; font-size: 1.2rem }
.comparison-table .cross { color: #ef4444; font-size: 1.1rem; opacity: .6 }
.comparison-table .partial { color: #fbbf24; font-size: 1rem }
.comparison-table .us-col { background: rgba(59, 108, 244,.04) }
@media (max-width: 720px) {
  .comparison-table { font-size: .85rem }
  .comparison-table th, .comparison-table td { padding: .65rem .5rem }
}

/* ── Guarantees Strip ───────────────────────────────────── */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.guarantee-card {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(34,197,94,.08), rgba(34,197,94,.02));
  border: 1px solid rgba(34,197,94,.2);
  border-radius: 14px;
  text-align: center;
  transition: transform .3s, border-color .3s;
}
.guarantee-card:hover { transform: translateY(-4px); border-color: rgba(34,197,94,.5) }
.guarantee-card__icon {
  font-size: 2.2rem;
  color: #22c55e;
  margin-bottom: .75rem;
}
.guarantee-card__title {
  color: #fff;
  font-weight: 700;
  margin-bottom: .35rem;
}
.guarantee-card__text {
  color: #94a3b8;
  font-size: .88rem;
  line-height: 1.5;
}

/* ── Certification Strip ────────────────────────────────── */
.certs-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin: 3rem 0;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  font-size: .9rem;
  font-weight: 600;
  opacity: .8;
  transition: opacity .2s;
}
.cert-badge:hover { opacity: 1 }
.cert-badge i { font-size: 1.5rem; color: #6f92f7 }

/* ── Exit Intent Modal ──────────────────────────────────── */
.exit-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(8px);
  padding: 20px;
}
.exit-modal.visible { display: flex; animation: fadeIn .3s }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.exit-modal__box {
  background: linear-gradient(135deg, #1a1f3a, #0f1424);
  border: 1px solid rgba(59, 108, 244,.3);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,.5);
  animation: slideUp .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes slideUp { from { transform: translateY(40px); opacity: 0 } to { transform: translateY(0); opacity: 1 } }
.exit-modal__close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; color: #94a3b8;
  font-size: 1.3rem; cursor: pointer;
}
.exit-modal__emoji { font-size: 3rem; margin-bottom: 1rem }
.exit-modal__title {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: .5rem;
}
.exit-modal__text {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}
.exit-modal__code {
  display: inline-block;
  padding: 12px 24px;
  background: rgba(59, 108, 244,.15);
  border: 2px dashed #6f92f7;
  border-radius: 10px;
  font-family: monospace;
  font-size: 1.4rem;
  font-weight: 800;
  color: #6f92f7;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  cursor: pointer;
  transition: background .2s;
}
.exit-modal__code:hover { background: rgba(59, 108, 244,.25) }
.exit-modal__btn {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, #3b6cf4, #6f92f7);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
}
