/* babianpeak.com — 服务器风 红黑配色 参照 hetzner.com */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root{
  --red:#e30613;
  --red-dark:#b30000;
  --red-hover:#ff1a26;
  --black:#0d0d0d;
  --dark:#1a1a1a;
  --dark2:#252525;
  --gray1:#f4f4f4;
  --gray2:#e8e8e8;
  --gray3:#999;
  --gray4:#666;
  --white:#fff;
  --border:#2e2e2e;
  --font:-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',Arial,sans-serif;
}

html{scroll-behavior:smooth}
body{font-family:var(--font);background:var(--white);color:var(--dark);line-height:1.6;overflow-x:hidden}

a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button{cursor:pointer;border:none;outline:none;font-family:var(--font)}

/* ====== NAVBAR ====== */
.navbar{
  position:sticky;top:0;z-index:100;
  background:var(--black);
  border-bottom:2px solid var(--red);
  height:60px;display:flex;align-items:center;
}
.nav-inner{
  max-width:1200px;margin:0 auto;width:100%;padding:0 24px;
  display:flex;align-items:center;justify-content:space-between;
}
.nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none}
.nav-logo img{height:36px;width:auto}
.nav-logo-text{color:var(--white);font-size:1.15rem;font-weight:700;letter-spacing:0.3px}
.nav-links{display:flex;align-items:center;gap:4px}
.nav-links a{
  color:#ccc;font-size:0.875rem;padding:6px 14px;border-radius:3px;
  transition:color .2s,background .2s;white-space:nowrap;
}
.nav-links a:hover{color:var(--white);background:rgba(255,255,255,.08)}
.nav-cta-wrap{display:flex;gap:10px}
.btn-nav-dl{
  background:var(--red);color:var(--white);
  font-size:0.875rem;font-weight:600;
  padding:8px 20px;border-radius:3px;
  transition:background .2s;
}
.btn-nav-dl:hover{background:var(--red-hover)}

/* ====== HERO ====== */
.hero{
  background:linear-gradient(135deg, #0d0d0d 0%, #1e0000 50%, #0d0d0d 100%);
  color:var(--white);
  padding:80px 24px 72px;
  position:relative;overflow:hidden;
}
.hero::before{
  content:'';position:absolute;inset:0;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='none'/%3E%3Cpath d='M0 30 L60 30 M30 0 L30 60' stroke='%23e30613' stroke-width='0.3' opacity='0.15'/%3E%3C/svg%3E");
  pointer-events:none;
}
.hero-inner{
  max-width:1200px;margin:0 auto;
  display:grid;grid-template-columns:1fr 420px;gap:60px;align-items:center;
  position:relative;z-index:1;
}
.hero-tag{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(227,6,19,.15);border:1px solid rgba(227,6,19,.4);
  color:var(--red);font-size:0.8rem;font-weight:600;letter-spacing:0.5px;
  padding:5px 14px;border-radius:3px;margin-bottom:20px;text-transform:uppercase;
}
.hero-tag::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--red);animation:blink 1.5s infinite}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}
.hero h1{
  font-size:clamp(2rem,4vw,3rem);font-weight:900;line-height:1.15;
  margin-bottom:20px;letter-spacing:-0.5px;
}
.hero h1 span{color:var(--red)}
.hero-desc{
  font-size:1.05rem;color:#ccc;margin-bottom:32px;
  max-width:520px;line-height:1.7;
}
.hero-btns{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:40px}
.btn-primary{
  background:var(--red);color:var(--white);
  font-size:1rem;font-weight:700;padding:14px 32px;
  border-radius:3px;transition:background .2s,transform .1s;
  display:inline-flex;align-items:center;gap:8px;
}
.btn-primary:hover{background:var(--red-hover);transform:translateY(-1px)}
.btn-primary:active{transform:translateY(0)}
.btn-outline{
  background:transparent;color:var(--white);
  font-size:1rem;font-weight:600;padding:13px 30px;
  border:1.5px solid rgba(255,255,255,.35);border-radius:3px;
  transition:border-color .2s,background .2s;
  display:inline-flex;align-items:center;gap:8px;
}
.btn-outline:hover{border-color:var(--white);background:rgba(255,255,255,.08)}

