:root {
  --ink: #0b0818;
  --ink-2: #140f2b;
  --ink-3: #1d1640;
  --violet: #8b5cf6;
  --violet-2: #a855f7;
  --violet-soft: #f1ebff;
  --white: #ffffff;
  --paper: #f7f6fb;
  --text-dark: #15122a;
  --muted-dark: #6b6785;
  --muted-light: #b9b3d6;
  --line-dark: rgba(255, 255, 255, 0.1);
  --line-light: #e7e4f1;
  --radius: 16px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 8, 24, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
header.site .wrap { display: flex; align-items: center; gap: 36px; height: 68px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--white); font-weight: 800; font-size: 20px; letter-spacing: -0.01em; }
.logo:hover { text-decoration: none; }
.logo svg { width: 22px; height: 22px; }
nav.main { display: flex; gap: 26px; font-size: 14px; }
nav.main a { color: var(--muted-light); }
nav.main a:hover, nav.main a.active { color: var(--white); text-decoration: none; }
.header-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; font-family: inherit; line-height: 1.2;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.primary { background: linear-gradient(135deg, var(--violet), var(--violet-2)); color: var(--white); }
.btn.outline-light { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn.dark { background: var(--ink); color: var(--white); }
.btn.disabled { border-color: rgba(255, 255, 255, 0.2); color: rgba(255, 255, 255, 0.45); cursor: default; }
.btn.disabled.on-light { border-color: var(--line-light); color: var(--muted-dark); background: var(--paper); }
.btn.small { padding: 8px 16px; font-size: 13px; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(700px 500px at 78% 30%, rgba(168, 85, 247, 0.55), transparent 65%),
    radial-gradient(500px 400px at 95% 70%, rgba(236, 72, 153, 0.28), transparent 70%),
    radial-gradient(600px 400px at 10% 0%, rgba(139, 92, 246, 0.25), transparent 70%),
    var(--ink);
  padding: 96px 0 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); line-height: 1.02; margin: 0 0 26px; letter-spacing: -0.035em; font-weight: 800; }
.hero h1 .hl {
  background: linear-gradient(90deg, var(--violet), #c084fc);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 18px; color: #dcd6f5; max-width: 30em; margin: 0 0 30px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .soon { font-size: 13px; color: var(--muted-light); margin: 12px 0 0 calc(50% - 0px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.stage { position: relative; height: 440px; }
.stage .glow {
  position: absolute; inset: 10% 5% 0 15%; border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.6), transparent 65%); filter: blur(30px);
}
.stage .mic {
  position: absolute; right: 18%; top: 4%; width: 230px; height: 400px;
}
.features {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 56px 0 64px; text-align: center;
}
.features .f-ico { color: #c084fc; display: inline-flex; margin-bottom: 10px; }
.features .f-ico svg { width: 34px; height: 34px; }
.features strong { display: block; font-size: 15px; }
.features span { font-size: 13px; color: var(--muted-light); }

/* ---------- Generic sections ---------- */
section { padding: 88px 0; }
section.paper { background: var(--paper); }
section.dark { background: var(--ink); color: var(--white); }
h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.12; margin: 0 0 10px; letter-spacing: -0.02em; }
.sub { color: var(--muted-dark); margin: 0 0 40px; font-size: 17px; }
.dark .sub { color: var(--muted-light); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }

/* Canta sin límites */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: 28px; }
.benefits li { display: flex; gap: 18px; align-items: flex-start; }
.benefits .b-ico {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--violet-soft); color: var(--violet); display: grid; place-items: center;
}
.benefits .b-ico svg { width: 24px; height: 24px; }
.benefits strong { display: block; font-size: 16px; }
.benefits span { color: var(--muted-dark); font-size: 15px; }

