/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary: #FF8C42;
  --primary-light: #FFB347;
  --primary-dark: #E85D26;
  --primary-glow: rgba(255, 140, 66, 0.15);
  --accent-ai: #2EC4B6;
  --accent-ai-dark: #1FA89D;
  --accent-ai-glow: rgba(46, 196, 182, 0.15);
  --dark-bg: #0A0A0F;
  --dark-surface: #1A1A2E;
  --dark-border: rgba(255, 140, 66, 0.10);
  --dark-text: #F0F0F5;
  --dark-text-muted: #8888A0;
  --dark-text-sub: #666680;
  --light-bg: #FAF8F5;
  --light-surface: #E8E4DE;
  --light-border: rgba(0, 0, 0, 0.06);
  --light-text: #1A1A1A;
  --light-text-muted: #6B6B6B;
  --light-text-sub: #999999;
  --gradient-full: linear-gradient(135deg, #E85D26, #FF8C42, #FFB347, #2EC4B6);
  --gradient-human: linear-gradient(135deg, #E85D26, #FF8C42, #FFB347);
  --gradient-ai: linear-gradient(135deg, #2EC4B6, #1FA89D);
  --glow-human: rgba(255, 140, 66, 0.15);
  --glow-ai: rgba(46, 196, 182, 0.15);
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-handwritten: 'Caveat', cursive;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --section-padding: clamp(4rem, 10vh, 8rem);
  --container-width: min(1200px, 90vw);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--dark-bg);
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: var(--container-width); margin: 0 auto; }

/* ============================================================
   SECTION THEMES
   ============================================================ */
.section--dark { background: var(--dark-bg); color: var(--dark-text); }
.section--light { background: var(--light-bg); color: var(--light-text); }
.section--dark .accent-human { color: var(--primary); }
.section--dark .accent-ai { color: var(--accent-ai); }
.section--light .accent-human { color: var(--primary-dark); }
.section--light .accent-ai { color: var(--accent-ai-dark); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.4rem 0;
  background: var(--dark-bg);
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: var(--dark-bg);
  border-bottom-color: var(--dark-border);
}
.nav.nav--light.scrolled {
  background: rgba(250, 248, 245, 0.85);
  border-bottom-color: var(--light-border);
}
.nav.nav--light .nav__link { color: var(--light-text-muted); }
.nav.nav--light .nav__link:hover { color: var(--primary-dark); }
.nav.nav--light .nav__lang-btn { color: var(--light-text-sub); }
.nav.nav--light .nav__lang-btn.active { color: var(--accent-ai-dark); background: rgba(31, 168, 157, 0.1); }
.nav.nav--light .nav__hamburger span { background: var(--light-text-muted); }
/* Nav logo lockup — HTML+CSS hybrid (matches brand identity) */
.nav-lockup {
  display: flex; align-items: center; gap: 16px; height: 36px;
}
.nav-lockup__text {
  display: flex; flex-direction: column; align-items: flex-end; gap: 0;
}
.nav-lockup__name {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem;
  font-weight: 300; letter-spacing: 0.05em; line-height: 1.25;
  color: #ccc; transition: color 0.3s ease;
}
.nav-lockup__ai-row {
  display: flex; align-items: center; gap: 4px; margin-top: 1px;
}
.nav-lockup__ai-line {
  width: 24px; height: 1px; border: none;
  background: linear-gradient(to right, transparent, #2EC4B6);
  transition: background 0.3s ease;
}
.nav-lockup__ai {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.95rem;
  font-weight: 600; letter-spacing: 0.05em; line-height: 1.25;
  color: #2EC4B6; transition: color 0.3s ease;
}
.nav-lockup__divider {
  width: 1px; height: 42px; border-radius: 2px;
  background: rgba(255,255,255,0.13); transition: background 0.3s ease;
}
.nav-lockup__symbol { height: 36px; width: auto; }
/* Nav lockup — dark (default) colors set inline above */
/* Nav lockup — light variant */
.nav.nav--light .nav-lockup__name { color: #555; }
.nav.nav--light .nav-lockup__ai { color: #1FA89D; }
.nav.nav--light .nav-lockup__ai-line { background: linear-gradient(to right, transparent, #1FA89D); }
.nav.nav--light .nav-lockup__divider { background: rgba(0,0,0,0.08); }
.nav.nav--light .nlogo-m { stroke: #E85D26; }
.nav.nav--light .nlogo-m-echo { stroke: #E85D26; }
.nav.nav--light .nlogo-k { stroke: #1FA89D; }
.nav.nav--light .nlogo-k-ghost { stroke: #1FA89D; }
.nav.nav--light .nlogo-node-bg { fill: #faf8f5; }
.nav.nav--light .nlogo-node-accent { fill: #1FA89D; }
.nav__inner {
  width: var(--container-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
/* .nav__logo replaced by .nav-lockup — see lockup styles above */
.nav__links { display: flex; gap: 1.2rem; align-items: center; }
.nav__link {
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 500;
  color: var(--dark-text-muted); transition: color var(--transition-fast);
  white-space: nowrap;
}
.nav__link:hover { color: var(--primary); }
.nav__lang { display: flex; gap: 0.5rem; align-items: center; margin-left: 1.5rem; }
.nav__lang-btn {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  color: var(--dark-text-sub); padding: 4px 8px; border-radius: 4px;
  transition: all var(--transition-fast); letter-spacing: 0.05em;
}
.nav__lang-btn.active { color: var(--accent-ai); background: rgba(46, 196, 182, 0.1); }
.nav__lang-btn:hover { color: var(--accent-ai); }
.nav__hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
}
.nav__hamburger span {
  width: 24px; height: 2px; background: var(--dark-text-muted);
  transition: all 0.3s ease; border-radius: 2px;
}
.nav__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu overlay */
.nav__mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(10, 10, 15, 0.97); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
}
.nav__mobile-menu.open { display: flex; }
.nav__mobile-menu .nav__link { font-size: 1.3rem; color: var(--dark-text); }

@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* ============================================================
   HERO — Interactive Chat Interface
   ============================================================ */
#hero {
  position: relative; z-index: 1; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding-top: 80px; padding-bottom: 90px;
  background: var(--dark-bg);
}

/* Dot grid background + teal radial glow */
.hero__chat-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 50% 45%, rgba(46, 196, 182, 0.06) 0%, transparent 60%),
    radial-gradient(circle 1px, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px;
  background-position: center, center;
}

/* Chat container — glassmorphic card */
.hero__chat-container {
  position: relative; z-index: 2;
  width: min(600px, 88vw);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 60px rgba(0, 0, 0, 0.3), 0 0 80px rgba(46, 196, 182, 0.04);
}

/* Chat header bar */
.hero__chat-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}
.hero__chat-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-ai);
  box-shadow: 0 0 8px rgba(46, 196, 182, 0.5);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(46, 196, 182, 0.5); }
  50% { opacity: 0.6; box-shadow: 0 0 4px rgba(46, 196, 182, 0.3); }
}
/* Avatar above chat — leaning on the box */
.hero__avatar-wrap {
  position: relative; z-index: 3;
  width: min(340px, 60vw);
  margin-bottom: -2px;
}
.hero__chat-avatar {
  width: 100%; height: auto; display: block;
  -webkit-mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 65%, transparent 100%);
}
@media (max-width: 768px) {
  .hero__avatar-wrap { width: min(280px, 70vw); }
}
.hero__chat-name {
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--dark-text-muted); letter-spacing: 0.04em;
}

/* Message area */
.hero__chat-messages {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 20px;
}
@media (min-width: 769px) {
  .hero__chat-messages {
    min-height: 230px; max-height: 300px;
    overflow-y: auto; scroll-behavior: smooth;
  }
}

/* Message bubbles — base */
.chat-msg {
  max-width: 85%; flex-shrink: 0;
  opacity: 1;
}

/* AI bubble (teal) */
.chat-msg--ai {
  align-self: flex-start;
}
.chat-msg--ai .chat-msg__text {
  background: rgba(46, 196, 182, 0.08);
  border: 1px solid rgba(46, 196, 182, 0.15);
  border-radius: 16px 16px 16px 4px;
  padding: 12px 16px;
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--dark-text); line-height: 1.55;
}

/* User bubble (orange) */
.chat-msg--user {
  align-self: flex-end;
}
.chat-msg--user .chat-msg__text {
  background: rgba(255, 140, 66, 0.12);
  border: 1px solid rgba(255, 140, 66, 0.2);
  border-radius: 16px 16px 4px 16px;
  padding: 12px 16px;
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--dark-text); line-height: 1.55;
}

/* Typing indicator — three bouncing dots */
.chat-typing {
  display: flex; gap: 5px; padding: 14px 18px;
  background: rgba(46, 196, 182, 0.08);
  border: 1px solid rgba(46, 196, 182, 0.15);
  border-radius: 16px 16px 16px 4px;
  width: fit-content;
}
.chat-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-ai); opacity: 0.5;
  animation: typingBounce 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-5px); opacity: 0.9; }
}

