/* ==========================================================================
   LEAD FINDER — Enterprise SaaS Design System
   Inspired by Linear, Apollo.io, Raycast & Stripe
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  color-scheme: dark;
  /* Surface & Background */
  --bg-app:        #07080d;
  --bg-sidebar:    #0b0d14;
  --bg-topbar:     rgba(11, 13, 20, 0.85);
  --surface-card:  #10131d;
  --surface-card2: #151926;
  --surface-card3: #1b2031;
  --surface-hover: #1f253a;

  /* Borders & Dividers */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-main:   rgba(255, 255, 255, 0.10);
  --border-active: rgba(99, 102, 241, 0.45);
  --border-strong: rgba(255, 255, 255, 0.18);

  /* Brand Colors (Indigo & Violet) */
  --brand-50:      #eef2ff;
  --brand-100:     #e0e7ff;
  --brand-400:     #818cf8;
  --brand-500:     #6366f1;
  --brand-600:     #4f46e5;
  --brand-700:     #4338ca;
  --brand-glow:    rgba(99, 102, 241, 0.22);
  --brand-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
  --brand-gradient-hover: linear-gradient(135deg, #7175f3 0%, #986df7 50%, #e058f3 100%);

  /* Accents & Status */
  --emerald:       #10b981;
  --emerald-glow:  rgba(16, 185, 129, 0.18);
  --emerald-bg:    rgba(16, 185, 129, 0.10);
  --amber:         #f59e0b;
  --amber-bg:      rgba(245, 158, 11, 0.12);
  --rose:          #f43f5e;
  --rose-bg:       rgba(244, 63, 94, 0.12);
  --sky:           #0ea5e9;
  --sky-bg:        rgba(14, 165, 233, 0.12);

  /* Typography */
  --text-main:     #f8fafc;
  --text-muted:    #94a3b8;
  --text-subtle:   #64748b;
  --text-inverse:  #050811;

  /* Sizing & Radius */
  --radius-xs:     6px;
  --radius-sm:     10px;
  --radius-md:     14px;
  --radius-lg:     18px;
  --radius-xl:     24px;
  --radius-full:   9999px;

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-card:   0 8px 30px rgba(0, 0, 0, 0.45);
  --shadow-elevated: 0 20px 45px -10px rgba(0, 0, 0, 0.65);
  --shadow-brand:  0 10px 25px -5px rgba(99, 102, 241, 0.35);

  --sidebar-width: 250px;
  --font-sans:     'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono:     'JetBrains Mono', monospace;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
}

body {
  background-color: var(--bg-app);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background Atmospheric Mesh */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 20%;
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.04) 40%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

a {
  color: var(--brand-400);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--brand-50);
}

/* Typography Utilities */
.view {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

[hidden],
.view[hidden],
#view-home[hidden],
#view-dashboard[hidden],
#view-find-leads[hidden],
#view-saved[hidden],
#view-searches[hidden],
#view-market[hidden],
#view-downloads[hidden],
#view-credits[hidden],
.modal[hidden],
.toast[hidden] {
  display: none !important;
}

h1, h2, h3, h4 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h1 { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; }
h2 { font-size: 18px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 600; }

.lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.text-brand-gradient {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--text-muted); }
.small { font-size: 13px; }
.xs { font-size: 11px; }

/* ==========================================================================
   APP LAYOUT
   ========================================================================== */
.app {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.sidebar {
  width: var(--sidebar-width);
  flex: 0 0 var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px 14px 16px;
  gap: 16px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--surface-card3) transparent;
  z-index: 30;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 6px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  width: 100%;
}

.brand-logo-img {
  width: auto;
  max-width: 195px;
  height: 44px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  filter: drop-shadow(0 4px 14px rgba(139, 92, 246, 0.3));
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.04) translateY(-1px);
  filter: drop-shadow(0 6px 20px rgba(139, 92, 246, 0.55));
}

.brand-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
  flex-shrink: 0;
}

.brand-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-title {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-badge {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(99, 102, 241, 0.15);
  color: var(--brand-400);
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.brand-subtitle {
  font-size: 11px;
  color: var(--text-subtle);
  font-weight: 500;
}

/* Navigation Groups */
.nav-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-subtle);
  padding: 6px 10px 4px;
}

.nav a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9.5px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 13.5px;
  position: relative;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.nav a:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(3px);
}

.nav a.active {
  color: #ffffff;
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0.04) 100%);
  font-weight: 600;
  border: 1px solid rgba(99, 102, 241, 0.28);
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.15), inset 0 0 14px rgba(99, 102, 241, 0.08);
}

.nav a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3.5px;
  border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #818cf8 0%, #6366f1 100%);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.8), 0 0 20px rgba(99, 102, 241, 0.4);
  animation: activeIndicatorGlow 2.5s ease-in-out infinite alternate;
}

@keyframes activeIndicatorGlow {
  0% { box-shadow: 0 0 8px rgba(99, 102, 241, 0.7); opacity: 0.85; }
  100% { box-shadow: 0 0 14px rgba(129, 140, 248, 1), 0 0 24px rgba(99, 102, 241, 0.6); opacity: 1; }
}

.nav-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
  position: relative;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
  transform-origin: center center;
  will-change: transform;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease, color 0.2s ease;
}

.nav a:hover .nav-icon {
  color: var(--text-main);
}

.nav a:active .nav-icon svg {
  transform: scale(0.85) !important;
  transition: transform 0.08s ease !important;
}

/* ==========================================================================
   MUSE AI STYLE SIDEBAR ICON MICRO-INTERACTIONS
   ========================================================================== */

/* 1. Dashboard: Staggered grid pop & spring rotate */
.nav a[data-nav="dashboard"]:hover .nav-icon svg {
  animation: museGridPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes museGridPop {
  0% { transform: scale(1) rotate(0deg); }
  30% { transform: scale(1.22) rotate(-8deg); }
  60% { transform: scale(1.1) rotate(4deg); }
  100% { transform: scale(1.16) rotate(0deg); }
}

/* 2. Find Leads: Radar / magnifying glass scan & tilt */
.nav a[data-nav="find-leads"]:hover .nav-icon svg {
  animation: museSearchTilt 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes museSearchTilt {
  0% { transform: scale(1) rotate(0deg); }
  25% { transform: scale(1.26) rotate(-22deg) translate(-1px, -1px); }
  55% { transform: scale(1.14) rotate(10deg); }
  80% { transform: scale(1.18) rotate(-4deg); }
  100% { transform: scale(1.16) rotate(0deg); }
}

/* 3. Saved Leads: Bookmark ribbon drop & elastic bounce */
.nav a[data-nav="saved"]:hover .nav-icon svg {
  animation: museBookmarkDrop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  transform-origin: top center;
}
@keyframes museBookmarkDrop {
  0% { transform: scale(1) translateY(0); }
  30% { transform: scale(1.12, 1.28) translateY(3.5px); }
  65% { transform: scale(1.14, 0.94) translateY(-2px); }
  85% { transform: scale(1.15, 1.04) translateY(1px); }
  100% { transform: scale(1.16, 1) translateY(0); }
}

/* 4. Search History: Clockwise 360-degree smooth spin */
.nav a[data-nav="searches"]:hover .nav-icon svg {
  animation: museClockSpin 0.65s cubic-bezier(0.25, 1, 0.35, 1) both;
}
@keyframes museClockSpin {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(200deg) scale(1.22); }
  80% { transform: rotate(375deg) scale(1.14); }
  100% { transform: rotate(360deg) scale(1.16); }
}

/* 5. Marketplace: Retail bag swing */
.nav a[data-nav="market"]:hover .nav-icon svg {
  animation: museBagSwing 0.7s ease-in-out both;
  transform-origin: 50% 10%;
}
@keyframes museBagSwing {
  0% { transform: scale(1) rotate(0deg); }
  20% { transform: scale(1.15) rotate(-16deg); }
  45% { transform: scale(1.18) rotate(14deg); }
  65% { transform: scale(1.16) rotate(-7deg); }
  85% { transform: scale(1.15) rotate(3deg); }
  100% { transform: scale(1.16) rotate(0deg); }
}

/* 6. My Downloads: Down-arrow tray plunge & bounce */
.nav a[data-nav="downloads"]:hover .nav-icon svg {
  animation: museDownloadBounce 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes museDownloadBounce {
  0% { transform: translateY(0) scale(1); }
  25% { transform: translateY(-4px) scale(1.08); }
  55% { transform: translateY(3.5px) scale(1.22); }
  80% { transform: translateY(-1px) scale(1.14); }
  100% { transform: translateY(0) scale(1.16); }
}

/* 7. Billing & Quota / Credits Balance: 3D Card flip & neon shine */
.nav a[data-nav="credits"]:hover .nav-icon svg {
  animation: museCardFlip 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes museCardFlip {
  0% { transform: perspective(200px) rotateY(0deg) scale(1); }
  35% { transform: perspective(200px) rotateY(-32deg) rotateX(10deg) scale(1.24); }
  70% { transform: perspective(200px) rotateY(16deg) scale(1.14); }
  100% { transform: perspective(200px) rotateY(0deg) scale(1.16); }
}

/* Active Nav Item: Muse AI Idle Breathing Glow & Micro-Floating */
.nav a.active .nav-icon {
  color: #a5b4fc;
}

.nav a.active .nav-icon svg {
  filter: drop-shadow(0 0 7px rgba(99, 102, 241, 0.85)) drop-shadow(0 0 16px rgba(139, 92, 246, 0.4));
  animation: museActiveIdle 3.2s ease-in-out infinite;
}

@keyframes museActiveIdle {
  0%, 100% {
    transform: scale(1.1) translateY(0);
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.75)) drop-shadow(0 0 14px rgba(139, 92, 246, 0.35));
  }
  50% {
    transform: scale(1.18) translateY(-1.5px);
    filter: drop-shadow(0 0 11px rgba(129, 140, 248, 1)) drop-shadow(0 0 22px rgba(99, 102, 241, 0.6));
  }
}

/* Click Pop Effect on Navigation */
.icon-spring-pop {
  animation: museClickPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
@keyframes museClickPop {
  0% { transform: scale(0.85); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1.1); }
}

.nav-badge {
  margin-left: auto;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.2);
  color: var(--brand-400);
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav a:hover .nav-badge {
  transform: scale(1.08);
  background: rgba(99, 102, 241, 0.35);
}

/* Sidebar Bottom User & Credits Card */
.sidebar-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.credits-pill-card {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(21, 25, 38, 0.8) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.credits-pill-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.credits-pill-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-400);
  display: flex;
  align-items: center;
  gap: 5px;
}

.credits-pill-amount {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.btn-topup-mini {
  background: var(--brand-500);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: all 0.15s;
}

.btn-topup-mini:hover {
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

.user-profile-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.user-details {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.user-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-plan {
  font-size: 11px;
  color: var(--emerald);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

.user-plan::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 6px var(--emerald);
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 28px;
  background: var(--bg-topbar);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 25;
}

.menu-toggle-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-subtle);
}

.breadcrumb-root {
  font-weight: 500;
  color: var(--text-muted);
}

.breadcrumb-sep {
  color: var(--border-strong);
  font-size: 11px;
}

.breadcrumb-current {
  font-weight: 600;
  color: var(--text-main);
}

.topbar-search-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  color: var(--text-subtle);
  font-size: 13px;
  cursor: pointer;
  transition: all 0.15s;
  min-width: 220px;
}

.topbar-search-trigger:hover {
  border-color: var(--border-main);
  background: var(--surface-card2);
  color: var(--text-muted);
}

.kbd-shortcut {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 10px;
  background: var(--surface-card2);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 1px 5px;
  color: var(--text-subtle);
}

.topbar-spacer {
  flex: 1;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--emerald);
  background: var(--emerald-bg);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.icon-btn {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.15s;
}

.icon-btn:hover {
  background: var(--surface-card2);
  color: var(--text-main);
  border-color: var(--border-main);
}

.icon-btn .badge-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-500);
  box-shadow: 0 0 6px var(--brand-500);
}

/* ==========================================================================
   CONTENT CONTAINER
   ========================================================================== */
.content {
  padding: 28px 36px 60px;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* ==========================================================================
   DASHBOARD OVERVIEW
   ========================================================================== */
.welcome-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 6px;
}

.welcome-hero-text h1 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 6px;
}

.welcome-hero-text p {
  color: var(--text-muted);
  font-size: 14.5px;
}

.hero-quick-actions {
  display: flex;
  gap: 10px;
}

/* Metric Cards Grid */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.metric-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-main);
  box-shadow: var(--shadow-card);
}

.metric-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.4), transparent);
  opacity: 0;
  transition: opacity 0.2s;
}

.metric-card:hover::before {
  opacity: 1;
}

.metric-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
}

.metric-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--surface-card2);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-400);
}

.metric-number {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease;
}

.metric-footer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-subtle);
}

.trend-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 700;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: var(--radius-full);
}

.trend-pill.positive {
  color: var(--emerald);
  background: var(--emerald-bg);
}

/* ==========================================================================
   CARDS & CONTAINERS
   ========================================================================== */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-title-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.12);
  color: var(--brand-400);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(99, 102, 241, 0.25);
  flex-shrink: 0;
}

/* ==========================================================================
   FORM CONTROLS & SEARCH INPUTS
   ========================================================================== */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid-4 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.8fr;
  gap: 14px;
}

.form-grid-5 {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1.2fr 1.2fr 0.8fr;
  gap: 14px;
}

.form-grid-6,
.smart-form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 14px;
}

.input-field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.input-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix-icon {
  position: absolute;
  left: 14px;
  color: var(--text-subtle);
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Universal Form & Input Base Styles */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
  box-sizing: border-box;
}

.form-row label {
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  display: block;
  width: 100%;
  margin-bottom: 2px;
  text-align: left;
}

