/* =========================================================
   MelodyByYou — Design System
   Палитра: "Грамофонна вечер" — тийл, злато, вишнево
   Типография: Domine (display) / Manrope (body) / IBM Plex Mono (utility)
   ========================================================= */

:root {
  --ink-teal: #0E2B2A;
  --ink-teal-2: #163F3D;
  --ink-teal-3: #1D4F4C;
  --blush: #FAEEE9;
  --blush-2: #F4E0D6;
  --amber: #D9A441;
  --amber-dark: #B9852A;
  --amber-light: #F0C876;
  --berry: #8C2F39;
  --berry-dark: #6E232B;
  --berry-light: #B85462;
  --charcoal: #241C18;
  --teal-mist: #C9DDD8;
  --white: #FFFDF9;
  --line-on-dark: rgba(201, 221, 216, 0.18);
  --line-on-light: rgba(36, 28, 24, 0.12);

  --font-display: "Domine", "Georgia", serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Consolas", monospace;
  --font-logo-display: "Gloock", var(--font-display), serif;
  --font-logo-script: "Nothing You Could Do", cursive;

  --container: 1180px;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;

  --shadow-soft: 0 20px 50px -20px rgba(14, 43, 42, 0.35);
  --shadow-card: 0 10px 30px -12px rgba(36, 28, 24, 0.18);
}

@font-face {
  font-family: "Gloock";
  src: url("../fonts/Gloock-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nothing You Could Do";
  src: url("../fonts/NothingYouCouldDo-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--blush);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}

.section {
  padding: 96px 0;
}

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

.section-head {
  max-width: 640px;
  margin: 0 0 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section--dark {
  background: var(--ink-teal);
  color: var(--blush);
}

.section--dark .eyebrow { color: var(--amber-light); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--amber);
  color: var(--ink-teal);
  box-shadow: 0 12px 24px -10px rgba(217, 164, 65, 0.55);
}
.btn--primary:hover { background: var(--amber-light); }

.btn--ghost {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); }

.section--light .btn--ghost:hover,
.btn--ghost.on-light:hover { background: rgba(36, 28, 24, 0.06); }

.btn--small {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 43, 42, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  color: var(--blush);
  border-bottom: 1px solid var(--line-on-dark);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 24px;
}

.logo {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--blush);
}

.logo .logo-mark { flex-shrink: 0; }
.logo .logo-mark .bar-a { fill: var(--amber); }
.logo .logo-mark .bar-b { fill: var(--berry-light); }

.logo-text { display: inline-flex; align-items: baseline; gap: 1px; }

.logo-melody {
  font-family: var(--font-logo-display);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.logo-byyou {
  font-family: var(--font-logo-script);
  font-size: 0.95em;
  color: var(--berry-light);
  transform: rotate(-4deg) translateY(3px);
  margin-left: 2px;
  display: inline-block;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .logo { font-size: 1.15rem; }
  .logo-byyou { font-size: 0.85em; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a {
  opacity: 0.88;
  transition: opacity 0.15s ease;
  position: relative;
}
.nav-links a:hover { opacity: 1; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  padding: 4px;
}

.lang-switch a {
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--teal-mist);
}

.lang-switch a.active {
  background: var(--amber);
  color: var(--ink-teal);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--blush);
  font-size: 1.6rem;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn--small.desktop-only { display: none; }
}

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 24px;
  background: var(--ink-teal);
  border-top: 1px solid var(--line-on-dark);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line-on-dark);
  font-weight: 500;
}
.mobile-menu .btn { margin-top: 12px; }

/* ---------- Hero ---------- */

.hero {
  background: radial-gradient(120% 140% at 15% 0%, var(--ink-teal-2) 0%, var(--ink-teal) 55%);
  color: var(--blush);
  padding: 88px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero-grid > * { min-width: 0; }

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

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(217, 164, 65, 0.14);
  border: 1px solid rgba(217, 164, 65, 0.45);
  color: var(--amber-light);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  color: var(--white);
  max-width: 15ch;
  overflow-wrap: break-word;
}

@media (max-width: 480px) {
  .hero h1 { max-width: 100%; font-size: 1.95rem; }
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--teal-mist);
  max-width: 46ch;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.88rem;
  color: var(--teal-mist);
  font-family: var(--font-mono);
}

.trust-badges span { white-space: nowrap; }

