/* vocollab.eu in the style of the app (docs/PLAN.md D21): near-black, pink-red accent, Bebas
   Neue for headings and DM Sans for text. Fonts are served from here, not from Google, so
   visitors' addresses are not shared with anyone (fonts: SIL Open Font License). */
@font-face {
  font-family: 'Bebas Neue';
  src: url('/fonts/BebasNeue_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/DMSans_400Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/DMSans_500Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('/fonts/DMSans_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #111114;
  --card: #1a1a20;
  --raised: #23232b;
  --line: #2e2e38;
  --primary: #ff3b5c;
  --gold: #f5c542;
  --mint: #2bd47d;
  --snow: #f5f5f7;
  --mist: #9b9ba7;
  --glow-blue: #4f8bff;
  --glow-violet: #8b5cf6;
  --glow-pink: #ff5fa2;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--snow);
  font:
    17px/1.65 'DM Sans',
    system-ui,
    sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--primary);
}
img {
  max-width: 100%;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}
.narrow {
  max-width: 720px;
}

/* Header */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(17, 17, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.top .logo img {
  height: 40px;
  display: block;
}
.top nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 500;
  font-size: 15px;
}
.top nav a {
  color: var(--mist);
  text-decoration: none;
}
.top nav a:hover {
  color: var(--snow);
}
.top nav .lang {
  color: var(--snow);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}
@media (max-width: 640px) {
  .top nav .section-link {
    display: none;
  }
}

/* Headings */
.display {
  font-family: 'Bebas Neue', 'DM Sans', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 0.95;
  margin: 0;
}
.display .accent {
  color: var(--primary);
}
h1.display {
  font-size: clamp(56px, 11vw, 112px);
}
h2.display {
  font-size: clamp(40px, 7vw, 64px);
  margin-bottom: 16px;
}
.lead {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--mist);
  max-width: 560px;
}
.eyebrow {
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mist);
}

/* Hero with the light orb from the app */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 120px;
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
.orb {
  position: absolute;
  z-index: 0;
  right: -120px;
  top: 40px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.55), transparent 22%),
    radial-gradient(circle at 40% 45%, var(--glow-pink), transparent 55%),
    radial-gradient(circle at 65% 60%, var(--glow-violet), transparent 60%),
    radial-gradient(circle at 50% 70%, var(--glow-blue), transparent 65%);
  filter: blur(18px);
  opacity: 0.55;
  animation: pulse 6s ease-in-out infinite;
}
@keyframes pulse {
  50% {
    transform: scale(1.06);
    opacity: 0.7;
  }
}
@media (prefers-reduced-motion: reduce) {
  .orb {
    animation: none;
  }
}
@media (max-width: 720px) {
  .orb {
    width: 340px;
    height: 340px;
    right: -140px;
    top: 10px;
  }
}
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}
.store {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 168px;
  padding: 10px 18px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--snow);
  text-decoration: none;
}
.store small {
  color: var(--mist);
  font-size: 12px;
}
.store strong {
  font-size: 17px;
}

/* Sections */
section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.grid {
  display: grid;
  gap: 16px;
}
.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
}
.card h3 {
  margin: 8px 0 8px;
  font-size: 22px;
}
.card p {
  margin: 0;
  color: var(--mist);
}
.step {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  line-height: 1;
  color: var(--primary);
}
.card.artist {
  border-color: rgba(255, 59, 92, 0.45);
}
.card.producer {
  border-color: rgba(139, 92, 246, 0.5);
}
.card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--snow);
}
.card li {
  margin: 6px 0;
}
.tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--raised);
}
.tag.artist {
  color: var(--primary);
}
.tag.producer {
  color: var(--glow-violet);
}

/* FAQ */
details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 22px;
  margin: 10px 0;
}
summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary::after {
  content: '+';
  color: var(--primary);
  font-size: 24px;
  line-height: 1;
}
details[open] summary::after {
  content: '–';
}
details p {
  color: var(--mist);
  margin: 12px 0 0;
}