.input,
.input-text,
.select-box,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="search"],
select,
textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: #ffffff;
  transition: all 0.2s ease;
  outline: none;
}

.input:focus,
.input-text:focus,
.select-box:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
  border-color: var(--brand-500);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
}

.input::placeholder,
.input-text::placeholder,
input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* Inputs with Prefix Icons in Search Bars */
.input-wrapper .input-text,
.input-wrapper input[type="text"],
.input-wrapper input[type="number"],
.input-wrapper select {
  height: 44px;
  padding: 0 14px 0 40px;
  background: var(--surface-card2);
  border: 1px solid var(--border-main);
}

.input-wrapper .input-text:focus,
.input-wrapper input[type="text"]:focus,
.input-wrapper input[type="number"]:focus,
.input-wrapper select:focus {
  border-color: var(--brand-500);
  background: var(--surface-card3);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

/* Select element specifics */
.select-box, select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-color: #10131d;
  color: #f8fafc;
  color-scheme: dark;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394a3b8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
}

.select-box option,
select option {
  background-color: #10131d !important;
  color: #f8fafc !important;
  padding: 10px 14px;
}

.select-box option:checked,
select option:checked {
  background-color: #272f48 !important;
  color: #a78bfa !important;
}

/* ==========================================================================
   CONTACT TYPE PILL SELECTORS
   ========================================================================== */
.contact-selector-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--surface-card2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.contact-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
}

.contact-section-hint {
  font-size: 12px;
  color: var(--text-subtle);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.type-card {
  background: var(--surface-card);
  border: 1.5px solid var(--border-main);
  border-radius: var(--radius-md);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  height: 74px;
  min-height: 74px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.type-card:hover {
  background: var(--surface-card2);
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.type-card.selected {
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.16) 0%, rgba(21, 25, 38, 0.95) 100%);
  border-color: var(--brand-500);
  box-shadow: 0 0 0 1.5px var(--brand-500), 0 8px 25px rgba(99, 102, 241, 0.28);
}

.channel-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.channel-icon-wrap.email-icon {
  background: rgba(99, 102, 241, 0.15);
  color: var(--brand-400);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.channel-icon-wrap.phone-icon {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.channel-icon-wrap.web-icon {
  background: rgba(14, 165, 233, 0.15);
  color: var(--sky);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.channel-icon-wrap.linkedin-icon {
  background: rgba(10, 102, 194, 0.15);
  border: 1px solid rgba(10, 102, 194, 0.3);
}

.channel-icon-wrap.social-icon {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.15) 0%, rgba(59, 130, 246, 0.15) 50%, rgba(255, 255, 255, 0.08) 100%);
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.35);
  padding: 0;
  overflow: hidden;
}

/* Tri-split Composite Social Icon (Instagram + Facebook + X) */
.tri-social-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
}
.tri-social-col {
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, filter 0.2s ease;
  position: relative;
}
.tri-social-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 18%;
  height: 64%;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}
.tri-social-col.tri-ig {
  color: #f43f5e;
}
.tri-social-col.tri-fb {
  color: #3b82f6;
}
.tri-social-col.tri-x {
  color: #ffffff;
}
.type-card:hover .tri-social-col {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.45));
}
.type-card:hover .tri-social-col.tri-ig svg {
  transform: scale(1.15);
}
.type-card:hover .tri-social-col.tri-fb svg {
  transform: scale(1.15);
}
.type-card:hover .tri-social-col.tri-x svg {
  transform: scale(1.15);
}

.channel-icon-wrap.all-icon {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(99, 102, 241, 0.12));
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.35);
}

/* Rating Badge Pill on Star Card */
.rating-badge-pill {
  position: absolute;
  bottom: -6px;
  right: -4px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0b0f19;
  font-weight: 800;
  font-size: 10.5px;
  padding: 1px 7px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.45);
  letter-spacing: -0.01em;
  display: none;
  z-index: 10;
}
.type-card.selected .rating-badge-pill {
  display: inline-block;
}

/* Rating Selector Popover Dropdown */
.rating-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #141829;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85), 0 0 25px rgba(245, 158, 11, 0.2);
  z-index: 120;
  width: 240px;
  max-width: calc(100vw - 36px);
  animation: fadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}
.rating-popover::before {
  content: '';
  position: absolute;
  bottom: 100%;
  right: 24px;
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent rgba(245, 158, 11, 0.4) transparent;
}
.rating-popover-title {
  font-size: 11px;
  font-weight: 800;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}
.rating-options-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.rating-opt-btn {
  background: transparent;
  border: 1px solid transparent;
  color: #cbd5e1;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s ease;
  width: 100%;
  font-family: inherit;
}
.rating-opt-btn:hover {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}
.rating-opt-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(217, 119, 6, 0.22) 100%);
  color: #fbbf24;
  border-color: #f59e0b;
  font-weight: 700;
}

/* Results Table Rating Cell */
.lead-rating-cell {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.28);
  padding: 3px 8px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #fbbf24;
}
.lead-rating-cell .rating-star-icon {
  color: #f59e0b;
  font-size: 13px;
  line-height: 1;
}
.lead-rating-cell .rating-num-val {
  font-weight: 800;
  letter-spacing: -0.01em;
}
.lead-rating-cell .rating-reviews-muted {
  font-size: 10px;
  color: #94a3b8;
  font-weight: 500;
}

/* ==========================================================================
   PROFESSIONAL CUSTOM COUNTRY SELECTOR
   ========================================================================== */
.custom-country-picker {
  position: relative;
  width: 100%;
}
.country-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.country-input-field {
  padding-left: 42px !important;
  padding-right: 36px !important;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.country-input-field:focus {
  cursor: text;
}
.country-flag-icon {
  position: absolute;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  font-size: 17px;
  line-height: 1;
}
.country-chevron-btn {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 6px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  z-index: 2;
}
.country-chevron-btn:hover {
  color: #ffffff;
}
.country-chevron-btn.open svg {
  transform: rotate(180deg);
}

.country-popover-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 340px;
  min-width: 320px;
  max-width: min(380px, calc(100vw - 32px));
  background: #121626;
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 25px rgba(124, 58, 237, 0.25);
  z-index: 1000;
  max-height: 380px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: fadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.country-popover-head {
  padding: 12px 14px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}
.country-popover-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #a78bfa;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.country-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.country-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #e2e8f0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  font-family: inherit;
}
.country-chip:hover {
  background: rgba(124, 58, 237, 0.25);
  border-color: rgba(124, 58, 237, 0.6);
  color: #ffffff;
  transform: translateY(-1px);
}
.country-popover-all-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  text-transform: uppercase;
  padding: 10px 14px 4px;
}
.country-options-scroll {
  overflow-y: auto;
  max-height: 230px;
  padding: 6px 8px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.country-options-scroll::-webkit-scrollbar {
  width: 6px;
}
.country-options-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
}
.country-opt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
  border: 1px solid transparent;
  width: 100%;
  text-align: left;
  font-family: inherit;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.12s ease;
}
.country-opt-row:hover,
.country-opt-row.highlighted {
  background: rgba(124, 58, 237, 0.18);
  border-color: rgba(124, 58, 237, 0.35);
  color: #ffffff;
}
.country-opt-row.selected {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25) 0%, rgba(99, 102, 241, 0.2) 100%);
  border-color: rgba(124, 58, 237, 0.5);
  color: #a78bfa;
  font-weight: 700;
}
.country-opt-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.country-flag-emoji {
  font-size: 17px;
  line-height: 1;
}
.country-name-text {
  color: inherit;
}
.country-meta-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.country-dial-code {
  font-size: 11px;
  color: var(--text-subtle);
  font-weight: 500;
}
.country-code-pill {
  font-size: 10.5px;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}
.country-no-match {
  padding: 16px 14px;
  text-align: center;
  color: var(--text-subtle);
  font-size: 12.5px;
}

/* Custom Channel Picker Dropdown */
.custom-channel-picker {
  position: relative;
  width: 100%;
}
.channel-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.channel-picker-btn {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 42px !important;
  padding-right: 36px !important;
  cursor: pointer;
  background-color: #10131d;
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  height: 44px;
  transition: all 0.2s ease;
  font-family: inherit;
}
.channel-picker-btn:hover {
  border-color: rgba(168, 85, 247, 0.5);
  background-color: rgba(255, 255, 255, 0.06);
}
.channel-picker-btn:focus,
.channel-picker-btn.open {
  border-color: var(--brand-500);
  background-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.25);
  outline: none;
}
.channel-picker-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #f1f5f9;
}
.channel-current-icon {
  position: absolute;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.channel-current-icon svg {
  display: block;
}
.channel-chevron-btn {
  position: absolute;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: #94a3b8;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.channel-picker-btn.open .channel-chevron-btn svg {
  transform: rotate(180deg);
}
.channel-popover-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  min-width: 290px;
  background: #121626;
  border: 1px solid rgba(168, 85, 247, 0.4);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.95), 0 0 25px rgba(168, 85, 247, 0.25);
  z-index: 1000;
  padding: 8px;
  display: flex;
  flex-direction: column;
  animation: fadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}
.channel-popover-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #a78bfa;
  text-transform: uppercase;
  padding: 4px 8px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}
.channel-options-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.channel-opt-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  color: #e2e8f0;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  width: 100%;
  font-family: inherit;
}
.channel-opt-row:hover {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.25);
}
.channel-opt-row.selected {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.5);
  color: #ffffff;
}
.channel-svg-badge {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.channel-svg-badge.badge-all {
  background: rgba(168, 85, 247, 0.18);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
}
.channel-svg-badge.badge-phone {
  background: rgba(16, 185, 129, 0.18);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}
.channel-svg-badge.badge-email {
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
}
.channel-svg-badge.badge-social {
  background: rgba(244, 63, 94, 0.18);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fb7185;
}
.channel-svg-badge.badge-website {
  background: rgba(6, 182, 212, 0.18);
  border: 1px solid rgba(6, 182, 212, 0.4);
  color: #22d3ee;
}
.channel-svg-badge.badge-linkedin {
  background: rgba(10, 102, 194, 0.22);
  border: 1px solid rgba(10, 102, 194, 0.5);
  color: #60a5fa;
}
.channel-opt-row:hover .channel-svg-badge,
.channel-opt-row.selected .channel-svg-badge {
  transform: scale(1.05);
}
.channel-opt-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.channel-opt-name {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
}
.channel-opt-desc {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.channel-check-icon {
  font-size: 14px;
  color: #a78bfa;
  font-weight: 800;
  opacity: 0;
  transition: opacity 0.15s ease;
}
.channel-opt-row.selected .channel-check-icon {
  opacity: 1;
}

.type-check-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border-strong);
  transition: all 0.2s ease;
}

.type-card.selected .type-check-dot {
  background: var(--brand-400);
  box-shadow: 0 0 8px var(--brand-400);
}

/* Tooltip floating directly above icon on hover */
.card-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: #181b2a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 12px rgba(99, 102, 241, 0.25);
  z-index: 50;
}

.card-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: #181b2a transparent transparent transparent;
}

.type-card:hover .card-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.card-tooltip strong {
  font-size: 12px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-tooltip span {
  font-size: 10.5px;
  color: var(--brand-300, #c7d2fe);
  font-weight: 500;
}

/* Provider Sub Bar below the icons */
.provider-sub-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
  margin-top: 4px;
}

.provider-bar-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
}

