/* 
  SONO XR - IMMERSIVE SHOWCASE PLATFORM
  DESIGN SYSTEM & BASE STYLESHEET (TRON: LEGACY EDITION)
*/

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

:root {
  /* Color Palette (Tron Legacy: Cyan vs Orange on Pitch Black) */
  --bg-dark: #000000;
  --bg-panel: rgba(4, 6, 10, 0.88);
  --bg-panel-solid: #030509;
  --bg-panel-light: rgba(0, 240, 255, 0.03);
  
  --primary: #ff6c00;       /* Tron Orange (Clu / Villain / Core Admin) */
  --primary-glow: rgba(255, 108, 0, 0.45);
  --secondary: #00f0ff;     /* Tron Cyan (Sam Flynn / Grid Core) */
  --secondary-glow: rgba(0, 240, 255, 0.5);
  --accent: #ff0055;        /* Grid red alert */
  --accent-glow: rgba(255, 0, 85, 0.4);
  
  --success: #00ff66;       /* Neon Green */
  --success-glow: rgba(0, 255, 102, 0.3);
  --warning: #ffb700;       
  --danger: #ff0055;        
  
  --text-primary: #ffffff;
  --text-muted: #8fa0b5;
  --text-dim: #4c5d73;
  
  --border-glass: rgba(0, 240, 255, 0.12);
  --border-neon-primary: rgba(255, 108, 0, 0.35);
  --border-neon-secondary: rgba(0, 240, 255, 0.35);
  
  /* Fonts */
  --font-title: 'Orbitron', sans-serif;
  --font-tech: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  --font-body: 'Outfit', sans-serif;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Base Settings */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: var(--secondary) var(--bg-dark);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 240, 255, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 108, 0, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: var(--border-neon-secondary);
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--secondary);
}

/* Cyber Grid & Background Canvas */
.cyber-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 1;
}

#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Custom Interactive Cursor */
#custom-cursor {
  position: fixed;
  width: 6px;
  height: 6px;
  background-color: var(--secondary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.1s, height 0.1s, background-color 0.1s;
  box-shadow: 0 0 10px var(--secondary);
}

#custom-cursor-ring {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 1.5px solid var(--secondary-glow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.15s cubic-bezier(0.1, 0.8, 0.3, 1), height 0.15s cubic-bezier(0.1, 0.8, 0.3, 1), border-color 0.15s;
}

.hover-active #custom-cursor {
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}
.hover-active #custom-cursor-ring {
  width: 42px;
  height: 42px;
  border-color: var(--primary);
}

/* Glassmorphism Panel styles */
.glass-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 4px; /* Sharp corners for modern Tron aesthetic */
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.7);
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

/* Tron corner accents */
.glass-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--secondary);
  border-left: 2px solid var(--secondary);
}

.glass-panel::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid var(--secondary);
  border-right: 2px solid var(--secondary);
}

.glass-panel.glow-cyan:hover {
  border-color: var(--secondary);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

.glass-panel.glow-orange {
  border: 1px solid rgba(255, 108, 0, 0.15);
}
.glass-panel.glow-orange::after {
  border-top-color: var(--primary);
  border-left-color: var(--primary);
}
.glass-panel.glow-orange::before {
  border-bottom-color: var(--primary);
  border-right-color: var(--primary);
}

.glass-panel.glow-orange:hover {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(255, 108, 0, 0.2);
}

/* Headings & Typography */
.font-tech {
  font-family: var(--font-tech);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.font-mono {
  font-family: var(--font-mono);
}

.font-title {
  font-family: var(--font-title);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--text-primary);
}

/* Futuristic Badges */
.badge-tech {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid var(--border-neon-secondary);
  color: var(--secondary);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.badge-tech .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--secondary);
  box-shadow: 0 0 8px var(--secondary);
  animation: pulse-glow 2s infinite;
}

