/* =========================================================================
   SLai · 精修层 v6  「整洁 + 冲击力」
   -------------------------------------------------------------------------
   诊断（对照 900×700 实测截图）：
     1) 留白失控：hero 上下左右间距不一致，内容贴边
     2) 层次扁平：标题、正文、元信息几乎同样亮度，一眼看不到重点
     3) 装饰过多：网格 + 极光 + 噪点 + 光晕叠在窄屏上变成"糊"
     4) 节奏不齐：trust chips 换行后错位，spec 表格与左侧文字不对齐
     5) 首屏没有"焦点物"：右侧仪表盘被压缩到看不见

   修法（全部保留原配色：紫 #A855F7 / 青 #67E8F9 / 深紫黑底）：
     · 8pt 栅格：所有间距统一到 8 的倍数
     · 三级文字：标题 100% / 正文 72% / 元信息 46%，拉开层次
     · 收掉多余装饰：窄屏只留极光，关网格与噪点
     · 首屏改两栏固定比例，仪表盘最小 420px，不压缩
     · 每个板块加"视觉锚点"：数字 / 图标 / 细线，避免一片文字
   ========================================================================= */

/* ============ 0. 容器与栅格 ============ */
:root{
  --g:8px;
  --radius-card:16px;
  --radius-chip:999px;
  --ease:cubic-bezier(.22,.61,.36,1);
}

.wrap,
.nav .wrap,
main > section,
.kpi-strip,
.strip .strip-inner,
footer .foot-inner{
  width:min(1200px, calc(100% - 96px));
  margin-inline:auto;
}
@media(max-width:900px){
  .wrap,
  .nav .wrap,
  main > section,
  .kpi-strip,
  .strip .strip-inner,
  footer .foot-inner{
    width:calc(100% - 40px);
  }
}

/* ============ 1. 首屏：两栏固定比例，仪表不被压 ============ */
.hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(420px,560px);
  gap:64px;
  align-items:center;
  padding-top:96px;
  padding-bottom:80px;
}
@media(max-width:1080px){
  .hero{
    grid-template-columns:1fr;
    gap:48px;
    padding-top:64px;
    padding-bottom:56px;
  }
}

/* 文案块内部节奏：每段间距是 8 的倍数 */
.hero > div:first-child > * + *{margin-top:24px}
.hero h1{margin-top:8px}
.hero .lead{margin-top:24px;max-width:52ch}
.hero .cta{margin-top:32px}

/* ============ 2. 标题层级：三级亮度拉开 ============ */
.hero h1{
  font-size:clamp(40px,5.6vw,76px);
  line-height:1.02;
  letter-spacing:-.04em;
  font-weight:700;
}
.hero h1 .h-sub{
  margin-top:20px;
  font-size:clamp(13px,1.2vw,15px);
  font-weight:400;
  letter-spacing:.08em;
  color:rgba(246,243,252,.5);   /* 46% —— 明确是次要信息 */
}
.hero .lead{
  font-size:15.5px;
  line-height:1.85;
  color:rgba(246,243,252,.72);  /* 72% */
}
.hero .lead b{
  color:#E9D5FF;               /* 关键词提亮，形成扫描节奏 */
  font-weight:600;
}

