/* ==========================================================================
   EQUA — 3D INTERACTIVE BIO-INTELLIGENCE PORTFOLIO & LANDING PAGE
   Awwwards SOTD / Creative Agency Standard (High-End Editorial Styling)
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #040406;
  --bg-secondary: #0a0b10;
  --bg-card: rgba(12, 14, 20, 0.78);
  --bg-card-hover: rgba(18, 20, 30, 0.92);

  /* Signature Rings & Neon Accents */
  --accent-green: #00F5A0;        /* Ring 01: Nutrition & Intake */
  --accent-green-glow: rgba(0, 245, 160, 0.45);
  
  --accent-coral: #FF3366;        /* Ring 02: Active Burn & Exertion */
  --accent-coral-glow: rgba(255, 51, 102, 0.45);
  
  --accent-purple: #A855F7;       /* Ring 03: Sleep & Recovery */
  --accent-purple-glow: rgba(168, 85, 247, 0.45);

  --accent-cyan: #00F0FF;
  --accent-cyan-glow: rgba(0, 240, 255, 0.35);

  --accent-gold: #FFB800;

  /* Typography Colors */
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-focus: rgba(0, 245, 160, 0.6);

  /* Typography Families */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Syne', sans-serif;
  --font-sub: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Lenis Smooth Scroll Integration */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-green);
}

/* Selection */
::selection {
  background: var(--accent-green);
  color: #000;
}

/* Accessible Focus States */
:focus-visible {
  outline: 2px solid var(--accent-green);
  outline-offset: 3px;
}

/* Utilities */
.font-mono { font-family: var(--font-mono); }
.text-green { color: var(--accent-green); }
.text-coral { color: var(--accent-coral); }
.text-purple { color: var(--accent-purple); }
.text-cyan { color: var(--accent-cyan); }
.text-center { text-align: center; }

/* 3D WebGL Canvas Layer */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: auto;
}

#webgl-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Ambient Background Overlays */
.ambient-vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(4, 4, 6, 0.12) 0%, rgba(4, 4, 6, 0.85) 80%, rgba(4, 4, 6, 0.98) 100%);
  pointer-events: none;
  z-index: 2;
}

.ambient-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    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;
  pointer-events: none;
  z-index: 2;
  opacity: 0.5;
}

/* 3D Realtime Projected Hotspots */
.hotspots-overlay-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 8;
}

.hotspot-node {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: auto;
  opacity: 0;
  transition: opacity 0.35s ease;
  will-change: transform, opacity;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hotspot-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 16px var(--accent-green-glow);
  position: relative;
  cursor: pointer;
}

.hotspot-dot::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--accent-green);
  opacity: 0.7;
  animation: hotspotPulse 2s infinite ease-out;
}

@keyframes hotspotPulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hotspot-card {
  background: rgba(10, 12, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 245, 160, 0.3);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  white-space: nowrap;
  pointer-events: none;
}

.hotspot-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--accent-green);
  letter-spacing: 0.12em;
}

.hotspot-title {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
}

.hotspot-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
}

@media (max-width: 1080px) {
  .hotspots-overlay-container { display: none; }
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #040406;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.9s var(--ease-out), opacity 0.9s var(--ease-out);
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 90%;
  max-width: 420px;
}

.preloader-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.preloader-logo .logo-symbol {
  font-size: 2rem;
  color: var(--accent-green);
  text-shadow: 0 0 20px var(--accent-green-glow);
  animation: pulseRotate 3s infinite linear;
}

.preloader-logo .logo-text {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #fff;
}

.preloader-bar-wrapper {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-coral), var(--accent-purple));
  box-shadow: 0 0 15px var(--accent-green-glow);
  transition: width 0.15s ease;
}

.preloader-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.preloader-percentage {
  color: var(--accent-green);
  font-weight: 700;
}

.preloader-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 160, 0.6), transparent);
  animation: scanlineAnim 2.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes scanlineAnim {
  0% { transform: translateY(0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(100vh); opacity: 0; }
}

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

/* Floating HUD Header */
.hud-header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1320px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: rgba(8, 10, 15, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  z-index: 100;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
}

.brand-symbol {
  display: flex;
  gap: 4px;
}

.ring-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.ring-green { background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green-glow); }
.ring-coral { background: var(--accent-coral); box-shadow: 0 0 8px var(--accent-coral-glow); }
.ring-purple { background: var(--accent-purple); box-shadow: 0 0 8px var(--accent-purple-glow); }

