/* ── reset ── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans SC",sans-serif;
  color:#fff;
  min-height:100vh;
  overflow-x:hidden;
}

/* ── background ── */
.bg-layer{
  position:fixed;inset:0;z-index:-1;
  background-color:#0a0a0a;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  background-attachment:fixed;
  filter:blur(20px);
  transform:scale(1.1); /* 防止模糊边缘露出 */
  transition:filter 1.2s ease-out;
}
.bg-layer.level-1{filter:blur(12px)}
.bg-layer.level-2{filter:blur(4px)}
.bg-layer.level-3{filter:blur(0)}
.bg-layer::after{
  content:'';position:absolute;inset:0;
  background:rgba(0,0,0,.35);
}

/* ── background progress ── */
.bg-progress{
  position:fixed;bottom:1.2rem;right:1.2rem;z-index:200;
  display:flex;align-items:center;gap:.6rem;
  padding:.5rem 1rem;
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(18px) saturate(1.3);
  -webkit-backdrop-filter:blur(18px) saturate(1.3);
  border:1px solid rgba(255,255,255,.1);
  border-radius:10px;
  font-size:.72rem;color:rgba(255,255,255,.6);
  transition:opacity .6s,transform .6s;
}
.bg-progress-done{
  opacity:0;transform:translateY(8px);pointer-events:none;
}
.bg-progress-track{
  width:80px;height:4px;border-radius:2px;
  background:rgba(255,255,255,.12);overflow:hidden;
}
.bg-progress-fill{
  height:100%;width:0;border-radius:2px;
  background:linear-gradient(90deg,rgba(130,180,255,.8),rgba(100,220,180,.8));
  transition:width .4s ease-out;
}

/* ── glass mixin ── */
.glass{
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(18px) saturate(1.4);
  -webkit-backdrop-filter:blur(18px) saturate(1.4);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
}

/* ── nav ── */
.glass-nav{
  position:fixed;top:0;left:0;right:0;z-index:100;
  display:flex;align-items:center;justify-content:center;gap:2rem;
  padding:.75rem 2rem;
  background:rgba(255,255,255,.06);
  backdrop-filter:blur(24px) saturate(1.5);
  -webkit-backdrop-filter:blur(24px) saturate(1.5);
  border-bottom:1px solid rgba(255,255,255,.1);
}
.nav-link{
  color:rgba(255,255,255,.75);text-decoration:none;font-size:.9rem;
  letter-spacing:.02em;transition:color .2s;
}
.nav-link:hover{color:#fff}

/* ── hero ── */
.hero{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  min-height:100vh;text-align:center;padding:6rem 2rem 4rem;
}
.brand{
  font-size:clamp(3rem,8vw,5.5rem);font-weight:800;letter-spacing:-.03em;
  background:linear-gradient(135deg,#fff 0%,rgba(200,220,255,.85) 100%);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
}
.subtitle{
  margin-top:.6rem;font-size:clamp(1.1rem,2.5vw,1.5rem);
  color:rgba(255,255,255,.7);font-weight:300;
}
.slogan{
  margin-top:.4rem;font-size:clamp(.85rem,1.5vw,1rem);
  color:rgba(255,255,255,.45);letter-spacing:.15em;
}

/* ── section ── */
.section{
  max-width:960px;margin:0 auto;padding:4rem 2rem;
}
.section-title{
  font-size:1.4rem;font-weight:600;margin-bottom:1.6rem;
  color:rgba(255,255,255,.9);
  padding-left:.6rem;
  border-left:3px solid rgba(255,255,255,.4);
}

/* ── grid ── */
.grid{
  display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem;
}

/* ── cards ── */
.glass-card{
  background:rgba(255,255,255,.07);
  backdrop-filter:blur(16px) saturate(1.3);
  -webkit-backdrop-filter:blur(16px) saturate(1.3);
  border:1px solid rgba(255,255,255,.1);
  border-radius:12px;padding:1.4rem;
  transition:background .25s,transform .25s;
}
.glass-card:hover{
  background:rgba(255,255,255,.12);
  transform:translateY(-2px);
}

.service-card h3{font-size:1.05rem;font-weight:600;margin-bottom:.5rem}
.service-card .desc{font-size:.88rem;color:rgba(255,255,255,.7);margin-bottom:.3rem}
.service-card .detail{font-size:.78rem;color:rgba(255,255,255,.4)}

/* ── status ── */
.status-list{display:flex;flex-direction:column;gap:.75rem}
.status-card{display:flex;align-items:center;gap:.8rem;padding:1rem 1.4rem}
.status-dot{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.status-dot.ok{background:#4ade80;box-shadow:0 0 8px rgba(74,222,128,.5)}
.status-dot.warn{background:#facc15;box-shadow:0 0 8px rgba(250,204,21,.5)}
.status-info{flex:1;display:flex;flex-direction:column}
.status-name{font-weight:600;font-size:.92rem}
.state{font-size:.78rem;color:rgba(255,255,255,.55)}
.uptime{font-size:.85rem;color:rgba(255,255,255,.6);font-variant-numeric:tabular-nums}

/* ── custom section ── */
.custom-content{display:flex;flex-direction:column;gap:1rem}
.custom-card{line-height:1.7}
.custom-card p{margin-bottom:.5rem;font-size:.92rem;color:rgba(255,255,255,.8)}
.custom-card ul{padding-left:1.4rem;margin:.5rem 0;color:rgba(255,255,255,.75);font-size:.9rem}
.custom-card li{margin-bottom:.3rem}
.custom-card a{color:rgba(130,180,255,.9);text-decoration:none;transition:color .2s}
.custom-card a:hover{color:#fff}
.custom-card strong{color:#fff}

/* ── contact ── */
.contact-card{display:flex;flex-direction:column;gap:.3rem}
.contact-label{font-size:.78rem;color:rgba(255,255,255,.45);text-transform:uppercase;letter-spacing:.06em}
.contact-value{font-size:.92rem;color:rgba(255,255,255,.85)}

/* ── footer ── */
.glass-footer{
  margin-top:4rem;padding:2.5rem 2rem;
  text-align:center;
  background:rgba(255,255,255,.04);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  border-top:1px solid rgba(255,255,255,.08);
}
.footer-links{display:flex;justify-content:center;gap:1.5rem;margin-bottom:1rem;flex-wrap:wrap}
.footer-links a{color:rgba(255,255,255,.55);text-decoration:none;font-size:.82rem;transition:color .2s}
.footer-links a:hover{color:#fff}
.copyright{font-size:.75rem;color:rgba(255,255,255,.3)}

/* ── responsive ── */
@media(max-width:600px){
  .glass-nav{gap:1rem;padding:.6rem 1rem}
  .section{padding:3rem 1rem}
  .grid{grid-template-columns:1fr 1fr}
}
@media(max-width:400px){
  .grid{grid-template-columns:1fr}
}
