/* ============ 北京笛卡尔系科技有限公司官网样式 ============ */
:root {
  --bg: #06080d;
  --bg-soft: #0c1018;
  --bg-card: #10141d;
  --line: #1e2532;
  --text: #eef2f7;
  --text-dim: #9aa5b4;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --danger: #ef4444;
  --radius: 10px;
  --header-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* ---------------- 顶部导航 ---------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled {
  background: rgba(6, 8, 13, .88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 36px; width: auto; display: block; }
.logo-img-lg { height: 56px; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 2px solid var(--text);
  border-radius: 8px;
  font-weight: 800;
  font-size: 18px;
}
.logo-text { font-weight: 700; letter-spacing: 2px; font-size: 15px; }
.main-nav { display: flex; gap: 36px; }
.main-nav a {
  font-size: 15px;
  color: var(--text-dim);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--text); border-bottom-color: var(--accent); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 24px;
}

/* ---------------- 首页 Hero 轮播 ---------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility .9s;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 6s ease;
}
video.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slide.active .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6,8,13,.72) 0%, rgba(6,8,13,.25) 55%, rgba(6,8,13,.45) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.hero-title {
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 800;
  letter-spacing: 3px;
  line-height: 1.1;
}
.hero-subtitle {
  margin: 20px 0 36px;
  font-size: clamp(16px, 2vw, 22px);
  color: var(--text-dim);
  max-width: 640px;
}
.hero-slide.active .hero-title,
.hero-slide.active .hero-subtitle,
.hero-slide.active .btn-hero {
  animation: heroUp .8s ease both;
}
.hero-slide.active .hero-subtitle { animation-delay: .12s; }
.hero-slide.active .btn-hero { animation-delay: .24s; }
@keyframes heroUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(6,8,13,.35);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  transition: background .2s;
}
.hero-arrow:hover { background: rgba(6,8,13,.7); }
.hero-prev { left: 24px; }
.hero-next { right: 24px; }
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}
.hero-dot {
  width: 34px; height: 4px;
  border: none;
  border-radius: 2px;
  background: rgba(255,255,255,.3);
  transition: background .3s;
}
.hero-dot.active { background: var(--text); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: scale(.97); }
.btn-hero { background: var(--text); color: #06080d; }
.btn-hero:hover { background: var(--accent-hover); color: #06080d; }
.btn-hero .btn-arrow { transition: transform .2s; }
.btn-hero:hover .btn-arrow { transform: translateX(4px); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-hover); }
.btn-block { width: 100%; justify-content: center; }

/* ---------------- 通用区块 ---------------- */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 24px;
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: 1px; }
.section-sub { margin-top: 8px; color: var(--text-dim); letter-spacing: 4px; font-size: 13px; }

.page-hero {
  padding: calc(var(--header-h) + 90px) 24px 70px;
  text-align: center;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, #101a2e 0%, var(--bg) 70%);
}
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.page-hero p { margin-top: 12px; color: var(--text-dim); letter-spacing: 2px; }

