/* ==========================================================================
   BlackNWhite — landing page styles
   Design tokens + components. Accent theme: Emerald.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Accent (Emerald) */
  --acc: #2FBF8F;
  --acc2: #6FE0BC;
  --acc-rgb: 47, 191, 143;

  /* Surface + text palette */
  --bg: #0B0B0C;
  --bg-light: #F3F1EC;
  --surface: #111113;
  --surface-2: #141416;
  --surface-3: #161619;
  --ink: #F3F1EC;
  --ink-strong: #E4E4E7;
  --muted: #B6B6BC;
  --muted-2: #8A8A90;
  --muted-3: #7C7C82;
  --muted-4: #5C5C62;

  /* Type */
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Layout */
  --maxw: 1240px;
  --gutter: 40px;

  /* Radii */
  --r-sm: 11px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 26px;

  /* Elevation */
  --shadow-card: 0 40px 90px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08);
  --hairline: 1px solid rgba(255, 255, 255, .07);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -.01em; margin: 0; }

img { display: block; max-width: 100%; }

a { color: var(--acc); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--acc2); }

::selection { background: var(--acc); color: var(--bg); }

:focus-visible { outline: 2px solid var(--acc2); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Skip link (keyboard/AT users) */
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--acc); color: var(--bg); font-family: var(--font-display);
  font-weight: 700; font-size: 14px; padding: 10px 16px; border-radius: 10px;
  transition: top .18s ease;
}
.skip-link:focus { top: 16px; color: var(--bg); }

/* ---------- Shared layout ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.section { margin-top: 140px; }
.section-head { text-align: center; margin-bottom: 52px; }
.eyebrow {
  color: var(--acc); font-family: var(--font-display); font-weight: 700;
  font-size: 14px; letter-spacing: .16em; margin-bottom: 14px;
}
.section-head h2 { font-size: 44px; font-weight: 800; }
.section-head .lede { color: var(--muted-2); font-size: 17px; margin: 12px 0 0; }

.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 15px; border-radius: 13px; padding: 15px 24px; cursor: pointer;
  border: none; transition: transform .15s ease, background .18s ease, color .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--acc); color: var(--bg); }
.btn-accent:hover { color: var(--bg); filter: brightness(1.05); }
.btn-light { background: var(--bg-light); color: var(--bg); }
.btn-light:hover { color: var(--bg); }
.btn-dark { background: var(--bg); color: var(--ink); }
.btn-dark:hover { color: var(--ink); }
.btn-outline-dark { border: 1.5px solid var(--bg); color: var(--bg); }
.btn-outline-dark:hover { color: var(--bg); }
.btn-outline-ghost {
  display: block; text-align: center;
  border: 1.5px solid rgba(255, 255, 255, .15); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 15px; border-radius: 13px;
}
.btn-outline-ghost:hover { color: var(--ink); border-color: rgba(255, 255, 255, .3); }
.btn-block { display: block; text-align: center; padding: 15px; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 11, 12, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.site-nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__icon { width: 38px; height: 40px; border-radius: 10px; object-fit: cover; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--ink); }
.site-nav__links { display: flex; align-items: center; gap: 34px; font-weight: 600; font-size: 15px; }
.site-nav__links a { color: #C9C9CF; }
.site-nav__links a:hover { color: var(--ink); }
.site-nav__links a[aria-current] { color: var(--ink); }
.site-nav__links a.btn-accent { color: var(--bg); padding: 10px 20px; border-radius: var(--r-sm); }
.site-nav__links a.btn-accent[aria-current] { color: var(--bg); }

/* Hamburger (mobile only) */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 11px; background: rgba(255, 255, 255, .04); cursor: pointer;
}
.nav-toggle__bar { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.brand--footer .brand__icon { border-radius: 9px; }
.brand--footer .brand__name { font-size: 18px; }

/* Beta-form status message */
.form-status { min-height: 20px; margin: 16px 0 0; color: var(--acc2); font-size: 14px; font-weight: 600; }
.form-status:empty { margin: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__fit { margin-top: 34px; overflow: hidden; }
.hero__panel {
  position: relative; width: 1160px; height: 660px; transform-origin: top left;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(90deg, #0B0B0C 0%, #0B0B0C 50%, #F3F1EC 50%, #F3F1EC 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.hero__seam {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-1px);
  background: linear-gradient(180deg, transparent, rgba(var(--acc-rgb), .55), transparent); z-index: 2;
}
.hero__badge-icon {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 280px; height: 292px; border-radius: 34px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6); z-index: 3;
}
.hero__badge-icon img { width: 100%; height: 100%; object-fit: cover; }
.hero__copy { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; }
.hero__copy--left { left: 52px; width: 330px; }
.hero__copy--right { right: 52px; width: 350px; text-align: right; }
.pill {
  display: inline-block; border: 1px solid rgba(var(--acc-rgb), .5); color: var(--acc2);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; padding: 7px 13px;
  border-radius: 100px; margin-bottom: 24px;
}
.hero__title { font-weight: 800; font-size: 60px; line-height: 1; color: var(--ink); margin-bottom: 20px; }
.hero__lead { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 0; }
.hero__lead--dark { color: #3B3B40; font-weight: 500; line-height: 1.65; margin: 0 0 28px; }
.hero__actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.hero__tag { margin-top: 18px; color: var(--muted-2); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; }

/* ---------- Trust strip ---------- */
.trust { margin-top: 34px; }
.trust__row {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center;
  color: var(--muted-3); font-size: 14px; font-weight: 600;
}
.trust__item { display: flex; align-items: center; gap: 8px; }
.trust__dot { width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; }
.trust__sep { opacity: .3; }

/* ---------- Stats ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  background: var(--surface); border: var(--hairline); border-radius: var(--r-lg);
  padding: 40px 32px;
}
.stat { text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--acc); line-height: 1; margin-bottom: 8px; }
.stat__label { color: var(--muted-2); font-size: 14px; font-weight: 600; }

/* ---------- Feature rows ---------- */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.feature__kicker {
  color: var(--acc); font-family: var(--font-display); font-weight: 700;
  font-size: 14px; letter-spacing: .16em; margin-bottom: 18px;
}
.feature h2 { font-size: 46px; font-weight: 800; line-height: 1.05; margin-bottom: 22px; }
.feature__body { color: var(--muted); font-size: 18px; line-height: 1.65; margin: 0 0 32px; }
.feature__media { display: flex; justify-content: center; }
.media--left { order: 1; }
.copy--right { order: 2; }

.bullets { display: grid; gap: 16px; }
.bullet { display: flex; gap: 14px; align-items: flex-start; }
.bullet__mark { color: var(--acc); font-family: var(--font-display); font-weight: 800; }
.bullet__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin-bottom: 3px; }
.bullet__text { color: var(--muted-2); font-size: 15px; line-height: 1.55; }

/* Phone frame + placeholder */
.phone {
  width: 320px; height: 640px; border-radius: 40px; background: var(--surface-3);
  padding: 12px; box-shadow: var(--shadow-card);
}
.shot-placeholder {
  width: 100%; height: 100%; border-radius: 30px; background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-3); font-size: 14px; font-weight: 600; text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05);
}

