/* ===== Landing — erp.palus.sk ===== */
:root {
    --lp-bg: #0b0d1a;
    --lp-bg-2: #10132a;
    --lp-surface: #ffffff;
    --lp-ink: #0f172a;
    --lp-muted: #64748b;
    --lp-primary: #6366f1;
    --lp-violet: #8b5cf6;
    --lp-pink: #ec4899;
    --lp-grad: linear-gradient(93deg, #6366f1, #8b5cf6 55%, #d946ef);
    --lp-radius: 18px;
}

html { scroll-behavior: smooth; }
body.lp {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--lp-ink);
    background: #fff;
    overflow-x: hidden;
}
.lp h1, .lp h2, .lp h3, .lp .lp-h2 { font-family: 'Space Grotesk', 'Inter', sans-serif; letter-spacing: -.02em; }

/* scroll progress */
.lp-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: var(--lp-grad); z-index: 2000; transition: width .1s linear;
}

/* ===== header ===== */
.lp-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1050;
    transition: background .25s, box-shadow .25s, backdrop-filter .25s;
}
.lp-header.scrolled {
    background: rgba(11, 13, 26, .75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .25);
}
.lp-brand { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; font-family: 'Space Grotesk', sans-serif; }
.lp-brand-dot { color: #a78bfa; }
.lp-brand-mark {
    width: 34px; height: 34px; border-radius: 10px; display: inline-flex;
    align-items: center; justify-content: center; color: #fff; font-size: 1.15rem;
    background: var(--lp-grad); box-shadow: 0 4px 18px rgba(139, 92, 246, .45);
}
.lp-nav-link {
    color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 500;
    padding: .45rem .8rem; border-radius: 10px; display: inline-block;
}
.lp-nav-link:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.lp-burger { background: none; border: 0; color: #fff; font-size: 1.5rem; }
.lp-dropdown { border: 0; border-radius: 14px; padding: .5rem; min-width: 320px; }
.lp-dropdown .dropdown-item {
    border-radius: 10px; padding: .55rem .8rem; display: flex; align-items: baseline;
    gap: .5rem; flex-wrap: wrap; font-weight: 600;
}
.lp-dropdown .dropdown-item i { color: var(--lp-primary); }
.lp-dropdown .dropdown-item span { display: block; width: 100%; font-weight: 400; font-size: .78rem; color: var(--lp-muted); margin-left: 1.55rem; }
.lp-dropdown .dropdown-item:hover { background: #eef2ff; }
@media (max-width: 991px) {
    #lp-nav { background: rgba(11,13,26,.97); position: absolute; top: 100%; left: 0; right: 0; padding: 1rem 1.5rem 1.5rem; }
    .lp-nav-link { display: block; }
}

/* buttons */
.lp-btn-primary {
    background: var(--lp-grad); color: #fff !important; border: 0; font-weight: 600;
    box-shadow: 0 6px 22px rgba(99, 102, 241, .45);
    transition: transform .15s, box-shadow .15s;
}
.lp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(99, 102, 241, .6); }
.lp-btn-ghost { color: rgba(255,255,255,.85) !important; border: 1px solid rgba(255,255,255,.25); font-weight: 600; }
.lp-btn-ghost:hover { background: rgba(255,255,255,.1); }
.lp-btn-light { background: #fff; color: var(--lp-ink) !important; font-weight: 700; border: 0; }
.lp-btn-light:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.lp-btn-outline-light { color: #fff !important; border: 1.5px solid rgba(255,255,255,.5); font-weight: 600; }
.lp-btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ===== hero ===== */
.lp-hero {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(1200px 700px at 75% -10%, #312e81 0%, transparent 55%), var(--lp-bg);
    padding: 9.5rem 0 6rem;
}
.lp-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(900px 600px at 50% 20%, #000 30%, transparent 75%);
}
.lp-blob {
    position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none;
    animation: lp-float 14s ease-in-out infinite alternate;
}
.lp-blob-1 { width: 480px; height: 480px; background: #6366f1; top: -140px; left: -120px; }
.lp-blob-2 { width: 420px; height: 420px; background: #d946ef; bottom: -160px; right: -100px; animation-delay: -7s; }
.lp-blob-3 { width: 300px; height: 300px; background: #0ea5e9; top: 30%; right: 12%; opacity: .3; animation-delay: -3s; }
@keyframes lp-float {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(60px, 40px) scale(1.15); }
}

.lp-badge {
    display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .9rem;
    border-radius: 999px; background: rgba(139, 92, 246, .16); color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, .4); font-weight: 600; font-size: .85rem;
}
.lp-hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 700; line-height: 1.08; }
.lp-grad-text {
    background: linear-gradient(93deg, #a5b4fc, #c4b5fd 45%, #f0abfc);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-type-wrap { min-height: 1.15em; display: inline-block; }
.lp-caret { display: inline-block; width: 3px; background: #c4b5fd; animation: lp-blink 1s steps(1) infinite; }
@keyframes lp-blink { 50% { opacity: 0; } }
.lp-lead { font-size: 1.15rem; line-height: 1.65; }
.lp-hero .lp-lead { color: rgba(255,255,255,.72); max-width: 640px; }

.lp-hero-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.lp-chip {
    padding: .35rem .8rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.85);
}
.lp-chip i { color: #a5b4fc; }

/* browser mockup */
.lp-browser {
    border-radius: var(--lp-radius); overflow: hidden; background: #1e2338;
    box-shadow: 0 40px 100px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255,255,255,.08);
    transform-style: preserve-3d; will-change: transform;
}
.lp-browser-bar { display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; background: #171b30; }
.lp-browser-dot { width: 11px; height: 11px; border-radius: 50%; }
.lp-browser-url {
    flex: 1; max-width: 340px; margin: 0 auto; text-align: center; font-size: .72rem;
    color: rgba(255,255,255,.55); background: rgba(255,255,255,.07); border-radius: 7px; padding: .2rem .8rem;
}
.lp-browser img { width: 100%; display: block; }
.lp-glow { position: relative; }
.lp-glow::after {
    content: ''; position: absolute; inset: -6%; z-index: -1; border-radius: 30px;
    background: var(--lp-grad); filter: blur(70px); opacity: .35;
}

/* floating mini cards on hero */
.lp-float-card {
    position: absolute; background: #fff; color: var(--lp-ink); border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,.35); padding: .7rem .95rem; font-size: .82rem; font-weight: 600;
    display: flex; align-items: center; gap: .55rem; animation: lp-bob 6s ease-in-out infinite;
}
.lp-float-card i { font-size: 1.25rem; }
@keyframes lp-bob { 50% { transform: translateY(-12px); } }

/* ===== sections ===== */
.lp-section { padding: 5.5rem 0; }
.lp-section-dark { background: var(--lp-bg); color: #fff; position: relative; overflow: hidden; }
.lp-kicker {
    text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .8rem;
    background: var(--lp-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
.lp-section .lp-lead { color: var(--lp-muted); }

/* stats */
.lp-stats { background: var(--lp-bg-2); color: #fff; padding: 2.4rem 0; }
.lp-stat-num { font-size: 2.3rem; font-weight: 800; font-family: 'Space Grotesk', sans-serif; background: linear-gradient(93deg,#a5b4fc,#f0abfc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-stat-label { color: rgba(255,255,255,.6); font-size: .9rem; }

/* feature cards */
.lp-card {
    border: 1px solid #e2e8f0; border-radius: var(--lp-radius); padding: 1.6rem;
    height: 100%; background: #fff; text-decoration: none; color: inherit; display: block;
    transition: transform .2s, box-shadow .2s, border-color .2s; position: relative; overflow: hidden;
}
.lp-card:hover { transform: translateY(-6px); box-shadow: 0 24px 60px rgba(15, 23, 42, .12); border-color: #c7d2fe; color: inherit; }
.lp-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--lp-grad); opacity: 0; transition: opacity .2s;
}
.lp-card:hover::before { opacity: 1; }
.lp-card-icon {
    width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem; color: #fff; background: var(--lp-grad); box-shadow: 0 8px 20px rgba(99,102,241,.35); margin-bottom: 1rem;
}
.lp-card h3 { font-size: 1.1rem; font-weight: 700; }
.lp-card p { color: var(--lp-muted); font-size: .92rem; margin-bottom: .4rem; }
.lp-card .lp-more { font-weight: 600; font-size: .88rem; color: var(--lp-primary); }
.lp-card .lp-more i { transition: transform .2s; }
.lp-card:hover .lp-more i { transform: translateX(4px); }

/* showcase (alternating screenshot rows) */
.lp-shot {
    border-radius: var(--lp-radius); overflow: hidden;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .18), 0 0 0 1px rgba(15,23,42,.06);
}
.lp-shot img { width: 100%; display: block; }
.lp-shot-crop { max-height: 460px; object-fit: cover; object-position: top; }
.lp-check { list-style: none; padding: 0; margin: 0; }
.lp-check li { padding: .4rem 0 .4rem 2rem; position: relative; color: #334155; }
.lp-check li::before {
    content: '✓'; position: absolute; left: 0; top: .35rem; width: 22px; height: 22px;
    display: flex; align-items: center; justify-content: center; border-radius: 7px;
    background: #eef2ff; color: var(--lp-primary); font-weight: 800; font-size: .8rem;
}

/* steps */
.lp-step-num {
    font-family: 'Space Grotesk', sans-serif; font-size: 2.6rem; font-weight: 700; line-height: 1;
    background: var(--lp-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* marquee */
.lp-marquee { overflow: hidden; position: relative; padding: 1.1rem 0; background: var(--lp-bg-2); }
.lp-marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: lp-marquee 28s linear infinite; }
.lp-marquee span { color: rgba(255,255,255,.55); font-weight: 600; white-space: nowrap; font-size: .95rem; }
.lp-marquee span i { color: #a5b4fc; }
@keyframes lp-marquee { to { transform: translateX(-50%); } }

/* code block */
.lp-code {
    background: #0f172a; color: #e2e8f0; border-radius: 14px; padding: 1.2rem 1.4rem;
    font-family: ui-monospace, 'SF Mono', Menlo, monospace; font-size: .82rem; line-height: 1.65;
    overflow-x: auto; box-shadow: 0 20px 60px rgba(15,23,42,.35);
}
.lp-code .c-k { color: #93c5fd; } .lp-code .c-s { color: #86efac; } .lp-code .c-c { color: #64748b; }

/* accordion (FAQ) */
.lp .accordion-item { border: 1px solid #e2e8f0; border-radius: 14px !important; overflow: hidden; margin-bottom: .7rem; }
.lp .accordion-button { font-weight: 600; }
.lp .accordion-button:not(.collapsed) { background: #eef2ff; color: var(--lp-primary); box-shadow: none; }

/* final CTA + footer */
.lp-cta-final { position: relative; overflow: hidden; background: var(--lp-bg); padding: 5.5rem 0; }
.lp-footer { background: #070912; color: #cbd5e1; padding: 3.5rem 0 1.5rem; }
.lp-foot-title { font-weight: 700; color: #fff; margin-bottom: .7rem; font-size: .92rem; }
.lp-footer a { display: block; color: #94a3b8; text-decoration: none; padding: .18rem 0; font-size: .9rem; }
.lp-footer a:hover { color: #fff; }
.lp-foot-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.5rem; padding-top: 1.2rem; color: #64748b; font-size: .85rem; }

/* pricing */
.lp-price-card { border: 1px solid #e2e8f0; border-radius: var(--lp-radius); padding: 2rem; height: 100%; background: #fff; position: relative; }
.lp-price-card.featured { border: 2px solid transparent; background: linear-gradient(#fff,#fff) padding-box, var(--lp-grad) border-box; box-shadow: 0 30px 70px rgba(99,102,241,.18); }
.lp-price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--lp-grad); color: #fff; font-size: .75rem; font-weight: 700; padding: .25rem .9rem; border-radius: 999px; }
.lp-price { font-size: 2.6rem; font-weight: 800; font-family: 'Space Grotesk', sans-serif; }
.lp-price small { font-size: 1rem; color: var(--lp-muted); font-weight: 500; }

/* subpage hero */
.lp-subhero { background: radial-gradient(900px 500px at 70% -20%, #312e81 0%, transparent 60%), var(--lp-bg); color: #fff; padding: 8.5rem 0 4rem; position: relative; overflow: hidden; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .lp-blob, .lp-float-card, .lp-marquee-track { animation: none; }
}
