/* ============================================================
   REVERSE Theme — CP2077 Cyberpunk Design System
   Converted from Tailwind 4 to pure CSS
   ============================================================ */

/* ============================================================
   1. CSS Custom Properties (CP2077 Palette)
   ============================================================ */
:root {
  /* Base */
  --background: #000000;
  --foreground: #ffffff;
  --card: #0a0a0a;
  --card-foreground: #ffffff;
  --popover: #050505;
  --popover-foreground: #ffffff;
  
  /* Primary - CP2077 Cyan */
  --primary: #02d7f2;
  --primary-foreground: #000000;
  
  /* Secondary */
  --secondary: #1a1a1a;
  --secondary-foreground: #ffffff;
  
  /* Muted */
  --muted: #2a2a2a;
  --muted-foreground: #808080;
  
  /* Accent - CP2077 Yellow */
  --accent: #f2e900;
  --accent-foreground: #000000;
  
  /* Destructive - CP2077 Red */
  --destructive: #ff1111;
  --destructive-foreground: #ffffff;
  
  /* Border & Input */
  --border: #333333;
  --input: #0f0f0f;
  --ring: #02d7f2;
  
  /* CP2077 Neon Palette */
  --neon-cyan: #02d7f2;
  --neon-yellow: #f2e900;
  --neon-red: #ff1111;
  --neon-blue: #007aff;
  --neon-pink: #ff00ff;
  --neon-orange: #ff6600;
  --neon-purple: #9d4edd;
  
  /* Radius */
  --radius: 0.25rem;
  
  /* Safe area insets for notched devices */
  --safe-area-top: env(safe-area-inset-top, 0px);
  --safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --safe-area-left: env(safe-area-inset-left, 0px);
  --safe-area-right: env(safe-area-inset-right, 0px);
  
  /* Font stacks */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Orbitron', 'Inter', system-ui, sans-serif;
  --font-mono: 'Geist Mono', 'SF Mono', 'Consolas', monospace;
}

/* ============================================================
   2. Reset & Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  border-color: var(--border);
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: none;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button, a, input, select, textarea, [role="button"] {
  touch-action: manipulation;
}

/* Mobile inputs: prevent zoom on focus */
@media (max-width: 767px) {
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="search"],
  input[type="tel"],
  input[type="url"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* ============================================================
   3. Typography
   ============================================================ */
.font-sans { font-family: var(--font-sans); }
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }

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

/* ============================================================
   4. Layout & Containers
   ============================================================ */
.max-w-7xl {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: var(--neon-cyan); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--neon-pink); }

/* Selection */
::selection {
  background: var(--neon-cyan);
  color: var(--background);
}

/* ============================================================
   5. Navigation
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding-top: var(--safe-area-top);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s ease;
}

.site-header.scrolled {
  background: rgba(0, 0, 0, 0.9);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .nav-inner { height: 4rem; padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .nav-inner { padding: 0 2rem; }
}

/* Brand Logo */
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  text-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-brand:hover {
  animation: glitch 0.3s ease-in-out;
}

@media (min-width: 640px) {
  .nav-brand { font-size: 1.25rem; }
}

/* Desktop Nav Links */
.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .nav-links { gap: 2rem; }
}

.nav-link {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  padding: 0.5rem 0;
  transition: color 0.2s ease;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

/* Nav Actions */
.nav-actions {
  display: none;
}

@media (min-width: 768px) {
  .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  color: rgba(255, 255, 255, 0.6);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  position: relative;
}

.nav-icon-btn:hover {
  color: var(--primary);
}

.nav-icon-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Cart badge */
.cart-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--neon-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobile Nav Toggle */
.nav-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .nav-mobile-actions { display: none; }
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
}

.mobile-menu-overlay.open {
  display: block;
}

/* Mobile Bottom Sheet */
.mobile-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-radius: 1rem 1rem 0 0;
  padding: 1.5rem;
  padding-bottom: calc(1.5rem + var(--safe-area-bottom));
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.open {
  transform: translateY(0);
}