/* eyebrow：小标签做成"通道"样式 */
.hero .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:7px 14px 7px 10px;
  border:1px solid rgba(168,85,247,.28);
  border-radius:var(--radius-chip);
  background:rgba(168,85,247,.07);
}
.hero .eyebrow .bar{
  width:14px;height:2px;
  border-radius:2px;
  background:linear-gradient(90deg,#C084FC,#67E8F9);
  box-shadow:0 0 10px rgba(192,132,252,.9);
}
.hero .eyebrow span:last-child{
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.22em;
  color:rgba(246,243,252,.62);
}

/* ============ 3. 按钮：主次必须一眼分得开 ============ */
.hero .cta{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.hero .cta .btn{
  height:48px;
  padding:0 26px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:11px;
  font-size:14.5px;
  font-weight:600;
  letter-spacing:.01em;
}
.hero .cta .btn-primary{
  box-shadow:
    0 0 0 1px rgba(233,213,255,.28) inset,
    0 14px 32px -12px rgba(124,58,237,.9),
    0 0 46px -14px rgba(168,85,247,.8);
}
.hero .cta .btn-ghost{
  border:1px solid rgba(168,85,247,.34);
  background:rgba(168,85,247,.06);
  color:rgba(246,243,252,.86);
}
.hero .cta .btn-ghost:hover{
  border-color:rgba(216,180,254,.6);
  background:rgba(168,85,247,.14);
  color:#fff;
}

/* ============ 4. 元信息行：等宽 + 分隔点 ============ */
.hero .hero-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0;
  margin-top:28px;
  font-family:var(--mono);
  font-size:11.5px;
  letter-spacing:.06em;
  color:rgba(246,243,252,.5);
}
.hero .hero-meta span{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:0 14px;
  border-right:1px solid rgba(168,85,247,.16);
  line-height:1.4;
}
.hero .hero-meta span:first-child{padding-left:0}
.hero .hero-meta span:last-child{border-right:0}
.hero .hero-meta i{
  width:5px;height:5px;
  border-radius:50%;
  background:#4DE39A;
  box-shadow:0 0 0 3px rgba(77,227,154,.16), 0 0 10px rgba(77,227,154,.7);
}

/* ============ 5. 信任徽标：统一高度、对齐 ============ */
.hero .trust-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px;
}
.hero .trust-chip{
  display:inline-flex;
  align-items:center;
  gap:7px;
  height:32px;
  padding:0 13px;
  border:1px solid rgba(168,85,247,.24);
  border-radius:var(--radius-chip);
  background:rgba(168,85,247,.05);
  font-size:11.5px;
  color:rgba(246,243,252,.66);
  white-space:nowrap;
  transition:border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.hero .trust-chip svg{
  width:12px;height:12px;
  opacity:.78;
  flex:0 0 auto;
}
.hero .trust-chip:hover{
  border-color:rgba(216,180,254,.5);
  background:rgba(168,85,247,.12);
  color:#fff;
}

/* ============ 6. 规格表：右侧值右对齐，形成表格感 ============ */
.hero .spec-table{
  margin-top:40px;
  border-top:1px solid rgba(168,85,247,.16);
}
.hero .spec-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:24px;
  padding:13px 0;
  border-bottom:1px solid rgba(168,85,247,.1);
}
.hero .spec-row dt{
  font-family:var(--mono);
  font-size:10.5px;
  letter-spacing:.2em;
  color:rgba(246,243,252,.4);
  text-transform:uppercase;
  flex:0 0 auto;
}
.hero .spec-row dd{
  margin:0;
  text-align:right;
  font-size:14px;
  font-weight:600;
  color:rgba(246,243,252,.92);
  font-variant-numeric:tabular-nums;
}
.hero .spec-row dd small{
  display:block;
  margin-top:3px;
  font-family:var(--mono);
  font-size:10px;
  font-weight:400;
  letter-spacing:.1em;
  color:rgba(246,243,252,.36);
}

