/* ==========================================================================
   NovaPlayer Official Website - Ultra-Premium Design System & Stylesheet
   Theme: Audiophile Cyber-Glass / Deep Onyx, Electric Cyan & Royal Purple
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Surface & Base Colors */
  --bg-primary: #08090e;
  --bg-surface: #0e111a;
  --bg-elevated: #141824;
  --bg-card: rgba(16, 20, 32, 0.72);
  --bg-card-hover: rgba(24, 30, 48, 0.85);

  /* Primary Brand Neons */
  --neon-cyan: #00e5ff;
  --neon-cyan-glow: rgba(0, 229, 255, 0.35);
  --neon-purple: #7c4dff;
  --neon-purple-glow: rgba(124, 77, 255, 0.35);
  --neon-pink: #ff2a85;
  --neon-emerald: #00e676;
  --neon-amber: #ffab00;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #00e5ff 0%, #7c4dff 50%, #ff2a85 100%);
  --gradient-cyan-purple: linear-gradient(135deg, #00e5ff 0%, #7c4dff 100%);
  --gradient-purple-pink: linear-gradient(135deg, #7c4dff 0%, #ff2a85 100%);
  --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  --gradient-border: linear-gradient(135deg, rgba(0, 229, 255, 0.4), rgba(124, 77, 255, 0.4), rgba(255, 42, 133, 0.2));

  /* Glassmorphism Tokens */
  --glass-bg: rgba(14, 17, 26, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(0, 229, 255, 0.4);
  --glass-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  --glass-shadow-glow: 0 0 35px rgba(0, 229, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  --glass-blur: blur(20px);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Animations & Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout Constraints */
  --max-width: 1240px;
  --header-height: 80px;
}

/* ==========================================================================
   Base & Resets
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Atmospheric Ambient Lights */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
}

body::before {
  top: -10vw;
  right: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, #7c4dff 0%, transparent 70%);
}

body::after {
  bottom: 0vw;
  left: -15vw;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, #00e5ff 0%, transparent 70%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.section-header h2 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  letter-spacing: -0.02em;
  margin: 16px 0;
  line-height: 1.15;
}

.section-header p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.6;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.gradient-cyan-purple {
  background: var(--gradient-cyan-purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================================================
   Glassmorphism Panels & Badges
   ========================================================================== */

.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-panel:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-shadow-glow);
  transform: translateY(-3px);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--neon-cyan);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulse-dot 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

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

.badge-ready {
  color: var(--neon-emerald);
  border-color: rgba(0, 230, 118, 0.25);
  background: rgba(0, 230, 118, 0.08);
}
.badge-ready .badge-pulse {
  background-color: var(--neon-emerald);
  box-shadow: 0 0 10px var(--neon-emerald);
}

.badge-dev {
  color: #a5b4fc;
  border-color: rgba(165, 180, 252, 0.25);
  background: rgba(165, 180, 252, 0.08);
}
.badge-dev .badge-pulse {
  background-color: #a5b4fc;
  box-shadow: 0 0 10px #a5b4fc;
}

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 14px;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #08090e;
  box-shadow: 0 10px 25px -5px rgba(0, 229, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px -5px rgba(0, 229, 255, 0.6);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(124, 77, 255, 0.15);
  color: #fff;
  border: 1px solid rgba(124, 77, 255, 0.4);
}

.btn-secondary:hover {
  background: rgba(124, 77, 255, 0.25);
  border-color: var(--neon-purple);
  box-shadow: 0 10px 25px -5px var(--neon-purple-glow);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

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

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
  border-radius: 16px;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 10px;
}

/* ==========================================================================
   Header & Navigation Bar
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(8, 9, 14, 0.85);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #fff;
}

.brand-logo img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.35);
  object-fit: cover;
}

.brand-logo span span {
  color: var(--neon-cyan);
}

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

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--neon-cyan);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #fff;
  transition: var(--transition-smooth);
}

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

.hero-section {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 20px 0 24px 0;
}

.hero-description {
  color: var(--text-secondary);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 620px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

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

.hero-card-container {
  position: relative;
  border-radius: 28px;
  background: rgba(18, 22, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.8), 0 0 50px rgba(124, 77, 255, 0.2);
  transition: var(--transition-smooth);
}

.hero-card-container:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 229, 255, 0.3);
}

.hero-mockup-img {
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  margin-bottom: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* ==========================================================================
   Bento Grid Section (Anti-Slop Architectural Layout)
   ========================================================================== */

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.bento-card {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
}

.bento-col-8 {
  grid-column: span 8;
}

.bento-col-4 {
  grid-column: span 4;
}

.bento-col-6 {
  grid-column: span 6;
}

.bento-col-12 {
  grid-column: span 12;
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.bento-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #fff;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.65;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.bento-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   Interactive Web Audio Player & Equalizer Demo
   ========================================================================== */

.demo-player-container {
  padding: 40px;
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(14, 18, 30, 0.9) 0%, rgba(10, 12, 20, 0.95) 100%);
  border: 1px solid rgba(0, 229, 255, 0.25);
}

.demo-player-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: center;
}

.demo-track-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.demo-album-art {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: var(--gradient-purple-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(124, 77, 255, 0.35);
  position: relative;
  overflow: hidden;
}

.demo-album-art.playing {
  animation: pulse-art 2s infinite ease-in-out;
}

@keyframes pulse-art {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 25px rgba(0, 229, 255, 0.35); }
  50% { transform: scale(1.04); box-shadow: 0 15px 35px rgba(255, 42, 133, 0.5); }
}

.demo-meta h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 4px;
}

