:root {
  --primary: #149BED;
  --primary-hover: #0e82c7;
  --primary-active: #0a69a0;
  --primary-light: #e8f5fd;
  --primary-lighter: #f0f9ff;
  --primary-border: #bce1fa;
  --primary-text: #084c77;
  --primary-rgb: 20, 155, 237;
  --dark-bg: #0b1329;
  --dark-surface: #111e38;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1e293b;
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Custom Primary Utility Classes */
.bg-primary { background-color: var(--primary) !important; }
.bg-primary-hover:hover { background-color: var(--primary-hover) !important; }
.bg-primary-light { background-color: var(--primary-light) !important; }
.bg-primary-lighter { background-color: var(--primary-lighter) !important; }

.text-primary { color: var(--primary) !important; }
.text-primary-hover:hover { color: var(--primary-hover) !important; }
.text-primary-dark { color: var(--primary-text) !important; }

.border-primary { border-color: var(--primary) !important; }
.border-primary-light { border-color: var(--primary-border) !important; }

.ring-primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.35) !important;
}

.gradient-primary {
  background: linear-gradient(135deg, #149BED 0%, #006eb8 100%);
}

.gradient-hero {
  background: radial-gradient(circle at 50% 10%, rgba(20, 155, 237, 0.12) 0%, transparent 60%),
              radial-gradient(circle at 90% 80%, rgba(20, 155, 237, 0.08) 0%, transparent 50%),
              #ffffff;
}

.gradient-dark-hero {
  background: radial-gradient(circle at 50% 0%, rgba(20, 155, 237, 0.22) 0%, transparent 65%),
              radial-gradient(circle at 90% 80%, rgba(20, 155, 237, 0.08) 0%, transparent 50%),
              #030712;
}

/* Alternating Section Styling */
.section-dark {
  background-color: #030712 !important;
  color: #f8fafc !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.section-light {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.card-shadow {
  box-shadow: 0 10px 25px -5px rgba(20, 155, 237, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

.card-hover {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 30px -8px rgba(20, 155, 237, 0.16), 0 10px 12px -5px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-border);
}

.glass-header {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: dropdownFadeIn 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* 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: var(--primary);
}

/* Floating WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}
.whatsapp-fab:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* =========================================
   HERO CANVAS & ANIMATIONS
   ========================================= */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
}

/* Animations */
@keyframes pulseSubtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}

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

/* Print Sheet for Quotations */
@media print {
  body * {
    visibility: hidden;
  }
  #printable-quotation, #printable-quotation * {
    visibility: visible;
  }
  #printable-quotation {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }
}