/* ============ 7. 右侧仪表盘：真正的视觉焦点 ============ */
.hero .viewer{
  position:relative;
  border-radius:var(--radius-card);
  border:1px solid rgba(168,85,247,.28);
  background:linear-gradient(160deg,rgba(30,22,52,.82),rgba(10,6,20,.9));
  box-shadow:
    0 0 0 1px rgba(255,255,255,.05) inset,
    0 40px 90px -40px rgba(0,0,0,1),
    0 0 90px -30px rgba(124,58,237,.7);
  overflow:hidden;
}
/* 顶部细光条 */
.hero .viewer::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(192,132,252,.9),rgba(103,232,249,.7),transparent);
  z-index:3;
}
.hero .viewer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 16px;
  border-bottom:1px solid rgba(168,85,247,.14);
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.16em;
  color:rgba(246,243,252,.5);
}
.hero .viewer-head .live{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#4DE39A;
}
.hero .viewer-head .live i{
  width:5px;height:5px;border-radius:50%;
  background:#4DE39A;
  box-shadow:0 0 8px #4DE39A;
  animation:livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse{0%,100%{opacity:1}50%{opacity:.3}}

.hero .viewer-foot{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border-top:1px solid rgba(168,85,247,.14);
}
.hero .viewer-foot > div{
  padding:12px 16px;
  border-right:1px solid rgba(168,85,247,.1);
  font-family:var(--mono);
  font-size:9.5px;
  letter-spacing:.14em;
  color:rgba(246,243,252,.4);
}
.hero .viewer-foot > div:last-child{border-right:0}
.hero .viewer-foot b{
  display:block;
  margin-top:5px;
  font-size:14px;
  font-weight:600;
  letter-spacing:0;
  color:#F6F3FC;
  font-variant-numeric:tabular-nums;
}
.hero .viewer-foot b.ok{color:#4DE39A}

/* ============ 8. KPI 条：统一基线 ============ */
.kpi-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid rgba(168,85,247,.2);
  border-bottom:1px solid rgba(168,85,247,.14);
  border-radius:var(--radius-card);
  overflow:hidden;
  background:linear-gradient(180deg,rgba(124,58,237,.07),transparent 70%);
  margin-bottom:96px;
}
@media(max-width:820px){
  .kpi-strip{grid-template-columns:repeat(2,1fr);margin-bottom:64px}
}
.kpi{
  padding:28px 24px;
  border-right:1px solid rgba(168,85,247,.12);
}
.kpi:last-child{border-right:0}
@media(max-width:820px){
  .kpi:nth-child(2n){border-right:0}
  .kpi:nth-child(-n+2){border-bottom:1px solid rgba(168,85,247,.12)}
}
.kpi b{
  display:flex;
  align-items:baseline;
  gap:7px;
  font-size:clamp(28px,3.2vw,42px);
  font-weight:700;
  letter-spacing:-.03em;
  line-height:1;
  background:linear-gradient(180deg,#FFF 0%,#D8B4FE 60%,#A855F7 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
}
.kpi b em{
  font-style:normal;
  font-size:.3em;
  font-weight:600;
  letter-spacing:.18em;
  -webkit-text-fill-color:rgba(246,243,252,.42);
}
.kpi span{
  display:block;
  margin-top:10px;
  font-size:11.5px;
  line-height:1.55;
  color:rgba(246,243,252,.46);
}

/* ============ 9. 章节：更简洁的标题行 ============ */
.section{
  padding-top:96px;
  padding-bottom:96px;
}
@media(max-width:820px){
  .section{padding-top:64px;padding-bottom:64px}
}
.sec-head{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:end;
  gap:20px;
  padding-top:0;
  padding-bottom:24px;
  border-top:0;
  border-bottom:1px solid rgba(168,85,247,.14);
  margin-bottom:40px;
  position:relative;
}
.sec-head::before{
  content:"";
  position:absolute;
  left:0;
  bottom:-1px;
  width:64px;
  height:1px;
  background:linear-gradient(90deg,#C084FC,#67E8F9);
  box-shadow:0 0 14px rgba(192,132,252,.9);
}
.sec-no{
  font-family:var(--mono);
  font-size:11px;
  letter-spacing:.2em;
  color:rgba(192,132,252,.9);
  padding-bottom:6px;
}
.sec-kicker{
  display:block;
  font-family:var(--mono);
  font-size:10px;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:rgba(246,243,252,.36);
  margin-bottom:9px;
}
.sec-title{
  font-size:clamp(24px,3vw,34px);
  font-weight:700;
  letter-spacing:-.025em;
  line-height:1.15;
  color:#F6F3FC;
  margin:0;
}
.sec-sub{
  max-width:38ch;
  margin:0;
  padding-bottom:6px;
  font-size:12.5px;
  line-height:1.7;
  color:rgba(246,243,252,.44);
  text-align:right;
}
@media(max-width:900px){
  .sec-head{grid-template-columns:auto 1fr}
  .sec-sub{grid-column:1 / -1;text-align:left;max-width:none;padding-bottom:0}
}

/* ============ 10. 卡片：统一圆角 + 统一内边距 ============ */
.matrix,.plist,.doc-grid,.pipe{
  display:grid;
  gap:10px;
}
.mrow,.prow,.doc,.pipe .step{
  border-radius:var(--radius-card);
  padding:22px 24px;
}
.mrow{
  display:grid;
  grid-template-columns:44px minmax(140px,190px) minmax(0,1fr);
  gap:24px;
  align-items:start;
}
.mrow .idx{font-size:11.5px;padding-top:2px}
.mrow h3{font-size:15.5px;line-height:1.45}
.mrow h3 .spec{margin-top:7px;font-size:9.5px;letter-spacing:.14em}
.mrow p{font-size:13px;line-height:1.72;color:rgba(246,243,252,.58)}

@media(max-width:1000px){
  .mrow{grid-template-columns:36px 1fr;gap:14px}
  .mrow p{grid-column:1/-1;margin-top:6px}
  .pipe{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .mrow{grid-template-columns:1fr;gap:8px;padding:18px}
  .pipe{grid-template-columns:1fr}
}

/* ============ 11. 收掉多余装饰（窄屏） ============ */
@media(max-width:1080px){
  .bg-grid{display:none}
  body::after{display:none}   /* 噪点 */
  .bg-glow{opacity:.7}
}

/* ============ 12. 滚动条与焦点 ============ */
::-webkit-scrollbar{width:10px}
::-webkit-scrollbar-track{background:#0B0614}
::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg,#6D28D9,#4C1D95);
  border-radius:6px;
  border:2px solid #0B0614;
}
::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#8B5CF6,#6D28D9)}
:focus-visible{outline:2px solid #C084FC;outline-offset:3px;border-radius:4px}
