:root {
  --nav-h: 74px;
  --glass-strong: rgba(6, 14, 32, 0.62);
  --glass-soft: rgba(6, 14, 32, 0.42);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: blur(18px) saturate(140%);

}

html {
  scroll-behavior: auto !important;
}

body {
  padding-top: 0;
}


section,
main {
  scroll-margin-top: calc(var(--nav-h) + 16px);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 9000;

  /* nahoře úplně bez pozadí */
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(6, 14, 32, 0.22);
  /* o chlup průhlednější, ať je blur víc “čistý” */
  backdrop-filter: blur(28px) saturate(175%) contrast(120%) brightness(1.10);
  -webkit-backdrop-filter: blur(28px) saturate(175%) contrast(120%) brightness(1.10);

  /* SCHOVANÝ jen přes opacity/transform (smooth!) */
  opacity: 0;
  pointer-events: none;
  transform: translateY(-14px);
  filter: blur(6px);

  will-change: opacity, transform, filter, background, border-color, box-shadow, backdrop-filter;

  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 700ms cubic-bezier(0.16, 1, 0.3, 1),
    background-color 520ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 520ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 520ms cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 520ms cubic-bezier(0.16, 1, 0.3, 1);
}

body.nav-ready .navbar {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.navbar.scrolled {
  background: rgba(6, 14, 32, 0.40);
  border-bottom-color: rgba(255, 255, 255, 0.14);

  backdrop-filter: blur(32px) saturate(185%) contrast(125%) brightness(1.08);
  -webkit-backdrop-filter: blur(32px) saturate(185%) contrast(125%) brightness(1.08);

  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

:root {
  --edge-pad: clamp(16px, 6vw, 72px);
}

.nav-inner {
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--edge-pad);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-brand {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 14px;
  text-transform: lowercase;
  opacity: 0.95;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: rgba(229, 237, 255, 0.9);
  text-decoration: none;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
  opacity: 0.92;
  transition: opacity 150ms ease, transform 150ms ease;
  font-size: 11px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.nav-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.nav-cta {
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #fff !important;
  box-shadow: 0 14px 40px rgba(37, 99, 235, 0.38);
}

.nav-cta:hover {
  transform: translateY(-1px);
}

/* MOBILE MENU */
.nav-toggle {
  display: none;
  width: 44px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  border-radius: 12px;
  cursor: pointer;
  padding: 0 10px;
}

.nav-toggle {
  /* důležité: aby se 3 čárky skládaly pod sebe */
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  /* ✅ tohle ti čárky “zviditelní” */
  margin: 0;
  /* gap to řeší líp */
  background: rgba(229, 237, 255, 0.92);
  border-radius: 999px;
}


/* drž odkazy v jedné řadě – díky tomu poznáme, kdy se nevejdou */
.nav-links,
.nav-links a {
  white-space: nowrap;
}

.nav-links {
  flex-wrap: nowrap;
}

/* collapse režim = jen když se linky nevejdou */
.navbar.nav-collapsed .nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar.nav-collapsed .nav-links {
  display: none;
}

.nav-toggle span{
  transition: none;          /* žádná animace */
  transform: none;
  opacity: 1;
}

/* i když se přidá .is-open, čárky zůstanou stejné */
.nav-toggle.is-open span{
  transform: none !important;
  opacity: 1 !important;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  /* musí být víc než .csb (ta má 99999) */

  /* full screen pozadí = tvůj modrý gradient */
  background: linear-gradient(to top,
      #0059ff 0%,
      #002f86 25%,
      #00215e 60%,
      #001b4e 85%,
      #001130 100%);

  /* žádné “center card” */
  display: block;

  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  /* ✅ mimo obrazovku vpravo */
  transition:
  transform 280ms cubic-bezier(0.16, 1, 0.3, 1),
  opacity   280ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

body.menu-open .nav-overlay{
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0); /* ✅ vyjede zprava doleva */
}

.nav-panel {
  width: 100vw;
  height: 100vh;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: transparent;

  /* ať to sedí pod notch/status bar */
  padding-top: env(safe-area-inset-top);
}

body.menu-open .csb {
  touch-action: none;
  opacity: 0;
  pointer-events: none;
}


body.menu-open .nav-panel{
  transform: none;
  opacity: 1;
}

.nav-close {
  position: absolute;
  top: 16px;
  right: var(--edge-pad);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(229, 237, 255, 0.95);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.nav-close:hover {
  background: rgba(0, 0, 0, 0.35);
}

.nav-overlay-links {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 56px 20px;
}

.nav-overlay-links a {
  color: rgba(229, 237, 255, 0.95);
  text-decoration: none;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 14px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

.nav-overlay-links a:hover {
  transform: translateY(-1px);
}

/* CTA v overlay */
.nav-overlay-links .nav-cta {
  width: min(260px, 80%);
  justify-content: center;
  text-align: center;
}

/* při otevřeném menu zastav scroll v #page */
#page.no-scroll {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {

  .nav-overlay,
  .nav-panel,
  .nav-toggle span {
    transition: none !important;
  }
}



*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e5edff;

  background: none; /* <- DŮLEŽITÉ */
  min-height: 100vh;

  isolation: isolate; /* aby z-index vrstvy fungovaly všude */
}



/* HERO SEKCE PŘES CELOU VÝŠKU OKNA */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: clamp(32px, 6vw, 72px);
  padding-block: clamp(40px, 6vh, 80px);
  isolation: isolate;
  padding-top: calc(var(--nav-h) + clamp(40px, 6vh, 80px));
  display: none !important;
  min-height: 100vh;
  /* aby sekce sahala až dolů */
}

.hero-inner {
  width: 100%;
  max-width: 1320px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 64px);
}

/* LEVÁ STRANA */

.hero-content {
  max-width: 620px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  text-transform: uppercase;
  font-weight: 600;
  color: #e0f2fe;
  /* světle modrá/bílá */
  background: rgba(15, 23, 42, 0.7);
  /* tmavší průhledný podklad */
  border: 1px solid rgba(59, 130, 246, 0.7);
  margin-bottom: 22px;
}


.hero-title {
  font-size: clamp(40px, 5vw, 62px);
  line-height: 1.06;
  margin: 0 0 24px;
  font-weight: 800;
  color: #f9fafb;
  /* čistě světlý text */
}

.hero-title span {
  color: #38bdf8;
  /* výraznější modrý akcent pro Ixoxi */
}

.hero-lead {
  margin: 0 0 32px;
  font-size: clamp(17px, 1.1vw, 19px);
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.9);
  /* jemná světle šedá */
}

/* TLAČÍTKA */

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.btn {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
    background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: white;
  box-shadow: 0 22px 55px rgba(37, 99, 235, 0.45);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 30px 65px rgba(37, 99, 235, 0.6);
}

.btn-secondary {
  background: white;
  color: #0f172a;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.btn-secondary:hover {
  background: #eff6ff;
  border-color: rgba(59, 130, 246, 0.9);
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: white;
  font-size: 14px;
}

/* STATISTIKY */

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.stat {
  min-width: 120px;
}

.stat-value {
  font-size: 26px;
  font-weight: 700;
  color: #f9fafb;
  /* bílé číslo */
}

.stat-label {
  font-size: 14px;
  color: rgba(226, 232, 240, 0.75);
  /* světlejší popisek */
}

/* PRAVÁ STRANA – 3D MODEL */

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Velký glow za modelem */
.hero-glow {
  position: absolute;
  inset: -25%;
  opacity: 0.95;
  filter: blur(4px);
  z-index: -2;
}

/* Plocha pro 3D model */
.hero-model-card {
  position: relative;
  width: min(520px, 100%);
  aspect-ratio: 4 / 3;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  overflow: visible;
}

.model-loader {
  position: fixed;
  inset: 0;
  /* celá obrazovka */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  /* stejný modrý gradient jako na <body> */
  background: linear-gradient(to top,
      #0059ff 0%,
      #002f86 25%,
      #00215e 60%,
      #001b4e 85%,
      #001130 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;

  transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
}

/* po načtení modelu JS přidá .hidden → loader hezky vyfadeuje */
.model-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* kulatý spinner */
.spinner {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 3px solid rgba(148, 163, 184, 0.25);
  /* světlý kruh */
  border-top-color: #38bdf8;
  /* modrý výřez */
  border-right-color: #3b82f6;
  animation: spin 0.9s linear infinite;
}

/* jednoduchá rotace */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}





/* Kontejner pro canvas Three.js */
#model-viewer {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.model-circle {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;

  display: grid;
  place-items: center;

  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

/* vypneme bílé halo/ring */
.model-circle::before,
.model-circle::after {
  display: none !important;
  content: none !important;
}

.model-circle::before {
  content: "";
  position: absolute;
  inset: -22%;
  border-radius: 999px;
  pointer-events: none;

  background: radial-gradient(circle at 50% 50%,
      rgba(255, 255, 255, 0.00) 52%,
      rgba(255, 255, 255, 0.22) 66%,
      rgba(255, 255, 255, 0.12) 76%,
      rgba(255, 255, 255, 0.00) 88%);

  filter: blur(18px);
  opacity: 0.95;

  /* aby to vypadalo jako glow (ne šedá mlha) */
  mix-blend-mode: screen;
}

/* tenčí “ostrý” ring uvnitř */
.model-circle::after {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 999px;
  pointer-events: none;

  background: radial-gradient(circle at 50% 50%,
      rgba(255, 255, 255, 0.00) 58%,
      rgba(255, 255, 255, 0.28) 72%,
      rgba(255, 255, 255, 0.00) 80%);

  filter: blur(1px);
  opacity: 0.85;
  mix-blend-mode: screen;
}

/* canvas area musí být nad glow */
.model-circle #model-viewer {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.model-circle #model-viewer canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}


/* canvas area musí vyplnit kruh */
.model-circle #model-viewer {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.model-circle #model-viewer canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Text pod modelem */
.hero-hint {
  margin-top: 18px;
  font-size: 13px;
  color: #000000;
  /* světlejší modrá, dobře čitelná */
  opacity: 0.9;
}

/* KUP TEĎ – vpravo dole sekce */

.btn-buy {
  position: absolute;
  right: clamp(24px, 5vw, 64px);
  bottom: clamp(24px, 5vh, 40px);
  padding-inline: 26px;
  padding-block: 13px;
  font-size: 15px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ecfdf5;
  box-shadow: 0 22px 50px rgba(22, 163, 74, 0.5);
}

.btn-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 28px 60px rgba(22, 163, 74, 0.65);
}

