/* Jarvis · web a obchod. Farby a písmo ako v samotnom Jarvisovi (téma Grafit: grafit s ľadovo modrým akcentom,
   Segoe UI Variable). Jeden akcent, žiadne fialové žiary ani sklo. */
:root {
  color-scheme: dark;
  --bg: #0c0d0f; --bg-2: #101113; --surface: #15161a; --surface-2: #1b1d21; --surface-3: #23252a;
  --line-soft: #1f2125; --line: #2a2d32; --line-strong: #3a3e45;
  --text: #ececee; --text-2: #c6c9ce; --muted: #9499a2; --dim: #6c717a;
  --accent: #8ab8f5; --accent-strong: #5f97e6; --accent-ink: #0b1a2e; --accent-soft: #131b26; --accent-line: #2c4a72;
  --ok: #68d391; --ok-soft: #13241a; --warn: #e8c26e; --warn-soft: #29220f; --bad: #f2777f; --bad-soft: #2b1618;
  --display: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --font: "Segoe UI Variable Text", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --mono: "Cascadia Code", Consolas, "SF Mono", monospace;
  --r-s: 8px; --r: 12px; --r-l: 18px;
  --wrap: 1200px; --gutter: 24px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--text); margin: 0; line-height: 1.12; font-weight: 650; letter-spacing: -.022em; }
h1 { font-size: clamp(38px, 6vw, 68px); letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 20px; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
strong { color: var(--text); font-weight: 650; }
::selection { background: var(--accent-strong); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-2); line-height: 1.55; max-width: 640px; }

