/* ==========================================================================
   FreeSketch.cz - Design System & Stylesheet (Levý boční panel / Rail Layout)
   Jarní limetková zeleň, sluneční bokeh a technická preciznost
   ========================================================================== */

:root {
  /* Barevná paleta: Sluneční jarní louka + Limetkový bokeh + Hluboká zeleň */
  --ink: #152416;
  --muted: #4f6350;
  --line: #cbe0ce;
  --line-light: #e5f0e6;
  --paper: #ffffff;
  --wash: #f5f9f3;
  --wash-alt: #ebf5e9;
  
  /* Jarní zeleň listů */
  --brand: #367d1d;
  --brand-mid: #509e2a;
  --brand-bright: #68c436;
  --brand-soft: #f0f8ec;
  --brand-mid-line: #bde0b4;
  
  /* Luminous jarní limetka */
  --lime: #76990a;
  --lime-mid: #9bc213;
  --lime-bright: #bee629;
  --lime-soft: #f7fce8;
  --lime-line: #d8ec9d;
  
  /* Sluneční teplý akcent */
  --sun: #d4a911;
  --sun-mid: #eec41e;
  --sun-bright: #fae45c;
  --sun-soft: #fffde8;
  --sun-line: #faefa8;

  /* Hluboké tóny & Kontrasty */
  --deep: #163615;
  --deep-alt: #0d240d;
  --cta: #1d3d57;
  --cta-soft: #e9f1f7;
  --cta-line: #bbd3e6;
  
  --warn: #7d5727;
  --warn-soft: #fff9eb;
  --warn-line: #e6d3ad;
  
  /* Tmavý terminál pro Ruby kód a prompty */
  --code-bg: #101c12;
  --code-ink: #ddf2de;
  --code-accent: #78e882;
  --code-lime: #d6f74a;
  --code-sun: #fae669;
  --code-muted: #749177;
  --code-line: #223a26;

  /* Geometrie & Typografie */
  --font-head: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", Consolas, monospace;
  
  --rail-width: 275px;
  --radius-lg: 12px;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow-sm: 0 1px 4px rgba(22, 54, 21, 0.06);
  --shadow-md: 0 4px 18px rgba(22, 54, 21, 0.09);
  --shadow-lg: 0 14px 36px rgba(22, 54, 21, 0.13);
  --shadow-glow: 0 0 20px rgba(186, 230, 41, 0.35);

  --max-width: 1360px;
}

/* --------------------------------------------------------------------------
   Základní reset & Luminous Bokeh Pozadí
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  color: var(--ink);
  background-color: #f7faf4;
  background-image:
    radial-gradient(ellipse 90% 50% at 50% -5%, rgba(250, 240, 140, 0.38), transparent 65%),
    radial-gradient(ellipse 70% 45% at 95% 15%, rgba(190, 230, 41, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 5% 45%, rgba(104, 196, 54, 0.16), transparent 50%),
    radial-gradient(ellipse 80% 50% at 85% 80%, rgba(238, 196, 30, 0.12), transparent 55%),
    linear-gradient(180deg, #fbfdf9 0%, #f4f9f1 35%, #ebf4e7 100%);
  background-attachment: fixed;
  font-family: var(--font-body);
  line-height: 1.55;
  min-height: 100vh;
}

/* Horní indikátor čtení */
.top-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(22, 54, 21, 0.08);
  z-index: 1000;
}
.top-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-mid) 0%, var(--lime-bright) 50%, var(--sun-mid) 100%);
  transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   Mobilní horní lišta (zobrazí se pouze na mobilu / tabletu)
   -------------------------------------------------------------------------- */
.mobile-header {
  display: none;
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 0.65rem 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--deep);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
}
.mobile-brand-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--lime-line);
}
.mobile-brand span { color: var(--brand-mid); }

.mobile-menu-btn {
  background: transparent;
  border: 1px solid var(--line);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--ink);
  display: flex;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Dvou-sloupcový layout: Levý boční panel (Rail) + Pravý obsah (Sheet)
   -------------------------------------------------------------------------- */
.layout-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 4rem;
  display: grid;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

/* --------------------------------------------------------------------------
   Levý boční panel (Sticky Rail)
   -------------------------------------------------------------------------- */
.site-rail {
  position: sticky;
  top: 1.25rem;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--lime-line);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem 1.4rem;
  box-shadow: var(--shadow-sm), 0 4px 16px rgba(155, 194, 19, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--lime-line) transparent;
}

.rail-brand {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 0.15rem 0.35rem 0.85rem;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.15s ease;
}
.rail-brand:hover {
  opacity: 0.88;
}

.rail-brand-text {
  display: flex;
  flex-direction: column;
}
.rail-brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  line-height: 1.1;
  color: var(--deep);
  letter-spacing: -0.02em;
}
.rail-brand-name span { color: var(--brand-mid); }
.rail-tagline {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lime);
  margin-top: 0.2rem;
}

.rail-nav-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 0.4rem;
  padding-left: 0.4rem;
}

.rail-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.rail-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  border-left: 3px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: all 0.15s ease;
  line-height: 1.3;
}
.rail-link .num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--lime);
  min-width: 1.4rem;
}
.rail-link:hover {
  color: var(--brand);
  background: var(--brand-soft);
  border-left-color: var(--lime-mid);
}
.rail-link.is-active {
  color: var(--deep);
  font-weight: 700;
  background: var(--brand-soft);
  border-left-color: var(--brand-mid);
  box-shadow: inset 0 0 0 1px var(--brand-mid-line);
}

.rail-actions {
  border-top: 1px solid var(--line);
  padding-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.rail-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: 0 2px 6px rgba(54, 125, 29, 0.25);
  transition: all 0.15s ease;
}
.rail-cta-btn:hover {
  background: linear-gradient(135deg, var(--brand-mid) 0%, var(--lime) 100%);
  transform: translateY(-1px);
}

