/* ═══════════════════════════════════════════════════
   EasyCRM Landing — Stylesheet
   ═══════════════════════════════════════════════════ */

:root {
    --ink:        #0B1220;
    --ink-2:      #1A2238;
    --text:       #1A2238;
    --muted:      #5B6B82;
    --muted-2:    #94A3B8;
    --line:       #E5EAF2;
    --line-2:     #EEF2F8;
    --bg:         #FFFFFF;
    --bg-soft:    #F7F9FC;
    --bg-tint:    #EEF4FF;
    --brand:      #2563EB;
    --brand-2:    #3B82F6;
    --brand-deep: #1E3A8A;
    --brand-soft: #EEF2FF;
    --accent:     #22C55E;
    --radius:     16px;
    --radius-sm:  10px;
    --radius-lg:  22px;
    --shadow-sm:  0 1px 2px rgba(15,23,42,0.04), 0 1px 1px rgba(15,23,42,0.03);
    --shadow:     0 4px 14px rgba(15,23,42,0.06), 0 2px 4px rgba(15,23,42,0.04);
    --shadow-lg:  0 20px 50px rgba(15,23,42,0.12), 0 6px 14px rgba(15,23,42,0.06);
    --ease:       cubic-bezier(.22,.61,.36,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.55;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    padding-top: 68px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─────── BUTTONS ─────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 20px;
    transition: transform .15s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
    white-space: nowrap;
    line-height: 1;
}
.btn-primary {
    background: linear-gradient(180deg, var(--brand-2) 0%, var(--brand) 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(37,99,235,0.28), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(37,99,235,0.34), inset 0 1px 0 rgba(255,255,255,0.18); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--line);
}
.btn-ghost:hover { background: var(--bg-soft); border-color: #d6dee8; }

/* Demo pill — premium look */
.btn-demo {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 16px 5px 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    line-height: 1;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 6px 18px rgba(15,23,42,0.18),
        inset 0 1px 0 rgba(255,255,255,0.12);
    overflow: hidden;
    isolation: isolate;
    transition: transform .2s var(--ease), box-shadow .25s var(--ease);
}
.btn-demo::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(96,165,250,0.55), transparent 40%, rgba(59,130,246,0.45));
    z-index: -1;
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.btn-demo:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 24px rgba(37,99,235,0.35),
        0 4px 10px rgba(15,23,42,0.18),
        inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-demo:hover::before { opacity: 1; }
.btn-demo:active { transform: translateY(0); }

.btn-demo-play {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #60A5FA, #3B82F6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 0 rgba(96,165,250,0.55),
        0 2px 6px rgba(59,130,246,0.4);
    animation: demoPulse 2.4s var(--ease) infinite;
    transition: transform .2s var(--ease);
}
.btn-demo-play svg { margin-left: 1px; }
.btn-demo:hover .btn-demo-play { transform: scale(1.06); }

@keyframes demoPulse {
    0%   { box-shadow: 0 0 0 0 rgba(96,165,250,0.55), 0 2px 6px rgba(59,130,246,0.4); }
    70%  { box-shadow: 0 0 0 10px rgba(96,165,250,0), 0 2px 6px rgba(59,130,246,0.4); }
    100% { box-shadow: 0 0 0 0 rgba(96,165,250,0), 0 2px 6px rgba(59,130,246,0.4); }
}

.btn-demo-label {
    background: linear-gradient(135deg, #ffffff 0%, #BFDBFE 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.btn-demo-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.6);
    animation: demoDot 1.8s var(--ease) infinite;
    flex-shrink: 0;
}
@keyframes demoDot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.6); }
    50%      { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 13px; }
.btn-xl { padding: 17px 28px; font-size: 17px; border-radius: 14px; }
.btn-block { width: 100%; }