/* Text pages (privacy, terms) */
.doc {
  padding: 48px 0 80px;
}
.doc h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 9vw, 80px);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.doc h2 {
  font-size: 22px;
  margin: 36px 0 8px;
}
.doc .muted,
.muted {
  color: var(--mist);
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 15px;
}
.doc th,
.doc td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
.doc th {
  color: var(--mist);
  font-weight: 500;
}
.concept {
  background: rgba(245, 197, 66, 0.12);
  border: 1px solid rgba(245, 197, 66, 0.4);
  color: var(--gold);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 15px;
}
.center {
  text-align: center;
  padding: 120px 0;
}

/* Footer */
.bottom {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--mist);
  font-size: 15px;
}
.bottom .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.bottom a {
  color: var(--mist);
}
.bottom nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Pricing: four cards side by side on desktop, two on tablets, stacked on phones.
   The higher the tier, the richer the card: Plus a cool blue edge, Gold a shimmering gold
   edge, Platinum a slowly turning iridescent edge with a soft glow. */
@property --spin {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.hero.compact {
  padding: 72px 0 48px;
}
.hero.compact .orb {
  width: 380px;
  height: 380px;
  top: -40px;
}
section.plans {
  border-top: 0;
  padding-top: 16px;
}
section.plans .wrap {
  max-width: 1200px;
}
.grid.four {
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 20px;
}
@media (min-width: 640px) {
  .grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1000px) {
  .grid.four {
    grid-template-columns: repeat(4, 1fr);
  }
}

.plan {
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid var(--line);
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.plan h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: 0.5px;
  margin: 0;
}
.badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--raised);
  color: var(--mist);
  white-space: nowrap;
}
.badge.live {
  background: rgba(43, 212, 125, 0.15);
  color: var(--mint);
}
.price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  line-height: 1;
  margin: 20px 0 8px;
}
.price small {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--mist);
}
.price .muted {
  font-size: 28px;
}
.plan ul {
  padding-left: 20px;
  margin: 12px 0 0;
}
.center-text {
  text-align: center;
  margin-top: 32px;
}

/* Free: available now, so it carries the brand colour */
.tier-free {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(255, 59, 92, 0.22);
}

/* Gradient edges: the card colour on the inside, the gradient only in the border */
.tier-plus,
.tier-gold,
.tier-platinum {
  border-color: transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    var(--edge) border-box;
}
.tier-plus {
  --edge: linear-gradient(140deg, #4f8bff, #2e2e38 55%, #4f8bff);
}
.tier-plus h3 {
  color: #8fb4ff;
}

.tier-gold {
  --edge: linear-gradient(110deg, #8a6a1f, #f5c542 30%, #fff1b8 45%, #f5c542 60%, #8a6a1f);
  background-size:
    100% 100%,
    250% 100%;
  animation: shimmer 5s linear infinite;
  box-shadow: 0 0 32px rgba(245, 197, 66, 0.18);
}
.tier-gold h3 {
  background: linear-gradient(110deg, #f5c542, #fff1b8 50%, #f5c542);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes shimmer {
  from {
    background-position:
      0 0,
      0% 0;
  }
  to {
    background-position:
      0 0,
      250% 0;
  }
}

.tier-platinum {
  --edge: conic-gradient(from var(--spin), #ff5fa2, #8b5cf6, #4f8bff, #e8e8f0, #ff5fa2);
  animation: spin 8s linear infinite;
  box-shadow:
    0 0 48px rgba(139, 92, 246, 0.28),
    0 0 90px rgba(79, 139, 255, 0.12);
}
.tier-platinum h3 {
  background: linear-gradient(90deg, #ff5fa2, #c9b8ff, #8fd3ff, #ffffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@keyframes spin {
  to {
    --spin: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tier-gold,
  .tier-platinum {
    animation: none;
  }
}

/* Call to action at the bottom of the home page */
.cta {
  text-align: center;
}
.cta .lead {
  margin: 0 auto 28px;
}
.button {
  display: inline-block;
  background: var(--primary);
  color: var(--snow);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 999px;
  box-shadow: 0 0 40px rgba(255, 59, 92, 0.35);
}
.button:hover {
  filter: brightness(1.08);
}

/* Spotlight */
.spot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-decoration: none;
  color: var(--snow);
  border-color: rgba(245, 197, 66, 0.4);
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}
.spot:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}
.spot h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  margin: 0;
}
.spot p {
  margin: 0;
  color: var(--mist);
}
.spot .listen {
  margin-top: 10px;
  color: var(--primary);
  font-weight: 700;
}
