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

:root {
  --bg-dark: #0A0A0F;
  --bg-dark-deep: #070710;
  --bg-elevated: #14141B;
  --bg-surface: #1E1E2A;
  --bg-cream: rgba(251, 245, 237, 0.94);
  --bg-glass-dark: rgba(20, 20, 27, 0.9);
  --text-on-light: #4F3D35;
  --text-on-light-secondary: #7A6355;
  --text-on-dark: #E8E8ED;
  --text-on-dark-secondary: #8A8A9A;
  --accent-amber: #F0A830;
  --accent-amber-dim: #C48A20;
  --accent-teal: #2DD4BF;
  --accent-gold: #FDE68A;
  --border-light: #D9CBBB;
  --border-dark: #2A2A3A;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-dark);
  color: var(--text-on-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== Fixed DAW Background ===== */
.daw-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

.daw-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.daw-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}

/* ===== Playhead ===== */
.playhead {
  position: fixed;
  top: 0;
  width: 2px;
  height: 100vh;
  background: rgba(240, 168, 48, 0.7);
  z-index: 1;
  left: 300px;
  pointer-events: none;
  transition: left 0.05s linear;
  box-shadow: 0 0 8px rgba(240, 168, 48, 0.3);
}

/* ===== Nav Bar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 120px;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 42, 58, 0.4);
  z-index: 100;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

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

.nav-demo-btn {
  font-size: 13px;
  padding: 8px 16px;
  gap: 6px;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-amber);
  color: var(--bg-dark);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms ease;
}

.btn-primary:hover {
  box-shadow: 0 0 24px rgba(240, 168, 48, 0.3);
  transform: translateY(-1px);
}

.btn-sm {
  font-size: 14px;
  padding: 10px 24px;
}

.btn-lg {
  font-size: 18px;
  padding: 18px 40px;
}

/* ===== Content (scrollable) ===== */
.content {
  position: relative;
  z-index: 2;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 160px;
  background: rgba(0, 0, 0, 0.38);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 1000px;
}

.hero h1 {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-align: center;
  color: #fff;
}

.hero-sub {
  font-size: 20px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: 700px;
}

.hero-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ===== Hero Demo Teaser ===== */
.hero-demo-teaser {
  position: relative;
  width: 100%;
  max-width: 800px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: scale(var(--teaser-scale, 0.5));
  transition: box-shadow 300ms ease;
  will-change: transform;
}

.hero-demo-teaser:hover {
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(240, 168, 48, 0.2), 0 0 40px rgba(240, 168, 48, 0.08);
}

.hero-demo-img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-demo-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms ease;
}

.hero-demo-play svg {
  margin-left: 3px;
}

.hero-demo-teaser:hover .hero-demo-play {
  background: rgba(240, 168, 48, 0.85);
  border-color: transparent;
  transform: translate(-50%, -50%) scale(1.08);
}

.hero-demo-label {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 0 24px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  letter-spacing: -0.01em;
}

/* ===== Badge ===== */
.badge {
  display: inline-block;
  background: rgba(240, 168, 48, 0.15);
  color: var(--accent-amber);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== Panels ===== */
.panel {
  max-width: 1200px;
  margin: 60px auto;
  padding: 64px 80px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.panel-light {
  background: var(--bg-cream);
  border: 1px solid rgba(217, 203, 187, 0.4);
  color: var(--text-on-light);
}

.panel-dark {
  background: var(--bg-glass-dark);
  border: 1px solid rgba(42, 42, 58, 0.4);
  color: var(--text-on-dark);
}

.panel h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.22;
}

.panel-light h2 {
  color: var(--text-on-light);
}

.panel-dark h2 {
  color: #fff;
}

.panel p {
  font-size: 16px;
  line-height: 1.625;
  max-width: 800px;
}

.panel-light p {
  color: var(--text-on-light-secondary);
}

/* ===== Labels ===== */
.label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.label-amber { color: var(--accent-amber); }

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-icon {
  color: var(--accent-amber);
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-on-light);
}

.feature-card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-on-light-secondary);
}

/* ===== Pricing ===== */
.panel-pricing {
  max-width: 560px;
  align-items: center;
  text-align: center;
  padding: 48px;
}