/* ─────── HEADER ─────── */
.hdr {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255,255,255,0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid rgba(15,23,42,0.06);
}
.hdr-inner {
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 21px;
    letter-spacing: -0.025em;
    color: var(--brand-deep);
}
.brand-logo {
    height: 36px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
.brand-name {
    line-height: 1;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--muted);
    transition: color .15s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a.nav-cta {
    font-weight: 800;
    color: var(--brand);
}
.nav a.nav-cta:hover { color: var(--brand-deep); }
.nav a.nav-demo-mobile { display: none; } /* widoczny tylko w menu hamburgerowym */

.hdr-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch {
    display: flex;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 3px;
}
.lang-switch button {
    font-size: 12.5px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    color: var(--muted);
    transition: all .15s var(--ease);
    letter-spacing: 0.02em;
}
.lang-switch button.active {
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
}
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ─────── HERO ─────── */
.hero {
    position: relative;
    background: linear-gradient(180deg, #FAFBFE 0%, #F1F5FF 100%);
    overflow: hidden;
    padding: 56px 0 60px;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow-1 {
    position: absolute;
    width: 720px; height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.18) 0%, transparent 65%);
    top: -300px; right: -200px;
    filter: blur(10px);
}
.hero-glow-2 {
    position: absolute;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99,102,241,0.14) 0%, transparent 70%);
    bottom: -200px; left: -100px;
}
.hero-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(37,99,235,0.08) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: 0.5;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(37,99,235,0.18);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-deep);
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}
.hero-badge .dot {
    width: 7px; height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34,197,94,0.18);
    animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }

.hero-title {
    font-size: clamp(36px, 5.4vw, 60px);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin-bottom: 22px;
}
.hero-title .grad {
    background: linear-gradient(135deg, var(--brand-2) 0%, var(--brand-deep) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: clamp(15px, 1.5vw, 17px);
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 32px;
    line-height: 1.65;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-cta-demo { display: none; }

.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; }
.hero-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
}

/* Hero phones */
.hero-right { position: relative; display: flex; justify-content: center; align-items: center; min-height: 540px; }
.hero-phones { position: relative; width: 100%; height: 540px; }
.hero-phone { position: absolute; transition: transform .4s var(--ease); }
.hero-phone img { width: 100%; height: auto; }
.hp1 { width: 58%; top: 30px; left: 5%; transform: rotate(-4deg); z-index: 3; filter: drop-shadow(0 30px 40px rgba(15,23,42,0.18)); }
.hp2 { width: 56%; top: 0; left: 38%; transform: rotate(3deg); z-index: 4; filter: drop-shadow(0 30px 50px rgba(15,23,42,0.22)); }
.hp3 { width: 48%; top: 230px; left: 48%; transform: rotate(7deg); z-index: 2; opacity: 0.92; filter: drop-shadow(0 20px 36px rgba(15,23,42,0.14)); }
.hero-phones:hover .hp1 { transform: rotate(-4deg) translateY(-4px); }
.hero-phones:hover .hp2 { transform: rotate(3deg) translateY(-6px); }
.hero-phones:hover .hp3 { transform: rotate(7deg) translateY(-3px); }

