:root{
  --bg:#070b14;
  --bg2:#0b1220;
  --card:#101827;
  --card2:#121f33;
  --line:rgba(255,255,255,.10);
  --text:#ecf3ff;
  --muted:#8fa2bd;
  --blue:#2ee8ff;
  --orange:#ff5a00;
  --white:#fff;
}

*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:"Microsoft YaHei","PingFang SC",Arial,sans-serif;
  background:#050812;
  color:var(--text);
}

a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(1180px,92vw);
  margin:0 auto;
}

/* ==============================
   顶部导航
   ============================== */

.header{
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(5,8,18,.82);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}

.nav{
  height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.logo{
  font-weight:900;
  letter-spacing:.5px;
  font-size:22px;
}

.logo span{
  color:var(--blue);
}

.menu{
  display:flex;
  gap:28px;
  color:#d8e6fb;
  font-weight:700;
}

.menu a{
  opacity:.88;
}

.menu a:hover,
.menu a.active{
  color:var(--blue);
  opacity:1;
}

/* ==============================
   首页大屏
   ============================== */

.hero{
  min-height:720px;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 70% 35%, rgba(46,232,255,.22), transparent 34%),
    radial-gradient(circle at 25% 15%, rgba(255,90,0,.12), transparent 28%),
    linear-gradient(135deg,#050812 0%,#091323 60%,#07101d 100%);
}

.hero:before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom,#000,transparent 85%);
}

.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:50px;
  align-items:center;
  min-height:720px;
  padding:70px 0;
}

.badge{
  display:inline-flex;
  border:1px solid rgba(46,232,255,.3);
  color:var(--blue);
  border-radius:999px;
  padding:8px 16px;
  font-weight:800;
  background:rgba(46,232,255,.08);
}

.hero h1{
  font-size:62px;
  line-height:1.05;
  margin:24px 0 18px;
  letter-spacing:-1px;
}

.hero p{
  font-size:19px;
  line-height:1.85;
  color:#b8c9df;
  margin:0 0 32px;
}

.btns{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:48px;
  padding:0 22px;
  border-radius:12px;
  font-weight:900;
  border:1px solid var(--line);
}