.provider-toggles {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.provider-toggles button {
  background: var(--surface-card3);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.15s;
}

.provider-toggles button:hover {
  background: var(--surface-hover);
  color: #ffffff;
  border-color: var(--border-main);
}

.provider-toggles button.on {
  background: var(--brand-600);
  border-color: var(--brand-400);
  color: #ffffff;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}

.prov-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.dot-gmail { background: #ea4335; }
.dot-outlook { background: #0078d4; }
.dot-yahoo { background: #6001d2; }

/* Submit Button */
.btn-cta-find {
  width: 100%;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: var(--shadow-brand);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: -0.01em;
}

.btn-cta-find:hover {
  background: var(--brand-gradient-hover);
  box-shadow: 0 14px 30px -5px rgba(99, 102, 241, 0.5);
  transform: translateY(-1px);
}

.btn-cta-find:active {
  transform: translateY(0);
}

.btn-cta-find:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

/* Trust Badges Bar */
.trust-badges-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  color: var(--brand-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.trust-badge-content strong {
  display: block;
  font-size: 13px;
  color: var(--text-main);
}

.trust-badge-content span {
  font-size: 12px;
  color: var(--text-subtle);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  user-select: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--surface-card2);
  border-color: var(--border-main);
  color: var(--text-muted);
}

.btn-ghost:hover {
  background: var(--surface-card3);
  color: var(--text-main);
  border-color: var(--border-strong);
}

.btn-danger {
  background: var(--rose-bg);
  border-color: rgba(244, 63, 94, 0.3);
  color: var(--rose);
}

.btn-danger:hover {
  background: var(--rose);
  color: #ffffff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12.5px;
  height: 32px;
}

.btn-md {
  padding: 9px 16px;
  font-size: 13.5px;
  height: 38px;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   DATA TABLES (APOLLO.IO / LINEAR STYLE)
   ========================================================================== */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  text-align: left;
}

thead th {
  background: var(--surface-card2);
  color: var(--text-subtle);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-main);
  white-space: nowrap;
}

tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.15s ease;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background: rgba(99, 102, 241, 0.04);
}

tbody tr.row-selected {
  background: rgba(99, 102, 241, 0.08);
}

tbody td {
  padding: 14px 16px;
  color: var(--text-muted);
  vertical-align: middle;
  font-size: 13.5px;
}

/* Custom SaaS Checkbox */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 17px;
  height: 17px;
  border-radius: 4px;
  background: var(--surface-card2);
  border: 1.5px solid var(--border-main);
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition: all 0.15s ease;
  margin: 0;
  vertical-align: middle;
}

input[type="checkbox"]:hover {
  border-color: var(--brand-400);
  background: var(--surface-card3);
}

input[type="checkbox"]:checked {
  background: var(--brand-500);
  border-color: var(--brand-400);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

input[type="checkbox"]:checked::before {
  content: '';
  width: 9px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translate(1px, -1px);
}

/* ==========================================================================
   ENTERPRISE LEAD IDENTITY & ROW CELLS
   ========================================================================== */
.lead-identity-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lead-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.lead-identity-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.lead-name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.lead-name-text {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.lead-demo-badge {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 3px;
  padding: 1px 5px;
  letter-spacing: 0.05em;
}

.lead-cat-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-300, #a5b4fc);
  background: rgba(99, 102, 241, 0.12);
  border-radius: 4px;
  padding: 1px 6px;
  width: fit-content;
}

/* Email Cell with 1-Click Copy & Provider Pill */
.lead-email-cell {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.lead-email-link {
  color: var(--text-main);
  font-weight: 500;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.15s ease;
}

.lead-email-link:hover {
  color: var(--brand-400);
  text-decoration: underline;
}

.btn-copy-mini {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
  padding: 0;
}

.btn-copy-mini:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: var(--border-subtle);
  transform: scale(1.1);
}

.badge-prov {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.prov-gmail {
  background: rgba(234, 67, 53, 0.15);
  color: #ea4335;
  border: 1px solid rgba(234, 67, 53, 0.3);
}

.prov-outlook {
  background: rgba(0, 120, 212, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(0, 120, 212, 0.3);
}

.prov-yahoo {
  background: rgba(96, 1, 210, 0.15);
  color: #c084fc;
  border: 1px solid rgba(96, 1, 210, 0.3);
}

/* Phone Cell */
.lead-phone-cell {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.phone-val {
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  color: var(--text-main);
  font-weight: 500;
}

/* Location Cell & Interactive Address Modal */
.lead-location-cell {
  display: flex;
  align-items: center;
  max-width: 175px;
}

.btn-address-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.25);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  color: #e2e8f0;
  cursor: pointer;
  max-width: 100%;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  font-family: inherit;
}

.btn-address-trigger:hover {
  background: rgba(124, 58, 237, 0.2);
  border-color: rgba(168, 85, 247, 0.55);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
}

.address-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a855f7;
  flex-shrink: 0;
}

.btn-address-trigger:hover .address-icon-wrap {
  color: #c084fc;
}

.location-short-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
}

.location-badge-hint {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(124, 58, 237, 0.2);
  color: #c084fc;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 2px;
  flex-shrink: 0;
}

.address-modal-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px;
  text-align: left;
}

.address-modal-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.address-modal-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: #c084fc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.address-modal-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a855f7;
  display: block;
  margin-bottom: 2px;
}

.address-modal-bname {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.address-modal-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.address-modal-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.address-modal-box-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
}

.btn-address-copy-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
}

.btn-address-copy-action:hover {
  background: rgba(124, 58, 237, 0.25);
  border-color: rgba(168, 85, 247, 0.4);
  color: #fff;
}

.address-modal-full-text {
  font-size: 14px;
  line-height: 1.5;
  color: #f1f5f9;
  font-weight: 500;
  word-break: break-word;
}

.address-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
}

/* Web Status Pill */
.status-web-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.15s ease;
}

.status-web-pill.live {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-web-pill.live:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #34d399;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.status-web-pill.none {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-subtle);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.web-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.web-dot.live {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.web-dot.none {
  background: var(--text-subtle);
}

/* External Link Pill */
.lead-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--brand-300, #a5b4fc);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}

.lead-ext-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Social Link Pill */
.social-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}

.social-link-pill.linkedin {
  background: rgba(10, 102, 194, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(10, 102, 194, 0.3);
}

.social-link-pill.linkedin:hover {
  background: rgba(10, 102, 194, 0.3);
  box-shadow: 0 0 8px rgba(10, 102, 194, 0.4);
}

.social-link-pill.social {
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.lead-social-chips-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.social-chip-mini {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.02em;
}

.social-chip-mini.ig {
  background: rgba(236, 72, 153, 0.12);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.3);
}
.social-chip-mini.ig:hover {
  background: rgba(236, 72, 153, 0.25);
  border-color: rgba(236, 72, 153, 0.6);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
}

.social-chip-mini.fb {
  background: rgba(24, 119, 242, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(24, 119, 242, 0.3);
}
.social-chip-mini.fb:hover {
  background: rgba(24, 119, 242, 0.25);
  border-color: rgba(24, 119, 242, 0.6);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}

.social-chip-mini.x {
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.social-chip-mini.x:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

.social-chip-mini.generic {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.social-chip-mini.generic:hover {
  background: rgba(168, 85, 247, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

/* Row Action Buttons */
.table-actions-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.table-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  user-select: none;
}

.table-action-btn.view-action {
  background: var(--surface-card2);
  border-color: var(--border-main);
  color: var(--text-muted);
}

.table-action-btn.view-action:hover {
  background: var(--surface-card3);
  color: #ffffff;
  border-color: var(--border-strong);
}

.table-action-btn.save-action {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  color: var(--brand-300, #c7d2fe);
}

.table-action-btn.save-action:hover {
  background: var(--brand-500);
  border-color: var(--brand-400);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
  transform: translateY(-1px);
}

.table-action-btn.ai-pitch-action {
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
  color: #c084fc;
}

.table-action-btn.ai-pitch-action:hover {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  border-color: #c084fc;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.5);
  transform: translateY(-1px);
}

/* ==========================================================================
   AI COLD OUTREACH PITCH MODAL
   ========================================================================== */
.ai-pitch-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #c084fc;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.ai-pitch-angles-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 16px 0;
}

.ai-angle-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ai-angle-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.25);
}

.ai-angle-chip.active {
  background: rgba(168, 85, 247, 0.2);
  border-color: #a855f7;
  color: #e9d5ff;
  font-weight: 600;
}

.ai-pitch-field {
  margin-bottom: 16px;
}

.ai-pitch-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.ai-pitch-label {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ai-pitch-input {
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 14px;
  color: #f8fafc;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s ease;
  box-sizing: border-box;
}

.ai-pitch-input:focus, .ai-pitch-textarea:focus {
  border-color: #a855f7;
  box-shadow: 0 0 0 2px rgba(168, 85, 247, 0.25);
}

.ai-pitch-textarea {
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 14px;
  color: #f8fafc;
  font-size: 13.5px;
  line-height: 1.6;
  outline: none;
  resize: vertical;
  min-height: 130px;
  box-sizing: border-box;
  font-family: inherit;
}

.ai-outreach-actions-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
}

.btn-gmail-outreach {
  background: linear-gradient(135deg, #ea4335, #c5221f);
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.15s ease;
}

.btn-gmail-outreach:hover {
  box-shadow: 0 0 16px rgba(234, 67, 53, 0.45);
  transform: translateY(-1px);
}

.btn-whatsapp-outreach {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  border: none;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.15s ease;
}

.btn-whatsapp-outreach:hover {
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.45);
  transform: translateY(-1px);
}

/* ==========================================================================
   RESULTS INTELLIGENCE HEADER & KPI METRICS
   ========================================================================== */
.results-header-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.results-meta h1 {
  font-size: 22px;
  margin: 6px 0 4px;
  letter-spacing: -0.02em;
}

.results-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.results-pill-live {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.results-summary-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.summary-chip {
  background: var(--surface-card2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 12px;
}

.summary-chip small {
  color: var(--text-subtle);
  display: block;
  font-size: 9.5px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.summary-chip strong {
  color: var(--text-main);
}

/* Sleek 4-Column KPI Metric Strip */
.results-kpi-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 16px 0;
}

.kpi-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.kpi-card:hover {
  border-color: var(--border-main);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.kpi-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kpi-blue {
  background: rgba(99, 102, 241, 0.15);
  color: var(--brand-400);
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.kpi-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.kpi-violet {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.kpi-cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.kpi-info {
  display: flex;
  flex-direction: column;
}

.kpi-val {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.kpi-lbl {
  font-size: 12px;
  color: var(--text-subtle);
  font-weight: 500;
  margin-top: 3px;
}

/* ==========================================================================
   PROSPECTS TABLE CONTAINER & HORIZONTAL TOOLBAR (FULL WIDTH SAAS)
   ========================================================================== */
.prospects-table-container {
  width: 100%;
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  margin-top: 6px;
}

.prospects-toolbar {
  padding: 14px 18px;
  background: var(--surface-card2);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.prospects-toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
}

.table-search-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-card3);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  min-width: 220px;
  transition: all 0.15s ease;
}

.table-search-pill:focus-within {
  border-color: var(--brand-500);
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.table-search-pill svg {
  color: var(--text-subtle);
  flex-shrink: 0;
}

.table-search-input {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
  width: 100%;
}

.table-search-input::placeholder {
  color: var(--text-subtle);
}

.filter-pill-select {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface-card3);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-full);
  padding: 6px 12px;
  transition: all 0.15s ease;
}

.filter-pill-select:hover {
  border-color: var(--border-strong);
}

.filter-pill-select svg {
  color: var(--text-subtle);
  flex-shrink: 0;
}

.filter-dropdown {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 12.5px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.filter-dropdown option {
  background: var(--surface-card2);
  color: var(--text-main);
}

.prospects-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-results-count {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--brand-300);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-full);
}

.prospects-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.prospects-table thead th {
  background: rgba(13, 16, 26, 0.95);
  border-bottom: 1px solid var(--border-main);
  padding: 13px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  white-space: nowrap;
}

.table-footer-bar {
  padding: 12px 18px;
  background: var(--surface-card2);
  border-top: 1px solid var(--border-subtle);
}

.pro-tip-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.tip-spark {
  font-size: 14px;
}

/* Banners */
.sample-banner {
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--brand-100);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.sample-badge-tag {
  background: var(--brand-500);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.notice {
  background: var(--amber-bg);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fde68a;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  font-size: 13px;
  margin-top: 14px;
}

/* ==========================================================================
   MARKETPLACE & CARDS
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.market-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s ease;
}

.market-card:hover {
  border-color: var(--border-main);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.market-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.market-card-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald);
  background: var(--emerald-bg);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.market-card-price {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.market-card-price small {
  font-size: 12px;
  color: var(--text-subtle);
  font-weight: 500;
}

.market-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

/* ==========================================================================
   RECENT SEARCHES ROW
   ========================================================================== */
.recent-search-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s;
}

.recent-search-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.recent-search-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--surface-card2);
  border: 1px solid var(--border-subtle);
  color: var(--brand-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.recent-search-main {
  flex: 1;
  min-width: 0;
}

.recent-search-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
}

.recent-search-sub {
  font-size: 12px;
  color: var(--text-subtle);
}

.recent-search-meta {
  display: flex;
  gap: 20px;
}

.recent-meta-col small {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--text-subtle);
  font-weight: 700;
}

.recent-meta-col span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   MODAL & TOAST
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 13, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  padding: 20px;
}

.modal[hidden], .toast[hidden] {
  display: none !important;
}

.modal-card {
  background: var(--surface-card);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-elevated);
  animation: modalSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlide {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--surface-card2);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}

.modal-close:hover {
  background: var(--surface-card3);
  color: #fff;
  border-color: var(--border-strong);
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface-card2);
  border: 1px solid var(--brand-500);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.25);
  font-weight: 600;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: toastPop 0.25s ease;
}

@keyframes toastPop {
  from { opacity: 0; transform: translate(-50%, 15px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* Key-Value Details inside Modal */
.kv {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px 16px;
  margin: 18px 0;
  font-size: 13.5px;
}

.kv dt {
  color: var(--text-subtle);
  font-weight: 600;
}

.kv dd {
  color: var(--text-main);
  overflow-wrap: anywhere;
}

/* Empty State */
.empty {
  border: 1px dashed var(--border-main);
  border-radius: var(--radius-md);
  padding: 40px 24px;
  text-align: center;
  color: var(--text-subtle);
  font-size: 14px;
}

/* Admin Wrap & Extra Form Elements */
.admin-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

textarea {
  width: 100%;
  background: var(--surface-card2);
  border: 1px solid var(--border-main);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  resize: vertical;
}

textarea:focus {
  border-color: var(--brand-500);
  background: var(--surface-card3);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

input[type="file"] {
  background: var(--surface-card2);
  border: 1px dashed var(--border-main);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-muted);
  font-size: 13px;
  cursor: pointer;
  width: 100%;
}

.form-msg {
  min-height: 1.4em;
  font-weight: 600;
  font-size: 13px;
}
.form-msg.ok { color: var(--emerald); }
.form-msg.err { color: var(--rose); }

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid-4,
  .form-grid-5,
  .form-grid-6 {
    grid-template-columns: 1fr 1fr;
  }
  .type-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .results-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .layout-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --sidebar-width: 0px;
  }
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    height: 100vh;
    height: 100dvh; /* FIX 2026-11-08: track the dynamic toolbar height on mobile Chrome */
    transform: translateX(-100%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .menu-toggle-btn {
    display: flex;
  }
  .content {
    padding: 20px 16px;
  }
  .form-grid-4,
  .form-grid-5,
  .form-grid-6 {
    grid-template-columns: 1fr;
  }
  .type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .trust-badges-bar {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .recent-search-meta {
    display: none;
  }
}

/* ==========================================================================
   GLOBAL ICON ANIMATIONS (ALL ICONS ANIMATE ON INTERACTION)
   ========================================================================== */

/* 1. Sidebar Brand Logo Aura & Hover Pop */
.brand-icon-wrap {
  position: relative;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: brandAuraPulse 4s ease-in-out infinite;
}
@keyframes brandAuraPulse {
  0%, 100% { box-shadow: 0 0 16px rgba(99, 102, 241, 0.4); }
  50% { box-shadow: 0 0 28px rgba(139, 92, 246, 0.7), 0 0 45px rgba(99, 102, 241, 0.3); }
}
.brand:hover .brand-icon-wrap {
  transform: rotate(8deg) scale(1.08);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.75);
}
.brand-icon-wrap svg {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand:hover .brand-icon-wrap svg {
  transform: scale(1.15) rotate(-8deg);
}

/* 2. Topbar Bell Notification Ring on Hover */
.btn-topbar-action svg {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn-topbar-action:hover svg {
  animation: bellRing 0.6s ease both;
  color: var(--brand-400);
}
@keyframes bellRing {
  0% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-18deg) scale(1.18); }
  40% { transform: rotate(16deg) scale(1.18); }
  60% { transform: rotate(-10deg) scale(1.15); }
  80% { transform: rotate(5deg) scale(1.12); }
  100% { transform: rotate(0deg) scale(1.1); }
}

/* 3. Topbar Hamburger Menu Button */
.menu-toggle-btn svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.menu-toggle-btn:hover svg {
  transform: scale(1.18) rotate(90deg);
}

/* 4. Topbar Search Input Icon Pulse */
.topbar-search-icon svg {
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.topbar-search:focus-within .topbar-search-icon svg {
  color: var(--brand-400);
  transform: scale(1.22) rotate(-10deg);
  filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.8));
}

/* 5. Sidebar Available Credits Lightning Bolt Glow */
.credits-pill-title svg {
  animation: lightningBoltPulse 2.4s ease-in-out infinite;
}
@keyframes lightningBoltPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 3px rgba(129, 140, 248, 0.6));
  }
  50% {
    transform: scale(1.25);
    filter: drop-shadow(0 0 8px rgba(129, 140, 248, 1)) drop-shadow(0 0 15px rgba(99, 102, 241, 0.7));
  }
}

