/* ── Tokens ──────────────────────────────────────────────────── */
:root {
  --bg:        #090705;
  --bg2:       #0e0b07;
  --surface:   #131009;
  --card:      #181410;
  --border:    rgba(255,255,255,0.07);
  --border-hi: rgba(255,255,255,0.13);
  --gold:      #c8a06a;
  --gold-lt:   #e0b87a;
  --gold-dim:  rgba(200,160,106,0.12);
  --text:      #ddd0c2;
  --text2:     #a39080;
  --text3:     #685d55;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-ser:  'Instrument Serif', Georgia, serif;
  --ease:      cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  animation: pageIn 0.5s var(--ease-out) both;
}
body.page-out { animation: pageOut 0.3s var(--ease) forwards; pointer-events: none; }

@keyframes pageIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes pageOut { from { opacity: 1; } to { opacity: 0; } }

/* Grain */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 998; pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ── Custom cursor ────────────────────────────────────────────── */
@media (pointer: fine) {
  body, body * { cursor: none !important; }
  #cursor {
    position: fixed;
    top: 0; left: 0;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--gold);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s, box-shadow 0.25s, opacity 0.2s;
    will-change: transform;
  }
  #cursor.big {
    width: 36px; height: 36px;
    background: rgba(200,160,106,0.08);
    box-shadow: 0 0 0 1px rgba(200,160,106,0.35);
  }
  #cursor.hidden { opacity: 0; }
}

/* ── Nav ─────────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 20px; left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 48px); max-width: 1000px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 10px 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--border-hi);
  background: rgba(14,11,7,0.72);
  backdrop-filter: blur(24px) saturate(1.5);
  -webkit-backdrop-filter: blur(24px) saturate(1.5);
  transition: background 0.4s var(--ease), border-color 0.4s;
}
.nav.scrolled { background: rgba(9,7,5,0.9); border-color: rgba(255,255,255,0.09); }

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
}
.nav-logo svg, .nav-logo img { width: 28px; height: 28px; flex-shrink: 0; border-radius: 7px; }

.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  display: block; padding: 7px 15px; border-radius: 100px;
  color: var(--text2); text-decoration: none;
  font-size: 14px; font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: rgba(255,255,255,0.055); }

.nav-buy {
  display: flex; align-items: center; gap: 8px;
  background: var(--gold); color: #0a0806;
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 700;
  padding: 8px 10px 8px 16px; border-radius: 100px;
  border: none; cursor: pointer; text-decoration: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s;
  letter-spacing: -0.01em; flex-shrink: 0; white-space: nowrap;
}
.nav-buy:hover { background: var(--gold-lt); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(200,160,106,0.22); }
.nav-buy-icon {
  width: 26px; height: 26px; background: rgba(0,0,0,0.16);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 11px; transition: transform 0.3s var(--ease);
}
.nav-buy:hover .nav-buy-icon { transform: translate(1px,-1px) scale(1.1); }

.nav-ham { display: none; }
@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-ham {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.055); border: 1px solid var(--border);
    cursor: pointer; gap: 0;
  }
  .nav-ham span {
    display: block; width: 16px; height: 1.5px; background: var(--text2);
    margin: 2.5px 0; transition: all 0.3s var(--ease); transform-origin: center;
  }
  .nav-ham.open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
  .nav-ham.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-ham.open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
}
.mob-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(9,7,5,0.97); backdrop-filter: blur(32px); -webkit-backdrop-filter: blur(32px);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease);
}
.mob-overlay.open { opacity: 1; pointer-events: all; }
.mob-overlay a {
  color: var(--text); text-decoration: none;
  font-size: 36px; font-weight: 800; letter-spacing: -0.04em;
  padding: 10px 24px; opacity: 0; transform: translateY(22px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.mob-overlay.open a { opacity: 1; transform: none; }
.mob-overlay.open a:nth-child(1) { transition-delay: 50ms; }
.mob-overlay.open a:nth-child(2) { transition-delay: 95ms; }
.mob-overlay.open a:nth-child(3) { transition-delay: 140ms; }
.mob-overlay.open a:nth-child(4) { transition-delay: 185ms; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 15px; font-weight: 700;
  letter-spacing: -0.01em; border: none; cursor: pointer;
  text-decoration: none; transition: all 0.35s var(--ease);
  padding: 14px 14px 14px 24px; border-radius: 100px; white-space: nowrap;
}
.btn:active { transform: scale(0.985) !important; }
.btn-icon {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0; transition: transform 0.35s var(--ease);
}
.btn:hover .btn-icon { transform: translate(1px,-1px) scale(1.08); }

.btn-gold { background: var(--gold); color: #0a0806; }
.btn-gold .btn-icon { background: rgba(0,0,0,0.14); }
.btn-gold:hover { background: var(--gold-lt); box-shadow: 0 12px 36px rgba(200,160,106,0.28); transform: translateY(-2px); }

.btn-outline {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border-hi);
  color: var(--text2); padding: 14px 24px;
}
.btn-outline:hover { background: rgba(255,255,255,0.09); color: var(--text); border-color: rgba(255,255,255,0.18); }

/* ── Typography ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); padding: 5px 13px; border-radius: 100px;
  border: 1px solid rgba(200,160,106,0.28); background: rgba(200,160,106,0.07);
  margin-bottom: 20px;
}
.eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.sec-num {
  display: block; font-size: 11px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text3); margin-bottom: 12px;
}
h1, h2, h3 { letter-spacing: -0.034em; color: #f0e4d4; line-height: 1.08; }
p { line-height: 1.65; }

/* Word-split animation helpers */
.split-line { display: block; overflow: hidden; vertical-align: bottom; }
.split-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.split-word + .split-word { margin-left: 0.24em; }
.w-in { display: block; }

