/* ==========================================================================
   PRO DENTAL LAB - OFFICIAL ENTERPRISE DESIGN SYSTEM & STYLESHEET
   Brand Identity: Dental Red (#7b0a26 / #C8102E) & Deep Slate/Navy (#0A2540)
   ========================================================================== */

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

:root {
  --primary: #7b0a26;
  --primary-hover: #981232;
  --primary-light: #fbebee;
  --primary-glow: rgba(123, 10, 38, 0.15);
  --navy: #0A2540;
  --navy-dark: #061526;
  --navy-light: #163659;
  --slate-dark: #0F172A;
  --surface: #FFFFFF;
  --surface-alt: #F8FAFC;
  --border: #E2E8F0;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --accent-gold: #D97706;
  --accent-emerald: #059669;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
}

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

/* Glassmorphism Classes */
.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.glass-dark {
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Primary Button Styling */
.btn-primary {
  background: linear-gradient(135deg, #7b0a26 0%, #b81432 100%);
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(123, 10, 38, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #900c2d 0%, #c91838 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(123, 10, 38, 0.36);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--navy);
  border: 1.5px solid var(--border);
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Badges */
.badge-warranty {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  color: #B45309;
  border: 1px solid #FCD34D;
  font-weight: 800;
  letter-spacing: 0.05em;
}


/* Hero Section Subtle Floating Animation */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: floatSlow 5s ease-in-out infinite;
}

/* Shimmer Glow */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.shimmer-text {
  background: linear-gradient(90deg, #7b0a26 0%, #e11d48 50%, #7b0a26 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* Product Card Hover Effects */
.product-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(10, 37, 64, 0.12);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Live Pulse Indicator */
.pulse-dot {
  position: relative;
  display: inline-block;
  width: 10px;
  height: 10px;
}

.pulse-dot::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: #10B981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Holographic Certificate Watermark & Border */
.hologram-border {
  background: linear-gradient(135deg, #fef3c7 0%, #ffffff 50%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  box-shadow: 0 10px 30px -5px rgba(245, 158, 11, 0.15), 0 0 0 1px rgba(252, 211, 77, 0.4);
}

/* Mega Menu Dropdown */
.mega-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.group:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Glow Pill & Accent Gradients */
.bg-gradient-brand {
  background: linear-gradient(135deg, #0A2540 0%, #7b0a26 50%, #0A2540 100%);
}

.bg-gradient-burgundy {
  background: linear-gradient(135deg, #7b0a26 0%, #b81432 100%);
}

.bg-gradient-navy {
  background: linear-gradient(135deg, #0A2540 0%, #163659 100%);
}