/* ---------- tlačidlá */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text); font: 600 15px/1 var(--font); cursor: pointer; text-decoration: none !important; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { background: var(--surface-3); border-color: #4a4f57; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #a3c8f8; border-color: #a3c8f8; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--line); }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hlavička */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line-soft); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none !important; flex: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font: 700 17px/1 var(--display); letter-spacing: .3em; margin-right: -.3em; }
.brand-word small { font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav a { color: var(--text-2); padding: 8px 12px; border-radius: 9px; font-size: 15px; font-weight: 500; text-decoration: none; }
.nav a:hover { background: var(--surface-2); color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
/* dlhšie jazyky webu (28.10.2026): „Für Unternehmen“, „La mia licenza“ by sa v menu lámali na dva riadky */
@media (min-width: 1241px) {
  :lang(de) .nav a, :lang(it) .nav a, :lang(hu) .nav a { padding: 8px 7px; }
  :lang(de) .top .wrap, :lang(it) .top .wrap { gap: 20px; }
}
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cart-link { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 14.5px; text-decoration: none !important; }
.cart-link:hover { background: var(--surface-2); }
/* jazyky webu (27.10.2026) – prepínač v hlavičke, vkladá ho nastroje/postav.mjs */
.lang-switch { position: relative; }
.lang-switch > summary { list-style: none; display: inline-flex; align-items: center; height: 42px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line); color: var(--text); font-weight: 600; font-size: 13.5px; letter-spacing: .05em; cursor: pointer; user-select: none; }
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover, .lang-switch[open] > summary { background: var(--surface-2); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 176px; display: grid; gap: 2px; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .7); }
.lang-menu a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 8px; color: var(--text-2); font-size: 14px; text-decoration: none; }
.lang-menu a:hover { background: var(--surface-2); color: var(--text); }
.lang-menu a[aria-current="true"] { color: var(--text); background: var(--surface-2); }
.lang-menu small { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.lang-note { margin: 18px auto 0; }
.cart-link svg { width: 18px; height: 18px; }
.cart-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--accent); color: var(--accent-ink); font-size: 12.5px; font-weight: 700; display: inline-grid; place-items: center; }
.cart-count[data-empty="true"] { background: var(--surface-3); color: var(--muted); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; place-items: center; }
.menu-btn svg { width: 20px; height: 20px; }
/* menu sa celé zmestí do riadku až od 1241 px (do 1240 sa lámalo a pri 1100 px pretekalo) – pod tým rozbaľovacie */
@media (max-width: 1240px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 68px; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 10px var(--gutter) 18px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav a { padding: 13px 4px; font-size: 17px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .top[data-open="true"] .nav { display: flex; }
  .menu-btn { display: inline-grid; }
}
@media (max-width: 1080px) { .top-order { display: none; } }

/* ---------- sekcie */
section { padding: 96px 0; }
.section-head { max-width: 760px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }
.section-head h2 + .lead { margin-top: 16px; }
.band { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

/* ---------- úvod (hero) */
.hero { position: relative; padding: 72px 0 0; overflow: hidden; }
.hero-art { position: absolute; left: 50%; top: -120px; width: min(980px, 130vw); aspect-ratio: 1; transform: translateX(-50%); background: url("../img/reaktor.jpg") center / cover no-repeat; opacity: .5; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side, #000 30%, transparent 100%); }
.hero-inner { position: relative; text-align: center; max-width: 900px; margin: 0 auto; }
.hero h1 { margin-bottom: 22px; text-wrap: balance; }
.hero .lead { margin: 0 auto 32px; max-width: 700px; text-wrap: pretty; }
.hero .actions { justify-content: center; }
.hero-note { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.hero-note b { color: var(--text-2); font-weight: 600; }
.hero-shot { position: relative; margin: 64px auto -1px; max-width: 1160px; }
.hero-shot::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }

/* ---------- okno Windows okolo snímky */
.win { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0b0c0e; box-shadow: 0 30px 80px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .02); }
.win-bar { display: flex; align-items: center; height: 34px; padding-left: 12px; background: #131417; border-bottom: 1px solid var(--line-soft); font-size: 12px; color: var(--muted); }
.win-bar img { width: 16px; height: 16px; border-radius: 4px; margin-right: 8px; }
.win-ctrl { margin-left: auto; display: flex; height: 100%; }
.win-ctrl i { width: 44px; display: grid; place-items: center; }
.win-ctrl i::before { content: ""; display: block; }
.win-ctrl i:nth-child(1)::before { width: 10px; height: 1px; background: var(--muted); }
.win-ctrl i:nth-child(2)::before { width: 9px; height: 9px; border: 1px solid var(--muted); }
.win-ctrl i:nth-child(3)::before { width: 12px; height: 12px; background: linear-gradient(45deg, transparent 46%, var(--muted) 46%, var(--muted) 54%, transparent 54%), linear-gradient(-45deg, transparent 46%, var(--muted) 46%, var(--muted) 54%, transparent 54%); }
.win > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* ---------- čo nahradí */
.replace { padding: 40px 0 8px; }
.replace p { text-align: center; color: var(--muted); font-size: 14px; letter-spacing: .04em; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--text-2); font-size: 14.5px; background: var(--surface); }
.chip svg { width: 15px; height: 15px; color: var(--accent); }

/* ---------- funkcia: text + snímka */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 120px; }
.feature.flip { grid-template-columns: 7fr 5fr; }
.feature.flip .feature-text { order: 2; }
.feature-text h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 18px; }
.feature-text > p { color: var(--text-2); font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238ab8f5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; border: 1px solid var(--accent-line); }
@media (max-width: 900px) { .feature, .feature.flip { grid-template-columns: 1fr; gap: 32px; } .feature.flip .feature-text { order: 0; } .feature + .feature { margin-top: 80px; } }

/* ---------- mriežky kariet */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-2); margin: 0; font-size: 15.5px; }
.card .icon { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); margin-bottom: 18px; }
.card .icon svg { width: 21px; height: 21px; }