.mobile-menu-link {
  display: block;
  width: 100%;
  padding: 1rem 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--foreground);
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
  cursor: pointer;
  min-height: 48px;
}

.mobile-menu-link:active {
  color: var(--primary);
}

/* Language Switcher Dropdown */
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.5rem;
  min-width: 120px;
  display: none;
  z-index: 60;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Mobile: ensure dropdown stays in viewport */
@media (max-width: 767px) {
  .nav-mobile-actions .lang-dropdown {
    right: -40px;
    top: 110%;
  }
}

.lang-dropdown.open {
  display: block;
}

.lang-option {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-size: 0.8125rem;
  text-align: left;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  border-radius: 0.375rem;
  transition: background 0.15s ease;
}

.lang-option:hover {
  background: var(--secondary);
}

.lang-option.active {
  color: var(--primary);
}

/* ============================================================
   6. Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  white-space: nowrap;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  outline: none;
  touch-action: manipulation;
}

.btn:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Primary Button */
.btn-primary {
  composes: btn;
  background: var(--primary);
  color: var(--primary-foreground);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.85rem 2rem;
  min-height: 3.5rem;
  box-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-cyan), inset 0 0 5px rgba(2, 215, 242, 0.1);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: rgba(2, 215, 242, 0.9);
  transform: scale(1.05);
  box-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan), 0 0 40px rgba(2, 215, 242, 0.3);
}

.btn-primary:active {
  transform: scale(0.95);
}

@media (min-width: 640px) {
  .btn-primary {
    font-size: 0.875rem;
    padding: 1.1rem 2.5rem;
    min-height: 4rem;
  }
}

/* Secondary Button */
.btn-secondary {
  composes: btn;
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.5rem;
  min-height: 3rem;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Ghost Button */
.btn-ghost {
  composes: btn;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8125rem;
  padding: 0.5rem;
}

.btn-ghost:hover {
  color: var(--primary);
}

/* ============================================================
   7. Hero Section
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Cyber grid background */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(100, 100, 120, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 100, 120, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* Gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--background), rgba(0, 0, 0, 0.95), var(--background));
  pointer-events: none;
}

/* Decorative neon lines */
.hero-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-line-h {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
}

.hero-line-h:nth-child(1) { top: 25%; background: linear-gradient(90deg, transparent, rgba(2, 215, 242, 0.3), transparent); }
.hero-line-h:nth-child(2) { top: 50%; background: linear-gradient(90deg, transparent, rgba(242, 233, 0, 0.2), transparent); }
.hero-line-h:nth-child(3) { top: 75%; background: linear-gradient(90deg, transparent, rgba(255, 17, 17, 0.25), transparent); }

.hero-line-v {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
}

.hero-line-v:nth-child(4) { left: 25%; background: linear-gradient(180deg, transparent, rgba(0, 122, 255, 0.2), transparent); }
.hero-line-v:nth-child(5) { right: 25%; background: linear-gradient(180deg, transparent, rgba(2, 215, 242, 0.15), transparent); }

