/* =========================================================================
   Fleet Lite — landing page (publiczna część marketingowa)
   Uwaga CSP: style-src-attr 'none' — żadnych atrybutów style="";
   wszystkie warianty szerokości/kolorów wyłącznie przez klasy.
   Fonty i ikony lokalne (font-src 'self').
   ========================================================================= */

@font-face {
    font-family: "Manrope";
    src: url("../fonts/Manrope-VariableFont_wght.ttf") format("truetype");
    font-weight: 200 800;
    font-display: swap;
}

:root {
    /* Tokeny wspólne z aplikacją (app/static/css/base/variables.css) */
    --bg: #f3f6fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --line: #dfe6ef;
    --line-soft: #e8edf4;
    --text: #22324d;
    --text-soft: #617089;
    --text-muted: #8d9aae;
    --blue: #2874ea;
    --blue-dark: #1f5fc3;
    --blue-soft: #e8f0ff;
    --yellow: #f2b532;
    --yellow-soft: #fff0cc;
    --red: #ef5146;
    --red-soft: #ffe3df;
    --green: #23b26d;
    --green-soft: #dff7eb;
    --shadow-sm: 0 4px 14px rgba(39, 63, 96, 0.06);
    --shadow-md: 0 10px 30px rgba(39, 63, 96, 0.08);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 22px;
    --radius-xl: 24px;

    /* Tokeny landingu */
    --lp-navy-950: #081020;
    --lp-navy-900: #0a1628;
    --lp-navy-800: #0c1a33;
    --lp-navy-700: #122647;
    --lp-navy-line: rgba(148, 178, 226, 0.16);
    --lp-on-navy: #eef4fd;
    --lp-on-navy-soft: #a9bad8;
    --lp-blue-bright: #4f8ef7;
    --lp-blue-glow: rgba(79, 142, 247, 0.35);
    --lp-container: 1180px;
    --lp-shadow-lg: 0 24px 70px rgba(10, 22, 40, 0.16);
}

/* ------------------------------------------------------------------ base */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.landing-body {
    margin: 0;
    padding: 0;
    font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.landing-body img {
    max-width: 100%;
    display: block;
}

.landing-body h1,
.landing-body h2,
.landing-body h3,
.landing-body h4 {
    margin: 0;
    line-height: 1.16;
    letter-spacing: -0.015em;
    font-weight: 800;
    text-wrap: balance;
}

.landing-body p {
    margin: 0;
}

.landing-body a {
    color: var(--blue);
    text-decoration: none;
}

.landing-body :focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
    border-radius: 6px;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 200;
    padding: 10px 18px;
    background: var(--lp-navy-800);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    transition: top 0.2s ease;
}

.skip-link:focus-visible {
    top: 12px;
}

.container {
    width: 100%;
    max-width: var(--lp-container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section-soft {
    background: var(--bg);
}

.section-tint {
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(40, 116, 234, 0.08), transparent 60%),
        var(--bg);
}

.section-head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin: 14px 0 14px;
}

.section-head p {
    color: var(--text-soft);
    font-size: 17.5px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.eyebrow .bi {
    font-size: 14px;
}

/* --------------------------------------------------------------- buttons */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.btn-lg {
    padding: 15px 28px;
    font-size: 16.5px;
    border-radius: 14px;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--lp-blue-bright), var(--blue) 55%, var(--blue-dark));
    color: #fff;
    box-shadow: 0 10px 24px rgba(40, 116, 234, 0.32);
}

.btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 45%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.38), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(40, 116, 234, 0.4);
}

.btn-primary:hover::after {
    animation: lp-btn-shine 0.7s ease;
}

@keyframes lp-btn-shine {
    from { left: -80%; }
    to { left: 130%; }
}

.btn .bi {
    transition: transform 0.2s ease;
}

.btn:hover .bi-rocket-takeoff {
    transform: translateY(-2px) rotate(6deg);
}

.btn:hover .bi-arrow-right {
    transform: translateX(3px);
}

.btn:hover .bi-play-circle {
    transform: scale(1.12);
}

.btn-secondary {
    background: var(--surface);
    border-color: var(--line);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--blue);
    color: var(--blue-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: transparent;
}

.btn-ghost:hover {
    background: var(--blue-soft);
    color: var(--blue-dark);
}

.btn-on-dark {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.22);
    color: var(--lp-on-navy);
    backdrop-filter: blur(6px);
}

.btn-on-dark:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

/* Przyciski i nawigacja renderowane jako <a> muszą wygrywać z bazową regułą
   `.landing-body a` (0,1,1) — stąd warianty z selektorem typu. */
a.btn-primary,
a.btn-primary:hover {
    color: #fff;
}

a.btn-secondary {
    color: var(--text);
}

a.btn-secondary:hover {
    color: var(--blue-dark);
}

a.btn-ghost {
    color: var(--text);
}

a.btn-ghost:hover {
    color: var(--blue-dark);
}

a.btn-on-dark {
    color: var(--lp-on-navy);
}

a.btn-on-dark:hover {
    color: #fff;
}

a.nav-link {
    color: var(--text-soft);
}

a.nav-link:hover {
    color: var(--text);
}

a.brand {
    color: var(--text);
}

.site-footer a.brand {
    color: #fff;
}

a.skip-link,
a.skip-link:focus-visible {
    color: #fff;
}

/* ------------------------------------------------------------------- nav */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-nav.is-scrolled {
    border-bottom-color: var(--line-soft);
    box-shadow: 0 6px 24px rgba(21, 39, 71, 0.07);
}

.nav-inner {
    max-width: var(--lp-container);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    white-space: nowrap;
}

.brand-logo-img {
    width: 34px;
    height: 34px;
    border-radius: 9px;
}

.brand-text {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.brand-beta {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-link {
    padding: 9px 13px;
    border-radius: 10px;
    color: var(--text-soft);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
    color: var(--text);
    background: var(--surface-soft);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links-mobile-cta {
    display: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--text);
    font-size: 22px;
    cursor: pointer;
}

/* ------------------------------------------------------------------ hero */

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px 620px at 82% -20%, rgba(79, 142, 247, 0.28), transparent 62%),
        radial-gradient(760px 480px at -12% 108%, rgba(35, 178, 109, 0.14), transparent 58%),
        linear-gradient(168deg, var(--lp-navy-900), var(--lp-navy-800) 55%, var(--lp-navy-950));
    color: var(--lp-on-navy);
    padding: 104px 0 116px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(174, 200, 240, 0.13) 1px, transparent 1.4px);
    background-size: 30px 30px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
    pointer-events: none;
}

/* Aurora — dwie miękkie plamy światła dryfujące w tle hero.
   Bez filter: blur() — radialne gradienty są miękkie same z siebie,
   a blur na tak dużej warstwie potrafi zabić kompozytor słabszych maszyn. */
.hero::after {
    content: "";
    position: absolute;
    inset: -22%;
    background:
        radial-gradient(42% 34% at 24% 28%, rgba(79, 142, 247, 0.17), transparent 72%),
        radial-gradient(34% 30% at 76% 68%, rgba(35, 178, 109, 0.09), transparent 72%);
    pointer-events: none;
    animation: lp-aurora 26s ease-in-out infinite alternate;
}

@keyframes lp-aurora {
    0% { transform: translate3d(-3%, -2%, 0) rotate(-2deg) scale(1); }
    50% { transform: translate3d(2%, 3%, 0) rotate(1.5deg) scale(1.06); }
    100% { transform: translate3d(4%, -3%, 0) rotate(3deg) scale(1.02); }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 64px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 15px;
    border-radius: 999px;
    border: 1px solid rgba(126, 166, 230, 0.36);
    background: rgba(79, 142, 247, 0.13);
    color: #cfe0fb;
    font-size: 13.5px;
    font-weight: 700;
}

