@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,700&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --color-navy: #063B73;
  --color-water-blue: #0878C9;
  --color-light-water: #DFF5FF;
  --color-sky-blue: #8ED8F8;
  --color-white: #FFFFFF;
  --color-fresh-green: #55A630;
  --color-light-green: #A8D96B;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #1E293B;
  background-color: #F8FAFC;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Montserrat', sans-serif;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F0F9FF;
}
::-webkit-scrollbar-thumb {
  background: #0878C9;
  border-radius: 5px;
  border: 2px solid #F0F9FF;
}
::-webkit-scrollbar-thumb:hover {
  background: #063B73;
}

.perspective-1000 {
  perspective: 1000px;
}
.perspective-1200 {
  perspective: 1200px;
}
.perspective-1600 {
  perspective: 1600px;
}
.preserve-3d {
  transform-style: preserve-3d;
}
.backface-hidden {
  backface-visibility: hidden;
}

.glass-nav {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 40px -15px rgba(6, 59, 115, 0.08), 0 0 1px 1px rgba(8, 120, 201, 0.08);
}

.glass-card-blue {
  background: rgba(223, 245, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(8, 120, 201, 0.18);
  box-shadow: 0 20px 40px -15px rgba(8, 120, 201, 0.12);
}

.glass-card-dark {
  background: rgba(6, 59, 115, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(142, 216, 248, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
}

.water-halo {
  background: radial-gradient(circle, rgba(142, 216, 248, 0.45) 0%, rgba(8, 120, 201, 0.15) 50%, rgba(223, 245, 255, 0) 70%);
}

.water-halo-intense {
  background: radial-gradient(circle, rgba(8, 120, 201, 0.35) 0%, rgba(142, 216, 248, 0.2) 45%, rgba(255, 255, 255, 0) 75%);
}

.card-shadow-3d {
  box-shadow: 
    0 10px 30px -10px rgba(6, 59, 115, 0.12),
    0 20px 45px -15px rgba(8, 120, 201, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.card-shadow-hover {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-shadow-hover:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 
    0 25px 50px -12px rgba(6, 59, 115, 0.18),
    0 10px 20px -5px rgba(8, 120, 201, 0.15),
    0 0 0 1px rgba(8, 120, 201, 0.25);
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-16px) rotate(0.8deg);
  }
}

@keyframes floatReverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(14px) rotate(-1deg);
  }
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 0.95;
    transform: scale(1.06);
  }
}

@keyframes rippleSpread {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

@keyframes waveFlow {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.animate-float-slow {
  animation: floatSlow 6s ease-in-out infinite;
}

.animate-float-reverse {
  animation: floatReverse 7s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulseGlow 4s ease-in-out infinite;
}

.animate-ripple {
  animation: rippleSpread 3s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.text-gradient-water {
  background: linear-gradient(135deg, #063B73 0%, #0878C9 60%, #55A630 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-pure {
  background: linear-gradient(135deg, #063B73 20%, #0878C9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-light {
  background: linear-gradient(135deg, #FFFFFF 30%, #DFF5FF 70%, #8ED8F8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.droplet-badge {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(223, 245, 255, 0.8));
  border: 1px solid rgba(8, 120, 201, 0.25);
  box-shadow: 0 10px 25px -5px rgba(6, 59, 115, 0.1);
  backdrop-filter: blur(8px);
}

#water-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.bottle-stage-shadow {
  background: radial-gradient(ellipse at center, rgba(6, 59, 115, 0.35) 0%, rgba(8, 120, 201, 0.15) 40%, rgba(255, 255, 255, 0) 70%);
  filter: blur(10px);
  transform: rotateX(65deg);
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 9999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: #FFFFFF;
  color: #063B73;
  border: 1.5px solid #BAE6FD;
  box-shadow: 0 2px 6px rgba(6, 59, 115, 0.06);
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

.tab-btn:hover {
  background-color: #0878C9 !important;
  color: #FFFFFF !important;
  border-color: #0878C9 !important;
  box-shadow: 0 4px 14px rgba(8, 120, 201, 0.3);
  transform: translateY(-1px);
}

.tab-btn.active {
  background-color: #063B73 !important;
  color: #FFFFFF !important;
  border-color: #063B73 !important;
  box-shadow: 0 4px 16px rgba(6, 59, 115, 0.35);
}

.tab-btn.active:hover {
  background-color: #0878C9 !important;
  color: #FFFFFF !important;
  border-color: #0878C9 !important;
}

a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #0878C9;
  outline-offset: 3px;
}

.modal-overlay {
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  transform: scale(0.92) translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

/* Mega Menu Elevation & Dropdown Transition */
.mega-menu {
  transform: translateY(10px) translateX(-50%);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}
.group\/mega:hover .mega-menu {
  transform: translateY(0) translateX(-50%);
}

/* Floating Back-To-Top Button */
#back-to-top.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

/* Scroll Reveal Micro-Animations */
.reveal {
  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.active {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ Details Summary Polish */
details summary::-webkit-details-marker {
  display: none;
}

/* Smooth Page Transition & Top Loader Bar */
@keyframes pageFadeIn {
  0% {
    opacity: 0.85;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  animation: pageFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#page-loader-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #0878C9, #8ED8F8, #55A630);
  box-shadow: 0 0 10px rgba(8, 120, 201, 0.7);
  z-index: 99999;
  pointer-events: none;
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

/* Header CTA Button Shimmer & Micro-Interactions */
.header-cta-btn {
  background: linear-gradient(135deg, #063B73 0%, #0878C9 50%, #0284c7 100%);
  background-size: 200% 200%;
  animation: ctaGradient 6s ease infinite;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-cta-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px -6px rgba(8, 120, 201, 0.45), 0 0 0 2px rgba(142, 216, 248, 0.4);
}

.header-cta-btn:active {
  transform: translateY(0) scale(0.98);
}

@keyframes ctaGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Input Focus Glows & Production Touch Targets */
input:focus, select:focus, textarea:focus {
  border-color: #0878C9 !important;
  box-shadow: 0 0 0 4px rgba(8, 120, 201, 0.15) !important;
}

input, select, textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body {
    animation: none !important;
  }
  .header-cta-btn {
    animation: none !important;
  }
  .animate-float-slow,
  .animate-float-reverse,
  .animate-pulse-glow,
  .animate-ripple {
    animation: none !important;
  }
  .card-shadow-hover:hover {
    transform: none !important;
  }
  #hero-3d-card,
  .tilt-card {
    transform: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


