/* Shared blog post styles — imported by every post in /blog/posts/ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0; padding: 0;
  background: #06060a;
  color: #e2e8f0;
  font-family: 'Geist', 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Nav */
.glass-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 6, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.3px;
}

.nav-logo span {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  list-style: none;
  margin: 0; padding: 0;
}

.nav-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: #fff; }

/* Article layout */
.article-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 120px;
}

/* Hero */
.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.post-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,102,241,0.12);
  border: 1px solid rgba(99,102,241,0.25);
  color: #a5b4fc;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 99px;
}

.post-date {
  color: #64748b;
  font-size: 13px;
}

.post-title {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 20px;
  background: linear-gradient(135deg, #fff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.post-subtitle {
  font-size: 18px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 40px;
  font-weight: 400;
}

.post-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 40px 0;
}

/* Body typography */
.article-body h2 {
  font-size: 22px;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.4px;
  margin: 48px 0 16px;
}

.article-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: #e2e8f0;
  margin: 32px 0 10px;
}

.article-body p {
  color: #94a3b8;
  margin: 0 0 20px;
  font-size: 16px;
}

.article-body a {
  color: #a5b4fc;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.article-body a:hover { color: #c7d2fe; }

.article-body ul, .article-body ol {
  color: #94a3b8;
  padding-left: 24px;
  margin: 0 0 20px;
  font-size: 16px;
}

.article-body li { margin-bottom: 8px; }

.article-body strong { color: #e2e8f0; font-weight: 600; }

/* Callout box */
.callout {
  background: rgba(99,102,241,0.07);
  border: 1px solid rgba(99,102,241,0.2);
  border-left: 3px solid #6366f1;
  border-radius: 10px;
  padding: 20px 24px;
  margin: 32px 0;
}

.callout p {
  margin: 0;
  color: #c7d2fe;
  font-size: 15px;
  line-height: 1.6;
}

/* Stat row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin: 32px 0;
}

.stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
}

.stat-card .stat-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stat-card .stat-label {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
  font-weight: 500;
}

/* CTA block */
.post-cta {
  background: rgba(99,102,241,0.07);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 18px;
  padding: 40px;
  text-align: center;
  margin-top: 64px;
}

.post-cta h3 {
  font-size: 22px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 10px;
}

.post-cta p {
  color: #94a3b8;
  margin: 0 0 24px;
  font-size: 15px;
}

.glow-btn {
  display: inline-block;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(99,102,241,0.6);
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 40px;
  transition: color 0.2s;
}

.back-link:hover { color: #a5b4fc; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 24px;
  text-align: center;
  color: #475569;
  font-size: 13px;
}

.site-footer a {
  color: #64748b;
  text-decoration: none;
}

.site-footer a:hover { color: #a5b4fc; }