.hero-badge .dot {
    position: relative;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(35, 178, 109, 0.22);
}

.hero-badge .dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid rgba(87, 196, 141, 0.75);
    animation: lp-ping 2.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes lp-ping {
    0% { transform: scale(0.6); opacity: 0.9; }
    70%, 100% { transform: scale(2.1); opacity: 0; }
}

.hero h1 {
    margin: 22px 0 20px;
    font-size: clamp(38px, 5.6vw, 62px);
    line-height: 1.06;
    letter-spacing: -0.025em;
    color: #fff;
}

.hero .accent {
    background: linear-gradient(100deg, #7db4ff, #4f8ef7 35%, #9db8ff 55%, #7db4ff 75%, #4f8ef7);
    background-size: 220% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: lp-sheen 7s ease-in-out infinite;
}

@keyframes lp-sheen {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-sub {
    max-width: 560px;
    color: var(--lp-on-navy-soft);
    font-size: 18.5px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.hero-micro {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 26px;
    color: #8fa5c9;
    font-size: 14.5px;
    font-weight: 600;
}

.hero-micro span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-micro .bi {
    color: #57c48d;
    font-size: 15px;
}

/* Hero — makieta panelu (czysty HTML/CSS, bez zrzutów ekranu) */

.hero-visual {
    position: relative;
}

.app-mock {
    position: relative;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.995), rgba(248, 250, 253, 0.98));
    border: 1px solid rgba(210, 224, 244, 0.9);
    box-shadow:
        0 40px 90px rgba(5, 12, 26, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 90px var(--lp-blue-glow);
    overflow: hidden;
    color: var(--text);
    /* Delikatny tilt 3D sterowany z JS (zmienne ustawiane przez CSSOM, nie atrybut style) */
    transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform 0.18s ease-out;
}

.app-mock-bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--line-soft);
}

.app-mock-bar i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line);
}

.app-mock-bar i:nth-child(1) { background: #ff8a80; }
.app-mock-bar i:nth-child(2) { background: #ffd54f; }
.app-mock-bar i:nth-child(3) { background: #7ed9a2; }

.app-mock-bar span {
    margin-left: 10px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-muted);
}

.app-mock-body {
    display: grid;
    grid-template-columns: 52px 1fr;
}

.mock-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    background: var(--lp-navy-800);
}

.mock-side i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #9db6de;
    font-size: 14.5px;
}

.mock-side i.is-active {
    background: rgba(79, 142, 247, 0.28);
    color: #fff;
}

.mock-main {
    padding: 16px;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.mock-stat {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--line-soft);
    background: var(--surface);
}

.mock-stat b {
    display: block;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.mock-stat small {
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
}

.mock-stat.warn b { color: #b97d0c; }
.mock-stat.ok b { color: var(--green); }

.mock-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-row {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    background: var(--surface);
    animation: lp-row-live 12s ease-in-out infinite;
}

.mock-row:nth-child(2) { animation-delay: 3s; }
.mock-row:nth-child(3) { animation-delay: 6s; }
.mock-row:nth-child(4) { animation-delay: 9s; }

/* Sekwencyjne "ożywienie" wierszy — subtelny puls tła i obrysu */
@keyframes lp-row-live {
    0%, 12%, 100% { background: var(--surface); border-color: var(--line-soft); }
    5% { background: #eef4ff; border-color: #c9dcfb; }
}

.mock-row .ic {
    flex: none;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 14px;
}

.mock-row .ic.green { background: var(--green-soft); color: #17854f; }
.mock-row .ic.yellow { background: var(--yellow-soft); color: #a8770a; }
.mock-row .ic.red { background: var(--red-soft); color: #c2372e; }

.mock-cell {
    flex: 1;
    min-width: 0;
}

.mock-line {
    height: 7px;
    border-radius: 99px;
    background: linear-gradient(90deg, #dbe4f0, #ecf1f8);
}

.mock-line + .mock-line {
    margin-top: 6px;
}

.mock-line.w-72 { width: 72%; }
.mock-line.w-56 { width: 56%; }
.mock-line.w-64 { width: 64%; }
.mock-line.w-44 { width: 44%; }
.mock-line.w-38 { width: 38%; }

.mock-cell b {
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-cell small {
    display: block;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mock-badge {
    flex: none;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.mock-badge.ok { background: var(--green-soft); color: #17854f; }
.mock-badge.warn { background: var(--yellow-soft); color: #a8770a; }
.mock-badge.due { background: var(--red-soft); color: #c2372e; }
.mock-badge.info { background: var(--blue-soft); color: var(--blue-dark); }

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 15px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(214, 226, 243, 0.9);
    box-shadow: 0 18px 44px rgba(5, 12, 26, 0.4);
    color: var(--text);
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.25;
}

.float-card small {
    display: block;
    color: var(--text-muted);
    font-size: 11.5px;
    font-weight: 600;
}

.float-card .fic {
    flex: none;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 15px;
}

.float-card.fc1 {
    top: -22px;
    right: -14px;
    animation: lp-float 7s ease-in-out infinite;
}

.float-card.fc1 .fic { background: var(--yellow-soft); color: #a8770a; }

.float-card.fc1 .fic::after {
    content: "";
    position: absolute;
    top: -2px;
    right: -2px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--red);
    border: 2px solid #fff;
    animation: lp-ping-soft 2.4s ease-in-out infinite;
}

.float-card .fic {
    position: relative;
}

@keyframes lp-ping-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.35); }
}

.float-card.fc2 {
    bottom: -24px;
    left: -20px;
    animation: lp-float 8s ease-in-out 1.2s infinite;
}

.float-card.fc2 .fic { background: var(--blue-soft); color: var(--blue-dark); }

@keyframes lp-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* ----------------------------------------------------------- trust strip */

.trust-strip {
    border-bottom: 1px solid var(--line-soft);
    background: var(--surface);
}

.trust-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 26px 0;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-soft);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.4;
}

.trust-item .bi {
    flex: none;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 17px;
}

/* --------------------------------------------------------------- problem */

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.problem-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-sm);
}

.problem-card .pic {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--red-soft);
    color: #c2372e;
    font-size: 20px;
    margin-bottom: 18px;
}

.problem-card h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.problem-card p {
    color: var(--text-soft);
    font-size: 15.5px;
}

.problem-answer {
    margin: 46px auto 0;
    max-width: 760px;
    text-align: center;
    padding: 26px 30px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--lp-navy-800), var(--lp-navy-700));
    color: var(--lp-on-navy);
    font-size: 17.5px;
    font-weight: 600;
    line-height: 1.6;
    box-shadow: var(--lp-shadow-lg);
}

.problem-answer strong {
    color: #9dc2ff;
}

/* ---------------------------------------------------------- bento moduły */

.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.bento-card {
    position: relative;
    grid-column: span 2;
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    overflow: hidden;
}

.bento-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 3px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(90deg, transparent, var(--lp-blue-bright), transparent);
    opacity: 0;
    transition: opacity 0.25s ease, left 0.25s ease, right 0.25s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cddcf3;
}

.bento-card:hover::after {
    opacity: 1;
    left: 4%;
    right: 4%;
}

.bento-card.span-3 {
    grid-column: span 3;
}

.bento-ic {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 19px;
    margin-bottom: 16px;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bento-card:hover .bento-ic {
    transform: scale(1.1) rotate(-5deg);
}

.bento-ic.green { background: var(--green-soft); color: #17854f; }
.bento-ic.yellow { background: var(--yellow-soft); color: #a8770a; }
.bento-ic.red { background: var(--red-soft); color: #c2372e; }
.bento-ic.navy { background: #e3e9f4; color: var(--lp-navy-700); }

.bento-card h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 18.5px;
    margin-bottom: 9px;
}

.bento-card p {
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.6;
}

.badge-new {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--green-soft);
    color: #17854f;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bento-list {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: var(--text-soft);
    font-size: 14.5px;
}

.bento-list li {
    display: flex;
    gap: 9px;
    align-items: baseline;
}

.bento-list .bi {
    color: var(--green);
    font-size: 13px;
}

/* Mini-makiety w kaflach Dokumenty / Korespondencja */

.mini-mock {
    margin-top: 18px;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background: var(--surface-soft);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mini-doc {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    padding: 8px 11px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text);
}

.mini-doc .bi {
    flex: none;
    color: var(--blue-dark);
    font-size: 14px;
}

.mini-doc small {
    margin-left: auto;
    font-weight: 700;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 99px;
}

.mini-doc small.ok { background: var(--green-soft); color: #17854f; }
.mini-doc small.warn { background: var(--yellow-soft); color: #a8770a; }
.mini-doc small.due { background: var(--red-soft); color: #c2372e; }

/* ------------------------------------------------------------ how / kroki */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 28px 24px 26px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-sm);
}

.step-num {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--lp-blue-bright), var(--blue-dark));
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 8px 18px rgba(40, 116, 234, 0.3);
}

.step h3 {
    font-size: 17.5px;
    margin-bottom: 8px;
}

.step p {
    color: var(--text-soft);
    font-size: 14.5px;
}

/* --------------------------------------------------------- alerty / showcase */

.showcase-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
    padding: 34px 0;
}

.showcase-row.reverse .showcase-text {
    order: 2;
}

.showcase-row.reverse .showcase-media {
    order: 1;
}

.showcase-text h3 {
    font-size: clamp(24px, 3vw, 32px);
    margin: 14px 0 12px;
}

.showcase-text > p {
    color: var(--text-soft);
    font-size: 16.5px;
}

.showcase-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--text);
    font-size: 15.5px;
    font-weight: 600;
}