.price {
  font-size: 56px;
  font-weight: 800;
  color: var(--text-on-light);
}

.price-orig {
  font-size: 20px;
  color: var(--text-on-light-secondary);
  text-decoration: line-through;
}

.price-desc {
  font-size: 16px;
  color: var(--text-on-light-secondary);
  text-align: center;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px;
  width: 100%;
  text-align: left;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-on-light);
}

.trust-line {
  font-size: 12px;
  color: var(--text-on-light-secondary) !important;
}

/* ===== Waitlist Form ===== */
.waitlist-form {
  width: 100%;
}

.waitlist-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  width: 100%;
}

.waitlist-input {
  flex: 1 1 240px;
  padding: 16px 20px;
  border-radius: 10px;
  border: 2px solid var(--border-light);
  background: #fff;
  color: var(--text-on-light);
  font-family: var(--font-sans);
  font-size: 16px;
  outline: none;
  transition: border-color 200ms;
}

.waitlist-input:focus {
  border-color: var(--accent-amber);
  box-shadow: 0 0 0 3px rgba(240, 168, 48, 0.12);
}

.waitlist-input::placeholder {
  color: var(--text-on-light-secondary);
}

.waitlist-loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(10, 10, 15, 0.2);
  border-radius: 50%;
  border-top-color: var(--bg-dark);
  animation: waitlist-spin 0.8s ease-in-out infinite;
}

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

.waitlist-msg {
  display: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.waitlist-msg--success {
  background: rgba(74, 222, 128, 0.15);
  color: #16a34a;
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.waitlist-msg--error {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quote {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.87);
  font-style: italic;
}

.author {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.53);
}

/* ===== FAQ ===== */
.panel-faq {
  max-width: 800px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.faq-item {
  border-bottom: 1px solid rgba(217, 203, 187, 0.4);
  padding: 20px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item summary {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-on-light);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--text-on-light-secondary);
  transition: transform 200ms ease;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item p {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-on-light-secondary);
}

/* ===== Final CTA ===== */
.panel-cta {
  align-items: center;
  text-align: center;
  padding: 80px 120px;
}

.cta-sub {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.67) !important;
}

.cta-note {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4) !important;
}

/* ===== Footer ===== */
.footer {
  background: rgba(20, 20, 27, 0.94);
  border-top: 1px solid rgba(42, 42, 58, 0.4);
  border-radius: 20px 20px 0 0;
  padding: 48px 80px;
  max-width: 1440px;
  margin: 60px auto 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-bottom: 100px;
}

.footer-columns {
  display: flex;
  gap: 48px;
}

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

.footer-logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #fff;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.53);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.53);
  text-decoration: none;
  transition: color 200ms;
}

.footer-col a:hover {
  color: var(--accent-amber);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Transport Bar ===== */
.transport-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52px;
  background: rgba(10, 10, 15, 0.93);
  border-top: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  z-index: 200;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.tp-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tp-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  opacity: 0.8;
  transition: opacity 200ms;
}

.tp-btn:hover { opacity: 1; }

.rec-dot {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #CC3333;
}

.tp-timecode {
  background: var(--bg-dark-deep);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
}

.tp-time {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-amber);
  letter-spacing: 0.05em;
  min-width: 220px;
  text-align: center;
}

.tp-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tp-box {
  background: var(--bg-dark-deep);
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tp-bpm {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

.tp-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  color: #666;
}

.tp-ts {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

/* ===== Hero Buttons ===== */
.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  text-decoration: none;
  transition: all 200ms ease;
}

.btn-secondary:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  box-shadow: 0 0 24px rgba(240, 168, 48, 0.15);
  transform: translateY(-1px);
}

.btn-secondary.btn-lg {
  font-size: 18px;
  padding: 18px 40px;
}

/* ===== DAW Modal ===== */
.daw-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.daw-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.daw-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.daw-modal-container {
  position: relative;
  width: 80vw;
  height: 70vh;
  max-width: 1400px;
  max-height: 800px;
  background: #111;
  border-radius: 16px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.daw-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  z-index: 20;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 200ms;
}

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