/* Glowing orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(4rem);
  animation: pulse 4s ease-in-out infinite;
  pointer-events: none;
}

.hero-orb:nth-child(6) {
  top: 10%;
  left: 5%;
  width: 12rem;
  height: 12rem;
  background: radial-gradient(circle, rgba(2, 215, 242, 0.12), transparent);
}

.hero-orb:nth-child(7) {
  bottom: 15%;
  right: 5%;
  width: 14rem;
  height: 14rem;
  background: radial-gradient(circle, rgba(242, 233, 0, 0.1), transparent);
  animation-delay: 1s;
}

.hero-orb:nth-child(8) {
  top: 33%;
  right: 25%;
  width: 16rem;
  height: 16rem;
  background: radial-gradient(circle, rgba(255, 17, 17, 0.08), transparent);
  animation-delay: 2s;
}

@media (min-width: 640px) {
  .hero-orb:nth-child(6) { width: 16rem; height: 16rem; }
  .hero-orb:nth-child(7) { width: 20rem; height: 20rem; }
}

@media (min-width: 768px) {
  .hero-orb:nth-child(6) { width: 24rem; height: 24rem; }
  .hero-orb:nth-child(7) { width: 30rem; height: 30rem; }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 5rem 1.25rem 0;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .hero-content { padding: 0 1.5rem; }
}

.hero-tagline {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 640px) {
  .hero-tagline {
    font-size: 0.8125rem;
    padding: 0.5rem 1rem;
    letter-spacing: 0.3em;
  }
}

.hero-title {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  color: var(--neon-pink);
  text-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
}

@media (min-width: 640px) {
  .hero-title { font-size: 3rem; }
}

@media (min-width: 768px) {
  .hero-title { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .hero-title { font-size: 6rem; }
}

@media (min-width: 1280px) {
  .hero-title { font-size: 8rem; }
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.75rem;
  letter-spacing: 0.025em;
}

@media (min-width: 640px) {
  .hero-subtitle { font-size: 1.25rem; }
}

@media (min-width: 768px) {
  .hero-subtitle { font-size: 1.5rem; }
}

@media (min-width: 1024px) {
  .hero-subtitle { font-size: 1.875rem; }
}

.hero-description {
  max-width: 36rem;
  margin: 0 auto 2rem;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .hero-description { font-size: 0.875rem; max-width: 42rem; }
}

@media (min-width: 768px) {
  .hero-description { font-size: 1rem; max-width: 48rem; margin-bottom: 2.5rem; }
}

/* Hero stats bar */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: 2rem;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .hero-stats {
    margin-top: 4rem;
    gap: 0 2rem;
    font-size: 0.75rem;
  }
}

.hero-stat {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 0.5rem;
}

@media (min-width: 640px) {
  .hero-stat { padding-left: 1rem; }
}

/* Hero decorative side elements */
.hero-side-left,
.hero-side-right {
  display: none;
}

@media (min-width: 1024px) {
  .hero-side-left,
  .hero-side-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .hero-side-left { left: 1rem; }
  .hero-side-right { right: 1rem; }
}

.hero-side-line {
  width: 1px;
  height: 5rem;
}

.hero-side-text {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  color: var(--muted-foreground);
  padding-bottom: var(--safe-area-bottom);
}

@media (min-width: 640px) {
  .hero-scroll { bottom: 2rem; gap: 0.5rem; }
}

.hero-scroll-text {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

@media (min-width: 640px) {
  .hero-scroll-text { font-size: 0.75rem; }
}

.hero-scroll-icon {
  width: 1rem;
  height: 1rem;
  animation: bounce 2s infinite;
  color: rgba(2, 215, 242, 0.7);
}

/* ============================================================
   8. Products Section
   ============================================================ */
.products-section {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

@media (min-width: 640px) {
  .products-section { padding: 6rem 0; }
}

@media (min-width: 768px) {
  .products-section { padding: 8rem 0; }
}

.section-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(100, 100, 120, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 100, 120, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.section-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--background), rgba(0, 0, 0, 0.95), var(--background));
  pointer-events: none;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .section-header { margin-bottom: 3rem; }
}

@media (min-width: 768px) {
  .section-header { margin-bottom: 4rem; }
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .section-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
  }
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--foreground);
  margin: 0 0 1rem;
}

@media (min-width: 640px) {
  .section-title { font-size: 2.25rem; }
}

@media (min-width: 768px) {
  .section-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
  .section-title { font-size: 3.75rem; }
}

.section-divider {
  width: 4rem;
  height: 4px;
  margin: 0 auto;
  background: linear-gradient(to right, var(--primary), var(--primary));
}

@media (min-width: 640px) {
  .section-divider { width: 6rem; }
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 10;
  padding: 0 1rem;
}

@media (min-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .product-grid { gap: 1.5rem; padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 0 2rem; }
}

/* Product Card */
.product-card {
  position: relative;
  display: block;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  touch-action: manipulation;
}

.product-card:active {
  transform: scale(0.98);
}