.showcase-list li {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.showcase-list .bi {
    color: var(--green);
}

.showcase-media {
    position: relative;
}

.alert-mock {
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.alert-mock-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 4px 6px;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border-radius: 13px;
    border: 1px solid var(--line-soft);
    background: var(--surface-soft);
    font-size: 14px;
    font-weight: 700;
}

.alert-item small {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
}

.alert-item > span:not(.aic):not(.when) {
    flex: 1;
    min-width: 0;
}

.alert-item .aic {
    flex: none;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 15px;
}

.alert-item.warn .aic { background: var(--yellow-soft); color: #a8770a; }
.alert-item.due .aic { background: var(--red-soft); color: #c2372e; }
.alert-item.info .aic { background: var(--blue-soft); color: var(--blue-dark); }

.alert-item .when {
    margin-left: auto;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 99px;
    white-space: nowrap;
}

.alert-item.warn .when { background: var(--yellow-soft); color: #a8770a; }
.alert-item.due .when { background: var(--red-soft); color: #c2372e; }
.alert-item.info .when { background: var(--blue-soft); color: var(--blue-dark); }

.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.chip {
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text-soft);
    font-size: 13px;
    font-weight: 700;
}

/* ------------------------------------------------------------ security */

.sec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.sec-card {
    padding: 26px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--lp-navy-line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
    color: var(--lp-on-navy);
}

.sec-card > .bi {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(79, 142, 247, 0.16);
    color: #8db6f9;
    font-size: 19px;
    margin-bottom: 16px;
}

.sec-card h3 {
    font-size: 17.5px;
    margin-bottom: 8px;
    color: #fff;
}

.sec-card p {
    color: var(--lp-on-navy-soft);
    font-size: 14.5px;
    line-height: 1.6;
}

.section-dark {
    background:
        radial-gradient(880px 420px at 12% -12%, rgba(79, 142, 247, 0.2), transparent 60%),
        linear-gradient(170deg, var(--lp-navy-900), var(--lp-navy-800));
    color: var(--lp-on-navy);
}

.section-dark .section-head h2 {
    color: #fff;
}

.section-dark .section-head p {
    color: var(--lp-on-navy-soft);
}

.section-dark .eyebrow {
    background: rgba(79, 142, 247, 0.16);
    color: #a9c8fa;
}

.sec-note {
    margin: 34px auto 0;
    max-width: 740px;
    display: flex;
    gap: 12px;
    align-items: baseline;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid var(--lp-navy-line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--lp-on-navy-soft);
    font-size: 14.5px;
}

.sec-note .bi {
    color: #8db6f9;
}

.sec-note a,
.cta-micro a {
    color: #9dc2ff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ------------------------------------------------------------ assistant */

.assistant-band {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 56px;
    align-items: center;
    padding: 46px;
    border-radius: var(--radius-xl);
    background: var(--surface);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-md);
}

.assistant-copy h2 {
    font-size: clamp(26px, 3.4vw, 36px);
    margin: 14px 0 14px;
}

.assistant-copy > p {
    color: var(--text-soft);
    font-size: 16.5px;
    margin-bottom: 18px;
}

.assistant-foot {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    align-items: baseline;
    color: var(--text-muted);
    font-size: 13.5px;
    line-height: 1.55;
}

.assistant-chat {
    display: flex;
    flex-direction: column;
    gap: 13px;
    padding: 22px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(420px 260px at 90% 0%, rgba(79, 142, 247, 0.14), transparent 60%),
        var(--surface-soft);
    border: 1px solid var(--line-soft);
}

.chat-msg {
    display: flex;
    gap: 11px;
    align-items: flex-end;
}

.chat-msg .av {
    flex: none;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--lp-navy-800);
    color: #fff;
    font-size: 15px;
}

.chat-msg.user {
    flex-direction: row-reverse;
}

.chat-msg.user .av {
    background: var(--blue-soft);
    color: var(--blue-dark);
}

.chat-bubble {
    max-width: 82%;
    padding: 11px 15px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-sm);
    font-size: 14px;
    line-height: 1.5;
}

.chat-msg.bot .chat-bubble {
    border-bottom-left-radius: 5px;
}

.chat-msg.user .chat-bubble {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    border-bottom-right-radius: 5px;
}

.chat-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 45px;
}

.chat-quick span {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--blue-dark);
    font-size: 12.5px;
    font-weight: 700;
}

/* -------------------------------------------------------------- compare */

.compare-wrap {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    font-size: 15px;
}

.compare-table th,
.compare-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--line-soft);
}

.compare-table thead th {
    background: var(--surface-soft);
    font-size: 14px;
    letter-spacing: 0.01em;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table .col-fleet {
    background: rgba(40, 116, 234, 0.05);
}

.compare-head-cell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.cmp-yes,
.cmp-no {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
}

.cmp-yes { color: #17854f; }
.cmp-yes .bi { color: var(--green); }
.cmp-no { color: var(--text-muted); }
.cmp-no .bi { color: var(--red); }

/* -------------------------------------------------------------- pricing */

.beta-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 26px;
    margin: 0 auto 46px;
    max-width: 880px;
    padding: 18px 26px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--lp-navy-800), var(--lp-navy-700));
    color: var(--lp-on-navy);
    box-shadow: var(--lp-shadow-lg);
    font-size: 15px;
    font-weight: 600;
}

.beta-banner .headline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16.5px;
    font-weight: 800;
    color: #fff;
}

.beta-banner .headline .bi {
    color: #ffd479;
}

.beta-banner ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--lp-on-navy-soft);
    font-size: 14px;
}

.beta-banner li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.beta-banner li .bi {
    color: #57c48d;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-sm);
}

.price-card.featured {
    border-color: rgba(40, 116, 234, 0.45);
    box-shadow: 0 22px 54px rgba(40, 116, 234, 0.16);
}

