/* Segisoft Electoral - Custom Landing Design Styles */
@import url(https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap);

:root {
  --primary: #3a5284;
  --primary-hover: #2b3e64;
  --primary-light: #4f6ca8;
  --primary-glow: rgba(58, 82, 132, 0.25);
  --dark: #0f172a;
  --dark-surface: #1e293b;
  --slate-text: #475569;
  --slate-subtle: #8ba2b5;
  --bone-white: #f8fafc;
  --card-bg: #ffffff;
  --border-light: #e2e8f0;
}

html {
  scroll-behavior: smooth;
  font-family: Outfit, sans-serif;
}

body {
  background-color: var(--bone-white);
  color: #1e293b;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Glassmorphism Classes */
.glass-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Ambient Glow Gradients */
.glow-primary {
  background: radial-gradient(circle, rgba(58, 82, 132, 0.15) 0%, rgba(58, 82, 132, 0) 70%);
}

.glow-blue {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0) 70%);
}

.glow-emerald {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, rgba(16, 185, 129, 0) 70%);
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float 4.5s ease-in-out infinite 1.5s;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.pulse-red {
  animation: pulseDot 2s infinite;
}

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

.pulse-green {
  animation: pulseGreen 2s infinite;
}

/* Gradient Text */
.text-gradient {
  background: linear-gradient(135deg, #1e293b 0%, #3a5284 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-primary {
  background: linear-gradient(135deg, #3a5284 0%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Interactive Tabs */
.tab-btn.active {
  background-color: #3a5284;
  color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(58, 82, 132, 0.3);
}

.tab-btn:not(.active) {
  background-color: #ffffff;
  color: #64748b;
  border-color: #e2e8f0;
}

.tab-btn:not(.active):hover {
  background-color: #f8fafc;
  color: #3a5284;
}

/* Feature Badge */
.brand-badge {
  background: rgba(58, 82, 132, 0.1);
  color: #3a5284;
  border: 1px solid rgba(58, 82, 132, 0.2);
}

/* Button Glows */
.btn-primary-glow {
  box-shadow: 0 8px 20px -4px rgba(58, 82, 132, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary-glow:hover {
  box-shadow: 0 12px 28px -4px rgba(58, 82, 132, 0.55);
  transform: translateY(-2px);
}

/* Grid Pattern Background */
.bg-grid-pattern {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(226, 232, 240, 0.6) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 232, 240, 0.6) 1px, transparent 1px);
}

.bg-radial-fade {
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}
