/* Tianjin Wuqiren HR - Mobile-first responsive static site (2026) */
:root{
  --bg:#0b1220;
  --panel:#0f1b33;
  --card:#111f3b;
  --text:#e9eefc;
  --muted:#a9b6d7;
  --line:rgba(255,255,255,.10);
  --brand:#6ce7ff;
  --brand2:#a7ff7a;
  --warn:#ffdf6c;
  --danger:#ff6b8a;
  --shadow:0 16px 40px rgba(0,0,0,.35);
  --r12:12px;
  --r16:16px;
  --container:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans SC", "Microsoft YaHei", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1000px 600px at 18% 10%, rgba(108,231,255,.18), transparent 60%),
    radial-gradient(900px 520px at 80% 16%, rgba(167,255,122,.14), transparent 58%),
    radial-gradient(900px 520px at 45% 90%, rgba(255,223,108,.10), transparent 58%),
    linear-gradient(180deg, #070b14 0%, var(--bg) 46%, #070b14 100%);
  min-height:100vh;
}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{max-width:var(--container); margin:0 auto; padding:0 16px}

/* Header */
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(7,11,20,.65);
  border-bottom:1px solid var(--line);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; padding:12px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
}
.brand-mark{
  width:38px; height:38px; border-radius:11px;
  background: linear-gradient(135deg, rgba(108,231,255,.95), rgba(167,255,122,.95));
  box-shadow: 0 10px 28px rgba(108,231,255,.18);
  position:relative;
}
.brand-mark:after{
  content:"57";
  position:absolute; inset:0;
  display:grid; place-items:center;
  color:#08101f; font-weight:900;
  letter-spacing:.5px;
}
.brand-title{line-height:1.1}
.brand-title strong{display:block; font-size:14px}
.brand-title span{display:block; font-size:12px; color:var(--muted)}
.nav{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.nav a{
  padding:9px 10px;
  border:1px solid transparent;
  border-radius:999px;
  font-size:13px;
  color:var(--muted);
  transition:.18s ease;
}
.nav a:hover{
  border-color:var(--line);
  color:var(--text);
  background: rgba(255,255,255,.05);
}
.nav a.primary{
  color:#08101f;
  background: linear-gradient(135deg, rgba(108,231,255,.95), rgba(167,255,122,.95));
  border-color: transparent;
  font-weight:700;
}
.nav a.primary:hover{filter:saturate(1.05); transform: translateY(-1px)}

/* Hero */
.hero{padding:26px 0 14px}
.hero-grid{
  display:grid; gap:18px;
  grid-template-columns: 1.15fr .85fr;
  align-items:stretch;
}
.panel{
  background: linear-gradient(180deg, rgba(17,31,59,.85), rgba(15,27,51,.85));
  border:1px solid var(--line);
  border-radius:var(--r16);
  box-shadow:var(--shadow);
}
.hero-main{padding:18px}
.kicker{
  display:inline-flex; gap:8px; align-items:center;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  font-size:12px;
}
.kicker b{
  color:#08101f;
  background: linear-gradient(135deg, rgba(108,231,255,.95), rgba(167,255,122,.95));
  padding:2px 8px;
  border-radius:999px;
}
.hero h1{
  margin:12px 0 8px;
  font-size:28px; line-height:1.15;
  letter-spacing:.2px;
}
.hero p{
  margin:0 0 14px;
  color:var(--muted);
  font-size:14px; line-height:1.75;
}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.btn{
  appearance:none; border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
  transition:.18s ease;
  display:inline-flex; align-items:center; gap:8px;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.06)}
.btn.brand{
  border-color: transparent;
  color:#08101f;
  background: linear-gradient(135deg, rgba(108,231,255,.95), rgba(167,255,122,.95));
}
.btn.brand:hover{filter:saturate(1.05)}
.meta-row{
  margin-top:14px;
  display:flex; gap:10px; flex-wrap:wrap;
  color:var(--muted); font-size:12px;
}
.meta-chip{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border:1px dashed rgba(255,255,255,.15);
  border-radius:999px;
  background: rgba(255,255,255,.03);
}
.hero-side{overflow:hidden; position:relative}
.hero-side figure{margin:0}
.hero-side img{
  width:100%;
  height:100%;
  min-height:260px;
  object-fit:cover;
  opacity:.96;
}
.hero-side .overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(7,11,20,.06), rgba(7,11,20,.78));
}
.hero-side .badge{
  position:absolute; left:14px; bottom:14px; right:14px;
  padding:12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(7,11,20,.55);
  backdrop-filter: blur(10px);
}
.badge strong{display:block; font-size:13px}
.badge span{display:block; margin-top:5px; color:var(--muted); font-size:12px; line-height:1.6}

