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

:root {
  color-scheme: dark;
  --bg: #0b0705;
  --panel: #18100c;
  --panel-accent: #21120d;
  --border: rgba(255,255,255,0.08);
  --muted: rgba(255,255,255,0.6);
  --accent: #f57c42;
  --accent-soft: rgba(245,124,66,0.15);
  font-family: 'Space Grotesk', system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: #fdf6ef;
  position: relative;
}

.noise {
  position: fixed;
  inset: 0;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="600" height="600" viewBox="0 0 600 600"%3E%3Cfilter id="n" x="0" y="0" width="1" height="1"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="600" height="600" filter="url(%23n)" opacity="0.03"/%3E%3C/svg%3E');
  pointer-events: none;
  z-index: 1;
}

.hero {
  padding: 3rem clamp(1.5rem, 4vw, 4rem) 2rem;
  background: radial-gradient(circle at 10% 10%, rgba(245,124,66,0.3), transparent 45%), var(--bg);
  position: relative;
  z-index: 2;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.nav__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.bag-toggle {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #fff;
  font-weight: 500;
  padding: 0.5rem 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.bag-count {
  background: var(--accent);
  color: #0b0705;
  border-radius: 999px;
  padding: 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.logo {
  font-weight: 600;
  letter-spacing: 0.2em;
}

.nav__cta {
  color: #fff;
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  text-decoration: none;
}

.hero__content {
  max-width: 760px;
}

.eyebrow {
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  color: var(--muted);
}

h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  margin: 0.5rem 0 1.5rem;
  line-height: 1.1;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
}

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero__stat-number {
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
  display: block;
}

.btn {
  background: var(--accent);
  border: none;
  border-radius: 999px;
  color: #0b0705;
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

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

.btn--full {
  width: 100%;
  justify-content: center;
}

main {
  position: relative;
  z-index: 2;
  padding: 2rem clamp(1.5rem, 4vw, 4rem) 4rem;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.panel--accent {
  background: var(--panel-accent);
  border-color: rgba(245,124,66,0.4);
}

.panel--glass {
  backdrop-filter: blur(22px);
  background: rgba(10, 7, 5, 0.55);
  border-color: rgba(255,255,255,0.12);
}

.panel--split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.panel__header {
  margin-bottom: 1.5rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  background: rgba(255,255,255,0.02);
}

.card h3 { margin: 0 0 0.4rem; }

.card p, .card span { color: var(--muted); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.plan {
  border: 1px solid rgba(245,124,66,0.2);
  border-radius: 22px;
  padding: 1.5rem;
  background: rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.plan__price {
  font-size: 1.3rem;
  margin: 0.2rem 0;
}

.plan ul {
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
}

.plan li + li { margin-top: 0.4rem; }

.muted { color: var(--muted); }

.journal__entry {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.link { color: var(--accent); text-decoration: none; }

.access {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.access__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.access__perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
}

.access__price {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.access__amount {
  font-size: 2.5rem;
  font-weight: 600;
}

.shop__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.pill-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.pill.is-active {
  background: var(--accent);
  color: #0b0705;
  border-color: transparent;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.5rem;
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-card__price {
  font-size: 1.4rem;
  font-weight: 600;
}

.product-card__tag {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card .btn {
  margin-top: auto;
}

.access__form {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

label {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  gap: 0.4rem;
  color: var(--muted);
}

input,
select {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 1rem;
}

input:focus,
select:focus {
  outline: 2px solid rgba(245,124,66,0.6);
}

.tiny-text {
  font-size: 0.75rem;
  margin: 0;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.chips span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
}

.small {
  font-size: 0.85rem;
}

.timeline {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.5rem;
}

.timeline ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.timeline strong {
  display: block;
}

.playlists__grid .card {
  min-height: 150px;
}

.playlists__grid a {
  color: var(--accent);
  text-decoration: none;
}

.cart {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100%);
  height: 100vh;
  background: #120b08;
  border-left: 1px solid var(--border);
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  z-index: 99;
}

.cart.is-open {
  transform: translateX(0);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 90;
}

.cart-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart__close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
}

.cart__body {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.cart-item__row {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.cart-item__controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.cart-item__controls button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.cart-item__controls button[data-remove] {
  border-radius: 999px;
  padding: 0 0.75rem;
  height: auto;
}

.cart__footer {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart__total {
  font-size: 1.4rem;
  font-weight: 600;
}

.footer {
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem clamp(1.5rem, 4vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 3rem;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.footer a { color: #fff; text-decoration: none; margin-right: 1rem; }

.footer a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .hero__cta { flex-direction: column; }
  .btn, .btn--ghost { width: 100%; justify-content: center; }
  .hero__stats { grid-template-columns: 1fr; }
  .panel { padding: 1.5rem; }
  .nav { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .nav__actions { width: 100%; }
  .bag-toggle { width: 100%; justify-content: center; }
}
