/*
Theme Name: Vista Molecules
Theme URI: https://vistamolecules.com/
Author: Vista
Description: Converted from the Vista Molecules HTML theme.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vista
*/

@import url('https://api.fontshare.com/v2/css?f[]=clash-display@200,400,500,600,700&f[]=satoshi@300,400,500,700,900&display=swap');

:root {
  /* Color Palette - Matched to Logo Only */
  --primary: #47704c; /* Logo Dark Green */
  --primary-light: #74b44f; /* Logo Light Green */
  --primary-dark: #2271b2; /* Logo Blue */
  --primary-glow: rgba(71, 112, 76, 0.2);
  
  --bg-color: #ffffff; /* Logo White */
  --bg-surface: #ffffff; 
  --bg-surface-light: #ffffff;
  
  --text-main: #000000; /* Logo Black */
  --text-muted: #47704c; /* Muted uses logo dark green */
  
  --pattern-light: url("data:image/svg+xml,%3Csvg width='51.9615' height='90' viewBox='0 0 51.9615 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2347704c' stroke-width='1.5' stroke-opacity='0.08'%3E%3Cpath d='M0 0 L0 30' /%3E%3Cpath d='M25.98075 45 L25.98075 75' /%3E%3Cpath d='M0 30 L25.98075 45 L51.9615 30' /%3E%3Cpath d='M0 90 L25.98075 75 L51.9615 90' /%3E%3Ccircle cx='0' cy='30' r='2' fill='%2347704c' fill-opacity='0.15' stroke='none' /%3E%3Ccircle cx='25.98075' cy='45' r='2' fill='%2347704c' fill-opacity='0.15' stroke='none' /%3E%3Ccircle cx='51.9615' cy='30' r='2' fill='%2347704c' fill-opacity='0.15' stroke='none' /%3E%3Ccircle cx='25.98075' cy='75' r='2' fill='%2347704c' fill-opacity='0.15' stroke='none' /%3E%3Ccircle cx='0' cy='90' r='2' fill='%2347704c' fill-opacity='0.15' stroke='none' /%3E%3Ccircle cx='51.9615' cy='90' r='2' fill='%2347704c' fill-opacity='0.15' stroke='none' /%3E%3Ccircle cx='0' cy='0' r='2' fill='%2347704c' fill-opacity='0.15' stroke='none' /%3E%3Ccircle cx='51.9615' cy='0' r='2' fill='%2347704c' fill-opacity='0.15' stroke='none' /%3E%3C/g%3E%3C/svg%3E");
  --pattern-dark: url("data:image/svg+xml,%3Csvg width='51.9615' height='90' viewBox='0 0 51.9615 90' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%2347704c' stroke-width='1.5' stroke-opacity='0.15'%3E%3Cpath d='M0 0 L0 30' /%3E%3Cpath d='M25.98075 45 L25.98075 75' /%3E%3Cpath d='M0 30 L25.98075 45 L51.9615 30' /%3E%3Cpath d='M0 90 L25.98075 75 L51.9615 90' /%3E%3Ccircle cx='0' cy='30' r='2' fill='%2347704c' fill-opacity='0.25' stroke='none' /%3E%3Ccircle cx='25.98075' cy='45' r='2' fill='%2347704c' fill-opacity='0.25' stroke='none' /%3E%3Ccircle cx='51.9615' cy='30' r='2' fill='%2347704c' fill-opacity='0.25' stroke='none' /%3E%3Ccircle cx='25.98075' cy='75' r='2' fill='%2347704c' fill-opacity='0.25' stroke='none' /%3E%3Ccircle cx='0' cy='90' r='2' fill='%2347704c' fill-opacity='0.25' stroke='none' /%3E%3Ccircle cx='51.9615' cy='90' r='2' fill='%2347704c' fill-opacity='0.25' stroke='none' /%3E%3Ccircle cx='0' cy='0' r='2' fill='%2347704c' fill-opacity='0.25' stroke='none' /%3E%3Ccircle cx='51.9615' cy='0' r='2' fill='%2347704c' fill-opacity='0.25' stroke='none' /%3E%3C/g%3E%3C/svg%3E");
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.05);
  
  --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  
  --shadow-subtle: 0 10px 40px -10px rgba(0,0,0,0.08);
  --shadow-hover: 0 20px 40px -10px rgba(16, 185, 129, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none; /* Custom cursor */
}