/* Phones */
.phones { position: relative; height: 470px; display: flex; justify-content: center; }
.phone {
  position: absolute; width: 240px; height: 470px; border-radius: 40px;
  background: #0f0c22; border: 9px solid #24203a;
  box-shadow: 0 40px 80px rgba(20, 10, 60, 0.35);
  color: var(--white); padding: 34px 18px 22px; display: flex; flex-direction: column; overflow: hidden;
}
.phone.front { left: calc(50% - 170px); z-index: 2; }
.phone.back { left: calc(50% - 30px); top: 30px; transform: rotate(6deg); opacity: 0.95; }
.phone .p-title { text-align: center; font-weight: 600; font-size: 15px; margin-top: 30px; }
.phone .p-bar { height: 3px; background: rgba(255, 255, 255, 0.15); border-radius: 3px; margin: 28px 0 22px; position: relative; }
.phone .p-bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 38%; background: var(--violet-2); border-radius: 3px; }
.phone .p-lyrics { text-align: center; font-size: 13px; line-height: 2.1; color: rgba(255, 255, 255, 0.75); }
.phone .p-lyrics .now { color: #c084fc; font-weight: 600; }
.phone .p-controls { margin-top: auto; display: flex; justify-content: center; align-items: center; gap: 28px; }
.phone .p-controls .play {
  width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--violet-2);
  display: grid; place-items: center; color: var(--white);
}
.phone .p-list { display: grid; gap: 10px; margin-top: 14px; }
.phone .p-row { display: flex; gap: 10px; align-items: center; font-size: 12px; }
.phone .p-row .cover { width: 38px; height: 38px; border-radius: 8px; flex: none; }
.phone .p-row small { display: block; color: var(--muted-light); font-size: 10px; }
.phone .p-head { font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 6px; }

/* Song cards */
.songs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.song { color: inherit; }
.song:hover { text-decoration: none; }
.cover {
  position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden;
  display: grid; place-items: center; color: rgba(255, 255, 255, 0.92);
  font-weight: 800; font-size: 34px; letter-spacing: -0.02em;
}
.cover .play-badge {
  position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; color: var(--ink);
}
.cover .play-badge svg { width: 14px; height: 14px; margin-left: 2px; }
.song h3 { font-size: 15px; margin: 12px 0 2px; }
.song .artist { color: var(--muted-dark); font-size: 13px; }
.dark .song .artist { color: var(--muted-light); }
.song .price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; font-weight: 600; font-size: 14px; }
.cart {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-dark);
  display: grid; place-items: center; color: var(--muted-light);
}
.cart svg { width: 15px; height: 15px; }
.see-all { font-weight: 600; font-size: 14px; white-space: nowrap; margin-bottom: 44px; }

/* Lleva DuetSync contigo */
.promo {
  color: var(--white); overflow: hidden;
  background:
    radial-gradient(600px 400px at 80% 40%, rgba(168, 85, 247, 0.5), transparent 70%),
    linear-gradient(120deg, #1a1036, #2b1462);
}
.promo .split { min-height: 380px; }
.promo .cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* Cómo funciona */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 0 28px; border-left: 1px solid var(--line-light); }
.step:first-child { padding-left: 0; border-left: 0; }
.step .s-ico {
  width: 56px; height: 56px; border-radius: 50%; background: var(--violet-soft); color: var(--violet);
  display: grid; place-items: center; margin-bottom: 18px;
}
.step .s-ico svg { width: 24px; height: 24px; }
.step strong { display: block; font-size: 17px; margin-bottom: 4px; }
.step span { color: var(--muted-dark); font-size: 15px; }