/* Blinking cursor during typing */
.chat-cursor {
  display: inline; font-weight: 300; color: var(--accent-ai);
  animation: cursorBlink 0.6s step-end infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Region option buttons */
.chat-options {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 4px 0;
}
.chat-option-btn {
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  color: var(--dark-text); background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px; padding: 9px 18px;
  cursor: pointer; transition: all var(--transition-fast);
  white-space: nowrap;
}
.chat-option-btn:hover {
  background: rgba(255, 140, 66, 0.1);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 16px rgba(255, 140, 66, 0.12);
}

/* CTA button (re-used, hidden initially) */
/* Scroll indicator */
.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; animation: scrollBounce 2s ease-in-out infinite;
}
.hero__scroll svg { width: 24px; height: 24px; stroke: var(--dark-text-sub); }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.8; }
}

/* Responsive */
@media (max-width: 768px) {
  .hero__chat-messages { padding: 16px 14px; gap: 10px; }
  .chat-msg { max-width: 92%; }
  .chat-msg--ai .chat-msg__text,
  .chat-msg--user .chat-msg__text { font-size: 0.88rem; padding: 10px 14px; }
  .chat-option-btn { font-size: 0.8rem; padding: 8px 14px; }
}

/* ============================================================
   BUTTONS (shared)
   ============================================================ */
