/* ==========================================================================
   RadarPulse AI — High-End Glassmorphism Dark Theme & Design System
   ========================================================================== */

:root {
  /* ==========================================================================
     Restrained Corporate Color System (Primary: Indigo / Secondary: Slate / Accent: Emerald)
     Optimized for remote freelancers: reduces cognitive load and eye strain.
     ========================================================================== */
  --bg-dark: #080b11;
  --bg-canvas: #0b0f19;
  --bg-card: rgba(15, 23, 42, 0.72);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-subtle: rgba(255, 255, 255, 0.03);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(99, 102, 241, 0.35);
  --border-glow-indigo: rgba(99, 102, 241, 0.35);

  /* Primary Brand: Corporate Tech Indigo */
  --brand-primary: #4f46e5;
  --brand-light: #6366f1;
  --brand-soft: #818cf8;
  --brand-dark: #3730a3;
  --brand-glow: rgba(79, 70, 229, 0.28);
  --brand-subtle: rgba(79, 70, 229, 0.1);

  /* Secondary: Executive Slate / Graphite */
  --slate-primary: #64748b;
  --slate-light: #94a3b8;
  --slate-border: rgba(148, 163, 184, 0.14);
  --slate-card: #0f172a;

  /* Accent: Emerald Mint (Finance & Success only) */
  --emerald-primary: #10b981;
  --emerald-light: #34d399;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  --emerald-subtle: rgba(16, 185, 129, 0.1);

  --cyan-primary: #06b6d4;
  --amber-primary: #f59e0b;
  --purple-primary: #8b5cf6;

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Glassmorphism */
  --glass-blur: blur(16px);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body.dark-theme {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(ellipse 85% 55% at 50% -10%, rgba(79, 70, 229, 0.12) 0%, transparent 65%),
    radial-gradient(circle at 12% 28%, rgba(14, 165, 233, 0.05) 0%, transparent 45%),
    radial-gradient(circle at 88% 70%, rgba(16, 185, 129, 0.04) 0%, transparent 50%),
    linear-gradient(180deg, #080b11 0%, #0c101a 45%, #080b12 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Atmospheric Calm Deep Mesh Background (Car Wallpaper Completely Removed) */
body.dark-theme::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(99, 102, 241, 0.08), transparent 75%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 100%, 44px 44px, 44px 44px;
  opacity: 0.75;
  pointer-events: none;
  z-index: 0;
}

/* Background Glowing Orbs */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}
.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.35) 0%, rgba(6, 182, 212, 0) 70%);
  top: -150px;
  left: -150px;
}
.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, rgba(139, 92, 246, 0) 70%);
  bottom: -200px;
  right: -100px;
}
.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0) 70%);
  top: 35%;
  left: 45%;
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */

.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.75);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 24px;
}

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

.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-radar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
  border: 1px solid var(--border-glow-cyan);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 15px var(--cyan-glow);
}

.radar-sweep {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(6, 182, 212, 0.4) 60deg, transparent 65deg);
  animation: radarRotate 3s linear infinite;
}

.radar-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-light);
  box-shadow: 0 0 10px var(--cyan-light);
  z-index: 2;
}

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

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-accent {
  color: var(--cyan-light);
  text-shadow: 0 0 12px var(--cyan-glow);
}

.brand-tag {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Nav Tabs */
.nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
}

.nav-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
  border: 1px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}

.live-counter-badge {
  background: rgba(239, 68, 68, 0.25);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  animation: pulseBadge 2s infinite ease-in-out;
}

.stat-pill {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
}

.ltd-highlight-badge {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.license-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-primary);
  box-shadow: 0 0 8px var(--emerald-primary);
}

@keyframes pulseBadge {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.96); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-primary {
  background: #10b981;
  color: #000000;
  font-weight: 800;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.28);
}
.btn-primary:hover {
  background: #34d399;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45);
}

.btn-outline-cyan {
  background: #10b981;
  color: #000000;
  font-weight: 800;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.28);
}
.btn-outline-cyan:hover {
  background: #34d399;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45);
}

.btn-owner-active {
  background: rgba(6, 182, 212, 0.12) !important;
  color: var(--cyan-light) !important;
  border-color: var(--cyan-primary) !important;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.3) !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-owner-active:hover {
  background: rgba(6, 182, 212, 0.22) !important;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.5) !important;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
}

.btn-emerald {
  background: #10b981;
  color: #000000;
  font-weight: 800;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.28);
}
.btn-emerald:hover {
  background: #34d399;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.45);
}

.btn-cyan {
  background: #10b981;
  color: #000000;
  font-weight: 800;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}
.btn-xs {
  padding: 4px 8px;
  font-size: 0.72rem;
  border-radius: var(--radius-sm);
}

/* ==========================================================================
   Main Layout & Views
   ========================================================================== */

.main-content {
  max-width: 1540px;
  margin: 0 auto;
  padding: 24px;
  position: relative;
  z-index: 1;
}

.app-view {
  display: none;
  animation: fadeIn 0.25s ease-in-out;
}
.app-view.active {
  display: block;
}

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

.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition-smooth);
}
.glass-card:hover {
  border-color: var(--border-hover);
}

/* ==========================================================================
   Tempo-Style Infographic Hero & Bento System
   ========================================================================== */

.tempo-hero-section {
  margin-bottom: 38px;
}

.tempo-hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 36px;
  padding: 8px 4px;
}

.tempo-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.28);
  border-radius: 9999px;
  color: #c7d2fe;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.tempo-pulse-dot, .pulse-indigo {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.75);
  animation: pulse 2s infinite;
}

.pulse-emerald {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.65);
  animation: pulse 2s infinite;
}

.tempo-hero-title {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 16px;
}

.brand-gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #ffffff 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tempo-hero-desc {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 24px;
  max-width: 520px;
}

.tempo-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.btn-tempo-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: #10b981;
  color: #000000;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.32);
}

.btn-tempo-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5);
  background: #34d399;
  color: #000000;
}

.btn-tempo-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #10b981;
  color: #000000;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
}

.btn-tempo-secondary:hover {
  background: #34d399;
  color: #000000;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.tempo-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tempo-avatars-row {
  display: flex;
  align-items: center;
}

.tempo-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #080b11;
  margin-left: -8px;
  object-fit: cover;
}

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

.tempo-proof-text {
  font-size: 0.78rem;
  color: #94a3b8;
}

.tempo-proof-text strong {
  color: #f8fafc;
}

/* ==========================================================================
   Hero Cards Composition: Executive Platinum Card & Analytics Terminal
   ========================================================================== */
.tempo-cards-composition {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 260px;
  margin: 0 auto;
}

.tempo-metal-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 310px;
  height: 180px;
  background: linear-gradient(135deg, #182232 0%, #0c1119 100%);
  border-radius: 18px;
  border: 1px solid rgba(99, 102, 241, 0.24);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.7);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: rotate(4deg) translate(8px, 8px);
  transition: transform 0.3s ease;
  z-index: 1;
}

.tempo-metal-card:hover {
  transform: rotate(2deg) translate(4px, 4px);
}

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

.metal-chip {
  width: 32px;
  height: 22px;
  background: linear-gradient(135deg, #cbd5e1 0%, #94a3b8 100%);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.metal-chip::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(0,0,0,0.3);
  border-radius: 2px;
}

.metal-contactless {
  color: #64748b;
}

.metal-card-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #818cf8;
}

.metal-card-number {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: #e2e8f0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.metal-card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 0.08em;
}

#tempo-metal-limit {
  color: #10b981;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.tempo-balance-card {
  position: absolute;
  left: 0;
  top: 10px;
  width: 300px;
  background: rgba(13, 19, 31, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 18px;
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75), 0 0 30px rgba(79, 70, 229, 0.12);
  padding: 18px 20px;
  z-index: 2;
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.tempo-balance-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.balance-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.balance-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: #94a3b8;
  font-weight: 500;
}

.balance-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 7px;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
}

.balance-trend span {
  color: #6ee7b7;
  font-size: 0.62rem;
  font-weight: 500;
}

.balance-amount {
  font-family: 'Plus Jakarta Sans', var(--font-sans);
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.balance-chart-wrap {
  width: 100%;
  height: 52px;
  overflow: hidden;
}

.balance-sparkline {
  width: 100%;
  height: 52px;
  display: block;
  filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.35));
}

.balance-quick-metrics {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.balance-quick-metrics strong {
  color: #f8fafc;
}

.quick-kpi-dot {
  color: #475569;
}

.emerald-kpi {
  color: #10b981;
  font-weight: 700;
}

/* ==========================================================================
   Interactive 19 Platforms Carousel
   ========================================================================== */
.tempo-logos-strip {
  padding: 22px 0 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 34px;
  position: relative;
}

.logos-strip-header {
  text-align: center;
  margin-bottom: 14px;
}

.logos-strip-title {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #cbd5e1;
  text-transform: uppercase;
}

.platforms-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.platforms-carousel-track {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 6px;
  width: 100%;
  scrollbar-width: none;
  user-select: none;
  cursor: grab;
  will-change: scroll-position;
}

.platforms-carousel-track:active {
  cursor: grabbing;
}

.platforms-carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-platform-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.carousel-platform-chip:hover {
  color: #ffffff;
  background: rgba(99, 102, 241, 0.24);
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 4px 18px rgba(79, 70, 229, 0.4);
  transform: translateY(-2px);
}

.carousel-platform-chip:active {
  transform: translateY(0);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 6px rgba(99, 102, 241, 0.8);
  transition: background 0.2s, box-shadow 0.2s;
}

.carousel-platform-chip:hover .chip-dot {
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.2s;
}

.carousel-arrow:hover {
  background: #4f46e5;
  color: #fff;
  border-color: #6366f1;
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.5);
}

.carousel-arrow.prev {
  left: -8px;
}

.carousel-arrow.next {
  right: -8px;
}

/* ==========================================================================
   High-End Bento Infographics Section
   ========================================================================== */
.tempo-bento-section {
  margin-bottom: 38px;
}

.tempo-bento-header {
  text-align: left;
  margin-bottom: 22px;
}

.tempo-bento-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 6px;
}

.tempo-bento-subtitle {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 500;
}

.tempo-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.tempo-bento-card {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.75) 0%, rgba(11, 15, 25, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.tempo-bento-card:hover {
  transform: translateY(-2px);
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.5), 0 0 20px rgba(99, 102, 241, 0.12);
}

.bento-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #818cf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.tempo-bento-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.tempo-bento-card p {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.55;
}

/* ---------------- Infographic 1: Radar Scope Visual ---------------- */
.radar-scope-visual {
  position: relative;
  width: 100%;
  height: 120px;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.9) 0%, rgba(8, 12, 20, 0.95) 100%);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 4px;
}

.radar-sweep-cone {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(99, 102, 241, 0.35) 0deg, rgba(99, 102, 241, 0) 60deg, transparent 360deg);
  border-radius: 50%;
  animation: radarSweep 4s linear infinite;
  pointer-events: none;
}

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

.radar-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(99, 102, 241, 0.22);
  pointer-events: none;
}

.radar-ring-1 { width: 40px; height: 40px; }
.radar-ring-2 { width: 80px; height: 80px; }
.radar-ring-3 { width: 120px; height: 120px; }

.radar-axis-h, .radar-axis-v {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  pointer-events: none;
}
.radar-axis-h { top: 50%; left: 0; right: 0; height: 1px; }
.radar-axis-v { left: 50%; top: 0; bottom: 0; width: 1px; }

.radar-center-ping {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6366f1;
  box-shadow: 0 0 10px #6366f1;
}

.radar-blip {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 3px;
  z-index: 2;
}

.blip-label {
  font-size: 0.58rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
}

.blip-tg { top: 32%; left: 35%; }
.blip-tg .blip-label { border-color: rgba(56, 189, 248, 0.4); color: #38bdf8; }
.blip-up { top: 40%; left: 72%; }
.blip-up .blip-label { border-color: rgba(52, 211, 153, 0.4); color: #34d399; }
.blip-kw { top: 70%; left: 45%; }
.blip-kw .blip-label { border-color: rgba(168, 85, 247, 0.4); color: #c084fc; }
.blip-fl { top: 68%; left: 78%; }
.blip-fl .blip-label { border-color: rgba(245, 158, 11, 0.4); color: #fbbf24; }

.bento-telemetry-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: #94a3b8;
  padding-top: 4px;
}

.telemetry-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------------- Infographic 2: Intent & Solvency Gauge ---------------- */
.intent-gauge-container {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.gauge-ring-wrap {
  position: relative;
  width: 82px;
  height: 82px;
  flex-shrink: 0;
}

.intent-gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.gauge-progress {
  fill: none;
  stroke: #10b981;
  stroke-width: 8;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s ease;
}

.gauge-center-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.gauge-score {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.gauge-tag {
  font-size: 0.48rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

.solvency-bars-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.solvency-metric-bar {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: #94a3b8;
}

.bar-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 9999px;
}

.emerald-fill { background: linear-gradient(90deg, #10b981, #34d399); }
.indigo-fill { background: linear-gradient(90deg, #4f46e5, #818cf8); }
.cyan-fill { background: linear-gradient(90deg, #0284c7, #38bdf8); }

.emerald-text { color: #10b981; font-weight: 700; }
.indigo-text { color: #818cf8; font-weight: 700; }
.cyan-text { color: #38bdf8; font-weight: 700; }

/* ---------------- Infographic 3: Conversion Funnel ---------------- */
.deal-funnel-infographic {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.funnel-stage {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.funnel-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
}

.stage-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: #6366f1;
  font-weight: 700;
  margin-right: 6px;
}

.stage-name {
  flex: 1;
  color: #cbd5e1;
}

.stage-val {
  color: #94a3b8;
  font-weight: 600;
}

.highlight-val {
  color: #10b981;
  font-weight: 800;
}

.funnel-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 9999px;
  overflow: hidden;
}

.funnel-progress {
  height: 100%;
  background: linear-gradient(90deg, #3730a3, #6366f1);
  border-radius: 9999px;
}

.highlight-fill {
  background: linear-gradient(90deg, #059669, #10b981);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.funnel-footer-pill {
  font-size: 0.7rem;
  color: #94a3b8;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.funnel-footer-pill span {
  color: #38bdf8;
  font-weight: 600;
}

/* ---------------- Infographic 4: Freelancer ROI Comparison ---------------- */
.roi-comparison-infographic {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

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

.roi-card-side {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.roi-side-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.roi-side-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 2px 0;
}

.roi-unit {
  font-size: 0.65rem;
  font-weight: 500;
  color: #94a3b8;
}

.danger-text { color: #f43f5e; }

.roi-side-desc {
  font-size: 0.65rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.roi-vs-badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 800;
  color: #64748b;
  padding: 4px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
}

.roi-summary-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.roi-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #cbd5e1;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.accent-chip {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: #34d399;
  font-weight: 600;
}

/* ==========================================================================
   View 1: Metrics Strip & Radar Controls
   ========================================================================== */

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.metric-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Dark Burgundy (тёмно-бордовый) Accent Card for Lead Intercept / Telegram Alerts */
.metric-card-alerts,
#metric-card-alerts {
  background: linear-gradient(135deg, rgba(80, 7, 36, 0.9) 0%, rgba(45, 4, 20, 0.96) 100%) !important;
  border: 1px solid rgba(225, 29, 72, 0.42) !important;
  box-shadow: 0 4px 22px rgba(159, 18, 57, 0.28) !important;
  transition: all var(--transition-fast);
}

.metric-card-alerts:hover,
#metric-card-alerts:hover {
  background: linear-gradient(135deg, rgba(98, 9, 44, 0.95) 0%, rgba(58, 5, 26, 0.98) 100%) !important;
  border-color: rgba(244, 63, 94, 0.6) !important;
  box-shadow: 0 6px 26px rgba(225, 29, 72, 0.4) !important;
}

.metric-card-alerts .metric-icon,
#metric-card-alerts .metric-icon {
  background: rgba(225, 29, 72, 0.24) !important;
  border: 1px solid rgba(244, 63, 94, 0.48) !important;
  color: #fda4af !important;
}

.metric-card-alerts .metric-icon svg,
#metric-card-alerts .metric-icon svg {
  stroke: #fda4af !important;
}

.metric-card-alerts .metric-label,
#metric-card-alerts .metric-label {
  color: #fecdd3 !important;
}

.metric-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.metric-icon.cyan {
  background: rgba(6, 182, 212, 0.15);
  color: var(--cyan-light);
  border: 1px solid rgba(6, 182, 212, 0.3);
}
.metric-icon.emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.metric-icon.amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-primary);
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.metric-icon.purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple-primary);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.metric-info {
  display: flex;
  flex-direction: column;
}
.metric-label {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.metric-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}
.metric-value.link-text {
  font-size: 0.95rem;
  color: #ffffff !important;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: all var(--transition-fast);
}
.metric-value.link-text:hover {
  color: #e2e8f0 !important;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

/* Radar Controls Card */
.radar-controls-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 60;
}

.radar-controls-card:has(.multiselect-dropdown-menu.show),
.radar-controls-card.has-dropdown-open {
  z-index: 90;
}

.search-box {
  width: 100%;
  flex: 1 1 100%;
  min-width: 320px;
  position: relative;
  display: flex;
  align-items: center;
}
.search-box .search-icon-left {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 2;
}
.search-box input {
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 126px 10px 42px;
  color: #fff;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  outline: none;
  transition: all var(--transition-fast);
}
.search-box input:focus {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 12px var(--cyan-glow);
}
.btn-clear-search {
  position: absolute;
  right: 104px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-size: 11px;
  cursor: pointer;
  z-index: 4;
  transition: all 0.15s ease;
}
.btn-clear-search:hover {
  background: rgba(239, 68, 68, 0.35);
  color: #fff;
}
.btn-do-search {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  background: #10b981;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 0 15px;
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.35);
  z-index: 4;
}
.btn-do-search:hover {
  background: #34d399;
  color: #000000;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.55);
  transform: translateY(-1px);
}
.btn-do-search:active {
  transform: translateY(0);
}
.btn-do-search svg {
  color: #000000;
  stroke: #000000;
  transition: transform 0.2s ease;
}
.btn-do-search:hover svg {
  transform: scale(1.1);
}

/* Filters Section Header (ФИЛЬТР ЗАКАЗЧИКОВ) */
.radar-filters-header {
  width: 100%;
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
  margin-bottom: 4px;
  padding-top: 4px;
}

.radar-filters-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 2px 0 !important;
  background: transparent !important;
  color: #10b981 !important;
  font-family: var(--font-display), var(--font-sans), sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  white-space: nowrap;
}

.radar-filters-title svg {
  color: #10b981 !important;
  stroke: #10b981 !important;
  stroke-width: 2.5 !important;
}

.radar-filters-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.45) 0%, rgba(16, 185, 129, 0.14) 45%, rgba(255, 255, 255, 0.03) 100%);
}

.filters-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 10;
}

.filter-dropdown {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #e2e8f0;
  font-weight: 600;
}
.filter-dropdown label {
  color: #e2e8f0;
  font-weight: 600;
}
.filter-dropdown select {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  outline: none;
  cursor: pointer;
}

/* Custom Multi-Select Dropdown */
.platform-multiselect-container {
  position: relative;
  z-index: 50;
}

.custom-multiselect {
  position: relative;
  display: inline-block;
  z-index: 50;
}

.multiselect-trigger-btn {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-glow-cyan);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 220px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-fast);
}

.multiselect-trigger-btn:hover,
.multiselect-trigger-btn.active {
  border-color: var(--cyan-light);
  box-shadow: 0 0 12px var(--cyan-glow);
  background: rgba(20, 30, 55, 0.95);
}

.multiselect-trigger-btn .chevron-icon {
  transition: transform 0.2s ease;
  color: var(--cyan-light);
  flex-shrink: 0;
}

.multiselect-trigger-btn.active .chevron-icon {
  transform: rotate(180deg);
}

.multiselect-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 350px;
  max-width: 92vw;
  background: rgba(11, 18, 33, 0.98);
  backdrop-filter: blur(25px);
  border: 1px solid var(--border-glow-cyan);
  border-radius: var(--radius-md);
  padding: 12px;
  z-index: 999999;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(6, 182, 212, 0.35);
  display: none;
  animation: dropdownFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.multiselect-dropdown-menu.show {
  display: block;
}

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

.multiselect-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.multiselect-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.multiselect-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-text-action {
  background: transparent;
  border: none;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.btn-text-action.action-select-all {
  color: var(--cyan-light);
}

.btn-text-action.action-select-all:hover {
  background: rgba(6, 182, 212, 0.15);
  color: #fff;
}

.btn-text-action.action-clear-all {
  color: #f87171;
}

.btn-text-action.action-clear-all:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}

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

.multiselect-options-list {
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 4px;
}

.multiselect-options-list::-webkit-scrollbar {
  width: 5px;
}

.multiselect-options-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.multiselect-options-list::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-primary);
}

.multiselect-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: #e2e8f0;
  cursor: pointer;
  user-select: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.multiselect-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.multiselect-option.telegram-option {
  background: rgba(14, 165, 233, 0.08);
  border: 1px dashed rgba(14, 165, 233, 0.3);
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 4px;
}

.multiselect-option.telegram-option:hover {
  background: rgba(14, 165, 233, 0.18);
  color: #fff;
}

.platform-check {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  background: rgba(15, 23, 42, 0.6);
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.platform-check:checked {
  background: var(--cyan-primary);
  border-color: var(--cyan-primary);
}

.platform-check:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.opt-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
}

.opt-name {
  flex-grow: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-slider {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #e2e8f0;
  font-weight: 600;
}
.filter-slider label {
  color: #e2e8f0;
  font-weight: 600;
}
.score-val {
  color: var(--cyan-light);
  font-weight: 700;
  font-family: var(--font-mono);
}
.filter-slider input[type="range"] {
  accent-color: var(--cyan-primary);
  cursor: pointer;
}

/* ==========================================================================
   Leads Feed & Cards
   ========================================================================== */

.radar-feed-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.feed-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #10b981;
  line-height: 1.15;
}
.live-dot {
  width: 12px;
  height: 12px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 12px #10b981;
  animation: pulseDot 1.5s infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.feed-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.feed-header-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.feed-sort-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.feed-sort-wrapper:hover,
.feed-sort-wrapper:focus-within {
  border-color: var(--cyan-light);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.feed-sort-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.feed-sort-select {
  background: transparent;
  border: none;
  color: var(--cyan-light);
  font-size: 0.83rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  padding: 3px 6px;
}

.feed-sort-select option {
  background: #0f172a;
  color: #f8fafc;
  padding: 8px 12px;
}

.highlight-all-option {
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 6px;
  padding-bottom: 8px;
  background: rgba(6, 182, 212, 0.06);
}

.highlight-all-option:hover {
  background: rgba(6, 182, 212, 0.14) !important;
}

.leads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(460px, 1fr));
  gap: 20px;
}

.lead-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.lead-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--cyan-primary), var(--purple-primary));
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.lead-card:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.lead-card:hover::before {
  opacity: 1;
}

.lead-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  position: relative;
}

.lead-author-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
}
.lead-avatar {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}
.lead-author-details {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.lead-author-details h4 {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lead-author-meta {
  font-size: 0.78rem;
  color: #cbd5e1;
  font-weight: 500;
  display: block;
  word-break: break-all;
  overflow-wrap: anywhere;
}

.lead-badges {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 4px !important;
  flex-shrink: 0 !important;
  margin-left: auto !important;
  text-align: right !important;
}

.lead-badges .badge,
.lead-badges .score-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: flex-end !important;
  margin: 0 !important;
  font-size: 0.48rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  white-space: nowrap !important;
  line-height: 1.25;
}

.badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.badge-telegram {
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.4);
}
.badge-kwork {
  background: rgba(249, 115, 22, 0.2);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.4);
}
.badge-fl {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}
.badge-freelance_ru {
  background: rgba(99, 102, 241, 0.2);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.4);
}
.badge-workzilla {
  background: rgba(234, 179, 8, 0.2);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.4);
}
.badge-youdo {
  background: rgba(236, 72, 153, 0.2);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.4);
}
.badge-profi {
  background: rgba(20, 184, 166, 0.2);
  color: #2dd4bf;
  border: 1px solid rgba(20, 184, 166, 0.4);
}
.badge-upwork {
  background: rgba(22, 163, 74, 0.2);
  color: #4ade80;
  border: 1px solid rgba(22, 163, 74, 0.4);
}
.badge-fiverr {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.badge-reddit {
  background: rgba(249, 115, 22, 0.2);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.4);
}
.badge-x, .badge-twitter {
  background: rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.badge-yc, .badge-hackernews {
  background: rgba(249, 115, 22, 0.25);
  color: #ff742b;
  border: 1px solid rgba(249, 115, 22, 0.5);
  box-shadow: 0 0 8px rgba(249, 115, 22, 0.2);
}
.badge-freelance {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.badge-taskpay {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
}
.badge-advego {
  background: rgba(244, 63, 94, 0.2);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.4);
}
.badge-qcomment {
  background: rgba(6, 182, 212, 0.2);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.4);
}
.badge-turbotext {
  background: rgba(132, 204, 22, 0.2);
  color: #a3e635;
  border: 1px solid rgba(132, 204, 22, 0.4);
}
.badge-expertnoemnenie {
  background: rgba(217, 70, 239, 0.2);
  color: #e879f9;
  border: 1px solid rgba(217, 70, 239, 0.4);
}
.badge-yandex {
  background: rgba(250, 204, 21, 0.2);
  color: #fde047;
  border: 1px solid rgba(250, 204, 21, 0.4);
}
.badge-fixed {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-hourly {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-negotiable {
  background: rgba(6, 182, 212, 0.15);
  color: #22d3ee;
  border: 1px solid rgba(6, 182, 212, 0.35);
}
.badge-email-tag {
  background: rgba(139, 92, 246, 0.15);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.lead-badges .score-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.50rem;
  padding: 1px 5px;
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1.25;
}

.score-badge {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.score-badge.hot {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.score-badge.warm {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.lead-body-content {
  font-size: 0.92rem;
  color: #cbd5e1;
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.25);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--cyan-primary);
}

.lead-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}
.lead-budget {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--emerald-primary);
  font-size: 1rem;
}
.lead-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.74rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

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

/* ----------------- REAL-TIME LIFETIME TIMER BADGE (Exact match to Mockup) ----------------- */
.lead-lifetime-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background: rgba(11, 15, 25, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 4px 10px;
  border-radius: 6px;
  text-align: right;
  margin-top: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  transition: all var(--transition-fast);
}

.lifetime-title {
  font-size: 0.64rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 2px;
  display: block;
  white-space: nowrap;
}

.lifetime-clock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lifetime-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.85);
  animation: pulse 1.6s infinite;
  flex-shrink: 0;
}

.lifetime-timer {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.06em;
  line-height: 1.2;
}

