/* ========== LeadZentro Unified Theme ========== */

:root {
  --lz-bg: #f8fafc;
  --lz-surface: #ffffff;
  --lz-surface-glass: rgba(255,255,255,0.12); /* Slightly stronger for visibility */
  --lz-border: #e2e8f0;
  --lz-text: #0f172a;
  --lz-muted: #64748b;
  --lz-accent: #5a06d4;
  --lz-accent-light: rgba(90,6,212,0.1);
  --lz-gradient: linear-gradient(135deg, #5a06d4, #2575fc);
  --lz-glass-shadow: 0 12px 30px rgba(0,0,0,0.15);
  --lz-glass-hover: 0 18px 40px rgba(0,0,0,0.25);
}

/* Base */
body {
  background: var(--lz-bg);
  color: var(--lz-text);
  font-family: Inter, system-ui, sans-serif;
}

/* Navbar */
.navbar {
  background-color: var(--lz-accent);
  border-bottom: 0px solid var(--lz-border);
}
.navbar-brand,
.navbar .nav-link {
  color: #fff;
  font-weight: 600;
  transition: color 0.25s ease;
}
.navbar-brand:hover,
.navbar .nav-link:hover {
  color: #e2e8f0;
}
.navbar .nav-link.active {
  color: #fff;
  font-weight: 700;
  position: relative;
}
.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}
.navbar-toggler {
  border-color: #fff;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Hero */
.hero-section {
  background-color: var(--lz-accent);
  color: #fff;
  padding: 6rem 0;
  text-align: center;
  position: relative;
}
.hero-overlay {
  background: rgba(0,0,0,0.4);
}
.logo-video {
  height: 600px;
  max-width: 100%;
  margin-bottom: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(90,6,212,0.6);
}
@media (max-width: 768px) {
  .logo-video {
    height: 300px;
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 480px) {
  .logo-video {
    height: 280px;
    margin-bottom: 1.2rem;
  }
}

/* KPI Bar — All Leads special card */
.kpi-card.all-leads-card {
  background: var(--lz-gradient); /* purple gradient */
  color: #fff;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 0 16px rgba(90, 6, 212, 0.4);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.kpi-card.all-leads-card:hover {
  box-shadow: 0 0 24px rgba(90, 6, 212, 0.6);
  transform: translateY(-2px);
}
.kpi-card.all-leads-card h4 {
  color: #fff; /* override gradient text so it's solid white */
}

/* Generic card */
.card {
  background: #ffffff; /* solid white */
  border: 1px solid #e2e8f0; /* neutral border */
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* soft neutral shadow */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

/* Hub cards (white with purple glow on hover) */
.hub-card {
  background: #ffffff;
  border: 1px solid rgba(90, 6, 212, 0.2); /* subtle purple accent */
  border-radius: 16px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08); /* neutral shadow by default */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.hub-card:hover {
  box-shadow: 0 0 20px rgba(90, 6, 212, 0.5); /* purple glow only on hover */
  transform: translateY(-3px);
}

/* Remove all glass effects */
.glass-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.glass-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  transform: translateY(-3px);
}

/* Disable gradient border glow */
.glass-card.gradient-border::before,
.cta-section.gradient-border::before {
  display: none;
}


/* Marketing Suite Modals — Clean Surface + Gradient Border */
.modal-content {
  background: #ffffff; /* solid white for clarity */
  border-radius: 20px;
  border: 3px solid transparent; /* base for gradient border */
  background-clip: padding-box, border-box;
  background-origin: border-box;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  padding: 2rem;
  position: relative;

  /* Gradient border ring */
  background-image: 
    linear-gradient(#ffffff, #ffffff), /* inner solid */
    var(--lz-gradient);               /* outer gradient ring */
}

/* Headings inside modals */
.modal-content h4,
.modal-content h5 {
  color: var(--lz-accent);
  font-weight: 700;
}

/* Paragraphs and labels */
.modal-content p,
.modal-content label {
  color: var(--lz-muted);
  line-height: 1.5;
}

/* CTA buttons inside modals — consistent with global style */
.modal-content .btn-primary {
  background: var(--lz-gradient);
  color: #fff;
  border: none;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(90,6,212,0.4);
}
.modal-content .btn-primary:hover {
  background: linear-gradient(135deg, #2575fc, #5a06d4);
  box-shadow: 0 0 15px rgba(90,6,212,0.6);
}

/* CTA buttons inside modals — consistent with global style */
.modal-content .btn-primary {
  background: var(--lz-gradient);
  color: #fff;
  border: none;
  font-weight: 600;
  box-shadow: 0 0 10px rgba(90,6,212,0.4);
}
.modal-content .btn-primary:hover {
  background: linear-gradient(135deg, #2575fc, #5a06d4);
  box-shadow: 0 0 15px rgba(90,6,212,0.6);
}

/* Pricing Toggle */
.toggle-group {
  border: 2px solid var(--lz-accent);
  border-radius: 50px;
  overflow: hidden;
  display: inline-flex;
}
.toggle-group .btn {
  flex: 1;
  border: none;
  border-radius: 0;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  color: white;
  background-color: #5a06d4;
  transition: all 0.2s ease;
}

.toggle-group .btn.active {
  background-color: white;
  color: #5a06d4;
  font-weight: 700;
  box-shadow: inset 0 0 10px rgba(90,6,212,0.4);
  border-radius: 50px;
}

/* Buttons */
.btn-primary {
  background: var(--lz-gradient);
  border: none;
  color: white;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #2575fc, #5a06d4);
  box-shadow: 0 0 15px rgba(90,6,212,0.6);
}

/* Text */
.text-gradient {
  background: var(--lz-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bg-gradient {
  background: var(--lz-gradient);
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-weight: 600;
}

.btn-all-leads {
  background: linear-gradient(135deg, #5a06d4, #2575fc);
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 12px rgba(90, 6, 212, 0.4);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.btn-all-leads:hover {
  box-shadow: 0 0 20px rgba(90, 6, 212, 0.6);
  transform: translateY(-2px);
}

/* Confidence Ring */
.confidence-ring {
  display: inline-block;
  position: relative;
  width: 120px;
  height: 120px;
}
.progress-circle {
  transform: rotate(-90deg);
}
.progress-circle circle {
  fill: none;
  stroke-width: 12;
}
.progress-circle .bg {
  stroke: #e2e8e0;
}
.progress-circle .progress {
  stroke: url(#confidenceGradient);
  stroke-dasharray: 339.292;
  transition: stroke-dashoffset 1.2s ease;
}
.progress-circle text {
  font-size: 1.2rem;
  font-weight: bold;
  fill: var(--lz-accent);
  dominant-baseline: middle;
}
.confidence-ring[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: -2.2rem;
  left: 50%;
  transform: translateX(-50%);
  background: #5a06d4;
  color: #fff;
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 10;
}

/* White Glass Card */
.glass-card {
  position: relative;
  background: #fff; /* solid white glass */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--lz-text);
  box-shadow: var(--lz-glass-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--lz-glass-hover);
}

/* Gradient Border + Glow */
.glass-card.gradient-border::before,
.cta-section.gradient-border::before {
  content: "";
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border-radius: inherit;
  background: var(--lz-gradient);
  background-size: 300% 300%;
  animation: borderShift 8s ease infinite;
  filter: blur(12px);
  opacity: 0.6;
  z-index: -1;
}
@keyframes borderShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Animated Gradient Text */
.animated-gradient-text {
  background: var(--lz-gradient);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShift 8s ease infinite;
}
@keyframes textShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Scroll Animation */
.scroll-animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}
.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FINAL OVERRIDE */
.glass-card {
  background: #ffffff !important; /* force solid white */
}

/* Footer */
footer {
  background: var(--lz-surface);
  border-top: 1px solid var(--lz-border);
  color: var(--lz-muted);
}
footer a {
  color: var(--lz-muted);
}
footer a:hover {
  color: var(--lz-text);
}