.demo-meta p {
  color: var(--neon-cyan);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Equalizer Bars */
.eq-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  border: 1px solid var(--glass-border);
}

.eq-bar {
  flex: 1;
  background: var(--gradient-cyan-purple);
  border-radius: 4px 4px 0 0;
  height: 15%;
  transition: height 0.15s ease;
}

.eq-visualizer.active .eq-bar:nth-child(1) { animation: eq-bounce 0.6s infinite ease-in-out; }
.eq-visualizer.active .eq-bar:nth-child(2) { animation: eq-bounce 0.8s infinite ease-in-out 0.1s; }
.eq-visualizer.active .eq-bar:nth-child(3) { animation: eq-bounce 0.5s infinite ease-in-out 0.2s; }
.eq-visualizer.active .eq-bar:nth-child(4) { animation: eq-bounce 0.9s infinite ease-in-out 0.15s; }
.eq-visualizer.active .eq-bar:nth-child(5) { animation: eq-bounce 0.7s infinite ease-in-out 0.3s; }
.eq-visualizer.active .eq-bar:nth-child(6) { animation: eq-bounce 0.6s infinite ease-in-out 0.25s; }
.eq-visualizer.active .eq-bar:nth-child(7) { animation: eq-bounce 0.85s infinite ease-in-out 0.05s; }
.eq-visualizer.active .eq-bar:nth-child(8) { animation: eq-bounce 0.75s infinite ease-in-out 0.35s; }

@keyframes eq-bounce {
  0%, 100% { height: 18%; }
  50% { height: 95%; }
}

.demo-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.demo-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--neon-cyan);
  color: #08090e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 20px var(--neon-cyan-glow);
  transition: var(--transition-smooth);
}

.demo-play-btn:hover {
  transform: scale(1.08);
  filter: brightness(1.2);
}

.demo-track-selector {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.demo-chip {
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--text-secondary);
  cursor: pointer;
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.demo-chip:hover,
.demo-chip.active {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--neon-cyan);
  color: #fff;
}

/* ==========================================================================
   Jarvis Interactive Section & Particle Simulator
   ========================================================================== */

.jarvis-interactive-section {
  padding: 90px 0;
  position: relative;
}

