/* ---------- Font (self-hosted, variable 200–800) ---------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2-variations"),
       url("/assets/fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #0B0D10;
  --surface: #13161B;
  --surface-2: #191D24;
  --border: #252A33;
  --text: #F2F3F5;
  --muted: #A3A9B5;
  --accent: #C8F65D;
  --accent-ink: #0B0D10;
  --radius: 16px;
  --radius-lg: 24px;
  --wrap: 1120px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--accent); color: var(--accent-ink);
  padding: .5rem 1rem; border-radius: 8px; font-weight: 600; z-index: 100;
}
.skip:focus { top: 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.1; letter-spacing: -0.025em; font-weight: 750; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); margin-bottom: 2.5rem; max-width: 18ch; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; font-weight: 700; }
p { color: var(--muted); }
.accent { color: var(--accent); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 650; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent); margin-bottom: 1rem;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(200, 246, 93, .15); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 650; font-size: 1rem; line-height: 1;
  border: 1px solid var(--accent);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(200, 246, 93, .45); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--muted); box-shadow: none; }
.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; margin-top: 2rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 16, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(37, 42, 51, .6);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 1.5rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; }
.logo__mark { width: 22px; height: 22px; border-radius: 7px; background: var(--accent); transform: rotate(-8deg); }
.nav__links { display: flex; gap: 2rem; font-size: .95rem; color: var(--muted); }
.nav__links a:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 8vw, 7rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 50% at 75% 35%, rgba(200, 246, 93, .10), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.lede { font-size: clamp(1.1rem, 2vw, 1.25rem); margin-top: 1.5rem; max-width: 34ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__ctas--center { justify-content: center; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.75rem; padding-top: 1.75rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.hero__facts strong { display: block; color: var(--text); font-size: 1.5rem; font-weight: 750; letter-spacing: -0.02em; }

.hero__visual { position: relative; display: flex; justify-content: center; }
.chip {
  position: absolute; padding: .55rem .9rem; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border);
  font-size: .85rem; font-weight: 600; white-space: nowrap;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .6);
}
.chip--a { top: 14%; left: 2%; }
.chip--b { bottom: 16%; right: 0; }
.chip--b::before { content: "●"; color: var(--accent); margin-right: .4rem; }

/* ---------- Phone frame ---------- */
.phone {
  position: relative; width: 100%; aspect-ratio: 9 / 16;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}
.phone--hero { width: min(300px, 78vw); border-radius: 36px; border-width: 6px; border-color: #1E222A; }
.phone video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phone__fallback {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--muted); font-size: 2rem; opacity: .6;
}
.phone.is-loaded .phone__fallback, .phone video[poster] ~ .phone__fallback { display: none; }

/* Sound toggle */
.sound {
  position: absolute; right: .75rem; top: .75rem; z-index: 2;
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .75rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.18);
  background: rgba(11, 13, 16, .65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--text); font: 600 .8rem/1 var(--font); cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.sound:hover { border-color: var(--accent); }
.sound[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.phone:not(.is-loaded) .sound { opacity: .85; }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: none; }
.step { padding: 2rem 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.step__num { display: inline-block; font-size: .85rem; font-weight: 700; color: var(--accent); margin-bottom: 1.25rem; }
.step h3 { margin-bottom: .6rem; }

/* Samples */
.samples { display: grid; grid-template-columns: repeat(3, minmax(0, 300px)); justify-content: center; gap: clamp(1.25rem, 3vw, 2.5rem); }
.sample .phone { transition: transform .35s ease, border-color .35s ease; }
.sample:hover .phone { transform: translateY(-6px); border-color: rgba(200, 246, 93, .5); }
.sample figcaption { margin-top: 1rem; display: flex; flex-direction: column; gap: .15rem; }
.sample figcaption span { color: var(--muted); font-size: .9rem; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tile { padding: 2rem 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: border-color .3s ease; }
.tile:hover { border-color: #3A404B; }
.tile--wide { grid-column: span 2; }
.tile h3 { margin-bottom: .6rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.pricing__intro p:not(.eyebrow) { max-width: 38ch; margin-top: -1rem; }
.plan {
  width: 100%; max-width: 520px; justify-self: end; padding: 2.5rem; border-radius: var(--radius-lg);
  background: var(--bg); border: 1px solid rgba(200, 246, 93, .35);
  box-shadow: 0 0 0 6px rgba(200, 246, 93, .04), 0 40px 80px -40px rgba(200, 246, 93, .18);
}
.plan__head { padding-bottom: 1.75rem; border-bottom: 1px solid var(--border); }
.plan__head h3 { color: var(--accent); font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.plan__price { margin-top: .75rem; color: var(--text); }
.plan__amount { font-size: clamp(3rem, 7vw, 4rem); font-weight: 800; letter-spacing: -0.04em; }
.plan__per { color: var(--muted); font-size: 1.1rem; margin-left: .25rem; }
.plan__sub { margin-top: .25rem; }
.plan__list { margin-top: 1.75rem; display: grid; gap: .85rem; }
.plan__list li { position: relative; padding-left: 1.9rem; color: var(--text); }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: .3rem; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: rgba(200, 246, 93, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23C8F65D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.25rem 1.5rem; font-weight: 650;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.5rem 1.35rem; }

/* CTA band */
.cta-band {
  text-align: center; padding: clamp(3rem, 7vw, 5rem) 1.5rem; border-radius: var(--radius-lg);
  background: radial-gradient(80% 120% at 50% 0%, rgba(200, 246, 93, .14), transparent 65%), var(--surface);
  border: 1px solid var(--border);
}
.cta-band h2 { margin: 0 auto 1rem; }
.cta-band p { max-width: 44ch; margin-inline: auto; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 2.5rem 0; font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer__copy { color: #7D8491; }

/* ---------- Entrance animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__visual { margin-top: 1rem; }
  .steps { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .tile--wide { grid-column: auto; }
  .pricing { grid-template-columns: 1fr; gap: 2rem; }
  .plan { justify-self: stretch; max-width: none; }
}
@media (max-width: 720px) {
  .samples {
    grid-template-columns: repeat(3, 72%); justify-content: start;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem;
    margin-inline: -1.25rem; padding-inline: 1.25rem; scrollbar-width: none;
  }
  .samples::-webkit-scrollbar { display: none; }
  .sample { scroll-snap-align: center; }
  .plan { padding: 1.75rem; }
  .chip--a { left: 0; }
  .hero__facts { gap: 1rem; justify-content: space-between; }
  .hero__facts strong { font-size: 1.3rem; }
}

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