@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Colors */
  --bg-deep: #000000;
  --bg-surface: #05070a;
  --bg-card: rgba(10, 15, 30, 0.7);
  --bg-card-hover: rgba(20, 30, 50, 0.85);
  
  --accent-cyan: #1e90ff;
  --accent-cyan-glow: rgba(30, 144, 255, 0.3);
  --accent-blue: #1e90ff;
  --accent-blue-glow: rgba(30, 144, 255, 0.35);
  --accent-purple: #ffffff;
  --accent-purple-glow: rgba(255, 255, 255, 0.3);
  
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --border-glow: rgba(30, 144, 255, 0.18);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  
  /* Layout */
  --header-height: 80px;
  --max-width: 1440px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* Base styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-blue) var(--bg-deep);
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-blue);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}

body {
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(30, 144, 255, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(30, 144, 255, 0.03) 0%, transparent 50%);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Particle Canvas Container */
#canvas-container {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

#matrix-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Custom Interactive Cursor - Disabled for modern clean look */
.custom-cursor, .custom-cursor-ring {
  display: none !important;
}

/* Typography & Accents */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
}

.glow-text {
  /* text-shadow disabled for clean look */
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #fff 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Utility Layouts */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

section {
  padding: 8rem 0;
  position: relative;
  z-index: 1;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background-color: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-cyan);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 4rem;
}

/* Glassmorphism Cards */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.glass-panel:hover {
  border-color: rgba(30, 144, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Mouse spotlight glow logic */
.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 180px at var(--mouse-x, 0) var(--mouse-y, 0), rgba(30, 144, 255, 0.08), transparent 80%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}

.spotlight-card:hover::before {
  opacity: 1;
}

/* Ambient glow bubbles */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent-cyan);
  color: #ffffff;
  border: 1px solid var(--accent-cyan);
  box-shadow: none;
}
.btn-primary:hover {
  background: transparent;
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(30, 144, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-accent {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
}

.btn-accent:hover {
  background: rgba(30, 144, 255, 0.06);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
  transform: translateY(-2px);
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: all 0.4s ease;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  background: rgba(5, 7, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  height: 70px;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.logo-text span {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  color: var(--text-primary);
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── HERO SECTION ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.hero-stats-row {
  display: flex;
  gap: 3.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

.hero-stat-box .number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.hero-stat-box .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Animated 3D Blueprint Battery SVG */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.blueprint-battery {
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 0 25px rgba(30, 144, 255, 0.15));
}

.blueprint-grid-lines {
  stroke: rgba(255, 255, 255, 0.05);
  stroke-width: 1;
}

.battery-cell-glowing {
  transition: opacity 0.5s;
  animation: cellGlow 3s ease-in-out infinite alternate;
}

@keyframes cellGlow {
  0% { fill: rgba(30, 144, 255, 0.03); stroke: rgba(30, 144, 255, 0.2); }
  50% { fill: rgba(30, 144, 255, 0.15); stroke: rgba(30, 144, 255, 0.5); filter: drop-shadow(0 0 4px rgba(30, 144, 255, 0.4)); }
  100% { fill: rgba(30, 144, 255, 0.03); stroke: rgba(30, 144, 255, 0.2); }
}

.energy-pulse-line {
  stroke-dasharray: 12;
  animation: energyFlow 5s linear infinite;
}

@keyframes energyFlow {
  to { stroke-dashoffset: -120; }
}

/* ── TICKER ── */
.ticker-band {
  background: linear-gradient(90deg, rgba(30, 144, 255, 0.8) 0%, rgba(30, 144, 255, 0.8) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--bg-deep);
  padding: 0.8rem 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.ticker-wrap {
  display: flex;
  width: max-content;
  gap: 4rem;
  animation: tickerLoop 30s linear infinite;
}

.ticker-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.ticker-item::before {
  content: '⚡';
  font-size: 1.25rem;
}

@keyframes tickerLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.service-card .num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(30, 144, 255, 0.07);
  line-height: 1;
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  transition: color 0.3s;
}

.service-card:hover .num {
  color: rgba(30, 144, 255, 0.16);
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.3s;
}

.service-card:hover .service-icon-wrap {
  background: rgba(30, 144, 255, 0.1);
  border-color: var(--accent-cyan);
  transform: translateY(-1px);
}

.service-icon-wrap svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-primary);
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.3s;
}

.service-card:hover .service-icon-wrap svg {
  stroke: var(--bg-deep);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.service-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.01);
  transition: all 0.3s;
}

.service-card:hover .service-tag {
  color: var(--accent-cyan);
  border-color: rgba(30, 144, 255, 0.3);
  background: rgba(30, 144, 255, 0.02);
}

.service-learn-more {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-cyan);
  letter-spacing: 0.05em;
}

.service-learn-more svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent-cyan);
  stroke-width: 2;
  transition: transform 0.3s;
}