/* ----------------- COMPLETED / EXPIRED FOMO CARD STYLING ----------------- */
.lead-card.lead-card-completed {
  border-color: rgba(239, 68, 68, 0.38) !important;
  background: rgba(15, 23, 42, 0.88) !important;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.08);
}

.lead-card.lead-card-completed::before {
  background: linear-gradient(180deg, #ef4444, #f59e0b) !important;
  opacity: 0.85 !important;
}

.completed-banner-strip {
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.22) 0%, rgba(220, 38, 38, 0.12) 100%);
  border-bottom: 1px solid rgba(239, 68, 68, 0.45);
  color: #fca5a5;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  margin: -20px -20px 14px -20px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.completed-badge-icon {
  font-size: 0.78rem;
}

.strikethrough-title {
  text-decoration: line-through !important;
  text-decoration-color: #ef4444 !important;
  text-decoration-thickness: 2px !important;
  opacity: 0.72;
  color: #94a3b8 !important;
}

.strikethrough-content {
  text-decoration: line-through !important;
  text-decoration-color: rgba(239, 68, 68, 0.7) !important;
  text-decoration-thickness: 1.5px !important;
  opacity: 0.65;
  border-left-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.05) !important;
}

.budget-completed {
  color: #94a3b8 !important;
  text-decoration: line-through;
  opacity: 0.75;
}

.badge-completed-tag {
  background: rgba(239, 68, 68, 0.25) !important;
  color: #fca5a5 !important;
  border: 1px solid rgba(239, 68, 68, 0.5) !important;
  font-weight: 800 !important;
}

.lead-lifetime-badge.is-completed {
  background: rgba(239, 68, 68, 0.12) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
}

.lifetime-dot-completed {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.7);
  flex-shrink: 0;
}

.lifetime-status-text {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fca5a5;
  font-family: var(--font-sans);
}

.btn-completed-disabled {
  background: rgba(239, 68, 68, 0.14) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #fca5a5 !important;
  font-weight: 700 !important;
  cursor: not-allowed !important;
  opacity: 0.85;
}

/* ==========================================================================
   View 2: AI Deal Closer
   ========================================================================== */

.closer-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 24px;
}

.closer-sidebar {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.closer-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.closer-card-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
}

.prospect-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.prospect-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-glow-cyan);
}
.prospect-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.prospect-quote-box label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}
.quote-text {
  font-size: 0.92rem;
  color: #e2e8f0;
  background: rgba(0, 0, 0, 0.3);
  padding: 12px;
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

.lead-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.mini-metric {
  display: flex;
  flex-direction: column;
}
.mini-metric .label {
  font-size: 0.7rem;
  color: var(--text-muted);
}
.mini-metric .val {
  font-size: 0.88rem;
  font-weight: 700;
}
.text-emerald { color: var(--emerald-primary); }
.text-amber { color: var(--amber-primary); }
.text-cyan { color: var(--cyan-light); }

.stage-mover label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  display: block;
}
.stage-mover select {
  width: 100%;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  outline: none;
  cursor: pointer;
}

/* Closer Main Engine */
.closer-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.closer-main-header h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
}
.closer-main-header .subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.angle-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.angle-btn {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 13px;
  display: flex;
  align-items: stretch;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
}
.angle-btn:hover {
  background: rgba(30, 41, 59, 0.7);
  border-color: var(--border-hover);
}
.angle-btn.active {
  background: rgba(6, 182, 212, 0.12);
  border-color: var(--cyan-primary);
  box-shadow: 0 0 14px var(--cyan-glow);
}
.angle-left-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 8px;
  min-width: 24px;
}
.angle-icon {
  font-size: 1.25rem;
  line-height: 1.1;
}
.angle-lock {
  font-size: 0.82rem;
  line-height: 1;
  opacity: 0.9;
  margin-top: auto;
}
.angle-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  flex: 1;
}
.angle-text strong {
  display: block;
  font-size: 0.79rem;
  line-height: 1.28;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0;
}
.angle-text span {
  display: block;
  font-size: 0.69rem;
  line-height: 1.38;
  color: var(--text-muted);
}

/* Freelancer Signature Customizer Bar */
.pitch-signature-customizer {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sig-header-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.sig-header-info label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
}
.sig-header-info label svg {
  color: var(--cyan-light);
}
.sig-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 500;
}
.sig-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.sig-input-row input {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  color: #fff;
  font-size: 0.86rem;
  font-family: var(--font-sans);
  outline: none;
  transition: all var(--transition-fast);
}
.sig-input-row input:focus {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 8px var(--cyan-glow);
}
#btn-regenerate-pitch.loading svg {
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.pitch-output-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.output-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.copy-actions {
  display: flex;
  gap: 8px;
}

.pitch-text {
  width: 100%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  color: #f1f5f9;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.6;
  resize: vertical;
  outline: none;
}
.pitch-text:focus {
  border-color: var(--cyan-primary);
}

.pitch-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* ==========================================================================
   View 3: Pipeline CRM
   ========================================================================== */

.crm-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.crm-headline h2 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
}
.crm-headline p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.crm-kpis {
  display: flex;
  align-items: center;
  gap: 20px;
}
.kpi-box {
  display: flex;
  flex-direction: column;
  text-align: right;
}
.kpi-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}
.kpi-num {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
}

/* Kanban Board */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  min-height: 520px;
}

.kanban-col {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}
.col-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}
.col-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.col-indicator.cyan { background: var(--cyan-light); }
.col-indicator.amber { background: var(--amber-primary); }
.col-indicator.purple { background: var(--purple-primary); }
.col-indicator.emerald { background: var(--emerald-primary); }

.col-count {
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.col-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.kanban-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 14px;
  cursor: grab;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.kanban-card:hover {
  border-color: var(--cyan-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.kanban-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.kanban-card-author {
  font-size: 0.88rem;
  font-weight: 600;
}
.kanban-budget {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--emerald-primary);
  font-size: 0.88rem;
}
.kanban-content-preview {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.kanban-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.kanban-move-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.72rem;
  padding: 3px 6px;
  border-radius: 4px;
  cursor: pointer;
}
.kanban-move-btn:hover {
  color: var(--cyan-light);
  border-color: var(--cyan-primary);
}

/* ==========================================================================
   View 5: Pricing & Lifetime Deal Paywall
   ========================================================================== */

.pricing-headline {
  text-align: center;
  margin-bottom: 32px;
  padding: 36px 20px;
}
.pricing-headline h2 {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  margin: 10px 0;
}
.pricing-headline p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.pricing-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 1380px) {
  .pricing-cards-container {
    grid-template-columns: repeat(5, 1fr);
  }
}

.plan-includes-note {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--cyan-light);
  padding: 4px 8px;
  background: rgba(6, 182, 212, 0.08);
  border-radius: 4px;
  border-left: 2px solid var(--cyan-primary);
  margin-top: -6px;
}
.plan-includes-note.text-emerald {
  color: var(--emerald-primary);
  background: rgba(16, 185, 129, 0.08);
  border-left-color: var(--emerald-primary);
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  padding: 24px 20px;
}

.featured-ltd-card {
  border: 2px solid var(--emerald-primary);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.22);
  transform: translateY(-4px);
}
.featured-ribbon {
  position: absolute;
  top: -12px;
  right: 18px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}
.card-badge.badge-emerald {
  color: var(--emerald-primary);
}

.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
}

.price-val {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.price-val .currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.price-val .amount {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
}
.price-val .period {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.urgency-counter {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: #fca5a5;
  display: flex;
  align-items: center;
  gap: 6px;
}

.plan-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.full-width {
  width: 100%;
}

/* ==========================================================================
   Block 5: Lead Pack Calculator
   ========================================================================== */

.lead-pack-calculator-card {
  margin-top: 32px;
  padding: 30px 28px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.85) 100%);
  border: 1px solid var(--border-glow-cyan);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(6, 182, 212, 0.05);
  position: relative;
  overflow: hidden;
}

.pack-calc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pack-calc-title-box h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.pack-calc-title-box p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin: 4px 0 0 0;
}

.pack-calc-body {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 960px) {
  .pack-calc-body {
    grid-template-columns: 1fr;
  }
}

.pack-input-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pack-counter-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-pack-step {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-pack-step:hover {
  background: var(--cyan-primary);
  color: #000;
  border-color: var(--cyan-primary);
}

.pack-leads-input {
  width: 130px;
  height: 44px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid var(--cyan-primary);
  border-radius: var(--radius-sm);
  outline: none;
}

.pack-leads-slider {
  width: 100%;
  accent-color: var(--cyan-primary);
  cursor: pointer;
  margin: 6px 0;
}

.pack-presets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-pack-preset {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-pack-preset:hover, .btn-pack-preset.active {
  background: rgba(6, 182, 212, 0.18);
  border-color: var(--cyan-primary);
  color: #fff;
}

.pack-pricing-tiers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.tier-pill {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 6px 4px;
  text-align: center;
  font-size: 0.72rem;
  transition: all var(--transition-fast);
}

.tier-pill.active {
  border-color: var(--emerald-primary);
  background: rgba(16, 185, 129, 0.14);
  color: #fff;
}

.tier-pill .range {
  display: block;
  color: var(--text-muted);
  font-weight: 500;
}

.tier-pill .price {
  font-weight: 700;
  color: var(--emerald-primary);
}

.pack-calc-summary-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: center;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.1);
}

.pack-total-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.pack-total-val {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  color: var(--emerald-primary);
  line-height: 1;
}

.pack-unit-price-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid var(--cyan-primary);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.88rem;
  color: var(--cyan-light);
  font-weight: 600;
}

.discount-pill {
  background: var(--emerald-primary);
  color: #000;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.btn-buy-pack {
  font-size: 1rem;
  font-weight: 700;
  padding: 13px;
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   Modals
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}
.modal-overlay.active {
  display: flex;
  animation: modalFade 0.2s ease-in-out;
}
@keyframes modalFade {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-card {
  width: 100%;
  max-width: 520px;
  background: #0f172a;
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}
.btn-close-modal {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}
.btn-close-modal:hover { color: #fff; }

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.form-input {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
}
.form-input:focus {
  border-color: var(--cyan-primary);
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Payment Modal Specifics */
.payment-methods-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}
.method-tab {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 10px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.method-tab.active {
  background: rgba(6, 182, 212, 0.15);
  border-color: var(--cyan-primary);
  color: #fff;
}

.payment-method-view {
  display: none;
}
.payment-method-view.active {
  display: block;
}

.crypto-pay-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.3);
  padding: 14px;
  border-radius: var(--radius-sm);
}
.qr-img {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 4px;
}
.crypto-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.crypto-address-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.crypto-addr {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 8px;
  border-radius: 4px;
  word-break: break-all;
  color: var(--cyan-light);
}
.crypto-note {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.msg-box {
  display: none;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}
.msg-box.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}
.msg-box.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 20000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  background: #0f172a;
  border: 1px solid var(--border-glow-cyan);
  color: #fff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: toastSlide 0.25s ease-out;
}
@keyframes toastSlide {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   AI Deal Closer Top Bar & Manual Lead Entry
   ========================================================================== */

.closer-top-bar {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 18px 24px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.closer-top-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.closer-top-title-row h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0;
}

.btn-manual-entry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  box-shadow: 0 0 16px var(--cyan-glow);
  white-space: nowrap;
}

.btn-manual-entry-sidebar {
  border-style: dashed;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(6, 182, 212, 0.06);
}

.btn-manual-entry-sidebar:hover {
  background: rgba(6, 182, 212, 0.16);
  border-color: var(--cyan-light);
}

.manual-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(139, 92, 246, 0.18);
  border: 1px solid var(--purple-primary);
  color: #c4b5fd;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 4px;
}

.modal-instruction-text {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  background: rgba(6, 182, 212, 0.05);
  border-left: 3px solid var(--cyan-primary);
  padding: 10px 14px;
  border-radius: 0 6px 6px 0;
}

/* ==========================================================================
   Watchlist (Target Authors Monitor)
   ========================================================================== */

.btn-watchlist {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(139, 92, 246, 0.35));
  border: 1px solid var(--border-glow-cyan);
  box-shadow: 0 0 16px rgba(6, 182, 212, 0.3);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.btn-watchlist span,
.btn-watchlist svg {
  color: #ffffff !important;
  stroke: #ffffff;
}

.btn-watchlist:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.4), rgba(139, 92, 246, 0.5));
  box-shadow: 0 0 24px var(--cyan-glow);
  transform: translateY(-1px);
}

.modal-watchlist-card {
  max-width: 680px;
  width: 100%;
}

.watchlist-title-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid var(--cyan-primary);
  color: var(--cyan-light);
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 4px;
}

.watchlist-explainer-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(20, 28, 52, 0.95));
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.explainer-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--cyan-light);
  margin-bottom: 14px;
  font-weight: 600;
}

.explainer-icon {
  font-size: 1.1rem;
}

.explainer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

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

.explainer-item strong {
  color: #fff;
  display: block;
  margin-bottom: 3px;
  font-size: 0.85rem;
}

.step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid var(--cyan-primary);
  color: var(--cyan-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.watchlist-manager-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.watchlist-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.watchlist-input-row input {
  flex: 1;
  min-width: 200px;
}

.watchlist-platform-select {
  flex: 0 0 220px;
  min-width: 180px;
  max-width: 260px;
}

.watchlist-active-container {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 6px;
}

.watchlist-active-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.watchlist-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 38px;
}

.watchlist-tag {
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.35);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.watchlist-tag:hover {
  background: rgba(14, 165, 233, 0.2);
  border-color: var(--cyan-primary);
}

.watchlist-tag .tag-platform {
  font-size: 0.72rem;
  color: var(--cyan-light);
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 7px;
  border-radius: 10px;
}

.watchlist-tag .btn-remove-tag {
  background: transparent;
  border: none;
  color: #f87171;
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
  padding: 0 2px;
  transition: transform 0.15s ease;
}

.watchlist-tag .btn-remove-tag:hover {
  transform: scale(1.3);
  color: #ef4444;
}

.watchlist-settings-card {
  background: rgba(34, 197, 94, 0.06);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.84rem;
  color: #86efac;
  margin-top: 4px;
}

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Engine
   ========================================================================== */

@media (max-width: 1024px) {
  .header-container {
    gap: 12px;
  }
  .closer-layout {
    grid-template-columns: 1fr;
  }
  .pricing-cards-container {
    grid-template-columns: 1fr;
  }
  .featured-ltd-card {
    transform: none;
  }
  .kanban-board {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  body.dark-theme {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 16px));
  }

  /* Compact Safe-Area Sticky Header (Never Cut Off) */
  .app-header {
    padding-top: calc(16px + env(safe-area-inset-top, 10px));
    padding-bottom: 12px;
    padding-left: calc(14px + env(safe-area-inset-left, 0px));
    padding-right: calc(14px + env(safe-area-inset-right, 0px));
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 9, 14, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  }

  .header-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 42px;
  }

  .brand-group {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    flex-shrink: 0;
  }

  .logo-radar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 8px;
  }

  .brand-title {
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
  }

  .brand-tag {
    font-size: 0.58rem;
    padding: 1px 5px;
    border-radius: 4px;
    white-space: nowrap;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
  }

  .license-status-badge {
    padding: 4px 7px;
    font-size: 0.68rem;
    gap: 4px;
    max-width: 120px;
    border-radius: 6px;
  }

  .license-status-badge #label-license-plan {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #btn-open-activate {
    padding: 5px 8px;
    font-size: 0.70rem;
    gap: 4px;
    white-space: nowrap;
    border-radius: 6px;
  }

  #btn-open-watchlist {
    padding: 5px 8px;
    font-size: 0.70rem;
    border-radius: 6px;
  }
  #btn-open-watchlist span {
    display: none;
  }

  /* Mobile App-Style Bottom Navigation Dock */
  .nav-tabs {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(8, 12, 22, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 10px));
    margin: 0;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.65);
  }

  .nav-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 2px;
    font-size: 0.65rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    color: var(--text-muted);
    transition: all var(--transition-fast);
  }

  .nav-tab svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
  }

  .nav-tab .live-counter-badge,
  .nav-tab .stat-pill,
  .nav-tab .ltd-highlight-badge {
    display: none;
  }

  .nav-tab.active {
    color: var(--cyan-light);
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.35);
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.25);
  }

  /* Main Container With Generous Air */
  .main-content {
    padding: 18px 14px calc(88px + env(safe-area-inset-bottom, 16px)) 14px;
    max-width: 100vw;
    box-sizing: border-box;
  }

  /* GPU Lag Killer for iOS: disable heavy decorative blur orbs completely on mobile */
  .glow-orb {
    display: none !important;
    animation: none !important;
  }

  /* Replace heavy multi-layer backdrop blur with solid high-performance dark backgrounds */
  .lead-card,
  .metric-card,
  .radar-controls-card,
  .closer-sidebar,
  .closer-main,
  .kanban-column,
  .pricing-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #0d1322 !important;
  }

  /* Main Container With Proportional Air */
  .main-content {
    padding: 14px 10px calc(80px + env(safe-area-inset-bottom, 16px)) 10px;
    max-width: 100vw;
    box-sizing: border-box;
  }

  /* Tempo Hero Mobile Responsive — Remove Bulky 3D Graphic */
  .tempo-hero-container {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 20px;
    text-align: left;
  }

  .tempo-hero-title {
    font-size: 1.30rem;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .tempo-hero-desc {
    font-size: 0.80rem;
    line-height: 1.45;
    margin-bottom: 14px;
    color: #94a3b8;
  }

  .tempo-hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .btn-tempo-primary,
  .btn-tempo-secondary {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.82rem;
  }

  /* Remove Bulky Decorative 3D & Rotating Elements on Mobile for High FPS */
  .tempo-hero-right {
    display: none !important;
  }

  .tempo-bento-section {
    display: none !important;
  }

  /* 19 Platforms Carousel Mobile Optimizations */
  .tempo-logos-strip {
    padding: 14px 0 16px 0;
    margin-bottom: 20px;
  }

  .logos-strip-header {
    margin-bottom: 10px;
  }

  .logos-strip-title {
    font-size: 0.64rem;
    letter-spacing: 0.10em;
  }

  .platforms-carousel-wrapper {
    padding: 0;
  }

  /* Touch scrolling for carousel: hide PC arrows on mobile */
  .carousel-arrow {
    display: none !important;
  }

  .platforms-carousel-track {
    gap: 8px;
    padding: 4px 2px;
  }

  .carousel-platform-chip {
    padding: 6px 12px;
    font-size: 0.74rem;
    gap: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  }

  .chip-dot {
    width: 5px;
    height: 5px;
  }

  /* Metrics Strip: 2x2 Grid with Breathing Room */
  .metrics-strip {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 22px;
  }

  .metric-card {
    padding: 14px 12px;
    gap: 10px;
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  .metric-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
  }

  .metric-icon svg {
    width: 16px;
    height: 16px;
  }

  .metric-label {
    font-size: 0.62rem;
    line-height: 1.2;
    color: var(--text-secondary);
  }

  .metric-value {
    font-size: 0.90rem;
    line-height: 1.25;
    font-weight: 700;
  }

  .metric-value.link-text {
    font-size: 0.78rem;
  }

  /* Controls & Filters with Air */
  .radar-controls-card {
    padding: 16px 14px;
    margin-bottom: 22px;
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  }

  .search-box {
    min-width: 0;
    width: 100%;
  }

  .search-box input {
    font-size: 16px; /* Prevents iOS auto-zoom */
    padding: 10px 105px 10px 38px;
    border-radius: 8px;
  }
  .btn-do-search {
    padding: 0 10px;
    font-size: 0.8rem;
  }
  .btn-clear-search {
    right: 88px;
  }

  .filters-group {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .filter-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
  }

  .filter-dropdown label {
    font-size: 0.70rem;
    color: #cbd5e1;
    margin-bottom: 2px;
  }

  .custom-multiselect {
    width: 100%;
  }

  .multiselect-trigger-btn {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    justify-content: space-between;
    padding: 9px 12px;
    font-size: 0.78rem;
    border-radius: 8px;
  }

  .multiselect-dropdown-menu {
    position: fixed !important;
    top: auto !important;
    bottom: calc(68px + env(safe-area-inset-bottom, 12px)) !important;
    left: 10px !important;
    right: 10px !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    max-height: 52vh !important;
    z-index: 1050 !important;
    box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-md);
  }

  .filter-slider {
    width: 100%;
    justify-content: space-between;
    padding: 4px 0;
  }

  #btn-refresh-radar,
  #btn-sync-live {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.82rem;
    justify-content: center;
    border-radius: 8px;
  }

  /* Feed Header & Sorting */
  .feed-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-bottom: 16px;
  }

  .feed-title {
    font-size: 0.94rem;
    font-weight: 700;
  }

  .feed-header-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .feed-sort-wrapper {
    width: 100%;
    justify-content: space-between;
    padding: 6px 12px;
    border-radius: 8px;
  }

  .feed-sort-select {
    max-width: 65%;
    font-size: 0.75rem;
  }

  /* Leads Grid & Cards: Spacious and Elegant */
  .leads-grid {
    grid-template-columns: 1fr;
    gap: 16px; /* Generous breathing room between cards */
  }

  .lead-card {
    padding: 16px 14px;
    gap: 12px;
    border-radius: var(--radius-md);
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  }

  .lead-header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 4px;
  }

  .lead-badges {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    gap: 3px !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    text-align: right !important;
  }

  .lead-badges .badge,
  .lead-badges .score-badge {
    font-size: 0.46rem !important;
    padding: 2px 5px !important;
    border-radius: 4px !important;
    white-space: nowrap !important;
    align-self: flex-end !important;
  }

  .lead-body {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #cbd5e1;
    margin: 6px 0 10px 0;
  }

  .lead-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .lead-meta-left {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.72rem;
  }

  .lead-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 8px;
    width: 100%;
  }

  .lead-actions .btn {
    padding: 8px 6px;
    font-size: 0.72rem;
    justify-content: center;
    border-radius: 6px;
  }

  /* AI Deal Closer View */
  .closer-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 18px;
  }

  .closer-header .btn-manual-entry {
    width: 100%;
    justify-content: center;
    padding: 10px;
    font-size: 0.82rem;
    border-radius: 8px;
  }

  .closer-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .closer-sidebar,
  .closer-main {
    padding: 16px 14px;
    border-radius: var(--radius-md);
  }

  .lead-metrics-row {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .mini-metric {
    padding: 8px 6px;
    font-size: 0.72rem;
  }

  .pitch-action-row {
    flex-direction: column;
    gap: 10px;
  }

  .pitch-action-row .btn {
    width: 100%;
    padding: 10px;
    font-size: 0.82rem;
    border-radius: 8px;
  }

  /* CRM Funnel View: Swipeable Kanban */
  .crm-header-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 18px;
  }

  .crm-metrics-strip {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
  }

  .kanban-board {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    padding-bottom: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .kanban-column {
    min-width: 84vw;
    max-width: 86vw;
    scroll-snap-align: center;
    flex-shrink: 0;
    padding: 14px;
    border-radius: var(--radius-md);
  }

  /* Pricing / LTD View */
  .pricing-cards-container {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 24px;
  }

  .pricing-card {
    padding: 22px 16px;
    border-radius: var(--radius-lg);
    transform: none !important;
  }

  .leads-pack-calculator-card {
    padding: 18px 14px;
    border-radius: var(--radius-md);
  }

  .pack-presets-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  /* Modals: Mobile Bottom Sheet */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .modal-card {
    width: 100%;
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 88vh;
    overflow-y: auto;
    padding: 20px 16px calc(24px + env(safe-area-inset-bottom, 12px));
    margin: 0;
    animation: slideUpModal 0.25s ease-out;
  }

  @keyframes slideUpModal {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .modal-input,
  .form-input {
    font-size: 16px; /* Prevents auto-zoom on iOS */
  }
}

@media (max-width: 480px) {
  .app-header {
    padding-top: calc(18px + env(safe-area-inset-top, 12px));
    padding-bottom: 10px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .header-actions {
    gap: 5px;
  }

  .license-status-badge {
    max-width: 105px;
    padding: 3px 6px;
    font-size: 0.65rem;
  }

  #btn-open-activate {
    padding: 4px 6px;
    font-size: 0.68rem;
  }

  .brand-title {
    font-size: 0.88rem;
  }

  .brand-tag {
    display: none; /* Hide tag on tiny screens to preserve logo space */
  }

  .main-content {
    padding: 14px 10px calc(85px + env(safe-area-inset-bottom, 16px)) 10px;
  }

  .tempo-hero-title {
    font-size: 1.22rem;
    line-height: 1.25;
  }

  .tempo-hero-desc {
    font-size: 0.78rem;
  }

  .metrics-strip {
    gap: 10px;
    margin-bottom: 18px;
  }

  .metric-card {
    padding: 12px 10px;
  }

  .metric-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }

  .metric-value {
    font-size: 0.86rem;
  }

  .leads-grid {
    gap: 14px;
  }

  .lead-card {
    padding: 14px 12px;
  }

  .lead-actions {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 6px;
  }

  .lead-actions .btn {
    font-size: 0.70rem;
    padding: 7px 4px;
  }
}

/* ==========================================================================
   Demo Leads, Contact Masking & Limit Paywall Styles
   ========================================================================== */

.masked-author {
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  user-select: none;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.unlocked-author {
  color: #4ade80 !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-reveal-contact {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(217, 119, 6, 0.32));
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #fbbf24;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.76rem;
}

.btn-reveal-contact:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.4), rgba(217, 119, 6, 0.5));
  border-color: #f59e0b;
  color: #fff;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
  transform: translateY(-1px);
}

.btn-reveal-contact.limit-reached {
  background: rgba(239, 68, 68, 0.16);
  border-color: rgba(239, 68, 68, 0.45);
  color: #f87171;
}

.btn-reveal-contact.limit-reached:hover {
  background: rgba(239, 68, 68, 0.28);
  border-color: #ef4444;
  color: #fff;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
}

.badge-unlocked {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
  font-size: 0.72rem;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

/* Expiry / Warning Banner */
.license-warning-banner {
  margin: 0 0 20px 0;
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.18), rgba(239, 68, 68, 0.18));
  border: 1px solid rgba(245, 158, 11, 0.5);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.15);
  animation: pulseBanner 2.5s infinite;
}

@keyframes pulseBanner {
  0%, 100% { border-color: rgba(245, 158, 11, 0.5); }
  50% { border-color: rgba(239, 68, 68, 0.8); }
}

.warning-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.warning-banner-content .warning-icon {
  font-size: 1.5rem;
}

.warning-banner-content .warning-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.warning-banner-content strong {
  color: #fef08a;
  font-size: 0.92rem;
}

.warning-banner-content span {
  color: #e2e8f0;
  font-size: 0.82rem;
}

.btn-warning-action {
  background: #f59e0b;
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-warning-action:hover {
  background: #fbbf24;
  transform: scale(1.02);
}

/* Modal Limit Reached */
.modal-limit-card {
  max-width: 520px;
}

.limit-header-badge {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 4px;
}

.limit-status-icon {
  font-size: 2.8rem;
  margin: 8px 0 14px 0;
  animation: bounceLock 0.6s ease;
}

@keyframes bounceLock {
  0% { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.limit-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.limit-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}

.limit-contact-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-glow-cyan);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  text-align: left;
}

