/* ═══════════════════════════════════════════════════════════
   WAVE — Music App Download Site
   style.css
   Colors: Gold #C9A84C | Black #000 | Warm White #F5F0E8
═══════════════════════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:         #C9A84C;
  --gold-light:   #E8C96A;
  --gold-dim:     #8A6E2E;
  --gold-faint:   rgba(201, 168, 76, 0.12);
  --gold-glow:    rgba(201, 168, 76, 0.08);
  --black:        #000000;
  --card:         #0D0D0D;
  --card-hover:   #141414;
  --border:       rgba(201, 168, 76, 0.15);
  --border-hover: rgba(201, 168, 76, 0.45);
  --white:        #F5F0E8;
  --white-dim:    rgba(245, 240, 232, 0.55);
  --white-faint:  rgba(245, 240, 232, 0.08);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --nav-h: 72px;
  --radius: 2px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
svg { display: block; }

/* ── UTILITY ── */
.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.gold-italic {
  color: var(--gold);
  font-style: italic;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

.section-desc {
  color: var(--white-dim);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 500px;
}

.section-head {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

/* ── BUTTONS ── */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: #000;
  padding: 0.85rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(201, 168, 76, 0.25);
}
.btn-gold:active { transform: translateY(0); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 0.85rem 2.1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(245, 240, 232, 0.22);
  border-radius: var(--radius);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════ */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(0, 0, 0, 0);
  border-bottom: 1px solid rgba(201, 168, 76, 0);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.nav-wrap.scrolled {
  background: rgba(0, 0, 0, 0.92);
  border-bottom-color: var(--border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
  max-width: 1300px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold);
  transition: opacity var(--transition);
}
.nav-logo:hover { opacity: 0.85; }
.nav-logo-img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-dim);
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold-dim);
}

.nav-cta { flex-shrink: 0; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav-burger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: calc(var(--nav-h) + 3rem) clamp(1.25rem, 5vw, 3rem) 5rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.hero-bg-glow {
  position: fixed;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 80vw; height: 60vh;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-content { position: relative; z-index: 1; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-sub {
  color: var(--white-dim);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  max-width: 440px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.platform-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.platform-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.3);
}
.platform-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pbadge {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--white-dim);
  padding: 0.2rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 100px;
}

/* ── HERO VISUAL ── */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  z-index: 1;
}

/* Waveform bars */
.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 60px;
  width: 100%;
}
.wbar {
  width: 4px;
  background: var(--gold-dim);
  border-radius: 3px;
  opacity: 0.7;
  animation: wavePulse 1.6s ease-in-out infinite;
}
@keyframes wavePulse {
  0%, 100% { transform: scaleY(0.25); opacity: 0.4; }
  50%       { transform: scaleY(1);    opacity: 0.8; }
}

/* Phone mockup */
.hero-phone {
  display: flex;
  justify-content: center;
}
.phone-frame {
  width: clamp(200px, 28vw, 280px);
  aspect-ratio: 9/19.5;
  background: #0a0a0a;
  border: 1.5px solid rgba(201,168,76,0.25);
  border-radius: 40px;
  padding: 16px 10px;
  box-shadow: 0 0 60px rgba(201,168,76,0.08), 0 40px 80px rgba(0,0,0,0.6);
  position: relative;
}
.phone-frame::before {
  content: '';
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 60px; height: 6px;
  background: #1a1a1a;
  border-radius: 3px;
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #050505;
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-ui {
  width: 100%;
  padding: 1rem 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.pui-art {
  width: 80%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1a1400 0%, #3d2e00 40%, #c9a84c22 100%);
  border-radius: 6px;
  border: 1px solid var(--border);
}
.pui-info { width: 100%; }
.pui-track {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pui-artist {
  font-size: 0.58rem;
  color: var(--white-dim);
}
.pui-bar {
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  overflow: hidden;
}
.pui-progress {
  height: 100%;
  width: 42%;
  background: var(--gold);
  border-radius: 1px;
  animation: progressAnim 12s linear infinite;
}
@keyframes progressAnim {
  from { width: 0%; }
  to   { width: 100%; }
}
.pui-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
.pui-btn {
  font-size: 0.55rem;
  color: var(--white-dim);
  cursor: pointer;
}
.pui-play {
  width: 28px; height: 28px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 0.6rem;
  padding-left: 1px;
}

/* ══════════════════════════════════════════════
   FEATURES
══════════════════════════════════════════════ */
.features {
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--gold-faint);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--gold-faint);
  background: var(--gold-faint);
  gap: 1px;
}

.feature-card {
  background: var(--card);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: background var(--transition);
}
.feature-card:hover { background: var(--card-hover); }

.feature-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(201,168,76,0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  color: var(--gold);
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
  color: var(--white);
}

.feature-desc {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════
   SCREENSHOTS
══════════════════════════════════════════════ */
.screenshots {
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--gold-faint);
}

.ss-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.ss-tab {
  padding: 0.75rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-dim);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
  font-family: var(--font-body);
}
.ss-tab:hover { color: var(--white); }
.ss-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

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

