/* styles.css — prowed.eu (tmavý dizajn prevzatý z prowedian, čiernobiela paleta podľa loga PROWED) */

:root {
    --bg: #111111;
    --section: #151515;
    --card: #1a1a1a;
    --field: #202020;
    --border: #2a2a2a;
    --text: #f4f4f4;
    --muted: #8c8c8c;
    --primary: #c9c9c9;
    --accent: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.85; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ---- Header / nav ---- */
header.site {
    position: sticky; top: 0; z-index: 50;
    background: rgba(17, 17, 17, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-symbol { height: 26px; width: auto; }
.brand-wordmark { height: 15px; width: auto; }
/* margin-left:auto drží menu vpravo — bez neho by ho space-between odtlačilo do stredu */
nav.main { display: flex; align-items: center; gap: 24px; font-size: 0.9rem; margin-left: auto; }
nav.main a { color: var(--primary); }
nav.main a:hover { color: var(--accent); opacity: 1; }
nav.main a.nav-cta { color: var(--bg); background: var(--accent); padding: 6px 16px; border-radius: 999px; font-weight: 600; }
nav.main a.nav-cta:hover { color: var(--bg); opacity: 0.85; }

.header-right { display: flex; align-items: center; gap: 4px; }
/* Hamburger — skrytý na desktope, tri prúžky sa po otvorení zmenia na X */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 9px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.site.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
    .nav-toggle { display: flex; }
    nav.main {
        display: none;
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--card); border-bottom: 1px solid var(--border);
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
    }
    .site.nav-open nav.main { display: flex; }
    nav.main a { padding: 14px 22px; font-size: 1rem; border-top: 1px solid var(--border); }
    nav.main a:first-child { border-top: none; }
    nav.main a.nav-cta { background: none; color: var(--accent); border-radius: 0; padding: 14px 22px; }
}

/* Prepínač jazykov — rozbaľovací, vo footeri. Menu sa otvára NAHOR, lebo je na konci stránky. */
.lang-switch { position: relative; display: inline-block; margin-bottom: 22px; }
.lang-current {
    display: flex; align-items: center; gap: 8px;
    background: var(--field); color: var(--text);
    border: 1px solid var(--border); border-radius: 999px;
    padding: 7px 14px; font-size: 0.85rem; cursor: pointer;
    font-family: inherit;
}
.lang-current img { width: 20px; height: 15px; border-radius: 2px; object-fit: cover; display: block; }
.lang-caret { color: var(--muted); font-size: 0.7rem; }
.lang-menu {
    display: none; position: absolute; left: 50%; transform: translateX(-50%);
    bottom: calc(100% + 8px); z-index: 60; text-align: left;
    background: var(--card); border: 1px solid var(--border); border-radius: 12px;
    overflow: hidden; min-width: 190px;
    box-shadow: 0 12px 34px rgba(0,0,0,0.5);
}
.lang-switch.open .lang-menu { display: block; }
.lang-menu a {
    display: flex; align-items: center; gap: 9px; white-space: nowrap;
    padding: 9px 14px; font-size: 0.9rem; color: var(--primary);
    border-top: 1px solid var(--border);
}
.lang-menu a:first-child { border-top: none; }
.lang-menu a:hover, .lang-menu a.active { background: var(--field); color: var(--text); opacity: 1; }
.lang-menu a img { width: 22px; height: 16px; border-radius: 2px; object-fit: cover; display: block; }

/* ---- Animácie — hero nabehne pri načítaní, sekcie sa odhaľujú pri scrolle ---- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes slideLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
}
.hero .overline, .hero h1, .hero .punch, .hero .cta { opacity: 0; animation: fadeUp 0.7s ease-out forwards; }
.hero h1     { animation-delay: 0.1s; }
.hero .punch { animation-delay: 0.25s; }
.hero .cta   { animation-delay: 0.4s; }
.hero-browser         { opacity: 0; animation: fadeUp 0.8s ease-out 0.55s forwards; }
.hero-phone.left      { opacity: 0; animation: slideLeft 0.6s ease-out 0.85s forwards; }
.hero-phone.right     { opacity: 0; animation: slideRight 0.6s ease-out 0.85s forwards; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.reveal.visible { opacity: 1; transform: translate(0, 0); }
@media (prefers-reduced-motion: reduce) {
    .hero .overline, .hero h1, .hero .punch, .hero .cta, .hero-browser, .hero-phone { animation: none; opacity: 1; }
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Overline (Oswald, riedené) — nad sekciami aj v hero ---- */
.overline {
    display: block;
    text-align: center;
    font-family: "Oswald", "Poppins", sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.38em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

/* ---- Hero ---- */
.hero { position: relative; padding: 84px 0 0; text-align: center; overflow: hidden; }
/* „Matrix“ dážď kódových znakov (canvas, kreslí ho JS v index.php) — len okolo nadpisu */
.hero-rain {
    position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none;
    opacity: 0.55;
    -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 20%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(1.9rem, 4.8vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: 0.01em;
}
/* Akcent bez farby — strieborný prechod, drží čiernobielu identitu loga */
.hero h1 .accent {
    background: linear-gradient(90deg, #ffffff 0%, #9d9d9d 100%);
    -webkit-background-clip: text; background-clip: text;
    color: transparent;
}
.hero .punch {
    margin: 26px auto 0;
    max-width: 720px;
    color: var(--primary);
    font-weight: 400;
    font-size: clamp(1rem, 1.9vw, 1.2rem);
}
.hero .cta { margin-top: 34px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.button {
    display: inline-flex; align-items: center; justify-content: center; text-align: center;
    padding: 12px 28px; border-radius: 999px;
    background: var(--accent); color: var(--bg);
    font-weight: 600; font-size: 0.95rem;
    border: 1px solid var(--accent);
    transition: background 0.2s, color 0.2s;
}
.button:hover { opacity: 1; background: transparent; color: var(--accent); }
.button.ghost { background: transparent; color: var(--accent); border-color: #4a4a4a; }
.button.ghost:hover { border-color: var(--accent); }

/* Zariadenia v hero — prehliadač s PROWEDaward v strede, mobil Prowedian vľavo, pokladnica FiskalPRO vpravo */
.hero-devices {
    position: relative; z-index: 1;
    margin-top: 64px;
    display: flex; justify-content: center; align-items: flex-end;
    padding-bottom: 70px; /* miesto pod prehliadačom, aby mobil aj pokladnica boli vidieť celé */
}
.hero-devices::before {
    content: "";
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    width: 90%; height: 80%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08), transparent 68%);
    filter: blur(30px);
    pointer-events: none;
}
.hero-browser { position: relative; width: 66%; z-index: 1; margin-bottom: -2px; }
.hero-phone { position: absolute; bottom: 24px; width: 20%; z-index: 2; }
.hero-phone.left  { left: 2%; }
.hero-phone.right { right: 2%; }
/* Mobil vľavo: obsah displeja sa swipuje ako v iOS — rám a stavový riadok stoja, posúva sa len obsah.
   Displej v screenshotoch (640×1306): 42 px od okrajov, stavový riadok do 112 px, rohy ~72 px. */
.phone-swipe { position: absolute; }
.ps-window {
    position: absolute; overflow: hidden;
    left: 6.5625%; right: 6.5625%; top: 8.576%; bottom: 3.216%;
    border-bottom-left-radius: 12.95% 6.25%; border-bottom-right-radius: 12.95% 6.25%;
}
.ps-track { display: flex; width: 600%; height: 100%; animation: phoneSwipe 15s infinite; }
.ps-slide { flex: 0 0 16.6667%; overflow: hidden; }
/* obrázok celej obrazovky posunutý tak, aby v okne bol presne displej pod stavovým riadkom */
.ps-slide img { display: block; width: 115.11%; max-width: none; height: auto; margin: -20.15% 0 0 -7.554%; }
/* 5 obrazoviek po 3 s: 2,5 s stojí, 0,5 s swipe; posledný snímok je znova board, preto skok na začiatok nevidno */
@keyframes phoneSwipe {
    0%, 16.67%  { transform: translateX(0); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    20%, 36.67% { transform: translateX(-16.6667%); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    40%, 56.67% { transform: translateX(-33.3333%); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    60%, 76.67% { transform: translateX(-50%); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    80%, 96.67% { transform: translateX(-66.6667%); animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
    100%        { transform: translateX(-83.3333%); }
}
@media (prefers-reduced-motion: reduce) {
    .ps-track { animation: none; }
}
/* Pokladnica N86 vpravo — rovnaká výška ako mobil vľavo, bloček menší */
.hero-devices .n86.hero-phone { position: absolute; width: 18%; padding-top: 40px; }
.hero-devices .n86 .n86-receipt { --rise: -42px; height: 132px; padding: 7px 8px 0; gap: 4px; font-size: 7px; }
.hero-devices .n86 .n86-receipt strong { font-size: 8px; }
.hero-devices .n86 .n86-receipt small { font-size: 5px; }
@media (max-width: 640px) {
    .hero { padding-top: 56px; }
    .hero h1, .hero .punch { padding-left: 6px; padding-right: 6px; }
    .hero-devices { margin-top: 44px; padding-bottom: 44px; }
    .hero-browser { width: 84%; }
    .hero-phone { width: 24%; bottom: 16px; }
    .hero-phone.left { left: 16px; }
    .hero-phone.right { right: 16px; }
    .hero-devices .n86.hero-phone { width: 22%; padding-top: 0; }
    .hero-devices .n86 .n86-receipt { display: none; }
}

/* Rám prehliadača okolo screenshotu webu */
figure.browser {
    display: block; margin: 0;
    border-radius: 12px; overflow: hidden;
    background: #0b0b0b;
    border: 1px solid #333;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #1f1f1f; border-bottom: 1px solid #2c2c2c; }
.browser-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; }
.browser-bar em {
    flex: 1; margin-left: 12px; margin-right: 34px;
    font-style: normal; font-size: 0.7rem; color: var(--muted);
    background: #151515; border-radius: 6px; padding: 2px 10px; text-align: center;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
figure.browser img { width: 100%; aspect-ratio: 1200 / 750; object-fit: cover; object-position: top; }
/* Sekcia PROWEDaward: celá domovská stránka sa scrolluje so zastávkami; hlavička je fixná ako na webe (65 px z 1200) */
.browser-scroll { position: relative; aspect-ratio: 1200 / 750; overflow: hidden; background: #2b2b2b; }
figure.browser .browser-scroll img { aspect-ratio: auto; object-fit: initial; height: auto; }
.browser-scroll .bs-head { position: absolute; top: 0; left: 0; z-index: 1; }
.browser-scroll .bs-page { margin-top: 5.4167%; animation: pageScroll 16.5s infinite; }
/* 2 s vrch stránky, potom jeden súvislý scroll až na koniec (~10 s), krátko dole a plynulý návrat hore */
@keyframes pageScroll {
    0%, 12.1%  { transform: translateY(0); animation-timing-function: linear; }
    75.8%, 85.8% { transform: translateY(-86.8%); animation-timing-function: ease-in-out; }
    100%       { transform: translateY(0); }
}
/* JS ju pozdrží, kým sa sekcia neukáže na obrazovke — aby sa začínalo od vrchu */
.browser-scroll.waiting .bs-page { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
    .browser-scroll .bs-page { animation: none; }
}

/* Mockup telefónu — priehľadné WebP s vlastným rámom; len jemný tieň podľa alfy */
.shot {
    width: 100%;
    height: auto !important;
    aspect-ratio: 640 / 1306;
    filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.55));
}
figure.mock { display: block; margin: 0; min-width: 0; }

/* ---- Sekcie ---- */
section.feature { padding: 88px 0; border-top: 1px solid var(--border); }
section.feature:nth-of-type(even) { background: var(--section); }
section.feature h2 {
    font-size: clamp(1.5rem, 3.6vw, 2.3rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    margin-bottom: 44px;
    text-align: center;
}
.section-lead { max-width: 680px; margin: -24px auto 36px; text-align: center; color: var(--primary); }

/* Karty (služby, partneri) */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cards.cols3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards.cols3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards.cols3 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 26px; transition: border-color 0.25s, transform 0.25s; }
.card:hover { border-color: #444; }
.card-icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 16px; }
.card h3 { font-size: 1rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 6px; }
.card p { color: var(--primary); font-size: 0.92rem; }

/* Technológie — čipy */
.stack-title {
    margin-top: 56px; text-align: center;
    font-family: "Oswald", "Poppins", sans-serif; font-weight: 400;
    font-size: 0.8rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted);
}
.stack { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 18px; }
.stack li { border: 1px solid var(--border); background: var(--card); border-radius: 999px; padding: 6px 16px; font-size: 0.85rem; color: var(--primary); }

/* ---- Produkty — obrázok a text vedľa seba, striedanie strán ---- */
.feature-row { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.feature-row.flip { grid-template-columns: 1fr 1fr; }
.feature-row.award-row { grid-template-columns: 1.6fr 1fr; } /* PROWEDaward: širší prehliadač, nech je screenshot čitateľný */
.feature-row + .feature-row { margin-top: 96px; }
.feature-row .shots { display: flex; gap: 18px; justify-content: center; align-items: flex-start; }
.feature-row .shots figure.mock { width: 100%; max-width: 240px; }
.feature-row .shots figure.mock + figure.mock { margin-top: 48px; }
@media (max-width: 860px) {
    .feature-row, .feature-row.flip, .feature-row.award-row { grid-template-columns: 1fr; gap: 34px; }
    .feature-row .shots { order: -1; }
    .feature-row .shots figure.mock { max-width: 190px; }
}
.product-overline {
    display: block;
    font-family: "Oswald", "Poppins", sans-serif; font-weight: 500;
    font-size: 0.8rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
}
.product-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin: 4px 0 12px; }
.product-lead { color: var(--primary); margin-bottom: 26px; }
.benefits { display: grid; gap: 18px; }
.benefit { padding-left: 16px; border-left: 2px solid #3a3a3a; }
.benefit h4 { font-size: 0.95rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 2px; }
.benefit p { color: var(--primary); font-size: 0.9rem; }
.text-link { display: inline-block; margin-top: 26px; font-weight: 600; font-size: 0.95rem; border-bottom: 1px solid #555; padding-bottom: 2px; }
.text-link:hover { border-color: var(--accent); opacity: 1; }
.product-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 26px; }
.product-links .text-link { margin-top: 0; }

/* Prowedian — text na stred, pod ním vejár 5 mobilov (rovnaká skladba ako hero na prowedian.com) */
/* Prowedian: text vľavo, tri mobily vpravo — event card a mapa menšie, board v strede väčší */
.feature-row .shots.trio { align-items: center; gap: 4%; max-width: 540px; margin: 0 auto; width: 100%; }
.feature-row .shots.trio figure.mock { max-width: none; margin-top: 0; position: relative; }
.feature-row .shots.trio .t-side { width: 29%; }
.feature-row .shots.trio .t-mid { width: 36%; }
.feature-row .shots.trio figure.mock + figure.mock { margin-top: 0; }

.appstore-badge { display: inline-flex; align-items: center; gap: 10px; background: #000; border: 1px solid #3a3a3a; border-radius: 12px; padding: 9px 20px; color: #fff; transition: border-color 0.2s; }
.appstore-badge:hover { border-color: var(--accent); opacity: 1; }
.appstore-badge svg { width: 24px; height: 24px; flex: 0 0 auto; }
.appstore-badge .lines { text-align: left; line-height: 1.15; }
.appstore-badge .lines small { display: block; font-size: 0.66rem; color: #bbb; }
.appstore-badge .lines strong { font-size: 1rem; font-weight: 600; }

/* ---- FiskalPRO + Money — očíslované kroky od objednávky po zaúčtovanie ---- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .steps { grid-template-columns: 1fr; } }
.steps li { position: relative; padding: 22px 22px 22px 0; border-top: 1px solid #3a3a3a; }
.step-nr {
    display: block; margin-bottom: 10px;
    font-family: "Oswald", "Poppins", sans-serif; font-weight: 500; font-size: 2rem; line-height: 1; color: var(--muted);
}
.steps h3 { font-size: 1rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; margin-bottom: 6px; }
.steps p { color: var(--primary); font-size: 0.92rem; }
.partners-tech { margin-top: 36px; text-align: center; color: var(--muted); font-size: 0.85rem; }
#partners .cta { margin-top: 22px; display: flex; justify-content: center; }

/* Úvod sekcie: text vľavo, pokladnica N86 vpravo */
.partners-intro { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; margin-bottom: 64px; }
.partners-head .overline, section.feature .partners-head h2 { text-align: left; }
section.feature .partners-head h2 { margin-bottom: 22px; }
.partners-head .section-lead { margin: 0; text-align: left; max-width: 560px; }
@media (max-width: 860px) {
    .partners-intro { grid-template-columns: 1fr; gap: 36px; }
    .partners-intro .n86 { order: -1; margin: 0 auto; }
    .partners-head .overline, section.feature .partners-head h2, .partners-head .section-lead { text-align: center; margin-left: auto; margin-right: auto; }
}

/* ---- Pokladnica FiskalPRO N86 — fotka s prázdnym displejom, obrazovky appky ležia navrchu ---- */
.n86 { position: relative; width: 260px; margin: 0; padding-top: 52px; }
.n86::before {
    content: ""; position: absolute; left: 50%; top: 52%; width: 150%; height: 90%; transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.10), transparent 65%); filter: blur(20px); pointer-events: none;
}
@media (max-width: 640px) { .n86 { width: 220px; } }
.n86-receipt {
    --rise: -68px; /* o koľko bloček vyjde nad vrch figúry */
    position: absolute; top: 0; left: 50%; z-index: 0; width: 62%; height: 200px; transform: translateX(-50%); /* šírka papiera ako štrbina tlačiarne N86 */
    background: #f6f6f2; border-radius: 3px 3px 0 0; padding: 10px 12px 0; color: #333;
    display: flex; flex-direction: column; gap: 6px; font-size: 9px; line-height: 1;
    clip-path: polygon(0 4px, 8% 0, 16% 4px, 24% 0, 32% 4px, 40% 0, 48% 4px, 56% 0, 64% 4px, 72% 0, 80% 4px, 88% 0, 96% 4px, 100% 0, 100% 100%, 0 100%);
    animation: n86Print 16.5s ease-out infinite;
}
.n86-receipt strong { font-size: 10px; letter-spacing: 0.1em; text-align: center; }
.n86-receipt small { font-size: 7px; text-align: center; color: #666; }
.n86-receipt i { border-top: 1px dashed #b9b9b4; }
.n86-receipt span { height: 3px; background: #c9c9c4; border-radius: 2px; }
.n86-receipt span.short { width: 60%; }
.n86-receipt em { display: flex; justify-content: space-between; font-style: normal; font-weight: 700; }
/* bloček sa vytlačí počas dialógu „Spracovávam...“ (~9,6–10,5 s), vonku ostane počas Money a uhradených predajok, na konci sa odtrhne */
@keyframes n86Print {
    0%, 58.2%  { transform: translate(-50%, 24px); opacity: 1; }
    63.6%, 96% { transform: translate(-50%, var(--rise)); opacity: 1; }
    100%     { transform: translate(-50%, calc(var(--rise) - 14px)); opacity: 0; }
}
.n86-device { position: relative; z-index: 1; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); }
.n86-device img { display: block; width: 100%; height: auto; }
/* Displej na fotke: x 113–937, y 658–2110 z 1055×2401 px */
.n86-device .n86-screen { position: absolute; left: 10.71%; top: 27.41%; width: 78.1%; height: 60.47%; aspect-ratio: auto; border-radius: 2px; }

/* Displej — 1em = 10 px screenshotu appky prepočítaného na šírku 720 px, rozmery sedia 1:1 s aktuálnou verziou */
.n86-screen { container-type: size; overflow: hidden; background: #fdf7fd; }
.n86-ui { position: absolute; inset: 0; font-size: calc(100cqw / 72); font-family: Roboto, -apple-system, "Segoe UI", sans-serif; color: #1d1b20; line-height: 1.25; }
.n86-ui .ic { display: block; flex: 0 0 auto; }
.n86-status { display: flex; justify-content: space-between; align-items: center; height: 5.6em; padding: 0 1.8em 0 1.4em; color: #49454f; }
.n86-status > span:first-child { font-size: 2.6em; }
.n86-sys { display: flex; align-items: center; gap: 0.9em; }
.n86-sys .wifi { width: 2.8em; height: 2.2em; background: #49454f; clip-path: polygon(50% 100%, 0 25%, 20% 8%, 50% 0, 80% 8%, 100% 25%); }
.n86-sys .bat { width: 1.3em; height: 2.5em; background: #49454f; border-radius: 0.2em; }
/* menu, objednávky, objednávka po 2,5 s, predajka s platbou a tlačou 3,5 s, Money 3 s, predajky (uhradené) 2,5 s = 16,5 s */
.n86-view { position: absolute; inset: 5.6em 0 0; background: #fdf7fd; opacity: 0; animation: n86Screen 16.5s infinite; }
.n86-view.v-orders  { animation-delay: 2.5s; }
.n86-view.v-order   { animation-delay: 5s; }
.n86-view.v-sale    { animation-delay: 7.5s; animation-name: n86Sale; }
.n86-view.v-booked  { animation-delay: 11s; animation-name: n86Long; }
.n86-view.v-paid    { animation-delay: 14s; }
@keyframes n86Screen { 0% { opacity: 0; } 1.82%, 15.15% { opacity: 1; } 16.97%, 100% { opacity: 0; } }
@keyframes n86Sale { 0% { opacity: 0; } 1.82%, 21.21% { opacity: 1; } 23.03%, 100% { opacity: 0; } }
@keyframes n86Long { 0% { opacity: 0; } 1.82%, 18.18% { opacity: 1; } 20%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    .n86-receipt, .n86-view { animation: none; }
    .n86-view.v-booked { opacity: 1; }
}

/* Objednávky — zoznam zákazníkov */
.n86-h1 { font-size: 3.8em; margin: 0.35em 0 0.75em 0.75em; }
.n86-card { display: flex; justify-content: space-between; align-items: center; gap: 2em; height: 11.7em; margin: 0 2.4em 1.5em; padding: 0 2.4em; border-radius: 1.1em; background: #e6e0e9; box-shadow: 0 0.15em 0.4em rgba(0, 0, 0, 0.14); }
.n86-card > div:first-child { min-width: 0; }
.n86-card strong, .n86-amt b { display: block; font-size: 2.6em; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n86-amt b { font-size: 2.3em; }
.n86-card small { display: block; margin-top: 0.5em; font-size: 2em; color: #49454f; letter-spacing: 0.03em; }
.n86-amt { text-align: right; flex: 0 0 auto; }

/* Menu (drawer) cez objednávky */
.n86-under, .n86-scrim { position: absolute; inset: 0; }
.n86-scrim { background: rgba(0, 0, 0, 0.32); }
.n86-drawer { position: absolute; inset: 0 auto 0 0; width: 52em; background: #f3edf7; display: flex; flex-direction: column; align-items: center; border-radius: 0 1.6em 1.6em 0; }
.n86-avatar { width: 21em; height: 21em; margin-top: 2.4em; border-radius: 50%; box-shadow: 0 0.2em 0.6em rgba(0, 0, 0, 0.18); overflow: hidden; }
.n86-avatar svg { display: block; width: 100%; height: 100%; }
.n86-who { text-align: center; margin-top: 2.8em; }
.n86-who strong { display: block; font-size: 3.8em; font-weight: 400; }
.n86-who small { display: block; margin-top: 0.5em; font-size: 2.3em; color: #49454f; }
.n86-drawer nav { align-self: stretch; margin: 3.4em 3.4em 0; }
.n86-drawer nav span { display: flex; align-items: center; height: 3.4em; padding-left: 1em; border-radius: 0.3em; color: #49454f; font-size: 3.2em; letter-spacing: 0.03em; white-space: nowrap; }
.n86-drawer nav span.on { background: #e8def8; color: #1d1b20; }
.n86-drawer nav .ic { width: 1.25em; height: 1.25em; margin-right: 0.85em; color: #1d1b20; }
.n86-drawer nav hr { border: 0; border-top: 0.2em solid #cac4d0; margin: 1.3em 3em; }

/* Lišta s návratom */
.n86-appbar { display: flex; align-items: center; height: 10em; padding: 0 2.4em 0 4.4em; }
.n86-appbar .ic { width: 3.6em; height: 3.6em; margin-right: 3em; }
.n86-appbar span { flex: 1; min-width: 0; font-size: 3.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n86-switch { flex: 0 0 auto; width: 9.4em; height: 5.6em; margin-left: 1.6em; border: 0.25em solid #79747e; border-radius: 3em; background: #e6e0e9; position: relative; }
.n86-switch::after { content: ""; position: absolute; left: 1.1em; top: 50%; width: 2.6em; height: 2.6em; margin-top: -1.3em; border-radius: 50%; background: #79747e; }

/* Objednávka zákazníka */
.n86-cust { padding: 2.2em 2.4em 2.4em; background: #ecf2ed; border-bottom: 0.15em solid #cfd6d0; }
.n86-cust strong { display: block; font-size: 2.6em; font-weight: 600; }
.n86-cust small { display: flex; align-items: center; margin-top: 0.4em; font-size: 2.2em; color: #49454f; }
.n86-cust small .ic { width: 1em; height: 1em; margin-right: 0.3em; }
.n86-item { display: grid; grid-template-columns: 1fr auto; align-items: baseline; margin: 2em 2em 0; padding: 1.8em 2.2em 2em; border-radius: 1em; background: #e1e8e2; }
.n86-item + .n86-item { margin-top: 1.4em; }
.n86-item small { font-size: 2.1em; color: #49454f; }
.n86-item b { font-size: 2.1em; font-weight: 700; }
.n86-item span { grid-column: 1 / -1; margin-top: 0.15em; font-size: 2.7em; }
.n86-total { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; height: 15.6em; padding: 0 2.4em 0 3.4em; background: #ecf2ed; }
.n86-total small { display: block; font-size: 1.9em; color: #49454f; }
.n86-total b { display: block; margin-top: 0.15em; font-size: 3.4em; font-weight: 700; }
.n86-total > span { display: flex; align-items: center; justify-content: center; height: 2.9em; padding: 0 1.1em; border-radius: 0.35em; background: #424242; color: #fff; font-size: 2.7em; font-weight: 500; }

/* Predajka s položkami a platbou */
.n86-box { margin: 0 3.3em 1.6em; padding: 3em; border-radius: 1.2em; background: #f2eef2; box-shadow: 0 0.15em 0.5em rgba(0, 0, 0, 0.14); }
.n86-box > strong { display: block; font-size: 2.5em; font-weight: 600; }
.n86-sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 2em; }
.n86-sum span { font-size: 2.2em; color: #49454f; }
.n86-sum b { font-size: 2.7em; font-weight: 700; }
.n86-lines > strong { font-size: 2.2em; }
.n86-lines hr { border: 0; border-top: 0.2em solid #cac4d0; margin: 1.8em 0 1em; }
.n86-lines div { display: grid; grid-template-columns: 6em 1fr auto; gap: 0 0.8em; font-size: 2.2em; line-height: 1.9; }
.n86-lines div span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Android „ripple“ — ťuknutia počas cyklu, vždy ~0,35 s pred prechodom na ďalšiu obrazovku (ako v appke: ťuk → hneď ďalšia obrazovka):
   menu Objednávky (2,15 s), prvá objednávka (4,65 s), Vytvoriť predajku (7,15 s), KARTA (8,6 s → dialóg), Späť na predajky (13,65 s).
   Rovnaká animácia, posunutá cez animation-delay; na svetlých prvkoch tmavý ripple, na farebných tlačidlách svetlý. */
.v-menu nav .on, .v-orders .n86-h1 + .n86-card, .v-order .n86-total > span, .v-sale .pay-card, .v-booked .n86-later { position: relative; overflow: hidden; animation: n86Press 16.5s infinite; }
.v-menu nav .on::after, .v-orders .n86-h1 + .n86-card::after, .v-order .n86-total > span::after, .v-sale .pay-card::after, .v-booked .n86-later::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 120%; aspect-ratio: 1; border-radius: 50%;
    background: rgba(0, 0, 0, 0.12); transform: translate(-50%, -50%) scale(0); opacity: 0;
    animation: n86Ripple 16.5s infinite;
}
.v-order .n86-total > span::after, .v-sale .pay-card::after, .v-booked .n86-later::after { background: rgba(255, 255, 255, 0.45); }
.v-menu nav .on, .v-menu nav .on::after { animation-delay: 2.15s; }
.v-orders .n86-h1 + .n86-card, .v-orders .n86-h1 + .n86-card::after { animation-delay: 4.65s; }
.v-order .n86-total > span, .v-order .n86-total > span::after { animation-delay: 7.15s; }
.v-sale .pay-card, .v-sale .pay-card::after { animation-delay: 8.6s; }
.v-booked .n86-later, .v-booked .n86-later::after { animation-delay: 13.65s; }
@keyframes n86Ripple {
    0%       { transform: translate(-50%, -50%) scale(0.08); opacity: 1; }
    3.4%     { transform: translate(-50%, -50%) scale(1.15); opacity: 0.6; }
    4.9%, 100% { transform: translate(-50%, -50%) scale(1.15); opacity: 0; }
}
@keyframes n86Press { 0%, 3.4% { filter: brightness(0.9); } 4.9%, 100% { filter: none; } }
/* Dialóg počas tlače — ako PrintingDialog v appke (Material AlertDialog: ikona tlačiarne, „Spracovávam...“, točiaci sa kruh) */
.n86-dialog { position: absolute; inset: -5.6em 0 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.32); opacity: 0; animation: n86Dialog 16.5s infinite; }
.n86-dialog > div { display: flex; flex-direction: column; align-items: center; width: 56em; padding: 6.8em 4.8em 6em; border-radius: 1.6em; background: #ece6f0; box-shadow: 0 1em 3em rgba(0, 0, 0, 0.3); }
.n86-dialog .ic { width: 8em; height: 8em; color: #49454f; }
.n86-dialog p { margin: 1.2em 0 3.2em; font-size: 3.6em; color: #49454f; }
.n86-spin { width: 8em; height: 8em; border-radius: 50%; border: 0.8em solid #e8def8; border-top-color: #6750a4; animation: n86Spin 0.9s linear infinite; }
@keyframes n86Spin { to { transform: rotate(360deg); } }
@keyframes n86Dialog { 0%, 53.5% { opacity: 0; } 54.5%, 100% { opacity: 1; } } /* hneď po ťuku na KARTA (8,6 s) */
@media (prefers-reduced-motion: reduce) {
    .v-menu nav .on, .v-orders .n86-h1 + .n86-card, .v-order .n86-total > span, .v-sale .pay-card, .v-booked .n86-later, .n86-dialog, .n86-spin { animation: none; }
    .v-menu nav .on::after, .v-orders .n86-h1 + .n86-card::after, .v-order .n86-total > span::after, .v-sale .pay-card::after, .v-booked .n86-later::after { animation: none; }
}
.n86-paybar { position: absolute; left: 0; right: 0; bottom: 2.4em; }
.n86-paybar .n86-pay { margin-top: 0; }
/* Karta dokladu (súhrn na obrazovke Money) a tlačidlá platby */
.n86-invoice { position: relative; margin: 2em 3.2em 0; padding: 4.2em 4em 3.6em; background: #f8f1f1; box-shadow: 0 0.3em 0.8em rgba(0, 0, 0, 0.22); clip-path: polygon(0 0, calc(100% - 5em) 0, 100% 5em, 100% 100%, 0 100%); }
.n86-invoice::after { content: ""; position: absolute; top: 0; right: 0; width: 5em; height: 5em; background: linear-gradient(225deg, transparent 50%, #e2dada 50%); }
.n86-invoice dl { display: grid; grid-template-columns: 1fr auto; align-items: baseline; font-size: 3em; line-height: 1.25; }
.n86-invoice dt { color: #49454f; }
.n86-invoice dd { font-weight: 500; text-align: right; }
.n86-invoice dd.sum { font-size: 1.35em; font-weight: 700; }
.n86-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6em; margin: 4.6em 3.2em 0; }
.n86-pay span { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 4.37em; border-radius: 0.4em; color: #fff; font-weight: 700; font-size: 3em; line-height: 1; }
.n86-pay .ic { width: 1.53em; height: 1.53em; margin-bottom: 0.2em; }
.n86-pay .pay-card { background: #2196f3; }
.n86-pay .pay-cash { background: #4caf50; }
/* Obrazovka po platbe: doklad zaúčtovaný v Money */
.n86-done { display: flex; flex-direction: column; align-items: center; margin-top: 8em; text-align: center; }
.n86-ok { display: grid; place-items: center; width: 14em; height: 14em; border-radius: 50%; background: #4caf50; color: #fff; }
.n86-ok svg { width: 8em; height: 8em; }
.n86-done strong { margin-top: 0.7em; font-size: 4.8em; font-weight: 700; }
.n86-done p { margin-top: 0.3em; font-size: 4.4em; font-weight: 700; line-height: 1.15; color: #2e7d32; } /* reklamná pointa — výrazne */
.n86-summary { margin-top: 4.6em; padding: 3.6em 4em; }
.n86-summary + .n86-later { margin: 1.8em 1.23em 0; }
.n86-later { display: flex; align-items: center; justify-content: center; height: 3.08em; margin: 0.96em 1.23em 0; border-radius: 0.54em; background: #1d1b20; color: #fff; font-weight: 600; font-size: 2.6em; }

/* Predajky zákazníka po zaplatení (so štítkom) */
.n86-chip { display: inline-block; padding: 0.35em 0.6em; border-radius: 0 0 0.35em 0; background: #d7e8d6; color: #4caf50; font-size: 1.8em; font-weight: 600; letter-spacing: 0.03em; }
.n86-note { padding: 1.4em 3em 2.6em; font-size: 2.2em; border-bottom: 0.1em solid #cac4d0; }
.n86-doc { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; margin: 2.4em 2.4em 0; padding: 2.6em 2.2em 2.4em; border-radius: 1.1em; background: #e6e0e9; box-shadow: 0 0.15em 0.4em rgba(0, 0, 0, 0.14); overflow: hidden; }
.n86-doc + .n86-doc { margin-top: 1.7em; }
.n86-doc strong { font-size: 2.6em; font-weight: 700; }
.n86-doc .n86-chip { position: absolute; left: 0; top: 0; }
.n86-doc { padding-top: 4.8em; }
.n86-doc .ic { width: 3.4em; height: 3.4em; color: #49454f; }
.n86-doc p { margin-top: 0.6em; font-size: 2.2em; color: #49454f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n86-doc p b { color: #49454f; margin-right: 0.3em; }
.n86-doc em { margin-top: 0.6em; font-style: normal; font-size: 2.2em; font-weight: 700; }

/* ---- O nás ---- */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.about-logo { width: 190px; margin-bottom: 28px; opacity: 0.95; }
@media (max-width: 860px) {
    .about { grid-template-columns: 1fr; gap: 40px; }
    .about-logo { width: 130px; margin-left: auto; margin-right: auto; } /* na mobile menšie a v strede */
    .about-text { text-align: center; }
}
.about-text p { color: var(--primary); font-size: 1.05rem; }
.founder { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px; text-align: center; }
.founder-photo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; border: 2px solid #333; }
.founder h3 { font-size: 1.25rem; font-weight: 700; }
.founder-role { display: block; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.05em; margin-bottom: 14px; }
.founder p { color: var(--primary); font-size: 0.92rem; }
.founder-links { display: flex; justify-content: center; gap: 18px; margin-top: 18px; font-size: 0.9rem; font-weight: 600; }

/* ---- Outro ---- */
.outro { padding: 72px 0; border-top: 1px solid var(--border); text-align: center; }
.outro p { max-width: 640px; margin: 0 auto; font-size: 1.15rem; color: var(--primary); font-style: italic; }
.outro .cta { margin-top: 28px; }

/* ---- Kontakt ---- */
.contact { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 860px; margin: 0 auto; }
@media (max-width: 640px) { .contact { grid-template-columns: 1fr; } }
.contact dt { font-family: "Oswald", "Poppins", sans-serif; font-size: 0.75rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--muted); }
.contact dd { margin: 2px 0 18px; font-size: 1rem; }
.contact dd:last-child { margin-bottom: 0; }
.contact .register { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.8rem; }

/* ---- Podstránky appiek (zásady súkromia, podpora) — dlhší text v karte ---- */
/* Hlavička: ikona a názov appky, vpravo Support a Privacy Policy — viditeľné aj na mobile, bez hamburgera */
.app-brand img { width: 32px; height: 32px; border-radius: 7px; }
.app-brand span { font-weight: 600; font-size: 1.05rem; color: var(--text); }
.app-links { display: flex; gap: 20px; font-size: 0.9rem; }
.app-links a { color: var(--muted); }
.app-links a.active, .app-links a:hover { color: var(--accent); opacity: 1; }
@media (max-width: 400px) {
    .app-brand span { font-size: 0.95rem; }
    .app-links { gap: 14px; font-size: 0.82rem; }
}
@media (max-width: 340px) { .app-brand span { display: none; } }
.legal { max-width: 760px; margin: 0 auto; }
.legal h3 { margin: 28px 0 6px; }
.legal p, .legal li { color: var(--primary); font-size: 0.92rem; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 8px 0 10px 20px; }
.legal li + li { margin-top: 4px; }
.store-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: -20px 0 40px; }
.store-soon { text-align: center; color: var(--primary); margin: -20px 0 40px; }
.store-badges + .store-soon { margin-top: -24px; }
.legal .updated { margin-top: 28px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); font-size: 0.8rem; }

/* ---- Footer ---- */
footer.site { border-top: 1px solid var(--border); padding: 34px 0 44px; text-align: center; color: var(--muted); font-size: 0.85rem; }
footer.site .links { display: flex; gap: 20px; justify-content: center; margin-bottom: 12px; flex-wrap: wrap; }
footer.site a { color: var(--primary); }
footer.site a:hover { color: var(--accent); }
