/* ============================================================
   SPARTA LABORATORIES — APEX BIO-SYNTHESIS ULTRA-LUXE DESIGN
   Theme: Obsidian Night (#070a13) / Hyper Cyan (#00f0ff) / Electric Violet (#8b5cf6)
   Performance: 100% Fluid 60fps Native Scrolling
   ============================================================ */

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

:root {
  --bg-dark: #070a13;
  --bg-surface: #0f172a;
  --bg-glass: rgba(15, 23, 42, 0.75);
  --bg-glass-hover: rgba(30, 41, 59, 0.85);

  --cyan-neon: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.25);
  
  --violet-neon: #8b5cf6;
  --violet-glow: rgba(139, 92, 246, 0.25);
  
  --emerald-neon: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.25);
  
  --wa-green: #25d366;
  --wa-green-hover: #1da851;

  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-cyan: rgba(0, 240, 255, 0.3);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-tech: 'Space Grotesk', monospace;

  --shadow-card: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
  --shadow-neon: 0 0 30px rgba(0, 240, 255, 0.15);

  --trans-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(0, 240, 255, 0.1) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  overscroll-behavior-y: auto;
  -webkit-font-smoothing: antialiased;
}

/* Passive Canvas Styling */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none !important;
  touch-action: auto !important;
  z-index: 0;
  opacity: 0.4;
}

/* Glassmorphism Panel Utility */
.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: all var(--trans-normal);
}

.glass-panel:hover {
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.1);
}

/* Text Gradient Helpers */
.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 30%, var(--cyan-neon) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-violet {
  background: linear-gradient(135deg, #ffffff 30%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Core Container Utilities */
.section {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 24px;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.cyber-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 9999px;
  color: var(--cyan-neon);
  font-family: var(--font-tech);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.cyber-badge.emerald {
  background: rgba(16, 185, 129, 0.08);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--emerald-neon);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.cyber-badge.violet {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.25);
  color: var(--violet-neon);
}

.cyber-badge .dot {
  width: 8px;
  height: 8px;
  background-color: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: white;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* --- HEADER / NAVIGATION --- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 10, 19, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: all var(--trans-normal);
}

/* Offsets anchor-link targets so the sticky header never covers the section title */
#about, #facility, #retrosynthesis, #products, #semi-finished, #quality, #contact, #faq {
  scroll-margin-top: 90px;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--cyan-neon), #3b82f6);
  color: #070a13;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: 0 0 25px var(--cyan-glow);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: white;
  letter-spacing: 0.08em;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-subtext {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--cyan-neon);
  letter-spacing: 0.25em;
  margin-top: 3px;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

nav ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: color var(--trans-fast);
  white-space: nowrap;
}

nav ul li a:hover,
nav ul li a.active-nav {
  color: var(--cyan-neon);
}

/* --- EXECUTIVE DROPDOWN NAVIGATION --- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.nav-dropdown-trigger:hover,
.nav-dropdown.active .nav-dropdown-trigger {
  color: white;
  background: rgba(255, 255, 255, 0.06);
}

.nav-dropdown-trigger.active-nav {
  color: var(--cyan-neon);
  background: rgba(0, 240, 255, 0.08);
}

.nav-dropdown-trigger .dropdown-arrow {
  font-size: 0.72rem;
  color: var(--cyan-neon);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-top: 2px solid var(--cyan-neon);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 200;
}

/* Tooltip triangular pointer for dropdown menus */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 28px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--cyan-neon);
  pointer-events: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(6px) scale(1);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.dropdown-item:hover {
  background: rgba(0, 240, 255, 0.08);
  color: white;
}

