/* ZeddiHub Podpora — landing page. Same dark theme tokens as the app
   (client/src/app.css) for visual consistency across web ⇄ launcher. */

:root {
  --zs-bg: 12 12 12;
  --zs-content-bg: 10 10 20;
  --zs-card-bg: 26 26 40;
  --zs-card-hover: 34 34 46;
  --zs-border: 42 42 58;
  --zs-primary: 240 165 0;
  --zs-primary-hover: 217 148 0;
  --zs-text: 240 240 240;
  --zs-text-muted: 154 154 166;
  --zs-success: 74 222 128;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: rgb(var(--zs-bg));
  color: rgb(var(--zs-text));
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}
a { color: inherit; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ─────────────────────────────────────────────────────────── */
header.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 12, 12, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgb(var(--zs-border));
}
header.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgb(var(--zs-primary));
}
nav.links { display: flex; gap: 24px; font-size: 14px; }
nav.links a {
  text-decoration: none;
  color: rgb(var(--zs-text-muted));
  transition: color 150ms ease-out;
}
nav.links a:hover { color: rgb(var(--zs-text)); }
.btn-admin {
  border: 1px solid rgb(var(--zs-border));
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 13px;
  text-decoration: none;
  color: rgb(var(--zs-text-muted));
}
.btn-admin:hover { color: rgb(var(--zs-text)); border-color: rgb(var(--zs-primary)); }

/* ── Hero ────────────────────────────────────────────────────────── */
.hero { padding: 96px 0 72px; text-align: center; }
.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  color: rgb(var(--zs-primary));
  background: rgba(240, 165, 0, 0.1);
  border: 1px solid rgba(240, 165, 0, 0.3);
  border-radius: 999px;
  padding: 4px 14px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.hero h1 .accent { color: rgb(var(--zs-primary)); }
.hero p.sub {
  max-width: 560px;
  margin: 0 auto 36px;
  color: rgb(var(--zs-text-muted));
  font-size: 17px;
}
.btn-row { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform 150ms ease-out, background-color 150ms ease-out;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: rgb(var(--zs-primary)); color: #0c0c0c; }
.btn-primary:hover { background: rgb(var(--zs-primary-hover)); }
.btn-secondary {
  background: rgb(var(--zs-card-bg));
  color: rgb(var(--zs-text));
  border: 1px solid rgb(var(--zs-border));
}
.btn-secondary:hover { background: rgb(var(--zs-card-hover)); }

.badges {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgb(var(--zs-text-muted));
}
.badges span { display: flex; align-items: center; gap: 6px; }
.badges .ok { color: rgb(var(--zs-success)); }

/* ── Sections ────────────────────────────────────────────────────── */
section { padding: 64px 0; border-top: 1px solid rgb(var(--zs-border)); }
.section-eyebrow {
  font-size: 13px;
  color: rgb(var(--zs-primary));
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  text-align: center;
}
h2 { font-size: 28px; text-align: center; margin: 0 0 12px; }
p.section-sub {
  text-align: center;
  color: rgb(var(--zs-text-muted));
  max-width: 480px;
  margin: 0 auto 48px;
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: rgb(var(--zs-card-bg));
  border: 1px solid rgb(var(--zs-border));
  border-radius: 14px;
  padding: 24px;
}
.step .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(240, 165, 0, 0.15);
  color: rgb(var(--zs-primary));
  font-weight: 700;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 16px; }
.step p { margin: 0; color: rgb(var(--zs-text-muted)); font-size: 14px; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature {
  background: rgb(var(--zs-card-bg));
  border: 1px solid rgb(var(--zs-border));
  border-radius: 12px;
  padding: 20px;
}
.feature .icon { font-size: 22px; margin-bottom: 10px; }
.feature h3 { margin: 0 0 6px; font-size: 15px; }
.feature p { margin: 0; color: rgb(var(--zs-text-muted)); font-size: 13px; }

/* Privacy note */
.note {
  background: rgb(var(--zs-card-bg));
  border: 1px solid rgb(var(--zs-border));
  border-radius: 12px;
  padding: 20px 24px;
  font-size: 14px;
  color: rgb(var(--zs-text-muted));
  max-width: 640px;
  margin: 0 auto;
}
.note strong { color: rgb(var(--zs-text)); }

footer {
  border-top: 1px solid rgb(var(--zs-border));
  padding: 32px 0;
  text-align: center;
  color: rgb(var(--zs-text-muted));
  font-size: 13px;
}

@media (max-width: 720px) {
  .steps, .features { grid-template-columns: 1fr; }
  nav.links { display: none; }
}
