:root {
  --bg-color: #000000;
  --text-primary: #ffffff;
  --text-secondary: #b8b8b8;
  --text-tertiary: #737373;
  --neon-accent: #ffffff;
  --neon-accent-secondary: #b3b3b3;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-elevated: rgba(6, 6, 8, 0.85);
  --card-border: rgba(255, 255, 255, 0.08);
  --stroke-strong: rgba(255, 255, 255, 0.16);
  --divider: rgba(255, 255, 255, 0.07);
  --font-title: 'Inter', sans-serif;
  --font-mono: 'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  position: relative;
  line-height: 1.5;
}

/* Background Particle Canvas */
#ambient-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -5;
  pointer-events: none;
}

/* Ambient glow halos - pure monochrome white/gray */
.ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(160px);
  z-index: -2;
  pointer-events: none;
  opacity: 0.12;
  animation: float-glow 20s infinite alternate ease-in-out;
  will-change: transform;
  backface-visibility: hidden;
}

.ambient-glow.cyan {
  background: radial-gradient(circle, #ffffff 0%, transparent 70%);
  top: -100px;
  left: -200px;
}

.ambient-glow.orange {
  background: radial-gradient(circle, #737373 0%, transparent 70%);
  bottom: 200px;
  right: -200px;
  animation-delay: -7s;
}

@keyframes float-glow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, 50px) scale(1.2); }
}

/* Header styling */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1180px; /* aligns with --page-max */
  padding: 10px 24px;
  border-radius: 20px;
  background: rgba(6, 6, 8, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 1000;
}

.header.is-hidden {
  transform: translate(-50%, -120%);
  opacity: 0;
  pointer-events: none;
}

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

.logo {
  width: 34px;
  height: 34px;
  color: var(--text-primary);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.logo-img {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.25));
}

