/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* ---------- Brand tokens ---------- */
:root {
  --bg: #0C080D;
  --surface: #1F1823;
  --elevated: #2D2040;
  --border: #382B3F;
  --purple: #6F4DB3;
  --light-purple: #9B78D4;
  --ink: #E6E6EB;
  --muted: #A1A1B3;
  --premium-red: #E53935;

  --max-width: 1120px;
  --radius: 16px;
}

/* ---------- Self-hosted Inter (variable font) ---------- */
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0; }
p { margin: 0; color: var(--muted); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 20px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--light-purple);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.chip--premium {
  background: rgba(229, 57, 53, 0.15);
  color: var(--premium-red);
  border: 1px solid rgba(229, 57, 53, 0.4);
}

section { padding-block: 72px; }

/* ---------- Scroll-reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Play badge ---------- */
.play-badge { height: 56px; width: auto; }

/* ---------- Visually-hidden (honeypot) ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 720px) {
  section { padding-block: 96px; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(60% 50% at 50% 35%, rgba(111,77,179,0.42), rgba(111,77,179,0.10) 55%, transparent),
    var(--bg);
  padding-top: 140px;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}
.hero__wordmark { margin-inline: auto 0; margin-bottom: 8px; }
.hero__title { font-size: clamp(2rem, 6vw, 3.25rem); margin-block: 12px; }
.hero__subtitle { font-size: 1.125rem; max-width: 480px; margin-inline: auto; margin-bottom: 28px; }
.hero .play-badge { margin-inline: auto; }
.hero__meta { margin-top: 10px; font-size: 0.8rem; }
.hero__phone {
  border-radius: 24px;
  box-shadow: 0 40px 80px -30px rgba(111,77,179,0.5);
  width: min(320px, 80vw);
}

@media (min-width: 960px) {
  .hero__inner { flex-direction: row; text-align: left; gap: 64px; }
  .hero__copy { flex: 1; }
  .hero__wordmark { margin-inline: 0; }
  .hero__subtitle { margin-inline: 0; }
  .hero .play-badge { margin-inline: 0; }
  .hero__art { flex: 1; display: flex; justify-content: center; }
}

/* ---------- Features ---------- */
#features h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-top: 8px; margin-bottom: 40px; }
.features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-card__icon { margin-bottom: 16px; color: var(--light-purple); }
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.feature-card p { font-size: 0.9rem; }

@media (min-width: 640px) {
  .features__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .features__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Showcase ---------- */
.showcase { position: relative; display: flex; align-items: center; gap: 12px; }
.showcase__viewport { overflow: hidden; flex: 1; }
.showcase__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.showcase__track::-webkit-scrollbar { display: none; }
.showcase__slide {
  flex: 0 0 auto;
  width: min(240px, 70vw);
  scroll-snap-align: start;
}
.showcase__slide img {
  border-radius: 20px;
  border: 1px solid var(--border);
}
.showcase__btn {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
}
.showcase__btn:hover { background: var(--elevated); }
.showcase__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.showcase__dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  border: none;
  background: var(--border);
  cursor: pointer;
  padding: 0;
}
.showcase__dot.is-active { background: var(--light-purple); }

@media (max-width: 640px) {
  .showcase__btn { display: none; }
}

/* ---------- Email capture ---------- */
.capture {
  display: grid;
  gap: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 24px;
}
.capture h2 { font-size: clamp(1.25rem, 3.5vw, 1.75rem); margin-top: 8px; }
.capture__sub { margin-top: 8px; }
.capture__form { display: flex; flex-direction: column; gap: 12px; }
.capture__form input[type="email"] {
  background: var(--elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
}
.capture__form button {
  background: var(--purple);
  color: var(--ink);
  border: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-weight: 600;
  cursor: pointer;
}
.capture__form button:hover { background: var(--light-purple); }
.capture__form button:disabled { opacity: 0.6; cursor: not-allowed; }
.capture__status { font-size: 0.85rem; min-height: 1.2em; }
.capture__status[data-kind="success"] { color: #7CD992; }
.capture__status[data-kind="error"] { color: var(--premium-red); }

@media (min-width: 960px) {
  .capture { grid-template-columns: 1fr 1fr; align-items: center; padding: 56px; }
}

/* ---------- Final CTA band ---------- */
.cta-band {
  background:
    radial-gradient(60% 80% at 50% 50%, rgba(111,77,179,0.35), transparent 70%),
    var(--surface);
  text-align: center;
}
.cta-band__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.cta-band h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding-block: 32px; }
.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}
.footer__brand { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.85rem; }
.footer__links { display: flex; gap: 20px; font-size: 0.85rem; color: var(--muted); }
.footer__links a:hover { color: var(--ink); }

@media (min-width: 720px) {
  .footer__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(12, 8, 13, 0.9);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 16px;
}
.nav__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.nav__links { display: none; gap: 24px; font-size: 0.9rem; color: var(--muted); }
.nav__links a:hover { color: var(--ink); }
.nav__cta .play-badge--small { height: 40px; }

@media (min-width: 720px) {
  .nav__links { display: flex; }
}