@media (max-width: 640px) {
  .trust-badges { flex-direction: column; gap: 10px; }
  .trust-badges span { white-space: normal; }
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waveform-orb {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--ink-teal-3), var(--ink-teal-2));
  border: 1px solid var(--line-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
}

.waveform-orb::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px dashed rgba(201, 221, 216, 0.25);
}

.waveform-bars {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 120px;
}

.waveform-bars .bar {
  width: 7px;
  border-radius: 6px;
  background: var(--amber);
  animation: bar-pulse 1.6s ease-in-out infinite;
}
.waveform-bars .bar:nth-child(odd) { background: var(--berry-light); }

@keyframes bar-pulse {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .waveform-bars .bar { animation: none; transform: scaleY(0.75); }
}

/* Waveform section divider */
.waveform-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 22px 0;
  background: var(--ink-teal);
}
.waveform-divider .bar {
  width: 4px;
  border-radius: 4px;
  background: var(--amber);
  opacity: 0.85;
}
.waveform-divider .bar:nth-child(3n) { background: var(--berry-light); }
.waveform-divider .bar:nth-child(5n) { background: var(--teal-mist); opacity: 0.6; }

/* ---------- How it works ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
}

.step-card {
  background: var(--white);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-m);
  padding: 30px 24px;
  box-shadow: var(--shadow-card);
}

.step-icon {
  font-size: 1.9rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--blush-2);
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.94rem;
  color: rgba(36, 28, 24, 0.72);
  margin: 0;
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.gallery-card {
  background: var(--ink-teal-2);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-m);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gallery-play {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-s);
  background: linear-gradient(135deg, var(--ink-teal-3), var(--ink-teal));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gallery-play .play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 2;
}

.gallery-play .mini-bars {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: flex;
  gap: 4px;
  align-items: flex-end;
  height: 30px;
  opacity: 0.7;
}
.gallery-play .mini-bars .bar {
  width: 4px;
  border-radius: 3px;
  background: var(--teal-mist);
}

.gallery-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.76rem;
}

.tag {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-on-dark);
  color: var(--teal-mist);
}

.gallery-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--teal-mist);
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-l);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  position: relative;
}

.price-card--featured {
  border: 2px solid var(--amber);
  background: linear-gradient(180deg, #FFFDF9 0%, var(--blush-2) 100%);
  transform: translateY(-10px);
}

@media (max-width: 960px) {
  .price-card--featured { transform: none; }
}

.price-tag {
  position: absolute;
  top: -14px;
  right: 28px;
  background: var(--berry);
  color: var(--blush);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.price-card .price {
  font-family: var(--font-mono);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--ink-teal);
  margin-bottom: 4px;
}

.price-card .price-note {
  font-size: 0.85rem;
  color: rgba(36, 28, 24, 0.6);
  margin-bottom: 22px;
}

.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.price-features li {
  display: flex;
  gap: 10px;
  font-size: 0.94rem;
  align-items: flex-start;
}

.price-features li::before {
  content: "✓";
  color: var(--berry);
  font-weight: 700;
  flex-shrink: 0;
}

.price-card--featured .price-features li::before { color: var(--amber-dark); }

.price-card .btn { width: 100%; }

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .testimonial-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 28px;
  border: 1px solid var(--line-on-light);
  box-shadow: var(--shadow-card);
}

.stars {
  color: var(--amber-dark);
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.testimonial-card blockquote {
  margin: 0 0 18px;
  font-size: 0.98rem;
  color: var(--charcoal);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
}

.avatar-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink-teal);
  color: var(--amber-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
}

.testimonial-author strong { display: block; }
.testimonial-author span { color: rgba(36, 28, 24, 0.6); }

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line-on-light);
  border-radius: var(--radius-s);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-question .icon {
  font-family: var(--font-mono);
  color: var(--berry);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item[open] .faq-question .icon { transform: rotate(45deg); }

.faq-answer {
  padding: 0 24px 22px;
  color: rgba(36, 28, 24, 0.75);
  font-size: 0.95rem;
}

.faq-question::-webkit-details-marker { display: none; }

/* ---------- Checklist ("Какво получаваш") ---------- */

.checklist-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .checklist-wrap { grid-template-columns: 1fr; }
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 1.02rem;
}

.checklist .check-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.checklist-card {
  background: var(--ink-teal-2);
  border-radius: var(--radius-l);
  padding: 40px;
  border: 1px solid var(--line-on-dark);
}

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--berry) 0%, var(--berry-dark) 100%);
  color: var(--blush);
  border-radius: var(--radius-l);
  padding: 56px;
  text-align: center;
}

