.skip-link {
  position: fixed;
  left: 16px;
  top: 8px;
  z-index: 1000;
  padding: 10px 14px;
  color: #07101c;
  background: #b7ff4a;
  border-radius: 4px;
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform .2s;
}

.skip-link:focus { transform: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition: transform .2s, opacity .2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 4px;
}

/* Jemné pohybové detaily – podporují futuristický dojem, ale neruší obsah. */
@keyframes chart-rise {
  from { transform: scaleY(.08); opacity: .25; }
  to { transform: scaleY(1); opacity: 1; }
}

@keyframes card-arrive {
  from { transform: translate3d(0, 16px, 0); opacity: 0; }
  to { transform: translate3d(0, 0, 0); opacity: 1; }
}

@keyframes signal-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(183, 255, 74, 0); }
  50% { box-shadow: 0 0 0 7px rgba(183, 255, 74, .12); }
}

.hero .chart span {
  transform-origin: center bottom;
  animation: chart-rise .75s cubic-bezier(.2, .8, .2, 1) both;
}

.hero .chart span:nth-child(2) { animation-delay: .06s; }
.hero .chart span:nth-child(3) { animation-delay: .12s; }
.hero .chart span:nth-child(4) { animation-delay: .18s; }
.hero .chart span:nth-child(5) { animation-delay: .24s; }
.hero .chart span:nth-child(6) { animation-delay: .30s; }
.hero .chart span:nth-child(7) { animation-delay: .36s; }

.hero .float-card {
  animation: card-arrive .65s .35s cubic-bezier(.2, .8, .2, 1) both;
}

.hero .float-two { animation-delay: .5s; }
.hero .mini-mark { animation: signal-pulse 3.2s 1.2s ease-in-out infinite; }

@media (max-width: 850px) {
  .site-header .menu-toggle { display: block; margin-left: auto; }
  .site-header .button-small { margin-left: 12px; }
  .site-header nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: rgba(7, 16, 28, .97);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }

  .site-header nav.open { opacity: 1; visibility: visible; transform: none; }
  .site-header nav a { padding: 12px 14px; border-radius: 4px; }
  .site-header nav a:hover,
  .site-header nav a:focus-visible { background: rgba(69, 244, 255, .08); }
}

@media (max-width: 520px) {
  .site-header .button-small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero .chart span,
  .hero .float-card,
  .hero .mini-mark { animation: none !important; }
}
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 3px;
  border: 1px solid rgba(69, 244, 255, .32);
  border-radius: 999px;
  background: rgba(3, 11, 22, .82);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03), 0 0 18px rgba(69, 244, 255, .08);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.language-switcher a,
.language-switcher span {
  display: grid;
  min-width: 2.35rem;
  height: 1.85rem;
  place-items: center;
  border-radius: 999px;
  color: rgba(232, 241, 249, .68);
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.language-switcher span[aria-current="page"] {
  background: var(--mint, #b7ff4a);
  color: #07101c;
  box-shadow: 0 0 14px rgba(183, 255, 74, .22);
}

.language-switcher a:hover,
.language-switcher a:focus-visible {
  background: rgba(69, 244, 255, .12);
  color: #fff;
}

@media (max-width: 760px) {
  .site-header .language-switcher { margin-left: auto; }
}