/* ── Polish hero: single large phone (20 px cut at bottom) ── */
html[lang="pl"] .hero {
    background: linear-gradient(180deg, #FAFBFE 0%, #F1F5FF calc(100% - 60px), #ffffff calc(100% - 60px));
}
html[lang="pl"] .hero-left { transform: translateY(-20px); }
html[lang="pl"] .hero-phones { overflow: hidden; }
html[lang="pl"] .hp2,
html[lang="pl"] .hp3 { display: none !important; }
html[lang="pl"] .hp1 {
    width: 58%;
    height: 100%;
    top: 15px;
    left: 50%;
    transform: translateX(-50%) !important;
    filter: none !important;
}
html[lang="pl"] .hero-phones:hover .hp1 { transform: translateX(-50%) !important; }
html[lang="pl"] .hp1 img {
    height: calc(100% + 20px);
    width: auto;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

/* ── PL hero feature badges ──────────────────────────── */
.hero-pl-badge {
    display: none;
    position: absolute;
    left: 0;
    width: 162px;
    background: #fff;
    border: 1px solid rgba(15,23,42,0.09);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.10);
    padding: 13px 17px;
    z-index: 10;
    pointer-events: none;
}
html[lang="pl"] .hero-pl-badge       { display: flex; flex-direction: column; gap: 4px; }
html[lang="pl"] .hero-pl-badge--ksef { top: 20%; }
html[lang="pl"] .hero-pl-badge--api  { top: 57%; }

/* ── Prawa strona — tech badges ──────────────────────────── */
html[lang="pl"] .hero-pl-badge--right {
    left: auto;
    right: 0;
}
html[lang="pl"] .hero-pl-badge--php   { top: 22%; }
html[lang="pl"] .hero-pl-badge--mysql { top: 55%; }

.pl-badge-tech {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.1;
    color: #1e293b;
}
.tech-php   { color: #6E4FC2; }
.tech-mysql { color: #E97317; }

.pl-badge-eyebrow {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #94a3b8;
    line-height: 1;
    margin-bottom: 2px;
}
.pl-badge-ksef {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -.03em;
    line-height: 1.1;
}
.ksef-ks, .ksef-f { color: #0C2461; }
.ksef-e            { color: #E63312; }

.pl-badge-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}
.pl-badge-sub {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

/* hide badges + restore full-width phone on small viewports */
@media (max-width: 1024px) {
    .hero-pl-badge { display: none !important; }
    html[lang="pl"] .hero-pl-badge { display: none !important; }
    html[lang="pl"] .hp1 { width: 80%; }
}

/* ─────── SECTION HEAD ─────── */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 32px;
}
.kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    color: var(--brand);
    margin-bottom: 14px;
}
.section-title {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 16px;
}
.section-sub {
    font-size: clamp(15px, 1.4vw, 17px);
    color: var(--muted);
    line-height: 1.6;
}

/* ─────── FEATURES ─────── */
.features { padding: 56px 0; background: var(--bg); }
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ── PL-only feature cards ───────────────────────────────── */
.feat-card--pl-only          { display: none; }
html[lang="pl"] .feat-card--pl-only { display: block; }

.feat-new-badge {
    display: inline-block;
    margin-bottom: 14px;
    padding: 3px 9px;
    background: linear-gradient(135deg, #1E3A8A 0%, #2563EB 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    border-radius: 20px;
    line-height: 1.6;
}

html[lang="pl"] .feat-card--pl-only .feat-icon {
    background: linear-gradient(135deg, #EEF2FF 0%, #C7D7FD 100%);
}

.feat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.feat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37,99,235,0.22);
    box-shadow: 0 20px 40px rgba(37,99,235,0.08), 0 4px 10px rgba(15,23,42,0.04);
}
.feat-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--brand-soft) 0%, #DBE6FF 100%);
    color: var(--brand);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.feat-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin-bottom: 8px;
}
.feat-text {
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.6;
}

/* ─────── SCREENS ─────── */
.screens {
    padding: 56px 0;
    background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
    position: relative;
    overflow: hidden;
}
.screens-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 24px 30px;
    margin: 0 -24px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}
.screens-track::-webkit-scrollbar { display: none; }
.screen-card {
    flex: 0 0 auto;
    width: 260px;
    scroll-snap-align: center;
    transition: transform .3s var(--ease);
}
.screen-card img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 40px rgba(15,23,42,0.18));
    cursor: zoom-in;
    transition: transform .25s var(--ease);
}
.screen-card:hover { transform: translateY(-6px); }
.screen-card img:hover { transform: scale(1.02); }

.screens-nav { display: flex; justify-content: center; gap: 12px; margin-top: 14px; }
.screens-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: transform .15s var(--ease), border-color .2s var(--ease);
}
.screens-btn:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }

/* ─────── TECH ─────── */
.tech { padding: 56px 0; background: var(--bg); }
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.tech-card {
    text-align: center;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.tech-card:hover { transform: translateY(-3px); border-color: rgba(37,99,235,0.22); }
.tech-card img {
    width: 52px; height: 52px;
    margin: 0 auto 16px;
}
.tech-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.tech-desc {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.5;
}

/* ─────── PRICING ─────── */
.pricing {
    padding: 56px 0;
    background: linear-gradient(180deg, #fff 0%, var(--bg-tint) 100%);
}
.price-card {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 44px 36px 36px;
    box-shadow: 0 30px 60px rgba(37,99,235,0.12), 0 8px 20px rgba(15,23,42,0.05);
    border: 1px solid rgba(37,99,235,0.16);
    overflow: hidden;
}
.price-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-2), var(--brand-deep));
}
.price-name {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 6px;
}
.price-desc {
    font-size: 14.5px;
    color: var(--muted);
    margin-bottom: 28px;
}
.price-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 32px;
}
.price-cur {
    font-size: 28px;
    font-weight: 700;
    color: var(--ink-2);
    letter-spacing: -0.02em;
}
.price-cur:empty { display: none; }
.price-num {
    font-size: 64px;
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -0.04em;
    line-height: 1;
}
.price-usd {
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    margin-left: 6px;
    letter-spacing: 0.06em;
}

.price-list { list-style: none; margin-bottom: 28px; }
.price-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--line-2);
    font-size: 14.5px;
    color: var(--text);
    font-weight: 500;
}
.price-list li:last-child { border-bottom: 0; }
.price-list svg { flex-shrink: 0; }

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

/* ─────── FAQ ─────── */
.faq { padding: 56px 0; background: var(--bg); }
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 12px;
    transition: border-color .2s var(--ease), background .2s var(--ease);
    overflow: hidden;
}
.faq-item:hover { border-color: rgba(37,99,235,0.22); }
.faq-item[open] {
    border-color: rgba(37,99,235,0.32);
    background: var(--brand-soft);
}
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 22px;
    font-weight: 600;
    color: var(--ink);
    font-size: 15.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    transition: transform .25s var(--ease), background .2s var(--ease);
}
.faq-item[open] .faq-plus { transform: rotate(45deg); background: #fff; }
.faq-item p {
    padding: 0 22px 20px;
    font-size: 14.5px;
    color: var(--muted);
    line-height: 1.65;
}

/* ─────── FINAL CTA ─────── */
.finalcta {
    background: linear-gradient(135deg, #0B1220 0%, #15203A 50%, #0B1220 100%);
    color: #fff;
    padding: 56px 0;
    position: relative;
    overflow: hidden;
}
.finalcta::before {
    content: "";
    position: absolute;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.28) 0%, transparent 65%);
    top: -300px; left: 50%; transform: translateX(-50%);
    pointer-events: none;
}
.finalcta-inner {
    position: relative;
    text-align: center;
    z-index: 2;
}
.finalcta-title {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 14px;
}
.finalcta-sub {
    font-size: clamp(15px, 1.4vw, 17px);
    color: #94A3B8;
    margin-bottom: 32px;
}

/* ─────── FOOTER ─────── */
.ftr {
    background: #0B1220;
    color: #94A3B8;
    padding: 38px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.ftr-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.ftr-copy { font-size: 13.5px; }
.ftr-links { display: flex; gap: 22px; }
.ftr-links a { font-size: 13.5px; transition: color .15s var(--ease); }
.ftr-links a:hover { color: #fff; }

/* ─────── LIGHTBOX ─────── */
.lb {
    position: fixed;
    inset: 0;
    background: rgba(8, 12, 22, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 60px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease);
}
.lb.open {
    opacity: 1;
    pointer-events: auto;
}
.lb-stage {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lb-stage img {
    max-width: 100%;
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
    animation: lbIn .3s var(--ease);
}
@keyframes lbIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}

.lb-close {
    position: absolute;
    top: 22px; right: 22px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s var(--ease), transform .15s var(--ease);
    z-index: 2;
}
.lb-close:hover { background: rgba(255,255,255,0.2); transform: scale(1.05); }

.lb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px; height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s var(--ease), transform .15s var(--ease);
    z-index: 2;
}
.lb-arrow:hover { background: rgba(255,255,255,0.18); }
.lb-prev { left: 28px; }
.lb-next { right: 28px; }
.lb-prev:hover { transform: translateY(-50%) translateX(-2px); }
.lb-next:hover { transform: translateY(-50%) translateX(2px); }

.lb-counter {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.65);
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: rgba(255,255,255,0.06);
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.08);
}

