/* Lísteček – návrh úvodní stránky (v2). Barvy a písmo podle aplikace. */
:root {
  --bg: #f6f7f2;
  --surface: #ffffff;
  --text: #22261f;
  --muted: #4e5648;
  --accent: #5f9e52;
  --accent-2: #e9f3e4;
  --accent-text: #2d5c26;
  --btn: #47823c;
  --btn-hover: #3d7a34;
  --theme: #7bb36b;
  --line: rgba(70, 110, 60, 0.18);
  --paper: #fffef9;
  --shadow: 0 6px 24px rgba(30, 40, 20, 0.12);
  --shadow-lg: 0 16px 40px rgba(30, 40, 20, 0.14);
  --radius: 16px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1100px;
  --header-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--btn); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute;
  left: 12px; top: 12px;
  z-index: 40;
  background: var(--surface);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  transform: translateY(-160%);
}
.skip:focus { transform: none; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header / nav */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.top.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(30, 40, 20, 0.06);
}
.top-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 8px 0 6px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}
.brand img {
  width: 40px; height: 40px;
  border-radius: 10px;
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 2px 8px rgba(30,40,20,.12);
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 2px;
  margin: 0;
  padding: 0 0 6px;
  list-style: none;
  width: 100%;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 9px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--accent-2); color: var(--accent-text); }
.nav-links a[aria-current="location"] {
  background: var(--accent-2);
  color: var(--accent-text);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 35%, transparent);
}

.soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
  background: var(--accent-2);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.soon-lg {
  min-height: 48px;
  padding: 10px 18px;
  font-size: 1.02rem;
  border-style: dashed;
  background: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 18px;
  border: 0;
  border-radius: 14px;
  background: var(--btn);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--btn-hover); color: #fff; }
.btn-ghost {
  background: var(--accent-2);
  color: var(--accent-text);
  box-shadow: none;
}
.btn-ghost:hover { background: #dcecd4; color: var(--accent-text); }

/* Hero */
.hero {
  padding: 32px 0 20px;
  background:
    radial-gradient(120% 80% at 50% -10%, var(--accent-2), transparent 62%),
    var(--bg);
}
.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.hero-icon {
  width: 88px; height: 88px;
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
}
.hero h1 {
  margin: 16px 0 10px;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.lede {
  margin: 0 0 20px;
  font-size: 1.18rem;
  line-height: 1.5;
  max-width: 38ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}
.fine { margin: 0; color: var(--muted); font-size: 1rem; max-width: 44ch; }

.device {
  justify-self: center;
  width: min(100%, 300px);
  background: #1c2119;
  border-radius: 36px;
  padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.08);
}
.device-screen {
  border-radius: 26px;
  overflow: hidden;
  background: var(--bg);
  aspect-ratio: 390 / 844;
}
.device-screen img, .device-screen video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-frame {
  width: min(100%, 340px);
  margin-inline: auto;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
  box-shadow: var(--shadow-lg);
}
.video-frame video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  display: block;
  background: #111;
  object-fit: contain;
}

/* Sections */
section { padding: 52px 0; }
.section-title {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3.5vw, 2.05rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-lead { margin: 0 0 28px; color: var(--muted); max-width: 50ch; }

/* Feature cards */
.cards {
  display: grid;
  gap: 16px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
  transition: transform .18s ease, box-shadow .18s ease;
}
a.card { text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--accent-2);
  color: var(--accent-text);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.card .icon svg {
  width: 26px; height: 26px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { margin: 0 0 8px; font-size: 1.18rem; letter-spacing: -0.015em; }
.card p { margin: 0; color: var(--text); font-size: 1.02rem; }

.privacy {
  margin-top: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
}
.privacy h3 { margin: 0 0 10px; font-size: 1.25rem; }
.privacy p { margin: 0 0 12px; }
.privacy p:last-child { margin-bottom: 0; }

/* Showcase / tabs */
.tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 14px;
  margin: 0 0 8px;
  scroll-snap-type: x proximity;
}
.tabs button {
  flex: none;
  scroll-snap-align: start;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-weight: 650;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.tabs button:hover { background: var(--accent-2); }
.tabs button[aria-selected="true"] {
  background: var(--btn);
  border-color: var(--btn);
  color: #fff;
}

.panel { display: none; }
.panel.is-on { display: grid; gap: 22px; align-items: start; }
.shot-btn {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.shot-btn img { width: 100%; border-radius: 20px; }
.shot-btn .zoom {
  position: absolute;
  right: 12px; bottom: 12px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--accent-text);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  pointer-events: none;
}
.callouts { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.callouts li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}
.callouts .n {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-2);
  color: var(--accent-text);
  font-weight: 800;
  display: grid;
  place-items: center;
}
.callouts h3 { margin: 0 0 4px; font-size: 1.08rem; }
.callouts p { margin: 0; }

/* Video */
.video-sec {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--accent-2) 55%, transparent) 18%, transparent 92%);
}
.credit {
  margin: 14px auto 0;
  max-width: 40ch;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.credit a { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 18px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  min-height: 56px;
  display: flex;
  align-items: center;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  color: var(--accent-text);
  font-size: 1.4rem;
  font-weight: 500;
  padding-left: 12px;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; padding-bottom: 4px; }

/* Support */
.support {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.support h2 { margin-top: 0; }
.mail {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--accent-text);
  margin: 8px 0 16px;
}
.mail:hover { text-decoration: underline; }
.support ul { margin: 0 0 16px; padding-left: 1.2em; }
.support li { margin: 0 0 8px; }

/* Footer */
.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  background: var(--surface);
}
.foot-inner { display: grid; gap: 12px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot a { font-weight: 600; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.copy, .foot-credit { margin: 4px 0 0; color: var(--muted); font-size: 0.95rem; }

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(420px, 94vw);
  width: 94vw;
}
.lightbox::backdrop { background: rgba(20, 24, 18, 0.72); }
.lightbox-inner {
  background: #111;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
.lightbox img { width: 100%; height: auto; }
.lightbox-close {
  position: absolute;
  top: 10px; right: 10px;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--text);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 719px) {
  .nav-links {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links a {
    padding: 6px 6px;
    font-size: 0.9rem;
    flex: none;
  }
}
@media (min-width: 720px) {
  .nav-links { width: auto; padding-bottom: 0; }
  .top-inner { flex-wrap: nowrap; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; padding-top: 12px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .panel.is-on { grid-template-columns: minmax(240px, 320px) 1fr; gap: 36px; }
  .device { width: min(100%, 320px); }
}
@media (min-width: 960px) {
  html, body { font-size: 19px; }
  .cards { grid-template-columns: 1fr 1fr 1fr; }
  .wrap { width: min(var(--max), calc(100% - 64px)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .top, .nav-links a, .tabs button { transition: none; }
  .card:hover { transform: none; }
}
