/* ===========================================================
   MY WHAT IF — Global Stylesheet
   Tokens, base, components, layout
   =========================================================== */

@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,200;9..144,300;9..144,400;9..144,500;9..144,600&family=JetBrains+Mono:wght@300;400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500&family=Playfair+Display:wght@300;400;500;600&family=Inter:wght@300;400;500;600&family=IBM+Plex+Mono:wght@300;400;500&display=swap");

:root {
  /* Colors */
  --bg-primary: #080808;
  --bg-secondary: #111111;
  --bg-elevated: #1A1A1A;
  --text-primary: #F5F5F0;
  --text-secondary: #888888;
  --text-muted: #444444;
  --accent: #C8A96E;
  --accent-hover: #E2C98A;
  --accent-rgb: 200, 169, 110;
  --divider: rgba(255, 255, 255, 0.06);
  --divider-strong: rgba(255, 255, 255, 0.12);
  --success: #3D9970;

  /* Type pairings (overridable via tweaks) */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-ui: "JetBrains Mono", ui-monospace, monospace;
  --grain-opacity: 0.04;

  /* Layout */
  --container: 1200px;
  --nav-height: 64px;
  --nav-height-mobile: 56px;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 200ms var(--ease);
  --transition: 300ms var(--ease);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Film grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; }

::selection { background: var(--accent); color: var(--bg-primary); }

/* Type utilities */
.display { font-family: var(--font-display); font-weight: 300; letter-spacing: -0.02em; line-height: 1.05; }
.label {
  font-family: var(--font-ui);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  font-weight: 500;
}
.eyebrow {
  font-family: var(--font-ui);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 16px;
}
.eyebrow::after {
  content: "";
  height: 1px;
  width: 40px;
  background: rgba(255, 255, 255, 0.15);
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::before {
  content: "";
  height: 1px;
  width: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* Container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
}

/* Section spacing */
.section { padding: 120px 0; }
@media (max-width: 768px) { .section { padding: 64px 0; } }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  height: 48px;
  padding: 0 24px;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.2);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  background: none;
  padding: 0;
  height: auto;
  position: relative;
  color: var(--text-primary);
}
.btn-ghost::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--transition-fast);
}
.btn-ghost:hover::after { width: 100%; }
.btn-ghost.with-arrow::before { display: none; }

.btn-compact { height: 36px; padding: 0 16px; font-size: 11px; }
.btn-large { height: 52px; padding: 0 32px; min-width: 200px; }
.btn-block { width: 100%; }

/* ============ INPUTS ============ */
.input, .textarea, .select {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 48px;
  padding: 0 16px;
  color: var(--text-primary);
  font-size: 16px;
  border-radius: 2px;
  width: 100%;
  font-family: var(--font-ui);
  transition: border-color var(--transition-fast);
}
.textarea {
  height: auto;
  padding: 14px 16px;
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--accent);
}
.input::placeholder, .textarea::placeholder { color: var(--text-muted); }
.select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%23888' stroke-width='1.5'/></svg>"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  font-weight: 500;
}
.field .error {
  font-size: 11px;
  color: #e57373;
  letter-spacing: 0.05em;
  min-height: 14px;
}

/* ============ CARDS ============ */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--divider);
  border-radius: 4px;
  transition: all var(--transition);
}
.card:hover {
  border-color: rgba(var(--accent-rgb), 0.2);
  transform: translateY(-2px);
}

/* ============ PILLS / TAGS ============ */
.pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  padding: 5px 10px;
  border-radius: 2px;
  font-weight: 500;
}
.pill-accent {
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 600;
}

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}
.nav.scrolled {
  background: rgba(8, 8, 8, 0.95);
  border-bottom-color: rgba(255, 255, 255, 0.04);
}
.nav-inner {
  height: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: var(--font-ui);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--text-primary);
}
.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-primary); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition-fast);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: transform var(--transition-fast);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.mobile-menu .btn { margin-top: 24px; }
.mobile-menu-close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 24px;
  color: var(--text-primary);
  padding: 8px;
  line-height: 1;
}

