/* SWISS DESIGN / EDITORIAL THEME (FOREVER WORLD)
   Klidná čítanka — bullet TL;DR, video, prose detail. */

:root {
  --color-bg: #ffffff;
  --color-bg-gray: #f8fafc;
  --color-text-main: #0f172a;
  --color-text-muted: #64748b;
  --color-border: #e2e8f0;
  --color-accent: #0f172a;
  --color-accent-soft: #f1f5f9;
  --color-primary: #10b981;
  --font-main: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow-soft: 0 4px 20px rgba(15, 23, 42, 0.05);
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.bg-gray { background: var(--color-bg-gray); }
::selection { background: var(--color-accent); color: #fff; }

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
  line-height: 1.2;
}

.italic-serif {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  color: var(--color-text-muted);
}

p { color: var(--color-text-muted); }

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: var(--transition);
}

/* Navigace (sjednocená napříč webem) */
.nav-swiss {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
  text-decoration: none;
}
.nav-menu { display: flex; gap: 2.5rem; }
.nav-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
}
.nav-menu a:hover { color: var(--color-text-main); }
.nav-menu a.active {
  color: var(--color-text-main);
  font-weight: 600;
}
.menu-btn { display: none; background: transparent; border: none; cursor: pointer; }
.menu-btn .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text-main);
  margin: 5px 0;
  border-radius: 1px;
}

/* Layout sekcí */
.page-wrapper { padding-top: 100px; }

.section-swiss {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.section-hero { padding-top: 6rem; padding-bottom: 2rem; }

.section-header { margin-bottom: 3rem; }
.section-header.center { margin: 0 auto 5rem; text-align: center; }
.section-header h1 {
  font-size: clamp(3rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
}
.section-header p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: var(--color-accent-soft);
  color: var(--color-text-muted);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Cards / Steps */
.tutorial-wrapper { display: flex; flex-direction: column; gap: 3rem; }

.step-card {
  display: flex;
  gap: 3rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-soft);
}

.card-icon {
  font-size: 3rem;
  color: var(--color-border);
  line-height: 1;
  min-width: 60px;
  text-align: center;
}

.step-content { flex-grow: 1; }
.step-content h2 { font-size: 2rem; margin-bottom: 0.75rem; }
.step-content .lead { font-size: 1.05rem; margin-bottom: 2rem; }
.step-content h3 { font-size: 1.6rem; margin-top: 3rem; margin-bottom: 1.25rem; }
.step-content h3:first-of-type { margin-top: 0; }
.step-content p { font-size: 1.05rem; margin-bottom: 1.5rem; }

/* TL;DR bullet list */
.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.bullet-list li {
  position: relative;
  padding: 1.5rem 1.5rem 1.5rem 3rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 2.05rem;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}
.bullet-list li strong {
  color: var(--color-text-main);
  font-size: 1.15rem;
  line-height: 1.4;
  font-weight: 700;
  display: block;
  margin-bottom: 0.75rem;
}

/* Video embed */
.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-soft);
  background: #000;
}
.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Prose detail */
.prose ul {
  margin: 0 0 2rem 1.25rem;
  padding-left: 1rem;
  color: var(--color-text-muted);
}
.prose ul li {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.prose em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-text-main);
}
.prose .closing {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  font-size: 1.1rem;
  color: var(--color-text-main);
}

/* Patička */
.footer-swiss {
  padding: 6rem 2rem 3rem;
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: end;
}
.footer-brand h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.footer-nav { display: flex; gap: 2rem; }
.footer-nav a { font-weight: 500; }
.footer-copy {
  grid-column: 1 / -1;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* Mobil */
@media (max-width: 768px) {
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: var(--color-bg);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }
  .nav-menu.active { display: flex; }
  .menu-btn { display: block; }

  .section-swiss { padding: 3rem 1.5rem; }
  .section-header h1 { font-size: 2.5rem; }
  
  .step-card { flex-direction: column; gap: 2rem; padding: 2rem; }
  .card-icon { font-size: 2.5rem; text-align: left; }
  
  .bullet-list li { padding: 1.25rem 1rem 1.25rem 2.5rem; }
  .bullet-list li::before { left: 1rem; top: 1.8rem; }

  .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}
