/* ════════════════════════════════════════════════════════
   版本对比页 — 精装高端 · 全屏 Banner + 功能对比表
   ════════════════════════════════════════════════════════ */

:root {
  --cmp-accent: #6366f1;
  --cmp-accent2: #8b5cf6;
  --cmp-gold: #f59e0b;
  --cmp-dark: #0f172a;
  --cmp-bg: #f8fafc;
  --cmp-card: #ffffff;
  --cmp-border: #e2e8f0;
  --cmp-text: #334155;
  --cmp-muted: #94a3b8;
  --cmp-radius: 20px;
}

/* ====== 全屏 Hero ====== */
.cmp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0e27;
  overflow: hidden;
  padding: 160px 20px 120px;
}

.cmp-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cmp-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(99,102,241,.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(139,92,246,.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 35% at 20% 60%, rgba(245,158,11,.06) 0%, transparent 50%);
}
.cmp-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 30%, transparent 70%);
}

/* Hero 光晕粒子 */
.cmp-hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .25; }
.cmp-hero-orb.o1 { width: 500px; height: 500px; background: #6366f1; top: -150px; right: -100px; }
.cmp-hero-orb.o2 { width: 350px; height: 350px; background: #8b5cf6; bottom: -100px; left: 10%; opacity: .18; }
.cmp-hero-orb.o3 { width: 200px; height: 200px; background: #f59e0b; top: 40%; left: 60%; opacity: .12; }

/* Hero 内容 */
.cmp-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  width: 100%;
}

/* 面包屑 */
.cmp-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
  margin-bottom: 40px;
  flex-wrap: wrap;
  justify-content: center;
}
.cmp-breadcrumb a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.cmp-breadcrumb a:hover { color: #a5b4fc; }
.cmp-breadcrumb i { font-size: 10px; color: rgba(255,255,255,.2); }
.cmp-breadcrumb span { color: rgba(255,255,255,.8); font-weight: 600; }

/* Hero 标签 */
.cmp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  border-radius: 30px;
  background: rgba(99,102,241,.15);
  border: 1px solid rgba(99,102,241,.25);
  color: #a5b4fc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.cmp-hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #818cf8;
  border-radius: 50%;
  animation: cmpPulse 2s infinite;
}
@keyframes cmpPulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(129,140,248,.6); }
  50% { opacity: .6; box-shadow: 0 0 0 8px rgba(129,140,248,0); }
}

.cmp-hero-title {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px;
  letter-spacing: -1.5px;
  line-height: 1.15;
}
.cmp-hero-title span {
  background: linear-gradient(135deg, #a5b4fc, #c4b5fd, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cmp-hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 50px;
}

/* Hero 统计条 */
.cmp-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 50px;
}
.cmp-hstat { padding: 0 36px; text-align: center; }
.cmp-hstat em {
  display: block;
  font-size: 34px;
  font-weight: 900;
  color: #e0e7ff;
  font-style: normal;
  line-height: 1.1;
}
.cmp-hstat span {
  font-size: 12px;
  color: rgba(255,255,255,.3);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-top: 4px;
  display: block;
}
.cmp-hstat-div { width: 1px; height: 40px; background: rgba(255,255,255,.08); }