.badge-tech.orange {
  background: rgba(255, 108, 0, 0.05);
  border-color: var(--border-neon-primary);
  color: var(--primary);
}

.badge-tech.orange .dot {
  background-color: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

/* Buttons (Tron Light-Cycle Ribbon Effect) */
.btn-cyber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid var(--border-neon-secondary);
  color: var(--secondary);
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 12px 28px;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  text-decoration: none;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.05);
}

.btn-cyber::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.25), transparent);
  transition: 0.4s;
  pointer-events: none;
}

.btn-cyber:hover {
  border-color: var(--secondary);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  transform: translateY(-1px);
  color: #fff;
  text-shadow: 0 0 5px var(--secondary);
}

.btn-cyber:hover::before {
  left: 100%;
}

.btn-cyber.btn-orange {
  border-color: var(--border-neon-primary);
  color: var(--primary);
  box-shadow: 0 0 10px rgba(255, 108, 0, 0.05);
}

.btn-cyber.btn-orange::before {
  background: linear-gradient(90deg, transparent, rgba(255, 108, 0, 0.25), transparent);
}

.btn-cyber.btn-orange:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(255, 108, 0, 0.3);
  color: #fff;
  text-shadow: 0 0 5px var(--primary);
}

.btn-cyber.btn-solid {
  background: var(--secondary);
  color: #000;
  border-color: transparent;
  box-shadow: 0 0 15px var(--secondary-glow);
}

.btn-cyber.btn-solid:hover {
  background: #fff;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
  color: #000;
  text-shadow: none;
}

/* HEADER & NAVBAR */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  backdrop-filter: blur(16px);
  transition: var(--transition-normal);
}

#header.scrolled {
  background: rgba(0, 0, 0, 0.95);
  border-color: rgba(0, 240, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.15);
}

.navbar {
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 32px;
  width: auto;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.5px;
  background: var(--secondary);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--secondary);
  text-shadow: 0 0 8px var(--secondary-glow);
}

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

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

.btn-login-link {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition-fast);
}

.btn-login-link:hover {
  color: var(--primary);
  text-shadow: 0 0 8px var(--primary-glow);
}

/* PAGE WRAPPER & SECTIONS */
#page-container {
  padding-top: 80px;
  position: relative;
  z-index: 10;
}

.section {
  padding: 100px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-tag {
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
}

.section-title span {
  color: var(--secondary);
  text-shadow: 0 0 15px var(--secondary-glow);
}

/* HERO SECTION */
#hero {
  position: relative;
  min-height: calc(85vh - 80px);
  display: flex;
  align-items: center;
  padding: 60px 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.hero-title {
  font-size: 3.6rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.hero-title span {
  color: var(--secondary);
  text-shadow: 0 0 20px var(--secondary-glow);
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 15px;
}

/* Telemetry HUD Panel on Hero */
.hero-hud {
  width: 100%;
  max-width: 480px;
}

.hud-panel {
  border: 1px solid rgba(0, 240, 255, 0.1);
  background: rgba(2, 4, 8, 0.85);
  border-radius: 4px;
  padding: 20px;
  font-size: 0.85rem;
  position: relative;
}

.hud-panel::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 1.5px;
  background: linear-gradient(90deg, var(--secondary), transparent);
}

.hud-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  padding-bottom: 8px;
}

.hud-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  color: var(--text-muted);
}

.hud-row span.val {
  color: var(--text-primary);
}

.glow-text-green {
  color: var(--success);
  text-shadow: 0 0 8px var(--success-glow);
}

.glow-text-cyan {
  color: var(--secondary);
  text-shadow: 0 0 10px var(--secondary-glow);
}

.glow-text-orange {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary-glow);
}

/* BRAND TICKER */
.brand-ticker-section {
  padding: 45px 0;
  background: rgba(2, 4, 8, 0.95);
  border-top: 1px solid rgba(0, 240, 255, 0.08);
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  overflow: hidden;
}

