/* ==========================================================================
   SOLVERSHUB - Premier Ground Transportation BPO Stylesheet
   Specialized in Cab Dispatch & Luxury Limo Operations
   ========================================================================== */

:root {
  --primary-bg: #090D16;
  --secondary-bg: #0F172A;
  --card-bg: rgba(15, 23, 42, 0.75);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover-border: rgba(245, 158, 11, 0.4);
  --accent-gold: #F59E0B;
  --accent-gold-light: #FDE68A;
  --accent-gold-dark: #D97706;
  --accent-cyan: #38BDF8;
  --accent-blue: #2563EB;
  --accent-emerald: #10B981;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base Smoothing */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--primary-bg);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #090D16;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Glowing Gradients & Mesh Backgrounds */
.bg-mesh-glow {
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(56, 189, 248, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(37, 99, 235, 0.06) 0%, transparent 50%);
}

.bg-gold-glow {
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
}

.gold-gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #FDE68A 50%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cyan-gradient-text {
  background: linear-gradient(135deg, #FFFFFF 0%, #BAE6FD 50%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Cards */
.glass-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  border-color: var(--card-hover-border);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5), 0 0 25px -5px rgba(245, 158, 11, 0.1);
}

.glass-card-static {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
}

/* Pulsing Status Badges */
.pulse-emerald {
  animation: pulse-emerald-anim 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}
@keyframes pulse-emerald-anim {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.15);
  }
}

.pulse-amber {
  animation: pulse-amber-anim 1.8s infinite;
}
@keyframes pulse-amber-anim {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Radar Sweep Animation for Dispatch simulation */
.radar-grid {
  background-image: 
    radial-gradient(circle, rgba(56, 189, 248, 0.15) 1px, transparent 1px),
    radial-gradient(circle, transparent 40px, rgba(56, 189, 248, 0.05) 41px, transparent 42px),
    radial-gradient(circle, transparent 90px, rgba(56, 189, 248, 0.05) 91px, transparent 92px),
    radial-gradient(circle, transparent 140px, rgba(56, 189, 248, 0.05) 141px, transparent 142px);
  background-size: 100% 100%;
  position: relative;
  overflow: hidden;
}

.radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  margin-top: -140px;
  margin-left: -140px;
  border-radius: 50%;
  background: conic-gradient(from 0deg at 50% 50%, rgba(56, 189, 248, 0.25) 0deg, transparent 60deg, transparent 360deg);
  animation: radar-spin 4s linear infinite;
  pointer-events: none;
}

@keyframes radar-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Luxury Gold Button */
.btn-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #090D16;
  font-weight: 700;
  border-radius: 9999px;
  box-shadow: 0 4px 20px -2px rgba(245, 158, 11, 0.4);
  transition: all 0.25s ease;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  box-shadow: 0 8px 30px -2px rgba(245, 158, 11, 0.6);
  transform: translateY(-2px);
}

.btn-outline-gold {
  border: 1px solid rgba(245, 158, 11, 0.6);
  color: #FDE68A;
  background: rgba(245, 158, 11, 0.05);
  transition: all 0.25s ease;
}

.btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: #F59E0B;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Custom Range Slider */
input[type=range].custom-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: #1E293B;
  outline: none;
}

input[type=range].custom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #F59E0B;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.8);
  border: 2px solid #090D16;
  transition: transform 0.15s ease;
}

input[type=range].custom-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Live Terminal Log in Dispatch Simulator */
.terminal-window {
  background: #060911;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
  font-size: 0.825rem;
}

/* Call Pop Simulation */
@keyframes ring-wiggle {
  0%, 100% { transform: rotate(0deg); }
  10%, 30%, 50%, 70%, 90% { transform: rotate(-8deg); }
  20%, 40%, 60%, 80% { transform: rotate(8deg); }
}

.ring-wiggle {
  animation: ring-wiggle 1s ease-in-out infinite;
}

/* Accordion Transition */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
}

.faq-content.open {
  max-height: 500px;
  transition: max-height 0.35s cubic-bezier(1, 0, 1, 0);
}

/* Navigation active indicator */
.nav-link {
  position: relative;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-gold);
  transition: width 0.25s ease;
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* ==========================================================================
   Mobile Responsive Safeguards (375px & 768px)
   ========================================================================== */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 640px) {
  .glass-card {
    padding: 1.25rem !important;
  }
  .radar-grid {
    height: 10rem !important;
  }
}

