:root {
  /* 极简色板：以白为主，少量紫色作为点缀 */
  --color-primary:        #6c5ce7;        /* 主色（强调用，少用） */
  --color-primary-soft:   #8a7ef0;
  --color-primary-pale:   #f3f1ff;        /* 浅紫底，仅图标背景/tag */

  /* 背景：白底 + 灰色淡化光晕（在 body 上用 radial-gradient 实现） */
  --color-bg:             #ffffff;
  --color-surface:        #ffffff;
  --color-surface-alt:    #fafafa;        /* 卡片悬停或弱区分 */
  --color-bg-tint:        #f4f4f5;        /* zinc-100，作为 radial 中点淡化色 */

  /* 文字：高对比，分三级 */
  --color-text:           #18181b;        /* 主文字 */
  --color-text-muted:     #71717a;        /* 次级文字 */
  --color-text-faint:     #a1a1aa;        /* 最弱文字 */

  /* 边框：极浅灰 */
  --color-border:         #ececec;
  --color-border-hover:   #d4d4d8;

  /* 圆角 */
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 14px;

  --max-width: 1080px;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
               "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  /* 阴影：极淡 */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-glass: 0 4px 24px rgba(24, 24, 27, 0.05);
}

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

html, body { height: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
  /* 主背景：纯白底 + 两团极柔模糊紫色光斑（毛玻璃需要"可透"的内容才显质感） */
  background-color: var(--color-bg);
  background-image:
    radial-gradient(ellipse 70% 50% at 18% 12%,  rgba(108, 92, 231, 0.10) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 82% 88%,  rgba(108, 92, 231, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 50%,  rgba(244, 244, 245, 0.6) 0%, transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============ Header（不贴边：外层透明 + 内层毛玻璃胶囊） ============ */
.site-header {
  background: transparent;
  padding: 16px 24px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
}

.site-header .header-inner {
  width: 100%;
  max-width: var(--max-width);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 6px 24px rgba(24, 24, 27, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text);
}

.brand-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--color-text);
}

.brand-status { display: none; }

.nav {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 13.5px;
  padding: 7px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav a:hover {
  color: var(--color-text);
  background: rgba(244, 244, 245, 0.6);
}

.nav a.router-link-active {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-soft) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 4px 12px rgba(108, 92, 231, 0.28);
}

.nav a.router-link-active:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-soft) 100%);
  color: #fff;
}

.nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
}

/* ============ Main（一屏内容、紧凑） ============ */
.site-main {
  flex: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px 48px;
}

h1 { font-size: 26px; margin-bottom: 14px; font-weight: 600; letter-spacing: -0.2px; }
h2 { font-size: 19px; margin: 24px 0 12px; font-weight: 600; }
h3 { font-size: 15px; margin: 0; font-weight: 600; }

/* ============ Hero（首页中央，更紧凑） ============ */
.hero {
  text-align: center;
  padding: 28px 0 20px;
}

.hero-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 22px;
  color: var(--color-primary);
}

.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--color-text-faint);
  margin-bottom: 14px;
  font-weight: 500;
}

.hero-title {
  font-size: 40px;
  font-weight: 600;
  letter-spacing: 16px;
  color: var(--color-text);
  margin-bottom: 28px;
  margin-left: 16px;
}

.hero-sub {
  font-size: 13.5px;
  color: var(--color-text-faint);
  line-height: 2;
  max-width: 540px;
  margin: 0 auto;
}

/* ============ Cards Grid ============ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.cards-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: 800px; margin-left: auto; margin-right: auto; }

.feature-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-glass);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.feature-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px rgba(24, 24, 27, 0.08);
}

.feature-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.12) 0%, rgba(138, 126, 240, 0.18) 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.feature-card:hover .feature-card-icon {
  transform: scale(1.06);
}

.feature-card-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.feature-card-desc {
  font-size: 12px;
  color: var(--color-text-faint);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .site-header { padding: 12px 16px 0; }
  .site-header .header-inner { padding: 8px 14px; border-radius: 16px; }
  .site-main { padding: 24px 16px 36px; }
  .cards-grid, .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 30px; letter-spacing: 8px; margin-left: 8px; }
  .nav { gap: 2px; }
  .nav a { padding: 7px 10px; }
  .nav a span:not(.nav-icon) { display: none; }
}

/* ============ List page card ============ */
.card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-glass);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 14px;
  transition: all 0.18s ease;
}

.card:hover {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 30px rgba(24, 24, 27, 0.08);
}

.card .meta { color: var(--color-text-faint); font-size: 12px; margin: 4px 0 12px; }

/* ============ Buttons / Inputs ============ */
button, .btn {
  background: var(--color-primary);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.15s ease;
}

button:hover, .btn:hover { opacity: 0.88; }

input, textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: inherit;
  background: var(--color-surface);
  transition: border-color 0.15s ease;
  color: var(--color-text);
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--color-primary-soft);
}

.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ============ Tags ============ */
.tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 99px;
  background: var(--color-primary-pale);
  color: var(--color-primary);
  font-size: 11px;
  font-weight: 500;
}

/* ============ Loading / Empty ============ */
.loading, .empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: 80px 0;
}

/* ============ Footer ============ */
.site-footer {
  text-align: center;
  padding: 32px 24px 28px;
  color: var(--color-text-faint);
  font-size: 12px;
  letter-spacing: 1px;
  margin-top: 40px;
}

/* ============ 路由切换淡入淡出 ============ */
.fade-enter-active,
.fade-leave-active {
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.fade-enter-from,
.fade-leave-to {
  opacity: 0;
  transform: translateY(6px);
}
.fade-enter-to,
.fade-leave-from {
  opacity: 1;
  transform: translateY(0);
}