.btn-buy-icon {
  font-size: 17px;
  margin-left: 4px;
}

/* RESPONSIVE */

/* =========================================================
   CONSTRAINED / ZOOMED VIEWPORT (desktop zoom, split view…)
   Když se obsah už nevejde (např. při přiblížení v prohlížeči),
   přepneme layout do "tablet/mobile" režimu, aby se nic neuseklo.
   Třídu .compact-ui přidává JS.
   ========================================================= */
body.compact-ui .hero{
  padding-inline: 16px;
  padding-top: calc(var(--nav-h) + 28px);
  padding-bottom: 40px;
}
body.compact-ui .hero-inner{
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
}
body.compact-ui .hero-content{ max-width: 100%; }
body.compact-ui .hero-visual{
  order: 2;
  align-items: flex-start;
  justify-content: flex-start;
}
body.compact-ui .hero-model-card{
  margin-left: 0 !important;
  margin-right: auto !important;
  transform: none !important;
  width: min(360px, 100%);
  aspect-ratio: 1 / 1;
}

/* Funkce / karty – z 3 sloupců na 2, aby se text nelámal a nebyl uříznutý */
body.compact-ui .grid-cards{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Specifikace split – pod sebe */
body.compact-ui .split{
  grid-template-columns: minmax(0, 1fr);
}


/* Když někde zůstane .center, přepni v compact režimu na čitelné zarovnání */
body.compact-ui .section-head.center{
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 1024px) {
  .hero {
    padding-inline: 16px;

    /* ✅ top musí počítat s navbar výškou */
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 40px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-content {
    max-width: 100%;
  }

  /* ✅ model POD textem + vlevo */
  .hero-visual {
    order: 2;
    /* bylo -1 */
    align-items: flex-start;
    /* vlevo */
    justify-content: flex-start;
  }

  /* ✅ zruš desktop “push doprava” */
  .hero-model-card {
    margin-left: 0 !important;
    margin-right: auto !important;
    transform: none !important;
  }

  .hero-model-card {
    width: min(360px, 100%);
    aspect-ratio: 1 / 1;
  }

  .btn-buy {
    position: static;
    margin: 28px auto 0;
    display: inline-flex;
    justify-content: center;
  }
}


@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
    width: 100%;
  }

  .hero-title {
    font-size: 34px;
  }
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, 0.95) rgba(255, 255, 255, 0.06);
}

/* Chrome / Edge / Safari */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  margin: 10px 0;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.95), rgba(14, 165, 233, 0.95));
  border-radius: 999px;
}

/* ✅ šipky pryč (všechny varianty tlačítek) */
html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button,
*::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* někdy pomůže cílit konkrétní “start/end” tlačítka */
html::-webkit-scrollbar-button:vertical:start:decrement,
html::-webkit-scrollbar-button:vertical:end:increment,
body::-webkit-scrollbar-button:vertical:start:decrement,
body::-webkit-scrollbar-button:vertical:end:increment {
  display: none !important;
  height: 0 !important;
}

body {
  overflow: hidden;
   background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 80%, #000 100%);
}

#page {
  height: var(--app-h, 100dvh);
  min-height: var(--app-h, 100dvh);
  overflow-y: auto;
  overflow-x: hidden;
}

#page::-webkit-scrollbar {
  width: 8px;
}

#page::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  margin: 10px 0;
}

#page::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.95), rgba(14, 165, 233, 0.95));
  border-radius: 999px;
}

#page::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

html,
body {
  height: 100%;
  overflow: hidden;
}



html, body{
  height: 100%;
  overflow: hidden;
}

/* scrollbar */
#page::-webkit-scrollbar {
  width: 10px;
}

#page::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  margin: 10px 0;
}

#page::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.95), rgba(14, 165, 233, 0.95));
  border-radius: 999px;
}