.rail-contact-box {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  font-size: 0.76rem;
}
.rail-contact-lbl {
  font-weight: 700;
  color: var(--deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}
.rail-contact-email {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  word-break: break-all;
}
.rail-contact-email:hover {
  text-decoration: underline;
}

.rail-full-logo {
  width: 100%;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--lime-line);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: block;
}
.rail-full-logo:hover {
  transform: translateY(-2px);
  border-color: var(--lime-mid);
  box-shadow: 0 6px 18px rgba(155, 194, 19, 0.25);
}
.rail-full-logo-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.rail-shortcuts-hint {
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.2rem;
}
.rail-shortcuts-hint kbd {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Pravý obsahový list (Sheet)
   -------------------------------------------------------------------------- */
.site-sheet {
  min-width: 0;
}

/* --------------------------------------------------------------------------
   Hero Sekce (Čisté zelené pole se slunečním rozptylem)
   -------------------------------------------------------------------------- */
.hero {
  background:
    radial-gradient(circle at 80% 18%, rgba(250, 245, 140, 0.28) 0%, transparent 48%),
    radial-gradient(circle at 12% 82%, rgba(190, 230, 41, 0.20) 0%, transparent 42%),
    linear-gradient(135deg, #133314 0%, #1c4b1b 38%, #2e6620 72%, #4c821e 100%);
  color: #ffffff;
  padding: 2.6rem 2.3rem 2.3rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md), 0 8px 25px rgba(22, 54, 21, 0.18);
  border: 1px solid rgba(216, 236, 157, 0.3);
}

.hero::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 250, 160, 0.3) 0%, rgba(190, 230, 41, 0.15) 50%, transparent 70%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #faefa8;
  background: rgba(250, 239, 168, 0.18);
  border: 1px solid rgba(250, 239, 168, 0.4);
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.95rem;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: 2.35rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.95rem;
  max-width: 900px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.hero h1 .highlight {
  background: linear-gradient(90deg, #d6f74a 0%, #fae45c 50%, #bee629 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-lead {
  font-size: 1.12rem;
  line-height: 1.58;
  color: #e2f2e0;
  max-width: 820px;
  margin-bottom: 1.85rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #bee629 0%, #9bc213 100%);
  color: #152c06;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.96rem;
  font-weight: 800;
  padding: 0.68rem 1.35rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(155, 194, 19, 0.45);
  transition: all 0.15s ease;
}
.btn-primary:hover {
  background: linear-gradient(135deg, #d4f74a 0%, #aed615 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(190, 230, 41, 0.55);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.68rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.15s ease;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* KPI Metriky v Hero */
.hero-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 1.5rem;
}

.kpi-cell {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.kpi-val {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  color: #e6f772;
  margin-bottom: 0.25rem;
}
.kpi-lbl {
  font-size: 0.76rem;
  color: #d6e8d4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Modulární karty (section.card)
   -------------------------------------------------------------------------- */
.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.9rem 2.1rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:focus-within,
.card.is-active-target {
  border-color: var(--lime-mid);
  box-shadow: 0 0 0 3px var(--lime-soft), var(--shadow-md);
}

.card-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.card-title-group h2 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--deep);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.card-title-group h2 .num {
  color: var(--brand);
  font-size: 1.15rem;
}
.card-subtitle {
  font-size: 0.93rem;
  color: var(--muted);
}

/* Boxy pro zvýraznění */
.box {
  border: 1px solid var(--line);
  background: var(--wash);
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius);
  margin: 1rem 0;
  font-size: 0.93rem;
}
.box--ok {
  background: var(--brand-soft);
  border-color: var(--brand-mid-line);
  color: #163615;
}
.box--warn {
  background: var(--warn-soft);
  border-color: var(--warn-line);
  color: #4a3418;
}
.box--lime {
  background: var(--lime-soft);
  border-color: var(--lime-line);
  color: #314205;
}
.box--cta {
  background: var(--cta-soft);
  border-color: var(--cta-line);
  color: #0e243d;
}
.box-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Štítky & Odznaky */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  line-height: 1.2;
}
.badge--brand {
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid var(--brand-mid-line);
}
.badge--lime {
  background: var(--lime-soft);
  color: #557005;
  border: 1px solid var(--lime-line);
}
.badge--cta {
  background: var(--cta-soft);
  color: var(--cta);
  border: 1px solid var(--cta-line);
}
.badge--warn {
  background: var(--warn-soft);
  color: var(--warn);
  border: 1px solid var(--warn-line);
}

/* --------------------------------------------------------------------------
   Sekce 01: Aktuality & Zprávy
   -------------------------------------------------------------------------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.15rem;
}
.news-card {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.18s ease;
}
.news-card:hover {
  background: #ffffff;
  border-color: var(--lime-mid);
  box-shadow: 0 4px 14px rgba(155, 194, 19, 0.15);
  transform: translateY(-2px);
}
.news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.news-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--deep);
  margin-bottom: 0.5rem;
}
.news-excerpt {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.48;
  margin-bottom: 0.85rem;
  flex: 1;
}
.news-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  margin-bottom: 0.85rem;
  min-height: 72px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.news-card:hover .news-logo-wrap {
  border-color: var(--lime-mid);
}
.news-logo-img {
  max-height: 54px;
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
}
.news-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--brand);
  border-top: 1px solid var(--line-light);
  padding-top: 0.65rem;
}

/* --------------------------------------------------------------------------
   Sekce 02: Smart Console Large PRO ke stažení
   -------------------------------------------------------------------------- */
.smart-console-feature-box {
  background: #ffffff;
  border: 1px solid var(--lime-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sc-header-block {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.sc-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--deep);
}

.sc-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}
.sc-feature-item {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1rem;
}
.sc-feature-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sc-feature-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

.sc-download-card {
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--lime-soft) 100%);
  border: 1px solid var(--lime-line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}
