/* Web PerpyX. Bez písem a skriptů třetích stran — stránka nic nenačítá
   odjinud, takže návštěvníka nikdo cizí nesleduje a není potřeba lišta
   s cookies. */
:root {
  --bg: #0b0f14;
  --panel: #111823;
  --panel-2: #0f151d;
  --line: #223043;
  --text: #e6edf5;
  --muted: #8b9bb0;
  --cyan: #22d3ee;
  --violet: #7c5cff;
  --green: #16c784;
  --red: #ea3943;
  --grad: linear-gradient(135deg, var(--cyan), var(--violet));
  --radius: 16px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: #7cc4ff; }
a:hover { color: #b3dcff; }

img { max-width: 100%; height: auto; display: block; }

.sprite { position: absolute; width: 0; height: 0; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---- hlavička ---- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 15, 20, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(34, 48, 67, 0.6);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none;
  font-weight: 700; font-size: 1.3rem; letter-spacing: 0.2px; }
.brand svg { width: 30px; height: 30px; }
.brand:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 12px; border: 0;
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
  color: #06121a; background: var(--grad);
  box-shadow: 0 8px 30px -10px rgba(124, 92, 255, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { color: #06121a; transform: translateY(-1px); box-shadow: 0 12px 34px -10px rgba(124, 92, 255, 0.9); }
.btn.small { min-height: 38px; padding: 0 16px; font-size: 0.92rem; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn.ghost:hover { border-color: #3a4d66; color: var(--text); }

/* ---- úvod ---- */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; }
.hero::before {
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.22), transparent 70%),
              radial-gradient(closest-side at 30% 70%, rgba(34, 211, 238, 0.14), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px;
  color: var(--muted); font-size: 0.85rem; background: rgba(17, 24, 35, 0.7);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 10px var(--green); }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); line-height: 1.08; margin: 18px 0 18px;
  letter-spacing: -1px; font-weight: 800; }
h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: #b9c6d6; font-size: 1.15rem; max-width: 34em; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { color: var(--muted); font-size: 0.9rem; margin-top: 14px; }

.shots { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; }
.phone {
  border-radius: 28px; padding: 8px; background: #05080c;
  border: 1px solid #263448;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.phone img { border-radius: 20px; }
.shots .phone.back { width: 46%; transform: translateX(14%) rotate(-4deg); opacity: 0.9; }
.shots .phone.front { width: 58%; position: relative; z-index: 1; transform: translateX(-6%); }

/* ---- sekce ---- */
section { padding: 72px 0; }
.section-head { max-width: 40em; margin-bottom: 36px; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.5px; }
.section-head p { color: #b9c6d6; margin: 0; }
.kicker { color: var(--cyan); font-weight: 650; font-size: 0.85rem; letter-spacing: 1.2px;
  text-transform: uppercase; margin-bottom: 10px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.card h3 { margin: 14px 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: #a9b7c8; font-size: 0.97rem; }
.icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(124, 92, 255, 0.12); border: 1px solid rgba(124, 92, 255, 0.35); color: #b9a8ff;
}
.icon svg { width: 22px; height: 22px; }

/* ---- galerie snímků ---- */
.gallery { display: grid; grid-template-columns: 1fr 1fr 1.62fr; gap: 20px; align-items: start; }
.gallery figure { margin: 0; }
.gallery figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 12px; text-align: center; }

/* ---- bezpečnost ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; color: #c3cfdd; }
.checks li::before {
  content: ""; width: 20px; height: 20px; margin-top: 4px; border-radius: 6px;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 18px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.checks strong { color: var(--text); }
.flow { display: grid; gap: 12px; }
.flow .step { display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.flow .step b { font-size: 0.97rem; }
.flow .step span { color: var(--muted); font-size: 0.9rem; display: block; }
.flow .arrow { text-align: center; color: #3a4d66; font-size: 1.1rem; line-height: 1; }
.flow .step.lock { border-color: rgba(34, 211, 238, 0.45); }

/* ---- plán ---- */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.roadmap .card { padding: 20px; }
.roadmap .tag { display: inline-block; font-size: 0.78rem; font-weight: 650; padding: 3px 9px;
  border-radius: 999px; color: #9fe9f7; background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.3); }

/* ---- beta ---- */
.beta {
  position: relative; overflow: hidden;
  border: 1px solid #2b3a52; border-radius: 24px; padding: 48px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(124, 92, 255, 0.22), transparent 55%),
              radial-gradient(90% 120% at 0% 100%, rgba(34, 211, 238, 0.14), transparent 55%),
              var(--panel-2);
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
}
.beta p { color: #b9c6d6; margin: 0; }
form { display: grid; gap: 14px; }
.field { display: flex; gap: 10px; }
input[type=email] {
  flex: 1; min-width: 0; min-height: 50px; padding: 0 16px; border-radius: 12px;
  border: 1px solid #33455f; background: #0a0f16; color: var(--text); font: inherit;
}
input[type=email]:focus { outline: 2px solid rgba(34, 211, 238, 0.6); outline-offset: 1px; border-color: transparent; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: #a9b7c8; font-size: 0.9rem; line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--violet); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.msg { min-height: 1.5em; font-size: 0.95rem; margin: 0; }
.msg.ok { color: #5eead4; }
.msg.err { color: #ff8a8a; }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }

/* ---- patička ---- */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; gap: 20px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--text); }

/* ---- stránka s textem (ochrana soukromí) ---- */
.doc { max-width: 760px; padding: 56px 0 80px; }
.doc h1 { font-size: 2.2rem; }
.doc h2 { font-size: 1.3rem; margin-top: 36px; }
.doc p, .doc li { color: #c3cfdd; }
.doc .updated { color: var(--muted); }

/* ---- úzké displeje ---- */
@media (max-width: 900px) {
  .hero .wrap, .split, .beta { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .shots { max-width: 520px; margin-inline: auto; }
  .grid { grid-template-columns: 1fr 1fr; }
  .roadmap { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure.wide { grid-column: 1 / -1; }
  .beta { padding: 32px 24px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .grid, .roadmap { grid-template-columns: 1fr; }
  .field { flex-direction: column; }
  .top .btn.small { display: none; }
}
