/* HeartstringTV marketing site — matches the player: black canvas, frosted glass, one warm accent. */
:root {
  --bg: #000000;
  --bg2: #080809;
  --surface: #141416;
  --surface2: #1f1f22;
  --surface3: #2c2c30;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --glass: rgba(18, 18, 22, 0.62);
  --text: #ffffff;
  --sub: rgba(235, 235, 245, 0.64);
  --dim: rgba(235, 235, 245, 0.38);
  --accent: #eeb955;
  --accent-soft: rgba(238, 185, 85, 0.14);
  --live: #ff375f;
  --maxw: 1200px;
  --gutter: 24px;
  --nav-h: 66px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.78) 60%, rgba(0,0,0,0.9) 100%),
    url("/img/bg/gradient-dark.jpg") center / cover no-repeat;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.04; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wide { max-width: 1320px; }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal.scale { transform: translateY(26px) scale(0.97); }
.reveal.scale.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation: none !important; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav.scrolled { background: var(--glass); border-bottom-color: var(--line); backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.04em; }
.brand .mark { width: 30px; height: 30px; border-radius: 9px; background: var(--accent); display: grid; place-items: center; color: #000; box-shadow: 0 6px 20px rgba(238, 185, 85, 0.3); }
.brand .mark svg { width: 15px; height: 15px; }
.brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { font-size: 14px; color: var(--sub); transition: color 0.25s var(--ease); }
.nav-links a:not(.btn):hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255,255,255,0.06); color: #fff; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; margin: 0 auto; }

