:root {
  --bg: #0b1020;
  --bg-soft: #131b33;
  --text: #eaf0ff;
  --text-muted: #b6c1e2;
  --primary: #5b8cff;
  --primary-soft: #7ea4ff;
  --card: #17213e;
  --line: #2b375f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  background: radial-gradient(circle at top right, #192d5e 0%, var(--bg) 45%);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

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

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(10, 14, 28, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.4px;
}

.nav nav {
  display: flex;
  gap: 20px;
  color: var(--text-muted);
}

.hero {
  padding: 64px 0 48px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}

.eyebrow {
  color: var(--primary-soft);
  font-size: 14px;
  margin-bottom: 10px;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
}

h1 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
}

p {
  margin: 0 0 16px;
  color: var(--text-muted);
  line-height: 1.72;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), #7b5bff);
  color: #fff;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: 10px;
}

.hero-media img {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #0f1730;
}

.section {
  padding: 32px 0 50px;
}

.section-alt {
  background: rgba(16, 23, 45, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.grid {
  display: grid;
  gap: 16px;
}

.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.post-card {
  background: linear-gradient(180deg, #182546 0%, #141e38 100%);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.tag {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 12px;
  color: #dce7ff;
  background: rgba(91, 140, 255, 0.22);
}

.post-card img {
  border-radius: 10px;
  margin-bottom: 12px;
}

.site-footer {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0a1020;
}

.footer-content {
  padding: 20px 0 28px;
  color: #a8b5da;
  font-size: 14px;
}

.footer-content p {
  margin: 0 0 8px;
}

.footer-content strong {
  color: #dce6ff;
}

@media (max-width: 900px) {
  .hero-content,
  .two,
  .three {
    grid-template-columns: 1fr;
  }

  .nav {
    height: auto;
    padding: 16px 0;
    flex-direction: column;
    gap: 12px;
  }
}
