/* ============ 首页专属样式 ============ */

/* Hero Banner */
.hero{position:relative;height:560px;overflow:hidden;background:#061a3f}
.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .9s ease;background-size:cover;background-position:center;background-repeat:no-repeat}
.hero-slide.active{opacity:1}
.hero-slide::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,16,42,.96) 0%,rgba(5,28,68,.88) 38%,rgba(6,32,78,.45) 70%,rgba(6,32,78,.15) 100%)}
.hero-inner{position:relative;z-index:2;height:100%;display:flex;align-items:center}
.hero-copy{max-width:640px;color:#fff}
/* 三屏文案叠加：用 grid 让它们占同一格，正常参与布局享受 container 内边距 */
.hero-inner{display:grid;grid-template-columns:1fr;align-items:center}
.hero-copy-item{grid-area:1/1;opacity:0;visibility:hidden;transform:translateY(18px);transition:opacity .5s ease,transform .5s ease,visibility 0s linear .5s;pointer-events:none}
.hero-copy-item.active{opacity:1;visibility:visible;transform:translateY(0);transition:opacity .6s ease .15s,transform .6s ease .15s,visibility 0s;pointer-events:auto}
.hero-copy h1,.hero-copy .lead{text-shadow:0 2px 18px rgba(0,0,0,.35)}
.hero-tag{display:inline-flex;align-items:center;gap:9px;font-size:13px;letter-spacing:2px;color:#8fc0ff;border:1px solid rgba(143,192,255,.4);padding:6px 16px;border-radius:30px;margin-bottom:22px}
.hero-tag::before{content:"";width:6px;height:6px;background:#4da3ff;border-radius:50%}
.hero-copy h1{font-size:50px;line-height:1.25;font-weight:800;letter-spacing:1px;margin-bottom:18px}
.hero-copy h1 .hl{background:linear-gradient(90deg,#5cb6ff,#8fd6ff);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-copy .lead{font-size:18px;color:#c7d8f0;margin-bottom:32px;line-height:1.8}
.hero-btns{display:flex;gap:14px}
.hero-btns .btn{padding:13px 30px;font-size:15px}
.hero-dots{position:absolute;bottom:26px;left:50%;transform:translateX(-50%);z-index:3;display:flex;gap:10px}
.hero-dots span{width:28px;height:4px;border-radius:3px;background:rgba(255,255,255,.35);cursor:pointer;transition:.3s}
.hero-dots span.active{background:#fff;width:44px}

/* 数据条 */
.stats{background:#fff;border-bottom:1px solid var(--line)}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr)}
.stat-item{text-align:center;padding:30px 10px;border-right:1px solid var(--line)}
.stat-item:last-child{border-right:none}
.stat-num{font-size:36px;font-weight:800;color:var(--primary-2);line-height:1}
.stat-num small{font-size:20px;color:var(--accent)}
.stat-label{color:var(--muted);font-size:14px;margin-top:8px}

/* 主营产品 */
.prod-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.prod-cat{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:all .3s;position:relative}
.prod-cat:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:transparent}
.prod-cat .pc-img{height:180px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.prod-cat .pc-img svg{width:90px;height:90px;transition:transform .4s}
.prod-cat:hover .pc-img svg{transform:scale(1.08)}
.prod-cat .pc-body{padding:20px 22px 24px}
.prod-cat .pc-body h3{font-size:19px;color:var(--ink);margin-bottom:8px}
.prod-cat .pc-body p{font-size:13px;color:var(--muted);line-height:1.7;min-height:66px}
.prod-cat .pc-more{margin-top:14px;color:var(--primary-2);font-size:13px;font-weight:600;display:inline-flex;align-items:center;gap:5px}
.prod-cat:hover .pc-more{color:var(--accent)}
.pc-1 .pc-img{background:linear-gradient(135deg,#e8f1ff,#d3e6ff)}
.pc-2 .pc-img{background:linear-gradient(135deg,#e6f7f4,#c9efe8)}
.pc-3 .pc-img{background:linear-gradient(135deg,#fff1e6,#ffe0c7)}
.pc-4 .pc-img{background:linear-gradient(135deg,#efeaff,#e0d5ff)}

/* 优势 */
.adv-bg{background:linear-gradient(135deg,#0a2c63,#0d4396);position:relative;overflow:hidden}
.adv-bg::before{content:"";position:absolute;width:500px;height:500px;border:1px solid rgba(255,255,255,.06);border-radius:50%;top:-150px;right:-100px}
.adv-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;position:relative;z-index:1}
.adv-item{text-align:center;padding:10px 34px;color:#fff;border-right:1px solid rgba(255,255,255,.12)}
.adv-item:last-child{border-right:none}
.adv-icon{width:66px;height:66px;margin:0 auto 20px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.2)}
.adv-icon svg{width:32px;height:32px}
.adv-item h3{font-size:21px;margin-bottom:12px;font-weight:700}
.adv-item p{color:#b9cdea;font-size:14px;line-height:1.8}

/* 品牌墙 */
.brands{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.client-brands{grid-template-columns:repeat(5,1fr)}
.brand-cell{height:96px;background:#fff;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;justify-content:center;padding:16px;transition:.3s;filter:grayscale(1);opacity:.72}
.brand-cell:hover{filter:grayscale(0);opacity:1;box-shadow:var(--shadow);transform:translateY(-3px)}
.brand-cell img{max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply}
.brand-cell span{font-weight:800;font-size:17px;text-align:center;line-height:1.3;color:#2b3a55}

/* 首页资讯 + 关于 */
.home-mix{display:grid;grid-template-columns:1.15fr .85fr;gap:46px;align-items:stretch}
.home-mix>div{display:flex;flex-direction:column;min-width:0}
.home-mix>div>.head-row{margin-bottom:32px}
.news-list-home{margin-top:0}
.news-list-home .nl-item{display:flex;gap:18px;padding:18px 0;border-bottom:1px dashed var(--line)}
.news-list-home .nl-item:first-child{padding-top:0}
.nl-date{flex:0 0 62px;text-align:center;background:var(--bg);border-radius:8px;height:62px;display:flex;flex-direction:column;justify-content:center}
.nl-date .d{font-size:22px;font-weight:800;color:var(--primary-2);line-height:1}
.nl-date .m{font-size:11px;color:var(--muted);margin-top:3px}
.nl-txt h4{font-size:16px;margin-bottom:6px;line-height:1.5}
.nl-txt h4 a:hover{color:var(--primary-2)}
.nl-txt p{font-size:13px;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.about-card{background:var(--primary);color:#fff;border-radius:14px;padding:38px 34px;position:relative;overflow:hidden;flex:1;display:flex;flex-direction:column;justify-content:center}
.about-card::after{content:"";position:absolute;right:-60px;bottom:-60px;width:200px;height:200px;border:1px solid rgba(255,255,255,.1);border-radius:50%}
.about-card h3{font-size:24px;margin-bottom:18px}
.about-card p{color:#c2d4f0;font-size:14px;line-height:2;margin-bottom:14px}
.about-card .btn{margin-top:12px}

@media(max-width:1024px){
  .hero{height:500px}
  .hero-copy h1{font-size:40px}
  .prod-cats{grid-template-columns:repeat(2,1fr)}
  .brands{grid-template-columns:repeat(3,1fr)}
  .client-brands{grid-template-columns:repeat(3,1fr)}
  .home-mix{grid-template-columns:1fr;gap:36px}
}
@media(max-width:768px){
  .hero{height:540px}
  .hero-slide::after{background:linear-gradient(180deg,rgba(4,20,52,.85),rgba(6,32,78,.7))}
  .hero-copy h1{font-size:30px}
  .hero-copy .lead{font-size:15px}
  .stats-grid{grid-template-columns:repeat(2,1fr)}
  .stat-item{border-bottom:1px solid var(--line)}
  .adv-grid{grid-template-columns:1fr;gap:24px}
  .adv-item{border-right:none;border-bottom:1px solid rgba(255,255,255,.12);padding-bottom:24px}
  .adv-item:last-child{border-bottom:none}
  .prod-cats{grid-template-columns:1fr}
  .brands{grid-template-columns:repeat(2,1fr)}
  .client-brands{grid-template-columns:repeat(2,1fr)}
  .hero-slide::after{background:linear-gradient(180deg,rgba(3,16,42,.9),rgba(5,28,68,.82))}
}