.service-card:hover .service-learn-more svg {
  transform: translateX(4px);
}

/* ── PROCESS TIMELINE ── */
#process {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.process-layout {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-line {
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--border-light) 0%, rgba(30, 144, 255, 0.2) 50%, var(--border-light) 100%);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-node {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-deep);
  border: 2px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-secondary);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 0 rgba(30, 144, 255, 0);
}

.process-step:hover .step-node {
  border-color: var(--accent-cyan);
  color: var(--bg-deep);
  background: var(--accent-cyan);
  box-shadow: 0 0 25px var(--accent-cyan-glow);
  transform: scale(1.1);
}

.step-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  transition: color 0.3s;
}

.process-step:hover .step-title {
  color: var(--accent-cyan);
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0 0.5rem;
}

/* ── CONFIGURATOR ── */
.configurator-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.configurator-controls {
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 2rem;
}

.form-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.form-label span.value-bubble {
  color: var(--accent-cyan);
  font-size: 1.1rem;
  font-weight: 700;
}

.chemistry-selectors {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.chem-select-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.chem-select-btn.active {
  border-color: var(--accent-cyan);
  background: rgba(30, 144, 255, 0.05);
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.1);
}

.chem-select-btn h4 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.chem-select-btn span {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chem-select-btn.active h4 {
  color: var(--accent-cyan);
}

/* Custom Range Input */
.range-container {
  position: relative;
  margin-top: 0.5rem;
}

.range-input {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: var(--border-medium);
  border-radius: 2px;
  outline: none;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan-glow);
  cursor: pointer;
  transition: transform 0.1s;
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.preset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.preset-pill {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.preset-pill:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Configurator Results */
.configurator-results {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border-left: 2px solid var(--accent-blue-glow);
}

.pack-visual-container {
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.visual-cell-grid {
  display: grid;
  gap: 5px;
  max-height: 200px;
  overflow-y: auto;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
}

.visual-cell {
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(180deg, #182232 0%, #0c1420 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.visual-cell.active-glow {
  background: linear-gradient(180deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 5px rgba(30, 144, 255, 0.4);
}

.visual-cell.active-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30%;
  background: rgba(255, 255, 255, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.config-stat-card {
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
}

.config-stat-card .val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  display: block;
}

.config-stat-card .lbl {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* ── BEFORE / AFTER SLIDER ── */
.slider-section-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.comparison-slider-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-medium);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.slider-before {
  /* Dynamic width set by JS */
  width: 50%;
  z-index: 2;
  border-right: 2px solid var(--accent-cyan);
}

.slider-after {
  width: 100%;
  z-index: 1;
}

.slider-label {
  position: absolute;
  top: 1.5rem;
  padding: 0.4rem 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3;
}

.slider-before .slider-label {
  left: 1.5rem;
  background: rgba(244, 63, 94, 0.2);
  border: 1px solid rgba(244, 63, 94, 0.4);
  color: #fda4af;
}

.slider-after .slider-label {
  right: 1.5rem;
  background: rgba(30, 144, 255, 0.15);
  border: 1px solid rgba(30, 144, 255, 0.3);
  color: var(--accent-cyan);
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%; /* Set by JS */
  width: 4px;
  background: var(--accent-cyan);
  z-index: 4;
  cursor: ew-resize;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-handle-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-cyan);
  border: 4px solid var(--bg-deep);
  box-shadow: 0 0 15px var(--accent-cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-deep);
  font-weight: bold;
}

/* Synthesizing the before/after visuals procedurally since we don't have images loaded */
.comparison-fallback-before {
  background: linear-gradient(135deg, #111 0%, #222 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
}

.comparison-fallback-after {
  background: linear-gradient(135deg, #09121f 0%, #03060c 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem;
}

/* ── DIAGNOSTIC WIZARD ── */
#diagnostics {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.wizard-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem;
  position: relative;
  overflow: hidden;
}

.wizard-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%; /* Set by JS */
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  box-shadow: 0 0 8px var(--accent-cyan-glow);
  transition: width 0.4s ease;
}

.wizard-step {
  display: none;
}

.wizard-step.active {
  display: block;
  animation: stepFade 0.4s ease forwards;
}

@keyframes stepFade {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-question {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.wizard-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.wizard-option {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.wizard-option:hover {
  border-color: var(--accent-cyan);
  background: rgba(30, 144, 255, 0.02);
}

.wizard-option.selected {
  border-color: var(--accent-cyan);
  background: rgba(30, 144, 255, 0.05);
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.1);
}

.option-bullet {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border-medium);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.wizard-option.selected .option-bullet {
  border-color: var(--accent-cyan);
  background: var(--accent-cyan);
}

.wizard-option.selected .option-bullet::after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--bg-deep);
  border-radius: 50%;
}

.option-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.option-text p {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.wizard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

.wizard-step-info {
  font-size: 0.825rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wizard-actions {
  display: flex;
  gap: 1rem;
}

.wizard-result-box {
  background: rgba(30, 144, 255, 0.03);
  border: 1px solid rgba(30, 144, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 2.25rem;
  margin-bottom: 2.5rem;
}

.wizard-result-box h4 {
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.wizard-result-box p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── BATTERY CHEMISTRY GUIDE ── */
.chemistry-section-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.chemistry-guide-card {
  padding: 2rem;
}

.chemistry-guide-card h3 {
  font-size: 2rem;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.chemistry-guide-card .subtitle {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 2rem;
  display: block;
}

.chem-stat-row {
  margin-bottom: 1.25rem;
}

.chem-stat-row .lbl-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.chem-stat-bar-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 2px;
  overflow: hidden;
}

.chem-stat-bar-fill {
  height: 100%;
  background: var(--accent-blue);
  border-radius: 2px;
}

.chemistry-guide-card:hover .chem-stat-bar-fill {
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan-glow);
}

.chem-info-tag {
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── TOOLS GRID ── */
.tools-grid-layout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tool-interactive-card {
  padding: 2.25rem;
  text-align: center;
}

.tool-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s;
}

.tool-icon-circle svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-cyan);
  stroke-width: 1.5;
  fill: none;
}

.tool-interactive-card:hover .tool-icon-circle {
  background: var(--accent-cyan);
  transform: translateY(-4px);
  box-shadow: 0 5px 20px var(--accent-cyan-glow);
}

.tool-interactive-card:hover .tool-icon-circle svg {
  stroke: var(--bg-deep);
}

.tool-interactive-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.tool-interactive-card p {
  font-size: 0.825rem;
  color: var(--text-secondary);
}

/* ── CTA / CONTACT BAND ── */
.cta-band {
  background: linear-gradient(135deg, #090e16 0%, #030508 100%);
  border-top: 1px solid var(--border-medium);
  border-bottom: 1px solid var(--border-medium);
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: 'VOLTLAB';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15vw;
  font-weight: 800;
  color: rgba(30, 144, 255, 0.02);
  pointer-events: none;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.cta-band h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.cta-band p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 500px;
  margin: 0 auto 3rem;
}

/* ── DETAILED SERVICE MODALS ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-wrapper {
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: var(--radius-md);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 3.5rem;
  position: relative;
}

.modal-overlay.active .modal-wrapper {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-medium);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.3s;
}

.modal-close-btn:hover {
  background: var(--accent-cyan);
  color: var(--bg-deep);
  border-color: var(--accent-cyan);
}

.modal-icon-header {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: var(--accent-cyan-glow);
  border: 1px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.modal-icon-header svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent-cyan);
  fill: none;
}

.modal-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modal-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.modal-section {
  margin-bottom: 2.5rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
}

.modal-section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.modal-list {
  list-style: none;
}

.modal-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.modal-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: bold;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  margin-top: 2rem;
}

.modal-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.modal-meta span {
  color: var(--accent-cyan);
  font-weight: 600;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border-light);
  padding: 4rem 0;
  background-color: var(--bg-deep);
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-nav a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: var(--accent-cyan);
}

.footer-copy {
  font-size: 0.825rem;
  color: var(--text-muted);
}

/* Scroll reveal trigger helper classes */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE DESIGN ── */
@media (max-width: 1024px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-description {
    margin-inline: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-stats-row {
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .configurator-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .configurator-results {
    border-left: none;
    border-top: 2px solid var(--accent-blue-glow);
    padding-top: 3rem;
  }
  
  .slider-section-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .chemistry-section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tools-grid-layout {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .process-line {
    top: 0;
    bottom: 0;
    left: 30px;
    width: 2px;
    height: auto;
  }
  
  .process-step {
    text-align: left;
    display: flex;
    gap: 2rem;
    align-items: center;
  }
  
  .step-node {
    margin: 0;
  }
  
  .step-desc {
    padding: 0;
  }
}

@media (max-width: 768px) {
  nav .nav-links {
    display: none; /* Can build a simplified responsive menu later if needed */
  }
  
  .menu-toggle {
    display: block;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .wizard-options-grid {
    grid-template-columns: 1fr;
  }
  
  .wizard-card {
    padding: 2rem;
  }
  
  .wizard-question {
    font-size: 1.4rem;
  }
  
  .chemistry-section-grid {
    grid-template-columns: 1fr;
  }
  
  .tools-grid-layout {
    grid-template-columns: 1fr;
  }
  
  footer .container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Disable custom cursor on touch devices */
  .custom-cursor, .custom-cursor-ring {
    display: none !important;
  }
  
  body {
    cursor: auto !important;
  }
}

/* ── FAQ ACCORDION Styles ── */
#faq {
  border-top: 1px solid var(--border-light);
}

.faq-accordion-wrap {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-trigger {
  padding: 1.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-trigger h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  padding-right: 2rem;
  line-height: 1.4;
  transition: color 0.3s;
}

.faq-item:hover .faq-trigger h3 {
  color: var(--accent-cyan);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-chevron::before,
.faq-chevron::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 10px;
  height: 2px;
  background-color: var(--text-secondary);
  transition: background-color 0.3s;
}

.faq-chevron::before {
  left: 0;
  transform: rotate(45deg);
}

.faq-chevron::after {
  right: 0;
  transform: rotate(-45deg);
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-item.active .faq-chevron::before,
.faq-item.active .faq-chevron::after {
  background-color: var(--accent-cyan);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 2rem;
}

.faq-item.active .faq-content {
  padding-bottom: 2rem;
}

.faq-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Holographic 3D Globe Styles ── */
.hologram-container {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Clean up moderate HUD rings, grids and orbits */
.hologram-hud-grid,
.hologram-hud-ring,
.hologram-atmosphere,
.hologram-orbit-wrap,
.orbit-electron {
  display: none !important;
}
.hologram-container {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.06) 0%, transparent 70%);
}
.hud-telemetry-panel {
  position: absolute;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-secondary);
  pointer-events: none;
  z-index: 3;
}
.hud-telemetry-panel.left-panel {
  bottom: 12%;
  left: -20px;
}
.hud-telemetry-panel.right-panel {
  top: 12%;
  right: -20px;
}
.hologram-hud-grid_disabled {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(30, 144, 255, 0.08);
  background: 
    radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.2) 100%),
    linear-gradient(rgba(30, 144, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 144, 255, 0.02) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.hologram-hud-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(30, 144, 255, 0.15);
  pointer-events: none;
  z-index: 1;
}

.hologram-hud-ring.h1-ring {
  width: 105%;
  height: 105%;
  border-top-color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
  animation: rotateClockwise 25s linear infinite;
}

.hologram-hud-ring.h2-ring {
  width: 112%;
  height: 112%;
  border-left-color: var(--accent-blue);
  border-right-color: var(--accent-blue);
  border-style: dashed;
  animation: rotateCounterClockwise 35s linear infinite;
}

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotateCounterClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.hologram-viewport {
  width: 480px;
  height: 480px;
  border-radius: 28px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 2;
  transition: transform 0.3s ease-out;
}

.hologram-model-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.15);
  max-width: 115%;
  max-height: 115%;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hologram-model-image.active {
  opacity: 1;
}

.hologram-scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.15);
  animation: scanMove 4s ease-in-out infinite;
  opacity: 0.5;
  z-index: 3;
}

@keyframes scanMove {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

.hologram-model-selectors {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 5;
  width: max-content;
}

.hologram-selector-btn {
  background: rgba(14, 18, 25, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.hologram-selector-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan-glow);
}

.hologram-selector-btn.active {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(30, 144, 255, 0.1);
  box-shadow: 
    0 0 15px var(--accent-cyan-glow),
    inset 0 0 5px var(--accent-cyan-glow);
}

.hologram-atmosphere {
  position: absolute;
  width: 275px;
  height: 275px;
  border-radius: 50%;
  border: 2px solid rgba(30, 144, 255, 0.3);
  box-shadow: 0 0 25px rgba(30, 144, 255, 0.25);
  pointer-events: none;
  z-index: 1;
  filter: blur(2px);
  animation: atmospherePulse 4s ease-in-out infinite alternate;
}

@keyframes atmospherePulse {
  0% { transform: scale(0.99); opacity: 0.8; }
  100% { transform: scale(1.02); opacity: 1; filter: drop-shadow(0 0 8px rgba(30, 144, 255, 0.4)); }
}

.hologram-orbit-wrap {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(30, 144, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.hologram-orbit-wrap.o1 {
  transform: rotateX(68deg) rotateY(18deg) rotateZ(0deg);
}

.hologram-orbit-wrap.o2 {
  transform: rotateX(74deg) rotateY(-22deg) rotateZ(0deg);
}

.hologram-orbit-wrap.o3 {
  transform: rotateX(62deg) rotateY(4deg) rotateZ(0deg);
}

.orbit-electron {
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbitTravel 6s linear infinite;
}

@keyframes orbitTravel {
  0% { transform: translate(-50%, -50%) rotate(0deg) translateX(190px) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg) translateX(190px) rotate(-360deg); }
}

.hud-telemetry-panel {
  position: absolute;
  background: rgba(14, 18, 25, 0.8);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(30, 144, 255, 0.15);
  border-radius: 6px;
  padding: 0.6rem 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--text-secondary);
  pointer-events: none;
  z-index: 3;
}

.hud-telemetry-panel.left-panel {
  bottom: 15%;
  left: -20px;
  animation: panelFloat 5s ease-in-out infinite alternate;
}

.hud-telemetry-panel.right-panel {
  top: 15%;
  right: -20px;
  animation: panelFloat 5s ease-in-out infinite alternate 1.5s;
}

.hud-data-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.hud-data-row:last-child {
  margin-bottom: 0;
}

.hud-data-row span:last-child {
  color: var(--accent-cyan);
  font-weight: 600;
  text-shadow: 0 0 4px var(--accent-cyan-glow);
}

@keyframes panelFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@media (max-width: 1024px) {
  .hologram-container {
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .hologram-viewport {
    width: 280px;
    height: 280px;
  }
  .hologram-atmosphere {
    width: 212px;
    height: 212px;
  }
  .hologram-orbit-wrap {
    width: 280px;
    height: 280px;
  }
  @keyframes orbitTravel {
    0% { transform: translate(-50%, -50%) rotate(0deg) translateX(140px) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg) translateX(140px) rotate(-360deg); }
  }
  .hud-telemetry-panel {
    display: none;
  }
}

/* ── BLACK & BLUE THEME OVERRIDES ── */

/* 1. Hero Section overrides */
.hero {
  background-color: #000000 !important;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(30, 144, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 85% 85%, rgba(30, 144, 255, 0.03) 0%, transparent 50%) !important;
  color: #ffffff !important;
}
.hero h1 {
  color: #ffffff !important;
}
.hero-subtitle {
  color: var(--accent-cyan) !important;
}
.hero-description {
  color: #cbd5e1 !important;
}
.hero-stat-box .number {
  color: var(--accent-cyan) !important;
}
.hero-stat-box .label {
  color: #94a3b8 !important;
}
.hologram-viewport {
  background: rgba(10, 15, 30, 0.45) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
}
.hud-telemetry-panel {
  background: rgba(10, 15, 30, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--text-secondary) !important;
}
.hologram-selector-btn {
  background: rgba(10, 15, 30, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: var(--text-secondary) !important;
}
.hologram-selector-btn:hover {
  border-color: var(--accent-cyan) !important;
  color: var(--accent-cyan) !important;
}
.hologram-selector-btn.active {
  background: rgba(30, 144, 255, 0.15) !important;
  border-color: var(--accent-cyan) !important;
  color: var(--accent-cyan) !important;
}

/* 2. CTA Band overrides */
.cta-band {
  background: linear-gradient(135deg, #070e24 0%, #000000 100%) !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.cta-band h2 {
  color: #ffffff !important;
}
.cta-band p {
  color: #cbd5e1 !important;
}

/* 3. Footer overrides */
footer {
  background-color: #000000 !important;
  color: #ffffff !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}
footer .logo-text {
  color: #ffffff !important;
}
footer .footer-nav a {
  color: #cbd5e1 !important;
}
footer .footer-nav a:hover {
  color: var(--accent-cyan) !important;
}
footer .footer-copy {
  color: #94a3b8 !important;
}
.footer-title {
  color: #ffffff !important;
}
.footer-desc {
  color: #cbd5e1 !important;
}
.footer-links-col a {
  color: #cbd5e1 !important;
}
.footer-contact-item {
  color: #cbd5e1 !important;
}
.footer-social-link {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #cbd5e1 !important;
}
.footer-social-link:hover {
  background: var(--accent-cyan) !important;
  color: #ffffff !important;
}

/* 4. Modal overrides */
.modal-overlay {
  background: rgba(2, 6, 23, 0.8) !important;
}
.modal-wrapper {
  background: #070e24 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}
.modal-title {
  color: #ffffff !important;
}
.modal-desc {
  color: #cbd5e1 !important;
}
.modal-list li {
  color: #cbd5e1 !important;
}
.modal-meta {
  color: #94a3b8 !important;
}
.modal-close-btn {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #cbd5e1 !important;
}
.modal-close-btn:hover {
  background: var(--accent-cyan) !important;
  color: #ffffff !important;
}
.modal-icon-header {
  background: rgba(30, 144, 255, 0.1) !important;
  border: 1px solid var(--accent-cyan) !important;
}

/* 5. Custom VoltMotive Capsule Button styles */
.btn-voltmotive {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}
.btn-voltmotive .btn-text {
  background: var(--accent-cyan);
  color: #ffffff;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}
.btn-voltmotive .btn-arrow {
  width: 46px;
  height: 46px;
  background: var(--accent-cyan);
  color: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}
.btn-voltmotive:hover {
  gap: 0px;
}
.btn-voltmotive:hover .btn-text {
  border-radius: 50px 0 0 50px;
  padding-right: 1.5rem;
  background: #ffffff;
  color: #020617;
  box-shadow: inset 0 0 0 1px rgba(2, 6, 23, 0.1);
}
.btn-voltmotive:hover .btn-arrow {
  border-radius: 0 50px 50px 0;
  width: 52px;
  background: #ffffff;
  color: #020617;
  box-shadow: inset 0 0 0 1px rgba(2, 6, 23, 0.1);
}
.btn-voltmotive .btn-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
  transition: transform 0.3s ease;
}
.btn-voltmotive:hover .btn-arrow svg {
  transform: translateX(3px);
}
.btn-voltmotive.secondary .btn-text {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-voltmotive.secondary .btn-arrow {
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-voltmotive.secondary:hover .btn-text {
  background: var(--accent-cyan);
  color: #ffffff;
  border-color: var(--accent-cyan);
}
.btn-voltmotive.secondary:hover .btn-arrow {
  background: var(--accent-cyan);
  color: #ffffff;
  border-color: var(--accent-cyan);
}
.btn-voltmotive:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── FOOTER REDESIGN ── */
.footer-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.25fr;
  gap: 4rem;
  margin-bottom: 4rem;
  text-align: left;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
.footer-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 320px;
}
.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: all 0.3s ease;
  text-decoration: none;
}
.footer-social-link:hover {
  background: var(--accent-cyan);
  color: #ffffff;
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(30, 144, 255, 0.3);
}
.footer-social-link svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
.footer-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 1.5rem;
}
.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}
.footer-links-col a {
  font-size: 0.9rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links-col a:hover {
  color: var(--accent-cyan);
}
.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}
.footer-contact-item a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-contact-item a:hover {
  color: var(--accent-cyan);
}
.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  stroke-width: 2;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 768px) {
  .footer-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-brand, .footer-links-col, .footer-contact-col {
    align-items: center;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* ── VIDEO SHOWCASE SECTION ── */
.video-showcase-section {
  background-color: #000000;
  position: relative;
  overflow: hidden;
}

.video-showcase-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.video-content-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.video-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}

.video-feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.video-feature-item .feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(30, 144, 255, 0.1);
  border: 1px solid rgba(30, 144, 255, 0.25);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(30, 144, 255, 0.1);
}

.video-feature-item h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.video-feature-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Widescreen Video Frame Styling */
.video-player-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.video-widescreen-frame {
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  background: #090e1a;
  border: 8px solid #1a2233;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8),
              0 0 40px rgba(30, 144, 255, 0.15);
  overflow: hidden;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.video-widescreen-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9),
              0 0 50px rgba(30, 144, 255, 0.3);
}

.video-screen {
  width: 100%;
  height: 100%;
  background: #000000;
}

.video-screen iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-frame-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 130%;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.2) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 991px) {
  .video-showcase-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  .video-showcase-layout h2, .video-showcase-layout p {
    text-align: center !important;
  }
  .video-feature-item {
    text-align: left;
  }
  .video-widescreen-frame {
    max-width: 480px;
    margin: 0 auto;
  }
}

/* ── PRELOADER SCREEN ── */
.preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  overflow: hidden;
}

.preloader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: #000000;
  pointer-events: none;
  opacity: 0.85;
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.preloader-logo-wrap {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.preloader-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  animation: preloaderLogoPulse 2s ease-in-out infinite;
}

@keyframes preloaderLogoPulse {
  0%, 100% { transform: scale(1.0); filter: drop-shadow(0 0 10px rgba(30, 144, 255, 0.2)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 25px rgba(30, 144, 255, 0.6)); }
}

.preloader-spinner-container {
  width: 160px;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader-spinner {
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, #1e90ff, #00f0ff);
  border-radius: 2px;
  animation: preloaderBarProgress 1.8s infinite cubic-bezier(0.65, 0, 0.35, 1);
  position: absolute;
}

@keyframes preloaderBarProgress {
  0% { left: -60%; }
  100% { left: 100%; }
}

.preloader-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(30, 144, 255, 0.4);
  animation: preloaderTextBlink 1.5s ease-in-out infinite alternate;
}

@keyframes preloaderTextBlink {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

/* ── STANDALONE TECHNICAL GUIDE PAGE STYLES ── */
.guide-hero {
  padding: 8rem 0 3rem;
  background: radial-gradient(circle at top right, var(--accent-cyan-glow), transparent 60%);
  position: relative;
}

.guide-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.guide-article-card {
  padding: 3rem;
  margin-bottom: 4rem;
  border-radius: 20px;
  background: rgba(5, 7, 10, 0.75);
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 768px) {
  .guide-article-card {
    padding: 1.5rem;
    border-radius: 12px;
  }
  .guide-article-title {
    font-size: 2rem !important;
  }
}

.guide-article-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #ffffff;
  text-align: left;
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.5rem;
}

.guide-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guide-meta-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-cyan);
}

.guide-rich-text {
  color: var(--text-color);
  font-size: 1.05rem;
  line-height: 1.85;
}

.guide-rich-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.guide-rich-text h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.5rem;
  background: var(--accent-cyan);
  border-radius: 2px;
}