@media (max-width: 900px) {
  .nav { height: var(--nav-height-mobile); }
  .nav-inner { padding: 0 20px; }
  .nav-links, .nav .btn { display: none; }
  .hamburger { display: flex; }
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--divider);
  padding: 64px 0 40px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 20px;
  max-width: 260px;
}
.footer-social { display: flex; gap: 16px; margin-top: 24px; }
.footer-social a {
  color: var(--text-primary);
  transition: color var(--transition-fast);
  display: inline-flex;
}
.footer-social a:hover { color: var(--accent); }
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  font-weight: 500;
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 13px;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--divider);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
@media (max-width: 768px) {
  .footer { padding: 48px 0 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: center; text-align: center; }
}

/* ============ HERO (homepage) ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(var(--accent-rgb), 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 80% 70%, rgba(80, 100, 140, 0.05) 0%, transparent 55%),
    radial-gradient(circle at center, #1a1a1a 0%, #0d0d0d 50%, #050505 100%);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg.with-image {
  background-image: var(--hero-image), radial-gradient(circle at center, #1a1a1a, #050505);
  background-size: cover;
  background-position: center;
  background-blend-mode: luminosity;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, rgba(8,8,8,0.4) 70%, rgba(8,8,8,0.96) 100%),
    linear-gradient(to bottom, rgba(8,8,8,0.55), rgba(8,8,8,0.75));
}
.hero-bg::before {
  /* subtle moving light spot */
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle 600px at 50% 100%, rgba(var(--accent-rgb), 0.06), transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.hero-headline {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.hero-headline .line-2 { display: block; padding-left: clamp(0px, 4vw, 40px); }
.hero-sub {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 16px; margin-top: 8px; }
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--text-secondary);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, 0); }
  50% { opacity: 1; transform: translate(-50%, 4px); }
}
@media (max-width: 768px) {
  .hero-content { text-align: left; align-items: flex-start; padding: 0 20px; }
  .hero-headline .line-2 { padding-left: 0; }
  .hero-ctas { flex-direction: column; width: 100%; gap: 12px; }
  .hero-ctas .btn { width: 100%; }
  .eyebrow.center { justify-content: flex-start; }
  .eyebrow.center::before { display: none; }
}

/* ============ SECTION HEADER ============ */
.section-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 56px;
}
.section-header.center { align-items: center; text-align: center; }
.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.section-sub {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-top: 4px;
}

/* ============ SONG CARDS ============ */
.song-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.song-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 4px;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid var(--divider);
  display: block;
}
.song-card:hover {
  transform: scale(1.015);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  border-color: rgba(var(--accent-rgb), 0.2);
}
.song-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 800ms var(--ease);
}
.song-card:hover .song-card-img { transform: scale(1.04); }
.song-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.95) 0%, rgba(8,8,8,0.4) 45%, transparent 65%);
}
.song-card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}
.song-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.song-card-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.song-card-artist {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}
.song-card-meta {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.song-card-price { font-size: 14px; color: var(--text-primary); font-weight: 500; }
.song-card-buy { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); }

@media (max-width: 900px) {
  .song-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .song-card-content { padding: 16px; }
  .song-card-title { font-size: 16px; }
}
@media (max-width: 480px) {
  .song-grid.mobile-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    gap: 12px;
    scrollbar-width: none;
  }
  .song-grid.mobile-scroll::-webkit-scrollbar { display: none; }
  .song-grid.mobile-scroll .song-card {
    flex: 0 0 70%;
    scroll-snap-align: start;
  }
}

