/* UniEase Custom Theme & Styles */
:root {
  --primary-purple: #5514B4;
  --primary-hover: #48109B;
  --primary-light: #F3E8FF;
  --primary-glow: rgba(85, 20, 180, 0.25);
  --accent-green: #10B981;
  --accent-green-bg: #DCFCE7;
  --dark-text: #0F172A;
  --muted-text: #64748B;
  --card-bg: #FFFFFF;
  --body-bg: #F8F9FE;
}

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

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.05);
  }
}

@keyframes routeDraw {
  0% {
    stroke-dashoffset: 200;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes walkerPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(85, 20, 180, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 12px rgba(85, 20, 180, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(85, 20, 180, 0);
  }
}

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

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

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

.route-path-animated {
  stroke-dasharray: 8 6;
  animation: dashAnimation 20s linear infinite;
}

@keyframes dashAnimation {
  from {
    stroke-dashoffset: 200;
  }
  to {
    stroke-dashoffset: 0;
  }
}

.phone-mockup-shadow {
  box-shadow: 0 25px 60px -15px rgba(85, 20, 180, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

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

.purple-gradient-text {
  background: linear-gradient(135deg, #4A109E 0%, #6D28D9 50%, #9333EA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.purple-btn-gradient {
  background: linear-gradient(135deg, #5514B4 0%, #681BC9 100%);
  transition: all 0.25s ease;
}

.purple-btn-gradient:hover {
  background: linear-gradient(135deg, #480FA0 0%, #5916B2 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(85, 20, 180, 0.4);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Hide scrollbar for in-app phone mockup */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Range input custom styling */
input[type=range] {
  accent-color: #5514B4;
}

