/* ═══════════════════════════════════════════════
   XPLOSIVE // SURVIVAL STATE — Design System
   ═══════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Share+Tech+Mono&display=swap');

/* ── Design Tokens ── */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #141414;
  --bg-card-hover: #1a1a1a;
  --acid-green: #39ff14;
  --acid-green-dim: rgba(57, 255, 20, 0.15);
  --acid-green-glow: rgba(57, 255, 20, 0.4);
  --toxic-purple: #9b30ff;
  --toxic-purple-dim: rgba(155, 48, 255, 0.15);
  --warning-yellow: #ffd600;
  --warning-yellow-dim: rgba(255, 214, 0, 0.15);
  --text-primary: #e8e8e8;
  --text-secondary: #a0a0a0;
  --text-muted: #555555;
  --danger-red: #ff1744;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(57, 255, 20, 0.3);
  --font-display: 'Oswald', 'Impact', sans-serif;
  --font-mono: 'Share Tech Mono', 'Courier New', monospace;
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 800ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--acid-green) var(--bg-secondary);
}

body {
  font-family: var(--font-mono);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--acid-green);
  border-radius: 3px;
}

/* Selection */
::selection {
  background: var(--acid-green);
  color: var(--bg-primary);
}

/* ── Custom Cursor (JS-driven, see cursor.js) ── */
body.custom-cursor-active,
body.custom-cursor-active * {
  cursor: none !important;
}

/* ── Loading Screen ── */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 600ms ease, visibility 600ms ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 2rem;
  animation: glitch-subtle 3s infinite;
}

.loading-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--acid-green);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: blink-text 1s steps(2) infinite;
}

.loading-bar-container {
  width: min(300px, 70vw);
  height: 2px;
  background: var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.loading-bar {
  height: 100%;
  width: 0%;
  background: var(--acid-green);
  box-shadow: 0 0 15px var(--acid-green-glow);
  transition: width 200ms ease;
}

.loading-percent {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  letter-spacing: 0.15em;
}

/* ── Scanline Overlay ── */
.scanline-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.03) 2px,
    rgba(0, 0, 0, 0.03) 4px
  );
  opacity: 0.4;
}

/* ── Navigation ── */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: transform var(--transition-smooth), background var(--transition-smooth);
}

.nav-container.scrolled {
  background: rgba(10, 10, 10, 0.95);
  border-bottom-color: var(--acid-green-dim);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  text-decoration: none;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .logo-x {
  color: var(--acid-green);
  font-size: 1.6rem;
  text-shadow: 0 0 10px var(--acid-green-glow);
}

.nav-logo .logo-divider {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0 0.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--acid-green);
  box-shadow: 0 0 6px var(--acid-green-glow);
  transition: width var(--transition-smooth);
}

.nav-link:hover {
  color: var(--acid-green);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: var(--acid-green);
}

.nav-link.active::after {
  width: 100%;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--acid-green);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: var(--acid-green);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu .mobile-link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.mobile-menu .mobile-link:hover {
  color: var(--acid-green);
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-container { padding: 0 1.25rem; }
}

/* ── Hero Section ── */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-canvas-container {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-canvas-container canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    ellipse at center,
    transparent 30%,
    rgba(10, 10, 10, 0.4) 70%,
    rgba(10, 10, 10, 0.9) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  pointer-events: none;
  padding: 0 1.5rem;
}

.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--acid-green);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 0.95;
  color: var(--text-primary);
  position: relative;
  text-shadow: 0 0 8px rgba(255,255,255,0.05);
}

.hero-title .glitch-text {
  position: relative;
  display: inline-block;
  animation: glitch-main 6s infinite;
}

.hero-title .glitch-text::before,
.hero-title .glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-title .glitch-text::before {
  color: var(--toxic-purple);
  animation: glitch-shift-1 3s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%);
  text-shadow: -3px 0 var(--toxic-purple);
  opacity: 0.85;
}

.hero-title .glitch-text::after {
  color: var(--acid-green);
  animation: glitch-shift-2 3s infinite;
  clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%);
  text-shadow: 3px 0 var(--acid-green);
  opacity: 0.85;
}

.hero-subtitle {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.5vw, 0.9rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 1.5rem;
}

.hero-cta-container {
  margin-top: 2.5rem;
  pointer-events: all;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--acid-green);
  border: none;
  padding: 0.85rem 2rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--warning-yellow);
  transform: translateX(-101%);
  transition: transform var(--transition-smooth);
}

