/* ==========================================================================
   EXPLEE DESIGN SYSTEM (Authentic Explee.com SaaS Aesthetic)
   Warm off-white #F6F5F3, Pure White #FFFFFF, Charcoal #111827,
   Trademark Emerald Green #10B981, Clean Modern Sans-Serif Typography
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Surface & Background */
  --exp-bg: #F6F5F3;
  --exp-bg-subtle: #FAF9F6;
  --exp-card: #FFFFFF;
  --exp-card-hover: #FFFFFF;
  --exp-border: #E5E7EB;
  --exp-border-subtle: #F0F1F3;
  --exp-border-focus: #10B981;

  /* Typography Colors */
  --exp-text-main: #111827;
  --exp-text-muted: #4B5563;
  --exp-text-subtle: #6B7280;

  /* Emerald Green Explee Accents */
  --exp-emerald: #10B981;
  --exp-emerald-dark: #0D9467;
  --exp-emerald-darker: #059669;
  --exp-emerald-light: #ECFDF5;
  --exp-emerald-border: #A7F3D0;
  --exp-emerald-glow: rgba(16, 185, 129, 0.2);

  /* Secondary Accents */
  --exp-orange: #F59E0B;
  --exp-orange-light: #FEF3C7;
  --exp-chip-bg: #F3F4F6;
  --exp-chip-text: #374151;
  --exp-purple-gradient: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.12) 100%);
  --exp-purple-border: #D1FAE5;
  --exp-purple-accent: #10B981;

  /* Shadows */
  --exp-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  --exp-shadow-md: 0 4px 16px -2px rgba(0, 0, 0, 0.05), 0 2px 6px -2px rgba(0, 0, 0, 0.03);
  --exp-shadow-lg: 0 12px 30px -4px rgba(0, 0, 0, 0.08);
  --exp-shadow-hover: 0 12px 28px -4px rgba(16, 185, 129, 0.16), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  --exp-shadow-plaque: 0 2px 8px 0 rgba(0, 0, 0, 0.04), 0 1px 2px 0 rgba(0, 0, 0, 0.02);

  /* Border Radii */
  --exp-radius-sm: 8px;
  --exp-radius-md: 12px;
  --exp-radius-lg: 16px;
  --exp-radius-xl: 24px;
  --exp-radius-full: 9999px;

  /* Fonts */
  --exp-font: 'DM Sans', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Modern Snappy SaaS Spring Curves & Transitions */
  --exp-ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --exp-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body.explee-theme,
body {
  background-color: var(--exp-bg);
  color: var(--exp-text-main);
  font-family: var(--exp-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES (EXPLEE VISUAL STYLE)
   ========================================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 0 0 var(--exp-emerald-glow);
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.25);
  }
}

@keyframes flowDash {
  to {
    stroke-dashoffset: -200;
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(6px);
  }
}

@keyframes shimmerLoading {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   BACKGROUND ANIMATED CURVES & GEOMETRIC DETAILS
   ========================================================================== */
.explee-background-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.explee-ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.45;
  pointer-events: none;
}

.explee-blob-1 {
  width: 550px;
  height: 550px;
  top: -120px;
  left: 15%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%);
  animation: floatSlow 20s ease-in-out infinite alternate;
}

.explee-blob-2 {
  width: 480px;
  height: 480px;
  top: 30%;
  right: -80px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08), transparent 70%);
  animation: floatReverse 24s ease-in-out infinite alternate;
}

.explee-blob-3 {
  width: 520px;
  height: 520px;
  bottom: 5%;
  left: -80px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.09), transparent 70%);
  animation: floatSlow 28s ease-in-out infinite alternate;
}

/* Subtle Animated Curves SVG */
.explee-svg-curves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.explee-curve-line {
  fill: none;
  stroke: #E5E7EB;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.explee-curve-line-emerald {
  fill: none;
  stroke: url(#expleeEmeraldGrad);
  stroke-width: 2;
  stroke-dasharray: 6 12;
  animation: flowDash 30s linear infinite;
}

.explee-traveling-dot {
  fill: var(--exp-emerald);
  filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.6));
}

/* ==========================================================================
   LAYOUT & HEADINGS
   ========================================================================== */
.exp-dashboard-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 1.5rem 1.75rem 5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.exp-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.exp-workspace-title {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--exp-text-main);
  margin: 0;
}

.exp-workspace-title .headline-accent,
.headline-accent {
  color: var(--exp-emerald);
  font-weight: 800;
}

/* Top Notification Banner */
.exp-banner-sender {
  background: var(--exp-card);
  border: 1px solid var(--exp-border);
  border-radius: var(--exp-radius-lg);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--exp-shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.exp-banner-sender:hover {
  box-shadow: var(--exp-shadow-md);
  border-color: #D1D5DB;
}

.exp-banner-content {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--exp-text-main);
}

.exp-dot-green {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--exp-emerald);
  display: inline-block;
  box-shadow: 0 0 0 3px var(--exp-emerald-glow);
  animation: pulseDot 2s infinite ease-in-out;
}

.exp-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.exp-btn-skip {
  background: none;
  border: none;
  color: var(--exp-text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  border-radius: var(--exp-radius-sm);
  transition: all 0.15s ease;
}

.exp-btn-skip:hover {
  background: var(--exp-chip-bg);
  color: var(--exp-text-main);
}

.exp-btn-setname {
  background: var(--exp-emerald);
  color: #ffffff;
  border: none;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: var(--exp-radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25);
}

.exp-btn-setname:hover {
  background: var(--exp-emerald-dark);
  transform: translateY(-1px);
}

/* ==========================================================================
   CARDS & PANELS (EXPLEE SURFACE STYLES)
   ========================================================================== */
.exp-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .exp-action-row {
    grid-template-columns: 1fr;
  }
}

.exp-card {
  background: var(--exp-card);
  border: 1px solid var(--exp-border);
  border-radius: var(--exp-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--exp-shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.exp-card:hover {
  box-shadow: var(--exp-shadow-md);
  transform: translateY(-2px);
  border-color: #D1D5DB;
}

.exp-topup-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.exp-wallet-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--exp-emerald-light);
  border: 1px dashed var(--exp-emerald-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  flex-shrink: 0;
}

.exp-topup-info {
  flex: 1;
}

.exp-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--exp-text-main);
  margin: 0 0 0.35rem;
  letter-spacing: -0.015em;
}

.exp-card-desc {
  font-size: 0.85rem;
  color: var(--exp-text-muted);
  line-height: 1.5;
  margin: 0 0 1rem;
}

.exp-card-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* ==========================================================================
   BUTTONS (EXPLEE ACCENT & PRIMARY STYLES)
   ========================================================================== */
.exp-btn-outline {
  background: var(--exp-card);
  border: 1px solid var(--exp-border);
  color: var(--exp-text-main);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--exp-radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.exp-btn-outline:hover {
  background: var(--exp-chip-bg);
  border-color: #D1D5DB;
}

.exp-btn-emerald,
.cta-primary,
.btn-neon {
  background: var(--exp-emerald) !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: var(--exp-radius-sm) !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  text-decoration: none !important;
}

.exp-btn-emerald:hover,
.cta-primary:hover,
.btn-neon:hover {
  background: var(--exp-emerald-dark) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
  transform: translateY(-1px) !important;
}

.exp-btn-emerald:active,
.cta-primary:active,
.btn-neon:active {
  transform: scale(0.98) !important;
}

/* Daily Budget Card */
.exp-budget-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.exp-budget-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.exp-budget-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--exp-text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.exp-budget-amount {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--exp-text-main);
  letter-spacing: -0.02em;
}

.exp-slider-container {
  margin-bottom: 0.5rem;
}

.exp-slider {
  width: 100%;
  height: 6px;
  border-radius: 9999px;
  background: #E5E7EB;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.exp-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--exp-emerald);
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  transition: transform 0.15s ease;
}

.exp-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.exp-budget-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--exp-text-subtle);
}

/* ==========================================================================
   TABS & NAVIGATION (PIPELINE STEP BAR)
   ========================================================================== */
.exp-tabs-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--exp-border);
  padding-bottom: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.exp-tabs-bar::-webkit-scrollbar {
  display: none;
}

.exp-tab-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--exp-radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--exp-text-muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.exp-tab-item:hover {
  background: var(--exp-chip-bg);
  color: var(--exp-text-main);
}

.exp-tab-item.active {
  background: var(--exp-emerald-light);
  color: var(--exp-emerald-darker);
  border-color: var(--exp-emerald-border);
}

/* ==========================================================================
   STREAM / RUNNER CARDS (AUTOGTM PIPELINE STREAM)
   ========================================================================== */