/* ============ STEPS ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.step {
  padding: 32px;
  position: relative;
  border-left: 1px solid var(--divider);
}
.step:first-child { border-left: none; }
.step-num {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 100px;
  color: rgba(255,255,255,0.05);
  line-height: 0.8;
  position: absolute;
  top: 16px;
  left: 24px;
  letter-spacing: -0.04em;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  margin-top: 64px;
  margin-bottom: 12px;
  position: relative;
}
.step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  position: relative;
}
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-left: none; border-top: 1px solid var(--divider); padding: 28px 0; }
  .step:first-child { border-top: none; padding-top: 0; }
  .step-num { font-size: 120px; top: -8px; left: -8px; }
  .step-title { margin-top: 48px; }
}

/* ============ FEATURED BLOCK ============ */
.featured {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.featured-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: brightness(0.5) saturate(0.7);
}
.featured-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,8,8,0.96) 0%, rgba(8,8,8,0.85) 50%, rgba(8,8,8,0.55) 100%);
}
.featured-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 80px 32px;
}
.featured-title { font-family: var(--font-display); font-weight: 300; font-size: clamp(36px, 5vw, 56px); letter-spacing: -0.02em; line-height: 1.05; margin: 16px 0 20px; }
.featured-desc { color: var(--text-secondary); font-size: 15px; line-height: 1.6; max-width: 480px; margin-bottom: 32px; }
.featured-ctas { display: flex; gap: 16px; }
@media (max-width: 768px) {
  .featured { min-height: 420px; }
  .featured-content { padding: 60px 20px; }
  .featured-ctas { flex-direction: column; align-items: flex-start; }
  .featured-ctas .btn { width: 100%; }
}

/* ============ STATS STRIP ============ */
.stats-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 28px 24px;
  text-align: center;
  border-left: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat:first-child { border-left: none; }
.stat-num { font-size: 24px; color: var(--text-primary); font-weight: 500; letter-spacing: 0.02em; }
.stat-label { font-size: 11px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.15em; }
@media (max-width: 768px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-top: 1px solid var(--divider); }
  .stat:nth-child(2) { border-left: 1px solid var(--divider); }
  .stat:nth-child(-n+2) { border-top: none; }
  .stat:nth-child(3) { border-left: none; }
}

/* ============ SPLIT CTA ============ */
.split-cta { display: grid; grid-template-columns: 1fr 1fr; min-height: 320px; }
.split-cta > div {
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  border-left: 1px solid var(--divider);
}
.split-cta > div:first-child { border-left: none; }
.split-cta .split-left { background: var(--bg-primary); }
.split-cta .split-right { background: var(--bg-secondary); }
.split-cta h3 { font-family: var(--font-display); font-weight: 300; font-size: 32px; letter-spacing: -0.02em; line-height: 1.1; }
.split-cta p { color: var(--text-secondary); font-size: 14px; max-width: 380px; }
.split-cta .btn { align-self: flex-start; margin-top: 12px; }
@media (max-width: 768px) {
  .split-cta { grid-template-columns: 1fr; }
  .split-cta > div { padding: 48px 20px; min-height: 240px; border-left: none; border-top: 1px solid var(--divider); }
  .split-cta > div:first-child { border-top: none; }
}

/* ============ PAGE HEADER (interior) ============ */
.page-header {
  padding: calc(var(--nav-height) + 80px) 0 64px;
  position: relative;
  overflow: hidden;
}
.page-header-content { position: relative; z-index: 1; }
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 16px 0 16px;
}
.page-header p { color: var(--text-secondary); font-size: 16px; max-width: 540px; line-height: 1.6; }
@media (max-width: 768px) {
  .page-header { padding: calc(var(--nav-height-mobile) + 56px) 0 40px; }
}

/* ============ FILTER PILLS ============ */
.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.filter-pill {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px;
  color: var(--text-secondary);
  background: transparent;
  transition: all var(--transition-fast);
}
.filter-pill:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.25); }
.filter-pill.active { background: var(--accent); color: var(--bg-primary); border-color: var(--accent); }

/* ============ SONG LANDING PAGE ============ */
.song-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.song-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  filter: brightness(0.55) saturate(0.75) contrast(1.05);
}
.song-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(8,8,8,0.55) 75%, rgba(8,8,8,0.96) 100%),
    linear-gradient(to bottom, rgba(8,8,8,0.45) 0%, transparent 30%, rgba(8,8,8,0.85) 100%);
}
.song-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 32px 80px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.song-hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 72px);
  letter-spacing: -0.02em;
  line-height: 1.0;
  margin: 4px 0;
}
.song-hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 16px;
  color: var(--text-secondary);
}
.song-hero-includes {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  margin: 16px 0 8px;
}
.song-hero-includes li { display: flex; align-items: center; gap: 6px; list-style: none; }
.song-hero-includes svg { color: var(--accent); }
.song-hero-price {
  font-size: 32px;
  font-weight: 500;
  margin: 8px 0 4px;
}
.song-hero-pay {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 11px;
  margin-top: 8px;
}
.song-hero-pay svg { color: var(--text-secondary); }
@media (max-width: 768px) {
  .song-hero { align-items: flex-end; }
  .song-hero-content { padding: 0 24px 100px; text-align: left; align-items: flex-start; }
  .song-hero-includes { gap: 12px; }
  .song-hero .btn-large { width: 100%; min-width: 0; }
}