/* 6. Dashboard Metric Cards Icons */
.metric-icon-wrap {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.metric-icon-wrap svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.metric-card:hover .metric-icon-wrap {
  transform: translateY(-2px) scale(1.12);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.45);
}
.metric-card:hover .metric-icon-wrap svg {
  transform: scale(1.2) rotate(6deg);
}

/* 7. Quick Action Cards Icons */
.quick-action-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.quick-action-icon svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.quick-action-card:hover .quick-action-icon {
  transform: translateY(-3px) scale(1.15) rotate(-4deg);
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.55);
}
.quick-action-card:hover .quick-action-icon svg {
  transform: scale(1.15);
}

/* 8. Discovery Channel Cards (Gmail, Outlook, Yahoo, LinkedIn, WhatsApp, etc.) */
.channel-icon-wrap {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, filter 0.3s ease;
}
.channel-icon-wrap svg {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.type-card:hover .channel-icon-wrap {
  transform: scale(1.18) translateY(-2px);
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
}
.type-card:hover .channel-icon-wrap svg {
  transform: scale(1.08) rotate(3deg);
}
.type-card:active .channel-icon-wrap {
  transform: scale(0.92);
  transition: transform 0.1s ease;
}

/* 9. Buttons with Icons (Hover Slide & Spring Pop) */
.btn svg, .btn-primary svg, .btn-secondary svg, .btn-filter-pill svg, .btn-topup-mini svg {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.btn:hover svg, .btn-primary:hover svg, .btn-secondary:hover svg, .btn-filter-pill:hover svg {
  transform: scale(1.2) translateY(-1px);
}
.btn-topup-mini:hover svg {
  transform: rotate(90deg) scale(1.2);
}

/* ==========================================================================
   PRICING PLANS & PACKAGES
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-top: 24px;
}
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 22px 26px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.15);
}

.pricing-card.popular {
  background: linear-gradient(180deg, rgba(32, 24, 60, 0.98) 0%, rgba(16, 19, 32, 0.98) 100%);
  border: 2px solid #8b5cf6;
  box-shadow: 0 0 32px rgba(124, 58, 237, 0.35), 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(1.03);
  z-index: 2;
}
@media (max-width: 1100px) {
  .pricing-card.popular {
    transform: none;
  }
}

.pricing-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.45);
  white-space: nowrap;
}

.pricing-save-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #34d399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 8px;
  border-radius: 9999px;
  margin-left: 4px;
  vertical-align: middle;
}

.pricing-header {
  margin-bottom: 12px;
}

.pricing-tier-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  margin-bottom: 8px;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 4px;
}

.pricing-currency {
  font-size: 24px;
  font-weight: 800;
  color: #c4b5fd;
}

.pricing-amount {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 4px;
}

.pricing-per-lead {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: #a78bfa;
  margin-top: 4px;
}

.pricing-lead-count {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 14px 0 16px;
  text-align: center;
}

.pricing-lead-number {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
}

.pricing-lead-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 10px 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 13px;
  color: #cbd5e1;
  flex: 1 1 auto;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.pricing-check {
  color: #34d399;
  font-weight: bold;
  flex-shrink: 0;
}

.pricing-cta-btn {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
}

.pricing-trust-line {
  text-align: center;
  margin-top: 32px;
  color: #94a3b8;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.popular-ribbon {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.4);
}

.pricing-plan-badge {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-subtle);
  margin-bottom: 8px;
}

.pricing-credits {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 6px;
}

.pricing-credits span {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-price {
  font-size: 20px;
  font-weight: 800;
  color: #c4b5fd;
  margin-bottom: 4px;
}

.pricing-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-subtle);
}

.pricing-unit-rate {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   MULTI-CITY EXPANSION MODAL
   ========================================================================== */
.city-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 12, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.city-modal-box {
  background: linear-gradient(180deg, rgba(24, 27, 44, 0.98) 0%, rgba(13, 16, 28, 0.98) 100%);
  border: 1px solid rgba(139, 92, 246, 0.28);
  border-radius: 20px;
  max-width: 620px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(139, 92, 246, 0.15);
  padding: 30px;
  position: relative;
  animation: modalSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-main);
}

.city-modal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.city-quota-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
}

.city-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 10px #fbbf24;
  animation: pulse 1.8s infinite;
}

.city-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.city-modal-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 20px 0;
}

.city-modal-desc strong {
  color: #ffffff;
}

.city-section-label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
  font-weight: 700;
  margin-bottom: 10px;
}

.city-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 170px;
  overflow-y: auto;
  padding: 4px;
  margin-bottom: 16px;
}

.city-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.city-chip:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.3);
  color: #fff;
  transform: translateY(-1px);
}

.city-chip.selected {
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  border-color: #a78bfa;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.city-chip-icon {
  font-size: 12px;
  opacity: 0.7;
}

.city-chip.selected .city-chip-icon {
  opacity: 1;
}

.city-custom-row {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.city-custom-input {
  flex: 1;
  background: rgba(10, 13, 24, 0.8);
  border: 1px solid var(--border-main);
  color: #ffffff;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s;
}

.city-custom-input:focus {
  border-color: var(--brand-500);
}

.city-selected-bar {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 22px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.city-selected-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.city-tag {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #c4b5fd;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.city-tag-remove {
  cursor: pointer;
  color: #e0e7ff;
  font-weight: bold;
}

.city-modal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
}

/* ==========================================================================
   IN-APP NOTIFICATIONS & GLOBAL BROADCAST POPUP
   ========================================================================== */

/* Topbar Notification Dropdown Wrapper */
.notifications-wrapper {
  position: relative;
}

.notifications-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 360px;
  max-width: calc(100vw - 24px);
  background: rgba(17, 20, 29, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 24px rgba(124, 58, 237, 0.15);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: dropdownSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.notif-dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.02);
}

.notif-dropdown-header h4 {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notif-count-badge {
  background: var(--brand-500);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.notif-list {
  max-height: 380px;
  overflow-y: auto;
  padding: 6px 0;
}

.notif-list::-webkit-scrollbar {
  width: 5px;
}
.notif-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.notif-item {
  display: flex;
  gap: 12px;
  padding: 12px 18px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.notif-item:last-child {
  border-bottom: none;
}

.notif-item:hover {
  background: rgba(139, 92, 246, 0.08);
}

.notif-item.unread {
  background: rgba(124, 58, 237, 0.06);
}

.notif-item.unread::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  border-radius: 2px;
  background: var(--brand-500);
}

.notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.notif-icon.info {
  background: rgba(99, 102, 241, 0.18);
  color: #818cf8;
}
.notif-icon.success {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
}
.notif-icon.promo {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
}
.notif-icon.warning {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
}

.notif-body {
  flex: 1;
  min-width: 0;
}

.notif-title {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 3px;
  line-height: 1.3;
}

.notif-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 4px;
  word-break: break-word;
}

.notif-time {
  font-size: 11px;
  color: rgba(148, 163, 184, 0.7);
}

.notif-empty {
  padding: 36px 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.notif-empty svg {
  margin-bottom: 10px;
  opacity: 0.5;
}

/* Global Announcement Pop-up Modal */
.announcement-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: overlayFadeIn 0.25s ease both;
}

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.announcement-card {
  background: linear-gradient(135deg, rgba(23, 27, 44, 0.98) 0%, rgba(15, 18, 30, 0.98) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75), 0 0 50px rgba(124, 58, 237, 0.25);
  border-radius: 22px;
  max-width: 520px;
  width: 100%;
  padding: 36px 32px;
  position: relative;
  text-align: center;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes modalScaleUp {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.announcement-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.25), rgba(99, 102, 241, 0.25));
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 18px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.announcement-title {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 14px 0;
  background: linear-gradient(135deg, #ffffff 40%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.announcement-message {
  font-size: 14.5px;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 28px 0;
  white-space: pre-line;
}

.announcement-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.announcement-btn-primary {
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 30px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.announcement-btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.55);
}

.announcement-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.announcement-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
}

.announcement-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.announcement-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

/* ==========================================================================
   PUBLIC LANDING / HOME PAGE ISOLATION STYLES
   ========================================================================== */

html.landing-page-active .sidebar,
body.landing-page-active .sidebar,
html.landing-page-active #sidebar,
body.landing-page-active #sidebar {
  display: none !important;
}

html.landing-page-active .topbar,
body.landing-page-active .topbar,
html.landing-page-active header.topbar,
body.landing-page-active header.topbar {
  display: none !important;
}

html.landing-page-active .main,
body.landing-page-active .main {
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

html.landing-page-active .content,
body.landing-page-active .content {
  padding: 0 !important;
  max-width: 100% !important;
}

/* When in dashboard mode, ensure landing page is 100% invisible */
body:not(.landing-page-active) #view-home {
  display: none !important;
}

.landing-page-wrapper {
  min-height: 100vh;
  background: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-sans);
  overflow-x: hidden;
  position: relative;
}

.landing-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sticky Public Navigation */
.landing-nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(11, 13, 20, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  transition: all 0.25s ease;
}

.landing-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.landing-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.landing-brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(124, 58, 237, 0.4));
}

.landing-brand-text {
  display: none !important;
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-nav-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.landing-nav-links a:hover {
  color: #ffffff;
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   UPDATED CONVERSION-FOCUSED HERO SECTION
   ========================================================================== */
.landing-hero {
  position: relative;
  padding: 80px 0 90px;
  text-align: center;
  background: radial-gradient(circle at 50% 12%, rgba(124, 58, 237, 0.22) 0%, rgba(15, 18, 30, 0) 65%);
  overflow: hidden;
}

/* 1. Top Badge */
.landing-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 30px;
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.badge-dot-sep {
  opacity: 0.4;
}

.badge-green-accent {
  color: #10b981;
  font-weight: 700;
}

/* 2. Headline */
.landing-hero-title {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.15;
  color: #ffffff;
  max-width: 860px;
  margin: 0 auto 18px;
  letter-spacing: -1.2px;
}

.landing-hero-title .highlight {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 3. Subheading */
.landing-hero-subtitle {
  font-size: 17.5px;
  line-height: 1.55;
  color: #94a3b8;
  max-width: 680px;
  margin: 0 auto 24px;
}

/* 4. Channel Icon Row */
.hero-channel-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 auto 32px;
}

.channel-strip-label {
  font-size: 12.5px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.channel-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 600;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
  user-select: none;
}

.channel-chip:hover {
  transform: translateY(-2px) scale(1.04);
}

.channel-chip.chip-email {
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: #c084fc;
}
.channel-chip.chip-email:hover {
  box-shadow: 0 4px 14px rgba(168, 85, 247, 0.3);
}

.channel-chip.chip-phone {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}
.channel-chip.chip-phone:hover {
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}

.channel-chip.chip-website {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: #22d3ee;
}
.channel-chip.chip-website:hover {
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.3);
}

.channel-chip.chip-linkedin {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #38bdf8;
}
.channel-chip.chip-linkedin:hover {
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.channel-chip.chip-instagram {
  background: rgba(236, 72, 153, 0.12);
  border: 1px solid rgba(236, 72, 153, 0.3);
  color: #f472b6;
}
.channel-chip.chip-instagram:hover {
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.3);
}

.channel-chip.chip-rating {
  background: rgba(234, 179, 8, 0.12);
  border: 1px solid rgba(234, 179, 8, 0.3);
  color: #facc15;
}
.channel-chip.chip-rating:hover {
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.3);
}

/* 5 & 6. Primary CTA & Secondary Button */
.landing-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.btn-hero-cta {
  font-size: 15.5px;
  font-weight: 700;
  padding: 14px 32px;
  background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 28px rgba(124, 58, 237, 0.45);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-hero-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(124, 58, 237, 0.6);
}

