/* ZettaHealth Master Global Stylesheet (main.css) */

:root {
  --color-navy: #0A1B33;
  --color-navy-dark: #061122;
  --color-navy-light: #15294A;
  --color-cyan: #18B4D6;
  --color-cyan-hover: #1499AB;
  --color-cyan-light: #E8F8FC;
  --color-crimson: #E23B4E;
  --color-crimson-hover: #C8293B;
  --color-crimson-light: #FDF2F4;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1E293B;
  background-color: #FAFCFE;
  overflow-x: hidden;
}

/* Variable Font Utility Classes */
.font-jakarta {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0A1B33;
}
::-webkit-scrollbar-thumb {
  background: #18B4D6;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #1499AB;
}

/* Ambient Lighting & Mesh Gradients */
.ambient-glow-orb {
  position: absolute !important;
  border-radius: 9999px;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
  animation: floatGlow 12s infinite ease-in-out alternate;
}

.ambient-glow-cyan {
  background: radial-gradient(circle, rgba(24, 180, 214, 0.4) 0%, rgba(24, 180, 214, 0) 70%);
}

.ambient-glow-crimson {
  background: radial-gradient(circle, rgba(226, 59, 78, 0.35) 0%, rgba(226, 59, 78, 0) 70%);
}

.ambient-glow-blue {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(37, 99, 235, 0) 70%);
}

@keyframes floatGlow {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, -30px) scale(1.12); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Gradient Text Utilities */
.text-gradient-cyan {
  background: linear-gradient(135deg, #38BDF8 0%, #18B4D6 50%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-multi {
  background: linear-gradient(135deg, #38BDF8 0%, #818CF8 50%, #F43F5E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-crimson {
  background: linear-gradient(135deg, #FB7185 0%, #E23B4E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism & Visual Effects */
.glass-header {
  background: rgba(10, 27, 51, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-glass-card {
  background: rgba(15, 35, 62, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(24, 180, 214, 0.2);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.dark-glass-card:hover {
  background: rgba(21, 46, 78, 0.88);
  border-color: rgba(24, 180, 214, 0.5);
  box-shadow: 0 12px 30px -5px rgba(24, 180, 214, 0.22);
  transform: translateY(-4px);
}

.glass-card-hover:hover {
  border-color: rgba(24, 180, 214, 0.4);
  box-shadow: 0 15px 35px -5px rgba(10, 27, 51, 0.12), 0 0 20px -3px rgba(24, 180, 214, 0.15);
  transform: translateY(-5px);
}

/* Scroll-Driven Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger-1 { transition-delay: 0.1s; }
.reveal-stagger-2 { transition-delay: 0.2s; }
.reveal-stagger-3 { transition-delay: 0.3s; }
.reveal-stagger-4 { transition-delay: 0.4s; }

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

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

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

/* Mega Menu System */
.mega-menu-trigger:hover .mega-menu-content,
.mega-menu-content:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu-content {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Crimson STAT Glow & Badges */
.stat-crimson-border {
  border-left: 4px solid #E23B4E;
  box-shadow: 0 4px 20px -2px rgba(226, 59, 78, 0.15);
}

.badge-zsuite {
  background: linear-gradient(135deg, rgba(24, 180, 214, 0.12) 0%, rgba(10, 27, 51, 0.05) 100%);
  border: 1px solid rgba(24, 180, 214, 0.3);
}

/* Floating Quick Demo Bar */
#quick-demo-bar {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

#quick-demo-bar.hidden-bar {
  transform: translateY(120%);
  opacity: 0;
  pointer-events: none;
}

.quick-demo-badge-pulse {
  position: relative;
}

.quick-demo-badge-pulse::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 9999px;
  background: #18B4D6;
  opacity: 0.6;
  animation: pingGlow 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes pingGlow {
  75%, 100% {
    transform: scale(1.35);
    opacity: 0;
  }
}


/* Micro-Interactions & Hover Polish */
.live-pulse {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: livePulseAnim 2s infinite;
}

@keyframes livePulseAnim {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.glow-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.glow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(24, 180, 214, 0.6) !important;
  box-shadow: 0 12px 30px -10px rgba(24, 180, 214, 0.25), 0 0 20px 0 rgba(24, 180, 214, 0.15);
}

.gradient-text {
  background: linear-gradient(135deg, #38BDF8 0%, #18B4D6 50%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* Explicit Brand Utility & Solid Dropdown Fallbacks */
.bg-brand-navy { background-color: #0A1B33 !important; }
.bg-brand-navy-dark { background-color: #061122 !important; }
.bg-brand-navy-light { background-color: #15294A !important; }
.bg-brand-cyan { background-color: #18B4D6 !important; }
.bg-brand-cyan-hover:hover { background-color: #1499AB !important; }
.bg-brand-crimson { background-color: #E23B4E !important; }

.text-brand-navy { color: #0A1B33 !important; }
.text-brand-navy-dark { color: #061122 !important; }
.text-brand-cyan { color: #18B4D6 !important; }
.text-brand-crimson { color: #E23B4E !important; }

.border-brand-navy { border-color: #0A1B33 !important; }
.border-brand-cyan { border-color: #18B4D6 !important; }

/* Ensure Mega Menu Dropdown is Always Solid Opaque Dark Navy */
.mega-menu-content {
  background-color: #0A1B33 !important;
  border: 1px solid rgba(51, 65, 85, 0.8) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7) !important;
  color: #E2E8F0 !important;
  z-index: 100 !important;
}

.glass-header {
  background: rgba(10, 27, 51, 0.98) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

/* Expanded Max Container Width (1536px - Standard 2xl Width) */
.max-w-\[1536px\] {
  max-width: 1536px !important;
}

/* Infinite Marquee Animation Track */
@keyframes marqueeScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@-webkit-keyframes marqueeScroll {
  0% { -webkit-transform: translate3d(0, 0, 0); }
  100% { -webkit-transform: translate3d(-50%, 0, 0); }
}

.animate-marquee-track {
  display: flex !important;
  width: max-content !important;
  min-width: max-content !important;
  animation: marqueeScroll 35s linear infinite !important;
  -webkit-animation: marqueeScroll 35s linear infinite !important;
  will-change: transform;
}

.animate-marquee-track:hover {
  animation-play-state: paused !important;
  -webkit-animation-play-state: paused !important;
}

/* Explicit Dimensions & Spacing for Marquee Partner Cards */
.partner-card {
  width: 14rem !important;
  min-width: 14rem !important;
  height: 7rem !important;
  margin-left: 0.375rem !important;
  margin-right: 0.375rem !important;
  flex-shrink: 0 !important;
}


