/* ============================================================
   Not Here s.r.o. — sjednocený stylesheet
   Sdílené komponenty + page-specific sekce.
   ============================================================ */

/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #242424;
  --surface: #303030;
  --surface-2: #383838;
  --surface-hover: #3f3f3f;
  --border: rgba(255,255,255,0.08);
  --border-accent: rgba(230,97,0,0.40);
  --border-hover: rgba(255,255,255,0.18);
  --border-accent-subtle: rgba(230,97,0,0.20);
  --text: #eeeeee;
  --text-muted: #aaaaaa;
  --text-dim: #777777;
  --accent: #e66100;
  --accent-hover: #f07820;
  --accent-dim: rgba(230,97,0,0.13);
  --accent-dim2: rgba(230,97,0,0.07);
  --nav-bg: rgba(13,13,13,0.85);
  --grid-dot: rgba(255,255,255,0.035);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, var(--grid-dot) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

/* ── NAV (sdílené) ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text);
}

.nav-brand svg { width: 26px; height: 26px; flex-shrink: 0; }

.nav-brand span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 1.1rem;
  background: var(--accent);
  color: #000;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
}

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

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.75rem;
  background: var(--accent);
  color: #000;
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.8rem 1.5rem;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 1.6rem;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(230,97,0,0.28);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn:hover {
  background: rgba(230,97,0,0.16);
  border-color: rgba(230,97,0,0.45);
  transform: translateY(-1px);
}

.btn.secondary {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--border);
}

.btn.secondary:hover {
  color: var(--text);
  border-color: var(--border-accent);
  background: var(--surface);
}

/* ── HOMEPAGE HERO ── */
.hero {
  padding: 7rem 2rem 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 600px;
  background: radial-gradient(ellipse at 50% -10%, rgba(230,97,0,0.07) 0%, transparent 60%);
  pointer-events: none;
}

.hero-split {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0 0;
}

.hero-left { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-left h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 4.5vw, 3.8rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.hero-left p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 420px;
}

.hero-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 2.5rem;
}

.hero-checks li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  overflow-wrap: break-word;
  word-break: break-word;
  min-width: 0;
}

.hero-checks li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: var(--accent-dim);
  flex-shrink: 0;
  margin-top: 0.1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e66100' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.hero-cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

/* ── DASHBOARD MOCKUP (homepage) ── */
.hero-right { position: relative; z-index: 1; }

.dashboard-wrap {
  background: #0e0e0e;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  max-width: 100%;
}

.dash-topbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
}

.dash-dot { width: 10px; height: 10px; border-radius: 50%; background: #2a2a2a; }

.dash-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-left: 0.4rem;
  letter-spacing: 0.02em;
}

.dash-body { display: grid; grid-template-columns: 150px 1fr; }

.dash-sidebar {
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 1rem 0;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  color: var(--text-dim);
  cursor: default;
  transition: background 0.15s;
}

.dash-nav-item.active {
  color: var(--text);
  background: rgba(255,255,255,0.04);
}

.dash-nav-item svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.dash-main { padding: 1rem; }

.dash-greeting {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.15rem;
}

.dash-sub { font-size: 0.7rem; color: var(--text-dim); margin-bottom: 0.75rem; }

.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }

.dash-card {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 0.75rem;
}

.dash-card-label {
  font-size: 0.63rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
}

