/* =============================================
   LSBOT - SEO ADDITIONS
   Styles for feature subpages, blog, about page,
   pricing comparison table and homepage changelog.
   Loaded in addition to main.min.css + landing.min.css.
   ============================================= */

/* -- "Kup licencję" nav button: white text + glow for stronger contrast
   (overrides .btn-primary near-black text, which was weak on the blue) -- */
.landing-nav .nav-panel-btn {
  color: #fff !important;
  background: var(--cyan);
  box-shadow: 0 0 18px rgba(36,102,217,0.5);
  font-weight: 800;
}
.landing-nav .nav-panel-btn:hover {
  background: #3a7be6;
  box-shadow: 0 0 26px rgba(36,102,217,0.7);
  color: #fff !important;
}

/* -- Breadcrumbs -- */
.crumbs {
  max-width: 1200px;
  margin: 100px auto 0;
  padding: 0 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.5px;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span { color: #475569; margin: 0 8px; }

/* -- Feature subpage hero -- */
.subpage-hero {
  max-width: 1000px;
  margin: 24px auto 0;
  padding: 40px 20px 0;
}
.subpage-hero .sec-tag { font-size: 13px; }
.subpage-hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 12px 0 18px;
  max-width: 16ch;
}
.subpage-hero h1 span { color: var(--cyan); }
.subpage-hero.purple h1 span { color: var(--purple); }
.subpage-hero .lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 62ch;
}
.subpage-hero .hero-btns-wrapper { margin-top: 26px; }
@media (max-width: 640px) { .subpage-hero h1 { font-size: 32px; } }