.hero-cta:hover::before {
  transform: translateX(0);
}

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

.hero-cta .cta-arrow {
  position: relative;
  z-index: 1;
  transition: transform var(--transition-fast);
}

.hero-cta:hover .cta-arrow {
  transform: translateX(4px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: float 2.5s ease-in-out infinite;
}

.scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--acid-green), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

/* ── Caution Tape Marquee ── */
.caution-marquee {
  width: 100%;
  overflow: hidden;
  background: var(--warning-yellow);
  padding: 0.6rem 0;
  position: relative;
  z-index: 10;
  border-top: 2px solid rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid rgba(0, 0, 0, 0.3);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-content span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg-primary);
  padding: 0 1.5rem;
}

.marquee-content .marquee-icon {
  font-size: 0.9rem;
}

/* ── Section Base ── */
.section {
  padding: 6rem 2rem;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
  position: relative;
  z-index: 10;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--acid-green);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-tag::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--acid-green);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.1;
}

.section-desc {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 600px;
  margin-top: 1rem;
  letter-spacing: 0.03em;
}

/* ── Brand Statement ── */
.brand-statement {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.brand-statement-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.brand-statement .brand-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.brand-statement .brand-text h2 em {
  font-style: normal;
  color: var(--acid-green);
  text-shadow: 0 0 20px var(--acid-green-dim);
}

.brand-statement .brand-text p {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.9;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

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

.stat-item {
  padding: 1.25rem;
  border: 1px solid var(--border-subtle);
  background: rgba(57, 255, 20, 0.02);
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--acid-green);
}

.stat-item .stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.brand-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-visual-box {
  width: 100%;
  aspect-ratio: 1;
  max-width: 450px;
  border: 1px solid var(--border-subtle);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.brand-visual-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--acid-green-dim), transparent, var(--toxic-purple-dim));
  opacity: 0.5;
}

.brand-visual-box img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: grayscale(0.1) contrast(1.1);
}

.brand-visual-box .corner-bracket {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--acid-green);
  border-style: solid;
  opacity: 0.5;
}

.corner-bracket.tl { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.corner-bracket.tr { top: 10px; right: 10px; border-width: 1px 1px 0 0; }
.corner-bracket.bl { bottom: 10px; left: 10px; border-width: 0 0 1px 1px; }
.corner-bracket.br { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }

@media (max-width: 768px) {
  .brand-statement-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .brand-visual { order: -1; }
}

/* ── Featured Product Showcase ── */
.featured-showcase {
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}

.featured-showcase-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  overflow: hidden;
}

.featured-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0d0d0d;
}

.featured-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-video-container .corner-bracket {
  z-index: 2;
}

.featured-details {
  padding: 2.5rem 2.5rem 2.5rem 0;
}

.featured-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--acid-green);
  margin-bottom: 1rem;
}

.featured-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.featured-desc {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  line-height: 1.8;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .featured-showcase-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .featured-details {
    padding: 1.5rem;
  }
}

/* ── Product Grid ── */
.arsenal-section {
  background: var(--bg-primary);
}

.product-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  position: relative;
  transition: all var(--transition-smooth);
  group: product;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  z-index: 2;
  pointer-events: none;
  transition: border-color var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px var(--acid-green-dim);
}

.product-card:hover::before {
  border-color: var(--acid-green);
  box-shadow: inset 0 0 30px var(--acid-green-dim);
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #0d0d0d;
}

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

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

/* ── Hover-to-Video Crossfade ── */
/* Video plays silently underneath at all times — zero buffer on reveal */
.product-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.product-cover-img {
  position: relative;
  z-index: 2;
  opacity: 1;
  transition: opacity 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card--has-video:hover .product-cover-img {
  opacity: 0;
}

.product-card--has-video:hover .product-bg-video {
  transform: scale(1.05);
}
.product-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--bg-primary);
  background: var(--acid-green);
  padding: 0.3rem 0.6rem;
  z-index: 3;
}

.product-info {
  padding: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.product-collection {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--toxic-purple);
  margin-bottom: 0.4rem;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.product-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--acid-green);
  background: none;
  border: 1px solid var(--acid-green-dim);
  padding: 0.5rem 1rem;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.product-action:hover {
  background: var(--acid-green);
  color: var(--bg-primary);
  box-shadow: 0 0 20px var(--acid-green-dim);
}