/* ============ INCLUDED CARDS ============ */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.included-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
}
.included-card:hover { border-color: rgba(var(--accent-rgb), 0.25); }
.included-icon { width: 32px; height: 32px; color: var(--accent); display: flex; align-items: center; justify-content: flex-start; margin-bottom: 4px; }
.included-card h4 { font-family: var(--font-display); font-weight: 400; font-size: 19px; letter-spacing: -0.01em; }
.included-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
.included-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
@media (max-width: 768px) {
  .included-grid { grid-template-columns: 1fr; }
}

/* ============ AUDIO PLAYER ============ */
.preview-player {
  background: #0D0D0D;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  padding: 16px 32px;
}
.preview-player-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
.preview-art {
  width: 48px;
  height: 48px;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.preview-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex-shrink: 0; }
.preview-title { font-size: 14px; color: var(--text-primary); }
.preview-artist { font-size: 11px; color: var(--text-muted); letter-spacing: 0.05em; }
.preview-wave {
  flex: 1;
  height: 36px;
  position: relative;
  cursor: pointer;
}
.preview-wave svg { width: 100%; height: 100%; display: block; }
.preview-wave .wave-bg path { stroke: rgba(255,255,255,0.15); }
.preview-wave .wave-fg {
  position: absolute; inset: 0;
  overflow: hidden;
  width: 0%;
  transition: width 80ms linear;
}
.preview-wave .wave-fg path { stroke: var(--accent); }
.preview-play {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}
.preview-play:hover { background: var(--accent-hover); }
.preview-time { font-size: 11px; color: var(--text-secondary); letter-spacing: 0.05em; min-width: 64px; text-align: right; }
.preview-note { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 12px; letter-spacing: 0.05em; }
@media (max-width: 768px) {
  .preview-player { padding: 12px 20px; }
  .preview-player-inner { flex-wrap: wrap; gap: 12px; }
  .preview-info { flex: 1; }
  .preview-wave { flex-basis: 100%; order: 5; }
  .preview-time { order: 6; flex: 1; text-align: left; }
}

/* ============ CHECKOUT BLOCK ============ */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
}
.order-summary {
  background: var(--bg-secondary);
  border: 1.5px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 4px;
  padding: 32px;
}
.order-header {
  display: flex;
  gap: 16px;
  align-items: center;
}
.order-art {
  width: 64px;
  height: 64px;
  border-radius: 2px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
.order-header h3 { font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.order-header p { font-size: 12px; color: var(--text-secondary); }
.order-divider { height: 1px; background: var(--divider); margin: 24px 0; }
.order-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 8px 0;
  color: var(--text-secondary);
}
.order-line span:last-child { color: var(--text-primary); }
.order-total {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  align-items: baseline;
  margin-bottom: 24px;
}
.order-total span:first-child { text-transform: uppercase; letter-spacing: 0.15em; font-size: 12px; }
.order-total .total-amt { font-family: var(--font-display); font-size: 28px; color: var(--accent); font-weight: 400; }
.pay-icons { display: flex; gap: 12px; justify-content: center; margin: 20px 0 12px; opacity: 0.7; flex-wrap: wrap; }
.pay-icons svg { color: var(--text-secondary); }
.order-fine { font-size: 11px; color: var(--text-muted); text-align: center; letter-spacing: 0.05em; }

.reassurance ul { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.reassurance li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-primary); }
.reassurance li svg { color: var(--accent); flex-shrink: 0; margin-top: 3px; }

