/* ============================================
   VOLT RUSH USA - DIGITAL FLAGSHIP
   Volt-Dark Glassmorphism Design System
   ============================================ */

/* CSS Variables - Volt Design Tokens */
:root {
  /* Core Colors */
  --volt-obsidian: #000000;
  --volt-obsidian-light: #0a0a0a;
  --volt-obsidian-lighter: #111111;
  --volt-charcoal: #1a1a1a;
  --volt-graphite: #2a2a2a;
  
  /* Electric Accents */
  --volt-yellow: #FFD700;
  --volt-yellow-glow: rgba(255, 215, 0, 0.6);
  --volt-yellow-dim: rgba(255, 215, 0, 0.2);
  --volt-cyan: #00FFFF;
  --volt-cyan-glow: rgba(0, 255, 255, 0.5);
  --volt-cyan-dim: rgba(0, 255, 255, 0.15);
  
  /* Status Colors */
  --volt-success: #00FF88;
  --volt-warning: #FFAA00;
  --volt-danger: #FF4444;
  
  /* Glassmorphism */
  --glass-bg: rgba(10, 10, 10, 0.7);
  --glass-bg-light: rgba(20, 20, 20, 0.5);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 215, 0, 0.3);
  --glass-blur: blur(20px);
  --glass-blur-heavy: blur(40px);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Orbitron', 'Rajdhani', sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow-yellow: 0 0 30px var(--volt-yellow-glow);
  --shadow-glow-cyan: 0 0 30px var(--volt-cyan-glow);

  /* Compatibility aliases for imported guide content */
  --accent-purple: var(--volt-yellow);
  --accent-yellow: var(--volt-yellow);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;
}

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

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

body {
  font-family: var(--font-primary);
  background: var(--volt-obsidian);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--volt-yellow);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

::-webkit-scrollbar-track {
  background: var(--volt-obsidian);
}

::-webkit-scrollbar-thumb {
  background: var(--volt-graphite);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--volt-yellow);
}

/* Selection */
::selection {
  background: var(--volt-yellow);
  color: var(--volt-obsidian);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.volt-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.volt-title span {
  color: var(--volt-yellow);
}

.text-gradient {
  background: linear-gradient(135deg, var(--volt-yellow) 0%, var(--volt-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: 0 0 20px var(--volt-yellow-glow);
}

/* ============================================
   VOLT-TRACE CUSTOM CURSOR
   ============================================ */

.cursor-outer,
.cursor-inner {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, opacity 0.3s ease;
}

.cursor-outer {
  width: 40px;
  height: 40px;
  border: 2px solid var(--volt-yellow);
  opacity: 0.5;
  mix-blend-mode: difference;
}

.cursor-inner {
  width: 8px;
  height: 8px;
  background: var(--volt-cyan);
  box-shadow: 0 0 10px var(--volt-cyan-glow);
}

.cursor-hover .cursor-outer {
  transform: translate(-50%, -50%) scale(1.5);
  border-color: var(--volt-cyan);
  opacity: 0.8;
}

.cursor-hover .cursor-inner {
  transform: translate(-50%, -50%) scale(0.5);
  background: var(--volt-yellow);
}

@media (pointer: coarse) {
  .cursor-outer,
  .cursor-inner {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .cursor-outer,
  .cursor-inner,
  .mesh-gradient,
  .volt-bg::before {
    animation: none !important;
    display: none !important;
  }
}

/* ============================================
   BACKGROUND EFFECTS
   ============================================ */

.volt-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--volt-obsidian);
  overflow: hidden;
}

.volt-bg::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(0, 255, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(255, 215, 0, 0.02) 0%, transparent 70%);
  animation: voltBgPulse 15s ease-in-out infinite;
}

@keyframes voltBgPulse {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.1); }
}

