/* ===== Branzly — design-tool utility landing ===== */
:root {
  --bg: #fdfdfd;
  --panel: #f7f7f7;
  --line: #ededed;
  --line-strong: #dedede;
  --ink: #000;
  --gray-1: #333;
  --gray-2: #545454;
  --gray-3: #787878;
  --gray-4: #a1a1a1;
  --blue: #3455fa;
  --blue-dark: #2040e3;
  --max: 1180px;
  --serif: "Instrument Serif", serif;
  --sans: "Google Sans Flex", Inter, system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 70px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.01em;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.frame { max-width: var(--max); margin: 0 auto; }
main.frame {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
main section { border-bottom: 1px solid var(--line); }

/* ===== TYPE ===== */
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 54px);
  line-height: 1.08;
  letter-spacing: 0;
}
h3 {
  font-weight: 400;
  font-size: clamp(30px, 4.2vw, 44px);
  line-height: 1.12;
  letter-spacing: 0;
  text-align: center;
}
h4 { font-size: 16px; font-weight: 500; }

.section-sub {
  text-align: center;
  color: var(--gray-2);
  font-size: 13.5px;
  margin-top: 14px;
}

/* ===== BUTTONS (pill 18px) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 18px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-black { background: var(--ink); color: #fff; }
.btn-black:hover { background: #222; }
.btn-gray { background: rgba(0, 0, 0, 0.05); color: var(--ink); }
.btn-gray:hover { background: rgba(0, 0, 0, 0.09); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }

/* ===== CHIPS & ANNOTATIONS ===== */
.chip-black {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 10px;
  white-space: nowrap;
}
.chip-gray {
  display: inline-block;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  color: var(--gray-1);
  font-size: 11.5px;
  padding: 3px 9px;
}
/* chip s křížky v rozích (design-tool) */
.chip-wrap { display: flex; justify-content: center; margin-bottom: 18px; }
.chip-corners { position: relative; }
.chip-corners .c {
  position: absolute;
  width: 9px; height: 9px;
  background:
    linear-gradient(var(--gray-3), var(--gray-3)) center/9px 1px no-repeat,
    linear-gradient(var(--gray-3), var(--gray-3)) center/1px 9px no-repeat;
}
.chip-corners .c1 { top: -5px; left: -5px; }
.chip-corners .c2 { top: -5px; right: -5px; }
.chip-corners .c3 { bottom: -5px; left: -5px; }
.chip-corners .c4 { bottom: -5px; right: -5px; }

/* anotační štítek s linkou a bodem */
.annot { position: absolute; display: flex; flex-direction: column; align-items: flex-start; }
.annot-dot { width: 7px; height: 7px; background: var(--ink); }
.annot-line { width: 1px; height: 44px; background: var(--ink); margin-left: 3px; }
.annot-vline { display: block; width: 1px; height: 44px; background: var(--ink); margin-left: 3px; }
.annot-text { font-size: 12px; color: var(--gray-2); margin-top: 5px; }
.annot-hline { display: inline-block; height: 1px; width: 90px; background: var(--ink); }

/* ===== NAV ===== */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 253, 253, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 56px;
  padding: 0 24px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.nav-side { display: flex; gap: 26px; font-size: 12px; color: var(--gray-1); }
.nav-left { justify-content: flex-end; padding-right: 40px; }
.nav-right { justify-content: flex-start; padding-left: 40px; }
.nav-side a span { color: var(--gray-4); transition: color 0.2s; }
.nav-side a:hover span { color: var(--ink); }
.brand { display: inline-flex; align-items: center; }

