/* ============================================
   HELIX MUSIC · HELIXCHORDS
   Restrained, trustworthy product landing
   Flat dark · no glow · real screenshots
   ============================================ */

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

:root {
  --bg: #0b0b0d;
  --bg-alt: #0f0f12;
  --card: #141417;
  --card-h: #18181c;

  --border: rgba(255,255,255,0.08);
  --border-2: rgba(255,255,255,0.14);

  --accent: #4f7cff;
  --accent-h: #6c92ff;

  --text: #f2f2f4;
  --muted: #9a9aa3;
  --dim: #67676f;

  --radius: 12px;
  --radius-lg: 18px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --maxw: 1120px;

  --font: 'Satoshi', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Fraunces', Georgia, serif;
  --mono: 'JetBrains Mono', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
::selection { background: rgba(79,124,255,0.28); color: #fff; }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; color: var(--text); }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.5rem); font-weight: 900; line-height: 1.06; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 900; }
h3 { font-size: 1.08rem; font-weight: 700; }
/* All blue text uses the serif: warm, editorial contrast against Satoshi */
.accent { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent); letter-spacing: -0.01em; }

a { color: inherit; }

/* ===== Layout ===== */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 760px; }
.section { padding: 6.5rem 0; position: relative; }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 660px; margin: 0 auto 3.5rem; text-align: center; }
.section__head h2 { margin-bottom: 0.9rem; }
.section__head p { color: var(--muted); font-size: 1.05rem; line-height: 1.6; }

.eyebrow {
  display: inline-block; font-family: var(--mono);
  font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.25rem;
  padding: 0.3rem 0.7rem; border: 1px solid var(--border); border-radius: 100px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.25rem; border-radius: 10px;
  font-family: var(--font); font-weight: 700; font-size: 0.92rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease), color 0.2s var(--ease);
}
.btn--sm { padding: 0.55rem 1rem; font-size: 0.86rem; }
.btn--lg { padding: 0.92rem 1.5rem; font-size: 0.96rem; }
.btn--full { width: 100%; }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-h); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { border-color: rgba(255,255,255,0.32); background: rgba(255,255,255,0.03); }

/* ===== NAV ===== */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 1rem 0; transition: background 0.3s var(--ease), border-color 0.3s var(--ease), padding 0.3s var(--ease); border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(11,11,13,0.82); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 0.65rem 0; }
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; gap: 2rem; }
.nav__logo { font-weight: 900; font-size: 1.15rem; letter-spacing: -0.03em; text-decoration: none; color: var(--text); }
.nav__logo span { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--accent); }
.nav__links { display: flex; list-style: none; gap: 0.3rem; margin-right: auto; margin-left: 1.5rem; }
.nav__links a { color: var(--muted); text-decoration: none; padding: 0.45rem 0.8rem; font-size: 0.9rem; font-weight: 500; border-radius: 8px; transition: color 0.2s; }
.nav__links a:hover { color: var(--text); }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav__burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.nav__mobile { display: none; flex-direction: column; gap: 0.3rem; padding: 1rem 1.5rem 1.4rem; background: rgba(11,11,13,0.97); backdrop-filter: blur(16px); border-top: 1px solid var(--border); }
.nav__mobile a { color: var(--muted); text-decoration: none; padding: 0.7rem 0; font-size: 1rem; border-bottom: 1px solid var(--border); }
.nav__mobile a:last-child { border: none; margin-top: 0.6rem; color: #fff; }
.nav__mobile.open { display: flex; }
@media (max-width: 900px) { .nav__links { display: none; } .nav__inner .btn { display: none; } .nav__burger { display: flex; margin-left: auto; } }

/* ===== HERO ===== */
.hero { padding: 9rem 0 4.5rem; }
.hero__grid { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: center; }
.hero__copy h1 { margin-bottom: 1.4rem; }
.hero__sub { color: var(--muted); font-size: 1.12rem; line-height: 1.6; margin-bottom: 2rem; max-width: 480px; }
.hero__cta { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero__assure { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.hero__assure li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: var(--muted); }
.hero__assure svg { width: 15px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 2.4; flex-shrink: 0; }

/* ===== Screenshot frames (clean plugin window) ===== */
.frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #0b0f19;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 40px 80px -36px rgba(0,0,0,0.95), 0 8px 24px -10px rgba(0,0,0,0.55);
}
/* crisp glass edge */
.frame::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), inset 0 0 0 1px rgba(255,255,255,0.035);
}
/* one-time gloss sweep, fired when it scrolls into view */
.frame::before {
  content: ''; position: absolute; top: 0; bottom: 0; left: -65%; width: 55%; z-index: 3;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.16), transparent);
  transform: skewX(-16deg); opacity: 0; pointer-events: none;
}
.frame img { display: block; width: 100%; height: auto; transition: transform 0.7s var(--ease); }
.frame:hover img { transform: scale(1.035); }