@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============ ACCORDION ============ */
.accordion-item { border-top: 1px solid var(--divider); }
.accordion-item:last-child { border-bottom: 1px solid var(--divider); }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 4px;
  text-align: left;
  font-size: 16px;
  font-family: var(--font-ui);
  color: var(--text-primary);
  font-weight: 500;
  transition: background var(--transition-fast);
}
.accordion-trigger:hover { color: var(--accent); }
.accordion-icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.accordion-icon::before, .accordion-icon::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform var(--transition);
}
.accordion-icon::before { top: 6px; left: 0; width: 14px; height: 1.5px; }
.accordion-icon::after { left: 6px; top: 0; width: 1.5px; height: 14px; }
.accordion-item.open .accordion-icon::after { transform: rotate(90deg); }
.accordion-item.open .accordion-trigger { background: transparent; color: var(--accent); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 400ms var(--ease);
}
.accordion-body-inner {
  padding: 0 4px 24px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 720px;
}

/* ============ FORMS ============ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ============ STICKY MOBILE BUY BAR ============ */
.sticky-buy {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(8, 8, 8, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--divider);
  padding: 12px 16px;
  display: none;
  align-items: center;
  gap: 12px;
  transform: translateY(100%);
  transition: transform var(--transition);
}
.sticky-buy.visible { transform: translateY(0); }
.sticky-buy-info { flex: 1; min-width: 0; }
.sticky-buy-info .t { font-size: 13px; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy-info .s { font-size: 11px; color: var(--text-secondary); letter-spacing: 0.05em; }
.sticky-buy .btn { height: 44px; padding: 0 18px; }
@media (max-width: 768px) {
  .sticky-buy { display: flex; }
}

/* ============ MODAL ============ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.modal-backdrop.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--divider);
  border-radius: 4px;
  max-width: 460px;
  width: calc(100% - 32px);
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  padding: 36px;
  transform: translateY(20px);
  transition: transform var(--transition);
}
.modal-backdrop.open .modal { transform: translateY(0); }
.modal h2 { font-family: var(--font-display); font-weight: 300; font-size: 28px; margin: 12px 0 8px; letter-spacing: -0.01em; }
.modal-sub { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 24px;
  color: var(--text-secondary);
  padding: 8px;
  line-height: 1;
  z-index: 2;
}
.modal-close:hover { color: var(--text-primary); }
.modal-success svg { color: var(--accent); width: 56px; height: 56px; }

/* ============ TWEAKS PANEL ============ */
.tweaks-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  width: 320px;
  background: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 20px;
  display: none;
  font-family: var(--font-ui);
  color: var(--text-primary);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.tweaks-panel.open { display: block; }
.tweaks-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.tweaks-header h4 { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-secondary); font-weight: 500; }
.tweaks-close { font-size: 18px; color: var(--text-secondary); padding: 0 4px; }
.tweak { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.tweak label { font-size: 11px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.12em; }
.tweak-swatches { display: flex; gap: 8px; }
.tweak-swatch {
  width: 32px; height: 32px;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast);
}
.tweak-swatch:hover { transform: scale(1.05); }
.tweak-swatch.active { border-color: var(--text-primary); transform: scale(1.05); }
.tweak input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  background: transparent;
  height: 18px;
}
.tweak input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: rgba(255,255,255,0.12); }
.tweak input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: -6px;
  cursor: pointer;
}
.tweak input[type="text"] {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text-primary);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 2px;
  font-family: var(--font-display);
}
.tweak-segmented { display: flex; gap: 0; border: 1px solid rgba(255,255,255,0.08); border-radius: 2px; padding: 2px; }
.tweak-segmented button {
  flex: 1;
  padding: 7px 6px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  background: transparent;
  border-radius: 2px;
  transition: all var(--transition-fast);
}
.tweak-segmented button.active { background: var(--accent); color: var(--bg-primary); }

/* ============ PAGE-LOAD FADE-UP (no-op fallback) ============ */
/* Removed scroll-triggered entry animations for reliability — hover/click transitions still apply. */
.fade-up, .stagger > * { opacity: 1; transform: none; }

