/* ==========================================================================
   KARNI INDUSTRIES - NEXT-GEN ULTRA-PREMIUM DESIGN SYSTEM
   Theme: Obsidian Cyber-Industrial & Luminous Glassmorphism
   100% Vanilla CSS3 - Pure Native Code - Zero External Frameworks
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;600;700&display=swap');

/* --- Next-Gen CSS Variables & Design Tokens --- */
:root {
  /* Base Obsidian Surface System */
  --bg-deep: #030712;
  --bg-body: #070D1B;
  --bg-surface: #0B132B;
  --bg-surface-elevated: #111B38;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(26, 38, 66, 0.85);
  --bg-glass: rgba(11, 19, 43, 0.65);
  
  /* Luminous Cyber Accents */
  --cyan-neon: #00F0FF;
  --cyan-glow: rgba(0, 240, 255, 0.35);
  --cyan-dim: #0284C7;
  
  --emerald-neon: #00FFA3;
  --emerald-glow: rgba(0, 255, 163, 0.3);
  --emerald-dim: #059669;

  --amber-neon: #FFB703;
  --amber-glow: rgba(255, 183, 3, 0.3);

  --rose-neon: #FF3366;
  --rose-glow: rgba(255, 51, 102, 0.3);

  --whatsapp: #25D366;
  --whatsapp-glow: rgba(37, 211, 102, 0.4);

  /* High-Contrast Titanium Typography */
  --text-pure: #FFFFFF;
  --text-primary: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  /* Specular Borders & Glass Dividers */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(0, 240, 255, 0.35);
  --border-neon: rgba(0, 240, 255, 0.6);
  --border-emerald: rgba(0, 255, 163, 0.5);

  /* Typography Stacks */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevation Shadows & Light Spills */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-neon-cyan: 0 0 30px rgba(0, 240, 255, 0.25);
  --shadow-neon-emerald: 0 0 30px rgba(0, 255, 163, 0.25);

  /* Layout Constants */
  --max-width: 1320px;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg-deep);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(0, 240, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 60%, rgba(0, 255, 163, 0.04) 0%, transparent 45%);
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--cyan-dim);
}

/* --- Container Utility --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* --- Typography Enhancements --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-pure);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 0%, #00F0FF 55%, #00FFA3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-cyan {
  color: var(--cyan-neon);
}

.text-emerald {
  color: var(--emerald-neon);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4rem;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan-neon);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
  margin-bottom: 1.25rem;
}

.section-title {
  font-size: 2.85rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- Top Utility Announcement Bar --- */
.topbar {
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.82rem;
  padding: 0.55rem 0;
  color: var(--text-muted);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.topbar-contact {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

.topbar-item:hover {
  color: var(--cyan-neon);
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--cyan-neon);
  fill: none;
}

.topbar-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 255, 163, 0.1);
  border: 1px solid rgba(0, 255, 163, 0.25);
  color: var(--emerald-neon);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
}

/* --- Floating Glassmorphic Navigation Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 13, 27, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(4, 8, 18, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 240, 255, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  gap: 2rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.25));
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.5);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
}

.nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover {
  color: var(--text-pure);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--cyan-neon) 0%, #38BDF8 100%);
  font-weight: 700;
  box-shadow: 0 0 15px var(--cyan-glow);
}

/* Header Action Controls */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Search Bar */
.search-container {
  position: relative;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.1rem;
  transition: all var(--transition-normal);
}

.search-input-wrapper:focus-within {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 18px var(--cyan-glow);
  background: rgba(15, 23, 42, 0.9);
}

.search-input {
  background: transparent;
  border: none;
  color: var(--text-pure);
  font-size: 0.88rem;
  width: 140px;
  outline: none;
  transition: width var(--transition-normal);
}

.search-input:focus {
  width: 200px;
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-btn {
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.search-btn:hover {
  color: var(--cyan-neon);
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 340px;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-neon);
  box-shadow: var(--shadow-lg), var(--shadow-neon-cyan);
  overflow: hidden;
  display: none;
  z-index: 1050;
  max-height: 400px;
  overflow-y: auto;
}

.search-results-dropdown.show {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-glass);
  transition: background var(--transition-fast);
}

.search-result-item:hover {
  background: rgba(0, 240, 255, 0.08);
}

.search-result-thumb {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  object-fit: contain;
  padding: 3px;
  flex-shrink: 0;
}

.search-result-info h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.25;
}

