/* Voltflow Power Systems - Professional Corporate Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@500;600;700;800;900&display=swap');

:root {
  --color-primary-dark: #0A192F;
  --color-primary-darker: #050D1A;
  --color-accent-blue: #0284C7;
  --color-accent-cyan: #38BDF8;
  --color-accent-amber: #D97706;
  --color-secondary-blue: #1E3A8A;
  --color-neutral-slate: #F8FAFC;
  --color-border-subtle: #334155;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #0A192F;
  color: #F8FAFC;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0A192F;
}
::-webkit-scrollbar-thumb {
  background: #1E3A8A;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0284C7;
}

/* Background Gradients & Grid Patterns */
.hero-gradient {
  background: radial-gradient(circle at 80% 20%, rgba(30, 58, 138, 0.45) 0%, rgba(10, 25, 47, 0.98) 70%),
              radial-gradient(circle at 10% 80%, rgba(2, 132, 199, 0.15) 0%, rgba(10, 25, 47, 1) 60%);
}

.tech-grid-pattern {
  background-size: 32px 32px;
  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);
}

.light-grid-pattern {
  background-size: 28px 28px;
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

/* Glow & Accent Utilities */
.blue-glow {
  box-shadow: 0 0 25px rgba(2, 132, 199, 0.35);
}

.cyan-glow-sm {
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.25);
}

.card-hover-effect {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover-effect:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(2, 132, 199, 0.2);
}

/* Custom Pulsing Badge */
.pulse-indicator {
  position: relative;
}
.pulse-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  background: inherit;
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.2);
    opacity: 0;
  }
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* Corporate Gradient Text */
.text-cyan-gradient {
  background: linear-gradient(135deg, #38BDF8 0%, #60A5FA 50%, #93C5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-blue-gradient {
  background: linear-gradient(135deg, #60A5FA 0%, #3B82F6 50%, #1D4ED8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Sticky Navbar Shrink Effect */
.nav-scrolled {
  background-color: rgba(10, 25, 47, 0.98) !important;
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

/* High-Contrast Maintenance Table Styles */
.custom-table {
  width: 100%;
  border-collapse: collapse;
}

.custom-table th {
  background-color: #0F172A;
  color: #F8FAFC;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.825rem;
  letter-spacing: 0.05em;
  padding: 1.1rem 1rem;
  border-bottom: 2px solid #334155;
}

.custom-table td {
  padding: 1rem;
  color: #E2E8F0 !important;
  background-color: #112240;
  border-bottom: 1px solid #1E293B;
}

.custom-table tr:nth-child(even) td {
  background-color: #0d1e38;
}

.custom-table tr:hover td {
  background-color: #162c52;
}

/* Product Card Photo Box */
.catalog-photo-box {
  position: relative;
  height: 220px;
  background-color: #050D1A;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid #E2E8F0;
}

.catalog-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  transition: transform 0.4s ease;
}

.product-card:hover .catalog-photo-box img {
  transform: scale(1.06);
}

/* Sizing Calculator Sliders */
input[type=range] {
  accent-color: #0284C7;
}

/* Modal Transition */
.modal-backdrop {
  background-color: rgba(5, 13, 26, 0.85);
  backdrop-filter: blur(8px);
}

.modal-enter {
  opacity: 0;
  transform: scale(0.95) translateY(10px);
}
.modal-enter-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Floating Action Button */
.floating-btn {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.45);
}

/* Toast Notification */
#toast {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
