/* --------- Reset / Base --------- */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% 0%, rgba(120, 90, 255, 0.20), transparent 60%),
              radial-gradient(900px 700px at 90% 20%, rgba(0, 255, 200, 0.12), transparent 55%),
              #0b0c10;
  color: #eef0ff;
  line-height: 1.45;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.9; }
img { max-width: 100%; display: block; }

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* --------- Theme Tokens --------- */
:root{
  --bg: #0b0c10;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.08);
  --stroke: rgba(255,255,255,0.10);
  --text: #eef0ff;
  --muted: rgba(238,240,255,0.72);

  /* Accent gradients (edit to match your preferred colors) */
  --accent1: #7c5cff;   /* purple */
  --accent2: #00ffd1;   /* teal */
  --accent3: #ff3d9a;   /* pink */

  --shadow: 0 20px 50px rgba(0,0,0,0.45);
  --radius: 16px;
  --radius2: 22px;
}

/* --------- Utilities --------- */
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
.note { margin-top: 14px; }
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid var(--stroke);
  font-size: 12px;
  margin-left: 6px;
}

.pill {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--stroke);
  width: fit-content;
  margin: 0 0 14px;
}

/* --------- Buttons / Inputs --------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  cursor: pointer;
  font-weight: 650;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.btn:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.11); }
.btn:active { transform: translateY(0px); }

.btn--primary{
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(135deg, rgba(124,92,255,0.95), rgba(0,255,209,0.85));
  box-shadow: 0 12px 35px rgba(124,92,255,0.25);
}
.btn--primary:hover { background: linear-gradient(135deg, rgba(124,92,255,1), rgba(0,255,209,0.95)); }

.btn--ghost{
  background: transparent;
}
.btn--small{
  padding: 8px 10px;
  font-size: 13px;
}
.btn--block{
  width: 100%;
}

.input, .select {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  outline: none;
}
.input::placeholder { color: rgba(238,240,255,0.45); }
.select { cursor: pointer; }

.iconBtn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  cursor: pointer;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.iconBtn:hover { transform: translateY(-1px); background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.18); }

.linkBtn{
  background: transparent;
  border: none;
  padding: 0;
  color: rgba(238,240,255,0.8);
  cursor: pointer;
  text-decoration: underline;
  font-size: 12px;
}

/* --------- Topbar --------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(11,12,16,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.topbar__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand__mark{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, rgba(124,92,255,0.95), rgba(255,61,154,0.8));
  box-shadow: 0 18px 40px rgba(124,92,255,0.18);
}
.brand__text{ display: grid; line-height: 1.05; }
.brand__text span{ font-size: 12px; color: rgba(238,240,255,0.7); margin-top: 2px; }
.brand--small .brand__mark{ width: 36px; height: 36px; border-radius: 12px; }

.nav{
  display: flex;
  gap: 16px;
  align-items: center;
}
.nav a{
  color: rgba(238,240,255,0.78);
  font-weight: 650;
  font-size: 14px;
}
.nav a:hover{ color: rgba(238,240,255,0.95); }

.nav a.activeLink{
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  padding: 1px 6px;
}

.topbar__actions{
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
}
.hamburger span{
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: rgba(238,240,255,0.85);
  border-radius: 999px;
}

.mobileNav{
  display: none;
  padding: 10px 16px 14px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.mobileNav a{
  display: block;
  padding: 10px 0;
  color: rgba(238,240,255,0.85);
  font-weight: 650;
}
.mobileNav--open{ display: block; }

/* --------- Hero --------- */
.hero{
  position: relative;
  padding: 46px 0 18px;
}
.hero__inner{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

.hero h1{
  margin: 0 0 12px;
  font-size: clamp(34px, 4.2vw, 54px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.sub{
  margin: 0 0 18px;
  color: rgba(238,240,255,0.78);
  font-size: 16px;
  max-width: 52ch;
}

.hero__cta{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero__stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 10px;
  margin-top: 14px;
}
.stat{
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
}
.stat__num{ font-weight: 900; }
.stat__label{ font-size: 12px; color: rgba(238,240,255,0.7); margin-top: 4px; }

.hero__card{
  position: relative;
}

.glassCard{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,0.10);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}
.glassCard__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.glassTitle{ margin: 4px 0 6px; font-size: 22px; }
.glassMeta{ margin: 0; color: rgba(238,240,255,0.72); }

.wave{
  margin: 16px 0 18px;
  height: 74px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
  align-items: end;
}
.wave__bar{
  height: calc(18px + (var(--i, 1) * 4px));
  background: linear-gradient(180deg, rgba(0,255,209,0.85), rgba(124,92,255,0.95));
  border-radius: 999px;
  opacity: 0.9;
  filter: saturate(1.05);
}
.wave__bar:nth-child(1){height:22px}
.wave__bar:nth-child(2){height:38px}
.wave__bar:nth-child(3){height:30px}
.wave__bar:nth-child(4){height:55px}
.wave__bar:nth-child(5){height:28px}
.wave__bar:nth-child(6){height:66px}
.wave__bar:nth-child(7){height:34px}
.wave__bar:nth-child(8){height:58px}
.wave__bar:nth-child(9){height:26px}
.wave__bar:nth-child(10){height:46px}
.wave__bar:nth-child(11){height:32px}
.wave__bar:nth-child(12){height:60px}

.glassCard__bottom{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.heroGlow{
  position: absolute;
  inset: -200px -80px auto -80px;
  height: 520px;
  background: radial-gradient(circle at 30% 30%, rgba(124,92,255,0.22), transparent 55%),
              radial-gradient(circle at 70% 20%, rgba(0,255,209,0.15), transparent 60%),
              radial-gradient(circle at 80% 65%, rgba(255,61,154,0.12), transparent 55%);
  pointer-events: none;
  filter: blur(12px);
  opacity: 0.95;
}

/* --------- Sections --------- */
.section{ padding: 44px 0; }
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section__head{
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 18px;
}
.section__head h2{ margin: 0 0 4px; font-size: 26px; }
.section__head p{ margin: 0; }

.filters{
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 10px;
  width: min(560px, 100%);
}

/* --------- Table (Beat list) --------- */
.table{
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  overflow: hidden;
}

.table__row{
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.35fr 0.35fr 1.2fr;
  gap: 12px;
  align-items: center;
  padding: 14px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.table__row:first-child{ border-top: none; }
.table__headRow{
  background: rgba(255,255,255,0.05);
  font-size: 12px;
  color: rgba(238,240,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.trackCell{
  display: flex;
  align-items: center;
  gap: 12px;
}
.trackTitle{ font-weight: 900; }
.trackSub{ font-size: 12px; }

.tags{ display: flex; gap: 8px; flex-wrap: wrap; }
.tag{
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.05);
  font-size: 12px;
  color: rgba(238,240,255,0.78);
}

.licenseCell{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* --------- Cards / Grids --------- */
.grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.card{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.05);
  box-shadow: 0 16px 50px rgba(0,0,0,0.25);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 164px;
}
.card h3{ margin: 0 0 6px; }
.card p{ margin: 0; }
.card__bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.price{ font-weight: 950; }

/* --------- Licenses --------- */
.licenseGrid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.licenseCard{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.05);
  padding: 16px;
}
.licenseCard ul{
  margin: 10px 0 14px;
  padding-left: 18px;
  color: rgba(238,240,255,0.78);
}
.licenseCard--featured{
  background: linear-gradient(180deg, rgba(124,92,255,0.16), rgba(255,255,255,0.04));
  border-color: rgba(124,92,255,0.25);
  box-shadow: 0 18px 60px rgba(124,92,255,0.14);
}

/* --------- Contact --------- */
.split{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  align-items: start;
}
.subscribe{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 10px;
}
.contactCard{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.05);
  padding: 16px;
}
.contactLine{
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.contactLine:first-of-type{ border-top: none; }
.dot{
  width: 10px; height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent2), var(--accent1));
  box-shadow: 0 0 0 4px rgba(0,255,209,0.10);
}

/* --------- Footer --------- */
.footer{
  padding: 28px 0 84px; /* extra for sticky player */
}
.footer__inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 18px;
}
.footer__right{
  display: flex;
  gap: 14px;
  color: rgba(238,240,255,0.75);
  font-weight: 650;
  font-size: 14px;
}

/* --------- Drawer --------- */
.drawer{
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}
.drawer--open{ display: block; }
.drawer__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}
.drawer__panel{
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: rgba(11,12,16,0.88);
  backdrop-filter: blur(18px);
  border-left: 1px solid rgba(255,255,255,0.08);
  box-shadow: -20px 0 50px rgba(0,0,0,0.35);
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.drawer__head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.drawer__body{
  padding: 16px;
  overflow: auto;
}
.drawer__foot{
  padding: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cartItem{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  margin-bottom: 10px;
}
.cartItem__title{ font-weight: 900; }
.cartItem__meta{ font-size: 12px; }
.cartItem__right{ text-align: right; }
.cartItem__price{ font-weight: 900; margin-bottom: 6px; }
.totals{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

/* --------- Sticky Player --------- */
.player{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  transform: translateY(110%);
  transition: transform .18s ease;
  border-top: 1px solid rgba(255,255,255,0.09);
  background: rgba(11,12,16,0.78);
  backdrop-filter: blur(18px);
}
.player--open{ transform: translateY(0); }

.player__inner{
  display: grid;
  grid-template-columns: auto 1fr 1.4fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
}

.player__meta{
  min-width: 180px;
}
.player__title{ font-weight: 950; }
.player__sub{ font-size: 12px; margin-top: 2px; }

.player__progress{
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}
.range{
  width: 100%;
  cursor: pointer;
}

.player__actions{
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* --------- Responsive --------- */
@media (max-width: 980px){
  .hero__inner{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: 1fr; }
  .licenseGrid{ grid-template-columns: 1fr; }
  .filters{ grid-template-columns: 1fr; }
  .player__inner{ grid-template-columns: auto 1fr; grid-auto-rows: auto; }
  .player__progress{ grid-column: 1 / -1; }
  .player__actions{ grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 860px){
  .nav, .topbar__actions { display: none; }
  .hamburger { display: block; }
  .table__row{
    grid-template-columns: 1.3fr 1fr;
    grid-auto-rows: auto;
  }
  .hideSm{ display: none; }
  .hideMd{ display: none; }
  .licenseCell{ justify-content: flex-start; }
}

@media (max-width: 520px){
  .hero__stats{ grid-template-columns: 1fr; }
}
.packCategories{
  display:flex;
  gap:10px;
  margin-bottom:20px;
}

.packTab{
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.2);
  background:transparent;
  color:#fff;
  cursor:pointer;
}

.packTab.active{
  background:#6cff8f;
  color:#000;
  font-weight:600;
}

.packGroup{
  display:none;
}

.packGroup.show{
  display:block;
}
.packsFilter{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:220px;
}
.brand__logo{
  height: 44px;
  width: auto;
  display: block;
  border-radius: 10px;
}

