@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --red: #ff2018;
  --red-glow: rgba(255, 32, 24, 0.25);
  --red-dark: #64110e;
  --orange: #ff7a18;
  --cyan: #00f0ff;
  --bg: #070708;
  --panel: #0d0d10;
  --panel-border: #1f1f26;
  --card-bg: #0b0b0e;
  --line: #181820;
  --text: #ffffff;
  --muted: #94949e;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Space Grotesk', sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
  scroll-behavior: smooth;
  color-scheme: dark;
}

/* Full-Page Background Noise Overlay */
.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.noise {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.027;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 128 128' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.15' numOctaves='4' seed='23' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)'/%3E%3C/svg%3E");
  background-size: 128px 128px;
  background-repeat: repeat;
  filter: grayscale(1) contrast(1.35);
  mix-blend-mode: normal;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navigation Header */
.nav {
  height: 74px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: rgba(7, 7, 8, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.brand-wordmark-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav-link {
  color: var(--muted);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--red);
  transition: width 0.3s ease;
}

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

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

.hud-mini-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 13, 16, 0.8);
  border: 1px solid #22222b;
  padding: 6px 12px;
  border-radius: 4px;
}

.hud-dot {
  width: 7px;
  height: 7px;
  background: #39ff14;
  border-radius: 50%;
}

.hud-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #ffffff;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 32, 24, 0.12);
  border: 1px solid var(--red);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  padding: 10px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--red);
  transform: translateY(-1px);
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85vw;
  max-width: 380px;
  height: 100vh;
  background: #0b0b0e;
  border-left: 1px solid #222;
  z-index: 200;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.9);
}

.mobile-drawer.open { right: 0; }

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #222;
  padding-bottom: 20px;
}

.drawer-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  padding: 13px 22px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  text-transform: uppercase;
}

.btn.primary {
  background: var(--red);
  border-color: var(--red);
}

.btn.primary:hover {
  background: #ff3830;
  transform: translateY(-2px);
}

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

.audio-lab-btn {
  border-color: rgba(255, 122, 24, 0.4);
  background: rgba(255, 122, 24, 0.08);
  color: var(--orange);
}

.audio-lab-btn:hover {
  background: var(--orange);
  color: #000;
  border-color: var(--orange);
}

.full-width { width: 100%; }

/* Hero Section */
.hero {
  min-height: 90vh;
  padding: 110px 7vw 70px;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  z-index: 3;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
              linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, #000 70%, transparent);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2.5px;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding: 6px 14px;
  background: rgba(255, 32, 24, 0.08);
  border: 1px solid rgba(255, 32, 24, 0.2);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

h1 {
  font-family: var(--font-heading);
  font-size: clamp(60px, 7.5vw, 115px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -2px;
  margin-bottom: 22px;
  text-transform: uppercase;
}

h1 em, h2 em {
  font-style: normal;
  color: var(--red);
}

.hero-desc {
  max-width: 520px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

/* Gamified HUD Panel */
.hero-hud-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: rgba(14, 14, 18, 0.85);
  border: 1px solid #202028;
  padding: 16px 20px;
  backdrop-filter: blur(10px);
}

.hud-stat-item .hud-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.hud-stat-item .hud-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 2px 0 6px;
}

.hud-bar {
  height: 4px;
  background: #181822;
  border-radius: 2px;
  overflow: hidden;
}

.hud-fill {
  height: 100%;
  background: var(--red);
}

/* --- 3D SWIRLING LIGHT TRAIL MATRIX (NO BLOOM & HYPER-SPEED HOVER) --- */
.hero-art {
  position: relative;
  height: 520px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  cursor: pointer;
}

.hero-logo-frame {
  width: 260px;
  height: 260px;
  position: relative;
  display: grid;
  place-items: center;
  animation: logoFloat 6s ease-in-out infinite;
  z-index: 5;
}

/* Crisp Brand Mark without bloom */
.hero-brand-mark {
  width: 85%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 5;
  filter: none;
}

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

/* 3D Trail Stage */
.trail-3d-stage {
  position: absolute;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  pointer-events: none;
  z-index: 2;
}

/* 3D Orbit Planes */
.trail-orbit {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: animation-duration 0.4s ease;
}

/* Orbit 1: Tilted Dynamic Axis */
.orbit-1 {
  animation: orbitRotate1 14s linear infinite;
}

@keyframes orbitRotate1 {
  0% { transform: rotateX(72deg) rotateY(-25deg) rotateZ(0deg); }
  100% { transform: rotateX(72deg) rotateY(-25deg) rotateZ(360deg); }
}

/* Orbit 2: Opposing Diagonal Angle */
.orbit-2 {
  animation: orbitRotate2 18s linear infinite;
}

@keyframes orbitRotate2 {
  0% { transform: rotateX(65deg) rotateY(35deg) rotateZ(360deg); }
  100% { transform: rotateX(65deg) rotateY(35deg) rotateZ(0deg); }
}

/* Orbit 3: Steep Vertical Helix Tilt */
.orbit-3 {
  animation: orbitRotate3 22s linear infinite;
}

@keyframes orbitRotate3 {
  0% { transform: rotateX(42deg) rotateY(-55deg) rotateZ(0deg); }
  100% { transform: rotateX(42deg) rotateY(-55deg) rotateZ(360deg); }
}

/* SVG Light Trail Vector Formatting (Bloom Removed) */
.trail-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.trail-path {
  fill: none;
  stroke-width: 4px;
  stroke-linecap: round;
  stroke-dasharray: 220 630;
  filter: none; /* Removed glow & drop-shadow bloom */
  transition: animation-duration 0.4s ease;
}

.path-1 {
  animation: streamTrail1 3.5s linear infinite;
}

.path-2 {
  animation: streamTrail2 4.5s linear infinite;
}

.path-3 {
  animation: streamTrail3 5.5s linear infinite;
}

/* Continuous Light Streaming Animations */
@keyframes streamTrail1 {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -850; }
}

