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

:root {
  --bg: #0A0A0F;
  --bg-2: #111118;
  --bg-3: #1A1A24;
  --bg-4: #22222E;
  --green: #16A34A;
  --green-light: #22C55E;
  --green-glow: rgba(22,163,74,0.15);
  --white: #F8FAFC;
  --muted: #94A3B8;
  --muted-2: #64748B;
  --border: rgba(255,255,255,0.07);
  --border-2: rgba(255,255,255,0.12);
  --sans: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-text { display: flex; flex-direction: column; line-height: 1; }

.nav-logo-name {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.3px;
}

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

.nav-logo-sub {
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted-2);
  letter-spacing: 0.01em;
  margin-top: 4px;
}

.nav-links { display: flex; gap: 28px; list-style: none; }

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

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

.nav-actions { display: flex; gap: 10px; align-items: center; }

.btn-nav-ghost {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  border: 1px solid var(--border-2);
  transition: all 0.2s;
}

.btn-nav-ghost:hover { color: var(--white); border-color: rgba(255,255,255,0.25); }

.btn-nav-primary {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--green);
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.btn-nav-primary:hover { background: #15803D; }

/* FOOTER */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand { display: flex; flex-direction: column; gap: 4px; }

.footer-logo {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.3px;
  line-height: 1;
}

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

.footer-logo-sub {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted-2);
  letter-spacing: 0.01em;
  margin-top: 5px;
}

.footer-tagline { font-size: 12px; color: var(--muted-2); }
.footer-mayn { font-size: 12px; color: var(--muted-2); }
.footer-mayn a { color: var(--green-light); text-decoration: none; }

.footer-links { display: flex; gap: 24px; }

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

.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 12px; color: var(--muted-2); }

/* BLOG HERO */
.blog-hero {
  padding: 110px 2rem 60px;
  max-width: 1100px;
  margin: 0 auto;
}

.blog-hero-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1rem;
}

.blog-hero h1 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.blog-hero p {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.65;
}

/* BLOG GRID */
.blog-section {
  padding: 0 2rem 90px;
  max-width: 1100px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: border-color 0.2s;
}

.blog-card:hover { border-color: var(--border-2); }

.blog-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 0.75rem;
}

.blog-card-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.3px;
  margin-bottom: 0.75rem;
}

.blog-card-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1.5rem;
}

.blog-card-meta {
  font-size: 12px;
  color: var(--muted-2);
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 1rem;
}

.blog-card-meta span::before { content: '·'; margin-right: 12px; }
.blog-card-meta span:first-child::before { content: none; }

.blog-card-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--green-light);
}

/* ARTICLE HERO */
.article-hero {
  padding: 100px 2rem 50px;
  max-width: 760px;
  margin: 0 auto;
}

.article-breadcrumb {
  font-size: 13px;
  color: var(--muted-2);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-breadcrumb a {
  color: var(--muted-2);
  text-decoration: none;
  transition: color 0.2s;
}

.article-breadcrumb a:hover { color: var(--white); }
.article-breadcrumb-sep { opacity: 0.4; }

.article-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-light);
  background: var(--green-glow);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

.article-hero h1 {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--white);
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 1.5rem;
}

.article-meta-item {
  font-size: 12px;
  color: var(--muted-2);
}

/* ARTICLE CONTENT */
.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem 80px;
}

.article-content h2 {
  font-size: 26px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.5px;
  margin: 3rem 0 1rem;
  line-height: 1.2;
}

.article-content h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--white);
  margin: 2.25rem 0 0.75rem;
  line-height: 1.3;
}

.article-content p {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.35rem;
}

.article-content strong { font-weight: 600; color: var(--white); }

.article-content ul {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-content ul li {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.7;
}

.article-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--green-light);
  font-weight: 400;
}

.article-pullquote {
  border-left: 3px solid var(--green);
  padding: 1.25rem 1.75rem;
  margin: 2.5rem 0;
  background: var(--bg-3);
  border-radius: 0 10px 10px 0;
}

.article-pullquote p {
  font-size: 18px;
  font-weight: 500;
  color: var(--white);
  margin: 0;
  font-style: italic;
  line-height: 1.6;
}

/* ARTICLE CTA BOX */
.article-cta {
  background: linear-gradient(135deg, var(--bg-3) 0%, rgba(22,163,74,0.06) 100%);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
}

.article-cta h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.article-cta p {
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 1.75rem;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--green);
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover { background: #15803D; transform: translateY(-1px); }

/* RELATED ARTICLES */
.related-section {
  padding: 60px 2rem;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.related-inner { max-width: 760px; margin: 0 auto; }

.related-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 1.5rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.related-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  transition: border-color 0.2s;
  display: block;
}

.related-card:hover { border-color: var(--border-2); }

.related-card-tag {
  font-size: 10px;
  font-weight: 600;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.related-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.related-card-meta { font-size: 11px; color: var(--muted-2); }

@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-hero { padding: 90px 1.25rem 40px; }
  .blog-section { padding: 0 1.25rem 60px; }
  .article-hero { padding: 90px 1.25rem 40px; }
  .article-content { padding: 0 1.25rem 60px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