.contact-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.contact-box-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}

.limit-tg-btn {
  text-decoration: none;
  text-align: center;
  font-weight: 700;
  display: block;
}

.limit-quick-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* AI Deal Closer Paywall Lock Overlay */
#view-closer {
  position: relative;
}

.closer-paywall-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 520px;
  background: rgba(10, 15, 29, 0.88);
  backdrop-filter: blur(12px);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  padding: 24px;
}

.closer-paywall-card {
  max-width: 480px;
  text-align: center;
  padding: 36px 30px;
  border: 1px solid var(--border-glow-cyan);
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.25);
  animation: fadeIn 0.3s ease;
  background: rgba(15, 23, 42, 0.95);
  border-radius: var(--radius-md);
}

.paywall-lock-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.closer-paywall-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #fff;
}

.closer-paywall-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 18px;
}

.paywall-price-highlight {
  background: rgba(6, 182, 212, 0.1);
  border: 1px dashed var(--border-glow-cyan);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--cyan-light);
  margin-bottom: 20px;
}

/* Locked Offer Button State */
.btn-open-closer.limit-reached {
  background: rgba(239, 68, 68, 0.18) !important;
  border: 1px solid rgba(239, 68, 68, 0.5) !important;
  color: #fca5a5 !important;
  box-shadow: none !important;
}

.btn-open-closer.limit-reached:hover {
  background: rgba(239, 68, 68, 0.3) !important;
  border-color: #ef4444 !important;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4) !important;
}

/* ==========================================================================
   UNIFIED BRAND BUTTONS PALETTE (Emerald Badge + Bold Black Font)
   Preserves existing button dimensions while unifying all action/payment buttons
   across the entire application (strictly excluding header buttons).
   ========================================================================== */

body .pricing-card .btn-checkout-trigger,
body .btn-buy-pack,
body .btn-tempo-secondary,
body .btn-do-search,
body #btn-sync-live,
body .lead-card-footer .btn:not(.limit-reached):not(.btn-completed-disabled),
body .btn-reveal-contact:not(.limit-reached),
body .btn-quick-link,
body .btn-quick-post,
body .btn-open-closer:not(.limit-reached),
body .closer-header .btn-manual-entry,
body .pitch-action-row .btn,
body .modal-footer .btn-primary,
body #btn-confirm-checkout,
body #btn-submit-activate,
body #btn-submit-add-lead,
body #btn-paywall-ltd,
body #btn-limit-to-activate,
body #btn-limit-to-pricing,
body #btn-load-more {
  background: #10b981 !important;
  color: #000000 !important;
  font-weight: 800 !important;
  border-radius: 8px !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.28) !important;
  text-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body .pricing-card .btn-checkout-trigger:hover,
body .btn-buy-pack:hover,
body .btn-tempo-secondary:hover,
body .btn-do-search:hover,
body #btn-sync-live:hover,
body .lead-card-footer .btn:not(.limit-reached):not(.btn-completed-disabled):hover,
body .btn-reveal-contact:not(.limit-reached):hover,
body .btn-quick-link:hover,
body .btn-quick-post:hover,
body .btn-open-closer:not(.limit-reached):hover,
body .closer-header .btn-manual-entry:hover,
body .pitch-action-row .btn:hover,
body .modal-footer .btn-primary:hover,
body #btn-confirm-checkout:hover,
body #btn-submit-activate:hover,
body #btn-submit-add-lead:hover,
body #btn-paywall-ltd:hover,
body #btn-limit-to-activate:hover,
body #btn-limit-to-pricing:hover,
body #btn-load-more:hover {
  background: #34d399 !important;
  color: #000000 !important;
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5) !important;
  transform: translateY(-1px) !important;
}

body .pricing-card .btn-checkout-trigger svg,
body .btn-buy-pack svg,
body .btn-tempo-secondary svg,
body .btn-do-search svg,
body #btn-sync-live svg,
body .lead-card-footer .btn svg,
body .closer-header .btn-manual-entry svg,
body .pitch-action-row .btn svg,
body .modal-footer .btn-primary svg {
  color: #000000 !important;
  stroke: #000000 !important;
}

/* ==========================================================================
   EMERALD CTA BUTTON: "ПОПРОБОВАТЬ БЕСПЛАТНО" (matches .radar-filters-title)
   ========================================================================== */
body #btn-tempo-start-scan,
body .btn-tempo-primary {
  background: #10b981 !important;
  color: #000000 !important;
  font-family: var(--font-display), var(--font-sans), sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em;
  border-radius: 8px !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.32) !important;
  text-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body #btn-tempo-start-scan:hover,
body .btn-tempo-primary:hover {
  background: #34d399 !important;
  color: #000000 !important;
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5) !important;
  transform: translateY(-2px) !important;
}

body #btn-tempo-start-scan svg,
body .btn-tempo-primary svg {
  color: #000000 !important;
  stroke: #000000 !important;
  stroke-width: 2.5 !important;
}

/* ==========================================================================
   MOBILE CRO & THUMB-ZONE PERFORMANCE OVERHAUL (v5.22)
   ========================================================================== */

/* Universal mobile touch ergonomics: remove 300ms tap delay & gray flash */
* {
  -webkit-tap-highlight-color: transparent;
}

button, a, input, select, textarea, .nav-tab, .platform-chip, .btn {
  touch-action: manipulation;
}

/* Sticky Mobile Action Bar (Hidden on desktop, active on mobile screens <= 768px) */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  body.dark-theme {
    padding-bottom: calc(90px + env(safe-area-inset-bottom, 16px)) !important;
  }

  .mobile-sticky-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: calc(10px + env(safe-area-inset-bottom, 8px));
    left: 12px;
    right: 12px;
    height: 56px;
    background: rgba(8, 12, 19, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 1px rgba(255, 255, 255, 0.2);
    z-index: 990;
    padding: 4px 8px;
    gap: 6px;
  }

  .mobile-bar-btn {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 44px;
    border-radius: 10px;
    border: none;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.12s ease, opacity 0.12s ease;
    user-select: none;
  }

  .mobile-bar-btn:active {
    transform: scale(0.96);
  }

  /* Red Radar Primary Trigger */
  .mobile-bar-btn.btn-radar-action {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(239, 68, 68, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .mobile-bar-btn.btn-radar-action svg {
    color: #ffffff;
    stroke: #ffffff;
  }

  /* Emerald Tariffs Trigger */
  .mobile-bar-btn.btn-tariffs-action {
    background: #10b981;
    color: #000000;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
  }

  .mobile-bar-btn.btn-tariffs-action svg {
    color: #000000;
    stroke: #000000;
  }

  /* Emerald Live Sync Trigger */
  .mobile-bar-btn.btn-sync-action {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
  }

  .mobile-bar-btn.btn-sync-action svg {
    color: #34d399;
    stroke: #34d399;
  }

  /* Mobile Touch-target Optimization: minimum 44px height */
  .btn, .nav-tab, .btn-checkout-trigger, .lead-card-footer .btn {
    min-height: 44px;
  }

  /* Mobile bottom sheet enhancement for modals */
  .modal-dialog {
    margin: 0;
    width: 100%;
    max-width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 20px 20px 0 0 !important;
    max-height: 90vh;
    overflow-y: auto;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 12px));
    border-bottom: none;
    animation: mobileSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes mobileSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
}

/* ============================================================
   MOTIVATIONAL TELEGRAM CHANNEL BONUS BANNER
   ============================================================ */
.channel-bonus-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.75) 50%, rgba(14, 116, 144, 0.25) 100%);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 8px 32px rgba(6, 182, 212, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 16px 22px;
  margin-bottom: 22px;
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.channel-bonus-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #38bdf8 0%, #34d399 100%);
}

.channel-bonus-content {
  flex: 1;
  min-width: 260px;
}

.channel-bonus-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  padding: 3px 10px;
  margin-bottom: 6px;
}

.bonus-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 8px #38bdf8;
  animation: pulse-dot 1.8s infinite;
}

.channel-bonus-headline strong {
  font-size: 1.05rem;
  color: #f8fafc;
  line-height: 1.35;
}

.channel-bonus-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 4px 0 0 0;
  line-height: 1.45;
}

.channel-bonus-desc b {
  color: #38bdf8;
}

.channel-bonus-action {
  flex-shrink: 0;
}

.btn-channel-gift {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 10px 18px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.35);
  text-decoration: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-channel-gift:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(14, 165, 233, 0.5);
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
}

@media (max-width: 768px) {
  .channel-bonus-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 16px;
  }
  .btn-channel-gift {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Telegram Alerts & Bot Settings Modal
   ========================================================================== */
.modal-alerts-card {
  max-width: 600px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
}

.alerts-tabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
}

.alerts-tab-btn {
  flex: 1;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.alerts-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.alerts-tab-btn.active {
  background: rgba(6, 182, 212, 0.14) !important;
  border: 1px solid rgba(6, 182, 212, 0.5) !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(6, 182, 212, 0.2);
}

.btn-score-preset {
  flex: 1;
  padding: 6px;
  font-size: 0.78rem;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.18s ease;
}

.btn-score-preset:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-score-preset.active {
  background: rgba(6, 182, 212, 0.2) !important;
  border-color: #06b6d4 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.25);
}

/* ==========================================================================
   REVIEWS & CLIENT CASE STUDIES SECTION
   ========================================================================== */
.reviews-section {
  margin-top: 48px;
  padding: 36px 24px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(3, 7, 18, 0.7) 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.reviews-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 36px auto;
}

.reviews-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.reviews-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.reviews-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 22px;
}

.review-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(6, 182, 212, 0.4);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 20px rgba(6, 182, 212, 0.1);
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.review-user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(6, 182, 212, 0.5);
}

.review-user-name {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
}

.review-user-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  letter-spacing: 2px;
}

.review-metric-pill {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #34d399;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0 0 18px 0;
  flex-grow: 1;
}

.review-footer-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.76rem;
}

.tag-verified {
  color: var(--cyan-light);
  font-weight: 600;
}

.tag-platform {
  color: var(--text-muted);
}

/* ==========================================================================
   INTERACTIVE FAQ ACCORDION SECTION
   ========================================================================== */
.faq-section {
  margin-top: 48px;
  padding: 36px 24px;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.7) 0%, rgba(15, 23, 42, 0.4) 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px auto;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--cyan-light);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.faq-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

.faq-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item.active {
  border-color: rgba(6, 182, 212, 0.45);
  background: rgba(15, 23, 42, 0.9);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-sans);
}

.faq-question:hover {
  color: var(--cyan-light);
}

.faq-icon {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cyan-light);
  transition: transform 0.24s ease;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  padding: 0 20px;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  transition: max-height 0.35s ease-in-out, padding 0.2s ease;
  padding: 0 20px 20px 20px;
}

.faq-answer p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}







/* ==========================================================================
   V9.1 REFINEMENTS: LOGO MARQUEE, STACKED FILTER LABELS, HEADER LAYOUT & FRESH BADGE
   ========================================================================== */

/* Header: Logo left, 3 unified tabs center, Тарифы + Активировать ключ right */
.header-container {
  justify-content: space-between;
}

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

.header-pricing-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.header-pricing-btn:hover,
.header-pricing-btn.active {
  background: rgba(6, 182, 212, 0.14);
  border-color: rgba(6, 182, 212, 0.45);
  color: #ffffff;
}

/* Autonomous Continuous Scrolling Logos Marquee */
.platforms-marquee-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.platforms-logo-marquee {
  display: flex !important;
  align-items: center;
  gap: 18px;
  width: max-content !important;
  overflow: visible !important;
  animation: rp-logo-marquee-scroll 38s linear infinite;
  will-change: transform;
}

.platforms-marquee-viewport:hover .platforms-logo-marquee {
  animation-play-state: paused;
}

@keyframes rp-logo-marquee-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.logo-only-chip {
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 6px !important;
  border-radius: 11px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: default;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.logo-only-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(56, 189, 248, 0.5);
}

.platform-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

/* Stacked Filter Labels Above Inputs (Ниша, Формат оплаты, Бюджет ($)) */
.filters-group-stacked {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
}

.filter-stacked {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  min-width: 210px;
  flex: 1 1 210px;
}

.filter-stacked.is-hidden {
  display: none !important;
}

.filter-stacked > label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #cbd5e1;
  margin: 0;
  white-space: nowrap;
}

.filter-stacked .custom-multiselect,
.filter-stacked .multiselect-trigger-btn {
  width: 100%;
  height: 42px;
}

.btn-find-now {
  height: 42px;
  padding: 0 22px;
  font-weight: 700;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Published-Ago Badge & Fire Icon (<6 hours) */
.lead-lifetime-badge.is-fresh-hot {
  border-color: rgba(249, 115, 22, 0.45);
  background: rgba(249, 115, 22, 0.08);
}

.fresh-fire-icon {
  font-size: 0.92rem;
  line-height: 1;
  display: inline-block;
}

/* ==========================================================================
   V9.3: STRICT CAROUSEL CONTAINMENT & COMPLETE MOBILE / TABLET RESPONSIVENESS
   ========================================================================== */

/* Prevent flex/grid children from expanding past container width due to wide marquee track */
.tempo-hero-section,
.tempo-hero-container,
.tempo-hero-left,
.tempo-hero-right,
.hero-inline-carousel,
.platforms-marquee-viewport {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.tempo-hero-section {
  overflow-x: clip;
}

.hero-inline-carousel {
  width: 100%;
  max-width: 100%;
  overflow: hidden !important;
  contain: inline-size layout;
}

.platforms-marquee-viewport {
  width: 100%;
  max-width: 100%;
  overflow: hidden !important;
  display: block;
}

/* Tablet Layout (<= 1024px) */
@media (max-width: 1024px) {
  .header-container {
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 10px 16px;
  }

  .nav-tabs {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .tempo-hero-container {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .tempo-hero-left,
  .tempo-hero-right {
    width: 100%;
    max-width: 100%;
  }

  .closer-layout {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile Layout (<= 768px) */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100vw;
  }

  .main-content {
    padding: 14px 12px 92px !important;
    max-width: 100%;
    overflow-x: clip;
  }

  /* Header */
  .app-header {
    position: sticky;
    top: 0;
    z-index: 90;
  }

  .header-container {
    padding: 10px 12px !important;
    gap: 8px !important;
  }

  .brand-title {
    font-size: 1.05rem !important;
  }

  .brand-tag {
    font-size: 0.62rem !important;
  }

  .header-actions {
    gap: 6px !important;
    margin-left: auto;
  }

  .header-pricing-btn {
    padding: 7px 10px !important;
    font-size: 0.8rem !important;
  }

  #btn-open-activate {
    padding: 7px 10px !important;
    font-size: 0.78rem !important;
    max-width: 170px;
  }

  .nav-tabs {
    order: 3;
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px !important;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-tabs .nav-tab {
    justify-content: center;
    padding: 7px 6px !important;
    font-size: 0.75rem !important;
    gap: 4px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-tabs .nav-tab svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  /* Hero */
  .tempo-hero-section {
    padding: 18px 0 12px !important;
  }

  .tempo-hero-title {
    font-size: 1.65rem !important;
    line-height: 1.18 !important;
    word-break: break-word;
  }

  .tempo-hero-desc {
    font-size: 0.92rem !important;
    margin-bottom: 14px !important;
  }

  .hero-inline-carousel {
    margin: 0 0 18px 0 !important;
    padding: 10px 0 !important;
  }

  .logo-only-chip {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .platform-logo-img {
    width: 24px;
    height: 24px;
  }

  .tempo-hero-actions {
    width: 100%;
  }

  .btn-tempo-primary {
    width: 100%;
    justify-content: center;
    padding: 13px 16px !important;
    font-size: 0.92rem !important;
  }

  .tempo-cards-composition {
    transform: none !important;
    max-width: 100%;
  }

  .tempo-metal-card,
  .tempo-balance-card {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin: 0 !important;
  }

  /* Search & Filters */
  .radar-controls-card {
    padding: 14px 12px !important;
  }

  .search-box {
    flex-wrap: nowrap;
    padding: 4px 6px 4px 12px !important;
  }

  .search-box input {
    font-size: 0.88rem !important;
    min-width: 0;
  }

  .btn-do-search {
    padding: 8px 12px !important;
    font-size: 0.82rem !important;
  }

  .btn-do-search span {
    display: none;
  }

  .filters-group-stacked {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .filter-stacked {
    min-width: 0 !important;
    width: 100% !important;
    flex: 1 1 auto !important;
  }

  .btn-find-now {
    width: 100% !important;
    justify-content: center;
  }

  /* Feed Header & Dual Sort */
  .feed-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .feed-header-controls {
    width: 100%;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .feed-sort-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    gap: 4px !important;
  }

  .feed-sort-select {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Lead Cards Grid */
  .leads-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .lead-card {
    padding: 14px !important;
  }

  .lead-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .lead-badges {
    justify-content: flex-start !important;
    flex-wrap: wrap;
  }

  .lead-meta-strip {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .lead-meta-right {
    align-items: flex-start !important;
    width: 100%;
  }

  .lead-card-footer {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .lead-card-footer > div {
    width: 100%;
    justify-content: stretch !important;
  }

  .lead-card-footer .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  /* AI Deal Closer */
  .closer-top-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px !important;
  }

  .closer-sidebar,
  .closer-main {
    padding: 14px !important;
  }

  .angle-selector {
    grid-template-columns: 1fr !important;
  }

  .sig-input-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .output-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .copy-actions {
    width: 100%;
    display: flex;
    gap: 8px;
  }

  .copy-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .pitch-footer-actions {
    grid-template-columns: 1fr !important;
    display: grid !important;
    gap: 8px !important;
  }

  .pitch-footer-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Pricing */
  .pricing-cards-container {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* CRM Kanban */
  .crm-header-card {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 14px !important;
  }

  .crm-kpis {
    grid-template-columns: 1fr !important;
    width: 100%;
  }

  .kanban-board {
    grid-template-columns: 1fr !important;
  }

  /* Modals */
  .modal-overlay {
    padding: 10px !important;
    align-items: flex-end !important;
  }

  .modal-card {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    border-radius: 16px 16px 10px 10px !important;
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .watchlist-input-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .explainer-grid {
    grid-template-columns: 1fr !important;
  }

  /* Footer */
  .app-footer {
    padding: 20px 14px !important;
    margin-bottom: 12px;
  }
}

/* Small Mobile Phones (<= 420px) */
@media (max-width: 420px) {
  .brand-tag {
    display: none !important;
  }

  .tempo-hero-title {
    font-size: 1.42rem !important;
  }

  .nav-tabs .nav-tab {
    font-size: 0.7rem !important;
    padding: 6px 4px !important;
  }
}


/* ==========================================================================
   FAVORITES STAR BUTTON & HEADER FAVORITES NAV (v9.6)
   ========================================================================== */
.nav-fav-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  margin-left: 5px;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fbbf24;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
}

#tab-favorites.has-favorites svg,
#tab-favorites.active svg {
  color: #fbbf24;
  stroke: #fbbf24;
  fill: rgba(251, 191, 36, 0.28);
}

#tab-favorites.active {
  border-color: rgba(251, 191, 36, 0.5) !important;
  background: rgba(251, 191, 36, 0.12) !important;
  color: #fde68a !important;
}

.header-cabinet-btn.active {
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.15) !important;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
}

.btn-favorite-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 23, 42, 0.72);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
  padding: 0;
}

.btn-favorite-star:hover {
  border-color: rgba(251, 191, 36, 0.55);
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
  transform: scale(1.08);
}

.btn-favorite-star.is-favorite {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.65);
  background: rgba(251, 191, 36, 0.16);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.35);
}

.btn-favorite-star.is-favorite svg {
  fill: #fbbf24;
  stroke: #fbbf24;
  filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.65));
}

.favorites-mode-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 18px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.14) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

.favorites-mode-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.favorites-mode-star {
  font-size: 1.4rem;
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

.favorites-mode-left strong {
  display: block;
  font-size: 0.96rem;
  color: #fef3c7;
}

.favorites-mode-left span {
  font-size: 0.8rem;
  color: #cbd5e1;
}

/* ==========================================================================
   PERSONAL CABINET VIEW (#view-cabinet) — UNIFIED EMERALD & VIP GOLD DESIGN
   ========================================================================== */
.cabinet-shell {
  max-width: 780px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cabinet-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}

.cabinet-top-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cabinet-page-title {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #f8fafc;
}

.cabinet-page-title svg {
  color: #10b981;
}

.cabinet-owner-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.28);
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-mono);
}

.cabinet-owner-pill.is-active {
  background: rgba(16, 185, 129, 0.14);
  border-color: rgba(16, 185, 129, 0.42);
  color: #34d399;
}

/* 1. Top Status Bar */
.cabinet-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
}

.cabinet-status-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #e2e8f0;
}

.cabinet-status-tariff-btn {
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(251, 191, 36, 0.12);
  border: 1px solid rgba(251, 191, 36, 0.45);
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.cabinet-status-tariff-btn:hover {
  background: rgba(251, 191, 36, 0.24);
  color: #ffffff;
}

/* Generic Cabinet Card */
.cabinet-card {
  background: rgba(11, 17, 30, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.cabinet-section-heading {
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #94a3b8;
  margin: 4px 0 -6px 2px;
  letter-spacing: 0.01em;
}

/* 2. Access Card */
.cabinet-access-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.cabinet-access-title {
  margin: 0 0 6px;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.cabinet-access-plan {
  margin: 0 0 4px;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.cabinet-access-remaining {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #34d399;
}

.cabinet-tier-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
  white-space: nowrap;
}

.cabinet-tier-badge.badge-is-emerald {
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.45);
}

.cabinet-tier-badge.badge-is-gold {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.25), rgba(217, 119, 6, 0.25));
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.55);
}

/* Unified Emerald CTA Button inside Cabinet */
.cabinet-cta-emerald {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #10b981;
  color: #000000;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 0.94rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.cabinet-cta-emerald:hover {
  background: #34d399;
  color: #000000;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5);
}

.cabinet-cta-emerald:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* 3. Tabs & Orders List */
.cabinet-tabs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
  padding: 4px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cabinet-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cabinet-tab-btn.active {
  background: rgba(30, 41, 59, 0.95);
  border-color: rgba(16, 185, 129, 0.38);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.cab-tab-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 700;
}

.cab-tab-sub {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

.cabinet-tab-btn.active .cab-tab-sub {
  color: #34d399;
}

.cab-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  font-size: 0.74rem;
  font-weight: 800;
}

.cabinet-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
}

.cabinet-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.18s ease;
}

.cabinet-order-row:hover {
  border-color: rgba(16, 185, 129, 0.35);
}

.cabinet-order-info {
  min-width: 0;
  flex: 1;
}

.cabinet-order-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 4px;
}

.cabinet-order-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: #94a3b8;
}

.cabinet-order-platform {
  color: #34d399;
  font-weight: 600;
}

.cabinet-order-budget {
  color: #e2e8f0;
  font-weight: 700;
  font-family: var(--font-mono);
}

.cabinet-order-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cab-btn-open {
  padding: 7px 14px;
  border-radius: 999px;
  border: none;
  background: #10b981;
  color: #000000;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.16s ease;
}

.cab-btn-open:hover {
  background: #34d399;
}

.cab-btn-go {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.45);
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.16s ease;
}

.cab-btn-go:hover {
  background: rgba(16, 185, 129, 0.25);
  color: #ffffff;
}

.cab-btn-unstar {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.45);
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.16s ease;
}

.cab-btn-unstar:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}

.cabinet-empty-state {
  text-align: center;
  padding: 26px 16px;
  color: #94a3b8;
  font-size: 0.86rem;
  line-height: 1.5;
}

/* 4. Notifications Card */
.cabinet-notify-title {
  margin: 0 0 6px;
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
}

.cabinet-notify-desc {
  margin: 0 0 14px;
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.45;
}

/* 5. VIP AI Gold Card */
.cabinet-vip-card {
  border: 1px solid rgba(251, 191, 36, 0.48);
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.08) 0%, rgba(11, 17, 30, 0.95) 55%);
  box-shadow: 0 12px 34px rgba(217, 119, 6, 0.14);
}

.cabinet-vip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.cabinet-vip-header h3 {
  margin: 0;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fef3c7;
}

.cabinet-vip-status-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #000000;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.cabinet-vip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.cabinet-vip-feature {
  padding: 13px 14px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(251, 191, 36, 0.3);
  cursor: pointer;
  transition: all 0.18s ease;
}

.cabinet-vip-feature:hover {
  border-color: rgba(251, 191, 36, 0.7);
  transform: translateY(-1px);
}

.cabinet-vip-feature-wide {
  grid-column: 1 / -1;
}

.vip-feat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.vip-feat-top strong {
  font-size: 0.92rem;
  color: #ffffff;
}

.vip-mini-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #d97706, #fbbf24);
  color: #000000;
  font-size: 0.66rem;
  font-weight: 900;
  white-space: nowrap;
}

.vip-feat-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.vip-feat-lock {
  font-size: 0.95rem;
  flex-shrink: 0;
}

.cabinet-cta-gold {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border-radius: 999px;
  border: 1px solid rgba(254, 243, 199, 0.35);
  background: linear-gradient(90deg, #d97706 0%, #fbbf24 50%, #f59e0b 100%);
  color: #000000;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.38);
}

.cabinet-cta-gold:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.55);
}

.cabinet-cta-gold:disabled {
  opacity: 0.82;
  cursor: default;
}

/* 6. Key Management Card */
.cabinet-key-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.cabinet-key-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cabinet-key-label {
  font-size: 0.76rem;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.cabinet-key-value {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: #34d399;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 5px 10px;
  border-radius: 8px;
  word-break: break-all;
}

.cabinet-key-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-danger-outline {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  border-radius: 8px;
  cursor: pointer;
}

.btn-danger-outline:hover {
  background: rgba(239, 68, 68, 0.22);
  color: #ffffff;
}

.cabinet-guest-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.cabinet-guest-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}

.cabinet-guest-box-head strong {
  color: #34d399;
  font-size: 0.94rem;
}

.cabinet-guest-box-desc {
  margin: 0 0 12px;
  font-size: 0.82rem;
  color: #cbd5e1;
  line-height: 1.45;
}

.cabinet-inline-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cabinet-inline-form .form-input {
  flex: 1;
  min-width: 190px;
}

.cabinet-inline-btn {
  width: auto !important;
  padding: 10px 20px !important;
  border-radius: 10px !important;
  white-space: nowrap;
}

.cabinet-key-form-panel {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cabinet-key-form-title {
  margin: 0 0 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #e2e8f0;
}

.cabinet-key-form-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr auto;
  gap: 8px;
}

