/*
 * site.css: Banknote Tracker landing page.
 * Colours and type match the web app (bnt-web-app src/theme/brand.ts and its Be Vietnam Pro fonts),
 * so moving from this page into the app feels like one product.
 */

/* ---- Fonts: the app's own self-hosted Be Vietnam Pro ------------------------------------------ */
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Be Vietnam Pro"; src: url("../fonts/BeVietnamPro-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

/* ---- Brand tokens (same values as BRAND in the web app) ---------------------------------------- */
:root {
  --forest: #123D2E;
  --primary: #135C13;
  --primary-strong: #0F4A0F;
  --leaf: #1C871C;
  --gold: #C9A227;
  --ink: #0A0A0A;
  --muted: #4A6B4C;
  --slate: #525A55;
  --gray: #757A75;
  --line: #EAEBEA;
  --surface: #F5F7F5;
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 30, 20, .06), 0 12px 40px rgba(10, 30, 20, .10);
  --wrap: 1200px;
}

/* ---- Base ------------------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Be Vietnam Pro", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; color: var(--ink); }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--forest); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

/* ---- Buttons ---------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: 15px; white-space: nowrap;
  transition: background .15s, color .15s, box-shadow .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-strong); }
.btn-ghost { color: var(--primary); }
.btn-ghost:hover { background: var(--surface); }
.btn-outline { color: var(--primary); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn-outline:hover { background: var(--surface); }
.btn-gold { background: var(--gold); color: var(--forest); }
.btn-gold:hover { background: #d6b13a; }
.btn-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn-light:hover { background: rgba(255, 255, 255, .1); }

/* ---- Header ----------------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  transition: box-shadow .2s;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(10, 30, 20, .05); }
.header-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand img { height: 20px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { color: var(--slate); font-weight: 500; font-size: 15px; }
.nav a:hover { color: var(--primary); }
.header-cta { margin-left: auto; display: flex; gap: 8px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.mobile-menu { padding: 8px 24px 20px; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu a { display: block; padding: 12px 0; color: var(--slate); font-weight: 500; }
.mobile-menu .btn { display: flex; margin-top: 10px; }

/* ---- Hero ------------------------------------------------------------------------------------- */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 420px at 50% -10%, rgba(201, 162, 39, .13), transparent 70%),
    radial-gradient(800px 500px at 15% 20%, rgba(19, 92, 19, .07), transparent 70%);
}
.hero-inner { text-align: center; max-width: 880px; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(19, 92, 19, .08); color: var(--primary);
  font-size: 13px; font-weight: 600; letter-spacing: .02em; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 800; letter-spacing: -.025em; color: var(--forest); }
.lede { margin: 22px auto 0; font-size: clamp(17px, 2vw, 20px); color: var(--slate); max-width: 700px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.fine { margin-top: 16px; font-size: 14px; color: var(--gray); }
.frame.hero-shot { margin-top: 64px; }

/* ---- Screenshot frame ------------------------------------------------------------------------- */
.frame { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; background: #F3F4F3; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #D8DCD8; }
.frame-bar span { margin: 0 auto; font-size: 12.5px; color: var(--gray); background: #fff; padding: 3px 16px; border-radius: 999px; }

/* ---- Strip of four promises ------------------------------------------------------------------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-grid div { padding: 28px 20px; display: flex; flex-direction: column; gap: 4px; }
.strip-grid div + div { border-left: 1px solid var(--line); }
.strip-grid strong { color: var(--forest); font-size: 17px; }
.strip-grid span { color: var(--gray); font-size: 14px; }

/* ---- Sections --------------------------------------------------------------------------------- */
.section { padding: 96px 0; }
.section-tint { background: var(--surface); }
.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.kicker { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.section h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.02em; color: var(--forest); }
.section-head p:not(.kicker) { margin-top: 16px; color: var(--slate); font-size: 18px; }

/* ---- The eight steps -------------------------------------------------------------------------- */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--gold); font-weight: 800; font-size: 14px; }
.steps b { color: var(--forest); font-size: 17px; }
.steps span { color: var(--slate); font-size: 14.5px; }

/* ---- Feature rows ----------------------------------------------------------------------------- */
.row { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; margin-bottom: 88px; }
.row-flip { grid-template-columns: 7fr 5fr; }
.row-flip .row-text { order: 2; }
.row-text h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; color: var(--forest); letter-spacing: -.01em; }
.row-text p { margin-top: 14px; color: var(--slate); font-size: 17px; }