.btn {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 0.88rem; padding: 12px 28px; border-radius: 999px;
  transition: all 0.25s ease; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-light); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--accent-ai); border: 1.5px solid var(--accent-ai); }
.btn--outline:hover { background: var(--accent-ai); color: var(--dark-bg); }
.btn--gradient { background: var(--gradient-full); color: #fff; }

/* ============================================================
   TAGLINE (shared section label)
   ============================================================ */
.tagline {
  font-family: var(--font-mono); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.8rem; margin-bottom: 1rem;
}
.section--dark .tagline { color: var(--accent-ai); }
.section--light .tagline { color: var(--primary-dark); }

.section-title {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.5rem;
}
.section-title::after,
.adoption__main-text::after,
.adoption__resolution::after {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-ai);
  margin-left: 0.15em;
  vertical-align: baseline;
}
.section-subtitle {
  font-family: var(--font-body); font-weight: 400;
  font-size: 1rem; margin-bottom: 3rem;
}
.section--dark .section-subtitle { color: var(--dark-text-muted); }
.section--light .section-subtitle { color: var(--light-text-muted); }

/* Main content — above hero */
main { position: relative; z-index: 2; }

/* ============================================================
   HOOK SECTION — emocionálny most medzi chatom a grafom
   ============================================================ */
