/* ==========================================================================
   NUViA — Official Website
   High-End Liquid Glass Audiophile Showcase & Direct Download Hub
   ========================================================================== */

:root {
  color-scheme: dark;
  accent-color: #38bdf8;

  /* Color Palette */
  --bg-black: #000000;
  --bg-surface: #06080d;
  --bg-surface-elevated: #0c1018;
  --bg-card: rgba(16, 22, 34, 0.65);
  --bg-card-hover: rgba(24, 32, 48, 0.85);

  /* Liquid Glass System (Haze-inspired) */
  --glass-dock-bg: rgba(12, 16, 26, 0.82);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-hover: rgba(255, 255, 255, 0.22);
  --glass-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Text Colors */
  --text-pure: #ffffff;
  --text-sub: #cbd5e1;
  --text-muted: #8896ab;
  --text-dim: #4b5563;

  /* Accents */
  --cyan: #38bdf8;
  --teal: #06d6a0;
  --purple: #a855f7;
  --gold: #f59e0b;

  /* Radii */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-card: 28px;
  --radius-device: 44px;
  --radius-pill: 9999px;

  /* Transitions */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s ease-out;
  --transition-smooth: 0.35s var(--ease-apple);

  /* Scrollbar */
  --scrollbar-thumb: #1e293b;
  --scrollbar-track: #000000;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-black);
  color: var(--text-pure);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  background: var(--bg-black);
  line-height: 1.55;
}

::selection {
  background: rgba(56, 189, 248, 0.35);
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-black);
}

::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: var(--radius-pill);
}

::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   Ambient Dynamic Backlight Mesh (Hardware Accelerated 120FPS Atmosphere)
   ========================================================================== */

.ambient-aura {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  contain: strict;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

.aura-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  contain: layout paint;
  filter: blur(24px);
  -webkit-filter: blur(24px);
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.aura-1 {
  width: 750px;
  height: 750px;
  background: radial-gradient(circle at 50% 50%, rgba(0, 210, 255, 0.35) 0%, rgba(2, 132, 199, 0.18) 35%, rgba(2, 132, 199, 0.05) 55%, transparent 70%);
  top: -120px;
  left: 5%;
  animation: auraFloatOne 22s ease-in-out infinite alternate;
}

.aura-2 {
  width: 680px;
  height: 680px;
  background: radial-gradient(circle at 50% 50%, rgba(6, 214, 160, 0.3) 0%, rgba(5, 150, 105, 0.16) 35%, rgba(5, 150, 105, 0.04) 55%, transparent 70%);
  top: 30%;
  right: -70px;
  animation: auraFloatTwo 26s ease-in-out infinite alternate;
}

.aura-3 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.32) 0%, rgba(99, 102, 241, 0.16) 35%, rgba(99, 102, 241, 0.04) 55%, transparent 70%);
  bottom: 5%;
  left: 10%;
  animation: auraFloatThree 24s ease-in-out infinite alternate;
}

.aura-4 {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.28) 0%, rgba(16, 185, 129, 0.14) 35%, rgba(16, 185, 129, 0.04) 55%, transparent 70%);
  top: 60%;
  left: 45%;
  animation: auraFloatFour 28s ease-in-out infinite alternate;
}

.aura-5 {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.26) 0%, rgba(168, 85, 247, 0.14) 35%, rgba(168, 85, 247, 0.04) 55%, transparent 70%);
  top: 15%;
  right: 25%;
  animation: auraFloatFive 30s ease-in-out infinite alternate;
}

@keyframes auraFloatOne {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(140px, 90px, 0);
  }
  100% {
    transform: translate3d(-70px, 140px, 0);
  }
}

@keyframes auraFloatTwo {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-140px, -100px, 0);
  }
  100% {
    transform: translate3d(-70px, 110px, 0);
  }
}

@keyframes auraFloatThree {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(140px, -110px, 0);
  }
  100% {
    transform: translate3d(50px, 90px, 0);
  }
}

@keyframes auraFloatFour {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-110px, 120px, 0);
  }
  100% {
    transform: translate3d(110px, -70px, 0);
  }
}

@keyframes auraFloatFive {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-120px, 90px, 0);
  }
  100% {
    transform: translate3d(100px, -100px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aura-orb {
    animation-duration: 90s !important;
  }
}

/* Container & Shell */
.site-content {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3.5vw, 2.5rem);
}

.section {
  padding-block: clamp(4.5rem, 8vw, 7.5rem);
}

#experience,
#audiophile,
#changelog,
#downloads {
  content-visibility: auto;
  contain-intrinsic-size: 0 750px;
}

.section-intro {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(3rem, 5.5vw, 4.5rem);
}

