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

:root {
  --primary: #2563EB;
  --primary-dark: #1D4ED8;
  --accent: #F59E0B;
  --accent-gold: #D97706;
  --surface-dark: #0F172A;
  --surface-navy: #080E1A;
  --card-bg: rgba(15, 23, 42, 0.7);
  --border-subtle: rgba(255, 255, 255, 0.08);
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #080E1A;
  color: #F8FAFC;
  overflow-x: hidden;
  padding-bottom: 70px; /* Space for mobile bottom bar */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

h1, h2, h3, h4, h5, .brand-font {
  font-family: 'Outfit', sans-serif;
}

/* Custom modern scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #080E1A;
}
::-webkit-scrollbar-thumb {
  background: #1E293B;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Glassmorphism containers */
.glass-panel {
  background: rgba(14, 23, 40, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.glass-card {
  background: rgba(19, 31, 53, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(245, 158, 11, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.12);
}

/* Inventory Product Card */
.inventory-product-card {
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 23, 42, 0.8);
}
.inventory-product-card:hover {
  border-color: #F59E0B;
  background: rgba(30, 41, 59, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(245, 158, 11, 0.2);
}

/* Mobile Sticky Bottom Navigation Bar */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  background: rgba(8, 14, 26, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 50;
  padding: 0 8px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94A3B8;
  font-size: 10px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-decoration: none;
  min-width: 60px;
}

.nav-item i {
  font-size: 16px;
  margin-bottom: 3px;
  transition: transform 0.2s ease;
}

.nav-item.active {
  color: #F59E0B;
  background: rgba(245, 158, 11, 0.1);
}

.nav-item.active i {
  transform: translateY(-1px);
}

/* Smartphone Mockup Frame */
.phone-mockup {
  width: 100%;
  max-width: 310px;
  height: 600px;
  background: #020617;
  border-radius: 42px;
  padding: 10px;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.9), 0 0 0 2px #1E293B, 0 0 40px rgba(37, 99, 235, 0.2);
  position: relative;
  margin: 0 auto;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #F1F5F9;
  border-radius: 34px;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 20px;
  background: #020617;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 50;
}

/* Glowing Badges & Accents */
.glow-gold {
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
}

.glow-blue {
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.35);
}

.glow-emerald {
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}

/* Animations */
@keyframes pulseSubtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}

.pulse-badge {
  animation: pulseSubtle 2.5s infinite ease-in-out;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton-shimmer {
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.6) 25%, rgba(51, 65, 85, 0.8) 50%, rgba(30, 41, 59, 0.6) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
}
