:root {
  --bg: #0b1120;
  --surface: #111827;
  --surface-alt: #1e293b;
  --border: #334155;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #10b981;
  --accent-light: #34d399;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: var(--accent-light);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(11, 17, 32, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
}

.brand img {
  width: 34px;
  height: 34px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.hero {
  padding: 3rem 0 2rem;
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
}

.hero-content {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.badge {
  display: inline-block;
  width: fit-content;
  background: rgba(16, 185, 129, 0.14);
  color: var(--accent-light);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.hero-content h1 {
  font-size: 2rem;
  line-height: 1.2;
}

.hero-content p {
  color: var(--muted);
}

.btn {
  display: inline-block;
  width: fit-content;
  background: var(--accent);
  color: #042f2e;
  font-weight: 700;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  margin-top: 0.5rem;
}

.btn:hover {
  background: var(--accent-light);
  text-decoration: none;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.section {
  padding: 2.25rem 0;
}

.section-title {
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  color: var(--accent-light);
}

.card p {
  color: var(--muted);
  font-size: 0.94rem;
}

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.post-meta {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.article {
  padding: 2.5rem 0 3.5rem;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  font-size: 2.1rem;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.article-banner {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin: 1.5rem 0;
}

.article-body h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.35rem;
  color: var(--accent-light);
}

.article-body p,
.article-body ul {
  margin-bottom: 1rem;
  color: #cbd5e1;
}

.article-body ul {
  padding-left: 1.25rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 2rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 760px) {
  .hero-card {
    grid-template-columns: 1fr;
  }
}