/* ---------- kroky */
.steps { counter-reset: krok; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { position: relative; padding: 26px; border-top: 2px solid var(--line-strong); }
.step::before { counter-increment: krok; content: counter(krok, decimal-leading-zero); display: block; font: 600 14px/1 var(--mono); color: var(--accent); margin-bottom: 18px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 15px; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- cenník */
.billing { display: inline-flex; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); margin-bottom: 36px; }
.billing button { border: 0; background: transparent; color: var(--text-2); font: 600 14.5px/1 var(--font); padding: 11px 16px; border-radius: 9px; cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--surface-3); color: var(--text); }
.billing .save { color: var(--ok); font-weight: 600; margin-left: 6px; }
.install { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; padding: 34px; border-radius: var(--r-l); border: 1px solid var(--accent-line); background: linear-gradient(180deg, var(--accent-soft), var(--surface) 70%); margin-bottom: 20px; }
.install h3 { font-size: 24px; margin-bottom: 10px; }
.install .price { margin: 18px 0 6px; }
.install ul { margin: 0; }
@media (max-width: 860px) { .install { grid-template-columns: 1fr; gap: 20px; padding: 26px; } }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--surface); }
.plan.hot { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.plan-tag { position: absolute; top: -12px; left: 26px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.plan h3 { font-size: 22px; }
.plan .for { color: var(--muted); font-size: 14.5px; margin: 8px 0 20px; min-height: 46px; }
.price { display: flex; align-items: baseline; gap: 6px; font-family: var(--display); }
.price b { font-size: 46px; font-weight: 650; letter-spacing: -.03em; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: 15px; font-family: var(--font); }
.price-sub { color: var(--muted); font-size: 13.5px; min-height: 21px; margin: 6px 0 22px; }
.plan .ticks { margin: 0 0 26px; flex: 1; align-content: start; }
.plan .ticks li { font-size: 15px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-l); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--text-2); }
.compare thead th { font: 650 16px/1.2 var(--display); color: var(--text); background: var(--surface); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--ok); display: inline-flex; } .compare .yes svg { width: 20px; height: 20px; stroke-width: 2.4; } .compare .no { color: var(--dim); }
.compare td.hot, .compare th.hot { background: rgba(138, 184, 245, .05); }

/* ---------- obchod */
.shop-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.shop-tabs button { border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font: 600 14.5px/1 var(--font); padding: 11px 16px; border-radius: 999px; cursor: pointer; }
.shop-tabs button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.shop-group + .shop-group { margin-top: 56px; }
.shop-group h2 { font-size: 26px; margin-bottom: 20px; }
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 1000px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .products { grid-template-columns: 1fr; } }
.product { display: flex; flex-direction: column; padding: 24px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--surface); transition: border-color .15s; }
.product:hover { border-color: var(--line-strong); }
.product-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 14px; }
.product .icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); }
.product .icon svg { width: 22px; height: 22px; }
.product h3 { font-size: 18px; line-height: 1.25; }
.product h3 a { color: var(--text); }
.product p { color: var(--text-2); font-size: 15px; flex: 1; margin: 0 0 18px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.product-price { font: 650 22px/1.1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.product-price small { display: block; font: 500 12.5px/1.3 var(--font); color: var(--muted); letter-spacing: 0; margin-top: 3px; }
.product-price s { color: var(--dim); font-size: 15px; font-weight: 500; margin-left: 6px; }
.badge { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 650; background: var(--ok-soft); color: var(--ok); border: 1px solid #24432f; }
.badge.blue { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-line); }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: #4a3c17; }

/* ---------- detail produktu */
.detail { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; gap: 28px; } }
.detail h1 { font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 18px; }
.buy { position: sticky; top: 92px; padding: 28px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--surface); }
.buy .price { margin-bottom: 4px; }
.buy label { display: block; margin: 18px 0 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.buy .note { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--muted); }