.price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lp-blue-bright), var(--blue-dark));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(40, 116, 234, 0.35);
}

.price-name {
    font-size: 19px;
    font-weight: 800;
}

.price-desc {
    color: var(--text-soft);
    font-size: 14.5px;
    margin-top: 6px;
    min-height: 44px;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin: 20px 0 2px;
}

.price-amount .val {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.price-amount .cur {
    color: var(--text-soft);
    font-size: 17px;
    font-weight: 700;
}

.price-period {
    color: var(--text-muted);
    font-size: 13.5px;
    min-height: 21px;
}

.price-beta-note {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 11px;
    background: var(--green-soft);
    color: #17854f;
    font-size: 13px;
    font-weight: 700;
}

.price-features {
    margin: 22px 0 26px;
    padding: 22px 0 0;
    border-top: 1px solid var(--line-soft);
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
    color: var(--text);
    font-size: 14.5px;
    font-weight: 600;
}

.price-features li {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.price-features .bi-check2 {
    color: var(--green);
}

.price-features li.muted {
    color: var(--text-muted);
    font-weight: 600;
}

.price-features li.muted .bi {
    color: var(--text-muted);
}

.price-card .btn {
    margin-top: auto;
}

.price-note {
    margin-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.price-note a {
    font-weight: 700;
}

.plans-includes {
    margin-top: 60px;
}

.plans-includes h3 {
    text-align: center;
    font-size: 21px;
    margin-bottom: 24px;
}

.includes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.include-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 15px;
    border-radius: 13px;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    font-size: 14px;
    font-weight: 700;
}

.include-item .bi {
    color: var(--blue-dark);
    font-size: 16px;
}

/* ------------------------------------------------------------------ FAQ */

.faq-wrap {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 19px 24px;
    cursor: pointer;
    font-size: 16.5px;
    font-weight: 700;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary .bi {
    flex: none;
    color: var(--text-muted);
    transition: transform 0.25s ease;
}

.faq-item[open] summary .bi {
    transform: rotate(180deg);
    color: var(--blue);
}

.faq-item .faq-a {
    padding: 0 24px 20px;
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.65;
}

.faq-item .faq-a a {
    font-weight: 700;
}

/* -------------------------------------------------------------- roadmap */

.rm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
}

.rm-col {
    padding: 26px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-sm);
}

.rm-col.is-now {
    border-color: rgba(35, 178, 109, 0.4);
}

.rm-col h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 18px;
    margin-bottom: 18px;
}

