@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800;900&display=swap');
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400; line-height: 1.7; color: var(--text-700); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}

:root {
  --white: #ffffff; --bg: #fafbfe; --bg-alt: #f0f4fa;
  --text-900: #1a1f36; --text-700: #3c4257; --text-500: #697386; --text-400: #8f9bb3;
  --accent: #6c63ff; --accent-dark: #5a52e0; --accent-light: #eeedff; --accent-glow: rgba(108, 99, 255, 0.15);
  --border: #e5e7f0; --radius: 16px; --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(26,31,54,0.04), 0 1px 2px rgba(26,31,54,0.06);
  --shadow-md: 0 4px 16px rgba(26,31,54,0.06), 0 2px 4px rgba(26,31,54,0.04);
  --shadow-lg: 0 12px 40px rgba(26,31,54,0.08), 0 4px 12px rgba(26,31,54,0.04);
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 20px 0; transition: all 0.35s ease; }
.navbar.scrolled { padding: 12px 0; background: rgba(250,251,254,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { font-size: 1.3rem; font-weight: 800; color: var(--text-900); text-decoration: none; letter-spacing: -0.02em; }
.nav-brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 0.92rem; font-weight: 500; color: var(--text-700); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.nav-active { color: var(--accent); font-weight: 600; position: relative; }
.nav-links a.nav-active::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 2px; background: var(--accent); border-radius: 2px; }
.nav-cta { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; background: var(--accent); color: var(--white) !important; font-weight: 600; font-size: 0.88rem; border-radius: 50px; transition: all 0.25s ease; }
.nav-cta:hover { background: var(--accent-dark); color: var(--white) !important; transform: translateY(-1px); box-shadow: 0 4px 16px var(--accent-glow); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-900); border-radius: 2px; transition: all 0.3s ease; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* MAIN */
main { padding-top: 100px; padding-bottom: 80px; }

/* ARTICLE */
article { max-width: 720px; position: relative; }

.article-constellation { position: absolute; pointer-events: none; z-index: 0; width: 190px; height: 185px; top: 0; right: -220px; }
.article-constellation svg { width: 100%; height: 100%; }
.article-constellation .star { animation: star-pulse 10s ease-in-out infinite; }
.article-constellation .star:nth-child(odd) { animation-delay: 2.5s; }
.article-constellation .star:nth-child(3n) { animation-delay: 5s; }
.article-constellation .line { stroke: rgba(108,99,255,0.12); stroke-width: 1; fill: none; opacity: 0; animation: lines-fade 20s ease-in-out infinite; }

@keyframes star-pulse { 0%, 100% { opacity: 0.5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }
@keyframes lines-fade { 0%, 100% { opacity: 0; } 25% { opacity: 0; } 35% { opacity: 1; } 70% { opacity: 1; } 85% { opacity: 0; } }

/* BREADCRUMB */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-400); margin-bottom: 32px; }
.breadcrumb a { color: var(--text-400); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current { color: var(--text-700); }

/* ARTICLE HEADER */
.article-number { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.article-number::before { content: ''; display: block; width: 24px; height: 2px; background: var(--accent); border-radius: 2px; }
.article-title { font-family: 'Montserrat', 'Inter', sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--text-900); line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 20px; }
.article-desc { font-size: 1.12rem; color: var(--accent); line-height: 1.75; margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }

/* ARTICLE BODY */
.article-body { font-size: 1rem; color: var(--text-700); line-height: 1.85; }
.article-body p { margin-bottom: 20px; }
.article-body h3 { font-size: 1.1rem; font-weight: 700; color: var(--text-900); margin-top: 32px; margin-bottom: 12px; line-height: 1.4; }
.article-body h3:first-child { margin-top: 0; }

/* PLACEHOLDER */
.placeholder-box { background: var(--accent-light); border: 1px solid rgba(108,99,255,0.15); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--text-500); font-size: 1rem; line-height: 1.7; }
.placeholder-box strong { color: var(--text-700); display: block; margin-bottom: 8px; font-size: 1.05rem; }