/* ---------- formuláre */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.field .hint { font-size: 13px; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-2); color: var(--text); font: 15.5px/1.4 var(--font); }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(138, 184, 245, .18); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--bad); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239499a2' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.row3 { display: grid; grid-template-columns: 2fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .row2, .row3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; font-size: 14.5px; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.seg { display: inline-flex; padding: 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-2); margin-bottom: 18px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 10px 16px; border-radius: 9px; font-weight: 600; font-size: 14.5px; color: var(--text-2); }
.seg input:checked + span { background: var(--surface-3); color: var(--text); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); }
.error-box { padding: 14px 16px; border-radius: 12px; border: 1px solid #5a2a2e; background: var(--bad-soft); color: #ffc9cc; font-size: 15px; margin-bottom: 16px; }
.info-box { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--accent-line); background: var(--accent-soft); color: var(--text-2); font-size: 15px; }
.ok-box { padding: 14px 16px; border-radius: 12px; border: 1px solid #24432f; background: var(--ok-soft); color: #c8f1d6; font-size: 15px; }

/* ---------- košík */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 960px) { .cart-layout { grid-template-columns: 1fr; } }
.panel { padding: 28px; border-radius: var(--r-l); border: 1px solid var(--line); background: var(--surface); }
.panel + .panel { margin-top: 20px; }
.panel h2 { font-size: 22px; margin-bottom: 18px; }
.cart-item { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: start; padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.cart-item:first-child { padding-top: 0; }
.cart-item:last-child { border-bottom: 0; padding-bottom: 0; }
.cart-item .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--accent); }
.cart-item .icon svg { width: 20px; height: 20px; }
.cart-item h3 { font-size: 16.5px; margin-bottom: 4px; }
.cart-item .sub { font-size: 13.5px; color: var(--muted); }
.cart-item .controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.cart-item select { min-height: 38px; width: auto; padding: 6px 36px 6px 12px; font-size: 14px; }
.cart-item .item-price { text-align: right; font: 650 18px/1.2 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cart-item .item-price small { display: block; font: 500 12.5px/1.3 var(--font); color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden; }
.qty button { width: 34px; height: 36px; border: 0; background: var(--bg-2); color: var(--text); font-size: 18px; cursor: pointer; }
.qty button:hover { background: var(--surface-3); }
.qty output { min-width: 34px; text-align: center; font-weight: 650; font-variant-numeric: tabular-nums; }
.link-btn { border: 0; background: none; padding: 0; color: var(--muted); font: 500 13.5px/1 var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--bad); }
.locked { font-size: 12.5px; color: var(--muted); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--text-2); font-size: 15px; }
.sum-row b { font-variant-numeric: tabular-nums; color: var(--text); font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 4px; margin-top: 8px; border-top: 1px solid var(--line); }
.sum-total span { font-weight: 650; }
.sum-total b { font: 650 30px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 56px 20px; }
.empty .icon { margin: 0 auto 18px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); }
.empty .icon svg { width: 26px; height: 26px; }

/* ---------- objednávka a platba */
.pay { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
@media (max-width: 640px) { .pay { grid-template-columns: 1fr; } }
.qr { width: 220px; padding: 12px; border-radius: 14px; background: #fff; }
.qr svg { display: block; width: 100%; height: auto; }
.qr-cap { text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 10px; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0; font-size: 15.5px; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; word-break: break-word; }
.copy { margin-left: 8px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text-2); border-radius: 7px; font: 600 12px/1 var(--font); padding: 5px 8px; cursor: pointer; vertical-align: 2px; }
.copy:hover { color: var(--text); }
.order-lines { width: 100%; border-collapse: collapse; font-size: 15px; }
.order-lines td { padding: 10px 0; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.order-lines td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-lines tr.total td { border-bottom: 0; padding-top: 14px; font-weight: 700; font-size: 18px; }

/* ---------- licencia */
.license-out { margin-top: 24px; }
.state { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-weight: 650; font-size: 14px; }
.state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.state.ok { background: var(--ok-soft); color: var(--ok); }
.state.warn { background: var(--warn-soft); color: var(--warn); }
.state.bad { background: var(--bad-soft); color: var(--bad); }
textarea.key { font-family: var(--mono); font-size: 13px; min-height: 120px; word-break: break-all; }

/* ---------- appky (funkcie) */
.apps-cat + .apps-cat { margin-top: 48px; }
.apps-cat h3 { display: flex; align-items: baseline; gap: 10px; font-size: 22px; margin-bottom: 18px; }
.apps-cat h3 span { font: 600 14px/1 var(--font); color: var(--muted); }
.app-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
@media (max-width: 1000px) { .app-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .app-list { grid-template-columns: 1fr; } }
.app-item { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.app-item b { display: block; font-weight: 650; color: var(--text); font-size: 15.5px; }
.app-item span { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr; } }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 12px; color: var(--text-2); font-size: 15px; }
.gallery figcaption b { color: var(--text); }

/* ---------- otázky */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 600 18px/1.35 var(--display); color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p { color: var(--text-2); margin: 0; padding: 0 0 22px; max-width: 760px; }

/* ---------- výzva na konci */
.cta { position: relative; overflow: hidden; text-align: center; padding: 72px 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }
.cta::before { content: ""; position: absolute; inset: -40% 20% auto; height: 120%; background: url("../img/reaktor.jpg") center / contain no-repeat; opacity: .16; pointer-events: none; }
.cta > * { position: relative; }
.cta h2 { margin-bottom: 16px; }
.cta .lead { margin: 0 auto 30px; }
.cta .actions { justify-content: center; }

/* ---------- právne texty */
.legal { max-width: 820px; }
.legal h1 { font-size: clamp(32px, 4.6vw, 48px); margin-bottom: 12px; }
.legal h2 { font-size: 22px; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--text-2); }
.legal ol, .legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal .box { padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); margin: 18px 0; }
.page-head { padding: 72px 0 40px; }
.page-head h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 18px; }