.btn.primary{
  background:linear-gradient(135deg,var(--blue),#3578ff);
  color:#02101c;
}

.btn.ghost{
  background:rgba(255,255,255,.06);
  color:#fff;
}

.hero-card{
  border:1px solid var(--line);
  background:rgba(16,24,39,.62);
  border-radius:28px;
  padding:28px;
  box-shadow:0 30px 80px rgba(0,0,0,.38);
}

.hero-card img{
  width:100%;
  height:360px;
  object-fit:cover;
  border-radius:20px;
  background:#111827;
}

.kv{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:18px;
}

.kv div{
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px;
  text-align:center;
}

.kv strong{
  font-size:20px;
  color:var(--blue);
  display:block;
}

.kv span{
  font-size:13px;
  color:var(--muted);
}

/* ==============================
   通用区块
   ============================== */

.section{
  padding:74px 0;
}

.section-title{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin-bottom:28px;
}

.section-title h2{
  font-size:38px;
  margin:0;
}

.section-title p{
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.7;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
}

.card{
  background:linear-gradient(180deg,rgba(18,31,51,.96),rgba(12,19,32,.96));
  border:1px solid var(--line);
  border-radius:22px;
  overflow:hidden;
  transition:.2s;
}

.card:hover{
  transform:translateY(-4px);
  border-color:rgba(46,232,255,.35);
}

.card img{
  height:220px;
  width:100%;
  object-fit:cover;
  background:#0b1220;
}

.card-body{
  padding:22px;
}

.card h3{
  font-size:22px;
  margin:0 0 10px;
}

.card p{
  color:var(--muted);
  line-height:1.7;
  margin:0 0 16px;
}

.tag{
  display:inline-flex;
  color:var(--blue);
  font-weight:900;
  font-size:13px;
  border:1px solid rgba(46,232,255,.25);
  border-radius:999px;
  padding:5px 10px;
}

/* ==============================
   产品列表页
   ============================== */

.products-layout{
  display:grid;
  grid-template-columns:250px 1fr;
  gap:28px;
}

.sidebar{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:20px;
  padding:14px;
  position:sticky;
  top:92px;
  height:max-content;
}

.cat{
  display:block;
  padding:14px 16px;
  border-radius:14px;
  color:#cfe1f5;
  font-weight:800;
}

.cat.active,
.cat:hover{
  background:rgba(46,232,255,.10);
  color:var(--blue);
}

/* ==============================
   产品详情顶部
   ============================== */

.product-hero{
  position:relative;
  overflow:hidden;
  padding:52px 0 42px;
  background:
    radial-gradient(circle at 78% 25%, rgba(46,232,255,.16), transparent 34%),
    radial-gradient(circle at 18% 20%, rgba(255,90,0,.10), transparent 28%),
    linear-gradient(135deg,#07101d,#101827 62%,#060b14);
  border-bottom:1px solid rgba(255,255,255,.08);
}

.product-hero:before{
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:48px 48px;
  opacity:.45;
  mask-image:linear-gradient(to bottom,#000,transparent 90%);
}

.product-top{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:34px;
  align-items:center;
}

.product-top img{
  border-radius:26px;
  background:#111827;
  max-height:520px;
  width:100%;
  object-fit:cover;
  border:1px solid var(--line);
  box-shadow:0 28px 80px rgba(0,0,0,.35);
}

.product-top h1{
  font-size:48px;
  line-height:1.15;
  margin:18px 0 16px;
}

.product-top .summary{
  color:#b8c9df;
  font-size:18px;
  line-height:1.8;
}

/* ==============================
   产品详情页 TAB：下划线科技风
   ============================== */

.tabs{
  display:flex;
  align-items:center;
  gap:42px;
  flex-wrap:wrap;
  margin-bottom:28px;
  padding:0 0 2px;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.tab-btn{
  position:relative;
  padding:0 0 16px;
  border:none;
  background:transparent;
  color:rgba(236,243,255,.68);
  font-size:16px;
  line-height:1;
  font-weight:800;
  cursor:pointer;
  transition:all .25s ease;
  font-family:inherit;
}

.tab-btn:hover{
  color:#ffffff;
}

.tab-btn.active{
  color:#2ee8ff;
}

.tab-btn.active::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:100%;
  height:3px;
  border-radius:10px;
  background:linear-gradient(90deg,#2ee8ff,#3c82ff);
  box-shadow:0 0 16px rgba(46,232,255,.55);
}

/* 内容区：深色半透明科技面板 */
.tab-panel{
  display:none;
  position:relative;
  overflow:hidden;
  color:#ecf3ff;
  border-radius:26px;
  padding:38px 34px;
  line-height:1.9;
  background:
    linear-gradient(135deg,rgba(46,232,255,.055),rgba(255,255,255,.025)),
    rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:
    0 24px 70px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.tab-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:42px 42px;
  opacity:.28;
  mask-image:linear-gradient(to bottom,#000,transparent 90%);
}

.tab-panel.active{
  display:block;
}

.tab-panel > *{
  position:relative;
  z-index:1;
}

.tab-panel h1,
.tab-panel h2,
.tab-panel h3,
.tab-panel h4{
  color:#ffffff;
  margin-top:0;
  margin-bottom:18px;
  font-weight:900;
}

.tab-panel h2{
  font-size:30px;
}

.tab-panel h3{
  font-size:24px;
}

.tab-panel p{
  color:rgba(236,243,255,.88);
  font-size:16px;
  line-height:1.9;
  margin:0 0 18px;
}

.tab-panel ul,
.tab-panel ol{
  margin:16px 0 0;
  padding-left:24px;
}

.tab-panel li{
  color:rgba(236,243,255,.90);
  margin:8px 0;
  line-height:1.85;
}

.tab-panel strong{
  color:#ffffff;
}

.tab-panel a{
  color:#2ee8ff;
}

.tab-panel img{
  max-width:100%;
  border-radius:18px;
  margin:18px 0;
  border:1px solid rgba(255,255,255,.08);
}

/* ==============================
   参数表：深色科技风
   ============================== */

.param-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  color:#ecf3ff;
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  background:rgba(255,255,255,.035);
}

.param-table tr{
  transition:background .2s ease;
}

.param-table tr:hover{
  background:rgba(46,232,255,.055);
}

.param-table td{
  padding:15px 18px;
  border-bottom:1px solid rgba(255,255,255,.08);
  color:rgba(236,243,255,.88);
  line-height:1.65;
}

.param-table tr:last-child td{
  border-bottom:none;
}

.param-table td:first-child{
  width:250px;
  color:#ffffff;
  font-weight:900;
  background:rgba(46,232,255,.06);
}

/* ==============================
   FAQ 技术问答
   ============================== */

.faq-item{
  padding:20px 0;
  border-bottom:1px solid rgba(255,255,255,.10);
}

.faq-item:last-child{
  border-bottom:none;
}

.faq-item strong{
  display:block;
  color:#2ee8ff;
  font-size:18px;
  margin-bottom:8px;
}

.faq-item div{
  color:rgba(236,243,255,.88);
  line-height:1.85;
}

/* ==============================
   单页面
   ============================== */

.page-content{
  position:relative;
  overflow:hidden;
  color:#ecf3ff;
  border-radius:26px;
  padding:38px 34px;
  line-height:1.9;
  background:
    linear-gradient(135deg,rgba(46,232,255,.055),rgba(255,255,255,.025)),
    rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:
    0 24px 70px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4{
  color:#ffffff;
}

.page-content p,
.page-content li{
  color:rgba(236,243,255,.88);
}

/* ==============================
   底部
   ============================== */

.footer-site{
  padding:36px 0;
  border-top:1px solid var(--line);
  color:var(--muted);
  background:#050812;
}

/* ==============================
   移动端适配
   ============================== */

@media(max-width:900px){
  .menu{
    gap:14px;
    font-size:14px;
  }

  .hero-inner,
  .product-top{
    grid-template-columns:1fr;
  }

  .hero h1{
    font-size:42px;
  }

  .grid{
    grid-template-columns:1fr;
  }

  .products-layout{
    grid-template-columns:1fr;
  }

  .sidebar{
    position:static;
  }

  .kv{
    grid-template-columns:1fr;
  }

  .section-title{
    display:block;
  }

  .tabs{
    gap:24px;
    overflow-x:auto;
    flex-wrap:nowrap;
    padding-bottom:0;
    scrollbar-width:none;
  }

  .tabs::-webkit-scrollbar{
    display:none;
  }

  .tab-btn{
    flex:0 0 auto;
    font-size:15px;
    padding-bottom:14px;
    white-space:nowrap;
  }

  .tab-panel{
    padding:26px 20px;
    border-radius:20px;
  }

  .tab-panel h2{
    font-size:24px;
  }

  .tab-panel p,
  .tab-panel li{
    font-size:15px;
  }

  .param-table td{
    display:block;
    width:100%;
    padding:12px 14px;
  }

  .param-table td:first-child{
    width:100%;
    border-bottom:none;
  }
}
/* ==============================
   核心特性卡片布局
   ============================== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.feature-card {
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 4px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(180deg, #2ee8ff, #3c82ff);
  box-shadow: 0 0 16px rgba(46, 232, 255, 0.55);
}

.feature-card h3 {
  margin: 0 0 10px;
  padding-left: 8px;
  font-size: 20px;
  color: #ffffff;
  font-weight: 900;
}

.feature-card p {
  margin: 0;
  color: rgba(236, 243, 255, 0.84);
  font-size: 15px;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 20px 18px;
  }
}
/* 安装步骤 TAB：图片文字覆盖样式，追加到 /assets/css/style.css 最底部 */
.install-step-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-top:24px}
.install-step-card{position:relative;min-height:360px;border-radius:22px;overflow:hidden;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.10);box-shadow:0 20px 60px rgba(0,0,0,.28)}
.install-step-card img{width:100%;height:100%;min-height:360px;object-fit:cover;margin:0;border:none;border-radius:0;transition:transform .35s ease}
.install-step-card:hover img{transform:scale(1.04)}
.install-step-card::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.82),rgba(0,0,0,.36) 48%,rgba(0,0,0,.08)),linear-gradient(135deg,rgba(46,232,255,.12),transparent 45%);pointer-events:none}
.install-step-overlay{position:absolute;z-index:2;left:0;right:0;bottom:0;padding:28px;color:#fff}
.install-step-number{display:inline-flex;align-items:center;height:30px;padding:0 12px;border-radius:999px;margin-bottom:12px;background:rgba(46,232,255,.16);border:1px solid rgba(46,232,255,.38);color:#2ee8ff;font-size:13px;font-weight:900;letter-spacing:.8px}
.install-step-overlay h3{margin:0 0 10px;color:#fff;font-size:24px;line-height:1.25;font-weight:900}
.install-step-overlay p{margin:0;color:rgba(236,243,255,.90);font-size:16px;line-height:1.75;font-weight:600}
.install-step-placeholder{min-height:360px;display:flex;align-items:center;justify-content:center;color:rgba(236,243,255,.55);font-weight:900;background:linear-gradient(135deg,rgba(46,232,255,.08),rgba(255,255,255,.035)),rgba(255,255,255,.04)}
@media(max-width:900px){.install-step-grid{grid-template-columns:1fr}.install-step-card,.install-step-card img,.install-step-placeholder{min-height:300px}.install-step-overlay{padding:22px}.install-step-overlay h3{font-size:21px}.install-step-overlay p{font-size:15px}}
/* ==============================
   产品视频区块：一行4个视频卡片版
   ============================== */

.product-video-section {
  position: relative;
  padding: 76px 0 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 8%, rgba(46,232,255,.12), transparent 30%),
    radial-gradient(circle at 20% 20%, rgba(255,90,0,.055), transparent 28%),
    linear-gradient(180deg, #050812 0%, #070b14 100%);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.product-video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .55;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.product-video-section .container {
  position: relative;
  z-index: 1;
}

.product-video-section .section-title {
  margin-bottom: 30px;
}

.product-video-section .section-title h2 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0;
  color: #ffffff;
}

.product-video-section .section-title p {
  margin-top: 12px;
  color: rgba(184,201,223,.92);
  font-size: 17px;
  line-height: 1.75;
}

/* PC端：一行4个 */
.product-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
}

/* 视频卡片 */
.product-video-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(46,232,255,.065), rgba(255,255,255,.025)),
    rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 18px 50px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.product-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(46,232,255,.18), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.035), transparent 42%);
  opacity: .35;
}