/* ✅ šipky pryč – Chromium/Edge potřebuje i :single-button */
#page::-webkit-scrollbar-button,
#page::-webkit-scrollbar-button:single-button,
#page::-webkit-scrollbar-button:vertical:start:decrement,
#page::-webkit-scrollbar-button:vertical:end:increment {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* někdy se “tlačítko” tváří jako část tracku */
#page::-webkit-scrollbar-track-piece:start,
#page::-webkit-scrollbar-track-piece:end {
  margin: 0 !important;
}

/* === SCROLL CONTAINER (místo window scrollu) === */
html,
body {
  height: 100%;
  overflow: hidden;
  /* scroll bude jen v #page */
}

/* schovat NATIVNÍ scrollbar (tím zmizí i šipky) */
#page {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* starší Edge/IE */
}

#page::-webkit-scrollbar {
  width: 0 !important;
  /* Chrome/Edge/Safari */
  height: 0 !important;
}

.csb {
  position: fixed;
  right: 2px;
  /* ✅ víc na stranu (klidně dej 0px) */
  top: 6px;
  bottom: 6px;
  width: 10px;

  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  z-index: 99999;
  /* ✅ nejvýš nad vším */
}

.csb-thumb {
  touch-action: none;
  position: absolute;
  left: 2px;
  right: 2px;
  top: 0;
  height: 80px;
  border-radius: 999px;
  background: #3f82ff;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  will-change: transform, height;
}

/* ===== SECTIONS ===== */
.section {
  padding: clamp(56px, 8vh, 110px) clamp(16px, 6vw, 72px);
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 20% 0%, rgba(255, 255, 255, 0.06), transparent 60%),
    radial-gradient(900px 500px at 90% 30%, rgba(0, 90, 255, 0.10), transparent 55%);
  pointer-events: none;
  opacity: 0.9;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-head {
  max-width: 720px;
  margin-bottom: 26px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  color: rgba(229, 237, 255, 0.78);
  margin-bottom: 10px;
}

.section h2 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: clamp(30px, 3.6vw, 46px);
  margin: 0 0 12px;
}

.section p {
  color: rgba(229, 237, 255, 0.78);
  line-height: 1.65;
  margin: 0;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.glass-card {
  background: rgba(6, 14, 32, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;

  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);

  padding: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(6, 14, 32, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.10);
  margin-bottom: 12px;

  /* SVG icons use currentColor */
  color: rgba(160, 196, 255, 0.92);
}

/* images / svgs inside feature icon */
.card-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.card-icon img {
  object-fit: contain;
  width: 42px;
  height: 42px;
  /* jemný glow, aby to sedělo do "glass" vzhledu */
  filter: drop-shadow(0 6px 16px rgba(59, 130, 246, 0.18));
}

.card-icon svg {
  filter: drop-shadow(0 6px 16px rgba(59, 130, 246, 0.16));
}

.glass-card h3 {
  margin: 0 0 8px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  font-size: 16px;
}

.glass-card p {
  font-size: 14px;
}

/* split layout */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}

.spec-card {
  position: relative;
  overflow: hidden;

  background: rgba(6, 14, 32, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 14px;

  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);

  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

/* jemný “glow” okraj, ať to vypadá premium */
.spec-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  border-radius: 20px;
  background: radial-gradient(900px 420px at 15% 15%,
      rgba(59, 130, 246, 0.25),
      rgba(0, 0, 0, 0) 55%);
  opacity: 0.9;
}

.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  padding: 12px 10px;
  border-radius: 14px;

  background: rgba(6, 14, 32, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.10);

  margin-bottom: 10px;
}

.spec-row span {
  color: rgba(229, 237, 255, 0.74);
  font-size: 13px;
}

.spec-row b {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  font-size: 13px;
}

/* pricing */
.grid-pricing {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.price-card {
  border-radius: 20px;
  padding: 18px;

  background: rgba(6, 14, 32, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);

  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  position: relative;
}

.price-card.featured {
  border-color: rgba(46, 150, 255, 0.55);
  box-shadow: 0 18px 70px rgba(0, 90, 255, 0.22);
}

.price-card .badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 90, 255, 0.18);
  border: 1px solid rgba(0, 90, 255, 0.35);
}

.price {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 900;
  font-size: 34px;
  margin: 10px 0 10px;
}

.price span {
  font-size: 13px;
  font-weight: 800;
  color: rgba(229, 237, 255, 0.7);
  margin-left: 6px;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: grid;
  gap: 10px;
  color: rgba(229, 237, 255, 0.78);
  font-size: 14px;
}

/* ===== FAQ SLIDER ===== */
.faq-section {
  padding-top: clamp(60px, 9vh, 120px);
}

.faq-slider {
  position: relative;
  border-radius: 0;
  padding: 0;
  overflow: visible;

  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.faq-slider::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(900px 520px at 50% 20%, rgba(14, 165, 233, 0.18), transparent 60%),
    radial-gradient(900px 520px at 15% 55%, rgba(37, 99, 235, 0.18), transparent 60%),
    radial-gradient(900px 520px at 85% 70%, rgba(56, 189, 248, 0.14), transparent 60%);
  pointer-events: none;
  filter: blur(14px);
}

.faq-viewport {
  position: relative;
  z-index: 1;
  overflow: hidden;
  touch-action: pan-y;
  /* dovolí scroll stránkou, ale drag slideru funguje */
}

.faq-track {
  display: flex;
  flex-direction: column;
  /* NOVÉ: vertikální stack */
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-slide {
  min-width: 100%;
  text-align: center;
  padding: 10px 6px;

  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 480ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 480ms cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.faq-kicker {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(56, 189, 248, 0.95);
  /* cyan */
  margin-bottom: 18px;
}

.faq-text {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.32;
  font-size: clamp(20px, 2.2vw, 34px);
  /* menší */
  color: rgba(229, 237, 255, 0.96);
  max-width: 980px;
  margin: 0 auto;
}


.faq-dots {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}

.faq-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(14, 165, 233, 0.28);
  /* ✅ stejnej tón jako active, jen slabší */
  border: 1px solid rgba(14, 165, 233, 0.55);
  /* ✅ aby byly “čitelnější” i prázdné */
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55);
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;

}

.faq-dot.is-active {
  background: rgba(14, 165, 233, 0.95);
  border-color: rgba(14, 165, 233, 0.95);
  transform: scale(1.2);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.65);
}

/* jemný "grab" pocit */
.faq-viewport {
  cursor: grab;
}

.faq-viewport.dragging {
  cursor: grabbing;
}


/* contact */
.contact-split {
  grid-template-columns: 1fr 1fr;
}

.contact-card {
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.contact-card>div {
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
}

.contact-card span {
  display: block;
  font-size: 12px;
  color: rgba(229, 237, 255, 0.70);
  margin-bottom: 4px;
}

.form label {
  display: block;
  margin-bottom: 12px;
}

.form label span {
  display: block;
  font-size: 12px;
  color: rgba(229, 237, 255, 0.72);
  margin-bottom: 6px;
}

.form input,
.form textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  color: #e5edff;
  padding: 12px 12px;
  outline: none;
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(0, 90, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 90, 255, 0.14);
}

