/* AURA ACOUSTICS - Modern Visual Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;600;700;800;900&display=swap');

:root {
  --bg-dark: #07080b;
  --bg-surface: #0f1118;
  --bg-glass: rgba(18, 22, 34, 0.65);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 240, 255, 0.3);
  
  --cyan-primary: #00f0ff;
  --cyan-glow: rgba(0, 240, 255, 0.4);
  --purple-accent: #7000ff;
  --amber-accent: #ff9e00;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(0, 240, 255, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(112, 0, 255, 0.05) 0%, transparent 45%);
  background-attachment: fixed;
}

/* Typography Helpers */
h1, h2, h3, h4, .brand-font {
  font-family: var(--font-heading);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--cyan-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  color: var(--cyan-primary);
}

.fictional-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(255, 158, 0, 0.12);
  border: 1px solid rgba(255, 158, 0, 0.3);
  color: var(--amber-accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

/* Glassmorphism Panel */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.1);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 5%;
  transition: background var(--transition-normal), padding var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(7, 8, 11, 0.85);
  backdrop-filter: blur(20px);
  padding: 12px 5%;
  border-bottom: 1px solid var(--border-glass);
}

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

.brand-logo img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--cyan-primary);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--cyan-primary), #00a8ff);
  color: #04060a;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 0 20px var(--cyan-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: none;
  cursor: pointer;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.6);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--cyan-primary);
}

/* Assembly & Disassembly Interactive Scroll Hero */
.hero-assembly-section {
  position: relative;
  width: 100%;
}

.hero-assembly-track {
  height: 300vh; /* 3x Viewport height for precise assembly control */
  position: relative;
}

.hero-assembly-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 90px 24px 30px;
}

.hero-assembly-header {
  text-align: center;
  max-width: 800px;
  z-index: 20;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-assembly-header h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 10px 0 12px;
}

.hero-assembly-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Assembly Stage Container */
.assembly-stage {
  position: relative;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
  background: #030407;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 240, 255, 0.1);
  z-index: 10;
}

.assembly-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  will-change: transform, opacity, filter;
}

.state-exploded {
  z-index: 10;
  opacity: 1;
}

.state-assembled {
  z-index: 12;
  opacity: 0;
  transform: scale(1.1);
  filter: brightness(1);
}

/* Glowing Energy Burst Ring */
.assembly-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.2);
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 2px solid var(--cyan-primary);
  box-shadow: 0 0 50px var(--cyan-primary), inset 0 0 30px var(--cyan-primary);
  opacity: 0;
  z-index: 15;
  pointer-events: none;
  transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

/* Callout Badges over Exploded View */
.assembly-callout {
  position: absolute;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-full);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.badge-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--cyan-primary);
  color: #000;
  font-weight: 800;
  font-size: 0.75rem;
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan-primary);
}

.assembly-callout strong {
  display: block;
  font-size: 0.8rem;
  color: var(--text-main);
}

.assembly-callout p {
  font-size: 0.7rem;
  color: var(--cyan-primary);
  margin: 0;
}

.badge-diaphragm { top: 22%; left: 24%; }
.badge-pcb { top: 18%; left: 52%; }
.badge-cyan { bottom: 24%; right: 28%; }
.badge-titanium { bottom: 20%; left: 16%; }

/* Bottom Status & Progress Bar */
.assembly-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  max-width: 960px;
  z-index: 20;
  padding: 8px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
}

.assembly-status-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--cyan-primary);
  text-transform: uppercase;
}

.assembly-progress-track {
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.assembly-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-primary), var(--purple-accent));
  transition: width 0.05s linear;
}

.assembly-state-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 1px;
  min-width: 130px;
  text-align: right;
}

.hero-img-desktop {
  width: 100%;
  max-width: 640px;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.1);
}

.hero-img-mobile {
  display: none;
  width: 100%;
  max-width: 320px;
  border-radius: var(--radius-md);
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 60px;
  padding: 0 20px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-top: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 12px;
}

/* Source of Truth / Brand Sheet Section */
.sot-section {
  padding: 100px 5%;
  max-width: 1280px;
  margin: 0 auto;
}

.sot-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
  color: #fff;
  border-color: var(--cyan-primary);
  background: rgba(0, 240, 255, 0.1);
}

.sot-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.sot-img-container {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
}

.sot-img-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-normal);
}

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

.sot-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.spec-list li strong {
  color: var(--text-main);
  min-width: 130px;
}

/* Interactive Exploded View Section */
.exploded-section {
  padding: 100px 5%;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 17, 24, 0.8) 50%, transparent 100%);
}

.hotspot-viewer {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.hotspot-viewer img {
  width: 100%;
  height: auto;
  display: block;
}

.hotspot {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.3);
  border: 2px solid var(--cyan-primary);
  cursor: pointer;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 15px var(--cyan-primary);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.hotspot::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px stroke var(--cyan-primary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hotspot:hover, .hotspot.active {
  transform: translate(-50%, -50%) scale(1.25);
  background: var(--cyan-primary);
  color: #000;
}

/* Exploded Card Details Drawer */
.hotspot-info-box {
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.hotspot-info-box h4 {
  color: var(--cyan-primary);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

/* Interactive 360 & Motion Fallback Section */
.motion-section {
  padding: 100px 5%;
  max-width: 1280px;
  margin: 0 auto;
}

.motion-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.motion-canvas-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: #000;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.motion-frame {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.motion-slider-container {
  max-width: 600px;
  margin: 24px auto 0;
  text-align: center;
}

.motion-slider {
  width: 100%;
  accent-color: var(--cyan-primary);
  cursor: pointer;
}

/* Audio Visualizer Section */
.visualizer-section {
  padding: 100px 5%;
  background: rgba(15, 17, 24, 0.5);
}

.visualizer-card {
  max-width: 1000px;
  margin: 0 auto;
  padding: 32px;
  text-align: center;
}

#audioCanvas {
  width: 100%;
  height: 180px;
  background: #040508;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-glass);
  margin: 24px 0;
}

/* Specs Table */
.specs-section {
  padding: 100px 5%;
  max-width: 1280px;
  margin: 0 auto;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 32px;
  text-align: left;
}

.specs-table th, .specs-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-glass);
}

.specs-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--cyan-primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.specs-table td {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.specs-table tr:hover td {
  background: rgba(255, 255, 255, 0.015);
  color: var(--text-main);
}

/* Footer */
footer {
  padding: 60px 5% 40px;
  border-top: 1px solid var(--border-glass);
  background: #040508;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

footer p {
  margin-bottom: 12px;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2.75rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .sot-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-img-desktop {
    display: none;
  }
  .hero-img-mobile {
    display: block;
  }
  .nav-links {
    display: none; /* Hide on simple mobile view */
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
}