@keyframes streamTrail2 {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 850; }
}

@keyframes streamTrail3 {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -850; }
}

/* --- MOUSE HOVER: SUPER-FAST 3D SPIN & STREAM ACCELERATION --- */
.hero-art:hover .orbit-1 {
  animation-duration: 1.2s;
}

.hero-art:hover .orbit-2 {
  animation-duration: 1.5s;
}

.hero-art:hover .orbit-3 {
  animation-duration: 1.8s;
}

.hero-art:hover .path-1 {
  animation-duration: 0.35s;
}

.hero-art:hover .path-2 {
  animation-duration: 0.45s;
}

.hero-art:hover .path-3 {
  animation-duration: 0.55s;
}

.floating-badge {
  position: absolute;
  background: rgba(14, 14, 17, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 16px;
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 10;
}

.badge-icon {
  font-size: 18px;
  color: var(--red);
}

.floating-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #ffffff;
}

.floating-badge small {
  font-family: var(--font-heading);
  font-size: 9px;
  letter-spacing: 1px;
  color: var(--muted);
}

.badge-a { top: 30px; right: 10px; }
.badge-b { bottom: 40px; left: 0px; }
.badge-c { bottom: 100px; right: 0px; }

/* Marquee Ticker */
.ticker {
  overflow: hidden;
  border-block: 1px solid #1c1c22;
  background: #0a0a0c;
  padding: 16px 0;
  white-space: nowrap;
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 4px;
  animation: ticker 40s linear infinite;
}

.ticker-track b {
  color: var(--red);
  padding: 0 30px;
}

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

/* Section Common */
.section {
  padding: 105px 7vw;
  position: relative;
  z-index: 3;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 45px;
}

.kicker {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--red);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