.sc-download-info h4 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 0.25rem;
}
.sc-download-info p {
  font-size: 0.86rem;
  color: var(--muted);
}

/* Multiplatformní optimalizace & Google Antigravity */
.sc-crossplatform-card {
  background: #ffffff;
  border: 1.5px solid var(--lime-line);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  margin: 1.25rem 0;
  box-shadow: 0 4px 16px rgba(54, 125, 29, 0.08);
}

.sc-crossplatform-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid var(--line-light);
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.sc-platform-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.platform-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--wash);
  border: 1px solid var(--line);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--deep);
}

.platform-tag svg {
  color: var(--brand);
}

.platform-tag--highlight {
  background: var(--lime-soft);
  border-color: var(--lime-mid);
  color: var(--brand);
}

.sc-builtwith-box {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.sc-antigravity-logo {
  height: 24px;
  max-width: 180px;
  width: auto;
  display: block;
  object-fit: contain;
}

.sc-crossplatform-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--deep);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

.sc-crossplatform-title svg {
  color: var(--brand);
}

.sc-crossplatform-text {
  font-size: 0.89rem;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.sc-crossplatform-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}

.sc-point-item {
  background: var(--wash);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

.sc-point-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.sc-point-item strong {
  display: block;
  color: var(--deep);
  font-size: 0.84rem;
  margin-bottom: 0.15rem;
}

.sc-point-item span {
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Smart Console: Galerie mobilních snímků
   -------------------------------------------------------------------------- */
.sc-gallery-section {
  margin: 1.5rem 0 1.25rem;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.sc-gallery-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.sc-gallery-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--deep);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sc-gallery-subtitle {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.25rem;
  line-height: 1.4;
}

.smart-console-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.15rem;
}

.sc-img-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.sc-img-card:hover {
  border-color: var(--brand-mid);
  box-shadow: 0 10px 28px rgba(54, 125, 29, 0.22);
  transform: translateY(-4px);
}

.sc-img-wrap {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #0b110e;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sc-img-card:hover .sc-img-wrap img {
  transform: scale(1.05);
}

.sc-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.65rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, transparent 35%, transparent 65%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
}

.sc-img-tag {
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(0,0,0,0.35);
}

.sc-img-zoom-btn {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(22, 36, 23, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.sc-img-card:hover .sc-img-zoom-btn {
  opacity: 1;
  transform: translateY(0);
}

.sc-img-info {
  padding: 0.85rem 0.95rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.sc-img-title {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.sc-img-desc {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.42;
}

/* --------------------------------------------------------------------------
   Sekce 03: WoodSketch (Ve vývoji) & Galerie obrázků
   -------------------------------------------------------------------------- */
.woodsketch-brand-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: linear-gradient(135deg, #f7faf4 0%, #ffffff 100%);
  border: 1.5px solid var(--lime-line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 16px rgba(155, 194, 19, 0.08);
}

.woodsketch-logo-wrap {
  width: 96px;
  height: 96px;
  min-width: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--lime-mid);
  box-shadow: 0 4px 14px rgba(54, 125, 29, 0.2);
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.woodsketch-logo-wrap:hover {
  transform: scale(1.06) rotate(3deg);
  box-shadow: 0 6px 20px rgba(54, 125, 29, 0.3);
}
.woodsketch-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.woodsketch-brand-info {
  flex: 1;
}
.woodsketch-brand-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}
.woodsketch-brand-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--deep);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}
.woodsketch-brand-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .woodsketch-brand-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  .woodsketch-brand-meta {
    justify-content: center;
  }
}

.woodsketch-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin: 1.5rem 0;
}

.woodsketch-img-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}
.woodsketch-img-card:hover {
  border-color: var(--lime-mid);
  box-shadow: 0 8px 24px rgba(155, 194, 19, 0.2);
  transform: translateY(-3px);
}

.woodsketch-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #2a2a2a;
  overflow: hidden;
  cursor: pointer;
}
.woodsketch-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.woodsketch-img-wrap:hover img {
  transform: scale(1.04);
}

.woodsketch-img-info {
  padding: 0.9rem 1rem;
  flex: 1;
}
.woodsketch-img-title {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 0.25rem;
}
.woodsketch-img-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.woodsketch-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   Sekce 04: Vibe Coding Lab (EDU, Prompty & Ruby)
   -------------------------------------------------------------------------- */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
}

/* Doporučené AI nástroje a IDE */
.vibe-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin: 1.25rem 0 2rem;
}

.vibe-tool-card {
  background: var(--paper);
  border: 1.5px solid var(--lime-line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}
.vibe-tool-card:hover {
  border-color: var(--lime-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(155, 194, 19, 0.18);
}
.vibe-tool-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.vibe-tool-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--deep);
}
.vibe-tool-role {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 0.6rem;
}
.vibe-tool-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.85rem;
  flex: 1;
}
.vibe-tool-footer {
  background: var(--wash);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink);
  line-height: 1.45;
}
.vibe-tool-footer strong {
  color: var(--deep);
}

@media (max-width: 768px) {
  .vibe-tools-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--wash);
  border: 1px solid var(--line);
  padding: 1.15rem;
  border-radius: var(--radius);
  position: relative;
  transition: all 0.15s ease;
}
.step-card:hover {
  border-color: var(--lime-mid);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(155, 194, 19, 0.12);
}
.step-num {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.35rem;
}
.step-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 0.35rem;
}
.step-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Praktický průvodce pro začátečníka (Google Gemini + Výkaz výměr)
   -------------------------------------------------------------------------- */