/* 视频标题栏 */
.product-video-head {
  position: relative;
  z-index: 2;
  padding: 14px 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.product-video-head h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 900;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-video-head span {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #2ee8ff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(46,232,255,.12);
  border: 1px solid rgba(46,232,255,.32);
  box-shadow: 0 0 18px rgba(46,232,255,.12);
}

/* 16:9 自适应播放器 */
.responsive-video {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at center, rgba(46,232,255,.09), transparent 50%),
    linear-gradient(135deg, rgba(15,23,42,.96), rgba(2,6,23,.96));
}

/* 强制第三方 iframe 满宽 */
.responsive-video iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: none !important;
  border: 0 !important;
  display: block !important;
  background: #000;
}

/* 普通链接无法嵌入时 */
.video-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2ee8ff;
  font-weight: 900;
  font-size: 15px;
  background:
    linear-gradient(135deg, rgba(46,232,255,.10), rgba(255,255,255,.03)),
    #0b1220;
}

/* 中等屏幕：一行3个 */
@media(max-width:1200px) {
  .product-video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 平板：一行2个 */
@media(max-width:900px) {
  .product-video-section {
    padding: 52px 0 24px;
  }

  .product-video-section .section-title h2 {
    font-size: 32px;
  }

  .product-video-section .section-title p {
    font-size: 15px;
  }

  .product-video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .product-video-card {
    border-radius: 18px;
  }

  .product-video-head h3 {
    font-size: 15px;
  }
}

/* 手机：一行1个 */
@media(max-width:560px) {
  .product-video-grid {
    grid-template-columns: 1fr;
  }

  .product-video-head {
    padding: 16px;
  }

  .product-video-head h3 {
    font-size: 17px;
  }
}
/* 测试记录 TAB V1，追加到 /assets/css/style.css 最底部 */
.test-chart-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:24px 0}
.test-chart-card{padding:20px;border-radius:20px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.10)}
.test-chart-card h3{font-size:18px;margin:0 0 16px;color:#fff}
.test-bar-row{display:grid;grid-template-columns:110px 1fr 74px;gap:10px;align-items:center;margin:10px 0}
.test-bar-row span{font-size:13px;color:rgba(236,243,255,.78);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.test-bar-row div{height:10px;background:rgba(255,255,255,.08);border-radius:999px;overflow:hidden}
.test-bar-row div i{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#2ee8ff,#3c82ff);box-shadow:0 0 12px rgba(46,232,255,.55)}
.test-bar-row b{font-size:13px;color:#2ee8ff;text-align:right}
.test-record-list{display:flex;flex-direction:column;gap:22px;margin-top:24px}
.test-record-card{border-radius:24px;padding:24px;background:linear-gradient(135deg,rgba(46,232,255,.055),rgba(255,255,255,.025)),rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.10);box-shadow:0 24px 70px rgba(0,0,0,.28)}
.test-record-head span{display:inline-flex;padding:5px 12px;border-radius:999px;color:#2ee8ff;background:rgba(46,232,255,.12);border:1px solid rgba(46,232,255,.28);font-weight:900;font-size:13px}
.test-record-head h3{margin:12px 0 6px;color:#fff;font-size:24px}
.test-record-head p{margin:0;color:rgba(236,243,255,.72)}
.test-metric-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin:20px 0}
.test-metric-grid div{padding:16px 12px;border-radius:16px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.08);text-align:center}
.test-metric-grid strong{display:block;color:#2ee8ff;font-size:20px;line-height:1.25}
.test-metric-grid span{display:block;color:rgba(236,243,255,.72);font-size:13px;margin-top:6px}
.test-image-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}
.test-image-grid figure{margin:0;border-radius:18px;overflow:hidden;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.test-image-grid img{width:100%;aspect-ratio:16/9;object-fit:cover;margin:0;border:none;border-radius:0}
.test-image-grid figcaption{padding:10px 12px;color:rgba(236,243,255,.78);font-size:13px}
.test-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}
.test-detail-grid div{padding:18px;border-radius:18px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08)}
.test-detail-grid h4{margin:0 0 10px;color:#fff;font-size:17px}
.test-detail-grid p{margin:0;color:rgba(236,243,255,.84);line-height:1.75;font-size:14px}
@media(max-width:1100px){.test-chart-grid{grid-template-columns:1fr}.test-metric-grid{grid-template-columns:repeat(3,1fr)}.test-detail-grid{grid-template-columns:1fr}}
@media(max-width:760px){.test-metric-grid{grid-template-columns:repeat(2,1fr)}.test-image-grid{grid-template-columns:1fr}.test-bar-row{grid-template-columns:1fr}.test-bar-row b{text-align:left}.test-record-card{padding:18px}.test-record-head h3{font-size:20px}}
/* ==============================
   测试记录 TAB V1.1
   建议替换原 test-record / test-chart 相关 CSS
   ============================== */

.test-summary-sections {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 24px 0 28px;
}

.test-summary-block {
  padding: 20px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(46,232,255,.055), rgba(255,255,255,.025)),
    rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
}

.test-summary-block h3 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 22px;
}

.test-compare-grid.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.test-compare-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
}