.ss-slot {
  position: relative;
  aspect-ratio: 9 / 17;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition);
}
.ss-slot:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}
.ss-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ss-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: rgba(245,240,232,0.2);
}
.ss-placeholder svg {
  width: 32px; height: 32px;
  stroke: var(--gold-dim);
}
.ss-placeholder span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.25);
}
/* Hide placeholder when real image is present */
.ss-slot img ~ .ss-placeholder { display: none; }

.ss-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.5rem 0.8rem;
  background: rgba(0,0,0,0.8);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-align: center;
  backdrop-filter: blur(8px);
}

.ss-hint {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(245,240,232,0.25);
  line-height: 1.6;
}
.ss-hint code {
  font-family: monospace;
  color: var(--gold-dim);
  background: rgba(201,168,76,0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
}

/* ══════════════════════════════════════════════
   DOWNLOAD
══════════════════════════════════════════════ */
.download {
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--gold-faint);
  background: var(--card);
}

.dl-top { margin-bottom: clamp(3rem, 6vw, 5rem); }

.dl-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

/* Stats */
.dl-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--gold-faint);
  border: 1px solid var(--gold-faint);
}
.stat-card {
  background: #000;
  padding: 2rem 1.5rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white-dim);
}

/* Download cards */
.dl-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dl-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 1.4rem;
  background: #000;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.dl-card:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.04);
  transform: translateX(4px);
}

.dl-badge {
  position: absolute;
  top: -1px; right: 12px;
  background: var(--gold);
  color: #000;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 0 0 3px 3px;
}

.dl-icon {
  flex-shrink: 0;
  color: var(--gold);
}
.dl-icon svg { width: 26px; height: 26px; }

.dl-info { flex: 1; }
.dl-platform {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.15rem;
}
.dl-name {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
}
.dl-size {
  font-size: 0.7rem;
  color: rgba(245,240,232,0.3);
  margin-top: 0.1rem;
}

.dl-arrow { flex-shrink: 0; color: var(--gold-dim); }
.dl-arrow svg { width: 15px; height: 15px; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--gold-faint);
  padding-top: clamp(3rem, 6vw, 5rem);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 4rem;
  flex-wrap: wrap;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(201,168,76,0.07);
}

.footer-brand { max-width: 260px; }
.footer-logo { margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.85rem;
  color: var(--white-dim);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1.1rem;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col a {
  font-size: 0.85rem;
  color: var(--white-dim);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(245,240,232,0.2);
}
.footer-tagline {
  font-size: 0.65rem !important;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.35) !important;
}

/* ══════════════════════════════════════════════
   MOBILE MENU OVERLAY
══════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 3rem);
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
  transition: color var(--transition);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .btn-gold { font-family: var(--font-body); font-size: 0.85rem; }

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-layout { grid-template-columns: 1fr; }
  .dl-stats { grid-template-columns: repeat(4, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --nav-h: 62px; }

  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: calc(var(--nav-h) + 2rem);
    min-height: auto;
    padding-bottom: 3rem;
  }
  .hero-sub { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  .platform-row { justify-content: center; }
  .hero-visual { order: -1; margin-bottom: 1rem; }
  .phone-frame { width: clamp(140px, 40vw, 200px); }
  .waveform { height: 40px; }
  .section-desc { max-width: 100%; }

  .features-grid { grid-template-columns: 1fr; }

  .ss-grid { grid-template-columns: repeat(2, 1fr); }

  .dl-stats { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { flex-direction: column; gap: 2.5rem; }
  .footer-brand { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .ss-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-gold, .btn-ghost { width: 100%; text-align: center; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