/* ---------------- 产品卡片 ---------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
}
.product-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  /* 产品图背后的深色渐变光晕背景(调亮) */
  background: radial-gradient(ellipse 75% 90% at 50% 62%, #2c4468 0%, #101c30 55%, #06080d 100%);
}
.product-card-img img,
.product-card-img video { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
/* 行业应用/新闻卡片保持铺满(横版素材) */
.app-video-card .product-card-img img,
.app-video-card .product-card-img video,
.news-card .product-card-img img,
.news-card .product-card-img video { object-fit: cover; }
.product-card:hover .product-card-img img,
.product-card:hover .product-card-img video { transform: scale(1.03); }
.product-card-cat {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(6,8,13,.65);
  backdrop-filter: blur(6px);
  font-size: 12px;
  letter-spacing: 1px;
}
/* 文字浮在图片底部,渐变压底保证可读性 */
.product-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 56px 24px 20px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 45%, rgba(0,0,0,.88) 100%);
  pointer-events: none;
}
.product-card-body h3 { font-size: 20px; font-weight: 700; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.product-card-body p { margin-top: 4px; color: #cdd5e0; font-size: 14px; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.product-card-more {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--accent-hover);
}
.empty-tip { text-align: center; color: var(--text-dim); padding: 60px 0; }

/* ---------------- 产品详情 ---------------- */
.detail-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 56px) 24px 40px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: start;
}
.gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(ellipse 75% 90% at 50% 62%, #2c4468 0%, #101c30 55%, #06080d 100%);
  aspect-ratio: 16 / 10;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main video { width: 100%; height: 100%; object-fit: contain; }
.gallery-empty {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
}
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.gallery-thumb {
  width: 96px; height: 64px;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--line);
  background: none;
  transition: border-color .2s;
}
.gallery-thumb img, .gallery-thumb video { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--accent); }
.detail-cat {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 1px;
}
.detail-name { margin-top: 16px; font-size: clamp(30px, 4vw, 46px); font-weight: 800; }
.detail-tagline { margin-top: 10px; font-size: 18px; color: var(--text-dim); }
.detail-video { width: 100%; margin-top: 28px; border-radius: var(--radius); }
.detail-info .btn { margin-top: 28px; }
.detail-section { padding-top: 48px; padding-bottom: 24px; }
.detail-section .section-head { text-align: left; margin-bottom: 28px; }
.detail-desc { color: #c6ceda; max-width: 860px; }
.detail-desc p { margin-bottom: 14px; }
.spec-table {
  width: 100%;
  max-width: 860px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-table th, .spec-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table tr:nth-child(odd) { background: var(--bg-soft); }
.spec-table th { width: 220px; color: var(--text-dim); font-weight: 500; }
.detail-back { padding-top: 24px; }

/* ---------------- 页脚 ---------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); }
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer-col h4 { margin-bottom: 14px; font-size: 15px; }
.footer-col p { color: var(--text-dim); font-size: 14px; margin-bottom: 6px; }
.footer-col a:hover { color: var(--accent-hover); }
.footer-slogan { margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 20px 24px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
}
.footer-bottom .icp-link { color: var(--text-dim); }
.footer-bottom .icp-link:hover { color: var(--accent-hover); }

/* ---------------- 登录页 ---------------- */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(ellipse 60% 60% at 50% 20%, #101a2e 0%, var(--bg) 70%);
}
.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.login-card h1 { text-align: center; font-size: 22px; }
.login-logo { justify-content: center; }
.login-logo .logo-mark { width: 48px; height: 48px; font-size: 24px; }

/* ---------------- 后台 ---------------- */
.admin-wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 40px) 24px 80px;
}
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.admin-nav a {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-dim);
  border: 1px solid transparent;
  transition: all .2s;
}
.admin-nav a:hover { color: var(--text); border-color: var(--line); }
.admin-nav a.active { background: var(--text); color: #06080d; font-weight: 600; }
.admin-nav a.admin-logout { margin-left: auto; color: var(--danger); }
.admin-title { font-size: 26px; font-weight: 800; margin-bottom: 24px; }
.admin-subtitle { margin: 40px 0 16px; font-size: 18px; }
.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.admin-head .admin-title { margin-bottom: 0; }

.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.admin-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.admin-card-num { font-size: 40px; font-weight: 800; }
.admin-card-label { margin-top: 4px; color: var(--text-dim); }
.admin-card-action { margin-top: 14px; font-size: 13px; color: var(--accent-hover); }

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.admin-table th, .admin-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  vertical-align: middle;
}
.admin-table tr:last-child th, .admin-table tr:last-child td { border-bottom: none; }
.admin-table thead th { background: var(--bg-soft); color: var(--text-dim); font-weight: 500; }
.admin-table > tr > th, .admin-table tbody th { width: 140px; color: var(--text-dim); font-weight: 500; background: var(--bg-soft); }
.admin-table-list a:hover { color: var(--accent-hover); }
.table-thumb { width: 88px; height: 52px; object-fit: cover; border-radius: 6px; }
.cell-dim { color: var(--text-dim); max-width: 220px; }
.cell-ops { white-space: nowrap; }
.cell-order { white-space: nowrap; }
.cell-order button, .op-del, .op-edit {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  border: 1px solid var(--line);
  background: none;
  color: var(--text);
  transition: all .2s;
}
.cell-order button:hover:not(:disabled), .op-edit:hover { border-color: var(--accent); color: var(--accent-hover); }
.cell-order button:disabled { opacity: .3; cursor: default; }
.op-del { color: var(--danger); margin-left: 8px; }
.op-del:hover { border-color: var(--danger); }
.inline-form { display: inline; }
.inline-form button { font-family: inherit; }