.product-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Corner border accents - matching original Next.js design */
.product-card .corner-accent {
  position: absolute;
  width: 1rem;
  height: 1rem;
  z-index: 2;
  pointer-events: none;
  transition: all 0.3s ease;
}
.product-card .corner-accent.tl { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; }
.product-card .corner-accent.tr { top: 0; right: 0; border-top: 2px solid; border-right: 2px solid; }
.product-card .corner-accent.bl { bottom: 0; left: 0; border-bottom: 2px solid; border-left: 2px solid; }
.product-card .corner-accent.br { bottom: 0; right: 0; border-bottom: 2px solid; border-right: 2px solid; }

/* Hover glow effect matching original */
.product-card:hover {
  box-shadow: 0 0 25px var(--card-glow, rgba(2, 215, 242, 0.4)), 0 0 50px var(--card-glow, rgba(2, 215, 242, 0.2));
}
.product-card.neon-cyan { --card-glow: rgba(2, 215, 242, 0.4); --card-accent: #02d7f2; --card-border: rgba(2, 215, 242, 0.6); }
.product-card.neon-yellow { --card-glow: rgba(242, 233, 0, 0.4); --card-accent: #f2e900; --card-border: rgba(242, 233, 0, 0.6); }
.product-card.neon-red { --card-glow: rgba(255, 17, 17, 0.4); --card-accent: #ff1111; --card-border: rgba(255, 17, 17, 0.6); }
.product-card.neon-blue { --card-glow: rgba(0, 122, 255, 0.4); --card-accent: #007aff; --card-border: rgba(0, 122, 255, 0.6); }

/* Corner accent colors per neon variant */
.product-card.neon-cyan .corner-accent { border-color: #02d7f2; }
.product-card.neon-yellow .corner-accent { border-color: #f2e900; }
.product-card.neon-red .corner-accent { border-color: #ff1111; }
.product-card.neon-blue .corner-accent { border-color: #007aff; }

/* Product Image */
.product-card-image {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--secondary);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Product Info */
.product-card-info {
  padding: 1rem;
}

@media (min-width: 768px) {
  .product-card-info { padding: 1.25rem; }
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--foreground);
  margin: 0 0 0.5rem;
}

.product-card-desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin: 0 0 0.75rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card-price {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
}

.product-card-btn {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 0.5rem;
  min-height: 40px;
}

.product-card-btn:hover {
  color: var(--primary);
}

.product-card.neon-cyan .product-card-btn:hover { color: var(--neon-cyan); }
.product-card.neon-yellow .product-card-btn:hover { color: var(--neon-yellow); }
.product-card.neon-red .product-card-btn:hover { color: var(--neon-red); }
.product-card.neon-blue .product-card-btn:hover { color: var(--neon-blue); }

/* ============================================================
   9. Story Section
   ============================================================ */
.story-section {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

@media (min-width: 640px) {
  .story-section { padding: 6rem 0; }
}

@media (min-width: 768px) {
  .story-section { padding: 8rem 0; }
}

.story-content {
  position: relative;
  z-index: 10;
}

/* Story grid */
.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .story-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.story-text-block {
  margin-bottom: 1.5rem;
}

.story-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--foreground);
  margin: 0 0 0.5rem;
}

.story-paragraph {
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--muted-foreground);
  margin: 0;
}

@media (min-width: 640px) {
  .story-paragraph { font-size: 0.875rem; }
}

/* Story blockquote */
.story-quote {
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(2, 215, 242, 0.5);
  margin: 2rem 0;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .story-quote { font-size: 1.25rem; }
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.stat-card {
  text-align: center;
  padding: 1rem;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--foreground);
  margin: 0 0 0.25rem;
}

.stat-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

/* ============================================================
   10. Footer Section
   ============================================================ */
.site-footer {
  position: relative;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

@media (min-width: 640px) {
  .site-footer { padding: 4rem 0 2rem; }
}

/* Footer watermark */
.footer-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 768px) {
  .footer-watermark { font-size: 12rem; }
}

/* Footer grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* Footer brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Newsletter */
.footer-newsletter {
  display: flex;
  gap: 0.5rem;
  max-width: 320px;
}

.footer-newsletter input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--input);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 0.8125rem;
  border-radius: 0.25rem;
  outline: none;
  font-family: var(--font-sans);
}

.footer-newsletter input:focus {
  border-color: var(--primary);
}

.footer-newsletter input::placeholder {
  color: var(--muted-foreground);
}

.footer-newsletter button {
  padding: 0.75rem 1.25rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border-radius: 0.25rem;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.footer-newsletter button:hover {
  opacity: 0.9;
}

/* Footer link lists */
.footer-col-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--foreground);
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

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

/* Social links */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.footer-social-link {
  color: var(--muted-foreground);
  transition: color 0.2s;
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social-link:hover {
  color: var(--primary);
}

/* Footer bottom */
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  font-size: 0.6875rem;
  color: var(--muted-foreground);
  position: relative;
  z-index: 10;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.back-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(1rem);
  transition: all 0.3s ease;
  z-index: 40;
  padding-bottom: var(--safe-area-bottom);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary);
  color: var(--primary-foreground);
}

/* ============================================================
   11. WooCommerce Overrides
   ============================================================ */
.woocommerce-wrapper {
  min-height: 100vh;
  padding-top: 5rem;
}

/* Product page */
.single-product-wrapper {
  padding-top: 6rem;
}

.product-gallery {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--secondary);
  overflow: hidden;
}

.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .product-title { font-size: 2rem; }
}

