:root {
  --jb-main: #121212;
  --jb-sidebar: #000000;
  --jb-card: #181818;
  --jb-elevated: #282828;
  --jb-player: #181818;
  --jb-accent: #ffffff;
  --jb-success: #1db954;
  --jb-ambience: #22d3ee;
  --jb-soundboard: #ff9800;
  --jb-host: #f59e0b;
  --jb-border: #333333;
  --jb-text-secondary: #b3b3b3;
  --jb-text-muted: #727272;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --header-height: 4.5rem;
  --max-width: 76rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--jb-main);
  color: #fff;
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  background: rgba(18, 18, 18, 0.55);
  backdrop-filter: blur(16px);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(18, 18, 18, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-ghost {
  color: var(--jb-text-secondary);
  background: transparent;
}

.btn-ghost:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-primary {
  color: #121212;
  background: #fff;
}

.btn-primary:hover {
  background: #e5e5e5;
}

.desktop-menu {
  position: relative;
}

.desktop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--jb-text-secondary);
  transition: background 0.2s ease, color 0.2s ease;
}

.desktop-menu.open .desktop-trigger,
.desktop-trigger:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.desktop-trigger svg {
  width: 0.85rem;
  height: 0.85rem;
  transition: transform 0.2s ease;
}

.desktop-menu.open .desktop-trigger svg {
  transform: rotate(180deg);
}

.desktop-panel-wrap {
  position: absolute;
  top: 100%;
  right: 0;
  width: 15.5rem;
  padding-top: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.35rem);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.desktop-menu.open .desktop-panel-wrap {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.desktop-panel {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(40, 40, 40, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
}

.desktop-panel-head {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent);
}

.desktop-panel-head strong {
  display: block;
  font-size: 0.875rem;
}

.desktop-panel-head span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.75rem;
  color: var(--jb-text-secondary);
}

.desktop-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.875rem;
  color: var(--jb-text-secondary);
}

.desktop-row:not(.disabled):hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.desktop-row.disabled {
  cursor: default;
  opacity: 0.75;
  pointer-events: none;
}

.hidden {
  display: none !important;
}

.mobile-desktop-download {
  text-align: center;
}

.desktop-row small {
  margin-left: auto;
  font-size: 0.75rem;
}

.menu-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1.25rem;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 0 1rem;
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  padding: 0.65rem 0.25rem;
  color: var(--jb-text-secondary);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(18, 18, 18, 0.55) 45%, rgba(18, 18, 18, 0.98) 100%),
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.08), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-height) + 4rem) 0 3rem;
  text-align: center;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  font-weight: 700;
}

.hero-tagline {
  max-width: 40rem;
  margin: 1.25rem auto 0;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 4rem;
  padding: 2rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pillar {
  position: relative;
  padding: 1.5rem 1.75rem;
  text-align: left;
}

.pillar:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.25rem;
  right: 0;
  width: 1px;
  height: calc(100% - 2.5rem);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.22) 20%,
    rgba(255, 255, 255, 0.22) 80%,
    transparent
  );
}

.pillar-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jb-text-muted);
}

.pillar h2 {
  margin: 0.5rem 0 0;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.pillar p {
  margin: 0.65rem 0 0;
  font-size: 0.95rem;
  color: var(--jb-text-secondary);
}

/* Tour */
.tour {
  padding: 4.5rem 0;
}

.tour-intro {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.tour-intro h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.tour-intro p {
  margin: 0.75rem 0 0;
  color: var(--jb-text-secondary);
  font-size: 1.05rem;
}

.tour-stop {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: center;
  min-height: auto;
  padding: 1.75rem 0;
  opacity: 0.35;
  transform: translateY(2rem);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.tour-stop.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tour-stop:nth-child(even) {
  direction: rtl;
}

.tour-stop:nth-child(even) > * {
  direction: ltr;
}

.tour-copy .eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--jb-ambience);
}

.tour-copy h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.03em;
}

.tour-copy p {
  margin: 0.65rem 0 0;
  color: var(--jb-text-secondary);
  font-size: 1.02rem;
}

.tour-copy ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--jb-text-secondary);
}

.tour-visual {
  position: relative;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.mock-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100%;
  background: #0d0d0d;
}