/* ARTICLE NAV */
.article-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--border); }
.article-nav-link { display: flex; flex-direction: column; gap: 3px; text-decoration: none; color: inherit; flex: 1; }
.article-nav-link.next { align-items: flex-end; text-align: right; }
.article-nav-label { font-size: 0.65rem; font-weight: 700; color: var(--text-400); text-transform: uppercase; letter-spacing: 0.08em; transition: color 0.2s; }
.article-nav-title { font-size: 0.88rem; font-weight: 600; color: var(--text-700); line-height: 1.35; transition: color 0.2s; }
.article-nav-link:hover .article-nav-title { color: var(--accent); }
.article-nav-link:hover .article-nav-label { color: var(--accent); }
.article-nav-blog { display: flex; flex-direction: column; align-items: center; gap: 3px; text-decoration: none; color: var(--text-300); transition: color 0.2s; flex-shrink: 0; padding: 0 8px; }
.article-nav-blog:hover { color: var(--accent); }
.article-nav-blog svg { width: 14px; height: 14px; }
.article-nav-blog-label { font-size: 0.58rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }

/* FOOTER */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 60px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { font-size: 1.2rem; font-weight: 800; color: var(--text-900); margin-bottom: 12px; letter-spacing: -0.02em; }
.footer-brand span { color: var(--accent); }
.footer-desc { font-size: 0.88rem; color: var(--text-500); line-height: 1.7; max-width: 300px; }
.footer-col-title { font-size: 0.85rem; font-weight: 700; color: var(--text-900); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 18px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; color: var(--text-500); transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 0.82rem; color: var(--text-400); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { color: var(--text-400); transition: color 0.2s; }
.footer-socials a:hover { color: var(--accent); }
.footer-socials svg { width: 20px; height: 20px; }

/* REVEAL */
@keyframes reveal-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  animation: reveal-in 0.7s ease both;
}
.reveal.visible { animation: none; opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

.article-hero-svg {
  width: 100%;
  max-height: 260px;
  margin: 40px 0 48px;
  display: flex;
  justify-content: center;
}
.article-hero-svg svg {
  width: 100%;
  max-width: 600px;
  height: auto;
}
.article-body h2 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--text-900);
  margin: 48px 0 16px;
  line-height: 1.3;
  padding-top: 8px;
  letter-spacing: -0.02em;
}
.article-body h2::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 16px;
}
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-900);
  margin: 28px 0 12px;
}
.article-body p {
  margin-bottom: 20px;
}
.article-body strong {
  font-weight: 600;
  color: var(--text-900);
}
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--accent-light);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-700);
}
.article-body ul, .article-body ol {
  margin: 16px 0 24px 24px;
}
.article-body li {
  margin-bottom: 8px;
}
.article-callout {
  background: var(--accent-light);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 28px 0;
  font-weight: 500;
  color: var(--text-900);
}

/* ARTICLE UPDATE BOX */
.article-update {
  background: var(--white);
  border-left: 3px solid var(--accent);
  padding: 24px 32px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 40px 0 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.article-update-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}
.article-update-body strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text-900);
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.article-update-body p {
  color: var(--text-700);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.article-update-body p:last-child {
  margin-bottom: 0;
}

/* ARTICLE LEAD - first paragraph */
.article-lead {
  font-size: 1.12rem;
  line-height: 1.9;
  color: var(--text-900);
  font-weight: 400;
  margin-bottom: 28px;
}

/* SEARCH (seznam pojmů) */
.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 12px 20px;
  margin: 24px 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
.search-icon { color: var(--text-400); flex-shrink: 0; }
.search-input {
  border: none;
  outline: none;
  background: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text-700);
  width: 100%;
}
.search-input::placeholder { color: var(--text-400); }
.no-results {
  display: none;
  font-size: 0.9rem;
  color: var(--text-500);
  margin-bottom: 24px;
}
.no-results.visible { display: block; }