.mesh-gradient {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(at 0% 0%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(at 100% 0%, rgba(0, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(at 100% 100%, rgba(255, 215, 0, 0.05) 0%, transparent 50%),
    radial-gradient(at 0% 100%, rgba(0, 255, 255, 0.05) 0%, transparent 50%);
  filter: blur(60px);
}

/* Grid Pattern Overlay */
.grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 215, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 215, 0, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* ============================================
   GLASSMORPHISM COMPONENTS
   ============================================ */

.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
}

.glass-light {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
}

.glass-hover:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-glow-yellow);
  transform: translateY(-2px);
}

/* ============================================
   BUTTONS
   ============================================ */

.volt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.volt-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.volt-btn:hover::before {
  left: 100%;
}

.volt-btn-primary {
  background: var(--volt-yellow);
  color: var(--volt-obsidian);
  box-shadow: 0 4px 20px var(--volt-yellow-dim);
}

.volt-btn-primary:hover {
  background: #FFE44D;
  box-shadow: var(--shadow-glow-yellow);
  transform: translateY(-2px);
}

.volt-btn-secondary {
  background: transparent;
  color: var(--volt-yellow);
  border: 2px solid var(--volt-yellow);
}

.volt-btn-secondary:hover {
  background: var(--volt-yellow);
  color: var(--volt-obsidian);
  box-shadow: var(--shadow-glow-yellow);
}

.volt-btn-cyan {
  background: var(--volt-cyan);
  color: var(--volt-obsidian);
  box-shadow: 0 4px 20px var(--volt-cyan-dim);
}

.volt-btn-cyan:hover {
  background: #80FFFF;
  box-shadow: var(--shadow-glow-cyan);
}

.volt-btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--glass-border);
}

.volt-btn-ghost:hover {
  border-color: var(--volt-yellow);
  color: var(--volt-yellow);
}

.volt-btn-sm {
  padding: var(--space-sm) var(--space-md);
  font-size: 0.75rem;
}

.volt-btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1rem;
}

/* ============================================
   NAVIGATION
   ============================================ */

.volt-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: var(--space-md) var(--space-xl);
  transition: all var(--transition-base);
}

.volt-nav.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-md);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo-image {
  display: block;
  width: clamp(180px, 22vw, 280px);
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--volt-yellow);
  transition: width var(--transition-base);
}

.nav-links a:hover {
  color: var(--volt-yellow);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--volt-yellow);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #ffffff;
  transition: all var(--transition-base);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.98);
    padding: var(--space-xl);
    gap: var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .nav-cta .volt-btn {
    display: none;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.volt-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px var(--space-xl) var(--space-3xl);
  overflow: hidden;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  width: 100%;
}

.hero-text {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--glass-bg);
  border: 1px solid var(--volt-yellow-dim);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--volt-yellow);
  margin-bottom: var(--space-lg);
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--volt-yellow);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
}

.hero-title .line {
  display: block;
}

.hero-title .highlight {
  color: var(--volt-yellow);
  text-shadow: 0 0 40px var(--volt-yellow-glow);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--volt-yellow);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-xs);
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse, var(--volt-yellow-dim) 0%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  animation: heroGlow 4s ease-in-out infinite;
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: bounce 2s ease-in-out infinite;
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
}

/* ============================================
   SECTION STYLES
   ============================================ */

.volt-section {
  padding: var(--space-4xl) var(--space-xl);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  background: var(--volt-yellow-dim);
  border: 1px solid var(--volt-yellow-dim);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--volt-yellow);
  margin-bottom: var(--space-md);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.125rem;
  line-height: 1.8;
}

/* ============================================
   INVENTORY / PRODUCT CARDS
   ============================================ */

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}

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

.product-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.product-badge.in-stock {
  background: var(--volt-success);
  color: var(--volt-obsidian);
}

.product-badge.coming-soon {
  background: var(--volt-warning);
  color: var(--volt-obsidian);
}

.product-badge.pre-order {
  background: var(--volt-cyan);
  color: var(--volt-obsidian);
}

.product-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 212, 59, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(10, 10, 10, 0.25));
}

.product-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-actions {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  gap: var(--space-sm);
  opacity: 0;
  transition: all var(--transition-base);
}

