/* Modern Interactive Light Theme Glassmorphism & SaaS Typography - Tier C Blueprint */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-sans);
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Gradient Text Effect */
.gradient-text {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 50%, #9333EA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Electric Indigo to Royal Violet Gradient Accents */
.accent-gradient {
  background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%);
}

.hover-glow:hover {
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.35);
}

/* Circular Gauge Meter Transitions */
#speed-gauge-circle,
#mobile-gauge-circle {
  transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1), stroke 0.5s ease;
}

/* Device Switcher Active Button State */
.device-btn.active {
  background-color: #0F172A !important;
  color: #FFFFFF !important;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
}

/* Slide-Over History Drawer */
#history-drawer.open {
  transform: translateX(0) !important;
}

#history-drawer-overlay.open {
  display: block !important;
}

/* Ctrl+K Search Modal */
#search-modal-overlay.open {
  display: flex !important;
}

/* Smooth Horizontal Carousel Scrollbar Hiding */
#tools-carousel::-webkit-scrollbar {
  height: 6px;
}
#tools-carousel::-webkit-scrollbar-track {
  background: rgba(241, 245, 249, 0.5);
  border-radius: 8px;
}
#tools-carousel::-webkit-scrollbar-thumb {
  background: rgba(199, 210, 254, 0.8);
  border-radius: 8px;
}
#tools-carousel::-webkit-scrollbar-thumb:hover {
  background: #6366F1;
}

/* History Drawer Scrollbar */
#history-list::-webkit-scrollbar {
  width: 5px;
}
#history-list::-webkit-scrollbar-track {
  background: #F1F5F9;
}
#history-list::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
