/* Landing page - vibrant fintech (light, indigo/violet) */
:root {
    --bg: #f6f7fc; --surface: #fff; --soft: #f1f2f9; --line: #e5e7f1;
    --ink: #101327; --ink-2: #4a5070; --muted: #8a90a8;
    --grad: linear-gradient(135deg, var(--theme-primary), var(--theme-accent));
    --grad-soft: linear-gradient(135deg, color-mix(in srgb, var(--theme-primary) 12%, #fff), color-mix(in srgb, var(--theme-accent) 12%, #fff));
    --ok: #10b981;
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-num: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    --shadow: 0 1px 2px rgba(16,19,39,.04), 0 10px 30px rgba(16,19,39,.07);
    --shadow-lg: 0 24px 60px rgba(52,40,160,.2);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.landing { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { letter-spacing: -.03em; margin: 0; }
.l-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn-l { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 14px; font-weight: 700; font-size: 14.5px; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: transform .12s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn-l:active { transform: scale(.98); }
.btn-l-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--theme-primary) 35%, transparent); }
.btn-l-primary:hover { box-shadow: 0 14px 30px color-mix(in srgb, var(--theme-primary) 45%, transparent); }
.btn-l-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-l-ghost:hover { border-color: var(--theme-primary); color: var(--theme-primary); }
.btn-l-light { background: #fff; color: var(--theme-primary); }
.btn-l-lg { padding: 15px 26px; font-size: 15.5px; border-radius: 16px; }

/* Nav */
.l-nav { position: sticky; top: 0; z-index: 50; transition: background .2s, box-shadow .2s; }
.l-nav.scrolled { background: rgba(255,255,255,.88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.l-nav-inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.l-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.l-brand img { width: 36px; height: 36px; border-radius: 11px; object-fit: cover; box-shadow: 0 6px 16px color-mix(in srgb, var(--theme-primary) 30%, transparent); }
.l-links { display: flex; gap: 4px; margin-left: 12px; }
.l-links a { padding: 8px 13px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.l-links a:hover { background: var(--soft); color: var(--ink); }
.l-cta { margin-left: auto; display: flex; gap: 8px; }
@media (max-width: 900px) { .l-links { display: none; } .l-cta .btn-l-ghost { display: none; } }

/* Hero */
.l-hero { position: relative; padding: 56px 0 90px; overflow: hidden; }
.l-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; }
.l-blob.b1 { width: 520px; height: 520px; background: color-mix(in srgb, var(--theme-primary) 45%, transparent); top: -220px; left: -160px; }
.l-blob.b2 { width: 460px; height: 460px; background: color-mix(in srgb, var(--theme-accent) 45%, transparent); bottom: -220px; right: -120px; }
.l-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.l-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 700; color: var(--ink-2); box-shadow: var(--shadow); }
.l-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(16,185,129,.18); }
.l-hero h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.04; font-weight: 800; margin: 20px 0 18px; }
.lede { font-size: 17px; color: var(--ink-2); max-width: 560px; }
.l-hero-ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.l-hero-facts { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.l-hero-facts div { display: flex; flex-direction: column; }
.l-hero-facts b { font-family: var(--font-num); font-size: 26px; font-weight: 700; }
.l-hero-facts span { font-size: 13px; color: var(--muted); font-weight: 600; }

.l-phone { position: relative; background: linear-gradient(160deg, #ffffffcc, #ffffff99); border: 1px solid #fff; backdrop-filter: blur(10px); border-radius: 34px; padding: 18px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 12px; max-width: 380px; justify-self: center; width: 100%; transform: rotate(2deg); }
.l-phone-card { background: var(--surface); border-radius: 20px; padding: 16px 18px; box-shadow: var(--shadow); }
.l-phone-card small { color: var(--muted); font-size: 12px; font-weight: 600; }
.l-balance { background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.l-balance::after { content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.12); right: -60px; top: -80px; }
.l-balance small { color: rgba(255,255,255,.8); }
.l-balance b { display: block; font-family: var(--font-num); font-size: 32px; letter-spacing: -.03em; margin: 2px 0 8px; }
.l-today { display: inline-block; background: #fff; color: var(--ok); font-weight: 800; font-size: 12px; padding: 5px 10px; border-radius: 999px; }
.l-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; }
.l-green { color: var(--ok); font-weight: 800; font-family: var(--font-num); }
.l-bar { height: 8px; border-radius: 9px; background: var(--soft); margin: 10px 0 6px; overflow: hidden; }
.l-bar i { display: block; height: 100%; background: var(--grad); border-radius: 9px; }
.l-feed { display: flex; flex-direction: column; gap: 10px; }
.l-feed .l-row span:nth-child(2) { flex: 1; font-weight: 600; }
.l-ico { width: 30px; height: 30px; border-radius: 10px; background: #e8f8f1; color: var(--ok); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.l-note { text-align: center; font-size: 11.5px; color: var(--muted); }
@media (max-width: 900px) { .l-hero-grid { grid-template-columns: 1fr; gap: 40px; } .l-phone { transform: none; } .l-hero { padding-top: 28px; } }

/* Sections */
.l-section { padding: 90px 0; }
.l-tint { background: linear-gradient(180deg, #fff, var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.l-head { text-align: center; max-width: 640px; margin: 0 auto 46px; }
.l-head h2, .l-split h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; margin-top: 12px; line-height: 1.12; }
.l-head p { color: var(--ink-2); margin: 12px 0 0; }
.l-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--theme-primary); background: var(--grad-soft); padding: 6px 12px; border-radius: 999px; }

.l-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.l-step { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.l-step .n { width: 44px; height: 44px; border-radius: 14px; background: var(--grad); color: #fff; font-weight: 800; font-family: var(--font-num); font-size: 19px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; box-shadow: 0 8px 18px color-mix(in srgb, var(--theme-primary) 30%, transparent); }
.l-step h3 { font-size: 18px; margin-bottom: 8px; }
.l-step p { color: var(--ink-2); font-size: 14.5px; margin: 0; }
@media (max-width: 1000px) { .l-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .l-steps { grid-template-columns: 1fr; } }

.l-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.l-plan { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.l-plan.featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); }
.l-plan-badge { position: absolute; top: -13px; left: 26px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 5px 12px; border-radius: 999px; }
.l-plan h3 { font-size: 19px; }
.l-plan-desc { color: var(--muted); font-size: 13.5px; margin: 4px 0 0; }
.l-plan-roi { font-family: var(--font-num); font-size: 54px; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-top: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.l-plan-sub { color: var(--muted); font-weight: 600; font-size: 13.5px; margin-top: 4px; }
.l-plan ul { list-style: none; padding: 0; margin: 22px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.l-plan li { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.l-plan li b { color: var(--ink); }
.l-plan .btn-l { margin-top: auto; }

.l-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.l-split .lede { margin: 16px 0 22px; }
@media (max-width: 900px) { .l-split { grid-template-columns: 1fr; gap: 36px; } }
.l-checks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.l-checks li { display: flex; gap: 12px; font-weight: 600; color: var(--ink-2); }
.l-checks li::before { content: '✓'; flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px; background: var(--grad); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

.l-match { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px; }
.l-match-card { background: var(--grad); color: #fff; border-radius: 20px; padding: 18px 20px; }
.l-match-card small { opacity: .85; font-weight: 600; }
.l-match-card b { display: block; font-family: var(--font-num); font-size: 34px; }
.l-match-lines { display: flex; flex-direction: column; gap: 10px; padding-left: 22px; border-left: 3px dashed color-mix(in srgb, var(--theme-primary) 35%, transparent); margin-left: 18px; }
.l-match-to { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; background: var(--soft); border-radius: 16px; padding: 12px 16px; }
.l-match-to span { font-weight: 700; }
.l-match-to b { font-family: var(--font-num); font-size: 18px; text-align: right; }
.l-match-to i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ok); grid-column: 1 / -1; }
.l-match-to i.wait { color: #d97706; }

.l-levels { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px; }
.l-level { display: grid; grid-template-columns: 74px 1fr 56px; align-items: center; gap: 14px; font-weight: 700; font-size: 14px; }
.l-level b { font-family: var(--font-num); text-align: right; color: var(--theme-primary); }
.l-level-bar { height: 12px; border-radius: 9px; background: var(--soft); overflow: hidden; }
.l-level-bar i { display: block; height: 100%; background: var(--grad); border-radius: 9px; }

.l-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.l-trust-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow); }
.l-trust-card .i { font-size: 26px; width: 52px; height: 52px; border-radius: 16px; background: var(--grad-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.l-trust-card h3 { font-size: 17px; margin-bottom: 6px; }
.l-trust-card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
@media (max-width: 900px) { .l-trust { grid-template-columns: 1fr; } }

.l-faq-wrap { max-width: 800px; }
.l-faq { display: flex; flex-direction: column; gap: 12px; }
.l-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 4px 22px; box-shadow: var(--shadow); }
.l-faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.l-faq summary::-webkit-details-marker { display: none; }
.l-faq summary::after { content: '+'; font-size: 22px; line-height: 1; color: var(--theme-primary); transition: transform .2s; }
.l-faq details[open] summary::after { transform: rotate(45deg); }
.l-faq details p { margin: 0 0 18px; color: var(--ink-2); }

.l-final { background: var(--grad); color: #fff; border-radius: 34px; padding: 64px 28px; text-align: center; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.l-final::before { content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.1); top: -220px; right: -120px; }
.l-final h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; position: relative; }
.l-final p { opacity: .85; margin: 10px 0 26px; position: relative; }
.l-final .btn-l { position: relative; }

.l-footer { padding: 46px 0 34px; border-top: 1px solid var(--line); background: var(--surface); }
.l-footer-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.l-footer-links { display: flex; gap: 20px; flex-wrap: wrap; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.l-footer-links a:hover { color: var(--theme-primary); }
.l-footer-disclaimer { color: var(--muted); font-size: 12.5px; margin: 24px 0; max-width: 780px; }
.l-footer-bottom { color: var(--muted); font-size: 13px; }
.l-dev-credit { background: none; border: none; color: var(--theme-primary); font-weight: 700; cursor: pointer; font-family: inherit; font-size: 13px; padding: 0; }

/* Contact modal */
.l-modal-overlay { display: none; position: fixed; inset: 0; z-index: 100; background: rgba(16,19,39,.45); backdrop-filter: blur(3px); align-items: center; justify-content: center; padding: 18px; }
.l-modal-overlay.open { display: flex; }
.l-modal-box { width: 100%; max-width: 480px; background: var(--surface); border-radius: 26px; padding: 30px; position: relative; box-shadow: var(--shadow-lg); max-height: 92vh; overflow-y: auto; }
.l-modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border-radius: 999px; border: none; background: var(--soft); font-size: 20px; cursor: pointer; }
.l-modal-title { font-size: 22px; margin: 12px 0 6px; }
.l-modal-sub { color: var(--ink-2); font-size: 14px; margin: 0 0 18px; }
.l-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.l-form-group { margin-bottom: 14px; }
.l-form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.l-form-group input, .l-form-group textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid transparent; background: var(--soft); font-family: inherit; font-size: 15px; color: var(--ink); }
.l-form-group input:focus, .l-form-group textarea:focus { outline: none; border-color: var(--theme-primary); background: #fff; }
.l-form-error { background: #fde8ee; color: #9f1239; border-radius: 12px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 12px; }
.l-success-tick { width: 68px; height: 68px; border-radius: 22px; background: #e8f8f1; color: var(--ok); margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.l-success-tick svg { width: 34px; height: 34px; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Install prompt + alerts: same card design as inside the app */
.nt-overlay { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; padding: 60px 20px 20px; background: rgba(16,19,39,.42); backdrop-filter: blur(4px); opacity: 0; transition: opacity .18s ease; }
.nt-overlay.open { opacity: 1; }
.nt-card { position: relative; width: 100%; max-width: 360px; background: linear-gradient(180deg, #ffffff, #f7f8fd); border-radius: 26px; padding: 58px 26px 24px; text-align: center; box-shadow: 0 2px 0 #fff inset, 0 24px 60px rgba(16,19,39,.22), 0 6px 18px rgba(16,19,39,.08); transform: translateY(14px) scale(.96); transition: transform .22s cubic-bezier(.2,.9,.3,1.2); }
.nt-overlay.open .nt-card { transform: none; }
.nt-bubble { position: absolute; top: -42px; left: 50%; transform: translateX(-50%); width: 84px; height: 84px; border-radius: 50%; background: #fff; box-shadow: 0 10px 26px rgba(16,19,39,.16), 0 0 0 6px rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; }
.nt-bubble-ico { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; position: relative; }
.nt-bubble-ico svg { width: 30px; height: 30px; }
.nt-bubble-ico::after { content: ''; position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: #ef4444; border: 2.5px solid #fff; display: none; }
.nt-success .nt-bubble-ico { background: linear-gradient(135deg, #34d399, #059669); }
.nt-error .nt-bubble-ico, .nt-danger .nt-bubble-ico { background: linear-gradient(135deg, #fb7185, #e11d48); }
.nt-warning .nt-bubble-ico { background: linear-gradient(135deg, #fcd34d, #f59e0b); }
.nt-info .nt-bubble-ico { background: linear-gradient(135deg, #fde68a, #f59e0b); }
.nt-info .nt-bubble-ico::after, .nt-warning .nt-bubble-ico::after { display: block; }
.nt-title { font-size: 23px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; color: var(--ink); }
.nt-msg { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0 auto 22px; max-width: 290px; white-space: pre-line; word-wrap: break-word; }
.nt-actions { display: flex; gap: 12px; justify-content: center; }
.nt-btn { min-width: 112px; padding: 11px 22px; border-radius: 999px; border: none; font-weight: 800; font-size: 14.5px; color: #fff; cursor: pointer; box-shadow: 0 6px 16px rgba(16,19,39,.18); transition: transform .12s, filter .15s; }
.nt-btn:hover { filter: brightness(1.06); }
.nt-btn:active { transform: scale(.96); }
.nt-btn-ok { background: linear-gradient(180deg, #2f7de1, #1d5fc0); }
.nt-btn-close { background: linear-gradient(180deg, #ef3b3b, #c81e1e); }
.nt-success .nt-btn-ok { background: linear-gradient(180deg, #22c55e, #15803d); }
.nt-warning .nt-btn-ok { background: linear-gradient(180deg, #2f7de1, #1d5fc0); }
.nt-danger .nt-btn-ok { background: linear-gradient(180deg, #ef3b3b, #c81e1e); }
.nt-danger .nt-btn-close { background: linear-gradient(180deg, #8a90a8, #646a85); }