.dash-card-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.dash-card-desc {
  font-size: 0.65rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.dash-progress {
  height: 3px;
  background: #222;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.dash-progress-bar { height: 100%; background: var(--accent); border-radius: 99px; }
.dash-progress-label { font-size: 0.6rem; color: var(--text-dim); }

.dash-alert-list { display: flex; flex-direction: column; gap: 0.4rem; }

.dash-alert {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  color: var(--text-muted);
}

.dash-alert-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

.dot-crit { background: #f87171; }
.dot-warn { background: #fbbf24; }
.dot-ok   { background: var(--accent); }

.dash-alert strong { color: var(--text); font-weight: 500; }

.dash-alert span {
  color: var(--text-dim);
  margin-left: auto;
  white-space: nowrap;
}

/* ── HERO BOTTOM FEATURES (homepage) ── */
.hero-features {
  max-width: 1180px;
  margin: 4rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
}

.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
}

.hero-feature:last-child { border-right: none; }

.hero-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-dim2);
  border: 1px solid var(--border-accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feature-icon svg {
  width: 18px; height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-feature-text h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.hero-feature-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── PAGE HERO (subpages) ── */
.page-hero {
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(230,97,0,0.05) 0%, transparent 65%);
  pointer-events: none;
  z-index: -1;
}

.page-hero .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(230,97,0,0.18);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 1.25rem;
}

.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  max-width: 760px;
  margin: 0 auto;
}

.page-hero .lead {
  max-width: 640px;
  margin: 1.25rem auto 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ── SECTIONS ── */
section {
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
}

section + section { border-top: 1px solid var(--border); }

/* Homepage sections — větší spacing */
#sluzby, #produkty, #kontakt { padding: 6rem 2rem; }

.container { max-width: 1180px; margin: 0 auto; }
.container-narrow { max-width: 760px; margin: 0 auto; }

/* Homepage container má širší limit, subpages 1080px */
section:not(.hero) > .container:not(.container-narrow) { max-width: 1080px; }
#sluzby > .container, #produkty > .container, #kontakt > .container { max-width: 1180px; }

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

.section-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 3rem;
}

.section-alt {
  background: radial-gradient(ellipse at 50% 0%, rgba(230,97,0,0.04) 0%, transparent 55%);
}

.prose p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.prose p + p { margin-top: 0.9rem; }

.prose a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(230,97,0,0.35);
}

.prose a:hover { border-bottom-color: var(--accent); }

/* Produkty hero gradient (homepage) */
#produkty {
  background: radial-gradient(ellipse at 50% 0%, rgba(230,97,0,0.05) 0%, transparent 55%);
}

/* ── GRIDS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; align-items: start; }

/* Homepage produkty: užší gap */
#produkty .grid-2 { gap: 1rem; }
#sluzby .grid-3 { gap: 1rem; }

/* ── CARD ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: border-color 0.25s, background 0.25s, transform 0.2s;
}

.card:hover {
  border-color: var(--border-accent);
  background: var(--surface-hover);
  transform: translateY(-2px);
}

.card-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

/* Homepage cards mají větší icon a accent border */
#sluzby .card-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-dim2);
  border: 1px solid var(--border-accent-subtle);
  border-radius: 10px;
  margin-bottom: 1.25rem;
}

.card-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
}

.card p {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
}

#sluzby .card p { margin-bottom: 1.25rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap 0.2s;
}

.card-link:hover { gap: 0.55rem; }