@media (max-width: 768px) {
  .cabinet-shell {
    gap: 14px;
  }
  .cabinet-card {
    padding: 16px;
  }
  .cabinet-status-bar {
    flex-wrap: wrap;
  }
  .cabinet-vip-grid {
    grid-template-columns: 1fr;
  }
  .cabinet-key-form-grid {
    grid-template-columns: 1fr;
  }
  .cabinet-inline-btn {
    width: 100% !important;
  }
  .cabinet-order-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .cabinet-order-actions {
    width: 100%;
    justify-content: flex-end;
  }
}


/* ==========================================================================
   HOME GUEST SHOWCASE: DUPLICATED TARIFFS + HOW IT WORKS + BOTTOM CTA (v9.8)
   ========================================================================== */
.home-guest-showcase {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.home-pricing-section {
  width: 100%;
}

.home-how-it-works-section {
  width: 100%;
  margin-top: 12px;
}

.how-it-works-heading {
  text-align: center;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 28px;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.how-step-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
  border-radius: 18px;
  background: rgba(11, 17, 30, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.how-step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(16, 185, 129, 0.45);
}

.how-step-num {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border: 1.5px solid rgba(16, 185, 129, 0.52);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.18);
}

.how-step-body h3 {
  margin: 0 0 6px;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.how-step-body p {
  margin: 0;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Bottom Free Trial CTA Card */
.home-bottom-cta-section {
  width: 100%;
  margin-top: 8px;
}

.bottom-cta-card {
  max-width: 780px;
  margin: 0 auto;
  padding: 36px 28px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.09) 0%, rgba(11, 17, 30, 0.94) 100%);
  border: 1px solid rgba(16, 185, 129, 0.32);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42), 0 0 32px rgba(16, 185, 129, 0.1);
}

.bottom-cta-title {
  margin: 0 0 12px;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #f8fafc;
}

.bottom-cta-desc {
  margin: 0 0 24px;
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.55;
}

.bottom-cta-emerald-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 310px;
  max-width: 100%;
  padding: 16px 34px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #10b981;
  color: #000000;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 1.02rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.38);
}

.bottom-cta-emerald-btn:hover {
  background: #34d399;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(16, 185, 129, 0.55);
}

.vip-upgrade-modal-card {
  border: 1px solid rgba(251, 191, 36, 0.45) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 32px rgba(251, 191, 36, 0.14) !important;
}

/* Tablet & Mobile: How It Works vertical cards matching mobile screenshot */
@media (max-width: 1024px) {
  .how-it-works-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .home-guest-showcase {
    margin-top: 34px;
    gap: 36px;
  }
  .how-it-works-heading {
    font-size: 1.65rem;
    margin-bottom: 18px;
  }
  .how-it-works-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .how-step-card {
    flex-direction: row;
    align-items: center;
    padding: 16px;
    gap: 14px;
  }
  .how-step-num {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  .how-step-body h3 {
    font-size: 1.02rem;
    margin-bottom: 4px;
  }
  .how-step-body p {
    font-size: 0.85rem;
  }
  .bottom-cta-card {
    padding: 26px 18px;
  }
  .bottom-cta-title {
    font-size: 1.35rem;
  }
  .bottom-cta-desc {
    font-size: 0.92rem;
  }
  .bottom-cta-emerald-btn {
    width: 100%;
    min-width: 0;
    padding: 15px 18px;
    font-size: 0.92rem;
  }
}


/* ==========================================================================
   HERO LICENSE COUNTDOWN, HEADER TIMER & VIP AI GOLD THEME (v9.9)
   ========================================================================== */
.hero-license-countdown {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.72);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #e2e8f0;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
  margin-bottom: 18px;
}

.hero-license-countdown.is-vip-gold {
  border-color: rgba(251, 191, 36, 0.55);
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.14) 0%, rgba(30, 41, 59, 0.8) 100%);
  color: #fef3c7;
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.18);
}

.hero-countdown-icon {
  font-size: 1.05rem;
  line-height: 1;
}

/* Header Profile Button: Owner + Tier + Countdown on right */
.header-owner-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.18;
  text-align: left;
  min-width: 128px;
}

.header-owner-name {
  font-weight: 700;
  font-size: 0.84rem;
  color: #ffffff;
  font-family: var(--font-mono);
}

.header-owner-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 2px;
}

.header-owner-tier {
  font-size: 0.68rem;
  font-weight: 800;
  color: #10b981;
  letter-spacing: 0.04em;
}

.header-owner-timer {
  font-size: 0.68rem;
  font-weight: 700;
  color: #cbd5e1;
  font-family: var(--font-mono);
  white-space: nowrap;
}

/* Golden Header Profile Button for VIP AI */
#btn-open-activate.btn-owner-vip-gold {
  border-color: #fbbf24 !important;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.16) 0%, rgba(15, 23, 42, 0.92) 100%) !important;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.32) !important;
}

#btn-open-activate.btn-owner-vip-gold:hover {
  border-color: #fde68a !important;
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.5) !important;
}

#btn-open-activate.btn-owner-vip-gold .btn-activate-icon {
  color: #fbbf24 !important;
  stroke: #fbbf24 !important;
}

#btn-open-activate.btn-owner-vip-gold .header-owner-tier {
  color: #fbbf24 !important;
}

#btn-open-activate.btn-owner-vip-gold .header-owner-timer {
  color: #fde68a !important;
}

/* ==========================================================================
   FULL VIP AI GOLD THEME (body.vip-gold-theme)
   Buttons -> Gold gradient (#d97706 -> #fbbf24 -> #f59e0b) with black text
   Specified headings/labels -> Gold (#fbbf24)
   Footer & Lead Card texts remain UNCHANGED!
   ========================================================================== */

/* 1. Specified Site Labels -> Gold (#fbbf24) */
body.vip-gold-theme .tempo-hero-desc {
  color: #fbbf24 !important;
}

body.vip-gold-theme .radar-filters-title {
  color: #fbbf24 !important;
}

body.vip-gold-theme .radar-filters-title svg {
  color: #fbbf24 !important;
  stroke: #fbbf24 !important;
}

body.vip-gold-theme .radar-filters-line {
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.55) 0%, rgba(251, 191, 36, 0.16) 45%, rgba(255, 255, 255, 0.03) 100%) !important;
}

body.vip-gold-theme #niche-filter-container > label,
body.vip-gold-theme #payment-filter-container > label,
body.vip-gold-theme #budget-range-filter-container > label {
  color: #fbbf24 !important;
}

body.vip-gold-theme .feed-title {
  color: #fbbf24 !important;
}

body.vip-gold-theme .feed-title .live-dot {
  background: #fbbf24 !important;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.85) !important;
}

/* 2. Site & Cabinet Action Buttons -> VIP Gold Gradient (leaving lead-card & footer texts untouched) */
body.vip-gold-theme #btn-do-search,
body.vip-gold-theme .btn-do-search,
body.vip-gold-theme #btn-sync-live,
body.vip-gold-theme .btn-find-now,
body.vip-gold-theme #btn-load-more,
body.vip-gold-theme .cabinet-cta-emerald,
body.vip-gold-theme .cab-btn-open {
  background: linear-gradient(90deg, #d97706 0%, #fbbf24 50%, #f59e0b 100%) !important;
  color: #000000 !important;
  border-color: rgba(254, 243, 199, 0.35) !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.38) !important;
  font-weight: 900 !important;
}

body.vip-gold-theme #btn-do-search:hover,
body.vip-gold-theme .btn-do-search:hover,
body.vip-gold-theme #btn-sync-live:hover,
body.vip-gold-theme .btn-find-now:hover,
body.vip-gold-theme #btn-load-more:hover,
body.vip-gold-theme .cabinet-cta-emerald:hover,
body.vip-gold-theme .cab-btn-open:hover {
  filter: brightness(1.08);
  color: #000000 !important;
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.55) !important;
}

body.vip-gold-theme #btn-do-search svg,
body.vip-gold-theme .btn-do-search svg,
body.vip-gold-theme #btn-sync-live svg,
body.vip-gold-theme .btn-find-now svg {
  color: #000000 !important;
  stroke: #000000 !important;
}

@media (max-width: 768px) {
  .feed-title {
    font-size: 1.55rem;
  }
}

body.vip-gold-theme .cab-btn-go,
body.vip-gold-theme #btn-cabinet-copy-key,
body.vip-gold-theme #btn-cabinet-send-key-tg,
body.vip-gold-theme #btn-cabinet-back-radar {
  border-color: rgba(251, 191, 36, 0.5) !important;
  background: rgba(251, 191, 36, 0.14) !important;
  color: #fde68a !important;
}

body.vip-gold-theme .cab-btn-go:hover,
body.vip-gold-theme #btn-cabinet-copy-key:hover,
body.vip-gold-theme #btn-cabinet-send-key-tg:hover,
body.vip-gold-theme #btn-cabinet-back-radar:hover {
  background: rgba(251, 191, 36, 0.28) !important;
  color: #ffffff !important;
}

/* 3. Cabinet VIP Gold Accents */
body.vip-gold-theme .cabinet-page-title svg,
body.vip-gold-theme .cabinet-access-remaining,
body.vip-gold-theme .cabinet-tab-btn.active .cab-tab-sub,
body.vip-gold-theme .cabinet-order-platform,
body.vip-gold-theme .cabinet-key-value {
  color: #fbbf24 !important;
}

body.vip-gold-theme .cabinet-key-value {
  background: rgba(251, 191, 36, 0.1) !important;
  border-color: rgba(251, 191, 36, 0.35) !important;
}

body.vip-gold-theme .cabinet-owner-pill.is-active,
body.vip-gold-theme .cab-tab-badge {
  background: rgba(251, 191, 36, 0.18) !important;
  border-color: rgba(251, 191, 36, 0.48) !important;
  color: #fde68a !important;
}

body.vip-gold-theme .cabinet-tab-btn.active,
body.vip-gold-theme .cabinet-order-row:hover {
  border-color: rgba(251, 191, 36, 0.45) !important;
}


/* ==========================================================================
   REDESIGNED TARIFFS CARDS & HOW-IT-WORKS INLINE STEP DESIGN (v9.11)
   ========================================================================== */
.section-feed-heading {
  text-align: center;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #10b981;
  margin: 0 0 34px;
  line-height: 1.15;
}

body.vip-gold-theme .section-feed-heading {
  color: #fbbf24 !important;
}

.pricing-modern-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
  padding-top: 14px;
}

.pricing-card-modern {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 34px 24px 24px !important;
  border-radius: 22px !important;
  backdrop-filter: blur(18px);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.pricing-card-modern:hover {
  transform: translateY(-4px);
}

.pricing-card-emerald {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, rgba(11, 17, 30, 0.94) 55%) !important;
  border: 2px solid rgba(16, 185, 129, 0.65) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42), 0 0 22px rgba(16, 185, 129, 0.12) !important;
}

.pricing-card-vip-gold {
  background: linear-gradient(160deg, rgba(251, 191, 36, 0.16) 0%, rgba(180, 83, 9, 0.08) 38%, rgba(11, 17, 30, 0.96) 100%) !important;
  border: 2px solid #fbbf24 !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 32px rgba(251, 191, 36, 0.24) !important;
  transform: translateY(-4px);
}

.pricing-card-vip-gold:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.55), 0 0 42px rgba(251, 191, 36, 0.34) !important;
}

.pricing-top-pill {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  border-radius: 999px;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 3;
}

.pricing-pill-emerald {
  background: #10b981;
  color: #000000;
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.42);
}

.pricing-pill-vip-gold {
  background: linear-gradient(90deg, #d97706 0%, #fbbf24 50%, #f59e0b 100%);
  color: #000000;
  border: 1px solid rgba(254, 243, 199, 0.5);
  box-shadow: 0 4px 18px rgba(251, 191, 36, 0.48);
}

.pricing-badge-vip-gold {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fbbf24 !important;
  text-transform: uppercase;
  margin-top: 2px;
}

.pricing-tier-name {
  text-align: center;
  font-family: var(--font-display), var(--font-sans), sans-serif !important;
  font-size: 1.75rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.05em;
  margin: 4px 0 0 !important;
}

.pricing-name-emerald {
  color: #34d399 !important;
}

.pricing-name-gold {
  color: #fbbf24 !important;
  text-shadow: 0 0 18px rgba(251, 191, 36, 0.3);
}

.pricing-val-centered {
  justify-content: center !important;
  align-items: baseline !important;
  margin: 2px 0 6px !important;
}

.pricing-card-modern .plan-desc {
  text-align: center;
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin: 0 0 6px;
}

.pricing-card-modern .plan-features {
  flex: 1;
  list-style: none;
  padding: 12px 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.86rem;
  color: #e2e8f0;
  line-height: 1.45;
}

.pricing-card-vip-gold .plan-features {
  border-top-color: rgba(251, 191, 36, 0.25);
}

.pricing-btn-emerald {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
  background: #10b981 !important;
  color: #000000 !important;
  font-family: var(--font-display), var(--font-sans), sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 900 !important;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.38) !important;
  transition: all 0.2s ease;
}

.pricing-btn-emerald:hover {
  background: #34d399 !important;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.52) !important;
}

.pricing-btn-vip-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(254, 243, 199, 0.45) !important;
  background: linear-gradient(90deg, #d97706 0%, #fbbf24 50%, #f59e0b 100%) !important;
  color: #000000 !important;
  font-family: var(--font-display), var(--font-sans), sans-serif !important;
  font-size: 0.94rem !important;
  font-weight: 900 !important;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.45) !important;
  transition: all 0.2s ease;
}

.pricing-btn-vip-gold:hover {
  filter: brightness(1.08);
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(251, 191, 36, 0.6) !important;
}

/* Updated How It Works Cards: 2x smaller number badge inline left of title, subtle emerald border */
.home-how-it-works-section .how-step-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(11, 17, 30, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.32);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

.how-step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.home-how-it-works-section .how-step-num {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 900;
  color: #34d399;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.45);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.16);
}

.how-step-head h3 {
  margin: 0;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.how-step-desc {
  margin: 0;
  font-size: 0.86rem;
  color: #94a3b8;
  line-height: 1.48;
}

@media (max-width: 1024px) {
  .pricing-modern-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 768px) {
  .section-feed-heading {
    font-size: 1.55rem;
    margin-bottom: 24px;
  }
  .pricing-modern-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .pricing-card-vip-gold {
    transform: none;
  }
  .home-how-it-works-section .how-step-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 8px;
  }
}


/* ==========================================================================
   LEAD CARDS REFINEMENTS, FLOATING SCROLL-UP & AI DEAL CLOSER REDESIGN (v9.12)
   ========================================================================== */

/* 1. Floating Semi-Transparent Green Scroll-to-Filters Button (Gold in VIP AI) */
.btn-scroll-to-filters {
  position: fixed;
  right: 26px;
  bottom: 28px;
  z-index: 95;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(16, 185, 129, 0.22);
  border: 1.5px solid rgba(16, 185, 129, 0.68);
  color: #34d399;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38), 0 0 18px rgba(16, 185, 129, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.92);
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.btn-scroll-to-filters.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.btn-scroll-to-filters:hover {
  background: rgba(16, 185, 129, 0.38);
  color: #ffffff;
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 24px rgba(16, 185, 129, 0.45);
}

body.vip-gold-theme .btn-scroll-to-filters {
  background: rgba(251, 191, 36, 0.22);
  border-color: rgba(251, 191, 36, 0.72);
  color: #fbbf24;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.38), 0 0 18px rgba(251, 191, 36, 0.28);
}

body.vip-gold-theme .btn-scroll-to-filters:hover {
  background: rgba(251, 191, 36, 0.38);
  color: #ffffff;
}

@media (max-width: 768px) {
  .btn-scroll-to-filters {
    right: 16px;
    bottom: 84px;
    width: 46px;
    height: 46px;
  }
}

/* 2. Lead Card Refinements: Full title (smaller font, no ellipsis), 5-line body, 2x budget, 1.5x smaller lifetime badge */
.lead-card .lead-author-details {
  min-width: 0;
  flex: 1;
}

.lead-card .lead-card-full-title {
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  line-height: 1.38 !important;
  color: #f8fafc;
  margin: 0 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  word-break: break-word;
}

.lead-body-content.lead-body-5lines {
  display: -webkit-box !important;
  -webkit-line-clamp: 5 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.5 !important;
  min-height: calc(1.5em * 5) !important;
  max-height: calc(1.5em * 5 + 24px) !important;
}

/* 2x Larger Budget Block */
.lead-budget-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lead-budget-label {
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 600;
  display: block;
}

.lead-card .lead-budget {
  font-size: 2.15rem !important;
  font-weight: 900 !important;
  line-height: 1.08 !important;
  letter-spacing: -0.02em;
}

.lead-card .lead-budget.lead-budget-negotiable {
  font-size: 1.075rem !important;
  line-height: 1.25 !important;
  letter-spacing: -0.01em;
  white-space: nowrap !important;
}

/* 1.5x Smaller Published-Ago Badge */
.lead-card .lead-lifetime-badge {
  padding: 4px 8px !important;
  border-radius: 6px !important;
  margin-top: 2px !important;
}

.lead-card .lifetime-title {
  font-size: 0.48rem !important;
  margin-bottom: 1px !important;
}

.lead-card .lifetime-timer {
  font-size: 0.68rem !important;
}

.lead-card .lifetime-clock {
  gap: 4px !important;
}

.lead-card .fresh-fire-icon {
  font-size: 0.72rem !important;
}

.lead-card-footer-clean {
  justify-content: flex-end !important;
}

/* Return-to-card brief highlight animation */
.lead-card-return-highlight {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.5), 0 0 28px rgba(16, 185, 129, 0.35) !important;
}

body.vip-gold-theme .lead-card-return-highlight {
  border-color: #fbbf24 !important;
  box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.55), 0 0 28px rgba(251, 191, 36, 0.35) !important;
}

/* 3. AI Deal Closer Redesign */
.closer-top-bar-centered {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px 22px !important;
  margin-bottom: 20px !important;
}

.closer-top-left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.closer-top-title-center {
  margin: 0 !important;
  text-align: center;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.closer-section-green-title {
  margin: 0 !important;
  font-family: var(--font-display), var(--font-sans), sans-serif !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: #10b981 !important;
}

.closer-sidebar-post-wrap {
  margin-top: auto;
  padding-top: 8px;
}

.closer-main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.closer-vip-features-wrap {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.closer-vip-locked-heading {
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fbbf24;
  padding-top: 8px;
  border-top: 1px solid rgba(251, 191, 36, 0.25);
}

.closer-scenarios-heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: -4px;
}

/* Reordering for Test / Standard: Textarea on TOP (order: 2), VIP Locked Block on BOTTOM (order: 3) */
#closer-main-card .closer-main-header {
  order: 1;
}

#closer-main-card #closer-vip-features-wrap {
  order: 2;
}

#closer-main-card #closer-pitch-output-card {
  order: 3;
}

#closer-main-card.is-non-vip-layout #closer-pitch-output-card {
  order: 2;
}

#closer-main-card.is-non-vip-layout #closer-vip-features-wrap {
  order: 3;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(251, 191, 36, 0.06) 0%, rgba(11, 17, 30, 0.85) 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

/* Footer Split: Left "Отправить: [ЛС] [Email]", Right "[Добавить в CRM]" */
.pitch-footer-actions.pitch-footer-split {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.pitch-send-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pitch-send-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-right: 2px;
}

/* 4. VIP AI Gold Theme for AI Deal Closer */
body.vip-gold-theme .closer-section-green-title {
  color: #fbbf24 !important;
}

body.vip-gold-theme .closer-top-title-center {
  color: #fde68a !important;
}

body.vip-gold-theme #view-closer .closer-top-bar,
body.vip-gold-theme #view-closer .closer-sidebar,
body.vip-gold-theme #view-closer .closer-main {
  border-color: rgba(251, 191, 36, 0.32) !important;
}

body.vip-gold-theme #view-closer .angle-btn.active {
  background: rgba(251, 191, 36, 0.14) !important;
  border-color: #fbbf24 !important;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.25) !important;
}

body.vip-gold-theme #view-closer #btn-back-to-radar,
body.vip-gold-theme #view-closer #btn-save-signature {
  border-color: rgba(251, 191, 36, 0.55) !important;
  background: rgba(251, 191, 36, 0.14) !important;
  color: #fde68a !important;
}

body.vip-gold-theme #view-closer #btn-open-original-post,
body.vip-gold-theme #view-closer #btn-regenerate-pitch,
body.vip-gold-theme #view-closer #btn-open-lead-chat,
body.vip-gold-theme #view-closer #btn-open-email-client,
body.vip-gold-theme #view-closer #btn-mark-contacted {
  background: linear-gradient(90deg, #d97706 0%, #fbbf24 50%, #f59e0b 100%) !important;
  color: #000000 !important;
  border-color: rgba(254, 243, 199, 0.4) !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.38) !important;
  font-weight: 900 !important;
}

body.vip-gold-theme #view-closer #btn-open-original-post svg,
body.vip-gold-theme #view-closer #btn-regenerate-pitch svg,
body.vip-gold-theme #view-closer #btn-open-lead-chat svg,
body.vip-gold-theme #view-closer #btn-open-email-client svg,
body.vip-gold-theme #view-closer #btn-mark-contacted svg {
  color: #000000 !important;
  stroke: #000000 !important;
}

body.vip-gold-theme #view-closer .output-badge,
body.vip-gold-theme #view-closer .sig-badge {
  color: #fbbf24 !important;
}

body.vip-gold-theme #view-closer .sig-badge {
  background: rgba(251, 191, 36, 0.15) !important;
  border-color: rgba(251, 191, 36, 0.38) !important;
}

@media (max-width: 768px) {
  .closer-top-bar-centered {
    grid-template-columns: auto 1fr !important;
  }
  .closer-top-spacer {
    display: none;
  }
  .closer-top-title-center {
    text-align: right;
    font-size: 1.2rem;
  }
  .lead-card .lead-budget {
    font-size: 1.75rem !important;
  }
  .lead-card .lead-budget.lead-budget-negotiable {
    font-size: 0.875rem !important;
    white-space: nowrap !important;
  }
}

/* ==========================================================================
   TIER UPGRADE HERO CTA, DYNAMIC TARIFF SHOWCASE & RICH VIP BURGUNDY THEME
   ========================================================================== */
.hero-tier-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
}

.btn-hero-vip-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fde047 0%, #fbbf24 45%, #d97706 100%);
  color: #160c02;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid rgba(254, 240, 138, 0.7);
  box-shadow: 0 8px 28px rgba(251, 191, 36, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-hero-vip-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 12px 34px rgba(251, 191, 36, 0.52), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-expired-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.45);
  color: #fecaca;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.header-owner-timer.is-expired {
  background: rgba(239, 68, 68, 0.22) !important;
  color: #fca5a5 !important;
  border: 1px solid rgba(239, 68, 68, 0.48) !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
  padding: 1px 6px;
  border-radius: 6px;
}

#home-pricing-section {
  scroll-margin-top: 100px;
}

/* Tariffs Subtitle & FOMO Footer (VIP Gold) */
.tariffs-ambition-subtitle {
  text-align: center;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 0.96rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: linear-gradient(90deg, #fde68a 0%, #fbbf24 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 28px;
  line-height: 1.35;
}

.tariffs-fomo-footer {
  text-align: center;
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: #fde68a;
  margin: 26px auto 0;
  padding: 12px 22px;
  max-width: 720px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.08) 0%, rgba(217, 119, 6, 0.14) 50%, rgba(251, 191, 36, 0.08) 100%);
  border: 1px solid rgba(251, 191, 36, 0.32);
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.1);
}

/* Dynamic 2-card (Test) and 1-card centered (Standard / Expired VIP) grids */
.pricing-modern-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  max-width: 860px;
  margin: 0 auto;
}

.pricing-modern-grid.cols-1 {
  grid-template-columns: minmax(0, 460px) !important;
  justify-content: center !important;
  max-width: 480px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .pricing-modern-grid.cols-2,
  .pricing-modern-grid.cols-1 {
    grid-template-columns: 1fr !important;
    max-width: 100%;
  }
  .hero-tier-cta-wrap {
    align-items: stretch;
  }
  .btn-hero-vip-gold {
    width: 100%;
  }
}

/* ==========================================================================
   VIP AI WARM OBSIDIAN GOLD WORKSTATION PALETTE (ZERO BLUE, MATCHES ADMIN)
   ========================================================================== */
body.vip-gold-theme {
  background-color: #14100b !important;
  background-image:
    radial-gradient(circle at 18% 0%, rgba(251, 191, 36, 0.13) 0%, transparent 46%),
    radial-gradient(circle at 86% 10%, rgba(217, 119, 6, 0.09) 0%, transparent 42%),
    linear-gradient(180deg, #16110b 0%, #120e09 55%, #0f0c08 100%) !important;
  background-attachment: fixed !important;
}

/* Override all blue/cyan ambient orbs into warm golden glow */
body.vip-gold-theme .glow-orb.orb-1,
body.vip-gold-theme .glow-orb.orb-2,
body.vip-gold-theme .bg-glow-1,
body.vip-gold-theme .bg-glow-2 {
  background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, rgba(217, 119, 6, 0.05) 45%, transparent 72%) !important;
  filter: blur(110px) !important;
}

body.vip-gold-theme .glow-orb.orb-3 {
  display: none !important;
}

/* Header: warm dark obsidian + unified VIP Gold borders matching Cabinet button */
body.vip-gold-theme .app-header {
  background: rgba(11, 9, 7, 0.94) !important;
  border-bottom: 1px solid rgba(251, 191, 36, 0.26) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.55) !important;
}

/* Logo RadarPulse.AI -> Full VIP Gold */
body.vip-gold-theme .logo-radar {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(16, 12, 8, 0.96) 100%) !important;
  border: 1px solid rgba(251, 191, 36, 0.62) !important;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.28) !important;
}

body.vip-gold-theme .radar-sweep {
  background: conic-gradient(from 0deg, rgba(253, 224, 71, 0.72) 0deg, rgba(251, 191, 36, 0.14) 65deg, transparent 105deg) !important;
}

body.vip-gold-theme .radar-dot {
  background: #fde047 !important;
  box-shadow: 0 0 10px #fbbf24 !important;
}

body.vip-gold-theme .brand-title {
  background: linear-gradient(90deg, #fffbeb 0%, #fde047 55%, #f59e0b 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.vip-gold-theme .brand-accent {
  background: linear-gradient(90deg, #fde047 0%, #f59e0b 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

body.vip-gold-theme .brand-tag {
  color: #fcd34d !important;
  opacity: 0.88;
}

/* Header Nav Capsule, Tariffs Button & Cabinet Button -> Unified VIP Gold Style */
body.vip-gold-theme .nav-tabs {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.13) 0%, rgba(14, 11, 8, 0.94) 100%) !important;
  border: 1px solid rgba(251, 191, 36, 0.58) !important;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.18) !important;
}

body.vip-gold-theme .nav-tabs .nav-tab {
  color: #fef3c7 !important;
}

body.vip-gold-theme .nav-tabs .nav-tab svg {
  color: #fbbf24 !important;
  stroke: #fbbf24 !important;
}