/* Sections */
.section{padding:14px 0 10px}
.section-header{
  display:flex; align-items:flex-end; justify-content:space-between; gap:12px;
  margin:6px 0 12px;
}
.section-header h2{margin:0; font-size:18px}
.section-header p{margin:0; color:var(--muted); font-size:13px; line-height:1.6}

.grid-3{display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:12px}
.grid-2{display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:12px}
.card{
  border:1px solid var(--line);
  border-radius:var(--r16);
  background: rgba(17,31,59,.72);
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  overflow:hidden;
}
.card-pad{padding:14px}
.card h3{margin:0 0 6px; font-size:15px}
.card p{margin:0; color:var(--muted); font-size:13px; line-height:1.7}
.card .tagrow{margin-top:10px; display:flex; gap:8px; flex-wrap:wrap}
.tag{
  font-size:12px;
  padding:6px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  color:var(--muted);
  background: rgba(255,255,255,.03);
}
.tag.good{color:#0c1a12; border-color: transparent; background: rgba(167,255,122,.92)}
.tag.info{color:#07121a; border-color: transparent; background: rgba(108,231,255,.90)}
.tag.warn{color:#1a1407; border-color: transparent; background: rgba(255,223,108,.92)}
.tag.soft{border-style:dashed}

/* Product list */
.product-grid{display:grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap:12px}
.product{
  display:flex; flex-direction:column;
  min-height:100%;
}
.product .cover{
  position:relative;
  aspect-ratio: 4 / 3;
  overflow:hidden;
  background:#0b1220;
}
.product .cover img{width:100%; height:100%; object-fit:cover; transition: transform .28s ease}
.product:hover .cover img{transform: scale(1.03)}
.product .cover .price{
  position:absolute; left:12px; bottom:12px;
  padding:7px 10px;
  border-radius:999px;
  background: rgba(7,11,20,.62);
  border:1px solid var(--line);
  font-weight:900;
  font-size:13px;
}
.product .content{padding:12px 12px 14px}
.product .title{display:flex; align-items:flex-start; justify-content:space-between; gap:10px}
.product .title h3{margin:0; font-size:14px; line-height:1.4}
.product .title .mini{font-size:12px; color:var(--muted)}
.product ul{margin:10px 0 0; padding-left:18px; color:var(--muted); font-size:12px; line-height:1.65}
.product .actions{display:flex; gap:10px; margin-top:12px; flex-wrap:wrap}
.product .actions a{flex:1 1 auto; text-align:center; justify-content:center}

/* Detail */
.detail-grid{
  display:grid;
  grid-template-columns: 1fr .9fr;
  gap:12px;
}
.gallery{
  overflow:hidden;
}
.gallery img{
  width:100%;
  height:420px;
  object-fit:cover;
}
.specs{display:grid; gap:10px}
.specs .row{display:grid; grid-template-columns: 1fr 1fr; gap:10px}
.kv{
  border:1px solid var(--line);
  border-radius:14px;
  background: rgba(255,255,255,.03);
  padding:12px;
}
.kv b{display:block; font-size:12px; color:var(--muted); font-weight:700}
.kv strong{display:block; margin-top:6px; font-size:14px}
.review{
  border-top:1px solid var(--line);
  padding-top:12px;
  margin-top:12px;
}
.review-item{
  border:1px solid rgba(255,255,255,.10);
  border-radius:14px;
  background: rgba(7,11,20,.30);
  padding:12px;
  margin-top:10px;
}
.review-head{display:flex; justify-content:space-between; gap:10px; color:var(--muted); font-size:12px}
.stars{color:var(--warn); letter-spacing:1px}
.review-item p{margin:8px 0 0; color:var(--text); font-size:13px; line-height:1.7}

/* Forms */
form .field{display:grid; gap:6px; margin-top:10px}
label{font-size:12px; color:var(--muted)}
input, select, textarea{
  width:100%;
  padding:11px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  color:var(--text);
  outline:none;
}
textarea{min-height:100px; resize:vertical}
input:focus, select:focus, textarea:focus{
  border-color: rgba(108,231,255,.55);
  box-shadow: 0 0 0 3px rgba(108,231,255,.12);
}
.form-grid{display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:10px}
.help{
  margin-top:10px;
  color:var(--muted);
  font-size:12px; line-height:1.7;
}
.notice{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
  border-radius:14px;
  padding:12px;
  color:var(--muted);
  font-size:12px;
  line-height:1.75;
}
.notice b{color:var(--text)}

/* Footer */
footer{
  margin-top:18px;
  border-top:1px solid var(--line);
  background: rgba(7,11,20,.55);
}
.footer-inner{
  padding:16px 0;
  display:grid;
  gap:12px;
  grid-template-columns: 1.2fr .8fr;
}
.foot-title{margin:0; font-size:14px}
.foot-text{margin:6px 0 0; color:var(--muted); font-size:12px; line-height:1.7}
.foot-links{display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; align-items:flex-start}
.foot-links a{
  font-size:12px;
  color:var(--muted);
  padding:8px 10px;
  border:1px solid rgba(255,255,255,.10);
  border-radius:999px;
  background: rgba(255,255,255,.02);
}
.foot-links a:hover{color:var(--text); border-color: rgba(255,255,255,.18)}
.icp{
  margin-top:10px;
  font-size:12px;
  color:var(--muted);
}
.icp a{color:var(--brand)}
.icp a:hover{text-decoration:underline}

/* Floating widgets */
.fab-wrap{
  position:fixed;
  right:14px;
  bottom:14px;
  z-index:80;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.fab{
  width:50px; height:50px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(17,31,59,.80);
  color:var(--text);
  display:grid; place-items:center;
  cursor:pointer;
  box-shadow: 0 14px 32px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.fab:hover{transform: translateY(-2px); background: rgba(17,31,59,.92); border-color: rgba(108,231,255,.35)}
.fab svg{width:22px; height:22px}
.fab-label{
  position:absolute;
  right:62px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(7,11,20,.70);
  color:var(--muted);
  font-size:12px;
  white-space:nowrap;
  transform: translateY(0);
  opacity:0;
  pointer-events:none;
  transition: opacity .18s ease;
}
.fab:hover + .fab-label{opacity:1}
.to-top{display:none}
.to-top.show{display:grid}

/* Chat panel */
.chat-panel{
  position:fixed;
  right:14px;
  bottom:74px; /* keep away from to-top */
  width:min(360px, calc(100vw - 28px));
  border-radius:18px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(7,11,20,.70);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  z-index:90;
  display:none;
  overflow:hidden;
}
.chat-panel.open{display:block}
.chat-head{
  display:flex; align-items:center; justify-content:space-between;
  gap:10px;
  padding:12px 12px;
  background: linear-gradient(135deg, rgba(108,231,255,.20), rgba(167,255,122,.14));
  border-bottom:1px solid rgba(255,255,255,.12);
}
.chat-head strong{font-size:13px}
.chat-head span{font-size:12px; color:var(--muted)}
.chat-close{
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color:var(--text);
  border-radius:10px;
  padding:8px 10px;
  cursor:pointer;
}
.chat-body{
  padding:12px;
  height:320px;
  overflow:auto;
}
.msg{
  display:flex; gap:10px; margin:10px 0;
}
.msg .avatar{
  width:30px; height:30px; border-radius:10px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  display:grid; place-items:center;
  flex:0 0 auto;
  color:var(--brand);
  font-weight:900;
}
.bubble{
  max-width: 78%;
  padding:10px 11px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color:var(--text);
  font-size:12.5px;
  line-height:1.6;
}
.msg.me{justify-content:flex-end}
.msg.me .bubble{
  background: rgba(108,231,255,.14);
  border-color: rgba(108,231,255,.22);
}
.chat-foot{
  padding:12px;
  border-top:1px solid rgba(255,255,255,.10);
  display:flex; gap:10px;
}
.chat-foot input{
  flex:1;
  padding:11px 12px;
  border-radius:12px;
}

/* Modal */
.modal-mask{
  position:fixed; inset:0; z-index:120;
  background: rgba(0,0,0,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
}
.modal-mask.show{display:flex}
.modal{
  width:min(560px, 100%);
  border-radius:18px;
  background: rgba(17,31,59,.92);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.modal .m-head{
  padding:14px 14px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
  display:flex; align-items:center; justify-content:space-between; gap:10px;
}
.modal .m-head strong{font-size:14px}
.modal .m-body{padding:14px; color:var(--muted); font-size:13px; line-height:1.75}
.modal .m-actions{padding:12px 14px 14px; display:flex; justify-content:flex-end; gap:10px}

/* Responsive */
@media (max-width: 980px){
  .hero-grid{grid-template-columns: 1fr}
  .detail-grid{grid-template-columns: 1fr}
  .gallery img{height:320px}
  .product-grid{grid-template-columns: repeat(2, minmax(0,1fr))}
  .grid-3{grid-template-columns: 1fr}
  .grid-2{grid-template-columns: 1fr}
  .footer-inner{grid-template-columns: 1fr}
  .foot-links{justify-content:flex-start}
}
@media (max-width: 420px){
  .nav a{padding:8px 9px}
  .hero h1{font-size:24px}
  .product-grid{grid-template-columns: 1fr}
  .form-grid{grid-template-columns: 1fr}
}