.btn-outline-hero {
  font-size: 14.5px;
  font-weight: 600;
  padding: 13px 26px;
  background: rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.btn-outline-hero:hover {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
}

/* 7. Trust Line */
.hero-trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.trust-check {
  color: #10b981;
  font-weight: 800;
}

.trust-dot {
  opacity: 0.35;
}

/* 8. Social Proof Row */
.hero-social-proof {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.social-proof-avatars {
  display: flex;
  align-items: center;
}

.avatar-pill {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #0f121e;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
}

.avatar-pill:first-child {
  margin-left: 0;
}

.social-proof-text {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

/* 9. Price Comparison Strip */
.hero-price-comparison {
  max-width: 680px;
  margin: 0 auto 50px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 24px;
}

.comparison-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #64748b;
  margin-bottom: 14px;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 12px;
  align-items: center;
}

.comparison-col {
  padding: 12px 14px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.comparison-col.comp-other {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-col.comp-other .comp-label {
  font-size: 12px;
  color: #64748b;
}

.comparison-col.comp-other .comp-price {
  font-size: 14px;
  font-weight: 700;
  color: #94a3b8;
}

.comparison-col.comp-leadfinder {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18) 0%, rgba(99, 102, 241, 0.18) 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  position: relative;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.15);
}

.comp-badge {
  position: absolute;
  top: -9px;
  right: 12px;
  background: #10b981;
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.5px;
}

.comparison-col.comp-leadfinder .comp-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
}

.comparison-col.comp-leadfinder .comp-price.highlight {
  font-size: 18px;
  font-weight: 900;
  color: #c4b5fd;
}

/* 10. Live Demo Mockup */
.hero-live-demo-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.hero-live-demo-card {
  background: linear-gradient(135deg, rgba(23, 27, 44, 0.98) 0%, rgba(15, 18, 30, 0.98) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 50px rgba(124, 58, 237, 0.2);
  text-align: left;
}

.demo-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-window-dots {
  display: flex;
  gap: 6px;
}

.demo-window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.demo-window-title {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.demo-window-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #34d399;
  font-weight: 600;
}

.demo-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.demo-search-icon {
  color: var(--brand-400);
  display: flex;
  align-items: center;
}

.demo-search-input {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.demo-typing-cursor {
  animation: cursorBlink 0.8s infinite;
  color: var(--brand-400);
  font-weight: 300;
  margin-left: 2px;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.demo-engine-tag {
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

.demo-results-container {
  padding: 16px 20px 20px;
  overflow-x: auto;
}

.demo-results-table-head {
  display: grid;
  grid-template-columns: 2fr 1.5fr 2fr 1.3fr 1fr;
  gap: 12px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 8px;
}

.demo-results-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.demo-row {
  display: grid;
  grid-template-columns: 2fr 1.5fr 2fr 1.3fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.2s ease;
}

.demo-row:hover {
  background: rgba(139, 92, 246, 0.06);
  border-color: rgba(139, 92, 246, 0.25);
}

.demo-results-visible .demo-row {
  opacity: 1;
  transform: translateY(0);
}

.demo-results-visible .demo-row:nth-child(1) { transition-delay: 0.08s; }
.demo-results-visible .demo-row:nth-child(2) { transition-delay: 0.22s; }
.demo-results-visible .demo-row:nth-child(3) { transition-delay: 0.36s; }

.demo-biz-name {
  display: block;
  font-size: 13.5px;
  color: #ffffff;
  font-weight: 700;
}

.demo-biz-sub {
  display: block;
  font-size: 11.5px;
  color: #64748b;
}

.demo-mono-phone {
  font-family: monospace;
  font-size: 12.5px;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.demo-mono-email {
  font-family: monospace;
  font-size: 12px;
  color: #c084fc;
  background: rgba(168, 85, 247, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  word-break: break-all;
}

.demo-cell-channels {
  display: flex;
  align-items: center;
  gap: 6px;
}

.demo-ch-icon {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
}

.demo-ch-rating {
  font-size: 11.5px;
  font-weight: 700;
  color: #facc15;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .landing-hero {
    padding: 60px 0 70px;
  }
  .landing-hero-title {
    font-size: 32px;
    letter-spacing: -0.5px;
  }
  .landing-hero-subtitle {
    font-size: 15px;
  }
  .landing-hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero-cta, .btn-outline-hero {
    width: 100%;
    justify-content: center;
  }
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  .demo-results-table-head {
    display: none;
  }
  .demo-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .demo-cell-channels {
    justify-content: flex-start;
  }
  .hero-trust-line {
    font-size: 12px;
  }
}

/* Sections Global */
.landing-section {
  padding: 90px 0;
  position: relative;
}

.section-head-center {
  text-align: center;
  max-width: 660px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 12px;
  letter-spacing: -0.6px;
}

.section-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
}

/* Features Grid (Equal Height Alignment) */
.landing-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 992px) {
  .landing-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .landing-features-grid {
    grid-template-columns: 1fr;
  }
}

.feature-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 24px rgba(124, 58, 237, 0.1);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c4b5fd;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 8px;
}

.feature-text {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin: 0;
  flex: 1 1 auto;
}

/* How It Works Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  position: relative;
}

.step-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-num-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
  flex-shrink: 0;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
  box-sizing: border-box;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 14.5px;
  line-height: 1.65;
  color: #cbd5e1;
  font-style: italic;
  margin: 0 0 20px 0;
  flex: 1 1 auto;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-meta {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.testimonial-role {
  color: #94a3b8;
  font-size: 12px;
}

/* Free Leads Banner */
.free-leads-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(15, 18, 30, 0.95));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 18px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.free-leads-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 4px;
}

.free-leads-subtitle {
  color: #94a3b8;
  font-size: 13.5px;
  margin: 0;
}

.free-leads-btn {
  background: linear-gradient(135deg, #059669, #10b981) !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.free-leads-btn:hover {
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

/* Compact Blog Strip (1 Row, 3 Cards) */
.blog-compact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 850px) {
  .blog-compact-strip {
    grid-template-columns: 1fr;
  }
}

.blog-compact-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.25s ease;
}

.blog-compact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.blog-compact-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  padding: 2px 9px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.blog-compact-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.45;
  margin: 0 0 16px 0;
}

.blog-compact-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-400);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease, color 0.2s ease;
}

.blog-compact-card:hover .blog-compact-link {
  gap: 7px;
  color: #c4b5fd;
}

/* Final CTA Banner (Full-Width Gradient) */
.final-cta-section {
  padding: 40px 0 60px;
}

.final-cta-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25) 0%, rgba(79, 70, 229, 0.2) 50%, rgba(16, 185, 129, 0.15) 100%);
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 24px;
  padding: 56px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(124, 58, 237, 0.15);
}

.final-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.final-cta-title {
  font-size: 36px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 12px 0;
  letter-spacing: -0.6px;
}

.final-cta-subtext {
  font-size: 17px;
  color: #cbd5e1;
  margin: 0 auto 28px;
  max-width: 540px;
}

.final-cta-btn {
  display: inline-flex;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .final-cta-card {
    padding: 36px 20px;
  }
  .final-cta-title {
    font-size: 26px;
  }
}

/* Contact Grid & WhatsApp Button */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 36px;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-channels-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-channel-item:last-child {
  border-bottom: none;
}

.channel-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  margin-top: 4px;
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: #ffffff !important;
}

.contact-form-card {
  background: linear-gradient(135deg, rgba(23, 27, 44, 0.95) 0%, rgba(15, 18, 30, 0.95) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  padding: 36px 32px;
}

/* FAQ Accordion (Smooth Animation & Single Open) */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item.open {
  border-color: rgba(139, 92, 246, 0.45);
  background: rgba(255, 255, 255, 0.035);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  user-select: none;
  gap: 16px;
  transition: color 0.15s ease;
}

.faq-question:hover {
  color: #c4b5fd;
}

.faq-icon-arrow {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  font-size: 12px;
  color: #94a3b8;
  flex-shrink: 0;
}

.faq-item.open .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--brand-400);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #94a3b8;
}

.faq-item.open .faq-answer {
  max-height: 250px;
  padding: 0 22px 18px;
}

/* Landing Modern Footer */
.landing-footer {
  background: #090b12;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: #64748b;
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
  color: #64748b;
}

/* Universal Modal Close Button */
.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 30;
  padding: 0;
}

.modal-close-btn:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.45);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(124, 58, 237, 0.25);
  transform: scale(1.05);
}

.modal-close-btn:active {
  transform: scale(0.95);
}

/* Auth Modal (Login / Sign Up) */
.auth-modal-dialog {
  background: linear-gradient(135deg, rgba(23, 27, 44, 0.98) 0%, rgba(15, 18, 30, 0.98) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 20px;
  max-width: 440px;
  width: 100%;
  padding: 32px 28px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), 0 0 40px rgba(124, 58, 237, 0.2);
  position: relative;
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 22px;
  padding-right: 44px; /* Leaves clear space for the close button so tabs never collide */
}

.auth-tab-btn {
  flex: 1;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #94a3b8;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.auth-tab-btn.active {
  color: #ffffff;
  border-bottom-color: var(--brand-500);
}

@media (max-width: 480px) {
  .auth-modal-dialog {
    padding: 24px 18px;
  }
  .auth-tabs {
    padding-right: 36px;
    margin-bottom: 18px;
  }
  .auth-tab-btn {
    font-size: 13px;
    padding: 8px 0;
  }
  .modal-close-btn {
    top: 14px;
    right: 14px;
    width: 28px;
    height: 28px;
  }
}

.auth-pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.auth-pass-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.15s ease;
  line-height: 1;
}

.auth-pass-toggle:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.08);
}

.auth-pass-toggle:focus-visible {
  outline: 2px solid var(--brand-500, #7c3aed);
}

.auth-remember-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #94a3b8;
  cursor: pointer;
  user-select: none;
  margin-top: 2px;
}

.auth-remember-row input[type="checkbox"] {
  accent-color: var(--brand-500, #7c3aed);
  width: 15px;
  height: 15px;
  border-radius: 4px;
  cursor: pointer;
}

.auth-remember-row:hover span {
  color: #f1f5f9;
}

/* Blog Reader Modal */
.blog-modal-dialog {
  background: linear-gradient(135deg, rgba(23, 27, 44, 0.98) 0%, rgba(15, 18, 30, 0.98) 100%);
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 22px;
  max-width: 740px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px 32px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
  position: relative;
}

.blog-modal-body h2 {
  font-size: 26px;
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px;
  line-height: 1.3;
}

.blog-modal-body p {
  color: #cbd5e1;
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 18px;
}

.blog-modal-body h3 {
  font-size: 18px;
  font-weight: 800;
  color: #c4b5fd;
  margin: 24px 0 10px;
}

.blog-modal-body ul {
  padding-left: 20px;
  margin-bottom: 18px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .landing-hero-title {
    font-size: 34px;
  }
  .landing-nav-links {
    display: none;
  }
  .hero-stats-ribbon {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   BINANCE PAYMENT GATEWAY & TOP-UP CHECKOUT STYLES
   ========================================================================== */

.binance-checkout-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.binance-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.binance-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.binance-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(243, 186, 47, 0.12);
  border: 1px solid rgba(243, 186, 47, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.binance-verified-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  letter-spacing: 0.02em;
}

/* Selected Plan Banner */
.topup-selected-banner {
  background: linear-gradient(135deg, rgba(243, 186, 47, 0.08) 0%, rgba(99, 102, 241, 0.08) 100%);
  border: 1px solid rgba(243, 186, 47, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.banner-plan-info strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
  margin-top: 2px;
}

.banner-price-info {
  text-align: right;
}

.banner-price-val {
  font-size: 22px;
  font-weight: 900;
  color: #f3ba2f;
  line-height: 1.1;
  margin-top: 2px;
}

.banner-price-val small {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
}

/* Pricing Card Coupon Link */
.btn-card-coupon-link {
  display: block;
  width: 100%;
  margin-top: 8px;
  background: none;
  border: none;
  color: #a78bfa;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  padding: 4px;
  transition: color 0.15s ease;
}
.btn-card-coupon-link:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

/* Coupon Accordion in Binance Checkout */
.topup-coupon-wrap {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(167, 139, 250, 0.35);
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.2s ease;
}

.topup-coupon-wrap:hover {
  border-color: rgba(167, 139, 250, 0.6);
  background: rgba(139, 92, 246, 0.03);
}

.coupon-bar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-toggle-coupon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s ease;
}

.btn-toggle-coupon:hover {
  color: #ffffff;
}

.btn-toggle-coupon .chevron-arrow {
  font-size: 11px;
  color: #a78bfa;
  transition: transform 0.2s ease;
}

.btn-toggle-coupon.open .chevron-arrow {
  transform: rotate(180deg);
}

.active-coupon-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 3px 10px;
  border-radius: 20px;
}

.pill-badge-tag {
  color: #34d399;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.btn-pill-remove {
  background: none;
  border: none;
  color: #f87171;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 2px;
}

.btn-pill-remove:hover {
  color: #ef4444;
  text-decoration: underline;
}

.coupon-input-box {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.coupon-field-row {
  display: flex;
  gap: 8px;
}

.coupon-field {
  flex: 1;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-family: var(--font-mono, monospace);
  font-size: 13.5px;
}

.coupon-status-msg {
  margin-top: 8px;
  font-size: 12.5px;
  line-height: 1.4;
  font-weight: 600;
}
.coupon-status-msg.ok {
  color: #34d399;
}
.coupon-status-msg.err {
  color: #f87171;
}

/* Payment Switcher Tabs */
.binance-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
  background: var(--surface-card2);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.binance-tab-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.binance-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.binance-tab-btn.active {
  background: var(--surface-card);
  color: #ffffff;
  border-color: rgba(243, 186, 47, 0.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.binance-tab-btn#tab-btn-trc20.active {
  border-color: rgba(16, 185, 129, 0.4);
}

.tab-badge {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.tab-badge.zero-fee {
  background: rgba(243, 186, 47, 0.2);
  color: #f3ba2f;
}

.binance-tab-btn#tab-btn-trc20 .tab-badge {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

/* Panels */
.binance-payment-panel {
  background: var(--surface-card2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s ease;
}

.binance-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: center;
}

.binance-qr-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.binance-qr-wrapper {
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 176px;
  box-sizing: border-box;
  overflow: hidden;
}

.binance-qr-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.qr-scan-badge {
  font-size: 10px;
  font-weight: 700;
  color: #0b0d14;
  background: #f3ba2f;
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 8px;
  text-align: center;
  width: 100%;
  letter-spacing: 0.02em;
}

.qr-scan-badge.trc-badge {
  background: #0d9488;
  color: #ffffff;
}

.binance-info-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pay-info-box {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 14px;
}

.pay-info-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-subtle);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.verified-tag {
  color: #34d399;
  font-size: 10px;
  font-weight: 700;
  text-transform: none;
}

.network-pill-tron {
  color: #f87171;
  font-size: 10px;
  font-weight: 700;
  text-transform: none;
}

.pay-info-val-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pay-code-val {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
}

.pay-code-val.address-break {
  word-break: break-all;
  font-size: 12.5px;
  color: #e2e8f0;
}

.btn-copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(243, 186, 47, 0.35);
  background: rgba(243, 186, 47, 0.12);
  color: #f3ba2f;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-copy-chip:hover {
  background: rgba(243, 186, 47, 0.25);
  border-color: rgba(243, 186, 47, 0.6);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-copy-chip:active {
  transform: scale(0.96);
}

.btn-copy-chip.copied {
  background: rgba(16, 185, 129, 0.25);
  border-color: rgba(16, 185, 129, 0.6);
  color: #34d399;
}

.warning-callout-mini {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11.5px;
  color: #fca5a5;
  line-height: 1.5;
}

.binance-steps-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.step-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #cbd5e1;
}

.step-num {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .binance-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pay-info-val-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   API TELEMETRY & QUOTA USAGE CARDS (DASHBOARD)
   ========================================================================== */
.api-telemetry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.api-provider-box {
  background: var(--surface-card2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.api-provider-box:hover {
  border-color: var(--border-active);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.api-provider-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.api-provider-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.api-provider-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.api-provider-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.api-provider-role {
  font-size: 11px;
  color: var(--text-muted);
}

.api-percent-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.api-percent-badge.healthy {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.api-percent-badge.warning {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.api-percent-badge.critical {
  background: rgba(244, 63, 94, 0.12);
  color: #f43f5e;
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.api-usage-stats-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 2px;
}

.api-calls-counter {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
}

.api-calls-counter small {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}

.api-progress-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.api-progress-bar {
  height: 100%;
  border-radius: 10px;
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.api-progress-bar.grad-healthy {
  background: linear-gradient(90deg, #6366f1 0%, #10b981 100%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

.api-progress-bar.grad-warning {
  background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.35);
}

.api-progress-bar.grad-critical {
  background: linear-gradient(90deg, #ef4444 0%, #f43f5e 100%);
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.35);
}

.api-provider-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 8px;
}

.api-live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-weight: 600;
}

.api-live-indicator::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* ==========================================================================
   SMART LEADS (SERVICE GAP FINDER)
   ========================================================================== */
.smart-service-container {
  margin-bottom: 22px;
}
.smart-service-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.smart-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.smart-service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}
.smart-service-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
}
.smart-service-card.active {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(99, 102, 241, 0.08));
  border-color: #8b5cf6;
  box-shadow: 0 0 0 1px #8b5cf6, 0 8px 24px rgba(124, 58, 237, 0.2);
}
.smart-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.smart-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.smart-card-radio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.smart-service-card.active .smart-card-radio {
  border-color: #8b5cf6;
  background: #8b5cf6;
}
.smart-service-card.active .smart-card-radio::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}
.smart-card-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}
.smart-note-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #94a3b8;
  margin-top: 14px;
}
.smart-note-bar svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Gap Tag Badges in Table */
.gap-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.gap-tag-noweb {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.gap-tag-social {
  background: rgba(6, 182, 212, 0.15);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.35);
}
.gap-tag-seo {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.35);
}
.seo-score-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.3);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
  margin-left: 4px;
}