/* responsive */
@media (max-width: 900px) {
  .grid-cards {
    grid-template-columns: 1fr;
  }

  .grid-pricing {
    grid-template-columns: 1fr;
  }

  .split,
  .contact-split {
    grid-template-columns: 1fr;
  }
}

/* ===== CUSTOM SCROLLBAR: trochu užší ===== */
.csb {
  width: 8px;
  right: 0px;
}

/* užší + víc u kraje */
.csb-thumb {
  left: 1px;
  right: 1px;
}

/* aby thumb seděl do užšího tracku */


/* ===== CONTACT (modern glass) ===== */
#contact.contact {
  padding: clamp(60px, 9vh, 120px) clamp(16px, 6vw, 72px);
  position: relative;
}

#contact.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 50% 0%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(900px 520px at 15% 35%, rgba(0, 89, 255, 0.18), transparent 55%),
    radial-gradient(900px 520px at 90% 70%, rgba(14, 165, 233, 0.16), transparent 55%);
  pointer-events: none;
}

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-head {
  text-align: left;
  margin-bottom: 26px;
}

.contact-head h2 {
  margin: 0 0 10px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.02em;
}

.contact-head p {
  font-size: clamp(14px, 1.15vw, 16px);
}

.contact-head h2 span {
  background: linear-gradient(135deg, #38bdf8, #0ea5e9, #2563eb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-head p {
  margin: 0;
  max-width: 720px;
  color: rgba(229, 237, 255, 0.75);
  line-height: 1.65;
}

.contact-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 18px;
  align-items: start;
}

/* left cards */
.contact-info {
  display: grid;
  gap: 14px;
}

.info-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 16px;
  border-radius: 18px;

  /* ✅ tmavší, aby ladilo s pravým formulářem */
  background: rgba(6, 14, 32, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);

  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.info-ic {
  background: rgba(6, 14, 32, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.info-ic {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;

  background: linear-gradient(135deg, rgba(0, 89, 255, 0.28), rgba(139, 92, 246, 0.22));
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.info-ic svg {
  width: 22px;
  height: 22px;
  color: rgba(229, 237, 255, 0.92);
}

.info-title {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 2px;
}

.info-sub {
  color: rgba(229, 237, 255, 0.72);
  font-size: 13px;
}

/* form card */
.contact-form {
  padding: 18px;
  border-radius: 18px;

  /* tmavý “glass” jako ve SPECIFIKACE */
  background: rgba(6, 14, 32, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);

  display: grid;
  gap: 12px;
}


.field label {
  display: block;
  font-size: 12px;
  color: rgba(229, 237, 255, 0.72);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  color: #e5edff;
  padding: 12px 12px;
  outline: none;
  resize: none;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(0, 89, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(0, 89, 255, 0.14);
}


/* =========================
   CONTACT FORM — CUSTOM VALIDATION UI
   (nahrazuje nativní “Vyplňte prosím toto pole.” bublinu)
   ========================= */

.field {
  position: relative;
}

.field-error {
  display: none;
  align-items: center;
  gap: 10px;

  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 14px;

  background: rgba(6, 14, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);

  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  line-height: 1.25;

  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.field-error::before {
  content: "!";
  width: 22px;
  height: 22px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(135deg,
      rgba(59, 130, 246, 0.85),
      rgba(0, 89, 255, 0.85));
  box-shadow: 0 10px 30px rgba(0, 89, 255, 0.25);
  flex: 0 0 auto;
}

.field.is-invalid .field-error {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-color: rgba(59, 130, 246, 0.65);
  box-shadow: 0 0 0 4px rgba(0, 89, 255, 0.18);
}


.contact-btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}

/* responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   UNIFIED BACKGROUND LAYER (SAFE)
   ========================= */

body {
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;

  /* 1) glow vrstvy nahoře, 2) SVG vlnky dole */
  background:
    radial-gradient(900px 520px at 50% 10%, rgba(14, 165, 233, 0.16), transparent 60%),
    radial-gradient(900px 520px at 15% 55%, rgba(37, 99, 235, 0.16), transparent 60%),
    radial-gradient(900px 520px at 85% 70%, rgba(56, 189, 248, 0.12), transparent 60%),
    url("assets/background.svg");

  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center; /* aby byly “vlnky” vpravo jako na obrázku 1 */

  transform: translateZ(0); /* stabilnější render na iOS */
}



/* obsah průhledný, ať jde vidět jednotné pozadí */
#page {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

#page main,
#page section {
  background: transparent !important;
}

/* pokud chceš vypnout per-sekční glow vrstvy */
#page section::before,
#page section::after {
  content: none !important;
}



/* =========================
   FAQ – více výšky a spacing
   ========================= */

#faq {
  padding-top: clamp(80px, 10vh, 140px) !important;
  padding-bottom: clamp(90px, 12vh, 170px) !important;
}

#faq .section-head {
  margin-bottom: 44px !important;
}

#faq .faq-slide {
  padding: 22px 6px !important;
  min-height: 260px;
  position: relative;
  /* aby to nebylo namačkané */
}

#faq .faq-kicker {
  margin-bottom: 26px !important;
}

#faq .faq-text {
  margin-top: 0 !important;
  line-height: 1.4 !important;
  font-size: clamp(18px, 2.0vw, 30px) !important;
  /* menší než předtím */
}

#faq .faq-dots {
  margin-top: 34px !important;
  position: absolute !important;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  justify-content: center;
  margin-top: 0 !important;
  gap: 12px;
}

@media (max-width: 900px) {
  #faq .faq-dots {
    position: relative !important;
    right: auto;
    top: auto;
    transform: none;

    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;

    padding-left: 6px;
    /* ✅ zarovnání jako text ve slidech */
    padding-right: 6px;

    margin-top: 34px !important;
  }
}



/* =========================
   GLOBAL TEXT SHADOW (readability)
   ========================= */
:root {
  --txt-shadow-strong: 0 2px 18px rgba(0, 0, 0, 0.55);
  --txt-shadow-soft: 0 1px 12px rgba(0, 0, 0, 0.45);
}

/* hlavní typografie */
#page :is(h1, h2, h3, h4,
  p, li,
  .kicker,
  .hero-tag,
  .hero-title,
  .hero-lead,
  .stat-value, .stat-label,
  .section-head h2,
  .section-head p,
  .spec-row span, .spec-row b,
  .price-card h3, .price-card .price, .price-card li, .price-card .badge,
  .faq-kicker, .faq-text,
  .info-title, .info-sub,
  .field label,
  .hero-hint) {
  text-shadow: var(--txt-shadow-strong);
}

/* navbar – ať je ostřejší i nad bílou částí */
.nav-brand,
.nav-links a:not(.nav-cta) {
  text-shadow: var(--txt-shadow-soft);
}

/* nenecháme shadow na “gradient textu” (má color: transparent) */
.contact-head h2 span {
  text-shadow: none !important;
}

.section-head p,
.section p,
.kicker {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.section-head.center p {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.9);


}

/* Kicker (FAQ / SPECIFIKACE...) – ať je taky čitelnější */
.section-head.center .kicker {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75);
}