html, body {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Satoshi', sans-serif;
  color: var(--text-main);
  background-color: #ffffff;
  background-image: var(--pattern-light);
  background-size: 80px auto;
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Very subtle noise for premium feel in light mode */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Asymmetrical Grid (Chemid Style) */
.asym-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.asym-left .sub-heading {
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  font-size: 16px;
  display: block;
}

.asym-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.app-card {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  height: 300px;
  background: var(--bg-surface);
}

.app-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.app-card:hover img {
  transform: scale(1.1);
}

.app-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
  z-index: 2;
}

.app-card-overlay h3 {
  color: #fff;
  font-size: 22px;
  margin: 0;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.app-card:hover .app-card-overlay h3 {
  transform: translateY(0);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat-box {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  padding: 50px 30px;
  text-align: center;
  border-bottom: 4px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}

.stat-box:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 60px;
  font-family: 'Clash Display', sans-serif;
  color: var(--primary);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-main);
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* News/Media Cards */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.news-card {
  background: #fff;
  border: 1px solid var(--glass-border);
  transition: box-shadow 0.3s ease;
}

.news-card:hover {
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.news-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-content {
  padding: 30px;
}

.news-date {
  color: var(--primary-light);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: block;
}

.news-title {
  font-size: 22px;
  color: var(--text-main);
  margin-bottom: 15px;
  line-height: 1.4;
  text-decoration: none;
  display: block;
  font-family: 'Clash Display', sans-serif;
}

.news-title:hover {
  color: var(--primary);
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
  position: fixed;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 10000;
  pointer-events: none;
}
.cursor-dot {
  width: 8px; height: 8px;
  background-color: var(--primary);
}
.cursor-outline {
  width: 40px; height: 40px;
  border: 1px solid rgba(16, 185, 129, 0.5);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
}
.cursor-hover {
  width: 60px; height: 60px;
  background-color: rgba(16, 185, 129, 0.1);
  border-color: transparent;
}

a, button, .btn {
  cursor: none;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6, .display-font {
  font-family: 'Clash Display', sans-serif;
  font-weight: 600;
  line-height: 1.1;
  color: var(--primary);
}

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

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

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 100px;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  border: none;
  gap: 12px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--primary-light);
  color: #ffffff;
  transform: scale(1.05);
  box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-main);
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-5px);
  background: rgba(16, 185, 129, 0.05);
}

