/* ============================================================
   首页专属：对齐参考站的「居中标题 + 等宽网格卡片」排版节奏，
   视觉沿用湘创智鹅深空蓝灰 / 冷白 / 科技蓝。
   覆盖 content-layer 的左对齐与紧凑封面，仅首页生效（body.home）。
   ============================================================ */

/* ---------- 居中标题（覆盖内容层左对齐） ---------- */
body.home .sec-head{text-align:center;margin-bottom:44px}
body.home .sec-head::after{display:block;width:48px;height:3px;background:var(--camel);
  margin:22px auto 0}
body.home .sec-head.left .sec-title{border-left:none;padding-left:0}
body.home .sec-title{font-size:36px;line-height:1.42}
body.home .sec-sub{margin-left:auto;margin-right:auto;max-width:760px}
body.home .eyebrow:before{display:none}
body.home .eyebrow{color:var(--blue);letter-spacing:.14em}

/* ---------- 首屏：居中大标题 + 深空蓝灰 + canvas 网络 ---------- */
body.home .hero-cover{text-align:center;padding:104px 0 76px!important;min-height:0!important;
  background:var(--navy)}
body.home .hero-cover:before{display:none}
body.home .hero-cover:after{display:none}
body.home .hero-cover .hero-glow{display:none!important}
body.home .hero-cover .hero-inner{max-width:960px;padding:0 32px;margin:0 auto}
body.home .hero-cover .hero-inner:before{display:none}
body.home .hero-cover .hero-badge{justify-content:center;margin-bottom:26px;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.16);
  padding:9px 18px;border-radius:var(--radius);font-size:12px;letter-spacing:.1em}
