/* ============================================================
   WEBIFY PLUS · aditivní vrstva (5. 9. 2026)
   Nic z původního webu nepřepisuje ani neschovává. Jen přidává:
   loader na míru, pás na míru, dekorace mrtvých ploch, švy mezi
   sekcemi, pravou lištu s indexem a hodinami, obrys v patičce.
   Žádné pohyblivé hover efekty na tlačítkách.
   ============================================================ */

/* ---------- 1. LOADER NA MÍRU · planetární intro (warp hvězdy, planeta s prstenci a měsíci, obzor s úsvitem, nápis, čítač) ---------- */
/* Pojistka: kdyby se plus.js nenačetl, clona se sama schová po 6 s (a původní
   inline pojistky v index.html ji dokážou skrýt, protože tu není display !important). */
#bootLoader { animation: plusLdFail .5s ease 6s forwards !important; z-index: 10000 !important; overflow: hidden;
  background: radial-gradient(ellipse 70% 55% at 50% 42%, rgba(138,63,255,.16), transparent 62%), radial-gradient(ellipse 50% 40% at 80% 20%, rgba(63,207,255,.08), transparent 60%), var(--obsidian) !important; }
@keyframes plusLdFail { to { opacity: 0; visibility: hidden; } }
#bootLoader.plus-out { transition: opacity .5s ease .55s; opacity: 0; }
#bootLoader.plus-hide { display: none !important; }
.plus-ld { position: absolute; inset: 0; overflow: hidden; font-family: 'JetBrains Mono', monospace; }
.plus-ld-warp { position: absolute; inset: 0; width: 100%; height: 100%; }
/* obzor planety dole s úsvitem */
.plus-ld-horizon { position: absolute; left: 50%; bottom: -212vw; width: 230vw; height: 230vw; border-radius: 50%; transform: translateX(-50%); background: #030308;
  box-shadow: 0 -1px 0 0 rgba(255,214,170,.85), 0 -10px 34px rgba(255,170,110,.35), 0 -34px 110px rgba(138,63,255,.3), 0 -80px 220px rgba(63,207,255,.14);
  animation: plusHorizon 1.4s cubic-bezier(.2,.9,.3,1) both; }
@keyframes plusHorizon { from { transform: translateX(-50%) translateY(14vw); opacity: 0; } to { transform: translateX(-50%) translateY(0); opacity: 1; } }
.plus-ld-flare { position: absolute; left: 50%; bottom: 17.6vw; width: 42vw; height: 6px; transform: translateX(-50%) scaleX(.2); border-radius: 50%; opacity: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.95), rgba(255,190,130,.7) 30%, rgba(138,63,255,.3) 60%, transparent 75%); filter: blur(2px);
  animation: plusFlare 1.6s cubic-bezier(.2,.9,.3,1) .5s both; }
@keyframes plusFlare { to { transform: translateX(-50%) scaleX(1); opacity: .9; } }
@media (max-width: 860px) { .plus-ld-horizon { bottom: -242vw; width: 260vw; height: 260vw; } .plus-ld-flare { bottom: 17vw; width: 70vw; } }
/* scéna (hvězdy, planeta, prstence částic) kreslí canvas .plus-ld-warp */
.plus-ld-warp { z-index: 1; }
/* nápis, slogan, čítač */
.plus-ld-c { position: absolute; left: 50%; top: 42%; transform: translate(-50%, 176px); text-align: center; white-space: nowrap; transition: opacity .3s ease, transform .3s ease; z-index: 2; }
.plus-ld-logo { display: inline-block; height: 62px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 10px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.08), 0 0 60px rgba(255,170,100,.18);
  clip-path: inset(0 100% 0 0 round 14px); opacity: 0; animation: plusLogo .9s cubic-bezier(.2,.9,.3,1) .55s forwards; }