.brand-ticker-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.brand-ticker-title {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  letter-spacing: 0.2em;
}

.brand-ticker-wrapper {
  display: flex;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.brand-ticker-track {
  display: flex;
  gap: 30px;
  animation: scroll-ticker 30s linear infinite;
  white-space: nowrap;
}

.brand-capsule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 240, 255, 0.02);
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: 2px;
  padding: 10px 20px;
  color: var(--text-muted);
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  transition: var(--transition-fast);
}

.brand-capsule:hover {
  background: rgba(0, 240, 255, 0.05);
  border-color: var(--secondary);
  color: var(--secondary);
}

/* ECOSYSTEM GRID (Comparison) */
.ecosystem-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.ecosystem-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.ecosystem-card .brand-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.ecosystem-card .brand-header img {
  height: 40px;
}

.ecosystem-card .brand-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
}

.ecosystem-card p.intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
}

.ecosystem-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-grow: 1;
}

.ecosystem-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.ecosystem-features li i {
  color: var(--secondary);
  margin-top: 3px;
  flex-shrink: 0;
}

.ecosystem-features.mbb-side li i {
  color: var(--primary);
}

.ecosystem-card.sono-card {
  border-color: rgba(0, 240, 255, 0.15);
  background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.03), transparent 60%), var(--bg-panel);
}

.ecosystem-card.mbb-card {
  border-color: rgba(255, 108, 0, 0.15);
  background: radial-gradient(circle at top right, rgba(255, 108, 0, 0.03), transparent 60%), var(--bg-panel);
}

/* SHOWCASE VIEWER COMPONENT (Demos) */
.showcase-demo-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 20px;
}

.mock-browser {
  background: var(--bg-panel-solid);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  height: 650px;
  position: relative;
}

.browser-header {
  background: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.browser-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
}

.browser-dot.dot-red { background: var(--accent); }
.browser-dot.dot-yellow { background: var(--warning); }
.browser-dot.dot-green { background: var(--success); }

.browser-address {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: 2px;
  padding: 4px 20px;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--secondary);
  width: 50%;
  text-align: center;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.browser-tabs {
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  display: flex;
  overflow-x: auto;
  gap: 2px;
}

.browser-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  padding: 12px 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.browser-tab-btn i {
  width: 14px;
  height: 14px;
}

.browser-tab-btn:hover {
  background: rgba(0, 240, 255, 0.02);
  color: var(--text-primary);
}

.browser-tab-btn.active {
  background: rgba(0, 240, 255, 0.04);
  color: var(--secondary);
  border-bottom-color: var(--secondary);
  text-shadow: 0 0 8px var(--secondary-glow);
}

.browser-content {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  background: #000000;
}

.demo-tab-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow: hidden;
  display: flex;
}

.demo-tab-panel.active {
  opacity: 1;
  pointer-events: auto;
}

/* Showcase Viewer: Sub-layouts */
.photos-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  width: 100%;
  height: 100%;
}

.photo-main {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: background-image 0.5s ease;
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.95));
  padding: 30px;
  box-sizing: border-box;
}

.photo-sidebar {
  border-left: 1px solid rgba(0, 240, 255, 0.08);
  background: rgba(2, 4, 8, 0.6);
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.photo-thumbs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.photo-thumb {
  aspect-ratio: 3/2;
  border-radius: 2px;
  border: 1px solid rgba(0, 240, 255, 0.1);
  cursor: pointer;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: var(--transition-fast);
  opacity: 0.5;
}

.photo-thumb:hover, .photo-thumb.active {
  border-color: var(--secondary);
  box-shadow: 0 0 12px var(--secondary-glow);
  opacity: 1;
}

/* Custom 360 Panorama Viewer */
.pano-viewer-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

#pano-canvas-demo {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

#pano-canvas-demo:active {
  cursor: grabbing;
}

.pano-instructions {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.15);
  padding: 8px 16px;
  border-radius: 2px;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.05em;
}