.rm-tag {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rm-tag.now { background: var(--green-soft); color: #17854f; }
.rm-tag.prog { background: var(--yellow-soft); color: #a8770a; }
.rm-tag.next { background: var(--blue-soft); color: var(--blue-dark); }

.rm-item {
    display: flex;
    gap: 11px;
    align-items: baseline;
    padding: 9px 0;
    border-bottom: 1px dashed var(--line-soft);
    color: var(--text);
    font-size: 14.5px;
    font-weight: 600;
}

.rm-item:last-child {
    border-bottom: none;
}

.rm-item .bi-check-circle-fill { color: var(--green); }
.rm-item .bi-arrow-repeat { color: #b8860b; }
.rm-item .bi-lightbulb { color: var(--blue); }

.rm-note {
    margin-top: 34px;
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.changelog {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cl-item {
    display: flex;
    gap: 20px;
    padding: 20px 24px;
    border-radius: var(--radius-md);
    background: var(--surface);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-sm);
}

.cl-ver {
    flex: none;
    align-self: flex-start;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
}

.cl-body strong {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
}

.cl-body ul {
    margin: 0;
    padding-left: 18px;
    color: var(--text-soft);
    font-size: 14.5px;
    line-height: 1.7;
}

/* ------------------------------------------------------------ page hero */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0 60px;
    background:
        radial-gradient(900px 420px at 88% -30%, rgba(79, 142, 247, 0.24), transparent 60%),
        linear-gradient(168deg, var(--lp-navy-900), var(--lp-navy-800));
    color: var(--lp-on-navy);
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(174, 200, 240, 0.12) 1px, transparent 1.4px);
    background-size: 30px 30px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 90%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--lp-on-navy-soft);
    font-size: 13.5px;
    font-weight: 600;
}

.breadcrumb a {
    color: #9dc2ff;
}

.breadcrumb .bi {
    font-size: 11px;
}

.page-hero .eyebrow {
    background: rgba(79, 142, 247, 0.16);
    color: #a9c8fa;
}

.page-hero h1 {
    margin: 16px 0 14px;
    font-size: clamp(32px, 4.6vw, 48px);
    color: #fff;
}

.page-hero p {
    max-width: 640px;
    color: var(--lp-on-navy-soft);
    font-size: 17px;
}

/* ---------------------------------------------------------------- legal */

.legal-wrap {
    max-width: 820px;
    margin: 0 auto;
}

.legal-disclaimer {
    display: flex;
    gap: 13px;
    align-items: baseline;
    padding: 17px 21px;
    border-radius: var(--radius-md);
    background: var(--yellow-soft);
    border: 1px solid #f0d9a1;
    color: #7a5a10;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.legal-toc {
    padding: 22px 26px;
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    border: 1px solid var(--line-soft);
    margin-bottom: 42px;
}

.legal-toc strong {
    display: block;
    margin-bottom: 10px;
    font-size: 15px;
}

.legal-toc ol {
    margin: 0;
    padding-left: 20px;
    columns: 2;
    column-gap: 40px;
    color: var(--text-soft);
    font-size: 14.5px;
    line-height: 2;
}

.legal-body h2 {
    font-size: 21px;
    margin: 40px 0 14px;
    scroll-margin-top: 90px;
}

.legal-body p,
.legal-body li {
    color: var(--text-soft);
    font-size: 15.5px;
    line-height: 1.75;
}

.legal-body p + p {
    margin-top: 12px;
}

.legal-body ul,
.legal-body ol {
    margin: 12px 0;
    padding-left: 24px;
}

.legal-body li + li {
    margin-top: 7px;
}

.legal-body .placeholder {
    padding: 1px 7px;
    border-radius: 7px;
    background: var(--yellow-soft);
    color: #7a5a10;
    font-weight: 700;
    font-size: 0.92em;
    white-space: nowrap;
}

.legal-meta {
    margin-top: 46px;
    padding-top: 18px;
    border-top: 1px solid var(--line-soft);
    color: var(--text-muted);
    font-size: 13.5px;
}

/* ------------------------------------------------------------- CTA band */

.cta-band {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 66px 44px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(700px 320px at 18% -30%, rgba(79, 142, 247, 0.34), transparent 62%),
        radial-gradient(560px 300px at 88% 130%, rgba(35, 178, 109, 0.16), transparent 60%),
        linear-gradient(150deg, var(--lp-navy-900), var(--lp-navy-800) 62%, var(--lp-navy-700));
    color: #fff;
    box-shadow: var(--lp-shadow-lg);
}

.cta-band h2 {
    font-size: clamp(26px, 3.8vw, 40px);
    margin-bottom: 14px;
}

.cta-band > p {
    max-width: 560px;
    margin: 0 auto;
    color: var(--lp-on-navy-soft);
    font-size: 17px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 32px;
}

.cta-micro {
    margin-top: 22px;
    color: #8fa5c9;
    font-size: 13.5px;
    font-weight: 600;
}

/* --------------------------------------------------------------- footer */

.site-footer {
    background: var(--lp-navy-950);
    color: var(--lp-on-navy-soft);
    padding: 64px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 44px;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(148, 178, 226, 0.14);
}

.footer-brand .brand {
    color: #fff;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 14.5px;
    line-height: 1.65;
    max-width: 340px;
}

.footer-beta {
    display: flex;
    gap: 9px;
    align-items: baseline;
    color: #9dc2ff;
    font-weight: 700;
}

.footer-col h4 {
    color: #fff;
    font-size: 14.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    padding: 6px 0;
    color: var(--lp-on-navy-soft);
    font-size: 14.5px;
    transition: color 0.15s ease;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    align-items: center;
    justify-content: space-between;
    padding-top: 26px;
    font-size: 13.5px;
}

.footer-note {
    color: #7288ab;
}

/* ------------------------------------------------------------ animations */

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

/* Warianty kierunku wejścia */
.reveal.from-l { transform: translateX(-32px); }
.reveal.from-r { transform: translateX(32px); }
.reveal.pop { transform: translateY(20px) scale(0.965); }

.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Bez JS (albo z wyłączonym) treść ma być widoczna od razu. */
.no-js .reveal,
html.no-observer .reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .float-card.fc1,
    .float-card.fc2 {
        animation: none;
    }

    .btn,
    .bento-card {
        transition: none;
    }
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 72px;
    }

    .hero-visual {
        max-width: 620px;
        margin: 0 auto;
    }

    .float-card.fc1 { right: 4px; }
    .float-card.fc2 { left: 4px; }

    .bento-card,
    .bento-card.span-3 {
        grid-column: span 3;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-inner {
        grid-template-columns: repeat(2, 1fr);
    }

    .sec-grid,
    .problem-grid,
    .price-grid,
    .rm-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .includes-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .price-card.featured {
        order: -1;
        grid-column: span 2;
        max-width: 560px;
        width: 100%;
        margin: 0 auto;
    }

    .assistant-band {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .showcase-row {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .showcase-row.reverse .showcase-text {
        order: 1;
    }

    .showcase-row.reverse .showcase-media {
        order: 2;
    }
}

@media (max-width: 760px) {
    .section {
        padding: 68px 0;
    }

    .hero {
        padding: 72px 0 92px;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px;
        border-radius: var(--radius-md);
        background: var(--surface);
        border: 1px solid var(--line-soft);
        box-shadow: var(--shadow-md);
        display: none;
    }

    .nav-links.is-open {
        display: flex;
    }

    .nav-link {
        padding: 12px 14px;
        font-size: 16px;
    }

    .nav-links-mobile-cta {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
        padding-top: 14px;
        border-top: 1px solid var(--line-soft);
    }

    .nav-cta .btn {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero h1 {
        font-size: clamp(33px, 9vw, 42px);
    }

    .hero-actions .btn {
        width: 100%;
    }

    .app-mock-body {
        grid-template-columns: 44px 1fr;
    }

    .mock-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 7px;
    }

    .float-card.fc1 {
        top: -16px;
        right: -4px;
    }

    .float-card.fc2 {
        bottom: -16px;
        left: -4px;
    }

    .trust-inner,
    .problem-grid,
    .sec-grid,
    .price-grid,
    .rm-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .price-card.featured {
        order: 0;
        grid-column: auto;
    }

    .includes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card,
    .bento-card.span-3 {
        grid-column: span 6;
    }

    .assistant-band {
        padding: 28px 22px;
    }

    .cta-band {
        padding: 48px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .legal-toc ol {
        columns: 1;
    }

    .compare-table th,
    .compare-table td {
        padding: 12px 14px;
    }
}

/* ------------------------------------------------------- beta signup form */

.beta-signup-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.beta-signup-card {
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-sm);
}

/* Honeypot: pole ma istnieć w DOM, ale być niewidoczne i nieosiągalne dla ludzi. */
.hp-field {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.beta-signup-errors {
    margin: 0 0 20px;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    background: var(--red-soft);
    border: 1px solid rgba(239, 81, 70, 0.35);
    color: #9c2b23;
    font-size: 14px;
}

.beta-signup-errors strong {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.beta-signup-errors ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.beta-signup-errors li + li {
    margin-top: 4px;
}

.beta-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.beta-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.beta-form-field label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
}

.beta-form-field .req {
    color: var(--red);
}

.beta-form-field .opt {
    font-weight: 500;
    color: var(--text-muted);
}

.beta-form-field input,
.beta-form-field select,
.beta-form-field textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.beta-form-field textarea {
    resize: vertical;
    min-height: 96px;
}

.beta-form-field input:focus,
.beta-form-field select:focus,
.beta-form-field textarea:focus {
    outline: none;
    border-color: var(--blue);
    background: var(--surface);
    box-shadow: 0 0 0 3px var(--blue-soft);
}

.beta-form-hint {
    font-size: 12.5px;
    color: var(--text-muted);
}

.btn-block {
    width: 100%;
    margin-top: 6px;
}

.beta-form-legal {
    margin: 14px 0 0;
    font-size: 12.5px;
    color: var(--text-muted);
    text-align: center;
}

.beta-form-legal a {
    color: var(--blue-dark);
}

.beta-signup-success {
    text-align: left;
}

.beta-signup-success .success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green);
    font-size: 26px;
    margin-bottom: 14px;
}

.beta-signup-success h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.beta-signup-steps {
    margin: 0 0 16px;
    padding-left: 20px;
    display: grid;
    gap: 10px;
    color: var(--text-soft);
    font-size: 15px;
}

.beta-signup-hint {
    margin: 0 0 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.beta-signup-side {
    display: grid;
    gap: 20px;
}

.beta-signup-perks,
.beta-signup-how {
    padding: 24px 22px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line-soft);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.beta-signup-perks {
    background: linear-gradient(160deg, var(--lp-navy-800), var(--lp-navy-700));
    border-color: var(--lp-navy-line);
    color: var(--lp-on-navy);
}

.beta-signup-perks h2 {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    font-size: 18px;
}

.beta-signup-perks h2 .bi {
    color: var(--yellow);
}

.beta-signup-perks ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 9px;
    font-size: 14.5px;
    color: var(--lp-on-navy-soft);
}

.beta-signup-perks li .bi {
    color: var(--lp-blue-bright);
    margin-right: 8px;
}

.beta-signup-perks strong {
    color: var(--lp-on-navy);
}

.beta-signup-how h3 {
    margin: 0 0 10px;
    font-size: 16.5px;
}

.beta-signup-how ol {
    margin: 0 0 12px;
    padding-left: 20px;
    display: grid;
    gap: 7px;
    color: var(--text-soft);
    font-size: 14.5px;
}

.beta-signup-how p {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-muted);
}

@media (max-width: 900px) {
    .beta-signup-grid {
        grid-template-columns: 1fr;
    }

    .beta-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .beta-signup-card {
        padding: 26px 20px;
    }
}

/* =========================================================================
   Nowe komponenty interaktywne landingu
   ========================================================================= */

/* ------------------------------------------------------ marquee modułów */

.module-marquee {
    overflow: hidden;
    padding: 18px 0;
    background: var(--lp-navy-950);
    border-top: 1px solid var(--lp-navy-line);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 14px;
    width: max-content;
    animation: lp-marquee 44s linear infinite;
}

.module-marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(148, 178, 226, 0.22);
    background: rgba(255, 255, 255, 0.04);
    color: #a9bad8;
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.marquee-item .bi {
    color: var(--lp-blue-bright);
    font-size: 14px;
}

.marquee-item:hover {
    color: #fff;
    border-color: rgba(126, 166, 230, 0.5);
    background: rgba(79, 142, 247, 0.12);
}

@keyframes lp-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* -------------------------------------------------- pasek postępu scrolla */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 140;
    pointer-events: none;
    background: transparent;
}

.scroll-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--lp-blue-bright), var(--blue) 55%, var(--green));
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
}