/* Simulate input methods grid */
.methods { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.method {
  background: var(--surface-2); border: var(--hairline); border-radius: 14px; padding: 20px;
}
.method svg { margin-bottom: 12px; }
.method__title { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 5px; }
.method__text { color: var(--muted-2); font-size: 14px; line-height: 1.5; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--surface); border: var(--hairline); border-radius: 20px; padding: 36px; }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--acc); margin-bottom: 18px; }
.step__title { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.step p { color: var(--muted-2); font-size: 15.5px; line-height: 1.6; margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery__item {
  border-radius: 20px; overflow: hidden; background: var(--surface-3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); aspect-ratio: 9 / 16;
}
.gallery__item .shot-placeholder { border-radius: 20px; box-shadow: none; }

/* ---------- Testimonials ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--surface); border: var(--hairline); border-radius: 20px; padding: 32px; }
.quote__stars { color: var(--acc); font-size: 18px; letter-spacing: .1em; margin-bottom: 16px; }
.quote__text { font-size: 17px; line-height: 1.6; margin: 0 0 22px; color: var(--ink-strong); }
.quote__who { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; color: var(--bg);
}
.avatar--acc { background: var(--acc); }
.avatar--light { background: var(--bg-light); }
.quote__name { font-weight: 700; font-size: 15px; }
.quote__meta { color: var(--muted-3); font-size: 13px; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; }
.plan { background: var(--surface); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--r-lg); padding: 40px; }
.plan--pro {
  position: relative;
  background: linear-gradient(180deg, #16171b, #111113);
  border: 1px solid rgba(var(--acc-rgb), .45);
  box-shadow: 0 30px 70px rgba(var(--acc-rgb), .08);
}
.plan__badge {
  position: absolute; top: 20px; right: 20px; background: var(--acc); color: var(--bg);
  font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: .1em;
  padding: 5px 11px; border-radius: 100px;
}
.plan__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 8px; }
.plan--pro .plan__name { color: var(--acc2); }
.plan__price { font-family: var(--font-display); font-weight: 800; font-size: 48px; margin-bottom: 4px; }
.plan__price span { font-size: 18px; color: var(--muted-3); font-weight: 600; }
.plan__sub { color: var(--muted-3); font-size: 14px; margin-bottom: 28px; }
.plan__feats { display: grid; gap: 14px; margin-bottom: 32px; list-style: none; padding: 0; }
.plan__feats li { display: flex; gap: 10px; font-size: 15px; color: #D4D4D8; }
.plan--pro .plan__feats li { color: var(--ink); }
.plan__feats .yes { color: var(--acc); }
.plan__feats .no { color: #54545A; }
.plan__feats li.muted { color: #54545A; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-md); overflow: hidden; }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 26px; cursor: pointer; background: none; border: none; text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink);
}
.faq__icon { color: var(--acc); font-size: 24px; font-weight: 400; line-height: 1; transition: transform .2s ease; }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq__a p { color: #9A9AA0; font-size: 15.5px; line-height: 1.65; margin: 0; padding: 0 26px 24px; }

/* ---------- Download CTA ---------- */
.cta {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(90deg, #0B0B0C 0%, #0B0B0C 50%, #F3F1EC 50%, #F3F1EC 100%);
  padding: 72px 56px; text-align: center; box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
}
.cta__inner {
  position: relative; z-index: 2; display: inline-block;
  background: rgba(11, 11, 12, .82); backdrop-filter: blur(6px);
  border: 1px solid rgba(var(--acc-rgb), .35); border-radius: var(--r-lg); padding: 48px 52px;
}
.cta__icon { width: 70px; height: 73px; border-radius: 18px; object-fit: cover; margin: 0 auto 24px; box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.cta h2 { font-weight: 800; font-size: 42px; line-height: 1.05; margin-bottom: 14px; color: var(--ink); }
.cta__lede { color: var(--muted); font-size: 18px; margin: 0 0 32px; }
.cta__actions { display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.email-capture {
  display: flex; background: var(--surface-3); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px; padding: 5px 5px 5px 20px; align-items: center; gap: 12px;
}
.email-capture input {
  background: transparent; border: none; outline: none; color: var(--ink);
  font-family: var(--font-body); font-size: 15px; width: 180px;
}
.email-capture input::placeholder { color: var(--muted-3); }
.email-capture button { border-radius: 10px; padding: 12px 22px; }
.stores { margin-top: 26px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store {
  display: flex; align-items: center; gap: 11px;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 9px 16px;
}
.store__label { text-align: left; }
.store__small { color: var(--muted-3); font-size: 10px; line-height: 1; }
.store__name { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 14px; line-height: 1.3; }

/* ---------- Footer ---------- */
.site-footer { max-width: var(--maxw); margin: 100px auto 0; padding: 48px var(--gutter) 60px; border-top: var(--hairline); }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.site-footer__brand { max-width: 300px; }
.site-footer__brand .brand { margin-bottom: 16px; }
.site-footer__brand p { color: var(--muted-3); font-size: 14.5px; line-height: 1.6; margin: 0; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h3 { font-family: var(--font-display); font-weight: 700; font-size: 14px; margin-bottom: 14px; color: var(--ink); }
.footer-col ul { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; }
.footer-col a { color: var(--muted-2); font-size: 14px; }
.footer-col a:hover { color: var(--ink); }
.site-footer__bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .06); color: var(--muted-4); font-size: 13px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  :root { --gutter: 24px; }
  .section { margin-top: 96px; }

  .nav-toggle { display: flex; }
  .site-nav__inner { position: relative; }
  .site-nav__links {
    position: absolute; top: calc(100% + 12px); right: var(--gutter); left: var(--gutter);
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #141416; border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px; padding: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, .55);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .18s ease, transform .18s ease;
  }
  .site-nav__links.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-nav__links a { padding: 12px 14px; border-radius: 10px; }
  .site-nav__links a:not(.btn-accent):hover { background: rgba(255, 255, 255, .05); }
  .site-nav__links a[aria-current]:not(.btn-accent) { background: rgba(var(--acc-rgb), .12); color: var(--acc2); }
  .site-nav__links a.btn-accent { text-align: center; margin-top: 6px; }

  .feature { grid-template-columns: 1fr; gap: 40px; }
  .feature h2 { font-size: 36px; }
  .media--left, .copy--right { order: 0; }

  .steps, .gallery, .cards-3 { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  .section-head h2 { font-size: 34px; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }
  .methods { grid-template-columns: 1fr; }
  .cta { padding: 40px 20px; }
  .cta__inner { padding: 32px 22px; }
  .cta h2 { font-size: 30px; }
  .email-capture { width: 100%; }
  .email-capture input { width: 100%; }
  .footer-cols { gap: 36px; }
  .stats { grid-template-columns: 1fr 1fr; padding: 28px 20px; }
  .stat__num { font-size: 32px; }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