.cta-band h2 { color: var(--white); }

@media (max-width: 600px) {
  .cta-band { padding: 40px 24px; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink-teal);
  color: var(--teal-mist);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-light);
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.92rem;
}

.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(201, 221, 216, 0.7);
}

/* ---------- Utility ---------- */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* =========================================================
   Wizard — форма за поръчка
   ========================================================= */

.wizard-page {
  background: var(--ink-teal);
  min-height: 100vh;
}

.wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  color: var(--blush);
}

.wizard-header .logo { font-size: 1.15rem; }

.wizard-exit {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--teal-mist);
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  padding: 8px 16px;
}
.wizard-exit:hover { color: var(--white); }

.wizard-progress-wrap {
  padding: 0 24px 18px;
}

.wizard-progress {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 34px;
  max-width: 520px;
  margin: 0 auto 10px;
}

.wizard-progress .bar {
  flex: 1;
  height: 10px;
  border-radius: 4px;
  background: rgba(201, 221, 216, 0.18);
  transition: height 0.25s ease, background 0.25s ease;
}

.wizard-progress .bar.filled {
  background: var(--amber);
  height: 30px;
}

.wizard-progress .bar.current {
  background: var(--berry-light);
  height: 22px;
}

.wizard-progress-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--teal-mist);
}

.wizard-body {
  background: var(--blush);
  border-radius: 32px 32px 0 0;
  min-height: 62vh;
  padding: 56px 24px 140px;
}

.wizard-step { display: none; }
.wizard-step.active {
  display: block;
  animation: step-in 0.35s ease;
}

@keyframes step-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .wizard-step.active { animation: none; }
}

.wizard-step-inner {
  max-width: 640px;
  margin: 0 auto;
}

.step-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 10px;
  display: block;
}

.step-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 8px;
}

.step-hint {
  color: rgba(36, 28, 24, 0.68);
  margin-bottom: 32px;
}

.text-field {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-s);
  border: 2px solid var(--line-on-light);
  font-family: var(--font-body);
  font-size: 1.05rem;
  background: var(--white);
  color: var(--charcoal);
  transition: border-color 0.15s ease;
}
.text-field:focus { border-color: var(--amber-dark); outline: none; }

textarea.text-field {
  min-height: 160px;
  resize: vertical;
  font-family: var(--font-body);
  line-height: 1.6;
}

.field-label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.field-note {
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: rgba(36, 28, 24, 0.6);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.other-input-wrap {
  margin-top: 16px;
}

.chip {
  padding: 11px 20px;
  border-radius: 999px;
  border: 2px solid rgba(217, 164, 65, 0.3);
  background: var(--white);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--charcoal);
}

.chip:nth-child(even) { background: var(--blush-2); }

.chip:hover { border-color: var(--amber-dark); }

.chip.selected {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--ink-teal);
}

