@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700;800&display=swap");

:root {
  --vers-bg: #070716;
  --vers-bg-2: #09091e;
  --vers-bg-3: #17051c;
  --vers-panel: #120f27;
  --vers-panel-2: #0b0b1f;
  --vers-line: #33204e;
  --vers-text: #ffffff;
  --vers-muted: #cfd0df;
  --vers-hot: #ff3eb5;
  --vers-warm: #ff914d;
  --vers-purple: #9b5cff;
  --vers-accent: #47e5c2;
  --vers-ok: #69ffba;
  --vers-danger: #ff7483;
}

html {
  background: var(--vers-bg);
}

body.product-page {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background:
    radial-gradient(circle at right top, rgba(91, 9, 52, .92) 0%, transparent 34%),
    radial-gradient(circle at left 8%, rgba(71, 229, 194, .10) 0%, transparent 28%),
    linear-gradient(135deg, var(--vers-bg), var(--vers-bg-2) 55%, var(--vers-bg-3));
  color: var(--vers-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.product-page * {
  box-sizing: border-box;
}

body.product-page a {
  color: inherit;
  text-decoration: none;
}

body.product-page img {
  max-width: 100%;
}

body.product-page .page,
body.product-page .container {
  width: min(1180px, calc(100% - 40px));
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 0 54px;
}

body.product-page.studio-page .page {
  width: min(1320px, calc(100% - 40px));
  max-width: 1320px;
}

body.product-page .topbar {
  min-height: 78px;
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

body.product-page .product-brand,
body.product-page .brand,
body.product-page .topbar > a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
}

body.product-page .topbar > a:first-child:not(.product-brand):not(.brand)::before {
  content: "V";
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--vers-purple), #ff4fb8, #ff9b29);
  color: #fff;
  font-weight: 900;
}

body.product-page .product-logo-mark,
body.product-page .brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--vers-purple), #ff4fb8, #ff9b29);
  color: #fff;
  font-size: 21px;
  font-weight: 900;
}

body.product-page .product-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #e7e7ef;
  font-size: 13px;
  font-weight: 800;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
}

body.product-page .product-nav-links a {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

body.product-page .product-nav-links a:hover,
body.product-page .product-nav-links a[aria-current="page"] {
  border-bottom-color: #ff6b73;
  color: #fff;
}

body.product-page .nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

body.product-page main p a,
body.product-page .legal-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
}

body.product-page .layout {
  align-items: start;
}

body.product-page .product-hero,
body.product-page .hero:not(.panel) {
  margin: 10px 0 24px;
  display: grid;
  gap: 12px;
  max-width: 860px;
}

body.product-page .product-hero.is-centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-items: center;
}

body.product-page .product-eyebrow,
body.product-page .badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 79, 184, .55);
  border-radius: 999px;
  padding: 8px 14px;
  color: #ffd3ed;
  background: rgba(255, 62, 181, .08);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
}

body.product-page h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
}

body.product-page h2,
body.product-page h3 {
  color: #fff;
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
  letter-spacing: 0;
}

body.product-page .gradient-text {
  background: linear-gradient(90deg, var(--vers-purple), #ff4fb8, #ff9b29);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

body.product-page p,
body.product-page .small,
body.product-page .muted,
body.product-page .status,
body.product-page .field span,
body.product-page .item span,
body.product-page .metric span,
body.product-page .card span {
  color: var(--vers-muted);
}

body.product-page p {
  line-height: 1.6;
}

body.product-page .panel,
body.product-page .step,
body.product-page .card,
body.product-page .plan,
body.product-page .table-wrap,
body.product-page .price-box,
body.product-page .summary,
body.product-page .share-box,
body.product-page .metadata-box,
body.product-page .dashboard,
body.product-page .section,
body.product-page .guide-step,
body.product-page .guide details,
body.product-page .project,
body.product-page .sampler-card,
body.product-page .song-section {
  border: 1px solid rgba(255, 255, 255, .10);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025)),
    rgba(18, 15, 39, .88);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

body.product-page .panel,
body.product-page .step,
body.product-page .card,
body.product-page .plan,
body.product-page .table-wrap,
body.product-page .section {
  border-radius: 12px;
}

body.product-page .panel,
body.product-page .section,
body.product-page .plan,
body.product-page .table-wrap {
  border-radius: 14px;
}

body.product-page .step {
  padding: 22px;
}

body.product-page .panel h2,
body.product-page .step h2 {
  margin-top: 0;
}

body.product-page button,
body.product-page input,
body.product-page select,
body.product-page textarea {
  font: inherit;
}

body.product-page button,
body.product-page .chip,
body.product-page .filter,
body.product-page .flow span,
body.product-page .badge {
  font-family: "Space Grotesk", Inter, system-ui, sans-serif;
}

body.product-page input,
body.product-page select,
body.product-page textarea {
  color: #fff;
  background: rgba(8, 8, 22, 0.76);
  border: 1px solid var(--vers-line);
  border-radius: 10px;
  outline: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.product-page input:focus,
body.product-page select:focus,
body.product-page textarea:focus {
  border-color: rgba(255, 79, 184, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 62, 181, 0.2), 0 0 14px rgba(255, 62, 181, 0.15);
  background: rgba(8, 8, 22, 0.92);
}

body.product-page button,
body.product-page .cta,
body.product-page .primary {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--vers-hot), var(--vers-warm));
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(255, 62, 181, 0.3);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, filter 0.2s ease;
}