.dropdown-item .item-icon {
  font-size: 1.1rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-nav-footer {
  display: none;
}

.wa-text-short {
  display: none;
}

.lang-switcher {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  padding: 3px;
  border: 1px solid var(--border-glass);
}

.lang-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.lang-toggle-btn.active {
  background: var(--cyan-neon);
  color: #070a13;
}

/* Button Component System */
.btn-cyber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--trans-fast);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-cyber::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transform: rotate(25deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-cyber:hover::after {
  left: 130%;
}

/* --- SUBTLE HARDWARE-ACCELERATED SCROLL REVEAL & MICRO-ANIMATIONS --- */
.reveal-on-scroll {
  opacity: 1;
  transform: none;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
}

.btn-cyber.primary {
  background: linear-gradient(135deg, var(--cyan-neon), #3b82f6);
  color: #070a13;
  box-shadow: 0 4px 20px var(--cyan-glow);
}

.btn-cyber.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.4);
}

.btn-cyber.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: white;
  border-color: var(--border-glass);
}

.btn-cyber.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.4);
  color: var(--cyan-neon);
}

.btn-cyber.whatsapp {
  background-color: var(--wa-green);
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-cyber.whatsapp:hover {
  background-color: var(--wa-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background-color: white;
}

/* --- HERO SECTION --- */
.hero-section {
  position: relative;
  padding: 100px 24px 120px 24px;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border-glass);
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
}

.stat-val.green { color: var(--emerald-neon); }
.stat-val.cyan { color: var(--cyan-neon); }
.stat-val.violet { color: var(--violet-neon); }

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

/* Hero Right: Interactive Console Card */
.bio-console-card {
  padding: 32px;
  border-top: 1px solid rgba(0, 240, 255, 0.3);
  overflow: hidden;
}

.hero-facility-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
  border: 1px solid var(--border-glass);
  filter: brightness(0.9) contrast(1.1);
}

.console-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 24px;
}

.console-title {
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.05em;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.spec-item-line {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--font-tech);
  font-size: 0.82rem;
}

.spec-item-line.info { color: var(--cyan-neon); }
.spec-item-line.success { color: var(--emerald-neon); }

/* --- LIVE HPLC CHROMATOGRAM & COA SALES PUSH ENGINE --- */
.hplc-batch-selector-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.hplc-batch-pill {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.hplc-batch-pill:hover,
.hplc-batch-pill.active {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--cyan-neon);
  color: white;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

.hplc-coa-push-banner {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(57, 255, 20, 0.08);
  border: 1px dashed rgba(57, 255, 20, 0.35);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- AI RETROSYNTHESIS & CUSTOM SYNTHESIS MODULE --- */
@keyframes aiGlowPulse {
  0%, 100% {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
  }
  50% {
    border-color: rgba(0, 240, 255, 0.6);
    box-shadow: 0 0 45px rgba(0, 240, 255, 0.35);
  }
}

.ai-retrosynthesis-card {
  padding: 44px;
  background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.2), rgba(7, 10, 19, 0.97));
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-top: 2px solid rgba(0, 240, 255, 0.6);
  border-radius: 20px;
  margin-top: 40px;
  box-shadow: 0 10px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(139, 92, 246, 0.15);
}

.ai-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.ai-pillar-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  padding: 24px;
  border-radius: 14px;
  transition: all var(--trans-normal);
}

.ai-pillar-box:hover {
  border-color: var(--cyan-neon);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.2);
}

.ai-pillar-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.ai-pillar-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.ai-pillar-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.retrosynthesis-banner {
  background: rgba(0, 240, 255, 0.05);
  border: 1px dashed rgba(0, 240, 255, 0.35);
  border-radius: 12px;
  padding: 16px 20px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- SEMI-FINISHED BULK OILS & ROI PROFIT ENGINE --- */
@keyframes roiPulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(57, 255, 20, 0.25);
    border-color: rgba(57, 255, 20, 0.4);
  }
  50% {
    box-shadow: 0 0 22px rgba(57, 255, 20, 0.55);
    border-color: rgba(57, 255, 20, 0.8);
  }
}

.roi-summary-panel {
  background: radial-gradient(circle at top left, rgba(57, 255, 20, 0.1), rgba(7, 10, 19, 0.95));
  border: 1px solid rgba(57, 255, 20, 0.3);
  border-radius: 16px;
  padding: 20px 24px;
  margin-top: 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

.roi-stat-chip {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-glass);
  padding: 8px 14px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.roi-stat-chip .val {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--emerald-neon);
}

