/* ===================== 首页 全局样式 精致升级版 ===================== */
.xm-home {
  background: #ffffff;
  color: #1e293b;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  overflow-x: hidden;
}
.xm-home * { box-sizing: border-box; }

/* ========== 导航 ========== */
.xm-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.88);
  backdrop-filter: saturate(200%) blur(20px);
  -webkit-backdrop-filter: saturate(200%) blur(20px);
  border-bottom: 1px solid rgba(99,102,241,0.08);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8) inset;
}
.xm-nav-inner {
  max-width: 1280px; margin: 0 auto;
  height: 64px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.xm-nav-brand { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.xm-nav-menu { display: flex; gap: 4px; }
.xm-nav-item {
  padding: 8px 16px; border-radius: 10px; cursor: pointer;
  font-size: 14px; color: #475569; font-weight: 500;
  transition: all 0.2s ease;
}
.xm-nav-item:hover { background: rgba(99,102,241,0.08); color: #6366f1; }
.xm-nav-actions { display: flex; align-items: center; gap: 10px; }

/* ========== 通用 Section ========== */
.xm-section { padding: 100px 32px; }
.xm-section-inner { max-width: 1280px; margin: 0 auto; }
.xm-section-head { text-align: center; margin-bottom: 64px; }
.xm-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 16px;
  border-radius: 999px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.18);
  color: #6366f1;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.xm-section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.xm-section-desc {
  font-size: 17px;
  color: #64748b;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ========== 对比表 ========== */
.xm-compare {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15,23,42,0.06);
  border: 1px solid rgba(226,232,240,0.8);
}
.xm-compare-head, .xm-compare-row {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.5fr;
}
.xm-compare-head {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  font-weight: 700;
  color: #1e293b;
  font-size: 14px;
}
.xm-compare-head > div, .xm-compare-row > div {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(226,232,240,0.8);
  font-size: 14px;
}
.xm-compare-row:last-child > div { border-bottom: none; }
.xm-compare-row .dim { font-weight: 600; color: #1e293b; }
.xm-compare-row .old { color: #94a3b8; }
.xm-compare-row .new {
  color: #6366f1;
  font-weight: 600;
  background: rgba(99,102,241,0.04);
}
.xm-compare-head .new-col { color: #6366f1; }

/* ========== 用户群 ========== */
.xm-user-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.xm-user-card {
  background: #fff;
  border: 1px solid rgba(226,232,240,0.8);
  border-radius: 24px;
  padding: 28px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.xm-user-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.10);
  border-color: transparent;
}
.xm-user-emoji { font-size: 36px; margin-bottom: 16px; }
.xm-user-t { font-size: 16px; font-weight: 700; color: #1e293b; margin-bottom: 6px; }
.xm-user-d { font-size: 13px; color: #64748b; line-height: 1.65; }

/* ========== 价格 ========== */
.xm-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.xm-price-card {
  background: #fff;
  border: 1.5px solid rgba(226,232,240,0.8);
  border-radius: 28px;
  padding: 40px 32px;
  position: relative;
  transition: all 0.35s ease;
  box-shadow: 0 2px 8px rgba(15,23,42,0.04);
}
.xm-price-card:hover {
  box-shadow: 0 24px 56px rgba(15,23,42,0.12);
  transform: translateY(-4px);
}
.xm-price-card.pop {
  border-color: #6366f1;
  border-width: 2px;
  box-shadow: 0 20px 48px rgba(99,102,241,0.18);
  background: linear-gradient(180deg, #fafbff, #fff);
}
.xm-price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  padding: 4px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(99,102,241,0.30);
}
.xm-price-name { font-size: 18px; font-weight: 700; color: #1e293b; margin-bottom: 12px; }
.xm-price-val { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.xm-price-val .num { font-size: 44px; font-weight: 800; color: #0f172a; letter-spacing: -2px; }
.xm-price-val .unit { font-size: 14px; color: #64748b; }
.xm-price-sub { font-size: 13px; color: #94a3b8; margin-bottom: 24px; }
.xm-price-list { list-style: none; padding: 0; margin: 0 0 28px; }
.xm-price-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
  color: #475569;
  border-bottom: 1px solid rgba(226,232,240,0.5);
}
.xm-price-list li:last-child { border-bottom: none; }
.xm-price-list li .v-icon { color: #10b981 !important; }

/* ========== 底部 CTA ========== */
.xm-cta {
  padding: 100px 32px;
  background:
    radial-gradient(ellipse 800px 400px at 50% 120%, rgba(245,158,11,0.20), transparent 60%),
    linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.xm-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
}
.xm-cta-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.xm-cta-title { font-size: clamp(32px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.03em; }
.xm-cta-desc { font-size: 17px; opacity: 0.90; margin-bottom: 36px; line-height: 1.7; }

/* ========== 页脚 ========== */
.xm-foot {
  background: #0f172a;
  color: #64748b;
  padding: 48px 32px 32px;
}
.xm-foot-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.xm-foot-brand { color: #f1f5f9; font-size: 15px; font-weight: 600; }
.xm-foot-copy { font-size: 13px; }

/* ========== 按钮统一样式 ========== */
.xm-home .v-btn { border-radius: 12px !important; }
.xm-home .v-btn.xm-btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(99,102,241,0.35) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
  border-radius: 14px !important;
  transition: all 0.3s ease !important;
}
.xm-home .v-btn.xm-btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 14px 32px rgba(99,102,241,0.40) !important;
}
.xm-home .v-btn.xm-btn-ghost {
  background: rgba(255,255,255,0.9) !important;
  color: #6366f1 !important;
  border: 1.5px solid rgba(99,102,241,0.25) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
  border-radius: 14px !important;
  backdrop-filter: blur(8px) !important;
  transition: all 0.3s ease !important;
}
.xm-home .v-btn.xm-btn-ghost:hover {
  background: rgba(99,102,241,0.08) !important;
  border-color: rgba(99,102,241,0.45) !important;
  transform: translateY(-1px) !important;
}
.xm-home .v-btn.xm-btn-white {
  background: #fff !important;
  color: #6366f1 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
}
.xm-home .xm-price-card .v-btn { border-radius: 14px !important; }

/* ========== 响应式 ========== */
@media (max-width: 960px) {
  .xm-user-grid { grid-template-columns: repeat(2, 1fr); }
  .xm-price-grid { grid-template-columns: 1fr; }
  .xm-section { padding: 64px 20px; }
  .xm-section-title { font-size: 28px; }
  .xm-nav-menu { display: none; }
  .xm-compare-head, .xm-compare-row { grid-template-columns: 1fr 1fr 1fr; }
  .xm-compare-head > div, .xm-compare-row > div { padding: 14px; font-size: 13px; }
}
@media (max-width: 600px) {
  .xm-user-grid { grid-template-columns: 1fr; }
  .xm-section { padding: 48px 16px; }
  .xm-cta { padding: 64px 20px; }
}
</style>