.nav-toggle {
  display: none;
  grid-column: 3;
  justify-self: end;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 20px; height: 1.5px; background: var(--ink); transition: transform 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.nav-mobile a { padding: 13px 24px; font-size: 13px; border-bottom: 1px solid var(--line); }
.nav-mobile.open { display: flex; }

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: clamp(56px, 8vw, 90px) 32px 56px;
}
.hero-sub { color: var(--gray-2); font-size: 13.5px; margin-top: 16px; }
.hero-cta { display: flex; justify-content: center; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  max-width: 960px;
  margin: 48px auto 0;
  padding: 28px;
}
.hero-visual canvas { width: 100%; height: auto; display: block; }
/* ořezové značky */
.crop { position: absolute; width: 18px; height: 18px; }
.crop.tl { top: 0; left: 0; border-top: 1.5px solid var(--gray-1); border-left: 1.5px solid var(--gray-1); }
.crop.tr { top: 0; right: 0; border-top: 1.5px solid var(--gray-1); border-right: 1.5px solid var(--gray-1); }
.crop.bl { bottom: 0; left: 0; border-bottom: 1.5px solid var(--gray-1); border-left: 1.5px solid var(--gray-1); }
.crop.br { bottom: 0; right: 0; border-bottom: 1.5px solid var(--gray-1); border-right: 1.5px solid var(--gray-1); }

