:root {
  --bg: #ffffff;
  --bg-alt: #f6f6f4;
  --text: #0a0a0a;
  --text-2: rgba(10, 10, 10, 0.62);
  --border: rgba(10, 10, 10, 0.09);
  --surface: rgba(10, 10, 10, 0.03);
  --lime: #d4ff3a;
  --lime-deep: #b8e61a;
  --radius: 16px;
  --sans: "Geist", "Inter", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;
  --pad-section: clamp(80px, 10vw, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; }
:focus-visible { outline: 2px solid var(--lime-deep); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; }
.mono { font-family: var(--mono); font-size: 13px; line-height: 1.7; }
.muted { color: var(--text-2); }

.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 20px;
}
.eyebrow-light { color: rgba(255, 255, 255, 0.72); }

.display { font-size: clamp(48px, 7vw, 88px); line-height: 1.02; font-weight: 500; letter-spacing: -0.03em; }
.h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; font-weight: 500; letter-spacing: -0.03em; }
.h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; }
.h3 { font-size: clamp(20px, 2.5vw, 28px); line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 500; font-size: 15px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn:hover { transform: scale(1.02); }
.btn-lime { background: var(--lime); color: #0a0a0a; }
.btn-lime:hover { background: var(--lime-deep); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; backdrop-filter: blur(12px); background: rgba(255, 255, 255, 0.06); }
.btn-ghost:hover { border-color: #fff; }
.btn-ghost-dark { border-color: var(--border); background: var(--bg); }
.btn-ghost-dark:hover { border-color: var(--text); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-lg { padding: 18px 34px; font-size: 17px; }

/* Loader */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .8s var(--ease), visibility .8s;
}
.loader.done { opacity: 0; visibility: hidden; }
.loader-mark {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(72px, 12vw, 140px);
  background: linear-gradient(100deg, #0a0a0a 30%, #bdbdbd 50%, #0a0a0a 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px 0;
  transition: background .3s, backdrop-filter .3s, border-color .3s, color .3s;
  color: #fff;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
  color: var(--text);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-weight: 600; letter-spacing: -0.02em; font-size: 18px; }
.brand span { font-family: var(--serif); font-style: italic; font-weight: 400; opacity: .7; }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { opacity: .75; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }

/* Hero */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: #111;
}
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::before {
  /* Fallback, dokud není showreel */
  content: ""; position: absolute; inset: -10%;
  background:
    radial-gradient(ellipse at 20% 70%, #4d6b3a 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, #2b4d63 0%, transparent 55%),
    linear-gradient(160deg, #1b2a22, #3f5a3a 50%, #9a8a55);
  animation: drift 24s ease-in-out infinite alternate;
}
.hero-media.has-video::before { display: none; }
@keyframes drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.12) translate(-3%, 2%); } }
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }
.hero-dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-content { position: relative; text-align: center; width: 100%; }
.hero-title { font-size: clamp(44px, 7vw, 96px); line-height: 1.02; font-weight: 500; letter-spacing: -0.035em; }
.hero-sub { margin: 28px auto 0; max-width: 520px; font-size: 18px; color: rgba(255, 255, 255, 0.78); }
.hero-cta { margin-top: 40px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 20px;
}
.scroll-hint span {
  position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px;
  background: #fff; border-radius: 2px; animation: scrollHint 1.8s var(--ease) infinite;
}
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Sections */
.section { padding: var(--pad-section) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); max-width: 720px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.card {
  grid-column: span 4;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  cursor: pointer;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.25); }
