:root {
  --bg: #f7faf6;
  --surface: #ffffff;
  --tint: #eef5ec;
  --ink: #0f1f14;
  --muted: #5b6b5e;
  --line: #e2eae1;
  --green: #16a34a;
  --green-dark: #0e7a37;
  --lime: #bef264;
  --dark: #0c1f13;
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(15,31,20,.25);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 .6rem; }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
p { margin: 0 0 1rem; }
a { color: inherit; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4.5rem 0; }
.section-tint { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 800; color: var(--green-dark); margin-bottom: .5rem; }
.kicker-light { color: var(--lime); }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247,250,246,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.25rem; text-decoration: none; }
.brand em { font-style: normal; color: var(--green); }
.brand-icon { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 12px; }
.nav-links { display: flex; gap: 1.25rem; margin-left: 1rem; }
.nav-links a { text-decoration: none; font-weight: 600; color: var(--muted); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: .6rem; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.15rem; border-radius: 999px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 25px -10px rgba(22,163,74,.7); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }

/* HERO */
.hero { padding: 3.5rem 0 2.5rem; background: radial-gradient(1000px 400px at 80% -10%, #dcfce7 0%, transparent 60%), radial-gradient(800px 400px at 0% 0%, #fef9c3 0%, transparent 55%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; font-size: .85rem; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px #dcfce7; }
.hl { color: var(--green-dark); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.5rem 0; }
.hero-actions.center { justify-content: center; }
.store-btn { display: inline-flex; align-items: center; gap: .7rem; background: var(--ink); color: #fff; padding: .65rem 1.1rem; border-radius: 14px; text-decoration: none; min-width: 180px; }
.store-btn span { display: grid; line-height: 1.15; }
.store-btn small { font-size: .72rem; opacity: .7; }
.store-btn strong { font-size: 1rem; }
.store-btn-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.hero-stats { display: flex; gap: 2rem; margin: 1.5rem 0 0; }
.hero-stats dt { font-size: 1.5rem; font-weight: 800; }
.hero-stats dd { margin: 0; color: var(--muted); font-size: .9rem; }

/* Phone mockup */
.hero-visual { position: relative; display: grid; justify-items: center; }
.phone { width: 280px; background: #0b1510; border-radius: 44px; padding: 12px; box-shadow: var(--shadow); transform: rotate(3deg); }
.phone-notch { width: 110px; height: 26px; background: #0b1510; border-radius: 0 0 16px 16px; margin: 0 auto; position: relative; z-index: 2; }
.phone-screen { background: linear-gradient(180deg,#f0fdf4,#fff); border-radius: 34px; padding: 1.1rem; min-height: 440px; }
.phone-app { font-weight: 800; text-align: center; }
.phone-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1rem; text-align: center; margin: .8rem 0; }
.phone-emoji { font-size: 3rem; }
.phone-answers { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.phone-answers span { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .6rem; text-align: center; font-weight: 700; }
.phone-answers .active { background: var(--green); color: #fff; border-color: var(--green); }
.phone-bar { height: 8px; background: var(--line); border-radius: 99px; margin-top: .9rem; overflow: hidden; }
.phone-bar span { display: block; height: 100%; background: var(--green); }
.phone-score { text-align: center; font-size: .85rem; color: var(--muted); margin-top: .6rem; }
.float-card { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .6rem .9rem; font-weight: 700; font-size: .88rem; box-shadow: var(--shadow); }
.fc1 { top: 22%; left: 0; transform: rotate(-4deg); }
.fc2 { bottom: 18%; right: 0; transform: rotate(3deg); }

.brands { display: flex; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.brands span { color: var(--muted); font-weight: 600; }
.brands ul { display: flex; gap: .6rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.brands li { background: #fff; border: 1px solid var(--line); padding: .35rem .9rem; border-radius: 999px; font-weight: 700; }

/* CARDS / GRIDS */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 10px 30px -18px rgba(0,0,0,.25); }
.info-card.alt { background: var(--dark); color: #fff; border-color: var(--dark); }
.info-card.alt p { color: #cbd5cb; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 2rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.icon { width: 48px; height: 48px; display: grid; place-items: center; font-size: 1.5rem; background: var(--tint); border-radius: 14px; margin-bottom: .9rem; }
.card h3 { margin-bottom: .4rem; font-size: 1.1rem; }
.card p { color: var(--muted); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; list-style: none; padding: 0; margin: 2rem 0; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; display: grid; gap: .25rem; }
.steps strong { font-size: 1.05rem; }
.steps span { color: var(--muted); }

/* DEMO */
.demo { background: var(--dark); color: #fff; border-radius: 24px; padding: 1.75rem; margin-top: 1rem; box-shadow: var(--shadow); }
.demo .kicker { color: var(--lime); }
.demo-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.demo-head h3 { margin: 0; font-size: 1.5rem; }
.demo-score { display: flex; gap: .6rem; }
.demo-score span { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); padding: .45rem .9rem; border-radius: 999px; font-weight: 700; }
.demo-card { background: #fff; color: var(--ink); border-radius: 18px; padding: 1.5rem; margin-top: 1.25rem; text-align: center; }
.demo-emoji { font-size: 3.5rem; }
.demo-q { font-size: 1.1rem; }
.demo-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin-top: 1rem; }
.demo-opt { padding: .9rem; font-size: 1.15rem; font-weight: 800; border-radius: 14px; border: 2px solid var(--line); background: #f8faf8; cursor: pointer; }
.demo-opt:hover { border-color: var(--green); background: #f0fdf4; }
.demo-hint, .demo-note { color: var(--muted); font-size: .9rem; }
.demo-note { color: #a9bcae; margin: 1rem 0 0; text-align: center; }
.demo-hint { margin-top: 1rem; }
.demo-feedback { font-size: 1.1rem; font-weight: 700; border-radius: 14px; padding: 1rem; }
.demo-feedback.ok { background: #dcfce7; color: #166534; }
.demo-feedback.fail { background: #fee2e2; color: #991b1b; }

/* DARK STATS */
.section-dark { background: var(--dark); color: #fff; }
.muted-light { color: #b8c7bb; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.checklist { list-style: none; padding: 0; display: grid; gap: .6rem; margin-top: 1.25rem; }
.checklist li { padding-left: 1.8rem; position: relative; font-weight: 600; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.35rem; height: 1.35rem; display: grid; place-items: center; background: var(--lime); color: var(--dark); border-radius: 50%; font-size: .8rem; font-weight: 900; }
.chart-card { background: #12291a; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; padding: 1.5rem; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: .6rem; align-items: end; height: 180px; margin: 1rem 0; }
.bars div { background: rgba(255,255,255,.15); border-radius: 10px; height: var(--h); display: flex; align-items: end; justify-content: center; padding-bottom: .5rem; font-size: .75rem; min-height: 44px; }
.bars .top { background: var(--lime); color: var(--dark); font-weight: 800; }
.chart-foot { margin: 0; color: #d6e2d8; }
.chart-foot strong { color: var(--lime); }

/* QUOTES */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.stars { color: #f59e0b; letter-spacing: .15em; }
.quote blockquote { margin: 0; font-size: 1rem; }
.quote figcaption { font-weight: 800; color: var(--muted); }
.figcap, .quote figcaption::before { content: "— "; }

/* CTA */
.cta { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 60%, var(--dark) 100%); color: #fff; border-radius: 28px; padding: 3.5rem 2rem; text-align: center; box-shadow: var(--shadow); }
.cta p { color: #dcfce7; }
.cta .small a { color: #fff; font-weight: 700; }

/* FAQ */
.narrow { max-width: 760px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: .7rem; }
summary { font-weight: 700; cursor: pointer; }
details p { color: var(--muted); margin: .6rem 0 0; }

/* FOOTER */
.footer { background: var(--dark); color: #fff; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.brand-footer { font-size: 1.2rem; font-weight: 800; display: flex; align-items: center; gap: .5rem; }
.brand-footer .brand-icon { width: 32px; height: 32px; background: #fff; color: var(--dark); }
.brand-footer em { font-style: normal; color: var(--lime); }
.muted { color: #9db3a1; }
.foot-head { font-weight: 800; margin-bottom: .5rem; }
.footer a { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 2rem; padding-top: 1.25rem; color: #9db3a1; font-size: .9rem; }

#blazor-error-ui { background: #fee2e2; color: #7f1d1d; padding: .8rem 1.2rem; position: fixed; bottom: 0; left: 0; right: 0; display: none; z-index: 100; }
#blazor-error-ui .reload { font-weight: 700; }

@media (max-width: 900px) {
  .hero-grid, .two-col, .stat-grid { grid-template-columns: 1fr; }
  .grid-3, .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .fc1 { left: 8px; } .fc2 { right: 8px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 3rem 0; }
}
@media (max-width: 560px) {
  .demo-options { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.25rem; }
}
