/* =========================================================
   EVANMADEDIS — Beat Store
   Design system: dark / high-contrast / streetwear-pop
   Display: Anton   Body/UI: Epilogue
   ========================================================= */

:root {
  --bg: #0a0a0e;
  --bg-alt: #101014;
  --surface: #17171f;
  --surface-2: #1d1d27;
  --fg: #f5f5f7;
  --muted: #9a9aac;
  --muted-2: #6d6d80;

  --primary: #d6ff3f;       /* neon lime */
  --primary-ink: #0a0a0e;   /* text on lime */
  --secondary: #ff3dae;     /* hot pink */
  --danger: #ff5470;

  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;

  --font-display: "Anton", sans-serif;
  --font-body: "Epilogue", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 220ms;

  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: 0.01em; line-height: 1.02; text-transform: uppercase; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ---------- Utility ---------- */
.text-accent { color: var(--primary); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--primary);
  color: var(--primary-ink);
  padding: 12px 20px;
  z-index: 1000;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  min-height: 44px;
  touch-action: manipulation;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  color: var(--primary-ink);
}
.btn-primary:hover { background: #e4ff70; }

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--fg);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }

.btn-full { width: 100%; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

.section-inner, .about-inner, .contact-inner, .pricing-inner, .stats-inner, .header-inner, .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-head { max-width: 640px; margin-bottom: 40px; }
.section-title { font-size: clamp(32px, 5vw, 52px); }
.section-sub { color: var(--muted); font-size: 17px; margin-top: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 14, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo span { color: var(--primary); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.main-nav a:hover { color: var(--fg); }

.header-actions { display: flex; align-items: center; gap: 8px; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--fg);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.icon-btn:hover { border-color: var(--border-strong); background: var(--surface); }
.icon-btn svg { width: 20px; height: 20px; }

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--secondary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 20px 64px;
  text-align: center;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.hero-glow-a { width: 480px; height: 480px; background: var(--primary); top: -180px; left: -120px; }
.hero-glow-b { width: 420px; height: 420px; background: var(--secondary); bottom: -160px; right: -100px; }

.hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 0 rgba(214, 255, 63, 0.6);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(214, 255, 63, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(214, 255, 63, 0); }
  100% { box-shadow: 0 0 0 0 rgba(214, 255, 63, 0); }
}

.hero-title { font-size: clamp(48px, 9vw, 96px); }

.hero-sub { color: var(--muted); font-size: 18px; max-width: 560px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.price-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.price-chip {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 14px;
  color: var(--muted);
}
.price-chip strong { color: var(--fg); font-size: 16px; margin-right: 4px; }
.price-chip-accent { border-color: var(--primary); color: var(--fg); background: rgba(214, 255, 63, 0.08); }
.price-chip-accent strong { color: var(--primary); }
.price-chip em { font-style: normal; color: var(--secondary); margin-left: 6px; font-weight: 700; }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  background: var(--primary);
  color: var(--primary-ink);
  padding: 12px 0;
  transform: rotate(-1deg);
  margin: 8px 0 -4px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 22s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.03em;
  padding-right: 4px;
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Stats ---------- */
.stats { padding: 72px 0 32px; }
.stats-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat-num { font-family: var(--font-display); font-size: clamp(32px, 5vw, 44px); color: var(--primary); }
.stat-label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

/* ---------- Beats Section ---------- */
.beats-section { padding: 64px 0; }

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.filter-tab {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  min-height: 44px;
  transition: all var(--dur) var(--ease);
}
.filter-tab:hover { border-color: var(--border-strong); color: var(--fg); }
.filter-tab.is-active { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }

.beats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px;
}

.beat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease), border-color var(--dur) var(--ease);
}
.beat-card.in-view { opacity: 1; transform: translateY(0); }
.beat-card:hover { border-color: var(--border-strong); }
.beat-card[hidden] { display: none; }

.beat-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.beat-cover-mark {
  font-family: var(--font-display);
  font-size: 25%;
  font-size: clamp(48px, 12cqw, 88px);
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.02em;
  mix-blend-mode: overlay;
}
.beat-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 60%);
}