.roi-stat-chip .label {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.bulk-oils-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 24px;
  width: 100%;
}

.bulk-oil-card {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-top: 2px solid var(--emerald-neon);
  border-radius: 16px;
  padding: 26px;
  transition: all var(--trans-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.bulk-oil-card:hover {
  transform: translateY(-4px);
  border-color: var(--emerald-neon);
  box-shadow: 0 16px 35px rgba(57, 255, 20, 0.25);
}

.bulk-oil-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}

.bulk-oil-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: white;
}

.bulk-oil-conc-tag {
  background: rgba(0, 240, 255, 0.12);
  color: var(--cyan-neon);
  border: 1px solid rgba(0, 240, 255, 0.35);
  font-family: var(--font-tech);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.bulk-spec-table {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bulk-spec-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.bulk-spec-line .label {
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bulk-spec-line .val {
  color: white;
  font-weight: 700;
}

.bulk-spec-line .val.profit {
  color: var(--emerald-neon);
  font-size: 1.05rem;
  font-weight: 800;
}

.bulk-oil-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: white;
  line-height: 1.35;
}

.bulk-oil-conc {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--cyan-neon);
  font-weight: 700;
  background: rgba(0, 240, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.roi-badge {
  background: rgba(57, 255, 20, 0.12);
  color: var(--emerald-neon);
  border: 1px solid rgba(57, 255, 20, 0.4);
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.15);
  margin-bottom: 14px;
}

.bulk-oil-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}

.bulk-oil-spec-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.bulk-oil-spec-row .lbl { color: var(--text-muted); }
.bulk-oil-spec-row .val { color: white; font-weight: 600; }
.bulk-oil-spec-row .val.profit { color: var(--emerald-neon); font-weight: 800; }

@media (max-width: 1100px) {
  .bulk-oils-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .bulk-oils-grid { grid-template-columns: 1fr; }
}

@media (max-width: 992px) {
  .ai-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .ai-pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FACILITY & LABORATORY SHOWCASE GALLERY --- */
.facility-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 280px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-top: 1px solid rgba(0, 240, 255, 0.3);
  box-shadow: var(--shadow-card);
  transition: all var(--trans-normal);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.85) contrast(1.1);
}

.gallery-card:hover img {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.15);
}

.gallery-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(7, 10, 19, 0.95) 0%, rgba(7, 10, 19, 0.4) 70%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gallery-card-tag {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  color: var(--cyan-neon);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.gallery-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: white;
}

@media (max-width: 992px) {
  .facility-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .facility-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* --- CATALOG SECTION --- */
.catalog-controls {
  padding: 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid rgba(0, 240, 255, 0.3);
}

.search-wrapper {
  position: relative;
  width: 100%;
}

.search-wrapper input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  background: rgba(7, 10, 19, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: white;
  transition: all var(--trans-fast);
}

.search-wrapper input:focus {
  outline: none;
  border-color: var(--cyan-neon);
  box-shadow: 0 0 25px var(--cyan-glow);
}

.search-wrapper .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.filter-pills-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.filter-pill:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border-color: rgba(0, 240, 255, 0.3);
}

.filter-pill.active {
  background: var(--cyan-neon);
  color: #070a13;
  border-color: var(--cyan-neon);
  font-weight: 700;
  box-shadow: 0 0 15px var(--cyan-glow);
}

/* Category Collapsible Accordion Container */
#products-grid-container {
  width: 100%;
}

.catalog-accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.category-block {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border-left: 4px solid var(--cyan-neon);
  transition: all var(--trans-normal);
}

.category-accordion-header {
  width: 100%;
  padding: 22px 28px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--border-glass);
  border-top: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all var(--trans-normal);
}

.category-block.active .category-accordion-header {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  background: rgba(15, 23, 42, 0.98);
  border-color: rgba(0, 240, 255, 0.4);
}

.category-accordion-header:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: var(--cyan-neon);
}