/* Why this lead popover */
.why-lead-wrap {
  position: relative;
  display: inline-block;
}
.why-lead-btn {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: #a78bfa;
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.why-lead-btn:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: #8b5cf6;
  color: #fff;
}
.why-lead-popover {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 1000;
  min-width: 290px;
  max-width: 360px;
  background: #0f1422;
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(139, 92, 246, 0.2);
  text-align: left;
}
.why-lead-wrap:hover .why-lead-popover,
.why-lead-wrap.open .why-lead-popover {
  display: block;
}
.why-lead-popover-title {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 6px;
}
.why-lead-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
  color: #cbd5e1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.why-lead-list li {
  position: relative;
  padding-left: 14px;
  line-height: 1.45;
}
.why-lead-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #f59e0b;
  font-weight: bold;
}

/* Scanning progress indicator */
.smart-scanning-banner {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(59, 130, 246, 0.1));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.smart-scanning-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(139, 92, 246, 0.2);
  border-top-color: #8b5cf6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}
.smart-scanning-text {
  font-size: 13.5px;
  color: #e2e8f0;
  font-weight: 600;
}
.smart-scanning-sub {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

/* ==========================================================================
   INTERACTIVE MAP VIEW STYLING (CIRCULAR RADAR & SPLIT LAYOUT)
   ========================================================================== */
#view-map {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.map-layout-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  min-height: 600px;
  align-items: center;
}

@media (max-width: 1060px) {
  .map-layout-grid {
    grid-template-columns: 1fr !important;
  }
  .map-sidebar-panel {
    order: 2;
    height: 480px !important;
    max-height: 480px !important;
  }
  .map-radar-container {
    order: 1;
  }
  .map-circular-frame {
    width: 440px !important;
    height: 440px !important;
  }
}

@media (max-width: 500px) {
  .map-circular-frame {
    width: 320px !important;
    height: 320px !important;
  }
}

.map-radar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 10px 0;
}

.map-circular-frame {
  position: relative;
  width: 560px;
  height: 560px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50% !important;
  overflow: hidden;
  background: #0b0f19;
  border: 3px solid rgba(6, 182, 212, 0.7);
  box-shadow: 
    0 0 0 2px rgba(6, 182, 212, 0.9),
    0 0 0 8px rgba(6, 182, 212, 0.16),
    0 0 0 16px rgba(6, 182, 212, 0.05),
    0 0 45px rgba(6, 182, 212, 0.35),
    inset 0 0 50px rgba(0, 0, 0, 0.8),
    0 24px 70px rgba(0, 0, 0, 0.85);
  transition: all 0.3s ease;
  z-index: 10;
}

.map-circular-frame #leads-leaflet-map {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 50%;
}

/* Radar Overlay HUD Rings and Crosshairs */
.radar-hud-overlay {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 500;
}

.radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(6, 182, 212, 0.24);
  pointer-events: none;
}

.radar-ring-1 {
  width: 36%;
  height: 36%;
}

.radar-ring-2 {
  width: 70%;
  height: 70%;
}

.radar-crosshair {
  position: absolute;
  pointer-events: none;
}

.radar-axis-x {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.28) 20%, rgba(6, 182, 212, 0.28) 80%, transparent);
}

.radar-axis-y {
  top: 0;
  left: 50%;
  height: 100%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(6, 182, 212, 0.28) 20%, rgba(6, 182, 212, 0.28) 80%, transparent);
}

.radar-sweep-beam {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 50%;
  transform-origin: 0% 0%;
  border-radius: 0 100% 0 0;
  background: conic-gradient(from 0deg at 0% 0%, rgba(6, 182, 212, 0.14) 0deg, rgba(6, 182, 212, 0.04) 28deg, transparent 55deg);
  animation: radarSweep 6s linear infinite;
  pointer-events: none;
}

@keyframes radarSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Reposition Leaflet Controls inside circle */
.map-circular-frame .leaflet-top.leaflet-left {
  top: 55px !important;
  left: 55px !important;
}

.map-circular-frame .leaflet-bar {
  border: 1px solid rgba(6, 182, 212, 0.4) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6) !important;
  border-radius: 8px !important;
  overflow: hidden;
}

.map-circular-frame .leaflet-bar a {
  background-color: #0f172a !important;
  color: #38bdf8 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.map-circular-frame .leaflet-bar a:hover {
  background-color: #1e293b !important;
  color: #fff !important;
}

.map-circular-frame .leaflet-bottom.leaflet-right {
  bottom: 28px !important;
  right: 55px !important;
}

.map-circular-frame .leaflet-control-attribution {
  background: rgba(15, 23, 42, 0.7) !important;
  color: #64748b !important;
  border-radius: 6px !important;
  font-size: 10px !important;
  padding: 1px 6px !important;
}
.map-circular-frame .leaflet-control-attribution a {
  color: #94a3b8 !important;
}

/* Leaflet Dark Theme Overrides */
.leaflet-container {
  background-color: #0b0f19 !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
}

.leaflet-popup-content-wrapper {
  background: #0f172a !important;
  color: #f8fafc !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7) !important;
  padding: 0 !important;
}

.leaflet-popup-tip {
  background: #0f172a !important;
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.leaflet-popup-content {
  margin: 14px 16px !important;
  line-height: 1.4 !important;
  font-size: 13px !important;
}

.leaflet-container a.leaflet-popup-close-button {
  top: 8px !important;
  right: 8px !important;
  color: #94a3b8 !important;
  font-size: 16px !important;
  padding: 4px !important;
  line-height: 1 !important;
  width: 20px !important;
  height: 20px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 4px !important;
}

.leaflet-container a.leaflet-popup-close-button:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

/* Custom Pulsing Markers */
.lead-map-pin {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.lead-map-pin-inner {
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lead-map-pin.is-no-web .lead-map-pin-inner {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.6);
}

.lead-map-pin.is-saved .lead-map-pin-inner {
  background: linear-gradient(135deg, #10b981, #059669);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.6);
}

.lead-map-pin:hover .lead-map-pin-inner,
.lead-map-pin.is-active .lead-map-pin-inner {
  transform: rotate(-45deg) scale(1.25);
  box-shadow: 0 6px 22px rgba(124, 58, 237, 0.9);
  z-index: 999;
}

.lead-map-pin-icon {
  transform: rotate(45deg);
  font-size: 13px;
  line-height: 1;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lead-map-pin-icon svg {
  display: block;
}

.lead-map-pin-pulse {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.4);
  bottom: -4px;
  transform: scale(1);
  animation: mapPinPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes mapPinPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* Map Popup Card */
.map-popup-card {
  min-width: 250px;
  max-width: 300px;
}
.map-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 4px;
  padding-right: 20px;
}
.map-popup-title {
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  line-height: 1.3;
}
.map-popup-rating {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  white-space: nowrap;
}
.map-popup-cat {
  font-size: 11px;
  color: #94a3b8;
  text-transform: capitalize;
  margin-bottom: 8px;
}
.map-popup-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #cbd5e1;
  margin-top: 5px;
  word-break: break-word;
}
.map-popup-row svg {
  flex-shrink: 0;
  color: #38bdf8;
}
.map-popup-row a {
  color: #38bdf8;
  text-decoration: none;
}
.map-popup-row a:hover {
  text-decoration: underline;
}
.map-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399 !important;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.map-wa-link:hover {
  background: rgba(16, 185, 129, 0.3);
}
.map-no-web-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 600;
}
.map-popup-actions {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 6px;
}
.map-lead-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.map-lead-card:hover,
.map-lead-card.active {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.5);
  transform: translateY(-1px);
}

/* User Location Radar Marker */
.custom-user-loc-icon {
  background: transparent !important;
  border: none !important;
}
.user-pulse-marker {
  position: relative;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.user-pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.45);
  animation: userRadarPing 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.user-pulse-dot {
  position: relative;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  border: 2.5px solid #ffffff;
  box-shadow: 0 0 14px #10b981;
}
@keyframes userRadarPing {
  75%, 100% {
    transform: scale(2.6);
    opacity: 0;
  }
}

/* Find Near Me Filter Modal Styles */
.near-me-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11.5px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.near-me-chip:hover {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}
.near-me-chip.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #10b981;
  font-weight: 600;
}
.near-me-channel-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  font-size: 12px;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.15s ease;
}
.near-me-channel-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}
.near-me-channel-item input[type="checkbox"] {
  accent-color: #10b981;
  width: 15px;
  height: 15px;
  cursor: pointer;
}




/* ==========================================================================
   CRM PIPELINE DASHBOARD
   ========================================================================== */
.crm-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}
.crm-header-left h2 {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
  color: #fff;
}
.crm-header-left p {
  font-size: 13px;
  color: #94a3b8;
  margin: 4px 0 0;
}
.crm-header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

/* CRM KPI Strip */
.crm-kpi-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
@media (max-width: 800px) {
  .crm-kpi-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}