.autogtm-step-list-stream {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.autogtm-stream-card {
  background: var(--exp-card);
  border: 1px solid var(--exp-border);
  border-radius: var(--exp-radius-md);
  padding: 1rem 1.25rem;
  transition: all 0.2s ease;
}

.autogtm-stream-card.active {
  border-color: var(--exp-emerald);
  box-shadow: 0 0 0 1px var(--exp-emerald), var(--exp-shadow-sm);
  background: #FFFFFF;
}

.autogtm-stream-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.autogtm-stream-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-stream-running {
  background: var(--exp-emerald-light);
  color: var(--exp-emerald-darker);
  border: 1px solid var(--exp-emerald-border);
  animation: pulseDot 2s infinite ease-in-out;
}

.badge-stream-pending {
  background: var(--exp-chip-bg);
  color: var(--exp-text-subtle);
  border: 1px solid var(--exp-border);
}

.badge-stream-done {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.autogtm-stream-preview {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid var(--exp-border-subtle);
  font-size: 0.82rem;
  color: var(--exp-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   FORM CONTROLS, INPUTS & SEARCH PILLS
   ========================================================================== */
.exp-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.exp-field-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--exp-text-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.exp-input,
.exp-textarea,
select.exp-select,
.filter-panel input,
.filter-panel select {
  width: 100%;
  box-sizing: border-box;
  padding: 0.6rem 0.85rem;
  background: #FFFFFF;
  border: 1px solid var(--exp-border);
  border-radius: var(--exp-radius-sm);
  font-size: 0.88rem;
  font-family: inherit;
  color: var(--exp-text-main);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.exp-input:focus,
.exp-textarea:focus,
select.exp-select:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--exp-emerald);
  box-shadow: 0 0 0 3px var(--exp-emerald-glow);
}

.exp-search-pill {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--exp-border);
  border-radius: var(--exp-radius-full);
  padding: 0.4rem 0.5rem 0.4rem 1rem;
  box-shadow: var(--exp-shadow-sm);
  transition: all 0.2s ease;
}

.exp-search-pill:focus-within {
  border-color: var(--exp-emerald);
  box-shadow: 0 0 0 3px var(--exp-emerald-glow);
}

.exp-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background: var(--exp-chip-bg);
  color: var(--exp-chip-text);
  border-radius: var(--exp-radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.exp-chip:hover {
  background: #E5E7EB;
}

/* ==========================================================================
   TABLES (CLEAN EXPLEE DATA MATRICES)
   ========================================================================== */
.exp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.85rem;
}

.exp-table th {
  background: #F9FAFB;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--exp-text-subtle);
  border-bottom: 1px solid var(--exp-border);
}

.exp-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--exp-border-subtle);
  color: var(--exp-text-main);
  vertical-align: middle;
}

.exp-table tr:hover td {
  background: #F9FAFB;
}

/* ==========================================================================
   INBOX & THREAD VIEWS
   ========================================================================== */
.exp-inbox-shell {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: var(--exp-card);
  border: 1px solid var(--exp-border);
  border-radius: var(--exp-radius-lg);
  overflow: hidden;
  height: calc(100vh - 160px);
  min-height: 650px;
  box-shadow: var(--exp-shadow-sm);
}

@media (max-width: 900px) {
  .exp-inbox-shell {
    grid-template-columns: 1fr;
  }
}

.exp-inbox-sidebar {
  border-right: 1px solid var(--exp-border);
  display: flex;
  flex-direction: column;
  background: #F9FAFB;
}

.exp-inbox-search-header {
  padding: 1rem;
  border-bottom: 1px solid var(--exp-border);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.exp-inbox-threads-list {
  flex: 1;
  overflow-y: auto;
}

.exp-inbox-card {
  padding: 1rem;
  border-bottom: 1px solid var(--exp-border);
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  gap: 12px;
  background: var(--exp-card);
}

.exp-inbox-card:hover {
  background: #F3F4F6;
}

.exp-inbox-card.active {
  background: var(--exp-emerald-light);
  border-left: 3px solid var(--exp-emerald);
}

.exp-thread-view {
  display: flex;
  flex-direction: column;
  background: var(--exp-card);
  height: 100%;
}

.exp-thread-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--exp-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.exp-thread-messages {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: #F9FAFB;
}

.exp-msg-bubble {
  background: var(--exp-card);
  border: 1px solid var(--exp-border);
  border-radius: var(--exp-radius-md);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--exp-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.exp-msg-bubble.lead-msg {
  border-left: 4px solid var(--exp-emerald);
}

.exp-msg-bubble.ai-msg {
  border-left: 4px solid #8B5CF6;
}

.exp-msg-bubble.user-msg {
  border-left: 4px solid #3B82F6;
}

.exp-reply-composer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--exp-border);
  background: var(--exp-card);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==============================================================================
   EXPLEE CAMPAIGN WORKSPACE & DYNAMIC COMPONENT CLASSES
   ============================================================================== */
.exp-campaign-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.exp-campaign-title-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.exp-campaign-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--exp-text-main);
  margin: 0;
  letter-spacing: -0.02em;
}

.exp-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
}

.exp-status-pill.paused {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.exp-status-pill.stage {
  background: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #BFDBFE;
}

.exp-btn-resume {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #10B981;
  color: #FFFFFF;
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.exp-btn-resume:hover {
  background: #059669;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.exp-subnav-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 0.75rem;
}

.exp-subnav-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  color: #4B5563;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
}

.exp-subnav-tab:hover {
  background: #FFFFFF;
  color: #111827;
}

.exp-subnav-tab.active {
  background: #FFFFFF;
  color: #10B981;
  border-color: #E5E7EB;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.exp-split-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

@media (max-width: 960px) {
  .exp-split-container {
    grid-template-columns: 1fr;
  }
}

.exp-agent-pane {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  height: 680px;
}

.exp-agent-feed {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.55;
}

.exp-steer-input-bar {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 6px;
}

.exp-steer-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-family: inherit;
  color: #111827;
}

.exp-btn-steer-send {
  background: #10B981;
  color: #FFFFFF;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.15s;
}

.exp-btn-steer-send:hover {
  background: #059669;
  transform: translateY(-1px);
}

.exp-offer-pane {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.exp-offer-heading {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.exp-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.exp-field-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #374151;
  display: flex;
  align-items: center;
  gap: 6px;
}

.exp-textarea {
  width: 100%;
  box-sizing: border-box;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 0.75rem;
  font-size: 0.88rem;
  font-family: inherit;
  color: #111827;
  resize: vertical;
  outline: none;
  transition: border-color 0.15s;
}

.exp-textarea:focus {
  border-color: #10B981;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.exp-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  min-height: 42px;
  align-items: center;
}

.exp-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  padding: 0.3rem 0.7rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #374151;
}

.exp-chip-remove {
  cursor: pointer;
  color: #9CA3AF;
  font-weight: 700;
  transition: color 0.15s;
}

.exp-chip-remove:hover {
  color: #EF4444;
}

.exp-sql-badge {
  font-family: monospace;
  font-size: 0.75rem;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
}

.exp-floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  z-index: 999;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.exp-floating-whatsapp:hover {
  transform: scale(1.08);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.8rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.notion-tab-icon {
  display: inline-flex;
  margin-right: 6px;
}

.scheduler-panel {
  background: #FFFFFF;
  border: 1px solid var(--exp-border);
  border-radius: var(--exp-radius-lg);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--exp-shadow-sm);
}

.quick-filters-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #374151;
  cursor: pointer;
  user-select: none;
}

.channel-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #E5E7EB;
  padding-bottom: 0.75rem;
}

.step1-strat-btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  color: #4B5563;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.step1-strat-btn.active, .step1-strat-btn:hover {
  background: #ECFDF5;
  border-color: #10B981;
  color: #065F46;
}

.step1-cat-pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.75rem;
  background: #F3F4F6;
  border-radius: 6px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.15s;
}

.step1-cat-pick.selected {
  background: #10B981;
  color: #FFFFFF;
}

.btn-next-step {
  background: #10B981 !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-prev-step {
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  color: #4B5563 !important;
}

.btn-send-ch {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.btn-send-ch.active {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
}

/* Glass Panel & Pipeline Components */
.glass-panel {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  margin-bottom: 2rem;
}

.channel-lead-pill {
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: #111827;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.15s ease;
}

.channel-lead-pill:hover, .channel-lead-pill.active {
  background: #ECFDF5;
  border-color: #10B981;
  color: #065F46;
}

/* Modals & Dialogs */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #FFFFFF;
  width: 90%;
  max-width: 600px;
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid #E5E7EB;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
  color: #111827;
}

/* Channel & Integration Cards */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.channel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.channel-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
}

.channel-sub {
  font-size: 0.8rem;
  color: #6B7280;
  margin-top: 2px;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.badge-connected {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #D1FAE5;
}

.badge-disconnected {
  background: #F3F4F6;
  color: #6B7280;
  border: 1px solid #E5E7EB;
}

.active-account-box {
  background: #F9FAFB;
  border: 1px dashed #E5E7EB;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin: 0.75rem 0;
  font-size: 0.85rem;
  color: #111827;
}

.btn-connect {
  background: #10B981;
  color: #FFFFFF;
  border: none;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-connect:hover {
  background: #059669;
  transform: translateY(-1px);
}

.btn-disconnect {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
}

.btn-disconnect:hover {
  background: #FEE2E2;
}

/* ==============================================================================
   EXPLEE 6-STEP ACCORDION & ANIMATION ENGINE
   ============================================================================== */
.autogtm-step-list-stream {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.autogtm-stream-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  cursor: pointer;
}

.autogtm-stream-card:hover {
  border-color: #10B981;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.08);
  transform: translateY(-1px);
}

.autogtm-stream-card.active {
  border-color: #10B981;
  box-shadow: 0 0 0 1.5px #10B981, 0 8px 24px rgba(16, 185, 129, 0.12);
  background: #FFFFFF;
}

.autogtm-stream-card.completed {
  border-color: #A7F3D0;
  background: #FFFFFF;
}

.autogtm-stream-header {
  padding: 1.1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  background: #FFFFFF;
  transition: background 0.2s;
}

.autogtm-stream-card:hover .autogtm-stream-header {
  background: #FAFAFA;
}

.autogtm-stream-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.98rem;
  color: #111827;
}

.autogtm-stream-header-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.autogtm-stream-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #F3F4F6;
  color: #6B7280;
  font-size: 0.8rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, color 0.2s;
}