/* =========================
   FULLPAGE SNAP (gentle)
   ========================= */
@media (hover: hover) and (pointer: fine) {
  #page {
    scroll-snap-type: y proximity;
    /* smooth, ne tak agresivní jako mandatory */
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
  }

  /* všechny hlavní sekce */
  #page>main,
  #page>section {
    min-height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }
}

/* =========================
   ANTI-DRAG GHOST
   ========================= */
img,
a {
  -webkit-user-drag: none;
}

/* =========================
   FULLPAGE SECTIONS + SNAP
   ========================= */
@media (hover: hover) and (pointer: fine) {
  #page {
    scroll-snap-type: y proximity;
    scroll-snap-stop: normal;
    /* aby ses NIKDY nezasekl mezi sekcema */
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
  }

  .hero,
  .section,
  #contact.contact {
    min-height: 100vh;
    scroll-snap-align: start;
  }
}

/* =========================
   ANTI-DRAG GHOST
   ========================= */
img,
a {
  -webkit-user-drag: none;

}

#page {
  scroll-behavior: smooth;
}

/* =========================
   SECTION ENTER ANIMATION
   ========================= */
@media (prefers-reduced-motion: no-preference) {

  /* aktivuje JS přes body.reveal-ready (aby se to neschovalo bez JS) */
  body.reveal-ready #page> :is(main, section) :is(.hero-inner, .section-inner)>* {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    transition:
      transform 900ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 900ms ease;
    will-change: transform, opacity, filter;
  }

  body.reveal-ready #page> :is(main, section).is-inview :is(.hero-inner, .section-inner)>* {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  /* stagger (postupné vyjíždění položek v sekci) */
  body.reveal-ready #page> :is(main, section).is-inview :is(.hero-inner, .section-inner)>*:nth-child(1) {
    transition-delay: 0ms;
  }

  body.reveal-ready #page> :is(main, section).is-inview :is(.hero-inner, .section-inner)>*:nth-child(2) {
    transition-delay: 90ms;
  }

  body.reveal-ready #page> :is(main, section).is-inview :is(.hero-inner, .section-inner)>*:nth-child(3) {
    transition-delay: 180ms;
  }

  body.reveal-ready #page> :is(main, section).is-inview :is(.hero-inner, .section-inner)>*:nth-child(4) {
    transition-delay: 270ms;
  }

  body.reveal-ready #page> :is(main, section).is-inview :is(.hero-inner, .section-inner)>*:nth-child(5) {
    transition-delay: 360ms;
  }

  body.reveal-ready #page> :is(main, section).is-inview :is(.hero-inner, .section-inner)>*:nth-child(6) {
    transition-delay: 450ms;
  }
}

body.reveal-ready .hero-visual {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

body.no-wheel-snap #page {
  scroll-snap-type: none !important;
  scroll-padding-top: 0 !important;
}

body.no-wheel-snap #page>main,
body.no-wheel-snap #page>section {
  scroll-snap-align: none !important;
}


/* při dragu custom scrollbaru nech scroll úplně “free” (žádný snap / žádné smooth) */
body.is-dragging-scrollbar #page {
  scroll-snap-type: none !important;
  scroll-behavior: auto !important;
}

body.is-dragging-scrollbar #page>main,
body.is-dragging-scrollbar #page>section {
  scroll-snap-align: none !important;
}

/* během aktivního scrollu vypneme snap (zarovnáme až když uživatel přestane) */
body.is-scrolling #page {
  scroll-snap-type: none !important;
}

body.is-scrolling #page>main,
body.is-scrolling #page>section {
  scroll-snap-align: none !important;
}


.faq-slide {
  text-align: left;
}

.faq-text {
  margin: 0;
}

/* místo 0 auto */
.faq-dots {
  justify-content: flex-start;
}

#faq .section-head {
  text-align: left;
}

#faq .faq-slide {
  text-align: left;
}

#faq .faq-text {
  margin-left: 0;
  margin-right: 0;
}


.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  height: 32px;
  /* změň dle potřeby */
  width: auto;
  display: block;
}

/* ===== FOOTER ===== */
.site-footer {
  margin-top: 48px;
  padding: 34px 0 18px;

  background: rgba(6, 14, 32, 0.30);
  border-top: 1px solid rgba(255, 255, 255, 0.14);

  backdrop-filter: blur(30px) saturate(175%) contrast(120%) brightness(1.10);
  -webkit-backdrop-filter: blur(30px) saturate(175%) contrast(120%) brightness(1.10);
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  opacity: 0.35;
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 28px);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 22px;
  padding-bottom: 18px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.95;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.footer-tagline {
  margin: 0;
  max-width: 46ch;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(229, 237, 255, 0.78);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.footer-col h4 {
  margin: 0 0 10px;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  color: rgba(229, 237, 255, 0.90);
}

.footer-links a {
  display: block;
  padding: 6px 0;
  text-decoration: none;
  font-size: 13px;
  color: rgba(229, 237, 255, 0.82);
  opacity: 0.88;
  transition: opacity 160ms ease, transform 160ms ease;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.footer-links a:hover {
  opacity: 1;
  transform: translateX(2px);
}

.footer-note {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(229, 237, 255, 0.68);
}

.footer-socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;

  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);

  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, opacity 160ms ease;
  opacity: 0.92;
}

.footer-socials a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
  opacity: 1;
}

.footer-socials svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);

  font-size: 12px;
  color: rgba(229, 237, 255, 0.70);
}

.footer-legal {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-legal a {
  text-decoration: none;
  color: rgba(229, 237, 255, 0.74);
  opacity: 0.9;
  transition: opacity 160ms ease, transform 160ms ease;
}

.footer-legal a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-toplink {
  text-decoration: none;
  color: rgba(229, 237, 255, 0.80);
  opacity: 0.9;
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.footer-toplink:hover {
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (hover: hover) and (pointer: fine) {
  .site-footer {
    scroll-snap-align: start;
    /* ✅ umožní dojet a “chytit” footer */
    min-height: auto;
    /* ✅ ať footer není 100vh */
  }
}



.faq .content,
.faq .faq-inner,
.faq .faq-copy {
  max-width: 620px;
}

.faq h2,
.faq p {
  max-width: 620px;
}

/* =========================
   NAVBAR – full width glass (jako karty), zachovat výšku
   ========================= */

.navbar {
  /* full width jako předtím */
  width: 100%;
  left: 0;
  right: 0;

  /* výška zůstane stejná (používáš --nav-h) */
  height: var(--nav-h);

  /* stejné pozadí jako okna */
  background: var(--glass-strong) !important;
  border-bottom: 1px solid var(--glass-border) !important;

  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;

  /* lehký stín jako u karet */
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35) !important;
}

/* ať se nic nerozbije uvnitř */
.nav-inner {
  height: 100%;
}

/* NAVBAR text – víc bílé (bez opacity) */
.nav-brand {
  color: #fff !important;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.98) !important;
  opacity: 1 !important;
}

/* hover/active ještě výraznější */
.nav-links a:hover,
.nav-links a[aria-current="page"],
.nav-links a.active {
  color: #fff !important;
  opacity: 1 !important;
}

/* pokud máš i mobile overlay menu */
.nav-overlay-links a {
  color: rgba(255, 255, 255, 0.98) !important;
  opacity: 1 !important;
}

/* FOOTER – stejné pozadí jako NAVBAR (full width glass) */
.site-footer {
  position: relative;
  /* kvůli ::before, co už tam máš */
  background: var(--glass-strong) !important;
  border-top: 1px solid var(--glass-border) !important;

  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;

  /* volitelné: aby to mělo podobný "depth" jako navbar */
  box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.35) !important;
}

/* =========================================
   HERO 3D OKNO – VELKÉ + UPROSTŘED + GLASS
   vlož na ÚPLNÝ KONEC style.css
   ========================================= */

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
}