/* Hero 版本预览卡片 */
.cmp-hero-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}
.cmp-hero-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px;
  padding: 24px 16px 20px;
  text-align: center;
  transition: all .35s ease;
  backdrop-filter: blur(10px);
  position: relative;
}
.cmp-hero-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.15);
  transform: translateY(-4px);
}
.cmp-hero-card.hc-recommend {
  background: linear-gradient(180deg, rgba(245,158,11,.12) 0%, rgba(245,158,11,.04) 100%);
  border-color: rgba(245,158,11,.35);
  box-shadow: 0 0 40px rgba(245,158,11,.08);
  transform: scale(1.05);
}
.cmp-hero-card.hc-recommend:hover { transform: scale(1.07); }
.hc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  border-radius: 12px;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  letter-spacing: .5px;
  white-space: nowrap;
}
.hc-badge-recommend { background: linear-gradient(135deg, #f59e0b, #f97316); }
.hc-badge-hot { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.hc-badge-vip { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }

.hc-name {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-top: 6px;
  letter-spacing: .2px;
}
.cmp-hero-card.hc-recommend .hc-name { color: #fbbf24; }
.hc-price {
  margin: 10px 0 6px;
  font-size: 15px;
  font-weight: 800;
  color: #e0e7ff;
}
.hc-price em { font-size: 28px; font-style: normal; color: #f87171; margin: 0 2px; }
.hc-price-custom { color: #38bdf8 !important; font-size: 18px !important; }
.hc-desc {
  font-size: 11px;
  color: rgba(255,255,255,.35);
  line-height: 1.5;
}

/* 滚动提示 */
.cmp-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.35);
  font-size: 13px;
  text-decoration: none;
  margin-top: 50px;
  transition: color .3s;
  animation: cmpBounce 2s infinite;
}
.cmp-scroll-hint:hover { color: #a5b4fc; }
@keyframes cmpBounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ====== 内容主体 ====== */
.cmp-body {
  background: #f8fafc;
  padding: 80px 20px 0;
}

/* 浅色背景下的面包屑 */
.cmp-breadcrumb-body {
  max-width: 1280px;
  margin: 0 auto 30px;
  display: flex;
  justify-content: flex-start;
  color: #94a3b8;
}
.cmp-breadcrumb-body a {
  color: #64748b;
}
.cmp-breadcrumb-body a:hover { color: #6366f1; }
.cmp-breadcrumb-body i { color: #cbd5e1; }
.cmp-breadcrumb-body span { color: #6366f1; }

/* ====== 对比表格 ====== */
.cmp-table-section {
  max-width: 1280px;
  margin: 0 auto 80px;
}
.cmp-table-header {
  text-align: center;
  margin-bottom: 40px;
}
.cmp-table-title {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 10px;
  letter-spacing: -.5px;
}
.cmp-table-sub {
  font-size: 16px;
  color: #94a3b8;
  margin: 0;
}

/* 表格容器 */
.cmp-table-wrap {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 20px 60px rgba(99,102,241,.06);
  border: 1px solid #eef2f7;
  overflow: hidden;
}

/* 表头 */
.cmp-tbl-head {
  display: grid;
  background: #fff;
  border-bottom: 2px solid #f1f5f9;
  position: sticky;
  top: 0;
  z-index: 10;
}
.cmp-th-empty {
  padding: 28px 20px !important;
  display: flex;
  align-items: flex-end;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
}
.cmp-th-col {
  padding: 28px 16px 22px !important;
  text-align: center;
  position: relative;
  border-left: 1px solid #f1f5f9;
  transition: all .3s ease;
}

/* 列名 */
.cmp-th-name {
  font-size: 22px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 4px;
  letter-spacing: .2px;
}
.cmp-th-tag {
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.45;
  max-width: 160px;
  margin: 0 auto;
}

/* Badge */
.cmp-th-badge {
  position: absolute;
  top: 12px;
  right: 10px;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: .5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
}
.cmp-th-badge.bt-recommend { background: linear-gradient(135deg, #f59e0b, #f97316); }
.cmp-th-badge.bt-hot { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.cmp-th-badge.bt-vip { background: linear-gradient(135deg, #0ea5e9, #06b6d4); }

/* 推荐列突出 */
.cmp-th-col.col-recommend {
  background: linear-gradient(180deg, rgba(245,158,11,.06) 0%, rgba(245,158,11,.02) 100%);
  box-shadow: inset 0 -3px 0 rgba(245,158,11,.25);
}
.col-recommend .cmp-th-name { color: #f59e0b; }
.col-recommend .cmp-th-tag { color: #d97706; font-weight: 600; }

/* 功能行 */
.cmp-tbl-row {
  display: grid;
  border-bottom: 1px solid #f1f5f9;
  transition: background .15s;
}
.cmp-tbl-row:hover { background: #fafbff; }

/* 分组标题行 */
.cmp-row-section {
  background: linear-gradient(90deg, #f8faff, #eef2ff) !important;
  border-bottom: 2px solid #e0e7ff;
  border-top: 1px solid #e0e7ff;
}
.cmp-row-section:hover { background: linear-gradient(90deg, #f8faff, #eef2ff) !important; }
.cmp-td-section {
  padding: 12px 24px !important;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cmp-sect-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #fff;
  flex-shrink: 0;
}
.cmp-sect-icon.si-auth  { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.cmp-sect-icon.si-pay  { background: linear-gradient(135deg, #10b981, #34d399); }
.cmp-sect-icon.si-page { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.cmp-sect-icon.si-mkt  { background: linear-gradient(135deg, #ec4899, #f472b6); }
.cmp-sect-icon.si-sec  { background: linear-gradient(135deg, #ef4444, #f87171); }
.cmp-sect-icon.si-data { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
.cmp-sect-icon.si-svr  { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.cmp-sect-icon.si-svc  { background: linear-gradient(135deg, #14b8a6, #2dd4bf); }
.cmp-sect-icon.si-perf { background: linear-gradient(135deg, #f97316, #fb923c); }

.cmp-sect-label {
  font-size: 14px;
  font-weight: 800;
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* 功能标签 */
.cmp-td-label {
  padding: 14px 20px !important;
  display: flex;
  align-items: center;
  gap: 8px;
  border-right: 1px solid #f1f5f9;
}
.cmp-td-label .cfl-icon {
  font-size: 13px;
  color: #94a3b8;
  width: 16px;
  text-align: center;
}
.cmp-td-label span {
  font-size: 13.5px;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}

/* 功能值 */
.cmp-td-val {
  padding: 14px 12px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  color: #64748b;
  font-weight: 500;
  border-left: 1px solid rgba(241,245,249,.5);
  gap: 6px;
}
.cmp-td-val.val-yes { color: #10b981; font-weight: 700; }
.cmp-td-val.val-yes::before {
  content: '✓'; font-weight: 800; font-size: 14px;
}
.cmp-td-val.val-no { color: #cbd5e1; }
.cmp-td-val.val-no::before {
  content: '—'; font-weight: 600;
}
.cmp-td-val.val-hl {
  color: #6366f1 !important;
  font-weight: 700 !important;
}

.cmp-row-even { background: #fafbfc; }

/* 价格行 */
.cmp-row-price {
  border-top: 2px solid #eef2f7;
  background: linear-gradient(180deg, #fafbff 0%, #fff 100%) !important;
}
.cmp-td-price-lb {
  padding: 30px 20px !important;
  border-right: 1px solid #f1f5f9;
  font-size: 13px;
  color: #94a3b8;
  font-weight: 600;
  display: flex;
  align-items: center;
}
.cmp-td-price {
  padding: 26px 14px 30px !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  border-left: 1px solid rgba(241,245,249,.5);
}
.cmp-td-price.col-recommend {
  background: linear-gradient(180deg, rgba(245,158,11,.06) 0%, rgba(245,158,11,.02) 100%);
}
.cmp-td-price .cv-price { text-align: center; }
.cmp-td-price .cv-price em {
  font-size: 36px; font-weight: 900; font-style: normal;
  color: #ef4444; letter-spacing: -1.5px;
}
.cmp-td-price .cv-price small { font-size: 13px; color: #94a3b8; font-weight: 400; }
.cmp-td-price .cv-price-custom { font-size: 22px; font-weight: 800; color: #0ea5e9 !important; }

.cv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 130px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  padding: 12px 0;
  border-radius: 12px;
  text-decoration: none;
  letter-spacing: .3px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  box-shadow: 0 4px 16px rgba(99,102,241,.35);
  transition: all .25s ease;
}
.cv-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(99,102,241,.5);
  color: #fff;
}
.col-recommend .cv-btn {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 4px 20px rgba(245,158,11,.45);
  min-width: 140px;
  font-size: 15px;
}

/* ====== 底部 CTA ====== */
.cmp-cta-wrap {
  background: #fff;
  border-top: 1px solid #eef2f7;
  padding: 70px 20px 80px;
}
.cmp-cta-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.cmp-cta-inner h3 {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 12px;
}
.cmp-cta-inner p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
  margin: 0 0 28px;
}
.cmp-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cmp-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all .25s;
}
.cmp-cta-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,.35);
}
.cmp-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99,102,241,.5);
  color: #fff;
}
.cmp-cta-outline {
  border: 1.5px solid #c7d2fe;
  color: #6366f1;
  background: #fff;
}
.cmp-cta-outline:hover {
  background: #6366f1;
  color: #fff;
  border-color: #6366f1;
}

/* ====== 响应式 ====== */
@media (max-width: 1024px) {
  .cmp-hero-cards { grid-template-columns: repeat(2, 1fr); max-width: 440px; }
}
@media (max-width: 900px) {
  .cmp-hero { padding: 140px 16px 100px; }
  .cmp-th-col { padding: 20px 10px 16px !important; }
  .cmp-th-name { font-size: 17px; }
  .cmp-th-badge { font-size: 9px; padding: 2px 8px; top: 8px; right: 4px; }
  .cmp-td-label span { font-size: 12px; }
  .cmp-td-val { font-size: 12px; }
  .cmp-td-price .cv-price em { font-size: 26px; }
  .cmp-hstat { padding: 0 20px; }
  .cmp-hstat em { font-size: 24px; }
}
@media (max-width: 680px) {
  .cmp-hero-cards { grid-template-columns: 1fr; max-width: 260px; gap: 12px; }
  .cmp-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cmp-table-inner { min-width: 640px; }
  .cmp-body { padding: 50px 12px 0; }
  .cmp-cta-wrap { padding: 50px 12px 60px; }
  .cmp-table-section { margin-bottom: 50px; }
  .cmp-table-title { font-size: 24px; }
  .cmp-hero-stats { flex-wrap: wrap; gap: 16px; }
  .cmp-hstat-div { display: none; }
}