/* Entrance: fade + settle, then a single gloss pass */
.frame.reveal { opacity: 0; transform: translateY(28px) scale(0.965); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.frame.reveal.in { opacity: 1; transform: none; }
.frame.reveal.in::before { animation: gloss 1.3s var(--ease) 0.35s; }
@keyframes gloss { 0% { left: -65%; opacity: 0; } 14% { opacity: 1; } 100% { left: 135%; opacity: 0; } }

.frame--soft { box-shadow: 0 32px 64px -40px rgba(0,0,0,0.9), 0 6px 18px -8px rgba(0,0,0,0.5); }

/* Subtle idle float on the hero shot only */
.hero__visual { animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* ===== Compatibility strip ===== */
.compat { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.compat__inner { display: flex; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap; justify-content: center; padding: 1.6rem 1.5rem; }
.compat__label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.compat__names { display: flex; flex-wrap: wrap; gap: 1.4rem 1.8rem; justify-content: center; }
.compat__names span { font-weight: 700; font-size: 1rem; color: var(--text); letter-spacing: -0.01em; }
.compat__names .compat__amp { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent); }

/* ===== Cards grid ===== */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.1rem; }
.card {
  background: linear-gradient(180deg, #161619 0%, #121214 100%);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; display: flex; flex-direction: column;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { border-color: rgba(79,124,255,0.35); transform: translateY(-4px); box-shadow: 0 18px 40px -28px rgba(0,0,0,0.9); }
.card__ic {
  width: 44px; height: 44px; border-radius: 11px; margin-bottom: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  background: rgba(79,124,255,0.1);
  border: 1px solid rgba(79,124,255,0.22);
}
.card__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.92rem; line-height: 1.6; }

/* ===== How it works ===== */
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.step { display: flex; gap: 1.1rem; padding: 1.3rem; border-radius: var(--radius); border: 1px solid transparent; transition: border-color 0.2s var(--ease), background 0.2s var(--ease); }
.step:hover { border-color: var(--border); background: var(--card); }
.step__n { font-family: var(--serif); font-style: italic; font-size: 1.7rem; line-height: 1; color: var(--accent); flex-shrink: 0; width: 1.6rem; }
.step h3 { margin-bottom: 0.3rem; }
.step p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }

/* ===== Reviews ===== */
.review { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; }
.review__stars { color: #e6b450; font-size: 0.8rem; letter-spacing: 0.1em; margin-bottom: 0.85rem; }
.review blockquote { font-size: 0.94rem; line-height: 1.6; color: var(--text); margin-bottom: 1.25rem; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 0.7rem; }
.ava { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; color: #fff; background: var(--a, #4f7cff); }
.review figcaption strong { font-size: 0.9rem; color: var(--text); font-weight: 700; }

/* ===== Pricing ===== */
.price { max-width: 460px; margin: 0 auto; background: var(--card); border: 1px solid var(--border-2); border-radius: var(--radius-lg); padding: 2.25rem; }
.price__head { text-align: center; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.price__name { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.price__amount { font-size: 3.4rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1; margin: 0.7rem 0 0.5rem; }
.price__cur { font-size: 1.7rem; font-weight: 700; color: var(--muted); vertical-align: super; margin-right: 0.1rem; }
.price__sub { font-size: 0.85rem; color: var(--dim); }
.price__list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 1.6rem; }
.price__list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--muted); }
.price__list svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 2.4; flex-shrink: 0; }
.price .btn--ghost { margin-top: 0.6rem; }
.price__trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-top: 1.4rem; padding-top: 1.3rem; border-top: 1px solid var(--border); }
.price__trust span { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.74rem; color: var(--dim); }
.price__trust svg { width: 14px; height: 14px; fill: none; stroke: var(--dim); stroke-width: 2; }

/* ===== FAQ ===== */
.faq { display: flex; flex-direction: column; gap: 0.6rem; }
.faq__item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 1.4rem; transition: border-color 0.2s var(--ease); }
.faq__item[open] { border-color: var(--border-2); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; font-weight: 700; font-size: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq__plus::before, .faq__plus::after { content: ''; position: absolute; background: var(--muted); transition: transform 0.25s var(--ease); }
.faq__plus::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq__plus::after { top: 0; left: 6px; width: 2px; height: 14px; }
.faq__item[open] .faq__plus::after { transform: rotate(90deg); opacity: 0; }
.faq__a { color: var(--muted); font-size: 0.94rem; line-height: 1.6; padding: 0 0 1.3rem; max-width: 620px; }
.faq__item.is-hidden { display: none; }
.faq__item.is-shown { animation: faqIn 0.4s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.faq__more { text-align: center; margin-top: 1.4rem; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.05em; color: var(--dim); }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--border); padding: 4rem 0 2.5rem; background: var(--bg-alt); }
.footer__inner { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; margin-bottom: 3rem; }
.footer__brand { max-width: 280px; }
.footer__brand p { color: var(--muted); font-size: 0.88rem; margin-top: 0.8rem; }
.footer__links { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer__links h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 0.9rem; }
.footer__links a { display: block; color: var(--muted); text-decoration: none; font-size: 0.88rem; margin-bottom: 0.55rem; transition: color 0.2s; }
.footer__links a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 1.8rem; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 0.72rem; color: var(--dim); }

/* ===== Reveal (subtle, replays) ===== */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero { padding: 7.5rem 0 4rem; }
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero__visual { max-width: 460px; }
  .how__grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 560px) {
  .section { padding: 4.5rem 0; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .btn--lg { width: 100%; }
  .footer__inner { flex-direction: column; gap: 2rem; }
  .footer__bottom { flex-direction: column; }
}

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