/* TERM LIST (seznam pojmů) */
.term-list { margin: 0 0 8px; }
.term-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.term-item:last-child { border-bottom: none; }
.term-dt { font-size: 1rem; color: var(--text-900); margin-bottom: 4px; }
.term-dd { font-size: 0.92rem; color: var(--text-500); line-height: 1.7; margin: 0; }

/* ARTICLE SECTION DIVIDER - h2 accent line handled below */

/* PULL QUOTE - big standout quote */
.pull-quote {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-900);
  line-height: 1.5;
  text-align: center;
  padding: 40px 32px;
  margin: 40px -16px;
  position: relative;
}
.pull-quote::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0 auto 20px;
}

/* PRICE CARDS */
.price-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.price-card:hover {
  box-shadow: var(--shadow-md);
}
.price-card-name {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-400);
  margin-bottom: 8px;
}
.price-card-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-900);
  margin-bottom: 4px;
}
.price-card-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-500);
}
.price-card-desc {
  font-size: 0.85rem;
  color: var(--text-500);
  line-height: 1.5;
}
.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.price-card.featured .price-card-name {
  color: var(--accent);
}

@media (max-width: 480px) {
  .price-row { grid-template-columns: 1fr; }
  .pull-quote { font-size: 1.15rem; padding: 32px 16px; margin: 32px 0; }
}

/* CTA CARD - article bottom */
.article-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--accent-light) 0%, rgba(139,92,246,0.08) 100%);
  border: 1px solid rgba(108,99,255,0.15);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 48px 0 0;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.25s, transform 0.25s;
}
.article-cta:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}
.article-cta-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article-cta-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.article-cta-body {
  flex: 1;
}
.article-cta-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 4px;
}
.article-cta-desc {
  font-size: 0.9rem;
  color: var(--text-500);
  line-height: 1.5;
}
.article-cta-arrow {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.2s;
}
.article-cta:hover .article-cta-arrow {
  transform: translateX(4px);
}
.article-cta-arrow svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 480px) {
  .article-cta { flex-direction: column; text-align: center; padding: 24px; }
  .article-cta-arrow { display: none; }
}

