/* =====================================================================
   HARMONAI — Premium Multi-Page AI Music Generator Template
   Plain HTML5 + CSS3. No frameworks. Offline-ready (no external images).
   ---------------------------------------------------------------------
   REBRAND TIP: Change the whole look by editing the CSS variables in
   :root below. Swap --accent / --accent2 for your gradient, adjust --bg
   and --surface for the dark base, and update --font-head / --font-body
   plus the Google Fonts <link> in each HTML file. Everything cascades.
   ===================================================================== */

:root {
  /* --- Brand palette (edit these to rebrand) --- */
  --bg:       #0a0712;            /* deep purple-black page background     */
  --surface:  #140e1f;            /* card / panel surface                  */
  --surface2: #1c1430;            /* slightly lighter raised surface       */
  --ink:      #f3eefb;            /* near-white headings / primary text    */
  --muted:    #9a90ad;            /* muted secondary text                  */
  --accent:   #b14bff;            /* neon purple (primary)                 */
  --accent2:  #ff3d81;            /* neon pink (secondary)                 */
  --line:     rgba(255,255,255,.09); /* borders / dividers                */

  /* --- Signature gradient --- */
  --grad: linear-gradient(120deg, var(--accent), var(--accent2));
  --grad-soft: linear-gradient(120deg, rgba(177,75,255,.18), rgba(255,61,129,.18));

  /* --- Fonts --- */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* --- Shape & motion --- */
  --radius:    18px;
  --radius-sm: 12px;
  --shadow:    0 14px 40px rgba(0, 0, 0, .45);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, .6);
  --glow:      0 8px 30px rgba(177, 75, 255, .45);
  --ease:      .35s cubic-bezier(.4, 0, .2, 1);

  /* --- Layout --- */
  --maxw: 1180px;
  --gutter: 24px;
}

/* ---------------------------------------------------------------------
   RESET / BASE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--muted);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.14;
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.02em;
}

h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

a { color: var(--accent); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--accent2); }

img, svg { max-width: 100%; display: block; }

ul { margin: 0; padding: 0; list-style: none; }

/* ---------------------------------------------------------------------
   LAYOUT HELPERS
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.section { padding: 96px 0; position: relative; }
.section--soft { background: var(--surface); }
.section--tight { padding: 64px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head--left { margin-left: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--grad-soft);
  border: 1px solid var(--line);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

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

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease), border-color var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow);
}
.btn-primary:hover { color: #fff; box-shadow: 0 12px 38px rgba(255, 61, 129, .5); }

.btn-ghost {
  background: rgba(255,255,255,.03);
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--ink); background: rgba(177,75,255,.08); }

.btn-light {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.25);
}
.btn-light:hover { background: #fff; color: var(--accent); }

/* ---------------------------------------------------------------------
   HEADER / NAV  (shared, identical IDs on every page)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 7, 18, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.24rem;
  color: var(--ink);
  letter-spacing: -.02em;
}
.brand:hover { color: var(--ink); }
.brand .logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: var(--glow);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .96rem;
  color: var(--muted);
  padding: 8px 14px;
  border-radius: 10px;
  transition: background var(--ease), color var(--ease);
}
.nav-links a:hover { background: rgba(255,255,255,.05); color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after {
  content: "";
  display: block;
  height: 2px;
  margin-top: 5px;
  border-radius: 2px;
  background: var(--grad);
}

.nav-cta { margin-left: 8px; }
.nav-cta a.active::after { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   AURORA / GLOW BACKDROP (decorative)
   --------------------------------------------------------------------- */
.aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.aurora::before, .aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
}
.aurora::before {
  width: 520px; height: 520px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(177,75,255,.55), transparent 70%);
}
.aurora::after {
  width: 460px; height: 460px;
  bottom: -180px; left: -120px;
  background: radial-gradient(circle, rgba(255,61,129,.45), transparent 70%);
}

/* ---------------------------------------------------------------------
   WAVEFORM (reusable CSS-only animated equalizer)
   --------------------------------------------------------------------- */
.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 40px;
}
.waveform i {
  flex: 1;
  min-width: 3px;
  border-radius: 3px;
  background: var(--grad);
  animation: wave 1.2s ease-in-out infinite;
  transform-origin: center;
}
.waveform.mini { height: 26px; gap: 2px; }
.waveform.mini i { background: linear-gradient(180deg, var(--accent), var(--accent2)); }
.waveform i:nth-child(odd)  { animation-duration: 1s; }
.waveform i:nth-child(3n)   { animation-duration: 1.5s; }
.waveform i:nth-child(4n)   { animation-duration: .8s; }
.waveform i:nth-child(5n)   { animation-duration: 1.3s; }