.hero-model-card {
  /* velké okno */
  width: min(920px, 92vw) !important;
  max-width: 920px;
  aspect-ratio: 16 / 9;

  /* glass look jako navbar/footer */
  background: var(--glass-strong) !important;
  border: 1px solid var(--glass-border) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;

  border-radius: 26px !important;
  padding: 18px !important;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35) !important;

  /* centrování a layout */
  margin: 0 auto !important;
  overflow: hidden !important;

  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}

.model-circle {
  /* prostor pro model */
  flex: 1 1 auto !important;
  width: 100% !important;
  min-height: 460px;

  border-radius: 18px !important;
  overflow: hidden !important;

  /* lehce oddělit canvas od okraje */
  background: rgba(0, 0, 0, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;

  display: flex !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}

/* viewer musí vyplnit .model-circle */
#model-viewer {
  width: 100% !important;
  height: 100% !important;
}

/* canvas z Three.js musí vyplnit kontejner */
#model-viewer canvas {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* text uvnitř okna + BÍLÝ */
.hero-hint {
  margin: 12px 0 2px !important;
  text-align: center !important;
  font-size: 13px !important;

  color: rgba(255, 255, 255, 0.92) !important;
  opacity: 1 !important;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.35) !important;

  user-select: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-model-card {
    width: min(820px, 94vw) !important;
    aspect-ratio: 4 / 3;
  }

  .model-circle {
    min-height: 380px;
  }
}

@media (max-width: 600px) {
  .model-circle {
    min-height: 320px;
  }
}

/* =========================================
   HERO 3D – jen 1 okno + čtvercový tvar
   vlož na ÚPLNÝ KONEC style.css
   ========================================= */

/* pouze jedno glass okno (outer) */
.hero-model-card {
  width: clamp(380px, 42vw, 640px) !important;
  aspect-ratio: 1 / 1 !important;
  /* čtverec */
  max-width: 640px;

  padding: 18px !important;
  border-radius: 26px !important;

  background: var(--glass-strong) !important;
  border: 1px solid var(--glass-border) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;

  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35) !important;
  overflow: hidden !important;

  display: flex !important;
  flex-direction: column !important;
}

/* ZRUŠÍME “druhé okno” uvnitř */
.model-circle {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-height: 0 !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  border-radius: 18px !important;
  overflow: hidden !important;

  display: flex !important;
  align-items: stretch !important;
  justify-content: stretch !important;
}

/* viewer musí vyplnit celý prostor */
#model-viewer {
  width: 100% !important;
  height: 100% !important;
}

#model-viewer canvas {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
}

/* hint uvnitř okna + bílý */
.hero-hint {
  margin: 12px 0 2px !important;
  text-align: center !important;
  color: rgba(255, 255, 255, 0.92) !important;
  opacity: 1 !important;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.35) !important;
}


/* HERO 3D – zmenšit okno + model cca o 30% */
.hero-model-card {
  /* původně bylo clamp(380px, 42vw, 640px) -> *0.7 ≈ (266px, 29vw, 448px) */
  width: clamp(266px, 29vw, 448px) !important;

  /* když máš čtverec, nech to takto */
  aspect-ratio: 1 / 1 !important;

  padding: 13px !important;
  /* 18 -> ~13 */
  border-radius: 18px !important;
  /* 26 -> ~18 */
}

.model-circle {
  border-radius: 13px !important;
  /* 18 -> ~13 */
}

/* hint uvnitř okna – trochu menší, ať sedí */
.hero-hint {
  margin: 8px 0 2px !important;
  /* 12 -> ~8 */
  font-size: 12px !important;
  /* lehce menší */
}

/* HERO 3D – posun více doprava */
/* HERO 3D – desktop: posun doprava (na mobilech/tabletech vypnuto) */
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .hero-visual {
    align-items: flex-end !important;
  }

  .hero-model-card {
    margin-left: auto !important;
    margin-right: 0 !important;
    transform: translateX(18px) !important;
  }
}



/* 3D okno – méně výrazné, víc “zapadne” do pozadí */
.hero-model-card {
  background: none !important;
  border: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 10px 40px rgba(0, 0, 0, 0.14) !important;
  /* měkčí stín */
  backdrop-filter: blur(18px) saturate(1.05) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.05) !important;
}

/* jemný “tint” aby to sedělo do modrého designu (ne působilo jako šedý panel) */
.hero-model-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(520px 360px at 30% 15%, rgba(120, 190, 255, 0.10), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  opacity: 0.9;
}


/* =========================
   FIXES (navbar blur + scroll freezes)
   ========================= */

/* 1) Navbar: zruš "filter blur" (ten rozmazával celý obsah navbaru) */
.navbar {
  filter: none !important;
}

body.nav-ready .navbar {
  filter: none !important;
}

/* jemnější blur jako dřív (jen backdrop, ne obsah) */
.navbar {
  backdrop-filter: blur(18px) saturate(165%) contrast(115%) brightness(1.06) !important;
  -webkit-backdrop-filter: blur(18px) saturate(165%) contrast(115%) brightness(1.06) !important;
}

.navbar.scrolled {
  backdrop-filter: blur(22px) saturate(175%) contrast(118%) brightness(1.05) !important;
  -webkit-backdrop-filter: blur(22px) saturate(175%) contrast(118%) brightness(1.05) !important;
}

/* 2) Scroll: neaplikuj global "smooth" na celý scroll container (zabíjelo to custom scrollbar) */
html {
  scroll-behavior: auto !important;
}

#page {
  scroll-behavior: auto !important;
}

/* 3) Když používáme JS idle snap, vypni CSS snap, aby se to nepralo */
@media (hover: hover) and (pointer: fine) {
  #page {
    scroll-snap-type: none !important;
  }

  #page>main,
  #page>section {
    scroll-snap-align: none !important;
  }
}


/* --- FIX: navbar má být ostrý (ne blur na celý prvek) --- */
.navbar {
  filter: none !important;
}

/* --- FIX: vypnout CSS snap na desktopu, snap řeší JS (trochu scrollnu => další sekce) --- */
@media (hover: hover) and (pointer: fine) {
  #page {
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    /* důležité pro plynulé tahání side scrollbaru */
  }

  #page>main,
  #page>section {
    scroll-snap-align: none !important;
  }
}

/* =========================================
   HERO 3D – MOBILE/TABLET: POD TEXT + VLEVO + VĚTŠÍ
   vlož na ÚPLNÝ KONEC style.css
   ========================================= */