body.vip-gold-theme .nav-tabs .nav-tab:hover,
body.vip-gold-theme .nav-tabs .nav-tab.active {
  background: rgba(251, 191, 36, 0.2) !important;
  color: #fde047 !important;
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.42) !important;
}

body.vip-gold-theme .header-pricing-btn,
body.vip-gold-theme #btn-open-activate.btn-owner-vip-gold {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.16) 0%, rgba(14, 11, 8, 0.94) 100%) !important;
  border: 1px solid rgba(251, 191, 36, 0.65) !important;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.22) !important;
  color: #fef3c7 !important;
}

body.vip-gold-theme .header-pricing-btn svg {
  color: #fbbf24 !important;
  stroke: #fbbf24 !important;
}

body.vip-gold-theme .header-pricing-btn:hover,
body.vip-gold-theme #btn-open-activate.btn-owner-vip-gold:hover {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.26) 0%, rgba(20, 16, 10, 0.96) 100%) !important;
  border-color: #fde047 !important;
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.36) !important;
  color: #ffffff !important;
}

/* Hero Highlight "НА ОДНОМ ЭКРАНЕ" -> VIP Gold Gradient */
body.vip-gold-theme .tempo-hero-title .brand-gradient-text {
  background: linear-gradient(90deg, #fffbeb 0%, #fde047 42%, #fbbf24 72%, #f59e0b 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 0 16px rgba(251, 191, 36, 0.28));
}

/* All Blocks & Cards: Darker than page background (#14100b), Warm Obsidian (#0b0907), ZERO Blue */
body.vip-gold-theme .tempo-hero-section,
body.vip-gold-theme .radar-controls-card,
body.vip-gold-theme .glass-card,
body.vip-gold-theme .lead-card,
body.vip-gold-theme .closer-sidebar,
body.vip-gold-theme .closer-main,
body.vip-gold-theme .cabinet-card,
body.vip-gold-theme .cabinet-panel,
body.vip-gold-theme .crm-column,
body.vip-gold-theme .modal-card,
body.vip-gold-theme .tempo-balance-card,
body.vip-gold-theme .tempo-metal-card {
  background: linear-gradient(180deg, #0d0a08 0%, #090705 100%) !important;
  border-color: rgba(251, 191, 36, 0.24) !important;
  box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.78), 0 0 16px rgba(251, 191, 36, 0.05) !important;
}

body.vip-gold-theme .lead-card:hover {
  border-color: rgba(251, 191, 36, 0.52) !important;
  box-shadow: 0 14px 38px -10px rgba(0, 0, 0, 0.84), 0 0 24px rgba(251, 191, 36, 0.14) !important;
}

/* Uniform Warm Dark Tone across ALL Filter Controls, Search, Selects & Dropdowns */
body.vip-gold-theme .search-box,
body.vip-gold-theme .radar-controls-card input,
body.vip-gold-theme .radar-controls-card select,
body.vip-gold-theme .search-box input,
body.vip-gold-theme .multiselect-trigger-btn,
body.vip-gold-theme .multiselect-dropdown-menu,
body.vip-gold-theme .feed-sort-select,
body.vip-gold-theme .pitch-textarea,
body.vip-gold-theme .modal-card input,
body.vip-gold-theme .modal-card select,
body.vip-gold-theme .modal-card textarea {
  background: #0a0806 !important;
  background-color: #0a0806 !important;
  border-color: rgba(251, 191, 36, 0.3) !important;
  color: #fffbeb !important;
}

body.vip-gold-theme .multiselect-header-bar {
  background: #0f0c09 !important;
  border-bottom: 1px solid rgba(251, 191, 36, 0.2) !important;
}

body.vip-gold-theme .multiselect-option:hover {
  background: rgba(251, 191, 36, 0.12) !important;
}

body.vip-gold-theme .carousel-platform-chip {
  background: #0b0907 !important;
  border-color: rgba(251, 191, 36, 0.22) !important;
}

/* Inner Card Elements (Darker Warm Tone) */
body.vip-gold-theme .lead-body-content,
body.vip-gold-theme .prospect-quote-box,
body.vip-gold-theme .angle-btn,
body.vip-gold-theme .cabinet-order-row,
body.vip-gold-theme .cabinet-tab-btn,
body.vip-gold-theme .lead-lifetime-badge {
  background: #080605 !important;
  border-color: rgba(251, 191, 36, 0.18) !important;
}

body.vip-gold-theme .angle-btn.active {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.18) 0%, rgba(16, 12, 8, 0.94) 100%) !important;
  border-color: #fbbf24 !important;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.24) !important;
}

/* Lead Card Action Buttons -> VIP Gold Style */
body.vip-gold-theme .lead-card .btn-open-closer,
body.vip-gold-theme .lead-card .btn-primary {
  background: linear-gradient(135deg, #fde047 0%, #fbbf24 48%, #d97706 100%) !important;
  color: #160c02 !important;
  border: 1px solid rgba(254, 240, 138, 0.6) !important;
  font-weight: 900 !important;
  box-shadow: 0 4px 18px rgba(251, 191, 36, 0.34) !important;
}

body.vip-gold-theme .lead-card .btn-open-closer:hover,
body.vip-gold-theme .lead-card .btn-primary:hover {
  background: linear-gradient(135deg, #fef08a 0%, #fcd34d 48%, #f59e0b 100%) !important;
  border-color: rgba(254, 249, 195, 0.85) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(251, 191, 36, 0.56) !important;
  color: #160c02 !important;
}

body.vip-gold-theme .site-footer {
  background: #0a0806 !important;
  border-top: 1px solid rgba(251, 191, 36, 0.2) !important;
}

/* ==========================================================================
   HERO TOP PLAQUE ROUNDING, GOLD BORDER & HEADING ALIGNMENT (v9.21)
   ========================================================================== */
.tempo-hero-section {
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--border-subtle) !important;
  overflow: hidden !important;
}

body.vip-gold-theme .tempo-hero-section {
  border: 1px solid rgba(251, 191, 36, 0.28) !important;
}

.tempo-hero-title {
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.03em !important;
  margin-left: 10% !important;
  margin-top: 5% !important;
}

.tempo-hero-desc,
.tempo-hero-actions,
.hero-tier-cta-wrap {
  margin-left: 10% !important;
}

@media (max-width: 768px) {
  .tempo-hero-title {
    font-size: 1.55rem !important;
    margin-left: 4% !important;
    margin-top: 4% !important;
  }
  .tempo-hero-desc,
  .tempo-hero-actions,
  .hero-tier-cta-wrap {
    margin-left: 4% !important;
    margin-right: 4% !important;
  }
}

/* VIP Unified Warm Dark Style for Filter Wrappers & Native Select Dropdowns */
body.vip-gold-theme .feed-sort-wrapper {
  background: #0b0907 !important;
  border: 1px solid rgba(251, 191, 36, 0.36) !important;
  box-shadow: 0 0 14px rgba(251, 191, 36, 0.08) !important;
}

body.vip-gold-theme .feed-sort-wrapper:hover,
body.vip-gold-theme .feed-sort-wrapper:focus-within {
  border-color: rgba(251, 191, 36, 0.65) !important;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.18) !important;
}

body.vip-gold-theme .feed-sort-label {
  color: #fcd34d !important;
}

body.vip-gold-theme .feed-sort-wrapper .feed-sort-select {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  color: #fffbeb !important;
}

body.vip-gold-theme select,
body.vip-gold-theme .feed-sort-select {
  color-scheme: dark;
}

body.vip-gold-theme select option,
body.vip-gold-theme .feed-sort-select option {
  background-color: #0b0907 !important;
  color: #fffbeb !important;
}

body.vip-gold-theme select option:checked,
body.vip-gold-theme select option:hover,
body.vip-gold-theme .feed-sort-select option:checked,
body.vip-gold-theme .feed-sort-select option:hover {
  background-color: #92400e !important;
  color: #fffbeb !important;
}

/* VIP Completed Order Button: Muted Gray with Subtle Burgundy Tint — Completely Static on Hover */
body.vip-gold-theme .lead-card .lead-card-footer .btn.btn-completed-disabled,
body.vip-gold-theme .lead-card .lead-card-footer .btn.btn-completed-disabled:hover,
body.vip-gold-theme .lead-card .lead-card-footer .btn.btn-completed-disabled:focus,
body.vip-gold-theme .lead-card .lead-card-footer .btn.btn-completed-disabled:active,
body.vip-gold-theme .btn-completed-disabled,
body.vip-gold-theme .btn-completed-disabled:hover {
  background: linear-gradient(135deg, #34272b 0%, #261d20 100%) !important;
  color: #c4aeb4 !important;
  border: 1px solid rgba(168, 68, 88, 0.38) !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
  cursor: not-allowed !important;
  opacity: 0.92 !important;
}

/* Subtle "Ввести ключ" button in emerald site style at bottom-right below VIP AI tariff */
.pricing-enter-key-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  margin: 12px 0 0;
  padding: 0 2px;
}

.btn-enter-key-subtle,
body.vip-gold-theme .btn-enter-key-subtle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.08) !important;
  border: 1px solid rgba(16, 185, 129, 0.32) !important;
  box-shadow: none !important;
  cursor: pointer;
  opacity: 0.82;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.btn-enter-key-subtle:hover,
body.vip-gold-theme .btn-enter-key-subtle:hover {
  background: rgba(16, 185, 129, 0.16) !important;
  border-color: rgba(16, 185, 129, 0.58) !important;
  color: #6ee7b7 !important;
  opacity: 1;
}

.enter-key-modal-card .form-input {
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font-mono);
  font-size: 0.86rem;
}

.enter-key-modal-card .form-input:focus {
  border-color: rgba(16, 185, 129, 0.65);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.14);
}

/* ==================== 6-COLUMN VIP GOLD CRM MATRIX ==================== */
.crm-matrix-shell {
  padding: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16, 12, 7, 0.96) 0%, rgba(10, 8, 5, 0.98) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.26) !important;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(251, 191, 36, 0.1) !important;
  overflow: hidden;
}

.crm-matrix-scroll {
  width: 100%;
  overflow-x: auto;
}

.crm-matrix-header,
.crm-matrix-row {
  display: grid;
  grid-template-columns: minmax(275px, 2.25fr) repeat(5, minmax(122px, 1fr));
  align-items: stretch;
  min-width: 900px;
}

.crm-matrix-header {
  background: linear-gradient(180deg, rgba(28, 20, 10, 0.95) 0%, rgba(18, 13, 7, 0.98) 100%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.28);
}

.crm-mh-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 10px;
  text-align: center;
  border-right: 1px solid rgba(245, 158, 11, 0.12);
}

.crm-mh-cell:last-child {
  border-right: none;
}

.crm-mh-cell.crm-mh-order {
  justify-content: space-between;
  padding: 15px 18px;
  text-align: left;
}

.crm-mh-title {
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  color: #f8e7c2;
  line-height: 1.25;
}

.crm-mh-won .crm-mh-title {
  color: #fbbf24;
}

.crm-mh-rejected .crm-mh-title {
  color: #fca5a5;
}

.crm-matrix-header .col-count {
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fde68a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.crm-matrix-body {
  display: flex;
  flex-direction: column;
}

.crm-matrix-row {
  position: relative;
  transition: background 0.16s ease;
}

.crm-matrix-row:hover {
  background: rgba(245, 158, 11, 0.035);
}

/* Thin subtle golden divider line between orders (as in reference) */
.crm-matrix-row:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(217, 165, 52, 0.52) 0%,
    rgba(217, 165, 52, 0.28) 55%,
    rgba(217, 165, 52, 0.06) 100%
  );
  pointer-events: none;
}

.crm-matrix-row.is-rejected-row .crm-order-card {
  opacity: 0.72;
  border-color: rgba(239, 68, 68, 0.24);
}

/* Column 1: Fixed-size Order Card */
.crm-cell-order {
  padding: 14px 16px;
  border-right: 1px solid rgba(245, 158, 11, 0.12);
  display: flex;
  align-items: center;
}

.crm-order-card {
  width: 100%;
  height: 144px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(24, 18, 10, 0.92) 0%, rgba(14, 10, 6, 0.96) 100%);
  border: 1px solid rgba(245, 158, 11, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.16s ease;
  box-sizing: border-box;
}

.crm-order-card:hover {
  border-color: rgba(251, 191, 36, 0.55);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.12);
  transform: translateY(-1px);
}

.crm-order-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.crm-order-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fffbeb;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.crm-order-budget {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #34d399;
  white-space: nowrap;
  flex-shrink: 0;
}

.crm-order-preview {
  margin: 0;
  font-size: 0.76rem;
  color: #b8aa96;
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.crm-order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid rgba(245, 158, 11, 0.1);
}

.crm-order-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
}

.crm-order-platform {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #f59e0b;
  text-transform: uppercase;
  white-space: nowrap;
}

.crm-order-time {
  font-size: 0.68rem;
  color: #8c7d68;
  font-family: var(--font-mono);
  white-space: nowrap;
}

.crm-order-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.crm-btn-offer {
  padding: 3px 9px;
  border-radius: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.34);
  color: #fde68a;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.crm-btn-offer:hover {
  background: rgba(245, 158, 11, 0.24);
  border-color: rgba(251, 191, 36, 0.65);
  color: #ffffff;
}

.crm-btn-delete {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.24);
  color: #f87171;
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.crm-btn-delete:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: rgba(239, 68, 68, 0.58);
  color: #fecaca;
}

/* Columns 2-6: Interactive Check / Cross Cells */
.crm-cell-check {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border-right: 1px solid rgba(245, 158, 11, 0.1);
}

.crm-cell-check:last-child {
  border-right: none;
}

.crm-stage-slot {
  width: 78px;
  height: 78px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px dashed rgba(245, 158, 11, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.16s ease, opacity 0.18s ease;
}

.crm-stage-slot:hover:not(.is-locked-by-rejected):not(.is-locked-by-next) {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(251, 191, 36, 0.42);
  transform: scale(1.04);
}

.crm-stage-slot.is-checked {
  border-style: solid;
  border-color: rgba(34, 197, 94, 0.24);
  background: radial-gradient(circle at center, rgba(34, 197, 94, 0.12) 0%, rgba(12, 10, 6, 0.15) 75%);
}

.crm-stage-slot.is-won.is-checked {
  border-color: rgba(251, 191, 36, 0.42);
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.18) 0%, rgba(12, 10, 6, 0.15) 75%);
}

.crm-stage-slot.is-rejected.is-checked {
  border-color: rgba(239, 68, 68, 0.42);
  background: radial-gradient(circle at center, rgba(239, 68, 68, 0.18) 0%, rgba(12, 10, 6, 0.15) 75%);
}

.crm-stage-slot.is-locked-by-next {
  cursor: not-allowed;
}

.crm-stage-slot.is-locked-by-rejected {
  cursor: not-allowed;
  opacity: 0.24;
  border-color: rgba(255, 255, 255, 0.06);
  background: transparent;
}

/* 3D Glossy SVG Icon Glows */
.crm-icon-3d {
  width: 48px;
  height: 48px;
  display: block;
  animation: crmIconPop 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.crm-icon-green {
  filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.72)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.65));
}

.crm-icon-gold {
  filter: drop-shadow(0 0 12px rgba(245, 158, 11, 0.82)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.68));
}

.crm-icon-red {
  filter: drop-shadow(0 0 11px rgba(239, 68, 68, 0.8)) drop-shadow(0 3px 6px rgba(0, 0, 0, 0.68));
}

@keyframes crmIconPop {
  0% { transform: scale(0.62); opacity: 0.2; }
  70% { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Empty CRM State */
.crm-empty-state {
  padding: 54px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.crm-empty-icon {
  font-size: 2.2rem;
  opacity: 0.85;
}

.crm-empty-title {
  font-family: var(--font-display), var(--font-sans), sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: #fde68a;
}

.crm-empty-desc {
  margin: 0;
  max-width: 460px;
  font-size: 0.84rem;
  color: #a89984;
  line-height: 1.5;
}

/* VIP Gold Theme CRM Header KPIs */
body.vip-gold-theme .crm-header-card {
  background: linear-gradient(135deg, rgba(20, 14, 7, 0.96) 0%, rgba(12, 9, 5, 0.98) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
}

body.vip-gold-theme .crm-header-card .kpi-num.cyan {
  color: #fde68a !important;
}

body.vip-gold-theme .crm-header-card .kpi-num.emerald {
  color: #fbbf24 !important;
}

body.vip-gold-theme .crm-header-card .kpi-num.purple {
  color: #f59e0b !important;
}

/* ==================== VIP GOLD TELEGRAM BOT MODAL (#modal-alerts) ==================== */
#modal-alerts .modal-alerts-card {
  background: linear-gradient(180deg, #140f08 0%, #0b0804 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.36) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78), 0 0 36px rgba(245, 158, 11, 0.1) !important;
}

#modal-alerts .modal-badge-cyan {
  color: #fbbf24 !important;
  background: rgba(245, 158, 11, 0.12) !important;
  border: 1px solid rgba(245, 158, 11, 0.34) !important;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: inline-block;
}

#modal-alerts .modal-header h3 {
  color: #fffbeb !important;
}

#modal-alerts .alerts-tabs-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.16);
}

#modal-alerts .alerts-tab-btn {
  flex: 1;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025) !important;
  border: 1px solid rgba(245, 158, 11, 0.18) !important;
  color: #c8b89d !important;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.18s ease;
}

#modal-alerts .alerts-tab-btn:hover {
  background: rgba(245, 158, 11, 0.09) !important;
  border-color: rgba(251, 191, 36, 0.42) !important;
  color: #fffbeb !important;
}

#modal-alerts .alerts-tab-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(180, 83, 9, 0.14) 100%) !important;
  border: 1px solid rgba(251, 191, 36, 0.68) !important;
  color: #fffbeb !important;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.18);
}

#modal-alerts .alerts-vip-pill {
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.2) !important;
  color: #fde68a !important;
  border: 1px solid rgba(251, 191, 36, 0.45) !important;
}

#modal-alerts .alerts-bot-info-card {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(180, 83, 9, 0.04) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  border-radius: 12px;
  padding: 15px 16px;
  margin-bottom: 16px;
}

#modal-alerts .alerts-bot-title {
  font-weight: 700;
  color: #fbbf24 !important;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

#modal-alerts .pulse-gold {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.85);
  display: inline-block;
}

#modal-alerts .alerts-status-badge {
  background: rgba(245, 158, 11, 0.18) !important;
  color: #fde68a !important;
  border: 1px solid rgba(251, 191, 36, 0.42) !important;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}

#modal-alerts .alerts-bot-desc {
  font-size: 0.82rem;
  color: #d6cbb8;
  margin: 0 0 14px;
  line-height: 1.5;
}

#modal-alerts .alerts-bot-desc b {
  color: #fffbeb;
}

#modal-alerts .alerts-btn-gold {
  padding: 10px 18px;
  font-size: 0.86rem;
  font-weight: 800;
  border-radius: 10px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%) !important;
  color: #1a1103 !important;
  border: 1px solid rgba(254, 240, 138, 0.55) !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.34) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: filter 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

#modal-alerts .alerts-btn-gold:hover {
  filter: brightness(1.09);
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.48) !important;
  color: #1a1103 !important;
}

#modal-alerts .alerts-btn-outline-gold {
  padding: 9px 15px;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: 10px;
  background: rgba(245, 158, 11, 0.08) !important;
  border: 1px solid rgba(245, 158, 11, 0.32) !important;
  color: #fde68a !important;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

#modal-alerts .alerts-btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.18) !important;
  border-color: rgba(251, 191, 36, 0.62) !important;
  color: #ffffff !important;
}

#modal-alerts .alerts-gold-input {
  background: rgba(10, 8, 4, 0.85) !important;
  border: 1px solid rgba(245, 158, 11, 0.34) !important;
  color: #fffbeb !important;
  border-radius: 10px;
}

#modal-alerts .alerts-gold-input:focus {
  border-color: rgba(251, 191, 36, 0.78) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16) !important;
  outline: none;
}

#modal-alerts .alerts-toggle-box {
  background: rgba(245, 158, 11, 0.04) !important;
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

#modal-alerts .alerts-gold-checkbox {
  accent-color: #f59e0b !important;
  width: 15px;
  height: 15px;
  cursor: pointer;
}

#modal-alerts .modal-footer .btn-secondary {
  background: rgba(245, 158, 11, 0.06) !important;
  border: 1px solid rgba(245, 158, 11, 0.24) !important;
  color: #e6d5b8 !important;
}

#modal-alerts .modal-footer .btn-secondary:hover {
  background: rgba(245, 158, 11, 0.16) !important;
  border-color: rgba(251, 191, 36, 0.5) !important;
  color: #fffbeb !important;
}

/* ==================== VIP GOLD WATCHLIST MODAL (#modal-watchlist) ==================== */
#modal-watchlist .modal-watchlist-card {
  background: linear-gradient(180deg, #140f08 0%, #0b0804 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.36) !important;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.78), 0 0 36px rgba(245, 158, 11, 0.1) !important;
}

#modal-watchlist .watchlist-title-badge {
  background: rgba(245, 158, 11, 0.14) !important;
  border: 1px solid rgba(251, 191, 36, 0.45) !important;
  color: #fde68a !important;
}

#modal-watchlist .modal-header h3 {
  color: #fffbeb !important;
}

#modal-watchlist .watchlist-explainer-card {
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(180, 83, 9, 0.03) 100%) !important;
  border: 1px solid rgba(245, 158, 11, 0.26) !important;
}

#modal-watchlist .watchlist-explainer-card .explainer-header strong {
  color: #fde68a !important;
}

#modal-watchlist .watchlist-explainer-card .step-num {
  background: rgba(245, 158, 11, 0.16) !important;
  border: 1px solid rgba(251, 191, 36, 0.52) !important;
  color: #fde68a !important;
}

#modal-watchlist .watchlist-explainer-card .explainer-item strong {
  color: #fffbeb !important;
}

#modal-watchlist .watchlist-explainer-card .explainer-item p {
  color: #c8b89d !important;
}

#modal-watchlist .watchlist-manager-section .form-label {
  color: #fde68a !important;
}

#modal-watchlist .form-input,
#modal-watchlist .watchlist-platform-select {
  background: rgba(10, 8, 4, 0.88) !important;
  border: 1px solid rgba(245, 158, 11, 0.32) !important;
  color: #fffbeb !important;
}

#modal-watchlist .form-input:focus,
#modal-watchlist .watchlist-platform-select:focus {
  border-color: rgba(251, 191, 36, 0.78) !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.16) !important;
  outline: none;
}

#modal-watchlist #btn-add-to-watchlist,
#modal-watchlist #btn-save-watchlist {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%) !important;
  color: #1a1103 !important;
  border: 1px solid rgba(254, 240, 138, 0.55) !important;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.34) !important;
  font-weight: 800 !important;
  transition: filter 0.16s ease, box-shadow 0.16s ease !important;
}

#modal-watchlist #btn-add-to-watchlist:hover,
#modal-watchlist #btn-save-watchlist:hover {
  filter: brightness(1.09);
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.48) !important;
  color: #1a1103 !important;
}

#modal-watchlist .watchlist-active-container {
  background: rgba(18, 13, 7, 0.9) !important;
  border: 1px solid rgba(245, 158, 11, 0.22) !important;
}

#modal-watchlist .watchlist-active-header {
  color: #c8b89d !important;
}

#modal-watchlist .watchlist-tag {
  background: rgba(245, 158, 11, 0.14) !important;
  border: 1px solid rgba(251, 191, 36, 0.42) !important;
  color: #fde68a !important;
}

#modal-watchlist .watchlist-settings-card {
  background: rgba(245, 158, 11, 0.06) !important;
  border: 1px solid rgba(245, 158, 11, 0.28) !important;
}

#modal-watchlist .watchlist-settings-card .checkbox-label {
  color: #fde68a !important;
}

#modal-watchlist #check-watchlist-tg-alerts {
  accent-color: #f59e0b !important;
}

#modal-watchlist #btn-cancel-watchlist {
  background: rgba(245, 158, 11, 0.06) !important;
  border: 1px solid rgba(245, 158, 11, 0.26) !important;
  color: #e6d5b8 !important;
}

#modal-watchlist #btn-cancel-watchlist:hover {
  background: rgba(245, 158, 11, 0.16) !important;
  border-color: rgba(251, 191, 36, 0.52) !important;
  color: #fffbeb !important;
}

/* VIP Gold "Откликнуться" Button (active orders only — excludes closed/completed orders) */
body.vip-gold-theme .lead-card .lead-card-footer .btn:not(.limit-reached):not(.btn-completed-disabled),
body.vip-gold-theme .lead-card .btn-reveal-contact:not(.limit-reached):not(.btn-completed-disabled) {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 55%, #b45309 100%) !important;
  color: #140d03 !important;
  border: 1px solid rgba(251, 191, 36, 0.55) !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.28) !important;
  font-weight: 800 !important;
  transition: background 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

body.vip-gold-theme .lead-card .lead-card-footer .btn:not(.limit-reached):not(.btn-completed-disabled):hover,
body.vip-gold-theme .lead-card .btn-reveal-contact:not(.limit-reached):not(.btn-completed-disabled):hover {
  background: linear-gradient(135deg, #fde047 0%, #fbbf24 55%, #f59e0b 100%) !important;
  color: #140d03 !important;
  border-color: rgba(254, 240, 138, 0.85) !important;
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.52) !important;
  filter: brightness(1.08) !important;
}

/* ==================== UNIFIED VIP GOLD BUTTONS SYSTEM (ALL VIEWS & MODALS) ==================== */
/* Primary / Emerald / Cyan solid CTA buttons -> VIP Gold Gradient */
body.vip-gold-theme .btn.btn-emerald:not(.btn-completed-disabled):not(.btn-enter-key-subtle):not(.pricing-btn-emerald),
body.vip-gold-theme .btn.btn-primary:not(.btn-completed-disabled):not(.btn-enter-key-subtle):not(.pricing-btn-emerald),
body.vip-gold-theme .btn.btn-cyan:not(.btn-completed-disabled):not(.btn-enter-key-subtle):not(.pricing-btn-emerald),
body.vip-gold-theme .cabinet-cta-emerald {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 55%, #b45309 100%) !important;
  color: #140d03 !important;
  border: 1px solid rgba(251, 191, 36, 0.55) !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3) !important;
  font-weight: 800 !important;
  transition: background 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease !important;
}