.category-title-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.category-title-top {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.category-title-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.01em;
}

.category-subtitle-preview {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.category-item-count {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--cyan-neon);
  padding: 4px 12px;
  border-radius: 9999px;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  font-weight: 700;
}

.category-action-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--cyan-neon);
  padding: 8px 16px;
  border-radius: 9999px;
  font-family: var(--font-tech);
  font-size: 0.82rem;
  font-weight: 700;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.category-block.active .category-action-pill {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.4);
  color: var(--emerald-neon);
}

.category-accordion-content {
  display: none;
  width: 100%;
  padding: 24px;
  background: rgba(7, 10, 19, 0.7);
  border: 1px solid var(--border-glass);
  border-top: none;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.category-block.active .category-accordion-content {
  display: block;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  width: 100%;
}

.compound-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.85);
}

.compound-header {
  margin-bottom: 16px;
}

.compound-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.cas-badge {
  display: inline-block;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--cyan-neon);
  padding: 4px 12px;
  border-radius: 6px;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.compound-specs-list {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-glass);
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.compound-spec-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.compound-spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label-text {
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-tech);
}

.spec-val-text {
  font-size: 0.88rem;
  color: white;
  font-weight: 600;
  word-break: break-word;
}

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

/* Volume Option Selector Buttons */
.vol-options-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.vol-opt-btn {
  flex: 1;
  min-width: 70px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.vol-opt-btn:hover {
  background: rgba(0, 240, 255, 0.1);
  color: white;
  border-color: rgba(0, 240, 255, 0.3);
}

.vol-opt-btn.active {
  background: rgba(0, 240, 255, 0.2);
  color: var(--cyan-neon);
  border-color: var(--cyan-neon);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.compound-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.compound-spec-row span { color: var(--text-muted); }
.compound-spec-row strong { color: white; }
.compound-spec-row strong.green { color: var(--emerald-neon); font-weight: 700; }

.compound-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.compound-card-actions .btn-cyber {
  padding: 10px 14px;
  font-size: 0.82rem;
}

/* --- SEMI-FINISHED BANNER --- */
.semi-banner {
  margin-top: 60px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(16, 185, 129, 0.08));
  border: 1px solid var(--border-glass);
  border-top: 2px solid var(--emerald-neon);
  border-radius: 20px;
  width: 100%;
}

.semi-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.semi-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 24px;
}

.semi-table-preview {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 20px;
}

.semi-table-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.88rem;
}

.semi-table-row:last-child { border-bottom: none; }
.semi-table-row span.name { color: white; font-weight: 600; }
.semi-table-row span.moq { color: var(--cyan-neon); font-family: var(--font-tech); }

/* --- QUALITY QA & HPLC --- */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 50px;
}

.quality-card {
  padding: 28px 20px;
  text-align: center;
}

.quality-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--cyan-neon);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px auto;
  box-shadow: 0 0 20px var(--cyan-glow);
}

.quality-card h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

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

.hplc-card {
  padding: 32px;
  border-top: 1px solid rgba(0, 240, 255, 0.3);
}

.hplc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.hplc-card-title {
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
}

.hplc-canvas-wrapper {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  height: 180px;
  width: 100%;
}

.hplc-canvas-wrapper canvas {
  width: 100%;
  height: 100%;
}

.hplc-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-family: var(--font-tech);
}

/* --- CONTACT & INQUIRY FORM --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

.inquiry-card {
  padding: 36px;
  border-top: 1px solid rgba(139, 92, 246, 0.3);
}

.inquiry-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 24px;
}

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

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(7, 10, 19, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: white;
  transition: all var(--trans-fast);
}

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

.channels-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.channel-card {
  padding: 24px;
}

.channel-card.whatsapp {
  border-color: rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.05);
}

.channel-card h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}

.channel-card p {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cyan-neon);
  margin-bottom: 12px;
}

/* --- FAQ ACCORDION --- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  padding: 0 24px 20px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer { display: block; }

/* --- FOOTER --- */
footer {
  background-color: #04060c;
  color: white;
  padding: 70px 24px 30px 24px;
  border-top: 1px solid var(--border-glass);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 16px;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--trans-fast);
}