.hero-stats{display:flex;gap:32px;flex-wrap:wrap}
.hero-stat{text-align:center}
.hero-stat-num{font-size:1.6rem;font-weight:900;color:var(--red)}
.hero-stat-lbl{font-size:0.75rem;color:#888;margin-top:2px}

/* Hero right — server mockup */
.hero-visual{position:relative}
.server-rack{
  background:#111;border:1px solid #333;border-radius:4px;
  padding:16px;display:flex;flex-direction:column;gap:8px;
  box-shadow:0 0 40px rgba(227,6,19,.2);
}
.rack-unit{
  background:#1c1c1c;border:1px solid #2e2e2e;border-radius:2px;
  height:44px;display:flex;align-items:center;padding:0 14px;gap:12px;
}
.rack-led{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.rack-led.green{background:#00e676;box-shadow:0 0 6px #00e676}
.rack-led.orange{background:#ff9800}
.rack-led.red{background:var(--red);box-shadow:0 0 6px var(--red)}
.rack-label{font-size:0.72rem;color:#666;font-family:monospace;flex:1}
.rack-bars{display:flex;gap:3px;align-items:flex-end;height:22px}
.rack-bars span{width:4px;background:var(--red);border-radius:1px;opacity:0.7}
.rack-badge{
  font-size:0.7rem;color:var(--red);
  background:rgba(227,6,19,.1);padding:2px 8px;border-radius:2px;
  border:1px solid rgba(227,6,19,.3);
}
.server-rack-header{
  display:flex;justify-content:space-between;align-items:center;
  border-bottom:1px solid #2e2e2e;padding-bottom:12px;margin-bottom:4px;
}
.rack-title{font-size:0.75rem;color:#888;font-weight:600;letter-spacing:1px;text-transform:uppercase}
.rack-status{font-size:0.7rem;color:#00e676;display:flex;align-items:center;gap:5px}
.rack-status::before{content:'';width:5px;height:5px;border-radius:50%;background:#00e676;animation:blink 2s infinite}

/* ====== PRODUCTS OVERVIEW ====== */
.section-products{background:var(--gray1);padding:70px 24px}
.section-header{text-align:center;margin-bottom:50px}
.section-label{
  display:inline-block;font-size:0.75rem;font-weight:700;letter-spacing:2px;
  text-transform:uppercase;color:var(--red);margin-bottom:12px;
}
.section-title{font-size:clamp(1.6rem,3vw,2.2rem);font-weight:800;color:var(--dark)}
.section-desc{font-size:1rem;color:var(--gray4);margin-top:10px;max-width:560px;margin-left:auto;margin-right:auto}

.products-grid{
  max-width:1200px;margin:0 auto;
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
}
.product-card{
  background:var(--white);border:1px solid var(--gray2);
  border-radius:4px;padding:28px 24px;
  transition:box-shadow .25s,border-color .25s,transform .2s;
  display:flex;flex-direction:column;
}
.product-card:hover{
  box-shadow:0 8px 32px rgba(0,0,0,.1);
  border-color:var(--red);transform:translateY(-2px);
}
.product-icon{
  width:52px;height:52px;border-radius:4px;
  background:var(--red);display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;
}
.product-icon svg{width:26px;height:26px;fill:none;stroke:var(--white);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.product-name{font-size:1rem;font-weight:700;color:var(--dark);margin-bottom:8px}
.product-desc{font-size:0.875rem;color:var(--gray4);line-height:1.6;flex:1;margin-bottom:18px}
.product-price{font-size:0.8rem;color:var(--gray3);margin-bottom:14px}
.product-price strong{font-size:1.1rem;color:var(--dark);font-weight:700}
.btn-product{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  background:transparent;border:1.5px solid var(--red);
  color:var(--red);font-size:0.875rem;font-weight:600;
  padding:9px 18px;border-radius:3px;width:100%;
  transition:background .2s,color .2s;
}
.btn-product:hover{background:var(--red);color:var(--white)}

/* ====== URGENT CTA (clock section) ====== */
.section-urgent{
  background:var(--red);color:var(--white);
  padding:60px 24px;position:relative;overflow:hidden;
}
.section-urgent::before{
  content:'';position:absolute;right:-80px;top:-80px;
  width:400px;height:400px;border-radius:50%;
  background:rgba(0,0,0,.15);
}
.urgent-inner{
  max-width:1200px;margin:0 auto;
  display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center;
  position:relative;z-index:1;
}
.urgent-label{
  font-size:0.75rem;font-weight:700;letter-spacing:2px;text-transform:uppercase;
  opacity:.8;margin-bottom:10px;
}
.urgent-title{font-size:clamp(1.8rem,4vw,2.8rem);font-weight:900;line-height:1.15;margin-bottom:16px}
.urgent-desc{font-size:1rem;opacity:.9;line-height:1.65;margin-bottom:28px}
.urgent-list{list-style:none;display:flex;flex-direction:column;gap:10px;margin-bottom:28px}
.urgent-list li{display:flex;align-items:flex-start;gap:10px;font-size:0.9rem;opacity:.92}
.urgent-list li::before{content:'→';font-weight:700;flex-shrink:0;margin-top:1px}
.btn-urgent{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--white);color:var(--red);
  font-size:1rem;font-weight:800;padding:14px 36px;border-radius:3px;
  transition:transform .15s,box-shadow .15s;
  box-shadow:0 4px 16px rgba(0,0,0,.2);
}
.btn-urgent:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.25)}
.urgent-aside{background:rgba(0,0,0,.2);border-radius:4px;padding:28px}
.timer-label{font-size:0.75rem;font-weight:600;letter-spacing:1px;opacity:.8;text-transform:uppercase;margin-bottom:16px}
.timer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:24px}
.timer-block{background:rgba(0,0,0,.3);border-radius:3px;padding:12px 8px;text-align:center}
.timer-num{font-size:1.8rem;font-weight:900;font-variant-numeric:tabular-nums;display:block}
.timer-unit{font-size:0.65rem;opacity:.7;text-transform:uppercase;letter-spacing:1px}
.urgent-sub{font-size:0.85rem;opacity:.8}

/* ====== WHY CHOOSE ====== */
.section-why{padding:70px 24px;background:var(--white)}
.why-grid{
  max-width:1200px;margin:0 auto;
  display:grid;grid-template-columns:repeat(2,1fr);gap:24px;
}
.why-card{
  display:flex;gap:20px;padding:28px;
  border:1px solid var(--gray2);border-radius:4px;
  transition:border-color .2s,box-shadow .2s;
}
.why-card:hover{border-color:var(--red);box-shadow:0 4px 20px rgba(0,0,0,.07)}
.why-icon{
  width:48px;height:48px;border-radius:4px;background:#fdf0f0;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
}
.why-icon svg{width:24px;height:24px;fill:none;stroke:var(--red);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.why-body h3{font-size:0.975rem;font-weight:700;color:var(--dark);margin-bottom:8px}
.why-body p{font-size:0.875rem;color:var(--gray4);line-height:1.6}

/* ====== DOWNLOAD SECTION ====== */
.section-download{background:var(--dark);color:var(--white);padding:70px 24px}
.download-inner{max-width:1200px;margin:0 auto;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
.dl-heading{font-size:clamp(1.5rem,3vw,2rem);font-weight:800;margin-bottom:16px}
.dl-heading span{color:var(--red)}
.dl-desc{color:#aaa;font-size:0.975rem;line-height:1.7;margin-bottom:28px}
.dl-platforms{display:flex;flex-direction:column;gap:14px}
.dl-platform{
  display:flex;align-items:center;gap:16px;
  background:var(--dark2);border:1px solid var(--border);border-radius:4px;
  padding:16px 20px;transition:border-color .2s;
}
.dl-platform:hover{border-color:var(--red)}
.dl-platform-icon{
  width:44px;height:44px;border-radius:4px;background:var(--red);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.dl-platform-icon svg{width:22px;height:22px;fill:none;stroke:var(--white);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.dl-platform-body{flex:1}
.dl-platform-name{font-size:0.875rem;font-weight:700;color:var(--white)}
.dl-platform-desc{font-size:0.75rem;color:#888;margin-top:2px}
.dl-platform-btn{
  background:var(--red);color:var(--white);font-size:0.8rem;font-weight:600;
  padding:8px 16px;border-radius:3px;flex-shrink:0;
  transition:background .2s;cursor:pointer;display:inline-flex;align-items:center;gap:5px;
}
.dl-platform-btn:hover{background:var(--red-hover)}

.dl-visual{display:flex;flex-direction:column;gap:16px}
.dl-info-card{
  background:var(--dark2);border:1px solid var(--border);border-radius:4px;padding:20px 24px;
}
.dl-info-card h4{font-size:0.875rem;font-weight:600;color:var(--white);margin-bottom:12px}
.dl-spec-list{list-style:none;display:flex;flex-direction:column;gap:8px}
.dl-spec-list li{display:flex;justify-content:space-between;font-size:0.8rem}
.dl-spec-list li span:first-child{color:#888}
.dl-spec-list li span:last-child{color:#ccc;font-weight:600}

/* ====== NEWS/ANNOUNCEMENTS ====== */
.section-news{background:var(--gray1);padding:70px 24px}
.news-grid{
  max-width:1200px;margin:0 auto;
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
}
.news-card{
  background:var(--white);border:1px solid var(--gray2);border-radius:4px;
  overflow:hidden;transition:box-shadow .2s,transform .2s;display:flex;flex-direction:column;
}
.news-card:hover{box-shadow:0 6px 24px rgba(0,0,0,.09);transform:translateY(-2px)}
.news-card-img{
  height:160px;background:linear-gradient(135deg,#1a0000,#2d0a0a);
  display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;
}
.news-card-img svg{width:64px;height:64px;opacity:.6}
.news-card-img .nc-tag{
  position:absolute;top:10px;left:10px;
  background:var(--red);color:var(--white);font-size:0.65rem;font-weight:700;
  padding:3px 9px;border-radius:2px;letter-spacing:0.5px;text-transform:uppercase;
}
.news-card-body{padding:18px 20px;flex:1;display:flex;flex-direction:column}
.news-card-date{font-size:0.72rem;color:var(--gray3);margin-bottom:8px}
.news-card-title{font-size:0.9rem;font-weight:700;color:var(--dark);margin-bottom:8px;line-height:1.45}
.news-card-excerpt{font-size:0.8rem;color:var(--gray4);line-height:1.6;flex:1}
.news-card-link{
  display:inline-flex;align-items:center;gap:5px;margin-top:14px;
  font-size:0.8rem;font-weight:600;color:var(--red);
}
.news-card-link::after{content:'→'}

/* ====== TRUST AWARDS ====== */
.section-awards{background:var(--white);padding:60px 24px;border-top:1px solid var(--gray2)}
.awards-inner{max-width:1200px;margin:0 auto;text-align:center}
.awards-title{font-size:0.8rem;font-weight:600;letter-spacing:2px;text-transform:uppercase;color:var(--gray3);margin-bottom:32px}
.awards-grid{display:flex;justify-content:center;align-items:center;gap:40px;flex-wrap:wrap}
.award-badge{
  display:flex;flex-direction:column;align-items:center;gap:8px;
  padding:16px 24px;border:1px solid var(--gray2);border-radius:4px;
  min-width:130px;transition:border-color .2s;
}
.award-badge:hover{border-color:var(--red)}
.award-badge svg{width:36px;height:36px}
.award-name{font-size:0.7rem;font-weight:600;color:var(--dark);text-align:center}
.award-year{font-size:0.65rem;color:var(--gray3)}

/* ====== FOOTER ====== */
footer{background:var(--black);color:#ccc;padding:60px 24px 24px}
.footer-inner{max-width:1200px;margin:0 auto}
.footer-top{display:grid;grid-template-columns:240px 1fr;gap:60px;padding-bottom:40px;border-bottom:1px solid var(--border)}
.footer-brand .footer-logo{display:flex;align-items:center;gap:10px;margin-bottom:16px}
.footer-brand .footer-logo img{height:32px;filter:brightness(0) invert(1)}
.footer-brand .footer-logo-name{font-size:1rem;font-weight:700;color:var(--white)}
.footer-brand p{font-size:0.825rem;color:#888;line-height:1.65;margin-bottom:20px}
.footer-disclaimer{font-size:0.72rem;color:#555;line-height:1.6;border-top:1px solid #222;padding-top:14px}
.footer-links-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.footer-col h4{font-size:0.75rem;font-weight:700;letter-spacing:1px;text-transform:uppercase;color:#888;margin-bottom:14px}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:9px}
.footer-col ul li a{font-size:0.8rem;color:#777;transition:color .2s}
.footer-col ul li a:hover{color:var(--white)}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;
  padding-top:24px;flex-wrap:wrap;gap:10px;
}
.footer-copy{font-size:0.75rem;color:#555}
.footer-copy a{color:#666}
.footer-copy a:hover{color:var(--white)}
.footer-socials{display:flex;gap:14px}
.footer-socials a{
  width:32px;height:32px;border-radius:3px;background:#1e1e1e;border:1px solid #2e2e2e;
  display:flex;align-items:center;justify-content:center;transition:border-color .2s,background .2s;
}
.footer-socials a:hover{border-color:var(--red);background:rgba(227,6,19,.1)}
.footer-socials a svg{width:14px;height:14px;fill:#888}

/* ====== RESPONSIVE ====== */
@media(max-width:1024px){
  .products-grid{grid-template-columns:repeat(2,1fr)}
  .hero-inner{grid-template-columns:1fr;gap:40px}
  .hero-visual{display:none}
  .download-inner{grid-template-columns:1fr;gap:36px}
  .footer-top{grid-template-columns:1fr;gap:36px}
  .footer-links-grid{grid-template-columns:repeat(2,1fr)}
  .urgent-inner{grid-template-columns:1fr;gap:30px}
}
@media(max-width:768px){
  .products-grid{grid-template-columns:1fr}
  .nav-links{display:none}
  .why-grid{grid-template-columns:1fr}
  .news-grid{grid-template-columns:1fr}
  .timer-grid{grid-template-columns:repeat(2,1fr)}
  .footer-links-grid{grid-template-columns:repeat(2,1fr)}
  .hero{padding:52px 20px 48px}
  .section-products,.section-why,.section-download,.section-news{padding:52px 20px}
}
@media(max-width:480px){
  .footer-links-grid{grid-template-columns:1fr}
  .hero-btns{flex-direction:column}
  .btn-primary,.btn-outline{width:100%;justify-content:center}
  .awards-grid{gap:16px}
  .dl-platform{flex-wrap:wrap}
  .timer-grid{gap:6px}
  .timer-num{font-size:1.4rem}
}

/* countdown animation */
#cdDays,#cdHours,#cdMins,#cdSecs{display:block}