.mobile-menu { position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99; background: var(--glass); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 22px; display: none; flex-direction: column; gap: 4px; transform: translateY(-8px); opacity: 0; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.mobile-menu.open { display: flex; opacity: 1; transform: none; }
.mobile-menu a { padding: 14px 6px; font-size: 17px; color: var(--text); border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border: 0; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 50px; padding: 0 24px; border-radius: 13px; font-size: 16px; font-weight: 650; cursor: pointer; border: 2px solid transparent; white-space: nowrap; transition: transform 0.25s var(--ease), background 0.25s var(--ease), opacity 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.btn svg { width: 18px; height: 18px; }
.btn.primary { background: #fff; color: #000; box-shadow: 0 8px 30px rgba(255,255,255,0.14); }
.btn.primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 40px rgba(255,255,255,0.2); }
.btn.glass { background: rgba(255,255,255,0.13); color: #fff; border-color: rgba(255,255,255,0.06); backdrop-filter: blur(8px); }
.btn.glass:hover { background: rgba(255,255,255,0.2); transform: translateY(-2px); }
.btn.accent { background: var(--accent); color: #1a1405; }
.btn.accent:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 40px rgba(238,185,85,0.28); }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 11px; }
.btn:active { transform: translateY(0) scale(0.98); opacity: 0.9; }

/* ---------- Shared bits ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sub); font-weight: 650; margin-bottom: 20px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.live-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--live); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; padding: 3px 9px; border-radius: 6px; }
.live-badge .pulse { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section-head { max-width: 720px; }
.section-head.center { margin: 0 auto; text-align: center; }
.label { font-size: 12px; letter-spacing: 0.17em; text-transform: uppercase; color: var(--accent); font-weight: 650; margin-bottom: 16px; }
h2 { font-size: clamp(30px, 4.6vw, 52px); }
h3 { font-size: 20px; letter-spacing: -0.02em; }
.lead { color: var(--sub); font-size: clamp(16px, 2vw, 20px); line-height: 1.55; margin-top: 20px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: -8% 0; z-index: 0; }
.hero-bg img { width: 100%; height: 116%; object-fit: cover; opacity: 0.9; transform: scale(1.08); animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.08) 22%, rgba(0,0,0,0.48) 56%, rgba(0,0,0,0.82) 80%, #000 100%),
  linear-gradient(90deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.25) 48%, transparent 78%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: clamp(60px, 9vw, 110px); }
.hero h1 { font-size: clamp(44px, 8.2vw, 92px); letter-spacing: -0.045em; max-width: 15ch; text-shadow: 0 2px 40px rgba(0,0,0,0.45); }
.hero .lede { color: rgba(255,255,255,0.88); font-size: clamp(17px, 2.1vw, 22px); line-height: 1.5; max-width: 30ch; margin-top: 26px; text-shadow: 0 1px 24px rgba(0,0,0,0.5); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-fine { color: var(--dim); font-size: 13px; margin-top: 22px; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; z-index: 2; transform: translateX(-50%); color: rgba(255,255,255,0.5); animation: bob 2.4s var(--ease) infinite; }
.scroll-cue svg { width: 26px; height: 26px; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Player mockup ---------- */
.mock-section { background: linear-gradient(180deg, #000, #0a0b11 50%, #000); }
.mock-grid { display: grid; grid-template-columns: 0.82fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.mock-stage { perspective: 1800px; }
.mock { border-radius: 20px; overflow: hidden; border: 1px solid var(--line2); background: var(--bg); box-shadow: 0 40px 120px rgba(0,0,0,0.65); position: relative; transform: rotateX(3.5deg); transform-origin: center top; transition: transform 0.9s var(--ease), box-shadow 0.9s var(--ease); }
.mock-stage:hover .mock { transform: rotateX(0deg) translateY(-6px); box-shadow: 0 54px 150px rgba(0,0,0,0.75); }
@media (prefers-reduced-motion: reduce) { .mock { transform: none; } }
.mock-bar { position: absolute; inset: 0 0 auto 0; z-index: 3; height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: rgba(0,0,0,0.42); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.mock-bar .m-mark { width: 22px; height: 22px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; color: #000; }
.mock-bar .m-mark svg { width: 11px; height: 11px; }
.m-tabs { display: flex; gap: 3px; background: rgba(255,255,255,0.1); border-radius: 15px; padding: 3px; }
.m-tab { font-size: 11px; font-weight: 650; color: #fff; padding: 5px 13px; border-radius: 12px; }
.m-tab.on { background: #fff; color: #000; }
.m-round { display: flex; gap: 6px; }
.m-round i { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.12); display: grid; place-items: center; }
.m-round svg { width: 12px; height: 12px; color: #fff; }
.mock-hero { position: relative; height: 212px; overflow: hidden; display: flex; align-items: flex-end; }
.mock-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mock-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.78), transparent 70%), linear-gradient(0deg, #000 2%, transparent 55%); }
.mock-hero .mh-body { position: relative; z-index: 2; padding: 16px; }
.mock-hero .mh-over { font-size: 9px; letter-spacing: 0.12em; color: var(--sub); font-weight: 700; margin: 7px 0 4px; }
.mock-hero .mh-title { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.mock-hero .mh-time { display: flex; align-items: center; gap: 8px; max-width: 260px; margin-top: 9px; }
.mh-track { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.25); overflow: hidden; }
.mh-track i { display: block; height: 100%; width: 0; background: #fff; transition: width 1.2s var(--ease) 0.45s; }
.mock-stage.in .mh-track i { width: var(--w, 42%); }
.mh-sub { font-size: 9px; color: var(--sub); }
.mh-btns { display: flex; gap: 7px; margin-top: 11px; }
.mh-watch { display: inline-flex; align-items: center; gap: 5px; background: #fff; color: #000; font-size: 10px; font-weight: 700; border-radius: 8px; padding: 6px 12px; }
.mh-watch svg { width: 10px; height: 10px; }
.mh-star { width: 30px; height: 28px; border-radius: 8px; background: rgba(255,255,255,0.16); display: grid; place-items: center; }
.mh-star svg { width: 13px; height: 13px; color: var(--accent); }
.mock-guide { padding: 10px 12px 14px; }
.mg-ruler { display: flex; height: 22px; border-bottom: 1px solid var(--line); position: relative; margin-left: 92px; }
.mg-ruler span { position: absolute; top: 4px; font-size: 9px; color: var(--sub); font-weight: 600; }
.mg-now { position: absolute; top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.mg-row { display: flex; height: 48px; border-bottom: 1px solid var(--line); align-items: stretch; }
.mg-chan { width: 92px; display: flex; align-items: center; gap: 7px; padding-right: 8px; }
.mg-logo { width: 34px; height: 26px; border-radius: 6px; display: grid; place-items: center; font-size: 10px; font-weight: 800; color: #fff; border: 1px solid rgba(255,255,255,0.12); }
.mg-name { font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-lane { flex: 1; position: relative; }
.mg-prog { position: absolute; top: 4px; bottom: 4px; border-radius: 7px; background: var(--surface2); padding: 0 9px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; border: 1px solid transparent; }
.mg-prog b { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mg-prog span { font-size: 9px; color: var(--sub); }
.mg-prog.on { background: var(--accent-soft); border-color: rgba(238,185,85,0.6); }
.mg-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,0.08); }
.mg-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 1.1s var(--ease) 0.55s; }
.mock-stage.in .mg-bar i { width: var(--w, 30%); }
.mg-line { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--live); box-shadow: 0 0 10px var(--live); animation: nowGlow 2.6s ease-in-out infinite; }
.mg-now { animation: nowGlow 2.6s ease-in-out infinite; }
@keyframes nowGlow { 0%, 100% { box-shadow: 0 0 6px var(--live); opacity: 0.85; } 50% { box-shadow: 0 0 16px var(--live); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mg-line, .mg-now { animation: none; } .mh-track i, .mg-bar i { transition: none; } }
.mock-caption { font-size: 12px; color: var(--dim); margin-top: 14px; text-align: center; }

.mock-copy .feature-list { margin-top: 32px; display: flex; flex-direction: column; gap: 22px; }
.feature-list .f { display: flex; gap: 15px; }
.feature-list .f .fi { width: 40px; height: 40px; flex: none; border-radius: 11px; background: rgba(255,255,255,0.06); display: grid; place-items: center; color: var(--accent); }
.feature-list .f .fi svg { width: 20px; height: 20px; }
.feature-list .f h3 { font-size: 16px; margin-bottom: 4px; }
.feature-list .f p { color: var(--sub); font-size: 14px; }

/* ---------- Rail / worlds ---------- */
.rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
.card { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; padding: 18px; isolation: isolate; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.6s var(--ease); }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0.3), rgba(0,0,0,0.75)); }
.card:hover { transform: translateY(-8px); border-color: var(--line2); box-shadow: 0 30px 70px rgba(0,0,0,0.6); }
.card:hover img { transform: scale(1.07); }
.card .c-top { display: flex; justify-content: space-between; align-items: center; color: #fff; }
.card .c-top svg { width: 22px; height: 22px; }
.card .c-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-bottom: 6px; }
.card .c-title { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.step { border-top: 1px solid var(--line2); padding-top: 24px; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; color: var(--sub); }
.step-top svg { width: 24px; height: 24px; color: #fff; }
.step-num { font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.step h3 { margin-bottom: 9px; }
.step p { color: var(--sub); font-size: 15px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 52px; max-width: 880px; }
.price { border: 1px solid var(--line); border-radius: 20px; padding: 34px; background: var(--surface); position: relative; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.price:hover { transform: translateY(-6px); border-color: var(--line2); }
.price.featured { border-color: rgba(238,185,85,0.5); background: linear-gradient(180deg, rgba(238,185,85,0.08), var(--surface)); }
.price .tag { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 20px; }
.price .p-name { font-size: 15px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--sub); font-weight: 650; }
.price .p-amt { font-size: 52px; font-weight: 800; letter-spacing: -0.04em; margin: 12px 0 2px; }
.price .p-amt small { font-size: 17px; font-weight: 600; color: var(--sub); letter-spacing: 0; }
.price .p-desc { color: var(--sub); font-size: 15px; margin-bottom: 24px; }
.p-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 13px; }
.p-list li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: #dcdce2; }
.p-list svg { width: 19px; height: 19px; color: var(--accent); flex: none; margin-top: 1px; }
.price .btn { width: 100%; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 44px auto 0; }
.faq { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; background: none; border: 0; color: #fff; font-family: inherit; font-size: clamp(16px, 2vw, 19px); font-weight: 550; text-align: left; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; letter-spacing: -0.01em; }
.faq-q .ic { width: 26px; height: 26px; flex: none; position: relative; }
.faq-q .ic::before, .faq-q .ic::after { content: ""; position: absolute; background: var(--sub); border-radius: 2px; transition: transform 0.35s var(--ease); }
.faq-q .ic::before { top: 12px; left: 4px; right: 4px; height: 2px; }
.faq-q .ic::after { left: 12px; top: 4px; bottom: 4px; width: 2px; }
.faq.open .faq-q .ic::after { transform: rotate(90deg); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--sub); font-size: 16px; line-height: 1.6; padding-bottom: 24px; max-width: 70ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: 28px; margin: 0 var(--gutter) clamp(60px, 8vw, 100px); padding: clamp(56px, 8vw, 96px) 24px; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 140% at 50% 0%, #1b2b40 0%, #2a2038 45%, #120f1a 100%); }
.cta-band h2 { max-width: 16ch; margin: 0 auto; }
.cta-band p { color: var(--sub); margin: 18px auto 30px; font-size: 18px; max-width: 46ch; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding: 50px 0 60px; }
.foot { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 24px; }
.foot-links a { color: var(--sub); font-size: 14px; transition: color 0.25s var(--ease); }
.foot-links a:hover { color: var(--text); }
.foot .copy { color: var(--dim); font-size: 13px; }

/* ---------- Legal / article pages ---------- */
.page-head { padding: calc(var(--nav-h) + 70px) 0 20px; }
.page-head h1 { font-size: clamp(38px, 6vw, 64px); }
.page-head .lead { max-width: 60ch; }
.article { max-width: 760px; padding-bottom: 100px; }
.article h2 { font-size: 24px; margin: 44px 0 12px; letter-spacing: -0.02em; }
.article p { color: var(--sub); font-size: 17px; line-height: 1.7; margin-bottom: 14px; }
.article a { color: var(--accent); }
.article em { color: var(--dim); font-style: normal; font-size: 14px; }
.article ul { color: var(--sub); font-size: 17px; line-height: 1.7; padding-left: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  /* On narrow screens the headline sits over the middle of the image, so darken more. */
  .hero::before { background: linear-gradient(180deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.12) 18%, rgba(0,0,0,0.55) 46%, rgba(0,0,0,0.88) 74%, #000 100%); }
  .mock-grid { grid-template-columns: 1fr; }
  .rail { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 20px; }
  .price-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu-btn { display: grid; place-items: center; }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .rail { grid-template-columns: 1fr; }
  .mock-hero { height: 180px; }
  .hero-inner { padding-top: 96px; padding-bottom: 72px; }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; }
}