.footer-col ul li a:hover { color: var(--cyan-neon); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* --- MODAL DIALOG --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 10, 19, 0.88);
  backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: all var(--trans-normal);
}

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

.modal-card {
  max-width: 720px;
  width: 100%;
  padding: 32px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  border-top: 1px solid rgba(0, 240, 255, 0.4);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
}

/* --- MULTI-TAB TECHNICAL SPECIFICATION MODAL --- */
.modal-nav-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 20px;
  overflow-x: auto;
}

.modal-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 10px 16px;
  font-family: var(--font-tech);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all var(--trans-fast);
  white-space: nowrap;
}

.modal-tab-btn:hover {
  color: white;
}

.modal-tab-btn.active {
  color: var(--cyan-neon);
  border-bottom-color: var(--cyan-neon);
}

.modal-tab-pane {
  display: none;
}

.modal-tab-pane.active {
  display: block;
}

.chem-info-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 0.85rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  overflow: hidden;
}

.chem-info-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chem-info-table tr:last-child td {
  border-bottom: none;
}

.chem-info-table td.label {
  color: var(--text-muted);
  width: 35%;
  font-family: var(--font-tech);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.chem-info-table td.value {
  color: white;
  font-weight: 600;
  word-break: break-word;
}

.chem-info-table td.value.green {
  color: var(--emerald-neon);
}

/* --- CHEMICAL CALCULATOR MODULE --- */
.chem-calc-card {
  padding: 32px;
  margin-top: 50px;
  border-top: 1px solid rgba(139, 92, 246, 0.4);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 20px;
  margin-top: 20px;
}

.calc-result-box {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

/* ============================================================
   COMPLETE ULTRA-LUXE MOBILE RESPONSIVE OVERHAUL
   ============================================================ */

@media (max-width: 992px) {
  .hero-container,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .ai-pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .facility-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Enforce no horizontal body overflow */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
  }

  #about, #facility, #retrosynthesis, #products, #semi-finished, #quality, #contact, #faq {
    scroll-margin-top: 64px;
  }

  .section {
    padding: 50px 16px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .section-desc {
    font-size: 0.92rem;
  }

  /* --- HEADER & NAVIGATION --- */
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 10, 19, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .nav-container {
    padding: 10px 12px;
    gap: 6px;
  }

  .logo {
    gap: 8px;
    flex-shrink: 0;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    border-radius: 8px;
  }

  .logo-text {
    font-size: 1rem;
  }

  .logo-subtext {
    font-size: 0.5rem;
    letter-spacing: 0.15em;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
  }

  .lang-switcher {
    padding: 2px;
    border-radius: 6px;
  }

  .lang-toggle-btn {
    padding: 4px 7px;
    font-size: 0.72rem;
    border-radius: 5px;
  }

  .wa-text-full {
    display: none !important;
  }

  .wa-text-short {
    display: inline !important;
  }

  .btn-cyber.whatsapp {
    padding: 6px 10px;
    font-size: 0.75rem;
    border-radius: 8px;
    white-space: nowrap;
    gap: 4px;
    line-height: 1;
    box-shadow: 0 2px 12px rgba(37, 211, 102, 0.25);
  }

  /* Animated Mobile Hamburger Button */
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 9px;
    cursor: pointer;
    padding: 0;
    gap: 4px;
    transition: all var(--trans-fast);
    flex-shrink: 0;
  }

  .mobile-toggle:hover,
  .mobile-toggle.active {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--cyan-neon);
    box-shadow: 0 0 12px var(--cyan-glow);
  }

  .mobile-toggle span {
    width: 18px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Executive Mobile Nav Drawer */
  nav {
    position: fixed;
    top: 54px;
    left: 0;
    right: 0;
    width: 100vw;
    height: calc(100vh - 54px);
    background: rgba(7, 10, 19, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    padding: 20px 16px 30px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translate3d(0, -10px, 0);
    will-change: transform, opacity;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease;
    z-index: 999;
  }

  nav.active {
    opacity: 1;
    visibility: visible;
    transform: translate3d(0, 0, 0);
    display: flex;
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
  }

  .nav-dropdown-menu {
    position: static;
    min-width: 100%;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 8px;
    border-radius: 10px;
    padding: 6px;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown.active .nav-dropdown-menu {
    display: flex;
  }

  .dropdown-item {
    padding: 12px 14px;
    font-size: 0.9rem;
  }

  .mobile-nav-footer {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-glass);
  }

  .mobile-drawer-btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
    font-size: 0.95rem;
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.4);
  }

  /* --- HERO SECTION MOBILE --- */
  .hero-section {
    padding: 36px 16px 50px 16px;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.22;
    margin-bottom: 16px;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 32px;
  }

  .hero-cta-group .btn-cyber {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 20px;
  }

  .stat-val {
    font-size: 1.25rem;
  }

  .stat-label {
    font-size: 0.68rem;
  }

  .bio-console-card {
    padding: 20px 16px;
  }

  /* --- CATALOG SEARCH & CATEGORIES MOBILE --- */
  .catalog-controls {
    padding: 16px;
    margin-bottom: 24px;
    gap: 14px;
  }

  .search-wrapper input {
    padding: 12px 16px 12px 42px;
    font-size: 0.88rem;
  }

  .filter-pills-row {
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  .filter-pill {
    padding: 6px 14px;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* --- CATEGORY ACCORDION MOBILE (FIX OVERFLOW & CLIPPING) --- */
  .category-accordion-header {
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .category-title-top {
    justify-content: space-between;
    width: 100%;
    gap: 8px;
  }

  .category-title-text {
    font-size: 1.05rem;
    line-height: 1.3;
    word-break: break-word;
  }

  .category-subtitle-preview {
    font-size: 0.78rem;
  }

  .category-action-pill {
    width: 100%;
    justify-content: center;
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  .category-accordion-content {
    padding: 14px;
  }

  /* --- PRODUCTS GRID & CARDS MOBILE --- */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .compound-card {
    padding: 18px;
  }

  .compound-name {
    font-size: 1.15rem;
  }

  .compound-card-actions {
    flex-direction: column;
    gap: 10px;
  }

  .compound-card-actions .btn-cyber {
    width: 100%;
    justify-content: center;
  }

  /* --- BANNERS & CALLOUTS MOBILE --- */
  .retrosynthesis-banner,
  .hplc-coa-push-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 16px;
    gap: 14px;
  }

  .retrosynthesis-banner .btn-cyber,
  .hplc-coa-push-banner .btn-cyber {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  /* --- SEMI-FINISHED & BULK OILS MOBILE --- */
  .semi-banner {
    padding: 20px 16px !important;
  }

  .semi-title {
    font-size: 1.35rem !important;
    line-height: 1.25;
  }

  .semi-desc {
    font-size: 0.85rem !important;
  }

  .roi-summary-panel {
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .roi-stat-chip {
    width: 100%;
    justify-content: space-between;
  }

  .bulk-oils-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bulk-oil-card {
    padding: 18px;
  }

  .bulk-oil-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .bulk-oil-title {
    font-size: 1.05rem;
  }

  .bulk-spec-line {
    font-size: 0.82rem;
  }

  /* --- OTHER SECTIONS MOBILE --- */
  .quality-grid,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ai-pillars-grid,
  .facility-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .ai-retrosynthesis-card {
    padding: 20px 16px;
  }

  .modal-card {
    padding: 20px 16px;
    max-height: 88vh;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .chem-info-table td {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 400px) {
  .logo-text {
    font-size: 0.92rem;
  }

  .logo-subtext {
    display: none;
  }

  .btn-cyber.whatsapp {
    font-size: 0.7rem;
    padding: 5px 8px;
  }

  .lang-toggle-btn {
    padding: 3px 5px;
    font-size: 0.68rem;
  }
}

/* ============================================================
   AI SALES BOT WIDGET (DR. ETHAN — SPARTA SALES ADVISOR)
   ============================================================ */
@keyframes botPulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), 0 0 35px rgba(139, 92, 246, 0.2);
  }
  50% {
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.7), 0 0 50px rgba(139, 92, 246, 0.4);
  }
}

@keyframes botHighlightSection {
  0%, 100% {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: none;
  }
  50% {
    border-color: var(--cyan-neon);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
  }
}

.bot-section-highlight {
  animation: botHighlightSection 2.5s ease-in-out;
}

#ai-sales-bot-root {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--font-body);
}

/* Floating Teaser Badge */
#bot-teaser-badge {
  position: absolute;
  bottom: 68px;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-cyan);
  border-radius: 20px;
  padding: 8px 16px;
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.dot-online {
  width: 8px;
  height: 8px;
  background-color: #39ff14;
  border-radius: 50%;
  box-shadow: 0 0 8px #39ff14;
}

