/**
 * =========================================================================
 * TechnoGate Solutions - Enterprise Design System & Industrial UI Styles
 * =========================================================================
 * Professional Corporate B2B Palette (Cognex / Zebra benchmark):
 * Primary Navy: #0B257E | Vibrant Green: #2DA93B | Tech Dark: #0F172A
 * Neutral Slate: #F8FAFC | Text: #0F172A | Border: #E2E8F0
 * =========================================================================
 */

:root {
  --primary-navy: #0B257E;
  --primary-navy-dark: #081B5E;
  --primary-navy-light: #1638A8;
  --accent-green: #2DA93B;
  --accent-green-hover: #248B30;
  --accent-green-glow: rgba(45, 169, 59, 0.35);
  --tech-dark: #0F172A;
  --tech-card: #1E293B;
  --bg-slate: #F8FAFC;
  --text-dark: #0F172A;
  --text-muted: #475569;
  --border-light: #E2E8F0;
  --border-dark: #334155;
}

/* Custom Smooth Scrolling & Typography */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #FFFFFF;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-navy);
}

/* Clean Professional Glass Header (High Contrast, White Frosted) */
.glass-header {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #E2E8F0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-header.scrolled {
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.glass-card-dark {
  background: rgba(30, 41, 59, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-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);
}

/* Vibrant Glow Effects */
.glow-green {
  box-shadow: 0 4px 14px 0 rgba(45, 169, 59, 0.39);
}
.glow-green:hover {
  box-shadow: 0 6px 20px rgba(45, 169, 59, 0.45);
}

/* Industrial Grid Background */
.bg-grid-pattern {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.bg-grid-light {
  background-image: linear-gradient(to right, rgba(11, 37, 126, 0.03) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(11, 37, 126, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* Tab active styles - Crisp Executive Light Blue Architecture */
.solution-tab.active {
  background-color: #F0F5FF !important;
  color: #0B257E !important;
  border-color: #0B257E !important;
  border-width: 2px !important;
  box-shadow: 0 4px 14px -2px rgba(11, 37, 126, 0.18) !important;
}

/* Interactive Multi-Select Pills in Form */
.pill-checkbox input[type="checkbox"] {
  display: none;
}
.pill-checkbox label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  background-color: #F8FAFC;
  color: #334155;
  border: 1px solid #CBD5E1;
  transition: all 0.2s ease;
  user-select: none;
}
.pill-checkbox input[type="checkbox"]:checked + label {
  background-color: #0B257E;
  color: #FFFFFF;
  border-color: #0B257E;
  box-shadow: 0 2px 8px rgba(11, 37, 126, 0.25);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-content {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

/* Card Hover Elevation */
.industrial-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.industrial-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 169, 59, 0.4);
  box-shadow: 0 16px 30px -10px rgba(11, 37, 126, 0.12);
}

/* Interactive ROI Estimator Slider */
.range-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #E2E8F0;
  outline: none;
}
.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #2DA93B;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(45, 169, 59, 0.5);
  transition: all 0.2s ease;
}
.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