/* Floor Plan with Hotspots */
.floorplan-wrap {
  display: grid;
  grid-template-columns: 1.55fr 0.95fr;
  width: 100%;
  height: 100%;
}

.floorplan-canvas {
  position: relative;
  background: #020408;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  height: 100%;
}

.floorplan-svg {
  width: 85%;
  height: auto;
  max-height: 80%;
  stroke: rgba(0, 240, 255, 0.12);
  stroke-width: 2;
  fill: none;
}

.hotspot {
  cursor: pointer;
  fill: var(--secondary);
  stroke: rgba(0, 240, 255, 0.3);
  stroke-width: 6px;
  transition: var(--transition-fast);
}

.hotspot:hover, .hotspot.active {
  fill: var(--primary);
  stroke: rgba(255, 108, 0, 0.3);
  r: 11;
}

.floorplan-preview {
  border-left: 1px solid rgba(0, 240, 255, 0.08);
  background: rgba(2, 4, 8, 0.6);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.hotspot-img {
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(0, 240, 255, 0.08);
}

/* Digital Twin Simulated HUD */
.twin-hud-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  height: 100%;
  padding: 24px;
  gap: 24px;
}

.twin-render {
  background: #000000;
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.twin-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--secondary);
  box-shadow: 0 0 12px var(--secondary);
  animation: scan-vertical 4s linear infinite;
  pointer-events: none;
}

.twin-data-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.data-log-stream {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(0, 240, 255, 0.05);
  border-radius: 2px;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--secondary);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Guided Tours Panel */
.guided-panel-wrap {
  display: grid;
  grid-template-columns: 1fr 280px;
  width: 100%;
  height: 100%;
}

.guided-view {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.avatar-layer {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--secondary);
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 15px var(--secondary-glow);
  display: none;
}

.avatar-layer::after {
  content: 'LIVE AVATAR';
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: #000;
  font-family: var(--font-tech);
  font-weight: 700;
  font-size: 0.55rem;
  padding: 2px 6px;
  border-radius: 2px;
  white-space: nowrap;
}

.ar-filter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 20px solid rgba(0, 240, 255, 0.1);
  box-sizing: border-box;
  pointer-events: none;
  display: none;
}

.ar-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 1.5px dashed var(--secondary);
  border-radius: 50%;
  display: none;
  animation: spin 8s linear infinite;
}

.guided-sidebar {
  border-left: 1px solid rgba(0, 240, 255, 0.08);
  background: rgba(2, 4, 8, 0.6);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.guided-btn {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(0, 240, 255, 0.1);
  color: var(--text-muted);
  border-radius: 2px;
  padding: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition-fast);
}

.guided-btn:hover, .guided-btn.active {
  background: rgba(0, 240, 255, 0.05);
  border-color: var(--secondary);
  color: var(--secondary);
  text-shadow: 0 0 5px var(--secondary);
}

/* SHOWCASE BUILDER INTERACTIVE DEMO */
.builder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 20px;
}