body.vip-gold-theme .btn.btn-emerald:not(.btn-completed-disabled):not(.btn-enter-key-subtle):not(.pricing-btn-emerald):hover,
body.vip-gold-theme .btn.btn-primary:not(.btn-completed-disabled):not(.btn-enter-key-subtle):not(.pricing-btn-emerald):hover,
body.vip-gold-theme .btn.btn-cyan:not(.btn-completed-disabled):not(.btn-enter-key-subtle):not(.pricing-btn-emerald):hover,
body.vip-gold-theme .cabinet-cta-emerald:hover {
  background: linear-gradient(135deg, #fde047 0%, #fbbf24 55%, #f59e0b 100%) !important;
  color: #140d03 !important;
  border-color: rgba(254, 240, 138, 0.85) !important;
  box-shadow: 0 6px 24px rgba(251, 191, 36, 0.52) !important;
  filter: brightness(1.08) !important;
}

/* Secondary / Outline / Cyan-outline buttons -> VIP Dark-Gold Outline */
body.vip-gold-theme .btn.btn-outline-cyan,
body.vip-gold-theme .btn.btn-outline:not(.btn-danger-outline),
body.vip-gold-theme .btn.btn-secondary:not(.btn-danger-outline),
body.vip-gold-theme #btn-load-more {
  background: rgba(245, 158, 11, 0.08) !important;
  color: #fde68a !important;
  border: 1px solid rgba(245, 158, 11, 0.36) !important;
  box-shadow: none !important;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease !important;
}

body.vip-gold-theme .btn.btn-outline-cyan:hover,
body.vip-gold-theme .btn.btn-outline:not(.btn-danger-outline):hover,
body.vip-gold-theme .btn.btn-secondary:not(.btn-danger-outline):hover,
body.vip-gold-theme #btn-load-more:hover {
  background: rgba(245, 158, 11, 0.2) !important;
  color: #fffbeb !important;
  border-color: rgba(251, 191, 36, 0.68) !important;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.22) !important;
}

/* Floating Scroll-to-Filters button -> VIP Gold */
body.vip-gold-theme .btn-scroll-to-filters {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  color: #140d03 !important;
  border: 1px solid rgba(254, 240, 138, 0.65) !important;
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.42) !important;
}

body.vip-gold-theme .btn-scroll-to-filters:hover {
  background: linear-gradient(135deg, #fde047 0%, #fbbf24 100%) !important;
  box-shadow: 0 8px 28px rgba(251, 191, 36, 0.6) !important;
}

/* ==========================================================================
   NATIVE-APP MOBILE ADAPTATION (STRICTLY <= 768px — ZERO DESKTOP CHANGES)
   ========================================================================== */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden !important;
    -webkit-tap-highlight-color: transparent;
  }

  /* Prevent iOS Safari zoom on input focus */
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="search"],
  select,
  textarea {
    font-size: 16px !important;
  }

  .main-content {
    padding: 12px 12px calc(90px + env(safe-area-inset-bottom, 0px)) !important;
    max-width: 100% !important;
    overflow-x: hidden;
  }

  /* 1. Compact Native App Header + Horizontal Pill Nav */
  .app-header {
    padding: 8px 12px 6px !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
  }

  .header-container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    padding: 0 !important;
  }

  .brand-group {
    order: 1;
    gap: 8px !important;
    min-width: 0;
  }

  .logo-radar {
    width: 30px !important;
    height: 30px !important;
    flex-shrink: 0;
  }

  .brand-title {
    font-size: 1.04rem !important;
    line-height: 1.15 !important;
  }

  .brand-tag {
    font-size: 0.54rem !important;
    letter-spacing: 0.04em !important;
    white-space: nowrap;
  }

  .header-actions {
    order: 2;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0;
  }

  .header-pricing-btn,
  .header-cabinet-btn {
    min-height: 36px !important;
    padding: 6px 10px !important;
    font-size: 0.74rem !important;
    border-radius: 10px !important;
    gap: 5px !important;
    white-space: nowrap;
  }

  .header-pricing-btn svg,
  .header-cabinet-btn svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* Horizontal scrollable native pill bar for secondary tabs (Favorites, CRM, TG bot, Watchlist) */
  .nav-tabs {
    order: 3;
    width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px !important;
    padding: 4px 0 2px !important;
    margin: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .nav-tabs .nav-tab {
    flex: 0 0 auto !important;
    min-height: 34px !important;
    padding: 6px 11px !important;
    font-size: 0.76rem !important;
    border-radius: 999px !important;
    white-space: nowrap !important;
    gap: 5px !important;
  }

  .nav-tabs .nav-tab svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* 2. Hero Plaque — Clean Native Mobile Card */
  .tempo-hero-section {
    padding: 18px 14px !important;
    margin: 0 0 14px 0 !important;
    border-radius: 18px !important;
  }

  .tempo-hero-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    padding: 0 !important;
  }

  .tempo-hero-left {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  .tempo-hero-title {
    font-size: clamp(1.32rem, 6vw, 1.72rem) !important;
    line-height: 1.18 !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    letter-spacing: -0.01em !important;
  }

  .tempo-hero-desc {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
  }

  .tempo-logos-strip.hero-inline-carousel {
    margin: 0 0 14px 0 !important;
    padding: 10px 0 !important;
  }

  .carousel-platform-chip.logo-only-chip {
    width: 34px !important;
    height: 34px !important;
    padding: 4px !important;
    border-radius: 9px !important;
  }

  .hero-actions,
  .hero-tier-cta-wrap {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: stretch !important;
  }

  .hero-actions .btn,
  #btn-hero-choose-tariff {
    width: 100% !important;
    min-height: 48px !important;
    font-size: 0.92rem !important;
    border-radius: 13px !important;
    justify-content: center !important;
  }

  /* Hide decorative overlapping balance mockup on small phones to keep feed immediately visible */
  .tempo-hero-right {
    display: none !important;
  }

  /* 3. Search & Filters Card — Thumb-Friendly Vertical Stack */
  #radar-controls-card {
    padding: 14px 12px !important;
    border-radius: 16px !important;
    margin-bottom: 16px !important;
  }

  .search-bar-row,
  .radar-search-wrapper {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  #search-input {
    min-height: 44px !important;
    padding: 10px 12px 10px 36px !important;
    border-radius: 12px !important;
  }

  #btn-do-search {
    min-height: 44px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    font-size: 0.84rem !important;
    white-space: nowrap;
  }

  .filters-row,
  .filter-controls-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .filter-group select,
  .niche-dropdown-trigger,
  .btn-apply-filters {
    width: 100% !important;
    min-height: 46px !important;
    border-radius: 12px !important;
  }

  /* Feed Header + Dual Sort Controls */
  .feed-header-bar,
  .feed-section-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .section-feed-heading {
    font-size: 1.28rem !important;
  }

  .feed-sort-controls {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .feed-sort-wrapper {
    width: 100% !important;
    min-height: 40px !important;
    padding: 6px 10px !important;
    border-radius: 11px !important;
    justify-content: space-between !important;
  }

  .feed-sort-label {
    display: none !important;
  }

  .feed-sort-select {
    width: 100% !important;
    font-size: 0.8rem !important;
    text-overflow: ellipsis;
  }

  /* 4. Lead Order Cards — Native Card Feel */
  .leads-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .lead-card {
    padding: 14px 13px !important;
    border-radius: 16px !important;
  }

  .lead-card-header {
    gap: 10px !important;
  }

  .lead-avatar {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.85rem !important;
    flex-shrink: 0;
  }

  .lead-title,
  .lead-author-name {
    font-size: 0.96rem !important;
    line-height: 1.3 !important;
  }

  .btn-favorite-star {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }

  .lead-content-box,
  .lead-excerpt {
    font-size: 0.86rem !important;
    line-height: 1.48 !important;
    padding: 11px 12px !important;
    border-radius: 12px !important;
  }

  .lead-budget-value {
    font-size: 1.32rem !important;
  }

  .lead-card-footer {
    padding-top: 10px !important;
  }

  .lead-card-footer .btn,
  .lead-card .btn-reveal-contact,
  .lead-card .btn-completed-disabled {
    width: 100% !important;
    min-height: 46px !important;
    font-size: 0.9rem !important;
    border-radius: 12px !important;
    justify-content: center !important;
  }

  /* 5. AI Deal Closer — Clean Single-Column Mobile Workspace */
  .closer-layout,
  .closer-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
  }

  .angles-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .angle-btn {
    padding: 11px 12px !important;
    border-radius: 12px !important;
    min-height: 54px !important;
  }

  .sig-input-row {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .sig-input-row input,
  .sig-input-row button {
    width: 100% !important;
    min-height: 44px !important;
    border-radius: 11px !important;
  }

  .pitch-output-card .output-header {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .pitch-output-card .copy-actions,
  #btn-regenerate-pitch {
    width: 100% !important;
    min-height: 44px !important;
    justify-content: center !important;
    border-radius: 11px !important;
  }

  #pitch-textarea {
    min-height: 165px !important;
    border-radius: 13px !important;
    padding: 12px !important;
  }

  .pitch-footer-actions.pitch-footer-split {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .pitch-send-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .pitch-send-label {
    grid-column: 1 / -1;
    font-size: 0.78rem !important;
  }

  .pitch-send-group .btn,
  #btn-mark-contacted {
    width: 100% !important;
    min-height: 46px !important;
    border-radius: 12px !important;
    justify-content: center !important;
  }

  /* 6. 6-Column VIP CRM Matrix on Mobile */
  .crm-header-card {
    padding: 14px !important;
    border-radius: 16px !important;
    gap: 12px !important;
  }

  .crm-headline h2 {
    font-size: 1.2rem !important;
  }

  .crm-headline p {
    font-size: 0.78rem !important;
  }

  .crm-kpis {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .crm-kpis .kpi-box {
    padding: 10px 8px !important;
    border-radius: 12px !important;
    text-align: center;
  }

  .crm-kpis .kpi-label {
    font-size: 0.62rem !important;
    line-height: 1.25 !important;
  }

  .crm-kpis .kpi-num {
    font-size: 1.04rem !important;
  }

  .crm-matrix-shell {
    border-radius: 14px !important;
  }

  .crm-matrix-scroll {
    -webkit-overflow-scrolling: touch;
  }

  .crm-matrix-header,
  .crm-matrix-row {
    grid-template-columns: 220px repeat(5, 96px) !important;
    min-width: 700px !important;
  }

  .crm-mh-cell {
    padding: 11px 6px !important;
    flex-direction: column;
    gap: 4px !important;
  }

  .crm-mh-cell.crm-mh-order {
    flex-direction: row;
    padding: 11px 12px !important;
  }

  .crm-mh-title {
    font-size: 0.72rem !important;
  }

  .crm-cell-order {
    padding: 10px !important;
  }

  .crm-order-card {
    height: 128px !important;
    padding: 10px 11px !important;
    border-radius: 11px !important;
  }

  .crm-order-title {
    font-size: 0.8rem !important;
  }

  .crm-order-budget {
    font-size: 0.74rem !important;
  }

  .crm-order-preview {
    font-size: 0.72rem !important;
  }

  .crm-stage-slot {
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px !important;
  }

  .crm-icon-3d {
    width: 38px !important;
    height: 38px !important;
  }

  /* 7. Tariffs & Subtle "Ввести ключ" Button */
  .pricing-headline {
    padding: 18px 14px !important;
    border-radius: 16px !important;
  }

  .pricing-cards-container {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .pricing-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
    transform: none !important;
  }

  .pricing-card .btn {
    min-height: 48px !important;
    border-radius: 12px !important;
    font-size: 0.92rem !important;
  }

  .pricing-enter-key-row {
    margin-top: 12px !important;
    padding: 0 2px !important;
  }

  .btn-enter-key-subtle {
    min-height: 36px !important;
    padding: 7px 14px !important;
    font-size: 0.8rem !important;
  }

  /* 8. Personal Cabinet */
  .cabinet-shell {
    gap: 12px !important;
  }

  .cabinet-card {
    padding: 15px 14px !important;
    border-radius: 16px !important;
  }

  .cabinet-status-bar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .cabinet-status-tariff-btn {
    width: 100% !important;
    min-height: 38px !important;
    text-align: center;
  }

  .cabinet-key-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  .cabinet-key-btns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }

  .cabinet-key-btns .btn {
    min-height: 40px !important;
    justify-content: center !important;
    border-radius: 10px !important;
  }

  .cabinet-key-form-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .cabinet-key-form-grid input,
  .cabinet-key-form-grid button {
    min-height: 46px !important;
    border-radius: 11px !important;
  }

  /* 9. Native Bottom-Sheet Modals (Telegram Bot, Watchlist, Enter Key, VIP Upgrade, Checkout) */
  .modal-overlay {
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 0 !important;
  }

  .modal-overlay .modal-card {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 90dvh !important;
    margin: 0 !important;
    border-radius: 22px 22px 0 0 !important;
    border-bottom: none !important;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    animation: mobileSheetSlideUp 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes mobileSheetSlideUp {
    from { transform: translateY(28px); opacity: 0.7; }
    to { transform: translateY(0); opacity: 1; }
  }

  .modal-header {
    padding: 16px 16px 12px !important;
    position: sticky;
    top: 0;
    z-index: 4;
    background: inherit;
  }

  .modal-body {
    padding: 12px 16px !important;
  }

  .modal-footer {
    padding: 12px 16px 6px !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .modal-footer .btn {
    flex: 1 1 auto !important;
    min-height: 46px !important;
    border-radius: 12px !important;
    justify-content: center !important;
  }

  .btn-close-modal {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.5rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 10px !important;
  }

  /* Telegram Bot Modal mobile layout */
  #modal-alerts .alerts-tabs-nav {
    gap: 6px !important;
  }

  #modal-alerts .alerts-tab-btn {
    padding: 9px 8px !important;
    font-size: 0.78rem !important;
  }

  #modal-alerts #alerts-pane-custom .form-group > div[style*="display: flex"] {
    flex-direction: column !important;
  }

  #modal-alerts #alerts-pane-custom div[style*="grid-template-columns: 1fr 125px"] {
    grid-template-columns: 1fr !important;
  }

  #modal-alerts .alerts-btn-gold,
  #modal-alerts .alerts-btn-outline-gold {
    width: 100% !important;
    min-height: 46px !important;
    justify-content: center !important;
  }

  /* Watchlist Modal mobile layout */
  #modal-watchlist .explainer-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  #modal-watchlist .watchlist-input-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  #modal-watchlist .watchlist-input-row input,
  #modal-watchlist .watchlist-input-row select,
  #modal-watchlist .watchlist-input-row button {
    width: 100% !important;
    min-height: 46px !important;
    border-radius: 12px !important;
  }

  /* 10. Native Mobile Bottom Tab Bar & Floating Scroll-Up Button */
  .mobile-sticky-bar {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    align-items: center !important;
    height: auto !important;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 6px !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: 950 !important;
  }

  .mobile-sticky-bar .mobile-bar-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    min-height: 48px !important;
    padding: 6px 4px !important;
    border-radius: 12px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
  }

  .mobile-sticky-bar .mobile-bar-btn svg {
    width: 19px !important;
    height: 19px !important;
  }

  body.vip-gold-theme .mobile-sticky-bar {
    background: rgba(14, 10, 5, 0.94) !important;
    border-top: 1px solid rgba(245, 158, 11, 0.34) !important;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.65) !important;
  }

  body.vip-gold-theme .mobile-sticky-bar .mobile-bar-btn {
    background: rgba(245, 158, 11, 0.08) !important;
    border: 1px solid rgba(245, 158, 11, 0.22) !important;
    color: #fde68a !important;
  }

  body.vip-gold-theme .mobile-sticky-bar .mobile-bar-btn:active,
  body.vip-gold-theme .mobile-sticky-bar .mobile-bar-btn.active {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.24) 0%, rgba(217, 119, 6, 0.18) 100%) !important;
    border-color: rgba(251, 191, 36, 0.62) !important;
    color: #fffbeb !important;
  }

  .btn-scroll-to-filters {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
    right: 14px !important;
    width: 44px !important;
    height: 44px !important;
  }

  /* Toast positioned neatly above bottom tab bar */
  .toast-container {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
    left: 12px !important;
    right: 12px !important;
    max-width: none !important;
  }
}

@media (max-width: 480px) {
  .brand-tag {
    display: none !important;
  }

  .header-pricing-btn span {
    display: inline;
  }

  .cabinet-vip-grid {
    grid-template-columns: 1fr !important;
  }

  .crm-kpis {
    grid-template-columns: 1fr !important;
  }

  .crm-kpis .kpi-box {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 14px !important;
    text-align: left !important;
  }
}

/* ==========================================================================
   MOBILE 1.5x PROPORTIONAL COMPACT SCALE (STRICTLY <= 768px, ZERO DESKTOP IMPACT)
   ========================================================================== */
@media (max-width: 768px) {
  /* Base rem scale: 16px / 1.5 = ~10.7px -> proportionally scales ALL rem typography across entire mobile app */
  html {
    font-size: 11px !important;
  }

  .main-content {
    padding: 10px 10px calc(68px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Inputs, selects, textareas scaled ~1.5x smaller */
  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="search"],
  select,
  textarea {
    font-size: 11.5px !important;
  }

  /* Header & top buttons */
  .app-header {
    padding: 6px 10px 4px !important;
  }

  .logo-radar {
    width: 22px !important;
    height: 22px !important;
  }

  .header-pricing-btn,
  .header-cabinet-btn {
    min-height: 25px !important;
    padding: 4px 8px !important;
    font-size: 0.72rem !important;
    border-radius: 7px !important;
    gap: 4px !important;
  }

  .header-pricing-btn svg,
  .header-cabinet-btn svg {
    width: 11px !important;
    height: 11px !important;
  }

  .nav-tabs .nav-tab {
    min-height: 24px !important;
    padding: 3px 8px !important;
    font-size: 0.74rem !important;
    gap: 4px !important;
  }

  .nav-tabs .nav-tab svg {
    width: 11px !important;
    height: 11px !important;
  }

  /* Hero section & CTA */
  .tempo-hero-section {
    padding: 13px 11px !important;
    border-radius: 13px !important;
  }

  .tempo-hero-title {
    font-size: clamp(1.1rem, 4.2vw, 1.35rem) !important;
  }

  .carousel-platform-chip.logo-only-chip {
    width: 24px !important;
    height: 24px !important;
    padding: 3px !important;
    border-radius: 6px !important;
  }

  .hero-actions .btn,
  #btn-hero-choose-tariff {
    min-height: 32px !important;
    padding: 6px 12px !important;
    font-size: 0.86rem !important;
    border-radius: 9px !important;
  }

  /* Search & filters */
  #radar-controls-card {
    padding: 10px !important;
    border-radius: 12px !important;
  }

  #search-input {
    min-height: 30px !important;
    padding: 6px 10px 6px 28px !important;
    border-radius: 8px !important;
  }

  #btn-do-search {
    min-height: 30px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
  }

  .filter-group select,
  .niche-dropdown-trigger,
  .btn-apply-filters {
    min-height: 31px !important;
    padding: 5px 9px !important;
    border-radius: 8px !important;
  }

  .feed-sort-wrapper {
    min-height: 28px !important;
    padding: 4px 7px !important;
    border-radius: 8px !important;
  }

  /* Lead cards & buttons */
  .leads-grid {
    gap: 9px !important;
  }

  .lead-card {
    padding: 10px !important;
    border-radius: 12px !important;
  }

  .lead-avatar {
    width: 27px !important;
    height: 27px !important;
  }

  .btn-favorite-star {
    width: 26px !important;
    height: 26px !important;
    border-radius: 7px !important;
  }

  .btn-favorite-star svg {
    width: 13px !important;
    height: 13px !important;
  }

  .lead-content-box,
  .lead-excerpt {
    padding: 8px 9px !important;
    border-radius: 9px !important;
  }

  .lead-card-footer .btn,
  .lead-card .btn-reveal-contact,
  .lead-card .btn-completed-disabled {
    min-height: 32px !important;
    padding: 6px 10px !important;
    font-size: 0.86rem !important;
    border-radius: 9px !important;
  }

  /* AI Deal Closer */
  .angle-btn {
    min-height: 38px !important;
    padding: 7px 9px !important;
    border-radius: 9px !important;
  }

  .sig-input-row input,
  .sig-input-row button,
  #btn-regenerate-pitch,
  .pitch-send-group .btn,
  #btn-mark-contacted {
    min-height: 32px !important;
    padding: 6px 10px !important;
    border-radius: 9px !important;
  }

  #pitch-textarea {
    min-height: 120px !important;
    padding: 9px !important;
    border-radius: 9px !important;
  }

  /* 6-Column VIP CRM Matrix */
  .crm-header-card {
    padding: 10px !important;
    border-radius: 12px !important;
  }

  .crm-matrix-header,
  .crm-matrix-row {
    grid-template-columns: 175px repeat(5, 70px) !important;
    min-width: 525px !important;
  }

  .crm-order-card {
    height: 98px !important;
    padding: 7px 8px !important;
    border-radius: 8px !important;
  }

  .crm-stage-slot {
    width: 42px !important;
    height: 42px !important;
    border-radius: 9px !important;
  }

  .crm-icon-3d {
    width: 26px !important;
    height: 26px !important;
  }

  /* Tariffs & Cabinet buttons */
  .pricing-card {
    padding: 14px 12px !important;
    border-radius: 13px !important;
  }

  .pricing-card .btn,
  .cabinet-cta-emerald,
  .cabinet-cta-gold,
  .cabinet-key-form-grid input,
  .cabinet-key-form-grid button {
    min-height: 33px !important;
    padding: 6px 10px !important;
    border-radius: 9px !important;
  }

  .cabinet-key-btns .btn,
  .cabinet-status-tariff-btn {
    min-height: 28px !important;
    padding: 4px 8px !important;
    border-radius: 7px !important;
  }

  .btn-enter-key-subtle {
    min-height: 26px !important;
    padding: 4px 10px !important;
    border-radius: 7px !important;
  }

  /* Modals (Bottom Sheets) */
  .modal-overlay .modal-card {
    border-radius: 16px 16px 0 0 !important;
  }

  .modal-header {
    padding: 12px 12px 8px !important;
  }

  .modal-body {
    padding: 9px 12px !important;
  }

  .modal-footer {
    padding: 8px 12px 4px !important;
  }

  .modal-footer .btn,
  #modal-alerts .alerts-btn-gold,
  #modal-alerts .alerts-btn-outline-gold,
  #modal-watchlist .watchlist-input-row input,
  #modal-watchlist .watchlist-input-row select,
  #modal-watchlist .watchlist-input-row button {
    min-height: 32px !important;
    padding: 6px 10px !important;
    border-radius: 9px !important;
  }

  #modal-alerts .alerts-tab-btn {
    padding: 6px 6px !important;
    border-radius: 8px !important;
  }

  .btn-close-modal {
    width: 28px !important;
    height: 28px !important;
    font-size: 1.25rem !important;
    border-radius: 7px !important;
  }

  /* Bottom Tab Bar & Floating Scroll-Up Button */
  .mobile-sticky-bar {
    padding: 5px 8px calc(5px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 5px !important;
  }

  .mobile-sticky-bar .mobile-bar-btn {
    min-height: 34px !important;
    padding: 4px 2px !important;
    border-radius: 8px !important;
    gap: 2px !important;
  }

  .mobile-sticky-bar .mobile-bar-btn svg {
    width: 14px !important;
    height: 14px !important;
  }

  .btn-scroll-to-filters {
    width: 32px !important;
    height: 32px !important;
    bottom: calc(54px + env(safe-area-inset-bottom, 0px)) !important;
    right: 10px !important;
  }

  .btn-scroll-to-filters svg {
    width: 15px !important;
    height: 15px !important;
  }

  .toast-container {
    bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Desktop-safe hiding of mobile-only helper controls (ZERO desktop impact) */
.mobile-filter-trigger-wrap,
.mobile-filter-sheet-header,
.mobile-filter-sheet-footer,
.mobile-top-label {
  display: none;
}

/* ==========================================================================
   MOBILE FIRST-TOUCH REDESIGN (STRICTLY <= 768px — MATCHES ALL 6 MOCKUPS)
   ========================================================================== */
@media (max-width: 768px) {
  html {
    font-size: 14px !important;
  }

  body {
    background-color: #060b14 !important;
    position: relative;
  }

  body.mobile-sheet-lock {
    overflow: hidden !important;
  }

  /* Radar grid background image across all mobile tariffs (warm gold filter on VIP) */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(180deg, rgba(6, 12, 22, 0.72) 0%, rgba(6, 14, 24, 0.82) 55%, rgba(5, 10, 18, 0.92) 100%),
      url('images/tempo_hero_bg.png') center top / cover no-repeat;
    pointer-events: none;
  }

  body.vip-gold-theme::before {
    filter: sepia(0.82) hue-rotate(6deg) saturate(1.75) brightness(0.62);
  }

  /* Main scrollable workspace strictly between fixed top (50px) and bottom (58px) bars */
  .main-content {
    padding: 60px 12px calc(72px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* 1. Fixed Non-Removable Top Bar (First Touch: Logo ONLY) */
  .app-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 50px !important;
    padding: 0 14px !important;
    z-index: 960 !important;
    background: rgba(8, 13, 24, 0.94) !important;
    border-bottom: 1px solid rgba(52, 211, 153, 0.16) !important;
    display: flex !important;
    align-items: center !important;
  }

  .header-container {
    width: 100% !important;
    height: 100% !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  .brand-group {
    gap: 9px !important;
  }

  .logo-radar {
    width: 26px !important;
    height: 26px !important;
  }

  .brand-title {
    font-size: 1.08rem !important;
    font-weight: 800 !important;
  }

  .brand-tag {
    display: none !important;
  }

  /* On First Touch (Guest), top bar shows ONLY main logo */
  body.guest-first-touch .app-header .nav-tabs,
  body.guest-first-touch .app-header .header-actions {
    display: none !important;
  }

  /* 2. Fixed Non-Removable Bottom Bar (4 items: Как работает | Избранное | Тарифы | Кабинет) */
  .mobile-sticky-bar {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)) !important;
    gap: 2px !important;
    background: rgba(8, 13, 24, 0.96) !important;
    border-top: 1px solid rgba(52, 211, 153, 0.22) !important;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.55) !important;
    z-index: 960 !important;
  }

  .mobile-sticky-bar .mobile-bar-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    min-height: 44px !important;
    padding: 4px 2px !important;
    gap: 3px !important;
    color: #94a3b8 !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
  }

  .mobile-sticky-bar .mobile-bar-btn svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor;
  }

  .mobile-sticky-bar .mobile-bar-btn.active,
  .mobile-sticky-bar .mobile-bar-btn:active {
    color: #34d399 !important;
    background: rgba(16, 185, 129, 0.08) !important;
  }

  /* 3. Hero Information Block (Mockup 1 — dark card with border, carousel, slightly more compact CTA) */
  .tempo-hero-section {
    background: rgba(10, 15, 28, 0.88) !important;
    border: 1px solid rgba(52, 211, 153, 0.24) !important;
    border-radius: 18px !important;
    padding: 18px 14px 16px !important;
    margin: 2px 0 14px 0 !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important;
  }

  .tempo-hero-title {
    font-size: 1.48rem !important;
    line-height: 1.16 !important;
    font-weight: 900 !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.01em !important;
  }

  .tempo-hero-desc {
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    text-transform: none !important;
    color: #cbd5e1 !important;
    margin: 0 0 14px 0 !important;
    letter-spacing: 0 !important;
  }

  .tempo-logos-strip.hero-inline-carousel {
    margin: 0 0 14px 0 !important;
    padding: 10px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .carousel-platform-chip.logo-only-chip {
    width: 36px !important;
    height: 36px !important;
    padding: 5px !important;
    border-radius: 10px !important;
    border: 1px solid rgba(52, 211, 153, 0.45) !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.22) !important;
  }

  /* Compact CTA button (smaller than mockup 1 as requested) */
  .hero-actions .btn,
  #btn-hero-choose-tariff {
    width: 100% !important;
    min-height: 38px !important;
    padding: 8px 14px !important;
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    border-radius: 11px !important;
    box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35) !important;
  }

  /* 4. Filter Trigger Button + Fullscreen Filter Sheet (Mockups 2 & 3) */
  .mobile-filter-trigger-wrap {
    display: flex !important;
    justify-content: center;
    margin: 0 0 18px 0;
  }

  .mobile-filter-trigger-btn {
    width: 100%;
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 12px;
    background: rgba(15, 23, 40, 0.9);
    border: 1px solid rgba(52, 211, 153, 0.32);
    color: #e2e8f0;
    font-family: var(--font-sans);
    font-size: 0.86rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  }

  .mobile-filter-trigger-btn svg {
    color: #34d399;
  }

  /* Hide desktop filter bar in normal flow; show fullscreen when opened */
  #radar-controls-card {
    display: none !important;
  }

  #radar-controls-card.mobile-filter-open {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 1200 !important;
    margin: 0 !important;
    padding: 10px 14px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    border-radius: 0 !important;
    background: rgba(8, 13, 24, 0.98) !important;
    border: 1.5px solid rgba(52, 211, 153, 0.48) !important;
    box-shadow: inset 0 0 28px rgba(16, 185, 129, 0.12) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 12px !important;
  }

  #radar-controls-card.mobile-filter-open .mobile-filter-sheet-header {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-sheet-handle {
    width: 38px;
    height: 4px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.4);
    margin: 0 auto;
  }

  .mobile-filter-sheet-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mobile-filter-sheet-title {
    font-family: var(--font-display), var(--font-sans), sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
  }

  .mobile-filter-sheet-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .mobile-filter-reset-link {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.82rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 4px;
  }

  .mobile-filter-close-x {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
  }

  #radar-controls-card.mobile-filter-open .radar-filters-header,
  #radar-controls-card.mobile-filter-open #btn-sync-live {
    display: none !important;
  }

  #radar-controls-card.mobile-filter-open .mobile-filter-sheet-footer {
    display: block !important;
    margin-top: auto;
    padding-top: 12px;
  }

  #radar-controls-card.mobile-filter-open #btn-mobile-apply-filters {
    min-height: 44px !important;
    border-radius: 14px !important;
    font-size: 0.94rem !important;
    font-weight: 800 !important;
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.36) !important;
  }

  /* 5. Feed Heading + Order Cards (Mockup 4: 2.5 cards visible between bars, font -10%) */
  .radar-feed-container {
    margin-top: 4px;
  }

  .feed-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 10px !important;
  }

  .feed-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
  }

  .feed-header-controls {
    width: 100% !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 6px !important;
  }

  .feed-header-controls .feed-sub {
    grid-column: 1 / -1;
    font-size: 0.74rem !important;
    color: #94a3b8;
  }

  .leads-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  /* Fixed uniform height: ~2.5 cards fit between 50px top bar and 58px bottom bar */
  .lead-card {
    height: calc((100dvh - 134px) / 2.5) !important;
    min-height: 192px !important;
    max-height: 226px !important;
    padding: 11px 12px 9px !important;
    border-radius: 15px !important;
    background: rgba(11, 17, 30, 0.92) !important;
    border: 1px solid rgba(52, 211, 153, 0.28) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    gap: 5px !important;
    overflow: hidden !important;
    cursor: pointer;
  }

  .lead-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin-bottom: 0 !important;
  }

  .lead-author-box {
    gap: 7px !important;
    min-width: 0;
    flex: 1;
  }

  .lead-avatar {
    width: 24px !important;
    height: 24px !important;
    border-radius: 7px !important;
    flex-shrink: 0;
  }

  /* Font -10% relative to mockup 4 */
  .lead-card-full-title {
    font-size: 0.88rem !important;
    line-height: 1.24 !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
  }

  .lead-badges {
    gap: 4px !important;
    flex-shrink: 0;
  }

  .lead-badges .badge {
    font-size: 0.62rem !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
  }

  .lead-body-content,
  .lead-body-5lines {
    font-size: 0.76rem !important;
    line-height: 1.32 !important;
    color: #cbd5e1 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .lead-meta-strip {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .lead-budget-label {
    display: none !important;
  }

  .lead-budget {
    font-size: 0.96rem !important;
    font-weight: 800 !important;
    color: #34d399 !important;
    line-height: 1.1 !important;
  }

  .lead-budget-negotiable {
    font-size: 0.76rem !important;
  }

  .lead-tags {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    gap: 4px !important;
  }

  .lead-tags .tag {
    font-size: 0.62rem !important;
    padding: 2px 6px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
  }

  .lead-lifetime-badge {
    padding: 2px 6px !important;
    border-radius: 6px !important;
  }

  .lead-lifetime-badge .lifetime-title {
    display: none !important;
  }

  .lead-lifetime-badge .lifetime-timer,
  .lead-lifetime-badge .lifetime-status-text {
    font-size: 0.64rem !important;
  }

  /* Bottom row of card: Star on left, clean "Откликнуться →" link on right (Mockup 4) */
  .lead-card-footer.lead-card-footer-clean {
    border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding-top: 5px !important;
    margin-top: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  .lead-card .lead-card-footer .btn:not(.btn-completed-disabled),
  .lead-card .btn-reveal-contact:not(.btn-completed-disabled) {
    width: auto !important;
    min-height: 24px !important;
    padding: 2px 6px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #34d399 !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
  }

  .lead-card .btn-favorite-star {
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
  }

  /* Floating TOP Button (appears after 3rd card) */
  .btn-scroll-to-filters {
    width: auto !important;
    min-width: 44px !important;
    height: 36px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    gap: 4px !important;
    bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
    right: 12px !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
  }

  .mobile-top-label {
    display: inline !important;
    letter-spacing: 0.04em;
  }

  /* 6. Tariffs Section (Mockup 5: TEST + STANDARD in 2 columns top, VIP AI full-width bottom + "80%..." fits on 1 screen) */
  .home-pricing-section,
  #view-pricing {
    padding: 6px 0 4px !important;
    margin-top: 12px !important;
  }

  .home-pricing-header {
    text-align: left !important;
    margin-bottom: 8px !important;
  }

  .home-pricing-header .section-feed-heading,
  .pricing-headline .section-feed-heading {
    font-size: 0.78rem !important;
    letter-spacing: 0.08em !important;
    color: #cbd5e1 !important;
    margin: 0 0 2px 0 !important;
  }

  .home-pricing-subtitle {
    font-size: 0.96rem !important;
    font-weight: 800 !important;
    color: #fbbf24 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }

  .pricing-cards-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    margin-bottom: 6px !important;
  }

  /* VIP AI spans full width underneath TEST & STANDARD */
  .pricing-cards-container .featured-ltd-card,
  #home-tariff-card-vip {
    grid-column: 1 / -1 !important;
  }

  /* Single-column mode when only 1 card visible (Standard tier) */
  .pricing-cards-container.cols-1 {
    grid-template-columns: 1fr !important;
  }

  .pricing-card {
    padding: 10px 9px 9px !important;
    border-radius: 14px !important;
    background: rgba(10, 15, 26, 0.92) !important;
    gap: 4px !important;
  }

  .pricing-card .pricing-top-pill {
    position: static !important;
    transform: none !important;
    font-size: 0.54rem !important;
    padding: 2px 7px !important;
    margin-bottom: 4px !important;
    display: inline-block !important;
  }

  .pricing-card .card-badge {
    font-size: 0.56rem !important;
    margin-bottom: 2px !important;
  }

  .pricing-card .pricing-tier-name {
    font-size: 1.04rem !important;
    margin: 0 !important;
  }

  .pricing-card .price-val {
    margin: 2px 0 !important;
  }

  .pricing-card .price-val .amount {
    font-size: 1.38rem !important;
  }

  .pricing-card .price-val .currency,
  .pricing-card .price-val .period {
    font-size: 0.78rem !important;
  }

  .pricing-card .plan-desc {
    font-size: 0.64rem !important;
    line-height: 1.25 !important;
    margin: 2px 0 4px !important;
  }

  .pricing-card .plan-features {
    gap: 2px !important;
    margin: 0 0 6px 0 !important;
  }

  .pricing-card .plan-features li {
    font-size: 0.62rem !important;
    line-height: 1.22 !important;
  }

  .pricing-card .btn {
    min-height: 30px !important;
    padding: 5px 8px !important;
    font-size: 0.68rem !important;
    border-radius: 9px !important;
  }

  .pricing-enter-key-row {
    margin: 4px 0 6px !important;
    justify-content: center !important;
  }

  .btn-enter-key-subtle {
    min-height: 24px !important;
    padding: 3px 10px !important;
    font-size: 0.7rem !important;
  }

  /* Gold FOMO Banner ("80% сделок...") fits on same screen with Tariffs */
  .tariffs-fomo-footer {
    margin: 4px 0 0 !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.18) 0%, rgba(180, 83, 9, 0.14) 100%) !important;
    border: 1px solid rgba(251, 191, 36, 0.55) !important;
    color: #fde68a !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }

  /* 7. How It Works Block (Mockup 6: 4 dark cards with glowing emerald 01-04 badges) */
  .home-how-it-works-section {
    margin-top: 20px !important;
    padding: 8px 0 !important;
  }

  .how-it-works-heading {
    text-align: center !important;
    color: #34d399 !important;
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    margin-bottom: 12px !important;
  }

  .how-it-works-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  .how-step-card {
    background: rgba(11, 17, 30, 0.92) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    padding: 13px 14px !important;
  }

  .how-step-head {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 6px !important;
  }

  .how-step-num {
    width: 30px !important;
    height: 30px !important;
    border-radius: 8px !important;
    background: rgba(16, 185, 129, 0.14) !important;
    border: 1px solid rgba(52, 211, 153, 0.5) !important;
    color: #34d399 !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.25) !important;
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0;
  }

  .how-step-head h3 {
    font-size: 0.94rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
  }

  .how-step-desc {
    font-size: 0.78rem !important;
    line-height: 1.4 !important;
    color: #cbd5e1 !important;
    margin: 0 !important;
  }
}

