/* Vibestream Music — dark premium music-tech theme */
:root {
  --bg: #07060d;
  --bg-2: #0e0b1a;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: #ffffff;
  --muted: #c4bfd6;
  --dim: #918aa8;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --orange: #fb923c;
  --grad: linear-gradient(120deg, #8b5cf6 0%, #ec4899 52%, #fb923c 100%);
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1160px;
  --shadow: 0 20px 60px -20px rgba(139, 92, 246, 0.45);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Space Grotesk", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vw 60vw at 85% -10%, rgba(236, 72, 153, 0.18), transparent 60%),
    radial-gradient(55vw 55vw at -10% 10%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(50vw 40vw at 50% 110%, rgba(251, 146, 60, 0.12), transparent 60%),
    var(--bg);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 40px 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 680px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.skip-link { position: absolute; left: -9999px; top: 0; }
.skip-link:focus { left: 12px; top: 12px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }

/* Buttons */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: 0 24px 60px -16px rgba(236, 72, 153, 0.6); }
.btn-ghost { background: var(--surface); border-color: var(--border); color: #fff; backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-row { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
@media (min-width: 640px) {
  .btn { width: auto; display: inline-flex; }
  .btn-row { flex-direction: row; flex-wrap: wrap; }
  .center .btn-row { justify-content: center; }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 6, 13, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 10px; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.08rem; margin-right: auto; white-space: nowrap; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; flex: none; }
.logo-mark svg { width: 20px; height: 20px; }
.logo-img { width: auto; height: 40px; flex: none; display: block; object-fit: contain; }
.nav { display: none; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 0.97rem; padding: 8px 10px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: var(--surface); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-login { text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 10px 12px; color: #fff; }
.header-cta { text-decoration: none; font-weight: 700; font-size: 0.95rem; padding: 10px 16px; border-radius: 999px; background: var(--grad); color: #fff; white-space: nowrap; }
.menu-toggle {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-nav { display: none; border-top: 1px solid var(--border); padding: 12px 20px 20px; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 4px; text-decoration: none; font-size: 1.05rem; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,0.06); }
/* Mobile: logo, Login and a short Start Free button share one line */
@media (max-width: 959px) {
  .container.header-inner { gap: 4px; padding: 0 16px; }
  .logo { gap: 7px; font-size: 0.9rem; letter-spacing: -0.01em; min-width: 0; }
  .logo-img { height: 32px; }
  .logo-text { overflow: hidden; text-overflow: ellipsis; }
  .header-actions { gap: 4px; flex: none; }
  .header-login { padding: 8px 5px; font-size: 0.86rem; }
  .header-cta { padding: 7px 11px; font-size: 0.84rem; }
  .menu-toggle { width: 36px; height: 36px; border-radius: 10px; }
}
@media (max-width: 420px) {
  .logo-img { height: 26px; }
  .logo { font-size: 0.74rem; gap: 5px; letter-spacing: -0.02em; }
  .header-cta { padding: 6px 9px; }
}
@media (max-width: 360px) {
  .container.header-inner { padding: 0 10px; }
  .logo-img { height: 24px; }
  .logo { font-size: 0.7rem; gap: 4px; }
  .header-login { padding: 8px 3px; font-size: 0.82rem; }
  .header-cta { padding: 6px 9px; font-size: 0.8rem; }
}
@media (min-width: 960px) {
  .nav { display: flex; gap: 2px; margin-right: 12px; }
  .menu-toggle, .mobile-nav, .mobile-nav.open { display: none; }
}

/* Hero */
.hero { padding: 64px 0 56px; position: relative; }
.hero h1 { max-width: 900px; }
.hero .lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: 0.9rem; color: var(--muted); margin-bottom: 22px;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 12px var(--pink); animation: pulse 2s infinite; }
.eq { display: flex; align-items: flex-end; gap: 5px; height: 48px; margin-top: 40px; opacity: 0.85; }
.eq span { width: 6px; border-radius: 4px; background: var(--grad); animation: eq 1.2s ease-in-out infinite; }
.eq span:nth-child(2n) { animation-delay: -0.4s; }
.eq span:nth-child(3n) { animation-delay: -0.8s; }
.eq span:nth-child(5n) { animation-delay: -0.2s; }
@keyframes eq { 0%, 100% { height: 14%; } 50% { height: 100%; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.page-hero { padding: 40px 0 32px; }
.page-hero h1 { font-size: clamp(2rem, 6vw, 3.6rem); }

/* Platform strip */
.platforms { padding: 8px 0 24px; }
.platforms-title { font-size: clamp(1.1rem, 2.6vw, 1.45rem); text-align: center; margin: 0 auto 22px; max-width: 760px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; gap: 14px; padding: 6px 14px 6px 0; margin: 0; list-style: none; }
.platform { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; white-space: nowrap; font-weight: 600; font-size: 0.95rem; }
.platform img { width: auto; height: 28px; flex: none; }
.platform-badge {
  width: 28px; height: 28px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--brand); color: var(--ink, #fff); font-family: var(--display); font-weight: 700; font-size: 0.9rem;
}
.platforms-note { text-align: center; font-size: 0.82rem; margin: 18px auto 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; width: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-group { flex-wrap: wrap; justify-content: center; padding: 6px 20px; }
  .marquee-group[aria-hidden="true"] { display: none; }
}

/* Glass cards & grids */
.glass {
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.card { padding: 26px; position: relative; transition: transform 0.25s ease, border-color 0.25s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(236, 72, 153, 0.45); }
.card p { color: var(--muted); margin: 0; }
.card h3 { margin-bottom: 8px; }
.icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(140deg, rgba(139,92,246,0.35), rgba(236,72,153,0.25));
  border: 1px solid rgba(255,255,255,0.15);
}
.icon svg { width: 22px; height: 22px; }
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.section-head { margin-bottom: 36px; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 44px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 20px; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.1; }
.stat span { color: var(--muted); font-size: 0.95rem; }

/* Steps */
.steps { counter-reset: step; }
.step { padding: 28px; }
.step-num {
  font-family: var(--display); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.1em;
  display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); margin-bottom: 14px;
}

/* Pricing */
.price-card { padding: 34px 26px; max-width: 520px; margin: 0 auto; position: relative; overflow: hidden; text-align: center; }
.price-card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.price-tag { font-size: 0.85rem; font-weight: 800; letter-spacing: 0.18em; color: var(--orange); }
.price { font-family: var(--display); font-size: clamp(3.2rem, 10vw, 4.6rem); font-weight: 700; line-height: 1; margin: 14px 0 4px; }
.price small { font-size: 1.1rem; color: var(--muted); font-weight: 500; }
.price-share { font-family: var(--display); font-size: 1.2rem; font-weight: 600; margin: 6px 0 10px; }
.checklist { list-style: none; padding: 0; margin: 24px 0; text-align: left; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--grad) center/12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"), var(--grad);
  background-size: 12px, cover;
}

/* Articles */
.article-card { display: flex; flex-direction: column; text-decoration: none; padding: 24px; }
.article-card .tag { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--pink); margin-bottom: 10px; }
.article-card h3 { font-size: 1.15rem; }
.article-card p { flex: 1; }
.read-more { margin-top: 16px; font-weight: 700; font-size: 0.95rem; }
.read-more::after { content: " →"; }

/* CTA band */
.cta-band { padding: 44px 24px; text-align: center; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; z-index: -1;
  background: radial-gradient(closest-side, rgba(236,72,153,0.35), transparent);
}

/* Breadcrumbs */
.breadcrumbs { font-size: 0.92rem; color: var(--dim); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--dim); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }

/* Prose */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3.6vw, 2rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.22rem; margin-top: 1.5em; }
.prose p, .prose li { color: #e3e0ee; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: #f9a8d4; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #fff; }
.article-meta { color: var(--dim); font-size: 0.95rem; }
.article-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) { .article-layout { grid-template-columns: minmax(0, 1fr) 320px; } }
.aside-box { padding: 24px; position: sticky; top: 90px; }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li { border-top: 1px solid var(--border); }
.aside-box a { display: block; padding: 12px 0; text-decoration: none; color: var(--muted); font-size: 0.97rem; }
.aside-box a:hover { color: #fff; }

/* FAQ */
.search-wrap { position: relative; max-width: 760px; }
.search-wrap svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--dim); pointer-events: none; }
.search-input {
  width: 100%; min-height: 58px; padding: 16px 20px 16px 50px; font-size: 1.05rem; color: #fff;
  background: rgba(255,255,255,0.06); border: 1px solid var(--border); border-radius: 16px; font-family: inherit;
  backdrop-filter: blur(10px);
}
.search-input::placeholder { color: var(--dim); }
.search-input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(236,72,153,0.18); }
.tags-label { font-size: 0.9rem; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: 0.1em; margin: 22px 0 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-btn {
  font: inherit; font-size: 0.92rem; color: var(--muted); padding: 9px 14px; min-height: 40px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); cursor: pointer; transition: background 0.2s, color 0.2s;
}
.tag-btn:hover { background: var(--surface-2); color: #fff; }
.chips {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 20px 12px; margin: 0 -20px;
  scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start; font: inherit; font-size: 0.95rem; font-weight: 600; color: #fff;
  padding: 10px 16px; min-height: 44px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--surface); cursor: pointer; white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--grad); border-color: transparent; }