/* ---------------- 后台表单 ---------------- */
.admin-form { display: flex; flex-direction: column; gap: 22px; max-width: 760px; }
.admin-form label, .form-label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text-dim);
  flex: 1;
}
.admin-form input[type="text"],
.admin-form input[type="email"],
.admin-form input[type="password"],
.admin-form textarea {
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s;
}
.admin-form input:focus, .admin-form textarea:focus { outline: none; border-color: var(--accent); }
.admin-form textarea { resize: vertical; }
.form-row { display: flex; gap: 20px; flex-wrap: wrap; }
.checkbox-label {
  flex-direction: row !important;
  align-items: center;
  gap: 10px !important;
  justify-content: flex-start;
  align-self: flex-end;
  padding-bottom: 12px;
}
.checkbox-label input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-actions { display: flex; gap: 14px; margin-top: 8px; }

/* 上传组件 */
.upload-box {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.upload-preview {
  width: 240px; height: 110px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
}
.upload-preview img, .upload-preview video { width: 100%; height: 100%; object-fit: cover; }
.upload-status { font-size: 13px; color: var(--text-dim); }
.upload-status.error { color: var(--danger); }
.upload-status.ok { color: #34d399; }

.multi-images { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.multi-image-item {
  position: relative;
  width: 150px; height: 94px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.multi-image-item img, .multi-image-item video { width: 100%; height: 100%; object-fit: cover; }
.multi-image-del {
  position: absolute;
  top: 4px; right: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(6,8,13,.75);
  color: #fff;
  font-size: 14px;
  line-height: 1;
}
.multi-image-del:hover { background: var(--danger); }

/* 参数行 */
.spec-row { display: flex; gap: 12px; margin-bottom: 10px; align-items: center; }
.spec-row input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 14px;
}
.spec-row input:focus { outline: none; border-color: var(--accent); }
.spec-del {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: none;
  color: var(--danger);
  font-size: 16px;
}
.spec-del:hover { border-color: var(--danger); }

/* 提示消息 */
.flash-wrap { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.flash {
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid;
}
.flash-success { background: rgba(52,211,153,.1); border-color: rgba(52,211,153,.4); color: #34d399; }
.flash-error { background: rgba(239,68,68,.1); border-color: rgba(239,68,68,.4); color: var(--danger); }

/* ---------------- 响应式 ---------------- */
@media (max-width: 900px) {
  .detail-wrap { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(6,8,13,.97);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s;
  }
  .main-nav.open { max-height: 300px; }
  .main-nav a { padding: 16px 24px; border-bottom: none; border-top: 1px solid var(--line); }
  .hero-arrow { display: none; }
  .section { padding: 64px 20px; }
  .form-row { flex-direction: column; gap: 22px; }
  .spec-row { flex-wrap: wrap; }
}

/* ---------------- 导航:搜索框与采购合作按钮 ---------------- */
.main-nav { align-items: center; }

/* 悬停下拉菜单 */
.nav-item.has-dropdown { position: relative; }
.nav-item.has-dropdown > a { display: inline-block; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 220px;
  padding: 10px;
  background: rgba(12, 16, 24, .97);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}
/* 桥接父项与菜单之间的空隙,防止移动鼠标时菜单消失 */
.dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-item.has-dropdown:hover .dropdown,
.nav-item.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.dropdown a {
  display: block;
  padding: 10px 14px !important;
  border-bottom: none !important;
  border-radius: 8px;
  font-size: 14px !important;
  color: var(--text-dim);
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.dropdown a:hover { background: rgba(59, 130, 246, .12); color: var(--text) !important; }
.dropdown .dropdown-all {
  margin-top: 6px;
  border-top: 1px solid var(--line) !important;
  border-radius: 0 0 8px 8px;
  color: var(--accent-hover) !important;
  font-weight: 600;
}
.dropdown-ver { color: var(--text-dim); font-size: 12px; margin-left: 4px; }
.nav-search input {
  width: 130px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 13px;
  transition: width .25s, border-color .2s;
}
.nav-search input:focus { outline: none; width: 180px; border-color: var(--accent); }
.nav-cta {
  padding: 8px 20px !important;
  border-radius: 999px;
  background: var(--text);
  color: #06080d !important;
  font-weight: 700;
  border-bottom: none !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--accent-hover); }

/* ---------------- 服务支持分类卡片 ---------------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.cat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: transform .25s, border-color .25s;
}
.cat-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.cat-card-icon { font-size: 30px; margin-bottom: 14px; }
.cat-card h3 { font-size: 19px; margin-bottom: 6px; }
.cat-card p { color: var(--text-dim); font-size: 14px; margin-bottom: 12px; }
.admin-tip { color: var(--text-dim); margin: -12px 0 24px; font-size: 14px; }
.admin-title-sub { font-size: 14px; color: var(--text-dim); font-weight: 400; margin-left: 10px; }

/* ---------------- 页面列表(支持分类/搜索结果) ---------------- */
.page-list { max-width: 860px; margin: 0 auto; }
.page-list-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card);
  margin-bottom: 12px;
  transition: border-color .2s, transform .2s;
}
.page-list-item:hover { border-color: var(--accent); transform: translateX(4px); }
.page-list-title { font-size: 16px; font-weight: 600; }
.page-list-badge {
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 12px;
}
.page-list-dim { color: var(--text-dim); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
.page-list-arrow { margin-left: auto; color: var(--accent-hover); }
.crumb-link { color: var(--text-dim); }
.crumb-link:hover { color: var(--accent-hover); }

/* ---------------- 文章页与附件 ---------------- */
.article-section { max-width: 860px; padding-top: 56px; }
.attach-block { margin-top: 44px; border-top: 1px solid var(--line); padding-top: 28px; }
.attach-block h3 { margin-bottom: 14px; font-size: 17px; }
.attach-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  margin: 0 10px 10px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-card);
  font-size: 14px;
  transition: border-color .2s, color .2s;
}
.attach-item:hover { border-color: var(--accent); color: var(--accent-hover); }
.attach-icon { color: var(--accent-hover); }

/* ---------------- 下载页 ---------------- */
.download-list { display: flex; flex-direction: column; gap: 22px; max-width: 900px; margin: 0 auto; }
.download-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 34px;
  transition: border-color .2s;
}
.download-card:hover { border-color: var(--accent); }
.download-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.download-head h3 { font-size: 21px; }
.download-cat {
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(59,130,246,.15);
  color: var(--accent-hover);
  font-size: 13px;
}
.download-meta { display: flex; gap: 8px; margin-left: auto; }
.badge {
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text-dim);
  font-size: 12px;
}
.badge-ver { color: var(--text); border-color: var(--accent); }
.download-desc { margin-top: 12px; color: #c6ceda; }
.download-notes {
  margin-top: 16px;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--bg-soft);
  border-radius: 0 8px 8px 0;
}
.download-notes-label { font-size: 12px; letter-spacing: 2px; color: var(--accent-hover); }
.download-notes p { margin-top: 4px; font-size: 14px; color: var(--text-dim); }
.download-actions { margin-top: 20px; }
.download-soon { color: var(--text-dim); font-size: 14px; }

