/* LeadCliq Modern Design System & Micro-Interactions */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-primary: #0f172a;
  --color-accent: #0ea5e9;
  --color-accent-glow: rgba(14, 165, 233, 0.25);
  --color-brand-blue: #283b92;
  --color-brand-cyan: #3cc0f0;
}

body {
  font-family: var(--font-sans);
  background-color: #f8fafc;
  background-image: 
    radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.04) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(40, 59, 146, 0.05) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(14, 165, 233, 0.03) 0px, transparent 50%);
  background-attachment: fixed;
}

/* Subtle Modern Grid */
.leadcliq-grid {
  background-size: 28px 28px;
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
}

/* Viewfinder Corner Brackets */
.viewfinder-bracket {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: #3cc0f0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.group:hover .viewfinder-bracket-tl {
  top: 14px;
  left: 14px;
  border-color: #0ea5e9;
}
.group:hover .viewfinder-bracket-tr {
  top: 14px;
  right: 14px;
  border-color: #0ea5e9;
}
.group:hover .viewfinder-bracket-bl {
  bottom: 14px;
  left: 14px;
  border-color: #0ea5e9;
}
.group:hover .viewfinder-bracket-br {
  bottom: 14px;
  right: 14px;
  border-color: #0ea5e9;
}

.viewfinder-bracket-tl { top: 18px; left: 18px; border-top-width: 2.5px; border-left-width: 2.5px; border-top-left-radius: 4px; }
.viewfinder-bracket-tr { top: 18px; right: 18px; border-top-width: 2.5px; border-right-width: 2.5px; border-top-right-radius: 4px; }
.viewfinder-bracket-bl { bottom: 18px; left: 18px; border-bottom-width: 2.5px; border-left-width: 2.5px; border-bottom-left-radius: 4px; }
.viewfinder-bracket-br { bottom: 18px; right: 18px; border-bottom-width: 2.5px; border-right-width: 2.5px; border-bottom-right-radius: 4px; }

/* Futuristic Holographic Laser */
@keyframes scanBeam {
  0% {
    top: 2%;
    opacity: 0.7;
  }
  50% {
    top: 94%;
    opacity: 1;
  }
  100% {
    top: 2%;
    opacity: 0.7;
  }
}

.scanner-laser {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    rgba(60, 192, 240, 0) 0%, 
    rgba(60, 192, 240, 0.8) 25%, 
    rgba(255, 255, 255, 1) 50%, 
    rgba(60, 192, 240, 0.8) 75%, 
    rgba(60, 192, 240, 0) 100%
  );
  box-shadow: 
    0 0 12px 3px rgba(60, 192, 240, 0.8),
    0 0 30px 6px rgba(14, 165, 233, 0.4);
  animation: scanBeam 2.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

/* Gentle Field Population Glow */
@keyframes fieldPop {
  0% { 
    background-color: rgba(60, 192, 240, 0.2); 
    transform: scale(1.005);
  }
  100% { 
    background-color: transparent; 
    transform: scale(1);
  }
}

.field-populated {
  animation: fieldPop 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Card Glow Hover */
.modern-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.modern-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(15, 23, 42, 0.08);
}

/* Custom Smooth Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