#hook {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--light-bg);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
#hook::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle 1px, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
}
.hook__visual {
  max-width: 500px;
  width: 100%;
  margin: 2rem auto 0;
}
.hook__network {
  width: 100%;
  height: auto;
  display: block;
}
/* ============================================================
   ADOPTION SECTION
   ============================================================ */
#adoption {
  position: relative;
  background: var(--dark-bg);
}
.adoption__wrapper {
  height: 100vh; display: flex; flex-direction: column;
  justify-content: center; padding: 220px var(--container-padding) 1rem;
  overflow: hidden;
}
.adoption__inner {
  width: 100%; max-width: var(--container-width); margin: 0 auto;
}
.adoption__graph {
  width: 100%; max-width: 560px; margin: 0 auto 1rem; position: relative;
}
.adoption__graph svg { width: 100%; height: auto; display: block; }
.adoption__text {
  text-align: center; max-width: 700px; margin: 0 auto;
  position: relative;
}
.adoption__main-text {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--dark-text); line-height: 1.3;
}
.adoption__resolution {
  font-family: var(--font-heading); font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--primary); opacity: 0;
  position: absolute; top: 0; left: 0; right: 0;
}

/* Mobile: obsah pod navbarom pre pinované sekcie
   Pin start je 'top top', navbar prekryje vrch sekcie (z-index: 1000).
   Padding-top = výška navbaru (~70px) + medzera (20px) = 90px */
@media (max-width: 768px) {
  #hook {
    justify-content: flex-start;
    padding-top: 90px;
  }
  .adoption__wrapper {
    justify-content: flex-start;
    padding-top: 90px;
  }
}

/* ============================================================
   SERVICES / JOURNEY TIMELINE
   ============================================================ */