.crm-kpi-card {
  background: #131826;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.crm-kpi-card:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.1);
}
.crm-kpi-icon {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}
.crm-kpi-icon svg {
  display: block;
}
.crm-kpi-val {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.crm-kpi-label {
  font-size: 12.5px;
  color: #94a3b8;
  font-weight: 500;
}
.crm-kpi-card.kpi-win .crm-kpi-val {
  color: #10b981;
}

/* CRM Pipeline Bar */
.crm-pipeline-bar-wrap {
  background: #131826;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
}
.crm-pipeline-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}
.crm-pipeline-track {
  display: flex;
  height: 10px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.crm-pipeline-seg {
  height: 100%;
  transition: width 0.5s ease;
}
.crm-seg-new { background: #f59e0b; }
.crm-seg-researched { background: #3b82f6; }
.crm-seg-contacted { background: #6366f1; }
.crm-seg-replied { background: #8b5cf6; }
.crm-seg-meeting { background: #06b6d4; }
.crm-seg-proposal { background: #14b8a6; }
.crm-seg-negotiating { background: #22c55e; }
.crm-seg-won { background: #10b981; }
.crm-seg-lost { background: #ef4444; }

/* CRM Search & Sort Bar */
.crm-toolbar {
  background: #131826;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.crm-search-input {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 9px 14px 9px 42px;
  color: #e2e8f0;
  font-size: 13px;
  width: 380px;
  max-width: 100%;
  outline: none;
}
.crm-search-input:focus {
  border-color: rgba(139, 92, 246, 0.5);
}
.crm-sort-select {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 7px 12px;
  color: #e2e8f0;
  font-size: 13px;
  outline: none;
  cursor: pointer;
}

/* CRM Stage Tabs */
.crm-stage-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.crm-stage-tabs::-webkit-scrollbar {
  display: none;
}
.crm-stage-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: #94a3b8;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
}
.crm-stage-tab:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}
.crm-stage-tab.active {
  background: rgba(124, 58, 237, 0.15);
  color: #a78bfa;
  border-color: rgba(124, 58, 237, 0.4);
}
.crm-tab-count {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  min-width: 18px;
  text-align: center;
}
.crm-stage-tab.active .crm-tab-count {
  background: rgba(124, 58, 237, 0.3);
  color: #c4b5fd;
}

/* CRM Filter Ribbon (Clean Single-Line Controls) */
.crm-filter-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  background: #0f1422;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 8px 14px;
  margin-bottom: 14px;
}
.crm-filter-ribbon-left,
.crm-filter-ribbon-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.crm-filter-tag-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.crm-compact-select {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
  outline: none;
  cursor: pointer;
  max-width: 240px;
  transition: border-color 0.15s;
}
.crm-compact-select:focus {
  border-color: rgba(124, 58, 237, 0.5);
}
.crm-filter-pill {
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}
.crm-filter-pill:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}
.crm-filter-pill.active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.4);
}
.crm-filter-pill.pill-hot.active {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}
.crm-filter-pill.pill-noweb.active {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.4);
}
.crm-filter-pill.pill-lowrev.active {
  background: rgba(234, 179, 8, 0.18);
  color: #facc15;
  border-color: rgba(234, 179, 8, 0.4);
}
.crm-filter-pill.pill-nophone.active {
  background: rgba(168, 85, 247, 0.18);
  color: #c084fc;
  border-color: rgba(168, 85, 247, 0.4);
}

/* CRM Lead Row */
.crm-leads-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.crm-lead-row {
  background: #131826;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 14px 18px;
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1.5fr auto 1.4fr auto;
  gap: 14px;
  align-items: center;
  transition: border-color 0.15s, background 0.15s;
}
.crm-lead-row:hover {
  border-color: rgba(139, 92, 246, 0.3);
  background: rgba(124, 58, 237, 0.04);
}
@media (max-width: 1100px) {
  .crm-lead-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Contact Cell: View Details + Quick Icons */
.crm-contact-action-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-crm-view-lead {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  border-radius: 7px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.btn-crm-view-lead:hover {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.4);
  color: #c4b5fd;
  transform: translateY(-1px);
}
.crm-quick-contact-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}
.crm-micro-icon-btn {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.15s ease;
}
.crm-micro-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-1px);
}
.crm-micro-icon-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.crm-lead-biz {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.crm-lead-name {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
}
.crm-lead-meta {
  font-size: 11.5px;
  color: #94a3b8;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.crm-lead-date {
  font-size: 11px;
  color: #64748b;
}
.crm-cat-tag {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  font-size: 10.5px;
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 600;
}

/* Digital Gaps column */
.crm-gaps-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.crm-gap-pill {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.crm-gap-pill.gap-noweb {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.crm-gap-pill.gap-nophone {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.crm-gap-pill.gap-noemail {
  background: rgba(168, 85, 247, 0.12);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.25);
}
.crm-gap-pill.gap-new {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* CRM Contact Column */
.crm-contact-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
}
.crm-contact-wrap a {
  color: #38bdf8;
  text-decoration: none;
  font-size: 12px;
}
.crm-contact-wrap a:hover {
  text-decoration: underline;
}
.crm-no-contact {
  color: #64748b;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* CRM Score Badge */
.crm-score-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
}
.crm-score-badge .score-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  margin-top: 2px;
}
.crm-score-hot {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.crm-score-hot .score-label { color: #f87171; }
.crm-score-warm {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.crm-score-warm .score-label { color: #fbbf24; }
.crm-score-cold {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.3);
}
.crm-score-cold .score-label { color: #94a3b8; }

/* CRM Stage Dropdown */
.crm-stage-select {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  min-width: 130px;
  background: #0b0f19;
  color: #e2e8f0;
}
.crm-stage-select.stage-new {
  background: rgba(100, 116, 139, 0.12);
  color: #cbd5e1;
  border-color: rgba(100, 116, 139, 0.35);
}
.crm-stage-select.stage-researched {
  background: rgba(20, 184, 166, 0.14);
  color: #2dd4bf;
  border-color: rgba(20, 184, 166, 0.35);
}
.crm-stage-select.stage-contacted {
  background: rgba(14, 165, 233, 0.14);
  color: #38bdf8;
  border-color: rgba(14, 165, 233, 0.35);
}
.crm-stage-select.stage-replied {
  background: rgba(6, 182, 212, 0.14);
  color: #22d3ee;
  border-color: rgba(6, 182, 212, 0.35);
}
.crm-stage-select.stage-meeting {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.4);
}
.crm-stage-select.stage-proposal {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border-color: rgba(139, 92, 246, 0.4);
}
.crm-stage-select.stage-negotiating {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.4);
}
.crm-stage-select.stage-won {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.4);
}
.crm-stage-select.stage-lost {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.35);
}

/* CRM Kanban Board */
.crm-kanban-board {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 10px 4px 20px 4px;
  margin-top: 10px;
  scroll-behavior: smooth;
}
.crm-kanban-col {
  flex: 0 0 290px;
  background: #0e1320;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  max-height: 720px;
}
.crm-kanban-col-head {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: #e2e8f0;
}
.crm-kanban-col-count {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}
.crm-kanban-col-body {
  padding: 10px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.crm-kanban-card {
  background: #141a29;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 12px;
  transition: all 0.15s ease;
}
.crm-kanban-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.crm-kanban-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.crm-kanban-card-meta {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 8px;
}
.crm-kanban-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* CRM Notes & Actions */
.crm-notes-cell {
  display: flex;
  align-items: center;
  gap: 8px;
}
.crm-note-input {
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 12px;
  color: #e2e8f0;
  width: 140px;
  outline: none;
  transition: border-color 0.15s;
}
.crm-note-input:focus {
  border-color: rgba(139, 92, 246, 0.5);
}
.crm-row-actions {
  display: flex;
  gap: 4px;
  align-items: center;
}
.crm-action-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.12s;
}
.crm-action-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.crm-action-btn svg {
  display: block;
}
.btn-crm-resync:hover svg {
  stroke: #38bdf8;
}
.btn-crm-detail:hover svg {
  stroke: #818cf8;
}
.btn-crm-enrich:hover svg {
  stroke: #fbbf24;
}
.btn-crm-delete:hover svg {
  stroke: #f87171;
}
.crm-action-btn.btn-delete:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}

/* Save Lead Dual Buttons */
.save-dual-wrap {
  display: flex;
  gap: 6px;
  align-items: center;
}



/* ==========================================================================
   WORKFLOW STORY SECTION (FIND > MAP > PITCH > TRACK)
   ========================================================================== */
.workflow-story-section {
  padding: 60px 0 40px;
}
.workflow-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 36px;
}
.workflow-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: center;
  background: rgba(16, 20, 34, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 36px 36px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.workflow-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.14);
}
.workflow-card.reverse {
  grid-template-columns: 1.2fr 1fr;
}
.workflow-card.reverse .workflow-card-content {
  order: 2;
}
.workflow-card.reverse .workflow-card-preview {
  order: 1;
}
.workflow-card-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.workflow-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(124, 58, 237, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.35);
}
.step-badge-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #8b5cf6;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-badge-text {
  font-size: 12px;
  font-weight: 700;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.workflow-title {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0;
}
.workflow-desc {
  font-size: 14.5px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}
.workflow-points {
  list-style: none;
  padding: 0;
  margin: 6px 0 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13.5px;
  color: #cbd5e1;
}
.workflow-points li {
  position: relative;
  padding-left: 22px;
  line-height: 1.5;
}
.workflow-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 800;
}
.workflow-points strong {
  color: #fff;
}
.workflow-actions {
  margin-top: 8px;
}
.workflow-card-preview {
  position: relative;
  width: 100%;
}
.screenshot-container {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b0f19;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
}
.sample-data-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 14px;
  z-index: 5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.workflow-screenshot {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.workflow-card:hover .workflow-screenshot {
  transform: scale(1.015);
}

/* What's Included Pricing Comparison Table */
.included-table-wrapper {
  margin-top: 48px;
  background: rgba(16, 20, 34, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}
.included-table-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
  text-align: center;
}
.included-table-sub {
  font-size: 14px;
  color: #94a3b8;
  margin: 0 0 24px;
  text-align: center;
}
.included-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.included-table th {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-weight: 700;
}
.included-table th.center-col {
  text-align: center;
}
.included-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #94a3b8;
}
.included-table td.center-col {
  text-align: center;
  color: #10b981;
  font-weight: 700;
}
.included-table td strong {
  color: #fff;
}
.included-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

@media (max-width: 960px) {
  .workflow-card,
  .workflow-card.reverse {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
  .workflow-card.reverse .workflow-card-content {
    order: 1;
  }
  .workflow-card.reverse .workflow-card-preview {
    order: 2;
  }
  .included-table {
    display: block;
    overflow-x: auto;
  }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE OPTIMIZATION & RESPONSIVE ENGINE (iOS & Android)
   ========================================================================== */

/* 1. Global Viewport & Container Hygiene */
/* FIX 2026-11-08: overflow-x:hidden on `html` breaks position:sticky for the
   topbar on mobile Chrome (topbar scrolls away). Keep it on body only. */
body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

.app-container,
.main,
.content {
  max-width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 768px) {
  /* 2. Sleek Mobile Topbar */
  .topbar {
    padding: 10px 14px !important;
    gap: 10px !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .breadcrumbs {
    max-width: 140px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-size: 13px !important;
    font-weight: 700 !important;
  }
  .breadcrumb-root,
  .breadcrumb-sep {
    display: none !important;
  }
  .breadcrumb-current {
    font-size: 13.5px !important;
    font-weight: 700 !important;
    color: #f8fafc !important;
  }
  .live-indicator {
    display: none !important; /* Conceal on mobile to prevent topbar overflow */
  }
  .topbar-actions {
    gap: 8px !important;
    margin-left: auto !important;
  }
  #credits-pill-top {
    font-weight: 700 !important;
  }
  .topbar-actions a.btn-ghost {
    padding: 5px 9px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
  }
  .topbar-actions a.btn-ghost .muted {
    display: none !important; /* Hide "Credits" label text, keep icon + number */
  }
  #btn-topbar-logout {
    padding: 5px 8px !important;
  }
  #btn-topbar-logout span {
    display: none !important; /* Icon-only logout on mobile */
  }

  /* 3. Mobile Navigation Drawer & Backdrop */
  /* FIX 2026-11-23: backdrop moved from body::before to .app::before.
     .app has z-index:1 (stacking context), so a body-level backdrop at
     z-9998 painted ABOVE the sidebar (z-9999 trapped inside .app) and
     the open menu looked black/invisible on phones. Inside .app the
     backdrop (9998) sits below the sidebar (9999) and above content. */
  body.sidebar-open .app::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
  }
  .sidebar {
    z-index: 9999 !important;
    width: 275px !important;
    max-width: 82vw !important;
    background: #0d111c !important;
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.7) !important;
  }
  .content {
    padding: 16px 14px !important;
  }

  /* 4. Smart Leads & Lead Discovery Mobile Grid (Single Column Stack) */
  .smart-form-grid,
  .form-grid-6,
  .form-grid-5,
  .form-grid-4 {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }
  .smart-presets-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .smart-preset-card {
    padding: 18px 16px !important;
    border-radius: 14px !important;
  }
  .channel-dropdown-menu {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box !important;
  }
  .channel-trigger-btn {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: space-between !important;
  }

  /* 5. Mobile Data Tables & Horizontal Scrolling */
  .table-container,
  .data-table-wrapper {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 12px !important;
  }
  .leads-table {
    min-width: 600px !important;
  }

  /* 6. Mobile Action Buttons */
  .btn-search-hero,
  .btn-primary.btn-lg {
    width: 100% !important;
    justify-content: center !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
  }
}

/* 7. Mobile Modal & Pop-up Scaling (Phones <= 600px) */
@media (max-width: 600px) {
  .announcement-overlay {
    padding: 14px !important;
  }
  .announcement-card {
    padding: 26px 18px !important;
    border-radius: 18px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .announcement-title {
    font-size: 20px !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
    margin-bottom: 12px !important;
  }
  .announcement-message {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
  }
  .announcement-actions {
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }
  .announcement-btn-primary,
  .announcement-btn-secondary {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
  }

  .modal-dialog,
  .auth-modal-dialog,
  .topup-modal-dialog {
    max-width: 95vw !important;
    padding: 22px 16px !important;
    border-radius: 16px !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
  }

  /* Landing Hero Polish on Small Phones */
  .landing-hero {
    padding: 50px 14px 60px !important;
  }
  .landing-hero-title {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }
  .landing-hero-lead {
    font-size: 15px !important;
  }
  .landing-nav-inner {
    height: 64px !important;
    padding: 0 14px !important;
  }
  .landing-brand-logo {
    height: 34px !important;
    width: auto !important;
  }
  .landing-nav-actions .btn {
    padding: 7px 12px !important;
    font-size: 12.5px !important;
  }
  /* FIX 2026-11-23: logged-in name pill ("Name (10 cr)") overflowed the
     right edge on phones. Constrain actions + ellipsis the name. */
  .landing-nav-actions {
    gap: 8px !important;
    min-width: 0 !important;
  }
  .landing-brand {
    flex-shrink: 1 !important;
    min-width: 0 !important;
  }
  #btn-nav-get-leads {
    max-width: 30vw !important;
  }
  .landing-brand-logo {
    height: 30px !important;
  }
  .landing-nav-inner {
    padding: 0 10px !important;
  }
  #btn-nav-get-leads span {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
}
/* ==========================================================================
   WHY THIS LEAD MODAL DIALOG (CENTERED ENTERPRISE SCREEN CARD)
   ========================================================================== */