/* Top Bar */
.top-bar {
  display: none;
  background: var(--primary-dark);
  color: #fff;
  padding: 10px 0;
  font-size: 14px;
  position: absolute;
  top: 0; left: 0; width: 100%;
  z-index: 1001;
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-products-section {
    padding-top: 100px;
    display: flex;
    justify-content: center;
}
.top-bar-left, .top-bar-right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-link {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.top-bar-link:hover {
  color: var(--primary-light);
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
}

.top-bar i {
  width: 14px;
  height: 14px;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
header.scrolled {
  top: 0;
  padding: 8px 0;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.03);
}
header.scrolled .header-logo-img {
  height: 56px;
}
header.scrolled .nav-links {
  background: #ffffff;
  padding: 8px 24px;
  gap: 32px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-family: 'Clash Display', sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.header-logo-img {
  height: 90px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
  transition: var(--transition);
}
.logo-icon {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 50px;
  background: rgba(255,255,255,0.6);
  padding: 15px 40px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.nav-links a {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-main);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 50%;
  transform: translateX(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0;
  transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after {
  opacity: 1;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
}

/* Sections */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
  background-color: #ffffff;
  background-image: var(--pattern-light);
  background-size: 80px auto;
  background-attachment: fixed;
}

/* New Alternating Section Backgrounds */
.section-tinted {
  background-color: #f8faf8; /* Very slight green tint */
  background-image: var(--pattern-light);
  background-size: 80px auto;
  background-attachment: fixed;
  border-top: 1px solid rgba(71, 112, 76, 0.05);
  border-bottom: 1px solid rgba(71, 112, 76, 0.05);
}

.section-white {
  background-color: #ffffff;
  background-image: var(--pattern-light);
  background-size: 80px auto;
  background-attachment: fixed;
  box-shadow: 0 10px 40px rgba(0,0,0,0.02);
  z-index: 2;
}

.section-dark {
  background-color: #000000;
  background-image: var(--pattern-dark);
  background-size: 80px auto;
  background-attachment: fixed;
  color: #ffffff;
}

.section-dark .section-title {
  color: #f8fafc;
}

.section-dark .text-muted {
  color: #94a3b8 !important;
}

.section-dark .btn-outline {
  color: #f8fafc;
  border-color: rgba(255,255,255,0.2);
}

.section-dark .btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.section-title {
  font-size: clamp(36px, 5vw, 80px);
  margin-bottom: 30px;
  text-transform: uppercase;
  line-height: 1;
}

/* Background Abstract Elements - Light Mode */
.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}
.bg-glow-1 {
  top: -10vh; left: -5vw;
  width: 40vw; height: 40vw;
  background: rgba(16, 185, 129, 0.08);
}
.bg-glow-2 {
  bottom: 10vh; right: -5vw;
  width: 30vw; height: 30vw;
  background: rgba(2, 132, 199, 0.05); /* subtle blue-green mix */
}

/* Hero Section */
.hero {
  background-color: #ffffff;
  background-image: var(--pattern-light);
  background-size: 80px auto;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-chem-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.chem-float {
  position: absolute;
  width: 140px;
  height: 140px;
  color: rgba(71, 112, 76, 0.22);
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.08));
  opacity: 0.9;
}

.chem-float svg {
  width: 100%;
  height: 100%;
}

.chem-float-1 {
  left: 4vw;
  top: 18vh;
  animation: chemDrift 10s ease-in-out infinite;
}

.chem-float-2 {
  right: 6vw;
  top: 14vh;
  width: 120px;
  height: 120px;
  color: rgba(34, 113, 178, 0.18);
  animation: chemDrift2 12s ease-in-out infinite;
}

.chem-float-3 {
  left: 8vw;
  bottom: 10vh;
  width: 130px;
  height: 130px;
  color: rgba(116, 180, 79, 0.20);
  animation: chemSpinFloat 14s ease-in-out infinite;
}

.chem-float-4 {
  right: 10vw;
  bottom: 12vh;
  width: 160px;
  height: 160px;
  color: rgba(71, 112, 76, 0.16);
  animation: chemSpinFloat2 16s ease-in-out infinite;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-between-icon {
  position: absolute;
  left: 52%;
  top: 56%;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  color: rgba(71, 112, 76, 0.22);
  animation: chemBetweenFloat 4.6s ease-in-out infinite;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,0.08));
}

.hero-between-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-tag {
  display: inline-block;
  font-family: 'Satoshi', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 30px;
  position: relative;
  padding-left: 50px;
}
.hero-tag::before {
  content: '';
  position: absolute;
  left: 0; top: 50%; transform: translateY(-50%);
  width: 30px; height: 2px;
  background: var(--primary);
}

.hero-title {
  font-size: clamp(50px, 7vw, 110px);
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: -2px;
}

/* Hero Heading - Chemical Animation */
.hero-title-chem .hero-title-line {
  display: inline-block;
  position: relative;
}

.hero-title-line-chem {
  padding-right: 0;
}

.hero-title-word {
  display: inline-block;
  position: relative;
  background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--primary-dark), var(--primary));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

.chem-bubbles {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -10px;
  height: 60px;
  pointer-events: none;
  overflow: visible;
}

.chem-bubbles::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(116, 180, 79, 0.55);
  box-shadow:
    40px 10px 0 rgba(71, 112, 76, 0.35),
    85px 18px 0 rgba(34, 113, 178, 0.28),
    130px 6px 0 rgba(116, 180, 79, 0.40),
    175px 22px 0 rgba(71, 112, 76, 0.30),
    220px 12px 0 rgba(34, 113, 178, 0.22);
  
  filter: blur(0.2px);
}


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

@keyframes chemBubbles {
  0% { transform: translateY(0); opacity: 0.0; }
  15% { opacity: 1; }
  100% { transform: translateY(-46px); opacity: 0.0; }
}

@keyframes chemBetweenFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(-6deg); opacity: 0.85; }
  50% { transform: translate(-50%, -54%) rotate(8deg); opacity: 1; }
}


.hero-desc {
  font-size: 22px;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 50px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}