.brand-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.brand-version {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--text-muted);
}

.hud-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.25s ease;
}

.nav-link span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Audio Toggle Button */
.hud-audio-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hud-audio-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-green);
  color: #fff;
}

.audio-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.audio-equalizer span {
  width: 2px;
  height: 3px;
  background: var(--accent-green);
  border-radius: 1px;
  transition: height 0.2s ease;
}

.audio-equalizer.playing span:nth-child(1) { animation: eqBar 0.8s infinite ease-in-out; }
.audio-equalizer.playing span:nth-child(2) { animation: eqBar 0.5s infinite ease-in-out 0.2s; }
.audio-equalizer.playing span:nth-child(3) { animation: eqBar 0.7s infinite ease-in-out 0.4s; }
.audio-equalizer.playing span:nth-child(4) { animation: eqBar 0.6s infinite ease-in-out 0.1s; }

@keyframes eqBar {
  0%, 100% { height: 3px; }
  50% { height: 12px; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.45rem;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: none;
}

.btn-primary {
  background: #fff;
  color: #000;
}
.btn-primary:hover {
  background: var(--accent-green);
  box-shadow: 0 0 25px var(--accent-green-glow);
  transform: translateY(-2px);
}

.btn-glow {
  background: linear-gradient(135deg, var(--accent-green), #00c782);
  color: #000;
  box-shadow: 0 0 30px var(--accent-green-glow);
}
.btn-glow:hover {
  box-shadow: 0 0 45px rgba(0, 245, 160, 0.7);
  transform: translateY(-2px) scale(1.02);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.btn-outline:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}
.btn-full { width: 100%; }

/* Fixed Telemetry Sidebars */
.telemetry-bar {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  z-index: 10;
  pointer-events: none;
}

.telemetry-left { left: 2.2rem; }
.telemetry-right { right: 2.2rem; text-align: right; }

.telemetry-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.telemetry-item .item-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.telemetry-item .item-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.telemetry-right .item-val { justify-content: flex-end; }

.pulsing-led {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulseLed 2s infinite ease-in-out;
}

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

/* Layout Containers & Sections */
.content-wrapper {
  position: relative;
  z-index: 5;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 6.5rem 0;
}

.section-header {
  margin-bottom: 3.2rem;
  max-width: 720px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-green);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* HERO SECTION (EDITORIAL BRUTALIST LUXURY) */
.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 7rem;
  user-select: none;
}

.hero-content {
  max-width: 620px;
  position: relative;
  z-index: 10;
  margin-left: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.4rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

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

.gradient-text {
  background: linear-gradient(135deg, #fff 0%, var(--accent-green) 50%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle-line {
  color: var(--text-muted);
  font-size: 0.85em;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.interactive-3d-hint {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 3.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.mouse-icon {
  width: 18px;
  height: 28px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 9px;
  position: relative;
}

.mouse-wheel {
  width: 2px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 1px;
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseWheel 2s infinite ease-in-out;
}

@keyframes mouseWheel {
  0% { top: 4px; opacity: 1; }
  100% { top: 14px; opacity: 0; }
}

/* EDITORIAL TICKER MARQUEE */
.ticker-marquee-container {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  background: rgba(0, 245, 160, 0.04);
  border-top: 1px solid rgba(0, 245, 160, 0.18);
  border-bottom: 1px solid rgba(0, 245, 160, 0.18);
  padding: 0.85rem 0;
  user-select: none;
  pointer-events: none;
}

.marquee-content {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--accent-green);
  animation: tickerScroll 24s linear infinite;
}

.ticker-sep {
  color: var(--text-muted);
  opacity: 0.6;
}

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

/* SECTION 1: TRI-RINGS DASHBOARD */
.rings-dashboard-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.slider-group {
  margin-bottom: 1.6rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.slider-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ring-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.ring-indicator-green { background: var(--accent-green); box-shadow: 0 0 8px var(--accent-green); }
.ring-indicator-coral { background: var(--accent-coral); box-shadow: 0 0 8px var(--accent-coral); }
.ring-indicator-purple { background: var(--accent-purple); box-shadow: 0 0 8px var(--accent-purple); }

.slider-name {
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.slider-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.hud-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.hud-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hud-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-green::-webkit-slider-thumb {
  background: var(--accent-green);
  box-shadow: 0 0 14px var(--accent-green);
}
.slider-coral::-webkit-slider-thumb {
  background: var(--accent-coral);
  box-shadow: 0 0 14px var(--accent-coral);
}
.slider-purple::-webkit-slider-thumb {
  background: var(--accent-purple);
  box-shadow: 0 0 14px var(--accent-purple);
}

.slider-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.45rem;
}

.ring-details-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.ring-metric-card {
  transition: transform 0.3s var(--ease-out), border-color 0.3s ease;
}

.ring-metric-card:hover {
  transform: translateX(6px);
  border-color: rgba(255, 255, 255, 0.25);
}

.metric-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
}

.metric-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 8px;
  border-radius: 4px;
}
.green-badge { background: rgba(0, 245, 160, 0.15); color: var(--accent-green); }
.coral-badge { background: rgba(255, 51, 102, 0.15); color: var(--accent-coral); }
.purple-badge { background: rgba(168, 85, 247, 0.2); color: #c084fc; }

.metric-reading {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.metric-reading small {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.metric-body {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0.85rem;
}

.metric-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  color: var(--text-secondary);
}

/* SECTION 5: TECHNICAL SPECS MATRIX */
.specs-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.spec-matrix-card {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.matrix-icon {
  font-size: 1.8rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.matrix-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

.matrix-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* SECTION 6: VIP PRE-ORDER */
.order-box-card {
  padding: 4rem 3rem;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.order-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--accent-green);
  padding: 4px 12px;
  background: rgba(0, 245, 160, 0.1);
  border: 1px solid rgba(0, 245, 160, 0.25);
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.order-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
}

.order-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 2.5rem;
}

.order-form {
  max-width: 520px;
  margin: 0 auto 1.5rem;
}

.input-wrap {
  display: flex;
  gap: 0.5rem;
  background: rgba(10, 11, 16, 0.9);
  padding: 0.4rem;
  border-radius: 9999px;
  border: 1px solid var(--border-subtle);
  transition: border-color 0.3s ease;
}

.input-wrap:focus-within {
  border-color: var(--accent-green);
  box-shadow: 0 0 20px var(--accent-green-glow);
}

.hud-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.8rem 1.4rem;
  color: #fff;
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
}

.hud-input::placeholder {
  color: var(--text-muted);
}

.order-success-msg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-green);
  margin-top: 1.5rem;
}

.order-guarantees {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.order-guarantees span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* FOOTER */
.hud-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(4, 4, 6, 0.96);
  padding: 5rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.footer-brand .brand-logo {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 360px;
  margin-bottom: 1.5rem;
}

.behance-credit {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.behance-credit a {
  color: var(--accent-green);
  text-decoration: none;
}

.behance-credit a:hover {
  text-decoration: underline;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.link-col h5 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.link-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 0.7rem;
  transition: color 0.2s ease;
}

.link-col a:hover {
  color: #fff;
}

.footer-disclaimer-box {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-disclaimer-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.5;
  text-align: center;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-status-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1080px) {
  .telemetry-bar { display: none; }
  .rings-dashboard-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .hud-nav { display: none; }
  .hud-header {
    width: calc(100% - 1.5rem);
    padding: 0 0.85rem;
    height: 56px;
  }
  .brand-title { font-size: 1.1rem; }
  .brand-version { display: none; }
  .hud-audio-btn .audio-label { display: none; }
  .hud-audio-btn { padding: 0.45rem 0.65rem; }
  .section-hero { padding-top: 5.5rem; text-align: center; justify-content: center; }
  .hero-content { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .interactive-3d-hint { justify-content: center; }
  .footer-links-group { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .input-wrap { flex-direction: column; border-radius: 1rem; }
  .btn-primary, .btn-glow { width: 100%; }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.1rem;
  }
  .hud-header {
    width: calc(100% - 1rem);
    padding: 0 0.6rem;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .section {
    padding: 4.5rem 0;
  }
  .food-pill-btn {
    width: 100%;
    justify-content: center;
  }
  .macro-highlight {
    padding: 1rem;
  }
  .macro-num {
    font-size: 2.4rem;
  }
  .order-box-card {
    padding: 2.5rem 1.2rem;
  }
}

/* ACCESSIBILITY: REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .preloader-scanline, .laser-sweep-line, .marquee-content {
    animation: none !important;
  }
}