.test-compare-card h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 17px;
}

.test-bar-row {
  display: grid;
  grid-template-columns: 150px 1fr 90px;
  gap: 12px;
  align-items: center;
  margin: 11px 0;
}

.test-bar-row span {
  font-size: 13px;
  color: rgba(236,243,255,.78);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.test-bar-row div {
  height: 10px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  overflow: hidden;
}

.test-bar-row div i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg,#2ee8ff,#3c82ff);
  box-shadow: 0 0 12px rgba(46,232,255,.55);
}

.test-bar-row b {
  font-size: 13px;
  color: #2ee8ff;
  text-align: right;
}

.test-record-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
}

.test-record-card {
  border-radius: 24px;
  padding: 24px;
  background:
    linear-gradient(135deg,rgba(46,232,255,.055),rgba(255,255,255,.025)),
    rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.test-record-head span {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  color: #2ee8ff;
  background: rgba(46,232,255,.12);
  border: 1px solid rgba(46,232,255,.28);
  font-weight: 900;
  font-size: 13px;
}

.test-record-head h3 {
  margin: 12px 0 6px;
  color: #fff;
  font-size: 24px;
}

.test-record-head p {
  margin: 0;
  color: rgba(236,243,255,.72);
}

.test-metric-grid {
  display: grid;
  grid-template-columns: repeat(6,1fr);
  gap: 12px;
  margin: 20px 0;
}

.test-metric-grid div {
  padding: 16px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  text-align: center;
}

.test-metric-grid strong {
  display: block;
  color: #2ee8ff;
  font-size: 20px;
  line-height: 1.25;
}

.test-metric-grid span {
  display: block;
  color: rgba(236,243,255,.72);
  font-size: 13px;
  margin-top: 6px;
}

.test-image-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 14px;
  margin: 20px 0;
}