/* App section (06) */
.app-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.app-feats div { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.app-feats svg { width: 26px; height: 26px; color: var(--violet); flex: none; }
.app-feats small { display: block; color: var(--muted-dark); font-size: 12.5px; }

/* ---------- Catalog page ---------- */
.catalog { background: var(--ink); color: var(--white); min-height: 80vh; padding: 64px 0 96px; }
.catalog h1 { font-size: clamp(34px, 5vw, 48px); margin: 0 0 6px; letter-spacing: -0.02em; }
.search {
  display: flex; align-items: center; gap: 12px; margin: 28px 0 22px;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: 999px; padding: 0 20px;
}
.search svg { width: 18px; height: 18px; color: var(--muted-light); flex: none; }
.search input {
  flex: 1; background: transparent; border: 0; color: var(--white); font: inherit; padding: 14px 0; outline: none;
}
.search input::placeholder { color: var(--muted-light); }
.filters { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  background: var(--ink-2); border: 1px solid var(--line-dark); color: #ddd8f5;
  padding: 7px 16px; border-radius: 999px; font: inherit; font-size: 13px; cursor: pointer;
}
.chip.on { background: var(--violet); border-color: var(--violet); color: var(--white); }
select.sort {
  background: var(--ink-2); color: #ddd8f5; border: 1px solid var(--line-dark);
  border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13px;
}
.empty { color: var(--muted-light); padding: 40px 0; text-align: center; }

/* ---------- Song detail page ---------- */
.detail { padding: 56px 0 96px; }
.detail-grid { display: grid; grid-template-columns: 240px 1fr 260px; gap: 36px; align-items: start; }
.detail h1 { font-size: 38px; margin: 0; letter-spacing: -0.02em; }
.detail .artist-big { color: var(--muted-dark); font-size: 18px; margin: 2px 0 12px; }
.tags { display: flex; gap: 6px; margin-bottom: 22px; }
.tag { background: var(--violet-soft); color: var(--violet); border-radius: 999px; padding: 3px 12px; font-size: 12px; font-weight: 600; }
.player { display: flex; align-items: center; gap: 14px; }
.player button {
  width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--ink); color: var(--white);
  display: grid; place-items: center; cursor: pointer;
}
.player button svg { width: 16px; height: 16px; }
.track { flex: 1; height: 4px; background: var(--line-light); border-radius: 4px; position: relative; }
.track span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--violet); border-radius: 4px; transition: width 0.25s linear; }
.time { font-size: 12px; color: var(--muted-dark); font-variant-numeric: tabular-nums; }
.buy-box .price { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.buy-box .btn { width: 100%; }
.buy-box small { display: block; color: var(--muted-dark); margin-top: 8px; font-size: 12.5px; }
.meta { margin-top: 28px; font-size: 13px; display: grid; gap: 10px; }
.meta dt { color: var(--muted-dark); }
.meta dd { margin: 0; font-weight: 600; }
.preview {
  margin-top: 36px; border-radius: var(--radius); padding: 56px 24px; text-align: center;
  color: var(--white); font-size: 22px; line-height: 1.8;
  background: radial-gradient(500px 240px at 50% 0%, rgba(139, 92, 246, 0.45), transparent 70%), var(--ink);
}
.preview .now { color: #c084fc; }

/* ---------- Text pages ---------- */
.page { padding: 64px 0 96px; }
.page .wrap { max-width: 800px; }
.page h1 { font-size: clamp(32px, 4.5vw, 44px); letter-spacing: -0.02em; margin: 0 0 16px; }
.page h2 { font-size: 22px; margin-top: 40px; }
.page p, .page li { color: #3b3754; }
.page .updated { color: var(--muted-dark); font-size: 14px; }
details { background: var(--paper); border: 1px solid var(--line-light); border-radius: 14px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; }

/* ---------- Footer ---------- */
footer.site { background: var(--ink); color: var(--muted-light); padding: 36px 0; font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--muted-light); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .songs { grid-template-columns: repeat(3, 1fr); }
  .detail-grid { grid-template-columns: 200px 1fr; }
  .detail-grid .buy-box { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  nav.main { display: none; }
  .header-cta .btn.outline-light { display: none; }
  .hero { padding-top: 56px; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .stage { display: none; }
  .hero .soon { margin-left: 0; }
  .features { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  section { padding: 64px 0; }
  .songs { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .app-feats { grid-template-columns: 1fr 1fr; }
  .phones { height: 430px; transform: scale(0.9); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid .cover { max-width: 280px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .see-all { margin: -24px 0 24px; }
}
@media (max-width: 420px) {
  .wrap { padding: 0 16px; }
  .phone.back { display: none; }
  .phone.front { left: calc(50% - 120px); }
}