/* ==========================================================================
   MOBILE FIRST-TOUCH POLISH PASS (STRICTLY <= 768px — ZERO DESKTOP IMPACT)
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. Brighter, clearly visible radar grid background across all tariffs */
  body {
    background: #071220 !important;
  }

  body::before {
    z-index: 0 !important;
    background:
      linear-gradient(180deg, rgba(7, 17, 30, 0.34) 0%, rgba(6, 15, 27, 0.46) 50%, rgba(5, 12, 22, 0.62) 100%),
      url('images/tempo_hero_bg.png') center top / cover no-repeat !important;
  }

  body.vip-gold-theme::before {
    filter: sepia(0.84) hue-rotate(8deg) saturate(1.85) brightness(0.76) !important;
  }

  .main-content,
  .app-view,
  #view-radar {
    position: relative;
    z-index: 1;
    background: transparent !important;
  }

  /* 2. Hero Block: font -20%, strict 2-line title, 1-line subtitle, denser carousel, 30% smaller centered CTA (10% side margins) */
  .tempo-hero-section {
    padding: 15px 12px 14px !important;
    background: rgba(9, 14, 26, 0.84) !important;
  }

  .tempo-hero-title {
    font-size: clamp(1.06rem, 4.5vw, 1.22rem) !important;
    line-height: 1.2 !important;
    margin: 0 0 6px 0 !important;
    text-align: center !important;
  }

  .tempo-hero-title .brand-gradient-text {
    display: block !important;
  }

  .tempo-hero-desc {
    font-size: clamp(0.62rem, 2.75vw, 0.72rem) !important;
    white-space: nowrap !important;
    text-align: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    margin: 0 0 11px 0 !important;
  }

  .tempo-logos-strip.hero-inline-carousel {
    padding: 8px 0 !important;
    margin: 0 0 12px 0 !important;
  }

  .platforms-carousel-track,
  .platforms-logo-marquee {
    gap: 5px !important;
  }

  .carousel-platform-chip.logo-only-chip {
    width: 32px !important;
    height: 32px !important;
    padding: 4px !important;
    margin: 0 !important;
  }

  .hero-actions,
  .tempo-hero-actions,
  .hero-tier-cta-wrap {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .hero-actions .btn,
  .tempo-hero-actions .btn,
  #btn-hero-choose-tariff {
    width: 80% !important;
    max-width: 80% !important;
    margin: 0 auto !important;
    min-height: 28px !important;
    padding: 5px 10px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    border-radius: 9px !important;
    line-height: 1.15 !important;
  }

  /* 3. Fix Filter Sheet: clean compact panel between top & bottom bars, visible X close button, NO endless empty scroll */
  #radar-controls-card.mobile-filter-open {
    position: fixed !important;
    top: 50px !important;
    bottom: 58px !important;
    left: 8px !important;
    right: 8px !important;
    height: auto !important;
    max-height: calc(100dvh - 114px) !important;
    border-radius: 16px !important;
    padding: 12px 14px 14px !important;
    justify-content: flex-start !important;
    overflow-y: auto !important;
    gap: 10px !important;
    z-index: 1200 !important;
  }

  #radar-controls-card.mobile-filter-open .search-box,
  #radar-controls-card.mobile-filter-open .filters-group,
  #radar-controls-card.mobile-filter-open .filter-dropdown {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  #radar-controls-card.mobile-filter-open .search-box {
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    margin-bottom: 4px !important;
  }

  #radar-controls-card.mobile-filter-open .filters-group {
    gap: 10px !important;
  }

  #radar-controls-card.mobile-filter-open .multiselect-dropdown-menu {
    position: static !important;
    width: 100% !important;
    max-height: 180px !important;
    overflow-y: auto !important;
    margin-top: 6px !important;
  }

  #radar-controls-card.mobile-filter-open .mobile-filter-sheet-footer {
    margin-top: 8px !important;
    padding-top: 8px !important;
  }

  .mobile-filter-close-x {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 34px !important;
    background: rgba(239, 68, 68, 0.14) !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    color: #fecaca !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
  }

  /* 4. Sort selects under Feed heading: font -30% */
  .feed-sort-select {
    font-size: 0.64rem !important;
  }

  /* 5. Order Cards: restore FULL functionality + visible "Откликнуться" button inside uniform height */
  .lead-card {
    height: auto !important;
    min-height: 196px !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 11px 12px 10px !important;
    gap: 6px !important;
  }

  .lead-header,
  .lead-meta-strip,
  .lead-card-footer {
    flex-shrink: 0 !important;
  }

  .lead-body-content,
  .lead-body-5lines {
    -webkit-line-clamp: 2 !important;
    max-height: 2.7em !important;
  }

  .lead-card-footer.lead-card-footer-clean {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 6px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  }

  .lead-card-footer.lead-card-footer-clean > div {
    width: 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    margin-left: 0 !important;
  }

  .lead-card .lead-card-footer .btn:not(.btn-completed-disabled),
  .lead-card .btn-reveal-contact:not(.btn-completed-disabled) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 30px !important;
    padding: 5px 12px !important;
    border-radius: 9px !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #04130d !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.3) !important;
  }

  /* 6. Tariffs: vertical stack (1 per row), auto height sized naturally to text content (TEST compact, Standard & VIP larger) */
  .pricing-cards-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    overflow: visible !important;
  }

  .pricing-card {
    width: 100% !important;
    height: auto !important;
    padding: 14px 14px 12px !important;
    box-sizing: border-box !important;
  }

  .pricing-card .plan-desc {
    font-size: 0.76rem !important;
    line-height: 1.35 !important;
  }

  .pricing-card .plan-features li {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
  }

  .pricing-card .btn {
    min-height: 36px !important;
    font-size: 0.8rem !important;
    margin-top: 6px !important;
  }

  /* 7. Bottom CTA Card ("Попробовать 3 дня бесплатно"): -20% size, single-line button text, button sized proportionally */
  .home-bottom-cta-section {
    padding: 8px 0 !important;
    margin-top: 12px !important;
  }

  .bottom-cta-card {
    padding: 16px 14px !important;
    border-radius: 14px !important;
    text-align: center !important;
  }

  .bottom-cta-title {
    font-size: 1rem !important;
    line-height: 1.25 !important;
    margin-bottom: 6px !important;
  }

  .bottom-cta-desc {
    font-size: 0.74rem !important;
    line-height: 1.35 !important;
    margin-bottom: 12px !important;
  }

  .bottom-cta-card .btn,
  .home-bottom-cta-section .btn {
    width: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    min-height: 34px !important;
    padding: 7px 16px !important;
    font-size: 0.76rem !important;
    border-radius: 10px !important;
  }

  /* 8. Footer: font -20% proportionally */
  .app-footer {
    padding: 20px 14px !important;
    margin-top: 18px !important;
    font-size: 0.72rem !important;
  }

  .app-footer h5 {
    font-size: 0.74rem !important;
    margin-bottom: 8px !important;
  }

  .app-footer p,
  .app-footer li,
  .app-footer a,
  .app-footer button,
  .app-footer span {
    font-size: 0.7rem !important;
    line-height: 1.4 !important;
  }
}

