/* ═══════════════════════════════════════════════════════════════════════════
   BLOCKTRUST — CONVERSION OPTIMIZATION STYLES
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. URGENCY BAR ──────────────────────────────────────────────────────── */
#bt-urgency-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001; /* above nav */
  background: linear-gradient(90deg, #10123f 0%, #232886 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 52px 10px 16px;
  font-family: 'Hind', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}
.bt-urgency-icon {
  font-size: 1rem;
  flex-shrink: 0;
  color: #ceac45;
}
.bt-urgency-text strong { color: #fff; }
.bt-urgency-cta {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 8px;
  white-space: nowrap;
  opacity: 0.95;
}
.bt-urgency-cta:hover { opacity: 1; text-decoration: underline; }
.bt-urgency-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
}
.bt-urgency-close:hover { color: #fff; }
@media (max-width: 600px) {
  #bt-urgency-bar { font-size: 0.9rem; padding: 9px 44px 9px 12px; }
  .bt-urgency-cta { display: block; margin: 4px 0 0; }
}

/* ── URGENCY BAR OFFSET — shifts nav and hero when bar is visible ─────────── */
:root { --urgency-bar-h: 0px; }
body.has-urgency-bar .nav {
  top: var(--urgency-bar-h) !important;
}
body.has-urgency-bar .hero {
  padding-top: calc(104px + var(--urgency-bar-h));
}
@media (max-width: 600px) {
  body.has-urgency-bar .hero {
    padding-top: calc(84px + var(--urgency-bar-h));
  }
}

/* ── 2. SOCIAL PROOF TOASTS ──────────────────────────────────────────────── */
#bt-toast-container {
  position: fixed;
  bottom: 80px;
  left: 20px;
  z-index: 9500;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 320px;
}
.bt-toast {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
  padding: 12px 36px 12px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: all;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  border-left: 4px solid #424CF2;
  position: relative;
  font-family: 'Hind', system-ui, sans-serif;
}
.bt-toast--visible {
  opacity: 1;
  transform: translateX(0);
}
.bt-toast--hiding {
  opacity: 0;
  transform: translateX(-20px);
}
.bt-toast-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #424CF2, #232886);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.bt-toast-body {
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.45;
}
.bt-toast-body strong { color: #10123f; }
.bt-toast-time {
  display: block;
  font-size: 0.72rem;
  color: #9ca3af;
  margin-top: 2px;
}
.bt-toast-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1rem;
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
}
.bt-toast-close:hover { color: #4b5563; }
@media (max-width: 480px) {
  #bt-toast-container { left: 12px; right: 12px; max-width: none; bottom: 90px; }
}

/* ── 3. SCROLL-TRIGGERED SECONDARY CTA BAR ───────────────────────────────── */
#bt-scroll-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: #ffffff;
  border-top: 3px solid #424CF2;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  padding: 14px 52px 14px 20px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  font-family: 'Hind', system-ui, sans-serif;
}
#bt-scroll-cta.bt-scroll-cta--visible {
  transform: translateY(0);
}
.bt-scroll-cta-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.bt-scroll-cta-text {
  color: #10123f;
  font-size: 1.3rem;
  font-weight: 700;
  flex: 1;
  min-width: 180px;
}
.bt-scroll-cta-btn {
  white-space: nowrap;
  font-size: 1.15rem;
  padding: 13px 26px;
  text-decoration: none;
}
.bt-scroll-cta-phone {
  color: #424CF2;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid #424CF2;
  border-radius: 50px;
  padding: 11px 22px;
  transition: background 0.2s, color 0.2s;
}
.bt-scroll-cta-phone:hover {
  background: #424CF2;
  color: #fff;
  text-decoration: none;
}
.bt-scroll-cta-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(0,0,0,0.35);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
}
.bt-scroll-cta-close:hover { color: #10123f; }
@media (max-width: 600px) {
  .bt-scroll-cta-text { display: none; }
  .bt-scroll-cta-inner { justify-content: center; gap: 12px; }
  .bt-scroll-cta-btn { font-size: 0.85rem; padding: 9px 16px; }
}