.tutorial-wrapper {
  background: #ffffff;
  border: 1.5px solid var(--lime-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.75rem 0 2rem;
  box-shadow: var(--shadow-sm);
}

.tutorial-header-block {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.9rem;
  margin-bottom: 1.25rem;
}

.tutorial-prompt-box {
  background: var(--paper);
  border: 1.5px solid var(--lime-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.tutorial-prompt-top {
  background: var(--wash);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.tutorial-tool-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.tutorial-icon-preview {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: #ffffff;
  border: 2px solid var(--lime-mid);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(54, 125, 29, 0.15);
  padding: 4px;
}

.tutorial-icon-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.tutorial-prompt-content {
  padding: 1.15rem 1.3rem;
  background: var(--code-bg);
  color: var(--code-ink);
  font-family: var(--font-mono);
  font-size: 0.83rem;
  line-height: 1.55;
  white-space: pre-wrap;
  max-height: 380px;
  overflow-y: auto;
}

/* Kroky manuálu */
.tutorial-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .tutorial-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tutorial-steps-grid {
    grid-template-columns: 1fr;
  }
}

.tutorial-step-card {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.18s ease;
}

.tutorial-step-card:hover {
  background: #ffffff;
  border-color: var(--lime-mid);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(155, 194, 19, 0.15);
}

.tutorial-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.tutorial-step-num {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tutorial-step-title {
  font-family: var(--font-head);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 0.45rem;
  line-height: 1.3;
}

.tutorial-step-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.48;
  flex: 1;
}

.tutorial-step-desc code {
  background: rgba(54, 125, 29, 0.08);
  color: var(--brand);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  word-break: break-all;
}

.code-path-box {
  background: #0d1410;
  color: #e6f772;
  border: 1px solid var(--code-line);
  border-radius: 6px;
  padding: 0.5rem 0.65rem;
  margin: 0.45rem 0 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.35;
  word-break: break-all;
}

.code-path-box code {
  background: transparent !important;
  color: inherit !important;
  padding: 0 !important;
  font-size: inherit !important;
}

.tip-path-note {
  display: block;
  font-size: 0.78rem;
  color: var(--brand);
  font-weight: 600;
  line-height: 1.35;
}

.tip-path-note kbd,
.tutorial-step-desc kbd {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.1rem 0.35rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* Srovnání .RB vs .RBZ */
.comparison-section {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 768px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.comparison-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.comparison-card--featured {
  border-color: var(--lime-mid);
  background: linear-gradient(180deg, #ffffff 0%, #fcfffa 100%);
  box-shadow: 0 4px 16px rgba(54, 125, 29, 0.08);
}

.comparison-header {
  margin-bottom: 0.85rem;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 0.65rem;
}

.comparison-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 0.3rem;
}

.comparison-row {
  font-size: 0.86rem;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 0.45rem;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}

.comparison-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.35rem;
}

.comparison-list--pro li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 800;
}

.comparison-list--con li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--warn);
  font-weight: 800;
}

/* Důležité oficiální zdroje a odkazy */
.official-resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.15rem;
  margin-top: 1rem;
}

.resource-card {
  background: #ffffff;
  border: 1.5px solid var(--lime-line);
  border-radius: var(--radius);
  padding: 1.2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.resource-card:hover {
  border-color: var(--brand-mid);
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(54, 125, 29, 0.16);
}

.resource-card--featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #ffffff 0%, #fcfffa 100%);
  border: 2px solid var(--brand-mid-line);
  box-shadow: 0 4px 18px rgba(54, 125, 29, 0.12);
}

.resource-card--featured:hover {
  border-color: var(--brand);
  box-shadow: 0 8px 26px rgba(54, 125, 29, 0.2);
}

.resource-card--featured .resource-card-title {
  font-size: 1.18rem;
  color: var(--brand);
}

.resource-card--featured .resource-card-desc {
  font-size: 0.91rem;
  line-height: 1.55;
  color: var(--deep);
}

.resource-story-box {
  background: rgba(54, 125, 29, 0.05);
  border: 1px dashed var(--lime-mid);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 0.85rem 0 1.15rem;
}

.resource-story-header {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.4rem;
}

.resource-story-header svg {
  color: var(--brand);
  flex-shrink: 0;
}

.resource-story-text {
  font-size: 0.86rem;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 0.65rem;
}

.resource-story-text strong {
  color: var(--deep);
}

.resource-story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  background: #ffffff;
  border: 1px solid var(--lime-line);
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: all 0.15s ease;
}

.resource-story-link:hover {
  background: var(--lime);
  color: var(--deep);
  border-color: var(--brand);
  transform: translateY(-1px);
}

.resource-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.resource-card-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--deep);
  line-height: 1.3;
}

.resource-card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
}

.resource-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-light);
  padding-top: 0.65rem;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
  transition: color 0.15s ease;
}

.resource-card:hover .resource-card-footer {
  color: var(--cta);
}

/* --------------------------------------------------------------------------
   Doporučená klasika: Legendární a ověřené pluginy pro SketchUp
   -------------------------------------------------------------------------- */
.classic-plugins-section {
  background: var(--paper);
  border: 1.5px solid var(--lime-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.classic-large-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
  margin-top: 1rem;
}

@media (max-width: 860px) {
  .classic-large-grid {
    grid-template-columns: 1fr;
  }
}

.classic-large-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.classic-large-card:hover {
  border-color: var(--lime-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(54, 125, 29, 0.12);
}

.classic-large-header {
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 0.65rem;
  margin-bottom: 0.75rem;
}

.classic-large-title {
  font-family: var(--font-head);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--deep);
  line-height: 1.25;
}

.classic-large-tagline {
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 700;
  line-height: 1.35;
}

.classic-large-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.classic-large-meta strong {
  color: var(--ink);
}

.classic-large-desc {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.52;
  margin-bottom: 0.95rem;
}

.classic-large-desc em {
  font-style: normal;
  font-weight: 700;
  color: var(--deep);
}

.classic-features-block {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 1.15rem;
  flex: 1;
}

.classic-features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink);
}

.classic-features-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.35rem;
}

.classic-features-list li:last-child {
  margin-bottom: 0;
}