.search-result-info span {
  font-size: 0.75rem;
  color: var(--cyan-neon);
}

/* Quote Cart Pill Button */
.quote-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--cyan-neon);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--transition-fast);
  position: relative;
}

.quote-cart-btn:hover {
  background: var(--cyan-neon);
  color: var(--bg-deep);
  box-shadow: 0 0 25px var(--cyan-glow);
  transform: translateY(-2px);
}

.quote-badge {
  background: var(--amber-neon);
  color: #000;
  font-size: 0.75rem;
  font-weight: 900;
  min-width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--cyan-neon);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.8);
  backdrop-filter: blur(12px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100%;
  background: var(--bg-surface);
  z-index: 1200;
  padding: 2.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  border-left: 1px solid var(--border-glass);
  transition: right var(--transition-smooth);
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-glass);
  padding-bottom: 1.25rem;
}

.drawer-close-btn {
  color: var(--cyan-neon);
  font-size: 1.8rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-secondary);
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  display: block;
  border: 1px solid transparent;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--cyan-neon);
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.2);
}

/* --- Interactive Particle Canvas Hero Section --- */
.hero-section {
  position: relative;
  padding: 6.5rem 0 7.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
  background: 
    radial-gradient(ellipse at 50% -20%, rgba(0, 240, 255, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 40%, rgba(0, 255, 163, 0.08) 0%, transparent 50%),
    var(--bg-body);
}

#particleCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

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

.hero-content {
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem 1.25rem;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--cyan-neon);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-bottom: 1.75rem;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.15);
}

.hero-badge-pulse {
  width: 9px;
  height: 9px;
  background: var(--cyan-neon);
  border-radius: var(--radius-full);
  box-shadow: 0 0 12px var(--cyan-neon);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(0.95); opacity: 1; }
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.75rem;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.75rem;
  max-width: 640px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 800;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-neon) 0%, #0096C7 100%);
  color: var(--bg-deep);
  box-shadow: 0 4px 25px var(--cyan-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #70EFFF 0%, var(--cyan-neon) 100%);
  box-shadow: 0 8px 35px rgba(0, 240, 255, 0.55);
  transform: translateY(-3px);
  color: var(--bg-deep);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-pure);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-3px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 20px var(--whatsapp-glow);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2BF076 0%, #159C8D 100%);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
  transform: translateY(-3px);
  color: #FFFFFF;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
}

.btn-outline {
  border: 1.5px solid var(--border-glass);
  color: var(--text-pure);
  background: rgba(15, 23, 42, 0.6);
}

.btn-outline:hover {
  border-color: var(--cyan-neon);
  color: var(--cyan-neon);
  box-shadow: 0 0 20px var(--cyan-glow);
}

/* Hero Showcase Card */
.hero-visual {
  position: relative;
}

.hero-visual-card {
  background: linear-gradient(145deg, rgba(17, 27, 56, 0.8) 0%, rgba(10, 16, 34, 0.95) 100%);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg), var(--shadow-neon-cyan);
  position: relative;
  backdrop-filter: blur(20px);
}

.hero-visual-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-glass);
}

.hero-floating-stat {
  position: absolute;
  background: rgba(11, 19, 43, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 5;
}

.hero-stat-1 {
  bottom: -24px;
  left: -24px;
  border-left: 4px solid var(--cyan-neon);
}

.hero-stat-2 {
  top: -24px;
  right: -24px;
  border-left: 4px solid var(--emerald-neon);
}

.stat-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-neon);
  font-size: 1.3rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-pure);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* --- Trust & Certifications Strip --- */
.trust-ribbon {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-glass);
  padding: 2.25rem 0;
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-neon);
  flex-shrink: 0;
}

.trust-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.25;
}

.trust-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* --- Section Containers --- */
.section {
  padding: 6.5rem 0;
  position: relative;
}

.section-alt {
  background: rgba(11, 19, 43, 0.35);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.section-dark {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-glass);
}

