/* Lionheart Market — BuyerEngine Bonus Page */
:root {
  --bg: #0b0f14;
  --bg-elev: #121820;
  --bg-card: #161d27;
  --bg-card-hover: #1c2532;
  --line: #2a3544;
  --text: #e8eef6;
  --muted: #9aa8ba;
  --gold: #d4a017;
  --gold-soft: #f0c14b;
  --gold-dim: rgba(212, 160, 23, 0.15);
  --accent: #3d8bfd;
  --accent-soft: rgba(61, 139, 253, 0.15);
  --success: #3dd68c;
  --danger: #ff6b6b;
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --max: 1080px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(212, 160, 23, 0.12), transparent 60%),
    radial-gradient(900px 500px at 10% 20%, rgba(61, 139, 253, 0.10), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-soft); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 40;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--gold), #8a5a00);
  display: grid;
  place-items: center;
  color: #111;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}

.brand span { color: var(--gold-soft); }

.pill {
  font-size: 0.78rem;
  color: var(--gold-soft);
  background: var(--gold-dim);
  border: 1px solid rgba(212, 160, 23, 0.35);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* Hero */
.hero {
  padding: 2.75rem 0 1.5rem;
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  margin-bottom: 0.85rem;
}

.hero h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.7rem, 4vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero .lede {
  margin: 0 0 1.25rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 38rem;
}

.value-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.value-chip strong { color: var(--gold-soft); }

.hero-art {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--bg-card);
}

.hero-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* Capture */
.capture {
  margin: 0.5rem 0 2rem;
  padding: 1.5rem;
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elev));
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.capture h2 {
  margin: 0 0 0.4rem;
  font-size: 1.25rem;
}

.capture p {
  margin: 0 0 1.1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr auto; align-items: end; }
}

label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #0d1218;
  color: var(--text);
  font: inherit;
  outline: none;
}

input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-dim);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  border-radius: 12px;
  padding: 0.95rem 1.25rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: #1a1200;
  box-shadow: 0 10px 28px rgba(212, 160, 23, 0.28);
}

.btn-gold:hover { box-shadow: 0 14px 34px rgba(212, 160, 23, 0.38); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-outline:hover {
  background: var(--bg-card-hover);
  border-color: #3a4a5e;
}

.btn-wide { width: 100%; }
.btn-lg { padding: 1.05rem 1.4rem; font-size: 1.05rem; }

.privacy {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.form-status {
  display: none;
  margin-top: 0.9rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-size: 0.92rem;
}

.form-status.ok {
  display: block;
  background: rgba(61, 214, 140, 0.12);
  border: 1px solid rgba(61, 214, 140, 0.35);
  color: #b8f5d4;
}

.form-status.err {
  display: block;
  background: rgba(255, 107, 107, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ffc9c9;
}

.ctas {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .ctas { grid-template-columns: 1.2fr 1fr; }
}

.cta-note {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
}

/* Bonuses */
.section {
  padding: 1.25rem 0 2.5rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 32rem;
}

.bonus-grid {
  display: grid;
  gap: 1rem;
}

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

.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.bonus-card:hover {
  background: var(--bg-card-hover);
  border-color: #364556;
}

.bonus-card.featured {
  grid-column: 1 / -1;
  display: grid;
  gap: 0;
}

@media (min-width: 720px) {
  .bonus-card.featured {
    grid-template-columns: 280px 1fr;
  }
}

.bonus-media {
  background: #0a0e13;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 720px) {
  .bonus-card.featured .bonus-media {
    border-bottom: none;
    border-right: 1px solid var(--line);
  }
}

.bonus-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

.bonus-card.featured .bonus-media img {
  aspect-ratio: auto;
  min-height: 220px;
}

.bonus-body { padding: 1.1rem 1.15rem 1.25rem; }

.bonus-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #9ec1ff;
  border: 1px solid rgba(61, 139, 253, 0.3);
}

.tag.gold {
  background: var(--gold-dim);
  color: var(--gold-soft);
  border-color: rgba(212, 160, 23, 0.35);
}

.bonus-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
}

.bonus-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.bonus-body .demo-link {
  display: inline-flex;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.stack-total {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(212, 160, 23, 0.45);
  background: var(--gold-dim);
  text-align: center;
  font-size: 1.05rem;
}

.stack-total strong { color: var(--gold-soft); }

/* Demo callout */
.demo-band {
  margin: 0.5rem 0 2rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(61, 139, 253, 0.35);
  background: linear-gradient(135deg, rgba(61, 139, 253, 0.12), rgba(11, 15, 20, 0.4));
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .demo-band {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.demo-band h2 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.demo-band p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
}

details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  float: right;
  color: var(--gold-soft);
}

details[open] summary::after { content: "–"; }

details p {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.75rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer .wrap { display: grid; gap: 0.85rem; }

.disclosure {
  padding: 0.9rem 1rem;
  border-radius: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: #b7c3d3;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--gold-soft); }

.hidden { display: none !important; }

/* After opt-in: reveal buy buttons more prominently */
#buy-actions.locked .btn { opacity: 0.55; pointer-events: none; }
#buy-actions.unlocked .btn { opacity: 1; pointer-events: auto; }

.buy-gate-note {
  font-size: 0.85rem;
  color: var(--gold-soft);
  text-align: center;
  margin: 0 0 0.75rem;
}

#buy-actions.unlocked .buy-gate-note { display: none; }

/* Review video embed */
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
