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

:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --color-medical-navy: #0f172a;
  --color-medical-blue: #1e3a8a;
  --color-medical-blue-light: #2563eb;
  --color-medical-cyan: #06b6d4;
  --color-medical-red: #e11d48;
  --color-medical-red-light: #ef4444;
}

body {
  font-family: var(--font-body);
  background-color: #0b1120;
  color: #f8fafc;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #1e3a8a;
  border-radius: 5px;
  border: 2px solid #0f172a;
}
::-webkit-scrollbar-thumb:hover {
  background: #2563eb;
}

/* Medical Grid Background & Patterns */
.bg-medical-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.bg-medical-dots {
  background-image: radial-gradient(rgba(6, 182, 212, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

.bg-radial-glow {
  background: radial-gradient(circle at 50% 20%, rgba(30, 58, 138, 0.4) 0%, rgba(6, 182, 212, 0.1) 45%, transparent 70%);
}

.bg-radial-red-glow {
  background: radial-gradient(circle at 80% 80%, rgba(225, 29, 72, 0.15) 0%, transparent 60%);
}

/* Glassmorphism Styles */
.glass-nav {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: rgba(30, 41, 59, 0.65);
  border-color: rgba(6, 182, 212, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -15px rgba(6, 182, 212, 0.15), 0 0 20px -5px rgba(37, 99, 235, 0.2);
}

.glass-card-product {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
}

.glass-card-product:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.glass-modal-content {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 40px rgba(6, 182, 212, 0.2);
}

/* 3D Tilt and Lift Utilities */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
  transform: translateY(-5px);
}

/* Glow Utilities */
.text-glow-cyan {
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
}
.text-glow-blue {
  text-shadow: 0 0 25px rgba(37, 99, 235, 0.7);
}
.text-glow-red {
  text-shadow: 0 0 20px rgba(225, 29, 72, 0.6);
}

.shadow-glow-blue {
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.35);
}
.shadow-glow-cyan {
  box-shadow: 0 0 25px rgba(6, 182, 212, 0.35);
}
.shadow-glow-red {
  box-shadow: 0 0 25px rgba(225, 29, 72, 0.4);
}

/* Custom Keyframe Animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1.5deg);
  }
}

@keyframes float-reverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(12px) rotate(-1.5deg);
  }
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.15); }
  30% { transform: scale(1); }
  45% { transform: scale(1.15); }
  60% { transform: scale(1); }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

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

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

.animate-float-delayed {
  animation: float-reverse 7s ease-in-out 2s infinite;
}

.animate-heartbeat {
  animation: heartbeat 2.5s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 4s ease-in-out infinite;
}

/* Shimmer Button Effect */
.btn-shimmer {
  background: linear-gradient(90deg, #1e3a8a 0%, #2563eb 50%, #06b6d4 100%);
  background-size: 200% 100%;
  transition: all 0.4s ease;
}

.btn-shimmer:hover {
  background-position: 100% 0;
  box-shadow: 0 10px 25px -5px rgba(6, 182, 212, 0.4);
}

/* Medical Cross Badge Decoration */
.med-cross {
  position: relative;
  display: inline-block;
  width: 14px;
  height: 14px;
}
.med-cross::before, .med-cross::after {
  content: '';
  position: absolute;
  background-color: #ef4444;
  border-radius: 2px;
}
.med-cross::before {
  top: 5px;
  left: 0;
  width: 14px;
  height: 4px;
}
.med-cross::after {
  top: 0;
  left: 5px;
  width: 4px;
  height: 14px;
}

/* Tabs & Filter Buttons Active States */
.tab-btn.active {
  background-color: #2563eb;
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

/* Accordion Smooth Transitions */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-content {
  max-height: 1000px;
  transition: max-height 0.6s ease-in-out;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #06b6d4;
}

/* Modal transition */
.modal-overlay {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.25rem !important;
    line-height: 1.2 !important;
  }
}