/* APP MOCKUP - Claude Desktop replica */
.app-mockup {
  background: #2b2b2b;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin: 32px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.app-mockup-titlebar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: #1a1a1a;
  gap: 8px;
}
.app-mockup-dots {
  display: flex;
  gap: 6px;
}
.app-mockup-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.app-mockup-dots span:nth-child(1) { background: #ff5f57; }
.app-mockup-dots span:nth-child(2) { background: #febc2e; }
.app-mockup-dots span:nth-child(3) { background: #28c840; }
.app-mockup-title {
  flex: 1;
  text-align: center;
  font-size: 0.78rem;
  color: #999;
  font-weight: 500;
}
.app-mockup-tabs {
  display: flex;
  justify-content: center;
  gap: 0;
  background: #1a1a1a;
  padding: 0 0 0;
}
.app-mockup-tab {
  padding: 10px 32px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #777;
  border-bottom: 2px solid transparent;
  cursor: default;
  transition: color 0.2s;
}
.app-mockup-tab.active {
  color: #fff;
  border-bottom-color: #d4a574;
}
.app-mockup-body {
  padding: 40px 32px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.app-mockup-prompt {
  width: 100%;
  max-width: 520px;
  background: #3a3a3a;
  border: 1px solid #4a4a4a;
  border-radius: 12px;
  padding: 14px 18px;
  color: #888;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-mockup-prompt-send {
  width: 28px;
  height: 28px;
  background: #d4a574;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.app-mockup-prompt-send svg {
  width: 14px;
  height: 14px;
  stroke: #1a1a1a;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-mockup-label {
  color: #666;
  font-size: 0.75rem;
  margin-top: 16px;
  text-align: center;
}
.app-mockup-arrow {
  position: relative;
  margin-top: -8px;
  margin-bottom: 8px;
}
.app-mockup-arrow-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.app-mockup-arrow-text {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--bg);
  padding: 0 12px;
}

@media (max-width: 480px) {
  .app-mockup-tab { padding: 10px 18px; font-size: 0.78rem; }
  .app-mockup-body { padding: 24px 16px; }
}

/* CHAT DEMO - three AI response windows */
.chat-demo {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin: 32px 0;
}
.chat-demo-window {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 0.82rem;
}
.chat-demo-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.chat-demo-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.chat-demo-dot:nth-child(1) { background: #f38ba8; }
.chat-demo-dot:nth-child(2) { background: #f9e2af; }
.chat-demo-dot:nth-child(3) { background: #a6e3a1; }
.chat-demo-title {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-400);
  margin-left: auto;
}
.chat-demo-body { padding: 12px; }
.chat-demo-q {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 10px 10px 2px 10px;
  margin-bottom: 10px;
  font-size: 0.78rem;
  line-height: 1.5;
}
.chat-demo-a {
  background: var(--bg-alt);
  color: var(--text-700);
  padding: 8px 12px;
  border-radius: 2px 10px 10px 10px;
  line-height: 1.55;
  font-size: 0.78rem;
}
.chat-demo-label {
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-400);
  padding: 6px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* CODE WINDOW - terminal look */
.code-window {
  background: #1e1e2e;
  border-radius: var(--radius);
  margin: 28px 0;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.code-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  background: #181825;
}
.code-window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.code-window-dot:nth-child(1) { background: #f38ba8; }
.code-window-dot:nth-child(2) { background: #f9e2af; }
.code-window-dot:nth-child(3) { background: #a6e3a1; }
.code-window-title {
  font-size: 0.72rem;
  color: #6c7086;
  margin-left: 8px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
}
.code-window-body {
  padding: 20px 24px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.88rem;
  line-height: 1.75;
  color: #cdd6f4;
  overflow-x: auto;
}
.code-window-body .code-comment { color: #6c7086; }
.code-window-body .code-key { color: #89b4fa; }
.code-window-body .code-string { color: #a6e3a1; }
.code-window-body .code-prompt { color: #f9e2af; }
.code-window-body .code-cmd { color: #cba6f7; }
.code-window-body .code-flag { color: #89dceb; }
.code-window-body .code-output { color: #6c7086; font-style: italic; }

/* INLINE CODE */
.article-body code {
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', 'Consolas', monospace;
  font-size: 0.88em;
  background: var(--accent-light);
  color: var(--accent-dark);
  padding: 2px 7px;
  border-radius: 5px;
  font-weight: 500;
}

/* STEPS / numbered list with visual treatment */
.steps-list {
  list-style: none;
  margin: 24px 0;
  padding: 0;
  counter-reset: step;
}
.steps-list li {
  counter-increment: step;
  position: relative;
  padding: 16px 20px 16px 60px;
  margin-bottom: 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: box-shadow 0.2s;
}
.steps-list li:hover {
  box-shadow: var(--shadow-sm);
}
.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 16px;
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* COMPARISON BOX - good vs bad */
.compare-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
  align-items: start;
}
.compare-bad, .compare-good {
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.7;
}
.compare-bad {
  background: #fef2f2;
  border: 1px solid #fecaca;
}
.compare-good {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.compare-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.compare-bad .compare-label { color: #dc2626; }
.compare-good .compare-label { color: #16a34a; }

/* KEY POINT - accent sidebar highlight */
.key-point {
  border-left: 3px solid var(--accent);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: var(--shadow-sm);
}
.key-point strong {
  color: var(--accent);
}

@media (max-width: 768px) {
  .compare-box { grid-template-columns: 1fr; }
  .code-window-body { font-size: 0.8rem; padding: 16px; }
}

/* RESPONSIVE */
@media (max-width: 1100px) { .article-constellation { display: none; } }
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(250,251,254,0.98); backdrop-filter: blur(20px); flex-direction: column; padding: 24px; gap: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .article-nav { grid-template-columns: 1fr; }
  .article-nav-link.next { align-items: flex-start; text-align: left; }
}
@media (max-width: 480px) { .container { padding: 0 16px; } }
