/* Bonpace – prezentačná stránka. Farby a typografia z docs/design-tokens.json (Noto Sans, zelená paleta, limetková akcentová). */
:root {
  --bg: #F5F6F2; --surface: #FFFFFF; --elevated: #EDF1EB; --text: #182D25; --muted: #59685E; --border: #D9DFD8;
  --primary: #176B57; --on-primary: #FFFFFF; --primary-soft: #DCEFE6; --primary-ink: #164A38;
  --hero: #173C36; --hero-2: #0F2A26; --hero-text: #F4F8F1; --lime: #DBEF9F; --lime-ink: #24340F;
  --ai: #66508D; --ai-soft: #F1EAF8; --warning-soft: #FFF1D5;
  --radius: 20px; --radius-s: 12px; --shadow: 0 20px 60px rgba(24, 45, 37, .14); --shadow-s: 0 6px 24px rgba(24, 45, 37, .08);
  --font: "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101A15; --surface: #18261F; --elevated: #213229; --text: #EDF3EC; --muted: #AFBFB3; --border: #344A3D;
    --primary: #9AD5BB; --on-primary: #10382A; --primary-soft: #224836; --primary-ink: #C5EED9;
    --hero: #1B3A32; --hero-2: #0C1C18; --ai: #D6C0F3; --ai-soft: #352940; --warning-soft: #3D3018;
    --shadow: 0 20px 60px rgba(0, 0, 0, .45); --shadow-s: 0 6px 24px rgba(0, 0, 0, .3);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { width: min(1120px, 92vw); margin: 0 auto; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: .8em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 44rem; margin-bottom: clamp(32px, 5vw, 56px); }

/* Navigácia */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--border) 60%, transparent); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-weight: 600; font-size: .95rem; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav .lang { font-weight: 700; font-size: .8rem; letter-spacing: .06em; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 5px 10px; line-height: 1; }
.nav .lang:hover { color: var(--text); border-color: var(--text); text-decoration: none; }
@media (max-width: 720px) { .nav-links { display: none; } .nav .lang { margin-left: auto; } }

/* Tlačidlá */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; border: 0; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s; text-decoration: none !important; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--on-primary); box-shadow: 0 10px 30px rgba(23, 107, 87, .28); }
.btn-lime { background: var(--lime); color: var(--lime-ink); box-shadow: 0 10px 30px rgba(219, 239, 159, .35); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn svg { width: 20px; height: 20px; }
.btn-sm { padding: 10px 16px; font-size: .92rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 80% -10%, rgba(219, 239, 159, .28), transparent 60%), linear-gradient(160deg, var(--hero) 0%, var(--hero-2) 100%); color: var(--hero-text); padding: clamp(56px, 8vw, 110px) 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--lime); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { color: rgba(244, 248, 241, .8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 18px; }
.hero-note { font-size: .9rem; color: rgba(244, 248, 241, .6); }
.hero-stats { display: flex; gap: 28px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); flex-wrap: wrap; }
.hero-stats div strong { display: block; font-size: 1.5rem; color: var(--lime); }
.hero-stats div span { font-size: .9rem; color: rgba(244, 248, 241, .7); }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 560px; }
.hero-visual::before { content: ""; position: absolute; inset: auto 10% -30% 10%; height: 60%; background: radial-gradient(closest-side, rgba(219, 239, 159, .35), transparent); filter: blur(30px); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-visual { min-height: 0; margin-top: 32px; } }

/* Telefón */
.phone { position: relative; width: 300px; aspect-ratio: 300 / 630; border-radius: 42px; background: #0b1512; padding: 12px; box-shadow: var(--shadow), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 84px; height: 20px; border-radius: 12px; background: #0b1512; z-index: 2; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 32px; }
.phone-sm { width: 240px; border-radius: 34px; padding: 10px; }
.phone-sm img { border-radius: 26px; }
.phone-sm::before { width: 66px; height: 16px; top: 16px; }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } .reveal { opacity: 1 !important; transform: none !important; } }

/* Karty */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-s); }
.card .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 16px; }
.card .icon svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; }
.card.ai .icon { background: var(--ai-soft); color: var(--ai); }

/* Scenáre */
.scenario { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding: 40px 0; }
.scenario:nth-child(even) { direction: rtl; }
.scenario:nth-child(even) > * { direction: ltr; }
@media (max-width: 900px) { .scenario, .scenario:nth-child(even) { grid-template-columns: 1fr; direction: ltr; } }
.scenario .visual { display: flex; justify-content: center; padding: 28px; border-radius: var(--radius); background: linear-gradient(160deg, var(--primary-soft), var(--elevated)); }
.scenario blockquote { margin: 0 0 18px; padding: 16px 20px; border-left: 4px solid var(--lime); background: var(--surface); border-radius: 0 var(--radius-s) var(--radius-s) 0; font-size: 1.05rem; }
.scenario blockquote cite { display: block; font-style: normal; color: var(--muted); font-size: .9rem; margin-top: 6px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.steps .n { flex: 0 0 30px; height: 30px; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-weight: 700; display: grid; place-items: center; font-size: .9rem; }
.steps li strong { display: block; }
.steps li span { color: var(--muted); }

/* Deň s appkou (timeline) */
.day { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.day::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 2px; background: linear-gradient(90deg, var(--primary), var(--lime)); opacity: .5; }
.day > div { position: relative; padding-top: 60px; }
.day .dot { position: absolute; top: 14px; left: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--surface); border: 3px solid var(--primary); }
.day .t { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); }
.day p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .day { grid-template-columns: 1fr; } .day::before { display: none; } .day > div { padding: 0 0 0 44px; } .day .dot { top: 2px; } }

/* Galéria telefónov */
.gallery { display: flex; gap: 22px; overflow-x: auto; padding: 18px 4px 30px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.gallery figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.gallery figcaption { margin-top: 12px; font-size: .92rem; color: var(--muted); max-width: 240px; }

/* Partner / súkromie */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.check { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 12px; }
.check li { display: flex; gap: 12px; align-items: flex-start; }
.check li::before { content: ""; flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23176B57' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12l5 5L20 7'/></svg>") center/14px no-repeat; margin-top: 2px; }
.privacy { background: var(--hero); color: var(--hero-text); }
.privacy h2, .privacy h3 { color: #fff; }
.privacy .card { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.privacy .card p { color: rgba(244, 248, 241, .75); }
.privacy .card .icon { background: rgba(219, 239, 159, .15); color: var(--lime); }
.privacy a { color: var(--lime); }

/* FAQ */
details { border-top: 1px solid var(--border); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; align-items: center; }
summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; max-width: 46rem; }

/* CTA + pätička */
.cta { text-align: center; background: linear-gradient(160deg, var(--primary-soft), var(--bg)); }
.cta .btn { margin: 8px; }
footer { padding: 40px 0 60px; color: var(--muted); font-size: .92rem; border-top: 1px solid var(--border); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Odhalenie pri skrolovaní */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Podstránky (zásady, pozvánka) */
.doc { max-width: 46rem; margin: 0 auto; padding: 48px 0 80px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.doc h2 { font-size: 1.4rem; margin-top: 2em; }
.doc table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { color: var(--muted); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.invite { max-width: 30rem; margin: 60px auto; text-align: center; }
.invite .card { padding: 36px 28px; }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 1.15rem; background: var(--elevated); border-radius: var(--radius-s); padding: 12px 16px; word-break: break-all; margin: 16px 0; user-select: all; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--lime-ink); font-size: .8rem; font-weight: 700; }