#services { height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 80px 0 1rem; position: relative; }
#services::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle 1px, rgba(0,0,0,0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
}
/* Journey Timeline */
.journey { position: relative; margin-top: 3rem; }
.journey__line-wrap { position: relative; width: 100%; height: 60px; margin-bottom: 2.5rem; }
/* Podkladová čiara */
.journey__track { position: absolute; top: 50%; left: 24px; right: 24px; height: 2px; background: var(--light-border); transform: translateY(-50%); }
/* Progresová čiara */
.journey__progress { position: absolute; top: 50%; left: 24px; right: 24px; height: 3px; transform: translateY(-50%); transform-origin: left; background: linear-gradient(90deg, #E85D26, #1FA89D); scale: 0 1; }
/* Uzly — HTML kruhy */
.journey__node { position: absolute; top: 50%; width: 24px; height: 24px; border-radius: 50%; background: var(--light-surface); border: 2px solid var(--light-border); transform: translate(-50%, -50%); transition: background 0.4s, border-color 0.4s; }
.journey__node[data-step="0"] { left: 24px; }
.journey__node[data-step="1"] { left: 50%; }
.journey__node[data-step="2"] { right: 24px; left: auto; transform: translate(50%, -50%); }
.journey__node.active { background: var(--primary-dark); border-color: var(--primary-dark); }
.journey__node-label { position: absolute; top: calc(50% + 22px); font-family: var(--font-mono); font-size: 0.7rem; color: var(--light-text-muted); transform: translateX(-50%); }
.journey__node[data-step="0"] .journey__node-label { left: 0; transform: none; }
.journey__node[data-step="1"] .journey__node-label { left: 50%; }
.journey__node[data-step="2"] .journey__node-label { right: 0; left: auto; transform: none; }
.journey__panels { position: relative; min-height: 280px; }
.journey__panel { position: absolute; inset: 0; opacity: 0; pointer-events: none; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 1.5rem; transition: opacity 0.5s ease; }
.journey__panel.active { opacity: 1; pointer-events: auto; }
.journey__title { font-family: var(--font-heading); font-weight: 600; font-size: 1.3rem; color: var(--light-text); margin-bottom: 0.5rem; }
.journey__sub { font-family: var(--font-body); font-size: 0.95rem; color: var(--light-text-muted); line-height: 1.6; max-width: 520px; margin-bottom: 1.5rem; }
.journey__number { font-family: var(--font-heading); font-weight: 800; font-size: 2.5rem; margin-bottom: 0.3rem; }
.journey__number-label { font-family: var(--font-body); font-size: 0.85rem; color: var(--light-text-muted); }

@media (max-width: 768px) {
  /* Services: zrušiť 100vh, normálny flow */
  #services { height: auto; padding: var(--section-padding) 0; justify-content: flex-start; }

  /* Journey: vertikálna os vľavo */
  .journey { padding-left: 40px; }

  /* Line-wrap: vertikálny kontajner naľavo (NIE display:none) */
  .journey__line-wrap {
    display: block; position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 24px; height: auto; margin-bottom: 0;
  }

  /* Track: vertikálna šedá čiara */
  .journey__track {
    top: 0; bottom: 0; left: 11px; right: auto;
    width: 2px; height: 100%; transform: none;
  }

  /* Progress: vertikálny gradient, rastie zhora nadol */
  .journey__progress {
    top: 0; bottom: 0; left: 10px; right: auto;
    width: 3px; height: 100%; transform: none;
    transform-origin: top;
    background: linear-gradient(180deg, #E85D26, #1FA89D);
    scale: 1 0;
  }

  /* Uzly: vertikálne pozicované, JS nastaví presný top */
  .journey__node {
    left: 0; top: 0; right: auto;
    transform: none;
  }
  .journey__node[data-step="0"] { left: 0; transform: none; }
  .journey__node[data-step="1"] { left: 0; top: 33%; transform: none; }
  .journey__node[data-step="2"] { left: 0; top: 66%; right: auto; transform: none; }

  /* Štítky: centrované vo vnútri kruhu */
  .journey__node-label {
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.55rem;
  }
  .journey__node[data-step="0"] .journey__node-label,
  .journey__node[data-step="1"] .journey__node-label,
  .journey__node[data-step="2"] .journey__node-label {
    left: 50%; right: auto; top: 50%;
    transform: translate(-50%, -50%);
  }

  /* Panely: vertikálny stack, zarovnané vľavo */
  .journey__panels { min-height: auto; }
  .journey__panel {
    position: relative; inset: auto; opacity: 1;
    pointer-events: auto; padding: 1.5rem 0;
    border-bottom: 1px solid var(--light-border);
    align-items: flex-start; text-align: left;
  }
  .journey__panel:last-child { border-bottom: none; }
  /* Keď JS pridá triedu, panely začnú skryté */
  .journey--animated .journey__panel { opacity: 0; transform: translateY(20px); }

  .journey__sub { max-width: none; }
}

/* ============================================================
   RESULTS / TIMELINE
   ============================================================ */
#results { padding: 150px 0 var(--section-padding); overflow: hidden; }
.timeline { position: relative; margin-top: 3rem; }
.timeline__track {
  display: flex; gap: 2rem; padding-bottom: 2rem;
  will-change: transform;
}
.timeline__item {
  min-width: 300px; max-width: 320px; flex-shrink: 0;
  background: var(--dark-surface); border: 1px solid var(--dark-border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.timeline__tag {
  font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--accent-ai); text-transform: uppercase;
  border: 1px solid var(--accent-ai); border-radius: 999px;
  padding: 4px 12px; display: inline-block; margin-bottom: 1rem;
  letter-spacing: 0.05em;
}
.timeline__challenge {
  font-family: var(--font-body); font-size: 0.9rem;
  color: var(--dark-text-muted); margin-bottom: 1.5rem; line-height: 1.5;
}
.timeline__number {
  font-family: var(--font-heading); font-weight: 800;
  font-size: 3rem; line-height: 1; margin-bottom: 0.3rem;
}
.timeline__result {
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--dark-text); margin-bottom: 1rem;
}
.timeline__detail {
  font-family: var(--font-body); font-size: 0.85rem;
  color: var(--dark-text-muted); line-height: 1.5;
}
/* Horizontal scroll progress line */
.timeline__progress {
  height: 2px; background: var(--dark-border); margin-top: 1.5rem;
  border-radius: 2px; overflow: hidden; display: none;
}
.timeline__progress-bar {
  height: 100%; width: 0%; border-radius: 2px;
  background: var(--gradient-full);
}
@media (min-width: 769px) {
  .timeline__progress { display: block; }
}

@media (max-width: 768px) {
  #results { padding-top: var(--section-padding); }
  .timeline__track { flex-direction: column; align-items: stretch; }
  .timeline__item { min-width: unset; max-width: unset; width: 100%; flex-shrink: 1; }
}

/* ============================================================
   MANIFEST
   ============================================================ */
#manifest { padding: var(--section-padding) 0; }
.manifest__lines { max-width: 800px; margin: 0 auto; }
.manifest-line {
  display: flex; align-items: center; gap: 1.5rem;
  margin-bottom: 2.5rem; padding: 1.5rem 0;
  border-bottom: 1px solid var(--light-border);
}
.manifest-line:last-child { border-bottom: none; }
.manifest-line__num {
  font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--light-text-sub); line-height: 1;
  flex-shrink: 0; width: 3rem; text-align: right;
}
.manifest-line__texts {
  position: relative; min-height: clamp(2.2rem, 4vw, 3rem);
  display: flex; align-items: center; white-space: nowrap;
}
.manifest-line__human {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--primary-dark); white-space: nowrap;
}
.manifest-line__tech {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  color: var(--accent-ai-dark); white-space: nowrap;
  position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  opacity: 0;
}
.manifest__closing {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--light-text); text-align: center; margin-top: 3rem;
  line-height: 1.3;
}
.manifest__dot { color: var(--accent-ai-dark); }
@media (max-width: 768px) {
  .manifest-line { gap: 1rem; margin-bottom: 1.5rem; padding: 1rem 0; }
  .manifest-line__num { width: 2rem; font-size: 1.2rem; }
}

