/* ==========================================================================
   PyTorch Game Agent — pytorch-game-agent.david-monis.com
   Vzhľad zladený s david-monis.com: tmavé pozadie, jantárový akcent,
   modrá ako farba projektu a dát, písma Bricolage Grotesque + Inter (lokálne)
   ========================================================================== */

@font-face{ font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root{
  color-scheme: dark;
  --bg: #07090e;
  --bg-2: #0e121a;
  --card: rgba(14, 18, 26, 0.78);
  --card-solid: #0e121a;
  --text: #eef0f3;
  --muted: #a9afba;
  --text-3: #727986;
  /* akcent značky (tlačidlá, nadpisky, navigácia) – rovnaký ako na david-monis.com */
  --brand: #f2a541;
  --brand-hi: #ffbd63;
  --brand-ink: #1b1204;
  /* farby dát: modrá = môj agent, jantárová = druhá séria, zelená = tretia */
  --accent: #7fa8ff;
  --accent-2: #f2a541;
  --accent-3: #5ad99a;
  --gold: #fbbf24;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --radius: 24px;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.8);
  --grad: linear-gradient(120deg, var(--accent), var(--accent-2));
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
}

*{ box-sizing: border-box; }

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

html, body{
  margin: 0;
  padding: 0;
}

body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection{
  background: var(--brand);
  color: var(--brand-ink);
}

:focus-visible{ outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }

/* Scrollbar */
::-webkit-scrollbar{ width: 11px; }
::-webkit-scrollbar-track{ background: var(--bg); }
::-webkit-scrollbar-thumb{
  background: #232838;
  border-radius: 6px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover{ background: #303749; }

/* ==========================================================================
   Background FX — aurora orbs + grid + noise
   ========================================================================== */

.bg-fx{
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 15% -10%, rgba(84, 116, 196, 0.2) 0%, transparent 60%),
    radial-gradient(900px 600px at 90% 5%, rgba(242, 165, 65, 0.1) 0%, transparent 55%),
    var(--bg);
}

.bg-grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, #000 30%, transparent 75%);
}

.orb{
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.16;
  will-change: transform;
}

.orb-1{
  width: 600px; height: 600px;
  background: #3a5fb0;
  top: -200px; left: -140px;
  animation: orb-drift-1 26s ease-in-out infinite alternate;
}

.orb-2{
  width: 520px; height: 520px;
  background: #b8742a;
  top: 5%; right: -180px;
  animation: orb-drift-2 32s ease-in-out infinite alternate;
}

.orb-3{
  width: 420px; height: 420px;
  background: #0d6e57;
  bottom: -220px; left: 35%;
  opacity: 0.14;
  animation: orb-drift-3 38s ease-in-out infinite alternate;
}

@keyframes orb-drift-1{
  from{ transform: translate(0, 0) scale(1); }
  to  { transform: translate(120px, 80px) scale(1.15); }
}
@keyframes orb-drift-2{
  from{ transform: translate(0, 0) scale(1.1); }
  to  { transform: translate(-100px, 120px) scale(0.95); }
}
@keyframes orb-drift-3{
  from{ transform: translate(0, 0); }
  to  { transform: translate(-140px, -60px) scale(1.2); }
}

/* ==========================================================================
   Typography & links
   ========================================================================== */

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

h2{
  font-size: clamp(1.7rem, 1.2rem + 1.9vw, 2.5rem); margin: 0; letter-spacing: -0.03em; line-height: 1.08;
}
h3{ font-size: 1.15rem; margin: 34px 0 10px; color: var(--text); }
h4{ font-size: 0.98rem; margin: 26px 0 8px; }

p{ margin: 0 0 16px; }
p:last-child{ margin-bottom: 0; }

a{
  color: #a9c4ff;
  text-decoration: none;
  border-bottom: 1px solid rgba(169, 196, 255, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover{
  color: var(--brand-hi);
  border-bottom-color: var(--brand);
}

strong{ color: #f2f4fa; }

.container{
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

/* ==========================================================================
   Scroll progress bar
   ========================================================================== */

.progress{
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--brand);
  z-index: 201;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 0 12px rgba(242, 165, 65, 0.6);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled{
  background: rgba(7, 9, 14, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--border);
}

.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 68px;
}

.nav-brand{
  display: flex;
  align-items: center;
  gap: 12px;
  border: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav-brand:hover{ color: #fff; border: none; }

.nav-logo{
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: block;
  transition: transform 0.5s var(--ease);
}

.nav-brand:hover .nav-logo{ transform: rotate(-8deg) scale(1.06); }

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

.nav-links{
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a{
  display: block;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover{
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.nav-links a.active{
  color: var(--brand-hi);
  background: rgba(242, 165, 65, 0.09);
}

.nav-gh{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.nav-gh:hover{
  border-color: rgba(242, 165, 65, 0.45);
  background: rgba(242, 165, 65, 0.08);
  color: var(--brand-hi);
  transform: translateY(-1px);
}

.nav-gh svg{ width: 16px; height: 16px; fill: currentColor; }

/* Hamburger */
.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  cursor: pointer;
}

.nav-toggle span{
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav.open .nav-toggle span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span:nth-child(2){ opacity: 0; }
.nav.open .nav-toggle span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero{
  position: relative;
  min-height: 96vh;
  display: flex;
  align-items: center;
  padding: 130px 0 80px;
  overflow: hidden;
}

#heroCanvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.hero-content{
  position: relative;
  z-index: 2;
}

.hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(242, 165, 65, 0.28);
  background: rgba(242, 165, 65, 0.07);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-hi);
  margin-bottom: 24px;
  animation: hero-in 0.9s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.hero-eyebrow::before{
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.hero-title{
  margin: 0 0 24px;
  font-size: clamp(2.5rem, 1.3rem + 4.4vw, 4.6rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.032em;
  animation: hero-in 0.9s 0.1s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.hero-title-sub{
  display: block;
  color: #858c99;
}

.grad-text{
  color: var(--brand-hi);
}

.hero-sub{
  max-width: 38em;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 30px;
  animation: hero-in 0.9s 0.2s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.hero-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
  animation: hero-in 0.9s 0.3s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.hero-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
  animation: hero-in 0.9s 0.4s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.hero-quickstats{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  font-size: 0.875rem;
  color: var(--muted);
  animation: hero-in 0.9s 0.5s cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.hero-quickstats span strong{
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-right: 2px;
}

@keyframes hero-in{
  from{ opacity: 0; transform: translateY(26px); }
  to  { opacity: 1; transform: translateY(0); }
}

.scroll-hint{
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: var(--muted);
  border: none;
  animation: hint-bounce 2.2s ease-in-out infinite;
}

.scroll-hint:hover{ color: var(--text); border: none; }
.scroll-hint svg{ width: 22px; height: 22px; stroke: currentColor; }

@keyframes hint-bounce{
  0%, 100%{ transform: translate(-50%, 0); opacity: 0.55; }
  50%     { transform: translate(-50%, 9px); opacity: 1; }
}

/* ==========================================================================
   Buttons & badges
   ========================================================================== */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 0.96875rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.3s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s;
}

.btn svg{ width: 17px; height: 17px; fill: currentColor; }

.btn-primary{
  background: var(--brand);
  color: var(--brand-ink);
}

.btn-primary:hover{
  background: var(--brand-hi);
  color: var(--brand-ink);
  transform: translateY(-1px);
  box-shadow: 0 10px 34px -8px rgba(242, 165, 65, 0.55);
  border-color: transparent;
}

.btn-ghost{
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover{
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.badge::before{
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(242, 165, 65, 0.7);
}

.badge:hover{
  border-color: rgba(242, 165, 65, 0.45);
  background: rgba(242, 165, 65, 0.08);
  color: var(--brand-hi);
}

.badges{
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

/* ==========================================================================
   Sections & cards
   ========================================================================== */

main{ padding-bottom: 40px; }

.section{
  margin-top: 84px;
  scroll-margin-top: 96px;
}

.section-head{
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 26px;
}

.section-num{
  font-family: var(--font-display);
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.22);
  font-size: 2.75rem;
  letter-spacing: -0.04em;
  line-height: 1;
  flex-shrink: 0;
  translate: 0 3px;
}

.section-eyebrow{
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 8px;
}

.section-eyebrow::before{
  content: '';
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-head h2{
  position: relative;
  padding-bottom: 0;
}

.card{
  position: relative;
  background: var(--card);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(22px, 3vw, 36px);
  margin-top: 22px;
  overflow: hidden;
  transition: border-color 0.35s ease;
}

.card:first-of-type{ margin-top: 0; }

.card:hover{
  border-color: var(--border-strong);
}

/* Mouse-follow spotlight */
.card::before{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 0%),
              rgba(255, 255, 255, 0.05), transparent 45%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.card:hover::before{ opacity: 1; }

.card > *{ position: relative; z-index: 1; }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */

.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.2, 0.65, 0.3, 1),
              transform 0.75s cubic-bezier(0.2, 0.65, 0.3, 1);
}

.reveal.visible{
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Spec list
   ========================================================================== */

.spec-list{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
}

.spec-list > div{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px 28px;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.2s ease;
  border-radius: 8px;
}

.spec-list > div:last-child{ border-bottom: none; }

.spec-list > div:hover{
  background: rgba(255, 255, 255, 0.045);
}

.spec-list dt{
  font-weight: 600;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-mono);
  padding-top: 2px;
}

.spec-list dd{ margin: 0; }

/* ==========================================================================
   Checklist ("Čo je hotové")
   ========================================================================== */

.checklist{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.checklist li{
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 13px;
  font-size: 0.93rem;
  line-height: 1.55;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.checklist li:hover{
  border-color: rgba(90, 217, 154, 0.35);
  background: rgba(90, 217, 154, 0.045);
  transform: translateX(4px);
}

.check-ico{
  flex-shrink: 0;
  width: 21px; height: 21px;
  border-radius: 7px;
  background: rgba(90, 217, 154, 0.14);
  border: 1px solid rgba(90, 217, 154, 0.35);
  display: grid;
  place-items: center;
  margin-top: 2px;
}

.check-ico svg{
  width: 11px; height: 11px;
  stroke: var(--accent-3);
  stroke-width: 3;
  fill: none;
}

/* ==========================================================================
   Media & video grids
   ========================================================================== */

.media-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 22px;
}

.media-grid figure{
  margin: 0;
  text-align: center;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.media-grid figure:hover{
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.media-grid img{
  max-width: 100%;
  display: block;
  width: 100%;
}

.media-grid figcaption{
  padding: 11px 14px;
  font-size: 0.85rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.video-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 22px;
}

.video-card{
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover{
  border-color: var(--border-strong);
}

.video-card h3{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1.02rem;
}

.play-ico{
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand);
  display: grid;
  place-items: center;
}

.play-ico svg{
  width: 10px; height: 10px;
  fill: var(--brand-ink);
  translate: 1px 0;
}

.video-card video{
  display: block;
  width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: #000;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

.note{
  font-size: 0.875rem;
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.65;
}

.callout{
  display: flex;
  gap: 14px;
  margin-top: 22px;
  padding: 16px 18px;
  background: rgba(251, 191, 36, 0.05);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 14px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

.callout-ico{
  flex-shrink: 0;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* ==========================================================================
   Stat cards (count-up)
   ========================================================================== */

.stat-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.stat-grid.cols-2{ grid-template-columns: repeat(2, 1fr); }

.stat-card{
  position: relative;
  background: rgba(7, 9, 14, 0.45);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 20px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
}

.stat-card::after{
  content: none;
}

.stat-card:hover{
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.stat-card:hover::after{ opacity: 1; }

.stat-card .sv{
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.stat-card .sl{
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.45;
}

/* ==========================================================================
   Architecture timeline
   ========================================================================== */

.arch-timeline{ margin: 24px 0 8px; }

.arch-tl-item{
  display: flex;
  gap: 18px;
}

.arch-tl-aside{
  width: 17px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.arch-tl-dot{
  width: 13px; height: 13px;
  background: var(--accent-2);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
  box-shadow: 0 0 0 4px rgba(242, 165, 65, 0.12), 0 0 14px rgba(242, 165, 65, 0.5);
  animation: dot-pulse 3s ease-in-out infinite;
}

@keyframes dot-pulse{
  0%, 100%{ box-shadow: 0 0 0 4px rgba(242, 165, 65, 0.12), 0 0 14px rgba(242, 165, 65, 0.45); }
  50%     { box-shadow: 0 0 0 7px rgba(242, 165, 65, 0.07), 0 0 22px rgba(242, 165, 65, 0.65); }
}

.arch-tl-dot.diamond{
  border-radius: 3px;
  transform: rotate(45deg);
  width: 11px; height: 11px;
  background: var(--accent);
  margin-top: 9px;
  box-shadow: 0 0 0 4px rgba(127, 168, 255, 0.12), 0 0 14px rgba(127, 168, 255, 0.55);
  animation: none;
}

.arch-tl-line{
  width: 2px;
  background: linear-gradient(180deg, rgba(242, 165, 65, 0.45), rgba(127, 168, 255, 0.18));
  flex: 1;
  min-height: 16px;
  border-radius: 2px;
}

.arch-tl-body{
  flex: 1;
  padding-bottom: 16px;
  min-width: 0;
}

.arch-tl-layer{
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 6px;
}

.arch-tl-box{
  background: rgba(242, 165, 65, 0.05);
  border: 1px solid rgba(242, 165, 65, 0.18);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 0.89rem;
  line-height: 1.6;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.arch-tl-box:hover{
  border-color: rgba(242, 165, 65, 0.45);
  background: rgba(242, 165, 65, 0.08);
  transform: translateX(3px);
}

.arch-tl-sub{
  color: var(--muted);
  font-size: 0.82rem;
}

.arch-tl-heads{
  display: flex;
  gap: 12px;
}

.arch-tl-head{
  flex: 1;
  background: rgba(127, 168, 255, 0.055);
  border: 1px solid rgba(127, 168, 255, 0.22);
  border-radius: 12px;
  padding: 14px;
  font-size: 0.86rem;
  text-align: center;
  line-height: 1.6;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.arch-tl-head:hover{
  border-color: rgba(127, 168, 255, 0.5);
  background: rgba(127, 168, 255, 0.09);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.arch-tl-head strong{
  display: block;
  color: var(--accent);
  margin-bottom: 5px;
  font-family: var(--font-display);
}

.arch-tl-head small{ color: var(--muted); }

/* ==========================================================================
   Chart panels
   ========================================================================== */

.chart-panel{
  position: relative;
  margin: 24px 0;
  background: rgba(10, 12, 18, 0.55);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.chart-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.chart-title{
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.chart-legend{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.legend-btn{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  cursor: pointer;
  transition: opacity 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.legend-btn:hover{ border-color: var(--border-strong); background: rgba(255,255,255,0.06); }

.legend-btn .lg-swatch{
  display: inline-block;
  width: 18px; height: 3px;
  border-radius: 2px;
}

.legend-btn.off{ opacity: 0.38; }
.legend-btn.off .lg-swatch{ background: var(--muted) !important; }

.legend-static{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--muted);
}

canvas.chart{
  width: 100%;
  display: block;
  cursor: crosshair;
}

.chart-tooltip{
  display: none;
  position: absolute;
  background: rgba(12, 14, 20, 0.97);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 9px 13px;
  font-size: 0.8rem;
  pointer-events: none;
  line-height: 1.75;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
}

/* Donut + text layout */
.split-donut{
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 24px;
}

.donut-wrap{
  position: relative;
}

.donut-legend{
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.donut-legend li{
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  color: var(--muted);
  cursor: default;
  padding: 3px 6px;
  border-radius: 7px;
  transition: background 0.2s ease, color 0.2s ease;
}

.donut-legend li:hover{
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.donut-legend .dl-dot{
  width: 9px; height: 9px;
  border-radius: 3px;
  flex-shrink: 0;
}

.donut-legend .dl-val{
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text);
}

/* ==========================================================================
   Data table
   ========================================================================== */

.table-wrap{
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(10, 12, 18, 0.4);
}

.data-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
  min-width: 640px;
}

.data-table th{
  text-align: left;
  color: var(--muted);
  font-weight: 600;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.05);
  white-space: nowrap;
}

.data-table td{
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  line-height: 1.5;
  font-variant-numeric: tabular-nums;
  transition: background 0.15s ease;
}

.data-table tr:last-child td{ border-bottom: none; }

.data-table tbody tr{
  transition: background 0.2s ease;
}

.data-table tbody tr:hover td{
  background: rgba(127, 168, 255, 0.06);
}

.data-table td:first-child{
  color: var(--text);
  font-weight: 500;
}

.td-win{ color: var(--accent); font-weight: 600; }

/* ==========================================================================
   Before / After
   ========================================================================== */

.before-after{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
  margin: 22px 0;
  font-size: 0.9rem;
}

.ba-arrow{
  display: grid;
  place-items: center;
  color: var(--accent);
  opacity: 0.85;
}

.ba-arrow svg{
  width: 26px; height: 26px;
  stroke: currentColor;
  animation: arrow-slide 1.8s ease-in-out infinite;
}

@keyframes arrow-slide{
  0%, 100%{ transform: translateX(0); opacity: 0.6; }
  50%     { transform: translateX(6px); opacity: 1; }
}

.ba-col{
  border-radius: 14px;
  padding: 17px 19px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.ba-col:hover{ transform: translateY(-3px); }

.ba-col.ba-before{
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
}

.ba-col.ba-after{
  background: rgba(127, 168, 255, 0.06);
  border: 1px solid rgba(127, 168, 255, 0.28);
  box-shadow: 0 0 30px rgba(127, 168, 255, 0.08);
}

.ba-col h4{
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
}

.ba-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  gap: 8px;
}

.ba-row:last-child{ border-bottom: none; }

.ba-key{
  color: var(--muted);
  font-size: 0.82rem;
  flex-shrink: 0;
}

.ba-val{
  font-weight: 600;
  font-family: var(--font-mono);
  text-align: right;
}

.ba-after .ba-val{ color: var(--accent); }

/* ==========================================================================
   Footer & back-to-top
   ========================================================================== */

.site-footer{
  margin-top: 96px;
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-inner{
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand{
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.footer-brand span{
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9375rem;
  letter-spacing: 0;
  color: var(--muted);
}

.footer-links{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-size: 0.9375rem;
}

.footer-links a{
  color: var(--muted);
  border: none;
}

.footer-links a:hover{ color: var(--text); }

.footer-copy{
  width: 100%;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.to-top{
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 150;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(12, 14, 20, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--text);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.25s ease, color 0.25s ease;
}

.to-top.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover{
  border-color: rgba(242, 165, 65, 0.5);
  color: var(--brand-hi);
}

.to-top svg{
  width: 18px; height: 18px;
  stroke: currentColor;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 720px){
  .spec-list > div{
    grid-template-columns: 230px 1fr;
  }
  .media-grid{ grid-template-columns: 1fr 1fr; }
  .checklist{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px){
  .nav-links{
    position: absolute;
    top: 64px;
    left: 16px; right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    background: #0f131c;
    border: 1px solid var(--border-strong);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .nav.open .nav-links{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-toggle{ display: flex; }
  .nav-gh span{ display: none; }
  .nav-gh{ padding: 0 12px; }
  .nav-links a{ padding: 13px 16px; font-size: 1rem; border-radius: 14px; }
  .nav-home{ display: none; }
}

@media (max-width: 720px){
  .stat-grid{ grid-template-columns: repeat(2, 1fr); }
  .split-donut{ grid-template-columns: 1fr; }
  .donut-wrap{ max-width: 290px; margin: 0 auto; }
  .section-num{ display: none; }
  .card{ padding: 24px 20px; }
}

@media (max-width: 580px){
  .before-after{ grid-template-columns: 1fr; }
  .ba-arrow svg{ transform: rotate(90deg); }
  .arch-tl-heads{ flex-direction: column; }
  .hero{ min-height: auto; }
  .hero-cta .btn{ width: 100%; justify-content: center; }
}

/* ==========================================================================
   Background decorations — tematické grafiky (Snake, MCTS, NN, CNN, Kaggle)
   ========================================================================== */

.bg-deco{
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

.bg-deco svg{
  display: block;
  animation: deco-float 16s ease-in-out infinite alternate;
}

.deco-snake { top: 11%;    right: 2.5%; opacity: 0.12; }
.deco-cnn   { top: 34%;    left: 2.5%;  opacity: 0.11; }
.deco-tree  { top: 56%;    right: 3.5%; opacity: 0.12; }
.deco-nn    { bottom: 13%; left: 3%;    opacity: 0.11; }
.deco-trophy{ bottom: 7%;  right: 11%;  opacity: 0.10; }

.deco-cnn svg   { animation-delay: -4s; }
.deco-tree svg  { animation-delay: -8s; }
.deco-nn svg    { animation-delay: -12s; }
.deco-trophy svg{ animation-delay: -6s; }

@keyframes deco-float{
  from{ transform: translateY(-9px); }
  to  { transform: translateY(11px); }
}

@media (max-width: 760px){
  .bg-deco{ display: none; }
}

/* ==========================================================================
   Interaktívna schéma architektúry (PolicyValueNet)
   ========================================================================== */

.arch-svg-wrap{
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.arch-svg{
  display: block;
  width: 100%;
  min-width: 860px;
  height: auto;
}

.arch-svg .an{
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.arch-svg.has-active .an:not(.active){ opacity: 0.4; }

.arch-svg .an-box{
  fill: rgba(127, 168, 255, 0.055);
  stroke: rgba(127, 168, 255, 0.38);
  stroke-width: 1.4;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.arch-svg .an-ghost{
  fill: rgba(127, 168, 255, 0.03);
  stroke: rgba(127, 168, 255, 0.16);
  stroke-width: 1;
}

.arch-svg .an-alt .an-box{
  fill: rgba(242, 165, 65, 0.06);
  stroke: rgba(242, 165, 65, 0.4);
}

.arch-svg .an-concat .an-box{
  fill: rgba(90, 217, 154, 0.06);
  stroke: rgba(90, 217, 154, 0.45);
}

.arch-svg .an:hover .an-box,
.arch-svg .an.active .an-box{
  stroke: #7fa8ff;
  fill: rgba(127, 168, 255, 0.16);
  filter: drop-shadow(0 0 7px rgba(127, 168, 255, 0.45));
}

.arch-svg .an-alt:hover .an-box,
.arch-svg .an-alt.active .an-box{
  stroke: #f2a541;
  fill: rgba(242, 165, 65, 0.18);
  filter: drop-shadow(0 0 7px rgba(242, 165, 65, 0.45));
}

.arch-svg .an-concat:hover .an-box,
.arch-svg .an-concat.active .an-box{
  stroke: #5ad99a;
  fill: rgba(90, 217, 154, 0.16);
  filter: drop-shadow(0 0 7px rgba(90, 217, 154, 0.45));
}

.arch-svg .an-title{
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  fill: var(--text);
}

.arch-svg .an-sub{
  font-family: var(--font-mono);
  font-size: 12.5px;
  fill: #b9c2d8;
}

.arch-svg .an-micro{
  font-family: var(--font-mono);
  font-size: 10.5px;
  fill: var(--muted);
}

.arch-svg .an-plus{
  font-size: 26px;
  fill: var(--accent-3);
}

.arch-svg .an-grid{
  stroke: rgba(127, 168, 255, 0.3);
  stroke-width: 0.7;
  fill: none;
}

.arch-svg .an-cell-s{ fill: #7fa8ff; }
.arch-svg .an-cell-f{ fill: #5ad99a; }
.arch-svg .an-ticks{ fill: rgba(127, 168, 255, 0.5); }

.arch-svg .edge{
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1.6;
  fill: none;
}

.arch-info{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  min-height: 110px;
}

.arch-info strong{
  display: block;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.arch-info p{
  margin: 0 0 8px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.65;
}

.arch-info-meta{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
}

.arch-params-chip{
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  border: 1px solid rgba(127, 168, 255, 0.3);
  border-radius: 999px;
  padding: 4px 11px;
  background: rgba(127, 168, 255, 0.06);
  white-space: nowrap;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

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

/* ==========================================================================
   Pomocné triedy
   ========================================================================== */

.footer-home{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text) !important;
  font-weight: 600;
}

.footer-home:hover{ color: var(--brand-hi) !important; }

/* ==========================================================================
   Odkazy na vizualizáciu siete (navigácia, banner v sekcii Architektúra)
   ========================================================================== */

.nav-links a.nav-viz{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-hi);
  font-weight: 600;
  background: rgba(242, 165, 65, 0.09);
  box-shadow: inset 0 0 0 1px rgba(242, 165, 65, 0.32);
}

.nav-links a.nav-viz:hover{
  color: var(--brand-ink);
  background: var(--brand);
}

.nav-viz i,
.viz-promo-kicker i{
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}

.nav-viz i::after,
.viz-promo-kicker i::after{
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  animation: viz-ping 2.2s var(--ease) infinite;
}

@keyframes viz-ping{
  0%{ transform: scale(1); opacity: 0.7; }
  80%, 100%{ transform: scale(2.8); opacity: 0; }
}

.nav-lang{
  display: inline-grid;
  place-items: center;
  height: 38px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.nav-lang:hover{
  color: var(--brand-hi);
  border-color: rgba(242, 165, 65, 0.45);
  background: rgba(242, 165, 65, 0.08);
}

.viz-promo{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
  margin: 28px 0 26px;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 24px;
  border: 1px solid rgba(242, 165, 65, 0.38);
  background:
    radial-gradient(620px circle at 92% 20%, rgba(127, 168, 255, 0.16), transparent 62%),
    radial-gradient(520px circle at 0% 100%, rgba(242, 165, 65, 0.16), transparent 60%),
    #0b0e15;
  box-shadow: 0 30px 80px -40px rgba(242, 165, 65, 0.55);
  color: var(--text);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.3s ease, box-shadow 0.35s var(--ease);
}

.viz-promo:hover{
  color: var(--text);
  border-color: rgba(242, 165, 65, 0.75);
  transform: translateY(-3px);
  box-shadow: 0 36px 90px -36px rgba(242, 165, 65, 0.7);
}

.viz-promo-text{ display: flex; flex-direction: column; align-items: flex-start; }

.viz-promo-kicker{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 13px 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(242, 165, 65, 0.28);
  background: rgba(242, 165, 65, 0.07);
  color: var(--brand-hi);
  font-size: 0.8125rem;
  font-weight: 600;
}

.viz-promo-title{
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
  text-wrap: balance;
}

.viz-promo p{
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 52ch;
}

.viz-promo p b{ color: var(--text); font-weight: 600; }

.viz-promo-facts{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
}

.viz-promo-facts li{
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.8125rem;
  color: var(--muted);
}

.viz-promo-facts b{ color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }

.viz-promo-btn{ margin-top: 24px; }
.btn svg[stroke]{ fill: none; transition: transform 0.3s var(--ease); }
.viz-promo:hover .viz-promo-btn{ background: var(--brand-hi); box-shadow: 0 10px 34px -8px rgba(242, 165, 65, 0.55); }
.viz-promo:hover .viz-promo-btn svg,
.btn:hover svg[stroke]{ transform: translate(2px, -2px); }

.viz-promo-art{ width: 100%; height: auto; overflow: visible; }
.vp-lines{ stroke: rgba(127, 168, 255, 0.13); stroke-width: 1; fill: none; }
.vp-hot{
  stroke: var(--brand);
  stroke-width: 2.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 10 8;
  filter: drop-shadow(0 0 6px rgba(242, 165, 65, 0.6));
  animation: vp-flow 1.6s linear infinite;
}
@keyframes vp-flow{ to{ stroke-dashoffset: -36; } }
.vp-n-b{ fill: #7fa8ff; opacity: 0.75; }
.vp-n-a{ fill: #5ad99a; }
.vp-n-hot{ fill: var(--brand-hi); filter: drop-shadow(0 0 8px rgba(242, 165, 65, 0.8)); }

.arch-params-chip.arch-viz-link{
  color: var(--brand-ink);
  background: var(--brand);
  border-color: var(--brand);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8125rem;
  padding: 6px 14px;
}
.arch-params-chip.arch-viz-link:hover{ background: var(--brand-hi); border-color: var(--brand-hi); color: var(--brand-ink); }

/* hlavná stránka má v navigácii veľa odkazov: GitHub len ako ikona, odkaz domov je v pätičke */
#mainNav .nav-home{ display: none; }
#mainNav .nav-gh span{ display: none; }
#mainNav .nav-gh{ padding: 0 11px; }
@media (min-width: 1081px){
  #mainNav .nav-links a{ padding: 8px 11px; }
  #mainNav .nav-links a.nav-viz{ padding: 8px 14px; margin: 0 4px; }
}

@media (max-width: 760px){
  .viz-promo{ grid-template-columns: 1fr; }
  .viz-promo-art{ max-width: 340px; margin: 0 auto; order: -1; }
  .viz-promo-btn{ width: 100%; }
}