.autogtm-stream-card.expanded .autogtm-stream-chevron {
  transform: rotate(180deg);
  background: #ECFDF5;
  color: #10B981;
}

/* Accordion Expand/Collapse Body */
.autogtm-step-expanded-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease;
  padding: 0 1.4rem;
  background: #FAFAFA;
  border-top: 1px solid transparent;
}

.autogtm-stream-card.expanded .autogtm-step-expanded-content {
  max-height: 900px;
  opacity: 1;
  padding: 1.25rem 1.4rem 1.4rem 1.4rem;
  border-top-color: #F3F4F6;
}

/* Explanation Header Pill */
.step-explanation-box {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.84rem;
  color: #4B5563;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.step-explanation-box strong {
  color: #111827;
}

/* Step Visual Animations Container */
.step-visual-anim {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* 1. Radar Scanner (Step 1) */
.web-scanner-frame {
  position: relative;
  background: #F9FAFB;
  border: 1px dashed #D1D5DB;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-family: monospace;
  font-size: 0.78rem;
  color: #374151;
  overflow: hidden;
}

.web-scanner-beam {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #10B981, transparent);
  box-shadow: 0 0 12px 2px rgba(16, 185, 129, 0.6);
  animation: scanBeam 2.5s ease-in-out infinite alternate;
}

@keyframes scanBeam {
  0% { top: 0%; opacity: 0.3; }
  50% { opacity: 1; }
  100% { top: 96%; opacity: 0.3; }
}

/* 2. Competitor Crosshair Recon (Step 2) */
.recon-radar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .recon-radar-grid { grid-template-columns: 1fr; }
}

.recon-card-box {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.85rem;
  font-size: 0.8rem;
}

.recon-metric-bar {
  height: 6px;
  background: #E5E7EB;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.4rem;
}

.recon-metric-fill {
  height: 100%;
  border-radius: 999px;
  animation: meterFill 1.8s ease-out forwards;
}

@keyframes meterFill {
  from { width: 0%; }
}