/* ── Product Modal ── */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.product-modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.modal-content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  width: 100%;
  z-index: 1;
  animation: modal-enter 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-content img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  border: 1px solid var(--border-subtle);
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: none;
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 1rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-close:hover {
  color: var(--acid-green);
  border-color: var(--acid-green);
}

/* ── Intel Section ── */
.intel-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.intel-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}

.intel-card {
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.01);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.intel-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--acid-green), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.intel-card:hover {
  border-color: var(--acid-green-dim);
  background: rgba(57, 255, 20, 0.02);
}

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

.intel-card .intel-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.intel-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.intel-card p {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.8;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* ── Contact / Footer ── */
.footer-section {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 2rem 2rem;
  position: relative;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-brand .footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  line-height: 1.8;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  max-width: 350px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
}

.footer-bottom .copyright {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.footer-bottom .footer-coordinates {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.footer-hazard-stripe {
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(
    -45deg,
    var(--warning-yellow),
    var(--warning-yellow) 10px,
    var(--bg-primary) 10px,
    var(--bg-primary) 20px
  );
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal-stagger.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Keyframes ── */

/* Main text: chromatic aberration flicker */
@keyframes glitch-main {
  0%, 100% { text-shadow: 0 0 8px rgba(255,255,255,0.05); }
  2% { text-shadow: -4px 0 var(--toxic-purple), 4px 0 var(--acid-green), 0 0 15px rgba(57,255,20,0.3); }
  4% { text-shadow: 5px 0 var(--acid-green), -3px 0 var(--toxic-purple); }
  5% { text-shadow: 0 0 8px rgba(255,255,255,0.05); }
  15% { text-shadow: 0 0 8px rgba(255,255,255,0.05); }
  15.5% { text-shadow: -6px 2px var(--toxic-purple), 6px -2px var(--acid-green), 0 0 20px rgba(155,48,255,0.3); }
  16% { text-shadow: 3px -1px var(--acid-green), -2px 1px var(--toxic-purple); }
  17% { text-shadow: 0 0 8px rgba(255,255,255,0.05); }
  42% { text-shadow: 0 0 8px rgba(255,255,255,0.05); }
  42.5% { text-shadow: 3px 0 var(--acid-green), -3px 0 var(--toxic-purple); }
  43% { text-shadow: -5px 0 var(--toxic-purple), 5px 0 var(--acid-green), 0 0 25px rgba(57,255,20,0.4); }
  43.5% { text-shadow: 0 0 8px rgba(255,255,255,0.05); }
  70% { text-shadow: 0 0 8px rgba(255,255,255,0.05); }
  70.5% { text-shadow: -3px -1px var(--toxic-purple), 4px 1px var(--acid-green); }
  71% { text-shadow: 6px 0 var(--acid-green), -4px 0 var(--danger-red); }
  72% { text-shadow: 0 0 8px rgba(255,255,255,0.05); }
}

/* Purple layer: top slice shifts */
@keyframes glitch-shift-1 {
  0%, 100% { transform: translate(0); clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%); }
  2% { transform: translate(5px, -2px); clip-path: polygon(0 0, 100% 0, 100% 30%, 0 30%); }
  4% { transform: translate(-4px, 1px); clip-path: polygon(0 5%, 100% 5%, 100% 45%, 0 45%); }
  5% { transform: translate(0); clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%); }
  14% { transform: translate(0); }
  15% { transform: translate(-6px, 2px); clip-path: polygon(0 0, 100% 0, 100% 20%, 0 20%); }
  15.5% { transform: translate(4px, -1px); clip-path: polygon(0 10%, 100% 10%, 100% 50%, 0 50%); }
  16% { transform: translate(0); clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%); }
  41% { transform: translate(0); }
  42% { transform: translate(6px, 0); clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%); }
  43% { transform: translate(-3px, 2px); clip-path: polygon(0 5%, 100% 5%, 100% 42%, 0 42%); }
  44% { transform: translate(0); clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%); }
  69% { transform: translate(0); }
  70% { transform: translate(-5px, -1px); clip-path: polygon(0 0, 100% 0, 100% 25%, 0 25%); }
  71% { transform: translate(3px, 1px); clip-path: polygon(0 8%, 100% 8%, 100% 48%, 0 48%); }
  72% { transform: translate(0); clip-path: polygon(0 0, 100% 0, 100% 40%, 0 40%); }
}