/* Floating Toggle Button */
#bot-toggle-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-neon), var(--violet-neon));
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
  transition: transform 0.3s ease;
  position: relative;
}

#bot-toggle-btn:hover {
  transform: scale(1.08);
}

.bot-avatar-icon {
  font-size: 1.7rem;
}

#bot-unread-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ff0055;
  color: white;
  font-size: 0.72rem;
  font-weight: 900;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px #ff0055;
}

/* Main Chat Modal Container */
#bot-chat-window {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 380px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 100px);
  background: rgba(7, 10, 19, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  border-top: 2px solid var(--cyan-neon);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#bot-chat-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

/* Chat Header */
.bot-chat-header {
  padding: 16px;
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bot-agent-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bot-avatar-sm {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--cyan-neon), #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.bot-agent-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: white;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bot-badge-tag {
  font-family: var(--font-tech);
  font-size: 0.65rem;
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan-neon);
  padding: 2px 6px;
  border-radius: 4px;
}

.bot-agent-status {
  font-size: 0.72rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}

#bot-close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  transition: color 0.2s;
}

#bot-close-btn:hover {
  color: white;
}

/* Messages History Scroll Area */
#bot-messages-list {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bot-msg {
  max-width: 86%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  word-break: break-word;
}

.bot-msg.agent {
  align-self: flex-start;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  border-top-left-radius: 4px;
}

