/* ============================================================
   paymybillz LP-1 — "Your bills. One clear view."
   Brand tokens sampled from paymybillz.com.au production CSS
   ============================================================ */

:root {
  --purple: #5b35ee;
  --purple-dark: #4328c4;
  --purple-light: #ede9fd;
  --green: #00d46a;
  --green-dark: #00a854;
  --green-light: #d0fae8;
  --amber: #f59e0b;
  --amber-light: #fef3c7;
  --navy: #1b2a4a;
  --bg: #f2f2f7;
  --card: #ffffff;
  --text: #111827;
  --text-2: #6b7280;
  --text-3: #9ca3af;
  --border: rgba(0, 0, 0, 0.07);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
  --radius: 16px;
  --pill: 100px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

/* ---------- Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--purple); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--purple-light);
  outline-offset: 2px;
  border-radius: 8px;
}
img, svg { display: block; }
h1, h2, h3 { line-height: 1.15; text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn {
  font-family: inherit;
  font-weight: 700;
  border: none;
  border-radius: var(--pill);
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-dark); box-shadow: var(--shadow-md); }
.btn-green { background: var(--green); color: var(--navy); }
.btn-green:hover { background: var(--green-dark); color: #fff; box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 242, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  background: var(--purple);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  padding: 7px 11px;
  border-radius: 10px;
  display: inline-flex;
}
.logo-mark .g { color: var(--green); }
.logo-mark.sm { font-size: 12px; padding: 5px 8px; border-radius: 8px; }
.logo-word { font-weight: 800; font-size: 21px; letter-spacing: -0.03em; color: var(--text); }
.logo-word .lp { color: var(--purple); }
.header-cta { font-size: 15px; }

/* ---------- Layout helpers ---------- */
.section-inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.section-tag {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--purple);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-light);
  color: var(--purple-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 7px 16px;
  border-radius: var(--pill);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(38px, 6.5vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 18px;
}
.hero-title .accent { color: var(--purple); }
.hero-sub {
  font-size: clamp(17px, 2.4vw, 20px);
  color: var(--text-2);
  max-width: 480px;
  margin-bottom: 28px;
}
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  padding: 10px 18px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store-icon { width: 26px; height: 26px; }
.store-sub { display: block; font-size: 11px; opacity: 0.75; line-height: 1.2; }
.store-main { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.hero-trust-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 32px;
}
.trust-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}
.email-fallback { max-width: 460px; }
.email-label { display: block; font-size: 14px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }
.email-row { display: flex; gap: 10px; }
.email-field {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: var(--pill);
  border: 1.5px solid var(--border);
  background: var(--card);
  color: var(--text);
}
.email-field:focus { border-color: var(--purple); outline: none; box-shadow: 0 0 0 3px var(--purple-light); }
.email-success, .email-error { font-size: 14px; font-weight: 600; margin-top: 10px; }
.email-success { color: var(--green-dark); }
.email-error { color: #ef4444; }

/* ---------- Phone mockup ---------- */
.hero-visual { display: flex; justify-content: center; }
.phone { position: relative; width: min(330px, 86vw); }
.phone-frame {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 38px;
  padding: 14px 14px 0;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.phone-notch {
  width: 96px; height: 22px;
  background: var(--navy);
  border-radius: 100px;
  margin: 0 auto 12px;
}
.phone-statusbar {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-2);
  padding: 0 8px 10px;
}
.app-top { display: flex; justify-content: space-between; align-items: flex-start; padding: 2px 6px 12px; }
.greet-h { font-size: 16px; font-weight: 800; letter-spacing: -0.02em; }
.greet-s { font-size: 12px; color: var(--text-2); }
.scan-btn {
  background: var(--purple);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--pill);
}
.app-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--amber-light);
  color: #92400e;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 12px;
  margin: 0 0 14px;
}
.app-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-2);
  margin: 0 6px 8px;
}
.bill-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 6px;
  border-top: 1px solid var(--border);
}
.bill-ico {
  width: 38px; height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex: none;
}
.ico-purple { background: var(--purple-light); }
.ico-green { background: var(--green-light); }
.ico-amber { background: var(--amber-light); }
.bill-info { flex: 1; min-width: 0; }
.bill-name { display: block; font-size: 14px; font-weight: 700; letter-spacing: -0.01em; }
.bill-due { display: block; font-size: 12px; color: var(--text-2); }
.bill-right { text-align: right; }
.bill-amt { display: block; font-size: 14px; font-weight: 800; letter-spacing: -0.01em; }
.bill-amt-paid { color: var(--text-3); text-decoration: line-through; text-decoration-thickness: 1px; }
.badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--pill);
  margin-top: 3px;
}
.badge-amber { background: var(--amber-light); color: #92400e; }
.badge-neutral { background: var(--purple-light); color: var(--purple-dark); }
.badge-green { background: var(--green-light); color: var(--green-dark); }
.phone-nav {
  display: flex;
  justify-content: space-around;
  padding: 10px 4px 14px;
  border-top: 1px solid var(--border);
  margin-top: 6px;
}
.nav-item {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-3);
  text-align: center;
}
.nav-item.active { color: var(--purple); font-weight: 700; }
.nav-ico { display: block; font-size: 16px; margin-bottom: 2px; }
.sample-tag {
  position: absolute;
  top: -13px;
  right: 12px;
  background: var(--navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--pill);
  box-shadow: var(--shadow);
}