/* 3. Campaign Angle Tabs (Step 3) */
.angle-pill-row {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.angle-card-mini {
  flex: 1;
  min-width: 220px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  font-size: 0.8rem;
  box-shadow: 0 1px 4px rgba(17, 24, 39, 0.04);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
  animation: expleeAngleSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.angle-pill-row .angle-card-mini:nth-child(1) { animation-delay: 0.05s; }
.angle-pill-row .angle-card-mini:nth-child(2) { animation-delay: 0.18s; }
.angle-pill-row .angle-card-mini:nth-child(3) { animation-delay: 0.32s; }

.angle-card-mini.streaming-in {
  animation: expleeAnglePopIn 0.52s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

.angle-card-mini.streaming-in,
.angle-card-mini.streaming-in * {
  animation-play-state: running !important;
}

.angle-card-mini.just-revealed {
  border-color: #10B981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.20), 0 6px 18px rgba(16, 185, 129, 0.14) !important;
}

.angle-card-mini:hover {
  border-color: #10B981;
  background: #FAFCFB;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.10);
}

@keyframes expleeAnglePopIn {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  60% {
    opacity: 1;
    transform: translateY(-3px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes expleeAngleSlideUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================================
   AUTHENTIC EXPLEE STEP 3: CAMPAIGNS LIST & STRATEGY PANEL
   ========================================================================= */
.explee-step3-container {
  display: flex;
  gap: 1.25rem;
  width: 100%;
  align-items: stretch;
}

@media (max-width: 880px) {
  .explee-step3-container {
    flex-direction: column;
  }
}

/* Left Column: Campaigns List */
.explee-campaigns-sidebar {
  flex: 0 0 320px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 880px) {
  .explee-campaigns-sidebar {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.explee-campaigns-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px 10px 4px;
}

.explee-campaigns-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6B7280;
  text-transform: uppercase;
}

.explee-campaigns-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: #374151;
}

.explee-campaigns-settings-btn {
  background: none;
  border: none;
  color: #6B7280;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.explee-campaigns-settings-btn:hover {
  color: #111827;
}

.explee-campaigns-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.explee-campaign-item {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
  animation: expleeAngleSlideUp 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.explee-campaign-item:hover {
  border-color: #9CA3AF;
  background: #FAFAFA;
  transform: translateY(-1px);
}

.explee-campaign-item.active {
  border: 1.5px solid #111827 !important;
  background: #FFFFFF !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

@keyframes expleeCampaignPopIn {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.explee-campaign-item.streaming-in {
  animation: expleeCampaignPopIn 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.explee-campaign-item {
  transform: none !important;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.explee-campaign-icon-box {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 8px;
  background: #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  line-height: 1;
  color: #111827;
  flex-shrink: 0;
  overflow: hidden;
  user-select: none;
  transition: background 0.2s ease;
}

.explee-campaign-item.active .explee-campaign-icon-box {
  background: #E5E7EB;
  color: #111827;
}

.explee-campaign-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.explee-campaign-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: color 0.15s ease;
}

.explee-campaign-item.active .explee-campaign-title {
  color: #111827;
  font-weight: 700;
}

.explee-campaign-accent-bar {
  display: none !important;
}

.explee-campaign-metric-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.explee-campaign-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.2px solid #111827;
  font-size: 0.65rem;
  font-weight: 700;
  color: #111827;
  line-height: 1;
}

.explee-campaign-reach {
  font-size: 0.84rem;
  font-weight: 700;
  color: #4B5563;
}

.explee-campaign-item.active .explee-campaign-reach {
  color: #111827;
}

/* Right Column: Active Strategy Detail View */
.explee-campaign-detail-pane {
  flex: 1;
  min-width: 0;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  animation: expleeAnglePopIn 0.32s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.explee-campaign-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0.85rem;
}

.explee-campaign-detail-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #059669;
  margin-bottom: 3px;
  display: block;
}

.explee-campaign-detail-title {
  color: #111827;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.explee-campaign-obj-tag {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.explee-campaign-detail-box {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.75rem;
}

.explee-campaign-detail-box-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6B7280;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.explee-campaign-detail-box-text {
  color: #374151;
  font-size: 0.82rem;
  line-height: 1.5;
}

.explee-campaign-offer-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.95rem;
}

.explee-campaign-offer-box-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #047857;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.explee-campaign-offer-box-text {
  color: #065F46;
  font-size: 0.82rem;
  line-height: 1.5;
  font-weight: 500;
}

.explee-campaign-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #F3F4F6;
  padding-top: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}

.explee-campaign-meta-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.explee-campaign-chip {
  background: #F3F4F6;
  color: #4B5563;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.explee-campaign-select-btn {
  background: #111827;
  color: #FFFFFF;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.15s ease;
}

.explee-campaign-select-btn:hover {
  background: #000000;
}



/* 4. Google Maps Radar Sweep (Step 4) */
.map-radar-wrapper {
  position: relative;
  background: radial-gradient(circle at center, #ECFDF5 0%, #F9FAFB 70%);
  border: 1px solid #D1FAE5;
  border-radius: 10px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  overflow: hidden;
  flex-wrap: wrap;
  gap: 1rem;
}

.radar-ping-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid #10B981;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.radar-ping-circle::before,
.radar-ping-circle::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  animation: radarRipple 2s linear infinite;
}

.radar-ping-circle::after {
  animation-delay: 1s;
}

@keyframes radarRipple {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.maps-live-stats {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
  flex-wrap: wrap;
}

.maps-stat-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #FFFFFF;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

/* 5. Dual-Channel AI Drafting Studio (Step 5) */
.draft-studio-box {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.draft-studio-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.draft-studio-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  color: #10B981;
  letter-spacing: 0.04em;
}

.draft-writing-pen {
  display: inline-block;
  font-size: 1.15rem;
  transform-origin: bottom right;
  animation: penWriting 1.4s infinite ease-in-out;
}

@keyframes penWriting {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  25% { transform: rotate(-18deg) translateY(-2px); }
  75% { transform: rotate(12deg) translateY(1px); }
}

.draft-channel-pills {
  display: flex;
  gap: 0.5rem;
}

.draft-pill {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: #4B5563;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.draft-pill.active {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #065F46;
}

.draft-pill.draft-pill-instagram.active {
  background: #FDF2F8;
  border-color: #FBCFE8;
  color: #BE185D;
}

/* Shimmer Progress Track */
.draft-progress-container {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.draft-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  color: #4B5563;
}

.draft-progress-track {
  height: 6px;
  background: #E5E7EB;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.draft-shimmer-bar {
  height: 100%;
  width: 98%;
  border-radius: 999px;
  background: linear-gradient(90deg, #10B981 0%, #34D399 35%, #A7F3D0 50%, #34D399 65%, #10B981 100%);
  background-size: 200% 100%;
  animation: draftShimmer 2.2s infinite linear;
}

@keyframes draftShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Live Cards Grid */
.draft-live-cards-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0.9rem;
}
@media (max-width: 768px) {
  .draft-live-cards-grid {
    grid-template-columns: 1fr;
  }
}

.draft-preview-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.85rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #374151;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.draft-card-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: #2563EB;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.draft-card-subject {
  font-size: 0.76rem;
  color: #111827;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed #E5E7EB;
}

.draft-card-body {
  color: #4B5563;
  font-size: 0.76rem;
}

.draft-wa-bubble {
  background: #E7FCE8;
  border: 1px solid #C7F3C9;
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  font-size: 0.76rem;
  color: #111827;
  line-height: 1.45;
  position: relative;
}

.draft-wa-time {
  text-align: right;
  font-size: 0.68rem;
  color: #6B7280;
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
}

.dynamic-tag-highlight {
  background: rgba(16, 185, 129, 0.15);
  color: #065F46;
  padding: 0.08rem 0.35rem;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: inline-block;
  transition: all 0.15s ease;
}

.dynamic-tag-highlight.active-tag {
  background: rgba(16, 185, 129, 0.28);
  border-color: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

/* =========================================================================
   EXPLEE LIVE TYPEWRITER & AUTOMATIC HANDWRITING ANIMATION (STEP 5)
   ========================================================================= */

.live-writer-canvas {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 1.15rem 1.25rem;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  transition: all 0.25s ease-in-out;
  min-height: 180px;
  display: flex;
  flex-direction: column;
}

/* Mode-specific border accents */
.live-writer-canvas.mode-email {
  border-left: 4px solid #2563EB;
}

.live-writer-canvas.mode-linkedin {
  border-left: 4px solid #0A66C2;
}

.live-writer-canvas.mode-wa {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-left: 4px solid #10B981;
}

.live-writer-canvas.mode-instagram {
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  border-left: 4px solid #E1306C;
}

/* Top bar */
.live-writer-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.65rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #F3F4F6;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.live-writer-channel-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2563EB;
  text-transform: uppercase;
}

.mode-linkedin .live-writer-channel-badge {
  color: #0A66C2;
}

.mode-wa .live-writer-channel-badge {
  color: #059669;
}

.mode-instagram .live-writer-channel-badge {
  color: #E1306C;
}

.live-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.6);
  animation: pulseDot 1.4s infinite;
}

.mode-instagram .live-badge-dot {
  background: #E1306C;
  box-shadow: 0 0 6px rgba(225, 48, 108, 0.6);
}

.live-writer-stats {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.live-writer-words-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #4B5563;
  background: #F3F4F6;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  border: 1px solid #E5E7EB;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.live-writer-replay-btn {
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.15s ease;
}

.live-writer-replay-btn:hover {
  background: #F9FAFB;
  border-color: #9CA3AF;
  color: #111827;
}

/* Subject line container */
.live-writer-subject-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  background: #F8FAFC;
  border: 1px dashed #CBD5E1;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
}

.live-subject-prefix {
  font-weight: 700;
  color: #1E293B;
  flex-shrink: 0;
}

.live-writer-subject-text {
  color: #0F172A;
  font-weight: 500;
}

/* Body container */
.live-writer-body-container {
  position: relative;
  font-size: 0.84rem;
  line-height: 1.65;
  color: #374151;
  min-height: 90px;
  padding-left: 0.2rem;
}

.live-writer-quote-mark {
  font-size: 1.15rem;
  font-weight: 700;
  color: #9CA3AF;
  line-height: 1;
  vertical-align: baseline;
}

.live-writer-body-text {
  display: inline;
  color: #1F2937;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  word-break: break-word;
}

/* Typewriter Cursor */
.live-writer-cursor {
  display: inline-block;
  font-weight: 700;
  font-size: 0.95rem;
  color: #10B981;
  animation: liveCursorBlink 0.8s infinite;
  margin-left: 2px;
  vertical-align: baseline;
}

@keyframes liveCursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Explee signature floating pen */
.live-floating-pen-wrapper {
  display: inline-block;
  vertical-align: baseline;
  position: relative;
  margin-left: 4px;
}

.live-floating-pen {
  display: inline-block;
  font-size: 1.25rem;
  transform-origin: 20% 80%;
  animation: expleePenScribing 0.4s infinite ease-in-out alternate;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

@keyframes expleePenScribing {
  0% { transform: translateY(0px) rotate(0deg) scale(1); }
  25% { transform: translateY(-3px) rotate(-14deg) scale(1.04); }
  50% { transform: translateY(1px) rotate(6deg) scale(0.98); }
  75% { transform: translateY(-2px) rotate(-10deg) scale(1.02); }
  100% { transform: translateY(0px) rotate(0deg) scale(1); }
}

/* WhatsApp meta */
.live-wa-meta {
  margin-top: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: #059669;
  font-weight: 500;
}

.live-wa-checks {
  color: #3B82F6;
  font-weight: 700;
  letter-spacing: -1px;
}

/* =========================================================================
   COMPLETED STATE: AUTOMATICALLY STOP & FREEZE ALL ANIMATIONS WHEN STEP COMPLETES
   ========================================================================= */
.autogtm-stream-card.completed .explee-scanner-card {
  display: none !important;
}

/* Ensure cards and children animate smoothly without interference from completed state */
.explee-company-card.animating,
.explee-company-card.animating *,
.explee-competitors-card.animating,
.explee-competitors-card.animating *,
.gmaps-harvested-card.animating,
.gmaps-harvested-card.animating * {
  animation-play-state: running !important;
}

/* Static completed states ONLY apply when card is NOT actively animating */
.autogtm-stream-card.completed .explee-company-card:not(.animating) {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.autogtm-stream-card.completed .explee-company-card:not(.animating) .explee-chart-spline,
.autogtm-stream-card.completed .explee-company-card:not(.animating) .explee-chart-line {
  stroke-dashoffset: 0 !important;
  animation: none !important;
}

.autogtm-stream-card.completed .explee-company-card:not(.animating) .explee-chart-area {
  opacity: 1 !important;
  animation: none !important;
}

.autogtm-stream-card.completed .explee-competitors-card:not(.animating) {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.autogtm-stream-card.completed .explee-competitors-card:not(.animating) * {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.autogtm-stream-card.completed .gmaps-harvester-scanner {
  display: none !important;
}

.autogtm-stream-card.completed .gmaps-harvested-card:not(.animating) {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

.autogtm-stream-card.completed .gmaps-harvested-card:not(.animating) * {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

.autogtm-stream-card.completed .web-scanner-beam {
  display: none !important;
  opacity: 0 !important;
}

.autogtm-stream-card.completed .radar-ping-circle::before,
.autogtm-stream-card.completed .radar-ping-circle::after {
  display: none !important;
  animation: none !important;
}

.autogtm-stream-card.completed .radar-ping-circle {
  background: #ECFDF5 !important;
  border-color: #10B981 !important;
}

.autogtm-stream-card.completed .draft-writing-pen {
  animation: none !important;
  transform: none !important;
}

.autogtm-stream-card.completed .draft-shimmer-bar {
  animation: none !important;
  background: #10B981 !important;
  width: 100% !important;
}

.autogtm-stream-card.completed .live-floating-pen-wrapper,
.autogtm-stream-card.completed .live-writer-cursor,
.autogtm-stream-card.completed .live-writer-replay-btn {
  display: none !important;
}

.autogtm-stream-card.completed .live-badge-dot {
  animation: none !important;
  background: #10B981 !important;
  box-shadow: none !important;
}

.autogtm-stream-card.completed .dispatch-status-dot {
  animation: none !important;
  box-shadow: 0 0 4px #10B981 !important;
}

/* 6. Flight Dispatch Controller (Step 6) */
.dispatch-flow-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.dispatch-channel-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
}

.dispatch-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulseDot 1.5s infinite;
}

.autogtm-stream-preview {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-size: 0.84rem;
  color: #374151;
  line-height: 1.55;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* ==============================================================================
   FRONT STAGE SPOTLIGHT MODE (Next Step Shows In Front, Not Down Side)
   ============================================================================== */
.runner-stage-nav-bar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  padding: 0.35rem 0.2rem;
  scrollbar-width: thin;
}

.stage-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #4B5563;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  user-select: none;
}

.stage-nav-pill:hover {
  background: #F3F4F6;
  border-color: #D1D5DB;
  color: #111827;
  transform: translateY(-1px);
}

.stage-nav-pill.active {
  background: #FFFFFF;
  border-color: #10B981;
  color: #065F46;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2), 0 4px 12px rgba(16, 185, 129, 0.08);
}

.stage-nav-pill.completed {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #065F46;
}

.stage-nav-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  background: #E5E7EB;
  color: #374151;
  transition: all 0.2s;
}

.stage-nav-pill.active .stage-nav-num {
  background: #10B981;
  color: #FFFFFF;
}

.stage-nav-pill.completed .stage-nav-num {
  background: #059669;
  color: #FFFFFF;
}

.stage-nav-status {
  font-size: 0.7rem;
  font-weight: 500;
  color: #9CA3AF;
  padding-left: 0.2rem;
}

.stage-nav-pill.active .stage-nav-status {
  color: #10B981;
  font-weight: 700;
}

.stage-nav-pill.completed .stage-nav-status {
  color: #059669;
  font-weight: 600;
}

.stage-nav-arrow {
  color: #D1D5DB;
  font-weight: 700;
  font-size: 0.85rem;
  user-select: none;
}

/* Front Spotlight: Only the active step is displayed in front! */
.autogtm-step-list-stream {
  position: relative;
  min-height: 480px;
}

.autogtm-step-list-stream .autogtm-stream-card {
  display: none;
}

.autogtm-step-list-stream .autogtm-stream-card.active-front-step {
  display: block !important;
  position: relative;
  z-index: 2;
  animation: expleeCardEnter 0.35s var(--exp-ease-spring) both;
  will-change: transform, opacity;
}

@keyframes expleeCardEnter {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.autogtm-step-list-stream .autogtm-stream-card.step-docking {
  display: block !important;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.28s var(--exp-ease-out), opacity 0.28s ease;
  transform: translateY(-8px) scale(0.98);
  opacity: 0;
}

.autogtm-stream-card.active-front-step .autogtm-step-expanded-content {
  max-height: none !important;
  opacity: 1 !important;
  padding: 1.25rem 1.4rem 1.4rem 1.4rem !important;
  border-top-color: #F3F4F6 !important;
}

.autogtm-stream-card.active-front-step .autogtm-stream-chevron {
  transform: rotate(180deg);
  background: #ECFDF5;
  color: #10B981;
}

.stage-nav-pill {
  transition: all 0.3s var(--exp-ease-spring);
}

.stage-nav-pill.completed {
  animation: pillDockGlow 0.5s var(--exp-ease-spring);
}

@keyframes pillDockGlow {
  0% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.2); }
  100% { transform: scale(1); box-shadow: none; }
}

/* Staggered Item Reveal for Children */
.explee-stagger-item {
  animation: expleeStaggerUp 0.35s var(--exp-ease-spring) both;
  font-variant-numeric: tabular-nums;
}

@keyframes expleeStaggerUp {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

.explee-stagger-item:nth-child(1) { animation-delay: 0.04s; }
.explee-stagger-item:nth-child(2) { animation-delay: 0.08s; }
.explee-stagger-item:nth-child(3) { animation-delay: 0.12s; }
.explee-stagger-item:nth-child(4) { animation-delay: 0.16s; }
.explee-stagger-item:nth-child(5) { animation-delay: 0.20s; }
.explee-stagger-item:nth-child(6) { animation-delay: 0.24s; }
.explee-stagger-item:nth-child(7) { animation-delay: 0.28s; }
.explee-stagger-item:nth-child(8) { animation-delay: 0.32s; }
.explee-stagger-item:nth-child(9) { animation-delay: 0.36s; }
.explee-stagger-item:nth-child(10) { animation-delay: 0.40s; }
.explee-stagger-item:nth-child(11) { animation-delay: 0.44s; }
.explee-stagger-item:nth-child(12) { animation-delay: 0.48s; }
.explee-stagger-item:nth-child(13) { animation-delay: 0.52s; }
.explee-stagger-item:nth-child(14) { animation-delay: 0.56s; }

/* ==========================================================================
   AUTHENTIC EXPLEE STEP 1: SCANNER ANIMATION & COMPANY INTELLIGENCE CARD
   Matching Explee Auto-GTM Step 1 (explore?phase=research_company)
   ========================================================================== */

/* 1. Live Research Scanner Animation Card (Matching authentic Explee Auto-GTM Step 1) */
.explee-scanner-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  box-shadow: 0 4px 24px rgba(17, 24, 39, 0.05);
  margin-top: 1.25rem;
  overflow: hidden;
  animation: expleeFadeIn 0.35s ease-out forwards;
}

.explee-scanner-radar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 0 1.2rem 0;
  position: relative;
}

/* ==========================================================================
   STEP 1: ULTRA-SMOOTH APPLE/LINEAR-GRADE NEURAL INTELLIGENCE SYNTHESIS
   Distinct: Pristine frosted glass canvas, floating insight capsules,
             central prismatic AI orb with rotating auroral halos,
             flowing SVG neural synapses, and silky light wave sweep.
   ========================================================================== */

.neural-synth-card {
  padding: 0 !important;
  background: #FFFFFF !important;
  border: 1px solid rgba(16, 185, 129, 0.22) !important;
  border-radius: 16px !important;
  box-shadow: 0 16px 40px -12px rgba(16, 185, 129, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04) !important;
  overflow: hidden !important;
  position: relative !important;
}

/* 1. Frosted Browser Inspection Header */
.synth-browser-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.synth-window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.synth-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.synth-dot.dot-red { background: #FDA4AF; border: 1px solid #F43F5E; }
.synth-dot.dot-yellow { background: #FDE68A; border: 1px solid #F59E0B; }
.synth-dot.dot-green { background: #A7F3D0; border: 1px solid #10B981; }

.synth-url-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.8rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.synth-lock { font-size: 0.72rem; }
.synth-protocol { color: #64748B; font-weight: 500; }
.synth-domain { color: #0F172A; font-weight: 700; letter-spacing: -0.01em; }
.synth-pill-tag {
  background: #ECFDF5;
  color: #059669;
  font-weight: 600;
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 10px;
  margin-left: 4px;
}

.synth-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.05em;
}

.synth-pulse-core {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.75);
  animation: synthPulse 1.8s ease-in-out infinite;
}

/* 2. Silky Smooth Neural Intelligence Stage Viewport */
.synth-stage-viewport {
  position: relative;
  min-height: 250px;
  background: radial-gradient(120% 120% at 50% 10%, #F0FDF4 0%, #FAFAFA 50%, #FFFFFF 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.synth-aurora-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(16, 185, 129, 0.16) 0%, rgba(6, 182, 212, 0.12) 35%, rgba(99, 102, 241, 0.06) 65%, transparent 85%);
  animation: auroraGlowBreathe 6s ease-in-out infinite alternate;
  pointer-events: none;
}

.synth-subtle-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(16, 185, 129, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 185, 129, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.85) 30%, transparent 80%);
  pointer-events: none;
}

/* SVG Flowing Neural Synapse Connections */
.synth-synapse-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.synapse-path {
  stroke-dasharray: 8 6;
  animation: synapseFlow 2.8s linear infinite;
}

/* Central Glowing AI Intelligence Core */
.synth-orb-container {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.synth-orb-halo {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.synth-orb-halo.halo-1 {
  width: 68px;
  height: 68px;
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  animation: orbHaloSpin 6s linear infinite;
}

.synth-orb-halo.halo-2 {
  width: 86px;
  height: 86px;
  border: 1px dashed rgba(6, 182, 212, 0.4);
  animation: orbHaloSpinReverse 10s linear infinite;
}

.synth-orb-halo.halo-3 {
  width: 106px;
  height: 106px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  animation: orbHaloPulse 3.6s ease-in-out infinite;
}

.synth-orb-core {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #34D399 0%, #059669 50%, #0D9488 100%);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.65), inset 0 2px 4px rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.1rem;
  animation: orbCoreBreathe 2.4s ease-in-out infinite alternate;
  z-index: 5;
}

.synth-orb-sparkle {
  animation: sparkleRotate 4s ease-in-out infinite alternate;
}

.synth-orb-label {
  margin-top: 52px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #047857;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(16, 185, 129, 0.3);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  z-index: 5;
}

/* 3 Floating Glassmorphic Extracted Insight Cards */
.synth-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 12px;
  padding: 8px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px -4px rgba(16, 185, 129, 0.14), 0 2px 6px rgba(0, 0, 0, 0.04);
  z-index: 3;
  transition: transform 0.3s ease;
  overflow: hidden;
}

.synth-floating-card.card-left {
  top: 26px;
  left: 28px;
  animation: smoothFloatCard1 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

.synth-floating-card.card-bottom {
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  animation: smoothFloatCard2 4.2s cubic-bezier(0.4, 0, 0.2, 1) 0.8s infinite alternate;
}

.synth-floating-card.card-right {
  top: 26px;
  right: 28px;
  animation: smoothFloatCard3 4.8s cubic-bezier(0.4, 0, 0.2, 1) 1.6s infinite alternate;
}

.synth-card-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.synth-card-icon-wrap.icon-emerald {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
}
.synth-card-icon-wrap.icon-cyan {
  background: #ECFEFF;
  border: 1px solid #A5F3FC;
}
.synth-card-icon-wrap.icon-indigo {
  background: #EEF2FF;
  border: 1px solid #C7D2FE;
}

.synth-card-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.synth-card-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.synth-card-pill {
  font-size: 0.68rem;
  font-weight: 600;
  color: #059669;
}

.synth-check-badge {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #10B981;
  border: 1px solid #A7F3D0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  margin-left: 4px;
}

.synth-card-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.75) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: cardInternalShimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}

/* Smooth Silk Shimmer Sweep across the Stage */
.synth-silk-light-sweep {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.7) 48%, rgba(52, 211, 153, 0.15) 50%, rgba(255, 255, 255, 0.7) 52%, transparent 65%);
  animation: smoothSilkSweep 4.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 2;
}

/* 3. Sleek Telemetry Console & Progress Bar */
.synth-footer-console {
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding: 12px 20px 14px 20px;
}

.synth-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.synth-status-left {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.synth-terminal-caret {
  color: #10B981;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.2;
  animation: caretBlink 1.2s infinite;
}

.synth-text-wrapper {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.synth-footer-console .explee-scanner-stage-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
  letter-spacing: -0.01em;
  min-height: 20px;
}

.synth-footer-console .explee-scanner-subtext {
  font-size: 0.78rem;
  color: #64748B;
  margin-top: 2px;
}

.synth-pct-pill {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 3px 10px;
  border-radius: 12px;
}

.synth-footer-console .explee-scanner-pct-badge {
  font-size: 0.8rem;
  font-weight: 800;
  color: #047857;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.synth-progress-track {
  width: 100%;
  height: 5px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 9999px;
  overflow: hidden;
  margin: 10px 0 0 0;
  position: relative;
}

.synth-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #10B981 0%, #06B6D4 50%, #6366F1 100%);
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.45);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fluid Keyframes */
@keyframes synthPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px rgba(16, 185, 129, 0.9); }
}