h2 {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 700;
  line-height: 0.88;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.section-head p {
  max-width: 440px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Product Controls: Filters & Search */
.product-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 35px;
  background: rgba(14, 14, 17, 0.7);
  border: 1px solid #1f1f26;
  padding: 14px 18px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #09090b;
  border: 1px solid #22222b;
  padding: 9px 15px;
  flex: 1;
  min-width: 250px;
  max-width: 380px;
  color: var(--muted);
}

.search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 14px;
  width: 100%;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-btn {
  background: transparent;
  border: 1px solid #202028;
  color: var(--muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1.5px;
  padding: 8px 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn:hover, .tab-btn.active {
  background: rgba(255, 32, 24, 0.15);
  border-color: var(--red);
  color: #ffffff;
}

/* Product Grid & Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.product-card {
  background: linear-gradient(145deg, #111115, #0b0b0e);
  border: 1px solid #1e1e26;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 32, 24, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

.product-art-wrapper {
  height: 280px;
  background: radial-gradient(circle at 50% 60%, rgba(255, 32, 24, 0.08), transparent 70%);
  display: grid;
  place-items: center;
  position: relative;
  padding: 20px;
  border-bottom: 1px solid #1a1a22;
}

.product-svg {
  width: 90%;
  height: 90%;
  transition: transform 0.35s ease;
}

.product-card:hover .product-svg {
  transform: scale(1.04);
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  border: 1px solid #282832;
  background: rgba(8, 8, 10, 0.85);
  padding: 4px 8px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--red);
}

.render-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 1px solid #282832;
  background: rgba(8, 8, 10, 0.85);
  padding: 4px 8px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.product-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.product-model-code {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--muted);
}

.product-info h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  margin: 3px 0 6px;
  color: #ffffff;
}

.product-spec-line {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 16px;
}

/* Card Stat Bars */
.card-stats-preview {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
  background: #121217;
  border: 1px solid #1e1e26;
  padding: 10px 12px;
}

.card-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
}

.stat-bar-mini {
  width: 110px;
  height: 4px;
  background: #1c1c26;
  border-radius: 2px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background: var(--red);
}

.product-card-actions {
  display: flex;
  gap: 10px;
}

.card-btn {
  flex: 1;
  background: transparent;
  border: 1px solid #282832;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.card-btn.primary-card-btn {
  background: rgba(255, 32, 24, 0.12);
  border-color: var(--red);
  color: var(--red);
}

.card-btn.primary-card-btn:hover {
  background: var(--red);
  color: #ffffff;
}

.card-btn:hover {
  border-color: #ffffff;
}

/* Loadout Builder Section */
.loadout-section {
  background: #09090c;
  border-block: 1px solid #1a1a22;
}

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

.loadout-picker {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.loadout-slot {
  background: #0e0e12;
  border: 1px solid #1f1f26;
  padding: 16px 20px;
}

.slot-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 8px;
}

.loadout-slot select {
  width: 100%;
  background: #14141a;
  border: 1px solid #282832;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 12px;
  outline: none;
}

.loadout-summary-card {
  background: #0e0e12;
  border: 1px solid #252530;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid #202028;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.summary-header h3 {
  font-family: var(--font-heading);
  font-size: 22px;
}

.summary-header small {
  font-family: var(--font-heading);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 1.5px;
}

.summary-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 25px;
}

.sum-stat {
  background: #14141a;
  border: 1px solid #202028;
  padding: 14px;
}

.sum-stat span {
  display: block;
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
}

.sum-stat strong {
  font-family: var(--font-heading);
  font-size: 20px;
  color: #ffffff;
  display: block;
  margin-top: 4px;
}

/* Audio Lab Section */
.audiolab-section {
  background: #09090b;
  border-block: 1px solid #1a1a20;
}

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

.lab-card {
  background: #0e0e12;
  border: 1px solid #1f1f26;
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lab-badge {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--orange);
  display: block;
  margin-bottom: 8px;
}

.lab-card-header h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.lab-card-header p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 25px;
}

.synth-switches {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.synth-switch-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #141419;
  border: 1px solid #22222b;
  padding: 14px 18px;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
}

.synth-switch-btn:hover, .synth-switch-btn.active {
  border-color: var(--red);
  background: rgba(255, 32, 24, 0.08);
}

