/* ==========================================================================
   TweeLabs Global Tier-1 Experience & Interactive CRO Systems (2026)
   ========================================================================== */

/* ── Currency Switcher Bar ── */
.tl-currency-bar {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 4px 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}
.tl-currency-btn {
  background: transparent;
  border: none;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: #64748b;
  font-weight: 700;
  font-size: 0.78rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.tl-currency-btn:hover {
  color: #0f172a;
  background: #f1f5f9;
}
.tl-currency-btn.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}

/* ── Timezone Overlap Live Strip ── */
.tl-tz-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  background: rgba(15, 23, 42, 0.03);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 16px;
  padding: 12px 20px;
  margin: 20px auto 0;
  max-width: 860px;
  font-size: 0.84rem;
  color: #334155;
}
.tl-tz-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: 0.78rem;
  color: #0f172a;
}
.tl-tz-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  animation: tl-pulse 2s infinite;
}
@keyframes tl-pulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
  70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ── Interactive Scope & ROI Estimator ── */
.tl-estimator-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
  max-width: 1040px;
  margin: 0 auto;
  text-align: left;
}
@media (max-width: 768px) {
  .tl-estimator-card { padding: 24px 18px; }
}

.tl-opt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 10px;
  margin-bottom: 24px;
}
.tl-opt-btn {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tl-opt-btn:hover {
  border-color: #93c5fd;
  background: #eff6ff;
  transform: translateY(-2px);
}
.tl-opt-btn.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 4px 14px rgba(37,99,235,0.12);
}
.tl-opt-btn .tl-opt-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
}
.tl-opt-btn .tl-opt-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}

/* Estimator Live Total Bar */
.tl-est-summary {
  background: linear-gradient(135deg, #0a1628 0%, #0f2b5c 100%);
  border-radius: 20px;
  padding: 28px 32px;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
}
.tl-est-price-val {
  font-family: var(--font-h, 'Plus Jakarta Sans', sans-serif);
  font-size: 2.4rem;
  font-weight: 900;
  color: #60a5fa;
  line-height: 1;
}

/* ── Traditional vs TweeLabs Comparison Matrix ── */
.tl-comp-table-wrap {
  overflow-x: auto;
  margin: 36px auto 0;
  max-width: 960px;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.tl-comp-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.tl-comp-table th, .tl-comp-table td {
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
}
.tl-comp-table th {
  background: #f8fafc;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #475569;
}
.tl-comp-table th.tl-th-highlight {
  background: #eff6ff;
  color: #2563eb;
  border-bottom: 2px solid #2563eb;
}
.tl-comp-table td.tl-td-highlight {
  background: #f8faff;
  font-weight: 700;
  color: #1e3a8a;
}

/* ── Live Verified Activity Toaster ── */
.tl-live-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9990;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 380px;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.tl-live-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.tl-toast-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(37,99,235,0.2);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.tl-toast-content {
  font-size: 0.8rem;
  line-height: 1.4;
}
.tl-toast-title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}
.tl-toast-meta {
  color: #94a3b8;
  font-size: 0.72rem;
}

/* ── Discovery Booking Modal ── */
.tl-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.tl-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.tl-modal-box {
  background: #ffffff;
  border-radius: 24px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.tl-modal-overlay.open .tl-modal-box {
  transform: scale(1);
}
.tl-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.1rem;
  transition: background 0.2s;
}
.tl-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}