@keyframes auroraGlowBreathe {
  0% { transform: scale(0.9); opacity: 0.65; }
  100% { transform: scale(1.15); opacity: 0.95; }
}

@keyframes synapseFlow {
  from { stroke-dashoffset: 28; }
  to { stroke-dashoffset: 0; }
}

@keyframes orbHaloSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbHaloSpinReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes orbHaloPulse {
  0%, 100% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

@keyframes orbCoreBreathe {
  0% { transform: scale(0.96); box-shadow: 0 0 16px rgba(16, 185, 129, 0.5); }
  100% { transform: scale(1.06); box-shadow: 0 0 28px rgba(16, 185, 129, 0.85); }
}

@keyframes sparkleRotate {
  0% { transform: rotate(0deg) scale(0.9); }
  100% { transform: rotate(45deg) scale(1.1); }
}

@keyframes smoothFloatCard1 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px); }
}

@keyframes smoothFloatCard2 {
  0% { transform: translate(-50%, 0); }
  100% { transform: translate(-50%, -6px); }
}

@keyframes smoothFloatCard3 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px); }
}

@keyframes cardInternalShimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes smoothSilkSweep {
  0% { transform: translate(-30%, -30%); opacity: 0; }
  30% { opacity: 0.8; }
  70% { opacity: 0.8; }
  100% { transform: translate(30%, 30%); opacity: 0; }
}