.product-price {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
  margin: 1rem 0;
}

.product-description {
  color: var(--muted-foreground);
  line-height: 1.8;
  font-size: 0.875rem;
}

/* Variation selectors */
.variation-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--input);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 0.875rem;
  border-radius: 0.25rem;
  cursor: pointer;
  outline: none;
  font-family: var(--font-sans);
}

.variation-select:focus {
  border-color: var(--primary);
}

/* Quantity input */
.quantity-input {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 0.25rem;
  overflow: hidden;
  width: fit-content;
}

.quantity-input button {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--secondary);
  border: none;
  color: var(--foreground);
  font-size: 1.125rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.quantity-input button:hover {
  background: var(--muted);
}

.quantity-input input {
  width: 3rem;
  height: 2.75rem;
  background: transparent;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--foreground);
  text-align: center;
  font-size: 0.875rem;
  -moz-appearance: textfield;
}

.quantity-input input::-webkit-outer-spin-button,
.quantity-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Add to cart button (WooCommerce) */
.single_add_to_cart_button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--primary) !important;
  color: var(--primary-foreground) !important;
  font-family: var(--font-display) !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none !important;
  border-radius: 0.25rem !important;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-cyan);
}

.single_add_to_cart_button:hover {
  background: rgba(2, 215, 242, 0.9) !important;
  box-shadow: 0 0 15px var(--neon-cyan), 0 0 30px var(--neon-cyan);
}

/* Cart table */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  padding: 1rem 0.5rem;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
}

.cart-table td {
  padding: 1.5rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.cart-product-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--foreground);
}

.cart-remove-btn {
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.5rem;
}

.cart-remove-btn:hover {
  color: var(--destructive);
}

/* Checkout form */
.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="tel"],
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--input);
  border: 1px solid var(--border);
  color: var(--foreground);
  font-size: 0.875rem;
  border-radius: 0.25rem;
  outline: none;
  font-family: var(--font-sans);
}

.checkout-form input:focus,
.checkout-form select:focus,
.checkout-form textarea:focus {
  border-color: var(--primary);
}

.checkout-form label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-foreground);
}

/* Order summary */
.order-summary {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.5rem;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-summary-total {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0 0;
  font-weight: 700;
  font-size: 1.125rem;
}

/* ============================================================
   12. Animations
   ============================================================ */
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

@keyframes neon-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

@keyframes scanline {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

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

@keyframes slide-up {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slide-down {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
  60% { transform: translateY(-3px); }
}

/* Animation classes */
.glitch:hover {
  animation: glitch 0.3s ease-in-out;
}

.neon-text {
  text-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-cyan);
}

.neon-text-pink {
  text-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan);
}

.neon-text-yellow {
  text-shadow: 0 0 5px var(--neon-yellow), 0 0 10px var(--neon-yellow), 0 0 20px var(--neon-yellow);
}

.neon-text-red {
  text-shadow: 0 0 5px var(--neon-red), 0 0 10px var(--neon-red), 0 0 20px var(--neon-red);
}

.neon-border {
  box-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-cyan), inset 0 0 5px rgba(2, 215, 242, 0.1);
}