/* --- Holographic Category Cards --- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.category-card {
  background: linear-gradient(145deg, rgba(17, 27, 56, 0.5) 0%, rgba(11, 19, 43, 0.7) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan-neon), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-neon);
  box-shadow: var(--shadow-lg), var(--shadow-neon-cyan);
  background: linear-gradient(145deg, rgba(23, 37, 75, 0.7) 0%, rgba(15, 25, 54, 0.9) 100%);
}

.category-card:hover::before {
  opacity: 1;
}

.category-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-neon);
  margin-bottom: 1.75rem;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.category-card-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--text-pure);
}

.category-card-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.category-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-glass);
  padding-top: 1.25rem;
}

.category-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan-neon);
  font-family: var(--font-mono);
}

.category-explore-link {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-pure);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.category-card:hover .category-explore-link {
  color: var(--cyan-neon);
  gap: 0.75rem;
}

/* --- High-Impact Product Cards Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.25rem;
}

.product-card {
  background: linear-gradient(160deg, rgba(17, 27, 56, 0.6) 0%, rgba(10, 16, 34, 0.9) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  backdrop-filter: blur(16px);
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-neon);
  box-shadow: var(--shadow-lg), var(--shadow-neon-cyan);
}

.product-thumb-wrap {
  background: radial-gradient(circle at 50% 50%, rgba(0, 240, 255, 0.08) 0%, rgba(7, 13, 27, 0.8) 100%);
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  position: relative;
  border-bottom: 1px solid var(--border-glass);
}

.product-card-img {
  max-height: 195px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
  filter: drop-shadow(0 15px 20px rgba(0, 0, 0, 0.5));
}

.product-card:hover .product-card-img {
  transform: scale(1.08) translateY(-4px);
}

.product-badge-pill {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  background: rgba(3, 7, 18, 0.85);
  color: var(--cyan-neon);
  border: 1px solid rgba(0, 240, 255, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
}

.product-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-neon);
  margin-bottom: 0.45rem;
}

.product-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.product-sku {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  margin-bottom: 0.85rem;
}

.product-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 7, 18, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xs);
  padding: 0.6rem 0.9rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.product-spec-item strong {
  color: var(--text-pure);
}

.product-actions-group {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.btn-card-quote {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-pure);
  font-size: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.btn-card-quote:hover {
  background: var(--cyan-neon);
  color: var(--bg-deep);
  border-color: var(--cyan-neon);
  box-shadow: 0 0 15px var(--cyan-glow);
}

.btn-card-wa {
  background: var(--whatsapp);
  color: #FFFFFF;
  font-size: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.btn-card-wa:hover {
  background: #2BF076;
  box-shadow: 0 0 18px var(--whatsapp-glow);
}

/* --- Digital Lab Dilution Console (HUD Style) --- */
.dilution-calc-card {
  background: linear-gradient(150deg, rgba(15, 23, 42, 0.9) 0%, rgba(7, 13, 27, 0.98) 100%);
  border: 1px solid var(--border-neon);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg), var(--shadow-neon-cyan);
  backdrop-filter: blur(25px);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-form-group {
  margin-bottom: 1.75rem;
}

.calc-label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
  color: var(--text-pure);
}

.calc-select, .calc-input {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-glass);
  background: rgba(3, 7, 18, 0.8);
  color: var(--text-pure);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.calc-select:focus, .calc-input:focus {
  outline: none;
  border-color: var(--cyan-neon);
  box-shadow: 0 0 20px var(--cyan-glow);
}

.calc-range-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.calc-range {
  flex-grow: 1;
  accent-color: var(--cyan-neon);
  height: 6px;
}

/* Result Tank Visualizer (Digital HUD) */
.calc-visual-box {
  background: rgba(3, 7, 18, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  text-align: center;
  position: relative;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.calc-tank-graphic {
  width: 130px;
  height: 220px;
  margin: 0 auto 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(0, 240, 255, 0.4);
  border-radius: 0 0 24px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.calc-water-fill {
  background: linear-gradient(180deg, #38BDF8 0%, #0284C7 100%);
  width: 100%;
  transition: height 0.4s ease;
  opacity: 0.85;
}

.calc-chemical-fill {
  background: linear-gradient(180deg, #FFB703 0%, #FB8500 100%);
  width: 100%;
  transition: height 0.4s ease;
  box-shadow: 0 0 15px rgba(255, 183, 3, 0.5);
}

.calc-results-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.calc-stat-pill {
  background: rgba(17, 27, 56, 0.7);
  border: 1px solid var(--border-glass);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.calc-stat-val {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--cyan-neon);
}

.calc-stat-val.chem-val {
  color: var(--amber-neon);
}

.calc-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* --- Slide-out Enquiry Cart (Quote Drawer) --- */
.quote-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.quote-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.quote-drawer {
  position: fixed;
  top: 0;
  right: -520px;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: var(--bg-surface-elevated);
  z-index: 2100;
  box-shadow: var(--shadow-lg), -10px 0 35px rgba(0, 0, 0, 0.8);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-glass);
  transition: right var(--transition-smooth);
}

.quote-drawer.open {
  right: 0;
}

.quote-drawer-header {
  padding: 1.75rem;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quote-drawer-title {
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-pure);
}

.quote-drawer-body {
  padding: 1.75rem;
  flex-grow: 1;
  overflow-y: auto;
}

.quote-item-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border-glass);
  align-items: center;
}

.quote-item-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  object-fit: contain;
  padding: 4px;
  flex-shrink: 0;
}

.quote-item-info {
  flex-grow: 1;
}

.quote-item-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-pure);
  line-height: 1.3;
}