/* ---------------- 采购合作页 ---------------- */
.contact-hero { background: radial-gradient(ellipse 60% 80% at 50% 0%, #14243f 0%, var(--bg) 70%); }
.contact-section { padding-top: 56px; }
.contact-intro { max-width: 760px; margin: 0 auto 44px; text-align: center; font-size: 17px; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}
.contact-card-label { color: var(--text-dim); font-size: 13px; letter-spacing: 2px; margin-bottom: 10px; }
.contact-card-value { font-size: 18px; font-weight: 600; word-break: break-all; }
.contact-card-value a:hover { color: var(--accent-hover); }
.contact-card-cta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }

/* ---------------- 站内搜索页 ---------------- */
.search-section { padding-top: 56px; max-width: 860px; }
.search-big { display: flex; gap: 14px; margin-bottom: 36px; }
.search-big input {
  flex: 1;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--text);
  font-size: 16px;
}
.search-big input:focus { outline: none; border-color: var(--accent); }
.search-count { color: var(--text-dim); margin-bottom: 28px; }
.search-group { margin-bottom: 36px; }
.search-group-title { font-size: 18px; margin-bottom: 14px; color: var(--accent-hover); }

/* ---------------- 后台附件行 ---------------- */
.attach-row { display: flex; gap: 12px; margin-bottom: 10px; align-items: center; }
.attach-row input[type="text"] {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 14px;
}
.attach-view { font-size: 13px; color: var(--accent-hover); white-space: nowrap; }
.attach-del {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: none;
  color: var(--danger);
  font-size: 16px;
}
.attach-del:hover { border-color: var(--danger); }