.brand-name {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.5px;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

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

.nav-cta {
  background: #ffffff;
  color: #000000 !important;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700 !important;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: scale(1.04);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.45);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 160px 8% 80px 8%;
}

.hero-title {
  font-family: var(--font-title);
  font-weight: 900;
  margin-bottom: 28px;
}

.gradient-text {
  background: linear-gradient(90deg, #ffffff, #b8b8b8, #737373);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.25));
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 19px;
  max-width: 720px;
  line-height: 1.6;
  margin-bottom: 56px;
}

/* Download Cards Grid */
.download-container {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 820px;
  margin: 0 auto; /* Centers the container on wide displays */
}

.download-card {
  flex: 1;
  min-width: 320px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: border 0.35s, transform 0.35s, box-shadow 0.35s;
}

.download-card:hover {
  transform: translateY(-5px);
  border-color: #ffffff;
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.15);
}

.card-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.os-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.win .os-logo {
  filter: brightness(0) invert(1); /* Keeps the Windows SVG white */
}

.mac .os-logo {
  filter: none; /* Shows macOS Finder icon detail clearly */
}

.download-card:hover .os-logo {
  opacity: 1;
}

.os-title {
  display: block;
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
}

.os-details {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
}

/* Features */
.features-section {
  padding: 120px 8%;
  background: rgba(255, 255, 255, 0.005);
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.section-heading {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 44px;
  letter-spacing: -2px;
  text-align: center;
  margin-bottom: 80px;
}

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 38px;
  border-radius: 20px;
  transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.feature-card h3 {
  font-size: 20px;
  font-family: var(--font-title);
  font-weight: 700;
  margin-bottom: 18px;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
}

/* Interactive Mockup */
.demo-section {
  padding: 120px 8%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-description {
  color: var(--text-secondary);
  margin-top: -50px;
  margin-bottom: 56px;
  font-size: 15px;
  text-align: center;
  max-width: 600px;
}

.app-screenshot-frame {
  width: 100%;
  max-width: 960px;
  background: rgba(6, 6, 8, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12); /* Glossy highlight border */
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 40px 100px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.15s ease-out, border-color 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
}

/* Liquid glass highlight reflective layer */
.app-screenshot-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
  z-index: 10;
}

.app-screenshot-container {
  width: 100%;
  overflow: hidden;
}

.app-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Traffic Lights */
.mac-traffic-lights {
  position: absolute;
  top: 12px;
  left: 18px;
  display: flex;
  gap: 8px;
  z-index: 100;
}

.mac-traffic-lights .light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.mac-traffic-lights .light.close { background-color: #FF5E5C; }
.mac-traffic-lights .light.minimize { background-color: #FFBD2E; }
.mac-traffic-lights .light.maximize { background-color: #4FCE5E; }

.mock-column {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-right: 1px solid var(--card-border);
  transition: order 0.5s cubic-bezier(0.25, 1, 0.5, 1), width 0.5s;
}

.mock-column:last-child {
  border-right: none;
}

.mock-sidebar {
  width: 22%;
  background: rgba(255, 255, 255, 0.015);
}

.mock-tracks {
  width: 38%;
}

.mock-player {
  flex: 1;
  padding: 30px;
  justify-content: space-between;
}

.mock-header {
  padding: 20px 22px;
  font-size: 10px;
  font-weight: 800;
  color: var(--text-tertiary);
  letter-spacing: 1.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-search-trigger {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  color: var(--text-secondary);
  font-size: 9px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.mock-search-trigger:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
}

.tracks-list-container {
  flex: 1;
  overflow-y: auto;
}

.mock-item {
  padding: 12px 22px;
  font-size: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  font-weight: 600;
  transition: color 0.2s, background 0.2s;
}

.mock-item:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.01);
}

.mock-item.active {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-left: 3px solid var(--neon-accent);
}

.theme-toggle-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 11px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  transition: color 0.2s;
}

.theme-toggle-btn:hover {
  color: var(--text-primary);
}

.mock-footer {
  margin-top: auto;
  padding: 22px;
  font-size: 11px;
  color: var(--text-tertiary);
}

.mock-track {
  display: flex;
  justify-content: space-between;
  padding: 14px 22px;
  font-size: 12px;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.015);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.mock-track:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-primary);
}

.mock-track.active {
  color: var(--neon-accent);
  background: rgba(255, 255, 255, 0.04);
}

.mock-track .time {
  color: var(--text-tertiary);
}

.mock-player-block {
  transition: order 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
}

.mock-nowplaying {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mock-art {
  width: 58px;
  height: 58px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.mock-nowplaying h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.mock-nowplaying p {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
}

/* Visualizer Container & Header Tabs */
.mock-visualizer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.vis-title {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: var(--text-tertiary);
}

.vis-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px;
  border-radius: 20px;
  border: 1px solid var(--card-border);
}

.vis-tab {
  background: none;
  border: none;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.vis-tab.active {
  background: var(--text-primary);
  color: var(--bg-color);
}

#visualizer-canvas {
  width: 100%;
  height: 140px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--card-border);
  border-radius: 16px;
}

/* Player Seek Progress */
.progress-bar-container {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  width: 35%;
  background: linear-gradient(90deg, #ffffff, #888888);
  border-radius: 2px;
  transition: width 0.1s linear;
}

.mock-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.mock-control-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s, color 0.2s;
  padding: 8px;
}

.mock-control-btn:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

.mock-control-btn.play-btn {
  font-size: 26px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mock-control-btn.play-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.demo-controls {
  margin-top: 48px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.control-group span {
  font-size: 11px;
  font-weight: 800;
  color: var(--text-tertiary);
  letter-spacing: 1px;
}

.btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--text-secondary);
  transform: translateY(-1px);
}

/* Spotlight Search Overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.search-card {
  width: 600px;
  max-width: 90%;
  height: 480px;
  background: var(--card-elevated);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  animation: slideUp 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes slideUp {
  from { transform: translateY(20px) scale(0.96); }
  to { transform: translateY(0) scale(1); }
}

.search-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--divider);
}

.search-icon-wrapper {
  font-size: 18px;
  margin-right: 12px;
  color: var(--text-secondary);
}

#search-input {
  flex: 1;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  outline: none;
}

#search-input::placeholder {
  color: var(--text-tertiary);
}

.search-tabs {
  display: flex;
  gap: 12px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid var(--divider);
}

.search-tab {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.search-tab.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.scrollable {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.section-title {
  font-size: 9px;
  font-weight: 800;
  color: var(--text-tertiary);
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.track-row {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  margin-bottom: 4px;
}

.track-row:hover {
  background: rgba(255, 255, 255, 0.05);
}

.mini-play {
  font-size: 10px;
  margin-right: 14px;
  color: var(--text-secondary);
}

.track-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.track-artist {
  display: block;
  font-size: 11px;
  color: var(--text-secondary);
}

/* Footer */
.page-footer {
  text-align: center;
  padding: 60px 8%;
  border-top: 1px solid var(--card-border);
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 500;
}

/* Custom Vector Icons (SVGs replacing Emojis) */
.mock-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5px;
  fill: none;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  transition: transform 0.2s, stroke-width 0.2s;
}

