/* i:Store V2 — web onboarding (landing/demo/registrace). Dizajn = Codex kabinet: bílá, accent #f55266, Wix Madefor. */
@font-face { font-family: "Wix"; src: url("/fonts/WixMadeforDisplay-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Wix"; src: url("/fonts/WixMadeforDisplay-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Wix"; src: url("/fonts/WixMadeforDisplay-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Wix"; src: url("/fonts/WixMadeforDisplay-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --ink: #181d25; --muted: #6b7280; --line: #e9ebef;
  --accent: #f55266; --accent-soft: #fdecef; --bg: #ffffff;
  --radius: 16px;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Wix", -apple-system, Arial, sans-serif;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; line-height: 1.4;
}
.wrap { max-width: 460px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; padding: 20px 16px 28px; }
.brand { font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.brand span { color: var(--accent); }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.topbar .label { color: var(--muted); font-size: 14px; }

h1 { font-size: 30px; line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; margin: 18px 0 10px; }
.lead { color: var(--muted); font-size: 16px; margin: 0 0 22px; }

.benefits { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.benefits li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }
.benefits .ic { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.benefits svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border: none; cursor: pointer;
  background: var(--accent); color: #fff; font-family: inherit; font-weight: 600; font-size: 17px;
  padding: 16px 18px; border-radius: var(--radius); transition: transform .08s ease, opacity .15s; }
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-ghost { background: var(--accent-soft); color: var(--accent); }

/* Obsahový náhled chatu (nahrazuje dřívější zástupný růžový blok). */
.preview-card { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 14px 12px; background: #fff; box-shadow: 0 6px 24px rgba(24,29,37,.06); }
.preview-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.preview-head .left { display: flex; align-items: center; gap: 8px; }
.preview-head .dot { width: 8px; height: 8px; border-radius: 50%; background: #1b8a4b; }
.pv-demo { background: #eef0f3; color: var(--muted); font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 99px; }
.pv-row { display: flex; margin-bottom: 8px; }
.pv-row.me { justify-content: flex-end; }
.pv-bubble { max-width: 82%; padding: 10px 13px; border-radius: 13px; font-size: 14px; line-height: 1.35; }
.pv-bubble.client { background: #f3f4f6; border-top-left-radius: 4px; }
.pv-bubble.me { background: var(--accent-soft); color: #9a2740; border-top-right-radius: 4px; }
.pv-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.pv-chip { background: var(--accent-soft); color: var(--accent); font-weight: 700; padding: 3px 10px; border-radius: 99px; }

.spacer { flex: 1; }

/* Demo */
.progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; margin: 14px 0 8px; }
.progress > i { display: block; height: 100%; background: var(--accent); width: 33%; transition: width .3s ease; }
.step-label { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.bubble { background: #f3f4f6; border-radius: 14px; border-top-left-radius: 4px; padding: 14px 16px; font-size: 16px; max-width: 86%; }
.bubble .time { display: block; text-align: right; color: var(--muted); font-size: 12px; margin-top: 6px; }
.bubble-row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: #e6cfd4; flex: none; display:grid; place-items:center; color:#b06; font-weight:700; font-size:14px; }
.options { display: grid; gap: 12px; margin-bottom: 20px; }
.option { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 16px; font-size: 15px; cursor: pointer; background:#fff; text-align:left; font-family:inherit; color:var(--ink); }
.option .mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; }
.option.correct { border-color: var(--accent); background: var(--accent-soft); }
.option.correct .mark { border-color: var(--accent); background: var(--accent); }
.option.correct .mark svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 3; fill: none; }
.option.dim { opacity: .55; }
.note { background: var(--accent-soft); color: #9a2740; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-bottom: 18px; }
.demo-badge { background:#eef0f3; color:var(--muted); font-size:12px; font-weight:600; padding:4px 10px; border-radius:99px; }
/* Jemná nápověda / potvrzení pod volbami — řádek, ne výstražná karta. */
.hintline { font-size: 14px; line-height: 1.4; margin: 2px 2px 16px; min-height: 18px; color: var(--accent); }
.hintline.ok { color: #1b8a4b; font-weight: 600; }
.option.touched { border-color: #f6a6b2; }
.option.locked { pointer-events: none; }

/* Registrace */
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.input { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 16px; font-size: 16px; font-family: inherit; color: var(--ink); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.err { color: var(--accent); font-size: 13px; margin: -8px 0 12px; min-height: 16px; }

/* E-mail sent */
.sent { text-align: center; margin-top: 10vh; }
.sent .circle { width: 92px; height: 92px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; margin: 0 auto 22px; }
.sent .circle svg { width: 40px; height: 40px; stroke: var(--accent); fill: none; stroke-width: 2; }
.sent h1 { margin-bottom: 14px; }
.sent p { color: var(--muted); font-size: 16px; margin: 0 0 10px; }
.sent .addr { color: var(--ink); font-weight: 600; }
.sent .hint { display: flex; gap: 10px; align-items: flex-start; text-align: left; background: #f6f7f9; border-radius: 12px; padding: 13px 15px; font-size: 14px; color: var(--muted); margin: 22px 0; }
.hidden { display: none !important; }