.guide-rich-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-cyan);
}

.guide-rich-text p {
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.guide-rich-text ul, .guide-rich-text ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.guide-rich-text li {
  margin-bottom: 0.75rem;
}

.guide-highlight-box {
  background: rgba(30, 144, 255, 0.04);
  border-left: 4px solid var(--accent-cyan);
  padding: 1.5rem;
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
}

.guide-highlight-title {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.guide-diagram-panel {
  background: rgba(5, 7, 10, 0.9);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 2rem;
  margin: 2.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.guide-diagram-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.guide-cell-matrix {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.guide-cell-block {
  width: 55px;
  height: 85px;
  border: 2px solid var(--accent-cyan);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.4rem;
  background: rgba(0, 240, 255, 0.03);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.08);
  position: relative;
}

.guide-cell-block::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 2px;
}

.guide-cell-block.series::after {
  content: '+';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-cyan);
  font-weight: bold;
}

.guide-cell-block.series:last-child::after {
  content: '';
}

.guide-cell-block.parallel::after {
  content: '=';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%) rotate(90deg);
  color: var(--accent-cyan);
  font-weight: bold;
}

.guide-cell-block span.voltage {
  font-size: 0.7rem;
  font-weight: 800;
  color: #ffffff;
}

.guide-cell-block span.capacity {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.guide-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 2rem 0;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 600px;
}

.guide-table th {
  background: rgba(30, 144, 255, 0.08);
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  text-align: left;
  padding: 1rem;
  border-bottom: 2px solid var(--border-light);
}

.guide-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-muted);
}

.guide-table tr:hover td {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.02);
}

.guide-cta-section {
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 4rem;
  background: linear-gradient(135deg, rgba(30, 144, 255, 0.05), rgba(0, 240, 255, 0.05));
  border: 1px solid var(--border-light);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.guide-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}


