@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;1,400&display=swap');

/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  --primary: #00d2ff;
  --primary-glow: rgba(0, 210, 255, 0.4);
  --primary-dark: #0088a8;
  --secondary: #0a192f;
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-green: #00ff87;
  --accent-green-glow: rgba(0, 255, 135, 0.3);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --bg-darker: #020617;
  --bg-dark: #070f2b;
  --bg-card: rgba(15, 23, 42, 0.45);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-active: rgba(0, 210, 255, 0.3);
  --glass-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   RESET & RESET OVERRIDES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-darker);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Beautiful Slim Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 210, 255, 0.25);
  border-radius: 10px;
  border: 1px solid var(--border-glass);
  transition: var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 210, 255, 0.5);
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Floating Particles Container */
#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  bottom: -50px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.15), rgba(79, 172, 254, 0.05));
  border-radius: 50%;
  pointer-events: none;
  animation: floatUp 15s linear infinite;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================
   TYPOGRAPHY & UTILITIES
   ========================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

.title-serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.text-gradient {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-cyan-blue {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.section-padding {
  padding: 8rem 2rem;
  position: relative;
  z-index: 2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  box-shadow: var(--glass-glow);
  transition: var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-active);
  box-shadow: 0 10px 40px -10px rgba(0, 210, 255, 0.15);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: var(--bg-darker);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 210, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-glass);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(0, 210, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0, 210, 255, 0.1);
}

/* ==========================================
   HEADER / NAVBAR
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem 2rem;
  z-index: 1000;
  transition: var(--transition-normal);
}

.header.scrolled {
  padding: 0.85rem 2rem;
  background: rgba(2, 6, 23, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  border-radius: 50% 0 50% 50%;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 15px var(--primary-glow);
  transition: var(--transition-normal);
}

.logo-container:hover .logo-icon {
  transform: rotate(315deg);
}

.logo-icon::after {
  content: '';
  width: 12px;
  height: 12px;
  background: var(--text-primary);
  border-radius: 50%;
  position: absolute;
  top: 25%;
  left: 25%;
  opacity: 0.85;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.75rem;
  cursor: pointer;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, rgba(0, 210, 255, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(79, 172, 254, 0.05) 0%, transparent 40%),
              var(--bg-darker);
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, var(--bg-darker), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(0, 210, 255, 0.06);
  border: 1px solid rgba(0, 210, 255, 0.15);
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  animation: pulseCyan 3s infinite;
}

.hero-tag svg {
  fill: var(--primary);
  width: 12px;
  height: 12px;
}

.hero-title {
  font-size: 4.25rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual-bg {
  position: absolute;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(20px);
  animation: pulseGlow 8s infinite alternate;
}

.hero-bottle-img {
  max-height: 550px;
  object-fit: contain;
  filter: drop-shadow(0 15px 50px rgba(0, 0, 0, 0.5));
  animation: floatBottle 6s ease-in-out infinite;
  z-index: 2;
  position: relative;
}

.hero-badge-panel {
  position: absolute;
  bottom: 15%;
  right: -5%;
  padding: 1rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  animation: floatBadge 5s ease-in-out infinite alternate;
}

.hero-badge {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.hero-badge-val {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-badge-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.2;
}

/* ==========================================
   ABOUT & BRAND VALUES
   ========================================== */
.about {
  background: var(--bg-darker);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, transparent 49%, var(--bg-darker) 50%);
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.value-icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(0, 210, 255, 0.06);
  border: 1px solid rgba(0, 210, 255, 0.15);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.25rem;
  color: var(--primary);
  transition: var(--transition-normal);
}