.quote-item-sku {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.quote-item-pack {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--cyan-neon);
}

.quote-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xs);
  overflow: hidden;
  margin-top: 0.4rem;
  background: rgba(3, 7, 18, 0.6);
}

.quote-qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-pure);
  font-weight: 800;
}

.quote-qty-btn:hover {
  background: var(--cyan-neon);
  color: var(--bg-deep);
}

.quote-qty-input {
  width: 36px;
  height: 28px;
  border: none;
  background: transparent;
  color: var(--text-pure);
  text-align: center;
  font-size: 0.88rem;
  font-weight: 800;
}

.quote-item-remove {
  color: var(--rose-neon);
  padding: 0.5rem;
  border-radius: var(--radius-xs);
}

.quote-item-remove:hover {
  background: rgba(255, 51, 102, 0.15);
}

.quote-drawer-footer {
  padding: 1.75rem;
  background: var(--bg-deep);
  border-top: 1px solid var(--border-glass);
}

.quote-form-group {
  margin-bottom: 0.95rem;
}

.quote-drawer-empty {
  text-align: center;
  padding: 5rem 1rem;
  color: var(--text-muted);
}

/* --- Catalog Toolbar & Filter System --- */
.catalog-toolbar {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.filter-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.filter-pill {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-glass);
  transition: all var(--transition-fast);
}

.filter-pill:hover, .filter-pill.active {
  background: var(--cyan-neon);
  color: var(--bg-deep);
  border-color: var(--cyan-neon);
  box-shadow: 0 0 18px var(--cyan-glow);
}

.catalog-sort-select {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background: var(--bg-deep);
  color: var(--text-pure);
  font-size: 0.88rem;
  font-weight: 700;
}

/* --- FAQ Accordion System --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-neon);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-pure);
  text-align: left;
}

.faq-icon {
  width: 22px;
  height: 22px;
  transition: transform var(--transition-normal);
  color: var(--cyan-neon);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  padding: 0 1.75rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.75rem 1.5rem;
}

/* --- Floating WhatsApp Widget --- */
.floating-whatsapp {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.floating-wa-btn {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px var(--whatsapp-glow);
  transition: transform var(--transition-normal);
  position: relative;
}

.floating-wa-btn:hover {
  transform: scale(1.12);
}

.floating-wa-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: var(--radius-full);
  background: var(--whatsapp);
  opacity: 0.5;
  animation: wa-pulse 2s infinite;
  z-index: -1;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.floating-wa-tooltip {
  background: var(--bg-surface-elevated);
  color: var(--text-pure);
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-glass);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
}

.floating-whatsapp:hover .floating-wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* --- Toast Notifications --- */
.toast-container {
  position: fixed;
  bottom: 2.25rem;
  left: 2.25rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  pointer-events: none;
}

.toast {
  background: var(--bg-surface-elevated);
  color: var(--text-pure);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--cyan-neon);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  pointer-events: auto;
  border-top: 1px solid var(--border-glass);
  border-right: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  animation: toast-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.toast.toast-success {
  border-left-color: var(--emerald-neon);
}

.toast.toast-error {
  border-left-color: var(--rose-neon);
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Site Footer --- */
.site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 2.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-col-title {
  color: var(--text-pure);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--cyan-neon);
  box-shadow: 0 0 8px var(--cyan-glow);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.footer-link:hover {
  color: var(--cyan-neon);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stat-1 {
    left: 20px;
  }
  .hero-stat-2 {
    right: 20px;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .topbar {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .search-container {
    display: none;
  }
  .floating-wa-tooltip {
    display: none;
  }
}