.mood-grid, .voice-grid, .tempo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.voice-grid { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
.tempo-grid { grid-template-columns: repeat(3, 1fr); }

@media (max-width: 640px) {
  .mood-grid { grid-template-columns: repeat(2, 1fr); }
}

.mood-card, .voice-card, .tempo-option {
  border: 2px solid var(--line-on-light);
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 22px 14px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mood-card:hover, .voice-card:hover, .tempo-option:hover { border-color: var(--amber-dark); transform: translateY(-2px); }

.mood-card.selected, .voice-card.selected, .tempo-option.selected {
  border-color: var(--berry);
  background: var(--blush-2);
}

.mood-card .emoji { font-size: 1.8rem; display: block; margin-bottom: 10px; }
.mood-card .label { font-size: 0.86rem; font-weight: 600; }

.voice-card .emoji { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.voice-card .label { font-weight: 700; }

.tempo-option .label { font-weight: 700; margin-bottom: 4px; }
.tempo-option .sub { font-size: 0.8rem; color: rgba(36,28,24,0.6); }

.disclaimer-note {
  margin-top: 22px;
  font-size: 0.84rem;
  color: rgba(36, 28, 24, 0.62);
  background: var(--blush-2);
  border-radius: var(--radius-s);
  padding: 14px 18px;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

@media (max-width: 720px) {
  .package-grid { grid-template-columns: 1fr; }
}

.package-option {
  border: 2px solid var(--line-on-light);
  border-radius: var(--radius-m);
  background: var(--white);
  padding: 24px 20px;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  text-align: left;
}

.package-option:hover { border-color: var(--amber-dark); }
.package-option.selected { border-color: var(--berry); box-shadow: 0 0 0 3px rgba(140,47,57,0.12); }

.package-option .price-tag { position: absolute; top: -13px; right: 18px; }

.package-option h4 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 4px; }
.package-option .price { font-family: var(--font-mono); font-size: 1.5rem; color: var(--ink-teal); margin-bottom: 10px; }
.package-option ul { margin: 0; padding-left: 18px; font-size: 0.86rem; color: rgba(36,28,24,0.72); display: flex; flex-direction: column; gap: 4px; }

.select-field {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-s);
  border: 2px solid var(--line-on-light);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.02rem;
  color: var(--charcoal);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23241C18'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%23241C18' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
}

.review-checklist {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 24px;
  border: 1px solid var(--line-on-light);
}

.review-checklist li { display: flex; gap: 10px; font-size: 0.92rem; }
.review-checklist li::before { content: "✓"; color: var(--berry); font-weight: 700; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

.wizard-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--line-on-light);
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  z-index: 20;
}

.wizard-footer-inner {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-counter {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(36, 28, 24, 0.6);
}

@media (max-width: 560px) {
  .wizard-footer { padding: 14px 16px; }
  .step-counter { display: none; }
  .wizard-footer-inner { gap: 12px; }
  .wizard-footer-inner .btn { flex: 1; padding-left: 10px; padding-right: 10px; }
}

/* =========================================================
   Gift / delivery page
   ========================================================= */

.gift-page {
  min-height: 100vh;
  background: radial-gradient(130% 120% at 50% 0%, var(--ink-teal-2) 0%, var(--ink-teal) 60%);
  color: var(--blush);
  display: flex;
  flex-direction: column;
}

.gift-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.envelope-card {
  max-width: 480px;
  width: 100%;
  text-align: center;
  background: var(--ink-teal-2);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-l);
  padding: 56px 36px;
  box-shadow: var(--shadow-soft);
}

.envelope-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.envelope-card h1 {
  color: var(--white);
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.envelope-card p {
  color: var(--teal-mist);
  margin-bottom: 32px;
}

.gift-reveal {
  max-width: 560px;
  width: 100%;
  display: none;
}

.gift-reveal.visible {
  display: block;
  animation: reveal-in 0.6s ease;
}

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .gift-reveal.visible { animation: none; }
}

.gift-card {
  background: var(--ink-teal-2);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-l);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.gift-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-m);
  background: linear-gradient(135deg, var(--ink-teal-3), var(--berry-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.gift-cover .cover-bars {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 90px;
}
.gift-cover .cover-bars .bar {
  width: 6px;
  border-radius: 6px;
  background: var(--amber);
}
.gift-cover .cover-bars .bar:nth-child(odd) { background: var(--blush); opacity: 0.85; }

.gift-meta { text-align: left; margin-bottom: 8px; }
.gift-meta .eyebrow { color: var(--amber-light); }
.gift-meta h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 4px; }
.gift-meta p { color: var(--teal-mist); margin-bottom: 0; }

.player-mock {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(250, 238, 233, 0.06);
  border: 1px solid var(--line-on-dark);
  border-radius: 999px;
  padding: 12px 20px;
  margin: 24px 0;
}

.player-mock .play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}

.player-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(201, 221, 216, 0.25);
  position: relative;
  overflow: hidden;
}
.player-track::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 32%;
  background: var(--amber);
  border-radius: 999px;
}

.player-time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--teal-mist);
  flex-shrink: 0;
}

.download-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.link-row {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(250, 238, 233, 0.06);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-s);
  padding: 12px 16px;
  margin-bottom: 24px;
}

.link-row input {
  flex: 1;
  background: none;
  border: none;
  color: var(--teal-mist);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  outline: none;
}

.usb-upsell {
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px dashed var(--line-on-dark);
  border-radius: var(--radius-m);
  padding: 18px 20px;
}

.usb-upsell .icon { font-size: 1.8rem; }
.usb-upsell h4 { color: var(--white); font-size: 0.98rem; margin-bottom: 4px; }
.usb-upsell p { color: var(--teal-mist); font-size: 0.85rem; margin: 0; }

.error-text {
  color: var(--berry);
  font-size: 0.85rem;
  margin-top: 8px;
  display: none;
}
.error-text.show { display: block; }
