/* ChinaWaterSourcing — Hydro B2B Supply Chain Hub */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #080E18;
  --bg-surface: #0E1826;
  --bg-surface-elevated: #142236;
  --border-subtle: #1C3048;
  --border-active: #2B4769;
  --text-primary: #F0F9FF;
  --text-secondary: #94A3B8;
  --text-tertiary: #64748B;
  
  /* Blue Water System Hydro Palette */
  --accent-blue: #0284C7;
  --accent-blue-bright: #38BDF8;
  --accent-blue-hover: #0369A1;
  --accent-blue-glow: rgba(2, 132, 199, 0.28);
  
  /* WhatsApp Emerald */
  --whatsapp-green: #25D366;
  --whatsapp-green-hover: #1EBE5D;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Water Flow Wave Grid */
.bg-water-grid {
  background-image: linear-gradient(to right, rgba(2, 132, 199, 0.04) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(2, 132, 199, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.blue-glow {
  box-shadow: 0 0 25px -3px var(--accent-blue-glow);
}

.blue-glow-sm {
  box-shadow: 0 0 12px -2px rgba(2, 132, 199, 0.35);
}

.whatsapp-glow {
  box-shadow: 0 0 20px -2px rgba(37, 211, 102, 0.45);
}

/* Tactile push */
a, button {
  transition: all 0.15s ease-in-out;
}

.btn-tactile:active {
  transform: scale(0.98);
}

/* Glassmorphism */
.glass-panel {
  background: rgba(14, 24, 38, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
}

/* Custom subtle scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #080E18;
}
::-webkit-scrollbar-thumb {
  background: #1C3048;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2B4769;
}

/* Pulse animation for live badge */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.animate-pulse-ring {
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