/* No scroll when open */
body.lb-open { overflow: hidden; }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */

/* ≤ 1024px — tablets */
@media (max-width: 1024px) {
    .nav { display: none; }
    .nav.open {
        display: flex;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 12px 24px 18px;
        border-bottom: 1px solid var(--line);
        box-shadow: 0 14px 30px rgba(15,23,42,0.06);
    }
    .nav.open a { padding: 12px 4px; border-bottom: 1px solid var(--line-2); font-size: 15px; color: var(--ink); }
    .nav.open a:last-child { border-bottom: 0; }
    .nav a.nav-demo-mobile { display: none; }
    .nav.open a.nav-demo-mobile { display: block; font-weight: 800; color: var(--brand); }
    .burger { display: flex; }
    .hide-sm { display: none; }

    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-inner { grid-template-columns: 1fr; gap: 5px; text-align: center; }
    html[lang="pl"] .hero-title { margin-top: 8px; }
    .hero-badge, .hero-meta, .hero-cta { justify-content: center; }
    .hero-meta { justify-content: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-right { min-height: 460px; }
    .hero-phones { max-width: 520px; height: 460px; margin: 0 auto; }
}

/* ≤ 768px — large phones */
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .hero { padding: 40px 0 44px; }
    .features, .screens, .tech, .pricing, .faq { padding: 40px 0; }
    .finalcta { padding: 40px 0; }
    .section-head { margin-bottom: 24px; }

    .feat-grid { grid-template-columns: 1fr; gap: 14px; }
    .feat-card { padding: 22px; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    .trust-inner { gap: 18px 12px; }
    .trust-divider { display: none; }
    .trust-item { min-width: 120px; flex: 1 1 40%; }

    .hero-right { min-height: 380px; }
    .hero-phones { height: 380px; max-width: 440px; }

    html[lang="pl"] .hero { padding-bottom: 0; background: linear-gradient(180deg, #FAFBFE 0%, #F1F5FF 100%); }
    html[lang="pl"] .hero-right { min-height: 552px; }
    html[lang="pl"] .hero-phones { height: 552px; max-width: 100%; }
    html[lang="pl"] .hp1 { width: 100%; }

    .price-card { padding: 36px 24px 28px; }
    .price-num { font-size: 54px; }

    .ftr-inner { justify-content: center; text-align: center; }
}

/* ≤ 480px — phones */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hdr-inner { height: 60px; gap: 8px; }
    .brand { font-size: 19px; }
    .brand-logo { height: 32px; }

    .lang-switch button { padding: 5px 8px; font-size: 11.5px; }

    .hero { padding: 28px 0 36px; }
    .hero-title { font-size: 34px; }
    .hero-sub { font-size: 14.5px; margin-bottom: 24px; }
    .hero-cta { flex-direction: column; gap: 14px; width: 100%; }
    .hero-cta .btn { width: 100%; }
    .hero-cta-demo { display: inline-flex; }
    .hero-meta { gap: 12px 18px; font-size: 13px; }

    .hero-right { min-height: 320px; }
    .hero-phones { height: 320px; max-width: 360px; }

    html[lang="pl"] .hero { padding-bottom: 0; background: linear-gradient(180deg, #FAFBFE 0%, #F1F5FF 100%); }
    html[lang="pl"] .hero-right { min-height: 483px; }
    html[lang="pl"] .hero-phones { height: 483px; max-width: 100%; }
    html[lang="pl"] .hp1 { width: 100%; }

    .features, .screens, .tech, .pricing, .faq { padding: 32px 0; }
    .finalcta { padding: 36px 0; }

    .feat-card { padding: 20px; }
    .feat-icon { width: 42px; height: 42px; margin-bottom: 14px; }
    .feat-title { font-size: 16.5px; }
    .feat-text { font-size: 14px; }

    .tech-grid { gap: 12px; }
    .tech-card { padding: 24px 16px; }
    .tech-card img { width: 44px; height: 44px; margin-bottom: 12px; }

    .screen-card { width: 210px; }
    .screens-track { padding-left: 16px; padding-right: 16px; margin: 0 -16px; }

    .price-card { padding: 32px 22px 26px; }
    .price-name { font-size: 24px; }
    .price-num { font-size: 48px; }
    .price-cur { font-size: 22px; }
    .price-list li { font-size: 14px; padding: 8px 0; }

    .faq-item summary { padding: 16px 18px; font-size: 14.5px; }
    .faq-item p { padding: 0 18px 18px; font-size: 14px; }

    .ftr-inner {
        justify-content: flex-start;
        text-align: left;
    }
    .ftr-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* Lightbox on phones */
    .lb { padding: 60px 12px 70px; }
    .lb-close { top: 14px; right: 14px; width: 40px; height: 40px; }
    .lb-arrow { width: 42px; height: 42px; }
    .lb-prev { left: 10px; }
    .lb-next { right: 10px; }
    .lb-arrow svg { width: 22px; height: 22px; }
    .lb-stage img { max-height: 78vh; }
    .lb-counter { bottom: 18px; font-size: 12.5px; padding: 5px 12px; }
}

/* ≤ 390px — small phones */
@media (max-width: 390px) {
    .container { padding: 0 14px; }
    .hdr-inner { gap: 6px; }
    .brand { gap: 8px; font-size: 17px; }
    .brand-logo { height: 28px; }
    .lang-switch { padding: 2px; }
    .lang-switch button { padding: 4px 7px; font-size: 11px; }
    .burger { padding: 6px; }

    .hero-title { font-size: 30px; }
    .hero-sub { font-size: 14px; }

    .hero-right { min-height: 280px; }
    .hero-phones { height: 280px; max-width: 320px; }

    html[lang="pl"] .hero { padding-bottom: 0; background: linear-gradient(180deg, #FAFBFE 0%, #F1F5FF 100%); }
    html[lang="pl"] .hero-right { min-height: 437px; }
    html[lang="pl"] .hero-phones { height: 437px; max-width: 100%; }
    html[lang="pl"] .hp1 { width: 100%; }

    html[lang="pl"] .hero-pl-badge {
        width: 88px;
        padding: 8px 10px;
        border-radius: 10px;
    }
    html[lang="pl"] .pl-badge-title { font-size: 10px; }
    html[lang="pl"] .pl-badge-sub   { font-size: 9px; }
    html[lang="pl"] .pl-badge-ksef  { font-size: 15px; }
    html[lang="pl"] .pl-badge-tech  { font-size: 14px; }

    .hero-badge { font-size: 12px; padding: 5px 11px; }
    .btn { padding: 11px 16px; font-size: 14px; }
    .btn-lg { padding: 13px 20px; font-size: 15px; }
    .btn-xl { padding: 15px 22px; font-size: 15.5px; }

    .section-title { font-size: 26px; }
    .section-sub { font-size: 14px; }
    .kicker { font-size: 11.5px; letter-spacing: 0.14em; }

    .feat-card { padding: 18px; }
    .tech-card { padding: 22px 12px; }
    .tech-name { font-size: 15.5px; }
    .tech-desc { font-size: 12.5px; }

    .screen-card { width: 190px; }
    .screens-track { margin: 0 -14px; padding-left: 14px; padding-right: 14px; }

    .price-card { padding: 28px 18px 22px; border-radius: 18px; }
    .price-num { font-size: 42px; }
    .price-amount { gap: 2px; }

    .finalcta-title { font-size: 24px; }
}
