/* KadeLab Blog — style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --bg: #07070F;
  --surface: #0D0D1A;
  --surface2: #12121F;
  --card: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --green: #00E87A;
  --green-dim: rgba(0,232,122,0.12);
  --text: #F0F0F8;
  --text-muted: rgba(240,240,248,0.55);
  --radius: 12px;
}

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

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
}

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(7,7,15,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo span { color: var(--green); }

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-left: 28px;
  transition: color 0.2s;
}

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

/* MAIN BLOG POST */
.blog-post {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.category {
  display: inline-block;
  background: var(--green-dim);
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(0,232,122,0.25);
}

.read-time {
  color: var(--text-muted);
  font-size: 13px;
}

article h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 24px;
  color: var(--text);
}

.lead {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.article-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  margin: 48px 0 16px;
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.article-body h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin: 32px 0 12px;
}

.article-body p {
  margin-bottom: 20px;
  color: rgba(240,240,248,0.85);
}

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
  color: rgba(240,240,248,0.85);
}

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

.article-body strong { color: var(--text); font-weight: 600; }

.article-body a { color: var(--green); text-decoration: none; }
.article-body a:hover { text-decoration: underline; }

.article-body blockquote {
  border-left: 3px solid var(--green);
  padding: 16px 20px;
  margin: 28px 0;
  background: var(--green-dim);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-muted);
  font-style: italic;
}

/* CTA BOX */
.cta-box {
  margin-top: 64px;
  padding: 40px;
  background: linear-gradient(135deg, var(--green-dim), rgba(0,232,122,0.05));
  border: 1px solid rgba(0,232,122,0.3);
  border-radius: 20px;
  text-align: center;
}

.cta-box h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 16px;
}

.btn {
  display: inline-block;
  background: var(--green);
  color: #07070F;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.1s;
}

.btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* FOOTER */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 32px 40px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* MOBILE */
@media (max-width: 640px) {
  .nav { padding: 14px 20px; }
  .blog-post { padding: 40px 20px 80px; }
  article h1 { font-size: 28px; }
  .cta-box { padding: 28px 20px; }
}