.hero-image {
  width: 100%; height: auto;
  display: block;
  object-fit: contain;
  transform: scale(1.1);
  transition: transform 1.5s ease-out;
}
.hero-image-container:hover .hero-image {
  transform: scale(1);
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(255,255,255,0.8) 0%, transparent 60%);
}
.hero-floating-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow-subtle);
  padding: 30px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}
.badge-number {
  font-family: 'Clash Display', sans-serif;
  font-size: 40px;
  color: var(--primary);
}

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

@keyframes chemDrift {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-6deg); }
  50% { transform: translate3d(18px, -14px, 0) rotate(8deg); }
}

@keyframes chemDrift2 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(8deg); }
  50% { transform: translate3d(-22px, 16px, 0) rotate(-10deg); }
}

@keyframes chemSpinFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(14px, -18px, 0) rotate(120deg); }
}

@keyframes chemSpinFloat2 {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-18px, -10px, 0) rotate(-140deg); }
}

/* Products - Light Theme Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 40px;
}

.product-card {
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(16, 185, 129, 0.05), transparent 40%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

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

.product-card:hover {
  transform: translateY(-10px);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: var(--shadow-hover);
}

.product-img-wrapper {
  position: relative;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  z-index: 1;
  background: var(--bg-surface);
  border-radius: 16px;
}

.product-img {
  max-width: 80%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

.product-card:hover .product-img {
  transform: scale(1.1) rotate(3deg);
}

.product-category {
  font-family: 'Satoshi', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 15px;
  z-index: 1;
}

.product-title {
  font-size: 28px;
  margin-bottom: 15px;
  z-index: 1;
}

.product-desc {
  color: var(--text-muted);
  font-size: 16px;
  margin-bottom: 30px;
  z-index: 1;
  flex-grow: 1;
}

.product-card .btn {
  z-index: 1;
  width: 100%;
}

/* About & Vision Modern Layout */
.about-modern {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text p {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
  font-weight: 400;
}

.about-text p strong {
  color: var(--text-main);
  font-weight: 600;
}

.vision-mission-cards {
  display: grid;
  gap: 30px;
}

.vm-card-modern {
  background: #fff;
  border: 1px solid var(--glass-border);
  padding: 50px;
  border-radius: 30px;
  display: flex;
  gap: 30px;
  transition: var(--transition);
  box-shadow: var(--shadow-subtle);
}

.vm-card-modern:hover {
  transform: translateX(15px);
  border-color: rgba(16, 185, 129, 0.2);
  box-shadow: var(--shadow-hover);
}

.vm-icon-large {
  color: var(--primary);
  flex-shrink: 0;
  background: var(--bg-surface-light);
  padding: 10px;
  border-radius: 12px;
}

.factory-modern {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 100px;
  background: var(--bg-surface);
  border-radius: 30px;
  padding: 60px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--glass-border);
}