/* ============================================================
   ABOUT
   ============================================================ */
#about { padding: var(--section-padding) 0; }
.about__grid {
  display: grid; grid-template-columns: 280px 1fr;
  gap: 3rem; align-items: end;
}
.about__photo-wrap { text-align: center; }
/* PLACEHOLDER: Profilová fotka — nahradiť reálnou fotkou */
.about__avatar {
  width: 200px; height: 200px; border-radius: 50%; margin: 0 auto 1rem;
  background: var(--dark-surface);
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.about__avatar::before {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  background: var(--gradient-full); z-index: -1;
}
.about__avatar-img { width: 100%; height: 100%; object-fit: cover; }
.about__name {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.5rem; color: var(--dark-text);
}
.about__position {
  font-family: var(--font-mono); font-weight: 400;
  font-size: 0.8rem; color: var(--accent-ai);
  text-transform: uppercase; letter-spacing: 0.05em;
  white-space: nowrap;
}
.about__bio { padding-left: 50px; }
.about__bio p {
  font-family: var(--font-body); font-size: 1.05rem;
  color: var(--dark-text); line-height: 1.7; margin-bottom: 1rem;
}
.about__bio p.muted {
  font-size: 0.95rem; color: var(--dark-text-muted);
}
.about__bio p:last-child { margin-bottom: 0; }
/* about__newsletters presunuté do #contact */
.newsletter-card {
  background: var(--dark-surface); border-radius: 12px;
  padding: 1.5rem; text-align: center;
  border: 1px solid rgba(46, 196, 182, 0.15);
}
.newsletter-card__name {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1rem; color: var(--dark-text); margin-bottom: 0.3rem;
}
.newsletter-card__count {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 1.5rem; color: var(--accent-ai); margin-bottom: 0.3rem;
}
.newsletter-card__desc {
  font-family: var(--font-body); font-size: 0.85rem;
  color: var(--dark-text-muted); margin-bottom: 0.8rem; line-height: 1.4;
}
.newsletter-card__link {
  font-family: var(--font-body); font-weight: 500;
  font-size: 0.85rem; color: var(--accent-ai);
  transition: color var(--transition-fast);
}
.newsletter-card__link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .about__grid { grid-template-columns: 1fr; text-align: center; }
  .about__bio p { text-align: left; }
  /* about__newsletters presunuté do #contact */
}

