:root {
  --bg: #0a0a0a;
  --card: rgba(255, 255, 255, 0.06);
  --glass: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.1);
  --text: #f5f5f5;
  --muted: #c6c6c6;
  --accent: linear-gradient(135deg, #5b8cff, #9b8cff, #7cf7ff);
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  font-family: "Inter", "SF Pro Display", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 20% 20%, rgba(124, 247, 255, 0.12), transparent 40%),
    radial-gradient(circle at 70% 0%, rgba(155, 140, 255, 0.18), transparent 35%),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(1100px, 94vw);
  margin: 96px auto;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1100px, 94vw);
  margin: 0 auto;
  padding: 24px 0;
}

.brand {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.hero {
  width: min(1100px, 94vw);
  margin: 96px auto;
  padding: 36px;
  border-radius: calc(var(--radius) * 1.5);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, rgba(91, 140, 255, 0.08), rgba(0, 0, 0, 0.25));
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.avatar {
  display: flex;
  justify-content: flex-end;
}

.avatar img {
  width: min(280px, 40vw);
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 12px;
}

.lead {
  font-size: 20px;
  margin: 12px 0 6px;
}

.muted {
  color: var(--muted);
  line-height: 1.6;
}

.actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.primary-btn,
.ghost-btn {
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  border: 1px solid var(--border);
}

.primary-btn {
  background-image: var(--accent);
  color: #0b0b0b;
  box-shadow: 0 10px 30px rgba(91, 140, 255, 0.35);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  background: transparent;
  color: var(--text);
}

.section-heading h1 {
  margin: 6px 0 8px;
}

.grid {
  margin-top: 36px;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}

.post-card h2 {
  margin: 6px 0;
}

.post-card p {
  margin: 6px 0;
}

.article h1 {
  margin: 6px 0 20px;
}

.article-body {
  line-height: 1.8;
  color: var(--muted);
}

.article-body h2,
.article-body h3 {
  color: var(--text);
  margin-top: 18px;
}

.article-body code {
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.article-body pre {
  background: rgba(0, 0, 0, 0.6);
  padding: 14px;
  border-radius: 12px;
  overflow-x: auto;
  border: 1px solid var(--border);
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .avatar {
    justify-content: flex-start;
  }

  .top-nav {
    width: 92vw;
  }
}
