/* CSS Reset & Base Styles */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors - Dark Theme with Purple/Blue Accent */
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a25;
  --bg-card: #16161f;

  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #6b6b7b;

  --accent-primary: #7c3aed;
  --accent-secondary: #a855f7;
  --accent-gradient: linear-gradient(
    135deg,
    #7c3aed 0%,
    #a855f7 50%,
    #06b6d4 100%
  );
  --accent-glow: rgba(124, 58, 237, 0.3);

  --border-color: rgba(255, 255, 255, 0.08);
  --border-primary: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.15);

  /* Spacing */
  --section-padding: 120px;
  --container-max: 1200px;

  /* Typography */
  --font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Gradient Text */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-base);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.25rem;
  font-weight: 700;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

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

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: var(--transition-base);
}

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

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

.nav-cta {
  padding: 10px 24px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-base);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-base);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-primary);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

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

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

.btn-large {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-primary);
  top: -200px;
  right: -100px;
  opacity: 0.3;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: #06b6d4;
  bottom: -100px;
  left: -100px;
  opacity: 0.2;
}

.orb-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-secondary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.15;
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--accent-secondary);
  margin-bottom: 20px;
}

.hero-title {
  margin-bottom: 24px;
}

.title-line {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 6px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.title-main {
  display: block;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 500px;
}

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

.hero-stats {
  display: flex;
  gap: 48px;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Plugin Preview - Realistic App Screenshot Style */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.plugin-preview {
  perspective: 1000px;
}

.plugin-window {
  background: #1a1a2e;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 100px var(--accent-glow);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: var(--transition-slow);
  width: 700px;
}

.plugin-window:hover {
  transform: rotateY(0) rotateX(0);
}

.plugin-body {
  display: flex;
  min-height: 400px;
}

/* Sidebar */
.plugin-sidebar {
  width: 160px;
  background: #0f0f1a;
  border-right: 1px solid var(--border-color);
  padding: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 12px;
  border-bottom: 1px solid var(--border-color);
}

.sidebar-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.add-library-btn {
  font-size: 0.65rem;
  padding: 4px 8px;
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 4px;
  color: #06b6d4;
  cursor: pointer;
  transition: var(--transition-fast);
}

.add-library-btn:hover {
  background: rgba(6, 182, 212, 0.3);
}

.folder-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  border-left: 2px solid transparent;
}

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

.folder-item.active {
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  border-left-color: #06b6d4;
}

.folder-item svg {
  opacity: 0.6;
  flex-shrink: 0;
}

.folder-count {
  margin-left: auto;
  font-size: 0.65rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 10px;
}

/* Main Content */
.plugin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #12121f;
}

/* Toolbar */
.plugin-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #0f0f1a;
  border-bottom: 1px solid var(--border-color);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  flex: 1;
  max-width: 220px;
}

.search-box svg {
  stroke: var(--text-muted);
}

.search-box span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.toolbar-filters {
  display: flex;
  align-items: center;
  gap: 10px;
}

.file-count {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.filter-dropdown {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-secondary);
  cursor: pointer;
}

.filter-dropdown svg {
  fill: var(--text-muted);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.volume-slider {
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  position: relative;
}

.volume-track {
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg, #06b6d4, #f97316);
  border-radius: 2px;
  position: relative;
}

.volume-thumb {
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #f97316;
  border-radius: 50%;
}

/* File List */
.file-list {
  flex: 1;
  overflow: hidden;
}

.file-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-fast);
}

.file-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.file-row.playing {
  background: rgba(6, 182, 212, 0.1);
}

