/*
 * BiznaPOS marketing site (apex landing page, solution pages, blog).
 *
 * Extracted verbatim from the inline <style> of themes/default/admin/views/home.php
 * so the landing page, the solution pages and the blog share one cached
 * document instead of re-inlining ~200 lines of CSS per page. The variables and
 * every selector below must stay in that file's order; anything new is grouped
 * at the bottom under "Marketing pages / blog".
 */
:root {
    --ink: #0b1220;
    --ink-2: #111a2e;
    --slate: #475569;
    --muted: #6b7a90;
    --brand: #2563eb;
    --brand-600: #1d4ed8;
    --brand-700: #1e40af;
    --accent: #f59e0b;
    --accent-600: #ea8a09;
    --teal: #0ea5a4;
    --green: #10b981;
    --bg: #ffffff;
    --soft: #f5f8ff;
    --soft-2: #eef3fb;
    --line: #e6ecf6;
    --ring: rgba(37, 99, 235, .18);
    --radius: 18px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
    --shadow-md: 0 12px 30px -12px rgba(16, 24, 40, .18);
    --shadow-lg: 0 30px 60px -22px rgba(16, 24, 40, .28);
    --maxw: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    color: var(--ink);
    background: var(--bg);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 600; letter-spacing: .02em;
    color: var(--brand-700); background: var(--soft);
    border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(245, 158, 11, .18); }