.neon-border-pink {
  box-shadow: 0 0 5px var(--neon-cyan), 0 0 10px var(--neon-cyan), inset 0 0 5px rgba(2, 215, 242, 0.1);
}

.scanline-overlay::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.1) 50%);
  background-size: 100% 4px;
  pointer-events: none;
}

.cyber-grid {
  background-image: 
    linear-gradient(rgba(100, 100, 120, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 100, 120, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* ============================================================
   13. Utility Classes
   ============================================================ */
/* Colors */
.bg-background { background: var(--background); }
.bg-card { background: var(--card); }
.bg-secondary { background: var(--secondary); }
.bg-muted { background: var(--muted); }
.bg-primary { background: var(--primary); }
.text-foreground { color: var(--foreground); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-primary { color: var(--primary); }
.text-neon-cyan { color: var(--neon-cyan); }
.text-neon-yellow { color: var(--neon-yellow); }
.text-neon-red { color: var(--neon-red); }
.text-neon-blue { color: var(--neon-blue); }
.text-neon-pink { color: var(--neon-pink); }
.border-border { border-color: var(--border); }

/* Safe area */
.safe-top { padding-top: var(--safe-area-top); }
.safe-bottom { padding-bottom: var(--safe-area-bottom); }

/* Visibility */
.hidden { display: none; }
.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; 
}

/* Flex */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

/* Text */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.8125rem; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.1em; }
.tracking-widest { letter-spacing: 0.15em; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.leading-relaxed { line-height: 1.7; }

/* Spacing */
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.p-4 { padding: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-10 { z-index: 10; }

/* Responsive visibility */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
}

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
}

/* ============================================================
   14. Admin bar offset
   ============================================================ */
.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ============================================================
   15. Touch optimization
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  .touch-highlight:active {
    opacity: 0.7;
    transition: opacity 0.1s;
  }
}

.no-pull-refresh {
  overscroll-behavior-y: contain;
}

/* ============================================================
   16. WP Content overrides
   ============================================================ */
.wp-block-image img {
  border-radius: 0;
}

.wp-caption {
  background: var(--card);
  border: 1px solid var(--border);
}

/* Remove WP admin bar margin on frontend */
@media screen and (max-width: 600px) {
  #wpadminbar {
    position: fixed;
  }
}

/* WooCommerce Notice Bar */
.woocommerce-notices-wrapper {
  position: fixed; top: 4.5rem; left: 50%; transform: translateX(-50%); z-index: 999;
  width: 90%; max-width: 500px;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  background: var(--card) !important; border: 1px solid var(--border) !important;
  color: var(--foreground) !important; padding: 1rem 1.25rem !important;
  border-radius: 0.25rem !important; margin: 0 !important; font-size: 0.875rem !important;
  box-shadow: 0 0 20px rgba(0,0,0,0.5) !important;
  display: flex; align-items: center; gap: 0.5rem;
}
.woocommerce-message { border-left: 4px solid var(--neon-cyan) !important; }
.woocommerce-message::before { color: var(--neon-cyan) !important; }
.woocommerce-message a { color: var(--neon-cyan) !important; font-weight: 600; }
.woocommerce-error { border-left: 4px solid var(--neon-red) !important; }
.woocommerce-info { border-left: 4px solid var(--neon-blue) !important; }
.woocommerce-message .button { 
  display: inline-flex !important; padding: 0.5rem 1rem !important; background: var(--primary) !important;
  color: var(--primary-foreground) !important; font-weight: 700 !important; font-size: 0.75rem !important;
  text-transform: uppercase; letter-spacing: 0.1em; border-radius: 0.25rem; text-decoration: none;
  float: none !important; margin-left: auto; order: 3;
}
@media (max-width:767px) {
  .woocommerce-notices-wrapper { top: 4rem; width: 95%; }
}