/* -- Generic prose article (blog + about) reuses .legal-content -- */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  margin: 4px 0 26px;
}
.article-meta .tag-chip {
  background: var(--cyan-dim);
  color: var(--cyan);
  border: 1px solid rgba(36,102,217,0.3);
  border-radius: 999px;
  padding: 3px 11px;
}
.legal-content h3 {
  font-size: 16px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 26px 0 8px;
}
.legal-content a { color: var(--cyan); }
/* keep CTA / primary buttons readable inside prose (override .legal-content a) */
.legal-content a.btn-primary,
.legal-content a.btn-ghost,
.prose-cta a.btn-primary { color: #0a0b0d; }
.legal-content a.btn-ghost { color: #e2e8f0; }
.prose-cta {
  margin: 36px 0 6px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(36,102,217,0.06), transparent);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.prose-cta p { margin: 0 !important; color: #cbd5e1 !important; font-size: 15px !important; }
.prose-cta .btn-primary { white-space: nowrap; }

/* -- TL;DR answer box (AEO) -- */
.answer-box {
  border: 1px solid rgba(36,102,217,0.3);
  background: var(--cyan-dim);
  border-radius: 14px;
  padding: 18px 22px;
  margin: 0 0 28px;
}
.answer-box strong { color: var(--cyan); display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: 0.5px; font-family: 'JetBrains Mono', monospace; }
.answer-box p { margin: 0 !important; color: #e2e8f0 !important; font-size: 15px !important; }

/* -- Blog listing grid -- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--bg0);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(36,102,217,0.3); }
.blog-card .bc-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--cyan);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.blog-card .bc-title { font-size: 19px; font-weight: 700; color: #f1f5f9; line-height: 1.3; margin-bottom: 10px; }
.blog-card .bc-excerpt { font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; }
.blog-card .bc-more { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--cyan); }

/* -- Numbered guide steps -- */
.guide-steps {
  list-style: none;
  counter-reset: gstep;
  padding: 0;
  margin: 8px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guide-steps li {
  counter-increment: gstep;
  position: relative;
  padding: 16px 18px 16px 60px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg0);
}
.guide-steps li::before {
  content: counter(gstep);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--cyan-dim);
  color: var(--cyan);
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: 14px;
}
.guide-steps li strong { display: block; color: #f1f5f9; font-size: 15px; margin-bottom: 3px; }
.guide-steps li span { color: var(--muted); font-size: 14px; line-height: 1.6; }

/* -- Blog category sections -- */
.blog-cat { margin-top: 48px; }
.blog-cat:first-of-type { margin-top: 8px; }
.blog-cat-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.blog-cat-head h2 { font-size: 22px; font-weight: 700; color: #f1f5f9; margin: 0; }
.blog-cat-head .bc-count { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--muted); }

/* -- Pricing comparison table (rich-snippet candidate) -- */
.price-table-wrap { overflow-x: auto; margin-top: 40px; }
.price-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 520px;
  font-size: 15px;
}
.price-table caption {
  text-align: left;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  padding-bottom: 12px;
}
.price-table th, .price-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.price-table thead th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  font-weight: 600;
}
.price-table thead th.is-featured { color: var(--cyan); }
.price-table tbody th { font-weight: 500; color: #cbd5e1; }
.price-table td { color: #e2e8f0; }
.price-table td.is-featured { color: #fff; background: rgba(36,102,217,0.06); }
.price-table .pt-price { font-weight: 800; font-size: 18px; }
.price-table .pt-old { color: #64748b; text-decoration: line-through; font-size: 13px; margin-right: 6px; }
.price-table .pt-yes { color: var(--cyan); }

/* -- Homepage changelog / freshness -- */
.changelog-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cl-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.cl-item:last-child { border-bottom: none; }
.cl-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--cyan);
  white-space: nowrap;
}
.cl-ver { color: var(--muted); display: block; margin-top: 2px; }
.cl-body { color: var(--muted); font-size: 14px; line-height: 1.6; }
.cl-body strong { color: #e2e8f0; }
@media (max-width: 560px) {
  .cl-item { grid-template-columns: 1fr; gap: 4px; }
}

/* -- Related-pages link row -- */
.related-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}
.related-row a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  border: 1px solid rgba(36,102,217,0.3);
  border-radius: 999px;
  padding: 7px 15px;
  transition: background 0.2s;
}
.related-row a:hover { background: var(--cyan-dim); }

/* -- Footer extra column wraps cleanly -- */
@media (min-width: 861px) {
  footer .foot-grid.foot-grid-5 { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
}


/* -- Server hub + per-server pages -- */
.srv-page-hero { display:flex; align-items:center; gap:22px; flex-wrap:wrap; margin-bottom:18px; }
.srv-page-hero img { width:96px; height:96px; border-radius:18px; object-fit:cover; border:1px solid var(--border); box-shadow:0 14px 36px -14px rgba(0,0,0,.7); flex-shrink:0; }
.srv-page-hero .sec-tag { margin-bottom:6px; }
.srv-spec-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:12px; margin:20px 0 6px; }
.srv-spec { background:rgba(255,255,255,.03); border:1px solid var(--border); border-radius:12px; padding:13px 16px; }
.srv-spec b { display:block; font-family:'JetBrains Mono',monospace; font-size:10.5px; letter-spacing:1.2px; text-transform:uppercase; color:var(--muted); margin-bottom:5px; font-weight:700; }
.srv-spec span { font-size:16px; color:#fff; font-weight:600; }
.srv-mode-list { list-style:none; padding:0; margin:14px 0; display:grid; gap:10px; }
.srv-mode-list li { background:rgba(255,255,255,.02); border:1px solid var(--border); border-radius:10px; padding:12px 16px; color:var(--muted); }
.srv-mode-list a { color:var(--cyan); text-decoration:none; font-weight:700; }
.srv-mode-list a:hover { text-decoration:underline; }
.srv-hub-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:14px; margin:8px 0 8px; }
.srv-hub-card { display:flex; align-items:center; gap:16px; background:rgba(15,17,21,0.6); border:1px solid rgba(255,255,255,0.06); border-radius:14px; padding:16px 18px; text-decoration:none; transition:all .2s ease; }
.srv-hub-card:hover { background:rgba(20,24,32,0.85); border-color:rgba(36,102,217,0.35); transform:translateY(-2px); box-shadow:0 12px 30px -12px rgba(36,102,217,0.3); }
.srv-hub-card img { width:60px; height:60px; border-radius:12px; object-fit:cover; border:1px solid var(--border); flex-shrink:0; }
.srv-hub-card .shc-body { flex:1; min-width:0; }
.srv-hub-card .shc-name { color:#fff; font-weight:700; font-size:17px; }
.srv-hub-card .shc-region { color:var(--muted); font-size:12.5px; margin-top:2px; }
.srv-hub-card .shc-modes { color:var(--cyan); font-size:11px; font-family:'JetBrains Mono',monospace; letter-spacing:.5px; margin-top:6px; }
.srv-hub-card .shc-arr { color:var(--muted); font-size:20px; transition:transform .2s,color .2s; }
.srv-hub-card:hover .shc-arr { color:var(--cyan); transform:translateX(3px); }
.srv-row[data-href] { cursor:pointer; }
