/* Strona www MapServ (landing.php, polityka-prywatnosci.php) */
:root {
    --ink: #0f172a; --text: #334155; --muted: #64748b; --line: #e2e8f0; --bg: #ffffff; --soft: #f5f8fc;
    --brand: #1f3a5f; --primary: #2563eb; --primary-d: #1d4ed8; --ok: #16a34a; --warn: #f59e0b; --bad: #dc2626;
    --radius: 16px; --shadow: 0 24px 60px -24px #0f172a40, 0 8px 20px -12px #0f172a26;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body.lp { margin: 0; font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, sans-serif; color: var(--text); background: var(--bg); }
.lp a { color: var(--primary); text-decoration: none; }
.lp a:hover { text-decoration: underline; }
.lp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.lp-narrow { max-width: 820px; }
.lp img { display: block; max-width: 100%; height: auto; }

/* Przyciski */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .85rem 1.4rem; border-radius: 12px;
    font-weight: 600; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .12s, box-shadow .12s, background .12s; }
.lp a.lp-btn:hover { text-decoration: none; transform: translateY(-1px); }
.lp-btn.primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -10px #2563ebb0; }
.lp-btn.primary:hover { background: var(--primary-d); }
.lp-btn.ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.lp-btn.ghost:hover { border-color: var(--primary); }
.lp-btn.small { padding: .5rem .95rem; font-size: .9rem; border-radius: 10px; }
.lp-btn.wide { width: 100%; }
.lp-link { font-weight: 500; }
.lp-link.center { display: block; text-align: center; margin-top: .8rem; }

