/* ==========================================================================
   VPNBu · home.css
   首页专属:首屏装置(双白卡 + 贴纸)、药丸标签卖点区、统计条与文本辅助块
   所有颜色/圆角/字体一律引用 base.css 的 :root 令牌
   ========================================================================== */

/* ------------------------------------------------------------ Hero 首屏 */
.hero{position:relative;padding-top:32px;padding-bottom:22px;text-align:center}
.hero-h1{
  margin:14px 0 0;
  font-family:var(--font-display);font-weight:800;
  font-size:60px;line-height:1.1;letter-spacing:-.028em;color:var(--text);
  text-wrap:balance;
}
.h1-line{display:block}
.h1-lock{display:inline-block;height:1.1em;width:auto;vertical-align:-.17em;margin:0 .06em}
.hero .cta-row{display:flex;justify-content:center;gap:12px;margin-top:22px}
.hero .lead{max-width:680px;margin:18px auto 0;font-size:16px;line-height:1.55}

/* ------------------------------------------------- 首屏装置:双白卡 */
.stage{
  position:relative;
  width:716px;max-width:100%;
  margin:26px auto 0;
  display:grid;grid-template-columns:1fr 1fr;gap:20px;
  text-align:center;
}
.stage .card-routes:hover{transform:translateY(-4px) rotate(-.5deg)}
.stage .card-clients{display:flex;flex-direction:column;justify-content:center}
.stage .card-clients:hover{transform:translateY(-4px) rotate(.5deg)}
.stage .card-icon{width:50px;height:50px;margin:4px auto 8px}

.routes li{
  display:flex;align-items:center;gap:10px;
  height:31px;padding:0 4px;
  border-bottom:1px solid var(--bg-panel2);
}
.routes li:last-child{border-bottom:0}
.routes .route-name{flex:1;min-width:0;text-align:left;font-size:14px;font-weight:600;letter-spacing:.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.routes .flag{width:24px;height:17px;flex:0 0 24px}
.route-dot{
  width:8px;height:8px;border-radius:50%;background:var(--success);
  box-shadow:0 0 0 3px var(--success-soft);flex:0 0 8px;
}
.stage .platforms{margin:2px 0 14px}
.stage .plat{width:54px;min-width:0}
.stage .plat span{white-space:nowrap}
.stage .btn-card{height:44px;padding:0 22px;font-size:15px;width:100%}

/* 漂浮贴纸:桌面装饰,窄屏隐藏 */
.sticker{position:absolute;pointer-events:none;filter:drop-shadow(0 10px 14px var(--accent-shadow-lite))}
.sticker-plane{left:-88px;top:88px;width:80px;height:72px;transform:rotate(-6deg)}
.sticker-lock{right:-74px;bottom:26px;width:60px;height:64px;transform:rotate(8deg)}

/* 信任点胶囊行 */
.hero .trust{margin-top:20px}

/* ------------------------------------------------------ 卖点区细节 */
.scene-card .scene-grid{align-items:center}
.pill-tabs{margin-bottom:30px}
.tabs-block{margin-bottom:0}
.sec-note{
  margin:16px 0 0;font-size:14.5px;line-height:1.75;color:var(--text-muted);
}
.sec-more{margin:14px 0 0;text-align:center}
.sec-more .card-foot{margin-top:0}

/* ------------------------------------------------------ 套餐区补充 */
.panel h3{margin-bottom:16px}
.panel .pack-grid{margin-bottom:16px}
.pack-tip{
  margin:0;font-size:14.5px;line-height:1.75;color:var(--text-muted);
}
.pack-tip strong{color:var(--text)}

/* ------------------------------------------------------ 差异说明卡 */
.grid-2 .card .card-text{
  margin:0;font-size:14.5px;line-height:1.75;color:var(--text-muted);
}

/* ---------------------------------------------------- 数据条与间距 */
.stats-band{margin-top:6px}

/* ----------------------------------------------- 动态线路状态容器 */
/* 文档流占位 + 裁切,禁止绝对定位/负 margin 盖住后文 */
.server-status{
  display:block;position:relative;overflow:hidden;
  max-width:100%;min-width:0;
  margin:0 0 8px;
}
.server-status:empty{display:none}
.server-status > *{max-width:100%;min-width:0}
.server-status .srv-row{
  display:flex;align-items:center;gap:10px;
  min-height:38px;padding:0 12px;
  border-bottom:1px solid var(--bg-panel2);
  font-size:13.5px;min-width:0;
}
.server-status .srv-row:last-child{border-bottom:0}
.server-status .srv-dot{
  width:8px;height:8px;border-radius:50%;background:var(--success);
  box-shadow:0 0 0 3px var(--success-soft);flex:0 0 8px;
  animation:srv-breath 2.6s ease-in-out infinite;
}
.server-status .srv-flag{width:24px;height:17px;flex:0 0 24px;border-radius:3px}
.server-status .srv-name{
  flex:1;min-width:0;font-weight:600;color:var(--text);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
.server-status .srv-type{
  display:inline-flex;align-items:center;min-height:20px;padding:0 8px;
  border-radius:var(--r-pill);font-size:11.5px;font-weight:600;
  background:var(--accent-soft);color:var(--accent-dark);white-space:nowrap;
}
.server-status .srv-ms,
.server-status .srv-bw{
  font-family:var(--font-mono);font-size:12px;color:var(--text-muted);
  white-space:nowrap;flex:0 0 auto;
}
.server-status .srv-grid{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 18px;overflow:hidden;
}
@keyframes srv-breath{
  0%,100%{opacity:1}
  50%{opacity:.45}
}
@media (prefers-reduced-motion:reduce){
  .server-status .srv-dot{animation:none}
}

/* ------------------------------------------------------------ 响应式 */
@media (max-width:900px){
  .stage{grid-template-columns:1fr;width:420px}
}
@media (max-width:768px){
  .sticker{display:none}
  .hero{padding-top:24px}
  .hero-h1{font-size:40px;letter-spacing:-.02em}
}
@media (max-width:640px){
  .hero-h1{font-size:40px}
  .h1-lock{height:1em}
  .hero .cta-row{flex-direction:column;align-items:center}
  .stage{width:100%}
  .pill-tabs{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px}
  .server-status .srv-grid{grid-template-columns:1fr}
  .sec-more{text-align:left}
}
@media (max-width:360px){
  .hero-h1{font-size:32px}
}