@keyframes caretBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* Status Badges & Pill */
.explee-domain-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #065F46;
  margin-bottom: 0.85rem;
}
.explee-domain-pill .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: expleeCenterPulse 1.2s infinite;
}

.explee-scanner-stage-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: -0.01em;
  min-height: 28px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.explee-scanner-subtext {
  font-size: 0.84rem;
  color: #6B7280;
  margin-top: 0.35rem;
}

/* Scanner Progress Bar */
.explee-scanner-progress-track {
  width: 100%;
  max-width: 420px;
  height: 6px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  overflow: hidden;
  margin: 1.15rem auto 0.4rem auto;
  position: relative;
}

.explee-scanner-progress-bar {
  height: 100%;
  width: 15%;
  background: linear-gradient(90deg, #10B981 0%, #34D399 50%, #059669 100%);
  border-radius: 9999px;
  transition: width 0.4s ease-out;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.explee-scanner-pct-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.04em;
  font-family: monospace;
}

/* Shimmer Skeleton preview inside scanner */
.explee-skeleton-preview {
  margin-top: 1.5rem;
  border-top: 1px solid #F3F4F6;
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.explee-shimmer-bar {
  background: linear-gradient(90deg, #F3F4F6 0%, #E5E7EB 50%, #F3F4F6 100%);
  background-size: 200% 100%;
  border-radius: 6px;
  animation: expleeShimmer 1.8s infinite;
}

/* ==========================================================================
/* ==========================================================================
   STEP 2 TACTICAL EMERALD COMPETITOR RADAR SCANNER (WEBSITE GREEN THEME)
   Color: Website Brand Emerald (#10B981), Mint (#34D399), Deep Forest (#064E3B)
   Animation: Tactical HUD Matrix Frame with Vertical Sweeping Emerald Laser
   ========================================================================== */

.explee-comp-scanner-card {
  border-color: #A7F3D0 !important;
  background: #FFFFFF !important;
  box-shadow: 0 4px 24px rgba(16, 185, 129, 0.08) !important;
}

.explee-comp-scanner-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #065F46;
  margin-bottom: 0.85rem;
}

.comp-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: compDotPulse 1.2s infinite;
}

@keyframes compDotPulse {
  0% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); opacity: 1; box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.9); opacity: 0.7; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Tactical Matrix Halo Container */
.explee-comp-matrix-halo {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0.5rem auto 1.2rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tactical Rounded-Square HUD Monitor Frame */
.explee-comp-scope {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 22px;
  background: radial-gradient(circle at center, #064E3B 0%, #022C22 70%, #011612 100%);
  border: 2px solid rgba(16, 185, 129, 0.75);
  box-shadow: 0 0 28px rgba(16, 185, 129, 0.4), inset 0 0 22px rgba(16, 185, 129, 0.35);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Outer Rotating Tactical Reticle */
.explee-comp-reticle-ring {
  position: absolute;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 1.5px dashed rgba(52, 211, 153, 0.55);
  animation: compReticleRotate 8s linear infinite;
  pointer-events: none;
}

@keyframes compReticleRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Inner Counter-Rotating Segmented Mint Ring */
.explee-comp-inner-segmented {
  position: absolute;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1.5px dotted rgba(167, 243, 208, 0.65);
  animation: compInnerCounterRotate 5s linear infinite;
  pointer-events: none;
}

@keyframes compInnerCounterRotate {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Tactical Grid Coordinate Lines */
.explee-comp-grid-line-h {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(16, 185, 129, 0.3);
  transform: translateY(-50%);
  pointer-events: none;
}

.explee-comp-grid-line-v {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 1px;
  background: rgba(16, 185, 129, 0.3);
  transform: translateX(-50%);
  pointer-events: none;
}

/* Forensic Vertical Sweeping Emerald Laser Beam */
.explee-comp-laser-beam {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(52, 211, 153, 0.6) 20%, #A7F3D0 50%, rgba(52, 211, 153, 0.6) 80%, transparent 100%);
  box-shadow: 0 0 14px #34D399, 0 0 6px #10B981;
  animation: compLaserScanV 2.2s ease-in-out infinite alternate;
  z-index: 2;
  pointer-events: none;
}

@keyframes compLaserScanV {
  0% { top: 6px; opacity: 0.9; }
  100% { top: 121px; opacity: 0.9; }
}

/* Competitor Target Nodes with Brackets [ • ] */
.explee-comp-target-node {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: #34D399;
  font-weight: 700;
  z-index: 3;
  animation: compTargetNodePulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

.target-node-1 { top: 20%; left: 22%; animation-delay: 0.2s; }
.target-node-2 { top: 32%; right: 18%; animation-delay: 0.8s; }
.target-node-3 { bottom: 22%; left: 28%; animation-delay: 1.4s; }
.target-node-4 { bottom: 28%; right: 24%; animation-delay: 2.0s; }

.target-bracket {
  color: #6EE7B7;
  font-size: 0.72rem;
  line-height: 1;
  font-family: monospace;
}

.target-core {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #10B981;
  margin: 0 1px;
}

@keyframes compTargetNodePulse {
  0%, 100% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 6px #34D399); }
}

/* Central Tactical Lock Reticle */
.explee-comp-crosshair-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  z-index: 4;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.9));
  animation: compCenterPulse 2s ease-in-out infinite;
}

@keyframes compCenterPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(0.92); }
  50% { transform: translate(-50%, -50%) scale(1.08); filter: drop-shadow(0 0 12px rgba(16, 185, 129, 1)); }
}

/* Outer Expanding Sonar Wave Ripples */
.explee-comp-sonar-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 28px;
  border: 1.5px solid rgba(16, 185, 129, 0.5);
  pointer-events: none;
  animation: compWaveRipple 2.6s cubic-bezier(0.1, 0.8, 0.2, 1) infinite;
}

.explee-comp-wave-1 { animation-delay: 0s; }
.explee-comp-wave-2 { animation-delay: 1.3s; }

@keyframes compWaveRipple {
  0% {
    width: 130px;
    height: 130px;
    opacity: 0.8;
  }
  100% {
    width: 175px;
    height: 175px;
    opacity: 0;
  }
}

/* Step 2 Progress Bar & Badges (Emerald Green) */
.comp-progress-bar {
  background: linear-gradient(90deg, #10B981 0%, #34D399 50%, #059669 100%) !important;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45) !important;
}

.comp-pct-badge {
  background: #ECFDF5 !important;
  color: #065F46 !important;
  border: 1px solid #A7F3D0 !important;
}

.comp-stage-text {
  color: #064E3B !important;
  font-weight: 700;
}

.comp-shimmer {
  background: linear-gradient(90deg, #F3F4F6 0%, #D1FAE5 50%, #F3F4F6 100%) !important;
  background-size: 200% 100% !important;
}

/* 2. Authentic Explee Company Intelligence Card */
.explee-company-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 24px rgba(17, 24, 39, 0.05);
  margin-top: 1.25rem;
  animation: expleeCardSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.explee-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.explee-card-header-left {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  flex: 1;
}

.explee-avatar-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.explee-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.explee-avatar-fallback {
  font-size: 1.35rem;
  line-height: 1;
}

.explee-header-titles {
  display: flex;
  flex-direction: column;
}

.explee-company-title {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.3;
}

.explee-company-domain {
  font-size: 0.85rem;
  color: #6B7280;
  margin-top: 2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.15s;
}

.explee-company-domain:hover {
  color: #10B981;
}

.explee-badge-found {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.explee-badge-found .check-icon {
  color: #10B981;
  font-weight: 700;
}

.explee-description {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #374151;
  margin: 1.1rem 0 0.5rem 0;
}

.explee-details-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  color: #6B7280;
  cursor: pointer;
  margin-bottom: 1.1rem;
  transition: color 0.15s;
  font-family: inherit;
}

.explee-details-link:hover {
  color: #10B981;
  text-decoration: underline;
}

/* Metadata Chips Row */
.explee-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.explee-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  padding: 4px 10px;
  border-radius: 6px;
}

.explee-team-avatars {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
}

.explee-team-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  margin-left: -8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  background: #E5E7EB;
  overflow: hidden;
}

.explee-team-avatar:first-child {
  margin-left: 0;
}