@keyframes wave {
  0%, 100% { transform: scaleY(.28); opacity: .65; }
  50%      { transform: scaleY(1);   opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .waveform i { animation: none; transform: scaleY(.6); }
}

/* ---------------------------------------------------------------------
   HERO (home)
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 82% -8%, rgba(177,75,255,.22), transparent 60%),
    radial-gradient(720px 520px at 0% 110%, rgba(255,61,129,.16), transparent 55%),
    var(--bg);
  padding: 96px 0 100px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 { margin-bottom: 18px; }
.hero .lead { max-width: 540px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-meta { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-meta div strong {
  font-family: var(--font-head);
  font-size: 1.8rem;
  color: var(--ink);
  display: block;
  line-height: 1;
}
.hero-meta div span { font-size: .9rem; color: var(--muted); }

/* Hero visual — "prompt -> track" generator mockup */
.gen-mock {
  position: relative;
  background: linear-gradient(160deg, var(--surface2), var(--surface));
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.gen-mock .gm-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.gen-mock .gm-dot { display: flex; gap: 6px; }
.gen-mock .gm-dot i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,.18); }
.gen-mock .gm-dot i:first-child { background: var(--accent2); }
.gen-mock .gm-tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.gm-prompt {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  font-size: .95rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.gm-prompt .pi { font-size: 1.1rem; }
.gm-prompt .cursor {
  width: 2px; height: 1.1em;
  background: var(--accent);
  display: inline-block;
  animation: blink 1.1s step-end infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.gm-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip {
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: default;
  transition: border-color var(--ease), background var(--ease), color var(--ease);
}
.chip:hover, .chip.is-active {
  border-color: transparent;
  background: var(--grad);
  color: #fff;
}

.gm-track {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(177,75,255,.08);
  border: 1px solid rgba(177,75,255,.25);
  border-radius: 14px;
  padding: 14px;
}
.play-btn {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--grad);
  color: #fff;
  font-size: 1rem;
  display: grid; place-items: center;
  cursor: pointer;
  box-shadow: var(--glow);
  transition: transform var(--ease);
}
.play-btn:hover { transform: scale(1.08); }
.gm-track .waveform { flex: 1; }
.gm-track .gm-time { font-family: var(--font-head); font-size: .82rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   TRUSTED-BY STRIP
   --------------------------------------------------------------------- */
.trusted { padding: 40px 0; border-bottom: 1px solid var(--line); }
.trusted p { text-align: center; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px 46px;
}
.logo-strip span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--muted);
  opacity: .7;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity var(--ease), color var(--ease);
}
.logo-strip span:hover { opacity: 1; color: var(--ink); }

/* ---------------------------------------------------------------------
   CARDS / GRIDS
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(177,75,255,.4); }

.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
}
.card-link span { transition: transform var(--ease); }
.card-link:hover span { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   HOW IT WORKS — steps
   --------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.step .num {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: grid; place-items: center;
  margin-bottom: 16px;
  box-shadow: var(--glow);
}
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { margin-bottom: 0; font-size: .95rem; }

/* ---------------------------------------------------------------------
   STATS BAND
   --------------------------------------------------------------------- */
.stats-band {
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(177,75,255,.18), transparent 60%),
    var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; text-align: center; }
.stat strong {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 4.4vw, 3.2rem);
  display: block;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat span { color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------------
   TESTIMONIALS
   --------------------------------------------------------------------- */
.quote-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 34px;
  box-shadow: var(--shadow);
}
.quote-card .stars { color: var(--accent2); margin-bottom: 14px; letter-spacing: 2px; }
.quote-card blockquote {
  margin: 0 0 22px;
  font-size: 1.1rem;
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.5;
}
.quote-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  background: var(--grad);
  box-shadow: var(--glow);
}
.quote-author b { display: block; font-family: var(--font-head); color: var(--ink); }
.quote-author span { font-size: .88rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   CTA BAND
   --------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(600px 400px at 88% 8%, rgba(177,75,255,.5), transparent 60%),
    radial-gradient(500px 400px at 10% 100%, rgba(255,61,129,.42), transparent 60%),
    var(--surface2);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 64px 48px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 560px; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------------------------------------------------------------------
   PAGE BANNER (inner pages)
   --------------------------------------------------------------------- */
.page-banner {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(720px 420px at 85% -30%, rgba(177,75,255,.24), transparent 60%),
    radial-gradient(520px 360px at 0% 130%, rgba(255,61,129,.16), transparent 60%),
    var(--bg);
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--line);
}
.page-banner .container { z-index: 1; }
.page-banner h1 { margin-bottom: 12px; }
.page-banner p { max-width: 640px; color: var(--muted); margin-bottom: 0; }
.breadcrumb {
  font-family: var(--font-head);
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 6px; }

