/* Blog CSS — styl artykułów */
/* dark theme, emerald accent, spójny z landing.css */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  background-color: #0f1117;
  color: #e2e8f0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.75;
  margin: 0;
  padding: 0;
}

/* NAV */
nav {
  background: #1a1d2e;
  border-bottom: 1px solid #2d3748;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  color: #a0aec0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

nav a:hover {
  color: #10b981;
}

nav .nav-logo {
  font-weight: 700;
  color: #10b981;
  font-size: 1.1rem;
  margin-right: auto;
}

/* ARTICLE WRAPPER */
.article-wrapper {
  max-width: 750px;
  margin: 3rem auto;
  padding: 0 1.5rem 4rem;
}

/* META */
.article-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  font-size: 0.8rem;
  color: #718096;
}

.article-meta .tag {
  background: #1a2e1a;
  color: #10b981;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid #10b98133;
}

/* HEADINGS */
h1 {
  font-size: 2rem;
  font-weight: 800;
  color: #f7fafc;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #10b981;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #10b98122;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #68d391;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* PARAGRAPHS */
p {
  margin-bottom: 1.25rem;
  color: #cbd5e0;
}

/* LEAD paragraph */
.lead {
  font-size: 1.1rem;
  color: #a0aec0;
  border-left: 3px solid #10b981;
  padding-left: 1rem;
  margin-bottom: 2rem;
}

/* LISTS */
ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  color: #cbd5e0;
}

li {
  margin-bottom: 0.4rem;
}

/* TABLES */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.9rem;
}

thead {
  background: #1a2e1a;
}

thead th {
  color: #10b981;
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid #10b98144;
}

tbody tr {
  border-bottom: 1px solid #2d3748;
}

tbody tr:hover {
  background: #1a1d2e;
}

tbody td {
  padding: 0.65rem 1rem;
  color: #cbd5e0;
  vertical-align: top;
}

/* HIGHLIGHT BOX */
.highlight-box {
  background: #0d1f1a;
  border: 1px solid #10b98144;
  border-left: 4px solid #10b981;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.highlight-box p {
  margin-bottom: 0;
}

/* WARNING BOX */
.warning-box {
  background: #1a1500;
  border: 1px solid #d97706aa;
  border-left: 4px solid #d97706;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  color: #fcd34d;
}

.warning-box p {
  color: #fcd34d;
  margin-bottom: 0;
}

/* CTA BOX */
.cta-box {
  background: linear-gradient(135deg, #0d2818 0%, #0d1f2d 100%);
  border: 2px solid #10b981;
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0 2rem;
  text-align: center;
}

.cta-box h3 {
  color: #10b981;
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.cta-box p {
  color: #a0aec0;
  margin-bottom: 1.5rem;
}

.cta-button {
  display: inline-block;
  background: #10b981;
  color: #0f1117;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
}

.cta-button:hover {
  background: #059669;
  transform: translateY(-1px);
}

/* PRICE TABLE */
.price-table th {
  background: #1a2e1a;
  color: #10b981;
}

.price-highlight {
  color: #10b981;
  font-weight: 700;
}

/* FOOTER */
footer {
  background: #1a1d2e;
  border-top: 1px solid #2d3748;
  padding: 2rem;
  text-align: center;
  color: #718096;
  font-size: 0.85rem;
}

footer a {
  color: #10b981;
  text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.15rem; }
  .article-wrapper { padding: 0 1rem 3rem; }
  table { font-size: 0.8rem; }
  thead th, tbody td { padding: 0.5rem 0.6rem; }
}