/* ==========================================================================
   MOBILE AVIF BACKGROUND + HERO CTA + FILTER SHEET + BOTTOM CTA FIXES (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. User's AVIF radar background centered cleanly */
  body::before {
    background:
      linear-gradient(180deg, rgba(6, 14, 24, 0.30) 0%, rgba(5, 12, 22, 0.44) 55%, rgba(4, 10, 18, 0.58) 100%),
      url('images/mobile_radar_bg.avif') center center / cover no-repeat !important;
  }

  body.vip-gold-theme::before {
    filter: sepia(0.84) hue-rotate(8deg) saturate(1.85) brightness(0.76) !important;
  }

  /* 2. Hero CTA button (#btn-tempo-start-scan / .btn-tempo-primary): visible ONLY on Guest first-touch (same as desktop!) */
  body.guest-first-touch .tempo-hero-actions {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body:not(.guest-first-touch) .tempo-hero-actions {
    display: none !important;
  }

  /* Respect JS display:none on .hero-tier-cta-wrap (do NOT force display:flex when hidden on Guest!) */
  .hero-tier-cta-wrap {
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.guest-first-touch #hero-tier-cta-wrap,
  body.vip-gold-theme #hero-tier-cta-wrap,
  body.vip-gold-theme .hero-tier-cta-wrap {
    display: none !important;
  }

  /* Compact hero block height on Mobile VIP since CTA button below logo carousel is hidden */
  body.vip-gold-theme .tempo-hero-section {
    padding: 14px 12px 8px !important;
    min-height: auto !important;
  }

  body.vip-gold-theme .tempo-logos-strip.hero-inline-carousel {
    margin: 0 !important;
    padding: 8px 0 6px !important;
    border-bottom: none !important;
  }

  #btn-tempo-start-scan,
  .btn-tempo-primary {
    width: 80% !important;
    max-width: 80% !important;
    margin: 0 auto !important;
    min-height: 34px !important;
    height: auto !important;
    padding: 8px 14px !important;
    font-size: 0.76rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
  }

  #btn-tempo-start-scan svg,
  .btn-tempo-primary svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0;
  }

  /* 3. Fix Filter Sheet: block layout so .search-box flex:1 1 100% NEVER pushes filters off-screen; 2x smaller X button */
  #radar-controls-card.mobile-filter-open {
    display: block !important;
    position: fixed !important;
    top: 52px !important;
    bottom: 60px !important;
    left: 8px !important;
    right: 8px !important;
    height: auto !important;
    max-height: calc(100dvh - 118px) !important;
    padding: 12px 14px 14px !important;
    border-radius: 16px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    z-index: 1200 !important;
  }

  #radar-controls-card.mobile-filter-open .mobile-filter-sheet-header {
    margin-bottom: 10px !important;
  }

  #radar-controls-card.mobile-filter-open .search-box {
    display: flex !important;
    flex-direction: row !important;
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
  }

  #radar-controls-card.mobile-filter-open .search-box input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 6px 10px 6px 32px !important;
    font-size: 0.82rem !important;
  }

  #radar-controls-card.mobile-filter-open .btn-do-search {
    flex: 0 0 auto !important;
    height: 38px !important;
    padding: 0 12px !important;
    font-size: 0.78rem !important;
  }

  #radar-controls-card.mobile-filter-open .filters-group,
  #radar-controls-card.mobile-filter-open .filters-group-stacked {
    display: flex !important;
    flex-direction: column !important;
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  #radar-controls-card.mobile-filter-open .filter-dropdown {
    display: flex !important;
    flex-direction: column !important;
    flex: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  #radar-controls-card.mobile-filter-open .filter-dropdown label {
    font-size: 0.76rem !important;
    margin-bottom: 4px !important;
    color: #94a3b8 !important;
  }

  #radar-controls-card.mobile-filter-open .multiselect-trigger-btn,
  #radar-controls-card.mobile-filter-open select {
    width: 100% !important;
    height: 38px !important;
    font-size: 0.82rem !important;
  }

  #radar-controls-card.mobile-filter-open .mobile-filter-sheet-footer {
    display: block !important;
    margin-top: 14px !important;
    padding-top: 10px !important;
  }

  /* Close X button 2x smaller */
  .mobile-filter-close-x {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.82rem !important;
    border-radius: 6px !important;
    padding: 0 !important;
  }

  /* 4. Bottom CTA Block ("ГОТОВЫ НАЙТИ ЛУЧШИЕ ЗАКАЗЫ?") & Button (.bottom-cta-emerald-btn): -20% smaller, 1-line button */
  #home-bottom-cta-section .bottom-cta-card {
    padding: 14px 12px !important;
    border-radius: 14px !important;
  }

  #home-bottom-cta-section .bottom-cta-title {
    font-size: 0.94rem !important;
    line-height: 1.22 !important;
    margin: 0 0 6px 0 !important;
  }

  #home-bottom-cta-section .bottom-cta-desc {
    font-size: 0.72rem !important;
    line-height: 1.35 !important;
    margin: 0 0 12px 0 !important;
  }

  #btn-bottom-free-trial,
  .bottom-cta-emerald-btn {
    width: auto !important;
    max-width: 92% !important;
    min-height: 34px !important;
    height: auto !important;
    padding: 8px 18px !important;
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    border-radius: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }

  /* 5. Final First-Touch Polish: 30% darker bg, 2.5 cards height, 1-line tariffs subtitle, white Tariffs icon, hide footer */
  body::before {
    background:
      linear-gradient(180deg, rgba(5, 11, 20, 0.60) 0%, rgba(4, 10, 18, 0.72) 55%, rgba(3, 8, 15, 0.82) 100%),
      url('images/mobile_radar_bg.avif') center center / cover no-repeat !important;
  }

  /* Restore exact 2.5-card-per-viewport height while keeping all card controls & Respond button visible */
  .lead-card {
    height: calc((100dvh - 138px) / 2.5) !important;
    min-height: 184px !important;
    max-height: 212px !important;
    padding: 9px 11px 8px !important;
    gap: 4px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
  }

  .lead-card-full-title {
    font-size: 0.82rem !important;
    line-height: 1.18 !important;
    -webkit-line-clamp: 2 !important;
  }

  .lead-body-content,
  .lead-body-5lines {
    font-size: 0.71rem !important;
    line-height: 1.24 !important;
    -webkit-line-clamp: 2 !important;
    max-height: 2.5em !important;
  }

  .lead-card-footer.lead-card-footer-clean {
    padding-top: 4px !important;
  }

  .lead-card .lead-card-footer .btn:not(.btn-completed-disabled),
  .lead-card .btn-reveal-contact:not(.btn-completed-disabled) {
    min-height: 26px !important;
    padding: 3px 10px !important;
    font-size: 0.72rem !important;
    border-radius: 8px !important;
  }

  /* "КАКОЙ ТАРИФ ДОСТОЕН ТВОИХ АМБИЦИЙ" strictly on 1 line with margin to spare */
  .home-pricing-subtitle,
  .home-pricing-section h2.home-pricing-subtitle,
  .home-pricing-header p,
  .pricing-headline p {
    font-size: clamp(0.62rem, 2.75vw, 0.76rem) !important;
    white-space: nowrap !important;
    letter-spacing: 0.01em !important;
  }

  /* White icon for "Тарифы" on fixed bottom bar */
  .mobile-sticky-bar #mobile-bar-tariffs svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
  }

  /* Hide footer completely on mobile */
  .app-footer {
    display: none !important;
  }

  /* 6. Uniform 5% padding across ALL mobile cards/plaques + 80% screen Hero block */
  .tempo-hero-section,
  .lead-card,
  .pricing-card,
  .how-step-card,
  .bottom-cta-card,
  .cabinet-card,
  .crm-header-card {
    padding: 5% !important;
  }

  .tempo-hero-section {
    height: auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    border-radius: 18px !important;
    background: rgba(9, 14, 26, 0.88) !important;
    border: 1px solid rgba(52, 211, 153, 0.28) !important;
  }

  .tempo-hero-container,
  .tempo-hero-left {
    flex: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 14px !important;
  }

  /* Title +30% larger, left-aligned with exact 5% card edge padding */
  .tempo-hero-title {
    font-size: clamp(1.38rem, 6.2vw, 1.72rem) !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .tempo-hero-title .brand-gradient-text {
    display: inline !important;
  }

  /* Subtitle left-aligned with same 5% edge padding */
  .tempo-hero-desc {
    font-size: clamp(0.76rem, 3.2vw, 0.9rem) !important;
    line-height: 1.35 !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #cbd5e1 !important;
  }

  .tempo-logos-strip.hero-inline-carousel {
    margin: 0 !important;
    padding: 14px 0 !important;
    width: 100% !important;
  }

  .carousel-platform-chip.logo-only-chip {
    width: 38px !important;
    height: 38px !important;
    padding: 5px !important;
    border-radius: 11px !important;
  }

  /* Full-width CTA button flush with 5% plaque edges, headline-scale font, no arrow */
  .tempo-hero-actions {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #btn-tempo-start-scan,
  .btn-tempo-primary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    min-height: 52px !important;
    padding: 12px 10px !important;
    font-size: clamp(1.05rem, 4.7vw, 1.38rem) !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    border-radius: 13px !important;
    letter-spacing: 0.01em !important;
  }

  /* 7. Desktop-Mobile Functional Parity Safeguards (strictly <= 768px) */
  /* Conditional Budget filter stays hidden unless "Разовые проекты" is selected (same as desktop) */
  #radar-controls-card.mobile-filter-open #budget-range-filter-container.is-hidden {
    display: none !important;
  }

  /* Authenticated tariffs (Test / Standard / VIP) keep full header nav (CRM, TG bot, Watchlist) accessible */
  body:not(.guest-first-touch) .app-header {
    height: auto !important;
    min-height: 50px !important;
    padding: 6px 12px 4px !important;
  }

  body:not(.guest-first-touch) .app-header .header-container {
    flex-wrap: wrap !important;
  }

  body:not(.guest-first-touch) .main-content {
    padding-top: 94px !important;
  }

  /* Preserve VIP Gold Respond button on mobile too (same as desktop) */
  body.vip-gold-theme .lead-card .lead-card-footer .btn:not(.limit-reached):not(.btn-completed-disabled),
  body.vip-gold-theme .lead-card .btn-reveal-contact:not(.limit-reached):not(.btn-completed-disabled) {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 55%, #b45309 100%) !important;
    color: #140d03 !important;
    border: 1px solid rgba(251, 191, 36, 0.55) !important;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.3) !important;
  }

  /* Extra 30% darker radar background for all non-VIP tiers (VIP gets its own custom background later) */
  body:not(.vip-gold-theme)::before {
    background:
      linear-gradient(180deg, rgba(4, 9, 17, 0.76) 0%, rgba(3, 8, 15, 0.84) 55%, rgba(2, 6, 12, 0.90) 100%),
      url('images/mobile_radar_bg.avif') center center / cover no-repeat !important;
  }

  /* Mobile Search Pill (left) + Filters Button (right) matching mockup, Search hidden inside Filter Sheet */
  .mobile-filter-trigger-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 0 16px 0 !important;
  }

  .mobile-inline-search-pill {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 4px 4px 4px 12px !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 40, 0.9) !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32) !important;
  }

  .mobile-search-icon-left {
    color: #94a3b8 !important;
    flex-shrink: 0 !important;
  }

  #mobile-search-input {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #f8fafc !important;
    font-size: 0.82rem !important;
    padding: 0 4px !important;
    box-shadow: none !important;
  }

  #mobile-search-input::placeholder {
    color: #94a3b8 !important;
  }

  .mobile-search-go-btn {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%) !important;
    border: none !important;
    color: #04130d !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4) !important;
  }

  .mobile-filter-trigger-btn {
    flex: 0 0 auto !important;
    width: auto !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    background: rgba(24, 33, 52, 0.92) !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
    color: #f1f5f9 !important;
    font-size: 0.84rem !important;
    font-weight: 700 !important;
    gap: 6px !important;
    white-space: nowrap !important;
  }

  .mobile-filter-trigger-btn svg {
    color: #cbd5e1 !important;
  }

  /* Inside opened Filters sheet: show ONLY filters (search is outside on the left) */
  #radar-controls-card.mobile-filter-open .search-box {
    display: none !important;
  }

  /* ==========================================================================
     MOBILE ORDER CARDS REDESIGN (Neon Backlit Border + 5% Padding + Clean Rows)
     ========================================================================== */
  #leads-grid,
  .leads-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 16px !important;
    box-sizing: border-box !important;
  }

  .lead-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 5% !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, rgba(11, 16, 28, 0.94) 0%, rgba(8, 12, 22, 0.96) 100%) !important;
    border: 1.5px solid rgba(52, 211, 153, 0.72) !important;
    box-shadow:
      0 0 12px rgba(52, 211, 153, 0.36),
      0 0 28px rgba(45, 212, 191, 0.22),
      0 10px 26px rgba(0, 0, 0, 0.50),
      inset 0 0 14px rgba(52, 211, 153, 0.08) !important;
    overflow: visible !important;
  }

  .lead-card.lead-card-hot {
    border: 1.5px solid rgba(45, 212, 191, 0.86) !important;
    box-shadow:
      0 0 14px rgba(45, 212, 191, 0.44),
      -8px 8px 26px rgba(244, 63, 94, 0.30),
      8px -6px 26px rgba(45, 212, 191, 0.30),
      0 10px 26px rgba(0, 0, 0, 0.50),
      inset 0 0 16px rgba(45, 212, 191, 0.10) !important;
  }

  .lead-card.lead-card-completed {
    border-color: rgba(148, 163, 184, 0.35) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.42) !important;
  }

  body.vip-gold-theme .lead-card {
    border: 1.5px solid rgba(251, 191, 36, 0.78) !important;
    box-shadow:
      0 0 14px rgba(245, 158, 11, 0.38),
      0 0 30px rgba(251, 191, 36, 0.22),
      0 10px 26px rgba(0, 0, 0, 0.50),
      inset 0 0 14px rgba(251, 191, 36, 0.09) !important;
  }

  /* Hide desktop sub-sections on mobile; show dedicated mobile card layout */
  .lead-card > .lead-header,
  .lead-card > .lead-body-content,
  .lead-card > .lead-meta-strip,
  .lead-card > .lead-card-footer {
    display: none !important;
  }

  .mobile-lead-card-layout {
    display: flex !important;
    flex-direction: column !important;
    gap: 9px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .m-lead-top {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .m-lead-source {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .m-lead-platform-icon {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    border-radius: 7px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35) !important;
  }

  .m-lead-niche {
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    color: #cbd5e1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .m-lead-time-wrap {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
  }

  .m-lead-fire-icon {
    font-size: 0.84rem !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
  }

  .m-lead-time {
    font-size: 0.74rem !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .m-lead-title-row {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .m-lead-title {
    margin: 0 !important;
    font-size: 0.98rem !important;
    font-weight: 700 !important;
    line-height: 1.26 !important;
    color: #f8fafc !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .m-lead-price {
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    line-height: 1.22 !important;
    color: #34d399 !important;
    white-space: nowrap !important;
    text-align: right !important;
    flex-shrink: 0 !important;
  }

  .m-lead-price.is-negotiable {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #34d399 !important;
    white-space: normal !important;
    max-width: 102px !important;
    line-height: 1.15 !important;
  }

  body.vip-gold-theme .m-lead-price {
    color: #fbbf24 !important;
  }

  .m-lead-urgent {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #f87171 !important;
    margin-top: -4px !important;
    line-height: 1.15 !important;
  }

  .m-lead-desc {
    font-size: 0.80rem !important;
    font-weight: 400 !important;
    line-height: 1.40 !important;
    color: #cbd5e1 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
    max-width: 100% !important;
  }

  .m-lead-tags {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    margin-top: 2px !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .m-lead-tag {
    display: inline-flex !important;
    align-items: center !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
    background: rgba(56, 128, 142, 0.28) !important;
    border: 1px solid rgba(94, 234, 212, 0.22) !important;
    color: #cbd5e1 !important;
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  .m-lead-footer {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-top: 4px !important;
    margin-top: 2px !important;
    width: 100% !important;
  }

  .m-lead-footer-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .m-lead-footer-left .btn-favorite-star {
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    color: #94a3b8 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
  }

  .m-lead-footer-left .btn-favorite-star.is-favorite {
    color: #fbbf24 !important;
  }

  .m-lead-footer-left .btn-favorite-star svg {
    width: 20px !important;
    height: 20px !important;
  }

  .m-lead-respond-btn,
  .m-lead-respond-btn.btn-open-closer,
  .m-lead-respond-btn.btn-open-closer.limit-reached {
    padding: 8px 18px !important;
    border-radius: 10px !important;
    background: #10b981 !important;
    color: #000000 !important;
    font-size: 0.84rem !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.28) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  .m-lead-respond-btn.is-completed {
    background: rgba(148, 163, 184, 0.14) !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    color: #94a3b8 !important;
    font-size: 0.76rem !important;
    padding: 7px 14px !important;
    cursor: not-allowed !important;
  }

  body.vip-gold-theme .m-lead-respond-btn:not(.is-completed):not(.limit-reached) {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 55%, #b45309 100%) !important;
    color: #140d03 !important;
    border: 1px solid rgba(251, 191, 36, 0.55) !important;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.3) !important;
  }
}

/* Strictly hide mobile-only card layout on desktop (>768px) */
@media (min-width: 769px) {
  .mobile-lead-card-layout {
    display: none !important;
  }
}

/* ==========================================================================
   CIRCULAR ANIMATED RADAR LOGO (Desktop & Mobile, All Tiers + VIP Gold)
   ========================================================================== */
.logo-radar {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: none !important;
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.34) !important;
  overflow: hidden !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.logo-radar-gif {
  width: 100% !important;
  height: 100% !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  transform: scale(1.16) !important;
}

body.vip-gold-theme .logo-radar {
  background: transparent !important;
  border: none !important;
  box-shadow: 0 0 16px rgba(251, 191, 36, 0.42) !important;
}

body.vip-gold-theme .logo-radar-gif {
  filter: sepia(0.96) saturate(2.6) hue-rotate(-14deg) brightness(1.06) !important;
}

@media (max-width: 768px) {
  .logo-radar {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }
}

/* ==========================================================================
   MOBILE FIXED TOP HEADER & BULGED BOTTOM BAR + RADAR SCAN OVERLAY
   (Strictly <= 768px; desktop > 768px is 100% untouched)
   ========================================================================== */
@media (min-width: 769px) {
  .mobile-header-icons,
  .mobile-radar-scan-overlay {
    display: none !important;
  }
}

@media (max-width: 768px) {
  /* 1. Single fixed top header for ALL tiers; remove second top nav strip completely */
  .app-header,
  body:not(.guest-first-touch) .app-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 14px !important;
    display: flex !important;
    align-items: center !important;
    z-index: 1050 !important;
    background: rgba(7, 12, 22, 0.94) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(52, 211, 153, 0.22) !important;
  }

  body.vip-gold-theme .app-header {
    background: rgba(14, 10, 6, 0.95) !important;
    border-bottom: 1px solid rgba(251, 191, 36, 0.42) !important;
    box-shadow: 0 2px 18px rgba(251, 191, 36, 0.14) !important;
  }

  .app-header .header-container,
  body:not(.guest-first-touch) .app-header .header-container {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 10px !important;
  }

  /* Disband & hide the second top bar (.nav-tabs) and desktop .header-actions on mobile */
  .app-header .nav-tabs,
  .app-header .header-actions,
  body:not(.guest-first-touch) .app-header .nav-tabs,
  body:not(.guest-first-touch) .app-header .header-actions {
    display: none !important;
  }

  /* Consistent main content top offset across ALL tiers (single 54px header) */
  .main-content,
  body:not(.guest-first-touch) .main-content {
    padding-top: 64px !important;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* Logo strictly in LEFT corner, mobile icons strictly in RIGHT corner */
  .app-header .brand-group {
    order: 1 !important;
    margin-right: auto !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Right mobile header icons (no text labels) */
  .mobile-header-icons {
    order: 2 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex-shrink: 0 !important;
  }

  .mobile-hdr-icon-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform 0.15s ease, filter 0.2s ease !important;
  }

  .mobile-hdr-icon-btn:active {
    transform: scale(0.92) !important;
  }

  /* Guest First Touch: bold "?" visible, Tariffs icon hidden */
  body.guest-first-touch .mobile-hdr-how-btn {
    display: inline-flex !important;
  }

  body.guest-first-touch .mobile-hdr-tariffs-btn {
    display: none !important;
  }

  /* Test / Standard / VIP: "?" hidden, Tariffs icon visible */
  body:not(.guest-first-touch) .mobile-hdr-how-btn {
    display: none !important;
  }

  body:not(.guest-first-touch) .mobile-hdr-tariffs-btn {
    display: inline-flex !important;
  }

  .mobile-hdr-qmark {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.52rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    color: #e2e8f0 !important;
  }

  /* Test & Standard: Tariffs icon matches Favorites color */
  .mobile-hdr-tariffs-btn {
    color: #cbd5e1 !important;
  }

  /* Cabinet person icon: emerald green on Guest / Test / Standard */
  .mobile-hdr-cabinet-btn {
    color: #10b981 !important;
  }

  /* VIP AI Header Icons: gold glow */
  body.vip-gold-theme .mobile-hdr-tariffs-btn {
    color: #fde68a !important;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.72)) !important;
  }

  body.vip-gold-theme .mobile-hdr-cabinet-btn {
    color: #fbbf24 !important;
    filter: drop-shadow(0 0 9px rgba(251, 191, 36, 0.82)) !important;
  }

  /* 2. Bottom Sticky Bar with Centered Circular Bulge for Static Radar Button */
  .mobile-sticky-bar {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 0 6px env(safe-area-inset-bottom, 0px) 6px !important;
    background: rgba(8, 13, 24, 0.96) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1.5px solid rgba(52, 211, 153, 0.32) !important;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.55) !important;
    display: grid !important;
    align-items: end !important;
    overflow: visible !important;
    z-index: 1050 !important;
    border-radius: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }

  /* First Touch: strictly 3 columns (Избранное | Радар | Тарифы) */
  body.guest-first-touch .mobile-sticky-bar {
    grid-template-columns: 1fr 78px 1fr !important;
  }

  /* Test / Standard / VIP: strictly 5 columns (Избранное | CRM | Радар | TG bot | Watchlist) */
  body:not(.guest-first-touch) .mobile-sticky-bar {
    grid-template-columns: 1fr 1fr 72px 1fr 1fr !important;
  }

  /* Regular side buttons aligned cleanly on one horizontal line */
  .mobile-sticky-bar .mobile-bar-btn:not(.mobile-bar-radar-btn) {
    height: 58px !important;
    padding: 6px 2px 8px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 4px !important;
    background: transparent !important;
    border: none !important;
    color: #cbd5e1 !important;
    font-size: 0.66rem !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    position: relative !important;
  }

  /* Strict tier visibility rules (higher specificity than base .mobile-bar-btn rule!) */
  body.guest-first-touch .mobile-sticky-bar .mobile-bar-btn.mobile-bar-licensed-only {
    display: none !important;
  }

  body.guest-first-touch .mobile-sticky-bar .mobile-bar-btn.mobile-bar-guest-only {
    display: flex !important;
  }

  body:not(.guest-first-touch) .mobile-sticky-bar .mobile-bar-btn.mobile-bar-licensed-only {
    display: flex !important;
  }

  body:not(.guest-first-touch) .mobile-sticky-bar .mobile-bar-btn.mobile-bar-guest-only {
    display: none !important;
  }

  .mobile-sticky-bar .mobile-bar-btn:not(.mobile-bar-radar-btn) svg {
    width: 19px !important;
    height: 19px !important;
    flex-shrink: 0 !important;
  }

  .mobile-sticky-bar .mobile-bar-btn.active:not(.mobile-bar-radar-btn) {
    color: #34d399 !important;
  }

  /* White diamond icon for Tariffs on First Touch bottom bar */
  .mobile-sticky-bar #mobile-bar-tariffs svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
  }

  /* Superscript small lock next to CRM / TG bot / Watchlist labels on Test & Standard */
  .mobile-bar-label-lock {
    display: inline-flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    line-height: 1.1 !important;
  }

  .mobile-lock-sup {
    font-size: 0.48rem !important;
    line-height: 1 !important;
    margin-left: 1px !important;
    position: relative !important;
    top: -3px !important;
    vertical-align: super !important;
  }

  /* Hide locks on VIP AI (CRM / TG bot / Watchlist are fully unlocked!) */
  body.vip-gold-theme .mobile-lock-sup {
    display: none !important;
  }

  /* Centered Circular Bulge & Static Radar Button (5% higher than side buttons on the same line) */
  .mobile-sticky-bar .mobile-bar-radar-btn {
    position: relative !important;
    height: 60px !important;
    padding: 0 0 11px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-end !important;
    background: transparent !important;
    border: none !important;
    overflow: visible !important;
    cursor: pointer !important;
    z-index: 5 !important;
  }

  /* Concentric circular bulge protruding smoothly above the bar with uniform 6px clearance around 34px radar icon */
  .mobile-radar-bulge-ring {
    position: absolute !important;
    top: -12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: 50% !important;
    background: rgba(8, 13, 24, 0.98) !important;
    border: 1.5px solid rgba(52, 211, 153, 0.46) !important;
    box-shadow: 0 -4px 14px rgba(16, 185, 129, 0.22) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px !important;
    box-sizing: border-box !important;
  }

  /* Seamlessly blend bottom half of the circular bulge into the bottom bar body */
  .mobile-radar-bulge-ring::after {
    content: '' !important;
    position: absolute !important;
    left: -6px !important;
    right: -6px !important;
    bottom: -4px !important;
    height: 24px !important;
    background: rgba(8, 13, 24, 0.98) !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }

  .mobile-radar-static-icon {
    position: relative !important;
    z-index: 2 !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    display: block !important;
    object-fit: cover !important;
    filter: drop-shadow(0 0 7px rgba(45, 212, 191, 0.48)) !important;
  }

  .mobile-radar-label {
    position: relative !important;
    z-index: 3 !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;
    color: #10b981 !important;
    letter-spacing: 0.01em !important;
  }

  /* VIP AI Bottom Bar: Full Gold Theme + Gold Glow on all 5 buttons & central Radar */
  body.vip-gold-theme .mobile-sticky-bar {
    background: rgba(14, 10, 6, 0.97) !important;
    border-top: 1.5px solid rgba(251, 191, 36, 0.52) !important;
    box-shadow: 0 -6px 26px rgba(245, 158, 11, 0.20) !important;
  }

  body.vip-gold-theme .mobile-sticky-bar .mobile-bar-btn:not(.mobile-bar-radar-btn) {
    color: #fbbf24 !important;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.45) !important;
  }

  body.vip-gold-theme .mobile-sticky-bar .mobile-bar-btn:not(.mobile-bar-radar-btn) svg {
    color: #fbbf24 !important;
    stroke: #fbbf24 !important;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.65)) !important;
  }

  body.vip-gold-theme .mobile-radar-bulge-ring {
    background: rgba(14, 10, 6, 0.98) !important;
    border-color: rgba(251, 191, 36, 0.68) !important;
    box-shadow: 0 -4px 18px rgba(251, 191, 36, 0.34) !important;
  }

  body.vip-gold-theme .mobile-radar-bulge-ring::after {
    background: rgba(14, 10, 6, 0.98) !important;
  }

  body.vip-gold-theme .mobile-radar-static-icon {
    filter: sepia(0.96) saturate(2.6) hue-rotate(-14deg) brightness(1.06) drop-shadow(0 0 10px rgba(251, 191, 36, 0.65)) !important;
  }

  body.vip-gold-theme .mobile-radar-label {
    color: #fde047 !important;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.65) !important;
  }

  /* 3. Fullscreen Mobile Radar Scan Overlay */
  .mobile-radar-scan-overlay {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    background: radial-gradient(circle at 50% 44%, rgba(9, 24, 34, 0.96) 0%, rgba(4, 9, 17, 0.98) 72%) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 28px !important;
    padding: 24px !important;
  }

  .mobile-radar-scan-overlay.active {
    display: flex !important;
  }

  body.vip-gold-theme .mobile-radar-scan-overlay {
    background: radial-gradient(circle at 50% 44%, rgba(30, 20, 8, 0.96) 0%, rgba(10, 7, 4, 0.98) 72%) !important;
  }

  .mobile-scan-radar-wrap {
    width: 248px !important;
    height: 248px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 0 42px rgba(45, 212, 191, 0.28) !important;
  }

  body.vip-gold-theme .mobile-scan-radar-wrap {
    box-shadow: 0 0 44px rgba(251, 191, 36, 0.34) !important;
  }

  .mobile-scan-radar-gif {
    width: 248px !important;
    height: 248px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
  }

  body.vip-gold-theme .mobile-scan-radar-gif {
    filter: sepia(0.96) saturate(2.6) hue-rotate(-14deg) brightness(1.06) !important;
  }

  .mobile-scan-marquee-viewport {
    width: 100% !important;
    max-width: 340px !important;
    overflow: hidden !important;
    mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%) !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%) !important;
  }

  .mobile-scan-marquee-track {
    display: flex !important;
    width: max-content !important;
    gap: 48px !important;
    animation: mobileRadarMarquee 11s linear infinite !important;
  }

  .mobile-scan-marquee-track span {
    font-size: 0.96rem !important;
    font-weight: 700 !important;
    color: #5eead4 !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    text-shadow: 0 0 12px rgba(45, 212, 191, 0.45) !important;
  }

  body.vip-gold-theme .mobile-scan-marquee-track span {
    color: #fde047 !important;
    text-shadow: 0 0 12px rgba(251, 191, 36, 0.55) !important;
  }

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


/* ==================== MODULE 1: AI DEAL CLOSER REFINE BAR & STACK INPUT ==================== */
.sig-stack-row input {
  width: 100%;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 10px;
  padding: 9px 12px;
  color: #f8fafc;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sig-stack-row input:focus {
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.16);
}
.closer-refine-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 12px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 12px;
}
.closer-refine-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fde68a;
  margin-right: 2px;
}
.closer-refine-chip {
  background: rgba(30, 41, 59, 0.88);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  padding: 5px 11px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}
.closer-refine-chip:hover:not(:disabled) {
  background: rgba(251, 191, 36, 0.16);
  border-color: rgba(251, 191, 36, 0.65);
  color: #fef3c7;
  transform: translateY(-1px);
}
.closer-refine-chip:disabled {
  opacity: 0.5;
  cursor: wait;
}
.closer-ai-meta {
  margin-left: auto;
  font-size: 0.73rem;
  font-weight: 600;
  color: #34d399;
}

/* ==================== MODULE 2: FLOATING ONLINE AI ASSISTANT ==================== */
.ai-assistant-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 950;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 41, 59, 0.96) 100%);
  color: #fef3c7;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 18px rgba(251, 191, 36, 0.28);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.ai-assistant-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.55), 0 0 24px rgba(251, 191, 36, 0.45);
}
.ai-assistant-fab.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.88);
}
.ai-fab-sparkle {
  font-size: 1rem;
  line-height: 1;
}

/* Keep scroll-to-top button cleanly above AI FAB on desktop */
.btn-scroll-to-filters {
  bottom: 84px !important;
}

.ai-assistant-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 980;
  width: 390px;
  max-width: calc(100vw - 24px);
  height: 560px;
  max-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
  background: rgba(10, 15, 30, 0.96);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 32px rgba(56, 189, 248, 0.14);
  backdrop-filter: blur(18px);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.ai-assistant-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.ai-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.95));
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}
.ai-panel-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-panel-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.22), rgba(56, 189, 248, 0.22));
  border: 1px solid rgba(251, 191, 36, 0.4);
  font-size: 1.05rem;
}
.ai-panel-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
}
.ai-panel-sub {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}
.ai-mode-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: #7dd3fc;
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.ai-mode-badge.vip-mode {
  background: rgba(251, 191, 36, 0.16);
  color: #fde68a;
  border-color: rgba(251, 191, 36, 0.45);
}
.ai-quota-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: #94a3b8;
}
.ai-panel-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ai-panel-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(30, 41, 59, 0.65);
  color: #cbd5e1;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.ai-panel-icon-btn:hover {
  background: rgba(51, 65, 85, 0.9);
  color: #ffffff;
}
.ai-panel-context-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 0.75rem;
  color: #fde68a;
  background: rgba(251, 191, 36, 0.1);
  border-bottom: 1px solid rgba(251, 191, 36, 0.22);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ai-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ai-msg {
  display: flex;
  max-width: 90%;
}
.ai-msg-user {
  align-self: flex-end;
}
.ai-msg-assistant {
  align-self: flex-start;
}
.ai-msg-bubble {
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 0.84rem;
  line-height: 1.48;
  word-break: break-word;
}
.ai-msg-user .ai-msg-bubble {
  background: linear-gradient(135deg, #0284c7, #0ea5e9);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}
.ai-msg-assistant .ai-msg-bubble {
  background: rgba(30, 41, 59, 0.88);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-bottom-left-radius: 4px;
}
.ai-msg-assistant .ai-msg-bubble code {
  background: rgba(15, 23, 42, 0.8);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.78rem;
  color: #7dd3fc;
}
.ai-msg-typing .ai-msg-bubble {
  opacity: 0.78;
  font-style: italic;
}
.ai-chat-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.5);
}
.ai-quick-chip {
  background: rgba(30, 41, 59, 0.85);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.73rem;
  cursor: pointer;
  transition: all 0.15s;
}
.ai-quick-chip:hover {
  border-color: rgba(56, 189, 248, 0.55);
  color: #ffffff;
  background: rgba(56, 189, 248, 0.14);
}
.ai-panel-vip-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.12), rgba(245, 158, 11, 0.08));
  border-top: 1px solid rgba(251, 191, 36, 0.25);
  font-size: 0.73rem;
  color: #fef3c7;
}
.ai-panel-upgrade-btn {
  flex-shrink: 0;
  padding: 4px 10px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}
.ai-chat-input-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(148, 163, 184, 0.18);
}
.ai-chat-input {
  flex: 1;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.26);
  border-radius: 10px;
  padding: 9px 12px;
  color: #f8fafc;
  font-size: 0.85rem;
  outline: none;
}
.ai-chat-input:focus {
  border-color: rgba(56, 189, 248, 0.65);
}
.ai-chat-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #38bdf8, #10b981);
  color: #020617;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, opacity 0.15s;
}
.ai-chat-send-btn:hover:not(:disabled) {
  transform: scale(1.04);
}
.ai-chat-send-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

@media (max-width: 768px) {
  .ai-assistant-fab {
    right: 12px;
    bottom: 86px;
    padding: 9px 14px;
    font-size: 0.8rem;
  }
  .btn-scroll-to-filters {
    bottom: 138px !important;
  }
  .ai-assistant-panel {
    right: 10px;
    left: 10px;
    bottom: 84px;
    width: auto;
    max-width: none;
    height: min(500px, calc(100vh - 160px));
    border-radius: 16px;
  }
  .closer-refine-bar {
    padding: 8px 10px;
    gap: 6px;
  }
  .closer-ai-meta {
    width: 100%;
    margin-left: 0;
    margin-top: 2px;
  }
}


/* ==================== RADARPLUSAI WHITE-LABEL & LUX-ONLY OVERRIDES ==================== */
body.brand-vip-logo .brand-logo-wrap,
body.brand-vip-logo .brand-icon-circle,
body.brand-vip-logo .brand-logo-img {
  border-color: rgba(251, 191, 36, 0.72) !important;
  box-shadow: 0 0 18px rgba(251, 191, 36, 0.45), inset 0 0 10px rgba(251, 191, 36, 0.22) !important;
}
body.brand-vip-logo .brand-name {
  background: linear-gradient(135deg, #fef08a 0%, #f59e0b 55%, #fbbf24 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
body.pricing-lux-only #home-tariff-card-test,
body.pricing-lux-only #home-tariff-card-standard,
body.pricing-lux-only #pricing-card-test,
body.pricing-lux-only #pricing-card-standard,
body.pricing-lux-only #free-test-claim-box {
  display: none !important;
}
body.pricing-lux-only #home-pricing-grid,
body.pricing-lux-only .pricing-cards-container {
  grid-template-columns: minmax(280px, 440px) !important;
  justify-content: center !important;
}