/* Green layer: bottom slice shifts */
@keyframes glitch-shift-2 {
  0%, 100% { transform: translate(0); clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%); }
  1% { transform: translate(-4px, 2px); clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%); }
  3% { transform: translate(6px, -2px); clip-path: polygon(0 65%, 100% 65%, 100% 95%, 0 95%); }
  5% { transform: translate(0); clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%); }
  14% { transform: translate(0); }
  15.5% { transform: translate(5px, -2px); clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0 100%); }
  16% { transform: translate(-4px, 1px); clip-path: polygon(0 62%, 100% 62%, 100% 90%, 0 90%); }
  17% { transform: translate(0); clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%); }
  40% { transform: translate(0); }
  42.5% { transform: translate(-5px, 1px); clip-path: polygon(0 58%, 100% 58%, 100% 100%, 0 100%); }
  43% { transform: translate(4px, -2px); clip-path: polygon(0 65%, 100% 65%, 100% 92%, 0 92%); }
  44% { transform: translate(0); clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%); }
  69% { transform: translate(0); }
  70.5% { transform: translate(6px, 1px); clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%); }
  71% { transform: translate(-5px, -1px); clip-path: polygon(0 68%, 100% 68%, 100% 95%, 0 95%); }
  72% { transform: translate(0); clip-path: polygon(0 60%, 100% 60%, 100% 100%, 0 100%); }
}

/* Loading screen glitch */
@keyframes glitch-subtle {
  0%, 100% { text-shadow: none; }
  2% { text-shadow: -3px 0 var(--toxic-purple), 3px 0 var(--acid-green); }
  4% { text-shadow: 4px 0 var(--acid-green), -2px 0 var(--toxic-purple); }
  5% { text-shadow: none; }
  50% { text-shadow: none; }
  52% { text-shadow: -2px 0 var(--acid-green), 2px 0 var(--toxic-purple); }
  53% { text-shadow: 3px 0 var(--toxic-purple), -3px 0 var(--acid-green); }
  54% { text-shadow: none; }
}

@keyframes blink-text {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

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

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes modal-enter {
  0% { opacity: 0; transform: scale(0.9) translateY(20px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 5px var(--acid-green-dim); }
  50% { box-shadow: 0 0 20px var(--acid-green-glow), 0 0 40px var(--acid-green-dim); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .section { padding: 3.5rem 1.25rem; }

  /* Hero — shorter on mobile, no overflow issues */
  .hero-section { min-height: 500px; height: 85vh; }
  .hero-tag { font-size: 0.55rem; letter-spacing: 0.25em; }
  .hero-subtitle { font-size: 0.6rem; }
  .hero-cta { padding: 0.75rem 1.5rem; font-size: 0.6rem; }
  .scroll-indicator { bottom: 1.5rem; }

  /* Disable heavy glitch clip-path animations — they cause jank on mobile */
  .hero-title .glitch-text::before,
  .hero-title .glitch-text::after {
    display: none;
  }

  /* Product grid */
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
  }

  /* Product cards — disable hover lift on touch */
  .product-card:hover {
    transform: none;
  }

  /* Tap hint for video cards on mobile */
  .product-card--has-video .product-category-tag::after {
    content: ' · TAP TO PREVIEW';
  }

  /* Brand visual box — smaller on mobile */
  .brand-visual-box {
    max-width: 320px;
  }

  /* Section headers */
  .section-header { margin-bottom: 2.5rem; }
  .section-desc { font-size: 0.7rem; }

  /* Featured showcase */
  .featured-showcase-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .featured-details {
    padding: 1.5rem;
  }

  /* Marquee ticker — smaller text */
  .marquee-content span {
    font-size: 0.65rem;
    padding: 0 1rem;
  }

  /* Brand statement */
  .brand-statement-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .brand-visual { order: -1; }

  /* Stats */
  .brand-stats { gap: 1rem; }
  .stat-item { padding: 1rem; }
  .stat-item .stat-number { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .section { padding: 2.5rem 1rem; }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Even smaller hero on tiny screens */
  .hero-section { min-height: 400px; height: 75vh; }

  /* Brand stats go to single column on tiny screens */
  .brand-stats {
    grid-template-columns: 1fr;
  }

  .brand-visual-box {
    max-width: 280px;
  }
}
