:root {
  --bg: #ffffff;
  --bg-gloss: linear-gradient(180deg, #ffffff 0%, #fcfcfc 50%, #ffffff 100%);
  --border: rgba(0,0,0,0.10);
  --border-strong: rgba(0,0,0,0.18);
  --text: #0a0a0a;
  --muted: #555555;
  --faint: #999999;
  --gloss-black: linear-gradient(145deg, #1a1a1a 0%, #000000 100%);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.07);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.18), 0 6px 16px rgba(0,0,0,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Roboto', 'DM Sans', sans-serif;
  font-size: 17px;
  line-height: 1.7;
  min-height: 100vh;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: #111111;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 40px;
  height: 72px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav .nav-logo { flex-shrink: 0; z-index: 2; }
.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.15) brightness(1.08);
}
.nav-center {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.nav-center .nav-links { pointer-events: auto; display: flex; gap: 2px; list-style: none; }
.nav-center .nav-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-center .nav-links a:hover,
.nav-center .nav-links a.active {
  color: #ffffff;
  background: rgba(255,255,255,0.1);
}
.nav-cta { display: flex; gap: 10px; align-items: center; z-index: 2; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
}
.btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.9);
}
.btn-primary {
  background: linear-gradient(145deg, #ffffff 0%, #e8e8e8 100%);
  color: #111111;
  min-width: 140px;
}
.social-icon {
  min-width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 600;
}

.blog-wrap {
  padding: 112px 48px 80px;
  min-height: 70vh;
  max-width: 1100px;
  margin: 0 auto;
}
.page-hero-badge {
  display: inline-flex;
  align-items: center;
  background: #111111;
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 20px;
}
.blog-wrap h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.blog-lead { color: var(--muted); max-width: 640px; margin-bottom: 40px; }
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.blog-card-meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.blog-card h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 12px;
}
.blog-card p { color: var(--muted); font-size: 15px; flex: 1; }
.blog-card-more { margin-top: 20px; font-weight: 700; color: #111; }

.blog-article { max-width: 760px; }
.blog-article .blog-card-meta { margin-bottom: 16px; }
.blog-article h1 { margin-bottom: 12px; }
.blog-article .blog-lead { margin-bottom: 32px; }
.blog-body h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  font-weight: 400;
  margin: 36px 0 12px;
}
.blog-body h3 { font-size: 20px; margin: 28px 0 10px; }
.blog-body p { color: #333; margin-bottom: 16px; }
.blog-body ul, .blog-body ol { margin: 0 0 16px 1.3rem; color: #333; }
.blog-body li { margin-bottom: 8px; }
.blog-body a { color: #111; font-weight: 700; }
.blog-cta {
  margin-top: 48px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fafafa;
}
.blog-cta .btn-primary {
  background: var(--gloss-black);
  color: #fff;
  margin-top: 12px;
}

footer {
  background: #111111;
  border-top: 1px solid rgba(0,0,0,0.15);
  padding: 48px;
  color: #ffffff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}
.footer-bottom a { color: rgba(255,255,255,0.5); }

@media (max-width: 1100px) {
  .nav-center { display: none; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .blog-wrap { padding: 100px 20px 60px; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