/* Overlay */
.daw-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: rgba(17, 17, 17, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.daw-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.daw-overlay-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.daw-overlay-title {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.daw-overlay-keys {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.daw-overlay-keys--sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.daw-overlay-keys kbd {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: inherit;
  font-weight: 600;
  color: var(--accent-amber);
}

/* ===== Recue Search Panel ===== */
.recue-panel {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.recue-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}

.recue-panel-inner {
  width: 860px;
  max-width: 95%;
  max-height: calc(100% - 48px);
  background: rgba(14, 12, 10, 0.82);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(240, 168, 48, 0.12);
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 80px rgba(240, 168, 48, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.recue-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px 0;
}

.recue-panel-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-amber);
}

.recue-panel-daw {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 2px 8px;
}

.recue-panel-close {
  margin-left: auto;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  font-size: 22px;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  transition: color 200ms;
}

.recue-panel-close:hover {
  color: #fff;
}

/* Search bar */
.recue-search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 20px 0;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(240, 168, 48, 0.12);
  border-radius: 10px;
  transition: border-color 200ms;
}

.recue-search-wrap:focus-within {
  border-color: rgba(240, 168, 48, 0.35);
  box-shadow: 0 0 0 3px rgba(240, 168, 48, 0.06);
}

.recue-search-icon {
  color: var(--accent-amber);
  flex-shrink: 0;
  opacity: 0.7;
}

.recue-search {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.recue-search::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.recue-search-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 2px 8px;
  white-space: nowrap;
}

/* Results area */
.recue-results {
  padding: 16px 20px 20px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

/* Empty state */
.recue-empty {
  text-align: center;
  padding: 32px 0;
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

.recue-empty-icon {
  font-size: 32px;
  margin-bottom: 8px;
  opacity: 0.5;
}

/* Quick tags (shown before search) */
.recue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 8px 0;
}

.recue-tag {
  background: rgba(240, 168, 48, 0.08);
  border: 1px solid rgba(240, 168, 48, 0.12);
  border-radius: 8px;
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(240, 168, 48, 0.8);
  cursor: pointer;
  transition: all 150ms;
}

.recue-tag:hover {
  background: rgba(240, 168, 48, 0.15);
  border-color: rgba(240, 168, 48, 0.25);
  color: var(--accent-amber);
}

/* Learn/technique tags (green) */
.recue-tag--learn {
  background: rgba(74, 222, 128, 0.08);
  border-color: rgba(74, 222, 128, 0.12);
  color: rgba(74, 222, 128, 0.8);
}

.recue-tag--learn:hover {
  background: rgba(74, 222, 128, 0.15);
  border-color: rgba(74, 222, 128, 0.25);
  color: #4ade80;
}

/* Tags section labels */
.recue-tags-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 4px 0;
}

.recue-tags-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.25);
  padding-left: 4px;
}

/* 3-column results grid */
.recue-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.recue-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recue-col-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 6px;
}

.recue-col-title svg {
  opacity: 0.5;
}

/* Shortcut items */
.recue-shortcut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background 150ms;
}

.recue-shortcut:hover {
  background: rgba(255, 255, 255, 0.04);
}

.recue-shortcut-label {
  font-family: var(--font-sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.recue-shortcut-keys {
  display: flex;
  gap: 3px;
}

.recue-shortcut-keys kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-amber);
  background: rgba(240, 168, 48, 0.08);
  border: 1px solid rgba(240, 168, 48, 0.15);
  border-radius: 4px;
  padding: 2px 6px;
  white-space: nowrap;
}

/* Add custom shortcut button */
.recue-add-shortcut {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 7px 8px;
  margin-top: 4px;
  background: none;
  border: 1px dashed rgba(240, 168, 48, 0.15);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: rgba(240, 168, 48, 0.5);
  cursor: pointer;
  transition: all 150ms;
}

.recue-add-shortcut:hover {
  border-color: rgba(240, 168, 48, 0.35);
  color: var(--accent-amber);
  background: rgba(240, 168, 48, 0.05);
}

.recue-add-shortcut svg {
  flex-shrink: 0;
}