.plus-ld-logo img { height: 100%; width: auto; display: block; }
@keyframes plusLogo { from { clip-path: inset(0 100% 0 0 round 14px); opacity: 0; transform: translateY(10px); } to { clip-path: inset(0 0 0 0 round 14px); opacity: 1; transform: none; } }
.plus-ld-tag { margin-top: 14px; font-size: 10.5px; letter-spacing: .42em; text-transform: uppercase; color: rgba(232,234,243,.7); overflow: hidden; display: inline-block; white-space: nowrap;
  clip-path: inset(0 100% 0 0); animation: plusTag 1s steps(22) 1.05s forwards; }
@keyframes plusTag { to { clip-path: inset(0 0 0 0); } }
.plus-ld-line { width: min(52vw, 300px); height: 1px; background: rgba(232,234,243,.12); margin: 18px auto 12px; position: relative; overflow: hidden; }
.plus-ld-line i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--cyan-glow), var(--violet-glow), var(--aurora-1)); }
.plus-ld-num { font-size: 11px; letter-spacing: .3em; color: var(--chrome-dim); text-transform: uppercase; }
.plus-ld-num b { color: var(--cyan-glow); font-weight: 500; font-variant-numeric: tabular-nums; }
.plus-ld-hud { position: absolute; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(232,234,243,.42); transition: opacity .3s; z-index: 2; line-height: 1.9; }
.plus-ld-hud b { color: var(--cyan-glow); font-weight: 500; }
.plus-ld-hud.tl { top: 22px; left: 24px; } .plus-ld-hud.tr { top: 22px; right: 24px; text-align: right; }
.plus-ld-hud.bl { bottom: 22px; left: 24px; } .plus-ld-hud.br { bottom: 22px; right: 24px; text-align: right; }
/* odchod: warp, planeta proletí kolem kamery, úsvit vzplane */
#bootLoader.plus-out .plus-ld-flare { transition: transform .6s ease, opacity .6s ease; transform: translateX(-50%) scaleX(4) !important; opacity: 0 !important; }
#bootLoader.plus-out .plus-ld-c, #bootLoader.plus-out .plus-ld-hud { opacity: 0; transform: translate(-50%, 156px); }
#bootLoader.plus-out .plus-ld-hud { transform: none; }
/* hero animace počkají, až intro skončí (zůstávají původní, jen se spustí po odkrytí) */
html.js:not(.plus-ready) #top * { animation-play-state: paused !important; }
@media (max-width: 860px) {
  .plus-ld-c { transform: translate(-50%, 118px); }
  .plus-ld-logo { height: 50px; }
  .plus-ld-hud.tr, .plus-ld-hud.br { display: none; }
}
@media (prefers-reduced-motion: reduce) { #bootLoader { display: none !important; } }

/* ---------- 2. PRAVÁ LIŠTA · index sekce, průběh, hodiny v Praze ---------- */
.plus-rail { position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: rgba(232, 234, 243, .55);
  pointer-events: none; opacity: 0; transition: opacity .6s ease .3s, color .4s; }
html.plus-ready .plus-rail { opacity: 1; }
body.ritual-open .plus-rail, body.menu-open .plus-rail { opacity: 0; transition-delay: 0s; }
.plus-rail .clock { color: rgba(232, 234, 243, .8); }
.plus-rail .clock b { font-weight: 500; color: var(--cyan-glow); font-variant-numeric: tabular-nums; }
.plus-rail .bar { width: 1px; height: 64px; background: rgba(232, 234, 243, .16); position: relative; }
.plus-rail .bar i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--cyan-glow), var(--violet-glow), var(--aurora-1)); }
.plus-rail .n { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: 0; color: var(--chrome); line-height: 1; }
.plus-rail .n small { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .2em; color: rgba(232, 234, 243, .45); margin-left: 6px; font-weight: 400; }
.plus-rail .name { max-width: 170px; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plus-rail.on-light { color: rgba(13, 31, 23, .6); }
.plus-rail.on-light .clock { color: rgba(13, 31, 23, .75); }
.plus-rail.on-light .clock b { color: #1c7a52; }
.plus-rail.on-light .n { color: #0d1f17; }
.plus-rail.on-light .n small { color: rgba(13, 31, 23, .45); }
.plus-rail.on-light .bar { background: rgba(13, 31, 23, .18); }
@media (max-width: 1200px) { .plus-rail { display: none; } }

/* ---------- 3. DEKORACE SEKCÍ · šev, vodicí linky, rohové značky, tečky, obrysové číslo ---------- */
.plus-host { isolation: isolate; }
.plus-deco { position: absolute; inset: 0; pointer-events: none; z-index: -1; overflow: hidden; }
.plus-seam { position: absolute; top: -1px; left: 50%; transform: translateX(-50%); width: 160px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-glow), var(--violet-glow), var(--aurora-1), transparent); opacity: .8; }
.plus-seam::after { content: ""; position: absolute; left: 50%; top: -2px; width: 5px; height: 5px; margin-left: -2.5px; background: var(--violet-glow); transform: rotate(45deg); box-shadow: 0 0 10px var(--violet-glow); }
.plus-guide { position: absolute; top: 0; bottom: 0; width: 1px; display: none;
  background: linear-gradient(180deg, transparent, rgba(232, 234, 243, .09) 15%, rgba(232, 234, 243, .09) 85%, transparent); }
.plus-guide.l { left: calc(50% - 664px); }
.plus-guide.r { right: calc(50% - 664px); }
@media (min-width: 1440px) { .plus-guide { display: block; } }
.plus-dots { position: absolute; inset: 0; opacity: .7;
  background-image: radial-gradient(rgba(232, 234, 243, .085) 1px, transparent 1px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 15%, transparent 75%); }
.plus-tick { position: absolute; width: 12px; height: 12px; opacity: .26; }
.plus-tick::before, .plus-tick::after { content: ""; position: absolute; background: var(--chrome); }
.plus-tick::before { left: 0; top: 5.5px; width: 12px; height: 1px; }
.plus-tick::after { left: 5.5px; top: 0; width: 1px; height: 12px; }
.plus-tick.tl { left: 20px; top: 18px; }
.plus-tick.tr { right: 20px; top: 18px; }
.plus-tick.bl { left: 20px; bottom: 18px; }
.plus-tick.br { right: 20px; bottom: 18px; }
.plus-idx { position: absolute; right: clamp(12px, 2.5vw, 40px); top: clamp(8px, 1.6vw, 22px); font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(80px, 13vw, 210px); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(232, 234, 243, .075);
  opacity: 0; transform: translateY(14px); transition: opacity 1s ease, transform 1.2s cubic-bezier(.2, .9, .3, 1); }
.plus-deco.in .plus-idx { opacity: 1; transform: none; }
.lg-wrap .plus-idx { -webkit-text-stroke: 1px rgba(13, 31, 23, .1); }
.lg-wrap .plus-tick::before, .lg-wrap .plus-tick::after { background: #0d1f17; }
.lg-wrap .plus-guide { background: linear-gradient(180deg, transparent, rgba(13, 31, 23, .1) 15%, rgba(13, 31, 23, .1) 85%, transparent); }
@media (max-width: 860px) {
  .plus-idx { font-size: clamp(64px, 22vw, 110px); right: 10px; top: 6px; -webkit-text-stroke: 1px rgba(232, 234, 243, .06); }
  .plus-tick, .plus-dots { display: none; }
  .plus-seam { width: 110px; }
}

/* ---------- 4. PÁS NA MÍRU · co stavím + sliby, dva řádky protisměrně ---------- */
.plus-band { position: relative; overflow: hidden; background: var(--obsidian-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); z-index: 3; }
.plus-band::before, .plus-band::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.plus-band::before { left: 0; background: linear-gradient(90deg, var(--obsidian-2), transparent); }
.plus-band::after { right: 0; background: linear-gradient(-90deg, var(--obsidian-2), transparent); }
.plus-band-row { display: flex; white-space: nowrap; width: max-content; will-change: transform; transform: translate3d(0, 0, 0); }
.plus-band-row.a { padding: 22px 0; animation: plusMq 48s linear infinite; }
.plus-band-row.b { padding: 15px 0; border-top: 1px solid var(--border); animation: plusMq 64s linear infinite reverse; }
@keyframes plusMq { to { transform: translate3d(-50%, 0, 0); } }
@media (hover: hover) and (pointer: fine) { .plus-band:hover .plus-band-row { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) { .plus-band-row { animation: none; } }
.plus-band .it { display: inline-flex; align-items: center; gap: 26px; padding: 0 26px; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--chrome); }
.plus-band .it::after { content: ""; width: 6px; height: 6px; flex: 0 0 auto; background: linear-gradient(135deg, var(--cyan-glow), var(--violet-glow), var(--aurora-1)); transform: rotate(45deg); }
.plus-band-row.b .it { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 24px; letter-spacing: 0; text-transform: none; color: var(--chrome-dim); }
.plus-band-row.b .it::after { width: 4px; height: 4px; border-radius: 50%; background: rgba(232, 234, 243, .35); transform: none; }
@media (max-width: 600px) { .plus-band .it { font-size: 11px; padding: 0 18px; gap: 18px; } .plus-band-row.b .it { font-size: 20px; } }

/* ---------- 5. PATIČKA · obrysový nápis v prázdné ploše ---------- */
footer.footer { position: relative; overflow: hidden; }
footer.footer .footer-inner, footer.footer .footer-bottom { position: relative; z-index: 1; }
.plus-foot-word { position: absolute; left: 50%; bottom: -.12em; transform: translateX(-50%); z-index: 0; font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(110px, 21vw, 330px); line-height: 1; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(232, 234, 243, .06);
  pointer-events: none; user-select: none; white-space: nowrap; }
@media (max-width: 860px) { .plus-foot-word { bottom: 110px; font-size: 28vw; } }

/* ---------- 6. LEVÉ PRAVÍTKO · rysky sekcí, průběh, aktivní ryska se jménem ---------- */
.plus-ruler { position: fixed; left: 24px; top: 50%; transform: translateY(-50%); height: 58vh; width: 1px; background: rgba(232, 234, 243, .14); z-index: 90; pointer-events: none;
  opacity: 0; transition: opacity .6s ease .3s; }
html.plus-ready .plus-ruler { opacity: 1; }
body.ritual-open .plus-ruler, body.menu-open .plus-ruler { opacity: 0; transition-delay: 0s; }
.plus-ruler .fill { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--cyan-glow), var(--violet-glow), var(--aurora-1)); }
.plus-ruler .tk { position: absolute; left: -3px; width: 7px; height: 1px; background: rgba(232, 234, 243, .35); transition: background .3s, width .3s, left .3s, box-shadow .3s; }
.plus-ruler .tk.on { background: var(--cyan-glow); width: 13px; left: -6px; box-shadow: 0 0 8px var(--cyan-glow); }
.plus-ruler .tk i { position: absolute; left: 18px; top: -6px; font-family: 'JetBrains Mono', monospace; font-style: normal; font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(232, 234, 243, .38); white-space: nowrap; opacity: 0; transition: opacity .3s, color .3s; }
.plus-ruler .tk i b { font-weight: 500; color: var(--chrome); margin-right: 8px; }
.plus-ruler .tk.on i { opacity: 1; }
.plus-ruler.on-light { background: rgba(13, 31, 23, .18); }
.plus-ruler.on-light .tk { background: rgba(13, 31, 23, .35); }
.plus-ruler.on-light .tk.on { background: #1c7a52; box-shadow: none; }
.plus-ruler.on-light .tk i { color: rgba(13, 31, 23, .55); }
.plus-ruler.on-light .tk i b { color: #0d1f17; }
@media (max-width: 1280px) { .plus-ruler { display: none; } }

/* ---------- 7. UZÁVĚRY SEKCÍ · mono popisek vlevo dole, krátká gradientní linka vpravo dole ---------- */
.plus-cap { position: absolute; left: clamp(20px, 3vw, 48px); bottom: 22px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(232, 234, 243, .32); white-space: nowrap; }
.plus-cap b { font-weight: 500; color: rgba(232, 234, 243, .6); }
.plus-capr { position: absolute; right: clamp(20px, 3vw, 48px); bottom: 27px; width: 72px; height: 1px; background: linear-gradient(90deg, transparent, var(--violet-glow), var(--cyan-glow)); opacity: .6; }
.lg-wrap .plus-cap { color: rgba(13, 31, 23, .5); }
.lg-wrap .plus-cap b { color: #0d1f17; }
.lg-wrap .plus-capr { background: linear-gradient(90deg, transparent, #1c7a52, #57e6a8); }
@media (max-width: 860px) { .plus-cap, .plus-capr { display: none; } }

/* šev mezi sekcemi dýchá: světlo přejíždí po lince */
.plus-seam { background-size: 200% 100%; animation: plusSeamSlide 7s linear infinite; }
@keyframes plusSeamSlide { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .plus-seam { animation: none; } }

/* ---------- 8. MODEL SYSTÉMU · oběžné dráhy kolem nadpisu v sekci „systém za webem" ---------- */
.plus-orbit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0; transition: opacity 1.2s ease; }
.plus-orbit.on { opacity: 1; }
.cta-banner > .cta-inner { position: relative; z-index: 1; }
.plus-orbit-cap { position: absolute; right: clamp(20px, 3vw, 48px); top: 26px; z-index: 1; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(232, 234, 243, .38); text-align: right; line-height: 1.8; pointer-events: none; }
.plus-orbit-cap b { color: var(--cyan-glow); font-weight: 500; }
@media (max-width: 860px) { .plus-orbit-cap { right: 14px; top: 14px; font-size: 8.5px; letter-spacing: .16em; line-height: 1.5; text-align: right; } }

/* ---------- 9. DROBNÉ ČÍSLOVÁNÍ · metriky a otázky (jen dekorace, text se nemění) ---------- */
.metrics-inner { counter-reset: plusMetric; }
.metric { position: relative; }
.metric::before { counter-increment: plusMetric; content: "0" counter(plusMetric); position: absolute; left: 50%; transform: translateX(-50%); top: -6px;
  font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: .3em; color: rgba(232, 234, 243, .3); }
@media (max-width: 860px) { .metric::before { display: none; } }
.faq-list { counter-reset: plusFaq; }
.faq-item { counter-increment: plusFaq; }
@media (min-width: 1100px) {
  .faq-item { position: relative; }
  .faq-item::before { content: "0" counter(plusFaq); position: absolute; left: -44px; top: 22px; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: .2em; color: rgba(232, 234, 243, .28); }
  .faq-item:nth-child(n+10)::before { content: counter(plusFaq); }
}

/* ---------- 10. KLIDNÁ TLAČÍTKA · dvě CTA, kterým zůstal poskok při hoveru ---------- */
.kap-cta:hover, .chal-cta:hover { transform: none !important; }

/* ---------- 11. ČÁSTICE V KAŽDÉ SEKCI · hvězdný prach, souhvězdí, komety ---------- */
.plus-dust { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s ease; }
.plus-deco.in .plus-dust { opacity: 1; }

/* ---------- 12. LIŠTA A PRAVÍTKO · na užších monitorech jen rysky a číslo, ať nic nepřekrývá obsah ---------- */
@media (max-width: 1599px) {
  .plus-rail .clock, .plus-rail .name, .plus-rail .n small { display: none; }
  .plus-rail { right: 18px; gap: 8px; }
  .plus-ruler .tk i { display: none; }
}
