/* MindTrack Blog — shared styles for static blog pages */
:root{
  --primary:#818cf8;
  --primary-dark:#6366f1;
  --accent:#a78bfa;
  --bg-1:#0f172a;
  --bg-2:#1e293b;
  --card:rgba(30,41,59,0.85);
  --card-border:rgba(129,140,248,0.12);
  --text:#e2e8f0;
  --text-secondary:#94a3b8;
  --muted:#64748b;
  --primary-glow:rgba(129,140,248,0.3);
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{
  font-family:"Poppins",system-ui,-apple-system,"Helvetica Neue",sans-serif;
  background:linear-gradient(160deg,var(--bg-1),var(--bg-2));
  color:var(--text);
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
  line-height:1.65;
}
a{color:var(--primary);text-decoration:none}
a:hover{text-decoration:underline}

.blog-header{
  position:sticky;top:0;z-index:10;
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  padding:14px 28px;
  background:rgba(15,23,42,0.85);
  backdrop-filter:blur(16px);
  border-bottom:1px solid var(--card-border);
}
.blog-header-brand{
  display:flex;align-items:center;gap:10px;
  font-weight:700;font-size:18px;color:var(--text);
}
.blog-header-brand img{width:32px;height:32px;border-radius:8px}
.blog-header-cta{
  padding:8px 18px;border-radius:10px;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#fff;font-weight:700;font-size:13px;
  box-shadow:0 4px 14px var(--primary-glow);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-header-cta:hover{transform:translateY(-1px);text-decoration:none;box-shadow:0 6px 20px var(--primary-glow)}

.blog-container{
  max-width:760px;margin:0 auto;padding:48px 24px 80px;
}

.blog-hero{text-align:center;margin-bottom:40px}
.blog-hero h1{
  font-size:clamp(32px, 5vw, 48px);
  font-weight:800;letter-spacing:-1px;
  background:linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip:text;background-clip:text;color:transparent;
  margin-bottom:12px;line-height:1.15;
}
.blog-hero p{font-size:17px;color:var(--text-secondary);max-width:540px;margin:0 auto}

article{
  background:var(--card);
  border:1px solid var(--card-border);
  border-radius:18px;
  padding:48px 48px 56px;
  backdrop-filter:blur(12px);
  box-shadow:0 16px 48px rgba(0,0,0,0.18);
}
article h1{
  font-size:clamp(28px, 4.5vw, 40px);
  font-weight:800;letter-spacing:-0.5px;line-height:1.2;
  margin-bottom:14px;
}
.article-meta{
  font-size:13px;color:var(--muted);
  display:flex;gap:12px;align-items:center;flex-wrap:wrap;
  margin-bottom:28px;padding-bottom:20px;
  border-bottom:1px solid var(--card-border);
}
.article-tag{
  padding:3px 10px;border-radius:10px;
  background:rgba(129,140,248,0.14);color:var(--primary);
  font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:0.4px;
}
article h2{font-size:22px;font-weight:700;margin:32px 0 12px;color:var(--text);letter-spacing:-0.3px}
article h3{font-size:17px;font-weight:700;margin:24px 0 8px;color:var(--text)}
article p{margin-bottom:18px;color:var(--text-secondary);font-size:16px}
article ul, article ol{margin:0 0 18px 24px;color:var(--text-secondary)}
article li{margin-bottom:8px;font-size:16px}
article strong{color:var(--text);font-weight:700}
article blockquote{
  margin:20px 0;padding:14px 22px;border-left:3px solid var(--primary);
  background:rgba(129,140,248,0.06);border-radius:0 8px 8px 0;
  color:var(--text);font-style:italic;
}
article code{
  background:rgba(129,140,248,0.12);padding:2px 6px;border-radius:6px;
  font-family:"Consolas","Monaco",monospace;font-size:14px;color:var(--primary);
}

.cta-card{
  margin-top:48px;padding:28px;border-radius:16px;text-align:center;
  background:linear-gradient(135deg, rgba(129,140,248,0.12), rgba(167,139,250,0.08));
  border:1px solid var(--card-border);
}
.cta-card h3{font-size:20px;margin-bottom:10px}
.cta-card p{margin-bottom:16px}
.cta-card a.btn{
  display:inline-block;padding:12px 28px;border-radius:12px;
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  color:#fff;font-weight:700;font-size:15px;
  text-decoration:none;
  box-shadow:0 6px 18px var(--primary-glow);
}

.post-list{display:flex;flex-direction:column;gap:14px}
.post-card{
  display:block;padding:24px 28px;border-radius:14px;
  background:var(--card);border:1px solid var(--card-border);
  text-decoration:none;color:var(--text);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.post-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,0.2);text-decoration:none}
.post-card-title{font-size:20px;font-weight:700;margin-bottom:6px;letter-spacing:-0.3px}
.post-card-excerpt{color:var(--text-secondary);font-size:14px;margin-bottom:8px}
.post-card-meta{font-size:12px;color:var(--muted)}

.blog-footer{
  text-align:center;padding:32px 24px;
  font-size:12px;color:var(--muted);
  border-top:1px solid var(--card-border);margin-top:40px;
}
.blog-footer a{color:var(--text-secondary)}

@media(max-width:600px){
  .blog-container{padding:32px 16px 60px}
  article{padding:28px 24px 36px;border-radius:14px}
  .blog-header{padding:12px 16px}
}
