/* ==========================================================================
   ClipSampler — Hoja de Estilos de Alta Gama
   Inspirado en el Sistema de Diseño UI/UX Pro Max (Estudio Zafiro & Titanio)
   ========================================================================== */

:root {
  /* Paleta Base: Textura de Aluminio Anodizado Oscuro (#0D0D11 - React Bits / Aceternity UI) */
  --bg-base: #0D0D11;
  --bg-surface: #11131A;
  --bg-card: #141722;
  --bg-card-hover: #191E2D;
  --bg-card-glass: rgba(20, 23, 34, 0.78);

  /* Curvas de Animación Personalizadas (ui-animations & review-animations) */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  /* Acentos de Color y Luces de Estudio */
  --cyan-primary: #38bdf8;
  --cyan-glow: rgba(56, 189, 248, 0.35);
  --cyan-dark: #0284c7;

  --orange-freesound: #ea580c;
  --orange-glow: rgba(234, 88, 12, 0.35);
  --orange-bright: #f97316;

  --teal-accent: #2dd4bf;
  --purple-accent: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.3);

  --paypal-yellow: #ffc439;
  --paypal-blue: #0070ba;

  /* Texto y Contrastes (WCAG AAA >= 7:1 en primario, >= 4.5:1 en secundario) */
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Bordes y Sombras */
  --border-subtle: rgba(56, 189, 248, 0.14);
  --border-highlight: rgba(56, 189, 248, 0.42);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.78);
  --shadow-cyan-glow: 0 0 35px -5px rgba(56, 189, 248, 0.32);

  /* Tipografías */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Espaciado */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

@property --beam-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Reset y Reglas Universales */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Contenedores */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
}

.section-padding {
  padding-top: clamp(60px, 9vw, 110px);
  padding-bottom: clamp(60px, 9vw, 110px);
}

/* Textos y Encabezados */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.text-center {
  text-align: center;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #2dd4bf 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   BARRA DE NOTIFICACIÓN SUPERIOR (OFERTA)
   ========================================================================== */
.promo-bar {
  background: linear-gradient(90deg, #091322 0%, #16243d 50%, #091322 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 8px 0;
  font-size: 0.88rem;
  position: relative;
  z-index: 50;
}

.promo-content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.badge-pulse {
  background: rgba(234, 88, 12, 0.22);
  color: #fb923c;
  border: 1px solid rgba(234, 88, 12, 0.5);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.4); }
  50% { box-shadow: 0 0 0 6px rgba(234, 88, 12, 0); }
}

.promo-text {
  color: #cbd5e1;
}

.price-highlight {
  color: var(--cyan-primary);
  font-weight: 700;
}

.price-strikethrough {
  color: var(--text-muted);
  margin-left: 4px;
}

.countdown-timer {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: monospace;
  font-size: 0.85rem;
  color: #38bdf8;
}

.btn-promo-action {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.btn-promo-action:hover {
  color: #7dd3fc;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 12, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.14);
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.nav-container,
.nav-container-wide {
  width: 100%;
  max-width: 1840px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(24px, 3.5vw, 64px);
  padding-right: clamp(24px, 3.5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 2.8vw, 52px);
  min-height: 78px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  border-radius: 9px;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.brand-logo:hover .brand-icon {
  transform: scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-main);
  white-space: nowrap;
}

.brand-badge {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--cyan-primary);
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: clamp(16px, 2vw, 38px);
  padding: 0 clamp(8px, 1.5vw, 28px);
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 7px;
  transition: color 0.18s var(--ease-out), background-color 0.18s var(--ease-out), transform 0.18s var(--ease-out);
}

.nav-link:hover {
  color: var(--cyan-primary);
  background: rgba(56, 189, 248, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-buy-btn {
  white-space: nowrap;
  padding: 0 18px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 8px;
}

.hamburger-icon {
  width: 26px;
  height: 26px;
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), color 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 44px; /* Touch target minimum */
  padding: 0 20px;
  font-size: 0.95rem;
}

.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.86rem;
  border-radius: 7px;
}

.btn-lg {
  min-height: 52px;
  padding: 0 26px;
  font-size: 1.05rem;
  border-radius: 10px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.45);
}

.btn-secondary {
  background: rgba(15, 25, 45, 0.85);
  color: #e2e8f0;
  border-color: rgba(56, 189, 248, 0.22);
}