.intro-tag {
  display: inline-block;
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.85rem;
}

.intro-heading {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1rem;
}

.intro-desc {
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Floating Liquid Glass Top Island (Desktop & Mobile Premium)
   ========================================================================== */

.floating-header-wrapper {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 1.25rem;
  pointer-events: none;
}

.floating-navbar-island {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
  background: var(--glass-dock-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.55rem 0.45rem 1.35rem;
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-smooth);
  width: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.floating-navbar-island:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 25px rgba(56, 189, 248, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transform: translateY(-1px);
}

.brand-combo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Exactly ONE Logo Icon */
.brand-icon-mark {
  height: 22px;
  width: auto;
  display: block;
}

.brand-name-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.nav-links-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.8vw, 1.75rem);
}

.nav-link-btn {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-pill);
}

.nav-link-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
}

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

.nav-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-fast);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}

.nav-cta-pill:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.35);
}

/* Mobile Menu Button (Hamburger) */
.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: all var(--transition-fast);
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.25);
}

.hamburger-line {
  display: block;
  width: 16px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s var(--ease-apple), opacity 0.25s ease;
}

.mobile-menu-btn.open .line-1 {
  transform: translateY(3.5px) rotate(45deg);
}

.mobile-menu-btn.open .line-2 {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile Navigation Glass Drawer */
.mobile-nav-drawer {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  pointer-events: none;
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
  transition: opacity 0.25s var(--ease-apple), transform 0.25s var(--ease-apple);
  z-index: 99;
}

.mobile-nav-drawer.open {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mobile-drawer-inner {
  background: rgba(10, 14, 22, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transform: translateZ(0);
}

.mobile-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-size: 1rem;
  font-weight: 600;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.mobile-nav-link svg {
  color: #64748b;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.mobile-nav-link:hover svg {
  color: #ffffff;
  transform: translateX(3px);
}

.mobile-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer-btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
}

.drawer-btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-wrap {
  padding-top: clamp(6.5rem, 11vw, 9.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 8rem);
}

.hero-grid-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 5.5rem);
}

.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 1.15rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.hero-pill-badge .active-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.hero-h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.highlight-cyan {
  color: var(--cyan);
  background: linear-gradient(135deg, #38bdf8 0%, #06d6a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.btn-white-action {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.btn-white-action:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

.btn-subinfo {
  font-size: 0.775rem;
  color: #64748b;
  margin-left: 0.25rem;
  font-weight: 600;
}

.btn-glass-action {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 1.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-smooth);
}

.btn-glass-action:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.hero-specs-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.spec-unit {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.spec-unit-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.spec-unit-label {
  font-size: 0.775rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Hero Live Video Centrepiece
   ========================================================================== */

.hero-phone-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.phone-ambient-aura {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -10%);
  width: 380px;
  height: 480px;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.28) 0%, rgba(6, 214, 160, 0.12) 38%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  contain: strict;
}

.phone-titanium-bezel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 315px;
  border-radius: var(--radius-device);
  padding: 6px;
  background: linear-gradient(145deg, #2a2f3a 0%, #11141c 50%, #20242e 100%);
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.3);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.phone-camera-punchhole {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: #000000;
  border-radius: 50%;
  z-index: 3;
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.15);
}

.phone-screen-viewport {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 9 / 19.5;
  width: 100%;
  transform: translateZ(0);
}

.phone-screen-viewport video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Video Switcher Bar */
.video-switcher-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  max-width: 360px;
}

.video-demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-pill);
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.video-demo-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
}

.video-demo-pill.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
}

.video-sound-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.video-sound-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* ==========================================================================
   The NUViA Experience: Master Interactive Showcase
   Full Uncropped Screens, Zero Chopping, Real Device Proportions
   ========================================================================== */

.experience-section-wrap {
  background: transparent;
  border: none;
}

.gallery-tabs-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.gallery-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #475569;
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.gallery-tab:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.18);
}

.gallery-tab.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.25);
}

.gallery-tab.active .tab-dot {
  background: #0284c7;
  box-shadow: 0 0 6px #0284c7;
}

/* Master Stage Layout */
.master-showcase-stage {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.showcase-device-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.stage-ambient-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -10%);
  width: 360px;
  height: 480px;
  background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.28) 0%, rgba(6, 214, 160, 0.12) 40%, transparent 70%);
  z-index: 0;
  pointer-events: none;
  contain: strict;
  transition: background 0.4s ease;
}