.switch-color {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.optical-red { background: #ff2018; }
.clicky-cyan { background: #00f0ff; }
.silent-black { background: #444450; }

.switch-meta strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  color: #fff;
}

.switch-meta small {
  font-family: var(--font-heading);
  font-size: 11px;
  color: var(--muted);
}

.test-key-pad {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.test-key {
  background: var(--red);
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 2px;
  padding: 16px;
  cursor: pointer;
  transition: transform 0.1s ease;
}

.test-key:active { transform: scale(0.98); }

.key-hint {
  font-family: var(--font-heading);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
}

/* RGB Presets */
.rgb-presets {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

.rgb-preset-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #141419;
  border: 1px solid #22222b;
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 12px 18px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.rgb-preset-btn:hover, .rgb-preset-btn.active {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.preset-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.rgb-preview-bar {
  background: #141419;
  border: 1px solid #22222b;
  padding: 14px;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
  text-align: center;
}

.rgb-preview-bar strong { color: var(--red); }

/* Command App Simulator Window */
.showcase-section {
  background: radial-gradient(circle at 80% 50%, rgba(255, 32, 24, 0.08), transparent 45%);
}

.showcase-inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}

.mini-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 25px 0 35px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--muted);
}

.dashboard-window {
  background: #0d0d10;
  border: 1px solid #282832;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85);
}

.dash-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #14141a;
  border-bottom: 1px solid #22222b;
}

.dash-window-dots {
  display: flex;
  gap: 6px;
}

.dash-window-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.dash-title-text {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.dash-status {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  color: #39ff14;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-pulse {
  width: 6px;
  height: 6px;
  background: #39ff14;
  border-radius: 50%;
}

.dash-body {
  display: grid;
  grid-template-columns: 160px 1fr;
  min-height: 380px;
}

.dash-sidebar {
  background: #09090b;
  border-right: 1px solid #1c1c22;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  padding: 10px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.dash-nav-item:hover, .dash-nav-item.active {
  background: rgba(255, 32, 24, 0.12);
  color: #ffffff;
}

.dash-main-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-device-selector h4 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: #fff;
}

.dash-device-selector small {
  font-family: var(--font-heading);
  font-size: 10px;
  letter-spacing: 1px;
  color: #39ff14;
}

.battery-status { text-align: right; }

.battery-status span {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
}

.battery-bar {
  width: 80px;
  height: 6px;
  background: #1a1a22;
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}

.battery-fill {
  height: 100%;
  background: #39ff14;
}

.graph-card {
  background: #131318;
  border: 1px solid #22222b;
  padding: 16px;
}

.graph-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.polling-selector {
  display: flex;
  gap: 4px;
}

.poll-btn {
  background: #09090b;
  border: 1px solid #25252f;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  cursor: pointer;
}

.poll-btn.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}

.telemetry-canvas {
  width: 100%;
  height: 110px;
  display: block;
}

.dash-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.metric-card {
  background: #131318;
  border: 1px solid #22222b;
  padding: 12px;
}

.metric-card span {
  display: block;
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
}

.metric-card strong {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #ffffff;
  margin-top: 4px;
  display: block;
}

/* Technology Section */
.tech-section {
  background: #08080a;
  border-top: 1px solid #1a1a20;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tech-card {
  background: #0d0d10;
  border: 1px solid #1f1f26;
  padding: 40px 28px;
  position: relative;
  transition: all 0.3s ease;
}

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

.tech-num {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 2px;
}

.tech-icon-wrapper {
  font-size: 36px;
  color: var(--red);
  margin: 30px 0 20px;
}

.tech-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.tech-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* About Section */
.about-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 50px;
  align-items: center;
  border-top: 1px solid #1a1a20;
}

.about-mark {
  display: grid;
  place-items: center;
}

.about-brand-logo {
  width: 240px;
  height: auto;
}

.about-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Support Box */
.support-box {
  background: linear-gradient(135deg, #111115, #08080a);
  border: 1px solid #282832;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.support-box h2 {
  font-size: clamp(48px, 6vw, 84px);
  margin-bottom: 20px;
}

.support-box p {
  color: var(--muted);
  max-width: 540px;
  font-size: 17px;
  margin-bottom: 35px;
}

/* Footer */
footer {
  background: #040405;
  border-top: 1px solid #1a1a20;
  padding: 55px 7vw 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 28px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #181820;
  padding-top: 25px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #555;
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  display: none;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.open {
  display: grid;
  opacity: 1;
}

.modal-card {
  background: #0e0e12;
  border: 1px solid #2a2a35;
  width: min(650px, 100%);
  padding: 45px;
  position: relative;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.95);
}

.product-detail-modal { width: min(850px, 100%); }

.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

.modal-close:hover { color: #fff; }

.modal-product-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  align-items: center;
}

.modal-product-art {
  height: 260px;
  background: radial-gradient(circle at 50% 50%, rgba(255, 32, 24, 0.12), transparent 70%);
  border: 1px solid #1c1c24;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-product-art svg {
  width: 90%;
  height: 90%;
}

.modal-product-info h2 {
  font-size: 36px;
  margin-bottom: 12px;
}

.modal-badges {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.modal-desc {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.modal-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 30px;
  background: #14141a;
  border: 1px solid #22222b;
  padding: 16px;
}

.modal-spec-item .spec-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--muted);
}

.modal-spec-item .spec-val {
  font-family: var(--font-heading);
  font-size: 14px;
  color: #fff;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

/* Waitlist Form */
.form-input-group {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.form-input-group input {
  flex: 1;
  background: #08080a;
  border: 1px solid #2a2a35;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 14px 18px;
  outline: none;
}

.form-input-group input:focus { border-color: var(--red); }

.form-feedback {
  margin-top: 15px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  color: #39ff14;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding-top: 100px; text-align: center; }
  .hero-desc { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-hud-panel { max-width: 550px; margin: 0 auto; }
  .showcase-inner, .lab-container, .loadout-container { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: 1fr 1fr; }
  .about-section { grid-template-columns: 1fr; text-align: center; }
  .modal-product-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .hud-mini-status { display: none; }
  .menu-btn { display: flex; }
  .section { padding: 85px 5vw; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .tech-grid { grid-template-columns: 1fr; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-sidebar { flex-direction: row; overflow-x: auto; }
  .footer-top { flex-direction: column; gap: 25px; align-items: flex-start; }
  .form-input-group { flex-direction: column; }
}