/* ---------- pätička */
.foot { margin-top: 40px; padding: 64px 0 40px; border-top: 1px solid var(--line-soft); background: var(--bg-2); font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot h4 { font: 700 12.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { color: var(--text-2); }
.foot a:hover { color: var(--text); }
.foot p { color: var(--muted); margin: 14px 0 0; max-width: 320px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-soft); color: var(--dim); font-size: 13.5px; }

/* ---------- oznámenie */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 18px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface-2); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); color: var(--text); font-size: 15px; transition: opacity .2s, transform .2s; pointer-events: none; max-width: calc(100vw - 32px); }
.toast[data-show="true"] { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }

/* ---------- jemný nábeh pri posúvaní (len keď systém nežiada menej pohybu) */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .js-reveal .reveal.in { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .hero-shot { margin-top: 40px; }
  .panel, .card, .plan, .product, .buy { padding: 20px; }
  .cart-item { grid-template-columns: 1fr auto; }
  .cart-item .icon { display: none; }
  .brand-word small { display: none; }
  .cart-link .cart-label { display: none; }
}

/* ---------- tlač objednávky */
@media print {
  .top, .foot, .no-print, .toast { display: none !important; }
  body { background: #fff; color: #000; }
  .panel { border-color: #ccc; background: #fff; }
  h1, h2, h3, strong, dl.kv dd { color: #000; }
  dl.kv dt, .muted { color: #444; }
}

/* Návody (navody.html) – obsah vľavo, kapitoly vpravo */
.navod-wrap { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.navod-toc { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 2px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); max-height: calc(100vh - 120px); overflow-y: auto; }
.navod-toc b { font: 650 13px/1.2 var(--display); color: var(--text); margin-bottom: 8px; }
.navod-toc a { padding: 6px 8px; border-radius: 8px; font-size: 14px; color: var(--text-2); text-decoration: none; }
.navod-toc a:hover { background: var(--surface-2); color: var(--text); }
.navod-text { display: flex; flex-direction: column; gap: 56px; min-width: 0; }
.navod { scroll-margin-top: 96px; }
.navod h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; }
.navod h2 .icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(138, 184, 245, .12); color: var(--accent); flex: 0 0 auto; }
.navod h2 .icon svg { width: 20px; height: 20px; }
.navod p, .navod li { color: var(--text-2); font-size: 16px; line-height: 1.7; }
.navod-kroky, .navod-body { margin: 12px 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.navod-tip { margin-top: 14px; padding: 12px 16px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--surface); font-size: 15px !important; }
.navod code, .navod kbd { font: 14px/1.4 ui-monospace, Consolas, monospace; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); color: var(--text); }
.navod-tab { min-width: 0; font-size: 14px; margin-top: 12px; }
.navod-tab td, .navod-tab th { text-align: left !important; vertical-align: top; }
.navod-funkcie td:not(:first-child), .navod-funkcie th:not(:first-child) { text-align: center !important; width: 110px; }
.navod-funkcie td small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.navod-skupina td { font: 650 12px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted) !important; background: var(--surface); }
.navod-modul { font-size: 12px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-2); white-space: nowrap; }
.navod-viac { margin-top: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.navod-viac summary { cursor: pointer; color: var(--text); font-weight: 600; }
.navod-rezimy { margin: 10px 0 0; font-size: 15px !important; }
.navod-faq { max-width: none; }
@media (max-width: 900px) { .navod-wrap { grid-template-columns: 1fr; gap: 24px; } .navod-toc { position: static; max-height: none; } .navod-funkcie td:not(:first-child), .navod-funkcie th:not(:first-child) { width: 64px; } }
.compare-wrap { overflow-x: auto; }
table.compare.navod-tab { min-width: 0; }
@media (max-width: 600px) { table.compare.navod-tab th, table.compare.navod-tab td { padding: 10px 8px; } .navod-tab td small { font-size: 12px; } }