.factory-img-container {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.factory-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.factory-modern:hover .factory-img {
  transform: scale(1.05);
}

.factory-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.factory-feature {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  color: var(--text-main);
}

/* Contact Modern - Light / Dark */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.huge-text {
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.9;
  text-transform: uppercase;
  font-family: 'Clash Display', sans-serif;
  color: transparent;
  -webkit-text-stroke: 1px rgba(0,0,0,0.1);
  margin-bottom: 50px;
}

.section-dark .huge-text {
  -webkit-text-stroke: 1px rgba(255,255,255,0.55);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info-item h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 10px;
}
.contact-info-item p {
  font-size: 24px;
  color: var(--text-main);
}

.section-dark .contact-info-item p {
  color: #f8fafc;
}

.modern-form .form-group {
  margin-bottom: 40px;
  position: relative;
}

.modern-form .form-control {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  padding: 15px 0;
  font-size: 20px;
  color: var(--text-main);
  font-family: 'Satoshi', sans-serif;
  transition: var(--transition);
}

.section-dark .modern-form .form-control {
  border-bottom-color: rgba(255,255,255,0.2);
  color: #f8fafc;
}

.modern-form .form-control:focus {
  outline: none;
  border-bottom-color: var(--primary);
}
.modern-form .form-control::placeholder {
  color: rgba(0,0,0,0.3);
}

.section-dark .modern-form .form-control::placeholder {
  color: rgba(255,255,255,0.4);
}

.modern-form textarea.form-control {
  min-height: 100px;
  resize: none;
}

/* CTA Section */
.cta-box {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 30px;
  padding: 80px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px var(--primary-glow);
}

.cta-box h1, .cta-box h2, .cta-box h3 {
  color: #ffffff;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

/* Contact form status + loader */
.vista-form-status{
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.18);
  color: rgba(255,255,255,0.85);
}
.vista-form-status.is-success{
  border-color: rgba(116,180,79,0.45);
  background: rgba(116,180,79,0.12);
}
.vista-form-status.is-error{
  border-color: rgba(255,90,90,0.45);
  background: rgba(255,90,90,0.10);
}
.vista-btn-loader{
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: rgba(255,255,255,0.95);
  margin-right: 10px;
  display: inline-block;
  vertical-align: -3px;
  animation: vistaSpin 0.8s linear infinite;
}
@keyframes vistaSpin{ to { transform: rotate(360deg); } }

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Footer Mega - Chemid Style */
footer {
  padding: 100px 0 40px;
  position: relative;
  overflow: hidden;
  background-color: #0b110c; /* Deep dark green-black */
  color: rgba(255,255,255,0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-links h4 {
  color: #ffffff;
  margin-bottom: 25px;
  font-family: 'Clash Display', sans-serif;
  font-size: 22px;
  position: relative;
  padding-bottom: 15px;
}

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

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
}
.footer-links a:hover {
  color: var(--primary-light);
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: background 0.3s ease;
}
.social-btn svg {
  display: block;
  width: 18px;
  height: 18px;
}

.social-btn:hover {
  background: var(--primary);
}

.scroll-top-btn {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.95);
  color: var(--primary);
  box-shadow: var(--shadow-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: var(--transition);
  z-index: 1005;
}

.scroll-top-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-4px);
}

.scroll-top-btn:active {
  transform: translateY(-1px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
  color: var(--text-muted);
  font-weight: 500;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0;
  padding: 0;
  color: rgba(255,255,255,0.6);
  font-size: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
  color: var(--primary-light);
}

/* Acceleration Section */
.acceleration-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.acceleration-card {
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}
.acceleration-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 55px rgba(0,0,0,0.08);
}
.acceleration-thumb {
  width: 100%;
  height: 130px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  margin-bottom: 12px;
}
.acceleration-card-title {
  font-family: 'Satoshi', sans-serif;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
  color: var(--text-main);
}

/* Product Detail Mega - Light */
.detail-mega {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  background: transparent;
}

.detail-left {
  background: rgba(248, 250, 252, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px;
  position: relative;
  border-right: 1px solid var(--glass-border);
}

.detail-right {
  padding: 150px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-img {
  max-width: 80%;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.1));
  animation: float 8s ease-in-out infinite;
}

