:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f8fafc;
  --card: #ffffff;
  --radius: 12px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
}
.site-nav-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { font-size: 20px; font-weight: 700; color: var(--text); }
.brand span { color: var(--primary); }
.nav-links a {
  margin-left: 20px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.nav-links a.active, .nav-links a:hover { color: var(--primary); }

.vortex-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.hero {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #2563eb 100%);
  color: #fff;
  padding: 56px 20px 64px;
}
.hero-compact {
  padding: 40px 20px 48px;
}
.hero-btn-ghost {
  color: #fff !important;
  border-color: rgba(255,255,255,.6) !important;
  background: transparent !important;
}
.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.hero h1 { margin: 0 0 12px; font-size: 36px; font-weight: 700; }
.hero p { margin: 0; font-size: 18px; opacity: .92; max-width: 640px; }
.hero-actions { margin-top: 28px; }
.hero-actions .el-button--primary {
  background: #fff;
  border-color: #fff;
  color: var(--primary-dark);
}

.main { max-width: 1080px; margin: 0 auto; padding: 32px 20px 48px; }
.section-title {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.article-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  cursor: pointer;
  border: 1px solid #e5e7eb;
  transition: box-shadow .2s, transform .15s;
}
.article-card:hover {
  box-shadow: 0 8px 24px rgba(79,70,229,.12);
  transform: translateY(-2px);
}
.article-card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.4; }
.article-card .excerpt { font-size: 14px; color: var(--muted); margin: 0; }
.article-card .meta { font-size: 12px; color: #9ca3af; margin-top: 12px; }

.about-box {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid #e5e7eb;
  margin-bottom: 40px;
}
.about-box p { margin: 0 0 12px; color: var(--muted); }
.about-box p:last-child { margin-bottom: 0; }

.article-detail {
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid #e5e7eb;
}
.article-detail h1 { margin-top: 0; font-size: 28px; }
.article-detail .meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.article-body { line-height: 1.85; font-size: 16px; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; }

.site-footer {
  border-top: 1px solid #e5e7eb;
  padding: 24px 20px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  background: #fff;
}
.site-footer a { margin: 0 8px; }

.geo-badge {
  display: inline-block;
  font-size: 12px;
  background: #eef2ff;
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 8px;
}