.value-card:hover .value-icon-wrapper {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: var(--bg-darker);
  box-shadow: 0 0 25px var(--primary-glow);
  transform: scale(1.1) rotate(5deg);
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================
   INTERACTIVE BOTTLING PROCESS (THE CORE)
   ========================================== */
.process-section {
  background: radial-gradient(circle at 20% 50%, rgba(0, 210, 255, 0.05) 0%, transparent 60%),
              var(--bg-dark);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.process-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

/* Graphic Bottling Map Grid */
.process-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-map::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.step-node {
  padding: 1.5rem;
  cursor: pointer;
  position: relative;
  z-index: 2;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.5);
  border: 1.5px solid var(--border-glass);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.step-node:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 210, 255, 0.5);
  background: rgba(15, 23, 42, 0.85);
  box-shadow: 0 10px 25px rgba(0, 210, 255, 0.15);
}

.step-node.active {
  background: rgba(0, 210, 255, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 25px rgba(0, 210, 255, 0.25);
  transform: translateY(-5px) scale(1.03);
}

.step-num {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  letter-spacing: 1.5px;
  transition: var(--transition-fast);
}

.step-node.active .step-num {
  color: var(--primary);
}

.step-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  transition: var(--transition-normal);
}

.step-node.active .step-icon-box {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: var(--bg-darker);
  transform: rotate(360deg);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.step-title-node {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Detailed Step Info Display */
.process-details {
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.details-card {
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.details-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent-cyan), var(--accent-blue));
}

.details-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.details-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--bg-darker);
  box-shadow: 0 5px 20px rgba(0, 210, 255, 0.3);
}

.details-title-box h3 {
  font-size: 1.85rem;
  margin-bottom: 0.25rem;
}

.details-title-box span {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.details-body {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* Mini animated SVG pipeline inside details card */
.details-animation-box {
  background: rgba(2, 6, 23, 0.4);
  border: 1px solid var(--border-glass);
  padding: 1.5rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.mini-anim-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.process-valve {
  width: 100%;
  height: 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-glass);
}

.process-valve-flow {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--accent-cyan), var(--accent-blue));
  border-radius: 20px;
  position: relative;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px var(--primary-glow);
}

.process-valve-flow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%,
    transparent
  );
  background-size: 15px 15px;
  animation: pipeFlow 1s linear infinite;
}

/* ==========================================
   PRODUCT RANGE SHOWCASE
   ========================================== */
.products {
  background: var(--bg-darker);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.product-card {
  border-radius: 24px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.product-image-box {
  height: 280px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  position: relative;
}

.product-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(10px);
  transition: var(--transition-normal);
}

.product-card:hover .product-glow {
  transform: scale(1.3);
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 65%);
}

.product-img {
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  filter: drop-shadow(0 10px 25px rgba(0,0,0,0.3));
}

.product-card:hover .product-img {
  transform: scale(1.08) translateY(-8px) rotate(2deg);
}

.product-label-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.tag-premium {
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  color: var(--primary);
}

.tag-classic {
  background: rgba(79, 172, 254, 0.08);
  border: 1px solid rgba(79, 172, 254, 0.2);
  color: var(--accent-blue);
}

.tag-special {
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.2);
  color: var(--accent-green);
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.product-volume {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 1rem;
}

.product-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.5;
}

.product-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.25rem;
  margin-bottom: 1.5rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.product-card .btn {
  width: 100%;
  justify-content: center;
}

/* ==========================================
   INTERACTIVE WATER CHEMISTRY PANEL
   ========================================== */
.quality-section {
  background: radial-gradient(circle at 80% 50%, rgba(0, 210, 255, 0.04) 0%, transparent 60%),
              var(--bg-dark);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.quality-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.quality-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Interactive water dial */
.water-dial-container {
  width: 320px;
  height: 320px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border-glass);
  box-shadow: var(--glass-glow);
}

.water-dial-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.water-dial-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 16;
}

