/* =========================================================
   Piano Secret Tip — Loop collection page
   Palette and fonts are carried over from the existing site
   (gold #c9a84c, black #0d0d0d, Playfair Display + Poppins).
   ========================================================= */

:root {
  /* existing brand tokens */
  --gold: #c9a84c;
  --gold-light: #e8c87a;
  --gold-dark: #a07830;
  --black: #0d0d0d;
  --dark: #1a1a1a;
  --dark2: #2a2a2a;
  --light-gray: #f8f8f6;
  --cream: #e4ddce;            /* sampled from the ebook cover */

  /* semantic roles */
  --primary: var(--gold);
  --secondary: var(--gold-dark);
  --accent: var(--gold-light);
  --background: var(--black);
  --surface: var(--dark);
  --surface-2: var(--dark2);
  --text: var(--cream);
  --text-strong: #fff;
  --muted: rgba(228, 221, 206, 0.66);
  --border: rgba(201, 168, 76, 0.2);
  --border-soft: rgba(228, 221, 206, 0.1);

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  --pad: clamp(20px, 5vw, 48px);
  --nav-h: 76px;
  --cta-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--background);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
ul, ol { list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--black); }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 3000;
  background: var(--gold); color: var(--black); padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: min(1200px, 100% - var(--pad) * 2); margin-inline: auto; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); color: var(--text-strong); font-weight: 900; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1.04; text-transform: uppercase; letter-spacing: 0.01em; }
h3 { font-size: 1.2rem; line-height: 1.25; }
p { max-width: 62ch; }

.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.section-head.center { text-align: center; }
.section-head.center p { margin-inline: auto; }