/* ---- Small feature cards ---------------------------------------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card .icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(19, 92, 19, .08); color: var(--primary); font-size: 15px; margin-bottom: 14px; }
.card h4 { font-size: 17px; color: var(--forest); }
.card p { margin-top: 6px; color: var(--slate); font-size: 15px; }

/* ---- Who it is for ---------------------------------------------------------------------------- */
.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.who-card { border-radius: var(--radius); padding: 28px 24px; background: linear-gradient(180deg, #fff, var(--surface)); border: 1px solid var(--line); }
.who-card h4 { font-size: 18px; color: var(--forest); }
.who-card h4::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--gold); margin-bottom: 16px; }
.who-card p { margin-top: 8px; color: var(--slate); font-size: 15px; }

/* ---- Verify ----------------------------------------------------------------------------------- */
.verify { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.verify-text h2 { margin-bottom: 16px; }
.verify-text p:not(.kicker) { color: var(--slate); font-size: 17px; }

/* ---- Closing band ----------------------------------------------------------------------------- */
.cta-band { background: radial-gradient(700px 300px at 85% 0%, rgba(201, 162, 39, .22), transparent 70%), var(--forest); color: #fff; padding: 88px 0; }
.cta-inner { text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.02em; }
.cta-band p { margin-top: 14px; color: rgba(255, 255, 255, .78); font-size: 18px; }

/* ---- Footer ----------------------------------------------------------------------------------- */
.site-footer { padding: 36px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer-row img { height: 16px; width: auto; }
.footer-row nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-row nav a { color: var(--slate); font-size: 14px; }
.footer-row nav a:hover { color: var(--primary); }
.footer-row p { margin-left: auto; color: var(--gray); font-size: 14px; }

/* ---- Reveal on scroll (skipped when the visitor prefers less motion) -------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
}

/* ---- Responsive ------------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .nav { display: none; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .who { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .row { gap: 36px; }
}
@media (max-width: 760px) {
  .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero { padding: 48px 0 40px; }
  .frame.hero-shot { margin-top: 40px; }
  .frame-bar span { display: none; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .strip-grid div:nth-child(3) { border-left: 0; }
  .strip-grid div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding: 72px 0; }
  .row, .row-flip, .verify { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
  .row-flip .row-text { order: 0; }
  .steps, .who, .cards { grid-template-columns: 1fr; }
  .footer-row p { margin-left: 0; width: 100%; }
}

/* ---- Branded panel behind feature screenshots (soft green and gold wash) ----------------------- */
.panel {
  margin: 0; padding: clamp(18px, 3vw, 36px); border-radius: 22px;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(201, 162, 39, .22), transparent 55%),
    radial-gradient(120% 90% at 0% 100%, rgba(19, 92, 19, .20), transparent 55%),
    linear-gradient(135deg, #EAF2EA, #F4F1E4);
}
.panel .frame { box-shadow: 0 18px 50px rgba(18, 61, 46, .18); }
.row-flip .panel {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(201, 162, 39, .22), transparent 55%),
    radial-gradient(120% 90% at 100% 100%, rgba(19, 92, 19, .20), transparent 55%),
    linear-gradient(225deg, #EAF2EA, #F4F1E4);
}
.card .icon svg { display: block; }
.section-tint .row-text h3 { color: var(--forest); }