.water-dial-progress {
  fill: none;
  stroke: url(#cyan-blue-gradient);
  stroke-width: 16;
  stroke-dasharray: 816.8; /* 2 * PI * r (r=130) */
  stroke-dashoffset: 212.3; /* Adjusted dynamically by JS */
  stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.water-dial-content {
  position: absolute;
  text-align: center;
  z-index: 2;
}

.water-dial-value {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.water-dial-label {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.water-dial-subtext {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Water Chemistry Sliders */
.chemistry-controls h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.chemistry-grid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.chem-stat {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chem-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chem-name {
  font-weight: 600;
  font-size: 1.05rem;
}

.chem-value {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
}

.chem-progress-bar {
  height: 8px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.chem-progress-fill {
  height: 100%;
  width: 0%; /* Animate with JS */
  background: linear-gradient(to right, var(--accent-cyan), var(--accent-blue));
  border-radius: 10px;
  box-shadow: 0 0 10px var(--primary-glow);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Certifications Panel */
.certs-bar {
  margin-top: 3.5rem;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cert-icon {
  width: 40px;
  height: 40px;
  background: rgba(0, 210, 255, 0.05);
  border: 1px solid rgba(0, 210, 255, 0.15);
  border-radius: 10px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
}

.cert-text {
  font-size: 0.85rem;
  line-height: 1.3;
}

.cert-title {
  font-weight: 700;
  color: var(--text-primary);
}

.cert-subtitle {
  color: var(--text-muted);
}

/* ==========================================
   INTERACTIVE BULK CALCULATOR & FORM
   ========================================== */
.calculator-section {
  background: var(--bg-darker);
}

.calculator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

/* Interactive Calculator Input Panel */
.calc-card {
  padding: 3rem;
}

.calc-title {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.calc-group {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc-label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.calc-select {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2394a3b8'%3E%3Cpath d='M12 16L6 10H18L12 16Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.25rem;
}

.calc-select:focus, .calc-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}

.calc-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-fast);
}

.calc-unit {
  position: absolute;
  right: 1.25rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  pointer-events: none;
}

/* Dynamic Quote Output Display */
.quote-card {
  padding: 3rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(0, 210, 255, 0.08) 0%, transparent 60%),
              var(--bg-card);
}

.quote-header {
  margin-bottom: 2rem;
}

.quote-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 1px;
}

.quote-heading {
  font-size: 1.85rem;
}

.quote-metrics {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px dashed var(--border-glass);
  padding-bottom: 1rem;
}

.metric-row.total {
  border-bottom: none;
  border-top: 1.5px solid var(--border-glass);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

.metric-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.metric-value {
  font-weight: 700;
  font-size: 1.15rem;
}

.metric-row.total .metric-label {
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: 700;
}

.metric-row.total .metric-value {
  font-size: 2rem;
  color: var(--accent-cyan);
  text-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.quote-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.4;
}

/* ==========================================
   ADVANCED CONTACT FORM
   ========================================== */
.contact-section {
  background: radial-gradient(circle at 50% 100%, rgba(0, 210, 255, 0.06) 0%, transparent 50%),
              var(--bg-dark);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-info h3 {
  font-size: 2.25rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(0, 210, 255, 0.05);
  border: 1px solid rgba(0, 210, 255, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(0,210,255,0.05);
  flex-shrink: 0;
}

.info-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-content p, .info-content a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
}

.info-content a:hover {
  color: var(--primary);
}

/* Contact Form UI */
.contact-card {
  padding: 3.5rem;
  position: relative;
}

/* Form Success Overlay */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 24px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-success-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.success-water-tank {
  width: 100px;
  height: 140px;
  border: 3px solid var(--border-glass);
  border-radius: 12px 12px 20px 20px;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.success-water-tank::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(255,255,255,0.05), transparent);
}

.success-water-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%; /* Animate to 90% */
  background: linear-gradient(to top, var(--accent-blue), var(--accent-cyan));
  transition: height 2s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-water-fill::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 0;
  width: 200%;
  height: 10px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: waterWave 1.5s linear infinite;
  transform: translateX(0);
}

.success-tick {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 45px;
  height: 45px;
  background: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-blue);
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  z-index: 3;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.5s;
}

.form-success-overlay.active .success-water-fill {
  height: 85%;
}

.form-success-overlay.active .success-tick {
  transform: translate(-50%, -50%) scale(1);
}

.success-message h4 {
  font-size: 1.85rem;
  margin-bottom: 0.5rem;
}

.success-message p {
  color: var(--text-secondary);
  max-width: 320px;
  margin: 0 auto;
  font-size: 0.95rem;
}

/* Form Controls */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-field {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 1.15rem 1.25rem;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-textarea {
  height: 140px;
  resize: none;
}

.form-label {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition-normal);
  font-weight: 500;
  font-size: 1rem;
}

/* Floating Label Animation */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label,
.form-textarea:focus ~ .form-label,
.form-textarea:not(:placeholder-shown) ~ .form-label {
  top: -0.65rem;
  left: 0.75rem;
  font-size: 0.75rem;
  background: var(--bg-dark);
  padding: 0 0.5rem;
  color: var(--primary);
  border-radius: 4px;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.15);
}

.contact-card .btn {
  width: 100%;
  justify-content: center;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-glass);
  padding: 5rem 2rem 2.5rem;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-btn:hover {
  background: var(--primary);
  color: var(--bg-darker);
  box-shadow: 0 0 15px var(--primary-glow);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-newsletter {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex-grow: 1;
  padding: 0.85rem 1.25rem;
  background: rgba(2, 6, 23, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  outline: none;
  font-size: 0.9rem;
}

.newsletter-input:focus {
  border-color: var(--primary);
}

.newsletter-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  border: none;
  color: var(--bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-terms {
  display: flex;
  gap: 1.5rem;
}

.footer-terms a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-terms a:hover {
  color: var(--text-secondary);
}

/* ==========================================
   KEYFRAME ANIMATIONS
   ========================================== */
@keyframes floatUp {
  0% {
    transform: translateY(0) rotate(0deg) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-110vh) rotate(360deg) scale(1.2);
    opacity: 0;
  }
}

@keyframes pulseCyan {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.2);
    border-color: rgba(0, 210, 255, 0.15);
  }
  50% {
    box-shadow: 0 0 15px 2px rgba(0, 210, 255, 0.4);
    border-color: rgba(0, 210, 255, 0.6);
  }
}

@keyframes pulseGlow {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.15) translate(10px, -10px);
    opacity: 1;
  }
}

@keyframes floatBottle {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(-1.5deg);
  }
}

@keyframes floatBadge {
  0% {
    transform: translateY(0) translateX(0);
  }
  100% {
    transform: translateY(-8px) translateX(-5px);
  }
}

@keyframes pipeFlow {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 30px 0;
  }
}

@keyframes waterWave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================
   SCROLL REVEAL CLASSSES (JS INJECTED)
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ==========================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-desc {
    margin: 0 auto 2.5rem;
  }
  
  .hero-badge-panel {
    right: 5%;
    bottom: 5%;
  }

  .grid-3col {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .value-card:last-child {
    grid-column: span 2;
  }

  .process-layout, .quality-layout, .calculator-layout, .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .quality-visual {
    order: 2;
  }
  
  .quality-layout {
    gap: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1.5fr;
  }
  
  .footer-newsletter {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(3, 12, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 8rem 2rem 2rem;
    align-items: flex-start;
    gap: 2rem;
    transition: var(--transition-normal);
    border-left: 1px solid var(--border-glass);
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-toggle {
    display: block;
    z-index: 1000;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }
  
  .process-map {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-newsletter {
    grid-column: span 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  
  .section-padding {
    padding: 5rem 1rem;
  }
}

@media (max-width: 480px) {
  .process-map {
    grid-template-columns: 1fr;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .water-dial-container {
    width: 260px;
    height: 260px;
  }
  
  .calc-card, .quote-card, .contact-card {
    padding: 1.75rem;
  }
  
  .details-card {
    padding: 1.5rem;
  }
}