.classic-features-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 800;
  font-size: 0.78rem;
}

.classic-large-footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line-light);
  padding-top: 0.9rem;
}

/* 4 autorské legendární balíky */
.author-suites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

@media (max-width: 768px) {
  .author-suites-grid {
    grid-template-columns: 1fr;
  }
}

.author-suite-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.18s ease;
  box-shadow: var(--shadow-sm);
}

.author-suite-card:hover {
  border-color: var(--brand-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(54, 125, 29, 0.12);
}

.author-suite-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.author-suite-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--deep);
}

.author-suite-plugins {
  background: rgba(54, 125, 29, 0.06);
  border-radius: 4px;
  padding: 0.35rem 0.55rem;
  font-size: 0.79rem;
  color: var(--brand);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.author-suite-plugins strong {
  color: var(--deep);
}

.author-suite-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.48;
  margin-bottom: 0.85rem;
}

.author-suite-desc strong {
  color: var(--deep);
}

.author-suite-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-light);
  padding-top: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand);
  text-decoration: none;
  transition: color 0.15s ease;
}

.author-suite-link:hover {
  color: var(--brand-dark);
}

/* Zlatá pravidla pro tvorbu pluginů */
.golden-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .golden-rules-grid {
    grid-template-columns: 1fr;
  }
}

.golden-rule-card {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.golden-rule-card:hover {
  background: #ffffff;
  border-color: var(--lime-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(155, 194, 19, 0.18);
}

.golden-rule-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.golden-rule-num {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.golden-rule-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.golden-rule-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.52;
  margin-bottom: 0.9rem;
  flex: 1;
}

.golden-rule-desc code {
  background: rgba(54, 125, 29, 0.08);
  color: var(--brand);
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
}

.golden-rule-tip {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--lime-line);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  color: var(--ink);
  line-height: 1.45;
}

.golden-rule-card:hover .golden-rule-tip {
  border-color: var(--lime-mid);
  background: var(--lime-soft);
}

.golden-rule-tip svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand);
}

/* --------------------------------------------------------------------------
   Sekce 05: Nápady komunity & Backlog
   -------------------------------------------------------------------------- */
.ideas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.idea-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.18s ease;
  position: relative;
}

.idea-card:hover {
  border-color: var(--brand-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(54, 125, 29, 0.12);
}

.idea-card--ranked {
  border-left: 4px solid var(--brand);
}

.idea-rank-badge {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
  display: inline-block;
}

.idea-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.idea-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--deep);
  line-height: 1.3;
}

.idea-desc {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.48;
  margin-bottom: 1.1rem;
}

.idea-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line-light);
  padding-top: 0.75rem;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.idea-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.idea-category {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
}

.idea-author-tag {
  font-size: 0.74rem;
  color: var(--muted);
}
.btn-upvote {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-upvote:hover {
  border-color: var(--lime-mid);
  color: var(--brand);
  background: var(--lime-soft);
}
.btn-upvote.is-voted {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-mid) 100%);
  color: #ffffff;
  border-color: var(--brand);
}

/* --------------------------------------------------------------------------
   Komunitní poptávková sekce & Služby FreeSketch
   -------------------------------------------------------------------------- */
.community-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
  margin-top: 1.75rem;
}

@media (max-width: 820px) {
  .community-services-grid {
    grid-template-columns: 1fr;
  }
}

.community-service-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.community-service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(54, 125, 29, 0.12);
}

.community-service-card--request {
  border-color: var(--lime-line);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdf9 100%);
  border-left: 5px solid var(--brand);
}

.community-service-card--submit {
  border-color: var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbf8 100%);
  border-left: 5px solid var(--deep);
}

.cs-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.cs-card-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.cs-card-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--deep);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.cs-card-desc {
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.52;
  margin-bottom: 1.1rem;
}

.cs-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
  background: var(--wash);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
}

.cs-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.84rem;
  line-height: 1.45;
}

.cs-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--brand);
  color: #ffffff;
  border-radius: 50%;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 1px;
}

.community-service-card--submit .cs-step-num {
  background: var(--deep);
}

.cs-step-item strong {
  color: var(--deep);
  display: inline;
  margin-right: 0.25rem;
}

.cs-step-item span {
  color: var(--muted);
}

.cs-card-footer {
  margin-top: auto;
  padding-top: 0.5rem;
}

/* Doporučený YouTube kanál */
.youtube-recommendation-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, #fffcfb 0%, #ffffff 100%);
  border: 1.5px solid #ffccd2;
  border-left: 5px solid #ff0000;
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  margin: 1.75rem 0 1.25rem;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.06);
}
.youtube-icon-wrap {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: #ff0000;
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.28);
}
.youtube-card-info {
  flex: 1;
}
.youtube-card-title {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--deep);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}
.youtube-card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.48;
  margin-bottom: 0.6rem;
}
.youtube-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ff0000;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.42rem 0.9rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}
.youtube-card-btn:hover {
  background: #cc0000;
  transform: translateY(-1px);
}

/* Požadavky a výzva pro tvůrce pluginů */
.dev-requirements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}
.dev-req-card {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dev-req-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--deep);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}
.dev-req-desc {
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.48;
}
.dev-req-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  margin-top: 0.4rem;
}
.dev-req-link:hover {
  text-decoration: underline;
}