@media (max-width: 720px) {
  .nav-search { padding: 12px 24px; }
  .nav-search input { width: 100%; }
  .nav-search input:focus { width: 100%; }
  .nav-cta { margin: 12px 24px; text-align: center; }
  .download-head h3 { width: 100%; }
  .download-meta { margin-left: 0; }
  .search-big { flex-direction: column; }
  /* 移动端下拉菜单展开为静态子列表 */
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0;
    min-width: 0;
  }
  .dropdown::before { display: none; }
  .dropdown a { padding-left: 44px !important; }
  .dropdown .dropdown-all { border-top: none !important; }
}

/* 锚点跳转时避开固定导航栏 */
.download-card { scroll-margin-top: calc(var(--header-h) + 16px); }

/* ---------------- 首页行业应用视频区 ---------------- */
.app-video-card .product-card-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.app-video-card:hover .product-card-img video { transform: scale(1.03); }
.app-video-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(6,8,13,.65);
  backdrop-filter: blur(6px);
  font-size: 12px;
  letter-spacing: 1px;
}
/* 支持页附件视频内联播放 */
.attach-video {
  display: block;
  max-width: 100%;
  margin: 0 0 6px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #000;
}
.attach-video-name { color: var(--text-dim); font-size: 13px; margin-bottom: 14px; }

/* 产品详情页:应用场景小图 */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.scene-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
  background: #000;
  transition: border-color .2s, transform .2s;
}
.scene-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.scene-card img { width: 100%; height: 100%; object-fit: cover; }

/* 区块底部"查看更多"按钮 */
.section-more { text-align: center; margin-top: 44px; }
.section-more .btn-outline .btn-arrow { transition: transform .2s; }
.section-more .btn-outline:hover .btn-arrow { transform: translateX(4px); }

/* 首页精选产品:两排四个 */
.featured-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) {
  .featured-grid { grid-template-columns: 1fr; }
}

/* 后台首页展示开关 */
.featured-toggle input { width: 20px; height: 20px; accent-color: var(--accent); cursor: pointer; }

/* ---------------- 新闻详情页 ---------------- */
.news-detail-hero h1 { max-width: 900px; margin: 10px auto 14px; }
.news-detail-date { color: var(--accent-hover); letter-spacing: 2px; font-size: 14px; }
.news-detail-img { padding-top: 0; padding-bottom: 0; max-width: 900px; }
.news-detail-img img, .news-detail-img video { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); background: #000; }