.test-image-grid figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.test-image-grid img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin: 0;
  border: none;
  border-radius: 0;
}

.test-image-grid figcaption {
  padding: 10px 12px;
  color: rgba(236,243,255,.78);
  font-size: 13px;
}

.test-detail-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 18px;
}

.test-detail-grid div {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
}

.test-detail-grid h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 17px;
}

.test-detail-grid p {
  margin: 0;
  color: rgba(236,243,255,.84);
  line-height: 1.75;
  font-size: 14px;
}

@media(max-width:1100px) {
  .test-compare-grid.two-col {
    grid-template-columns: 1fr;
  }

  .test-metric-grid {
    grid-template-columns: repeat(3,1fr);
  }

  .test-detail-grid {
    grid-template-columns: 1fr;
  }
}

@media(max-width:760px) {
  .test-metric-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .test-image-grid {
    grid-template-columns: 1fr;
  }

  .test-bar-row {
    grid-template-columns: 1fr;
  }

  .test-bar-row b {
    text-align: left;
  }

  .test-record-card {
    padding: 18px;
  }

  .test-record-head h3 {
    font-size: 20px;
  }
}
/* ==============================
   测试中心 V1 - 完整优化版
   PC右侧测试卡片一行2个
   平板一行2个
   手机一行1个
   ============================== */