/* Phone mockup decorative */
.phone-mockup {
  width: 240px;
  aspect-ratio: 9 / 19.5;
  border-radius: 36px;
  border: 8px solid #2a2a2a;
  background: #000;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}
.phone-mockup-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.phone-mockup-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  color: var(--text-primary);
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 50%);
}
.phone-mockup-meta { font-size: 11px; opacity: 0.85; line-height: 1.5; }
.phone-mockup-meta strong { font-family: var(--font-display); font-weight: 400; font-size: 14px; }
.phone-mockup-stats { display: flex; gap: 16px; margin-top: 8px; font-size: 10px; opacity: 0.75; }
.phone-mockup-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 64px; height: 16px; background: #000; border-radius: 0 0 12px 12px;
  z-index: 2;
}

/* License notice strip */
.license-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  padding: 24px 20px;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.license-strip a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* Horizontal scroll row */
.scroll-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 8px;
  margin: 0 -32px;
  padding-left: 32px;
  padding-right: 32px;
}
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row .song-card { flex: 0 0 280px; scroll-snap-align: start; }
@media (max-width: 768px) {
  .scroll-row { margin: 0 -20px; padding-left: 20px; padding-right: 20px; gap: 12px; }
  .scroll-row .song-card { flex: 0 0 70%; }
}

/* Sort bar */
.sort-bar {
  position: sticky;
  top: var(--nav-height);
  z-index: 50;
  background: rgba(8,8,8,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 13px;
}
.sort-bar .result-count { color: var(--text-secondary); letter-spacing: 0.05em; }
.sort-bar select {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 36px 8px 14px;
  font-family: inherit;
  font-size: 13px;
}
@media (max-width: 768px) { .sort-bar { top: var(--nav-height-mobile); } }

/* Media kit / proof points */
.proof-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.proof-list li {
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.55;
}
.proof-list li strong { font-weight: 500; }

.media-kit {
  background: var(--bg-elevated);
  border: 1px solid var(--divider);
  border-top: 2px solid var(--accent);
  border-radius: 4px;
  padding: 40px;
}
.media-kit-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.media-kit-substats { display: flex; gap: 32px; margin: 32px 0; flex-wrap: wrap; }
.media-kit-substats > div { display: flex; flex-direction: column; gap: 4px; }
.media-kit-substats .n { font-size: 22px; font-weight: 500; }
.media-kit-substats .l { font-size: 11px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.15em; }

/* Use case grid (commercial) */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.usecase-card {
  background: var(--bg-secondary);
  border: 1px solid var(--divider);
  border-left: 2px solid transparent;
  padding: 24px;
  border-radius: 4px;
  transition: all var(--transition);
}
.usecase-card:hover { border-left-color: var(--accent); background: var(--bg-elevated); }
.usecase-card .icon { color: var(--accent); margin-bottom: 12px; }
.usecase-card h4 { font-family: var(--font-display); font-weight: 400; font-size: 19px; margin-bottom: 8px; }
.usecase-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.55; }
@media (max-width: 1000px) { .usecase-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .usecase-grid { grid-template-columns: 1fr; } }

/* For-who cards (work with us) */
.who-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.who-card {
  background: var(--bg-secondary);
  border: 1px solid var(--divider);
  border-radius: 4px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
}
.who-card:hover { border-color: rgba(var(--accent-rgb), 0.25); transform: translateY(-2px); }
.who-card .icon { color: var(--accent); margin-bottom: 8px; }
.who-card h4 { font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.who-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.55; flex: 1; }
.who-card .btn-ghost { align-self: flex-start; margin-top: 12px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); }
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; } }

/* Featured-on press strip placeholder */
.press-strip {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 48px 0;
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
  opacity: 0.6;
}
.press-strip span {
  font-family: var(--font-display);
  font-size: 22px;
  font-style: italic;
  color: var(--text-secondary);
}

/* Padded for sticky-buy on mobile song page */
@media (max-width: 768px) {
  body.has-sticky-buy { padding-bottom: 70px; }
}

/* small hide helpers */
.desktop-only { display: revert; }
.mobile-only { display: none; }
@media (max-width: 768px) {
  .desktop-only { display: none; }
  .mobile-only { display: revert; }
}
