/* ============ 墨记 主页（v1.1.0 新增） ============ */
.home-body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #0b1023 0%, #1a1640 45%, #0e1a33 100%);
  color: #e8ecf4;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
  overflow-x: hidden;
  position: relative;
}
/* 流动光斑 */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .45;
  pointer-events: none;
  z-index: 0;
  animation: glowDrift 16s ease-in-out infinite alternate;
}
.glow-1 {
  width: 520px; height: 520px;
  left: -140px; top: -120px;
  background: radial-gradient(circle, rgba(88,101,242,.85), transparent 65%);
}
.glow-2 {
  width: 620px; height: 620px;
  right: -180px; bottom: -160px;
  background: radial-gradient(circle, rgba(56,189,248,.7), transparent 65%);
  animation-delay: -6s;
}
.glow-3 {
  width: 380px; height: 380px;
  left: 38%; top: 62%;
  background: radial-gradient(circle, rgba(167,139,250,.5), transparent 65%);
  animation-delay: -11s;
}
@keyframes glowDrift {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(60px, 40px) scale(1.15); }
  100% { transform: translate(-40px, -30px) scale(.95); }
}
/* 粒子画布 */
#home-particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.home-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 7vw;
}
.home-nav .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #f4f6fb;
  text-decoration: none;
}
.home-nav .brand .logo {
  width: 38px; height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #5b8cff, #8b5cf6);
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(99,102,241,.45);
}
.home-nav .nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.home-nav .nav-user {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  font-size: 14px;
  color: #e8ecf4;
  text-decoration: none;
  backdrop-filter: blur(8px);
}
.home-nav .nav-link {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  color: #dde3f0;
  font-size: 14px;
  text-decoration: none;
  transition: all .25s ease;
  backdrop-filter: blur(8px);
}
.home-nav .nav-link:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
}
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 96px 24px 70px;
  max-width: 900px;
  margin: 0 auto;
}
.hero .badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 2px;
  color: #c7d2fe;
  background: rgba(129,140,248,.12);
  border: 1px solid rgba(129,140,248,.35);
  backdrop-filter: blur(8px);
  animation: fadeUp .9s ease both;
}
.hero-title {
  margin: 26px 0 8px;
  font-size: clamp(54px, 9vw, 96px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 6px;
  background: linear-gradient(120deg, #f4f6fb 10%, #9db4ff 45%, #c4b5fd 70%, #67e8f9 95%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleFlow 6s linear infinite, fadeUp 1s .1s ease both;
  filter: drop-shadow(0 6px 30px rgba(99,102,241,.35));
}
@keyframes titleFlow {
  to { background-position: 220% center; }
}
.hero-sub {
  margin: 6px auto 0;
  font-size: clamp(16px, 2.4vw, 21px);
  color: #aab3cc;
  min-height: 34px;
  letter-spacing: 1px;
  animation: fadeUp 1s .25s ease both;
}
.hero-sub .caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: #8b9cf6;
  vertical-align: -0.12em;
  margin-left: 3px;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-actions {
  margin-top: 42px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s .4s ease both;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 34px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
  position: relative;
}
.btn-primary-glow {
  background: linear-gradient(135deg, #5b8cff, #8b5cf6);
  color: #fff;
  box-shadow: 0 8px 30px rgba(99,102,241,.45);
}
.btn-primary-glow:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 44px rgba(99,102,241,.6);
}
.btn-ghost-glow {
  border: 1px solid rgba(255,255,255,.22);
  color: #e8ecf4;
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
}
.btn-ghost-glow:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-3px);
}
/* 特性卡片 */
.features {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  max-width: 1080px;
  margin: 26px auto 80px;
  padding: 0 24px;
}
.feat {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  padding: 26px 24px;
  backdrop-filter: blur(12px);
  transition: all .35s cubic-bezier(.2,.7,.3,1);
  opacity: 0;
  transform: translateY(26px);
}
.feat.visible {
  opacity: 1;
  transform: translateY(0);
}
.feat:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,.09);
  border-color: rgba(129,140,248,.5);
  box-shadow: 0 18px 44px rgba(10,12,30,.55);
}
.feat .icon {
  font-size: 30px;
  display: block;
  margin-bottom: 14px;
}
.feat h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #f0f3fa;
}
.feat p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  color: #9fa8c2;
}
.home-foot {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 30px 20px 40px;
  font-size: 13px;
  color: #7c86a3;
  border-top: 1px solid rgba(255,255,255,.07);
}
.home-foot a {
  color: #a5b4fc;
  text-decoration: none;
}
.home-foot a:hover { text-decoration: underline; }
.site-foot-inline { font-size: 12.5px; letter-spacing: .3px; }
.site-foot-links { margin-top: 8px; font-size: 12.5px; }
.site-foot-links a { color: #8b95b0; text-decoration: none; }
.site-foot-links a:hover { color: #a5b4fc; text-decoration: underline; }
.foot-dot { margin: 0 8px; color: #46507a; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .home-nav { padding: 16px 20px; }
  .hero { padding-top: 60px; }
  .btn-hero { padding: 12px 26px; }
}
