/* ============================================================
   BAKURALAB — DARK TECH DESIGN SYSTEM v3
   Fonty: Exo 2 (nadpisy, plná čeština) + DM Sans (text) + IBM Plex Mono (labels)
   Obsahuje: dark theme, light theme toggle, hero animace layout
   ============================================================ */

/* ── FONTY — plná podpora češtiny ────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ── DARK THEME PROMĚNNÉ — světlejší s gradienty ─────────── */
[data-theme="dark"],
:root {
  --clr-bg:           #0d1628;  /* tmavá navy místo černé */
  --clr-bg-alt:       #111e38;
  --clr-bg-dark:      #091020;
  --clr-surface:      #162040;
  --clr-surface-alt:  #1a2848;

  --clr-primary:        #00d4ff;
  --clr-primary-dark:   #0099bb;
  --clr-primary-light:  rgba(0, 212, 255, 0.12);

  --clr-accent:         #2979ff;
  --clr-accent-light:   rgba(41, 121, 255, 0.12);

  --clr-text:         #d4dcf0;
  --clr-text-muted:   #7a8aaa;
  --clr-text-light:   #4a5a7a;
  --clr-text-inverse: #ffffff;

  --clr-border:        rgba(0, 212, 255, 0.11);
  --clr-border-strong: rgba(0, 212, 255, 0.25);

  --font-display: 'Exo 2', 'DM Sans', sans-serif;
  --font-body:    'DM Sans', 'Exo 2', sans-serif;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.40);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.50);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.60);
  --shadow-xl:  0 32px 80px rgba(0,0,0,0.70);
}

/* ── LIGHT THEME PROMĚNNÉ ─────────────────────────────────── */
[data-theme="light"] {
  --clr-bg:           #ffffff;
  --clr-bg-alt:       #f5f7fa;
  --clr-bg-dark:      #eef0f5;
  --clr-surface:      #ffffff;
  --clr-surface-alt:  #f9fafb;

  --clr-primary:        #0066dd;
  --clr-primary-dark:   #004db5;
  --clr-primary-light:  rgba(0, 102, 221, 0.08);

  --clr-accent:         #2979ff;
  --clr-accent-light:   rgba(41, 121, 255, 0.08);

  --clr-text:         #1a1e2e;
  --clr-text-muted:   #5a6480;
  --clr-text-light:   #8892b0;
  --clr-text-inverse: #ffffff;

  --clr-border:        rgba(0, 0, 0, 0.07);
  --clr-border-strong: rgba(0, 0, 0, 0.14);

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.12);
  --shadow-xl:  0 32px 80px rgba(0,0,0,0.14);
}

/* ────────────────────────────────────────────────────────────
   DARK THEME STYLY
   ──────────────────────────────────────────────────────────── */

/* ── BODY — světlé navy s gradientem ──────────────────────── */
[data-theme="dark"] html,
[data-theme="dark"] body,
html[data-theme="dark"],
body {
  background-color: #0d1628 !important;
  background-image:
    linear-gradient(160deg,
      #0f1e3a 0%,
      #0d1628 30%,
      #0a1830 60%,
      #0d1f3c 100%) !important;
  background-attachment: fixed !important;
  color: #d4dcf0 !important;
}

/* ── SERVICES DROPDOWN NAV ──────────────────────────────── */
.nav__item {
  position: relative;
}

.nav__item > .nav__link {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav__dropdown-arrow {
  transition: transform .2s ease;
  flex-shrink: 0;
  opacity: 0.6;
}

.nav__item.is-open .nav__dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 10px; /* invisible bridge between trigger and panel */
  z-index: 500;
  pointer-events: none; /* prevent catching hover before button is reached */
}

.nav__dropdown::before {
  /* actual visible panel */
  content: '';
  display: none;
}

.nav__dropdown-panel {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border-strong);
  border-radius: 14px;
  padding: 6px;
  min-width: 248px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 1px rgba(0,212,255,0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
  transform: translateY(-6px);
}

.nav__item.is-open .nav__dropdown {
  pointer-events: all;
}

.nav__item.is-open .nav__dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateY(0);
}

.nav__dropdown-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--clr-text-muted);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
  transition: background .15s, color .15s;
}

.nav__dropdown-link:hover,
.nav__dropdown-link[aria-current="page"] {
  background: rgba(0,212,255,0.07);
  color: var(--clr-primary);
}

.nav__dropdown-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(0,212,255,0.08);
  color: var(--clr-primary);
}

[data-theme="light"] .nav__dropdown {
  background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
}

[data-theme="light"] .nav__dropdown-link:hover,
[data-theme="light"] .nav__dropdown-link[aria-current="page"] {
  background: rgba(0,102,221,0.05);
  color: var(--clr-primary);
}

[data-theme="light"] .nav__dropdown-icon {
  background: rgba(0,102,221,0.08);
}

/* Čtvercová mřížka skryta — nahrazena hex canvas (hex-bg.js) */
[data-theme="dark"] body::before,
body::before {
  display: none !important;
}