.dev-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}
.dev-link-card {
  background: #ffffff;
  border: 1.5px solid var(--lime-line);
  border-radius: var(--radius-sm);
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  transition: all 0.18s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dev-link-card:hover {
  border-color: var(--brand-mid);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(54, 125, 29, 0.15);
}
.dev-link-name {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dev-link-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .youtube-recommendation-card {
    flex-direction: column;
    text-align: center;
  }
  .youtube-card-title {
    justify-content: center;
  }
  .dev-requirements-grid,
  .dev-links-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Sekce 06: Koncepce pluginu FreeSketch
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Sekce 06: FreeSketch Hub & 3D JSON Inspector
   -------------------------------------------------------------------------- */

/* Karta pro stažení balíčku FreeSketch Hub */
.hub-download-card {
  background: linear-gradient(135deg, #1b2e1c 0%, #0e1c10 100%);
  border: 1.5px solid var(--box-border);
  border-radius: var(--radius);
  color: #ffffff;
  padding: 1.5rem 1.65rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(22, 36, 23, 0.15);
  position: relative;
  overflow: hidden;
}

.hub-download-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(133, 171, 19, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hub-download-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.hub-download-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.hub-version-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  color: #e2f5dc;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
}

.hub-download-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.hub-download-subtitle {
  font-size: 0.88rem;
  color: #c0d8bf;
  margin-top: 0.25rem;
  max-width: 540px;
  line-height: 1.45;
}

.hub-btn-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(133, 171, 19, 0.4);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hub-btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(133, 171, 19, 0.55);
}

.hub-btn-size {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 0.1rem;
}

.hub-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.hub-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  color: #d8ebd6;
}

.hub-chip svg {
  color: var(--lime-mid);
}

.hub-chip kbd {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.05rem 0.35rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #ffffff;
}

.hub-install-quick {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
}

.hub-install-label {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--lime-mid);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hub-install-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.4rem 1.25rem;
}

@media (max-width: 768px) {
  .hub-install-steps {
    grid-template-columns: 1fr;
  }
}

.hub-install-steps li {
  font-size: 0.82rem;
  color: #c9dec8;
  line-height: 1.4;
}

/* Karta prezentace screenshotu UI */
.hub-ui-showcase-card {
  background: #172418;
  border: 1.5px solid var(--box-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-bottom: 1.75rem;
}

.hub-ui-showcase-header {
  background: #0f1910;
  border-bottom: 1px solid #283e29;
  padding: 0.65rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hub-window-dot {
  width: 10px;
  height: 10px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(133, 171, 19, 0.8);
}

.hub-ui-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.hub-ui-image-wrap {
  position: relative;
  cursor: pointer;
  background: #0d150e;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.hub-ui-screenshot-img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.hub-ui-image-wrap:hover .hub-ui-screenshot-img {
  transform: scale(1.01);
  filter: brightness(1.04);
}

.hub-ui-zoom-overlay {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  pointer-events: none;
  opacity: 0.92;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hub-ui-image-wrap:hover .hub-ui-zoom-overlay {
  opacity: 1;
  transform: translateY(-2px);
}

.hub-zoom-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(14, 26, 15, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e6f772;
  border: 1px solid var(--lime-mid);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.hub-ui-caption {
  background: #111d12;
  padding: 0.75rem 1.15rem;
  border-top: 1px solid #233724;
}

.hub-ui-caption p {
  font-size: 0.85rem;
  color: #c2d8bf;
  margin: 0;
  line-height: 1.45;
}

/* Mřížka 4 modulů */
.hub-modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .hub-modules-grid {
    grid-template-columns: 1fr;
  }
}

.hub-module-card {
  background: #ffffff;
  border: 1.5px solid var(--lime-line);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.hub-module-card:hover {
  border-color: var(--brand-mid);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(54, 125, 29, 0.12);
}

.hub-module-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.hub-module-badge {
  display: inline-block;
  background: rgba(54, 125, 29, 0.1);
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
}

.hub-module-sub {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
}

.hub-module-title {
  font-family: var(--font-head);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 0.35rem;
}

.hub-module-desc {
  font-size: 0.86rem;
  color: var(--ink);
  line-height: 1.48;
  margin-bottom: 0.85rem;
  flex-grow: 1;
}

.hub-module-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-top: 1px dashed var(--line);
  padding-top: 0.65rem;
}

.hub-module-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}

.hub-module-points svg {
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}

.concept-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1rem;
}

@media (max-width: 992px) {
  .concept-layout {
    grid-template-columns: 1fr;
  }
}

.concept-info-col {
  display: flex;
  flex-direction: column;
}

/* Přehled 2 karet v dialogu */
.concept-tabs-overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
  .concept-tabs-overview {
    grid-template-columns: 1fr;
  }
}

.concept-tab-card {
  background: #ffffff;
  border: 1.5px solid var(--lime-line);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.18s ease;
}

.concept-tab-card:hover {
  border-color: var(--brand-mid);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(54, 125, 29, 0.12);
}

.concept-tab-badge {
  display: inline-block;
  background: rgba(54, 125, 29, 0.1);
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  margin-bottom: 0.35rem;
}

.concept-tab-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 0.3rem;
}

.concept-tab-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Workflow box */
.concept-workflow-box {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.concept-workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.workflow-step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.workflow-step-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--brand);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.workflow-step-title {
  font-family: var(--font-head);
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 0.2rem;
}

.workflow-step-desc {
  font-size: 0.84rem;
  color: var(--ink);
  line-height: 1.45;
  margin: 0;
}

.workflow-step-desc code {
  background: rgba(54, 125, 29, 0.08);
  color: var(--brand);
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.workflow-step-desc em {
  color: var(--deep);
  font-style: italic;
}

/* Tabulka extrahovaných dat */
.collected-data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (max-width: 600px) {
  .collected-data-grid {
    grid-template-columns: 1fr;
  }
}

.collected-data-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  font-size: 0.8rem;
  line-height: 1.35;
}

.collected-data-item strong {
  color: var(--brand);
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-head);
  font-size: 0.82rem;
}

.collected-data-item span {
  color: var(--muted);
}

/* Autentický SketchUp UI::HtmlDialog Mockup */
.concept-mockup-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sketchup-dialog-mockup {
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  border: 1.5px solid #2d3748;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  font-family: var(--font-body);
}

.dialog-mockup-titlebar {
  background: #232c3d;
  color: #e2e8f0;
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.dialog-mockup-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}