/* Tip items */
.recue-tip-item {
  padding: 8px 10px;
  background: rgba(45, 212, 191, 0.04);
  border: 1px solid rgba(45, 212, 191, 0.08);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.recue-tip-item strong {
  color: var(--accent-teal);
  font-weight: 600;
}

/* Tutorial items */
.recue-tutorial {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 150ms;
}

.recue-tutorial:hover {
  background: rgba(255, 255, 255, 0.04);
}

.recue-tutorial-thumb {
  width: 64px;
  height: 38px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.recue-tutorial-thumb::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 10px solid rgba(255, 255, 255, 0.8);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.recue-tutorial-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.recue-tutorial-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recue-tutorial-duration {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255, 255, 255, 0.3);
}

/* No results */
.recue-no-results {
  text-align: center;
  padding: 24px 0;
  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;
}

/* ===== Article / Learn card ===== */
.recue-article {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 4px 0;
}

.recue-article + .recue-article {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.recue-article-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recue-article-badge {
  display: inline-block;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.15);
  border-radius: 4px;
  padding: 2px 8px;
}

.recue-article-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

/* Video block */
.recue-article-video {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  cursor: pointer;
  transition: background 150ms, border-color 150ms;
}

.recue-article-video:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.recue-article-video-thumb {
  width: 96px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(45, 212, 191, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.recue-article-play-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms;
}

.recue-article-video:hover .recue-article-play-btn {
  background: rgba(74, 222, 128, 0.6);
}

.recue-article-play-btn svg {
  margin-left: 2px;
}

.recue-article-video-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.recue-article-video-title {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}

.recue-article-video-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}

/* Article body text */
.recue-article-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recue-article-p {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.recue-article-p:first-child {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

/* Key takeaways */
.recue-article-takeaways {
  background: rgba(74, 222, 128, 0.04);
  border: 1px solid rgba(74, 222, 128, 0.1);
  border-radius: 10px;
  padding: 14px 16px;
}

.recue-article-takeaways-title {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4ade80;
  margin-bottom: 10px;
}

.recue-takeaway-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.recue-takeaway-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

.recue-takeaway-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Modal layout wrapper */
.daw-modal-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-height: 96vh;
}

.daw-bar-top {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.daw-bar-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.daw-bar-bottom-label {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.daw-compat-icons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.daw-compat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
  transition: opacity 200ms;
}

.daw-compat-icon:hover {
  opacity: 1;
}

.daw-bar-bottom-more {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  white-space: nowrap;
}

/* DAW Sim layout */
.daw-sim {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.daw-ruler {
  height: 28px;
  background: #1a1a1a;
  border-bottom: 1px solid #333;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.daw-ruler-mark {
  position: absolute;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #666;
  padding-left: 4px;
  border-left: 1px solid #333;
}

.daw-main {
  display: flex;
  flex: 1;
  min-height: 0;
}

.daw-tracklist {
  width: 200px;
  flex-shrink: 0;
  background: #161616;
  border-right: 1px solid #333;
  overflow: hidden;
}

.daw-track-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border-bottom: 1px solid #222;
  font-size: 12px;
  color: #ccc;
  cursor: default;
  transition: background 200ms;
}

.daw-track-color {
  width: 4px;
  height: 60%;
  border-radius: 2px;
  flex-shrink: 0;
}

.daw-track-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-sans);
  font-weight: 500;
}

.daw-track-vol {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #666;
}

.daw-timeline {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  background: #1a1a1a;
}

.daw-timeline canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.daw-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(240, 168, 48, 0.9);
  box-shadow: 0 0 8px rgba(240, 168, 48, 0.4);
  z-index: 5;
  left: 0;
  pointer-events: none;
}

/* Transport */
.daw-transport {
  height: 48px;
  background: #161616;
  border-top: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 16px;
  flex-shrink: 0;
}

.daw-tp-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.daw-tp-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 4px;
  transition: all 150ms;
}

.daw-tp-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.daw-tp-play {
  color: #fff;
}

.daw-tp-play.is-active {
  color: #4ade80;
}

.daw-tp-loop.is-active {
  color: var(--accent-amber);
}