.product-card:hover .product-actions {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.product-action-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product-action-btn:hover {
  background: var(--volt-yellow);
  color: var(--volt-obsidian);
  border-color: var(--volt-yellow);
}

.product-info {
  padding: var(--space-lg);
}

.product-brand {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--volt-cyan);
  margin-bottom: var(--space-xs);
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.product-link-row {
  margin-bottom: var(--space-sm);
}

.product-detail-link {
  color: var(--volt-yellow);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
}

.product-detail-link:hover {
  color: #ffffff;
}

.product-specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.product-spec {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.product-spec svg {
  width: 16px;
  height: 16px;
  color: var(--volt-yellow);
}

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

.product-price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--volt-yellow);
}

.product-price span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
}

/* ============================================
   QUICK VIEW MODAL
   ============================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: var(--glass-blur);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.modal-container {
  background: var(--volt-charcoal);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-base);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.modal-close:hover {
  background: var(--volt-danger);
  border-color: var(--volt-danger);
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.modal-image {
  aspect-ratio: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(0, 245, 255, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(10, 10, 10, 0.25));
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: var(--space-lg);
  transition: transform var(--transition-slow);
}

.modal-container:hover .modal-image img {
  transform: scale(1.03);
}

.modal-details {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
}

.modal-brand {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--volt-cyan);
  margin-bottom: var(--space-sm);
}

.modal-title {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.modal-price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--volt-yellow);
  margin-bottom: var(--space-lg);
}

.modal-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.modal-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.modal-spec-item {
  padding: var(--space-md);
  background: var(--glass-bg);
  border-radius: var(--radius-md);
}

.modal-spec-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-xs);
}

.modal-spec-value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
}

.modal-actions {
  display: flex;
  gap: var(--space-md);
  margin-top: auto;
}

@media (max-width: 768px) {
  .modal-content {
    grid-template-columns: 1fr;
  }
  
  .modal-image {
    aspect-ratio: 16/9;
  }
}

/* ============================================
   FINANCE CALCULATOR
   ============================================ */

.finance-calculator {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  max-width: 600px;
  margin: 0 auto;
}

.calculator-title {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.calculator-inputs {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.input-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.input-group input,
.input-group select {
  padding: var(--space-md);
  background: var(--volt-obsidian-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 1rem;
  transition: border-color var(--transition-fast);
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: var(--volt-yellow);
}

.range-container {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.range-container input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  height: 6px;
  background: var(--volt-graphite);
  border-radius: var(--radius-full);
  outline: none;
}

.range-container input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--volt-yellow);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px var(--volt-yellow-glow);
}

.range-value {
  min-width: 80px;
  text-align: right;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--volt-yellow);
}

.calculator-results {
  background: var(--volt-obsidian-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
}

.result-item {
  margin-bottom: var(--space-lg);
}

.result-item:last-child {
  margin-bottom: 0;
}

.result-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-xs);
}

.result-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--volt-yellow);
}

.result-value.small {
  font-size: 1.5rem;
}

/* ============================================
   BLOG STYLES
   ============================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: var(--space-xl);
  max-width: 1400px;
  margin: 0 auto;
}

.blog-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}

.blog-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.blog-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: var(--space-lg);
}

.blog-meta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.blog-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--volt-cyan);
}

.blog-date {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
  line-height: 1.4;
}

.blog-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.blog-title a:hover {
  color: var(--volt-yellow);
}

.blog-excerpt {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--volt-yellow);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap var(--transition-fast);
}

.blog-read-more:hover {
  gap: var(--space-md);
}

/* Blog Post Page */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px var(--space-xl) var(--space-4xl);
}

.blog-post-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.blog-post-image {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}

.blog-post-image img {
  width: 100%;
  height: auto;
}

.blog-post-content {
  font-size: 1.125rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.85);
}

.blog-post-content h2 {
  margin: var(--space-2xl) 0 var(--space-md);
  color: #ffffff;
}

.blog-post-content p {
  margin-bottom: var(--space-lg);
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.blog-post-content li {
  margin-bottom: var(--space-sm);
}

.guide-article {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px var(--space-xl) var(--space-4xl);
}

.guide-back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  color: var(--volt-yellow);
  text-decoration: none;
  font-weight: 600;
}