@media (max-width: 1024px) {

  /* jistota: 1 sloupec */
  .hero-inner {
    grid-template-columns: 1fr !important;
  }

  /* model pod text a vlevo */
  .hero-visual {
    order: 2 !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
  }

  /* větší okno (už nebude malinké) */
  .hero-model-card {
    width: min(448px, 64vw) !important;
    /* 640 → 448, 92vw → 64vw */
    aspect-ratio: 1 / 1 !important;

    margin-left: 0 !important;
    margin-right: auto !important;
    transform: none !important;
  }

  /* aby měl model uvnitř dost prostoru */
  .model-circle {
    min-height: 294px !important;
  }
}

/* menší mobily */
@media (max-width: 600px) {
  .hero-model-card {
    width: min(420px, 90vw) !important;
  }

  .model-circle {
    min-height: 280px !important;
  }
}

/* ===== TEXTAREA scrollbar = stejný jako custom page scrollbar (.csb) ===== */
.contact-form textarea,
.field textarea,
#cmsg{
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #3f82ff rgba(255, 255, 255, 0.06);
}

/* Chrome / Edge / Safari */
.contact-form textarea::-webkit-scrollbar,
.field textarea::-webkit-scrollbar,
#cmsg::-webkit-scrollbar{
  width: 10px;
}

.contact-form textarea::-webkit-scrollbar-track,
.field textarea::-webkit-scrollbar-track,
#cmsg::-webkit-scrollbar-track{
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  margin: 10px 0;
}

.contact-form textarea::-webkit-scrollbar-thumb,
.field textarea::-webkit-scrollbar-thumb,
#cmsg::-webkit-scrollbar-thumb{
  background: #3f82ff;               /* stejné jako .csb-thumb */
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* šipky pryč (u textarea se často zobrazí i když jinde ne) */
.contact-form textarea::-webkit-scrollbar-button,
.field textarea::-webkit-scrollbar-button,
#cmsg::-webkit-scrollbar-button,
.contact-form textarea::-webkit-scrollbar-button:single-button,
.field textarea::-webkit-scrollbar-button:single-button,
#cmsg::-webkit-scrollbar-button:single-button{
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* =========================================
   FIX: stejné pozadí na mobilech/tabletech
   (iOS Safari + scroll v #page)
   ========================================= */

body{
  background: none !important; /* zruš background na body */
}

/* Vrstva s SVG + fallback modrý gradient (vždy stejné) */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;

  background:
    url("assets/Polygon\ Luminary.svg") left center / cover no-repeat,
    linear-gradient(to top,
      #0059ff 0%,
      #002f86 25%,
      #00215e 60%,
      #001b4e 85%,
      #001130 100%
    );

  transform: translateZ(0); /* stabilnější render na iOS */
}

/* Tvoje glow vrstva (může zůstat, jen ji dej nad SVG) */
body::after{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;

  background:
    radial-gradient(900px 520px at 50% 10%, rgba(14,165,233,0.16), transparent 60%),
    radial-gradient(900px 520px at 15% 55%, rgba(37,99,235,0.16), transparent 60%),
    radial-gradient(900px 520px at 85% 70%, rgba(56,189,248,0.12), transparent 60%);
}

/* Obsah musí být průhledný a nad pozadím */
#page{
  position: relative;
  z-index: 1;
  background: transparent !important;

  height: 100vh;
  height: 100dvh; /* mobilní viewport fix */
}

/* Na desktopu klidně centrovat, ať je to stejné jako v DevTools */
@media (min-width: 901px){
  body::before{ background-position: center; }
}

#faq .faq-slider::before{
  content: none !important;
}

/* ===== Contact form helpers (status + honeypot + Turnstile fit) ===== */
.form-status{
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.3;
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.14);
}

.hp{
  position:absolute !important;
  left:-9999px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

/* Make Turnstile not overflow on small screens */
.cf-turnstile{
  max-width: 100%;
}


.contact-form .form-status {
  display: none;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(10, 24, 60, 0.45);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
}

.contact-form .form-status.is-visible {
  display: block;
}

@media (max-width: 900px) {
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }
}

:root { --vh: 1vh; }
#page, .hero, .section, #contact { min-height: calc(var(--vh) * 100); }

a[href^="tel:"]{
  color: inherit !important;
  text-decoration: none !important;
  -webkit-text-fill-color: currentColor;
}

/* iOS: zabrání zoomu při psaní (font musí být min 16px) */
@media (max-width: 900px) {
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }
}

/* iOS: stabilní výška pro #page přes JS proměnnou */
:root { --app-height: 100dvh; }

#page {
  height: var(--app-height);
  overscroll-behavior-y: none; /* omezí iOS “bounce” */
  -webkit-overflow-scrolling: touch;
}


.contact-form .form-status { display:none; }
.contact-form .form-status.is-visible { display:block; }

/* Status lišta jen když JS nastaví .is-visible */
.form-status { display: none !important; }
.form-status.is-visible { display: block !important; }


/* iOS Safari: zabrání zoomu při focusu (musí být >=16px) */
@media (max-width: 900px){
  .contact-form input,
  .contact-form textarea,
  .contact-form select{
    font-size: 16px;
  }
}


:root{ --app-h: 100dvh; }

html, body{
  height: 100%;
  overflow: hidden;
}

/* Hide native scrollbar on touch devices (keep only custom blue scrollbar) */
@media (hover: none) and (pointer: coarse){
  #page{
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  #page::-webkit-scrollbar{
    width: 0 !important;
    height: 0 !important;
  }
}

/* iOS Safari: prevent zoom on focus */
@media (max-width: 900px){
  .contact-form input,
  .contact-form textarea,
  .contact-form select{
    font-size: 16px;
  }
}

/* =========================
   FORM STATUS — variants
   ========================= */
.form-status.is-success{
  border-color: rgba(34,197,94,0.35) !important;
  background: rgba(34,197,94,0.12) !important;
}

.form-status.is-error{
  border-color: rgba(239,68,68,0.35) !important;
  background: rgba(239,68,68,0.10) !important;
}

.form-status.is-info{
  border-color: rgba(59,130,246,0.35) !important;
  background: rgba(59,130,246,0.12) !important;
}

.contact-btn[disabled]{
  opacity: 0.75;
  cursor: not-allowed;
}
/* Use Cases specifické styly */
.use-case-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.use-case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 189, 248, 0.4);
}

.use-case-card .card-icon svg {
  color: #6282b5; /* Sjednocení barvy ikon s akcentem IXOXI */
}

.use-case-card h3 {
  margin-top: 10px;
  margin-bottom: 8px;
}
/* === HERO 1 (BLACK EDITION) === */

.hero1 {
  position: relative;
  width: 100%;
  height: 100vh;      /* Přes celou výšku */
  min-height: 600px;
  background-color: #000000; /* Černé pozadí */
  overflow: hidden;
  color: #ffffff;
  display: flex;
  align-items: center; /* Vertikální centrování textu */
  justify-content: center;
}

/* -- VRSTVA MODELU (Absolutní pozadí) -- */
.layer-model1 {
  position: absolute;
  inset: 0; /* Roztáhne se do všech stran */
  z-index: 1;
}