/* light section — the original site's light surface */
.light { background: var(--light-gray); color: #3b3a36; --muted: #5d5b55; --border: rgba(160, 120, 48, 0.28); }
.light h2, .light h3 { color: var(--black); }

/* ---------- Buttons ---------- */
.btn {
  --lift: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 600; font-size: 0.9rem; line-height: 1.2; text-align: center;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  box-shadow: 0 10px 28px -10px rgba(201, 168, 76, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(var(--lift));
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s, color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.btn .i { transition: transform 0.3s var(--ease); }
.btn:hover { --lift: -3px; box-shadow: 0 18px 38px -10px rgba(201, 168, 76, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn:hover .i { transform: translateX(4px); }
.btn:active { --lift: 0px; transform: translateY(1px) scale(0.985); box-shadow: 0 6px 16px -8px rgba(201, 168, 76, 0.6); }
.btn-sm { padding: 10px 20px; font-size: 0.84rem; }
.btn-lg { padding: 16px 30px; font-size: 0.95rem; }
.btn-xl { padding: 20px 40px; font-size: 1.05rem; }
.btn-ghost {
  color: var(--text-strong); background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(228, 221, 206, 0.28);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(201, 168, 76, 0.14); box-shadow: inset 0 0 0 1px var(--gold); }
.btn-ghost .i, .btn-ghost:hover .i { transform: none; }
.btn.is-loading { pointer-events: none; }
.btn.is-loading > * { opacity: 0.35; }
.btn.is-loading::after {
  content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(13, 13, 13, 0.25); border-top-color: var(--black); animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.icon-btn {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%;
  color: var(--text-strong); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--border-soft);
  transition: background 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.icon-btn:hover { background: var(--gold); color: var(--black); }
.icon-btn:active { transform: scale(0.94); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1200; height: var(--nav-h);
  display: flex; align-items: center;
  padding-top: env(safe-area-inset-top, 0px);
  transition: height 0.35s var(--ease), background 0.35s, box-shadow 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  --nav-h: 62px;
  background: rgba(13, 13, 13, 0.82);
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom-color: var(--border);
  box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.9);
}
.nav-inner { display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  color: var(--black); background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
}
.brand-mark .i { width: 20px; height: 20px; }
.brand-name { font-family: var(--font-display); font-weight: 900; font-size: 1.25rem; color: var(--text-strong); letter-spacing: -0.01em; white-space: nowrap; }
.brand-name b { color: var(--gold); font-weight: 900; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a {
  position: relative; padding: 8px 14px; font-size: 0.85rem; font-weight: 500; color: var(--muted);
  transition: color 0.25s; text-transform: uppercase; letter-spacing: 0.06em;
}
.nav-links a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text-strong); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.burger { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; border-radius: 12px; }
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text-strong); border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.2s, top 0.4s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 1100; background: rgba(13, 13, 13, 0.97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: grid; place-items: center; padding: 100px var(--pad) 40px;
  opacity: 0; visibility: hidden; transform: translateY(-14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s 0.4s;
}
.menu.open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-inner { display: grid; gap: 6px; width: min(420px, 100%); }
.menu-inner a:not(.btn) {
  font-family: var(--font-display); font-weight: 900; font-size: 2.1rem; color: var(--text-strong);
  padding: 8px 0; border-bottom: 1px solid var(--border-soft);
  opacity: 0; transform: translateY(14px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.2s;
}
.menu-inner a:not(.btn):hover { color: var(--gold); }
.menu.open .menu-inner > * { opacity: 1; transform: none; }
.menu.open .menu-inner > *:nth-child(1) { transition-delay: 0.08s; }
.menu.open .menu-inner > *:nth-child(2) { transition-delay: 0.13s; }
.menu.open .menu-inner > *:nth-child(3) { transition-delay: 0.18s; }
.menu.open .menu-inner > *:nth-child(4) { transition-delay: 0.23s; }
.menu.open .menu-inner > *:nth-child(5) { transition-delay: 0.28s; }
.menu.open .menu-inner > *:nth-child(6) { transition-delay: 0.33s; }
.menu-cta { margin-top: 22px; opacity: 0; transform: translateY(14px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 150px;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 70% 20%, #1b1710 0%, var(--black) 62%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0; animation: orb-in 2.4s 0.1s var(--ease) forwards, drift 18s ease-in-out infinite alternate; }
.orb-a { width: 46vw; max-width: 640px; aspect-ratio: 1; right: -8%; top: -6%; background: radial-gradient(circle, rgba(201, 168, 76, 0.42), transparent 68%); }
.orb-b { width: 36vw; max-width: 480px; aspect-ratio: 1; left: -10%; bottom: 4%; background: radial-gradient(circle, rgba(160, 120, 48, 0.32), transparent 70%); animation-delay: 0.4s, 0s; animation-direction: normal, alternate-reverse; }
@keyframes orb-in { to { opacity: 1; } }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(3%, 6%, 0) scale(1.08); } }
.hero-grid {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(228, 221, 206, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(228, 221, 206, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent);
  mask-image: radial-gradient(70% 70% at 60% 40%, #000, transparent);
}

.hero-inner { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 12px; margin-bottom: 26px;
  border-radius: 999px; font-size: 0.82rem; font-weight: 500; color: var(--gold-light);
  background: rgba(201, 168, 76, 0.1); box-shadow: inset 0 0 0 1px var(--border);
}
.hero-tag .i { width: 16px; height: 16px; }
.hero-title { font-size: clamp(1.9rem, 9.2vw, 5rem); line-height: 0.96; text-transform: uppercase; letter-spacing: -0.015em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-title .line > span { display: block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(1) > span { animation-delay: 0.25s; }
.hero-title .line:nth-child(2) > span { animation-delay: 0.38s; }
.hero-title .line:nth-child(3) > span {
  animation-delay: 0.51s;
  background: linear-gradient(95deg, var(--gold-light), var(--gold) 60%, var(--gold-dark)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@keyframes rise { to { transform: none; } }
.hero-sub, .hero-price, .hero-actions, .hero-tag { opacity: 0; transform: translateY(18px); animation: fade-up 0.9s var(--ease) forwards; }
.hero-tag { animation-delay: 0.1s; }
.hero-sub { animation-delay: 0.75s; margin-top: 28px; font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--muted); max-width: 52ch; }
.hero-price { animation-delay: 0.9s; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 26px; }
.hero-price strong { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; color: var(--text-strong); line-height: 1; }
.hero-price span { font-size: 0.9rem; color: var(--muted); }
.hero-actions { animation-delay: 1.05s; display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
@keyframes fade-up { to { opacity: 1; transform: none; } }
.hero-actions .btn:first-child { animation: nudge 1s 3.2s var(--ease) 1; }
@keyframes nudge { 40% { transform: translateY(-4px) scale(1.02); } }

/* hero stage */
.stage { position: relative; width: min(100%, 520px); aspect-ratio: 1 / 1.12; margin-inline: auto; }
.stage-glow { position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(circle, rgba(201, 168, 76, 0.34), transparent 66%); filter: blur(30px); opacity: 0; animation: orb-in 2s 0.3s forwards; }
.wave { position: absolute; left: -6%; right: -6%; top: 50%; height: 44%; transform: translateY(-50%); display: flex; align-items: center; justify-content: space-between; gap: 3px; opacity: 0.55; z-index: 0; }
.wave i { flex: 1; min-width: 2px; height: calc(var(--h, 40) * 1%); border-radius: 3px; background: linear-gradient(var(--gold-light), var(--gold-dark)); transform: scaleY(0.12); opacity: 0.85; animation: wave-in 1s var(--ease) forwards, wave 2.4s ease-in-out infinite alternate; animation-delay: calc(var(--d, 0) * 1ms), calc(1000ms + var(--d, 0) * 1ms); }
@keyframes wave-in { to { transform: scaleY(1); } }
@keyframes wave { from { transform: scaleY(1); } to { transform: scaleY(0.45); } }

.parallax { translate: var(--px, 0px) var(--py, 0px); transition: translate 0.35s ease-out; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-0.8deg); } }

.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px;
  border-radius: 16px; background: rgba(26, 26, 26, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px var(--border), 0 24px 40px -18px rgba(0, 0, 0, 0.8);
  opacity: 0; transform: translateY(20px); animation: fade-up 0.9s var(--ease) forwards;
}
.chip > .i { width: 38px; height: 38px; padding: 9px; border-radius: 11px; color: var(--black); background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.chip b { display: block; font-size: 1rem; line-height: 1.2; color: var(--text-strong); font-weight: 600; }
.chip small { display: block; font-size: 0.76rem; color: var(--muted); line-height: 1.3; }
.chip-price { left: -2%; top: 10%; animation-delay: 1.1s; }
.chip-loops { left: 0; bottom: 4%; animation-delay: 1.5s; }

/* piano key strip */
.keys {
  --kw: 46px;
  position: absolute; left: 0; right: 0; bottom: 0; height: 96px; z-index: 1;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(var(--kw) * 0.7), #0b0b0b calc(var(--kw) * 0.7), #0b0b0b calc(var(--kw) * 1.3), transparent calc(var(--kw) * 1.3), transparent calc(var(--kw) * 1.7), #0b0b0b calc(var(--kw) * 1.7), #0b0b0b calc(var(--kw) * 2.3), transparent calc(var(--kw) * 2.3), transparent calc(var(--kw) * 3.7), #0b0b0b calc(var(--kw) * 3.7), #0b0b0b calc(var(--kw) * 4.3), transparent calc(var(--kw) * 4.3), transparent calc(var(--kw) * 4.7), #0b0b0b calc(var(--kw) * 4.7), #0b0b0b calc(var(--kw) * 5.3), transparent calc(var(--kw) * 5.3), transparent calc(var(--kw) * 5.7), #0b0b0b calc(var(--kw) * 5.7), #0b0b0b calc(var(--kw) * 6.3), transparent calc(var(--kw) * 6.3)) 0 0 / calc(var(--kw) * 7) 58% repeat-x,
    repeating-linear-gradient(90deg, var(--cream) 0, var(--cream) calc(var(--kw) - 2px), #6f685a calc(var(--kw) - 2px), #6f685a var(--kw));
  border-radius: 0 0 6px 6px; opacity: 0; transform: translateY(40%); animation: keys-in 1.3s 0.8s var(--ease) forwards;
  -webkit-mask-image: linear-gradient(#000 45%, rgba(0, 0, 0, 0.9)); mask-image: linear-gradient(#000 45%, rgba(0, 0, 0, 0.9));
}
.keys::after {
  content: ''; position: absolute; inset: 0; mix-blend-mode: multiply;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.95) 50%, transparent) 0 0 / 28% 100% no-repeat;
  animation: sweep 7s 2.2s linear infinite;
}
.keys::before { content: ''; position: absolute; left: 0; right: 0; top: -60px; height: 60px; background: linear-gradient(transparent, rgba(13, 13, 13, 0.55)); pointer-events: none; }
@keyframes keys-in { to { opacity: 1; transform: none; } }
@keyframes sweep { from { background-position: -40% 0; } to { background-position: 140% 0; } }

/* ---------- Value strip ---------- */
.strip { background: var(--dark); border-block: 1px solid var(--border); }
.strip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0; }
.strip-list li { display: flex; align-items: center; gap: 12px; padding: 22px clamp(14px, 2.4vw, 34px); font-weight: 500; font-size: 0.92rem; color: var(--text-strong); position: relative; }
.strip-list li + li:not([hidden])::before { content: ''; position: absolute; left: 0; top: 28%; bottom: 28%; width: 1px; background: var(--border); }
.strip-list .i { color: var(--gold); }

/* ---------- Library toolbar ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.search, .sort { position: relative; display: flex; align-items: center; }
.search { flex: 1 1 280px; }
.search > .i, .sort > .i { position: absolute; left: 16px; color: var(--gold); width: 18px; height: 18px; pointer-events: none; }
.search input, .sort select {
  width: 100%; height: 50px; padding: 0 18px 0 46px; border-radius: 14px; border: 0; outline: 0;
  background: var(--dark); box-shadow: inset 0 0 0 1px var(--border-soft); color: var(--text-strong);
  transition: box-shadow 0.25s, background 0.25s;
}
.search input::placeholder { color: var(--muted); }
.search input:focus, .sort select:focus { box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 4px rgba(201, 168, 76, 0.15); }
.sort select { appearance: none; -webkit-appearance: none; padding-right: 40px; min-width: 190px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.sort select option { background: var(--dark); color: var(--text-strong); }
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip-btn {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 500; color: var(--text); background: var(--dark); box-shadow: inset 0 0 0 1px var(--border-soft);
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.chip-btn small { font-size: 0.72rem; opacity: 0.7; font-variant-numeric: tabular-nums; }
.chip-btn:hover { box-shadow: inset 0 0 0 1px var(--gold); }
.chip-btn[aria-pressed="true"] { color: var(--black); background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: none; transform: translateY(-1px); }
.result-count { font-size: 0.85rem; color: var(--muted); margin: 6px 0 22px; }
.empty { display: grid; justify-items: center; gap: 14px; padding: 56px 20px; text-align: center; color: var(--muted); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--border-soft); }
.empty .i { width: 34px; height: 34px; color: var(--gold); }

/* ---------- Counters ---------- */
.counters { background: linear-gradient(180deg, var(--black), #15120b 50%, var(--black)); padding-block: clamp(48px, 7vw, 84px); }
.counter-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 24px; text-align: center; }
.counter-list li { display: grid; gap: 4px; }
.counter-list b { font-family: var(--font-display); font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1; font-weight: 900; color: var(--gold-light); font-variant-numeric: tabular-nums; }
.counter-list span { font-size: 0.88rem; color: var(--muted); }

/* ---------- Bonus ebook ---------- */
.bonus { background: var(--black); overflow: hidden; isolation: isolate; }
.bonus-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 25% 50%, rgba(201, 168, 76, 0.2), transparent 70%), radial-gradient(50% 50% at 90% 10%, rgba(160, 120, 48, 0.18), transparent 70%); }
.bonus-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.book-stage { position: relative; display: grid; place-items: center; perspective: 1400px; padding: 20px; }
.book-aura { position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(201, 168, 76, 0.38), transparent 66%); filter: blur(34px); }
.book-open { position: relative; display: block; width: min(100%, 460px); transform-style: preserve-3d; transform: rotateY(-10deg) rotateX(3deg); transition: transform 0.7s var(--ease); border-radius: 12px; }
.book-open:hover { transform: rotateY(-3deg) rotateX(0deg) rotate(-1.5deg) translateY(-10px) scale(1.02); }
.book-open:focus-visible { outline-offset: 8px; }
.book-float { display: block; animation: float 8s ease-in-out infinite; }
.book-float img { width: 100%; height: auto; filter: drop-shadow(0 50px 50px rgba(0, 0, 0, 0.7)); transition: filter 0.7s var(--ease); }
.book-open:hover .book-float img { filter: drop-shadow(0 70px 60px rgba(0, 0, 0, 0.85)) drop-shadow(0 0 30px rgba(201, 168, 76, 0.25)); }
.book-layer { position: absolute; inset: 0; background: url('../assets/images/ebook-cover-900.webp') center / contain no-repeat; opacity: 0.35; filter: brightness(0.7) saturate(0.8); transition: transform 0.7s var(--ease), opacity 0.7s; }
.book-layer.l2 { transform: translate3d(34px, 14px, -60px) rotate(5deg) scale(0.96); }
.book-layer.l3 { transform: translate3d(66px, 26px, -120px) rotate(10deg) scale(0.92); opacity: 0.2; }
.book-open:hover .l2 { transform: translate3d(52px, 14px, -60px) rotate(7deg) scale(0.96); }
.book-open:hover .l3 { transform: translate3d(104px, 24px, -120px) rotate(13deg) scale(0.92); }
.seal {
  position: absolute; z-index: 4; right: -4%; top: 6%; width: 92px; height: 92px; border-radius: 50%; display: grid; place-content: center; justify-items: center; gap: 2px;
  color: var(--black); background: radial-gradient(circle at 30% 25%, var(--gold-light), var(--gold) 60%, var(--gold-dark)); box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.7), 0 0 0 5px rgba(201, 168, 76, 0.25);
  transform: translateZ(60px); transition: transform 0.5s var(--ease);
}
.seal b { font-size: 0.78rem; font-weight: 600; }
.seal .i { width: 26px; height: 26px; }
.book-open:hover .seal { transform: translateZ(80px) rotate(-8deg) scale(1.08); }
.expand { position: absolute; z-index: 4; left: 4%; bottom: 8%; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(13, 13, 13, 0.7); box-shadow: inset 0 0 0 1px var(--border); opacity: 0; transition: opacity 0.4s; transform: translateZ(40px); }
.book-open:hover .expand, .book-open:focus-visible .expand { opacity: 1; }
.bonus-kicker { margin-top: 18px; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--gold-light); }
.bonus-copy > p:not(.bonus-kicker) { margin-top: 14px; color: var(--muted); }
.ticks { display: grid; gap: 12px; margin: 26px 0 32px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.ticks .i { width: 22px; height: 22px; padding: 4px; margin-top: 2px; border-radius: 50%; color: var(--black); background: var(--gold); stroke-width: 3; }

/* ---------- Vault ---------- */
.vault-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.vault-card { overflow: hidden; border-radius: 18px; background: var(--dark); box-shadow: inset 0 0 0 1px var(--border-soft); transition: transform 0.4s var(--ease), box-shadow 0.4s; }
.vault-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--gold); }
.vault-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vault-body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.vault-body .i { color: var(--gold); }
.vault-body p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Curriculum ---------- */
.curriculum { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(28px, 6vw, 96px); counter-reset: ch; }
.curriculum li { counter-increment: ch; position: relative; padding: 22px 0 22px 64px; border-top: 1px solid var(--border); }
.curriculum li::before { content: counter(ch); position: absolute; left: 0; top: 16px; font-family: var(--font-display); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--gold-dark); }
.curriculum p { color: var(--muted); margin-top: 4px; font-size: 0.95rem; }

/* ---------- Value stack ---------- */
.stack { background: linear-gradient(180deg, var(--black), #15120b); }
.stack-list { display: grid; justify-items: center; gap: 10px; max-width: 560px; margin-inline: auto; }
.stack-list li { width: 100%; }
.stack-list li:not(.stack-plus):not(.stack-equals):not(.stack-total) {
  display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: 16px; font-weight: 500; color: var(--text-strong);
  background: var(--dark); box-shadow: inset 0 0 0 1px var(--border-soft);
}
.stack-list li .i { color: var(--gold); width: 24px; height: 24px; }
.stack-plus, .stack-equals { display: grid; place-items: center; color: var(--gold); }
.stack-plus .i, .stack-equals .i { width: 20px; height: 20px; }
.stack-total { display: grid; justify-items: center; gap: 18px; padding: 32px 20px; border-radius: 24px; text-align: center; background: linear-gradient(135deg, rgba(201, 168, 76, 0.2), rgba(160, 120, 48, 0.08)); box-shadow: inset 0 0 0 1px var(--gold); }
.stack-total strong { font-family: var(--font-display); font-size: clamp(3rem, 9vw, 5rem); line-height: 1; color: var(--gold-light); }

/* ---------- Audience ---------- */
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.aud { padding: 28px; border-radius: 20px; background: var(--dark); box-shadow: inset 0 0 0 1px var(--border-soft); transition: transform 0.4s var(--ease), box-shadow 0.4s, background 0.4s; }
.aud .i { width: 48px; height: 48px; padding: 12px; margin-bottom: 18px; border-radius: 14px; color: var(--gold-light); background: rgba(201, 168, 76, 0.12); transition: transform 0.5s var(--ease), background 0.4s, color 0.4s; }
.aud p { color: var(--muted); margin-top: 8px; font-size: 0.94rem; }
.aud:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--gold); background: linear-gradient(160deg, #252014, var(--dark)); }
.aud:hover .i { transform: rotate(-8deg) scale(1.1); background: var(--gold); color: var(--black); }

/* ---------- Why ---------- */
.why { background: var(--dark); border-block: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px clamp(28px, 6vw, 80px); }
.why-item { display: flex; gap: 20px; align-items: flex-start; }
.why-item > .i { width: 54px; height: 54px; padding: 14px; border-radius: 50%; color: var(--black); background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); }
.why-item p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }

/* ---------- Gallery ---------- */
.gallery { columns: 3 260px; column-gap: 18px; }
.gallery button { position: relative; display: block; width: 100%; margin-bottom: 18px; overflow: hidden; border-radius: 16px; break-inside: avoid; background: var(--dark); }
.gallery img { width: 100%; height: auto; transition: transform 0.7s var(--ease); }
.gallery button::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(13, 13, 13, 0.75)); opacity: 0; transition: opacity 0.4s; }
.gallery .i { position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 38px; height: 38px; padding: 9px; border-radius: 50%; color: var(--black); background: var(--gold); opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }
.gallery button:hover::after, .gallery button:hover .i, .gallery button:focus-visible::after, .gallery button:focus-visible .i { opacity: 1; transform: none; }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 860px; }
.acc { display: grid; gap: 12px; }
.acc-item { border-radius: 16px; background: var(--dark); box-shadow: inset 0 0 0 1px var(--border-soft); transition: box-shadow 0.3s, background 0.3s; }
.acc-item.open { box-shadow: inset 0 0 0 1px var(--gold); background: linear-gradient(180deg, #221d12, var(--dark)); }
.acc-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-align: left; font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; color: var(--text-strong); }
.acc-btn .i { color: var(--gold); transition: transform 0.4s var(--ease); }
.acc-btn[aria-expanded="true"] .i { transform: rotate(135deg); }
.acc-item h3 { font-family: var(--font-body); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { padding: 0 24px 22px; color: var(--muted); }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }

/* ---------- Final CTA ---------- */
.final { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(88px, 13vw, 168px); text-align: center; background: var(--black); }
.final-bg { position: absolute; inset: 0; z-index: -1; }
.final-bg .orb { opacity: 1; animation: drift 14s ease-in-out infinite alternate; }
.final-bg .orb-a { left: 50%; right: auto; top: -30%; transform: translateX(-50%); }
.final-bg .orb-b { left: auto; right: -5%; bottom: -20%; }
.rings { position: absolute; left: 50%; top: 50%; width: min(900px, 140vw); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid var(--border); box-shadow: 0 0 0 80px rgba(201, 168, 76, 0.03), 0 0 0 160px rgba(201, 168, 76, 0.025); animation: breathe 9s ease-in-out infinite alternate; }
@keyframes breathe { from { transform: translate(-50%, -50%) scale(0.96); } to { transform: translate(-50%, -50%) scale(1.04); } }
.final-inner { display: grid; justify-items: center; gap: 22px; }
.final h2 { font-size: clamp(2.2rem, 6.2vw, 4.8rem); max-width: 16ch; }
.final p { color: var(--muted); font-size: 1.1rem; }
.final-price { font-family: var(--font-display); font-weight: 900; font-size: clamp(3.4rem, 10vw, 6.4rem); line-height: 1; background: linear-gradient(95deg, var(--gold-light), var(--gold) 60%, var(--gold-dark)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final .btn-xl { animation: glow 3s ease-in-out infinite alternate; }
@keyframes glow { from { box-shadow: 0 10px 28px -10px rgba(201, 168, 76, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35); } to { box-shadow: 0 16px 60px -6px rgba(201, 168, 76, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.35); } }
.final-note { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem !important; }
.final-note .i { color: var(--gold); width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.footer { padding: 36px 0 calc(36px + var(--cta-h)); border-top: 1px solid var(--border); background: var(--black); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { font-size: 0.88rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-copy { font-size: 0.82rem; color: var(--muted); width: 100%; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; z-index: 1010; left: 0; right: 0; bottom: 0; display: none; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(13, 13, 13, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--border);
  transform: translateY(110%); transition: transform 0.5s var(--ease); visibility: hidden;
}
.sticky-cta.show { transform: none; visibility: visible; }
.sticky-info { display: grid; line-height: 1.25; }
.sticky-info b { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.sticky-info span { font-family: var(--font-display); font-weight: 900; font-size: 1.5rem; color: var(--gold-light); }
.sticky-cta .btn { padding: 15px 26px; min-height: 48px; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 60px 16px; background: rgba(8, 8, 8, 0.94); backdrop-filter: blur(10px); opacity: 0; transition: opacity 0.35s var(--ease); }
.lb.show { opacity: 1; }
.lb-fig { display: grid; justify-items: center; gap: 14px; max-width: min(1100px, 100%); max-height: 100%; transform: scale(0.96); transition: transform 0.45s var(--ease); }
.lb.show .lb-fig { transform: none; }
.lb-fig img { max-width: 100%; max-height: calc(100svh - 150px); width: auto; height: auto; object-fit: contain; border-radius: 10px; }
.lb-fig figcaption { color: var(--muted); font-size: 0.9rem; text-align: center; }
.lb-close { position: absolute; top: calc(14px + env(safe-area-inset-top, 0px)); right: 14px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb.single .lb-nav { display: none; }

/* ---------- Scroll reveal ---------- */
section[id] { scroll-margin-top: 68px; }
.js [data-reveal] { opacity: 0; transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); will-change: opacity, transform; }
.js [data-reveal="fade-up"] { transform: translateY(26px); }
.js [data-reveal="slide-left"] { transform: translateX(44px); }
.js [data-reveal="slide-right"] { transform: translateX(-44px); }
.js [data-reveal="scale-in"] { transform: scale(0.94); }
.js [data-reveal].in { opacity: 1; transform: none; will-change: auto; }

/* ---------- Hero: loop disc + bonus book ---------- */
.disc { position: absolute; z-index: 2; left: 0; top: 7%; width: 80%; aspect-ratio: 1; border-radius: 50%; opacity: 0; transform: scale(0.88); animation: disc-in 1.4s 0.35s var(--ease) forwards; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.7)); }
@keyframes disc-in { to { opacity: 1; transform: none; } }
.disc-spin { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #1c1c1c 0 30%, #0a0a0a 31% 100%); box-shadow: inset 0 0 0 2px rgba(201, 168, 76, 0.55), inset 0 0 0 10px #0d0d0d, inset 0 0 0 11px rgba(201, 168, 76, 0.25); animation: spin-slow 26s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.disc-grooves { position: absolute; inset: 4%; border-radius: 50%; background: repeating-radial-gradient(circle, rgba(201, 168, 76, 0.13) 0 1px, transparent 1px 6px); }
.disc-sheen { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 20deg, transparent 0 8%, rgba(232, 200, 122, 0.28) 14%, transparent 22% 55%, rgba(232, 200, 122, 0.2) 64%, transparent 72%); }
.disc-label { position: absolute; left: 33%; top: 33%; width: 34%; height: 34%; border-radius: 50%; display: grid; place-items: center; color: var(--black); background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark)); box-shadow: 0 0 0 6px rgba(13, 13, 13, 0.6), 0 0 40px rgba(201, 168, 76, 0.45); }
.disc-label::after { content: ''; position: absolute; width: 9%; aspect-ratio: 1; border-radius: 50%; background: #0d0d0d; right: 18%; top: 18%; }
.disc-label .i { width: 38%; height: 38%; }
.mini-book { position: absolute; z-index: 3; right: -2%; bottom: 2%; width: 44%; opacity: 0; transform: translateY(24px); animation: fade-up 1s 1s var(--ease) forwards; }
.mini-book img { width: 100%; height: auto; filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.8)); animation: float 7s 2s ease-in-out infinite; }
.mini-seal { position: absolute; left: -6%; top: 4%; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 9px; border-radius: 999px; font-size: 0.72rem; font-weight: 600; color: var(--black); background: linear-gradient(135deg, var(--gold-light), var(--gold)); box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.8); }
.mini-seal .i { width: 14px; height: 14px; }
.chip-price { top: 2%; left: auto; right: 6%; }

/* ---------- Loop name marquee ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; padding: 18px 0; background: var(--gold); color: var(--black); border-block: 1px solid var(--gold-dark); }
.marquee-track { display: flex; width: max-content; animation: marquee var(--mq-time, 40s) linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq { display: flex; flex: none; }
.mq span { display: inline-flex; align-items: center; white-space: nowrap; font-family: var(--font-display); font-weight: 900; font-size: clamp(1rem, 2.2vw, 1.4rem); text-transform: uppercase; letter-spacing: 0.03em; padding-inline: 0.9em; }
.mq span::after { content: ''; width: 8px; height: 8px; margin-left: 1.8em; border-radius: 2px; background: var(--black); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Every loop you get ---------- */
.inside { background: linear-gradient(180deg, var(--black), #14110a 60%, var(--black)); }
.inside-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; align-items: start; }
.ins-block { border-radius: 22px; padding: 24px 24px 12px; background: linear-gradient(180deg, #202020, var(--dark)); box-shadow: inset 0 0 0 1px var(--border-soft); transition: box-shadow 0.4s, transform 0.4s var(--ease); }
.ins-block.is-leaving { opacity: 0; transform: scale(0.94); pointer-events: none; }
.ins-block.is-entering { animation: pop 0.4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(0.94); } }
.ins-block:hover { box-shadow: inset 0 0 0 1px var(--gold); transform: translateY(-4px); }
.ins-block header { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 6px; border-bottom: 1px solid var(--border); }
.ins-block h3 { font-size: 1.35rem; flex: 1; min-width: 0; }
.ins-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--black); background: linear-gradient(135deg, var(--gold-light), var(--gold-dark)); }
.ins-ic .i { width: 22px; height: 22px; }
.ins-count { font-size: 0.78rem; font-weight: 600; color: var(--gold-light); padding: 5px 11px; border-radius: 999px; background: rgba(201, 168, 76, 0.12); white-space: nowrap; }
.ins-block ol { counter-reset: none; }
.ins-block li { display: flex; align-items: center; gap: 14px; padding: 11px 6px; border-bottom: 1px solid var(--border-soft); transition: background 0.25s, padding 0.3s var(--ease); border-radius: 8px; }
.ins-block li:last-child { border-bottom: 0; }
.ins-block li:hover { background: rgba(201, 168, 76, 0.08); padding-left: 12px; }
.ins-block .n { font-family: var(--font-display); font-weight: 900; font-size: 0.95rem; color: var(--gold-dark); min-width: 1.6em; font-variant-numeric: tabular-nums; }
.ins-block .t { flex: 1; min-width: 0; font-weight: 500; color: var(--text-strong); overflow-wrap: anywhere; }
.ins-listen { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; color: var(--gold-light); box-shadow: inset 0 0 0 1px var(--border); transition: background 0.25s, color 0.25s; }
.ins-listen .i { width: 14px; height: 14px; fill: currentColor; }
.ins-listen:hover { background: var(--gold); color: var(--black); }
@media (min-width: 900px) {
  .ins-block.is-long { grid-column: span 2; }
  .ins-block.is-long ol { columns: 2; column-gap: 40px; }
  .ins-block.is-long li { break-inside: avoid; }
}

/* ---------- Every style in the pack ---------- */
.styles { background: var(--black); }
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.style-card { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; min-height: 148px; border-radius: 18px; text-align: left; color: var(--text); background: linear-gradient(180deg, #202020, var(--dark)); box-shadow: inset 0 0 0 1px var(--border-soft); transition: transform 0.4s var(--ease), box-shadow 0.4s, background 0.4s; }
.style-card.is-link { cursor: pointer; }
.style-card:hover { transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--gold); background: linear-gradient(160deg, #252014, var(--dark)); }
.style-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--gold-light); background: rgba(201, 168, 76, 0.12); transition: transform 0.5s var(--ease), background 0.4s, color 0.4s; }
.style-ic .i { width: 22px; height: 22px; }
.style-card:hover .style-ic { transform: rotate(-8deg) scale(1.08); background: var(--gold); color: var(--black); }
.style-name { margin-top: auto; font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; line-height: 1.1; text-transform: uppercase; color: var(--text-strong); }
.style-count { font-size: 0.8rem; font-weight: 600; color: var(--gold-light); }
@media (max-width: 560px) { .style-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .style-card { padding: 16px; min-height: 124px; } .style-name { font-size: 1.05rem; } 