.mock-icon.inline {
  width: 10px;
  height: 10px;
  margin-right: 4px;
}

.mock-icon.large {
  width: 20px;
  height: 20px;
  margin-right: 0;
  stroke-width: 2px;
}

.control-svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
  transition: transform 0.2s;
}

.control-svg.play {
  width: 20px;
  height: 20px;
  margin-left: 2px; /* Center triangular play symbol */
}

.mini-play-svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
  display: block;
}

/* Custom Fluid Mouse Cursor System */
.cursor-dot {
  display: none; /* Hidden by default, enabled dynamically in JS on mouse movement */
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s;
  will-change: left, top, transform;
  backface-visibility: hidden;
}

.cursor-ring {
  display: none; /* Hidden by default, enabled dynamically in JS on mouse movement */
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
  will-change: left, top, transform;
  backface-visibility: hidden;
}

body.hovering .cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--text-primary);
}

body.hovering .cursor-ring {
  width: 40px;
  height: 40px;
  border-color: var(--text-primary);
  border-style: dashed;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
  animation: cursor-spin 4s linear infinite;
}

@keyframes cursor-spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@media (pointer: fine) {
  body, a, button, .mock-item, .mock-track, .mock-control-btn, .btn, .search-tab, .track-row, input {
    cursor: none !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title-main {
    font-size: 50px;
    letter-spacing: -2px;
  }
  .hero-title-sub {
    font-size: 36px;
    letter-spacing: -1px;
  }
  .app-mockup {
    height: auto;
    flex-direction: column;
  }
  .mock-sidebar, .mock-tracks {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--card-border);
  }
}

/* Pro UX/UI refresh */
:root {
  --accent-aqua: #bafcff;
  --accent-warm: #ffe08a;
  --accent-red: #ff5e5c;
  --page-max: 1180px;
  --panel-radius: 18px;
  --soft-shadow: 0 26px 80px rgba(0, 0, 0, 0.58);
  --glass-shine: linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.02));
}

html {
  background: #000;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 8%, rgba(186, 252, 255, 0.08), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(255, 224, 138, 0.06), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.05), transparent 36%),
    var(--bg-color);
}

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

button {
  font-family: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent-aqua);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#main {
  position: relative;
  z-index: 1;
}

#features,
#demo,
#faq,
.download-section {
  scroll-margin-top: 110px;
}

.ambient-glow {
  position: fixed;
  opacity: 0.16;
  mix-blend-mode: screen;
}

.ambient-glow.cyan {
  background: radial-gradient(circle, rgba(186, 252, 255, 0.72), transparent 68%);
}

.ambient-glow.orange {
  background: radial-gradient(circle, rgba(255, 224, 138, 0.46), transparent 68%);
}

.header {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.is-scrolled {
  top: 12px;
  background: rgba(6, 6, 8, 0.85);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 48px 0 rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.logo-area {
  color: var(--text-primary);
  min-width: 0;
  text-decoration: none;
}

.brand-name {
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-links a {
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-cta,
.primary-action,
.secondary-action,
.btn,
.download-card,
.feature-card,
.search-card,
.hero-console,
.experience-steps > div,
.faq-list details {
  background-image: var(--glass-shine);
}

.nav-cta {
  border-radius: 12px;
}

.hero {
  min-height: 940px;
  justify-content: flex-start;
  gap: 42px;
  padding: 138px max(22px, calc((100vw - var(--page-max)) / 2)) 86px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 90px 4% auto;
  height: 520px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.09), transparent),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.035), rgba(255,255,255,0.035) 1px, transparent 1px, transparent 76px);
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 72%);
  pointer-events: none;
  opacity: 0.65;
}