.faq-sticky { position: sticky; top: 66px; z-index: 10; background: rgba(7,6,13,0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 12px; border-bottom: 1px solid var(--border); }
.faq-cat { margin-top: 48px; scroll-margin-top: 150px; }
.faq-cat > h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
.faq-item { margin-bottom: 10px; border-radius: var(--radius-sm); }
.faq-item h3 { margin: 0; font-size: 1.05rem; font-family: var(--font); letter-spacing: 0; }
.faq-q {
  width: 100%; text-align: left; font: inherit; font-weight: 600; color: #fff; background: none; border: 0;
  padding: 18px 52px 18px 20px; cursor: pointer; position: relative; line-height: 1.45; min-height: 56px;
}
.faq-q::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--pink); border-bottom: 2px solid var(--pink); transform: rotate(45deg); transition: transform 0.25s;
}
.faq-q[aria-expanded="true"]::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-a { padding: 0 20px 18px; color: var(--muted); }
.faq-a p { margin: 0; }
.js .faq-a[hidden] { display: none; }
.faq-item[id] { scroll-margin-top: 150px; }
.faq-count { color: var(--dim); font-size: 0.95rem; margin: 14px 0 0; }
.no-results { display: none; padding: 28px; text-align: center; margin-top: 30px; }
.no-results.show { display: block; }
.faq-item.hide, .faq-cat.hide { display: none; }

/* Contact / misc */
.contact-card { padding: 30px; }
.contact-card a.big { font-family: var(--display); font-size: clamp(1.3rem, 4vw, 1.9rem); font-weight: 700; text-decoration: none; word-break: break-all; }
.note { font-size: 0.95rem; color: var(--dim); }
.disclaimer { padding: 18px 20px; border-left: 3px solid var(--orange); background: rgba(251,146,60,0.08); border-radius: 10px; color: var(--muted); font-size: 0.98rem; }
.table-wrap { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; min-width: 520px; }
table.compare th, table.compare td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--border); }
table.compare th { color: var(--dim); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
table.compare td:last-child { color: #fff; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 48px 0 32px; background: rgba(0,0,0,0.3); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); font-family: var(--font); margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; color: var(--muted); }
.footer-grid a:hover { color: #fff; }
.copyright { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--dim); font-size: 0.92rem; }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