.builder-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.builder-step {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.builder-step.active {
  display: flex;
}

.step-indicator {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 8px;
}

.step-node {
  font-family: var(--font-tech);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-node.active {
  color: var(--secondary);
  text-shadow: 0 0 5px var(--secondary-glow);
}

.step-node.completed {
  color: var(--success);
}

/* Cyber Form Inputs */
.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-label {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cyber-input {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 2px;
  padding: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.cyber-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

.cyber-select {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.1);
  border-radius: 2px;
  padding: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cyber-select:focus {
  outline: none;
  border-color: var(--secondary);
}

/* Drag & Drop Zone */
.dropzone {
  border: 1.5px dashed rgba(0, 240, 255, 0.25);
  border-radius: 2px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.4);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--secondary);
  background: rgba(0, 240, 255, 0.03);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.dropzone i {
  color: var(--secondary);
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 150px;
  overflow-y: auto;
}

.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(0, 240, 255, 0.08);
  padding: 8px 12px;
  border-radius: 2px;
  font-size: 0.8rem;
}

.file-item i.remove-file {
  cursor: pointer;
  color: var(--danger);
}

/* Color Presets selector */
.color-presets {
  display: flex;
  gap: 12px;
}

.color-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

.color-dot:hover, .color-dot.active {
  transform: scale(1.05);
  border-color: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

/* Mobile Mockup Preview */
.mock-phone {
  width: 330px;
  height: 640px;
  background: #05070a;
  border: 12px solid #101520;
  border-radius: 36px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.95);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 140px;
  height: 24px;
  background: #101520;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  z-index: 100;
}

.phone-screen {
  flex-grow: 1;
  padding: 32px 16px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  background: #000000;
}

.phone-screen::-webkit-scrollbar {
  display: none;
}

/* Dynamic Live Preview UI in Phone */
.preview-header {
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.preview-logo {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
}

.preview-photo-main {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  background-image: url('../assets/spaces-dtla.png');
  border: 1px solid rgba(0, 240, 255, 0.08);
}

.preview-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
}

.preview-price {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--secondary);
}

.preview-agent-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: 2px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.preview-agent-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #05080c;
  background-size: cover;
  background-position: center;
}

.preview-agent-info {
  display: flex;
  flex-direction: column;
}

.preview-agent-name {
  font-size: 0.85rem;
  font-weight: 600;
}

.preview-agent-phone {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Showcase Builder Modal / Publishing screen */
.publishing-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.98);
  z-index: 200;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  box-sizing: border-box;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(0, 240, 255, 0.05);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 24px;
  box-shadow: 0 0 10px var(--secondary-glow);
}

.publish-success-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 255, 102, 0.05);
  border: 1px solid var(--success);
  color: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  box-shadow: 0 0 20px var(--success-glow);
}

/* PRICING TOGGLE & TABLES */
.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
}

.pricing-toggle-label {
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pricing-toggle-label.active {
  color: var(--secondary);
  text-shadow: 0 0 8px var(--secondary-glow);
}

.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 240, 255, 0.1);
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-primary);
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.25);
}

input:checked + .slider:before {
  transform: translateX(26px);
  background-color: var(--secondary);
  box-shadow: 0 0 10px var(--secondary);
}

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

.pricing-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  border-color: var(--border-neon-secondary);
  background: radial-gradient(circle at top right, rgba(0, 240, 255, 0.05), transparent 60%), var(--bg-panel);
  box-shadow: 0 8px 32px 0 rgba(0, 240, 255, 0.15);
}
.pricing-card.popular::after {
  border-top-color: var(--secondary);
  border-left-color: var(--secondary);
}
.pricing-card.popular::before {
  border-bottom-color: var(--secondary);
  border-right-color: var(--secondary);
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--secondary);
  color: #000;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 10px var(--secondary-glow);
}

