/* ==========================================================
   Visual Arts – styles.css
   ========================================================== */
:root {
  --bg: #0a0a0f;
  --bg-2: #12121a;
  --surface: rgba(255, 255, 255, .04);
  --border: rgba(255, 255, 255, .09);
  --text: #f2f2f5;
  --muted: #9a9aab;
  --lime: #c8ff3d;
  --violet: #7c5cff;
  --pink: #ff4fa3;
  --grad: linear-gradient(100deg, var(--lime) 0%, #5cf2c8 33%, var(--violet) 66%, var(--pink) 100%);
  /* plynulá smyčka – začíná i končí stejnou barvou */
  --grad-loop: linear-gradient(100deg, var(--lime) 0%, #5cf2c8 25%, var(--violet) 50%, var(--pink) 75%, var(--lime) 100%);
  --glow: 0 0 0 1px rgba(200, 255, 61, .25), 0 20px 60px -20px rgba(124, 92, 255, .55);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--lime); color: var(--bg); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 1rem; z-index: 100; background: var(--lime); color: var(--bg); padding: .6rem 1rem; border-radius: 10px; font-weight: 700; }
.skip-link:focus { left: 1rem; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 1rem; }
h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); font-weight: 800; max-width: 18ch; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1rem; }
.grad { background: var(--grad-loop); background-size: 200% 100%; background-repeat: repeat-x; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { from { background-position: 0% 50%; } to { background-position: -200% 50%; } }

/* ---------- Pozadí ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; width: 46vmax; height: 46vmax; border-radius: 50%; filter: blur(90px); opacity: .35; will-change: transform; }
.b1 { background: var(--violet); top: -18vmax; left: -12vmax; animation: float1 22s ease-in-out infinite alternate; }
.b2 { background: var(--lime); top: 30vh; right: -20vmax; opacity: .18; animation: float2 26s ease-in-out infinite alternate; }
.b3 { background: var(--pink); bottom: -24vmax; left: 25vw; opacity: .22; animation: float3 30s ease-in-out infinite alternate; }
@keyframes float1 { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes float2 { to { transform: translate(-22vw, -12vh) scale(.9); } }
@keyframes float3 { to { transform: translate(-14vw, -26vh) scale(1.2); } }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
  opacity: .5;
}
.noise { position: absolute; inset: -50%; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(4) infinite; }
@keyframes grain { 50% { transform: translate(-3%, 2%); } }

/* ---------- Kurzor & progress ---------- */
.cursor { position: fixed; top: 0; left: 0; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(200, 255, 61, .7); border-radius: 50%; pointer-events: none; z-index: 90; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background .3s; mix-blend-mode: difference; opacity: 0; }
.cursor span { position: absolute; inset: 50%; width: 5px; height: 5px; margin: -2.5px; background: var(--lime); border-radius: 50%; }
.cursor.hover { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(200, 255, 61, .15); }
@media (hover: hover) and (pointer: fine) { .cursor.on { opacity: 1; } }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); z-index: 80; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 1rem 0; transition: background .4s, padding .4s, border-color .4s; border-bottom: 1px solid transparent; }
.site-header.scrolled { padding: .6rem 0; border-color: var(--border); }
/* Rozmazané pozadí je na pseudo-prvku – kdyby bylo přímo na hlavičce,
   mobilní menu (position: fixed) by se smrsklo jen na výšku hlavičky. */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 10, 15, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.site-header.scrolled::before { opacity: 1; }
