/* ExpansionIQ — Modern Design System & Styles */
:root {
  --bg-main: #090d16;
  --bg-surface: #0f172a;
  --bg-surface-elevated: #1e293b;
  --bg-surface-glass: rgba(15, 23, 42, 0.75);
  
  --border-subtle: #334155;
  --border-glow: rgba(56, 189, 248, 0.3);
  
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-red: #ef4444;
  
  --tier-a-bg: rgba(239, 68, 68, 0.15);
  --tier-a-border: #ef4444;
  --tier-a-text: #fca5a5;
  
  --tier-b-bg: rgba(245, 158, 11, 0.15);
  --tier-b-border: #f59e0b;
  --tier-b-text: #fcd34d;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px rgba(56, 189, 248, 0.15);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Header */
.app-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 24px;
}

.header-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.35);
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(15, 23, 42, 0.6);
  flex-shrink: 0;
}

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

.brand-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #fff;
}
.brand-title span {
  color: var(--accent-cyan);
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.client-tag {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.header-center-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-ring 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.timestamp-pill {
  color: var(--text-muted);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1, #1d4ed8);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.5);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn-secondary:hover {
  background: #334155;
  border-color: #475569;
}

.btn-sm {
  font-size: 0.78rem;
  padding: 5px 10px;
}

/* Main Layout */
.main-layout {
  max-width: 1600px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* KPI Banner */
.kpi-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.kpi-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.kpi-card:hover {
  transform: translateY(-2px);
  border-color: #475569;
  box-shadow: var(--shadow-md);
}

.kpi-card.highlight-glow {
  border-color: rgba(239, 68, 68, 0.4);
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.08), var(--bg-surface));
}

.kpi-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.kpi-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.icon-tier-a { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.icon-cyan { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }

.kpi-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.kpi-badge.tier-a {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.kpi-badge.blue {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.kpi-badge.purple {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.kpi-badge.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.kpi-badge.cyan {
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.kpi-data {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kpi-value {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.kpi-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 2px;
}

/* Control Panel */
.control-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.view-switcher-group {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 12px;
  overflow-x: auto;
}

.view-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.view-btn:hover {
  color: var(--text-primary);
  background: var(--bg-surface-elevated);
}
.view-btn.active {
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.filters-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
}

#searchInput {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 10px 38px 10px 38px;
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s ease;
}
#searchInput:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.15);
}

.clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
}

.filter-dropdown-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-select {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  outline: none;
  cursor: pointer;
}
.filter-select:focus {
  border-color: var(--accent-cyan);
}

/* Global Hidden Utility */
.hidden {
  display: none !important;
}

/* Content Viewport */
.view-section {
  display: none;
}
.view-section.active {
  display: block;
  animation: fadeInView 0.2s ease-out;
}

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

.section-subhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.section-subhead .results-count {
  font-weight: 600;
  color: var(--text-primary);
}

/* Leads Grid */
.leads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 20px;
}

.lead-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}
.lead-card:hover {
  transform: translateY(-3px);
  border-color: #475569;
  box-shadow: var(--shadow-xl), 0 0 20px rgba(56, 189, 248, 0.1);
}

.status-badge-green {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-badge-red {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.btn-verify-smtp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-verify-smtp:hover {
  background: rgba(56, 189, 248, 0.25);
  color: #fff;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}
.btn-verify-smtp:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-source-article {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border: 1px solid #38bdf8;
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn-source-article:hover {
  background: linear-gradient(135deg, #0369a1, #0284c7);
  color: #fff;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4);
}

.lead-card.tier-a-card {
  border-left: 4px solid var(--accent-red);
}
.lead-card.tier-b-card {
  border-left: 4px solid var(--accent-amber);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.company-identity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.company-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #1e293b, #334155);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent-cyan);
  border: 1px solid #475569;
}

.company-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.company-industry {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.score-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.78rem;
  text-align: center;
}

.score-badge.tier-a {
  background: var(--tier-a-bg);
  color: var(--tier-a-text);
  border: 1px solid var(--tier-a-border);
}
.score-badge.tier-b {
  background: var(--tier-b-bg);
  color: var(--tier-b-text);
  border: 1px solid var(--tier-b-border);
}
.score-badge .score-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
}

.card-site-info {
  background: var(--bg-main);
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-address {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.facility-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.facility-metric {
  background: var(--bg-surface);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
}
.metric-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}
.metric-val {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.card-trigger-alert {
  background: rgba(30, 41, 59, 0.7);
  border-left: 3px solid var(--accent-blue);
  padding: 10px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.78rem;
}
.trigger-type-label {
  font-weight: 600;
  color: var(--accent-cyan);
  display: block;
}
.trigger-headline {
  color: var(--text-secondary);
  line-height: 1.35;
  margin-top: 4px;
}

.source-proof-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.source-proof-link:hover {
  background: rgba(56, 189, 248, 0.25);
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.35);
  text-decoration: none;
}

.source-proof-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.source-proof-btn:hover {
  background: var(--accent-cyan);
  color: #0f172a;
  border-color: var(--accent-cyan);
  font-weight: 700;
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.4);
}

.card-contacts-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contacts-preview-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.contact-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.contact-pill {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.contact-pill .status-verified {
  color: var(--accent-emerald);
  font-size: 0.7rem;
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 118, 168, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 118, 168, 0.35);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.linkedin-btn:hover {
  background: #0a66c2;
  color: #ffffff;
  border-color: #0a66c2;
  box-shadow: 0 0 10px rgba(10, 102, 194, 0.4);
}

.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* Map Layout */
.map-layout-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  height: 680px;
}

.interactive-map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #111;
  height: 100%;
}

.map-sidebar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.map-sidebar-header {
  padding: 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.map-sidebar-header h3 {
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.badge-cluster {
  font-size: 0.72rem;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  padding: 2px 8px;
  border-radius: 12px;
}

.map-sidebar-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  color: var(--text-muted);
  gap: 12px;
  padding: 24px;
}
.empty-state i {
  font-size: 2.2rem;
  color: var(--border-subtle);
}

/* Kanban Board */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  min-height: 600px;
  overflow-x: auto;
}

.kanban-column {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  min-width: 260px;
  max-height: 750px;
}

.kanban-col-header {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.col-count {
  background: var(--bg-surface-elevated);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.kanban-cards-container {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  flex: 1;
}

.kanban-card {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.kanban-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.kanban-card-company {
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
}
.kanban-card-site {
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.kanban-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

/* Contacts Table */
.table-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow-x: auto;
}

.contacts-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}
.contacts-table th {
  background: var(--bg-surface-elevated);
  padding: 14px 16px;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
}
.contacts-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}
.contacts-table tr:hover td {
  background: rgba(30, 41, 59, 0.5);
}

/* Modals */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-backdrop.hidden {
  display: none;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  animation: modal-enter 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-container.modal-sm {
  max-width: 480px;
}

@keyframes modal-enter {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.modal-company-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
}

.modal-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
}
.modal-subtitle {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}
.modal-close-btn:hover {
  color: #fff;
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Dossier Modal Sections */
.dossier-grid-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.spec-box {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  flex-direction: column;
}
.spec-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.spec-value {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.dossier-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.decision-makers-dossier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.dm-card {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dm-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
}
.dm-title {
  font-size: 0.78rem;
  color: var(--accent-cyan);
}
.dm-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}
.dm-contact-item a {
  color: var(--text-primary);
  text-decoration: none;
}
.dm-contact-item a:hover {
  text-decoration: underline;
  color: var(--accent-cyan);
}

.pitch-pack-box {
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.script-box {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
  font-family: monospace;
  font-size: 0.8rem;
  color: #cbd5e1;
  white-space: pre-wrap;
  position: relative;
}

.copy-script-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  cursor: pointer;
}

/* Forms */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.form-control {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  outline: none;
}

.sync-summary-box {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  padding: 12px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  color: var(--accent-cyan);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--accent-cyan);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-xl);
  animation: toast-in 0.2s ease forwards;
}
.toast.toast-success {
  border-color: var(--accent-emerald);
}
.toast.toast-success i {
  color: var(--accent-emerald);
}

@keyframes toast-in {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
  .map-layout-wrapper {
    grid-template-columns: 1fr;
    height: auto;
  }
  .interactive-map-container {
    height: 450px;
  }
  .kanban-board {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

/* Authentication Modal & Security Elements */
.auth-modal-box {
  max-width: 440px !important;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 40px rgba(2, 132, 199, 0.25), var(--shadow-xl);
  background: var(--bg-surface);
}

.auth-header {
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.6);
  padding: 18px 24px;
}

.auth-body {
  padding: 28px 24px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-icon-badge {
  width: 56px;
  height: 56px;
  margin: 0 auto 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.2), rgba(14, 165, 233, 0.1));
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.2);
}

.auth-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.auth-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.auth-body .form-group {
  text-align: left;
  margin-top: 6px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}

.input-with-icon .auth-input {
  padding-left: 36px;
  padding-right: 36px;
  width: 100%;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}

.input-with-icon .auth-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.input-action-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  padding: 4px;
}

.input-action-btn:hover {
  color: var(--accent-cyan);
}

.auth-error-banner {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  animation: modal-enter 0.2s ease;
}

.auth-actions {
  margin-top: 4px;
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 0.9rem;
}

.auth-footer-hint {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
}

/* ==========================================================================
   MULTI-SECTOR UNIVERSAL DEMO CONSOLE STYLES
   ========================================================================== */

/* 1. Top Universal Demo Sandbox Notice Banner */
.demo-sandbox-banner {
  position: sticky;
  top: 0;
  z-index: 1002;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.96) 50%, rgba(15, 23, 42, 0.96) 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  backdrop-filter: blur(12px);
  padding: 8px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.sandbox-banner-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sandbox-banner-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.preview-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fcd34d;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
  animation: pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.sandbox-banner-text {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 500;
}

.sandbox-banner-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sandbox-banner-btn:hover {
  background: rgba(56, 189, 248, 0.22);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-1px);
}

/* 2. Persistent CTA Header Button */
.btn-cta-glow {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(14, 165, 233, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-cta-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 30%
  );
  transform: rotate(30deg);
  animation: shine-sweep 6s infinite;
  pointer-events: none;
}

@keyframes shine-sweep {
  0% { transform: translateX(-100%) rotate(30deg); }
  20% { transform: translateX(100%) rotate(30deg); }
  100% { transform: translateX(100%) rotate(30deg); }
}

.btn-cta-glow:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.65);
  transform: translateY(-2px);
}