.mock-top {
  height: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.mock-body {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  min-height: 0;
}

.mock-sidebar {
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: #000;
  padding: 0.75rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-sidebar span {
  height: 2rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
}

.mock-sidebar span.active {
  background: rgba(255, 255, 255, 0.14);
}

.mock-main {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.mock-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
}

.mock-card {
  aspect-ratio: 1.2;
  border-radius: 0.85rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  overflow: hidden;
}

.mock-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.65));
}

.mock-card.playing {
  outline: 2px solid rgba(255, 255, 255, 0.35);
}

.mock-layers {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.mock-layer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-layer .bar {
  flex: 1;
  height: 0.35rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.mock-layer .bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--jb-ambience);
  animation: pulse-bar 2.4s ease-in-out infinite;
}

.mock-layer:nth-child(2) .bar i {
  width: 55%;
  animation-delay: 0.3s;
}

.mock-layer:nth-child(3) .bar i {
  width: 72%;
  animation-delay: 0.6s;
}

.mock-layer:nth-child(1) .bar i {
  width: 40%;
}

.mock-transport {
  height: 3.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(24, 24, 24, 0.95);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
}

.mock-transport .dot {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #fff;
}

.mock-transport .line {
  flex: 1;
  height: 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.eq-mini {
  display: flex;
  align-items: flex-end;
  gap: 0.18rem;
  height: 1rem;
}

.eq-mini span {
  width: 0.18rem;
  height: 100%;
  border-radius: 999px;
  background: var(--jb-success);
  transform-origin: bottom;
  animation: eq 1.2s ease-in-out infinite;
}

.eq-mini span:nth-child(2) { animation-delay: 0.15s; }
.eq-mini span:nth-child(3) { animation-delay: 0.3s; }
.eq-mini span:nth-child(4) { animation-delay: 0.45s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}

@keyframes pulse-bar {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* Cinema */
.cinema {
  padding: 5rem 0 6rem;
  background: #000;
}

.cinema-head {
  text-align: center;
  margin-bottom: 2rem;
}

.cinema-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.cinema-head p {
  margin: 0.75rem 0 0;
  color: var(--jb-text-secondary);
}

.cinema-frame {
  position: relative;
  width: min(100%, 72rem);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.65);
  background: #050505;
}

.cinema-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.cinema-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cinema-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.5rem;
  text-align: center;
  color: var(--jb-text-secondary);
  padding: 2rem;
}

/* Pricing */
.pricing {
  padding: 6rem 0;
}

.section-head {
  max-width: 38rem;
  margin-bottom: 3rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
}

.section-head p {
  margin: 0.85rem 0 0;
  color: var(--jb-text-secondary);
}

.pricing-table-wrap {
  overflow-x: auto;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.pricing-table {
  width: 100%;
  min-width: 42rem;
  border-collapse: collapse;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.pricing-table thead th {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--jb-text-muted);
  background: rgba(255, 255, 255, 0.03);
}

.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-table .plan-name {
  font-size: 1.25rem;
  font-weight: 700;
}

.pricing-table .plan-price {
  color: var(--jb-text-secondary);
  font-size: 0.92rem;
}

.pricing-table .check {
  color: var(--jb-success);
}

.pricing-table .muted {
  color: var(--jb-text-muted);
}

.pricing-table .featured-col {
  background: rgba(255, 255, 255, 0.03);
}

.pricing-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* FAQ */
.faq {
  padding: 5rem 0 6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--jb-text-muted);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.15rem;
  color: var(--jb-text-secondary);
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a0a0a;
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-brand p {
  margin: 0.85rem 0 0;
  max-width: 22rem;
  color: var(--jb-text-secondary);
  font-size: 0.92rem;
}

.footer-col h3 {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jb-text-muted);
}

.footer-col a {
  display: block;
  padding: 0.25rem 0;
  color: var(--jb-text-secondary);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--jb-text-muted);
  font-size: 0.82rem;
}

@media (max-width: 960px) {
  .tour-stop,
  .tour-stop:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    min-height: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-actions .btn-ghost,
  .header-actions .btn-primary,
  .desktop-menu {
    display: none;
  }

  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar:not(:last-child)::after {
    display: none;
  }

  .pillar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