/* ------------------------------------------------------------ back to top */

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 130;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--blue-dark);
    font-size: 19px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(14px) scale(0.9);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.back-to-top.is-shown {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    transform: translateY(-3px);
}

/* ----------------------------------------------------- scrollspy w nawigacji */

a.nav-link.is-active {
    color: var(--blue-dark);
    background: var(--blue-soft);
}

/* ------------------------------------------------ sekwencja czatu asystenta */

.chat-slot {
    display: grid;
}

.chat-slot > .chat-msg {
    grid-area: 1 / 1;
}

.typing-bubble {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 20px;
}

.tdot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-muted);
    animation: lp-tdot 1.1s ease-in-out infinite;
}

.tdot:nth-child(2) { animation-delay: 0.15s; }
.tdot:nth-child(3) { animation-delay: 0.3s; }

@keyframes lp-tdot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
    30% { transform: translateY(-4px); opacity: 1; }
}

/* Scenariusz odtwarzany po wejściu sekcji w widok (klasa .is-visible z observera) */
.assistant-band.reveal:not(.is-visible) .chat-msg,
.assistant-band.reveal:not(.is-visible) .chat-quick {
    opacity: 0;
}

.assistant-band.reveal.is-visible .assistant-chat > .chat-msg:nth-child(1) {
    animation: lp-chat-in 0.45s 0.25s ease both;
}

.assistant-band.reveal.is-visible .assistant-chat > .chat-msg:nth-child(2) {
    animation: lp-chat-in 0.45s 0.95s ease both;
}

.assistant-band.reveal.is-visible .chat-typing {
    animation: lp-chat-typing 1.35s 1.6s ease both;
}

.assistant-band.reveal.is-visible .chat-final {
    animation: lp-chat-in 0.45s 2.95s ease both;
}

.assistant-band.reveal.is-visible .chat-quick {
    animation: lp-chat-in 0.45s 3.4s ease both;
}

@keyframes lp-chat-in {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: none; }
}

@keyframes lp-chat-typing {
    0% { opacity: 0; transform: translateY(12px) scale(0.98); }
    18%, 82% { opacity: 1; transform: none; }
    100% { opacity: 0; transform: none; }
}

/* ------------------------------------------------------- stagger: chipy */

.reveal.is-visible .chip {
    animation: lp-chip-pop 0.4s ease both;
}

.reveal.is-visible .chip:nth-child(1) { animation-delay: 0.35s; }
.reveal.is-visible .chip:nth-child(2) { animation-delay: 0.42s; }
.reveal.is-visible .chip:nth-child(3) { animation-delay: 0.49s; }
.reveal.is-visible .chip:nth-child(4) { animation-delay: 0.56s; }
.reveal.is-visible .chip:nth-child(5) { animation-delay: 0.63s; }
.reveal.is-visible .chip:nth-child(6) { animation-delay: 0.7s; }
.reveal.is-visible .chip:nth-child(7) { animation-delay: 0.77s; }
.reveal.is-visible .chip:nth-child(8) { animation-delay: 0.84s; }
.reveal.is-visible .chip:nth-child(9) { animation-delay: 0.91s; }
.reveal.is-visible .chip:nth-child(10) { animation-delay: 0.98s; }

@keyframes lp-chip-pop {
    from { opacity: 0; transform: translateY(8px) scale(0.92); }
    to { opacity: 1; transform: none; }
}

.chip {
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.chip:hover {
    color: var(--blue-dark);
    border-color: var(--blue);
    background: var(--blue-soft);
    transform: translateY(-2px);
}

/* --------------------------------------------- stagger: tabela porównania */

.compare-wrap.reveal.is-visible tbody tr {
    animation: lp-row-in 0.45s ease both;
}

.compare-wrap.reveal.is-visible tbody tr:nth-child(1) { animation-delay: 0.2s; }
.compare-wrap.reveal.is-visible tbody tr:nth-child(2) { animation-delay: 0.28s; }
.compare-wrap.reveal.is-visible tbody tr:nth-child(3) { animation-delay: 0.36s; }
.compare-wrap.reveal.is-visible tbody tr:nth-child(4) { animation-delay: 0.44s; }
.compare-wrap.reveal.is-visible tbody tr:nth-child(5) { animation-delay: 0.52s; }
.compare-wrap.reveal.is-visible tbody tr:nth-child(6) { animation-delay: 0.6s; }
.compare-wrap.reveal.is-visible tbody tr:nth-child(7) { animation-delay: 0.68s; }
.compare-wrap.reveal.is-visible tbody tr:nth-child(8) { animation-delay: 0.76s; }

@keyframes lp-row-in {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: none; }
}

.compare-table tbody tr {
    transition: background 0.15s ease;
}

.compare-table tbody tr:hover {
    background: var(--surface-soft);
}

.compare-table tbody tr:hover .col-fleet {
    background: rgba(40, 116, 234, 0.09);
}

/* ------------------------------------------------------ kroki: konektory */

.step {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #cddcf3;
}

.step:hover .step-num {
    transform: scale(1.08) rotate(-4deg);
}

.step-num {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@media (min-width: 1081px) {
    .step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 47px;
        right: -21px;
        width: 22px;
        border-top: 2px dashed #c3d3ea;
    }
}

/* -------------------------------------------------- karty bezpieczeństwa */