.guide-back-link:hover {
  color: #ffffff;
}

.guide-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  background: var(--glass-bg-light);
  color: var(--volt-cyan);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.guide-article h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  margin-bottom: var(--space-lg);
}

.guide-article h2,
.guide-article h3 {
  color: #ffffff;
}

.guide-article a {
  color: var(--volt-yellow);
}

.guide-article a:hover {
  color: #ffffff;
}

.guide-article table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.guide-article th,
.guide-article td {
  border: 1px solid var(--glass-border);
  padding: 1rem;
  text-align: left;
}

.guide-article iframe {
  width: 100%;
  border: 0;
  border-radius: var(--radius-xl);
}

.guide-article hr {
  border: 0;
  border-top: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
  .guide-article {
    padding: 7rem 1rem 3rem;
  }

  .guide-article h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  .guide-article table {
    font-size: 0.9rem;
  }
}

.product-landing {
  padding-top: 120px;
}

.product-hero {
  padding: var(--space-3xl) var(--space-xl);
}

.product-hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-2xl);
  align-items: center;
}

.product-hero-media {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-lg);
}

.product-hero-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.product-hero-copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.product-meta span {
  padding: 0.5rem 0.875rem;
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
}

.product-hero-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.product-cta-row {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.product-spec-panel,
.product-section-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-md);
}

.product-spec-panel {
  padding: var(--space-xl);
}

.product-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}

.product-stat {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-stat strong {
  display: block;
  color: var(--volt-yellow);
  font-size: 1.125rem;
  margin-bottom: 0.35rem;
}

.product-section-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: var(--space-xl);
  padding: 0 var(--space-xl) var(--space-3xl);
}

.product-section-card {
  padding: var(--space-2xl);
}

.product-section-card h2 {
  margin-bottom: var(--space-md);
}

.product-section-card p,
.product-section-card li {
  color: rgba(255, 255, 255, 0.78);
}

.product-bullet-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.product-bullet-grid li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.product-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-lg);
}

.product-related-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.product-related-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border-hover);
}

.product-related-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.product-related-card span {
  display: block;
  padding: 1rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .product-hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .product-stat-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   REFERRAL HUB
   ============================================ */

.referral-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto var(--space-3xl);
}

.tier-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--volt-yellow), var(--volt-cyan));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.tier-card:hover::before {
  transform: scaleX(1);
}

.tier-card.featured {
  border-color: var(--volt-yellow);
  transform: scale(1.05);
}

.tier-card.featured::before {
  transform: scaleX(1);
}

.tier-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: var(--glass-bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.tier-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.tier-reward {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--volt-yellow);
  margin-bottom: var(--space-md);
}

.tier-requirement {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-lg);
}

.tier-benefits {
  list-style: none;
  text-align: left;
}

.tier-benefits li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.9375rem;
}

.tier-benefits li:last-child {
  border-bottom: none;
}

.tier-benefits li::before {
  content: '✓';
  color: var(--volt-success);
  font-weight: 700;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  max-width: 1400px;
  margin: 0 auto;
}

.contact-info h3 {
  margin-bottom: var(--space-lg);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--volt-yellow);
  flex-shrink: 0;
}

.contact-item-content h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-xs);
}

.contact-item-content p,
.contact-item-content a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  transition: color var(--transition-fast);
}

.contact-item-content a:hover {
  color: var(--volt-yellow);
}

.contact-hours {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.contact-hours h4 {
  margin-bottom: var(--space-md);
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.9375rem;
}

.hours-list li:last-child {
  border-bottom: none;
}

.hours-list .day {
  color: rgba(255, 255, 255, 0.6);
}

.hours-list .time {
  color: #ffffff;
}

.contact-form-container {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--space-md);
  background: var(--volt-obsidian-light);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--volt-yellow);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group.checkbox {
  flex-direction: row;
  align-items: center;
  gap: var(--space-md);
}

.form-group.checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--volt-yellow);
}