/* Pasek górny */
.lp-top { position: sticky; top: 0; z-index: 50; background: #ffffffe6; backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); }
.lp-top-in { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.lp-logo { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-size: 1.2rem; color: var(--ink) !important; letter-spacing: -.02em; }
.lp-logo span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand); font-size: 1rem; }
.lp-logo:hover { text-decoration: none !important; }
.lp-nav { display: flex; gap: 1.4rem; flex: 1; }
.lp-nav a { color: var(--text); font-weight: 500; font-size: .95rem; }
.lp-top-cta { display: flex; align-items: center; gap: 1rem; }
.lp-promo-bar { background: linear-gradient(90deg, #1f3a5f, #2563eb); color: #e0ecff; text-align: center; padding: .55rem 1rem; font-size: .92rem; }
.lp-promo-bar b { color: #fff; }
.lp-promo-bar a { color: #fff; text-decoration: underline; margin-left: .3rem; }

/* Nagłówek */
.lp-hero { background: radial-gradient(1200px 500px at 85% -10%, #dbeafe 0%, transparent 60%), linear-gradient(180deg, #f5f8fc, #fff); padding: 4.5rem 0 3.5rem; overflow: hidden; }
.lp-hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center; }
.lp-hero-in > * { min-width: 0; } /* przewijany pasek „Dla kogo” nie rozpycha kolumny na telefonie */
.lp-kicker { color: var(--primary); font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 .7rem; }
.lp-kicker.center, .lp-h2.center { text-align: center; }
.lp-hero h1 { font-size: clamp(2rem, 3.6vw, 2.75rem); line-height: 1.1; letter-spacing: -.03em; color: var(--ink); margin: 0 0 1.1rem; font-weight: 800; }
.lp-hero h1 span { color: var(--primary); }
.lp-lead { font-size: 1.15rem; color: var(--text); margin: 0 0 1.6rem; max-width: 34rem; }
/* Przyciski w nagłówku: równa siatka, dwa obok siebie, „Zamów” pod nimi na całą szerokość */
.lp-cta { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; max-width: 34rem; margin-bottom: 1.2rem; }
.lp-cta .lp-btn { width: 100%; padding-left: .8rem; padding-right: .8rem; text-align: center; }
.lp-cta .lp-btn.ghost { grid-column: 1 / -1; }
.lp-demo-form { display: contents; } /* przycisk demo układa się jak link obok */
/* „Zobacz demo”: wyraźny, granatowy, z ikoną odtwarzania */
.lp-btn.demo { background: var(--brand); color: #fff; box-shadow: 0 10px 24px -12px #1f3a5fb0; }
.lp-btn.demo:hover { background: #26497a; }
.lp-btn.demo small { font-weight: 500; font-size: .78rem; opacity: .75; margin-left: .15rem; }
.lp-play { display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: #ffffff26; font-size: .8em; padding-left: .12em; }
.lp-play.big { width: 54px; height: 54px; font-size: 1.3rem; background: var(--primary); color: #fff; box-shadow: 0 0 0 8px #2563eb33; animation: lp-pulse 2.2s ease-out infinite; }
@keyframes lp-pulse { 0% { box-shadow: 0 0 0 0 #2563eb66; } 70% { box-shadow: 0 0 0 16px #2563eb00; } 100% { box-shadow: 0 0 0 0 #2563eb00; } }
@media (prefers-reduced-motion: reduce) { .lp-play.big { animation: none; } }
/* Przycisk „odtwórz” na zrzucie aplikacji */
.lp-top-cta .lp-btn { white-space: nowrap; }
.lp-btn.lp-shot-play { position: absolute; left: 42%; top: 50%; white-space: nowrap; transform: translate(-50%, -50%); gap: .8rem; padding: .7rem 1.2rem .7rem .7rem;
    background: #ffffffee; color: var(--ink); border-radius: 999px; box-shadow: 0 18px 40px -12px #0f172a66; backdrop-filter: blur(4px); text-align: left; z-index: 2; }
/* .lp przed nazwą: silniejsza niż ogólne „.lp button.lp-btn:hover” (podniesienie o 1 px), które zgubiłoby wyśrodkowanie */
.lp .lp-btn.lp-shot-play:hover { transform: translate(-50%, -50%) scale(1.04); background: #fff; box-shadow: 0 22px 46px -12px #0f172a80; }
.lp-shot-play > span:last-child { display: flex; flex-direction: column; font-size: 1rem; line-height: 1.2; }
.lp-shot-play small { font-weight: 500; font-size: .78rem; color: var(--muted); }
button.lp-btn { font-family: inherit; }
.lp button.lp-btn:hover { transform: translateY(-1px); }
.lp-checks { display: grid; grid-template-columns: auto auto; justify-content: start; gap: .4rem 1.6rem; max-width: 34rem; list-style: none; padding: 0; margin: 0; font-size: .92rem; color: var(--muted); }
.lp-checks li::before { content: '✓ '; color: var(--ok); font-weight: 700; }
.lp-hero-shot { position: relative; }
.lp-browser { margin: 0; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.lp-browser-bar { display: flex; gap: 6px; padding: 10px 12px; background: #eef2f7; border-bottom: 1px solid var(--line); }
.lp-browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; }
.lp-phone { margin: 0; width: 190px; border-radius: 28px; overflow: hidden; border: 7px solid #0f172a; background: #0f172a; box-shadow: var(--shadow); }
.lp-hero-shot .lp-phone { position: absolute; right: -14px; bottom: -40px; }
.lp-phone.solo { width: 280px; justify-self: center; }

/* Sekcje */
.lp-section { padding: 5rem 0; }
.lp-section.alt { background: var(--soft); }
.lp-h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.2; letter-spacing: -.02em; color: var(--ink); margin: 0 0 1rem; font-weight: 800; }
.lp-pains { padding: 3.5rem 0 1rem; }
.lp-pains .lp-h2 { text-align: center; margin-bottom: 2rem; }
.lp-pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.lp-pain-grid > div { padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.lp-pain-grid b { color: var(--ink); font-size: 1.05rem; }
.lp-pain-grid p { margin: .5rem 0 0; color: var(--muted); }

.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
.lp-feature { padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: box-shadow .15s, transform .15s; }
.lp-feature:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.lp-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #eff6ff; font-size: 1.5rem; margin-bottom: .9rem; }
.lp-feature h3 { margin: 0 0 .4rem; font-size: 1.08rem; color: var(--ink); }
.lp-feature p { margin: 0; color: var(--muted); font-size: .95rem; }

.lp-show { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: center; padding: 2.5rem 20px; }
.lp-show.reverse { grid-template-columns: 1.3fr 1fr; }
.lp-show.reverse .lp-show-text { order: 2; }
.lp-show-text p { font-size: 1.05rem; }
.lp-shot { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; }
.lp-doc-shot { display: block; max-width: 460px; justify-self: center; transition: transform .15s; }
.lp-doc-shot:hover { transform: translateY(-3px) rotate(-.4deg); }
.lp-doc-shot img { display: block; width: 100%; height: auto; }

.lp-steps { list-style: none; counter-reset: s; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.lp-steps li { counter-increment: s; padding: 1.6rem 1.4rem; border-radius: var(--radius); background: var(--soft); position: relative; }
.lp-steps li::before { content: counter(s); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; margin-bottom: .8rem; }
.lp-steps b { color: var(--ink); font-size: 1.1rem; }
.lp-steps p { margin: .4rem 0 0; color: var(--muted); }
.lp-industries { margin-top: 2.5rem; text-align: center; }
.lp-industries p { color: var(--muted); margin: 0 0 .8rem; }
.lp-industries ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.lp-industries li { padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .92rem; }

/* Cennik */
.lp-price-card { position: relative; max-width: 460px; margin: 2.5rem auto 0; padding: 2.2rem 2rem 1.6rem; background: #fff; border-radius: 20px;
    border: 2px solid var(--primary); box-shadow: var(--shadow); }
.lp-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--warn); color: #1f1300;
    font-weight: 700; font-size: .82rem; padding: .3rem .9rem; border-radius: 999px; }
.lp-price-card h3 { margin: 0; text-align: center; color: var(--ink); font-size: 1.2rem; }
.lp-price { display: flex; align-items: baseline; justify-content: center; gap: .4rem; margin: .6rem 0 .2rem; }
.lp-price b { font-size: 3.4rem; line-height: 1; color: var(--ink); letter-spacing: -.03em; }
.lp-price span { color: var(--muted); font-size: 1.1rem; }
.lp-price s { color: var(--muted); font-size: 1.2rem; margin-left: .4rem; }
.lp-price-sub { text-align: center; color: var(--muted); font-size: .92rem; margin: 0 0 .4rem; }
.lp-price-vat { text-align: center; color: var(--muted); font-size: .8rem; margin: 0 0 1.3rem; }
.lp-incl { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .45rem; }
.lp-incl li::before { content: '✓'; color: var(--ok); font-weight: 800; margin-right: .55rem; }

/* Pytania */
.lp-faq { margin-top: 2rem; }
.lp-faq details { border-bottom: 1px solid var(--line); padding: .3rem 0; }
.lp-faq summary { cursor: pointer; list-style: none; padding: .9rem 2rem .9rem 0; font-weight: 600; color: var(--ink); position: relative; font-size: 1.05rem; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: '+'; position: absolute; right: .2rem; top: .7rem; font-size: 1.4rem; color: var(--primary); }
.lp-faq details[open] summary::after { content: '−'; }
.lp-faq p { margin: 0 0 1rem; color: var(--text); }

/* Kontakt */
.lp-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.lp-contact-data { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .5rem; font-size: 1.02rem; }
.lp-form-card { background: #fff; border-radius: 20px; padding: 1.8rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.lp-form { display: grid; gap: .9rem; }
.lp-form label { display: grid; gap: .3rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
.lp-form input:not([type=checkbox]):not([type=radio]), .lp-form select, .lp-form textarea {
    font: inherit; font-weight: 400; padding: .7rem .8rem; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.lp-form input:focus, .lp-form select:focus, .lp-form textarea:focus { outline: 3px solid #bfdbfe; border-color: var(--primary); }
.lp-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.lp-seg { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; padding: .3rem; background: var(--soft); border-radius: 12px; }
.lp-seg label { display: flex !important; align-items: center; justify-content: center; gap: .4rem; padding: .55rem; border-radius: 9px; cursor: pointer; font-weight: 600; }
.lp-seg label:has(input:checked) { background: #fff; box-shadow: 0 2px 8px #0f172a1a; color: var(--primary); }
.lp-seg input { accent-color: var(--primary); }
.lp-consent { display: flex !important; grid-template-columns: none; gap: .6rem !important; align-items: flex-start; font-weight: 400 !important; color: var(--muted) !important; font-size: .85rem !important; }
.lp-consent input { margin-top: .25rem; accent-color: var(--primary); }
.lp-muted { color: var(--muted); font-weight: 400; }
.lp-hp { position: absolute; left: -9999px; }
.lp-err { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; padding: .7rem .9rem; border-radius: 10px; font-size: .92rem; }
.lp-ok { padding: 1.5rem; text-align: center; }
.lp-ok b { font-size: 1.3rem; color: var(--ok); }
.lp [hidden] { display: none !important; }

/* Stopka */
.lp-footer { background: #0b1220; color: #94a3b8; padding: 3rem 0 2rem; }
.lp-footer-in { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 3rem; }
.lp-footer .lp-logo { color: #fff !important; }
.lp-footer p { margin: .6rem 0 0; }
.lp-footer nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; align-content: start; }
.lp-footer nav a { color: #cbd5e1; }
.lp-legal { grid-column: 1 / -1; border-top: 1px solid #1e293b; padding-top: 1.2rem; font-size: .85rem; }

/* Strona tekstowa (polityka prywatności) */
.lp-doc { padding: 3.5rem 0 4.5rem; }
.lp-doc h1 { color: var(--ink); letter-spacing: -.02em; }
.lp-doc h2 { color: var(--ink); font-size: 1.2rem; margin-top: 2rem; }
.lp-doc li { margin-bottom: .35rem; }

/* Telefon i tablet */
@media (max-width: 960px) {
    .lp-nav { display: none; }
    .lp-hero { padding: 3rem 0 2.5rem; }
    .lp-hero-in, .lp-show, .lp-show.reverse, .lp-contact { grid-template-columns: 1fr; gap: 2rem; }
    .lp-show.reverse .lp-show-text { order: 0; }
    .lp-hero-shot .lp-phone { width: 130px; right: -6px; bottom: -24px; border-width: 5px; border-radius: 20px; }
    .lp-features, .lp-pain-grid, .lp-steps { grid-template-columns: 1fr 1fr; }
    .lp-section { padding: 3.5rem 0; }
}
@media (max-width: 600px) {
    .lp-top-cta .lp-link { display: none; }
    .lp-top-cta { gap: .5rem; }
    .lp-top-cta .lp-btn.small { padding: .45rem .7rem; font-size: .85rem; }
    .lp-btn.demo small { display: none; }
    .lp-hide-m { display: none; }
    .lp-btn.lp-shot-play { left: 38%; padding: .45rem .9rem .45rem .45rem; gap: .55rem; }
    .lp-shot-play small { display: none; }
    .lp-play.big { width: 42px; height: 42px; font-size: 1rem; }
    .lp-features, .lp-pain-grid, .lp-steps, .lp-grid2 { grid-template-columns: 1fr; }
    .lp-cta { grid-template-columns: 1fr; }
    .lp-checks { font-size: .84rem; gap: .35rem .9rem; }
    .lp-price-card { padding: 2rem 1.2rem 1.4rem; }
    .lp-badge { font-size: .74rem; }
    .lp-footer-in { grid-template-columns: 1fr; }
    .lp-phone.solo { width: 240px; }
}

/* Strona pod branżę: wybór „Dla kogo” */
.lp-for { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin: 0 0 1.2rem; font-size: .8rem; }
.lp-for > span { color: var(--muted); margin-right: .2rem; flex-basis: 100%; white-space: nowrap; } /* „Dla kogo:” nad etykietami, etykiety w równych rzędach */
.lp-for a { padding: .22rem .6rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); text-decoration: none; white-space: nowrap; }
.lp-for a:hover { border-color: var(--primary); color: var(--primary); }
.lp-for a.on { background: var(--primary); border-color: var(--primary); color: #fff; font-weight: 600; }
.lp-for a.lp-for-all { border-style: dashed; color: var(--muted); }
.lp-industries li a { color: inherit; text-decoration: none; }
.lp-industries li:has(a):hover { border-color: var(--primary); }
.lp-industries li.on { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (max-width: 700px) { .lp-for { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; } .lp-for > span { flex-basis: auto; } }
.lp-free { margin: .6rem 0 0; font-size: .9rem; background: #ecfdf5; border-radius: 10px; padding: .45rem .7rem; }

/* Dane do przelewu po zamówieniu ze strony */
.transfer { margin-top: 1rem; text-align: left; border: 1px solid #d1d5db; border-radius: 12px; padding: .8rem 1rem; background: #fff; color: #111827; }
.tr-intro { margin: 0 0 .6rem; font-size: .92rem; }
.tr-grid { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: flex-start; }
.tr-data { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: .45rem; }
.tr-row { display: grid; grid-template-columns: 1fr auto; column-gap: .5rem; align-items: center; line-height: 1.3; }
.tr-row span { grid-column: 1 / -1; font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; opacity: .7; }
.tr-row b { overflow-wrap: anywhere; }
.tr-or { margin: .2rem 0 0; font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; opacity: .7; border-top: 1px dashed currentColor; padding-top: .5rem; }
.tr-blik-hint { margin: 0; font-size: .8rem; opacity: .8; }
.tr-copy { border: 1px solid #d1d5db; background: #fff; border-radius: 6px; cursor: pointer; padding: .15rem .3rem; }
.tr-qr { margin: 0 auto; width: 150px; flex: 0 0 150px; text-align: center; }
.tr-qr img { display: block; width: 150px; height: 150px; }
.tr-qr figcaption { font-size: .72rem; color: #6b7280; margin-top: .25rem; }
.lp-ok .transfer b { color: #111827; font-size: .95rem; font-weight: 600; }
.lp-ok .transfer .tr-intro b { color: #15803d; }