.explee-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Monthly Traffic Box */
.explee-traffic-widget {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1.1rem 1.25rem 0.9rem 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.explee-traffic-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.explee-traffic-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6B7280;
}

.explee-traffic-metric {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #111827;
}

.explee-traffic-metric .sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6B7280;
}

.explee-trend-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.explee-trend-badge.down {
  color: #EF4444;
  background: rgba(239, 68, 68, 0.08);
}

.explee-trend-badge.up {
  color: #10B981;
  background: rgba(16, 185, 129, 0.08);
}

.explee-traffic-chart-wrapper {
  display: flex;
  align-items: stretch;
  gap: 8px;
  position: relative;
  width: 100%;
  height: 88px;
  margin-top: 0.35rem;
}

.explee-chart-y-axis {
  width: 34px;
  height: 88px;
  position: relative;
  flex-shrink: 0;
}

.explee-y-label {
  position: absolute;
  right: 4px;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 500;
  color: #9CA3AF;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.explee-traffic-chart-container {
  flex: 1;
  height: 88px;
  position: relative;
}

.explee-chart-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* ==========================================================================
   STEP 1 SEQUENTIAL ONE-BY-ONE REVEAL ANIMATIONS
   1. Company Name & Header
   2. Description & Details Link
   3. Founded Date, Emp Count, Location
   4. Traffic Chart (Draws start-to-end + count up)
   5. Keywords Cloud
   ========================================================================== */
.explee-desc-block {
  margin: 1.1rem 0 1.1rem 0;
}

.explee-desc-block .explee-description {
  margin: 0 0 0.5rem 0;
}

.explee-desc-block .explee-details-link {
  margin-bottom: 0;
}

@keyframes expleeSectionReveal {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expleeDrawLine {
  0% {
    stroke-dashoffset: 1400;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes expleeChartAreaReveal {
  0% {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    opacity: 1;
  }
}

@keyframes expleeEndpointPop {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  75% {
    transform: scale(1.35);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Smooth, rhythmic & readable sequential reveals when .animating is applied */
.explee-company-card.animating .explee-card-header {
  animation: expleeSectionReveal 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.08s;
}

.explee-company-card.animating .explee-desc-block {
  animation: expleeSectionReveal 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.45s;
}

.explee-company-card.animating .explee-meta-row {
  animation: expleeSectionReveal 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 0.85s;
}

.explee-company-card.animating .explee-traffic-widget {
  animation: expleeSectionReveal 0.40s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 1.25s;
}

.explee-company-card.animating .explee-chart-spline {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: expleeDrawLine 0.90s cubic-bezier(0.2, 0.9, 0.35, 1) forwards;
  animation-delay: 1.35s;
}

.explee-company-card.animating .explee-chart-area {
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  animation: expleeChartAreaReveal 0.90s cubic-bezier(0.2, 0.9, 0.35, 1) forwards;
  animation-delay: 1.35s;
}

.explee-company-card.animating .explee-chart-endpoint {
  opacity: 0;
  animation: expleeEndpointPop 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 2.25s;
}

.explee-company-card.animating .explee-keywords-section {
  animation: expleeSectionReveal 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: 1.75s;
}

.explee-chart-spline {
  stroke-dasharray: 1400;
  stroke-dashoffset: 0;
}

.explee-chart-area {
  opacity: 1;
}

/* Team Monogram Avatars */
.explee-team-avatar-initials {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  flex-shrink: 0;
}

.explee-team-avatar-initials:hover {
  transform: scale(1.22);
  z-index: 50 !important;
}

.explee-avatar-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #111827;
  color: #FFFFFF;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  line-height: 1.35;
  text-align: center;
  z-index: 100;
}

.explee-avatar-tooltip strong {
  font-weight: 600;
  color: #F9FAFB;
}

.explee-avatar-tooltip span {
  font-size: 10px;
  color: #9CA3AF;
}

.explee-team-avatar-initials:hover .explee-avatar-tooltip {
  display: block;
  animation: expleeFadeIn 0.15s ease-out forwards;
}

/* Chart Tooltip */
.explee-chart-hover-tooltip {
  position: absolute;
  background: #1F2937;
  color: #FFFFFF;
  border-radius: 6px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transform: translate(-50%, -100%);
  margin-top: -6px;
  z-index: 20;
}

/* Keywords Cloud */
.explee-keywords-section {
  margin-top: 1rem;
}

.explee-keywords-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 0.65rem;
}

.explee-keywords-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.explee-keyword-pill {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  color: #374151;
  font-size: 0.78rem;
  padding: 4px 11px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.18s ease;
  cursor: pointer;
  user-select: none;
}

.explee-keyword-pill:hover {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #047857;
  transform: translateY(-1px);
}

.explee-keyword-pill.active {
  background: #10B981;
  border-color: #059669;
  color: #FFFFFF;
}

/* Keyframes */
@keyframes expleeCardSlideUp {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes expleeFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes expleeCenterPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.6);
  }
  50% {
    transform: scale(1.15);
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.85);
  }
}

@keyframes expleeRingExpand {
  0% {
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
  }
}

@keyframes expleeShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@keyframes expleeDrawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes expleeRadarSweepRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes expleeBlipPing {
  0%, 100% {
    opacity: 0.25;
    transform: scale(0.8);
    box-shadow: 0 0 4px #10B981;
  }
  50% {
    opacity: 1;
    transform: scale(1.4);
    box-shadow: 0 0 12px #34D399;
  }
}

@keyframes expleeWaveRipple {
  0% {
    width: 130px;
    height: 130px;
    opacity: 0.85;
    transform: translate(-50%, -50%) scale(0.95);
  }
  100% {
    width: 220px;
    height: 220px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.4);
  }
}

@keyframes cardEnter {
  from {
    transform: translateY(14px) scale(0.985);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ==========================================================================
   STEP 2: EXPLEE COMPETITORS INTELLIGENCE CARD & ANIMATIONS
   ========================================================================== */
.explee-competitors-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 1.6rem;
  box-shadow: 0 4px 24px rgba(17, 24, 39, 0.05);
  margin-top: 1.25rem;
  animation: expleeCardEnter 0.35s var(--exp-ease-spring) forwards;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.explee-comp-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.35fr);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .explee-comp-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.explee-comp-col-left {
  display: flex;
  flex-direction: column;
}

.explee-comp-col-right {
  display: flex;
  flex-direction: column;
}

.explee-comp-section {
  display: flex;
  flex-direction: column;
}

.explee-comp-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7280;
  margin-bottom: 0.55rem;
}

.explee-comp-product-badge {
  display: inline-block;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  padding: 5px 12px;
  margin-bottom: 0.65rem;
  line-height: 1.35;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  animation: slideUp 0.3s ease-out;
}

.explee-comp-determinants-list {
  margin: 0;
  padding-left: 1.15rem;
  list-style-type: disc;
  color: #4B5563;
  font-size: 0.82rem;
  line-height: 1.55;
}

.explee-comp-determinants-list li {
  margin-bottom: 0.35rem;
  animation: slideUp 0.3s ease-out;
}

.explee-comp-queries-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.explee-comp-query-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 0.8rem;
  color: #374151;
  font-weight: 500;
  transition: all 0.15s ease;
  user-select: none;
}

.explee-comp-query-pill:hover {
  background: #F3F4F6;
  border-color: #D1D5DB;
  color: #111827;
  transform: translateX(2px);
}

.explee-comp-query-pill .query-icon {
  font-size: 0.75rem;
  opacity: 0.75;
}

.explee-comp-query-pill .query-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explee-comp-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.explee-comp-found-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 5px;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #10B981;
}

.explee-comp-found-badge .check-icon {
  font-weight: 800;
}

.explee-comp-domains-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.explee-comp-domain-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  padding: 5px 9px;
  font-size: 0.82rem;
  color: #374151;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.explee-comp-domain-item:hover {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #065F46;
  transform: translateX(2px);
}

.explee-comp-domain-item.streaming-in {
  animation: expleeCompetitorStreamIn 0.36s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.explee-comp-domain-item.just-discovered {
  border-color: #10B981 !important;
  background: #ECFDF5 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25) !important;
}

.explee-comp-domain-item .comp-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  margin-left: auto;
  display: inline-block;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
  animation: compDotPulse 1.2s ease-in-out infinite;
}

@keyframes expleeCompetitorStreamIn {
  0% {
    opacity: 0;
    transform: translateX(-14px) scale(0.96);
  }
  70% {
    transform: translateX(2px) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes compDotPulse {
  0%, 100% {
    opacity: 0.9;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.85);
  }
}

.explee-comp-domain-favicon {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  object-fit: contain;
  flex-shrink: 0;
}

.explee-comp-domain-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.explee-comp-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6B7280;
  padding: 6px 0;
  cursor: pointer;
  margin-top: 0.45rem;
  font-family: inherit;
  transition: color 0.15s ease;
  width: 100%;
}

.explee-comp-more-btn:hover {
  color: #10B981;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   STEP 4: REAL-WORLD GOOGLE MAPS HARVESTER & ACCOUNTS MATRIX
   ========================================================================== */
.autogtm-stream-card.completed .gmaps-harvester-scanner {
  display: none !important;
}

.autogtm-stream-card.completed .gmaps-harvested-card {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.autogtm-stream-card.active .gmaps-harvester-scanner {
  display: block;
}

.autogtm-stream-card.active .gmaps-harvested-card {
  display: none;
}

.gmaps-harvester-scanner {
  background: #FFFFFF;
  border: 1px solid #A7F3D0;
  border-radius: 14px;
  padding: 1.25rem;
  margin-top: 0.85rem;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.08);
}

.gmaps-scanner-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gmaps-scanner-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F0FDF4;
  border: 1px solid #A7F3D0;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #065F46;
  letter-spacing: 0.04em;
}

