:root {
  --jm-bg: #07080f;
  --jm-surface: rgba(14, 16, 28, 0.82);
  --jm-border: rgba(0, 245, 255, 0.22);
  --jm-cyan: #00f5ff;
  --jm-magenta: #ff2bd6;
  --jm-lime: #c8ff00;
  --jm-violet: #8b5cff;
  --jm-text: #eef0ff;
  --jm-muted: #9aa3c7;
  --jm-radius: 14px;
  --jm-font: "Outfit", system-ui, sans-serif;
  --jm-display: "Unbounded", "Outfit", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--jm-font);
  color: var(--jm-text);
  background: var(--jm-bg);
  line-height: 1.55;
}

.jm-mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 10% 20%, rgba(255, 43, 214, 0.18), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(0, 245, 255, 0.15), transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 100%, rgba(200, 255, 0, 0.08), transparent 55%),
    var(--jm-bg);
}

.jm-wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.jm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(7, 8, 15, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.jm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.jm-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--jm-text);
  font-family: var(--jm-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.jm-brand img {
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(0, 245, 255, 0.35);
}

.jm-brand-accent {
  color: var(--jm-cyan);
}

.jm-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.1rem;
  font-size: 0.92rem;
}

.jm-nav a {
  color: var(--jm-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.jm-nav a:hover {
  color: var(--jm-cyan);
}

.jm-nav-cta {
  padding: 0.45rem 0.95rem !important;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--jm-magenta), var(--jm-violet));
  color: #fff !important;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(255, 43, 214, 0.35);
}

.jm-nav-logout {
  margin: 0;
  display: inline;
}

.jm-nav-logout button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--jm-muted);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
}

.jm-main {
  padding-bottom: 4rem;
}

.jm-hero {
  padding: 3.5rem 0 2.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .jm-hero {
    grid-template-columns: 1fr;
  }
}

.jm-hero h1 {
  font-family: var(--jm-display);
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.jm-hero h1 span {
  background: linear-gradient(90deg, var(--jm-cyan), var(--jm-lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.jm-lead {
  font-size: 1.12rem;
  color: var(--jm-muted);
  max-width: 34ch;
  margin: 0 0 1.5rem;
}

.jm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.jm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.95rem;
}

.jm-btn-primary {
  background: linear-gradient(135deg, var(--jm-cyan), var(--jm-violet));
  color: #041018;
  box-shadow: 0 10px 32px rgba(0, 245, 255, 0.25);
}

.jm-btn-ghost {
  background: transparent;
  color: var(--jm-text);
  border: 1px solid var(--jm-border);
}

.jm-hero-visual {
  position: relative;
  border-radius: calc(var(--jm-radius) + 6px);
  overflow: hidden;
  border: 1px solid var(--jm-border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.jm-hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.jm-hero-badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  background: rgba(7, 8, 15, 0.85);
  border: 1px solid rgba(200, 255, 0, 0.35);
  font-size: 0.78rem;
  color: var(--jm-lime);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.jm-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2.5rem 0;
}

@media (max-width: 700px) {
  .jm-stats {
    grid-template-columns: 1fr;
  }
}

.jm-stat {
  padding: 1.1rem 1.2rem;
  border-radius: var(--jm-radius);
  background: var(--jm-surface);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.jm-stat strong {
  display: block;
  font-family: var(--jm-display);
  font-size: 1.35rem;
  color: var(--jm-cyan);
}

.jm-section {
  padding: 3rem 0;
}

.jm-section h2 {
  font-family: var(--jm-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.5rem;
}

.jm-section-intro {
  color: var(--jm-muted);
  max-width: 52ch;
  margin: 0 0 2rem;
}

.jm-pipeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

@media (max-width: 900px) {
  .jm-pipeline {
    grid-template-columns: 1fr 1fr;
  }
}

.jm-step {
  padding: 1.1rem;
  border-radius: var(--jm-radius);
  background: linear-gradient(160deg, rgba(0, 245, 255, 0.06), rgba(255, 43, 214, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.jm-step-num {
  font-family: var(--jm-display);
  font-size: 0.75rem;
  color: var(--jm-magenta);
}

.jm-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.jm-chip {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(139, 92, 255, 0.15);
  border: 1px solid rgba(139, 92, 255, 0.35);
  color: #d4c8ff;
}

.jm-creator-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .jm-creator-grid {
    grid-template-columns: 1fr;
  }
}

.jm-creator-card {
  border-radius: var(--jm-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--jm-surface);
}

.jm-creator-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.jm-creator-card div {
  padding: 1rem 1.1rem 1.2rem;
}

.jm-creator-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.jm-creator-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--jm-muted);
}

.jm-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 0;
  margin-top: 2rem;
}

.jm-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 1.5rem;
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .jm-footer-grid {
    grid-template-columns: 1fr;
  }
}

.jm-footer a {
  color: var(--jm-cyan);
  text-decoration: none;
  display: block;
  margin-top: 0.35rem;
}

.jm-footer-label {
  font-weight: 600;
  margin: 0 0 0.35rem;
}

.jm-muted {
  color: var(--jm-muted);
  font-size: 0.88rem;
}

.jm-footer-address {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--jm-muted);
}
.jm-footer-copy {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--jm-muted);
}

/* Auth & dashboard */
.jm-auth-page {
  padding: 2.5rem 0 4rem;
}

.jm-card {
  max-width: 440px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: calc(var(--jm-radius) + 4px);
  background: var(--jm-surface);
  border: 1px solid var(--jm-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.jm-card-wide {
  max-width: 720px;
}

.jm-card h1 {
  font-family: var(--jm-display);
  font-size: 1.65rem;
  margin: 0 0 0.35rem;
}

.jm-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

.jm-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
}

.jm-form input[type="text"],
.jm-form input[type="email"],
.jm-form input[type="password"],
.jm-form select,
.jm-form textarea {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: var(--jm-text);
  font: inherit;
}

.jm-form textarea {
  min-height: 88px;
  resize: vertical;
}

.jm-form input:focus,
.jm-form select:focus,
.jm-form textarea:focus {
  outline: 2px solid rgba(0, 245, 255, 0.45);
  border-color: var(--jm-cyan);
}

.jm-alert {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.jm-alert-err {
  background: rgba(255, 80, 100, 0.15);
  border: 1px solid rgba(255, 80, 100, 0.4);
  color: #ffb4bc;
}

.jm-alert-ok {
  background: rgba(200, 255, 0, 0.1);
  border: 1px solid rgba(200, 255, 0, 0.35);
  color: #e8ff9a;
}

.jm-store-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 0.75rem;
  font-size: 0.85rem;
}

.jm-store-grid label {
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
}

.jm-drop {
  border: 1px dashed rgba(0, 245, 255, 0.45);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--jm-muted);
  position: relative;
  cursor: pointer;
}

.jm-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.jm-drop.is-drag {
  background: rgba(0, 245, 255, 0.08);
}

.jm-dash-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.jm-release-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.jm-release-item {
  padding: 1rem 1.1rem;
  border-radius: var(--jm-radius);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  align-items: center;
}

.jm-release-item h3 {
  margin: 0;
  font-size: 1.05rem;
}

.jm-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(0, 245, 255, 0.12);
  color: var(--jm-cyan);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.jm-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .jm-split {
    grid-template-columns: 1fr;
  }
}