.dialog-mockup-dot {
  width: 8px;
  height: 8px;
  background: #bee629;
  border-radius: 50%;
  display: inline-block;
}

.dialog-mockup-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #a0aec0;
  cursor: default;
}

.dialog-mockup-nav {
  display: flex;
  background: #1a222e;
  border-bottom: 1px solid #323d4d;
}

.dialog-nav-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.55rem 0.4rem;
  cursor: pointer;
  transition: all 0.15s ease;
  border-bottom: 2.5px solid transparent;
}

.dialog-nav-btn:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.04);
}

.dialog-nav-btn.active {
  color: #e6f772;
  border-bottom-color: #bee629;
  background: rgba(190, 230, 41, 0.08);
}

.dialog-mockup-body {
  padding: 1.1rem;
  background: linear-gradient(180deg, #fdfefe 0%, #f4f8f3 100%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.dialog-mockup-hero {
  text-align: center;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 0.65rem;
}

.dialog-mockup-badge {
  display: inline-block;
  background: rgba(54, 125, 29, 0.1);
  color: var(--brand);
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  margin-bottom: 0.25rem;
}

.dialog-mockup-greeting {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 0.15rem;
}

.dialog-mockup-sub {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
}

.dialog-mockup-card {
  background: #ffffff;
  border: 1px solid var(--lime-line);
  border-radius: 6px;
  padding: 0.75rem 0.85rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.dialog-card-tag {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cta);
  margin-bottom: 0.2rem;
}

.dialog-card-title {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 0.2rem;
  line-height: 1.25;
}

.dialog-card-text {
  font-size: 0.78rem;
  color: var(--ink);
  line-height: 1.4;
  margin: 0;
}

.dialog-mockup-card--tip {
  background: #fbfef7;
  border-color: var(--lime-mid);
  border-left: 3.5px solid var(--brand);
}

.dialog-mockup-card--tip code {
  background: rgba(54, 125, 29, 0.08);
  color: var(--brand);
  padding: 0.1rem 0.25rem;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
}

.dialog-json-viewer {
  background: #0d1410;
  border: 1px solid var(--code-line);
  border-radius: 6px;
  padding: 0.55rem 0.7rem;
  max-height: 200px;
  overflow-y: auto;
}

.dialog-json-viewer pre {
  margin: 0;
}

.dialog-json-viewer code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.38;
  color: #bbf7d0;
  white-space: pre-wrap;
  word-break: break-all;
}

.dialog-mockup-footer {
  border-top: 1px solid var(--line-light);
  padding-top: 0.65rem;
}

.mockup-caption {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
  text-align: center;
  margin-top: 0.65rem;
  max-width: 320px;
}

.mockup-caption code {
  font-family: var(--font-mono);
  color: var(--brand);
  background: rgba(54, 125, 29, 0.08);
  padding: 0.1rem 0.25rem;
  border-radius: 3px;
  font-size: 0.75rem;
}

/* --------------------------------------------------------------------------
   Sekce 07: Kodex FreeSketch (Manifest)
   -------------------------------------------------------------------------- */
.kodex-container {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.kodex-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.kodex-lang-toggle {
  display: inline-flex;
  border: 1px solid var(--brand);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #ffffff;
}
.kodex-lang-btn {
  border: none;
  background: transparent;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand);
  padding: 0.28rem 0.75rem;
  cursor: pointer;
}
.kodex-lang-btn.is-active {
  background: var(--brand);
  color: #ffffff;
}

.kodex-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.1rem;
}
.kodex-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
}
.kodex-item-num {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.kodex-item-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--deep);
  margin-bottom: 0.35rem;
}
.kodex-item-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.48;
}

/* --------------------------------------------------------------------------
   Sekce 08: Partneři & Kontakt (sketchup.cz & 3E Praha Engineering a.s.)
   -------------------------------------------------------------------------- */
.partner-sketchup-card {
  background: #ffffff;
  border: 1.5px solid #004f83;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 26px rgba(0, 79, 131, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.partner-sketchup-header {
  background: linear-gradient(135deg, #004f83 0%, #003052 100%);
  padding: 1.1rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.partner-logos-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  background: #ffffff;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.partner-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.partner-logo-link:hover {
  transform: scale(1.02);
}

.partner-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.partner-logo-img--sketchup {
  max-width: 220px;
}

.partner-logo-img--3e {
  max-width: 170px;
}

.partner-logo-divider {
  width: 1.5px;
  height: 32px;
  background: #e2e8f0;
}

.partner-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.partner-badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 8px #4ade80;
}

.partner-sketchup-body {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.75rem;
  padding: 1.6rem;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

@media (max-width: 960px) {
  .partner-sketchup-body {
    grid-template-columns: 1fr;
  }
}

.partner-sketchup-main {
  display: flex;
  flex-direction: column;
}

.partner-tagline {
  font-family: var(--font-head);
  font-size: 1.18rem;
  font-weight: 800;
  color: #00355e;
  line-height: 1.35;
  margin-bottom: 0.65rem;
}

.partner-desc {
  font-size: 0.92rem;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.partner-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}

@media (max-width: 600px) {
  .partner-services-grid {
    grid-template-columns: 1fr;
  }
}

.partner-service-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-left: 3.5px solid #004f83;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.partner-service-item:hover {
  border-color: #004f83;
  border-left-color: #0263a5;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 79, 131, 0.1);
}

.partner-service-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: rgba(0, 79, 131, 0.08);
  color: #004f83;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-service-title {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--deep);
  margin-bottom: 0.2rem;
}

.partner-service-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.42;
  margin: 0;
}