body.home .hero-cover .hero-badge i{display:inline-block;width:6px;height:6px;background:var(--camel);flex:none}
body.home .hero-cover h1{font-size:64px;line-height:1.24;max-width:none;margin:0 auto 26px;
  color:#fff;letter-spacing:-.02em}
body.home .hero-cover h1 .grad{
  background:linear-gradient(100deg,var(--blue-2) 0%,#9CC0FF 24%,#FFFFFF 42%,#9CC0FF 60%,var(--blue-2) 82%,#9CC0FF 100%);
  background-size:250% 100%;
  -webkit-background-clip:text;background-clip:text;color:transparent;
  display:inline-block;animation:gradFlow 5.2s linear infinite,gradFloat 4.6s ease-in-out infinite;
  will-change:background-position,transform}
@keyframes gradFlow{from{background-position:0% 0}to{background-position:250% 0}}
@keyframes gradFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
body.home .hero-cover .hero-sub{margin:0 auto 34px;max-width:680px;font-size:17px;
  color:rgba(255,255,255,.74)}
body.home .hero-cover .hero-sub b{color:#fff}
body.home .hero-cover .hero-actions{justify-content:center;margin-bottom:0}
body.home .hero-cover .hero-meta{margin-top:32px;color:rgba(255,255,255,.38)}
body.home .hero-cover .btn-ghost{color:#fff;border-color:rgba(255,255,255,.42)}
body.home .hero-cover .btn-ghost:hover{border-color:var(--blue-2);color:var(--blue-2)}

/* ---------- 首屏动态背景：细网格 / 双层星点 / 极光 / 扫描光束（纯 CSS，不依赖 JS） ---------- */
body.home .hero-cover{isolation:isolate}
.hero-fx{position:absolute;inset:0;overflow:hidden;pointer-events:none;z-index:0}
.hero-fx > div{position:absolute;pointer-events:none}
/* 网格缓慢平移，中心亮、边缘淡出 */
.hero-fx .fx-grid{inset:-20%;
  background-image:linear-gradient(rgba(91,141,239,.085) 1px,transparent 1px),
                   linear-gradient(90deg,rgba(91,141,239,.085) 1px,transparent 1px);
  background-size:64px 64px;opacity:.6;
  -webkit-mask-image:radial-gradient(ellipse 72% 62% at 50% 40%,#000 12%,transparent 100%);
  mask-image:radial-gradient(ellipse 72% 62% at 50% 40%,#000 12%,transparent 100%);
  animation:fxGrid 26s linear infinite}
@keyframes fxGrid{to{background-position:64px 64px,64px 64px}}
/* 两层星点，不同尺寸与速度形成视差；缓慢上浮 + 明暗呼吸 */
.hero-fx .fx-stars{inset:-30%;background-repeat:repeat;
  background-image:
    radial-gradient(1.6px 1.6px at 18% 26%,rgba(170,205,255,.95) 99%,transparent 100%),
    radial-gradient(1.3px 1.3px at 67% 12%,rgba(140,185,255,.8) 99%,transparent 100%),
    radial-gradient(1.8px 1.8px at 84% 62%,rgba(190,220,255,.85) 99%,transparent 100%),
    radial-gradient(1.2px 1.2px at 38% 78%,rgba(120,170,245,.7) 99%,transparent 100%),
    radial-gradient(1.5px 1.5px at 8% 88%,rgba(160,200,255,.75) 99%,transparent 100%);
  animation:fxRise 34s linear infinite,fxTwinkle 5s ease-in-out infinite}
.hero-fx .fx-stars.s1{background-size:460px 340px}
.hero-fx .fx-stars.s2{background-size:290px 220px;
  animation:fxRise2 52s linear infinite,fxTwinkle 3.6s ease-in-out -1.2s infinite}
@keyframes fxRise{from{transform:translate3d(0,0,0)}to{transform:translate3d(-6%,-14%,0)}}
@keyframes fxRise2{from{transform:translate3d(0,0,0)}to{transform:translate3d(5%,-9%,0)}}
@keyframes fxTwinkle{0%,100%{opacity:.45}50%{opacity:1}}
/* 大面积极光光晕缓慢游走 */
.hero-fx .fx-aurora{border-radius:50%;filter:blur(44px);mix-blend-mode:screen;
  animation:fxAurora 20s ease-in-out infinite alternate}
.hero-fx .fx-aurora.a1{width:62%;height:88%;top:-34%;left:-12%;
  background:radial-gradient(circle at 50% 50%,rgba(46,107,230,.34),transparent 64%)}
.hero-fx .fx-aurora.a2{width:58%;height:76%;bottom:-32%;right:-14%;
  background:radial-gradient(circle at 50% 50%,rgba(94,158,240,.26),transparent 64%);animation-delay:-10s}
@keyframes fxAurora{from{transform:translate(-5%,4%) scale(.94);opacity:.7}to{transform:translate(9%,-6%) scale(1.14);opacity:1}}
/* 斜向扫描光束，隔几秒扫过一次 */
.hero-fx .fx-beam{top:-30%;bottom:-30%;left:-70%;width:36%;
  background:linear-gradient(100deg,transparent,rgba(120,170,255,.09) 42%,rgba(175,210,255,.17) 50%,rgba(120,170,255,.09) 58%,transparent);
  transform:skewX(-18deg);animation:fxBeam 9.5s ease-in-out infinite}
@keyframes fxBeam{0%{left:-70%;opacity:0}12%{opacity:1}78%{opacity:1}100%{left:135%;opacity:0}}
/* 底部把背景层自然收口 */
.hero-fx:after{content:"";position:absolute;left:0;right:0;bottom:0;height:110px;
  background:linear-gradient(to bottom,transparent,var(--navy))}
/* 光标与流光呼应 */
body.home .hero-cover .type-caret{background:#9CC0FF;box-shadow:0 0 10px rgba(156,192,255,.75)}
@media(prefers-reduced-motion:reduce){
  .hero-fx .fx-grid,.hero-fx .fx-stars,.hero-fx .fx-aurora,.hero-fx .fx-beam{animation:none!important}
  body.home .hero-cover h1 .grad{animation:none!important;background-position:0 0}
}

/* ---------- 动态图标卡：统一高度与排版 ---------- */
body.home .pain-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
body.home .pain-card{padding:0 22px 24px;border:1px solid var(--line);background:var(--white);
  border-radius:var(--radius)}
body.home .pain-card .mi{margin:20px 0 20px;height:112px}
body.home .pain-card h3{font-size:17px;color:var(--ink);margin-bottom:8px}
body.home .pain-card p{font-size:13.5px;color:var(--ink-2);line-height:1.8}

body.home .cap-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
body.home .cap-card{border:1px solid var(--line);background:var(--white);border-radius:var(--radius);overflow:hidden}
body.home .cap-card .mi{height:126px;border:none;border-bottom:1px solid var(--line);border-radius:0;background:var(--paper-2)}
body.home .cap-body{padding:20px 22px 24px}
body.home .cap-card h3{font-size:16px;color:var(--ink);margin-bottom:8px}
body.home .cap-card p{font-size:13px;color:var(--ink-2);line-height:1.8}

body.home .hall-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
body.home .ind-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
body.home .ind-card{padding:24px}
body.home .ind-card h3{font-size:18px;color:var(--ink)}
body.home .ind-link{font-size:13px;color:var(--blue);font-weight:700}
body.home .ind-link:after{content:" →"}
body.home .eco-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}

/* ---------- 六步：编号圆形图标 ---------- */
body.home .flow-icon{font-family:var(--serif);font-size:19px;font-weight:700;color:var(--blue);
  border:1px solid var(--line-2);background:var(--white)}
body.home .flow-step:hover .flow-icon{background:var(--blue);color:#fff;border-color:var(--blue)}

/* ---------- 统计：大号 Georgia 数字 ---------- */
body.home .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;text-align:center}
body.home .stat-num{font-family:var(--serif);font-size:58px;font-weight:700;color:var(--ink);line-height:1}
body.home .stat-num small{font-family:var(--sans);font-size:19px;font-weight:700;color:var(--blue);margin-left:3px}

/* ---------- 导航下拉（内容收进导航后，宽度略增、层级保证） ---------- */
body.home .dropdown{min-width:238px;z-index:220}
body.home .nav-menu > .drop > a{white-space:nowrap}
body.home .dropdown a{line-height:1.5}

/* ---------- 按板块继续看：五张编号卡（对齐导航主板块） ---------- */
body.home .topic-row{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;max-width:1120px;margin:0 auto}
body.home .topic-item{position:relative;display:flex;flex-direction:column;min-height:178px;
  padding:22px 20px 20px;background:var(--white);border:1px solid var(--line);
  border-radius:var(--radius);overflow:hidden;
  transition:transform .25s,border-color .25s,box-shadow .25s}
body.home .topic-item:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;
  background:var(--blue);opacity:.7;transition:opacity .25s,width .25s}
body.home .topic-item:hover{transform:translateY(-4px);border-color:var(--blue);box-shadow:var(--shadow)}
body.home .topic-item:hover:before{opacity:1;width:5px}
body.home .topic-top{display:flex;align-items:baseline;gap:9px;margin-bottom:18px;padding-right:24px}
body.home .topic-num{font-family:var(--serif);font-size:30px;font-weight:700;color:var(--blue);
  line-height:1;letter-spacing:-.02em;opacity:.9}
body.home .topic-en{font-size:10px;font-weight:700;letter-spacing:.13em;color:var(--ink-3);text-transform:uppercase}
body.home .topic-txt{display:flex;flex-direction:column;min-width:0;flex:1}
body.home .topic-txt b{font-size:16px;color:var(--ink);font-weight:700;line-height:1.45}
body.home .topic-txt small{font-size:12px;color:var(--ink-3);line-height:1.7;margin-top:7px}
body.home .topic-arrow{position:absolute;right:18px;top:22px;color:var(--blue);font-size:17px;
  transition:transform .25s}
body.home .topic-item:hover .topic-arrow{transform:translateX(5px)}
@media(max-width:1100px){body.home .topic-row{grid-template-columns:repeat(3,1fr)}}
@media(max-width:820px){body.home .topic-row{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){body.home .topic-row{grid-template-columns:1fr}}

/* ---------- 响应式 ---------- */
@media(max-width:1100px){
  body.home .pain-grid,body.home .cap-grid{grid-template-columns:repeat(2,1fr)}
  body.home .hall-grid,body.home .ind-grid{grid-template-columns:repeat(2,1fr)}
  body.home .eco-grid{grid-template-columns:repeat(3,1fr)}
  body.home .flow{grid-template-columns:repeat(3,1fr);row-gap:30px}
  body.home .flow-step:after{display:none}
}
@media(max-width:820px){
  body.home .hero-cover{padding:76px 0 56px!important}
  body.home .hero-cover h1{font-size:40px}
  body.home .hero-cover .hero-sub{font-size:15px}
  body.home .sec-title{font-size:29px}
  body.home .sec{padding:60px 0}
}
@media(max-width:520px){
  body.home .hero-cover h1{font-size:31px}
  body.home .hero-cover .hero-badge{font-size:11px}
  body.home .pain-grid,body.home .cap-grid,body.home .hall-grid,
  body.home .ind-grid,body.home .eco-grid,body.home .stats{grid-template-columns:1fr 1fr}
  body.home .stat-num{font-size:38px}
  body.home .flow{grid-template-columns:1fr 1fr}
  body.home .eco-grid{grid-template-columns:1fr 1fr}
}