/* 3. Active Industry Lens Switcher */
.industry-lens-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.lens-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.lens-header-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lens-heading-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.lens-heading-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.3px;
}

.lens-heading-text p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 1px;
}

.lens-active-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #f8fafc;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse-ring 1.8s infinite;
}

.lens-tabs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 1100px) {
  .lens-tabs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .lens-tabs-grid {
    grid-template-columns: 1fr;
  }
}

.lens-tab {
  background: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  text-align: left;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  color: var(--text-primary);
}

.lens-tab-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lens-tab-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.lens-icon-fitout {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.lens-icon-solar {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.lens-icon-ev {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.lens-icon-waste {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.lens-tab-content {
  flex: 1;
  min-width: 0;
}

.lens-tab-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.lens-tab-sub {
  font-size: 0.74rem;
  color: var(--text-secondary);
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lens-tab-persona {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.lens-tab-check {
  font-size: 0.95rem;
  color: transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.lens-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(30, 41, 59, 0.5);
}

/* Active States per sector */
.lens-tab.active {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.lens-tab.active .lens-tab-check {
  color: var(--accent-cyan);
}

/* Fit-Out Active */
.lens-tab[data-lens="warehouse_fitout"].active {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}
.lens-tab[data-lens="warehouse_fitout"].active .lens-tab-glow {
  opacity: 1;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.15), transparent 70%);
}
.lens-tab[data-lens="warehouse_fitout"].active .lens-tab-icon {
  background: rgba(56, 189, 248, 0.25);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
}
.lens-tab[data-lens="warehouse_fitout"].active .lens-tab-persona {
  color: var(--accent-cyan);
}

/* Solar Active */
.lens-tab[data-lens="commercial_solar"].active {
  border-color: #f59e0b;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}
.lens-tab[data-lens="commercial_solar"].active .lens-tab-glow {
  opacity: 1;
  background: radial-gradient(circle at top left, rgba(245, 158, 11, 0.15), transparent 70%);
}
.lens-tab[data-lens="commercial_solar"].active .lens-tab-icon {
  background: rgba(245, 158, 11, 0.25);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}
.lens-tab[data-lens="commercial_solar"].active .lens-tab-check {
  color: #f59e0b;
}
.lens-tab[data-lens="commercial_solar"].active .lens-tab-persona {
  color: #fcd34d;
}

/* EV Fleet Active */
.lens-tab[data-lens="ev_fleet"].active {
  border-color: #8b5cf6;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}
.lens-tab[data-lens="ev_fleet"].active .lens-tab-glow {
  opacity: 1;
  background: radial-gradient(circle at top left, rgba(139, 92, 246, 0.15), transparent 70%);
}
.lens-tab[data-lens="ev_fleet"].active .lens-tab-icon {
  background: rgba(139, 92, 246, 0.25);
  box-shadow: 0 0 12px rgba(139, 92, 246, 0.4);
}
.lens-tab[data-lens="ev_fleet"].active .lens-tab-check {
  color: #a78bfa;
}
.lens-tab[data-lens="ev_fleet"].active .lens-tab-persona {
  color: #c4b5fd;
}

/* Waste Services Active */
.lens-tab[data-lens="waste_site_services"].active {
  border-color: #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}
.lens-tab[data-lens="waste_site_services"].active .lens-tab-glow {
  opacity: 1;
  background: radial-gradient(circle at top left, rgba(16, 185, 129, 0.15), transparent 70%);
}
.lens-tab[data-lens="waste_site_services"].active .lens-tab-icon {
  background: rgba(16, 185, 129, 0.25);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}
.lens-tab[data-lens="waste_site_services"].active .lens-tab-check {
  color: #10b981;
}
.lens-tab[data-lens="waste_site_services"].active .lens-tab-persona {
  color: #6ee7b7;
}

/* 4. Sector Badge & Tag Micro-Pills */
.sector-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--accent-cyan);
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.sector-stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-emerald);
}

.lens-persona-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  color: var(--text-secondary);
  background: var(--bg-surface-elevated);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* 5. Conversion Gate Modal */
.conversion-gate-box {
  background: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.18), 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.gate-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gate-icon-pulse {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(37, 99, 235, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-cyan);
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.3);
}

.gate-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

.gate-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.gate-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gate-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.gate-feature-list {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gate-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.gate-feature-item i {
  color: var(--accent-emerald);
  margin-top: 2px;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.gate-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

/* 6. Custom System Build Modal */
.modal-md {
  max-width: 680px;
}

.custom-build-box {
  background: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.custom-build-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.25rem;
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-row-2col {
    grid-template-columns: 1fr;
  }
}

/* Smooth Card Transitions */
.leads-grid {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.leads-grid.switching {
  opacity: 0.3;
  transform: translateY(4px);
}