/* ---------------------------------------------------------------------
   FEATURES PAGE — alternating blocks
   --------------------------------------------------------------------- */
.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 72px;
}
.feature-block:last-child { margin-bottom: 0; }
.feature-block.reverse .fb-visual { order: 2; }
.feature-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.feature-block .deliverables { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.feature-block .deliverables li {
  font-size: .82rem;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--ink);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  padding: 6px 13px;
  border-radius: 999px;
}

/* Feature visual panel (with a waveform / track mock) */
.fb-visual {
  position: relative;
  min-height: 280px;
  border-radius: 22px;
  padding: 26px;
  background: linear-gradient(150deg, var(--surface2), var(--surface));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.fb-visual::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(360px 260px at 80% 15%, rgba(177,75,255,.3), transparent 60%);
  pointer-events: none;
}
.fb-visual .fb-emoji { font-size: 2.4rem; position: relative; z-index: 1; }
.fb-visual .waveform { height: 64px; position: relative; z-index: 1; }
.fb-visual .fb-track {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.fb-visual .fb-track b { font-family: var(--font-head); color: var(--ink); font-size: .92rem; }
.fb-visual .fb-track span { font-size: .8rem; color: var(--muted); }

/* ---------------------------------------------------------------------
   INTEGRATIONS GRID
   --------------------------------------------------------------------- */
.integration {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 26px 18px;
  box-shadow: var(--shadow);
  transition: transform var(--ease), border-color var(--ease);
}
.integration:hover { transform: translateY(-4px); border-color: rgba(177,75,255,.5); }
.integration .em { font-size: 1.9rem; display: block; margin-bottom: 10px; }
.integration b { font-family: var(--font-head); color: var(--ink); font-size: .95rem; }

/* ---------------------------------------------------------------------
   PRICING
   --------------------------------------------------------------------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(177,75,255,.35); }
.price-card.featured {
  border-color: transparent;
  background:
    linear-gradient(var(--surface2), var(--surface2)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 24px 60px rgba(177,75,255,.3);
}
.price-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: 18px; right: 18px;
  font-family: var(--font-head);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad);
  padding: 5px 12px;
  border-radius: 999px;
}
.price-card .tier { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.18rem; }
.price-card .tier-sub { font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.price-card .price {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.8rem;
  color: var(--ink);
  line-height: 1;
}
.price-card .price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card .price-note { font-size: .85rem; color: var(--muted); margin: 8px 0 24px; }
.price-card .btn { width: 100%; justify-content: center; margin-bottom: 24px; }
.price-list { display: grid; gap: 12px; margin-top: auto; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.price-list li .ck {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(177,75,255,.18);
  color: var(--accent);
  display: grid; place-items: center;
  font-size: .7rem;
  margin-top: 3px;
}
.price-list li.off { opacity: .45; }
.price-list li.off .ck { background: rgba(255,255,255,.05); color: var(--muted); }

/* ---------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
  box-shadow: var(--shadow);
}
.faq h3 { font-size: 1.08rem; margin-bottom: 8px; color: var(--ink); }
.faq p { margin-bottom: 0; font-size: .96rem; }

/* ---------------------------------------------------------------------
   LIBRARY — track cards + filter bar
   --------------------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-bar .chip { padding: 9px 18px; font-size: .9rem; cursor: pointer; }

.track-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.track-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.track-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(177,75,255,.4); }

/* Gradient cover with play button + mini waveform */
.track-cover {
  position: relative;
  height: 168px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.track-cover .play-btn { position: relative; z-index: 2; width: 54px; height: 54px; font-size: 1.1rem; }
.track-cover .cover-wave {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 48px;
  padding: 0 14px 10px;
  display: flex; align-items: flex-end; gap: 3px;
  z-index: 1;
}
.track-cover .cover-wave i {
  flex: 1;
  background: rgba(255,255,255,.7);
  border-radius: 3px 3px 0 0;
  animation: wave 1.3s ease-in-out infinite;
}
.track-cover::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(10,7,18,.4));
}
/* Cover gradient variants */
.cv-1 { background: linear-gradient(135deg, #b14bff, #ff3d81); }
.cv-2 { background: linear-gradient(135deg, #5b2bff, #b14bff); }
.cv-3 { background: linear-gradient(135deg, #ff3d81, #ff8a3d); }
.cv-4 { background: linear-gradient(135deg, #2bb9ff, #b14bff); }
.cv-5 { background: linear-gradient(135deg, #16c79a, #2bb9ff); }
.cv-6 { background: linear-gradient(135deg, #ff3d81, #b14bff); }
.cv-7 { background: linear-gradient(135deg, #8a3dff, #ff3d81); }
.cv-8 { background: linear-gradient(135deg, #ffb13d, #ff3d81); }
.cv-9 { background: linear-gradient(135deg, #3dffd0, #2b6bff); }
.cv-10 { background: linear-gradient(135deg, #b14bff, #2bb9ff); }
.cv-11 { background: linear-gradient(135deg, #ff5fa2, #ffd23d); }
.cv-12 { background: linear-gradient(135deg, #6a3dff, #16c79a); }

.track-body { padding: 18px 20px 20px; }
.track-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.track-meta { display: flex; align-items: center; justify-content: space-between; }
.track-meta .genre {
  font-family: var(--font-head);
  font-size: .74rem;
  font-weight: 500;
  color: var(--ink);
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  padding: 4px 11px;
  border-radius: 999px;
}
.track-meta .dur { font-family: var(--font-head); font-size: .82rem; color: var(--muted); }

.track-card.is-hidden { display: none; }

/* ---------------------------------------------------------------------
   CONTACT
   --------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: start; }
.form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: .9rem;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.03);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field select { color: var(--ink); }
.field select option { background: var(--surface); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(177,75,255,.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error-msg { color: #ff6b8a; font-size: .82rem; margin-top: 5px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ff6b8a; }
.field.invalid .error-msg { display: block; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(22,199,154,.12);
  border: 1px solid rgba(22,199,154,.5);
  color: #45e6b8;
  font-weight: 500;
}
.form-status.show { display: block; }

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 22px;
}
.info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .info-ic {
  width: 44px; height: 44px; flex: 0 0 auto;
  border-radius: 12px; background: var(--grad-soft);
  border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 1.3rem;
}
.info-row b { font-family: var(--font-head); color: var(--ink); display: block; }
.info-row span { font-size: .94rem; color: var(--muted); }

/* Map placeholder (pure CSS, no external image) */
.map-placeholder {
  position: relative;
  border-radius: var(--radius);
  min-height: 240px;
  background:
    linear-gradient(rgba(177,75,255,.08), rgba(255,61,129,.06)),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 42px),
    var(--surface);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  text-align: center;
  color: var(--muted);
  overflow: hidden;
}
.map-placeholder .pin { font-size: 2.4rem; }
.map-placeholder b { font-family: var(--font-head); color: var(--ink); display: block; }

/* ---------------------------------------------------------------------
   FOOTER (shared)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand:hover { color: #fff; }
.footer-about p { font-size: .95rem; color: var(--muted); max-width: 320px; }
.footer-col h4 {
  color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a { display: block; color: var(--muted); padding: 5px 0; font-size: .95rem; }
.footer-col a:hover { color: var(--ink); }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-size: 1rem;
  color: var(--ink);
}
.social a:hover { background: var(--grad); border-color: transparent; color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .88rem;
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--ink); }

/* ---------------------------------------------------------------------
   SCROLL-REVEAL
   --------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.no-io .reveal { opacity: 1; transform: none; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .track-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .gen-mock { max-width: 480px; }
}

@media (max-width: 768px) {
  .section { padding: 68px 0; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 14px var(--gutter) 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--ease), transform var(--ease);
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { padding: 12px 14px; }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; justify-content: center; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-block { grid-template-columns: 1fr; gap: 32px; margin-bottom: 52px; }
  .feature-block.reverse .fb-visual { order: 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; }
  .track-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 46px 26px; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .track-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 22px; }
}
