/* BizPOS Cloud — public website */
:root {
	--ink: #0b1626; --ink-2: #33475b; --muted: #64748b; --line: #e5eaf1; --bg: #f6f8fb; --panel: #fff;
	--brand: #1f6fb8; --brand-2: #14b8a6; --brand-d: #0b3b6b; --accent: #ff7a1a; --green: #0f9b6c;
	--r: 18px; --shadow: 0 1px 2px rgba(11,22,38,.05), 0 10px 30px -12px rgba(11,22,38,.15);
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.6 var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid rgba(31,111,184,.45); outline-offset: 2px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid transparent; font: 650 .98rem/1 var(--font); cursor: pointer; transition: transform .12s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), #2b8fd8); color: #fff; box-shadow: 0 12px 24px -12px rgba(31,111,184,.8); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 12px 24px -12px rgba(255,122,26,.8); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; border-radius: 14px; }
.btn-block { width: 100%; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.82); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgba(229,234,241,.8); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); letter-spacing: -.02em; }
.logo img { width: 38px; height: 38px; }
.logo span { color: var(--brand); font-weight: 600; }
.site-nav { display: flex; gap: 6px; margin-left: 18px; }
.site-nav a { color: var(--ink-2); font-weight: 550; padding: 8px 12px; border-radius: 10px; font-size: .95rem; }
.site-nav a:hover { background: var(--bg); color: var(--ink); }
.site-head .spacer { flex: 1; }
.head-cta { display: flex; gap: 10px; align-items: center; }
.head-cta .btn { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.nav-toggle { display: none; border: 0; background: none; padding: 8px; cursor: pointer; color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 80px 0 90px; background:
	radial-gradient(800px 420px at 85% -10%, rgba(20,184,166,.18), transparent 60%),
	radial-gradient(700px 500px at -10% 30%, rgba(31,111,184,.14), transparent 60%), linear-gradient(180deg, #f7fbff, #fff); }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow); }
.eyebrow b { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; padding: 3px 9px; border-radius: 999px; font-size: .75rem; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 850; margin: 22px 0 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(120deg, var(--brand), var(--brand-2) 60%, #22c55e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 560px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.trust span { display: inline-flex; gap: 6px; align-items: center; }
.trust .icon { color: var(--green); width: 18px; height: 18px; }

/* Device mock */
.mock { position: relative; }
.mock__win { background: #0b1626; border-radius: 22px; padding: 10px; box-shadow: 0 50px 100px -40px rgba(11,22,38,.55), 0 0 0 1px rgba(255,255,255,.06) inset; transform: perspective(1400px) rotateY(-8deg) rotateX(4deg); }
.mock__bar { display: flex; gap: 6px; padding: 4px 8px 10px; align-items: center; }
.mock__bar i { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.mock__bar b { margin-left: auto; color: #94a3b8; font-size: .75rem; font-weight: 600; }
.mock__screen { background: #eef1f5; border-radius: 14px; display: grid; grid-template-columns: 1fr 200px; overflow: hidden; min-height: 330px; }
.mock__left { padding: 12px; display: grid; gap: 10px; align-content: start; }
.mock__search { height: 34px; background: #fff; border-radius: 10px; border: 2px solid var(--mc, var(--brand)); display: flex; align-items: center; padding: 0 10px; font-size: .75rem; color: var(--muted); gap: 6px; }
.mock__cats { display: flex; gap: 6px; }
.mock__cats span { font-size: .68rem; padding: 4px 9px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-weight: 600; }
.mock__cats span:first-child { background: #0b1626; color: #fff; }
.mock__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock__tiles div { background: #fff; border-radius: 10px; padding: 9px; font-size: .7rem; font-weight: 650; display: grid; gap: 14px; border: 1px solid var(--line); }
.mock__tiles div i { font-style: normal; color: var(--mc, var(--brand)); font-weight: 800; }
.mock__cart { background: #fff; padding: 12px; display: flex; flex-direction: column; gap: 8px; font-size: .72rem; border-left: 1px solid var(--line); }
.mock__cart .l { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.mock__cart .tot { margin-top: auto; font-size: 1.1rem; font-weight: 850; display: flex; justify-content: space-between; }
.mock__cart .pay { background: #0f9b6c; color: #fff; border-radius: 10px; text-align: center; padding: 10px; font-weight: 800; }
.mock__chip { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; display: flex; gap: 10px; align-items: center; font-size: .82rem; font-weight: 650; border: 1px solid var(--line); animation: float 6s ease-in-out infinite; }
.mock__chip small { display: block; color: var(--muted); font-weight: 500; font-size: .72rem; }
.mock__chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.mock__chip.c1 { left: -26px; bottom: 40px; }
.mock__chip.c2 { right: -14px; top: -18px; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Sections */
section { padding: 90px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sec-head .tag { display: inline-block; font-size: .8rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 820; }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.bg-soft { background: var(--bg); }

/* Business types */
.types { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.type { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; transition: transform .15s, box-shadow .2s, border-color .2s; }
.type:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.type .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.type b { display: block; font-size: .98rem; line-height: 1.25; }
.type small { color: var(--muted); font-size: .84rem; display: block; margin-top: 4px; line-height: 1.4; }
.ic.retail { background: #e9f2fb; color: #1f6fb8; } .ic.restaurant { background: #fff1e6; color: #e2620b; } .ic.wholesale { background: #eef2f7; color: #475569; } .ic.services { background: #f1edfd; color: #6a4bd6; }
.mode-pill { display: inline-block; margin-top: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; }
.mode-pill.retail { background: #e9f2fb; color: #1f6fb8; } .mode-pill.restaurant { background: #fff1e6; color: #c2540a; } .mode-pill.wholesale { background: #eef2f7; color: #475569; } .mode-pill.services { background: #f1edfd; color: #6a4bd6; }
.type-filter { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.type-filter button { border: 1px solid var(--line); background: #fff; padding: 9px 16px; border-radius: 99px; font: 650 .9rem var(--font); cursor: pointer; color: var(--ink-2); }
.type-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Modes */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mode { border-radius: var(--r); padding: 26px; background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.mode::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.mode .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); }
.mode h3 { font-size: 1.2rem; }
.mode ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; font-size: .92rem; color: var(--ink-2); }
.mode li { display: flex; gap: 8px; align-items: flex-start; }
.mode li .icon { width: 17px; height: 17px; color: var(--c); margin-top: 3px; }

/* Features */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { padding: 26px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.feat .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; margin-bottom: 16px; }
.feat h3 { font-size: 1.08rem; }
.feat p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Themes strip */
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sw { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.sw .top { height: 70px; display: flex; }
.sw .top i { width: 32%; background: var(--s); }
.sw .top b { flex: 1; background: #f1f4f8; display: grid; place-items: center; }
.sw .top b span { width: 60%; height: 14px; border-radius: 6px; background: var(--p); }
.sw small { display: block; padding: 8px 10px; font-weight: 650; font-size: .8rem; }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .icon { color: var(--green); margin-top: 3px; }

/* Modules */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mod { display: flex; gap: 14px; padding: 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.mod .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff4ea; color: var(--accent); flex: none; }
.mod b { display: block; }
.mod p { color: var(--muted); font-size: .88rem; margin: 4px 0 6px; }
.mod .price { font-weight: 750; font-size: .88rem; color: var(--ink); }

/* Pricing */
.bill-toggle { display: inline-flex; padding: 5px; background: #eef2f7; border-radius: 99px; gap: 4px; margin: 0 auto 36px; }
.bill-toggle button { border: 0; background: none; padding: 10px 20px; border-radius: 99px; font: 700 .92rem var(--font); cursor: pointer; color: var(--ink-2); }
.bill-toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.bill-toggle em { font-style: normal; color: var(--green); font-size: .78rem; margin-left: 4px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: stretch; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; position: relative; }
.plan.is-featured { border: 2px solid var(--brand); box-shadow: 0 30px 60px -30px rgba(31,111,184,.45); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: .75rem; font-weight: 750; padding: 5px 14px; border-radius: 99px; letter-spacing: .04em; }
.plan h3 { font-size: 1.25rem; }
.plan .desc { color: var(--muted); font-size: .92rem; min-height: 44px; }
.plan .amt { font-size: 3rem; font-weight: 850; letter-spacing: -.04em; line-height: 1; margin: 14px 0 4px; }
.plan .amt small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .save { color: var(--green); font-weight: 650; font-size: .85rem; min-height: 1.4em; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; font-size: .93rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li .icon { color: var(--green); width: 18px; height: 18px; margin-top: 2px; }
.plan li.off { color: #94a3b8; }
.plan li.off .icon { color: #cbd5e1; }
.plan .btn { margin-top: auto; }
.price-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 22px; }
.pay-logos { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
.pay-logos span { padding: 7px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .85rem; color: var(--ink-2); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--ink-2); }

/* CTA band + footer */
.cta-band { padding: 0 0 90px; }
.cta-band .box { border-radius: 28px; padding: 56px; color: #fff; background: radial-gradient(600px 300px at 90% 0%, rgba(20,184,166,.45), transparent 60%), linear-gradient(135deg, #0b3b6b, #0b1626); display: flex; gap: 30px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 8px; }
.cta-band p { color: #b6c7da; margin: 0; }
.site-foot { background: #0b1626; color: #94a3b8; padding: 50px 0 30px; font-size: .92rem; }
.site-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.site-foot .logo { color: #fff; }
.site-foot h4 { color: #fff; margin: 0 0 12px; font-size: .95rem; }
.site-foot a { color: #94a3b8; display: block; padding: 3px 0; }
.site-foot a:hover { color: #fff; }
.site-foot .legal { border-top: 1px solid rgba(255,255,255,.08); margin-top: 34px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Auth / signup */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1.1fr; }
.auth-side { background: radial-gradient(600px 400px at 100% 0%, rgba(20,184,166,.35), transparent 60%), linear-gradient(160deg, #0b3b6b, #0b1626); color: #fff; padding: 48px; display: flex; flex-direction: column; gap: 30px; }
.auth-side .logo { color: #fff; }
.auth-side .logo span { color: #7dd3fc; }
.auth-side h2 { font-size: 2.2rem; margin-top: auto; }
.auth-side p { color: #b6c7da; }
.auth-side ul { list-style: none; padding: 0; margin: 0 0 auto; display: grid; gap: 12px; }
.auth-side li { display: flex; gap: 10px; color: #dbe7f3; }
.auth-side li .icon { color: #5eead4; }
.auth-main { padding: 48px clamp(20px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; background: #fff; }
.auth-main .box { width: min(560px, 100%); margin: 0 auto; }
.auth-main h1 { font-size: 2rem; }
.form { display: grid; gap: 16px; }
.fld { display: grid; gap: 6px; }
.fld > span { font-weight: 650; font-size: .9rem; color: var(--ink-2); }
.fld small { color: var(--muted); font-size: .82rem; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, select { width: 100%; padding: 12px 14px; border: 1px solid #d5dde6; border-radius: 12px; font: inherit; color: var(--ink); background: #fff; }
input:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(31,111,184,.14); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); }
.alert { padding: 12px 16px; border-radius: 12px; font-weight: 550; display: flex; gap: 10px; align-items: flex-start; }
.alert-error { background: #fdecef; color: #a3173b; }
.alert-success { background: #e3f6ee; color: #0b6b4a; }
.alert-info { background: #e9f2fb; color: #134e85; }
.pw-wrap { position: relative; }
.pw-wrap button { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); cursor: pointer; padding: 6px; }
.type-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-height: 330px; overflow: auto; padding: 2px; }
.type-pick label { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px; cursor: pointer; display: flex; gap: 8px; align-items: center; font-size: .84rem; font-weight: 600; line-height: 1.25; transition: border-color .15s, background .15s; }
.type-pick label:hover { border-color: #b8c6d6; }
.type-pick input { position: absolute; opacity: 0; pointer-events: none; }
.type-pick label:has(input:checked) { border-color: var(--brand); background: #eef6fd; color: var(--brand-d); }
.type-pick .icon { color: var(--brand); width: 20px; height: 20px; }
.type-grp { grid-column: 1 / -1; font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.step-note { display: flex; gap: 10px; padding: 12px 14px; background: var(--bg); border-radius: 12px; font-size: .88rem; color: var(--ink-2); }

@media (max-width: 1050px) {
	.modes { grid-template-columns: repeat(2, 1fr); }
	.feats, .mods { grid-template-columns: repeat(2, 1fr); }
	.hero .wrap, .themes { grid-template-columns: 1fr; }
	.mock { max-width: 620px; }
}
@media (max-width: 860px) {
	.site-nav { display: none; position: absolute; top: 70px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); margin: 0; }
	body.nav-open .site-nav { display: flex; }
	.nav-toggle { display: inline-grid; }
	.head-cta .btn-ghost { display: none; }
	.auth-page { grid-template-columns: 1fr; }
	.auth-side { display: none; }
	.site-foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	section { padding: 64px 0; }
	.hero { padding: 48px 0 60px; }
	.modes, .feats, .mods, .row-2 { grid-template-columns: 1fr; }
	.mock__screen { grid-template-columns: 1fr; }
	.mock__cart { display: none; }
	.mock__chip.c1 { left: 6px; }
	.mock__win { transform: none; }
	.cta-band .box { padding: 32px 24px; }
	.swatches { grid-template-columns: repeat(2, 1fr); }
	.head-cta .btn-primary { padding: 0 12px; }
}
