/* PC Care – moderní varianta, animace jen v CSS */
:root {
  --bg: #0a1020;
  --bg-2: #0f1830;
  --panel: rgba(255,255,255,.04);
  --stroke: rgba(255,255,255,.09);
  --text: #e8edf7;
  --muted: #94a3bd;
  --navy: #14233d;
  --orange: #ff7a2f;
  --orange-2: #ff9a4f;
  --sun: #ffc83d;
  --green: #4ade80;
  --blue: #60a5fa;
  --radius: 20px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 17px; overflow-x: hidden; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.03em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }

/* ---------- pohyblivé pozadí ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.bg i { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(90px); opacity: .35; animation: float 22s ease-in-out infinite alternate; }
.bg i:nth-child(1) { background: var(--orange); top: -18vmax; right: -12vmax; }
.bg i:nth-child(2) { background: #2b5cff; bottom: -20vmax; left: -16vmax; animation-duration: 28s; opacity: .25; }
.bg i:nth-child(3) { background: var(--sun); top: 40%; left: 45%; width: 24vmax; height: 24vmax; animation-duration: 18s; opacity: .12; }
@keyframes float { to { transform: translate(-6vmax, 8vmax) scale(1.15); } }
.bg::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--stroke) 1px, transparent 1px), linear-gradient(90deg, var(--stroke) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 50% 0%, #000 0, transparent 70%); opacity: .5; }

/* ---------- tlačítka ---------- */
.btn { display: inline-flex; gap: .5em; align-items: center; background: linear-gradient(135deg, var(--orange), #ff5a1f); color: #fff; text-decoration: none; font-weight: 700; padding: .85em 1.6em; border-radius: 999px; box-shadow: 0 8px 30px rgba(255,122,47,.35); transition: transform .2s, box-shadow .2s; }
.btn span { transition: transform .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(255,122,47,.5); }
.btn:hover span { transform: translateX(4px); }
.btn--ghost { background: var(--panel); box-shadow: inset 0 0 0 1px var(--stroke); backdrop-filter: blur(10px); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--orange); }
.btn--small { padding: .5em 1.2em; box-shadow: none; }

/* ---------- hlavička ---------- */
.top { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: rgba(10,16,32,.6); border-bottom: 1px solid var(--stroke); }
.top__in { display: flex; align-items: center; justify-content: space-between; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand__name { font-size: 1.6rem; font-weight: 800; letter-spacing: -.04em; }
.brand__name b { color: var(--orange); }
.nav { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn) { text-decoration: none; color: var(--muted); position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .25s; }
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }

/* ---------- logo-značka (animace) ---------- */
.mark { width: 40px; height: 40px; overflow: visible; }
.mark__pins path { stroke: var(--orange); stroke-width: 4.5; stroke-linecap: round; fill: none; stroke-dasharray: 1 1; stroke-dashoffset: 0; animation: beat 1.6s ease-in-out infinite; }
/* tep srdce: lub-dub, pak klid; začátek = konec, takže žádný skok */
@keyframes beat {
  0%       { stroke-dashoffset: .6; }
  12%      { stroke-dashoffset: 0; }
  24%      { stroke-dashoffset: .35; }
  36%      { stroke-dashoffset: 0; }
  62%, 100% { stroke-dashoffset: .6; }
}
.mark__chip { fill: var(--navy); stroke: rgba(255,255,255,.15); stroke-width: 1; }
.mark__house { fill: none; stroke: #fff; stroke-width: 4.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s .2s ease-out forwards; }
.mark__tick { fill: none; stroke: var(--orange); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s 1.2s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.brand:hover .mark__chip { fill: #1d3156; }

/* ---------- hero ---------- */
.hero { padding: 90px 0 0; }
.hero__in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 40px; align-items: center; }
.hero__text > * { opacity: 0; animation: up .8s cubic-bezier(.2,.7,.2,1) forwards; }
.hero__text > :nth-child(2) { animation-delay: .1s; }
.hero__text > :nth-child(3) { animation-delay: .2s; }
.hero__text > :nth-child(4) { animation-delay: .3s; }
@keyframes up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.pill { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--stroke); font-size: .85rem; color: var(--muted); margin: 0 0 22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.grad { background: linear-gradient(90deg, var(--orange), var(--sun), var(--orange)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 32em; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* orbit s plovoucími štítky */
.orbit { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; margin-inline: auto; display: grid; place-items: center; }
.orbit__ring { position: absolute; inset: 6%; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); animation: spin 40s linear infinite; }
.orbit__ring--2 { inset: 22%; border-style: solid; border-color: rgba(255,122,47,.25); animation-direction: reverse; animation-duration: 25s; }
.orbit__ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 20px var(--orange); }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit__core { width: 42%; aspect-ratio: 1; border-radius: 32px; display: grid; place-items: center; background: radial-gradient(circle, rgba(255,122,47,.25), transparent 70%); animation: breathe 4s ease-in-out infinite; }
.mark--big { width: 100%; height: auto; filter: drop-shadow(0 10px 30px rgba(255,122,47,.35)); }
@keyframes breathe { 50% { transform: scale(1.05); } }
.chip { position: absolute; padding: 8px 14px; border-radius: 12px; background: rgba(15,24,48,.75); border: 1px solid var(--stroke); backdrop-filter: blur(10px); font-size: .9rem; font-weight: 600; white-space: nowrap; animation: bob 6s ease-in-out infinite; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.chip--1 { top: 8%; left: 2%; }
.chip--2 { top: 16%; right: 0; animation-delay: -1.5s; color: var(--sun); }
.chip--3 { bottom: 14%; left: 0; animation-delay: -3s; }
.chip--4 { bottom: 6%; right: 6%; animation-delay: -4.5s; color: var(--green); }
@keyframes bob { 50% { transform: translateY(-12px); } }

/* běžící pás technologií */
.ticker { margin-top: 80px; border-block: 1px solid var(--stroke); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.ticker span { padding: 18px 28px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.ticker span::before { content: "◆"; color: var(--orange); margin-right: 28px; font-size: .7em; vertical-align: middle; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sekce ---------- */
.section { padding: 100px 0; }
.section--panel { background: linear-gradient(180deg, transparent, rgba(255,255,255,.025) 20%, rgba(255,255,255,.025) 80%, transparent); }
.kicker { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--orange); margin: 0 0 14px; }
.kicker--sun { color: var(--sun); }

/* objevení při scrollování (jen moderní prohlížeče, jinak vidět hned) */
@supports (animation-timeline: view()) {
  .reveal { animation: up linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
}

/* ---------- bento služby ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.tile { position: relative; padding: 28px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--stroke); overflow: hidden; transition: transform .3s, border-color .3s; }
.tile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at 0 0, rgba(255,122,47,.18), transparent 50%); opacity: 0; transition: opacity .3s; }
.tile:hover { transform: translateY(-4px); border-color: rgba(255,122,47,.5); }
.tile:hover::before { opacity: 1; }
.tile--wide { grid-column: span 2; }
.tile--full { grid-column: 1 / -1; }
.tile p { color: var(--muted); margin: 0; position: relative; }
.tile h3 { position: relative; }
.tile__ico { display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(255,255,255,.06); font-size: 1.5rem; margin-bottom: 16px; position: relative; transition: transform .3s; }
.tile:hover .tile__ico { transform: rotate(-8deg) scale(1.1); }
.tile--sun { grid-row: span 2; background: linear-gradient(160deg, rgba(255,200,61,.16), rgba(255,122,47,.06) 60%, var(--panel)); border-color: rgba(255,200,61,.3); }
.tile--sun .tile__ico { animation: spin 18s linear infinite; }
.tile--app { background: linear-gradient(160deg, rgba(96,165,250,.14), var(--panel) 60%); border-color: rgba(96,165,250,.3); }
.tile--ai { background: linear-gradient(160deg, rgba(167,139,250,.16), var(--panel) 60%); border-color: rgba(167,139,250,.3); }
.tile--ai .tile__ico { animation: breathe 3s ease-in-out infinite; }
.tile--app:hover .tile__ico { animation: wiggle .5s ease-in-out; }
@keyframes wiggle { 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
.tile__link { position: relative; display: inline-block; margin-top: 16px; color: var(--sun); font-weight: 700; text-decoration: none; }

/* ---------- FV tok energie ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 6px; background: rgba(255,200,61,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 10 3 3 7-7' fill='none' stroke='%23ffc83d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

.flow { margin: 0; padding: 26px; border-radius: 28px; background: rgba(15,24,48,.7); border: 1px solid var(--stroke); box-shadow: 0 30px 80px rgba(0,0,0,.4); backdrop-filter: blur(12px); }
.flow__grid { position: relative; aspect-ratio: 1; display: grid; grid-template: repeat(3, 1fr) / repeat(3, 1fr); }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ln { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 4 10; animation: flowdash 1s linear infinite; }
.ln--a { stroke: var(--sun); }
.ln--b { stroke: var(--blue); }
.ln--c { stroke: var(--green); }
.ln--d { stroke: var(--orange); }
@keyframes flowdash { to { stroke-dashoffset: -14; } }
.node { position: relative; z-index: 1; place-self: center; display: grid; justify-items: center; gap: 2px; width: 86%; padding: 12px 6px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--stroke); text-align: center; }
.node span { font-size: 1.6rem; }
.node b { font-size: 1.1rem; }
.node small { color: var(--muted); font-size: .78rem; }
.node--sun { grid-area: 1 / 2; border-color: rgba(255,200,61,.5); box-shadow: 0 0 30px rgba(255,200,61,.2); animation: glow 3s ease-in-out infinite; }
.node--home { grid-area: 2 / 2; border-color: rgba(255,122,47,.4); }
.node--bat { grid-area: 2 / 1; border-color: rgba(96,165,250,.4); }
.node--grid { grid-area: 2 / 3; border-color: rgba(74,222,128,.4); }
.flow__grid::after { content: "♨️ bojler 55 °C"; grid-area: 3 / 2; place-self: center; z-index: 1; padding: 8px 14px; border-radius: 12px; background: var(--bg-2); border: 1px solid rgba(255,122,47,.4); font-size: .85rem; font-weight: 600; }
@keyframes glow { 50% { box-shadow: 0 0 50px rgba(255,200,61,.45); } }
.bat { display: block; width: 70%; height: 6px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: 4px; }
.bat i { display: block; height: 100%; width: 78%; background: linear-gradient(90deg, var(--blue), #93c5fd); animation: charge 3s ease-in-out infinite alternate; }
@keyframes charge { from { width: 70%; } to { width: 80%; } }
.flow figcaption { text-align: center; color: var(--muted); margin-top: 16px; font-size: .95rem; }
.flow figcaption b { color: var(--text); }

/* ---------- kroky ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { counter-increment: s; color: var(--muted); padding: 24px; border-radius: var(--radius); border: 1px solid var(--stroke); background: var(--panel); }
.steps li::before { content: "0" counter(s); display: block; font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; background: linear-gradient(180deg, var(--orange), transparent); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 8px; }
.steps b { display: block; color: var(--text); margin-bottom: 4px; font-size: 1.1rem; }

/* ---------- ceník ---------- */
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; margin-top: 30px; }
.price { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--stroke); }
.price b { white-space: nowrap; color: var(--orange-2); }

/* ---------- kontakt ---------- */
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 48px; border-radius: 32px; background: linear-gradient(135deg, rgba(255,122,47,.18), rgba(43,92,255,.12)); border: 1px solid var(--stroke); position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent, rgba(255,122,47,.15), transparent 30%); animation: spin 12s linear infinite; z-index: -1; }
.cta__box { padding: 28px; border-radius: 22px; background: rgba(10,16,32,.6); border: 1px solid var(--stroke); }
.cta__name { font-weight: 700; margin: 0 0 6px; }
.cta__big { display: block; font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 800; text-decoration: none; padding: 2px 0; transition: color .2s; }
.cta__big:hover { color: var(--orange); }
.cta__box .muted { margin: 10px 0 0; }

/* ---------- patička ---------- */
.foot { padding: 30px 0; border-top: 1px solid var(--stroke); font-size: .9rem; }
.foot__in { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- responzivita ---------- */
@media (max-width: 960px) {
  .hero__in, .split, .cta { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--sun { grid-row: auto; }
  .tile--full { grid-column: span 2; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .orbit { max-width: 360px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav a:not(.btn) { display: none; }
  .hero { padding-top: 56px; }
  .section { padding: 70px 0; }
  .bento, .steps, .prices { grid-template-columns: 1fr; }
  .tile--wide, .tile--full { grid-column: auto; }
  h2 br { display: none; }
  .price { flex-direction: column; gap: 2px; }
  .cta { padding: 26px; }
  .chip { font-size: .8rem; }
}

/* kdo nechce animace, nemá je */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__text > * { opacity: 1; }
  .mark__house, .mark__tick { stroke-dashoffset: 0; }
}