body.product-page button:hover:not(:disabled),
body.product-page .cta:hover:not(:disabled),
body.product-page .primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 62, 181, 0.45), 0 0 12px rgba(255, 145, 77, 0.25);
  filter: brightness(1.08);
}

body.product-page button:active:not(:disabled),
body.product-page .cta:active:not(:disabled),
body.product-page .primary:active:not(:disabled) {
  transform: translateY(0);
}

body.product-page button:disabled {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}

body.product-page button.ghost,
body.product-page .secondary,
body.product-page .chip:not(.selected):not(.active),
body.product-page .filter:not(.selected) {
  border: 1px solid var(--vers-line);
  background: rgba(19, 13, 43, 0.6);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body.product-page button.ghost:hover:not(:disabled),
body.product-page .secondary:hover,
body.product-page .chip:not(.selected):not(.active):hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(19, 13, 43, 0.85);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.product-page button.ghost:active:not(:disabled),
body.product-page .secondary:active {
  transform: translateY(0);
}

body.product-page .chip.selected,
body.product-page .filter.selected,
body.product-page .flow span.active {
  border-color: transparent;
  background: linear-gradient(90deg, var(--vers-hot), var(--vers-warm));
  color: #fff;
  box-shadow: 0 4px 10px rgba(255, 62, 181, 0.25);
}

body.product-page .flow span,
body.product-page .chip,
body.product-page .filter,
body.product-page .badge {
  box-shadow: none;
}

body.product-page .metrics,
body.product-page .cards,
body.product-page .platform-grid {
  gap: 12px;
}

body.product-page .metric,
body.product-page .platform-card,
body.product-page .dashboard .item,
body.product-page .item,
body.product-page .failure-row {
  border: 1px solid rgba(255, 255, 255, .09);
  background: rgba(8, 8, 22, .66);
}

body.product-page details.dashboard > summary {
  list-style: none;
  cursor: pointer;
}

body.product-page details.dashboard > summary::-webkit-details-marker {
  display: none;
}

body.product-page .guide-step {
  padding: 14px;
  gap: 10px;
}

body.product-page .guide-step p {
  font-size: 13px;
}

body.product-page .metric,
body.product-page .platform-card,
body.product-page .dashboard .item,
body.product-page .item,
body.product-page .failure-row,
body.product-page .share-box,
body.product-page .metadata-box,
body.product-page .price-box,
body.product-page .summary {
  border-radius: 10px;
}

body.product-page .stage {
  background:
    radial-gradient(circle at center, rgba(255, 62, 181, .18), transparent 45%),
    #050713;
  border-color: rgba(255, 255, 255, .10);
}

body.product-page .table-scroll {
  max-height: 720px;
  overflow: auto;
}

body.product-page .table-scroll thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: rgba(18, 15, 39, .98);
}

body.product-page .table-scroll tr:last-child td {
  border-bottom: 0;
}

body.product-page #video-list {
  max-height: 720px;
  overflow: auto;
}

body.product-page .layout > aside.panel {
  position: sticky;
  top: 18px;
  align-self: start;
}

body.product-page th {
  color: #ffd3b1;
}

body.product-page tr:hover td {
  background: rgba(255, 255, 255, .025);
}

body.product-page .ai-chat textarea {
  min-height: 116px;
  background: rgba(8, 8, 22, .96);
  color: #fff;
  border: 1px solid var(--vers-line);
}

body.product-page .ai-chat-log,
body.product-page .ai-credit-summary div {
  background: rgba(8, 8, 22, .64);
}

body.product-page .empty {
  color: var(--vers-muted);
}

body.product-page .legal-links a,
body.product-page .topbar > a:not(.product-brand):not(.brand) {
  color: #ffd3b1;
}

body.product-page .template-card,
body.product-page .card {
  overflow: hidden;
}

body.product-page .template-card img,
body.product-page .card img {
  transition: transform .2s ease;
}

body.product-page .template-card:hover img,
body.product-page .card:hover img {
  transform: scale(1.025);
}

body.product-page .product-footer-links {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--vers-muted);
  font-size: 13px;
  font-weight: 800;
}

body.product-page .product-footer-links a:hover {
  color: #fff;
}

body.product-page.studio-page .step {
  aspect-ratio: 1;
  min-height: 24px;
  padding: 0;
  border: 1px solid var(--line, #2d3155);
  border-radius: 6px;
  background: #0a0d1b;
  box-shadow: none;
  display: grid;
  place-items: center;
  color: var(--muted, #b8bdd6);
  cursor: pointer;
  user-select: none;
  font-size: 11px;
  line-height: 1;
}

body.product-page.studio-page .step.on {
  background: linear-gradient(180deg, rgba(71, 229, 194, .28), rgba(71, 229, 194, .08));
  border-color: rgba(71, 229, 194, .5);
  color: var(--text, #f5f7ff);
}

body.product-page.studio-page #sequencer .grid {
  grid-template-columns: repeat(16, minmax(18px, 32px));
  justify-content: start;
}

@media (max-width: 640px) {
  body.product-page.studio-page #sequencer .grid {
    grid-template-columns: repeat(8, minmax(22px, 1fr));
  }
}

@media (max-width: 980px) {
  body.product-page .layout > aside.panel {
    position: static;
  }
}

@media (max-width: 980px) {
  body.product-page .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  body.product-page .product-nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  body.product-page .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  body.product-page .page,
  body.product-page .container {
    width: min(100% - 28px, 1180px);
    padding-bottom: 38px;
  }

  body.product-page h1 {
    font-size: 34px;
  }
}