.gmaps-scanner-status-pill .pulse-dot {
  background-color: #10B981 !important;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7) !important;
}

.gmaps-target-pill {
  color: #059669;
  background: #DCFCE7;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.gmaps-coords-badge {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.72rem;
  color: #047857;
  background: #ECFDF5;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #A7F3D0;
  letter-spacing: 0.02em;
}

/* Interactive Vector Map Radar Grid (Website Green Matrix) */
.gmaps-interactive-grid {
  position: relative;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at center, #064E3B 0%, #022C22 65%, #011612 100%);
  border: 1.5px solid rgba(16, 185, 129, 0.45);
  box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.15);
}

.gmaps-map-bg-texture {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: 
    radial-gradient(#10B981 1.2px, transparent 1.2px),
    linear-gradient(to right, rgba(52, 211, 153, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(52, 211, 153, 0.12) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px, 48px 48px;
}

.gmaps-map-roads {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image: 
    linear-gradient(45deg, transparent 48%, rgba(52, 211, 153, 0.4) 50%, transparent 52%),
    linear-gradient(-35deg, transparent 48%, rgba(16, 185, 129, 0.35) 50%, transparent 52%),
    linear-gradient(90deg, transparent 40%, rgba(110, 231, 183, 0.25) 41%, transparent 42%);
  background-size: 100% 100%, 80% 80%, 100% 100%;
}

/* Sonar Radar Sweep (Emerald Green) */
.gmaps-sonar-radar {
  position: absolute;
  width: 220px;
  height: 220px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.gmaps-radar-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(52, 211, 153, 0.5);
}

.gmaps-radar-circle.circle-1 { width: 70px; height: 70px; }
.gmaps-radar-circle.circle-2 { width: 140px; height: 140px; }
.gmaps-radar-circle.circle-3 { width: 210px; height: 210px; border-style: solid; border-color: rgba(16, 185, 129, 0.35); }

.gmaps-radar-crosshair-h {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(52, 211, 153, 0.35);
}

.gmaps-radar-crosshair-v {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(52, 211, 153, 0.35);
}

.gmaps-radar-sweep-beam {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(52, 211, 153, 0.45) 0deg, rgba(16, 185, 129, 0.12) 55deg, transparent 75deg);
  animation: sonarBeamRotate 3.6s linear infinite;
}

@keyframes sonarBeamRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Animated Dropping Pins with Tooltips */
.gmaps-pin-item {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gmaps-pin-item.has-lead {
  transform: translate(-50%, -100%);
}

.gmaps-pin-item.pin-1 { top: 32%; left: 24%; animation-delay: 0.15s; }
.gmaps-pin-item.pin-2 { top: 62%; left: 42%; animation-delay: 0.45s; }
.gmaps-pin-item.pin-3 { top: 36%; left: 74%; animation-delay: 0.75s; }
.gmaps-pin-item.pin-4 { top: 78%; left: 22%; animation-delay: 1.05s; }
.gmaps-pin-item.pin-5 { top: 48%; left: 52%; animation-delay: 1.35s; }
.gmaps-pin-item.pin-6 { top: 72%; left: 82%; animation-delay: 1.65s; }

/* Pure Red Location Point (Active Radar Scanning - NO names shown) */
.gmaps-pin-dot {
  width: 13px;
  height: 13px;
  background: #ef4444;
  border: 2.5px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(239, 68, 68, 1), 0 0 22px rgba(239, 68, 68, 0.75);
  animation: pinDotPulse 1.6s ease-in-out infinite;
  z-index: 2;
  position: relative;
}

@keyframes pinDotPulse {
  0%, 100% {
    transform: scale(0.92);
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.9), 0 0 16px rgba(239, 68, 68, 0.5);
  }
  50% {
    transform: scale(1.28);
    box-shadow: 0 0 16px rgba(239, 68, 68, 1), 0 0 28px rgba(239, 68, 68, 0.95);
  }
}

.gmaps-pin-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: rgba(239, 68, 68, 0.4);
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.9);
  border: 1.5px solid rgba(239, 68, 68, 0.75);
  border-radius: 50%;
  animation: pinRadarRipple 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes pinRadarRipple {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(3.2); opacity: 0; }
}

.gmaps-pin-item.scanning .gmaps-pin-marker {
  display: none !important;
}

.gmaps-pin-item.scanning .gmaps-pin-popover {
  display: none !important;
}

/* Discovered Lead State (Reveals verified pin & popover with real business name) */
.gmaps-pin-item.has-lead .gmaps-pin-dot {
  display: none !important;
}

.gmaps-pin-item.has-lead .gmaps-pin-halo {
  top: auto;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 6px;
  background: rgba(16, 185, 129, 0.8);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.9);
  border: none;
  animation: pinHaloPulse 2s ease-out infinite;
}

.gmaps-pin-item.has-lead .gmaps-pin-marker {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
  animation: pinBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.gmaps-pin-item.has-lead .gmaps-pin-popover {
  display: flex !important;
  animation: fadeInPop 0.35s ease-out both;
}

@keyframes pinBounce {
  0% { opacity: 0; transform: translateY(-24px) scale(0.6); }
  70% { opacity: 1; transform: translateY(2px) scale(1.15); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes pinHaloPulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.8); opacity: 0; }
}

.gmaps-pin-popover {
  position: absolute;
  bottom: 100%;
  margin-bottom: 4px;
  background: rgba(2, 44, 34, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(52, 211, 153, 0.45);
  border-radius: 6px;
  padding: 4px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5), 0 0 10px rgba(16, 185, 129, 0.2);
  animation: fadeInPop 0.3s ease-out both;
}

@keyframes fadeInPop {
  0% { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

.gmaps-pin-popover .popover-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ECFDF5;
}

.gmaps-pin-popover .popover-rating {
  font-size: 0.65rem;
  font-weight: 600;
  color: #34D399;
}

/* Status Progress Box (Website Green Theme) */
.gmaps-scanner-status-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-top: 0.85rem;
}

.gmaps-scanner-stage-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #064E3B;
  margin-bottom: 2px;
  transition: all 0.2s ease;
}

.gmaps-scanner-stage-sub {
  font-size: 0.75rem;
  color: #047857;
  margin-bottom: 8px;
}

.gmaps-scanner-progress-track {
  height: 6px;
  background: #DCFCE7;
  border-radius: 4px;
  overflow: hidden;
}

.gmaps-scanner-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #10B981, #34D399, #059669);
  border-radius: 4px;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.45);
}

.gmaps-scanner-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #10B981;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.gmaps-scanner-pct-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: #0F172A;
}

/* ==========================================================================
   STEP 4: COMPLETED HARVESTED ACCOUNTS MATRIX
   ========================================================================== */
.gmaps-harvested-card {
  margin-top: 0.5rem;
  animation: cardEnter 0.4s ease-out both;
}

.gmaps-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

@media (max-width: 768px) {
  .gmaps-kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gmaps-kpi-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 0.75rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.gmaps-kpi-card:hover {
  transform: translateY(-2px);
  border-color: #D1D5DB;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.gmaps-kpi-card.dedup {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.gmaps-kpi-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}

.gmaps-kpi-info {
  display: flex;
  flex-direction: column;
}

.gmaps-kpi-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  line-height: 1.2;
}

.gmaps-kpi-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  color: #6B7280;
  white-space: nowrap;
}

.gmaps-kpi-tag {
  position: absolute;
  top: 6px;
  right: 6px;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}

.gmaps-kpi-tag.wa {
  background: #DCFCE7;
  color: #15803D;
}

.gmaps-kpi-tag.email {
  background: #EEF2FF;
  color: #4F46E5;
}

/* Accounts Container */
.gmaps-accounts-container {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.gmaps-accounts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #F3F4F6;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gmaps-accounts-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #111827;
}

.gmaps-accounts-count {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 10px;
}

.gmaps-accounts-city-badge {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4B5563;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #F9FAFB;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #E5E7EB;
}

/* Leads Cards Grid */
.gmaps-leads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.65rem;
  margin-top: 0.85rem;
}

.gmaps-lead-item {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.gmaps-lead-item:hover {
  background: #FFFFFF;
  border-color: #10B981;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
  transform: translateY(-2px);
}

.gmaps-lead-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.gmaps-lead-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #111827;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gmaps-lead-rating {
  font-size: 0.7rem;
  font-weight: 700;
  color: #D97706;
  background: #FEF3C7;
  padding: 1px 5px;
  border-radius: 4px;
  flex-shrink: 0;
}

.gmaps-lead-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.73rem;
  color: #4B5563;
}

.gmaps-lead-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gmaps-lead-meta-row .meta-icon {
  font-size: 0.72rem;
  opacity: 0.8;
  flex-shrink: 0;
}

.gmaps-lead-badge-wa {
  color: #059669;
  font-weight: 600;
}

.gmaps-accounts-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px solid #F3F4F6;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gmaps-footer-left {
  font-size: 0.75rem;
  color: #4B5563;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gmaps-view-leads-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F3F4F6;
  color: #1F2937;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.gmaps-view-leads-btn:hover {
  background: #10B981;
  color: #FFFFFF;
  border-color: #10B981;
}