.card:nth-child(1) { grid-column: span 8; grid-row: span 2; }
.card:nth-child(7), .card:nth-child(8) { grid-column: span 6; }
.thumb {
  aspect-ratio: 16 / 10; flex: 1;
  background: var(--g);
  position: relative; overflow: hidden;
}
.thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.15));
  transition: opacity .4s;
}
.thumb > img, .thumb > video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .thumb > img, .card:hover .thumb > video { transform: scale(1.04); }
.card-body { padding: 20px 22px 22px; }
.card-body h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.01em; margin-top: 10px; }
.card-body p { color: var(--text-2); font-size: 15px; }
.card-featured { border-color: var(--lime-deep); box-shadow: 0 0 0 1px var(--lime-deep); }
.card-featured .card-body h3 { font-size: clamp(24px, 3vw, 32px); }
.tag {
  display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-2);
}
.tag-lime { background: var(--lime); border-color: var(--lime); color: #0a0a0a; }

/* Steps */
.steps { display: flex; flex-direction: column; gap: clamp(56px, 8vw, 120px); }
.step { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.step-rev .step-text { order: 2; }
.step-num {
  display: inline-block; font-family: var(--mono); font-size: 13px;
  background: var(--lime); padding: 3px 10px; border-radius: 999px; margin-bottom: 20px;
}
.step-text p { margin-top: 16px; color: var(--text-2); max-width: 460px; }
.step-img { aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--g); border: 1px solid var(--border); }

/* Gear */
.gear { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gear-item { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.gear-item .mono { color: var(--text-2); letter-spacing: .2em; font-size: 11px; }
.gear-item strong { display: block; font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin: 14px 0 8px; }
.gear-item p { color: var(--text-2); font-size: 15px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column;
  padding: 36px 32px; border-radius: var(--radius);
  background: var(--bg); border: 1px solid var(--border);
}
.price-card .eyebrow { margin-bottom: 12px; }
.price { font-size: 32px; font-weight: 500; letter-spacing: -0.02em; margin: 16px 0 24px; }
.price-card ul { list-style: none; display: grid; gap: 12px; margin-bottom: 32px; flex: 1; }
.price-card li { padding-left: 28px; position: relative; font-size: 15px; }
.price-card li::before { position: absolute; left: 0; top: 0; font-family: var(--mono); }
.price-card li.yes::before { content: "✓"; color: #0a0a0a; background: var(--lime); width: 18px; height: 18px; border-radius: 50%; font-size: 11px; display: grid; place-items: center; top: 3px; }
.price-card li.no { color: var(--text-2); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.price-card li.no::before { content: "×"; color: var(--text-2); left: 4px; }
.price-featured { border: 1.5px solid var(--lime-deep); box-shadow: 0 0 0 6px rgba(212, 255, 58, 0.25), 0 30px 60px -30px rgba(120, 160, 0, 0.45); }
.price-note { margin-top: 32px; color: var(--text-2); text-align: center; }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); border-left: 2px solid transparent; transition: border-color .3s var(--ease); }
.faq-item.open { border-left-color: var(--lime-deep); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font: 500 18px/1.4 var(--sans); color: var(--text);
  padding: 24px 48px 24px 20px; position: relative;
}
.faq-q::after {
  content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 20px; color: var(--text-2);
  transition: transform .3s var(--ease);
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s ease-out, opacity .3s ease-out; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 20px 24px; color: var(--text-2); max-width: 680px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; opacity: 1; }

/* CTA */
.cta {
  position: relative; overflow: hidden;
  padding: var(--pad-section) 0 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(212, 255, 58, 0.45), transparent 70%), var(--bg);
  text-align: center;
}
.cta-inner { display: flex; flex-direction: column; align-items: center; gap: 36px; padding-bottom: clamp(64px, 8vw, 120px); }
.cta .eyebrow { margin-bottom: 0; }
.marquee { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; padding: 22px 0; background: rgba(255,255,255,.4); }
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--mono); font-size: 14px; letter-spacing: .3em; white-space: nowrap; padding-right: .3em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Footer */
.footer { padding: 80px 0 32px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-grid a { opacity: .8; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-brand { font-size: 40px; font-weight: 600; letter-spacing: -0.03em; margin-bottom: 12px; }
.footer-brand em { opacity: .6; }
.footer-bottom { margin-top: 64px; color: var(--text-2); }

/* Reveal (JS přidá .js na <html>) */
.js .reveal { opacity: 0; transform: translateY(24px); }

/* Responsive */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .card, .card:nth-child(1), .card:nth-child(7), .card:nth-child(8) { grid-column: span 6; grid-row: auto; }
  .card:nth-child(1) { grid-column: span 12; }
  .gear { grid-template-columns: repeat(2, 1fr); }
  .pricing { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .card, .card:nth-child(1), .card:nth-child(7), .card:nth-child(8) { grid-column: span 12; }
  .step { grid-template-columns: 1fr; }
  .step-rev .step-text { order: 0; }
  .gear { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-sub { font-size: 16px; }
  .hero-title { font-size: 40px; }
  .eyebrow { letter-spacing: 0.22em; font-size: 11px; }
  .card:hover { transform: none; box-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