.daw-tp-loop.is-active:hover {
  color: var(--accent-amber);
}

.daw-tp-timecode {
  background: #0D0D0D;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 4px 14px;
}

.daw-tp-time {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent-amber);
  letter-spacing: 0.05em;
}

.daw-tp-info {
  display: flex;
  align-items: center;
  gap: 6px;
}

.daw-tp-box {
  background: #0D0D0D;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 150ms;
}

.daw-tp-bpm {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.daw-tp-label {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  color: #666;
}

.daw-tp-ts {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

/* Body lock when modal is open */
body.daw-modal-open {
  overflow: hidden;
}

/* ===== Inline DAW Demo (mobile only) ===== */
.daw-inline-demo {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 20px 40px;
}

.daw-inline-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #111;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.daw-inline-replay {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 200ms;
}

.daw-inline-replay.is-visible {
  display: inline-flex;
}

.daw-inline-replay:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

/* Inline mode overrides for the modal */
.daw-modal.is-inline {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
  /* Fixed reference size — scaled down via transform in JS */
  width: 900px;
  height: 562px;
  transform-origin: top left;
  transform: scale(var(--inline-scale, 0.4));
}

.daw-modal.is-inline .daw-modal-backdrop {
  display: none;
}

.daw-modal.is-inline .daw-modal-layout {
  width: 100%;
  height: 100%;
  max-height: none;
  gap: 0;
}

.daw-modal.is-inline .daw-bar-top,
.daw-modal.is-inline .daw-bar-bottom,
.daw-modal.is-inline .daw-modal-close {
  display: none;
}

.daw-modal.is-inline .daw-modal-container {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
}

/* Force desktop-like rendering inside inline mode (override responsive rules) */
.daw-modal.is-inline .daw-tracklist { width: 200px; }
.daw-modal.is-inline .daw-track-vol { display: block; }
.daw-modal.is-inline .daw-tp-info { display: flex; }
.daw-modal.is-inline .daw-overlay-title { font-size: 28px; }
.daw-modal.is-inline .daw-overlay-keys { font-size: 18px; }
.daw-modal.is-inline .daw-overlay-keys--sub { font-size: 14px; color: rgba(255, 255, 255, 0.4); }
.daw-modal.is-inline .recue-columns { grid-template-columns: 1fr 1fr 1fr; }

/* Inline demo kbd overlay for scenario */
.daw-inline-kbd-overlay {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.daw-inline-kbd-overlay.is-fading {
  opacity: 0;
}

.daw-inline-kbd-overlay kbd {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 8px 20px;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--accent-amber);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .navbar { padding: 0 40px; }
  .hero { padding: 100px 40px; }
  .hero h1 { font-size: 44px; }
  .panel { margin: 40px 20px; padding: 48px 40px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-columns { flex-wrap: wrap; }
  .daw-modal-container { width: 95vw; height: 85vh; }
  .daw-tracklist { width: 150px; }
}

@media (max-width: 768px) {
  .daw-inline-demo { display: flex; }
  .hero-demo-teaser,
  #openDawModalNav { display: none !important; }
}

@media (max-width: 640px) {
  .navbar { padding: 0 20px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .panel { padding: 32px 24px; }
  .panel h2 { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .panel-pricing { max-width: 100%; }
  .price { font-size: 44px; }
  .footer-columns { flex-direction: column; gap: 32px; }
  .tp-info { display: none; }
  .tp-time { font-size: 16px; min-width: 170px; }
  .playhead { display: none; }
  .daw-modal-container { width: 100vw; height: 100vh; max-width: none; max-height: none; border-radius: 0; }
  .daw-tracklist { width: 120px; }
  .daw-track-vol { display: none; }
  .daw-tp-info { display: none; }
  .daw-overlay-title { font-size: 22px; }
  .daw-overlay-keys { font-size: 14px; }
  .hero-buttons { flex-direction: column; }
  .daw-bar-bottom-more { display: none; }
  .daw-bar-bottom-label { display: none; }
  .daw-compat-icons { gap: 8px; }
  .daw-bar-top { font-size: 16px; }
  .daw-modal-layout { gap: 14px; }
}