.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 16px 0 12px; letter-spacing: -.02em; font-weight: 700; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 600; font-size: 15px; border-radius: 12px; padding: 13px 22px; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s; cursor: pointer; border: 1px solid transparent; white-space: nowrap; }
.btn-primary { background: linear-gradient(180deg, var(--brand) 0%, var(--brand-600) 100%); color: #fff; box-shadow: 0 10px 22px -10px var(--ring); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(37, 99, 235, .55); }
.btn-accent { background: linear-gradient(180deg, var(--accent) 0%, var(--accent-600) 100%); color: #3a2600; box-shadow: 0 10px 22px -12px rgba(245, 158, 11, .6); }
.btn-accent:hover { transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: #cfd9ea; transform: translateY(-2px); }
.btn-lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; transition: box-shadow .2s, background .2s, border-color .2s; border-bottom: 1px solid transparent; }
header.site.scrolled { background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(16, 24, 40, .4); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--slate); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .login { color: var(--slate); font-weight: 600; font-size: 15px; }
.nav-cta .login:hover { color: var(--ink); }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px; background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.burger span, .burger span::before, .burger span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.burger span::before { position: absolute; top: -6px; } .burger span::after { position: absolute; top: 6px; }

/* Hero */
.hero { position: relative; padding: 72px 0 84px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; }
.hero::before { width: 520px; height: 520px; background: radial-gradient(circle, rgba(37, 99, 235, .18), transparent 70%); top: -160px; left: -120px; }
.hero::after { width: 460px; height: 460px; background: radial-gradient(circle, rgba(245, 158, 11, .16), transparent 70%); bottom: -180px; right: -120px; }
.hero-grid-bg { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 46px 46px; -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%); mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 72%); opacity: .5; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; margin: 20px 0 18px; }
.hero h1 .grad { background: linear-gradient(100deg, var(--brand) 0%, var(--teal) 55%, var(--accent) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19px; color: var(--slate); max-width: 540px; margin: 0 0 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: 14px; font-weight: 500; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; color: var(--green); }
.hero-stats { display: flex; gap: 34px; margin-top: 34px; }
.hero-stats .num { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.hero-stats .lbl { font-size: 13px; color: var(--muted); font-weight: 500; }

/* Product mock */
.mock { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 14px; }
.mock .bar { display: flex; gap: 7px; padding: 4px 6px 12px; }
.mock .bar i { width: 11px; height: 11px; border-radius: 50%; background: #e2e8f0; display: block; }
.mock .bar i:nth-child(1) { background: #fca5a5; } .mock .bar i:nth-child(2) { background: #fcd34d; } .mock .bar i:nth-child(3) { background: #86efac; }
.mock .body { display: grid; grid-template-columns: 54px 1fr; gap: 12px; }
.mock .rail { background: var(--ink); border-radius: 14px; padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.mock .rail b { width: 24px; height: 24px; border-radius: 8px; background: rgba(255, 255, 255, .14); display: block; }
.mock .rail b.on { background: linear-gradient(180deg, var(--brand), var(--brand-600)); }
.mock .main { display: flex; flex-direction: column; gap: 12px; }
.mock .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock .tile { border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: var(--soft); }
.mock .tile .k { font-size: 10px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.mock .tile .v { font-size: 18px; font-weight: 800; margin-top: 3px; }
.mock .tile .v.up { color: var(--green); }
.mock .chart { border: 1px solid var(--line); border-radius: 12px; padding: 14px; height: 132px; display: flex; align-items: flex-end; gap: 9px; }
.mock .chart i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--brand), #93c5fd); display: block; }
.mock .chart i:nth-child(even) { background: linear-gradient(180deg, var(--accent), #fcd34d); }
.mock .rows { display: flex; flex-direction: column; gap: 8px; }
.mock .row { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.mock .row .av { width: 22px; height: 22px; border-radius: 7px; background: var(--soft-2); }
.mock .row .ln { height: 8px; border-radius: 4px; background: var(--soft-2); flex: 1; }
.mock .row .amt { font-size: 11px; font-weight: 700; color: var(--slate); }
.float { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-md); padding: 11px 13px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.float .ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; }
.float small { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.float.f1 { top: 26px; left: -26px; animation: bob 5s ease-in-out infinite; }
.float.f1 .ic { background: var(--green); }
.float.f2 { bottom: 30px; right: -22px; animation: bob 6s ease-in-out infinite .8s; }
.float.f2 .ic { background: var(--brand); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Marquee strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--soft); padding: 22px 0; }
.strip .wrap { display: flex; align-items: center; justify-content: center; gap: 14px 34px; flex-wrap: wrap; color: var(--muted); font-weight: 600; font-size: 15px; }
.strip .pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; color: var(--slate); }
.strip .pill svg { width: 16px; height: 16px; color: var(--brand); }

/* Features */
section.block { padding: 92px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .22s ease, border-color .22s; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d7e2f4; }
.card .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; background: linear-gradient(140deg, var(--soft), #fff); border: 1px solid var(--line); color: var(--brand); }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin: 0 0 8px; font-weight: 700; letter-spacing: -.01em; }
.card p { color: var(--muted); margin: 0; font-size: 15px; }
.card.amber .ico { color: var(--accent-600); }
.card.teal .ico { color: var(--teal); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.step .n { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 16px; }
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Pricing */
.pricing { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { position: relative; border: 1px solid var(--line); border-radius: 22px; background: #fff; padding: 32px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan.pop { border-color: transparent; box-shadow: 0 0 0 2px var(--brand), var(--shadow-lg); transform: translateY(-6px); }
.plan .ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(180deg, var(--accent), var(--accent-600)); color: #3a2600; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.plan .pname { font-size: 15px; font-weight: 700; color: var(--slate); }
.plan .pprice { font-size: 44px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 2px; }
.plan .pprice span { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .pdesc { color: var(--muted); font-size: 14px; min-height: 42px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 26px; display: flex; flex-direction: column; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--slate); }
.plan li svg { width: 19px; height: 19px; color: var(--green); flex: none; margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; }

/* Testimonial */
.quote-band { background: radial-gradient(1200px 400px at 50% -10%, rgba(37, 99, 235, .35), transparent), var(--ink); color: #fff; border-radius: 26px; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.quote-band .mark { font-size: 70px; line-height: 0; color: var(--accent); font-weight: 800; }
.quote-band blockquote { font-size: clamp(20px, 2.6vw, 28px); line-height: 1.4; max-width: 860px; margin: 18px auto 22px; font-weight: 500; letter-spacing: -.01em; }
.quote-band .who { color: #a9b6cc; font-weight: 600; font-size: 15px; }
.quote-band .who b { color: #fff; }

/* CTA */
.cta { text-align: center; }
.cta-box { background: linear-gradient(120deg, var(--brand-700), var(--brand) 55%, var(--teal)); color: #fff; border-radius: 28px; padding: 62px 34px; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-box::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .18), transparent 40%), radial-gradient(circle at 85% 70%, rgba(255, 255, 255, .14), transparent 42%); }
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 12px; letter-spacing: -.02em; font-weight: 800; }
.cta-box p { font-size: 18px; color: rgba(255, 255, 255, .9); max-width: 560px; margin: 0 auto 26px; }
.cta-box .btn-accent { color: #3a2600; }
.cta-box .ghost-w { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); box-shadow: none; }
.cta-box .ghost-w:hover { background: rgba(255, 255, 255, .2); }

/* Footer */
footer.site { background: var(--ink); color: #9fb0c8; padding: 66px 0 30px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.foot-brand img { height: 34px; margin-bottom: 14px; filter: brightness(0) invert(1); opacity: .96; }
.foot-brand p { max-width: 320px; font-size: 15px; }
.foot-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin: 4px 0 16px; }
.foot-col a { display: block; color: #9fb0c8; font-size: 15px; margin-bottom: 11px; transition: color .15s; }
.foot-col a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 24px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 14px; color: #7f91ab; }
.foot-bottom a { color: #cfe0ff; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Mobile menu */
.mobile-menu { display: none; }

@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero .lead { max-width: none; }
    .grid-3, .steps, .price-grid { grid-template-columns: 1fr 1fr; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .plan.pop { transform: none; }
    .float.f1 { left: 0; } .float.f2 { right: 0; }
}
@media (max-width: 720px) {
    .nav-links, .nav-cta .login { display: none; }
    .burger { display: flex; }
    .grid-3, .steps, .price-grid { grid-template-columns: 1fr; }
    .quote-band { padding: 38px 22px; }
    section.block { padding: 68px 0; }
    .hero { padding: 40px 0 60px; }
    body.menu-open .mobile-menu { display: block; }
}
.mobile-menu { position: fixed; inset: 74px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); padding: 18px 22px 26px; z-index: 40; }
.mobile-menu a { display: block; padding: 13px 4px; font-weight: 600; color: var(--slate); border-bottom: 1px solid var(--soft-2); }
.mobile-menu .btn { margin-top: 16px; width: 100%; }

/* ------------------------------------------------------------------
 * Marketing pages / blog (everything below is new; nothing above this
 * line changes what the landing page already renders).
 * ------------------------------------------------------------------ */

/* Sub-page hero: no product mock, so a single centred column */
.hero-narrow { padding: 64px 0 56px; }
.hero-narrow .wrap { position: relative; z-index: 1; max-width: 860px; }
.hero-narrow h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 18px 0 16px; }
.hero-narrow .lead { font-size: 19px; color: var(--slate); margin: 0 0 26px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line); }

/* Two-column copy blocks used by the solution pages */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split h2 { font-size: clamp(24px, 3.2vw, 34px); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 14px; font-weight: 700; }
.split h3 { font-size: 18px; margin: 26px 0 8px; font-weight: 700; }
.split p, .split li { color: var(--slate); font-size: 16px; }
.bullets { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 12px; }
.bullets li { display: flex; gap: 11px; align-items: flex-start; }
.bullets svg { width: 19px; height: 19px; color: var(--green); flex: none; margin-top: 3px; }
.bullets b { color: var(--ink); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 24px; } }

/* Article typography (blog posts) */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; letter-spacing: -.02em; margin: 40px 0 12px; font-weight: 700; }
.article h3 { font-size: 20px; margin: 30px 0 8px; font-weight: 700; }
.article p { font-size: 17px; color: #26364d; margin: 0 0 18px; }
.article ul, .article ol { margin: 0 0 18px; padding-left: 22px; }
.article li { font-size: 17px; color: #26364d; margin-bottom: 8px; }
.article a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 3px; }
.article a:hover { color: var(--brand-700); }
.article blockquote { margin: 26px 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent); color: var(--slate); font-size: 18px; }
.article img { border-radius: 16px; border: 1px solid var(--line); margin: 26px 0; }
.article .meta { color: var(--muted); font-size: 14px; font-weight: 500; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: var(--soft); font-weight: 700; color: var(--ink); }

/* Blog listing */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); padding: 24px; transition: transform .18s ease, box-shadow .22s ease, border-color .22s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #d7e2f4; }
.post-card .tag { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-700); }
.post-card h3 { font-size: 19px; line-height: 1.3; margin: 10px 0 8px; letter-spacing: -.01em; }
.post-card p { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.post-card .more { margin-top: auto; color: var(--brand-600); font-weight: 600; font-size: 15px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }

/* FAQ (native details, no JS) */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 4px 20px; margin-bottom: 14px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 17px; padding: 15px 0; list-style: none; position: relative; padding-right: 34px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 22px; font-weight: 500; color: var(--brand); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 16px; color: var(--slate); font-size: 16px; }

/* Utility */
.muted { color: var(--muted); }
.center { text-align: center; }