/* ===== TRUSTED / MARQUEE ===== */
.trusted { padding: 44px 0 52px; text-align: center; }
.trusted-label { font-size: 13px; color: var(--gray-2); margin-bottom: 26px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 28s linear infinite;
  padding-right: 64px;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-3);
  white-space: nowrap;
}
.lg { display: inline-block; width: 18px; height: 18px; background: var(--gray-3); flex: none; }
.lg-1 { border-radius: 50%; }
.lg-2 { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.lg-3 { border-radius: 3px; }
.lg-4 { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.lg-5 { border-radius: 50% 0 50% 0; }
.lg-6 { clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%); }
.lg-7 { clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.lg-8 { border-radius: 0 50% 50% 50%; }

/* ===== INTERSECTION ===== */
.intersection { padding: clamp(56px, 8vw, 90px) 0 0; }
.intersection h3, .intersection .section-sub { padding: 0 32px; }
.intersection-visual { position: relative; margin-top: 44px; }
.intersection-visual canvas { width: 100%; height: auto; display: block; }
.annot-ai { top: 34%; left: 18%; }
.annot-human { top: 26%; right: 14%; align-items: flex-end; }
.annot-human .annot-line { margin-right: 3px; }

/* ===== FEATURES ===== */
.features { padding: clamp(56px, 8vw, 90px) 32px 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 940px;
  margin: 52px auto 0;
}
.feature-cell {
  border: 1px dashed var(--line-strong);
  padding: 38px 30px 34px;
  text-align: center;
  transition: background 0.25s var(--ease);
}
.feature-cell:hover { background: #fbfbfb; }
.pixel-icon { display: flex; justify-content: center; margin-bottom: 24px; }
.pixel-icon canvas {
  width: 160px; height: 160px;
  image-rendering: pixelated;
}
.feature-cell h4 { margin-bottom: 8px; }
.feature-cell p { color: var(--gray-2); font-size: 13px; }

.tag-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 40px 0 48px;
}
.tag-strip span {
  font-size: 12px;
  color: var(--gray-2);
  border: 1px dashed var(--line-strong);
  background: var(--panel);
  padding: 5px 13px;
  border-radius: 18px;
}

/* ===== ECOSYSTEM ===== */
.ecosystem { padding: clamp(56px, 8vw, 90px) 32px; text-align: center; }
.orbit {
  position: relative;
  width: min(420px, 80vw);
  height: min(420px, 80vw);
  margin: 40px auto 0;
}
.orbit-ring { position: absolute; border: 1px dashed var(--line-strong); border-radius: 50%; }
.orbit-ring.r1 { inset: 0; }
.orbit-ring.r2 { inset: 22%; }
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 58px; height: 58px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}
.orbit-node {
  position: absolute;
  font-size: 12px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 5px 13px;
  color: var(--gray-1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.on1 { top: -4%; left: 50%; transform: translateX(-50%); }
.on2 { top: 22%; right: -6%; }
.on3 { bottom: 12%; right: 2%; }
.on4 { bottom: -4%; left: 50%; transform: translateX(-50%); }
.on5 { bottom: 12%; left: -4%; }
.on6 { top: 22%; left: -6%; }

/* ===== PRICING ===== */
.pricing { padding: clamp(56px, 8vw, 90px) 32px; }
.tier-stack { margin-top: 56px; display: flex; flex-direction: column; gap: 72px; }
.tier-row { position: relative; display: flex; align-items: center; }
.tier-row-right { justify-content: flex-end; padding-right: 4%; }
.tier-row-left { justify-content: flex-start; padding-left: 4%; }
.tier-row-center { justify-content: center; }
.tier-annot { display: flex; align-items: center; flex: none; }

.tier-card {
  border: 1px dashed var(--line-strong);
  background: var(--bg);
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  width: min(620px, 100%);
}
.tier-left { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.tier-left h4 { font-size: 19px; }
.tier-desc { color: var(--gray-2); font-size: 13px; }
.tier-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
}
.tier-price { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; }
.tier-price em { font-style: normal; font-size: 12px; color: var(--gray-3); }
.tier-list { list-style: none; display: grid; gap: 10px; align-content: start; }
.tier-list li {
  border: 1px dashed var(--line-strong);
  background: var(--panel);
  font-size: 12.5px;
  color: var(--gray-1);
  padding: 12px 14px;
}

/* ===== CASES ===== */
.cases { padding: clamp(56px, 8vw, 90px) 32px; }
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 52px;
  border: 1px dashed var(--line-strong);
}
.case { position: relative; padding: 28px 26px; display: flex; flex-direction: column; }
.case + .case { border-left: 1px dashed var(--line-strong); }
.case header { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.case-mark { width: 16px; height: 16px; background: var(--ink); flex: none; }
.cm-1 { border-radius: 50%; }
.cm-2 { clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.cm-3 { clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.case p { color: var(--gray-2); font-size: 13px; flex: 1; }
.case footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}
.case footer div { display: flex; flex-direction: column; gap: 1px; }
.person { font-weight: 500; font-size: 13.5px; }
.role { font-size: 12px; color: var(--gray-3); }
.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; image-rendering: pixelated; }

/* karta se selection handles */
.case.selected { outline: 1px dashed var(--gray-1); outline-offset: -1px; }
.case .h {
  position: absolute;
  width: 8px; height: 8px;
  background: var(--ink);
  z-index: 2;
}
.case .h1 { top: -4px; left: -4px; }
.case .h2 { top: -4px; right: -4px; }
.case .h3 { bottom: -4px; left: -4px; }
.case .h4 { bottom: -4px; right: -4px; }

.big-quote {
  display: grid;
  grid-template-columns: 240px 200px 1fr;
  gap: 32px;
  align-items: start;
  border: 1px dashed var(--line-strong);
  background: var(--panel);
  padding: 34px;
  margin-top: 44px;
}
.quote-photo { width: 240px; height: 240px; display: block; filter: grayscale(1) contrast(1.05); }
.quote-person { display: flex; flex-direction: column; gap: 4px; }
.quote-person .person { font-size: 17px; }
.quote-person .btn { margin-top: 18px; align-self: flex-start; }
.big-quote blockquote {
  font-size: 13.5px;
  color: var(--gray-1);
  line-height: 1.75;
}

/* ===== FAQ ===== */
.faq { padding: clamp(56px, 8vw, 90px) 32px; }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}
.faq-head { position: relative; }
.faq-head h3 { text-align: left; }
.faq-lead { color: var(--gray-2); font-size: 13px; margin-top: 16px; max-width: 420px; }
.annot-mail { position: static; display: inline-flex; flex-direction: column; margin-top: 90px; }
.annot-mail .chip-black { font-size: 12px; }

.faq-list { display: grid; gap: 14px; align-content: start; }
.faq-item { border: 1px dashed var(--line-strong); background: #fbfbfb; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 500;
}
.faq-item summary::-webkit-details-marker { display: none; }
.plus {
  font-size: 20px;
  font-weight: 300;
  color: var(--gray-3);
  transition: transform 0.25s var(--ease);
  line-height: 1;
}
.faq-item[open] .plus { transform: rotate(45deg); }
.faq-body { padding: 0 20px 18px; }
.faq-body p { color: var(--gray-2); font-size: 13px; }

/* ===== CTA + KALENDÁŘ ===== */
.cta { padding: clamp(56px, 8vw, 90px) 32px; }
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-text h3 { text-align: left; }
.cta-points { list-style: none; display: grid; gap: 8px; margin-top: 22px; }
.cta-points li {
  position: relative;
  padding-left: 22px;
  font-size: 13.5px;
  color: var(--gray-1);
}
.cta-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 10px; height: 5px;
  border-left: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(-45deg);
}

.calendar {
  background: #111;
  color: #eee;
  border-radius: 14px;
  padding: 22px 24px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.cal-title { font-size: 15px; font-weight: 500; }
.cal-title span { color: #888; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button {
  background: #1d1d1d;
  border: 0;
  color: #aaa;
  width: 26px; height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
}
.cal-nav button:hover { color: #fff; }
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}
.cal-dow { font-size: 10px; color: #777; text-transform: uppercase; letter-spacing: 0.06em; padding: 6px 0; }
.cal-day {
  font-size: 12.5px;
  padding: 8px 0;
  border-radius: 50%;
  color: #ddd;
  cursor: pointer;
  transition: background 0.15s;
}
.cal-day:hover { background: #2a2a2a; }
.cal-day.off { color: #555; cursor: default; }
.cal-day.off:hover { background: none; }
.cal-day.today { background: #fff; color: #111; font-weight: 500; }
.cal-times {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.cal-times a {
  flex: 1;
  text-align: center;
  font-size: 12px;
  border: 1px solid #333;
  border-radius: 18px;
  padding: 7px 10px;
  color: #ccc;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.cal-times a:hover { border-color: #fff; color: #fff; }

/* ===== FOOTER ===== */
.footer {
  display: grid;
  grid-template-columns: 1.2fr auto 1.3fr;
  gap: 48px;
  align-items: center;
  padding: 64px 40px;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.brand-foot { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.footer-brand p { color: var(--gray-3); font-size: 12.5px; margin-top: 14px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  color: var(--gray-2);
  transition: color 0.2s, border-color 0.2s;
}
.socials a:hover { color: var(--ink); border-color: var(--gray-3); }
.copyright { margin-top: 18px; font-size: 12px; color: var(--gray-4); }
.footer-visual canvas { width: 220px; height: auto; display: block; opacity: 0.55; }
.footer-cols { display: flex; gap: 56px; justify-content: flex-end; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-head { font-weight: 500; font-size: 13px; margin-bottom: 6px; }
.footer-col a { font-size: 12.5px; color: var(--gray-2); transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }

/* ===== REVEAL (blur + fade, jako předloha) ===== */
.reveal {
  opacity: 0;
  filter: blur(10px);
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), filter 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.in { opacity: 1; filter: blur(0); transform: none; }

/* ===== LOAD-IN (hero sekvence při načtení) ===== */
.load {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(18px);
  animation: loadIn 0.9s var(--ease) forwards;
}
.load-1 { animation-delay: 0.05s; }
.load-2 { animation-delay: 0.2s; }
.load-3 { animation-delay: 0.35s; }
.load-4 { animation-delay: 0.5s; }
@keyframes loadIn {
  to { opacity: 1; filter: blur(0); transform: none; }
}

/* ===== KRESLÍCÍ SE ANOTAČNÍ LINKY ===== */
.reveal .annot-line, .reveal .annot-vline {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.8s var(--ease) 0.45s;
}
.reveal .annot-hline {
  transform: scaleX(0);
  transition: transform 0.8s var(--ease) 0.45s;
}
.tier-row-right .annot-hline { transform-origin: left; }
.tier-row-left .annot-hline { transform-origin: right; }
.tier-row-center .annot-hline { transform-origin: left; }
.reveal .annot-text, .reveal .annot .chip-black, .tier-annot .chip-black {
  opacity: 0;
  transition: opacity 0.5s var(--ease) 1s;
}
.reveal.in .annot-line, .reveal.in .annot-vline { transform: scaleY(1); }
.reveal.in .annot-hline { transform: scaleX(1); }
.reveal.in .annot-text, .reveal.in .annot .chip-black, .reveal.in .tier-annot .chip-black { opacity: 1; }

/* ===== HOVER MIKRO-ANIMACE ===== */
.tier-card, .case, .faq-item {
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.25s var(--ease);
}
.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.07);
}
.case:hover { background: #fbfbfb; }
.feature-cell { transition: transform 0.3s var(--ease), background 0.25s var(--ease), box-shadow 0.3s var(--ease); }
.feature-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.06);
}
.logo-item { transition: color 0.25s; }
.logo-item:hover { color: var(--ink); }
.logo-item:hover .lg { background: var(--ink); }
.lg { transition: background 0.25s, transform 0.3s var(--ease); }
.logo-item:hover .lg { transform: rotate(90deg); }
.socials a:hover { transform: translateY(-2px); }
.socials a { transition: color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }

/* ===== ORBIT ANIMACE ===== */
.orbit-ring { animation: spin 70s linear infinite; }
.orbit-ring.r2 { animation-duration: 45s; animation-direction: reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit-node { animation: bob 4.5s ease-in-out infinite; }
.on2 { animation-delay: 0.6s; }
.on3 { animation-delay: 1.2s; }
.on4 { animation-delay: 1.8s; }
.on5 { animation-delay: 2.4s; }
.on6 { animation-delay: 3s; }
@keyframes bob { 50% { translate: 0 -7px; } }
.orbit-center { animation: pulse 3.5s ease-in-out infinite; }
@keyframes pulse {
  50% { box-shadow: 0 4px 30px rgba(52, 85, 250, 0.18); }
}

/* ===== FAQ plynulé rozbalení ===== */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}

/* ===== NAV skrývání při scrollu ===== */
.nav-wrap { transition: transform 0.4s var(--ease); }
.nav-wrap.hidden { transform: translateY(-100%); }

/* ===== LENIS ===== */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav { grid-template-columns: auto 1fr; padding: 0 20px; }
  .nav-side { display: none; }
  .brand { grid-column: 1; justify-self: start; }
  .nav-toggle { display: flex; grid-column: 2; }

  .hero, .features, .ecosystem, .pricing, .cases, .faq, .cta { padding-left: 20px; padding-right: 20px; }
  .intersection h3, .intersection .section-sub { padding: 0 20px; }

  .feature-grid { grid-template-columns: 1fr; }
  .tier-row { padding: 0 !important; justify-content: center !important; }
  .tier-annot { display: none; }
  .tier-card { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .case + .case { border-left: 0; border-top: 1px dashed var(--line-strong); }
  .big-quote { grid-template-columns: 1fr; }
  .quote-photo { width: 100%; max-width: 320px; height: auto; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .annot-mail { margin-top: 28px; }
  .annot-mail .annot-vline { display: none; }
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px; }
  .footer-visual { display: none; }
  .footer-cols { justify-content: flex-start; }
  .annot-ai { left: 8%; }
  .annot-human { right: 6%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; filter: none; transform: none; transition: none; }
  .load { opacity: 1; filter: none; transform: none; animation: none; }
  .reveal .annot-line, .reveal .annot-vline, .reveal .annot-hline { transform: none; transition: none; }
  .reveal .annot-text, .reveal .annot .chip-black, .tier-annot .chip-black { opacity: 1; transition: none; }
  .marquee-track, .orbit-ring, .orbit-node, .orbit-center { animation: none; }
  .btn:hover, .btn:active, .tier-card:hover, .feature-cell:hover { transform: none; }
  .faq-body { transition: none; }
}