#model-viewer1 {
  width: 100%;
  height: 100%;
  outline: none;
  cursor: grab; /* Aby uživatel věděl, že může točit */
}

#model-viewer1:active {
  cursor: grabbing;
}

/* Gradient, aby byl text čitelný i přes model */
.hero-overlay1 {
  position: absolute;
  inset: 0;
  pointer-events: none; /* Propustí kliknutí na model */
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 80%, #000 100%);
}

/* -- VRSTVA OBSAHU (Popředí) -- */
.layer-content1 {
  position: relative;
  z-index: 2; /* Musí být nad modelem */
  width: 100%;
  max-width: 1320px;
  padding: 0 clamp(16px, 6vw, 72px);
  pointer-events: none; /* DŮLEŽITÉ: Propustí myš skrz prázdná místa na model */
}

.hero-inner1 {
  max-width: 800px; /* Užší šířka textu pro lepší čitelnost */
  /* Pokud chcete text na střed: */
  margin: 0 auto; 
  text-align: center;
  
  /* Pokud chcete text vlevo, odkomentujte: */
  /* margin: 0; text-align: left; */
}

/* Povolíme interakci s textem a tlačítky (kvůli pointer-events: none výše) */
.hero-inner1 > * {
  pointer-events: auto;
}

/* -- TYPOGRAFIE (Zachován styl, nové třídy) -- */
.hero-tag1 {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #38bdf8; /* Světle modrá */
  margin-bottom: 24px;
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  backdrop-filter: blur(4px);
}

.hero-title1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 6vw, 72px); /* Velký nadpis */
  line-height: 1.1;
  margin: 0 0 32px;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8); /* Stín pro čitelnost */
}

.hero-title1 span {
  background: linear-gradient(135deg, #fff 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead1 {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 42px; /* Auto margin centruje, pokud je text-align center */
  max-width: 600px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* -- BUTTONS 1 -- */
.hero-actions1 {
  display: flex;
  gap: 20px;
  justify-content: center; /* Nebo flex-start pro zarovnání vlevo */
}

.btn1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: 99px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.btn-primary1 {
  background: #fff;
  color: #000;
  border: 2px solid #fff;
}

.btn-primary1:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* -- HINT -- */
.hero-hint1 {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: overlay; /* Aby splynul s pozadím */
  /* Pojistka pro plynulé mizení přes JS */
  will-change: opacity;
  transition: opacity 0.1s linear; /* Krátký čas pro jemnost, ale ne zpoždění */
}

/* -- RESPONSIVE -- */
@media (max-width: 768px) {
  .hero-inner1 {
    text-align: center;
  }
  .hero-actions1 {
    justify-content: center;
  }
}
#features {
  height: 100vh !important;
}
/* === FADE EFEKT PRO CELOU HERO SEKCI === */
.hero1 {
  /* Aby změna průhlednosti nezatěžovala procesor */
  will-change: opacity;
  /* Zajistí, že je vespod a další sekce přes ni může přejet */
  position: relative;
  z-index: 1; 
}

/* Modrá sekce musí být nad ní */
#features {
  position: relative;
  z-index: 10;
}
/* === SKRÝVÁNÍ OBSAHU PŘI ROTACI MODELU === */

/* 1. Nastavíme plynulý přechod pro obsahovou vrstvu */
.layer-content1,
.hero-hint1 {
  transition: opacity 0.5s ease-in-out; /* Rychlé, ale plynulé zmizení */
  opacity: 1;
}

/* 2. Třída, která obsah skryje (přidáme ji přes JS) */
.layer-content1.is-interacting,
.hero-hint1.is-interacting {
  opacity: 0;
  pointer-events: none; /* Důležité: vypne klikání na neviditelné prvky */
}
/* === MOBILE RESPONSIVE: USE CASES === */

/* 1. Pro tablety a menší laptopy (pod 1024px) */
@media (max-width: 1024px) {
  .grid-cards {
    /* Místo 3 sloupců uděláme 2 */
    grid-template-columns: repeat(2, 1fr); 
    gap: 20px;
  }
}

/* 2. Pro mobily (pod 768px) */
@media (max-width: 768px) {
  .grid-cards {
    /* Karty hezky pod sebe */
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .use-case-card {
    /* Menší vnitřní odsazení, aby se tam vešlo víc textu */
    padding: 24px;
    
    /* Na mobilu často nepotřebujeme fixní výšku, ať se natáhne podle textu */
    min-height: auto; 
  }

  /* Úprava velikosti nadpisů v kartách */
  .use-case-card h3 {
    font-size: 1.2rem; /* Trochu menší než na desktopu */
    margin-bottom: 10px;
  }

  /* Úprava velikosti ikonek */
  .card-icon svg {
    width: 32px;
    height: 32px;
  }
}
/* === FIX: VÝŠKA SEKCE FEATURES (Aby se obsah nemačkal) === */

#features, 
.section {
  /* 1. DŮLEŽITÉ: Zrušíme pevnou výšku. */
  height: auto !important;
  
  /* 2. Nastavíme MINIMÁLNÍ výšku na celou obrazovku.
        To znamená: "Buď aspoň přes celou obrazovku, 
        ale když je textu moc, klidně se natáhni dál." */
  min-height: 100vh;
  
  /* 3. Přidáme pořádné odsazení nahoře a dole, aby to dýchalo */
  padding-top: 140px;    /* Místo pro navbar + vzduch */
  padding-bottom: 100px;
  
  /* 4. Zajistíme, že se to nebude snažit centrovat, pokud se to nevejde */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centruje jen pokud je místo, jinak se roztáhne */
}

/* Pojistka pro vnitřní kontejner */
.section-inner {
  height: auto !important;
  min-height: auto !important;
}

/* === SPECIFICKY PRO MOBILY A TABLETY === */
@media (max-width: 1024px) {
  #features, 
  .section {
    /* Na mobilu často nechceme ani min-height: 100vh, 
       protože klávesnice prohlížeče to může rozbíjet. 
       Necháme to čistě na obsahu. */
    min-height: auto !important;
    padding-top: 100px;
    padding-bottom: 60px;
    
    /* Vypneme Flex centrování, ať to jde hezky odshora dolů */
    display: block;
  }
}
/* === FIX: ZAROVNÁNÍ SPECIFIKACÍ (Vlevo - Vpravo) === */

.spec-row {
  display: flex !important;       /* Vždy vedle sebe */
  justify-content: space-between; /* Roztáhnout do krajů */
  align-items: flex-start;        /* Zarovnat nahoru (kdyby se text zalamoval) */
  gap: 15px;                      /* Minimální mezera mezi názvem a hodnotou */
  width: 100%;
}

/* Název parametru (vlevo) */
.spec-row span {
  text-align: left;
  flex-shrink: 0;      /* Zakázat zmenšování názvu */
  white-space: nowrap; /* Zakázat zalamování názvu (aby "Power Supply" bylo na řádku) */
}

/* Hodnota parametru (vpravo) */
.spec-row b {
  text-align: right;   /* Vynutit zarovnání doprava */
  flex-grow: 1;        /* Zabrat zbytek místa */
  
  /* Povolit zalamování, ale držet se vpravo */
  word-wrap: break-word; 
  display: block;      
}