/* ─────────────────────────────────────────────────────────────
   NextHub blog — sdílené styly pro rozcestník i jednotlivé články
   ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --nc-blue:    #0082C9;
  --nc-blue-dk: #006ba6;
  --nc-green:   #2FB665;
  --bg:           #F5F5F7;
  --bg-card:      #FFFFFF;
  --text:         #1A1A1A;
  --text-sub:     #5A5A5A;
  --text-tri:     #8E8E93;
  --border:       #E5E5EA;
  --radius:       18px;
  --shadow:       0 8px 32px rgba(0,0,0,.08);
}
[data-theme="dark"] {
  --bg:           #000000;
  --bg-card:      #1C1C1E;
  --text:         #F0F0F0;
  --text-sub:     #C7C7CC;
  --text-tri:     #8E8E93;
  --border:       #2C2C2E;
  --shadow:       0 8px 32px rgba(0,0,0,.4);
}

html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}

/* Bilingual */
[data-cs], [data-en] { display: none !important; }
.lang-cs [data-cs]   { display: revert !important; }
.lang-en [data-en]   { display: revert !important; }

.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.container.wide { max-width: 940px; }

/* Nav */
nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(245,245,247,.75);
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] nav { background: rgba(0,0,0,.65); }
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 56px; gap: 16px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
.nav-brand img { width: 32px; height: 32px; border-radius: 7px; }
.nav-brand span { font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.lang-toggle { display: inline-flex; align-items: center; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 20px; padding: 2px; gap: 2px; }
.lang-toggle button { border: 0; background: transparent; cursor: pointer; font: inherit;
  font-size: 12px; font-weight: 600; color: var(--text-sub); padding: 4px 10px; border-radius: 16px; }
.lang-toggle button.active { background: var(--nc-blue); color: #fff; }
.nav-cta { display: inline-flex; align-items: center; background: var(--nc-blue); color: #fff;
  padding: 8px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
  text-decoration: none; white-space: nowrap; transition: background .2s; }
.nav-cta:hover { background: var(--nc-blue-dk); }

/* Breadcrumb */
.breadcrumb { font-size: 13.5px; color: var(--text-tri); padding: 24px 0 0; }
.breadcrumb a { color: var(--nc-blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Article */
article { padding: 24px 0 40px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--nc-blue); margin-bottom: 14px; }
article h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.15; letter-spacing: -1px;
  font-weight: 700; margin-bottom: 18px; }
.article-meta { font-size: 13.5px; color: var(--text-tri); margin-bottom: 36px;
  padding-bottom: 24px; border-bottom: 1px solid var(--border); }
article h2 { font-size: clamp(21px, 3.5vw, 26px); letter-spacing: -.4px; font-weight: 650;
  margin: 40px 0 14px; }
article p { color: var(--text-sub); margin-bottom: 16px; font-size: 16.5px; }
article strong { color: var(--text); font-weight: 650; }
article ul { margin: 0 0 16px 0; padding-left: 4px; list-style: none; }
article ul li { color: var(--text-sub); font-size: 16.5px; margin-bottom: 10px; padding-left: 26px; position: relative; }
article ul li::before { content: ''; position: absolute; left: 4px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--nc-blue); }
a.inline { color: var(--nc-blue); text-decoration: none; border-bottom: 1px solid rgba(0,130,201,.3); }
a.inline:hover { border-bottom-color: var(--nc-blue); }

.stat-box { background: var(--bg-card); border: 1px solid var(--border); border-left: 4px solid var(--nc-blue);
  border-radius: var(--radius); padding: 24px 26px; margin: 28px 0; }
.stat-box .stat-num { font-size: 40px; font-weight: 800; letter-spacing: -1.5px; color: var(--nc-blue); line-height: 1; }
.stat-box .stat-label { font-size: 15px; color: var(--text-sub); margin-top: 8px; }
.stat-box .stat-src { font-size: 12.5px; color: var(--text-tri); margin-top: 12px; }

/* Comparison table */
.cmp-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cmp-table th, .cmp-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.cmp-table thead th { font-weight: 700; color: var(--text); font-size: 13px; }
.cmp-table thead th.hl { color: var(--nc-blue); }
.cmp-table td { color: var(--text-sub); }
.cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table td:first-child { color: var(--text); font-weight: 600; }

blockquote { border-left: 3px solid var(--nc-blue); padding: 4px 0 4px 20px; margin: 24px 0;
  font-size: 18px; color: var(--text); font-weight: 500; line-height: 1.5; }

.cta-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; margin: 44px 0 0; text-align: center; box-shadow: var(--shadow); }
.cta-card h3 { font-size: 21px; font-weight: 650; letter-spacing: -.3px; margin-bottom: 8px; }
.cta-card p { margin-bottom: 20px; color: var(--text-sub); font-size: 16px; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--nc-blue); color: #fff;
  padding: 12px 26px; border-radius: 24px; font-size: 15px; font-weight: 600; text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,130,201,.3); transition: transform .15s, background .2s; }
.cta-btn:hover { transform: translateY(-2px); background: var(--nc-blue-dk); }

/* Blog index (rozcestník) */
.blog-head { padding: 44px 0 8px; }
.blog-head h1 { font-size: clamp(30px, 5vw, 42px); letter-spacing: -1px; font-weight: 700; margin-bottom: 12px; }
.blog-head p { color: var(--text-sub); font-size: 17px; max-width: 620px; }
.post-list { display: flex; flex-direction: column; gap: 16px; padding: 32px 0 48px; }
.post-card { display: block; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px 26px; text-decoration: none; color: inherit;
  transition: transform .18s, box-shadow .18s, border-color .18s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.post-card .pc-tag { font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--nc-blue); }
.post-card h2 { font-size: 20px; font-weight: 650; letter-spacing: -.3px; margin: 8px 0 8px; line-height: 1.3; }
.post-card p { color: var(--text-sub); font-size: 15px; line-height: 1.55; }
.post-card .pc-meta { color: var(--text-tri); font-size: 12.5px; margin-top: 12px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 32px 24px; text-align: center;
  color: var(--text-sub); font-size: 13px; margin-top: 48px; }
footer a { color: var(--nc-blue); text-decoration: none; }
.footer-links { display: flex; justify-content: center; gap: 22px; flex-wrap: wrap; margin-bottom: 12px; }

@media (max-width: 600px) {
  .nav-inner { padding: 0 16px; }
  .container { padding: 0 18px; }
  .cmp-table { font-size: 13.5px; }
  .cmp-table th, .cmp-table td { padding: 10px 12px; }
}