.partner-sketchup-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner-sidebar-box {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.partner-sidebar-title {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 800;
  color: #00355e;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #e2e8f0;
}

.partner-contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.partner-contact-label {
  color: var(--muted);
  font-weight: 600;
}

.partner-contact-val {
  font-weight: 700;
  color: #004f83;
  text-decoration: none;
}

.partner-contact-val:hover {
  text-decoration: underline;
  color: #00355e;
}

.partner-contact-val--highlight {
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: #0263a5;
}

.partner-cta-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.btn-partner-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #004f83 0%, #0263a5 100%);
  color: #ffffff !important;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 800;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.18s ease;
  box-shadow: 0 4px 12px rgba(0, 79, 131, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-partner-primary:hover {
  background: linear-gradient(135deg, #0263a5 0%, #00355e 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 79, 131, 0.3);
}

.btn-partner-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #00355e;
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid #cbd5e1;
  transition: all 0.15s ease;
}

.btn-partner-secondary:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
  color: #000000;
}

/* --------------------------------------------------------------------------
   Patička (Site Footer)
   -------------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, #132b13 0%, #0d1e0d 100%);
  color: #d6e8d8;
  padding: 3rem 1.5rem 2rem;
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--lime-mid);
  margin-top: 2rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.footer-brand p {
  font-size: 0.88rem;
  color: #a8caa9;
  line-height: 1.5;
  max-width: 380px;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #faefa8;
  margin-bottom: 0.85rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.footer-links a {
  text-decoration: none;
  color: #a8caa9;
  font-size: 0.86rem;
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: #ffffff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: #8dae8e;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Lightbox / Modál pro obrázky & kód
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(14, 28, 16, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  background: #ffffff;
  border: 1px solid var(--lime-line);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(20px);
  transition: transform 0.2s ease;
  overflow: hidden;
}
.modal-overlay.is-open .modal-card {
  transform: translateY(0);
}
.modal-header {
  padding: 1rem 1.35rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--wash);
}
.modal-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--deep);
}
.modal-close {
  background: transparent;
  border: none;
  font-size: 1.35rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0.2rem 0.5rem;
}
.modal-body {
  padding: 1.35rem;
  overflow-y: auto;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--deep);
  color: #ffffff;
  border: 1px solid var(--lime-mid);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.toast.is-show {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Responzivita (Media Queries)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .layout-wrapper {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 1.25rem;
    padding: 1rem;
  }
  --rail-width: 240px;
  .smart-console-gallery { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .woodsketch-gallery { grid-template-columns: 1fr; }
  .sc-features-grid { grid-template-columns: 1fr; }
  .woodsketch-pillars-grid { grid-template-columns: 1fr; }
  .concept-modules-grid { grid-template-columns: 1fr; }
  .workflow-steps { grid-template-columns: repeat(2, 1fr); }
  .ruby-grid { grid-template-columns: 1fr; }
  .hero-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .mobile-header { display: flex; }
  .layout-wrapper {
    grid-template-columns: 1fr;
    padding: 0.75rem;
  }
  .site-rail {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    z-index: 1500;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    border-radius: 0;
    max-height: 100vh;
  }
  .site-rail.is-open {
    transform: translateX(0);
    box-shadow: 0 0 30px rgba(0,0,0,0.4);
  }
  .hero { padding: 1.6rem 1.25rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero-kpis { grid-template-columns: 1fr 1fr; }
  .workflow-steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .smart-console-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .sc-img-info {
    padding: 0.65rem 0.75rem;
  }
  .sc-img-title {
    font-size: 0.82rem;
  }
  .sc-img-desc {
    font-size: 0.74rem;
  }
}

@media (max-width: 400px) {
  .smart-console-gallery {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Neveřejná přístupová brána (Private Auth Gate)
   -------------------------------------------------------------------------- */
html.auth-locked body > *:not(#auth-gate-overlay) {
  filter: blur(8px);
  pointer-events: none;
  user-select: none;
}

.auth-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(circle at 50% 30%, rgba(22, 54, 21, 0.96) 0%, rgba(13, 20, 14, 0.98) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.auth-gate-overlay.auth-gate--fadeout {
  opacity: 0;
  visibility: hidden;
}

.auth-gate-card {
  background: linear-gradient(180deg, #1b2a1c 0%, #131e14 100%);
  border: 1.5px solid var(--box-border);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(133, 171, 19, 0.15);
  max-width: 440px;
  width: 100%;
  padding: 2.2rem 2rem;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.auth-gate-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(190, 230, 41, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.auth-gate-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.15rem;
}

.auth-gate-logo {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2.5px solid var(--lime-mid);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  margin-bottom: 0.75rem;
  object-fit: cover;
  background: #ffffff;
}

.auth-gate-title {
  font-family: var(--font-head);
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
}

.auth-gate-title span {
  color: var(--lime-mid);
}

.auth-gate-badge {
  display: inline-block;
  background: rgba(190, 230, 41, 0.15);
  border: 1px solid rgba(190, 230, 41, 0.35);
  color: #e6f772;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-top: 0.45rem;
}

.auth-gate-subtitle {
  font-size: 0.88rem;
  color: #c0d8bf;
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.auth-gate-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.auth-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.auth-field-label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  color: #d6e8d8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.auth-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 0.85rem;
  color: #8da38c;
  pointer-events: none;
}

.auth-input {
  width: 100%;
  background: rgba(10, 16, 11, 0.7);
  border: 1.5px solid #2e442f;
  border-radius: 8px;
  padding: 0.7rem 0.9rem 0.7rem 2.4rem;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
}

.auth-input:focus {
  border-color: var(--lime-mid);
  background: rgba(10, 16, 11, 0.95);
  box-shadow: 0 0 0 3px rgba(133, 171, 19, 0.25);
}

.auth-input::placeholder {
  color: #637762;
}

.auth-error-msg {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220, 38, 38, 0.4);
  color: #fca5a5;
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
}

.auth-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 0.75rem;
  font-size: 0.96rem;
  font-weight: 800;
  margin-top: 0.4rem;
  cursor: pointer;
}

.auth-gate-footer {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: #799178;
}