@keyframes gridDrift {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* Ambient color orbs — výraznější na světlejším pozadí */
[data-theme="dark"] body::after,
body::after {
  background:
    radial-gradient(ellipse at 10% 15%, rgba(0, 160, 255, 0.18) 0%, transparent 40%),
    radial-gradient(ellipse at 88% 80%, rgba(80, 0, 255, 0.12) 0%, transparent 40%),
    radial-gradient(ellipse at 55%  5%, rgba(0, 212, 255, 0.10) 0%, transparent 45%),
    radial-gradient(ellipse at 25% 92%, rgba(0, 100, 220, 0.14) 0%, transparent 40%),
    radial-gradient(ellipse at 75% 45%, rgba(120, 0, 255, 0.08) 0%, transparent 35%) !important;
  filter: blur(55px) !important;
  animation: none !important;
}

@keyframes orbPulse {
  0%   { transform: scale(1) translate(0, 0);     opacity: 0.75; }
  40%  { transform: scale(1.06) translate(2vw, -2vh); opacity: 1; }
  100% { transform: scale(1.02) translate(-2vw, 1vh);  opacity: 0.85; }
}

/* ════════════════════════════════════════════════════════════
   LIGHT THEME — bílé pozadí, bold barevné elementy
   Paleta: #ffffff základ · #0055FF modrá · #FF5500 oranžová
   ════════════════════════════════════════════════════════════ */

/* ── Vypnout dark-only efekty ─────────────────────────────── */
[data-theme="light"] body::before { display: none !important; }
[data-theme="light"] body::after  { display: none !important; }

/* Normální kurzor */
[data-theme="light"] body,
[data-theme="light"] a,
[data-theme="light"] button,
[data-theme="light"] [role="button"],
[data-theme="light"] label,
[data-theme="light"] .card,
[data-theme="light"] .gallery-item {
  cursor: auto !important;
}
[data-theme="light"] .cursor-dot,
[data-theme="light"] .cursor-ring { display: none !important; }

[data-theme="light"] html,
[data-theme="light"] body {
  background-color: #ffffff !important;
  color: #1a1e2e !important;
}

/* ── SECTIONS — střídání gradientů ────────────────────────── */
[data-theme="dark"] .section { background: transparent !important; }
[data-theme="dark"] .section--alt {
  background: linear-gradient(
    135deg,
    rgba(10, 20, 48, 0.75) 0%,
    rgba(15, 28, 58, 0.80) 50%,
    rgba(12, 22, 50, 0.75) 100%
  ) !important;
  border-top: 1px solid rgba(0, 212, 255, 0.08) !important;
  border-bottom: 1px solid rgba(0, 212, 255, 0.08) !important;
}

/* ── SECTIONS ─────────────────────────────────────────────── */
[data-theme="light"] .section { background: #ffffff !important; }
[data-theme="light"] .section--alt {
  background: linear-gradient(180deg, #f8faff 0%, #f4f7ff 100%) !important;
  border-top: 1px solid rgba(0,85,255,0.07) !important;
  border-bottom: 1px solid rgba(0,85,255,0.07) !important;
}

/* ── HEADER — výška a vycentrování ────────────────────────── */
:root { --header-height: 80px; }

.header {
  height: var(--header-height) !important;
}
.header__inner {
  height: var(--header-height) !important;
  padding: 0 0 !important;
}

/* ── Logo — větší a výraznější ── */
.header__logo img {
  height: 44px !important;
  width: auto !important;
}
.header__logo-text {
  font-size: 1.25rem !important;
  letter-spacing: -0.01em !important;
}

/* ── DARK HEADER — light glass (logo visible) ──────────────── */
[data-theme="dark"] .header {
  background: rgba(240, 244, 255, 0.93) !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 4px 24px rgba(0, 0, 0, 0.12) !important;
}
[data-theme="dark"] .header.scrolled {
  background: rgba(248, 250, 255, 0.97) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 8px 32px rgba(0,0,0,0.14) !important;
}

/* ── LIGHT HEADER ─────────────────────────────────────────── */
[data-theme="light"] .header {
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(24px) !important;
  border-bottom: 1px solid rgba(0,85,255,0.08) !important;
  box-shadow: 0 1px 0 rgba(0,85,255,0.06), 0 4px 20px rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .header.scrolled {
  background: rgba(255,255,255,0.99) !important;
  box-shadow: 0 1px 0 rgba(0,85,255,0.10), 0 8px 32px rgba(0,0,0,0.08) !important;
}

/* ── Logo texty ────────────────────────────────────────────── */
[data-theme="dark"] .header__logo-text {
  color: #0a0f1e !important;
  font-family: 'Exo 2', sans-serif !important;
  font-weight: 800 !important;
}
[data-theme="dark"] .header__logo-text span {
  color: var(--clr-primary) !important;
  text-shadow: none !important;
}
[data-theme="light"] .header__logo-text {
  color: #0a0f1e !important;
  font-family: 'Exo 2', sans-serif !important;
  font-weight: 800 !important;
}
[data-theme="light"] .header__logo-text span { color: #0055ff !important; }

[data-theme="dark"] .nav__link {
  color: #2d3748 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.02em !important;
  font-weight: 600 !important;
}
[data-theme="dark"] .nav__link:hover,
[data-theme="dark"] .nav__link[aria-current="page"] {
  color: #0055ff !important;
}
[data-theme="light"] .nav__link {
  color: #1a202c !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  transition: color 0.2s ease !important;
}
[data-theme="light"] .nav__link:hover,
[data-theme="light"] .nav__link[aria-current="page"] {
  color: #0055ff !important;
}

/* ── THEME TOGGLE BUTTON ──────────────────────────────────── */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(0, 212, 255, 0.20);
  background: rgba(0, 212, 255, 0.06);
  color: rgba(0, 212, 255, 0.80);
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
[data-theme="light"] .theme-toggle {
  border-color: rgba(0,85,255,0.18);
  background: rgba(0,85,255,0.06);
  color: #0055ff;
}
.theme-toggle:hover {
  background: rgba(0, 212, 255, 0.14);
  border-color: rgba(0, 212, 255, 0.45);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.20);
  transform: scale(1.08);
}
[data-theme="light"] .theme-toggle:hover {
  background: rgba(0, 102, 221, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
}

/* ── SCROLL PROGRESS ──────────────────────────────────────── */
[data-theme="dark"] .scroll-progress {
  background: linear-gradient(90deg, var(--clr-primary), #0066ff) !important;
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.5) !important;
}
[data-theme="light"] .scroll-progress {
  background: linear-gradient(90deg, #0055ff, #ff5500) !important;
  box-shadow: 0 0 8px rgba(0,85,255,0.3) !important;
}

/* ── HERO SECTION ─────────────────────────────────────────── */

/* FIX: žádný modrý overlay na obrázcích */
.hero__overlay {
  background: linear-gradient(
    135deg,
    rgba(7, 9, 15, 0.05) 0%,
    rgba(7, 9, 15, 0.15) 55%,
    rgba(7, 9, 15, 0.30) 100%
  ) !important;
}
[data-theme="light"] .hero__overlay {
  display: none !important;
}

.hero__bg {
  opacity: 0.38 !important;
  filter: brightness(0.85) contrast(1.1) saturate(0.75) !important;
}
[data-theme="light"] .hero__bg {
  display: none !important;
}

[data-theme="light"] .hero {
  background: linear-gradient(160deg, #ffffff 0%, #f0f5ff 50%, #e8f0ff 100%) !important;
}
[data-theme="light"] .hero::before { display: none !important; }
[data-theme="light"] .hero::after  { display: none !important; }

/* Hero scan line — odstraněno */

/* Hero grid overlay — nahrazeno hex-bg.js canvas */
[data-theme="dark"] .hero::after {
  display: none !important;
}

/* ── HERO DVOUSLOUPCOVÉ ROZLOŽENÍ S ANIMACÍ ───────────────── */
.hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.hero__anim-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__anim-col canvas {
  border: 1px solid rgba(0, 212, 255, 0.18) !important;
  border-radius: 10px !important;
  box-shadow:
    0 0 40px rgba(0, 212, 255, 0.10),
    0 24px 64px rgba(0, 0, 0, 0.7) !important;
  max-width: 100%;
}

[data-theme="light"] .hero__anim-col canvas {
  border-color: rgba(0, 102, 221, 0.15) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
}

@media (max-width: 900px) {
  .hero__layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero__anim-col {
    order: -1; /* animace nahoře na mobilu */
  }
}

/* Glow shapes – přebarvení */
[data-theme="dark"] .hero__shape--1 {
  background: radial-gradient(circle, rgba(0,212,255,0.18) 0%, transparent 70%) !important;
}
[data-theme="dark"] .hero__shape--2 {
  background: radial-gradient(circle, rgba(255,77,0,0.12) 0%, transparent 70%) !important;
}
[data-theme="dark"] .hero__shape--3 {
  background: radial-gradient(circle, rgba(0,100,255,0.10) 0%, transparent 70%) !important;
}

/* Hero texty */
[data-theme="dark"] .hero__title {
  font-family: 'Exo 2', sans-serif !important;
  font-weight: 800 !important;
  color: #eef0f8 !important;
  text-shadow: 0 2px 40px rgba(0,0,0,0.8) !important;
}
[data-theme="dark"] .hero__title strong {
  color: var(--clr-primary) !important;
  text-shadow: 0 0 30px rgba(0,212,255,0.5), 0 0 60px rgba(0,212,255,0.25) !important;
}
[data-theme="light"] .hero__title {
  font-family: 'Exo 2', sans-serif !important;
  font-weight: 800 !important;
  color: #1a1e2e !important;
}
[data-theme="light"] .hero__title strong { color: var(--clr-primary) !important; }

[data-theme="dark"] .hero__subtitle {
  color: rgba(200, 208, 228, 0.88) !important;
  font-family: 'DM Sans', sans-serif !important;
}
[data-theme="light"] .hero__subtitle {
  color: #5a6480 !important;
  font-family: 'DM Sans', sans-serif !important;
}

[data-theme="dark"] .hero__badge {
  border: 1px solid rgba(34,209,122,0.30) !important;
  background: rgba(34,209,122,0.07) !important;
  color: #22d17a !important;
  font-family: 'IBM Plex Mono', monospace !important;
}
[data-theme="light"] .hero__badge {
  border: 1px solid rgba(0,102,221,0.20) !important;
  background: rgba(0,102,221,0.06) !important;
  color: var(--clr-primary) !important;
  font-family: 'IBM Plex Mono', monospace !important;
}
[data-theme="dark"] .hero__badge-dot {
  background: #22d17a !important;
  box-shadow: 0 0 8px rgba(34,209,122,0.7) !important;
}

/* Hero stats — moved to standalone section below hero; hide if still in DOM */
.hero__stats { display: none !important; }
[data-theme="dark"] .hero__stat-value {
  color: var(--clr-primary) !important;
  font-family: 'Exo 2', sans-serif !important;
  font-weight: 800 !important;
  text-shadow: 0 0 20px rgba(0,212,255,0.4) !important;
}
[data-theme="light"] .hero__stat-value {
  color: var(--clr-primary) !important;
  font-family: 'Exo 2', sans-serif !important;
  font-weight: 800 !important;
}
[data-theme="dark"] .hero__stat-label {
  color: #6b7a99 !important;
  font-family: 'DM Sans', sans-serif !important;
}
[data-theme="light"] .hero__stat-label {
  color: #8892b0 !important;
  font-family: 'DM Sans', sans-serif !important;
}

/* ── TLAČÍTKA ─────────────────────────────────────────────── */
[data-theme="dark"] .btn--primary {
  background: linear-gradient(135deg, #00aadd, #0066ff) !important;
  border: 1px solid rgba(0,212,255,0.3) !important;
  box-shadow: 0 0 20px rgba(0,180,255,0.22), 0 4px 12px rgba(0,0,0,0.5),
              inset 0 1px 0 rgba(255,255,255,0.10) !important;
  color: #fff !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
}
[data-theme="dark"] .btn--primary:hover {
  box-shadow: 0 0 35px rgba(0,212,255,0.45), 0 8px 24px rgba(0,0,0,0.6) !important;
}
[data-theme="light"] .btn--primary {
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700 !important;
}

[data-theme="dark"] .btn--secondary {
  background: rgba(0,50,160,0.08) !important;
  border: 1.5px solid #0044cc !important;
  color: #0033aa !important;
  font-family: 'DM Sans', sans-serif !important;
  font-weight: 700 !important;
}
[data-theme="dark"] .btn--secondary:hover {
  border-color: #0055ff !important;
  color: #0055ff !important;
  background: rgba(0,85,255,0.12) !important;
}
[data-theme="light"] .btn--secondary { font-family: 'DM Sans', sans-serif !important; }

/* Pulse na CTA */
[data-theme="dark"] .btn--primary::before {
  content: '';
  position: absolute; inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(0,212,255,0.3), rgba(0,102,255,0.3));
  opacity: 0;
  animation: btnPulse 3s ease-in-out infinite;
  z-index: -1;
}
@keyframes btnPulse {
  0%, 100% { opacity: 0; transform: scale(1); }
  50%       { opacity: 1; transform: scale(1.05); }
}

/* ── FLOATING POPTÁVKA BUTTON ─────────────────────────────── */
.float-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0055ff;
  color: #fff !important;
  font-family: 'DM Sans', sans-serif;
  font-size: .9375rem;
  font-weight: 700;
  padding: .75rem 1.375rem;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 4px 20px rgba(0,85,255,.45), 0 1px 4px rgba(0,0,0,.2);
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, box-shadow .2s ease;
}
.float-cta.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.float-cta:hover {
  background: #0044d4 !important;
  box-shadow: 0 6px 28px rgba(0,85,255,.6), 0 2px 8px rgba(0,0,0,.2) !important;
  transform: translateY(-2px) scale(1.03) !important;
}
.float-cta svg { flex-shrink: 0; }
@keyframes floatPing {
  0%   { box-shadow: 0 4px 20px rgba(0,85,255,.45), 0 0 0 0 rgba(0,85,255,.4); }
  70%  { box-shadow: 0 4px 20px rgba(0,85,255,.45), 0 0 0 12px rgba(0,85,255,0); }
  100% { box-shadow: 0 4px 20px rgba(0,85,255,.45), 0 0 0 0 rgba(0,85,255,0); }
}
.float-cta.visible { animation: floatPing 2.5s ease-out 1s 3; }
@media (max-width: 480px) {
  .float-cta { bottom: 16px; right: 16px; font-size: .875rem; padding: .65rem 1.1rem; }
}

/* ── KARTY ────────────────────────────────────────────────── */
[data-theme="dark"] .card {
  background: linear-gradient(
    145deg,
    rgba(20, 32, 62, 0.90) 0%,
    rgba(16, 26, 52, 0.88) 60%,
    rgba(18, 30, 58, 0.85) 100%
  ) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  border: 1px solid rgba(0, 212, 255, 0.11) !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04) !important;
}
[data-theme="dark"] .card:hover {
  border-color: rgba(0, 212, 255, 0.32) !important;
  box-shadow:
    0 0 30px rgba(0,212,255,0.12),
    0 20px 50px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(0,212,255,0.10) !important;
  background: linear-gradient(
    145deg,
    rgba(22, 36, 70, 0.95) 0%,
    rgba(18, 30, 60, 0.92) 100%
  ) !important;
}
[data-theme="light"] .card {
  background: #fff !important;
  border: 1px solid rgba(0,0,0,0.07) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
}
[data-theme="light"] .card:hover {
  border-color: rgba(0,102,221,0.20) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10) !important;
}

[data-theme="dark"] .card__title,
[data-theme="dark"] .card h3,
[data-theme="dark"] .card h4 {
  color: #e8eaf8 !important;
  font-family: 'Exo 2', sans-serif !important;
  font-weight: 700 !important;
}
[data-theme="light"] .card__title,
[data-theme="light"] .card h3,
[data-theme="light"] .card h4 {
  font-family: 'Exo 2', sans-serif !important;
  font-weight: 700 !important;
  color: #1a1e2e !important;
}

[data-theme="dark"] .card__desc,
[data-theme="dark"] .card p {
  color: #6b7a99 !important;
  font-family: 'DM Sans', sans-serif !important;
}
[data-theme="light"] .card__desc,
[data-theme="light"] .card p {
  font-family: 'DM Sans', sans-serif !important;
  color: #5a6480 !important;
}

[data-theme="dark"] .card__icon {
  background: rgba(0,212,255,0.08) !important;
  border: 1px solid rgba(0,212,255,0.15) !important;
  color: var(--clr-primary) !important;
}
[data-theme="dark"] .card:hover .card__icon {
  background: var(--clr-primary) !important;
  box-shadow: 0 0 24px rgba(0,212,255,0.5), 0 0 48px rgba(0,212,255,0.2) !important;
  color: #ffffff !important;
}

/* ── SECTION HEADERS ──────────────────────────────────────── */
[data-theme="dark"] h1, [data-theme="dark"] h2,
[data-theme="dark"] h3, [data-theme="dark"] h4 {
  font-family: 'Exo 2', sans-serif !important;
  color: #e8eaf8;
}
[data-theme="light"] h1, [data-theme="light"] h2,
[data-theme="light"] h3, [data-theme="light"] h4 {
  font-family: 'Exo 2', sans-serif !important;
  color: #1a1e2e;
}

[data-theme="dark"] p, [data-theme="dark"] li, [data-theme="dark"] span {
  font-family: 'DM Sans', sans-serif !important;
}
[data-theme="light"] p, [data-theme="light"] li { font-family: 'DM Sans', sans-serif !important; }

[data-theme="dark"] .section__title,
[data-theme="dark"] .section-header h2 {
  color: #e8eaf8 !important;
}
[data-theme="dark"] .section__title span,
[data-theme="dark"] .section-header h2 span {
  color: var(--clr-primary) !important;
  text-shadow: 0 0 30px rgba(0,212,255,0.35) !important;
}
[data-theme="light"] .section__title span,
[data-theme="light"] .section-header h2 span { color: var(--clr-primary) !important; }

[data-theme="dark"] .eyebrow {
  color: #22d17a !important;
  font-family: 'IBM Plex Mono', monospace !important;
  text-shadow: 0 0 12px rgba(34,209,122,0.35) !important;
  border-color: rgba(34,209,122,0.25) !important;
  background: rgba(34,209,122,0.06) !important;
}
[data-theme="light"] .eyebrow {
  color: var(--clr-primary) !important;
  font-family: 'IBM Plex Mono', monospace !important;
}

/* ── TECH TAGY ────────────────────────────────────────────── */
[data-theme="dark"] .tech-tag {
  background: rgba(0,212,255,0.06) !important;
  border: 1px solid rgba(0,212,255,0.18) !important;
  color: var(--clr-primary) !important;
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 0.72rem !important;
}
[data-theme="dark"] .tech-tag:hover {
  background: rgba(0,212,255,0.15) !important;
  border-color: rgba(0,212,255,0.50) !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(0,212,255,0.3) !important;
}
[data-theme="light"] .tech-tag {
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 0.72rem !important;
}

/* ── STATS ────────────────────────────────────────────────── */
[data-theme="dark"] .stat-card {
  background: linear-gradient(
    135deg,
    rgba(18, 30, 60, 0.85) 0%,
    rgba(14, 24, 50, 0.80) 100%
  ) !important;
  border: 1px solid rgba(0,212,255,0.11) !important;
}
[data-theme="dark"] .stat-card::before {
  background: linear-gradient(to right, transparent, var(--clr-primary), transparent) !important;
}
[data-theme="dark"] [class*="stat__number"],
[data-theme="dark"] [class*="stat-value"] {
  color: var(--clr-primary) !important;
  font-family: 'Exo 2', sans-serif !important;
  font-weight: 800 !important;
  text-shadow: 0 0 24px rgba(0,212,255,0.4) !important;
}

/* ── FORMULÁŘE ────────────────────────────────────────────── */
[data-theme="dark"] input, [data-theme="dark"] textarea, [data-theme="dark"] select {
  background: linear-gradient(135deg, rgba(18,30,60,0.88) 0%, rgba(14,24,50,0.85) 100%) !important;
  border: 1px solid rgba(0,212,255,0.15) !important;
  color: #c8d0e4 !important;
  font-family: 'DM Sans', sans-serif !important;
}
[data-theme="dark"] input:focus, [data-theme="dark"] textarea:focus {
  border-color: rgba(0,212,255,0.50) !important;
  box-shadow: 0 0 0 3px rgba(0,212,255,0.10), 0 0 20px rgba(0,212,255,0.08) !important;
  outline: none !important;
}
[data-theme="dark"] input::placeholder, [data-theme="dark"] textarea::placeholder {
  color: #404c66 !important;
}
[data-theme="dark"] label {
  color: #8892b0 !important;
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}
[data-theme="light"] input, [data-theme="light"] textarea, [data-theme="light"] select {
  font-family: 'DM Sans', sans-serif !important;
}
[data-theme="light"] label { font-family: 'DM Sans', sans-serif !important; }

/* ── FOOTER ───────────────────────────────────────────────── */
[data-theme="dark"] .footer {
  background: linear-gradient(
    180deg,
    #0a1428 0%,
    #071020 40%,
    #040a14 75%,
    #020608 100%
  ) !important;
  border-top: 1px solid rgba(0,180,255,0.10) !important;
}
[data-theme="dark"] .footer__logo-text { color: #e8eaf8 !important; }
[data-theme="dark"] .footer__logo-text span { color: var(--clr-primary) !important; }
[data-theme="dark"] .footer__link, [data-theme="dark"] .footer__nav a {
  color: #404c66 !important; font-family: 'DM Sans', sans-serif !important;
}
[data-theme="dark"] .footer__link:hover, [data-theme="dark"] .footer__nav a:hover {
  color: var(--clr-primary) !important;
}
[data-theme="dark"] .footer__bottom { border-top: 1px solid rgba(0,212,255,0.06) !important; color: #404c66 !important; }
[data-theme="dark"] .footer__social a {
  background: rgba(15,18,32,0.8) !important;
  border: 1px solid rgba(0,212,255,0.10) !important;
  color: #6b7a99 !important;
}
[data-theme="dark"] .footer__social a:hover {
  background: rgba(0,212,255,0.10) !important;
  border-color: rgba(0,212,255,0.35) !important;
  color: var(--clr-primary) !important;
  box-shadow: 0 0 16px rgba(0,212,255,0.25) !important;
}

/* ── MOBILNÍ MENU ─────────────────────────────────────────── */
[data-theme="dark"] .mobile-nav {
  background: linear-gradient(160deg, #0d1e40 0%, #091530 100%) !important;
  border-left: 1px solid rgba(0,212,255,0.12) !important;
  backdrop-filter: blur(20px) !important;
}
[data-theme="dark"] .mobile-nav__link {
  color: #c8d0e4 !important;
  border-bottom-color: rgba(0,212,255,0.08) !important;
  font-family: 'Exo 2', sans-serif !important;
  font-weight: 600 !important;
}
[data-theme="dark"] .mobile-nav__link:hover { color: var(--clr-primary) !important; }

/* ── GALERIE ──────────────────────────────────────────────── */
[data-theme="dark"] .gallery-item {
  border: 1px solid rgba(0,212,255,0.08) !important;
  background: rgba(15,18,32,0.8) !important;
}
[data-theme="dark"] .gallery-item:hover {
  border-color: rgba(0,212,255,0.30) !important;
  box-shadow: 0 0 20px rgba(0,212,255,0.12), 0 16px 48px rgba(0,0,0,0.8) !important;
}
[data-theme="dark"] .gallery-item__overlay {
  background: rgba(7,9,15,0.85) !important;
  backdrop-filter: blur(8px) !important;
  border-top: 1px solid rgba(0,212,255,0.15) !important;
}
[data-theme="dark"] .gallery-item__overlay h3 {
  color: #e8eaf8 !important; font-family: 'Exo 2', sans-serif !important;
}
[data-theme="dark"] .gallery-item::after {
  background: linear-gradient(to top, rgba(7,9,15,0.95) 0%, transparent 100%) !important;
  color: rgba(0,212,255,0.8) !important;
  font-family: 'IBM Plex Mono', monospace !important;
}

/* FIX: žádný modrý efekt na obrázcích */
img, .gallery-item img, .about__image img, [class*="image"] img {
  filter: none !important;
}

/* ── KURZOR ───────────────────────────────────────────────── */
[data-theme="dark"] .cursor-dot {
  background: var(--clr-primary) !important;
  box-shadow: 0 0 10px rgba(0,212,255,0.6) !important;
}
[data-theme="dark"] .cursor-ring { border-color: rgba(0,212,255,0.3) !important; }
[data-theme="dark"] .cursor-dot.is-hover {
  box-shadow: 0 0 20px rgba(0,212,255,0.8) !important;
}

/* ── BACK TO TOP ──────────────────────────────────────────── */
[data-theme="dark"] .back-to-top {
  background: rgba(0,212,255,0.10) !important;
  border: 1px solid rgba(0,212,255,0.25) !important;
  color: var(--clr-primary) !important;
}
[data-theme="dark"] .back-to-top:hover {
  background: rgba(0,212,255,0.20) !important;
  box-shadow: 0 0 20px rgba(0,212,255,0.3) !important;
}

/* ── SCROLLBAR ────────────────────────────────────────────── */
[data-theme="dark"] ::-webkit-scrollbar { width: 5px; }
[data-theme="dark"] ::-webkit-scrollbar-track { background: #091020; }
[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(0,180,255,0.35), rgba(0,100,220,0.35));
  border-radius: 3px;
}
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(0,212,255,0.6), rgba(0,150,255,0.6));
}
::selection { background: rgba(0,212,255,0.25); color: #e8eaf8; }

/* ── ANIMACE REVEAL ───────────────────────────────────────── */
.reveal, .reveal-left, .reveal-right { opacity: 0; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1 !important; transform: none !important;
}

/* ── ACCORDION ────────────────────────────────────────────── */
[data-theme="dark"] .accordion-item {
  background: linear-gradient(135deg, rgba(18,30,60,0.82) 0%, rgba(14,24,50,0.78) 100%) !important;
  border: 1px solid rgba(0,212,255,0.10) !important;
}
[data-theme="dark"] .accordion-item.open {
  border-color: rgba(0,212,255,0.30) !important;
}
[data-theme="dark"] .accordion-trigger { color: #c8d0e4 !important; font-family: 'Exo 2', sans-serif !important; }
[data-theme="dark"] .accordion-content { color: #6b7a99 !important; font-family: 'DM Sans', sans-serif !important; }
[data-theme="dark"] .accordion-icon { color: var(--clr-primary) !important; }

/* ── CTA SEKCE ────────────────────────────────────────────── */
[data-theme="dark"] .cta-section {
  background: linear-gradient(
    135deg,
    rgba(8, 22, 55, 0.96) 0%,
    rgba(5, 15, 40, 0.98) 40%,
    rgba(12, 8, 35, 0.96) 80%,
    rgba(8, 20, 50, 0.95) 100%
  ) !important;
  border: 1px solid rgba(0,212,255,0.15) !important;
  box-shadow: inset 0 1px 0 rgba(0,212,255,0.08) !important;
}
[data-theme="dark"] .cta-section h2 { color: #e8eaf8 !important; font-family: 'Exo 2', sans-serif !important; }
[data-theme="dark"] .cta-section p  { color: #6b7a99 !important; font-family: 'DM Sans', sans-serif !important; }

/* ── FEATURE ITEMS ────────────────────────────────────────── */
[data-theme="dark"] .feature-item {
  border: 1px solid rgba(0,212,255,0.05) !important;
  background: rgba(15,18,32,0.6) !important;
}
[data-theme="dark"] .feature-item:hover {
  background: rgba(0,212,255,0.06) !important;
  border-color: rgba(0,212,255,0.20) !important;
}
[data-theme="dark"] .feature-item__icon {
  background: rgba(0,212,255,0.08) !important; color: var(--clr-primary) !important;
}
[data-theme="dark"] .feature-item:hover .feature-item__icon {
  background: var(--clr-primary) !important; color: #ffffff !important;
  box-shadow: 0 0 20px rgba(0,212,255,0.5) !important;
}
[data-theme="dark"] .feature-item__content h4 {
  color: #e8eaf8 !important; font-family: 'Exo 2', sans-serif !important;
}
[data-theme="dark"] .feature-item__content p { color: #6b7a99 !important; }

/* ── STEP NUMBERS ─────────────────────────────────────────── */
[data-theme="dark"] .step__number {
  background: rgba(0,212,255,0.08) !important;
  color: var(--clr-primary) !important;
  border: 2px solid rgba(0,212,255,0.20) !important;
  font-family: 'Exo 2', sans-serif !important;
  box-shadow: 0 0 20px rgba(0,212,255,0.15) !important;
}
[data-theme="dark"] .step:hover .step__number {
  box-shadow: 0 0 30px rgba(0,212,255,0.5), 0 0 60px rgba(0,212,255,0.2) !important;
  border-color: var(--clr-primary) !important;
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
[data-theme="dark"] .testimonial {
  background: rgba(15,18,32,0.85) !important;
  border: 1px solid rgba(0,212,255,0.09) !important;
}
[data-theme="dark"] .testimonial:hover {
  border-color: rgba(0,212,255,0.30) !important;
  box-shadow: 0 0 24px rgba(0,212,255,0.08), 0 16px 48px rgba(0,0,0,0.8) !important;
}
[data-theme="dark"] .testimonial__rating svg {
  fill: var(--clr-primary) !important;
  filter: drop-shadow(0 0 4px rgba(0,212,255,0.5)) !important;
}

/* ── RESPONZIVITA ─────────────────────────────────────────── */
@media (max-width: 768px) {
  [data-theme="dark"] body::before { background-size: 40px 40px !important; }
  .hero__title { font-size: clamp(1.8rem, 8vw, 3rem) !important; }
}
@media (prefers-reduced-motion: reduce) {
  body::before, body::after, [data-theme="dark"] .hero::before,
  [data-theme="dark"] .hero::after, .btn--primary::before { animation: none !important; }
}

/* ════════════════════════════════════════════════════════════
   DARK THEME REFINEMENTS — hloubka, konzistence, vyleštění
   ════════════════════════════════════════════════════════════ */

/* Bohatší gradient pozadí — tmavší, hlubší navy */
[data-theme="dark"] body,
body {
  background-image:
    linear-gradient(160deg,
      #101f42 0%,
      #0b1630 28%,
      #080f24 55%,
      #0b1730 75%,
      #0f1e42 100%) !important;
}

/* Hero shape 2 — bez oranžové, indigo/violet */
[data-theme="dark"] .hero__shape--2 {
  background: radial-gradient(circle, rgba(60,0,200,0.16) 0%, transparent 70%) !important;
}

/* Section alt — výraznější tmavý blok */
[data-theme="dark"] .section--alt {
  background: linear-gradient(
    180deg,
    rgba(7, 14, 32, 0.92) 0%,
    rgba(10, 20, 45, 0.95) 50%,
    rgba(7, 14, 32, 0.92) 100%
  ) !important;
  border-top: 1px solid rgba(0, 180, 255, 0.08) !important;
  border-bottom: 1px solid rgba(0, 180, 255, 0.08) !important;
}

/* Bambu Lab banner — tmavá verze */
[data-theme="dark"] .bambu-banner {
  border-radius: var(--radius-2xl, 1.25rem);
  background: linear-gradient(135deg, rgba(15, 28, 58, 0.95) 0%, rgba(10, 20, 48, 0.98) 100%) !important;
  border: 1px solid rgba(0, 180, 255, 0.18) !important;
  box-shadow: 0 0 40px rgba(0, 100, 220, 0.08), inset 0 1px 0 rgba(0, 200, 255, 0.06) !important;
}
[data-theme="dark"] .bambu-banner p { color: #c8d0e4 !important; }
[data-theme="dark"] .bambu-banner p + p { color: #6b7a99 !important; }

/* Karty — jemnější highlight na horní hraně */
[data-theme="dark"] .card {
  position: relative;
  overflow: hidden;
}
[data-theme="dark"] .card::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 200, 255, 0.22), transparent);
  pointer-events: none;
  z-index: 1;
}

/* Services block category heads — v dark theme doladění */
[data-theme="dark"] .services-block__head h3 {
  color: #e8eaf8 !important;
  font-size: 1.15rem !important;
}

/* CTA sekce — sytější tmavě modrý gradient */
[data-theme="dark"] .cta-section {
  background: linear-gradient(
    135deg,
    #060f28 0%,
    #081840 35%,
    #0b0e2c 65%,
    #06102a 100%
  ) !important;
  border: 1px solid rgba(0, 160, 255, 0.18) !important;
  box-shadow:
    inset 0 1px 0 rgba(0, 200, 255, 0.10),
    0 0 80px rgba(0, 60, 180, 0.18) !important;
}

/* Sekce "Jak to funguje" — step connector line */
[data-theme="dark"] .step__title { color: #d4daf0 !important; }
[data-theme="dark"] .step__desc  { color: #6b7a99 !important; }

/* Digitalizace teaser section — tmavší pozadí */
[data-theme="dark"] .section[style*="clr-bg-dark"],
[data-theme="dark"] .section[style*="bg-dark"] {
  background: #070d1e !important;
}

/* Trust bar / trust items */
[data-theme="dark"] .trust-bar,
[data-theme="dark"] .trust-strip {
  background: rgba(10, 18, 42, 0.85) !important;
  border-color: rgba(0, 180, 255, 0.10) !important;
}
[data-theme="dark"] .trust-item,
[data-theme="dark"] .trust-strip__item { color: #6b7a99 !important; }

/* Jemnější ambient orb — odstraníme oranžový tón z pozadí */
[data-theme="dark"] body::after,
body::after {
  background:
    radial-gradient(ellipse at 10% 15%, rgba(0, 140, 255, 0.16) 0%, transparent 40%),
    radial-gradient(ellipse at 88% 80%, rgba(40, 0, 200, 0.12) 0%, transparent 40%),
    radial-gradient(ellipse at 55%  5%, rgba(0, 200, 255, 0.09) 0%, transparent 45%),
    radial-gradient(ellipse at 25% 92%, rgba(0, 80, 200, 0.13) 0%, transparent 40%),
    radial-gradient(ellipse at 75% 45%, rgba(80, 0, 220, 0.08) 0%, transparent 35%) !important;
}

/* ════════════════════════════════════════════════════════════
   SVĚTLÝ DESIGN — BOLD COLORFUL LIGHT THEME
   Modrá: #0055FF  |  Oranžová: #FF5500  |  Bílá: #FFFFFF
   ════════════════════════════════════════════════════════════ */

/* Body & background */
[data-theme="light"] body {
  background: #ffffff !important;
  background-image: none !important;
  color: #1a1e2e !important;
  cursor: auto !important;
}
[data-theme="light"] body::before,
[data-theme="light"] body::after { display: none !important; }

/* Canvas border — modrý rámeček */
[data-theme="light"] .hero__anim-col canvas {
  border: 2px solid rgba(0,85,255,0.18) !important;
  box-shadow: 0 8px 40px rgba(0,85,255,0.12), 0 2px 8px rgba(0,0,0,0.06) !important;
}

/* Hero title — strong bude modrá */
[data-theme="light"] .hero__title strong {
  color: #0055FF !important;
  text-shadow: none !important;
}

/* Hero badge — oranžová pilulka */
[data-theme="light"] .hero__badge {
  background: rgba(255,85,0,0.08) !important;
  border: 1px solid rgba(255,85,0,0.25) !important;
  color: #FF5500 !important;
}
[data-theme="light"] .hero__badge-dot {
  background: #FF5500 !important;
  box-shadow: none !important;
}

/* Stat hodnoty — modrá */
[data-theme="light"] .hero__stat-value {
  color: #0055FF !important;
}
[data-theme="light"] [class*="stat__number"],
[data-theme="light"] [class*="stat-value"] {
  color: #0055FF !important;
  font-family: 'Exo 2', sans-serif !important;
  font-weight: 800 !important;
}

/* Hero stats bar */
[data-theme="light"] .hero__stats {
  background: #f8faff !important;
  border-top: 2px solid rgba(0,85,255,0.10) !important;
}

/* Section title accent */
[data-theme="light"] .section__title span,
[data-theme="light"] .section-header h2 span,
[data-theme="light"] h1 strong, [data-theme="light"] h2 strong {
  color: #0055FF !important;
}

/* Eyebrow labels — oranžové pilulky */
[data-theme="light"] .eyebrow {
  background: rgba(255,85,0,0.08) !important;
  border: 1px solid rgba(255,85,0,0.22) !important;
  color: #FF5500 !important;
}

/* Tech tagy */
[data-theme="light"] .tech-tag {
  background: rgba(0,85,255,0.06) !important;
  border: 1px solid rgba(0,85,255,0.18) !important;
  color: #0055FF !important;
}
[data-theme="light"] .tech-tag:hover {
  background: rgba(0,85,255,0.14) !important;
  color: #fff !important;
  background-color: #0055FF !important;
}

/* Primární tlačítko — modrá s oranžovým hovr */
[data-theme="light"] .btn--primary {
  background: linear-gradient(135deg, #0055FF 0%, #0044cc 100%) !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0,85,255,0.30) !important;
  font-weight: 700 !important;
}
[data-theme="light"] .btn--primary:hover {
  background: linear-gradient(135deg, #FF5500 0%, #dd4400 100%) !important;
  box-shadow: 0 6px 24px rgba(255,85,0,0.35) !important;
  transform: translateY(-1px);
}

/* Sekundární tlačítko */
[data-theme="light"] .btn--secondary {
  background: transparent !important;
  border: 2px solid #0055FF !important;
  color: #0055FF !important;
  font-weight: 600 !important;
}
[data-theme="light"] .btn--secondary:hover {
  background: #0055FF !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0,85,255,0.25) !important;
}

/* Karty — bílé s modrým hover */
[data-theme="light"] .card {
  background: #ffffff !important;
  border: 1px solid rgba(0,85,255,0.10) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
}
[data-theme="light"] .card:hover {
  border-color: rgba(0,85,255,0.35) !important;
  box-shadow: 0 8px 32px rgba(0,85,255,0.12) !important;
  transform: translateY(-2px);
}

/* Card icon — modrý/oranžový */
[data-theme="light"] .card__icon {
  background: rgba(0,85,255,0.08) !important;
  border: 1px solid rgba(0,85,255,0.15) !important;
  color: #0055FF !important;
}
[data-theme="light"] .card:hover .card__icon {
  background: #0055FF !important;
  color: #fff !important;
  box-shadow: 0 0 20px rgba(0,85,255,0.3) !important;
}

/* Feature items */
[data-theme="light"] .feature-item {
  background: #f8faff !important;
  border: 1px solid rgba(0,85,255,0.08) !important;
}
[data-theme="light"] .feature-item:hover {
  background: #fff !important;
  border-color: rgba(0,85,255,0.25) !important;
  box-shadow: 0 4px 20px rgba(0,85,255,0.10) !important;
}
[data-theme="light"] .feature-item__icon {
  background: rgba(0,85,255,0.08) !important;
  color: #0055FF !important;
}
[data-theme="light"] .feature-item:hover .feature-item__icon {
  background: #0055FF !important;
  color: #fff !important;
  box-shadow: 0 0 16px rgba(0,85,255,0.35) !important;
}

/* Step numbers — oranžové */
[data-theme="light"] .step__number {
  background: rgba(255,85,0,0.08) !important;
  color: #FF5500 !important;
  border: 2px solid rgba(255,85,0,0.25) !important;
}
[data-theme="light"] .step:hover .step__number {
  background: #FF5500 !important;
  color: #fff !important;
  box-shadow: 0 0 20px rgba(255,85,0,0.4) !important;
}

/* Stat karty */
[data-theme="light"] .stat-card {
  background: #f8faff !important;
  border: 1px solid rgba(0,85,255,0.10) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04) !important;
}
[data-theme="light"] .stat-card::before {
  background: linear-gradient(to right, transparent, #0055FF, transparent) !important;
}

/* Alternativní sekce */
[data-theme="light"] .section--alt,
[data-theme="light"] [class*="section-alt"],
[data-theme="light"] .about,
[data-theme="light"] .why-us {
  background: linear-gradient(180deg, #f4f7ff 0%, #eef3ff 100%) !important;
}

/* CTA sekce */
[data-theme="light"] .cta-section {
  background: linear-gradient(135deg, #0055FF 0%, #003dd4 60%, #FF5500 100%) !important;
  border: none !important;
  box-shadow: 0 16px 48px rgba(0,85,255,0.25) !important;
}
[data-theme="light"] .cta-section h2 { color: #ffffff !important; }
[data-theme="light"] .cta-section p  { color: rgba(255,255,255,0.85) !important; }

/* Formuláře */
[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
  background: #ffffff !important;
  border: 1.5px solid rgba(0,85,255,0.18) !important;
  color: #1a1e2e !important;
}
[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus {
  border-color: #0055FF !important;
  box-shadow: 0 0 0 3px rgba(0,85,255,0.10) !important;
}
[data-theme="light"] label {
  color: #5a6480 !important;
  font-family: 'IBM Plex Mono', monospace !important;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

/* Header — bílý */
[data-theme="light"] .header {
  background: rgba(255,255,255,0.95) !important;
  border-bottom: 1px solid rgba(0,85,255,0.08) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06) !important;
}

/* Footer */
[data-theme="light"] .footer {
  background: #f4f7ff !important;
  border-top: 2px solid rgba(0,85,255,0.12) !important;
}
[data-theme="light"] .footer__logo-text span { color: #0055FF !important; }
[data-theme="light"] .footer__link,
[data-theme="light"] .footer__nav a { color: #5a6480 !important; }
[data-theme="light"] .footer__link:hover,
[data-theme="light"] .footer__nav a:hover { color: #0055FF !important; }
[data-theme="light"] .footer__bottom { border-top: 1px solid rgba(0,85,255,0.08) !important; color: #8892b0 !important; }
[data-theme="light"] .footer__social a {
  background: #ffffff !important;
  border: 1px solid rgba(0,85,255,0.15) !important;
  color: #5a6480 !important;
}
[data-theme="light"] .footer__social a:hover {
  background: #0055FF !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0,85,255,0.25) !important;
}

/* Accordion */
[data-theme="light"] .accordion-item {
  background: #ffffff !important;
  border: 1px solid rgba(0,85,255,0.10) !important;
}
[data-theme="light"] .accordion-item.open {
  border-color: rgba(0,85,255,0.30) !important;
}
[data-theme="light"] .accordion-icon { color: #0055FF !important; }

/* Gallery */
[data-theme="light"] .gallery-item {
  border: 1px solid rgba(0,85,255,0.08) !important;
}
[data-theme="light"] .gallery-item:hover {
  border-color: rgba(0,85,255,0.30) !important;
  box-shadow: 0 8px 32px rgba(0,85,255,0.12) !important;
}

/* Testimonials */
[data-theme="light"] .testimonial {
  background: #ffffff !important;
  border: 1px solid rgba(0,85,255,0.10) !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05) !important;
}
[data-theme="light"] .testimonial:hover {
  border-color: rgba(255,85,0,0.25) !important;
  box-shadow: 0 8px 28px rgba(255,85,0,0.08) !important;
}
[data-theme="light"] .testimonial__rating svg { fill: #FF5500 !important; }

/* Back to top */
[data-theme="light"] .back-to-top {
  background: #0055FF !important;
  border: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0,85,255,0.30) !important;
}
[data-theme="light"] .back-to-top:hover {
  background: #FF5500 !important;
  box-shadow: 0 4px 20px rgba(255,85,0,0.35) !important;
}

/* Scroll progress */
[data-theme="light"] .scroll-progress {
  background: linear-gradient(90deg, #0055FF, #FF5500) !important;
}

/* Scrollbar */
[data-theme="light"] ::-webkit-scrollbar { width: 5px; }
[data-theme="light"] ::-webkit-scrollbar-track { background: #f4f7ff; }
[data-theme="light"] ::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #0055FF, #FF5500);
  border-radius: 3px;
}

/* Selection */
[data-theme="light"] ::selection { background: rgba(0,85,255,0.18); color: #1a1e2e; }

/* Custom cursor skryt */
.cursor-dot, .cursor-ring, [class*="cursor"] { display: none !important; }
* { cursor: auto !important; }
a, button, [role="button"], input, textarea, select, label { cursor: pointer !important; }
input[type="text"], input[type="email"], textarea { cursor: text !important; }

/* ════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — kompletní opravy
   ════════════════════════════════════════════════════════════ */

/* ── HAMBURGER — oprava barvy v dark modu ─────────────────── */
/* Dark header má světlé pozadí (rgba 240,244,255), proto musí být čáry tmavé */
.nav-toggle {
  position: relative;
  z-index: 1001;
}
.nav-toggle span {
  background: #1a2035 !important;
}
[data-theme="light"] .nav-toggle span {
  background: #1a1e2e !important;
}
/* Hover state — jemné pozadí */
.nav-toggle:hover {
  background: rgba(0,0,0,0.06) !important;
}

/* Theme toggle — vždy viditelný na mobile */
.theme-toggle {
  flex-shrink: 0;
}
[data-theme="dark"] .theme-toggle {
  color: rgba(200,210,240,0.85) !important;
}

/* ── HEADER ACTIONS — mobile layout ───────────────────────── */
@media (max-width: 1024px) {
  .header__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  /* Skryj jen .btn, ne celý wrapper */
  .header__actions .btn {
    display: none !important;
  }
  .nav-toggle {
    display: flex !important;
  }
}

/* ── ZÁKLADNÍ MOBILE (≤768px) ─────────────────────────────── */
@media (max-width: 768px) {

  /* Container padding */
  .container {
    padding-inline: 1rem !important;
  }

  /* Sekce padding */
  .section {
    padding-block: 3rem !important;
  }

  /* ── Hero ── */
  .hero {
    min-height: 100svh;
    padding-top: var(--header-height);
  }
  .hero__layout {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: center;
  }
  .hero__anim-col {
    order: -1;
    max-height: 240px;
    overflow: hidden;
  }
  .hero__anim-col canvas {
    max-height: 220px !important;
    width: 100% !important;
    height: auto !important;
  }
  .hero__actions {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .hero__badge {
    justify-content: center;
  }
  .hero__title {
    font-size: clamp(1.75rem, 7vw, 2.5rem) !important;
    line-height: 1.2 !important;
  }
  .hero__subtitle {
    font-size: 1rem !important;
  }
  .hero__stats {
    display: none !important;
  }

  /* ── Services / Cards grid ── */
  .services-grid,
  .cards-grid,
  .features-grid,
  .why-grid,
  [class*="grid--3"],
  [class*="grid--4"] {
    grid-template-columns: 1fr !important;
  }

  /* ── Process steps ── */
  .steps,
  .process-steps {
    grid-template-columns: 1fr !important;
  }
  .step {
    text-align: left;
  }

  /* ── Stats bar ── */
  .hero__stats-inner,
  .stats-inner,
  .stats-bar {
    flex-wrap: wrap !important;
    gap: 1rem !important;
    justify-content: center !important;
  }
  .stat-card {
    min-width: 140px;
    flex: 1 1 140px;
  }

  /* ── Testimonials ── */
  .testimonials-grid,
  .testimonials__grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Gallery ── */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
  }

  /* ── Footer ── */
  .footer__grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .footer__brand {
    max-width: 100% !important;
  }
  .footer__bottom {
    flex-direction: column !important;
    gap: 1rem !important;
    text-align: center !important;
  }
  .footer__legal {
    justify-content: center !important;
  }

  /* ── CTA sekce ── */
  .cta-section {
    padding: 2.5rem 1.25rem !important;
    text-align: center;
  }
  .cta-section__actions {
    flex-direction: column !important;
    align-items: center !important;
  }

  /* ── Buttons ── */
  .btn--lg {
    font-size: 0.9375rem !important;
    padding: 0.75rem 1.5rem !important;
  }

  /* ── Typography ── */
  .section__title,
  h2 {
    font-size: clamp(1.5rem, 6vw, 2.25rem) !important;
  }
  h3 {
    font-size: clamp(1.125rem, 4vw, 1.5rem) !important;
  }

  /* ── Services block (3d-tisk stránka) ── */
  .services-block__grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Pricing table ── */
  .pricing-grid,
  .pricing-cards {
    grid-template-columns: 1fr !important;
  }

  /* ── About / team ── */
  .about-grid,
  .team-grid {
    grid-template-columns: 1fr !important;
  }

  /* ── Overflow fix ── */
  body {
    overflow-x: hidden;
  }
  * {
    max-width: 100%;
  }
  img {
    height: auto !important;
  }
}

/* ── MALÉ TELEFONY (≤480px) ───────────────────────────────── */
@media (max-width: 480px) {

  .container {
    padding-inline: 0.875rem !important;
  }

  .section {
    padding-block: 2.5rem !important;
  }

  .hero__title {
    font-size: clamp(1.5rem, 8vw, 2rem) !important;
  }

  .gallery-grid {
    grid-template-columns: 1fr !important;
  }

  /* Blog post sidebar — zmenšit gap */
  .post-grid {
    gap: 1.5rem !important;
  }

  .btn--lg {
    width: 100%;
    justify-content: center;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Mobile nav font size */
  .mobile-nav__link {
    font-size: 1.25rem !important;
  }

  /* Footer */
  .footer {
    padding-block: 2rem !important;
  }
}

/* ── HEX GRID — canvas v pozadí (z-index:0), sekce průhledné ──
   Všechny sekce mají v dark mode rgba pozadí → hex canvas prosvítá
   ─────────────────────────────────────────────────────────────── */

/* Zajisti že main a footer jsou nad canvasem (header má vlastní position:fixed z-index:1000) */
[data-theme="dark"] main,
[data-theme="dark"] .footer,
html[data-theme="dark"] main,
html[data-theme="dark"] .footer {
  position: relative;
  z-index: 1;
}

/* Hero — světlejší průhledné pozadí, hex canvas prosvítá */
[data-theme="dark"] .hero,
html[data-theme="dark"] .hero {
  background: rgba(13, 22, 40, 0.55) !important;
}

/* Sekce — mírně průhledné */
[data-theme="dark"] .section,
[data-theme="dark"] section,
html[data-theme="dark"] .section,
html[data-theme="dark"] section {
  background: rgba(13, 22, 40, 0.88) !important;
}

[data-theme="dark"] .section--alt,
html[data-theme="dark"] .section--alt {
  background: rgba(17, 30, 56, 0.88) !important;
}

[data-theme="dark"] .section--dark,
html[data-theme="dark"] .section--dark {
  background: rgba(9, 16, 32, 0.90) !important;
}

[data-theme="dark"] .footer,
html[data-theme="dark"] .footer {
  background: rgba(9, 16, 32, 0.92) !important;
}
