:root {
  --bg-deep: #0D1A11;
  --surface: #16291B;
  --elevated: #1F3A28;
  --lime: #D7F84B;
  --lime-pressed: #C2E63D;
  --cream: #F4F1E9;
  --text: #EDF3E4;
  --text-muted: #9DB4A0;
  --line: rgba(215, 248, 75, 0.12);
  --display: 'Unbounded', sans-serif;
  --body: 'Space Grotesk', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: radial-gradient(1200px 800px at 70% -10%, #18331F 0%, var(--bg-deep) 60%);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Backdrop: drifting grid + film grain + lime glows ───────────────── */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(900px 700px at 50% 20%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(900px 700px at 50% 20%, #000 30%, transparent 80%);
  animation: gridDrift 26s linear infinite;
}
@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 34px 34px, 34px 34px; }
}
.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.glow {
  position: fixed;
  z-index: -2;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.18;
  pointer-events: none;
}
.glow-a { background: var(--lime); top: -180px; right: -120px; animation: drift 18s ease-in-out infinite alternate; }
.glow-b { background: #4e7a2e; bottom: -220px; left: -160px; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(60px, 40px); } }

/* ── Equalizer mark — bars bounce like the app icon ──────────────────── */
.eq { display: inline-flex; align-items: center; gap: 3px; height: 26px; }
.eq i {
  width: 4px;
  border-radius: 3px;
  background: var(--lime);
  animation: bounce 1.1s ease-in-out infinite;
}
.eq i:nth-child(1) { height: 12px; animation-delay: 0s; }
.eq i:nth-child(2) { height: 22px; animation-delay: 0.18s; }
.eq i:nth-child(3) { height: 16px; animation-delay: 0.36s; }
.eq i:nth-child(4) { height: 24px; animation-delay: 0.1s; }
.eq i:nth-child(5) { height: 10px; animation-delay: 0.27s; }
@keyframes bounce { 0%, 100% { transform: scaleY(0.5); } 50% { transform: scaleY(1); } }
.eq-dark i { background: var(--bg-deep); }
.eq-sm { height: 16px; } .eq-sm i { width: 2.5px; }
.eq-sm i:nth-child(1) { height: 7px; } .eq-sm i:nth-child(2) { height: 14px; }
.eq-sm i:nth-child(3) { height: 10px; } .eq-sm i:nth-child(4) { height: 15px; }
.eq-sm i:nth-child(5) { height: 6px; }
.eq-big { height: 70px; gap: 8px; margin-bottom: 22px; filter: drop-shadow(0 0 28px rgba(215,248,75,0.55)); }
.eq-big i { width: 11px; border-radius: 7px; }
.eq-big i:nth-child(1) { height: 32px; } .eq-big i:nth-child(2) { height: 60px; }
.eq-big i:nth-child(3) { height: 44px; } .eq-big i:nth-child(4) { height: 68px; }
.eq-big i:nth-child(5) { height: 28px; }

/* ── Nav ─────────────────────────────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 22px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .name { color: var(--text); font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.5px; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--lime); }
.nav-cta {
  color: var(--bg-deep) !important;
  background: var(--lime);
  padding: 9px 18px;
  border-radius: 100px;
  font-weight: 800 !important;
}

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 30px;
  padding: 46px 0 16px;
}
.watermark {
  position: absolute;
  top: -10px;
  left: -30px;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(130px, 22vw, 280px);
  letter-spacing: 6px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(215, 248, 75, 0.07);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  background: rgba(215, 248, 75, 0.06);
  color: var(--lime);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; box-shadow: 0 0 10px var(--lime); } 50% { opacity: 0.35; box-shadow: none; } }

h1 {
  font-family: var(--display);
  font-size: clamp(42px, 5.6vw, 74px);
  line-height: 1.0;
  letter-spacing: -1px;
  font-weight: 900;
}
.stroke { color: transparent; -webkit-text-stroke: 2px var(--cream); }
.accent { color: var(--lime); text-shadow: 0 0 44px rgba(215, 248, 75, 0.4); }
h1 .accent { animation: hue 6s ease-in-out infinite alternate; }
@keyframes hue { from { text-shadow: 0 0 34px rgba(215,248,75,0.3); } to { text-shadow: 0 0 60px rgba(215,248,75,0.6); } }

.lede { color: var(--text-muted); font-size: 18px; margin: 22px 0 28px; max-width: 470px; }
.lede b, .lede i { color: var(--text); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 15px 24px;
  border-radius: 100px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn.primary { background: var(--lime); color: var(--bg-deep); }
.btn.primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 50px rgba(215, 248, 75, 0.45); }
.btn.pulse { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(215, 248, 75, 0.45); }
  50% { box-shadow: 0 0 0 14px rgba(215, 248, 75, 0); }
}
.btn.ghost { color: var(--text); border: 1.5px solid var(--elevated); }
.btn.ghost:hover { border-color: var(--lime); color: var(--lime); }
.play-badge img { height: 56px; display: block; transition: transform 0.15s ease; }
.play-badge:hover img { transform: translateY(-2px) scale(1.03); }
.big-badge { margin-top: 16px; }
.big-badge img { height: 64px; }
.btn.big { font-size: 18px; padding: 19px 40px; }
.micro { color: var(--text-muted); font-size: 13.5px; margin-top: 16px; }

/* Hero phones + parallax */
.hero-shot { position: relative; display: flex; justify-content: center; min-height: 480px; }
.hero-shot .phone { position: absolute; }
.hero-shot .tilt-l { transform: rotate(-9deg) translateX(-118px) translateY(40px) scale(0.86); z-index: 1; opacity: 0.85; }
.hero-main { z-index: 2; }
.layer { will-change: translate; transition: translate 0.12s linear; }
.float-a { animation: floaty 7s ease-in-out infinite; }
.float-b { animation: floaty 7s ease-in-out 0.8s infinite; }
@keyframes floaty { 0%, 100% { margin-top: 0; } 50% { margin-top: -12px; } }
.now-chip {
  position: absolute;
  top: -14px;
  right: -22px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(13, 26, 17, 0.92);
  border: 1px solid rgba(215, 248, 75, 0.4);
  color: var(--lime);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* ── Phone frame ─────────────────────────────────────────────────────── */
.phone {
  position: relative;
  width: 212px;
  border-radius: 32px;
  padding: 9px;
  background: linear-gradient(160deg, #2a4a33, #101f15);
  border: 1px solid rgba(215, 248, 75, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.phone::after {
  /* glass reflection */
  content: '';
  position: absolute;
  inset: 9px;
  border-radius: 23px;
  background: linear-gradient(115deg, rgba(255,255,255,0.10) 0%, transparent 28%);
  pointer-events: none;
}
.phone img { width: 100%; display: block; border-radius: 23px; }
.phone .cap {
  position: absolute;
  left: 50%;
  bottom: -32px;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.phone:hover { transform: translateY(-10px) !important; box-shadow: 0 34px 80px rgba(0,0,0,0.65), 0 0 60px rgba(215,248,75,0.18); }

/* ── Soundwave divider — random bars dancing ─────────────────────────── */
.wave {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 90px;
  margin: 26px 0 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.wave i {
  width: 7px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, var(--lime), rgba(215, 248, 75, 0.25));
  height: var(--h, 30px);
  transform-origin: bottom;
  animation: waveBeat 1s ease-in-out infinite alternate;
  opacity: 0.85;
}
@keyframes waveBeat { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }

/* ── Genre marquee ───────────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 -24px;
  padding: 15px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  animation: scroll 28s linear infinite;
}
.marquee-track span { color: var(--text-muted); font-family: var(--display); font-weight: 500; font-size: 15px; }
.marquee-track span:nth-child(4n + 1) { color: var(--lime); }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Stats strip ─────────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 44px 0 0;
}
.stats div {
  text-align: center;
  padding: 22px 10px;
  border: 1px solid var(--elevated);
  border-radius: 20px;
  background: linear-gradient(170deg, rgba(22,41,27,0.7), rgba(22,41,27,0.25));
}
.stats b { display: block; font-family: var(--display); font-size: 32px; color: var(--lime); font-weight: 700; line-height: 1.1; }
.stats span { color: var(--text-muted); font-size: 13px; }

/* ── Features ────────────────────────────────────────────────────────── */
.features { padding: 84px 0 10px; }
h2 {
  font-family: var(--display);
  font-size: clamp(30px, 4.2vw, 46px);
  letter-spacing: -0.5px;
  font-weight: 900;
  margin-bottom: 8px;
}
.sub { color: var(--text-muted); margin-bottom: 8px; font-size: 16px; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.card {
  position: relative;
  background: linear-gradient(170deg, var(--surface), rgba(22, 41, 27, 0.4));
  border: 1px solid var(--elevated);
  border-radius: 24px;
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(140deg, rgba(215,248,75,0.5), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 50px rgba(0,0,0,0.45); }
.card:hover::before { opacity: 1; }
.card-icon { font-size: 28px; margin-bottom: 12px; }
.card h3 { font-family: var(--display); font-size: 16.5px; font-weight: 700; margin-bottom: 9px; letter-spacing: -0.2px; }
.card p { color: var(--text-muted); font-size: 14.5px; }

/* ── Screenshots ─────────────────────────────────────────────────────── */
.shots { padding: 88px 0 30px; text-align: center; }
.shot-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 18px;
  margin-top: 48px;
  padding-bottom: 48px;
}
.shot-row .tilt-l { transform: rotate(-6deg) translateY(12px); }
.shot-row .tilt-s { transform: rotate(-2.5deg) translateY(4px); }
.shot-row .raise {
  transform: translateY(-16px) scale(1.07);
  z-index: 2;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6), 0 0 60px rgba(215,248,75,0.16);
  animation: heroGlow 3.4s ease-in-out infinite alternate;
}
@keyframes heroGlow {
  from { box-shadow: 0 30px 70px rgba(0,0,0,0.6), 0 0 36px rgba(215,248,75,0.10); }
  to { box-shadow: 0 30px 70px rgba(0,0,0,0.6), 0 0 70px rgba(215,248,75,0.26); }
}
.shot-row .tilt-s2 { transform: rotate(2.5deg) translateY(4px); }
.shot-row .tilt-r { transform: rotate(6deg) translateY(12px); }

/* ── Web player ──────────────────────────────────────────────────────── */
.listen { padding: 84px 0 10px; text-align: center; }
.genre-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 26px 0 22px; }
.gp {
  font-family: var(--body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: 1.5px solid var(--elevated);
  border-radius: 100px;
  padding: 9px 18px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.gp:hover { border-color: var(--lime); color: var(--lime); }
.gp.on { background: var(--lime); border-color: var(--lime); color: var(--bg-deep); }
.track-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  text-align: left;
}
.trk {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(170deg, var(--surface), rgba(22, 41, 27, 0.4));
  border: 1px solid var(--elevated);
  border-radius: 16px;
  padding: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.15s ease;
  font-family: var(--body);
}
.trk:hover { border-color: rgba(215, 248, 75, 0.5); transform: translateY(-2px); }
.trk.on { border-color: var(--lime); box-shadow: 0 0 24px rgba(215, 248, 75, 0.15); }
.trk-cover {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
  background: var(--elevated);
}
.trk-cover img { width: 100%; height: 100%; object-fit: cover; }
.trk-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--lime);
  font-size: 16px;
  background: rgba(13, 26, 17, 0.45);
  opacity: 0;
  transition: opacity 0.15s ease;
}
.trk:hover .trk-play, .trk.on .trk-play { opacity: 1; }
.trk-meta { min-width: 0; display: flex; flex-direction: column; }
.trk-meta b { color: var(--text); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trk-meta i { color: var(--text-muted); font-size: 12px; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(13, 26, 17, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(215, 248, 75, 0.4);
  border-radius: 100px;
  padding: 8px 16px 8px 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
  max-width: min(92vw, 520px);
}
.player-bar img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--elevated); animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pb-meta { display: flex; flex-direction: column; min-width: 0; }
.pb-meta b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 180px; }
.pb-meta span { color: var(--text-muted); font-size: 12px; }
#pbToggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--lime);
  color: var(--bg-deep);
  font-size: 15px;
  cursor: pointer;
  flex: 0 0 auto;
}
#pbOpen { color: var(--lime); font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ── Bottom CTA ──────────────────────────────────────────────────────── */
.bottom-cta {
  text-align: center;
  padding: 96px 0 116px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.bottom-cta h2 { margin-bottom: 30px; font-size: clamp(34px, 4.8vw, 56px); }

/* ── Footer ──────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 26px 24px 34px;
  color: var(--text-muted);
  font-size: 13.5px;
}
.foot-left { display: flex; align-items: center; gap: 10px; }
.foot-links { display: flex; gap: 18px; }
.foot-links a { color: var(--text-muted); text-decoration: none; }
.foot-links a:hover { color: var(--lime); }

/* ── Scroll reveal ───────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ── Mobile ──────────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding-top: 22px; }
  .watermark { font-size: 120px; top: -16px; }
  .hero-shot { min-height: 440px; margin-top: 18px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .track-list { grid-template-columns: 1fr 1fr; }
  .shot-row {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 8px 8px 54px;
    -webkit-overflow-scrolling: touch;
  }
  .shot-row .phone { flex: 0 0 auto; transform: none !important; animation: none; }
}
@media (max-width: 540px) {
  .feature-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero-shot .tilt-l { transform: rotate(-9deg) translateX(-86px) translateY(38px) scale(0.8); }
  .wave { height: 64px; }

  /* Web player on phones: single column, horizontal pill scroll, and a
     thumb-friendly full-width docked player bar. */
  .track-list { grid-template-columns: 1fr; gap: 8px; }
  .trk { padding: 9px; border-radius: 14px; }
  .trk-cover { width: 46px; height: 46px; }
  .trk-play { opacity: 1; font-size: 14px; } /* touch: always show play */
  .genre-pills {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2px 2px 10px;
    margin: 20px -24px 14px;
    padding-left: 24px;
    scrollbar-width: none;
  }
  .genre-pills::-webkit-scrollbar { display: none; }
  .gp { flex: 0 0 auto; padding: 10px 18px; font-size: 14px; }
  .player-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
    transform: none;
    max-width: none;
    border-radius: 20px;
    padding: 10px 14px 10px 10px;
  }
  .pb-meta { flex: 1; }
  .pb-meta b { max-width: none; }
  #pbToggle { width: 46px; height: 46px; font-size: 17px; }
  #pbOpen { font-size: 12px; }
  /* keep the docked player clear of the last tracks */
  .listen { padding-bottom: 80px; }
}