/* ── PRODUCT CARDS (homepage) ── */
.product-card {
  background: #0e0e0e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 1.75rem;
  position: relative;
  transition: border-color 0.25s, transform 0.2s;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(145deg, rgba(230,97,0,0.18), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

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

.product-preview {
  background: #080808;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.8rem;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.preview-bar i { width: 8px; height: 8px; border-radius: 50%; background: #222; }

.preview-bar em {
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-left: 0.4rem;
}

.product-preview pre {
  padding: 0.9rem 1rem;
  font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
}

.product-preview pre .prompt { color: var(--accent); }
.product-preview pre .crit { color: #f87171; }
.product-preview pre .warn { color: #fbbf24; }

.product-tag {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent-subtle);
  border-radius: 6px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.9rem;
}

.product-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.product-card > p {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* ── FEATURE LIST ── */
.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-list li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.6;
}

.feature-list li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.6em;
}

.feature-list li strong { color: var(--text); font-weight: 600; }

/* Homepage product card uses smaller font */
.product-card .feature-list { gap: 0.4rem; margin-bottom: 1.25rem; }
.product-card .feature-list li { font-size: 0.82rem; gap: 0.6rem; }
.product-card .feature-list li::before { margin-top: 0.5em; }

/* MCP-style feature list (inside card with own gap) */
.card .feature-list { gap: 0.45rem; margin-top: 0.75rem; }
.card .feature-list li { font-size: 0.855rem; }

/* ── TERMINAL ── */
.terminal {
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 1rem;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.terminal-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a2a2a; }

.terminal-bar em {
  font-family: 'Space Grotesk', sans-serif;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--text-dim);
  margin-left: 0.5rem;
}

.terminal pre {
  padding: 1rem 1.1rem;
  font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.8;
  white-space: pre-wrap;
  word-break: break-word;
}

.terminal pre .prompt { color: var(--accent); }
.terminal pre .crit { color: #f87171; }
.terminal pre .warn { color: #fbbf24; }
.terminal pre code.path { color: var(--accent); font-family: inherit; }

/* ── SPEC TABLE ── */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.spec-table th, .spec-table td {
  padding: 0.8rem 1rem;
  text-align: left;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border);
}

.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.spec-table th {
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  width: 38%;
}

.spec-table td { color: var(--text); }

/* ── AUDIENCE GRID (soc-agent) ── */
.audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.audience .card h3 { color: var(--accent); }

/* ── PROCESS LIST (pentest) ── */
.process-list {
  counter-reset: step;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem 1.1rem;
  counter-increment: step;
  position: relative;
}

.process-list li::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 0.5rem;
}

.process-list h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.process-list p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CALLOUT (mcp + pentest) ── */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.callout p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

/* ── CONTACT (homepage) ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-block + .contact-block { margin-top: 1.5rem; }

.contact-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.25rem;
}

.contact-value { font-size: 0.9rem; color: var(--text); }

.contact-value a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.contact-value a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.contact-cta p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: 0.35rem; }

.contact-form label > span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.contact-form input,
.contact-form textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--border-accent);
}

.contact-form label.consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-transform: none;
  letter-spacing: normal;
}

.contact-form label.consent input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--accent);
  width: 16px; height: 16px;
  flex-shrink: 0;
}

.contact-form label.consent a {
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.contact-form label.consent a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.contact-form button.btn-primary {
  align-self: flex-start;
  margin-top: 0.25rem;
  cursor: pointer;
  font-family: inherit;
  border: none;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.85rem;
}

.form-note a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

.form-note a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 2rem;
  position: relative;
  z-index: 1;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

footer p { font-size: 0.75rem; color: var(--text-dim); }

footer a {
  color: inherit;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

footer a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ── PRIVACY PAGE (ochrana-osobnich-udaju) ── */
body.privacy {
  line-height: 1.7;
  padding: 3rem 1.5rem 6rem;
}

body.privacy::before { display: none; }

body.privacy .wrap { max-width: 760px; margin: 0 auto; }

body.privacy .back {
  display: inline-block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}

body.privacy .back:hover { color: var(--accent); border-bottom-color: var(--accent); }

body.privacy h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

body.privacy .lead {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

body.privacy h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin: 2.25rem 0 0.75rem;
  color: var(--text);
}

body.privacy p,
body.privacy li { font-size: 0.95rem; color: var(--text-muted); }

body.privacy p + p { margin-top: 0.75rem; }

body.privacy ul { padding-left: 1.25rem; margin: 0.5rem 0 0.5rem; }

body.privacy li + li { margin-top: 0.35rem; }

body.privacy strong { color: var(--text); font-weight: 600; }

body.privacy a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(230,97,0,0.35);
}

body.privacy a:hover { border-bottom-color: var(--accent); }

body.privacy hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

body.privacy footer {
  font-size: 0.8rem;
  color: var(--text-dim);
  border-top: none;
  padding: 0;
}

/* ── ARCHITECTURE TIER LIST (soc-agent) ── */
.tier-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-top: 0.5rem;
}

.tier-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 1rem 1.15rem;
}

.tier-list .tier-label {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.tier-list h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.tier-list p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; gap: 3rem; }
  .hero-features { grid-template-columns: 1fr; }
  .hero-feature { border-right: none; border-bottom: 1px solid var(--border); }
  .hero-feature:last-child { border-bottom: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 860px) {
  .grid-3, .grid-2, .audience { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  nav { padding: 0.9rem 1.25rem; }
  .nav-links { display: none; }
  .hero { padding: 6rem 1.25rem 0; }
  .hero-split { padding: 2.5rem 0 0; }
  section { padding: 3rem 1.25rem; }
  #sluzby, #produkty, #kontakt { padding: 4.5rem 1.25rem; }
  .page-hero { padding: 7rem 1.25rem 3rem; }
  footer { padding: 1.5rem 1.25rem; }
  .hero-features { margin-top: 2.5rem; }
  .dash-body { grid-template-columns: 110px 1fr; }
  .dash-nav-item { padding: 0.4rem 0.6rem; font-size: 0.68rem; }
  .dash-main { padding: 0.75rem; }
  .dash-alert span { white-space: normal; }
  .process-list { grid-template-columns: 1fr; }
  body.privacy { padding: 2rem 1.25rem 4rem; }
}