.btn-secondary:hover {
  background: rgba(21, 35, 62, 0.95);
  border-color: var(--cyan-primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-paypal {
  background: linear-gradient(135deg, #0070ba 0%, #003087 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 25px rgba(0, 112, 186, 0.38);
  font-size: 1.08rem;
}

.btn-paypal:hover {
  background: linear-gradient(135deg, #0079c1 0%, #00457c 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 112, 186, 0.5);
}

.shadow-cyan {
  box-shadow: var(--shadow-cyan-glow);
}

.icon-svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: clamp(40px, 7vw, 90px);
  padding-bottom: clamp(60px, 9vw, 110px);
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 550px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.16) 0%, rgba(168, 85, 247, 0.08) 45%, rgba(6, 10, 18, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(56, 189, 248, 0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(56, 189, 248, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  align-items: center;
  gap: clamp(32px, 5vw, 60px);
  position: relative;
  z-index: 2;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.inline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 14px;
  background: rgba(56, 189, 248, 0.09);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  color: var(--cyan-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--cyan-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan-primary);
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  letter-spacing: -0.03em;
  font-weight: 800;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-subtitle strong {
  color: #ffffff;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 10px;
  font-size: 0.86rem;
  color: #cbd5e1;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.check-icon {
  width: 17px;
  height: 17px;
  color: var(--teal-accent);
}

/* ==========================================================================
   SIMULADOR Y CAPTURAS REALES EN EL HERO (HERO PREVIEW)
   ========================================================================== */
.hero-preview {
  position: relative;
}

.plugin-window-frame {
  background: #091222;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 14px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(56, 189, 248, 0.18);
  overflow: hidden;
}

.window-header {
  background: #060c18;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.window-tabs {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.45);
  padding: 3px;
  border-radius: 7px;
}

.win-tab-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 5px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.win-tab-btn:hover {
  color: #ffffff;
}

.win-tab-btn.active {
  background: #1e293b;
  color: var(--cyan-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.window-badge-pill {
  font-size: 0.68rem;
  font-weight: 700;
  background: rgba(56, 189, 248, 0.14);
  color: var(--cyan-primary);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 2px 7px;
  border-radius: 4px;
}

/* Vista 1: Captura Real */
.real-ui-view {
  display: none;
  flex-direction: column;
  background: #050b16;
}

.real-ui-view.active {
  display: flex;
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.real-software-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.image-wrapper:hover .real-software-img {
  transform: scale(1.02);
}

.img-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(6, 10, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #e2e8f0;
  font-size: 0.74rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  pointer-events: none;
  transition: background 0.2s;
}

.img-zoom-hint svg {
  width: 14px;
  height: 14px;
  color: var(--cyan-primary);
}

.real-ui-caption {
  padding: 12px 16px;
  background: #091222;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
}

.caption-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
}

.caption-tag {
  background: rgba(56, 189, 248, 0.16);
  color: var(--cyan-primary);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.btn-play-hero-mini {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #0284c7;
  color: #ffffff;
  border: none;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.78rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-play-hero-mini:hover {
  background: #0ea5e9;
  transform: scale(1.04);
}

.btn-play-hero-mini svg {
  width: 12px;
  height: 12px;
}

/* Vista 2: Simulador */
.interactive-ui-view {
  display: none;
}

.interactive-ui-view.active {
  display: block;
}

.plugin-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: radial-gradient(circle at 50% 0%, #0d1a33 0%, #081120 100%);
}

.plugin-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.plugin-logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--cyan-primary);
  letter-spacing: 0.05em;
}

.plugin-logo-text span {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-left: 4px;
}

.plugin-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
  padding: 3px 8px;
  border-radius: 4px;
}

/* Visor de Forma de Onda */
.waveform-viewer {
  position: relative;
  background: #040811;
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: 8px;
  padding: 8px 10px;
  overflow: hidden;
}

.waveform-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cyan-primary);
  margin-bottom: 6px;
}

.track-info {
  color: #94a3b8;
  font-family: monospace;
}

.waveform-canvas {
  width: 100%;
  height: 95px;
  display: block;
}

.playhead {
  position: absolute;
  top: 28px;
  bottom: 0;
  width: 2px;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  left: 0;
  pointer-events: none;
  transition: left 0.05s linear;
}

/* Quick Controls */
.plugin-quick-controls {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 10px;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.knob-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mini-knob {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border: 2px solid #38bdf8;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.6);
  position: relative;
  cursor: pointer;
}

.knob-dial {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 2px;
  height: 10px;
  background: #ffffff;
  transform-origin: bottom center;
}

.rotate-45 { transform: translateX(-50%) rotate(45deg); }
.rotate-60 { transform: translateX(-50%) rotate(60deg); }
.rotate-90 { transform: translateX(-50%) rotate(90deg); }
.rotate-120 { transform: translateX(-50%) rotate(120deg); }

.knob-group span {
  font-size: 0.68rem;
  color: #94a3b8;
  font-weight: 600;
}

.btn-plugin-play {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #0284c7;
  color: #ffffff;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn-plugin-play:hover {
  background: #0ea5e9;
  transform: scale(1.03);
}

.btn-plugin-play svg {
  width: 14px;
  height: 14px;
}

/* Mini Pads Hero */
.mini-mpc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.pad-btn {
  background: linear-gradient(145deg, #14213a 0%, #0d1525 100%);
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 6px;
  padding: 10px 6px;
  color: #e2e8f0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s ease, opacity 0.1s ease, background-color 0.1s ease, border-color 0.1s ease, box-shadow 0.1s ease, color 0.1s ease;
  min-height: 48px;
}

.pad-btn span {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--cyan-primary);
}

.pad-btn small {
  font-size: 0.65rem;
  color: #94a3b8;
}

.pad-btn:active, .pad-btn.active {
  background: linear-gradient(145deg, #0284c7 0%, #0369a1 100%);
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
  transform: scale(0.96);
}

.pad-btn:active span, .pad-btn.active span {
  color: #ffffff;
}

/* ==========================================================================
   SECCIÓN DE GALERÍA DE CAPTURAS REALES (HD)
   ========================================================================== */
.gallery-section {
  background: radial-gradient(circle at 50% 30%, #0c1830 0%, #060a12 80%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.software-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform 0.28s ease, opacity 0.28s ease, background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.2);
}

.gallery-img-container {
  position: relative;
  background: #030712;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #040813;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-img-container:hover .gallery-img {
  transform: scale(1.03);
}

.gallery-zoom-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(6, 11, 20, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.gallery-zoom-badge svg {
  width: 14px;
  height: 14px;
  color: var(--cyan-primary);
}

.gallery-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gallery-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.gallery-badge-row.badge-row-center {
  justify-content: center;
}

.badge-gallery-teal {
  background: rgba(45, 212, 191, 0.16);
  color: var(--teal-accent);
  border: 1px solid rgba(45, 212, 191, 0.35);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-gallery-orange {
  background: rgba(234, 88, 12, 0.16);
  color: #fb923c;
  border: 1px solid rgba(234, 88, 12, 0.35);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-gallery-muted {
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 8px;
  border-radius: 4px;
}

.gallery-title {
  font-size: 1.28rem;
  margin-bottom: 8px;
}

.gallery-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.gallery-features-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.gallery-features-pills span {
  font-size: 0.76rem;
  color: #cbd5e1;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.16);
  padding: 3px 9px;
  border-radius: 5px;
}

/* ==========================================================================
   BENTO GRID (CARACTERÍSTICAS)
   ========================================================================== */
.section-header {
  margin-bottom: clamp(36px, 6vw, 64px);
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--cyan-primary);
  margin-bottom: 10px;
}

.section-tag.glow {
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(22px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-span-2 {
  grid-column: span 2;
}

.card-span-1 {
  grid-column: span 1;
}

.card-span-3 {
  grid-column: span 3;
}

.local-audio-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px 0 12px;
}

.local-feature-box {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 14px 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.local-feature-box:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 191, 0.4);
}

.local-feature-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.local-feature-box strong {
  display: block;
  font-size: 0.88rem;
  color: #f1f5f9;
  margin-bottom: 4px;
}

.local-feature-box p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
}

.bento-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.bento-icon-wrapper svg {
  width: 24px;
  height: 24px;
}

.bento-icon-wrapper.cyan {
  background: rgba(56, 189, 248, 0.15);
  color: var(--cyan-primary);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.bento-icon-wrapper.orange {
  background: rgba(234, 88, 12, 0.15);
  color: #fb923c;
  border: 1px solid rgba(234, 88, 12, 0.3);
}

.bento-icon-wrapper.purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.bento-icon-wrapper.teal {
  background: rgba(45, 212, 191, 0.15);
  color: var(--teal-accent);
  border: 1px solid rgba(45, 212, 191, 0.3);
}

.bento-icon-wrapper.blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.bento-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.bento-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.feature-bullets li {
  position: relative;
  padding-left: 20px;
}

.feature-bullets li::before {
  content: "•";
  position: absolute;
  left: 6px;
  color: var(--cyan-primary);
  font-weight: bold;
}

.bento-tag, .freesound-spec-pill {
  align-self: flex-start;
  margin-top: auto;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.bento-tag {
  background: rgba(56, 189, 248, 0.08);
  color: var(--cyan-primary);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.freesound-spec-pill {
  background: rgba(234, 88, 12, 0.12);
  color: #fb923c;
  border: 1px solid rgba(234, 88, 12, 0.28);
}

.bento-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.badge-mini {
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  color: #cbd5e1;
}

/* ==========================================================================
   SECCIÓN MPC INTERACTIVO (16 PADS)
   ========================================================================== */
.mpc-interactive-section {
  background: radial-gradient(circle at 50% 50%, #0d172a 0%, #060a12 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.mpc-chassis {
  max-width: 820px;
  margin: 0 auto;
  background: #091122;
  border: 2px solid rgba(56, 189, 248, 0.35);
  border-radius: 18px;
  padding: clamp(20px, 3.5vw, 32px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.mpc-top-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #040813;
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: 10px;
  padding: 12px 18px;
  margin-bottom: 22px;
}

.lcd-screen {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: monospace;
}

.lcd-row {
  display: flex;
  gap: 20px;
}

.lcd-title {
  color: var(--cyan-primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.lcd-voice {
  color: #34d399;
  font-size: 0.82rem;
}

.lcd-slice {
  color: #f8fafc;
  font-size: 0.8rem;
}

.lcd-bpm {
  color: #94a3b8;
  font-size: 0.8rem;
}

.mpc-status-lights {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #94a3b8;
}

.status-light {
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-light span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #475569;
}

.status-light.active span {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.pads-grid-16 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 1.8vw, 16px);
}

.mpc-pad {
  background: linear-gradient(145deg, #182847 0%, #0e172a 100%);
  border: 2px solid rgba(56, 189, 248, 0.25);
  border-radius: 10px;
  padding: 18px 8px;
  min-height: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  user-select: none;
  transition: transform 0.08s ease, opacity 0.08s ease, background-color 0.08s ease, border-color 0.08s ease, box-shadow 0.08s ease, color 0.08s ease;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.mpc-pad:hover {
  border-color: var(--cyan-primary);
  transform: translateY(-2px);
}

.mpc-pad:active, .mpc-pad.pad-active {
  background: linear-gradient(145deg, #0284c7 0%, #0369a1 100%);
  border-color: #38bdf8;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.7);
  transform: scale(0.95);
}

.pad-num {
  font-size: 0.68rem;
  font-weight: 700;
  color: #94a3b8;
}

.pad-note {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--cyan-primary);
}

.mpc-pad:active .pad-note, .mpc-pad.pad-active .pad-note {
  color: #ffffff;
}

.pad-shortcut {
  font-size: 0.64rem;
  font-family: monospace;
  color: #64748b;
  margin-top: 2px;
}

.mpc-footer-note {
  text-align: center;
  margin-top: 18px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ==========================================================================
   RÉPLICA INTERACTIVA 1:1 DE LA INTERFAZ REAL DE CLIPSAMPLER (#demo-mpc)
   ========================================================================== */
.cs-live-plugin {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  background: linear-gradient(180deg, #0b1322 0%, #070c16 100%);
  border: 2px solid rgba(56, 189, 248, 0.35);
  border-radius: 14px;
  padding: 14px 16px 18px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.85), 0 0 35px rgba(56, 189, 248, 0.12);
  color: #f1f5f9;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  user-select: none;
  outline: none;
}

.cs-live-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-live-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cs-live-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cs-live-led {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 10px #38bdf8;
  transition: transform 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
}

.cs-live-led.led-active {
  background: #00e676;
  box-shadow: 0 0 14px #00e676;
  transform: scale(1.25);
}

.cs-live-logo {
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.cs-live-sub {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fb7185;
}

.cs-live-top-btns {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-top-btn {
  font-size: 0.76rem;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: 7px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.cs-top-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.cs-btn-license {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border-color: rgba(16, 185, 129, 0.5);
}

.cs-btn-freesound {
  background: linear-gradient(180deg, #f97316 0%, #c2410c 100%);
  color: #ffffff;
  border-color: #fb923c;
  box-shadow: 0 0 14px rgba(249, 115, 22, 0.4);
}

.cs-btn-demo {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

.cs-btn-demo.is-running {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  border-color: #f87171;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.6);
}

.cs-btn-freesound.is-running {
  background: linear-gradient(180deg, #ef4444 0%, #b91c1c 100%);
  border-color: #f87171;
  box-shadow: 0 0 16px rgba(239, 68, 68, 0.6);
}

.cs-btn-dark {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.3);
}

.cs-btn-manual {
  background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  border-color: #38bdf8;
}

/* Paneles con pestaña carmesí como el software real */
.cs-live-panel {
  position: relative;
  background: rgba(9, 14, 26, 0.92);
  border: 1px solid rgba(225, 29, 72, 0.38);
  border-radius: 10px;
  padding: 20px 12px 10px;
  margin-top: 14px;
}

.cs-panel-tab {
  position: absolute;
  top: -11px;
  left: 12px;
  background: #190d1e;
  border: 1.5px solid #e11d48;
  color: #f8fafc;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 2px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.cs-source-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.cs-src-btn {
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #e2e8f0;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: filter 0.15s ease, transform 0.1s ease;
}

.cs-src-btn:hover {
  filter: brightness(1.12);
}

.cs-src-local {
  background: linear-gradient(180deg, #0f766e 0%, #115e59 100%);
  border-color: rgba(45, 212, 191, 0.45);
}

.cs-src-free {
  background: linear-gradient(180deg, #15803d 0%, #166534 100%);
  border-color: rgba(74, 222, 128, 0.45);
}

.cs-src-yt {
  background: linear-gradient(180deg, #e11d48 0%, #be123c 100%);
  border-color: rgba(251, 113, 133, 0.5);
}

.cs-src-dark {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  color: #94a3b8;
}

.cs-url-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}

.cs-url-label {
  font-size: 0.74rem;
  font-weight: 800;
  color: #94a3b8;
  white-space: nowrap;
}

.cs-url-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  background: #040711;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 2px 4px 2px 8px;
  gap: 6px;
}

.cs-url-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #94a3b8;
  font-size: 0.74rem;
  font-family: inherit;
}

.cs-url-btn {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.12s ease;
}

.cs-url-btn:hover {
  filter: brightness(1.15);
  color: #ffffff;
}

.cs-time-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 0.72rem;
}

.cs-time-label {
  font-weight: 800;
  color: #94a3b8;
  white-space: nowrap;
}

.cs-time-val {
  background: #040711;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: monospace;
  color: #e2e8f0;
}

.cs-time-slider-track {
  flex: 1;
  height: 4px;
  background: #1e293b;
  border-radius: 2px;
  position: relative;
}

.cs-time-slider-thumb {
  position: absolute;
  top: -4px;
  left: 14%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff2a55;
  box-shadow: 0 0 8px #ff2a55;
}

.cs-time-meta {
  color: #64748b;
  font-family: monospace;
  font-size: 0.7rem;
  white-space: nowrap;
}

.cs-extract-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 1.2fr 1.2fr 1.2fr;
  gap: 6px;
  margin-bottom: 8px;
}

.cs-ext-btn {
  padding: 7px 8px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.12s ease;
}

.cs-ext-btn:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.cs-ext-sec {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
}

.cs-ext-3s {
  background: linear-gradient(180deg, #e11d48 0%, #be123c 100%);
  border-color: #fb7185;
}

.cs-ext-10s {
  background: linear-gradient(180deg, #dc2626 0%, #991b1b 100%);
  border-color: #f87171;
}

.cs-ext-30s {
  background: linear-gradient(180deg, #7c3aed 0%, #5b21b6 100%);
  border-color: #a78bfa;
}

.cs-ext-new {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border-color: #38bdf8;
}

.cs-transform-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr 1.15fr;
  gap: 8px;
  margin-bottom: 8px;
}

.cs-trans-btn {
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.12s ease, filter 0.12s ease, box-shadow 0.12s ease;
}

.cs-trans-btn:hover {
  filter: brightness(1.14);
  transform: translateY(-1px);
}

.cs-trans-btn:active {
  transform: scale(0.98);
}

.cs-btn-warmth {
  background: linear-gradient(180deg, #d97706 0%, #b45309 100%);
  border-color: #f59e0b;
}

.cs-btn-pitch {
  background: linear-gradient(180deg, #6b21a8 0%, #4c1d95 100%);
  border-color: #a855f7;
}

.cs-btn-verify {
  background: linear-gradient(180deg, #15803d 0%, #14532d 100%);
  border-color: #22c55e;
}

.cs-status-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #050911;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.75rem;
}

.cs-status-msg {
  color: #cbd5e1;
  font-weight: 600;
}

.cs-status-right {
  color: #facc15;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Barra de Efectos y Selector Audio 1 / Audio 2 */
.cs-fx-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  padding: 4px 2px;
}

.cs-fx-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-fx-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #38bdf8;
}

.cs-slot-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
  cursor: pointer;
  transition: all 0.15s ease;
}

.cs-slot-btn.active-slot1 {
  background: linear-gradient(180deg, #0ea5e9 0%, #0284c7 100%);
  color: #ffffff;
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
}

.cs-slot-btn.active-slot2 {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  color: #04130b;
  border-color: #34d399;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.45);
}

.cs-knob-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  color: #cbd5e1;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cs-knob-pill:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(30, 41, 59, 0.95);
}

.cs-knob-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  position: relative;
  display: inline-block;
}

.cs-knob-circle.lofi { border-color: #f59e0b; }
.cs-knob-circle.pitch { border-color: #38bdf8; }
.cs-knob-circle.filter { border-color: #10b981; }
.cs-knob-circle.atk { border-color: #fb923c; }
.cs-knob-circle.rel { border-color: #f43f5e; }

.cs-fx-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cs-fx-action-btn {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  background: #1e293b;
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.3);
  cursor: pointer;
  transition: all 0.15s ease;
}

.cs-btn-apply-fx {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: #60a5fa;
}

.cs-btn-mpc-active {
  background: linear-gradient(180deg, #facc15 0%, #eab308 100%);
  color: #090d16;
  border-color: #fef08a;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.35);
}

/* VISORES DE ONDA 1 Y 2 */
.cs-visor-box {
  background: #060b14;
  border: 1.5px solid rgba(56, 189, 248, 0.28);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cs-visor-1.is-active {
  border-color: #38bdf8;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.22);
}

.cs-visor-2.is-active {
  border-color: #00e676;
  box-shadow: 0 0 18px rgba(0, 230, 118, 0.22);
}

.cs-visor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 5px 10px;
  background: rgba(15, 23, 42, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  font-weight: 800;
}

.cs-visor-1 .cs-visor-title {
  color: #38bdf8;
}

.cs-visor-2 .cs-visor-title {
  color: #00e676;
}

.cs-visor-meta {
  color: #e2e8f0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
}

.cs-canvas-wrap {
  position: relative;
  width: 100%;
  height: 145px;
  background: #050912;
  cursor: pointer;
}

.cs-canvas-wrap canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* BARRA DE TRANSPORTE INFERIOR */
.cs-transport-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.cs-trans-ctrl {
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: transform 0.12s ease, filter 0.12s ease;
}

.cs-trans-ctrl:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.cs-trans-ctrl:active {
  transform: scale(0.97);
}

.cs-btn-play {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
  border-color: #34d399;
}

.cs-btn-stop {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  color: #e2e8f0;
}

.cs-bpm-readout {
  background: #0b1528;
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #93c5fd;
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 7px 10px;
  border-radius: 6px;
}

.cs-btn-fx-mini {
  background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
  color: #e2e8f0;
}

.cs-btn-fx-mini.is-on {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  color: #090d16;
  border-color: #fde047;
}

.cs-btn-cut {
  flex: 1 1 130px;
  background: linear-gradient(180deg, #0d9488 0%, #0f766e 100%);
  border-color: #2dd4bf;
}

.cs-btn-drag-wav {
  flex: 1 1 130px;
  background: linear-gradient(180deg, #7c3aed 0%, #6d28d9 100%);
  border-color: #a78bfa;
}

.cs-btn-midi {
  flex: 1 1 130px;
  background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
  border-color: #fb923c;
}

.cs-btn-export {
  background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
  border-color: #38bdf8;
}

/* TECLADO MIDI INTERACTIVO DE RODAJAS (C1 - A#1) */
.cs-keyboard-strip {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cs-kb-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  color: #38bdf8;
}

.cs-kb-label small {
  color: #94a3b8;
  font-weight: 600;
}

.cs-kb-label small strong {
  color: #00e676;
}

.cs-kb-keys {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 6px;
}

.cs-key-btn {
  background: linear-gradient(180deg, #162238 0%, #0c1424 100%);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 7px;
  padding: 8px 4px;
  color: #f8fafc;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition: transform 0.08s ease, background-color 0.08s ease, border-color 0.08s ease, box-shadow 0.08s ease;
}

.cs-key-btn.is-sharp {
  background: linear-gradient(180deg, #0f172a 0%, #060a12 100%);
  border-color: rgba(168, 85, 247, 0.35);
}

.cs-key-btn strong {
  font-size: 0.85rem;
  font-weight: 900;
  color: #38bdf8;
}

.cs-key-btn.is-sharp strong {
  color: #c084fc;
}

.cs-key-btn span {
  font-size: 0.62rem;
  color: #94a3b8;
  font-family: monospace;
}

.cs-key-btn:hover {
  border-color: #facc15;
  transform: translateY(-2px);
}

.cs-key-btn.is-playing,
.cs-key-btn:active {
  background: linear-gradient(180deg, #facc15 0%, #eab308 100%);
  border-color: #ffffff;
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.75);
  transform: scale(0.95);
}

.cs-key-btn.is-playing strong,
.cs-key-btn.is-playing span,
.cs-key-btn:active strong,
.cs-key-btn:active span {
  color: #090d16;
}

@media (max-width: 960px) {
  .cs-source-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-transform-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .cs-kb-keys {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 600px) {
  .cs-kb-keys {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================================================
   AUDIO SHOWCASE (DEMOS MUSICALES)
   ========================================================================== */
.audio-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.audio-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, opacity 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.audio-card:hover {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.audio-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.genre-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
}

.genre-badge.lofi { background: rgba(245, 158, 11, 0.18); color: #fbbf24; }
.genre-badge.trap { background: rgba(168, 85, 247, 0.18); color: #c084fc; }
.genre-badge.reggaeton { background: rgba(234, 88, 12, 0.18); color: #fb923c; }
.genre-badge.house { background: rgba(56, 189, 248, 0.18); color: #38bdf8; }

.audio-duration {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.audio-track-title {
  font-size: 1.12rem;
  margin-bottom: 6px;
}

.audio-track-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
  flex-grow: 1;
}

.audio-player-control {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-audio-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.btn-audio-play:hover {
  background: #0ea5e9;
  transform: scale(1.08);
}

.btn-audio-play svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
}

.audio-progress-bar {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.audio-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--cyan-primary);
  border-radius: 3px;
  transition: width 0.1s linear;
}

/* ==========================================================================
   COMPATIBILIDAD
   ========================================================================== */
.daw-logos-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.daw-item {
  background: rgba(15, 25, 45, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 140px;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.daw-item:hover {
  border-color: var(--cyan-primary);
  background: rgba(20, 35, 62, 0.8);
  transform: translateY(-2px);
}

.daw-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #f8fafc;
}

.daw-ver {
  font-size: 0.74rem;
  color: var(--cyan-primary);
}

.specs-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.spec-col {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.spec-col h4 {
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.spec-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.spec-col strong {
  color: #ffffff;
}

/* ==========================================================================
   PRECIOS & OFERTA ($29 USD)
   ========================================================================== */
.pricing-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 900px) {
  .pricing-grid-layout {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}

.pricing-feature-preview-card {
  background: linear-gradient(175deg, #0d172a 0%, #060b16 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.pricing-feature-preview-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-accent), var(--cyan-primary));
}

.preview-card-header .preview-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: rgba(45, 212, 191, 0.12);
  color: var(--teal-accent);
  border: 1px solid rgba(45, 212, 191, 0.28);
  margin-bottom: 12px;
}

.preview-card-header .preview-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.preview-card-header .preview-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.preview-badges-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.mini-spec-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 8px 6px;
  text-align: center;
}

.spec-label {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.spec-value {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
}

.pricing-card-wrapper {
  max-width: 580px;
  margin: 0 auto;
}

.pricing-card {
  background: linear-gradient(175deg, #101c33 0%, #091122 100%);
  border: 2px solid var(--cyan-primary);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 42px);
  position: relative;
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.22), 0 20px 40px rgba(0, 0, 0, 0.8);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  color: #040914;
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

.plan-name {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.price-container {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.price-currency {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan-primary);
}

.price-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  font-family: var(--font-heading);
}

.price-period {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-left: 4px;
}

.discount-badge {
  margin-left: 16px;
  display: flex;
  flex-direction: column;
}

.old-price {
  font-size: 1.25rem;
  color: var(--text-muted);
}

.save-tag {
  font-size: 0.82rem;
  font-weight: 800;
  color: #34d399;
}

.pricing-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.09);
  margin: 24px 0;
}

.pricing-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 0.94rem;
}

.pricing-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features-list strong {
  color: #ffffff;
}

.payment-guarantee {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 14px;
}

.payment-guarantee strong {
  color: #e2e8f0;
}

.paypal-svg-icon {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-arrow {
  width: 20px;
  height: 20px;
  color: var(--cyan-primary);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-answer strong {
  color: #ffffff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #03070f;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 60px;
  padding-bottom: 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  margin-bottom: 14px;
}

.footer-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.paypal-security-badge {
  display: inline-block;
  background: rgba(0, 112, 186, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(0, 112, 186, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
}

.footer-heading {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.footer-links a, .footer-links span {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cyan-primary);
}

.footer-contact {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.link-contact {
  color: var(--cyan-primary);
  font-weight: 700;
  text-decoration: none;
}

.footer-whatsapp {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 10px;
  margin-bottom: 6px;
}

.link-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #25d366;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.link-whatsapp:hover {
  color: #3bf280;
  transform: translateY(-1px);
}

.whatsapp-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.footer-time {
  font-size: 0.78rem;
  color: var(--teal-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.disclaimer-text {
  font-size: 0.74rem;
  line-height: 1.4;
}

/* ==========================================================================
   LIGHTBOX MODAL (AMPLIAR CAPTURAS HD)
   ========================================================================== */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  user-select: none;
}

.lightbox-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-container {
  max-width: min(97vw, 1580px);
  width: 97vw;
  max-height: 97vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.98);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-backdrop.is-open .lightbox-container {
  transform: scale(1);
}

.lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 8px;
  gap: 10px;
}

.lightbox-toolbar-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.lightbox-zoom-pill {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.lightbox-toolbar-btns {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lightbox-tool-btn {
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f1f5f9;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lightbox-tool-btn:hover {
  background: #0284c7;
  border-color: #38bdf8;
  color: #ffffff;
}

.lightbox-close {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.lightbox-close:hover {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.08);
}

.lightbox-viewport {
  position: relative;
  width: 100%;
  max-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.95), 0 0 45px rgba(56, 189, 248, 0.25);
  background: #040812;
}

.lightbox-img {
  width: 100%;
  height: auto;
  max-height: 83vh;
  object-fit: contain;
  display: block;
  cursor: zoom-in;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), min-width 0.2s ease;
}

/* Modo ampliado / Zoom para ver el texto pequeño con máxima nitidez */
.lightbox-viewport.is-zoomed {
  overflow: auto;
  cursor: grab;
  justify-content: flex-start;
  align-items: flex-start;
}

.lightbox-viewport.is-zoomed:active {
  cursor: grabbing;
}

.lightbox-viewport.is-zoomed .lightbox-img {
  width: auto;
  min-width: 145%;
  max-height: none;
  cursor: zoom-out;
}

.lightbox-viewport.is-zoomed-extra .lightbox-img {
  min-width: 190%;
}

.lightbox-caption {
  margin-top: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #cbd5e1;
  text-align: center;
}

/* ==========================================================================
   MODAL DE CHECKOUT PAYPAL ($29 USD)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #0c1424;
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(56, 189, 248, 0.25);
  transform: scale(0.94);
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.is-open .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.modal-header {
  text-align: center;
  margin-bottom: 20px;
}

.modal-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 112, 186, 0.2);
  border: 1px solid rgba(0, 112, 186, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.paypal-svg {
  width: 28px;
  height: 28px;
  color: #38bdf8;
}

.modal-title {
  font-size: 1.35rem;
  margin-bottom: 4px;
}

.modal-subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.modal-summary {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
}

.summary-row.discount {
  color: #34d399;
}

.summary-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 8px;
  margin-top: 4px;
  font-size: 1.05rem;
  color: #ffffff;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  height: 46px;
  background: #060b14;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 8px;
  padding: 0 14px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}

.modal-manual-box {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  text-align: center;
}

.manual-instruction {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.copy-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #060b14;
  border: 1px dashed rgba(56, 189, 248, 0.35);
  border-radius: 8px;
  padding: 6px 10px 6px 14px;
  margin-bottom: 10px;
}

.copy-email {
  font-family: monospace;
  font-size: 0.95rem;
  color: var(--cyan-primary);
  font-weight: 700;
}

.btn-copy {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-copy:hover {
  background: #0284c7;
}

.copy-icon {
  width: 14px;
  height: 14px;
}

.manual-note {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
  }
  .software-gallery-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .card-span-2 {
    grid-column: span 2;
  }
  .card-span-1 {
    grid-column: span 1;
  }
  .card-span-3 {
    grid-column: span 2;
  }
  .local-audio-features-grid {
    grid-template-columns: 1fr;
  }
  .audio-cards-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1140px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #0D0D11;
    border-bottom: 1px solid var(--border-subtle);
    flex-direction: column;
    padding: 20px;
    gap: 14px;
  }
  .nav-links.is-open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .window-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .card-span-2, .card-span-1, .card-span-3 {
    grid-column: span 1;
  }
  .specs-box {
    grid-template-columns: 1fr;
  }
  .audio-cards-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   REACT BITS / ACETERNITY UI: ALUMINIO ANODIZADO OSCURO (#0D0D11 + 3% NOISE)
   & FONDO DE ONDAS SINUSOIDALES REACTIVAS (AURORA / WAVES SHADER)
   ========================================================================== */
body.bg-anodized-rack {
  background-color: #0D0D11;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(56, 189, 248, 0.12), transparent 70%),
    linear-gradient(180deg, #0D0D11 0%, #10121A 50%, #0D0D11 100%);
  position: relative;
}

.anodized-noise-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03; /* Exactamente 3% SVG Noise como chasis de rack de estudio real */
  mix-blend-mode: overlay;
}

.svg-noise-filter {
  width: 100%;
  height: 100%;
  display: block;
}

.aurora-waves-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.88;
}

.nav-link-manual {
  color: #7dd3fc !important;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}

/* ==========================================================================
   MAGIC UI (magicui.design): BORDER BEAM (HAZ DE LUZ DE SEÑAL DE AUDIO)
   ========================================================================== */
.has-border-beam {
  position: relative;
  isolation: isolate;
}

.border-beam {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  pointer-events: none;
  z-index: 25;
  background: conic-gradient(
    from var(--beam-angle, 0deg),
    transparent 0deg,
    transparent 245deg,
    rgba(56, 189, 248, 0.25) 275deg,
    #00d2ff 305deg,
    #2dd4bf 330deg,
    #f97316 352deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: borderBeamTravel 5.5s linear infinite;
}

@keyframes borderBeamTravel {
  0% {
    --beam-angle: 0deg;
  }
  100% {
    --beam-angle: 360deg;
  }
}

.has-border-beam-subtle {
  position: relative;
  overflow: hidden;
}

.has-border-beam-subtle::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  pointer-events: none;
  background: conic-gradient(
    from var(--beam-angle, 0deg),
    transparent 0deg,
    transparent 280deg,
    rgba(56, 189, 248, 0.65) 330deg,
    rgba(249, 115, 22, 0.75) 355deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0.55;
  animation: borderBeamTravel 8s linear infinite;
}

/* ==========================================================================
   GALERÍA DE 3 CAPTURAS REALES DEL SOFTWARE (PASO 1, PASO 2, FREESOUND)
   ========================================================================== */
.software-gallery-grid.gallery-grid-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1120px) {
  .software-gallery-grid.gallery-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MAGIC UI BENTO GRID DE ESPECIFICACIONES (VST3, AAX, WIN, MAC, 64-BIT, JUCE)
   ========================================================================== */
.specs-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.spec-bento-card {
  background: linear-gradient(160deg, rgba(22, 26, 39, 0.94) 0%, rgba(13, 15, 22, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: var(--radius-md);
  padding: clamp(22px, 2.8vw, 30px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 18px 38px -14px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.spec-span-2 {
  grid-column: span 2;
}

.spec-span-1 {
  grid-column: span 1;
}

.spec-bento-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.spec-chip {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.spec-chip.cyan {
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.32);
}

.spec-chip.purple {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.32);
}

.spec-chip.teal {
  background: rgba(45, 212, 191, 0.14);
  color: #2dd4bf;
  border: 1px solid rgba(45, 212, 191, 0.32);
}

.spec-chip.orange {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.32);
}

.spec-mono-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #94a3b8;
  background: rgba(0, 0, 0, 0.38);
  padding: 3px 8px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.spec-bento-main {
  display: flex;
  align-items: center;
  gap: 22px;
}

.spec-big-badge {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: 12px;
  padding: 10px 18px;
  line-height: 1;
  text-shadow: 0 0 22px rgba(56, 189, 248, 0.4);
  align-self: flex-start;
}

.spec-big-badge.purple-text {
  color: #c084fc;
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.28);
  text-shadow: 0 0 22px rgba(168, 85, 247, 0.4);
}

.spec-big-badge.small {
  font-size: 1.35rem;
  padding: 8px 12px;
}

.spec-big-badge.teal-text {
  color: #2dd4bf;
  background: rgba(45, 212, 191, 0.08);
  border-color: rgba(45, 212, 191, 0.28);
  text-shadow: 0 0 18px rgba(45, 212, 191, 0.35);
}

.spec-dual-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.spec-os-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-os-icon {
  width: 28px;
  height: 28px;
  color: #38bdf8;
  flex-shrink: 0;
}

.spec-bento-card h3 {
  font-size: 1.22rem;
  color: #f8fafc;
}

.spec-bento-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.58;
}

.spec-bento-card code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #7dd3fc;
  background: rgba(56, 189, 248, 0.1);
  padding: 1px 6px;
  border-radius: 4px;
}

.spec-daw-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.spec-daw-pills span {
  font-size: 0.74rem;
  font-weight: 600;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
}

@media (max-width: 1024px) {
  .specs-bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .spec-span-2 {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .specs-bento-grid {
    grid-template-columns: 1fr;
  }
  .spec-span-2, .spec-span-1 {
    grid-column: span 1;
  }
  .spec-bento-main {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   REGLAS DE ANIMACIÓN UI-ANIMATIONS (RBAUMIER) & REVIEW-ANIMATIONS (EMIL KOWALSKI)
   - Solo propiedades GPU (transform, opacity)
   - Curvas cubic-bezier(0.16, 1, 0.3, 1) < 300ms
   - Feedback táctil :active scale(0.97)
   - Hover protegido con @media (hover: hover) and (pointer: fine)
   - Accesibilidad @media (prefers-reduced-motion: reduce)
   ========================================================================== */
.btn,
.win-tab-btn,
.btn-play-hero-mini,
.btn-plugin-play,
.btn-audio-play,
.btn-copy,
.pad-btn,
.mpc-pad {
  transition:
    transform 180ms var(--ease-out),
    background-color 180ms var(--ease-out),
    border-color 180ms var(--ease-out),
    color 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out),
    opacity 180ms var(--ease-out);
  will-change: transform;
}

.btn:active,
.win-tab-btn:active,
.btn-play-hero-mini:active,
.btn-plugin-play:active,
.btn-audio-play:active,
.btn-copy:active {
  transform: scale(0.97);
}

.gallery-card,
.bento-card,
.audio-card,
.spec-bento-card {
  transition:
    transform 240ms var(--ease-out),
    border-color 240ms var(--ease-out),
    background-color 240ms var(--ease-out),
    box-shadow 240ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .spec-bento-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-highlight);
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.88), 0 0 28px rgba(56, 189, 248, 0.18);
  }
}

/* Modals: entrada suave desde scale(0.95) y salida rápida */
.modal-card,
.lightbox-container {
  transform: scale(0.95) translateY(6px);
  opacity: 0;
  transition:
    transform 200ms var(--ease-out),
    opacity 160ms var(--ease-out);
}

.modal-backdrop.is-open .modal-card,
.lightbox-backdrop.is-open .lightbox-container {
  transform: scale(1) translateY(0);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .border-beam,
  .has-border-beam-subtle::after {
    animation: none !important;
  }
}