/* ---------- Steps ---------- */
.steps { padding: 64px 0; }
.steps-grid { display: grid; gap: 20px; }
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  position: relative;
  box-shadow: var(--shadow);
}
.step-num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 44px;
  font-weight: 800;
  color: var(--purple-light);
  letter-spacing: -0.04em;
  line-height: 1;
}
.step-ico {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}
.step-title { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.step-desc { font-size: 15px; color: var(--text-2); }

/* ---------- Proof ---------- */
.proof { padding: 64px 0; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proof-grid { display: grid; gap: 28px; }
.proof-card { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phone-sm .phone-frame { padding: 12px 12px 0; }
.phone-sm { width: min(280px, 82vw); }
.scan-label { margin-top: 4px; }
.scan-view {
  position: relative;
  background: var(--navy);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 14px;
}
.scan-corners span {
  position: absolute;
  width: 22px; height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.55);
}
.scan-corners span:nth-child(1) { top: 8px; left: 8px; border-right: none; border-bottom: none; border-radius: 6px 0 0 0; }
.scan-corners span:nth-child(2) { top: 8px; right: 8px; border-left: none; border-bottom: none; border-radius: 0 6px 0 0; }
.scan-corners span:nth-child(3) { bottom: 8px; left: 8px; border-right: none; border-top: none; border-radius: 0 0 0 6px; }
.scan-corners span:nth-child(4) { bottom: 8px; right: 8px; border-left: none; border-top: none; border-radius: 0 0 6px 0; }
.scan-bill {
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  padding: 14px 16px;
  max-width: 190px;
  margin: 0 auto;
}
.mini-bill { text-align: center; }
.mini-bill-name { display: block; font-size: 11px; font-weight: 700; color: var(--text-2); }
.mini-bill-amt { display: block; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.mini-bill-due { display: block; font-size: 11px; color: var(--text-2); }
.scan-result { padding: 0 4px 16px; }
.result-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-2);
  padding: 9px 4px;
  border-top: 1px solid var(--border);
}
.result-row strong { color: var(--text); }
.scan-save { width: 100%; margin-top: 12px; font-size: 14px; padding: 11px; }
.week-strip { display: flex; gap: 6px; padding: 10px 4px 16px; }
.wk {
  flex: 1;
  text-align: center;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-3);
  background: var(--bg);
  border-radius: 8px;
  padding: 7px 0;
}
.wk-due { background: var(--amber-light); color: #92400e; }
.wk-paid { background: var(--green-light); color: var(--green-dark); }
.notif-label { margin-top: 4px; }
.notif { display: flex; flex-direction: column; gap: 10px; padding: 0 4px; }
.notif-row {
  display: flex;
  gap: 12px;
  background: var(--bg);
  border-radius: 16px;
  padding: 12px 14px;
}
.notif-row-2 { opacity: 0.85; }
.notif-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex: none;
}
.notif-title { font-size: 12px; font-weight: 700; }
.notif-body { font-size: 13px; color: var(--text-2); }
.notif-time { font-size: 11px; color: var(--text-2); margin-top: 2px; }
.notif-hint { font-size: 12px; color: var(--text-2); padding: 4px 6px 18px; }
.proof-caption { font-size: 15px; color: var(--text-2); max-width: 320px; text-align: center; }
.proof-caption strong { color: var(--text); font-weight: 800; }

/* ---------- Feeling ---------- */
.feeling { padding: 72px 0; }
.feeling-sub {
  font-size: clamp(16px, 2.2vw, 19px);
  color: var(--text-2);
  max-width: 640px;
  margin: -20px 0 40px;
}
.feeling-sub strong { color: var(--text); }
.quote-grid { display: grid; gap: 20px; }
.quote-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.quote-stars { color: var(--amber); font-size: 16px; letter-spacing: 3px; margin-bottom: 12px; }
.quote-text { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 18px; }
.quote-footer { display: flex; align-items: center; gap: 12px; }
.quote-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.av-green { background: var(--green-dark); }
.quote-who { font-size: 14px; font-weight: 700; color: var(--text-2); }

/* ---------- FAQ ---------- */
.faq { padding: 64px 0; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.faq-inner { max-width: 720px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.faq-chevron { color: var(--purple); transition: transform 0.25s ease; flex: none; }
.faq-q[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-a { padding: 0 22px; }
.faq-a p { font-size: 15px; color: var(--text-2); padding-bottom: 20px; }
.faq-a a { font-weight: 700; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 88px 0; text-align: center; }
.cta-chip {
  display: inline-block;
  background: var(--purple-light);
  color: var(--purple-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: var(--pill);
  margin-bottom: 18px;
}
.cta-title {
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.cta-sub { font-size: 17px; color: var(--text-2); margin-bottom: 28px; }
.cta-inner .store-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #fff; padding: 48px 0 96px; }
.footer-inner { max-width: 1120px; margin: 0 auto; padding: 0 20px; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo-word { color: #fff; }
.footer-brand .logo-word .lp { color: var(--green); }
.footer-desc { font-size: 14px; color: rgba(255, 255, 255, 0.65); margin-bottom: 20px; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 20px; }
.footer-links a { color: rgba(255, 255, 255, 0.85); font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: var(--green); }
.footer-copy { font-size: 12px; color: rgba(255, 255, 255, 0.45); }

/* ---------- Sticky mobile bar ---------- */
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  z-index: 60;
  transform: translateY(110%);
  transition: transform 0.3s ease;
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-inner { max-width: 480px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.sticky-brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.sticky-word { font-weight: 800; font-size: 16px; letter-spacing: -0.02em; }
.sticky-cta { font-size: 14px; padding: 11px 20px; flex: none; }

/* ---------- Reveal animation ---------- */
.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .proof-grid { grid-template-columns: repeat(3, 1fr); }
  .quote-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .hero { padding: 72px 0 88px; }
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 56px; }
  .hero-visual { justify-content: flex-end; }
  .sticky-bar { display: none; }
  .footer-inner { text-align: left; }
  .footer-links { justify-content: flex-start; }
}
