/* Prezentacni stranka produktu. Zadny build, zadna knihovna, jeden soubor. */

@font-face {
  font-family: 'InterVariable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/inter.woff2') format('woff2');
}

:root {
  --bg: #0c0c0e;
  --bg-alt: #101013;
  --surface: #16161a;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f2f2f3;
  --muted: #9a9aa2;
  --dim: #6b6b74;
  --gold: #c9a227;
  --gold-light: #dcb941;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --wrap: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'InterVariable', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap.narrow {
  max-width: 760px;
}
.center {
  text-align: center;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 100;
  background: var(--gold);
  color: #0b0b0b;
  padding: 8px 14px;
  border-radius: 8px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- navigace ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(12, 12, 14, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand b {
  font-weight: 700;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--gold-light), #a8871f);
  color: #0b0b0b;
  font-weight: 800;
  font-size: 15px;
}
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14.5px;
  color: var(--muted);
}
.nav-links a {
  text-decoration: none;
  transition: color 0.15s var(--ease);
}
.nav-links a:hover {
  color: var(--text);
}
.nav-cta {
  margin-left: 8px;
}

/* ---------- tlacitka ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s var(--ease), background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.btn:active {
  transform: scale(0.98);
}
.btn-lg {
  min-height: 48px;
  padding: 0 26px;
  font-size: 15.5px;
}
.btn-gold {
  background: var(--gold);
  color: #0b0b0b;
  box-shadow: 0 8px 24px -8px rgba(201, 162, 39, 0.6);
}
.btn-gold:hover {
  background: var(--gold-light);
}
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.glow {
  position: absolute;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 460px;
  background: radial-gradient(closest-side, rgba(201, 162, 39, 0.16), transparent);
  pointer-events: none;
}
.eyebrow {
  color: var(--gold);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
h1 {
  font-size: clamp(38px, 6.2vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin-bottom: 22px;
}
.lead {
  max-width: 620px;
  font-size: 17.5px;
  color: var(--muted);
  margin-bottom: 30px;
}
.lead b,
.section-lead b {
  color: var(--text);
  font-weight: 600;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.hero-note {
  font-size: 13.5px;
  color: var(--dim);
}
.hero-note b {
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  list-style: none;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stats b {
  display: block;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.stats span {
  font-size: 13.5px;
  color: var(--dim);
}

/* ---------- sekce ---------- */
.band {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}
.band.alt {
  background: var(--bg-alt);
}
h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin-bottom: 14px;
}
h3 {
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.018em;
  margin-bottom: 8px;
}
.section-lead {
  max-width: 640px;
  color: var(--muted);
  font-size: 16.5px;
  margin-bottom: 36px;
}
.band p:last-child {
  margin-bottom: 0;
}

/* ---------- karty ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.card p {
  color: var(--muted);
  font-size: 15px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px 32px;
}
.feature p {
  color: var(--muted);
  font-size: 14.8px;
}
.ico {
  display: block;
  color: var(--gold);
  font-size: 11px;
  margin-bottom: 10px;
}

/* ---------- styly widgetu ---------- */
.presets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-bottom: 36px;
}
.preset {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.preset b {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}
.preset span {
  font-size: 13.5px;
  color: var(--dim);
}

/* ---------- kroky ---------- */
.steps {
  counter-reset: krok;
  list-style: none;
  display: grid;
  gap: 22px;
}
.steps li {
  position: relative;
  padding-left: 52px;
}
.steps li::before {
  counter-increment: krok;
  content: counter(krok);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}
.steps p {
  color: var(--muted);
  font-size: 15px;
}
pre {
  margin-top: 10px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #08080a;
  overflow-x: auto;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  color: var(--gold-light);
  white-space: pre;
}

/* ---------- seznam s odrazkami ---------- */
.ticks {
  list-style: none;
  display: grid;
  gap: 12px;
}
.ticks li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 15.5px;
}
.ticks li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.ticks b {
  color: var(--text);
  font-weight: 600;
}

.cta-band {
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
}

/* ---------- paticka ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
}
.muted {
  color: var(--dim);
}

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  .hero {
    padding: 64px 0 56px;
  }
  .band {
    padding: 60px 0;
  }
  /* Aby chat neprekryl tlacitko v paticce. */
  .footer {
    padding-bottom: 110px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}