.test-center-hero,
.test-detail-hero {
  padding: 92px 0 52px;
  background:
    radial-gradient(circle at 80% 5%, rgba(46,232,255,.15), transparent 30%),
    radial-gradient(circle at 15% 20%, rgba(255,90,0,.055), transparent 28%),
    linear-gradient(180deg, #070b14, #050812);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.test-center-hero h1,
.test-detail-hero h1 {
  margin: 16px 0 14px;
  color: #fff;
  font-size: 52px;
  line-height: 1.12;
}

.test-center-hero p,
.test-detail-hero p {
  max-width: 880px;
  color: rgba(210,225,245,.86);
  font-size: 17px;
  line-height: 1.8;
}

.test-center-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.test-center-stats div {
  padding: 20px;
  border-radius: 18px;
  text-align: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}

.test-center-stats strong {
  display: block;
  color: #2ee8ff;
  font-size: 26px;
  line-height: 1.2;
}

.test-center-stats span {
  display: block;
  margin-top: 6px;
  color: rgba(236,243,255,.72);
  font-size: 14px;
}

/* 页面主体 */
.test-center-section,
.test-detail-section {
  padding: 54px 0;
  background: #050812;
}

.test-center-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

/* 左侧产品筛选 */
.test-product-sidebar {
  position: sticky;
  top: 24px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
}

.test-product-sidebar h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 20px;
}

.test-product-sidebar a {
  display: block;
  padding: 13px 14px;
  border-radius: 14px;
  color: rgba(236,243,255,.82);
  text-decoration: none;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.35;
}

.test-product-sidebar a.active,
.test-product-sidebar a:hover {
  color: #2ee8ff;
  background: rgba(46,232,255,.12);
}

/* 右侧标题和筛选 */
.test-center-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.test-center-toolbar h2 {
  margin: 0;
  color: #fff;
  font-size: 34px;
}

.test-center-toolbar p {
  margin: 8px 0 0;
  color: rgba(236,243,255,.72);
}

.test-type-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.test-type-filter a {
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(236,243,255,.78);
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.test-type-filter a.active,
.test-type-filter a:hover {
  color: #2ee8ff;
  background: rgba(46,232,255,.12);
  border-color: rgba(46,232,255,.30);
}

/* 右侧测试卡片：PC一行2个 */
.test-center-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

/* 测试卡片 */
.test-center-card {
  overflow: hidden;
  border-radius: 22px;
  text-decoration: none;
  background:
    linear-gradient(135deg, rgba(46,232,255,.055), rgba(255,255,255,.025)),
    rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 20px 60px rgba(0,0,0,.26);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.test-center-card:hover {
  transform: translateY(-3px);
  border-color: rgba(46,232,255,.28);
  box-shadow: 0 28px 80px rgba(0,0,0,.34);
}

.test-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b1220;
}

.test-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border: 0;
  border-radius: 0;
  display: block;
}

.test-card-image span {
  position: absolute;
  left: 12px;
  top: 12px;
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  color: #2ee8ff;
  background: rgba(0,0,0,.48);
  border: 1px solid rgba(46,232,255,.32);
  font-weight: 900;
  font-size: 13px;
}

.test-card-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(236,243,255,.38);
  font-weight: 900;
  letter-spacing: 1px;
}