.bot-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--cyan-neon), #3b82f6);
  color: #070a13;
  font-weight: 600;
  border-top-right-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
}

/* Typing Animation Indicator */
#bot-typing-indicator {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--cyan-neon);
}

.typing-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan-neon);
  border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
}

/* Quick Action Chips */
#bot-chips-row {
  padding: 8px 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bot-chip-btn {
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  color: var(--cyan-neon);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--trans-fast);
  flex-shrink: 0;
}

.bot-chip-btn:hover {
  background: rgba(0, 240, 255, 0.2);
  color: white;
  border-color: var(--cyan-neon);
}

/* Input Footer */
.bot-chat-footer {
  padding: 12px 16px;
  background: rgba(15, 23, 42, 0.9);
  border-top: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 10px;
}

#bot-user-input {
  flex: 1;
  background: rgba(7, 10, 19, 0.9);
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 10px 14px;
  color: white;
  font-family: var(--font-body);
  font-size: 0.88rem;
}

#bot-user-input:focus {
  outline: none;
  border-color: var(--cyan-neon);
}

#bot-send-btn {
  width: 38px;
  height: 38px;
  background: var(--cyan-neon);
  color: #070a13;
  border: none;
  border-radius: 10px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
}

#bot-send-btn:hover {
  background: white;
  transform: scale(1.05);
}

/* Sales Bot Mobile Responsiveness */
@media (max-width: 480px) {
  #ai-sales-bot-root {
    bottom: 16px;
    right: 16px;
  }

  #bot-chat-window {
    bottom: 70px;
    right: 0;
    width: calc(100vw - 32px);
    height: 480px;
  }
}