.hero-copy {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-title {
  margin-bottom: 26px;
  text-align: center;
}

.hero-title-main {
  display: block;
  font-size: 88px;
  line-height: 0.95;
  letter-spacing: -3px;
  font-weight: 900;
  text-transform: none;
}

.hero-title-sub {
  display: block;
  font-size: 64px;
  line-height: 1.0;
  letter-spacing: -2px;
  font-weight: 900;
  color: var(--text-secondary);
  margin-top: 2px;
}

.hero-subtitle {
  max-width: 760px;
  margin: 0 auto 34px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.primary-action,
.secondary-action {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 14px;
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-action {
  color: #050505;
  background: #fff;
  border: 1px solid #fff;
  box-shadow: 0 16px 42px rgba(255, 255, 255, 0.19);
}

.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 54px rgba(186, 252, 255, 0.22);
}

.secondary-action {
  color: var(--text-primary);
  border: 1px solid var(--stroke-strong);
  background-color: rgba(255, 255, 255, 0.05);
}

.secondary-action:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
}

.action-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 650px;
  margin: 0 auto;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-meta div {
  padding: 15px 18px;
  background: rgba(0, 0, 0, 0.28);
}

.hero-meta dt {
  font-family: var(--font-title);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.hero-meta dd {
  margin-top: 6px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 700;
}

.hero-console {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  background-color: rgba(7, 7, 9, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 26px;
  box-shadow: var(--soft-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  overflow: hidden;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.hero-console::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(560px circle at var(--hero-x, 50%) var(--hero-y, 30%), rgba(186, 252, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.hero-console-bar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
}

.mac-traffic-lights.mini {
  top: 15px;
}

.hero-console-grid {
  display: grid;
  grid-template-columns: 190px minmax(260px, 1fr) 330px;
  min-height: 286px;
}

.hero-library,
.hero-tracklist,
.hero-now {
  padding: 26px;
  border-right: 1px solid var(--card-border);
  position: relative;
  z-index: 1;
}

.hero-now {
  border-right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(circle at 50% 48%, rgba(255, 255, 255, 0.08), transparent 62%);
}

.hero-label {
  display: block;
  margin-bottom: 16px;
  color: var(--text-tertiary);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-chip {
  display: block;
  width: 100%;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  text-align: left;
  padding: 11px 12px;
  margin-bottom: 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
}

.hero-chip.active,
.hero-chip:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.hero-track {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  color: var(--text-secondary);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 800;
}

.hero-track.active {
  color: var(--text-primary);
}

.hero-track em {
  color: var(--text-tertiary);
  font-style: normal;
  font-size: 12px;
}

.hero-now strong {
  max-width: 100%;
  font-size: 28px;
  line-height: 1.1;
  font-family: var(--font-title);
  overflow-wrap: anywhere;
}

.hero-now > span:not(.hero-label) {
  color: var(--text-secondary);
  margin-top: 8px;
  font-weight: 700;
}

.hero-mini-spectrum {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
  align-items: end;
  height: 70px;
  margin-top: 26px;
}

.hero-mini-spectrum i {
  display: block;
  min-height: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, rgba(186, 252, 255, 0.45));
  animation: mini-spectrum 1.2s ease-in-out infinite alternate;
  transform-origin: bottom;
}

.hero-mini-spectrum i:nth-child(1) { height: 34%; animation-delay: -0.1s; }
.hero-mini-spectrum i:nth-child(2) { height: 74%; animation-delay: -0.3s; }
.hero-mini-spectrum i:nth-child(3) { height: 48%; animation-delay: -0.6s; }
.hero-mini-spectrum i:nth-child(4) { height: 88%; animation-delay: -0.2s; }
.hero-mini-spectrum i:nth-child(5) { height: 42%; animation-delay: -0.8s; }
.hero-mini-spectrum i:nth-child(6) { height: 67%; animation-delay: -0.4s; }
.hero-mini-spectrum i:nth-child(7) { height: 52%; animation-delay: -0.7s; }
.hero-mini-spectrum i:nth-child(8) { height: 78%; animation-delay: -0.5s; }

@keyframes mini-spectrum {
  from { transform: scaleY(0.4); opacity: 0.45; }
  to { transform: scaleY(1); opacity: 1; }
}

.hero-progress {
  height: 4px;
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.hero-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #fff, var(--accent-aqua));
  box-shadow: 0 0 22px rgba(186, 252, 255, 0.36);
  animation: play-progress 10s linear infinite;
}

@keyframes play-progress {
  0% { width: 0%; }
  95% { width: 100%; opacity: 1; }
  100% { width: 100%; opacity: 0; }
}

/* Custom scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.95);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  border: 2px solid rgba(0, 0, 0, 0.95);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.section-intro {
  max-width: 760px;
  margin: 0 auto 54px;
  text-align: center;
}

.features-section,
.demo-section,
.download-section,
.faq-section,
.experience-section {
  padding: 104px max(22px, calc((100vw - var(--page-max)) / 2));
}

.section-heading {
  font-size: 46px;
  letter-spacing: 0;
  margin-bottom: 0;
  text-wrap: balance;
}

.section-description {
  margin: 18px auto 0;
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  border-radius: var(--panel-radius);
  padding: 30px;
  min-height: 238px;
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: auto 18px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(186, 252, 255, 0.58), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 34px;
  height: 34px;
  color: var(--accent-aqua);
  margin-bottom: 28px;
}

.experience-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 62px;
  align-items: center;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
}

.experience-copy .section-heading {
  text-align: left;
  margin-bottom: 22px;
}

.experience-copy p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

.experience-steps {
  display: grid;
  gap: 14px;
}

.experience-steps > div {
  border: 1px solid var(--card-border);
  border-radius: var(--panel-radius);
  padding: 24px;
  background-color: rgba(255, 255, 255, 0.035);
}

.experience-steps > div > span {
  display: block;
  color: var(--accent-warm);
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 10px;
}

.experience-steps strong {
  display: block;
  font-family: var(--font-title);
  font-size: 20px;
  margin-bottom: 6px;
}

.experience-steps p {
  color: var(--text-secondary);
  font-size: 14px;
}

.app-mockup {
  max-width: 1040px;
  min-height: 560px;
  height: auto;
  border-radius: 26px;
}

.mock-column {
  min-width: 0;
}

.mock-item,
.mock-track,
.track-row {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: inherit;
}

.mock-item {
  display: flex;
  align-items: center;
  gap: 0;
}

.mock-track {
  align-items: center;
}

.mock-nowplaying h3 {
  font-size: 18px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.mock-search-trigger,
.vis-tab,
.search-tab,
.btn,
.theme-toggle-btn {
  letter-spacing: 0;
}

#visualizer-canvas {
  display: block;
}

.demo-controls {
  width: 100%;
  max-width: 1040px;
  justify-content: space-between;
  gap: 18px;
}

.control-group {
  min-width: 0;
  flex: 1;
  justify-content: center;
  padding: 12px;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}

.btn {
  border-radius: 12px;
}

.download-section {
  text-align: center;
}

.download-section .section-heading {
  margin-bottom: 42px;
}

.download-card {
  border-radius: var(--panel-radius);
}

#download-win {
  opacity: 0.72;
}

.faq-section {
  border-top: 1px solid var(--card-border);
}

.faq-section .section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--card-border);
  border-radius: var(--panel-radius);
  background-color: rgba(255, 255, 255, 0.035);
  overflow: hidden;
  transition: border-color 0.3s, background-color 0.3s;
}

.faq-list details:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background-color: rgba(255, 255, 255, 0.05);
}

.faq-list details[open] {
  border-color: rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.06);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  font-size: 16px;
  font-weight: 900;
  user-select: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  display: inline-block;
  float: right;
  color: var(--accent-aqua);
  font-weight: 900;
  font-size: 18px;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), color 0.3s;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
  color: var(--accent-warm, #ffe08a);
}

.faq-list p {
  padding: 0 22px 22px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.3s ease-out, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-list details[open] p {
  opacity: 1;
  transform: translateY(0);
}

.search-card {
  max-height: min(560px, calc(100vh - 36px));
}

.track-row {
  color: inherit;
}

.noscript-note {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 4000;
  padding: 14px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: #111;
  color: #fff;
  text-align: center;
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero-title-main {
    font-size: 72px;
    letter-spacing: -2.5px;
  }
  .hero-title-sub {
    font-size: 52px;
    letter-spacing: -1.5px;
  }

  .hero-console-grid {
    grid-template-columns: 170px minmax(220px, 1fr) 290px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .header {
    gap: 18px;
    top: 16px;
    left: 16px;
    right: 16px;
    width: auto;
    transform: none;
    padding: 10px 20px;
    border-radius: 18px;
  }
  .header.is-scrolled {
    top: 10px;
  }
  .header.is-hidden {
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
  }

  .brand-name {
    font-size: 18px;
  }

  .nav-links {
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav-links a:not(.nav-cta) {
    font-size: 12px;
  }

  .hero {
    min-height: auto;
    padding: 138px 18px 64px;
  }

  .hero-title-main {
    font-size: 56px;
    letter-spacing: -2px;
  }
  .hero-title-sub {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-console-grid {
    grid-template-columns: 1fr;
  }

  .hero-library,
  .hero-tracklist,
  .hero-now {
    border-right: 0;
    border-bottom: 1px solid var(--card-border);
  }

  .hero-now {
    border-bottom: 0;
  }

  .hero-library {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .hero-library .hero-label {
    grid-column: 1 / -1;
  }

  .hero-chip {
    margin-bottom: 0;
    text-align: center;
  }

  .features-section,
  .demo-section,
  .download-section,
  .faq-section,
  .experience-section {
    padding: 82px 18px;
  }

  .section-heading {
    font-size: 36px;
  }

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

  .app-mockup {
    min-height: 0;
    border-radius: 20px;
  }

  .mock-player {
    padding: 22px;
    gap: 24px;
  }

  .demo-controls,
  .control-group {
    display: grid;
    grid-template-columns: 1fr;
  }

  .control-group {
    justify-items: stretch;
  }

  .download-card {
    min-width: min(100%, 320px);
  }
}

@media (max-width: 560px) {
  .header {
    top: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    transform: none;
    padding: 8px 16px;
    border-radius: 16px;
    height: 52px;
  }
  .header.is-scrolled {
    top: 8px;
  }

  .logo-area {
    gap: 6px;
  }

  .logo-img {
    width: 26px;
    height: 26px;
  }

  .brand-name {
    font-size: 15px;
  }

  .nav-links {
    width: auto;
    gap: 0;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    padding: 6px 14px;
    font-size: 11px;
    border-radius: 12px;
  }

  .hero {
    padding-top: 160px;
  }

  .hero-title-main {
    font-size: 38px;
    letter-spacing: -1.5px;
  }
  .hero-title-sub {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .hero-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-meta div {
    padding: 12px 8px;
  }

  .hero-meta dt {
    font-size: 26px;
  }

  .hero-meta dd {
    font-size: 10px;
    line-height: 1.35;
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-library {
    grid-template-columns: 1fr;
  }

  .hero-chip {
    text-align: left;
  }

  .section-heading {
    font-size: 31px;
  }

  .feature-card,
  .experience-steps > div {
    padding: 22px;
  }

  .vis-tabs {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .search-card {
    width: calc(100vw - 24px);
    max-width: none;
    height: min(520px, calc(100vh - 24px));
  }
}

@media (max-width: 380px) {
  .hero-title-main {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .hero-title-sub {
    font-size: 24px;
    letter-spacing: -0.5px;
  }

  .brand-name {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* App-faithful interactive player */
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  line-height: 1;
  padding: 0 28px;
}

.download-card .card-inner {
  justify-content: center;
}

.download-card .info {
  min-width: 0;
  text-align: left;
}

.app-player {
  display: block;
  max-width: 1320px;
  min-height: 720px;
  height: 720px;
  padding-top: 0;
  border-radius: 30px;
  background:
    radial-gradient(circle at 68% 20%, rgba(255, 255, 255, 0.08), transparent 34%),
    radial-gradient(circle at 18% 85%, rgba(255, 255, 255, 0.05), transparent 34%),
    rgba(8, 8, 9, 0.82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 44px 140px rgba(0, 0, 0, 0.78);
}

.app-player::before {
  z-index: 12;
}

.app-titlebar {
  height: 50px;
  display: grid;
  grid-template-columns: 180px 1fr 180px;
  align-items: center;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.025);
  position: relative;
  z-index: 20;
}

.app-titlebar .mac-traffic-lights {
  position: static;
}

.app-window-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.app-window-title img {
  border-radius: 999px;
  opacity: 0.86;
}

.app-title-search {
  justify-self: end;
}

.app-shell {
  height: calc(100% - 50px);
  display: flex;
  min-height: 0;
}

.app-player .mock-column {
  height: 100%;
  min-height: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.app-sidebar {
  width: 235px;
  flex: 0 0 235px;
  padding: 24px 16px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.app-brand img {
  width: 58px;
  height: 58px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 6px;
  filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.18));
}

.app-brand strong {
  display: block;
  max-width: 150px;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 16px;
  line-height: 1.05;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-brand span {
  display: block;
  margin-top: 6px;
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 800;
}

.library-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 6px 12px;
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.library-line button {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 18px;
  font-weight: 900;
}

.app-album {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 8px 10px;
  margin-bottom: 8px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--text-secondary);
}

.app-album.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.085);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.album-thumb,
.track-cover {
  display: block;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
}

.album-thumb {
  width: 40px;
  height: 40px;
}

.app-album strong,
.track-info strong {
  display: block;
  color: currentColor;
  font-size: 12px;
  line-height: 1.1;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-album em,
.track-info em {
  display: block;
  margin-top: 4px;
  color: var(--text-tertiary);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.app-tracks {
  width: 375px;
  flex: 0 0 375px;
  background: rgba(255, 255, 255, 0.018);
}

.tracks-head {
  min-height: 92px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 22px 16px;
}

.tracks-head h3 {
  max-width: 230px;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 22px;
  line-height: 1.05;
  font-weight: 900;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tracks-head span {
  display: block;
  margin-top: 6px;
  color: var(--text-tertiary);
  font-size: 12px;
  font-weight: 800;
}

.app-player .mock-search-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 13px;
  line-height: 1;
  white-space: nowrap;
}

.app-track {
  min-height: 72px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.025);
  color: var(--text-secondary);
}

.app-track:hover {
  background: rgba(255, 255, 255, 0.035);
}

.app-track.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 3px 0 0 rgba(255, 255, 255, 0.88);
}

.track-cover {
  width: 48px;
  height: 48px;
}

.app-track .time {
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 900;
}

.app-player-column {
  flex: 1;
  padding: 24px 28px 22px;
  border-right: 0 !important;
  position: relative;
  overflow: hidden;
}

.app-player-column::before {
  content: '';
  position: absolute;
  inset: auto -70px -120px -70px;
  height: 260px;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.16), transparent 66%);
  pointer-events: none;
}

.player-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.player-topline span,
.player-topline button {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text-secondary);
  padding: 0 14px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.player-topline button {
  color: var(--text-primary);
  cursor: pointer;
}

.player-meta {
  display: grid;
  grid-template-columns: minmax(180px, 245px) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  margin-bottom: 26px;
  position: relative;
  z-index: 1;
}

.app-cover {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 24px 55px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.app-cover::after,
.track-cover::after,
.album-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 38%),
    radial-gradient(circle at 70% 75%, rgba(0, 0, 0, 0.45), transparent 46%);
}

.cover-1 {
  background:
    radial-gradient(circle at 26% 28%, #f8d99a, transparent 25%),
    radial-gradient(circle at 74% 30%, #ffffff, transparent 24%),
    linear-gradient(135deg, #5f3b18, #18100b 52%, #d7a150);
}

.cover-2 {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.82), transparent 20%),
    radial-gradient(circle at 70% 72%, rgba(0, 0, 0, 0.6), transparent 30%),
    linear-gradient(135deg, #827f31, #22310f 48%, #b6ad58);
}

.cover-3 {
  background:
    radial-gradient(circle at 42% 36%, #f1f1f1, transparent 20%),
    radial-gradient(circle at 70% 70%, #ce2c2c, transparent 28%),
    linear-gradient(135deg, #111, #514739 56%, #dad7c8);
}

.now-meta span {
  color: var(--text-tertiary);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.now-meta h3 {
  max-width: 470px;
  margin-top: 10px;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: clamp(30px, 4.8vw, 46px);
  line-height: 1.02;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.now-meta p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 17px;
  font-weight: 800;
}

.player-spectrum {
  position: relative;
  z-index: 1;
}

.app-player .mock-visualizer-header {
  margin-bottom: 10px;
}

.app-player #visualizer-canvas {
  height: 172px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.42);
}

.player-controls-zone {
  position: relative;
  z-index: 1;
  margin-top: 22px;
}

.progress-row {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 12px;
  align-items: center;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 900;
}

.app-player .progress-bar-container {
  margin-bottom: 0;
  height: 5px;
  background: rgba(255, 255, 255, 0.12);
}

.app-player .progress-bar-fill {
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.45);
}

.app-player .mock-controls {
  margin-top: 26px;
  gap: 32px;
}

.app-player .mock-control-btn {
  color: rgba(255, 255, 255, 0.86);
}

.app-player .mock-control-btn.play-btn {
  width: 66px;
  height: 66px;
  background: rgba(255, 255, 255, 0.88);
  color: #101010;
  box-shadow: 0 0 36px rgba(255, 255, 255, 0.24);
}

.volume-row {
  max-width: 330px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin: 22px auto 0;
  color: var(--text-tertiary);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.volume-row div {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.volume-row i {
  display: block;
  width: 80%;
  height: 100%;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1160px) {
  .app-player {
    height: auto;
  }

  .app-shell {
    min-height: 650px;
  }

  .app-sidebar {
    width: 210px;
    flex-basis: 210px;
  }

  .app-tracks {
    width: 330px;
    flex-basis: 330px;
  }

  .player-meta {
    grid-template-columns: minmax(160px, 210px) 1fr;
  }
}

@media (max-width: 920px) {
  .app-titlebar {
    grid-template-columns: 96px 1fr 96px;
  }

  .app-window-title span {
    display: none;
  }

  .app-shell {
    min-height: 0;
    flex-direction: column;
  }

  .app-player .mock-column {
    width: 100%;
    flex-basis: auto;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .app-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .app-brand {
    margin-bottom: 18px;
  }

  .app-tracks {
    max-height: none;
  }

  .app-player-column {
    padding: 22px;
  }

  .player-meta {
    grid-template-columns: minmax(110px, 160px) 1fr;
    gap: 18px;
  }

  .now-meta h3 {
    font-size: 30px;
  }
}

@media (max-width: 560px) {
  .nav-cta {
    min-height: 44px;
    padding: 0 22px;
  }

  .app-player {
    border-radius: 22px;
  }

  .app-titlebar {
    grid-template-columns: 74px 1fr 74px;
    padding: 0 14px;
  }

  .app-title-search span {
    display: none;
  }

  .app-brand img {
    width: 50px;
    height: 50px;
  }

  .app-brand strong {
    max-width: none;
    font-size: 17px;
  }

  .tracks-head {
    align-items: center;
    min-height: 78px;
    padding: 18px;
  }

  .tracks-head h3 {
    font-size: 20px;
  }

  .app-track {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    min-height: 66px;
    padding: 9px 16px;
  }

  .track-cover {
    width: 44px;
    height: 44px;
  }

  .player-topline {
    margin-bottom: 18px;
  }

  .player-meta {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .app-cover {
    max-width: 240px;
  }

  .now-meta h3 {
    font-size: 28px;
  }

  .app-player #visualizer-canvas {
    height: 150px;
  }

  .app-player .mock-controls {
    gap: 22px;
  }

  .app-player .mock-control-btn.play-btn {
    width: 58px;
    height: 58px;
  }
}

/* Developer Profile Card Widget in FAQ */
.dev-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: 10px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, border-color 0.2s;
}

.dev-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.1);
}

.dev-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27272A, #09090B);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 20px;
  color: var(--text-primary);
  overflow: hidden;
  flex-shrink: 0;
}

.avatar-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, var(--accent-aqua, #bafcff) 0%, transparent 85%);
  opacity: 0.3;
}

.dev-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dev-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.2;
}

.dev-role {
  font-size: 11px;
  color: var(--text-tertiary) !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2;
}

.dev-tg-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: var(--text-secondary) !important;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  width: fit-content;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.dev-tg-link:hover {
  background: #ffffff;
  color: #000000 !important;
  border-color: #ffffff;
  transform: scale(1.02);
}

/* Staggered Text Reveal Animations */
.text-split-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px) scale(0.85);
  will-change: transform, opacity;
  backface-visibility: hidden;
  transition: opacity 0.45s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.text-split-char.is-space {
  width: 0.3em;
}

.is-revealed .text-split-char {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.text-split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  will-change: transform, opacity;
  backface-visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  margin-right: 0.2em;
}

.is-revealed .text-split-word {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered Features & Steps Entrance Animations */
.features-section .feature-card {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s,
              background-color 0.3s;
}

.features-section.is-visible .feature-card:nth-child(1) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.1s;
}

.features-section.is-visible .feature-card:nth-child(2) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.25s;
}

.features-section.is-visible .feature-card:nth-child(3) {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.4s;
}

.features-section.is-visible .feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.22);
  background-color: rgba(255, 255, 255, 0.05);
}

.experience-steps > div {
  opacity: 0;
  transform: translateY(30px) translateX(-6px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s,
              background-color 0.3s;
}

.experience-section.is-visible .experience-steps > div:nth-child(1) {
  opacity: 1;
  transform: translateY(0) translateX(0);
  transition-delay: 0.15s;
}

.experience-section.is-visible .experience-steps > div:nth-child(2) {
  opacity: 1;
  transform: translateY(0) translateX(0);
  transition-delay: 0.3s;
}

.experience-section.is-visible .experience-steps > div:nth-child(3) {
  opacity: 1;
  transform: translateY(0) translateX(0);
  transition-delay: 0.45s;
}

.experience-steps > div:hover,
.experience-section.is-visible .experience-steps > div:hover {
  transform: translateY(-4px) translateX(0) scale(1.015);
  border-color: rgba(255, 255, 255, 0.16);
  background-color: rgba(255, 255, 255, 0.065);
}

