/* ===========================================================================
   Chytrý trenér – prezentační (landing) stránka
   Moderní, nadčasový design v duchu aplikace (oranžový akcent + grafit).
   Samostatný styl, nezávislý na app.css.
   =========================================================================== */
:root {
    --ink: #15181d;
    --muted: #6b7280;
    --line: #e6e8ec;
    --card: #ffffff;
    --bg: #f6f7f9;
    --accent: #ff5b2e;
    --accent2: #e8431a;
    --graphite: #14161b;
    --graphite2: #1d212a;
    --good: #0f7a52;
    --good-b: #16a34a;
    --blue: #34557f;
    --amber: #c28a2c;
    --radius: 20px;
    --shadow: 0 24px 60px rgba(15, 18, 24, .16);
    --shadow-sm: 0 6px 20px rgba(15, 18, 24, .08);
    --wrap: 1200px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ---------- typografie ---------- */
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.08; font-weight: 850; }
h1 { font-size: clamp(34px, 6vw, 66px); }
h2 { font-size: clamp(27px, 4vw, 44px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
p { margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: clamp(16px, 1.6vw, 20px); color: var(--muted); font-weight: 500; }
.grad { background: linear-gradient(100deg, var(--accent), #ff8a4d); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- tlačítka ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font); font-size: 16px; font-weight: 800; padding: 15px 26px; border-radius: 14px; border: 1.5px solid transparent; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; white-space: nowrap; }
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 26px rgba(255, 91, 46, .34); }
.btn-primary:hover { background: var(--accent2); transform: translateY(-2px); box-shadow: 0 18px 34px rgba(255, 91, 46, .42); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .22); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); transform: translateY(-2px); }
.btn-light { background: var(--ink); color: #fff; }
.btn-light:hover { background: #000; transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn-lg { padding: 17px 32px; font-size: 17px; }

/* ---------- navbar ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246, 247, 249, .82); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid rgba(20, 22, 27, .06); }
.nav-in { display: flex; align-items: center; gap: 20px; height: 68px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 850; font-size: 18px; letter-spacing: -.02em; }
.nav-logo img { height: 28px; width: auto; display: block; }
.nav-links { display: flex; gap: 28px; margin-left: 26px; }
.nav-links a { font-size: 15px; font-weight: 650; color: #414753; transition: color .15s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 11px 20px; font-size: 15px; }
.nav-signin { font-weight: 750; font-size: 15px; color: var(--ink); padding: 11px 8px; }
.nav-signin:hover { color: var(--accent); }
.nav-logo { white-space: nowrap; }
.nav-signin { white-space: nowrap; }
/* Na mobilu skryjeme jen sekční odkazy; „Přihlásit se" musí zůstat – vracející se uživatel se potřebuje hned přihlásit. */
@media (max-width: 860px) { .nav-links { display: none; } }
@media (max-width: 620px) {
    /* Demo je výrazně v heru hned pod lištou → v liště ho na mobilu skryjeme,
       ať „Přihlásit se" nezavírá řádek a lišta je čistá. */
    .nav-demo { display: none; }
    .nav-in { gap: 10px; }
    .nav-logo { font-size: 16px; }
    .nav-cta { gap: 8px; }
    /* „Přihlásit se" jako úhledné ohraničené tlačítko (sekundární akce) */
    .nav-signin {
        padding: 9px 16px; font-size: 15px; border: 1.5px solid #d9dee6;
        border-radius: 11px; color: var(--ink); background: #fff;
    }
    .nav-signin:hover { border-color: var(--accent); color: var(--accent); }
    /* přihlášený uživatel: „Otevřít aplikaci" zůstává jako hlavní tlačítko */
    .nav-cta .btn { padding: 9px 16px; font-size: 15px; }
}

/* ---------- hero ---------- */
.hero { padding: clamp(44px, 7vw, 90px) 0 clamp(40px, 6vw, 70px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin: 18px 0 0; }
.hero .lead { margin: 22px 0 30px; max-width: 30em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.hero-note b { color: var(--good); }
.hero-badges { display: flex; gap: 26px; margin-top: 34px; flex-wrap: wrap; }
.hero-badge b { display: block; font-size: 26px; font-weight: 850; letter-spacing: -.03em; }
.hero-badge span { font-size: 13px; color: var(--muted); font-weight: 600; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; text-align: center; } .hero .lead { margin-left: auto; margin-right: auto; } .hero-cta, .hero-badges, .hero-note { justify-content: center; } .hero-visual { margin-top: 10px; } }

/* halo za hero vizuálem */
.hero-visual { position: relative; }
.hero-visual::before { content: ''; position: absolute; inset: -12% -8% -12% -8%; background: radial-gradient(60% 55% at 70% 30%, rgba(255, 91, 46, .22), transparent 70%); filter: blur(8px); z-index: 0; }

/* ---------- zařízení (mockupy) ---------- */
.devices { position: relative; z-index: 1; display: flex; justify-content: center; align-items: flex-end; min-height: 380px; }
.phone { position: relative; width: 258px; border-radius: 42px; background: #0d0f13; padding: 6px; box-shadow: var(--shadow); border: 1px solid #23262e; }
.phone::after { content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; background: #0d0f13; border-radius: 0 0 14px 14px; z-index: 3; display: none; }
.phone-screen { border-radius: 36px; overflow: hidden; background: var(--bg); aspect-ratio: 258 / 540; }
/* reálné screenshoty z appky vyplní rámeček zařízení */
.tablet-screen img.shot, .phone-screen img.shot, .desktop-screen img.shot { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.tablet { position: relative; width: 430px; border-radius: 26px; background: #0d0f13; padding: 7px; box-shadow: var(--shadow); border: 1px solid #23262e; }
.tablet-screen { border-radius: 20px; overflow: hidden; background: var(--bg); aspect-ratio: 16 / 10; }
/* překrytí v heru: tablet vzadu, telefon vepředu */
.hero-visual .devices .tablet { transform: rotate(-3deg) translateX(6%); }
.hero-visual .devices .phone { position: absolute; right: 2%; bottom: -4%; transform: rotate(4deg); z-index: 2; }
@media (max-width: 520px) { .hero-visual .devices .tablet { width: 300px; } .hero-visual .devices .phone { width: 168px; } .devices { min-height: 300px; } }

/* AI trenér: samostatný, rovný telefon (bez překrytí a náklonu jako v heru) */
.hero-visual .devices .phone.phone-solo { position: relative; right: auto; bottom: auto; transform: none; animation: none; z-index: 1; }
/* obrazovka sedí přesně na poměr screenshotu (402:874) → nic se neořízne,
   vstupní pole „Napiš trenérovi…" i tlačítko odeslat jsou vidět celé */
.phone-solo .phone-screen { aspect-ratio: 402 / 874; }
@media (max-width: 520px) { .hero-visual .devices .phone.phone-solo { width: 240px; } .hero-visual.reveal .devices { min-height: auto; } }

/* obrazovka: mini rekonstrukce UI aplikace */
.scr { font-size: 11px; color: var(--ink); height: 100%; background: var(--bg); padding: 14px 11px; display: flex; flex-direction: column; gap: 9px; }
.scr-h { display: flex; align-items: center; justify-content: space-between; }
.scr-h b { font-size: 13px; font-weight: 850; }
.scr-av { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 800; }
.scr-seg { display: flex; background: #e9ebef; border-radius: 11px; padding: 3px; gap: 2px; }
.scr-seg span { flex: 1; text-align: center; font-size: 10px; font-weight: 700; color: #8a909b; padding: 5px 0; border-radius: 8px; }
.scr-seg span.on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.scr-card { background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 12px; box-shadow: var(--shadow-sm); }
.scr-cap { font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.scr-ring { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 6px 0 2px; }
.scr-ring svg { width: 116px; height: 116px; }
.scr-ring .rn { font-size: 25px; font-weight: 850; letter-spacing: -.03em; margin-top: -74px; margin-bottom: 42px; }
.scr-ring .ru { font-size: 9px; color: var(--muted); font-weight: 700; }
.scr-bars { display: flex; flex-direction: column; gap: 7px; margin-top: 8px; }
.scr-bar { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 700; }
.scr-bar .bl { width: 42px; color: var(--muted); }
.scr-bar .bt { flex: 1; height: 7px; border-radius: 4px; background: #eceef2; overflow: hidden; }
.scr-bar .bt i { display: block; height: 100%; border-radius: 4px; }
.scr-bar .bv { width: 34px; text-align: right; }
.scr-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scr-mini { text-align: center; }
.scr-mini .mv { font-size: 16px; font-weight: 850; }
.scr-mini .ml { font-size: 9px; color: var(--muted); font-weight: 700; }

/* chat trenéra */
.scr-chat { display: flex; flex-direction: column; gap: 8px; }
.cbub { max-width: 82%; padding: 9px 12px; border-radius: 15px; font-size: 10.5px; line-height: 1.4; }
.cbub.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 5px; }
.cbub.co { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; box-shadow: var(--shadow-sm); }
.cbub.co b { color: var(--accent); }

/* ---------- sekce ---------- */
.sec { padding: clamp(52px, 8vw, 100px) 0; }
.sec-head { max-width: 720px; margin: 0 auto clamp(34px, 5vw, 58px); text-align: center; }
.sec-head h2 { margin: 14px 0 0; }
.sec-head .lead { margin: 16px auto 0; }

/* problém → řešení (USP „vše na jednom místě") */
.usp { background: var(--graphite); color: #fff; }
.usp .sec-head .lead { color: #aab1bd; }
.usp .eyebrow { color: #ff8a4d; }
.usp-grid { display: grid; grid-template-columns: 1fr 1fr 1fr auto 1.25fr; gap: 16px; align-items: stretch; }
.usp-part { background: var(--graphite2); border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.usp-part .pi { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); font-size: 20px; }
.usp-part h3 { font-size: 16px; color: #fff; }
.usp-part p { font-size: 13px; color: #9aa2ae; }
.usp-part .tag { margin-top: auto; font-size: 11px; font-weight: 800; color: #ffb08c; background: rgba(255, 91, 46, .12); padding: 4px 9px; border-radius: 20px; align-self: flex-start; }
.usp-arrow { display: grid; place-items: center; color: #5a6270; font-size: 30px; font-weight: 300; }
.usp-all { background: linear-gradient(160deg, #ff6a3d, #e8431a); border: none; border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 20px 46px rgba(255, 91, 46, .3); }
.usp-all .pi { background: rgba(255, 255, 255, .18); }
.usp-all h3 { font-size: 19px; color: #fff; }
.usp-all p { font-size: 13.5px; color: rgba(255, 255, 255, .92); }
.usp-all ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.usp-all li { font-size: 12.5px; font-weight: 650; display: flex; align-items: center; gap: 8px; color: #fff; }
.usp-all li::before { content: '✓'; font-weight: 900; }
@media (max-width: 980px) { .usp-grid { grid-template-columns: 1fr 1fr; } .usp-arrow { display: none; } .usp-all { grid-column: 1 / -1; } }
@media (max-width: 560px) { .usp-grid { grid-template-columns: 1fr; } }

/* funkce */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.feat-ic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.feat-ic svg { width: 26px; height: 26px; }
.feat h3 { margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feat-grid { grid-template-columns: 1fr; } }

/* jak to funguje */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: st; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; }
.step::before { counter-increment: st; content: counter(st); position: absolute; top: -18px; left: 26px; width: 44px; height: 44px; border-radius: 13px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 850; font-size: 20px; box-shadow: 0 10px 22px rgba(255, 91, 46, .34); }
.step h3 { margin: 10px 0 8px; }
.step p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

/* showcase – responzivní na všech zařízeních */
.showcase { background: var(--graphite); color: #fff; overflow: hidden; }
.showcase .sec-head .lead { color: #aab1bd; }
.showcase .eyebrow { color: #ff8a4d; }
.show-devs { display: flex; align-items: flex-end; justify-content: center; gap: clamp(14px, 3vw, 40px); flex-wrap: wrap; }
.show-cap { text-align: center; margin-top: 14px; font-size: 13px; color: #9aa2ae; font-weight: 650; }
.show-col { display: flex; flex-direction: column; align-items: center; }
/* galerie reálných obrazovek (v tmavé sekci showcase) */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: clamp(34px, 6vw, 64px); }
.gal-card { margin: 0; }
.gal-card img { width: 100%; aspect-ratio: 201 / 437; object-fit: cover; object-position: top center; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .12); box-shadow: var(--shadow); display: block; background: #fff; }
.gal-card figcaption { text-align: center; margin-top: 14px; font-weight: 750; font-size: 14px; color: #cdd3dc; }
@media (max-width: 860px) { .gal-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
.desktop { width: min(560px, 92vw); }
.desktop-bezel { background: #0d0f13; border: 1px solid #23262e; border-radius: 14px; padding: 7px; box-shadow: var(--shadow); }
.desktop-screen { border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg); }
.desktop-stand { width: 120px; height: 12px; background: #0d0f13; margin: 0 auto; border-radius: 0 0 8px 8px; }
.desktop-stand::after { content: ''; display: block; width: 180px; height: 8px; background: #16181d; border-radius: 8px; margin: 6px auto 0; }

/* desktop dashboard rekonstrukce */
.dscr { display: grid; grid-template-columns: 150px 1fr; height: 100%; background: var(--bg); font-size: 10px; }
.dscr-side { background: #fff; border-right: 1px solid var(--line); padding: 12px 10px; display: flex; flex-direction: column; gap: 5px; }
.dscr-brand { font-weight: 850; font-size: 12px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.dscr-brand i { width: 16px; height: 16px; background: var(--accent); border-radius: 5px; display: inline-block; }
.dscr-mi { padding: 7px 9px; border-radius: 8px; font-weight: 700; color: #5c6370; font-size: 10px; }
.dscr-mi.on { background: #fff5f1; color: var(--accent); }
.dscr-main { padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.dscr-row { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: 8px; }
.dscr-row.r2 { grid-template-columns: 2fr 1fr; }
.dscr-c { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 10px; box-shadow: var(--shadow-sm); }
.dscr-c .t { font-size: 8.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.dscr-ring { display: flex; flex-direction: column; align-items: center; }
.dscr-ring svg { width: 92px; height: 92px; }
.dscr-ring .rn { font-size: 20px; font-weight: 850; margin-top: -58px; margin-bottom: 34px; }
.dbars i { display: block; height: 100%; border-radius: 3px; }
.dbar { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 9px; font-weight: 700; }
.dbar .bt { flex: 1; height: 6px; background: #eceef2; border-radius: 3px; overflow: hidden; }
.dchart { display: flex; align-items: flex-end; gap: 5px; height: 74px; padding-top: 8px; }
.dchart .col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; }
.dchart .col i { border-radius: 3px 3px 1px 1px; }
@media (max-width: 620px) { .desktop-screen { aspect-ratio: 3 / 2; } .dscr { grid-template-columns: 96px 1fr; } }

/* srovnání */
.cmp { overflow-x: auto; }
.cmp-tbl { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cmp-tbl th, .cmp-tbl td { padding: 16px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.cmp-tbl thead th { font-size: 13px; font-weight: 800; background: #fafbfc; }
.cmp-tbl thead th.us { background: var(--accent); color: #fff; }
.cmp-tbl tbody tr:last-child td { border-bottom: none; }
.cmp-tbl td.feature { font-weight: 700; }
.cmp-tbl td.us { background: rgba(255, 91, 46, .05); font-weight: 700; }
.ck { color: var(--good-b); font-weight: 900; }
.cx { color: #c2c7cf; font-weight: 900; }
.cmp-tbl td .mut { color: var(--muted); font-weight: 600; font-size: 13px; }

/* závěrečné CTA */
.cta { text-align: center; }
.cta-box { background: linear-gradient(155deg, #1d212a, #14161b); border-radius: 28px; padding: clamp(38px, 6vw, 68px) 24px; color: #fff; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -40%; right: -10%; width: 60%; height: 160%; background: radial-gradient(circle, rgba(255, 91, 46, .28), transparent 70%); }
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; }
.cta-box .lead { color: #b9c0cc; margin: 16px auto 30px; max-width: 34em; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* footer */
.foot { padding: 40px 0 30px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-logo { display: flex; align-items: center; gap: 9px; font-weight: 800; color: var(--ink); }
.foot-logo img { height: 22px; width: auto; display: block; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--accent); }
.foot-copy { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: #98a0ac; }
.foot-copy a { font-weight: 700; color: var(--accent); }

/* disclaimer / zdravotní upozornění */
.disc { background: #fbfbfc; border-top: 1px solid var(--line); }
.disc-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.disc-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.disc-card h4 { margin: 0 0 6px; font-size: 15px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.disc-card p { font-size: 13px; color: var(--muted); line-height: 1.55; }
@media (max-width: 720px) { .disc-wrap { grid-template-columns: 1fr; } }

/* animace při scrollu */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.22, 1, .36, 1), transform .7s cubic-bezier(.22, 1, .36, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============================================================
   PRÉMIOVÉ DOLADĚNÍ (Apple-like) – pohyb, přelivy, hloubka
   ============================================================ */
:root { --ease: cubic-bezier(.22, 1, .36, 1); }

/* odhalení při scrollu – prémiovější easing + postupné (stagger) */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .95s var(--ease); transition-delay: calc(var(--i, 0) * 85ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* jemný „dech" zařízení v heru (rotace zachována v keyframe) */
@media (prefers-reduced-motion: no-preference) {
    .hero-visual .devices .tablet { animation: floatT 7.5s var(--ease) infinite; }
    .hero-visual .devices .phone { animation: floatP 6.5s var(--ease) infinite; }
    .hero-visual::before { animation: glowPulse 8s ease-in-out infinite; }
}
@keyframes floatT { 0%, 100% { transform: rotate(-3deg) translateX(6%) translateY(0); } 50% { transform: rotate(-3deg) translateX(6%) translateY(-13px); } }
@keyframes floatP { 0%, 100% { transform: rotate(4deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-17px); } }
@keyframes glowPulse { 0%, 100% { opacity: .78; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

/* nav – zmenšení a jemný stín po odscrollování */
.nav { transition: box-shadow .3s ease, background .3s ease; }
.nav-in { transition: height .3s var(--ease); }
.nav.scrolled { box-shadow: 0 8px 30px rgba(15, 18, 24, .09); background: rgba(246, 247, 249, .93); }
.nav.scrolled .nav-in { height: 58px; }

/* prémiové tlačítko – lesklý přejezd */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 25%, rgba(255, 255, 255, .38) 50%, transparent 75%); transform: translateX(-130%); transition: transform .75s var(--ease); pointer-events: none; }
.btn-primary:hover::after { transform: translateX(130%); }

/* galerie – zvednutí a hlubší stín při najetí */
.gal-card img { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.gal-card:hover img { transform: translateY(-7px) scale(1.02); box-shadow: 0 34px 66px rgba(0, 0, 0, .4); }

/* karty funkcí – hebčí zvednutí */
.feat { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }

@media (prefers-reduced-motion: reduce) {
    .hero-visual .devices .tablet, .hero-visual .devices .phone, .hero-visual::before { animation: none; }
    .reveal { transition-delay: 0ms; }
}

/* Waitlist iOS box */
.wl-box{max-width:560px;margin:0 auto;background:linear-gradient(135deg,#16181d,#26303b);color:#fff;border-radius:26px;padding:38px 28px;text-align:center;box-shadow:0 24px 60px rgba(11,27,51,.25)}
.wl-emoji{font-size:42px;line-height:1}
.wl-h{font-size:26px;margin:10px 0 6px}
.wl-p{color:#c9d2dd;margin:0 0 20px}
.wl-form{display:flex;gap:10px;max-width:420px;margin:0 auto;flex-wrap:wrap}
.wl-form input{flex:1;min-width:180px;border:none;border-radius:14px;padding:14px 16px;font:inherit;font-size:16px}
.wl-form .btn{white-space:nowrap}
.wl-ok{background:rgba(47,163,116,.2);border:1px solid rgba(47,163,116,.5);border-radius:14px;padding:14px;max-width:420px;margin:0 auto;font-weight:700}
.wl-note{color:#9aa6b3;font-size:12px;margin-top:14px}
.wl-note a{color:#cbd5e1}
@media(max-width:520px){.wl-form .btn{width:100%}}
