@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@500;600;700;800;900&display=swap');

:root {
  --primary: #F59E0B;
  --primary-hover: #D97706;
  --primary-light: #FEF3C7;
  --dark: #0B0F19;
  --dark-surface: #111827;
  --dark-card: #1F2937;
  --dark-border: #374151;
  --text-main: #F9FAFB;
  --text-muted: #9CA3AF;
  --accent-green: #10B981;
  --accent-blue: #38BDF8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--dark);
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Poppins', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0B0F19;
}
::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F59E0B;
}

/* Glowing effects & gradients */
.bg-taxi-gradient {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

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

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0) 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

/* Glassmorphism */
.glass-panel {
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(31, 41, 55, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.3s ease;
}
.glass-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -10px rgba(245, 158, 11, 0.15);
}

/* Standard Device Image Container */
.device-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  background: radial-gradient(circle, #1E293B 0%, #0F172A 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.device-img-wrapper img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glass-card:hover .device-img-wrapper img {
  transform: scale(1.06) translateY(-4px);
}

/* Pulse animation for alerts */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.animate-pulse-ring {
  animation: pulse-ring 2s infinite ease-in-out;
}

/* Countdown Card */
.countdown-box {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  text-align: center;
  min-width: 65px;
}

/* Form Styles */
.custom-input {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  background-color: #111827 !important;
  border: 1.5px solid #374151 !important;
  color: #FFFFFF !important;
  border-radius: 0.875rem !important;
  padding: 0.875rem 1.25rem !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) inset !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

.custom-input::placeholder {
  color: #9CA3AF !important;
  opacity: 1 !important;
}

.custom-input:focus {
  outline: none !important;
  border-color: #F59E0B !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25), 0 2px 4px rgba(0, 0, 0, 0.2) inset !important;
  background-color: #0B0F19 !important;
}

select.custom-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23F59E0B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1.25rem center !important;
  background-size: 1.25rem 1.25rem !important;
  padding-right: 3rem !important;
  cursor: pointer !important;
}

select.custom-input option {
  background-color: #111827 !important;
  color: #FFFFFF !important;
  padding: 12px 16px !important;
}

/* Autofill Fix for Dark Theme */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #111827 inset !important;
  -webkit-text-fill-color: #FFFFFF !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Floating Action Bar on Mobile */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.5);
}

/* Modal Animations */
.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}