.stage-titanium-phone {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 310px;
  border-radius: var(--radius-device);
  padding: 6px;
  background: linear-gradient(145deg, #2a2f3a 0%, #11141c 50%, #20242e 100%);
  box-shadow: 0 35px 85px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.stage-screen-view {
  position: relative;
  border-radius: 38px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 9 / 19.5;
  width: 100%;
  transform: translateZ(0);
}

.stage-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.stage-screen-img.switching {
  opacity: 0.2;
  transform: scale(0.98);
}

/* Narrative Card */
.showcase-content-wrapper {
  display: flex;
  flex-direction: column;
}

.glass-narrative-card {
  background: rgba(14, 20, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-card);
  padding: clamp(2rem, 4.5vw, 3.5rem);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  transition: border-color var(--transition-fast);
}

.glass-narrative-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.narrative-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 0.65rem;
}

.narrative-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.narrative-lead {
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.narrative-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.narrative-box {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.box-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.box-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.narrative-footer {
  display: flex;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.credit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: #94a3b8;
  padding: 0.45rem 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.credit-pill strong {
  color: #ffffff;
}

/* ==========================================================================
   Audiophile Spec Tri-Grid
   ========================================================================== */

.specs-tri-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.spec-tile {
  background: rgba(14, 20, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.spec-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.spec-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.spec-tile h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  line-height: 1.25;
}

.spec-tile p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.spec-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.spec-bullet-list li {
  font-size: 0.85rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spec-bullet-list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan);
  flex-shrink: 0;
}

/* ==========================================================================
   Changelog
   ========================================================================== */

.changelog-section-wrap {
  background: transparent;
}

.changelog-card-frame {
  background: rgba(14, 20, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-card);
  padding: clamp(2rem, 4vw, 3.5rem);
}

.changelog-header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 2.25rem;
}

.changelog-badge-combo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.version-chip-solid {
  font-size: 0.85rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #000000;
}

.changelog-status-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.changelog-platform-note {
  font-size: 0.825rem;
  color: var(--text-dim);
}

.changelog-3col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.changelog-col-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.changelog-items-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.changelog-items-ul li {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.changelog-items-ul li strong {
  color: var(--text-sub);
}

/* ==========================================================================
   Download Hub (Mobile & TV ONLY)
   ========================================================================== */

.download-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.dl-tab-pill {
  padding: 0.75rem 2.25rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.dl-tab-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.dl-tab-pill.active {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.dl-pane {
  display: none;
}

.dl-pane.active {
  display: block;
}

.dl-platform-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.dl-product-card {
  background: rgba(14, 20, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 2.25rem 1.85rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.dl-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
}

.dl-product-card.top-choice {
  border-color: rgba(56, 189, 248, 0.35);
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.06) 0%, rgba(6, 8, 13, 0.95) 100%);
}

.choice-tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--cyan);
  color: #000000;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
}

.choice-tag-tv {
  background: #a855f7;
  color: #ffffff;
}

.product-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.product-subtext {
  font-size: 0.8rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.product-blurb {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.install-guide-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.install-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--cyan);
  flex-shrink: 0;
}

.step-title {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.step-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: none;
  padding-block: 4.5rem 3rem;
  background: transparent;
}

.footer-content-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 4rem;
}

.footer-brand-side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.6;
}

.footer-license {
  font-size: 0.775rem;
  color: var(--text-dim);
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-grid-split,
  .master-showcase-stage {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .hero-text-block,
  .showcase-content-wrapper {
    align-items: center;
  }

  .hero-btn-row {
    justify-content: center;
  }

  .hero-specs-row {
    justify-content: center;
    text-align: center;
  }

  .dl-platform-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .specs-tri-grid,
  .changelog-3col-grid {
    grid-template-columns: 1fr;
  }

  .narrative-footer {
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .floating-header-wrapper {
    top: 0.75rem;
    padding-inline: 0.75rem;
  }

  .floating-navbar-island {
    width: 100%;
    max-width: 440px;
    padding: 0.45rem 0.65rem 0.45rem 1.15rem;
    gap: 0.75rem;
  }

  .nav-links-menu {
    display: none;
  }

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

  .nav-cta-pill {
    padding: 0.48rem 0.95rem;
    font-size: 0.825rem;
  }

  .install-guide-strip,
  .footer-content-wrap {
    grid-template-columns: 1fr;
  }

  .footer-links-side {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .dl-platform-cards {
    grid-template-columns: 1fr;
  }

  .narrative-grid {
    grid-template-columns: 1fr;
  }

  .hero-specs-row {
    gap: 1.25rem;
  }

  .footer-links-side {
    grid-template-columns: 1fr;
  }

  .floating-navbar-island {
    padding: 0.4rem 0.5rem 0.4rem 0.95rem;
  }

  .brand-name-text {
    font-size: 1.05rem;
  }

  .brand-icon-mark {
    height: 19px;
  }

  .nav-cta-pill {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }
}