.pricing-card-header {
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.pricing-plan-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-plan-price {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 900;
  display: flex;
  align-items: baseline;
}

.pricing-plan-price span.term {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 6px;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.pricing-features-list li i {
  color: var(--secondary);
  flex-shrink: 0;
}

.pricing-features-list li.disabled {
  color: var(--text-dim);
  text-decoration: line-through;
}

.pricing-features-list li.disabled i {
  color: var(--text-dim);
}

/* PORTAL STANDALONE MOCK / ADMIN PORTAL */
.portal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
  background: var(--bg-dark);
}

.portal-sidebar {
  background: var(--bg-panel-solid);
  border-right: 1px solid rgba(0, 240, 255, 0.08);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-logo img {
  height: 24px;
}

.sidebar-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link-btn {
  width: 100%;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2px;
  color: var(--text-muted);
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-fast);
  text-align: left;
}

.sidebar-link-btn:hover {
  background: rgba(0, 240, 255, 0.02);
  color: var(--text-primary);
}

.sidebar-link-btn.active {
  background: rgba(0, 240, 255, 0.04);
  border-color: rgba(0, 240, 255, 0.15);
  color: var(--secondary);
  text-shadow: 0 0 10px var(--secondary-glow);
}

.portal-main {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.portal-header {
  height: 70px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2, 4, 8, 0.5);
}

.portal-header-left h2 {
  font-size: 1.3rem;
  font-weight: 700;
}

.portal-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.portal-body {
  flex-grow: 1;
  padding: 40px;
  overflow-y: auto;
  position: relative;
}

.portal-tab-panel {
  display: none;
  flex-direction: column;
  gap: 30px;
  animation: fadeIn 0.4s ease;
}

.portal-tab-panel.active {
  display: flex;
}

/* Dashboard Analytics KPIs */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.kpi-card {
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: 2px;
  padding: 24px;
  background: var(--bg-panel);
}

.kpi-title {
  font-family: var(--font-tech);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.kpi-num {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.kpi-trend {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
}

.kpi-trend.up { color: var(--success); }
.kpi-trend.down { color: var(--danger); }

/* Chart blocks */
.chart-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.chart-card {
  background: var(--bg-panel);
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: 2px;
  padding: 24px;
  height: 350px;
  display: flex;
  flex-direction: column;
}

.chart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.chart-canvas-wrap {
  flex-grow: 1;
  position: relative;
  height: 100%;
}

/* Portfolio Spaces Manager */
.spaces-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.space-card {
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  background: var(--bg-panel);
  transition: var(--transition-normal);
}

.space-card:hover {
  transform: translateY(-2px);
  border-color: var(--secondary);
}

.space-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  position: relative;
}

.space-status {
  position: absolute;
  top: 15px;
  left: 15px;
  font-family: var(--font-tech);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
}

.space-status.active {
  background: rgba(0, 255, 102, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

.space-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.space-card-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.space-card-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(0, 240, 255, 0.05);
  border-bottom: 1px solid rgba(0, 240, 255, 0.05);
  padding: 10px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

/* Checkout Form / Step Wizard in Admin dashboard */
.wizard-container {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}

.wizard-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wizard-step-node {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: 2px;
  padding: 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.wizard-step-node.active {
  background: rgba(255, 108, 0, 0.03);
  border-color: rgba(255, 108, 0, 0.3);
}

.wizard-step-node h4 {
  font-family: var(--font-tech);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.wizard-step-node p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.wizard-body {
  background: var(--bg-panel);
  border: 1px solid rgba(0, 240, 255, 0.08);
  border-radius: 2px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wizard-panel-title {
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 8px;
}

/* ANIMATIONS */
@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.5;
    transform: scale(0.95);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 0 12px currentColor;
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes scan-vertical {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

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

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1200px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-hud {
    max-width: 100%;
  }
  .ecosystem-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .builder-grid {
    grid-template-columns: 1fr;
  }
  .chart-grid {
    grid-template-columns: 1fr;
  }
  .spaces-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .wizard-container {
    grid-template-columns: 1fr;
  }
  .wizard-steps {
    flex-direction: row;
    overflow-x: auto;
  }
  .wizard-step-node {
    flex-shrink: 0;
    width: 200px;
  }
  .portal-layout {
    grid-template-columns: 1fr;
  }
  .portal-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 16px 20px;
  }
  .nav-links, .nav-actions {
    display: none;
  }
  .section {
    padding: 60px 20px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .browser-tabs {
    font-size: 0.75rem;
  }
  .browser-tab-btn {
    padding: 10px 12px;
  }
  .photos-grid, .floorplan-wrap, .guided-panel-wrap {
    grid-template-columns: 1fr;
  }
  .floorplan-preview {
    border-left: none;
    border-top: 1px solid rgba(0, 240, 255, 0.08);
  }
  .guided-sidebar {
    border-left: none;
    border-top: 1px solid rgba(0, 240, 255, 0.08);
  }
  .spaces-grid {
    grid-template-columns: 1fr;
  }
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   3D PERSPECTIVE & AUDIO HUD INTEGRATION (ADDED)
   ========================================================================== */

/* 3D Perspective container properties */
.teaser-grid-container {
  perspective: 1500px;
}

.tilt-card {
  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateY(0deg);
  transition: transform 0.1s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tilt-card:hover {
  box-shadow: 0 20px 60px rgba(0, 240, 255, 0.2), 0 0 30px rgba(0, 240, 255, 0.05);
  border-color: rgba(0, 240, 255, 0.35);
}

.tilt-card * {
  transition: transform 0.1s ease;
}

/* Floating Audio HUD Widget */
.audio-hud-widget {
  position: fixed;
  bottom: 30px;
  right: 40px;
  z-index: 9999;
  width: 290px;
  background: rgba(4, 6, 10, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 4px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 240, 255, 0.03);
  padding: 12px 16px;
  font-family: var(--font-tech);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audio-hud-widget:hover {
  border-color: var(--secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 240, 255, 0.15);
}

.audio-hud-header {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(0, 240, 255, 0.08);
  padding-bottom: 6px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.audio-hud-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent); /* Red when muted */
  box-shadow: 0 0 8px var(--accent);
  transition: background 0.3s, box-shadow 0.3s;
}

.audio-hud-widget.playing .audio-hud-dot {
  background: var(--success); /* Green when playing */
  box-shadow: 0 0 8px var(--success);
}

.audio-hud-title {
  color: #fff;
  font-weight: 600;
}

.audio-hud-status {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.audio-hud-widget.playing .audio-hud-status {
  color: var(--success);
  text-shadow: 0 0 5px rgba(0, 255, 102, 0.5);
}

.audio-hud-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.audio-hud-btn {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.15);
  color: var(--secondary);
  width: 36px;
  height: 36px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.audio-hud-btn:hover {
  background: var(--secondary);
  color: var(--bg-dark);
  box-shadow: 0 0 10px var(--secondary);
  border-color: var(--secondary);
}

/* Equalizer Wave Bar Visualizer */
.audio-wave-container {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
  width: 40px;
}

.wave-bar {
  display: block;
  width: 4px;
  height: 3px;
  background: var(--secondary);
  opacity: 0.25;
  border-radius: 1px;
  transition: height 0.1s ease, opacity 0.3s;
}

.audio-hud-widget.playing .wave-bar {
  opacity: 1;
  animation: dance 0.8s ease-in-out infinite alternate;
}

.audio-hud-widget.playing .wave-bar:nth-child(1) { animation-duration: 0.6s; }
.audio-hud-widget.playing .wave-bar:nth-child(2) { animation-duration: 0.9s; }
.audio-hud-widget.playing .wave-bar:nth-child(3) { animation-duration: 0.7s; }
.audio-hud-widget.playing .wave-bar:nth-child(4) { animation-duration: 1.0s; }
.audio-hud-widget.playing .wave-bar:nth-child(5) { animation-duration: 0.8s; }

@keyframes dance {
  0% { height: 3px; }
  100% { height: 22px; }
}

.audio-volume-control {
  flex-grow: 1;
  display: flex;
  align-items: center;
}

/* Cyber Range Slider styling */
.cyber-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 3px;
  background: rgba(0, 240, 255, 0.1);
  border-radius: 1px;
  outline: none;
  transition: background 0.3s;
}

.cyber-slider:hover {
  background: rgba(0, 240, 255, 0.2);
}

.cyber-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 8px var(--secondary);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.cyber-slider::-webkit-slider-thumb:hover {
  transform: scale(1.3);
}

/* Mobile optimizations for Audio Widget */
@media (max-width: 992px) {
  .audio-hud-widget {
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 10px;
  }
}