.jarvis-hub-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.jarvis-canvas-container {
  height: 480px;
  background: radial-gradient(circle at center, rgba(14, 20, 36, 0.9) 0%, rgba(8, 9, 14, 0.95) 100%);
  border-radius: 24px;
  border: 1px solid rgba(0, 229, 255, 0.25);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

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

.jarvis-status-pill {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(14, 17, 26, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.canvas-hint {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.5);
  padding: 4px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

.jarvis-simulator-box {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.jarvis-chat-screen {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 24px;
}

.jarvis-output-text {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #fff;
}

.assistant-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.audio-waves-container {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  margin-top: 16px;
  opacity: 0.4;
  transition: var(--transition-smooth);
}

.audio-waves-container.active {
  opacity: 1;
}

.wave-bar {
  width: 4px;
  height: 6px;
  background: var(--neon-cyan);
  border-radius: 2px;
  transition: height 0.1s;
}

.audio-waves-container.active .wave-bar:nth-child(odd) {
  animation: wave-motion 0.4s infinite alternate ease-in-out;
}
.audio-waves-container.active .wave-bar:nth-child(even) {
  animation: wave-motion 0.6s infinite alternate ease-in-out;
}

@keyframes wave-motion {
  from { height: 6px; }
  to { height: 24px; }
}

.prompt-suggestions-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.prompt-pills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 24px;
}

.prompt-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.prompt-pill:hover {
  background: rgba(124, 77, 255, 0.2);
  border-color: var(--neon-purple);
  color: #fff;
  transform: translateY(-2px);
}

.simulator-input-row {
  display: flex;
  gap: 12px;
}

.simulator-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 18px;
  color: #fff;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.simulator-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px var(--neon-cyan-glow);
}

/* ==========================================================================
   Features Page Grid & Deep Dive Sections
   ========================================================================== */

.feature-deep-dive {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  padding: 60px 48px;
  margin-bottom: 32px;
}

.feature-deep-dive.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.feature-deep-dive h2 {
  font-size: 2.4rem;
  margin: 16px 0;
  line-height: 1.2;
}

.feature-deep-dive p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

.feature-list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature-list-item-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.feature-list-item-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 36px;
}

.feature-card {
  padding: 32px;
  border-radius: 20px;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

/* ==========================================================================
   Download Center & Platform Cards
   ========================================================================== */

.download-platforms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.platform-card {
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 24px;
}

.platform-card.featured {
  border-color: rgba(0, 229, 255, 0.5);
  box-shadow: 0 25px 60px -10px rgba(0, 229, 255, 0.25);
  background: linear-gradient(135deg, rgba(14, 20, 36, 0.95) 0%, rgba(10, 14, 24, 0.9) 100%);
  position: relative;
}

.platform-card.featured::before {
  content: 'RECOMENDADO';
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--neon-cyan);
  background: rgba(0, 229, 255, 0.12);
  padding: 4px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.platform-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.platform-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.platform-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 32px 0;
  padding: 16px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  border: 1px solid var(--glass-border);
}

.platform-meta-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
}

.platform-meta-item span:first-child {
  color: var(--text-muted);
}

.platform-meta-item span:last-child {
  font-family: var(--font-mono);
  font-weight: 600;
  color: #fff;
}

.hash-verification-box {
  margin-top: 16px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hash-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--neon-cyan);
  word-break: break-all;
  user-select: all;
}

.btn-copy-hash {
  align-self: flex-start;
  font-size: 0.78rem;
  color: var(--text-secondary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.btn-copy-hash:hover {
  color: #fff;
}

/* ==========================================================================
   Installation Guide Steps (guide.html)
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.step-card {
  padding: 36px 30px;
  border-radius: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gradient-primary);
  color: #08090e;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.35);
}

.step-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #fff;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Guide Layout & Settings Cards */
.guide-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  margin-top: 50px;
}

.guide-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: fit-content;
}

.guide-nav-link {
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.guide-nav-link:hover,
.guide-nav-link.active {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border-color: var(--glass-border);
}

.guide-nav-link.active {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.settings-mock-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.settings-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.settings-item-title {
  font-weight: 600;
  color: #fff;
  font-size: 0.98rem;
}

.settings-item-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 2px;
}

.toggle-switch {
  width: 48px;
  height: 26px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: var(--transition-smooth);
}

.toggle-switch.active {
  background: var(--neon-cyan);
}

.toggle-switch.active::after {
  transform: translateX(22px);
  background: #08090e;
}

/* ==========================================================================
   FAQ Accordions (faq.html)
   ========================================================================== */

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-item.open {
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.faq-question {
  padding: 22px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
}

.faq-icon {
  width: 24px;
  height: 24px;
  fill: var(--text-secondary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  fill: var(--neon-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  padding: 0 28px;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 28px 24px 28px;
}

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

.site-footer {
  background: #050609;
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 40px 0;
  position: relative;
  margin-top: 100px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 320px;
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: var(--neon-cyan);
  transform: translateX(3px);
}

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

/* ==========================================================================
   Modal Dialog
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 24px;
  padding: 36px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
}

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

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

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .bento-col-8, .bento-col-4, .bento-col-6 {
    grid-column: span 12;
  }
  .demo-player-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .jarvis-hub-wrapper {
    grid-template-columns: 1fr;
  }
  .feature-deep-dive,
  .feature-deep-dive.reverse {
    grid-template-columns: 1fr;
    padding: 36px 24px;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-sidebar {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(8, 9, 14, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    border-bottom: 1px solid var(--glass-border);
    transform: translateY(-150%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .nav-links.mobile-open {
    transform: translateY(0);
  }
  .nav-link {
    width: 100%;
    text-align: center;
    padding: 14px 0;
    font-size: 1.1rem;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
