/* Google Fonts Imported - Modern European SaaS Hierarchy */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-purple: #6366F1;
  --primary-purple-hover: #4F46E5;
  --primary-purple-light: #818CF8;
  --primary-purple-bg: #EEF2FF;
  --primary-violet: #7C3AED;
  --primary-cyan: #06B6D4;
  --primary-emerald: #10B981;
  --dark-navy: #080C15;
  --dark-navy-light: #0E1424;
  --dark-navy-card: #141A2E;
  --dark-border: #1E2538;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #0F172A;
  overflow-x: hidden;
  scroll-behavior: smooth;
  letter-spacing: -0.015em;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.025em;
}

/* Modern Electric Brand Gradients */
.bg-brand-gradient {
  background: linear-gradient(135deg, #6366F1 0%, #7C3AED 50%, #EC4899 100%);
}

.bg-brand-gradient-subtle {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(124, 58, 237, 0.08) 100%);
}

.text-gradient-brand {
  background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #EC4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-purple-radial {
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.14) 0%, rgba(124, 58, 237, 0.04) 50%, rgba(255, 255, 255, 0) 75%);
}

.bg-hero-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 550px;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.18) 0%, rgba(124, 58, 237, 0.12) 35%, rgba(6, 182, 212, 0.04) 55%, transparent 75%);
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}

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

@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.88; transform: scale(1.02); }
}

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

.animate-pulse-subtle {
  animation: pulse-subtle 3s ease-in-out infinite;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

.dark-glass-card {
  background: rgba(14, 20, 36, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* Custom Glow Shadows */
.shadow-purple-sm {
  box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.2);
}

.shadow-purple-md {
  box-shadow: 0 8px 24px 0 rgba(99, 102, 241, 0.28);
}

.shadow-purple-lg {
  box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.38);
}

/* High-Converting Buttons */
.btn-brand-primary {
  background: linear-gradient(135deg, #6366F1 0%, #7C3AED 100%);
  color: #ffffff;
  transition: all 0.22s ease-in-out;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.32);
}

.btn-brand-primary:hover {
  background: linear-gradient(135deg, #4F46E5 0%, #6D28D9 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(99, 102, 241, 0.44);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #F8FAFC;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #6366F1;
}

/* Interactive modal */
.modal-backdrop {
  background-color: rgba(8, 12, 21, 0.75);
  backdrop-filter: blur(6px);
}

/* Circular Progress Dial */
.circle-progress {
  stroke-dasharray: 283;
  stroke-dashoffset: 56.6;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 1.5s ease-in-out;
}

/* Tool Badges */
.badge-ai {
  background: linear-gradient(90deg, #6366F1, #9333EA);
  color: white;
}

/* Custom Range Slider for ROI Calculator */
#calc-locs-slider,
#calc-ticket-slider {
  -webkit-appearance: none;
  appearance: none;
  background: #1E2538;
}

#calc-locs-slider::-webkit-slider-thumb,
#calc-ticket-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366F1;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
  border: 2px solid #ffffff;
}

#calc-locs-slider::-moz-range-thumb,
#calc-ticket-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #6366F1;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
  border: 2px solid #ffffff;
}

/* Custom Profile Fleet Range Slider matching user screenshot */
#profile-fleet-slider {
  -webkit-appearance: none;
  appearance: none;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  width: 100%;
  height: 32px;
  margin: 0;
  padding: 0;
}

#profile-fleet-slider::-webkit-slider-runnable-track {
  background: transparent;
  border: none;
  height: 6px;
}

#profile-fleet-slider::-moz-range-track {
  background: transparent;
  border: none;
  height: 6px;
}

#profile-fleet-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2563EB;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.45);
  border: 3.5px solid #ffffff;
  position: relative;
  z-index: 30;
  transition: transform 0.12s ease;
  margin-top: -9px;
}

#profile-fleet-slider::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

#profile-fleet-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2563EB;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.45);
  border: 3.5px solid #ffffff;
  position: relative;
  z-index: 30;
  transition: transform 0.12s ease;
}

#profile-fleet-slider::-moz-range-thumb:hover {
  transform: scale(1.12);
}

/* Stop Marker Dots on Track */
.profile-mark-dot {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 15;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Tooltip Bubble matching screenshot */
#profile-slider-bubble {
  position: absolute;
  bottom: 28px;
  transform: translateX(-50%);
  background: #0B0F19;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 35;
  white-space: nowrap;
}

#profile-slider-bubble::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #0B0F19;
}