.why-lead-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: whyFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes whyFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
.why-lead-modal-box {
  background: #0f172a;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 16px;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(124, 58, 237, 0.2);
  display: flex;
  flex-direction: column;
}
.why-lead-modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.why-lead-modal-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.why-lead-modal-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 15, 25, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.why-lead-signal-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
}
.why-lead-signal-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13.5px;
  color: #e2e8f0;
  line-height: 1.5;
}
.why-lead-signal-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.why-lead-signal-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-lead-opportunity-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(59, 130, 246, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
}

/* ==========================================================================
   SHARED DESIGN SYSTEM: SAVED LEADS & CRM PIPELINE
   ========================================================================== */
.unified-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.unified-page-title {
  font-size: 24px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
  letter-spacing: -0.02em;
}
.unified-page-sub {
  font-size: 12.5px;
  color: #94a3b8;
  margin: 4px 0 0;
}

/* Unified Summary KPI Bar */
.unified-kpi-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.unified-kpi-card {
  background: #131826;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s ease;
}
.unified-kpi-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.unified-kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.unified-kpi-info {
  display: flex;
  flex-direction: column;
}
.unified-kpi-val {
  font-size: 24px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.unified-kpi-lbl {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 3px;
}

/* Unified Toolbar with Search and Removable Filter Chips */
.unified-toolbar {
  background: #131826;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.unified-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.unified-search-box {
  position: relative;
  flex: 1;
  min-width: 240px;
}
.unified-search-box input {
  width: 100%;
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px 8px 36px;
  font-size: 13px;
  color: #f8fafc;
  outline: none;
  transition: border-color 0.15s;
}
.unified-search-box input:focus {
  border-color: #7c3aed;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2);
}
.unified-search-icon {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}
.unified-filter-chips-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.unified-filter-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  user-select: none;
}
.unified-filter-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}
.unified-filter-chip.active {
  background: rgba(124, 58, 237, 0.18);
  border-color: rgba(124, 58, 237, 0.5);
  color: #c4b5fd;
  font-weight: 600;
}
.unified-filter-chip-remove {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
  margin-left: 2px;
}
.unified-filter-chip-remove:hover {
  background: #ef4444;
  color: #fff;
}

/* Bulk Selection Floating Action Bar */
.unified-bulk-bar {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(79, 70, 229, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 10px 18px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  box-shadow: 0 10px 25px -5px rgba(124, 58, 237, 0.4);
  animation: bulkFadeIn 0.2s ease;
}
@keyframes bulkFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Shared Compact Table Styling (~72px - 85px row height, smooth horizontal scroll) */
.unified-table-wrap {
  background: #131826;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 58, 237, 0.45) rgba(255, 255, 255, 0.04);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.unified-table-wrap::-webkit-scrollbar {
  height: 8px;
}
.unified-table-wrap::-webkit-scrollbar-track {
  background: rgba(14, 19, 32, 0.9);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}
.unified-table-wrap::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.45);
  border-radius: 4px;
}
.unified-table-wrap::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 58, 237, 0.85);
}
.unified-table {
  width: 100%;
  min-width: 860px;
  table-layout: fixed;
  border-collapse: collapse;
}
.unified-table thead th {
  background: #0e1320;
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  user-select: none;
  white-space: nowrap;
}
.unified-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background-color 0.15s ease;
  height: 72px;
}
.unified-table tbody tr:last-child {
  border-bottom: none;
}
.unified-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.025);
}
.unified-table tbody tr.row-selected {
  background: rgba(124, 58, 237, 0.08);
}
.unified-table td {
  padding: 10px 14px;
  vertical-align: middle;
  font-size: 13px;
  color: #cbd5e1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Shared Lead Business Cell */
.shared-lead-biz {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.shared-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.shared-biz-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 3px;
}
.shared-biz-name {
  font-size: 14.5px;
  font-weight: 600;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.shared-biz-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.shared-niche-pill {
  font-size: 10.5px;
  font-weight: 500;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 7px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

/* Shared Gap Badges */
.shared-gap-chip {
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.shared-gap-noweb {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.shared-gap-social {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.shared-gap-seo {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.3);
}
.shared-gap-nophone {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.shared-gap-rating {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Shared Contact Item (Phone, Email, Web) */
.shared-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
}
.shared-contact-text {
  font-family: inherit;
  font-size: 13px;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.shared-btn-copy {
  opacity: 0;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
.unified-table tbody tr:hover .shared-btn-copy {
  opacity: 1;
}
.shared-btn-copy:hover {
  background: #7c3aed;
  color: #fff;
}
.shared-empty-btn {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  color: #64748b;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}
.shared-empty-btn:hover {
  border-color: #7c3aed;
  color: #c4b5fd;
  background: rgba(124, 58, 237, 0.08);
}

/* Shared Lead Score Badge with Tooltip */
.shared-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  position: relative;
  cursor: help;
}
.shared-score-hot {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.35);
}
.shared-score-warm {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
  border: 1px solid rgba(249, 115, 22, 0.35);
}
.shared-score-cold {
  background: rgba(100, 116, 139, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(100, 116, 139, 0.35);
}

/* Shared Status Dropdown / Pill */
.shared-status-select {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid transparent;
  outline: none;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  max-width: 120px;
}
.shared-status-new {
  background: rgba(59, 130, 246, 0.14);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}
.shared-status-contacted {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.3);
}
.shared-status-replied {
  background: rgba(6, 182, 212, 0.14);
  color: #22d3ee;
  border-color: rgba(6, 182, 212, 0.3);
}
.shared-status-meeting {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border-color: rgba(139, 92, 246, 0.3);
}
.shared-status-won {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.3);
}
.shared-status-lost {
  background: rgba(100, 116, 139, 0.14);
  color: #94a3b8;
  border-color: rgba(100, 116, 139, 0.3);
}

/* Shared Action Buttons Group */
.shared-actions-group {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 124px;
  flex-shrink: 0;
}
.unified-table th.actions-cell,
.unified-table td.actions-cell {
  overflow: visible;
  text-align: right;
  padding: 10px 12px 10px 4px;
  white-space: nowrap;
}
.shared-icon-btn {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  font-size: 13px;
  flex-shrink: 0;
}
.shared-icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.15);
}
.shared-icon-btn.btn-pitch {
  background: rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.35);
  color: #c4b5fd;
}
.shared-icon-btn.btn-pitch:hover {
  background: #7c3aed;
  color: #ffffff;
}
.shared-icon-btn.btn-delete:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.35);
  color: #f87171;
}

/* CRM Slide-Over Drawer */
.crm-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(3, 7, 18, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.crm-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.crm-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  background: #0f172a;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.crm-drawer.open {
  transform: translateX(0);
}
.crm-drawer-head {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.crm-drawer-body {
  padding: 20px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Today's Follow-ups Alert Ribbon */
.crm-followups-card {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* Kanban Drag & Drop Styles */
.crm-kanban-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(240px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 16px;
}
.crm-kanban-col {
  background: #0e1320;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 280px);
  min-height: 400px;
}
.crm-kanban-col.drag-over {
  border-color: #7c3aed;
  background: rgba(124, 58, 237, 0.06);
}
.crm-kanban-col-head {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.crm-kanban-col-count {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}
.crm-kanban-col-body {
  padding: 10px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.crm-kanban-card {
  background: #141a29;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px;
  cursor: grab;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.crm-kanban-card:hover {
  border-color: rgba(124, 58, 237, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.crm-kanban-card.dragging {
  opacity: 0.4;
  transform: scale(0.95);
}

/* Mobile Responsive Transformations (< 768px) */
@media (max-width: 768px) {
  .unified-table-wrap {
    background: transparent;
    border: none;
    box-shadow: none;
  }
  .unified-table,
  .unified-table thead,
  .unified-table tbody,
  .unified-table tr,
  .unified-table td {
    display: block;
    width: 100% !important;
  }
  .unified-table thead {
    display: none;
  }
  .unified-table tbody tr {
    background: #131826;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 12px;
    padding: 14px;
    height: auto;
  }
  .unified-table td {
    padding: 6px 0;
    border: none;
    white-space: normal;
  }
  .shared-biz-name {
    white-space: normal;
    font-size: 15px;
  }
  .crm-kanban-board {
    grid-template-columns: 1fr;
  }
  .unified-kpi-bar {
    grid-template-columns: 1fr 1fr;
  }
  .crm-drawer {
    max-width: 100%;
  }
}


/* CRM Follow-Up & Notes Styling */
.btn-note-view {
  background: rgba(124, 58, 237, 0.16);
  border: 1px solid rgba(124, 58, 237, 0.35);
  color: #c4b5fd;
  padding: 3.5px 8px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}
.btn-note-view:hover {
  background: #7c3aed !important;
  border-color: #7c3aed !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}
.btn-note-add {
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  padding: 3.5px 9px;
  font-size: 11.5px;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.btn-note-add:hover {
  border-color: #7c3aed !important;
  color: #c4b5fd !important;
  background: rgba(124, 58, 237, 0.1) !important;
  transform: translateY(-1px);
}
.lead-note-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: whyFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.lead-note-modal-box {
  background: #0f172a;
  border: 1px solid rgba(139, 92, 246, 0.35);
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 35px rgba(124, 58, 237, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.lead-note-modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0e1320;
}
.lead-note-modal-body {
  padding: 18px 22px;
  overflow-y: auto;
}
.lead-note-modal-footer {
  padding: 14px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0e1320;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.btn-quick-note-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-quick-note-tag:hover {
  background: rgba(124, 58, 237, 0.25) !important;
  border-color: rgba(124, 58, 237, 0.5) !important;
  color: #f8fafc !important;
  transform: translateY(-1px);
}


/* ==========================================================================
   SMART LEADS TABLE POLISH & HORIZONTAL SCROLL ARROWS
   ========================================================================== */
.prospects-table-scroll {
  width: 100%;
  overflow-x: auto;
  position: relative;
  -webkit-overflow-scrolling: touch;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.prospects-table-scroll::-webkit-scrollbar {
  height: 9px;
}

.prospects-table-scroll::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 4px;
}

.prospects-table-scroll::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.45);
  border-radius: 4px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.prospects-table-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(139, 92, 246, 0.8);
}

.prospects-table {
  width: 100%;
  min-width: 1140px;
  border-collapse: collapse;
  text-align: left;
}

.prospects-table thead th {
  background: #0d121f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  white-space: nowrap;
}

.prospects-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
}

.prospects-table tbody tr:hover {
  background: rgba(139, 92, 246, 0.04);
}

.prospects-table tbody td {
  padding: 11px 14px;
  vertical-align: middle;
  font-size: 13px;
  color: #cbd5e1;
}

.lead-identity-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
  min-width: 180px;
}

.lead-identity-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.lead-name-text {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.32;
  word-break: break-word;
}

.btn-outline-emerald {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-md);
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-outline-emerald:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.3);
}

.table-action-btn.crm-action {
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.08);
  font-weight: 700;
  white-space: nowrap;
}

.table-action-btn.crm-action:hover {
  background: rgba(16, 185, 129, 0.25);
  border-color: #10b981;
  color: #ffffff;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.35);
}

.table-scroll-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  padding: 3px 8px;
}

.table-scroll-controls .scroll-controls-text {
  font-size: 11px;
  font-weight: 700;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0 2px;
}

.table-scroll-controls .btn-scroll-arrow {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  border-radius: 6px;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  transition: all 0.15s ease;
  padding: 0;
}

.table-scroll-controls .btn-scroll-arrow:hover:not(:disabled) {
  background: rgba(139, 92, 246, 0.4);
  border-color: #a855f7;
  color: #ffffff;
  transform: scale(1.08);
}


/* ===================================================================
   OPTION 1: IN-CRM RECOGNITION & SMART BUTTON STYLING
   =================================================================== */
.badge-in-crm {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
  vertical-align: middle;
  line-height: 1.3;
}
.badge-in-crm svg {
  stroke-width: 2.5;
}
.crm-stage-chip {
  text-transform: capitalize;
  opacity: 0.85;
  font-size: 10px;
  background: rgba(16, 185, 129, 0.2);
  padding: 1px 4px;
  border-radius: 4px;
}
.table-action-btn.in-crm-active {
  background: rgba(16, 185, 129, 0.12) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  color: #34d399 !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.15s ease;
}
.table-action-btn.in-crm-active:hover {
  background: rgba(16, 185, 129, 0.22) !important;
  border-color: #34d399 !important;
  color: #6ee7b7 !important;
}
.toggle-crm-filter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #94a3b8;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.04);
  padding: 5px 11px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.15s ease;
}
.toggle-crm-filter:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f1f5f9;
  border-color: rgba(255, 255, 255, 0.16);
}
.toggle-crm-filter input[type="checkbox"] {
  accent-color: #10b981;
  width: 14px;
  height: 14px;
  cursor: pointer;
}
.toggle-crm-filter.active {
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.35);
}