.nav { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.logo-mark { fill: var(--lime); transition: transform .6s var(--ease), filter .4s; }
.logo:hover .logo-mark { transform: scale(1.06); filter: drop-shadow(0 0 12px rgba(200, 255, 61, .55)); }
.site-header.scrolled .logo-mark { width: 44px; height: 44px; }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; font-weight: 600; font-size: .95rem; }
.nav-links a:not(.btn) { position: relative; color: var(--muted); transition: color .3s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-links a:not(.btn):hover, .nav-links a.active { color: var(--text); }
.nav-links a:not(.btn):hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.burger { display: none; width: 44px; height: 44px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); transition: transform .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Tlačítka ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: 1rem 1.6rem; border-radius: 999px; background: var(--lime); color: var(--bg); font-weight: 700; border: 0; cursor: pointer; font: inherit; font-weight: 700; position: relative; overflow: hidden; isolation: isolate; transition: transform .3s var(--ease), box-shadow .3s; will-change: transform; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--grad); z-index: -1; opacity: 0; transition: opacity .4s; }
.btn:hover { box-shadow: 0 10px 40px -10px rgba(200, 255, 61, .6); }
.btn:hover::before { opacity: 1; }
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost::before { background: var(--surface); }
.btn-sm { padding: .6rem 1.15rem; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 8rem 0 5rem; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; align-self: flex-start; padding: .45rem 1rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: .9rem; font-weight: 600; backdrop-filter: blur(8px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(200, 255, 61, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(200, 255, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 255, 61, 0); } }
.hero-title { font-size: clamp(3rem, 10.5vw, 8.5rem); font-weight: 800; line-height: 1; margin: 1.6rem 0 1.8rem; letter-spacing: -.035em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .word { display: inline-block; transform: translateY(110%) rotate(4deg); opacity: 0; transition: transform 1.1s var(--ease), opacity 1.1s var(--ease); }
.loaded .hero-title .word { transform: none; opacity: 1; }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 58ch; }
.hero-lead strong { color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1rem 0 2.2rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { padding: .4rem .9rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-size: .85rem; font-weight: 600; color: var(--muted); }
.chip-shoptet { color: var(--bg); background: var(--lime); border-color: var(--lime); }
.scroll-hint { position: absolute; bottom: 2rem; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--border); border-radius: 20px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--lime); animation: scroll 1.8s var(--ease) infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; width: calc(100% + 4rem); border-block: 1px solid var(--border); padding: 1.4rem 0; background: rgba(255, 255, 255, .015); transform: rotate(-1.5deg); margin: 2rem -2rem; }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 32s linear infinite; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800; white-space: nowrap; }
.marquee-track span:nth-child(4n+1) { -webkit-text-stroke: 1.5px var(--text); color: transparent; }
.marquee-track i { color: var(--lime); font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sekce ---------- */
.section { padding: clamp(5rem, 12vw, 9rem) 0; }
.section-head { margin-bottom: 3.5rem; }
.kicker { font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 1.1rem; }
.lead { color: var(--muted); font-size: 1.15rem; max-width: 52ch; }

/* Karty služeb */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.card { grid-column: span 3; position: relative; padding: 2rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transform-style: preserve-3d; transition: border-color .4s, transform .5s var(--ease); }
.card:nth-child(1), .card:nth-child(2) { grid-column: span 3; }
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 50%), rgba(200, 255, 61, .12), transparent 40%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { border-color: rgba(200, 255, 61, .35); }
.card:hover::before { opacity: 1; }
.card p { color: var(--muted); }
.card-ico { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; background: rgba(200, 255, 61, .1); margin-bottom: 1.5rem; }
.card-ico svg { width: 26px; height: 26px; fill: none; stroke: var(--lime); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-feature { background: linear-gradient(140deg, rgba(124, 92, 255, .28), rgba(200, 255, 61, .08)); border-color: rgba(124, 92, 255, .45); }
.card-feature .card-ico { background: var(--lime); }
.card-feature .card-ico svg { stroke: var(--bg); }
.tag { position: absolute; top: 2rem; right: 2rem; padding: .3rem .8rem; border-radius: 999px; background: var(--lime); color: var(--bg); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.ticks li { font-size: .82rem; font-weight: 600; padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--border); color: var(--text); }
.link-arrow { display: inline-flex; gap: .4rem; font-weight: 700; color: var(--lime); margin-top: .5rem; }
.link-arrow span { transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(5px); }

/* Shoptet */
.shoptet { background: linear-gradient(180deg, transparent, rgba(124, 92, 255, .08) 30%, rgba(124, 92, 255, .08) 70%, transparent); }
.shoptet-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.feature-list li { display: grid; gap: .2rem; padding: 1rem 1.2rem 1rem 3.2rem; border-radius: 16px; border: 1px solid var(--border); background: var(--surface); position: relative; transition: transform .4s var(--ease), border-color .4s; }
.feature-list li::before { content: "✓"; position: absolute; left: 1.1rem; top: 1rem; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--bg); font-weight: 800; font-size: .8rem; }
.feature-list li:hover { transform: translateX(6px); border-color: rgba(200, 255, 61, .35); }
.feature-list span { color: var(--muted); font-size: .95rem; }