/* BLOG ŠTÝLY — dočasne odstránené, záloha v Next/blog-styles.css */

/* ============================================================
   HELP — S čím vám pomôžem
   ============================================================ */
#help {
  padding: var(--section-padding) 0;
}
#help .tagline { color: var(--accent-ai); }
.help__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.help__card {
  background: var(--light-surface);
  border: 1px solid var(--light-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color var(--transition-fast);
}
.help__card:hover {
  border-color: var(--primary-dark);
}
.help__card-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--light-text);
  margin-bottom: 0.4rem;
}
.help__card-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--light-text-muted);
  line-height: 1.5;
}
@media (max-width: 768px) {
  .help__grid { grid-template-columns: repeat(2, 1fr); }
}

/* testimonials: záloha v Next/testimonials-styles.css */

/* ============================================================
   CONTACT
   ============================================================ */
#contact {
  padding: var(--section-padding) 0;
  background: var(--dark-bg);
  position: relative;
}
.contact__info {
  margin-top: 2rem; margin-bottom: 4rem;
}
.contact__info-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 0.7rem 0; font-size: 0.95rem; color: var(--dark-text);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.contact__info-item:last-child { border-bottom: none; }
.contact__info-item svg { width: 20px; height: 20px; flex-shrink: 0; opacity: 0.7; }
.contact__info-item a {
  color: var(--primary); transition: color var(--transition-fast);
}
.contact__info-item a:hover { color: var(--primary-light); }
/* LinkedIn newslettre pod boxmi */
.contact__nl-section { text-align: center; }
.contact__nl-heading {
  font-family: var(--font-heading); font-weight: 600;
  font-size: 1.3rem; color: var(--dark-text); margin-bottom: 0.5rem;
}
.contact__nl-desc {
  font-family: var(--font-body); font-size: 0.9rem;
  color: var(--dark-text-muted); margin-bottom: 2rem; line-height: 1.5;
}
.contact__newsletters-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */
html[lang="en"] .privacy-content [data-lang="sk"] { display: none; }
html[lang="sk"] .privacy-content [data-lang="en"] { display: none; }
.privacy-content { max-width: 800px; margin-top: 3rem; }
.privacy-content h2 {
  font-family: var(--font-heading); font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin-top: 2.5rem; margin-bottom: 0.8rem; color: var(--dark-text);
}
.privacy-content h2:first-child { margin-top: 0; }
.privacy-content p {
  font-family: var(--font-body); font-size: 0.95rem;
  line-height: 1.7; color: var(--dark-text-muted); margin-bottom: 1rem;
}
.privacy-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.privacy-content li {
  font-family: var(--font-body); font-size: 0.95rem;
  line-height: 1.7; color: var(--dark-text-muted); margin-bottom: 0.4rem;
}
.privacy-content a { color: var(--primary); }
.privacy-content a:hover { color: var(--primary-light); }
.privacy-content strong { color: var(--dark-text); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #F5F5F7; padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.footer__grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem; margin-bottom: 2rem;
}
.footer-lockup {
  display: flex; align-items: center; gap: 14px; height: 32px; margin-bottom: 1rem;
}
.footer-lockup__text {
  display: flex; flex-direction: column; align-items: flex-end; gap: 0;
}
.footer-lockup__name {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem;
  font-weight: 300; letter-spacing: 0.05em; line-height: 1.25;
  color: #555;
}
.footer-lockup__ai-row {
  display: flex; align-items: center; gap: 4px; margin-top: 1px;
}
.footer-lockup__ai-line {
  width: 22px; height: 1px; border: none;
  background: linear-gradient(to right, transparent, #1FA89D);
}
.footer-lockup__ai {
  font-family: 'Space Grotesk', sans-serif; font-size: 0.85rem;
  font-weight: 600; letter-spacing: 0.05em; line-height: 1.25;
  color: #1FA89D;
}
.footer-lockup__divider {
  width: 1px; height: 38px; border-radius: 2px;
  background: rgba(0,0,0,0.15);
}
.footer-lockup__symbol { height: 32px; width: auto; }
.footer__copy {
  font-family: var(--font-body); font-size: 0.8rem;
  color: #666; line-height: 1.6;
}
.footer__nav-heading {
  display: block; font-size: 0.85rem; color: #555;
  font-weight: 700; padding: 0.3rem 0; margin-bottom: 0.2rem;
}
.footer__nav-col a {
  display: block; font-size: 0.85rem; color: #555;
  padding: 0.3rem 0; transition: color var(--transition-fast);
}
.footer__nav-col a:hover { color: var(--primary); }
.footer__privacy-link {
  display: block; font-size: 0.75rem; color: #999;
  margin-top: 1rem; transition: color var(--transition-fast);
}
.footer__privacy-link:hover { color: var(--primary); }
.footer__social-col a {
  display: block; font-size: 0.85rem; color: #555;
  padding: 0.3rem 0; transition: color var(--transition-fast);
}
.footer__social-col a:hover { color: var(--primary); }
.footer__bottom {
  text-align: center; padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-family: var(--font-body); font-size: 0.75rem;
  color: #888;
}
.footer .nav__lang-btn { color: #888; }
.footer .nav__lang-btn.active { color: var(--accent-ai-dark, #1a9e91); background: rgba(46,196,182,0.1); }
.footer .nav__lang-btn:hover { color: var(--accent-ai-dark, #1a9e91); }

@media (max-width: 768px) { .footer__grid { grid-template-columns: 1fr; text-align: center; } }

/* ============================================================
   ANIMATIONS / REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   NO-PIN FALLBACK — viewport height < 700px
   ============================================================ */
body.no-pin #hero { height: auto; min-height: 100vh; overflow: visible; }
body.no-pin #hook { height: auto; padding: var(--section-padding) 0; }
body.no-pin .adoption__wrapper { height: auto; padding-top: var(--section-padding); }
body.no-pin #services { height: auto; padding: var(--section-padding) 0; justify-content: flex-start; }
body.no-pin .journey { padding-left: 0; }
body.no-pin .journey__line-wrap { display: none; }
body.no-pin .journey__panels { min-height: auto; }
body.no-pin .journey__panel {
  position: relative; inset: auto; opacity: 1;
  pointer-events: auto; padding: 1.5rem 0;
  border-bottom: 1px solid var(--light-border);
}
body.no-pin .journey__panel:last-child { border-bottom: none; }
body.no-pin .journey--animated .journey__panel { opacity: 0; transform: translateY(20px); }
body.no-pin .timeline__track { flex-direction: column; align-items: stretch; }
body.no-pin .timeline__item { min-width: unset; max-width: unset; }
body.no-pin .timeline__progress { display: none; }
body.no-pin .manifest-line__texts { flex-direction: column; align-items: flex-start; gap: 0.3rem; }
body.no-pin .manifest-line__tech { position: static; opacity: 1; transform: none; }