.cover-1 { background: linear-gradient(135deg, #7c3aed, #0a0a0e); }
.cover-2 { background: linear-gradient(135deg, var(--secondary), #4a0f2f); }
.cover-3 { background: linear-gradient(135deg, var(--primary), #1a2b06); }
.cover-4 { background: linear-gradient(135deg, #2563eb, #0a0a0e); }
.cover-5 { background: linear-gradient(135deg, #ff7a3d, #3d1206); }
.cover-6 { background: linear-gradient(135deg, #ff3dae, #7c3aed); }
.cover-7 { background: linear-gradient(135deg, #d6ff3f, #2563eb); }
.cover-8 { background: linear-gradient(135deg, #f43f5e, #0a0a0e); }

.sold-ribbon {
  position: absolute;
  top: 16px;
  left: -34px;
  transform: rotate(-45deg);
  background: var(--danger);
  color: #1a0006;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 6px 40px;
  text-transform: uppercase;
}

.beat-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }

.beat-tags { display: flex; gap: 8px; align-items: center; }
.genre-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
}
.meta-text { font-size: 13px; color: var(--muted-2); }

.beat-title { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.01em; }

.player-row { display: flex; align-items: center; gap: 10px; }

.play-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.play-btn:hover { background: var(--primary); color: var(--primary-ink); }
.play-btn svg { width: 16px; height: 16px; }
.play-btn .icon-pause { display: none; }
.beat-card.is-playing .play-btn .icon-play { display: none; }
.beat-card.is-playing .play-btn .icon-pause { display: block; }

.waveform {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
  overflow: hidden;
}
.waveform span {
  flex: 1;
  min-width: 2px;
  background: var(--border-strong);
  border-radius: 2px;
  height: 30%;
  transition: background var(--dur) var(--ease);
}
.beat-card.is-playing .waveform span {
  background: var(--primary);
  animation: wave 900ms ease-in-out infinite;
}
.beat-card.is-playing .waveform span:nth-child(odd) { animation-delay: -0.3s; }
.beat-card.is-playing .waveform span:nth-child(3n) { animation-delay: -0.6s; }
@keyframes wave {
  0%, 100% { height: 20%; }
  50% { height: 90%; }
}

.beat-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.beat-price { font-family: var(--font-display); font-size: 22px; }

.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  min-height: 44px;
  transition: all var(--dur) var(--ease);
}
.add-btn svg { width: 15px; height: 15px; }
.add-btn:hover { background: var(--primary); color: var(--primary-ink); }
.add-btn.is-added { background: var(--primary); color: var(--primary-ink); }
.add-btn.is-added .icon-plus { display: none; }
.add-btn .icon-check { display: none; }
.add-btn.is-added .icon-check { display: block; }

.beat-card.is-sold { opacity: 0.55; }
.beat-card.is-sold .add-btn { border-color: var(--border-strong); color: var(--muted-2); cursor: not-allowed; }
.beat-card.is-sold .add-btn:hover { background: transparent; color: var(--muted-2); }
.beat-card.is-sold .beat-cover { filter: grayscale(0.6); }

/* ---------- Pricing Band ---------- */
.pricing-band {
  background: var(--primary);
  color: var(--primary-ink);
  padding: 72px 20px;
  transform: skewY(-2deg);
  margin: 40px 0;
}
.pricing-inner { transform: skewY(2deg); max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.pricing-title { font-size: clamp(28px, 5vw, 44px); }
.pricing-title .text-accent { color: #fff; -webkit-text-stroke: 0; }
.pricing-copy { font-size: 16px; max-width: 560px; opacity: 0.85; }
.pricing-list { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: center; font-weight: 700; font-size: 14px; }
.pricing-list li::before { content: "— "; }
.pricing-band .btn-primary { background: var(--primary-ink); color: var(--primary); margin-top: 6px; }
.pricing-band .btn-primary:hover { background: #000; }

/* ---------- About ---------- */
.about-section { padding: 64px 0 96px; }
.about-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}
.about-mark {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 64px;
  color: rgba(10, 10, 14, 0.85);
}
.about-copy { display: flex; flex-direction: column; gap: 16px; }
.about-copy p { color: var(--muted); font-size: 17px; }
.about-note { color: var(--fg) !important; font-weight: 700; }

/* ---------- Contact ---------- */
.contact-section { padding: 64px 0 96px; border-top: 1px solid var(--border); }
.contact-inner { max-width: 640px; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.field input, .field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--fg);
  font-family: inherit;
  font-size: 15px;
  min-height: 44px;
  transition: border-color var(--dur) var(--ease);
}
.field input:focus, .field textarea:focus { border-color: var(--primary); outline: none; }
.field textarea { resize: vertical; min-height: 100px; }
.field-note { font-size: 13px; color: var(--muted-2); margin-top: -4px; }
.field-note code { background: var(--surface-2); padding: 2px 6px; border-radius: 4px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { color: var(--muted); font-size: 14px; font-weight: 600; }
.footer-nav a:hover { color: var(--fg); }
.footer-copy { color: var(--muted-2); font-size: 13px; }

/* ---------- Cart Drawer ---------- */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.cart-backdrop.is-visible { opacity: 1; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--bg-alt);
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 320ms var(--ease);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-header h2 { font-size: 24px; }

.cart-body { flex: 1; overflow-y: auto; padding: 20px; }
.cart-empty { color: var(--muted); text-align: center; margin-top: 40px; }

.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.cart-item-cover {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-meta { font-size: 12px; color: var(--muted-2); }
.cart-item-remove {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-item-remove:hover { border-color: var(--danger); color: var(--danger); }
.cart-item-remove svg { width: 14px; height: 14px; }

.cart-footer { padding: 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.cart-bundle-note { font-size: 13px; color: var(--primary); font-weight: 600; }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-display); font-size: 26px; }
.cart-total-row span:first-child { font-family: var(--font-body); font-size: 14px; color: var(--muted); font-weight: 700; text-transform: uppercase; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 20px);
  background: var(--fg);
  color: var(--primary-ink);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Download Success Modal ---------- */
.success-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}
.success-backdrop.is-visible { opacity: 1; pointer-events: auto; }

.success-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: min(440px, calc(100vw - 32px));
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  z-index: 401;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.success-modal.is-open {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}
.success-close { position: absolute; top: 16px; right: 16px; }
.success-modal h2 { font-family: var(--font-display); font-size: 28px; margin-bottom: 8px; }
.success-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.success-links { display: flex; flex-direction: column; gap: 10px; list-style: none; padding: 0; }
.success-link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 700;
}
.success-link-item a {
  color: var(--primary-ink);
  background: var(--primary);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  text-transform: uppercase;
  white-space: nowrap;
}
.success-link-item.is-error { color: var(--danger); font-weight: 600; font-size: 13px; }

/* ---------- Review Prompt (in success modal) ---------- */
.review-prompt { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.review-prompt-title { font-family: var(--font-display); font-size: 18px; margin-bottom: 14px; }

.star-rating { display: flex; gap: 6px; margin-bottom: 14px; }
.star-btn {
  background: none;
  border: none;
  padding: 0;
  font-size: 30px;
  line-height: 1;
  color: var(--border-strong);
  cursor: pointer;
  transition: color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.star-btn:hover { transform: scale(1.1); }
.star-btn.is-filled { color: var(--primary); }

.review-input {
  display: block;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--fg);
  font-family: inherit;
  font-size: 14px;
  margin-bottom: 12px;
  transition: border-color var(--dur) var(--ease);
}
.review-input:focus { border-color: var(--primary); outline: none; }
textarea.review-input { resize: vertical; }

.review-thanks { color: var(--primary); font-weight: 600; font-size: 14px; }
.review-thanks a { text-decoration: underline; }

/* ---------- Reviews Page ---------- */
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.reviews-summary-score { font-family: var(--font-display); font-size: 48px; color: var(--primary); }
.reviews-summary-stars { color: var(--primary); font-size: 20px; letter-spacing: 2px; }
.reviews-summary-count { color: var(--muted); font-size: 14px; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-card-stars { color: var(--primary); font-size: 16px; letter-spacing: 2px; }
.review-card-text { color: var(--fg); font-size: 15px; line-height: 1.55; }
.review-card-meta { color: var(--muted-2); font-size: 13px; font-weight: 700; margin-top: auto; }

.reviews-empty { color: var(--muted); text-align: center; padding: 60px 20px; }

/* ---------- FAQ Page ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 780px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 22px;
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary);
  transition: transform var(--dur) var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item-body { padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.6; }

/* ---------- Generic content page hero (FAQ / Reviews) ---------- */
.page-hero { padding: 72px 0 24px; }
.page-hero .section-title { margin-bottom: 4px; }
.page-section { padding: 24px 0 96px; }

/* ---------- Landing Page ---------- */
.landing {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 32px 20px;
}

.landing-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.landing-title { font-size: clamp(56px, 12vw, 120px); }
.landing-sub { color: var(--muted); font-size: 18px; max-width: 480px; }

.landing-cta { font-size: 16px; padding: 18px 32px; }
.landing-cta svg { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.landing-cta:hover svg { transform: translateX(4px); }

/* ---------- Page Transition (landing -> shop) ---------- */
.transition-panel {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transform: translateY(100%);
}

.transition-panel-mark {
  font-family: var(--font-display);
  font-size: clamp(32px, 8vw, 64px);
  color: var(--primary-ink);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
}
.transition-panel-mark span { color: rgba(10, 10, 14, 0.55); }

/* Leaving the landing page: panel rises to cover the screen */
body.is-leaving .transition-panel {
  transition: transform 650ms cubic-bezier(0.83, 0, 0.17, 1);
  transform: translateY(0%);
}
body.is-leaving .transition-panel-mark {
  transition: opacity 320ms ease 260ms, transform 320ms ease 260ms;
  opacity: 1;
  transform: translateY(0);
}

/* Arriving on the shop page: panel continues rising and exits off-screen */
.transition-panel.reveal {
  transform: translateY(0%);
  animation: panelReveal 650ms cubic-bezier(0.83, 0, 0.17, 1) 120ms forwards;
}
@keyframes panelReveal {
  0% { transform: translateY(0%); }
  100% { transform: translateY(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .transition-panel { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-mark { width: 140px; height: 140px; font-size: 44px; }
  .contact-form { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .menu-btn { display: inline-flex; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 640px) {
  .stats-inner { grid-template-columns: repeat(4, 1fr); }
}