.test-card-body {
  padding: 18px;
}

.test-card-body h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 20px;
  line-height: 1.38;
  font-weight: 900;
}

.test-card-body p {
  margin: 0 0 14px;
  color: rgba(236,243,255,.68);
  font-size: 14px;
  line-height: 1.5;
}

/* 卡片核心指标 */
.test-card-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.test-card-metrics b {
  display: block;
  min-width: 0;
  padding: 12px 8px;
  border-radius: 12px;
  text-align: center;
  color: #2ee8ff;
  background: rgba(255,255,255,.045);
  font-size: 16px;
  line-height: 1.25;
  word-break: keep-all;
  white-space: normal;
}

.test-card-metrics small {
  display: block;
  margin-top: 5px;
  color: rgba(236,243,255,.62);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  word-break: keep-all;
}

.test-empty {
  padding: 40px;
  border-radius: 22px;
  color: rgba(236,243,255,.76);
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
}

/* 测试详情页 */
.back-link {
  display: inline-flex;
  margin-bottom: 16px;
  color: #2ee8ff;
  text-decoration: none;
  font-weight: 900;
}

.detail-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #031018;
  background: #2ee8ff;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid rgba(46,232,255,.35);
}

.btn-link.ghost {
  color: #2ee8ff;
  background: rgba(46,232,255,.08);
}

.detail-metrics {
  margin-bottom: 24px;
}

/* 详情页图片 */
.test-detail-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 24px 0;
}

.test-detail-images figure {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
}

.test-detail-images img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin: 0;
  border: 0;
  border-radius: 0;
  display: block;
}

.test-detail-images figcaption {
  padding: 12px 14px;
  color: rgba(236,243,255,.74);
  font-size: 14px;
}

/* 详情页信息块 */
.test-detail-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.test-detail-info-grid > div {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.10);
}

.test-detail-info-grid h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 20px;
}

.test-detail-info-grid p {
  margin: 0;
  color: rgba(236,243,255,.82);
  line-height: 1.8;
  font-size: 15px;
}

/* 产品页测试摘要，后续 product.php 改造后使用 */
.product-test-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 24px 0;
}

.product-test-summary-grid div {
  padding: 20px;
  border-radius: 18px;
  text-align: center;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}

.product-test-summary-grid strong {
  display: block;
  color: #2ee8ff;
  font-size: 26px;
  line-height: 1.2;
}

.product-test-summary-grid span {
  display: block;
  margin-top: 6px;
  color: rgba(236,243,255,.72);
  font-size: 14px;
}

.test-center-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: #031018;
  background: #2ee8ff;
  text-decoration: none;
  font-weight: 900;
  border: 1px solid rgba(46,232,255,.35);
}

/* 平板 */
@media(max-width:1100px) {
  .test-center-layout {
    grid-template-columns: 1fr;
  }

  .test-product-sidebar {
    position: relative;
    top: auto;
  }

  .test-center-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .test-detail-info-grid {
    grid-template-columns: 1fr;
  }

  .test-center-stats,
  .product-test-summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 手机 */
@media(max-width:720px) {
  .test-center-hero,
  .test-detail-hero {
    padding: 66px 0 38px;
  }

  .test-center-hero h1,
  .test-detail-hero h1 {
    font-size: 38px;
  }

  .test-center-hero p,
  .test-detail-hero p {
    font-size: 15px;
  }

  .test-center-toolbar {
    flex-direction: column;
  }

  .test-type-filter {
    justify-content: flex-start;
  }

  .test-center-grid {
    grid-template-columns: 1fr;
  }

  .test-card-body h3 {
    font-size: 18px;
  }

  .test-card-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .test-card-metrics b {
    font-size: 15px;
    padding: 11px 6px;
  }

  .test-detail-images {
    grid-template-columns: 1fr;
  }

  .test-center-stats,
  .product-test-summary-grid {
    grid-template-columns: 1fr;
  }
}

/* 小屏手机，指标卡防止挤压 */
@media(max-width:420px) {
  .test-card-metrics {
    grid-template-columns: 1fr;
  }

  .test-card-metrics b {
    font-size: 16px;
  }
}