.sec-card {
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.sec-card:hover {
    transform: translateY(-4px);
    border-color: rgba(126, 166, 230, 0.45);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
}

.sec-card > .bi {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sec-card:hover > .bi {
    transform: scale(1.1) rotate(-5deg);
}

/* -------------------------------------------------------- badge pomocnicze */

.badge-soft {
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ------------------------------------------------- problem-card hover */

.problem-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #f3cdc9;
}

.problem-card .pic {
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.problem-card:hover .pic {
    transform: scale(1.1) rotate(5deg);
}

/* --------------------------------------------- puls najpilniejszego alertu */

.alert-item.due .aic .bi {
    animation: lp-alert-shake 4s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes lp-alert-shake {
    0%, 88%, 100% { transform: rotate(0); }
    90% { transform: rotate(-11deg); }
    93% { transform: rotate(9deg); }
    96% { transform: rotate(-5deg); }
}

/* ------------------------------------- reduced motion dla nowych efektów */

@media (prefers-reduced-motion: reduce) {
    .hero::after,
    .hero .accent,
    .hero-badge .dot::after,
    .marquee-track,
    .mock-row,
    .float-card.fc1 .fic::after,
    .tdot,
    .alert-item.due .aic .bi {
        animation: none;
    }

    .hero-badge .dot::after {
        display: none;
    }

    .module-marquee {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .marquee-track {
        flex-wrap: wrap;
        justify-content: center;
        width: auto;
        padding: 0 18px;
    }

    /* Druga kopia listy (potrzebna tylko do pętli animacji) znika */
    .marquee-track .marquee-item:nth-child(n+15) {
        display: none;
    }

    .assistant-band.reveal .chat-msg,
    .assistant-band.reveal .chat-quick,
    .assistant-band.reveal.is-visible .assistant-chat > .chat-msg,
    .assistant-band.reveal.is-visible .chat-final,
    .assistant-band.reveal.is-visible .chat-quick {
        opacity: 1;
        animation: none;
    }

    .assistant-band.reveal .chat-typing,
    .assistant-band.reveal.is-visible .chat-typing {
        display: none;
        animation: none;
    }

    .reveal.is-visible .chip,
    .compare-wrap.reveal.is-visible tbody tr {
        animation: none;
    }

    .app-mock {
        transform: none;
        transition: none;
    }

    .scroll-progress {
        display: none;
    }

    .back-to-top,
    .step,
    .step-num,
    .sec-card,
    .problem-card,
    .problem-card .pic,
    .bento-ic,
    .chip,
    .btn .bi {
        transition: none;
    }

    .btn-primary::after {
        display: none;
    }
}

/* Fallback bez JS / bez IntersectionObserver: scenariusz czatu ma być widoczny */
.no-js .assistant-band .chat-msg,
.no-js .assistant-band .chat-quick,
html.no-observer .assistant-band .chat-msg,
html.no-observer .assistant-band .chat-quick {
    opacity: 1;
    animation: none;
}

.no-js .assistant-band .chat-typing,
html.no-observer .assistant-band .chat-typing {
    display: none;
}

/* ------------------------------------------------- responsywność nowości */

@media (max-width: 760px) {
    .module-marquee {
        padding: 13px 0;
    }

    .marquee-item {
        font-size: 12.5px;
        padding: 7px 13px;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }

    .step:not(:last-child)::after {
        display: none;
    }
}

/* =========================================================================
   Podstrony marketingowe — hero, cennik, FAQ, roadmapa, zapis do bety
   ========================================================================= */

/* --------------------------------------------------- page-hero: wejście */

.page-hero::after {
    content: "";
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(36% 42% at 20% 30%, rgba(79, 142, 247, 0.16), transparent 72%),
        radial-gradient(30% 36% at 82% 74%, rgba(35, 178, 109, 0.08), transparent 72%);
    pointer-events: none;
    animation: lp-aurora 24s ease-in-out infinite alternate;
}

.page-hero .breadcrumb { animation: lp-hero-in 0.5s 0.05s ease both; }
.page-hero .eyebrow { animation: lp-hero-in 0.5s 0.14s ease both; }
.page-hero h1 { animation: lp-hero-in 0.55s 0.22s ease both; }
.page-hero .container > p { animation: lp-hero-in 0.55s 0.32s ease both; }

@keyframes lp-hero-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ FAQ items */

.faq-item {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-item:hover {
    border-color: #cddcf3;
    transform: translateY(-2px);
}

.faq-item[open] {
    border-color: rgba(40, 116, 234, 0.4);
    box-shadow: 0 16px 38px rgba(40, 116, 234, 0.1);
}

.faq-item summary {
    transition: color 0.18s ease;
}

.faq-item summary:hover {
    color: var(--blue-dark);
}

.faq-item[open] summary {
    color: var(--blue-dark);
}

.faq-item[open] .faq-a {
    animation: lp-faq-open 0.32s ease;
}

@keyframes lp-faq-open {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

/* ----------------------------------------------------- cennik: karty cen */

.price-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    border-color: #cddcf3;
    box-shadow: var(--shadow-md);
}

.price-card.featured:hover {
    border-color: rgba(40, 116, 234, 0.65);
    box-shadow: 0 26px 64px rgba(40, 116, 234, 0.26);
}

/* Delikatny "oddech" wyróżnionego planu */
.price-card.featured {
    animation: lp-featured-glow 5.5s ease-in-out infinite;
}

@keyframes lp-featured-glow {
    0%, 100% { box-shadow: 0 22px 54px rgba(40, 116, 234, 0.16); }
    50% { box-shadow: 0 26px 62px rgba(40, 116, 234, 0.28); }
}

.price-badge {
    overflow: hidden;
}

.price-badge::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 45%;
    height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    animation: lp-badge-shine 4.5s ease-in-out 1.5s infinite;
}

@keyframes lp-badge-shine {
    0% { left: -75%; }
    28%, 100% { left: 125%; }
}

/* Stagger cech planu po wejściu karty w widok */
.price-card.reveal.is-visible .price-features li {
    animation: lp-chip-pop 0.38s ease both;
}

.price-card.reveal.is-visible .price-features li:nth-child(1) { animation-delay: 0.25s; }
.price-card.reveal.is-visible .price-features li:nth-child(2) { animation-delay: 0.32s; }
.price-card.reveal.is-visible .price-features li:nth-child(3) { animation-delay: 0.39s; }
.price-card.reveal.is-visible .price-features li:nth-child(4) { animation-delay: 0.46s; }
.price-card.reveal.is-visible .price-features li:nth-child(5) { animation-delay: 0.53s; }
.price-card.reveal.is-visible .price-features li:nth-child(6) { animation-delay: 0.6s; }

/* „Każdy plan zawiera" — kafelki wskakują falą */
.plans-includes.reveal.is-visible .include-item {
    animation: lp-chip-pop 0.4s ease both;
}

.plans-includes.reveal.is-visible .include-item:nth-child(1) { animation-delay: 0.1s; }
.plans-includes.reveal.is-visible .include-item:nth-child(2) { animation-delay: 0.14s; }
.plans-includes.reveal.is-visible .include-item:nth-child(3) { animation-delay: 0.18s; }
.plans-includes.reveal.is-visible .include-item:nth-child(4) { animation-delay: 0.22s; }
.plans-includes.reveal.is-visible .include-item:nth-child(5) { animation-delay: 0.26s; }
.plans-includes.reveal.is-visible .include-item:nth-child(6) { animation-delay: 0.3s; }
.plans-includes.reveal.is-visible .include-item:nth-child(7) { animation-delay: 0.34s; }
.plans-includes.reveal.is-visible .include-item:nth-child(8) { animation-delay: 0.38s; }
.plans-includes.reveal.is-visible .include-item:nth-child(9) { animation-delay: 0.42s; }
.plans-includes.reveal.is-visible .include-item:nth-child(10) { animation-delay: 0.46s; }
.plans-includes.reveal.is-visible .include-item:nth-child(11) { animation-delay: 0.5s; }
.plans-includes.reveal.is-visible .include-item:nth-child(12) { animation-delay: 0.54s; }
.plans-includes.reveal.is-visible .include-item:nth-child(13) { animation-delay: 0.58s; }
.plans-includes.reveal.is-visible .include-item:nth-child(14) { animation-delay: 0.62s; }
.plans-includes.reveal.is-visible .include-item:nth-child(15) { animation-delay: 0.66s; }
.plans-includes.reveal.is-visible .include-item:nth-child(16) { animation-delay: 0.7s; }

.include-item {
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.include-item:hover {
    transform: translateY(-2px);
    border-color: var(--blue);
    box-shadow: var(--shadow-sm);
}

.include-item .bi {
    transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.include-item:hover .bi {
    transform: scale(1.2);
}

.beta-banner .headline .bi {
    animation: lp-ping-soft 2.6s ease-in-out infinite;
}

/* ------------------------------------------------------------- roadmapa */

.rm-col {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rm-col:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.rm-col.reveal.is-visible .rm-item {
    animation: lp-row-in 0.38s ease both;
}

.rm-col.reveal.is-visible .rm-item:nth-child(2) { animation-delay: 0.12s; }
.rm-col.reveal.is-visible .rm-item:nth-child(3) { animation-delay: 0.17s; }
.rm-col.reveal.is-visible .rm-item:nth-child(4) { animation-delay: 0.22s; }
.rm-col.reveal.is-visible .rm-item:nth-child(5) { animation-delay: 0.27s; }
.rm-col.reveal.is-visible .rm-item:nth-child(6) { animation-delay: 0.32s; }
.rm-col.reveal.is-visible .rm-item:nth-child(7) { animation-delay: 0.37s; }
.rm-col.reveal.is-visible .rm-item:nth-child(8) { animation-delay: 0.42s; }
.rm-col.reveal.is-visible .rm-item:nth-child(9) { animation-delay: 0.47s; }
.rm-col.reveal.is-visible .rm-item:nth-child(10) { animation-delay: 0.52s; }
.rm-col.reveal.is-visible .rm-item:nth-child(11) { animation-delay: 0.57s; }
.rm-col.reveal.is-visible .rm-item:nth-child(12) { animation-delay: 0.62s; }
.rm-col.reveal.is-visible .rm-item:nth-child(13) { animation-delay: 0.67s; }
.rm-col.reveal.is-visible .rm-item:nth-child(14) { animation-delay: 0.72s; }
.rm-col.reveal.is-visible .rm-item:nth-child(15) { animation-delay: 0.77s; }
.rm-col.reveal.is-visible .rm-item:nth-child(16) { animation-delay: 0.82s; }
.rm-col.reveal.is-visible .rm-item:nth-child(17) { animation-delay: 0.87s; }

/* Changelog — akcent i wjazd na osi */
.cl-item {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cl-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--lp-blue-bright), var(--blue-dark));
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 0.3s ease;
}

.cl-item:hover {
    transform: translateX(4px);
    border-color: #cddcf3;
    box-shadow: var(--shadow-md);
}

.cl-item:hover::before {
    transform: scaleY(1);
}

.changelog.reveal.is-visible .cl-item {
    animation: lp-row-in 0.42s ease both;
}

.changelog.reveal.is-visible .cl-item:nth-child(2) { animation-delay: 0.1s; }
.changelog.reveal.is-visible .cl-item:nth-child(3) { animation-delay: 0.2s; }
.changelog.reveal.is-visible .cl-item:nth-child(4) { animation-delay: 0.3s; }
.changelog.reveal.is-visible .cl-item:nth-child(5) { animation-delay: 0.4s; }
.changelog.reveal.is-visible .cl-item:nth-child(6) { animation-delay: 0.5s; }

/* ------------------------------------------------------ zapis do bety */

.beta-form-field label {
    transition: color 0.15s ease;
}

.beta-form-field:focus-within label {
    color: var(--blue-dark);
}

.beta-form-field input:hover,
.beta-form-field select:hover,
.beta-form-field textarea:hover {
    border-color: #b9c9e2;
}

.beta-signup-perks {
    position: relative;
    overflow: hidden;
}

.beta-signup-perks::after {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(38% 42% at 78% 18%, rgba(79, 142, 247, 0.22), transparent 70%);
    pointer-events: none;
    animation: lp-aurora 20s ease-in-out infinite alternate;
}

.beta-signup-perks > * {
    position: relative;
    z-index: 1;
}

.beta-signup-perks h2 .bi {
    animation: lp-ping-soft 2.6s ease-in-out infinite;
}

/* Kroki „Jak to działa?" — numerki w kółkach zamiast gołej listy */
.beta-signup-how ol {
    list-style: none;
    counter-reset: bsteps;
    padding-left: 0;
}

.beta-signup-how ol li {
    counter-increment: bsteps;
    display: flex;
    align-items: baseline;
    gap: 11px;
}

.beta-signup-how ol li::before {
    content: counter(bsteps);
    flex: none;
    width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue-dark);
    font-size: 12px;
    font-weight: 800;
    transform: translateY(4px);
}

.beta-signup-success .success-icon {
    animation: lp-success-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}

@keyframes lp-success-pop {
    from { opacity: 0; transform: scale(0.4); }
    to { opacity: 1; transform: scale(1); }
}

/* ---------------------------------------------------- CTA band: aurora */

.cta-band::before {
    content: "";
    position: absolute;
    inset: -35%;
    background:
        radial-gradient(32% 38% at 22% 30%, rgba(79, 142, 247, 0.20), transparent 70%),
        radial-gradient(28% 34% at 80% 72%, rgba(35, 178, 109, 0.12), transparent 70%);
    pointer-events: none;
    animation: lp-aurora 22s ease-in-out infinite alternate;
}

.cta-band > * {
    position: relative;
    z-index: 1;
}

/* --------------------------------------- reduced motion dla podstron */

@media (prefers-reduced-motion: reduce) {
    .page-hero::after,
    .page-hero .breadcrumb,
    .page-hero .eyebrow,
    .page-hero h1,
    .page-hero .container > p,
    .price-card.featured,
    .price-badge::after,
    .beta-banner .headline .bi,
    .beta-signup-perks::after,
    .beta-signup-perks h2 .bi,
    .beta-signup-success .success-icon,
    .cta-band::before,
    .faq-item[open] .faq-a {
        animation: none;
    }

    .price-card.reveal.is-visible .price-features li,
    .plans-includes.reveal.is-visible .include-item,
    .rm-col.reveal.is-visible .rm-item,
    .changelog.reveal.is-visible .cl-item {
        animation: none;
    }

    .faq-item,
    .price-card,
    .include-item,
    .include-item .bi,
    .rm-col,
    .cl-item,
    .cl-item::before,
    .beta-form-field label {
        transition: none;
    }
}

/* -------------------------------------------- responsywność podstron */

@media (max-width: 760px) {
    .page-hero {
        padding: 56px 0 46px;
    }

    .faq-item summary {
        padding: 16px 18px;
        font-size: 15.5px;
        gap: 12px;
    }

    .faq-item .faq-a {
        padding: 0 18px 16px;
        font-size: 15px;
    }

    .cl-item {
        flex-direction: column;
        gap: 12px;
        padding: 18px 18px;
    }

    .beta-banner {
        padding: 16px 18px;
        text-align: left;
        justify-content: flex-start;
    }

    .price-amount .val {
        font-size: 38px;
    }

    .price-card {
        padding: 26px 22px;
    }

    .plans-includes {
        margin-top: 44px;
    }
}

/* =========================================================================
   Cennik — plan Enterprise (pasek pod trzema kartami, wycena indywidualna)
   ========================================================================= */

.enterprise-band {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    margin-top: 30px;
    padding: 40px 44px;
    border-radius: var(--radius-lg);
    background: linear-gradient(150deg, var(--lp-navy-900), var(--lp-navy-800) 60%, var(--lp-navy-700));
    color: var(--lp-on-navy);
    border: 1px solid var(--lp-navy-line);
    box-shadow: var(--lp-shadow-lg);
}

.enterprise-band::before {
    content: "";
    position: absolute;
    inset: -35%;
    background:
        radial-gradient(30% 40% at 18% 26%, rgba(79, 142, 247, 0.22), transparent 70%),
        radial-gradient(26% 34% at 88% 80%, rgba(35, 178, 109, 0.12), transparent 70%);
    pointer-events: none;
    animation: lp-aurora 22s ease-in-out infinite alternate;
}

.enterprise-band > * {
    position: relative;
    z-index: 1;
}

.enterprise-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(79, 142, 247, 0.16);
    color: #a9c8fa;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.enterprise-main h3 {
    color: #fff;
    font-size: clamp(22px, 2.6vw, 30px);
    margin: 14px 0 10px;
}

.enterprise-main > p {
    color: var(--lp-on-navy-soft);
    font-size: 16px;
    line-height: 1.6;
    max-width: 580px;
}

.enterprise-features {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 24px;
    color: var(--lp-on-navy);
    font-size: 14.5px;
    font-weight: 600;
}

.enterprise-features li {
    display: flex;
    gap: 9px;
    align-items: baseline;
}

.enterprise-features .bi {
    flex: none;
    color: #57c48d;
    font-size: 13px;
}

.enterprise-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 26px 24px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--lp-navy-line);
}

.enterprise-price {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.enterprise-price-sub {
    color: var(--lp-on-navy-soft);
    font-size: 13.5px;
    margin-bottom: 14px;
}

.enterprise-cta .btn {
    width: 100%;
}

.enterprise-note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 10px;
    color: #8fa5c9;
    font-size: 12.5px;
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    .enterprise-band::before {
        animation: none;
    }
}

@media (max-width: 860px) {
    .enterprise-band {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 32px 26px;
    }

    .enterprise-features {
        grid-template-columns: 1fr;
    }
}
