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

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: #030712;
  color: #f3f4f6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
}

/* Background Grids & Ambient Glows */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.ambient-glow-cyan {
  background: radial-gradient(circle 600px at 50% -10%, rgba(56, 189, 248, 0.15), transparent 70%);
}

.ambient-glow-purple {
  background: radial-gradient(circle 500px at 80% 20%, rgba(139, 92, 246, 0.12), transparent 70%);
}

.ambient-glow-amber {
  background: radial-gradient(circle 500px at 20% 70%, rgba(245, 158, 11, 0.08), transparent 70%);
}

/* Glassmorphism Cards */
.glass-panel {
  background: rgba(17, 24, 39, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.glass-nav {
  background: rgba(3, 7, 18, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Card hover animation */
.product-card {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 25px -5px rgba(56, 189, 248, 0.15);
}

/* Product Specific Accents */
.card-accent-ijwts:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

.card-accent-packtodorm:hover {
  border-color: rgba(245, 158, 11, 0.4);
}

.card-accent-burnorshare:hover {
  border-color: rgba(156, 163, 175, 0.4);
}

/* Typography styles */
.font-display {
  font-family: var(--font-display);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #030712;
}
::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #374151;
}

/* Subtle Pulse Keyframe */
@keyframes subtle-pulse {
  0%, 100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

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

/* Input & Button Styles */
input, textarea, select {
  transition: all 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* Badge styling */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