/* ── Layout ──────────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 28px; }
section { padding: 100px 28px; }

/* ── Shared mockup shell ─────────────────────────────────────── */
.app-shell {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-hi);
  border-radius: 28px; padding: 6px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.5), 0 40px 80px rgba(0,0,0,0.5),
              inset 0 1px 0 rgba(255,255,255,0.1);
}
.app-shell-inner {
  border-radius: 23px; overflow: hidden; background: #111009;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07);
}
.app-shell-inner svg { display: block; width: 100%; height: auto; }

/* ── Playhead CSS animation ───────────────────────────────────── */
.svg-playhead {
  animation: playScrub 5s cubic-bezier(0.37,0,0.63,1) infinite;
}
@keyframes playScrub {
  0%   { transform: translateX(0px); }
  45%  { transform: translateX(140px); }
  55%  { transform: translateX(140px); }
  100% { transform: translateX(0px); }
}
.svg-char {
  animation: charFloat 3.8s ease-in-out infinite;
}
@keyframes charFloat {
  0%, 100% { transform: translate(360px, 95px); }
  50%       { transform: translate(360px, 88px); }
}

/* ── Section divider ────────────────────────────────────────────*/
.div-line {
  border: none; border-top: 1px solid var(--border); margin: 0;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--border); padding: 48px 28px; }
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.footer-logo { display: flex; align-items: center; gap: 10px; color: var(--text2); font-size: 14px; font-weight: 500; text-decoration: none; }
.footer-logo svg, .footer-logo img { width: 24px; height: 24px; opacity: 0.6; border-radius: 6px; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text3); text-decoration: none; font-size: 13.5px; transition: color 0.2s; }
.footer-links a:hover { color: var(--text2); }
.footer-copy { color: var(--text3); font-size: 12.5px; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; color: var(--text);
  font-family: var(--font-sans); font-size: 16px; font-weight: 600;
  letter-spacing: -0.02em; text-align: left; transition: color 0.2s;
}
.faq-q:hover { color: #f0e4d4; }
.faq-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 14px; color: var(--text2);
  transition: all 0.3s var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--gold-dim); border-color: rgba(200,160,106,0.3); color: var(--gold); }
.faq-a {
  font-size: 14.5px; color: var(--text2); line-height: 1.7;
  max-height: 0; overflow: hidden; padding-bottom: 0;
  transition: max-height 0.42s var(--ease), padding-bottom 0.3s;
}
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }

/* ── Stripe embedded checkout overlay ───────────────────────── */
#checkout-overlay {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  align-items: center; justify-content: center; padding: 20px;
}
#checkout-overlay.active { display: flex; animation: pageIn 0.35s var(--ease-out) both; }
.checkout-modal {
  position: relative; width: 100%; max-width: 540px; max-height: 90dvh; overflow-y: auto;
  background: #0e0c09; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px; padding: 48px 40px 40px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.07);
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.checkout-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: var(--text2); font-size: 18px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.checkout-close:hover { background: rgba(255,255,255,0.1); color: var(--text); }
#checkout-container { min-height: 200px; }
@media (max-width: 600px) {
  .checkout-modal { padding: 36px 20px 28px; border-radius: 18px; }
}

/* ── Feature section (features.html) ─────────────────────────── */
.feat-section {
  scroll-margin-top: 130px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  max-width: 1160px; margin: 0 auto;
  padding: 100px 28px;
  border-bottom: 1px solid var(--border);
}
.feat-section:last-of-type { border-bottom: none; }
.feat-section.flip { direction: rtl; }
.feat-section.flip > * { direction: ltr; }
.feat-text h2 { font-size: clamp(32px, 3.5vw, 48px); margin-bottom: 16px; }
.feat-text .feat-desc { font-size: 16px; color: var(--text2); margin-bottom: 28px; line-height: 1.65; }
.feat-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.feat-points li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: var(--text2); line-height: 1.5;
}
.feat-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  margin-top: 6px; flex-shrink: 0;
}
.feat-visual {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 6px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}
.feat-visual-inner {
  background: #111009; border-radius: 15px; overflow: hidden;
}
.feat-visual-inner svg { display: block; width: 100%; height: auto; }

@media (max-width: 860px) {
  .feat-section { grid-template-columns: 1fr; gap: 40px; }
  .feat-section.flip { direction: ltr; }
}

/* ── Pricing card ────────────────────────────────────────────── */
.price-shell {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-hi);
  border-radius: 32px; padding: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
  max-width: 520px; margin: 0 auto;
}
.price-inner {
  background: var(--card); border-radius: 26px;
  padding: 44px 40px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.price-row { display: flex; align-items: flex-end; justify-content: center; gap: 6px; margin-bottom: 6px; }
.price-currency { font-size: 28px; font-weight: 500; color: var(--text2); padding-bottom: 12px; }
.price-amount {
  font-size: 80px; font-weight: 800; letter-spacing: -0.06em;
  color: #f0e4d4; line-height: 1;
}
.price-cadence { font-size: 13px; color: var(--text3); text-align: center; margin-bottom: 32px; }
.price-features { list-style: none; margin-bottom: 36px; }
.price-features li {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: 14.5px; color: var(--text2);
}
.price-features li:last-child { border-bottom: none; }
.price-check {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid rgba(200,160,106,0.28);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--gold); font-size: 10px;
}
.buy-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: var(--gold); color: #0a0806;
  font-family: var(--font-sans); font-size: 15px; font-weight: 700;
  padding: 15px 15px 15px 24px; border-radius: 100px; border: none; cursor: pointer;
  transition: all 0.35s var(--ease); letter-spacing: -0.01em;
}
.buy-btn:hover { background: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 12px 36px rgba(200,160,106,0.3); }
.buy-btn:active { transform: scale(0.99); }
.buy-btn .btn-icon-lg {
  width: 38px; height: 38px; background: rgba(0,0,0,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 17px; transition: transform 0.35s var(--ease);
}
.buy-btn:hover .btn-icon-lg { transform: translate(2px,-2px); }
.buy-btn.loading { opacity: 0.7; cursor: wait; pointer-events: none; }
.buy-btn:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; transform: none !important; box-shadow: none !important; }

.age-gate {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  margin-bottom: 14px; user-select: none;
}
.age-gate input[type="checkbox"] {
  width: 18px; height: 18px; flex-shrink: 0; cursor: pointer;
  accent-color: var(--gold); border-radius: 4px;
}
.age-gate span { font-size: 13.5px; color: var(--text2); }


/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  section { padding: 72px 20px; }
  .container, .container-sm { padding: 0 20px; }
}
@media (max-width: 480px) {
  section { padding: 60px 16px; }
  .price-inner { padding: 32px 24px; }
}
