/* ===== SHARED PAGE STYLES (Blog, Changelog, Roadmap, Privacy) ===== */

.page-hero {
  padding-top: 7rem;
  padding-bottom: 2rem;
  text-align: center;
}

.page-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.page-hero .section-subtitle { margin: 0 auto; }

/* ===== PROSE / ARTICLE ===== */
.prose {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text-secondary);
  line-height: 1.85;
  font-size: 1rem;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
}

.prose h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2rem 0 0.75rem;
}

.prose p { margin-bottom: 1.25rem; }

.prose ul, .prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.prose li { margin-bottom: 0.5rem; }

.prose strong { color: var(--text-primary); font-weight: 600; }

.prose a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.prose a:hover { opacity: 0.8; }

.prose blockquote {
  border-left: 3px solid var(--green);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--green-glow);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-primary);
}

.prose code {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875em;
  color: var(--green);
}

.prose pre {
  background: #0d1117;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.prose pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.prose img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}

.prose hr {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2.5rem 0;
}

/* ===== BLOG LIST ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.blog-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(0,255,136,0.1), rgba(0,255,136,0.03));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}

.blog-card:hover .blog-card-img {
  border-color: var(--border-hover);
  box-shadow: 0 0 20px rgba(0,255,136,0.1);
}

.blog-card-img svg { color: var(--green); opacity: 0.4; }

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.blog-card-tag {
  background: var(--green-glow);
  color: var(--green);
  border: 1px solid rgba(0,255,136,0.2);
  border-radius: 100px;
  padding: 2px 8px;
  font-size: 0.6875rem;
  font-weight: 600;
}

.blog-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition);
}

.blog-card:hover h3 { color: var(--green); }

.blog-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.blog-card-arrow {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--green);
  margin-top: auto;
  transition: var(--transition);
}

.blog-card:hover .blog-card-arrow { gap: 0.625rem; }

/* ===== BLOG ARTICLE ===== */
.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.article-meta-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* ===== CHANGELOG / ROADMAP ===== */
.changelog-list, .roadmap-list {
  max-width: 760px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.changelog-entry {
  position: relative;
  padding-left: 2.5rem;
}

.changelog-entry::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 28px;
  bottom: -2rem;
  width: 1px;
  background: var(--border);
}

.changelog-entry:last-child::before { display: none; }

.changelog-dot {
  position: absolute;
  left: 0;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--green);
  z-index: 1;
}

.changelog-entry:first-child .changelog-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-glow), 0 0 12px var(--green);
}

.changelog-version {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.changelog-ver-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.changelog-date {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.changelog-body { color: var(--text-secondary); font-size: 0.9375rem; line-height: 1.7; }
.changelog-body ul { list-style: none; padding: 0; }
.changelog-body li { padding: 0.25rem 0; }

.changelog-body li::before {
  content: '→';
  color: var(--green);
  margin-right: 0.5rem;
  font-weight: 700;
}

.change-tag {
  display: inline-flex;
  padding: 1px 6px;
  border-radius: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 0.375rem;
}

.change-tag.new  { background: rgba(0,255,136,0.12); color: var(--green); }
.change-tag.fix  { background: rgba(255,193,7,0.12); color: var(--yellow); }
.change-tag.imp  { background: rgba(100,149,237,0.12); color: #6495ED; }

/* Roadmap */
.roadmap-item {
  padding: 1.75rem;
}

.roadmap-quarter {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 0.75rem;
}

.roadmap-item h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.625rem;
}

.roadmap-item p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.roadmap-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.roadmap-tag {
  padding: 0.25rem 0.625rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.roadmap-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 600;
}

.roadmap-status.done  { background: rgba(0,255,136,0.12); color: var(--green); }
.roadmap-status.wip   { background: rgba(255,193,7,0.12); color: var(--yellow); }
.roadmap-status.planned { background: rgba(100,149,237,0.12); color: #6495ED; }

.roadmap-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ===== PRIVACY ===== */
.privacy-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.privacy-toc h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.privacy-toc ol {
  padding-left: 1.25rem;
  list-style-type: decimal;
}

.privacy-toc li { margin-bottom: 0.375rem; }

.privacy-toc a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition);
}

.privacy-toc a:hover { color: var(--green); }

/* RESPONSIVE */
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}
