/* Nabídka INVOICER na veřejném webu (návrh 2, světlý). Bez písem a stylů z cizích serverů. */
:root { --ink: #1d1b2e; --muted: #4a4560; --soft: #5d5875; --line: #e6e3f0; --bg: #fbfaf7; --a: #ffa028; --b: #f03c82; --brand: #c42d63; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.5 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--brand); }
h1, h2 { font-family: ui-rounded, "SF Pro Rounded", Inter, system-ui, sans-serif; letter-spacing: -.02em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.top { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 1 1 auto; color: var(--ink); text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--a), var(--b)); display: grid; place-items: center; color: #fff; font: 800 22px/1 system-ui, sans-serif; }
.brand-text { display: flex; flex-direction: column; gap: 3px; }
.brand-text strong { font-size: 17px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 14px; border: 0; font-weight: 700; font-size: 16px; line-height: 1; font-family: inherit; text-decoration: none; cursor: pointer; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-brand { background: linear-gradient(135deg, var(--a), var(--b)); color: #fff; box-shadow: 0 10px 28px rgba(240, 60, 130, .28); }
.btn-light { background: #fff; color: var(--ink); border: 1px solid #e2dfec; font-weight: 600; }

/* INVOICER: písmena se postupně rozsvítí, R neonově zabliká. */
.inv { display: inline-flex; font-weight: 800; font-size: 11px; line-height: 1; letter-spacing: .3em; }
.inv-box { padding: 7px 10px 7px 13px; border: 1px solid #e2dfec; border-radius: 9px; background: #fff; }
.inv .l { color: #8e88a8; animation: inv-lit 6s linear infinite; }
.inv .r { color: var(--brand); animation: inv-neon 6s linear infinite; animation-delay: .84s; }
.inv .l2 { animation-delay: .12s; } .inv .l3 { animation-delay: .24s; } .inv .l4 { animation-delay: .36s; }
.inv .l5 { animation-delay: .48s; } .inv .l6 { animation-delay: .6s; } .inv .l7 { animation-delay: .72s; }
@keyframes inv-lit { 0% { color: #8e88a8; } 2.5% { color: var(--brand); text-shadow: 0 0 6px var(--b); } 7%, 100% { color: #8e88a8; text-shadow: none; } }
@keyframes inv-neon { 0% { opacity: .4; } 2% { opacity: 1; text-shadow: 0 0 6px var(--b), 0 0 18px var(--a); } 4% { opacity: .6; } 6%, 94% { opacity: 1; color: var(--brand); text-shadow: 0 0 6px rgba(240, 60, 130, .6); } 100% { opacity: .4; } }
@media (prefers-reduced-motion: reduce) { .inv .l, .inv .r { animation: none; } html { scroll-behavior: auto; } }

.hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 64px; }
.hero-text { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero h1 { margin: 0; font-size: clamp(38px, 5vw, 64px); line-height: 1.05; }
.grad { background: linear-gradient(90deg, var(--a), var(--b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 0; font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 38em; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.demo { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.card { padding: 20px 22px; border-radius: 20px; background: #fff; box-shadow: 0 18px 50px rgba(40, 20, 80, .10); display: flex; flex-direction: column; gap: 12px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tag { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--b); color: var(--brand); font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.bar { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--a) 0 50%, #e2dfec 50%); }
.amount { display: flex; justify-content: space-between; align-items: baseline; }
.amount strong { font-size: 30px; }
.paid { margin-left: 32px; padding: 14px 18px; border-radius: 16px; background: #e8f6ee; border: 1px solid #b7e2c8; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.paid .tick { width: 32px; height: 32px; border-radius: 16px; background: #1f9d5b; color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.paid strong { color: #146c43; display: block; }
.booking { padding: 16px 20px; flex-direction: row; align-items: center; gap: 14px; font-size: 14px; }
.date { width: 44px; height: 44px; border-radius: 12px; background: #fff1e2; color: #a5520a; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; flex: none; }
.date small { font-size: 10px; }
.muted { color: var(--soft); }

.band { background: #fff; border-top: 1px solid #efedf5; border-bottom: 1px solid #efedf5; }
.section { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 28px; }
.section h2 { margin: 0; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.step { padding: 20px; border-radius: 18px; display: flex; flex-direction: column; gap: 6px; }
.step span:first-child { font-size: 13px; font-weight: 700; }
.s1 { background: #fff6ec; } .s1 span:first-child { color: #a5520a; }
.s2 { background: #fff1f0; } .s2 span:first-child { color: #b3352f; }
.s3 { background: #fdeef4; } .s3 span:first-child { color: var(--brand); }
.s4 { background: #e8f6ee; } .s4 span:first-child { color: #146c43; }

.split { display: flex; flex-wrap: wrap; gap: 40px; }
.split-text { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.split-text p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.mods { flex: 2 1 520px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.mod { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.mod > span { flex: 1 1 auto; display: flex; flex-direction: column; }
.mod small { color: var(--soft); }
.mod.core { background: var(--ink); color: #fff; border-color: var(--ink); }
.mod.core small { color: #c9c5dc; }
.mod.own { background: #fff6ec; border: 1px dashed #f0b878; }
.mod.own small { color: #7a4a05; }
.switch { width: 44px; height: 26px; border-radius: 13px; background: #dcd9e6; position: relative; flex: none; }
.switch::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 10px; background: #fff; }
.switch.on { background: linear-gradient(90deg, var(--a), var(--b)); }
.switch.on::after { left: auto; right: 3px; }
.plus { font-size: 22px; font-weight: 800; color: #a5520a; }

.dark { background: var(--ink); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 12px 18px; border-radius: 999px; border: 1px solid #4a4660; }
.chip.hot { background: linear-gradient(135deg, var(--a), var(--b)); border: 0; font-weight: 700; }
.chip.ask { border-style: dashed; border-color: var(--a); color: #ffd6a8; }
.example { padding: 22px 24px; border-radius: 20px; background: #2a2640; display: flex; flex-wrap: wrap; gap: 24px; }
.example > div { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.example p { margin: 0; color: #c9c5dc; line-height: 1.6; }

.contact { max-width: 900px; margin: 0 auto; padding: 72px 24px 80px; }
.form-card { position: relative; overflow: hidden; padding: clamp(24px, 4vw, 44px); padding-top: calc(clamp(24px, 4vw, 44px) + 8px); border-radius: 28px; background: #fff; box-shadow: 0 24px 60px rgba(40, 20, 80, .12); display: flex; flex-direction: column; gap: 20px; }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, var(--a), var(--b)); }
.form-card h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; }
.form-card > p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field textarea { padding: 0 16px; border-radius: 14px; border: 1.5px solid #dcd9e6; background: var(--bg); font-weight: 500; font-size: 17px; line-height: 1.4; font-family: inherit; color: var(--ink); }
.field input { height: 54px; }
.field textarea { padding-top: 12px; padding-bottom: 12px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--b); outline-offset: 1px; }
.contact-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.contact-row .field { flex: 1 1 280px; }
.contact-row .btn { flex: 0 1 220px; min-height: 54px; }
.opt { font-weight: 400; color: var(--soft); }
.interests { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.interests legend { font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.interests label { display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid #dcd9e6; font-size: 14px; cursor: pointer; }
.interests label:has(input:checked) { border-color: var(--b); background: #fdeef4; }
.facts { display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--muted); }
.note { font-size: 13px; color: var(--soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.flash { padding: 14px 18px; border-radius: 14px; font-weight: 600; }
.flash.ok { background: #e8f6ee; color: #146c43; }
.flash.bad { background: #fde4e1; color: #b42318; }

.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 24px; padding-bottom: 40px; color: var(--soft); font-size: 14px; border-top: 1px solid #ebe8f1; }

@media (max-width: 600px) {
  .paid { margin-left: 0; }
  .top .btn { width: 100%; }
  .contact-row .btn { flex: 1 1 100%; }
}