.file-star {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.scale-badge {
  font-size: 0.6rem;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 500;
  white-space: nowrap;
  min-width: 70px;
  text-align: center;
}

.scale-badge.chromatic {
  background: rgba(6, 182, 212, 0.2);
  color: #06b6d4;
}

.scale-badge.lydian {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
}

.scale-badge.phrygian {
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
}

.scale-badge.dorian {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.file-key {
  color: var(--text-muted);
  font-size: 0.6rem;
  min-width: 40px;
}

.file-name {
  color: var(--text-primary);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 120px;
}

.file-row.playing .file-name {
  color: #06b6d4;
}

.file-instrument {
  color: #06b6d4;
  min-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-meta {
  color: var(--text-muted);
  min-width: 50px;
  text-align: right;
}

.file-meta.playing-time {
  color: #06b6d4;
}

/* Piano Roll */
.piano-roll {
  height: 120px;
  background: #0a0a14;
  border-top: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.piano-roll-notes {
  padding: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.note-row {
  position: relative;
  height: 14px;
  flex: 1;
}

.note {
  position: absolute;
  height: 100%;
  background: #06b6d4;
  border-radius: 2px;
  opacity: 0.9;
}

.piano-roll-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 45%;
  width: 2px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Bottom Controls */
.plugin-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  background: #0f0f1a;
  border-top: 1px solid var(--border-color);
}

.transport-buttons {
  display: flex;
  gap: 8px;
}

.play-btn,
.download-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 182, 212, 0.2);
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: 6px;
  color: #06b6d4;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.play-btn:hover,
.download-btn:hover {
  background: rgba(6, 182, 212, 0.3);
}

.control-right {
  display: flex;
  gap: 10px;
}

.control-dropdown {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: var(--text-secondary);
  cursor: pointer;
}

.control-dropdown svg {
  fill: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.75rem;
  animation: bounce 2s infinite;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tagline {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--accent-secondary);
  margin-bottom: 16px;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.section-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

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

.feature-card {
  background: var(--bg-card);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition-base);
}

.feature-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.feature-icon svg {
  stroke: white;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
  padding: var(--section-padding) 0;
}

.steps-container {
  max-width: 900px;
  margin: 0 auto;
}

.step {
  display: grid;
  grid-template-columns: 80px 1fr 150px;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.step:last-child {
  border-bottom: none;
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.step-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.step-visual {
  display: flex;
  justify-content: center;
}

.step-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: 50%;
  border: 1px solid var(--border-color);
}

.step-icon svg {
  stroke: var(--accent-primary);
}

/* ============================================
   SHOWCASE SECTION
   ============================================ */
.showcase {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

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

.showcase-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.showcase-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.showcase-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-secondary);
}

.showcase-features svg {
  stroke: var(--accent-primary);
  flex-shrink: 0;
}

.showcase-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-showcase {
  width: 350px;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border-radius: 50%;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 100px var(--accent-glow),
    inset 0 0 60px rgba(124, 58, 237, 0.1);
}

.showcase-logo {
  width: 200px;
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px var(--accent-glow));
}

/* ============================================
   COMPATIBILITY SECTION
   ============================================ */
.compatibility {
  padding: var(--section-padding) 0;
}

.daws-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.daw-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-base);
}

.daw-item:hover {
  border-color: var(--accent-primary);
  transform: translateY(-4px);
}

.daw-icon svg {
  fill: var(--accent-primary);
  opacity: 0.7;
}

.daw-item span {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-align: center;
}