.detail-category {
  font-family: 'Satoshi', sans-serif;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.detail-title {
  font-size: 80px;
  line-height: 1;
  margin-bottom: 40px;
}

.detail-desc {
  font-size: 22px;
  color: var(--text-muted);
  margin-bottom: 50px;
  font-weight: 400;
	font-size: 32px;
    font-weight: 800;
    margin-bottom: 50px;
    line-height: 1.4;

    /* Gradient Text */
    background: linear-gradient(90deg, #000000, #444444, #000000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Highlight Effect */
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);

    /* Spacing */
    letter-spacing: 1px;
    padding: 10px 15px;

    /* Optional background highlight */
    display: inline-block;
    border-left: 5px solid #000;
    padding-left: 15px;
}

.feature-list-mega {
  margin-bottom: 60px;
}
.feature-item-mega {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
}

@media (max-width: 1024px) {
  .header-logo-img { height: 72px; }
  .container { padding: 0 30px; }
  .hero-grid { grid-template-columns: 1fr; }
  .acceleration-grid { grid-template-columns: repeat(3, 1fr); }
  .about-modern { grid-template-columns: 1fr; gap: 50px; }
  .factory-modern { grid-template-columns: 1fr; padding: 30px; }
  .factory-features { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .asym-grid { grid-template-columns: 1fr; }
  .asym-right { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .detail-mega { grid-template-columns: 1fr; }
  .detail-right { padding: 50px 20px; }
  .single-vista_products main { padding-top: 110px; }
  .cursor-dot, .cursor-outline { display: none; }
  * { cursor: auto !important; }
  
  .hide-on-tablet { display: none; }
  
  /* Mobile Nav */
  .mobile-menu-btn { 
    display: flex; 
    align-items: center; 
    justify-content: center;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    padding: 0;
    margin: 0;
  }
  .nav-links {
    display: none; /* hidden by default on mobile, JS will toggle to flex */
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--glass-border);
  }
}

@media (max-width: 768px) {
  .header-logo-img { height: 68px; }
  .container { padding: 0 20px; }
  .hero { padding-top: 100px; min-height: 80vh; }
  .hero-desc { font-size: 18px; margin-bottom: 30px; }
  .hero-actions { gap: 14px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .acceleration-grid { grid-template-columns: repeat(2, 1fr); }
  .acceleration-thumb { height: 110px; }
  .single-vista_products main { padding-top: 100px; }
  .section { padding: 50px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
  .footer-huge { margin-bottom: 40px; }
  .vm-card-modern { flex-direction: column; padding: 30px 20px; gap: 15px; }
  .factory-modern { padding: 20px; margin-top: 50px; }
  .cta-box { padding: 40px 20px; }
  .detail-left { padding: 40px 20px; border-right: none; border-bottom: 1px solid var(--glass-border); }
  .detail-title { font-size: 40px; margin-bottom: 20px; }
  .detail-desc { font-size: 18px; margin-bottom: 30px; }
  .hero-floating-badge { left: 16px; bottom: 16px; padding: 18px; transform: none; }
  .swiper-button-next, .swiper-button-prev { display: none !important; }
  .hero-title-line-chem { padding-right: 0; display: inline-block; }
  .hero-between-icon { display: none; }
  .chem-float-2, .chem-float-3, .chem-float-4 { display: none; }
  .chem-float-1 { opacity: 0.55; }
  .scroll-top-btn { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* Single product page: keep hero image from clashing with fixed header */
.single-vista_products header {
  background: #ffffff;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0,0,0,0.03);
}
.single-vista_products main {
  padding-top: 120px;
}

/* Product slider (Splide) */
#product-splide .splide__slide {
  height: auto;
}
#product-splide .product-card {
  height: 100%;
  padding: 24px;
  border-radius: 20px;
}
#product-splide .product-img-wrapper {
  height: 220px;
  margin-bottom: 18px;
}
#product-splide .product-img {
  max-width: 95%;
}
#product-splide .product-category {
  margin-bottom: 10px;
}
#product-splide .product-title {
  font-size: 22px;
  margin-bottom: 16px;
}
#product-splide .product-card:hover {
  transform: translateY(-6px);
}
#product-splide .splide__arrow {
  background: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: var(--shadow-subtle);
  color: var(--primary);
  transition: var(--transition);
  opacity: 1;
}
#product-splide .splide__arrow:hover {
  transform: scale(1.1);
  background: var(--primary);
  color: #fff;
}
#product-splide .splide__pagination__page {
  width: 10px;
  height: 10px;
  background: var(--text-muted);
  opacity: 0.5;
  transition: var(--transition);
}
#product-splide .splide__pagination__page.is-active {
  background: var(--primary);
  width: 30px;
  border-radius: 5px;
  opacity: 1;
}
.splide__pagination {
  display: none !important;
}
.swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
  background: var(--text-muted) !important;
  opacity: 0.5 !important;
  transition: var(--transition) !important;
}
.swiper-pagination-bullet-active {
  background: var(--primary) !important;
  width: 30px !important;
  border-radius: 5px !important;
  opacity: 1 !important;
}
.swiper-button-next, .swiper-button-prev {
  background: #fff !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  box-shadow: var(--shadow-subtle) !important;
  color: var(--primary) !important;
  transition: var(--transition) !important;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  transform: scale(1.1) !important;
  background: var(--primary) !important;
  color: #fff !important;
}
.swiper-button-next::after, .swiper-button-prev::after {
  font-size: 20px !important;
  font-weight: bold !important;
}

/* Accreditation (logos only) */
.accreditation-header {
  text-align: center;
  margin-bottom: 30px;
}

.accreditation-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px 34px;
}

.accreditation-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-subtle);
}

.accreditation-logo img {
  display: block;
  height: 130px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  opacity: 0.92;
  transition: var(--transition);
}

.accreditation-logo:hover img {
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .accreditation-logo img {
    height: 120px;
    max-width: 150px;
  }
}