.mock { position: relative; border-radius: 20px; border: 1px solid var(--border); background: var(--bg-2); box-shadow: var(--glow); animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(-.6deg); } }
.mock-bar { display: flex; align-items: center; gap: .45rem; padding: .85rem 1rem; border-bottom: 1px solid var(--border); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; }
.mock-bar i:nth-child(3) { background: #28c840; }
.mock-bar span { margin-left: .8rem; padding: .2rem .8rem; border-radius: 8px; background: var(--surface); color: var(--muted); font-size: .78rem; }
.mock-body { padding: 1.4rem; position: relative; }
.mock-hero { padding: 1.4rem; border-radius: 14px; background: linear-gradient(120deg, rgba(124, 92, 255, .4), rgba(255, 79, 163, .25)); margin-bottom: 1rem; }
.sk { height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .14); margin-bottom: .55rem; position: relative; overflow: hidden; }
.sk::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .25), transparent); transform: translateX(-100%); animation: shimmer 2.4s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk.accent { background: rgba(200, 255, 61, .5); }
.w40 { width: 40%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
.mock-btn { display: inline-block; margin-top: .4rem; padding: .45rem .9rem; border-radius: 999px; background: var(--lime); color: var(--bg); font-size: .75rem; font-weight: 800; animation: press 3.5s infinite; }
@keyframes press { 0%, 80%, 100% { transform: scale(1); } 85% { transform: scale(.92); } }
.mock-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.mp { padding: .6rem; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.mp-img { aspect-ratio: 1; border-radius: 8px; margin-bottom: .6rem; background: linear-gradient(135deg, rgba(200, 255, 61, .25), rgba(124, 92, 255, .3)); }
.mp:nth-child(2) .mp-img { background: linear-gradient(135deg, rgba(255, 79, 163, .3), rgba(124, 92, 255, .3)); }
.mp:nth-child(3) .mp-img { background: linear-gradient(135deg, rgba(92, 242, 200, .3), rgba(200, 255, 61, .2)); }
.mock-toast { position: absolute; right: 1rem; bottom: 1rem; padding: .55rem .9rem; border-radius: 12px; background: var(--lime); color: var(--bg); font-weight: 800; font-size: .8rem; box-shadow: 0 10px 30px -10px rgba(200, 255, 61, .8); animation: toast 3.5s var(--ease) infinite; }
@keyframes toast { 0%, 84% { opacity: 0; transform: translateY(10px) scale(.9); } 88%, 98% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.mock-code { position: absolute; left: -2.5rem; bottom: -2.5rem; margin: 0; padding: 1rem 1.2rem; border-radius: 14px; background: rgba(10, 10, 15, .92); border: 1px solid var(--border); font: 500 .8rem/1.6 ui-monospace, "SFMono-Regular", Menlo, monospace; backdrop-filter: blur(10px); }
.c-k { color: var(--pink); } .c-p { color: #5cf2c8; } .c-v { color: var(--lime); }

/* Čísla */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; padding-top: 3rem; }
.stat { padding: 1.8rem; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.stat b { display: block; white-space: nowrap; font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; line-height: 1; margin-bottom: .5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* Reference */
.ref-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.ref-count { color: var(--muted); max-width: 26ch; margin: 0; }
.ref-count b { display: block; font-family: var(--font-display); font-size: 3rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.refs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.ref.hidden-ref { display: none; }
.refs.all .ref.hidden-ref { display: block; animation: fadeIn .6s var(--ease); }
.ref-card { display: block; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); overflow: hidden; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.ref-card:hover { transform: translateY(-8px); border-color: rgba(200, 255, 61, .4); box-shadow: 0 30px 60px -30px rgba(124, 92, 255, .7); }
.ref-thumb { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, rgba(124, 92, 255, .45), rgba(255, 79, 163, .25) 60%, rgba(200, 255, 61, .2)); }
.ref-thumb::before { content: attr(data-initial); position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 5rem; font-weight: 800; color: rgba(255, 255, 255, .18); }
.ref-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; padding-top: 26px; background: var(--bg-2); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.ref-thumb img { opacity: 0; color: transparent; }
.ref-thumb img.ok { opacity: 1; }
.ref-thumb img { transition: opacity .6s, transform 1.2s var(--ease), filter .6s; }
.ref-card:hover .ref-thumb img { transform: scale(1.06); filter: saturate(1.1); }
.ref-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 2; height: 26px; display: flex; align-items: center; gap: 5px; padding: 0 10px; background: rgba(10, 10, 15, .9); border-bottom: 1px solid var(--border); }
.ref-bar i { width: 7px; height: 7px; border-radius: 50%; background: #ff5f57; }
.ref-bar i:nth-child(2) { background: #febc2e; }
.ref-bar i:nth-child(3) { background: #28c840; }
.ref-meta { position: relative; display: grid; gap: .15rem; padding: 1.1rem 3.2rem 1.2rem 1.3rem; }
.ref-meta strong { font-family: var(--font-display); font-size: 1.15rem; }
.ref-meta span { color: var(--muted); font-size: .88rem; }
.ref-meta em { position: absolute; right: 1.2rem; top: 50%; width: 34px; height: 34px; margin-top: -17px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border); font-style: normal; color: var(--lime); transition: background .4s, color .4s, transform .5s var(--ease); }
.ref-card:hover .ref-meta em { background: var(--lime); color: var(--bg); transform: rotate(45deg); }
.refs-plus { text-align: center; margin: 3rem auto 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--muted); max-width: 40ch; }
.refs-more { display: flex; justify-content: center; margin-top: 2.5rem; }
.refs-more .btn span { transition: transform .4s var(--ease); }
.refs-more .btn[aria-expanded="true"] span { transform: rotate(180deg); }

/* Proces */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 2.1rem; left: 2rem; right: 2rem; height: 1px; background: linear-gradient(90deg, var(--lime), var(--violet), transparent); }
.step { position: relative; padding-top: 4.5rem; }
.step .num { position: absolute; top: 0; left: 0; width: 4.2rem; height: 4.2rem; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); font-family: var(--font-display); font-weight: 800; color: var(--lime); transition: background .4s, color .4s, transform .5s var(--ease); }
.step:hover .num { background: var(--lime); color: var(--bg); transform: scale(1.1) rotate(-8deg); }
.step p { color: var(--muted); }

/* O mně */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: center; }
.about p { color: var(--muted); font-size: 1.1rem; }
.about strong { color: var(--text); }
@keyframes spin { to { transform: rotate(360deg); } }

.about-photo { position: relative; margin: 0; }
.about-photo::before { content: ""; position: absolute; inset: 8% -6% -6% 8%; border-radius: 36px; background: var(--grad); filter: blur(40px); opacity: .45; z-index: -1; animation: glow 8s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-4%, -3%) scale(1.05); opacity: .6; } }
.photo-frame { position: relative; padding: 3px; border-radius: 32px; background: var(--grad-loop); background-size: 200% 100%; animation: shine 6s linear infinite; transform: rotate(-2deg); transition: transform .8s var(--ease); }
.about-photo:hover .photo-frame { transform: rotate(0deg) scale(1.02); }
.photo-frame picture, .photo-frame img { display: block; width: 100%; height: auto; border-radius: 29px; }
.photo-frame::after { content: ""; position: absolute; inset: 3px; border-radius: 29px; background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 15, .55)); pointer-events: none; }
.photo-badge { position: absolute; left: -1rem; bottom: 2rem; display: inline-flex; align-items: center; gap: .55rem; padding: .7rem 1.1rem; border-radius: 999px; background: rgba(10, 10, 15, .85); border: 1px solid var(--border); backdrop-filter: blur(12px); font-weight: 700; font-size: .9rem; box-shadow: 0 15px 40px -15px rgba(0, 0, 0, .8); animation: bob 7s ease-in-out infinite; }

