/* ─── Blog shared styles ──────────────────────────────────────────────────── */

:root {
  --volt: #ccff00;
  --bg: #0d0d0d;
  --bg-card: #141414;
  --border: #222;
  --text: #f0f0f0;
  --text-muted: #999;
  --max-w: 720px;
}

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

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.75;
}

/* ─── Nav ─────────────────────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
}

.volt-dot {
  width: 8px;
  height: 8px;
  background: var(--volt);
  border-radius: 50%;
  flex-shrink: 0;
}

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

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--volt);
  color: #0d0d0d !important;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px !important;
}

/* ─── Article layout ──────────────────────────────────────────────────────── */
.article-hero {
  padding: 72px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.article-tag {
  display: inline-block;
  background: rgba(204,255,0,0.12);
  color: var(--volt);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.article-hero h1 {
  max-width: 760px;
  margin: 0 auto 20px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

.article-meta {
  font-size: 14px;
  color: var(--text-muted);
}

.article-meta span + span::before {
  content: ' · ';
}

/* ─── Article body ────────────────────────────────────────────────────────── */
.article-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.article-body p {
  margin: 0 0 24px;
  color: #ccc;
}

.article-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 48px 0 16px;
  line-height: 1.3;
}

.article-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 32px 0 12px;
}

.article-body ul, .article-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
  color: #ccc;
}

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

.article-body strong {
  color: #fff;
}

.article-body a {
  color: var(--volt);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─── Callout box ─────────────────────────────────────────────────────────── */
.callout {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--volt);
  border-radius: 8px;
  padding: 20px 24px;
  margin: 32px 0;
  color: #ccc;
  font-size: 15px;
}

.callout strong {
  color: #fff;
  display: block;
  margin-bottom: 6px;
}

/* ─── CTA block ───────────────────────────────────────────────────────────── */
.article-cta {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  text-align: center;
  margin: 56px 0 0;
}

.article-cta h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}

.article-cta p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 28px;
  font-size: 15px;
}

.btn-volt {
  display: inline-block;
  background: var(--volt);
  color: #0d0d0d;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.3px;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 8px;
}

/* ─── Footer ──────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  .nav-links { display: none; }
  .article-hero { padding: 48px 20px 32px; }
  .article-body { padding: 40px 20px 60px; }
  .article-cta { padding: 32px 20px; }
}