.system-requirements {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.requirement {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 40px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.requirement-icon svg {
  stroke: var(--accent-primary);
}

.requirement-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.requirement-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
  padding: var(--section-padding) 0;
  background: var(--bg-secondary);
}

.pricing-card {
  max-width: 500px;
  margin: 0 auto;
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 2px solid var(--accent-primary);
  padding: 48px;
  position: relative;
  text-align: center;
  box-shadow: 0 0 100px var(--accent-glow);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.pricing-header {
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-header p {
  color: var(--text-secondary);
}

.pricing-price {
  margin-bottom: 32px;
}

.price-original {
  font-size: 1.5rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 12px;
}

.price-current {
  font-size: 4rem;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-period {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 40px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  stroke: var(--accent-primary);
  flex-shrink: 0;
}

.pricing-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
}

.pricing-guarantee {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter {
  padding: 80px 0;
  background: linear-gradient(
    180deg,
    var(--bg-primary) 0%,
    var(--bg-secondary) 100%
  );
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.newsletter-content p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 16px 24px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition-base);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  border-color: var(--accent-primary);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 80px 0 40px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 300px;
}

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

.footer-column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}

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

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

.footer-column a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 32px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

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

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

  .showcase-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .showcase-features {
    align-items: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

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

  .title-main {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

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

  .step {
    grid-template-columns: 60px 1fr;
  }

  .step-visual {
    display: none;
  }

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

  .system-requirements {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .newsletter-form {
    flex-direction: column;
  }

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

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }

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

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

/* ============================================
   Legal Pages (Privacy, Terms, Refund)
   ============================================ */

.legal-page {
  padding: 140px 0 80px;
  min-height: 100vh;
  background: var(--bg-primary);
}

.legal-page .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-page h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.legal-page .last-updated,
.legal-page .page-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 48px;
}

.legal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 48px;
}

.legal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content a {
  color: var(--accent-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-content a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

.legal-content strong {
  color: var(--text-primary);
}

.legal-content .highlight-box {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.1),
    rgba(6, 182, 212, 0.1)
  );
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
}

.legal-content .highlight-box h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.back-link {
  display: inline-flex;
  margin-top: 48px;
}

/* ============================================
   FAQ Page
   ============================================ */

.faq-page .faq-content {
  background: none;
  border: none;
  padding: 0;
}

.faq-section {
  margin-bottom: 48px;
}

.faq-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-secondary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-primary);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(124, 58, 237, 0.3);
}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.faq-item p,
.faq-item ul {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.faq-item ul {
  padding-left: 20px;
  margin-top: 8px;
  list-style: disc;
}

.faq-item li {
  margin-bottom: 4px;
}

.faq-item a {
  color: var(--accent-secondary);
  text-decoration: none;
}

.faq-item a:hover {
  text-decoration: underline;
}

.faq-cta {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 48px;
  margin-top: 48px;
}

.faq-cta h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.faq-cta p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ============================================
   Documentation Page
   ============================================ */

.docs-page .docs-content {
  background: none;
}

.docs-section {
  margin-bottom: 48px;
}

.docs-section > h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-primary);
}

.docs-item {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.docs-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-secondary);
  margin-bottom: 12px;
}

.docs-item p,
.docs-item ul,
.docs-item ol {
  color: var(--text-secondary);
  line-height: 1.7;
}

.docs-item ul,
.docs-item ol {
  padding-left: 20px;
  margin-top: 8px;
  list-style: disc;
}

.docs-item ol {
  list-style: decimal;
}

.docs-item li {
  margin-bottom: 8px;
}

.docs-item code {
  background: var(--bg-tertiary);
  color: var(--accent-secondary);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.9em;
}

.docs-item strong {
  color: var(--text-primary);
}

/* Badge examples for documentation */
.badge-example {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 8px;
}

.badge-example.chromatic {
  background: rgba(168, 85, 247, 0.2);
  color: #a855f7;
}

.badge-example.major {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.badge-example.minor {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.badge-example.dorian {
  background: rgba(236, 72, 153, 0.2);
  color: #ec4899;
}

.badge-example.phrygian {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.badge-example.lydian {
  background: rgba(6, 182, 212, 0.2);
  color: #06b6d4;
}

.badge-example.mixolydian {
  background: rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
}

/* Keyboard shortcuts */
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.shortcut {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-tertiary);
  padding: 12px 16px;
  border-radius: 8px;
}

.shortcut kbd {
  background: var(--bg-primary);
  border: 1px solid var(--border-primary);
  border-radius: 4px;
  padding: 4px 8px;
  font-family: "SF Mono", Monaco, monospace;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.shortcut span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.docs-cta {
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 48px;
  margin-top: 48px;
}

.docs-cta h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.docs-cta p {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* ============================================
   Contact Page
   ============================================ */

.contact-page .container {
  max-width: 1100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 48px;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s ease;
}

.contact-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.2),
    rgba(6, 182, 212, 0.2)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--accent-secondary);
}

.contact-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 12px;
}

.contact-link {
  display: block;
  color: var(--accent-secondary);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: var(--accent-primary);
}

.response-time {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  margin-top: 8px !important;
}

.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 32px;
}

.contact-form-container h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-primary);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 24px;
  }

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

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