/* FAQ */
.faq { display: grid; gap: .9rem; max-width: 900px; }
.faq details { border-radius: 18px; border: 1px solid var(--border); background: var(--surface); transition: border-color .4s, background .4s; }
.faq details[open] { border-color: rgba(200, 255, 61, .35); background: rgba(200, 255, 61, .04); }
.faq summary { cursor: pointer; list-style: none; padding: 1.3rem 3.5rem 1.3rem 1.5rem; font-weight: 700; font-size: 1.1rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.4rem; top: 50%; width: 30px; height: 30px; margin-top: -15px; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--bg); font-weight: 800; transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { padding: 0 1.5rem 1.3rem; color: var(--muted); animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } }

/* Kontakt */
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: clamp(2rem, 5vw, 4rem); border-radius: 32px; border: 1px solid rgba(124, 92, 255, .4); background: linear-gradient(140deg, rgba(124, 92, 255, .22), rgba(10, 10, 15, .6) 50%, rgba(200, 255, 61, .08)); position: relative; overflow: hidden; }
.contact-card p { color: var(--muted); }
.contact-info { font-style: normal; display: grid; gap: .4rem; margin-top: 2rem; }
.mail { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.contact-info span { color: var(--muted); }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; color: var(--text); background: rgba(10, 10, 15, .6); border: 1px solid var(--border); border-radius: 14px; padding: .85rem 1rem; transition: border-color .3s, box-shadow .3s; }
.form select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--lime) 50%), linear-gradient(135deg, var(--lime) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(200, 255, 61, .15); }
.form .invalid { border-color: var(--pink); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-gdpr { margin: 0; font-size: .8rem; opacity: .7; }
.form .btn[disabled] { opacity: .6; pointer-events: none; }
.form-note.err { color: var(--pink) !important; }
.form-note { min-height: 1.4em; margin: 0; font-size: .9rem; color: var(--lime) !important; }

/* Footer */
.site-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 2.5rem 0 3rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.site-footer p { margin: 0; }
.site-footer a:hover { color: var(--lime); }

/* Lišta souhlasu s cookies */
.consent { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 70; max-width: 560px; margin-inline: auto; display: flex; align-items: center; gap: 1rem 1.25rem; flex-wrap: wrap; padding: 1rem 1.25rem; border-radius: 20px; border: 1px solid var(--border); background: rgba(18, 18, 26, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .8); font-size: .92rem; animation: fadeIn .6s var(--ease); }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 260px; color: var(--muted); }
.consent-btns { display: flex; gap: .6rem; }
.link-btn { appearance: none; -webkit-appearance: none; background: none; border: 0; outline: 0; box-shadow: none; padding: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; transition: color .3s; }
.link-btn:hover { color: var(--lime); }
.link-btn:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }

/* ---------- Reveal animace ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .hero-title .word { opacity: 1; transform: none; }

/* ---------- Responzivita ---------- */
@media (max-width: 1000px) {
  .shoptet-grid, .about, .contact-card { grid-template-columns: 1fr; }
  .mock { max-width: 560px; margin: 2rem auto 2.5rem; }
  .mock-code { left: 1rem; }
    .cards .card, .cards .card:nth-child(1), .cards .card:nth-child(2) { grid-column: span 3; }
  .stats, .steps, .refs { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
}
@media (max-width: 760px) {
  .burger { display: block; z-index: 2; }
  .nav-links { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 1.8rem; font-size: 1.6rem; font-family: var(--font-display); background: rgba(10, 10, 15, .96); backdrop-filter: blur(20px); clip-path: circle(0 at calc(100% - 2.6rem) 2.6rem); transition: clip-path .7s var(--ease); }
  .nav-links.open { clip-path: circle(150% at calc(100% - 2.6rem) 2.6rem); }
  .cards .card, .cards .card:nth-child(1), .cards .card:nth-child(2) { grid-column: 1 / -1; }
  .stats, .steps, .refs { grid-template-columns: 1fr; }
  .tag { position: static; display: inline-block; margin-bottom: 1rem; }
  .scroll-hint { display: none; }
}

/* ---------- Přístupnost: omezení pohybu ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .hero-title .word { opacity: 1; transform: none; }
}
.about .kicker, .contact-card .kicker { color: var(--lime); font-size: .85rem; }