.map-container {
  margin-top: var(--space-3xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   SMS LEAD GEN / VIP CLUB
   ============================================ */

.vip-section {
  background: linear-gradient(135deg, var(--volt-charcoal) 0%, var(--volt-obsidian) 100%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.vip-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.vip-title {
  margin-bottom: var(--space-md);
}

.vip-subtitle {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-xl);
}

.sms-form {
  display: flex;
  gap: var(--space-md);
  max-width: 500px;
  margin: 0 auto;
}

.sms-form input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-size: 1rem;
}

.sms-form input:focus {
  outline: none;
  border-color: var(--volt-yellow);
}

.sms-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.vip-benefits {
  display: flex;
  justify-content: center;
  gap: var(--space-2xl);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

.vip-benefit {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

.vip-benefit svg {
  color: var(--volt-success);
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px var(--space-xl) var(--space-3xl);
  position: relative;
}

.about-hero-content {
  max-width: 800px;
}

.about-hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: var(--space-lg);
}

.about-hero-text {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
}

.about-content h3 {
  margin-bottom: var(--space-md);
}

.about-content p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.value-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.value-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  background: var(--glass-bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--volt-yellow);
}

.value-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.value-desc {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FOOTER
   ============================================ */

.volt-footer {
  background: var(--volt-obsidian-light);
  border-top: 1px solid var(--glass-border);
  padding: var(--space-4xl) var(--space-xl) var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-3xl);
  max-width: 1400px;
  margin: 0 auto var(--space-3xl);
}

/* Defensive normalization for older imported guide/product templates.
   Some generated pages place .footer-desc and .footer-social directly under
   .footer-grid instead of nesting them inside .footer-brand. */
.footer-grid > .footer-desc,
.footer-grid > .footer-social {
  grid-column: 1;
  max-width: 300px;
}

.footer-grid > .footer-social {
  margin-top: calc(var(--space-lg) * -0.25);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: var(--space-md);
}

.footer-logo-image {
  display: block;
  width: min(260px, 100%);
  height: auto;
  object-fit: contain;
}

.footer-logo-text {
  display: none;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--volt-yellow);
  border-color: var(--volt-yellow);
  color: var(--volt-obsidian);
}

.footer-column h4 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-lg);
  color: #ffffff;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--volt-yellow);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  margin-bottom: var(--space-sm);
}

.footer-contact a {
  color: var(--volt-yellow);
  text-decoration: none;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--volt-yellow);
}

.policy-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
}

.policy-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 3rem);
  box-shadow: var(--shadow-lg);
}

.policy-meta {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--space-xl);
}

.policy-card h1,
.policy-card h2,
.policy-card h3 {
  color: #fff;
}

.policy-card h1 {
  margin-bottom: var(--space-md);
}

.policy-card h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.policy-card h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.policy-card p,
.policy-card li {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.policy-card ul {
  padding-left: 1.25rem;
}

.policy-callout {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.faq-grid {
  display: grid;
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}

.faq-item h3 {
  margin-bottom: var(--space-sm);
  color: #fff;
}

.faq-item p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-brand {
    grid-column: span 2;
    max-width: 100%;
  }

  .footer-grid > .footer-desc,
  .footer-grid > .footer-social {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }
.mt-5 { margin-top: var(--space-2xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-2xl); }

.hidden { display: none !important; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   LOADING STATES
   ============================================ */

.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border: 2px solid var(--glass-border);
  border-top-color: var(--volt-yellow);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.toast-container {
  position: fixed;
  bottom: var(--space-xl);
  right: var(--space-xl);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.toast {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  min-width: 300px;
  animation: slideInRight 0.3s ease;
}

.toast.success {
  border-color: var(--volt-success);
}

.toast.error {
  border-color: var(--volt-danger);
}

.toast.warning {
  border-color: var(--volt-warning);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */

@media (max-width: 768px) {
  :root {
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
    --space-3xl: 3rem;
    --space-4xl: 4rem;
  }
  
  .inventory-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .stat-item {
    text-align: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}
