@charset "utf-8";
/* =========================================================
   新模板补充样式：内页、列表、表单、会员中心、视频、表格
   ========================================================= */

/* ============ 内页横幅 ============ */
.page-banner {
  position: relative;
  background: linear-gradient(120deg, #16305a, #0e2038 60%, #123f7d);
  padding: 60px 0; text-align: center; color: #fff;
  overflow: hidden;
}
.page-banner.has-bg { background-size: cover; background-position: center; }
.page-banner.has-bg::before {
  content: ""; position: absolute; inset: 0; background: rgba(14, 32, 56, .62);
}
.page-banner > * { position: relative; z-index: 1; }
.page-banner h2 { font-size: 32px; letter-spacing: 4px; margin-bottom: 8px; }
.page-banner p { color: #9aa5b4; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }

/* ============ 面包屑 ============ */
.breadcrumb {
  padding: 20px 0; font-size: 13px; color: #77828f; border-bottom: 1px solid #eef2f7; margin-bottom: 40px;
}
.breadcrumb a { color: #77828f; transition: .3s; }
.breadcrumb a:hover { color: #1c60b8; }
.breadcrumb span { color: #22344f; }

/* ============ 通用文本/卡片 ============ */
.section-tight { padding: 40px 0 70px; }
.text-center { text-align: center; }
.mt20 { margin-top: 20px; }
.mb20 { margin-bottom: 20px; }

.card-box {
  background: #fff; border: 1px solid #e8edf4; border-radius: 8px;
  padding: 34px 38px; box-shadow: 0 6px 22px rgba(20, 40, 70, .04);
}

/* 正文排版（简介、技术支持、新闻详情等富文本） */
.article { color: #444; font-size: 15px; line-height: 1.9; }
.article p { margin-bottom: 16px; }
.article h2, .article h3, .article h4 { color: #17335a; margin: 22px 0 12px; line-height: 1.5; }
.article img { max-width: 100%; height: auto; margin: 16px 0; border-radius: 4px; }
.article iframe { max-width: 100%; width: 100%; height: 380px; border: 0; }
.about-float { float: right; width: 38%; max-width: 420px; margin: 0 0 18px 30px; border-radius: 6px; box-shadow: 0 10px 26px rgba(20, 40, 70, .12); }
@media (max-width: 768px) { .about-float { float: none; width: 100%; max-width: none; margin: 0 0 16px; } }
.article table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.article table td, .article table th { border: 1px solid #e8edf4; padding: 10px 12px; }
.article ul, .article ol { padding-left: 22px; margin-bottom: 16px; }
.article ul li { list-style: disc; }
.article ol li { list-style: decimal; }
.article a { color: #1c60b8; }
.article a:hover { color: #e87a20; }
.article strong { color: #17335a; }

/* ============ 空状态 ============ */
.empty-state {
  padding: 64px 20px; text-align: center; color: #9aa5b4; background: #fff;
  border: 1px dashed #dde5f0; border-radius: 8px;
}
.empty-state b { display: block; font-size: 17px; color: #77828f; margin-bottom: 8px; font-weight: normal; }
.empty-state p { font-size: 14px; }

/* ============ 内页表单（浅色背景） ============ */
.ipt, select.ipt, textarea.ipt {
  width: 100%; padding: 10px 14px; border: 1px solid #d6dee9; border-radius: 3px;
  background: #fff; color: #33455f; font: inherit; outline: none; transition: .3s;
}
.ipt:focus, select.ipt:focus, textarea.ipt:focus { border-color: #1c60b8; box-shadow: 0 0 0 3px rgba(28, 96, 184, .08); }
textarea.ipt { resize: vertical; min-height: 110px; }

.form-row { display: flex; gap: 16px; margin-bottom: 16px; align-items: flex-start; }
.form-row > label { flex: 0 0 110px; text-align: right; color: #556; padding-top: 10px; font-size: 15px; }
.form-row .field { flex: 1; min-width: 0; }
.form-row .help { display: block; color: #9aa5b4; font-size: 12.5px; margin-top: 6px; }
.form-actions { padding-left: 126px; }

.req { color: #e23c3c; }

/* 会员中心表单卡片 */
.form-card { background: #fff; border: 1px solid #e8edf4; border-radius: 8px; padding: 30px 34px; }
.form-card .form-row > label { padding-top: 8px; }

/* ============ 表格（会员列表/下载列表等） ============ */
.tpl-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 14px; }
.tpl-table th {
  background: #f7f9fc; color: #17335a; font-weight: 600; text-align: left;
  padding: 12px 14px; border-bottom: 2px solid #e8edf4; white-space: nowrap;
}
.tpl-table td { padding: 12px 14px; border-bottom: 1px solid #eef2f7; color: #556; }
.tpl-table tr:hover td { background: #fafcff; }
.tpl-table a { color: #1c60b8; }
.tpl-table a:hover { color: #e87a20; }
.tpl-table .num { color: #e87a20; font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* ============ 侧栏（分类 / 会员菜单） ============ */
.side-nav { background: #f7f9fc; border: 1px solid #e8edf4; border-radius: 6px; overflow: hidden; }
.side-nav .side-head {
  background: #1c60b8; color: #fff; padding: 16px 20px; font-size: 16px; letter-spacing: 1px;
}
.side-nav .side-head span {
  display: block; font-size: 11px; letter-spacing: 2px; color: rgba(255, 255, 255, .7); text-transform: uppercase;
}
.side-nav ul { list-style: none; padding: 0; margin: 0; }
.side-nav li { border-bottom: 1px solid #e8edf4; }
.side-nav li:last-child { border-bottom: none; }
.side-nav li a {
  display: block; padding: 14px 20px 14px 26px; font-size: 15px; color: #33455f; position: relative; transition: .3s;
}
.side-nav li a::before {
  content: "›"; position: absolute; right: 20px; top: 13px; color: #d6dee9; font-size: 18px; line-height: 1; transition: .3s;
}
.side-nav li a:hover, .side-nav li.on a { background: #fff; color: #e87a20; }
.side-nav li.on a::before, .side-nav li a:hover::before { color: #e87a20; }

.member-layout { display: flex; gap: 32px; align-items: flex-start; }
.member-layout .member-side { flex: 0 0 240px; }
.member-layout .member-main { flex: 1; min-width: 0; }

/* ============ 搜索 ============ */
.search-box { display: flex; gap: 10px; max-width: 620px; margin: 0 auto 36px; }
.search-box .ipt { flex: 1; }
.search-box .btn { white-space: nowrap; border: 0; cursor: pointer; }

/* 搜索结果 / 简易列表 */
.simple-list { background: #fff; border: 1px solid #e8edf4; border-radius: 8px; overflow: hidden; }
.simple-list li { border-bottom: 1px dashed #e8edf4; }
.simple-list li:last-child { border-bottom: none; }
.simple-list li a {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 15px 22px; color: #33455f; transition: .3s;
}
.simple-list li a:hover { background: #f7fbff; color: #1c60b8; padding-left: 28px; }
.simple-list li a span { flex: 0 0 auto; color: #9aa5b4; font-size: 13px; }

/* ============ 分页 ============ */
.pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 46px; }
.page-btn {
  min-width: 38px; height: 38px; padding: 0 12px; border: 1px solid #d6dee9; background: #fff;
  color: #556; border-radius: 4px; cursor: pointer; transition: .3s; text-decoration: none;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
}
.page-btn:hover, .page-btn.active {
  background: #1c60b8; color: #fff; border-color: #1c60b8; box-shadow: 0 4px 10px rgba(28, 96, 184, .2);
}
.page-btn.disabled { opacity: .45; cursor: not-allowed; background: #f5f7fa; }
.page-info { color: #9aa5b4; font-size: 13px; margin: 0 6px; align-self: center; }

/* ============ 产品详情补充 ============ */
.detail-sub { color: #9aa5b4; font-size: 13px; letter-spacing: 1px; margin-bottom: 18px; }
.detail-pics { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; justify-content: center; }
.detail-pics img {
  width: 90px; height: 90px; object-fit: cover; border: 1px solid #e8edf4; border-radius: 4px; cursor: pointer;
}
.detail-pics img:hover { border-color: #1c60b8; }
.tab-pane { padding: 30px; font-size: 15px; color: #556; line-height: 1.9; }
.related-title { display: flex; align-items: center; gap: 14px; margin: 54px 0 22px; }
.related-title h3 { font-size: 21px; color: #17335a; white-space: nowrap; }
.related-title i { flex: 1; height: 1px; background: #e8edf4; display: block; }

/* ============ 视频页 ============ */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video-card { background: #fff; border: 1px solid #e8edf4; border-radius: 6px; overflow: hidden; transition: .35s; }
.video-card:hover { box-shadow: 0 12px 28px rgba(20, 50, 90, .14); transform: translateY(-6px); }
.video-card .pic { position: relative; display: block; overflow: hidden; background: #0e2038; }
.video-card .pic img { width: 100%; height: 190px; object-fit: cover; transition: .5s; opacity: .92; }
.video-card:hover .pic img { transform: scale(1.06); }
.video-card .pic::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 0; height: 0; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .4));
}
.video-card h4 { padding: 14px 16px; font-size: 15.5px; color: #22344f; }
.video-card:hover h4 { color: #1c60b8; }
.player-box { background: #000; border-radius: 8px; overflow: hidden; }
.player-box video { display: block; width: 100%; max-height: 620px; background: #000; }

/* ============ 下载列表 ============ */
.dl-list { background: #fff; border: 1px solid #e8edf4; border-radius: 8px; padding: 6px 22px; }
.dl-list li:last-child { border-bottom: none; }

/* ============ 新闻详情排版 ============ */
.news-detail-wrap { background: #fff; padding: 40px; border: 1px solid #e8edf4; border-radius: 8px; max-width: 940px; margin: 0 auto; }
.news-detail-title { font-size: 27px; color: #17335a; text-align: center; margin-bottom: 18px; line-height: 1.45; }
.news-detail-meta { text-align: center; color: #9aa5b4; font-size: 13.5px; padding-bottom: 18px; border-bottom: 1px dashed #dde5f0; margin-bottom: 28px; }
.news-detail-meta span { margin: 0 10px; }
.news-detail-content { font-size: 15px; line-height: 1.95; color: #444; }
.news-detail-content p { margin-bottom: 18px; }
.news-detail-content img { max-width: 100%; height: auto; margin: 16px auto; border-radius: 4px; }
.news-detail-content a { color: #1c60b8; }
.prev-next { margin-top: 36px; border-top: 1px dashed #dde5f0; padding-top: 20px; font-size: 14px; }
.prev-next dl { display: flex; gap: 10px; margin-bottom: 8px; color: #77828f; }
.prev-next dt { flex: 0 0 68px; }
.prev-next dd { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prev-next a { color: #33455f; }
.prev-next a:hover { color: #1c60b8; }

/* ============ 关于我们（简介页） ============ */
.about-page-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 46px; align-items: start; margin-bottom: 20px; }
.about-page-txt h2 { font-size: 25px; color: #17335a; margin-bottom: 18px; }
.about-page-pic img { width: 100%; border-radius: 6px; box-shadow: 0 12px 30px rgba(20, 40, 70, .12); }
.about-page-pic { position: relative; }

/* ============ 联系页 ============ */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-panel { background: #f7f9fc; border: 1px solid #e8edf4; border-radius: 8px; padding: 36px 40px; }
.contact-panel h3 { color: #17335a; font-size: 21px; margin-bottom: 20px; }
.contact-panel p { margin-bottom: 14px; color: #556; }
.contact-panel p b { color: #17335a; font-weight: 600; display: inline-block; min-width: 88px; }
.contact-form-panel { background: #0e2038; border-radius: 8px; padding: 36px 40px; }
.contact-form-panel h3 { color: #fff; font-size: 21px; margin-bottom: 20px; }
.contact-form-panel .contact-form .btn { border: 0; cursor: pointer; margin-top: 6px; }
.form-tip { margin-top: 12px; font-size: 13px; }

/* ============ 数字统计 ============ */
.stats .stat span { display: block; }

/* ============ 响应式补充 ============ */
@media (max-width: 992px) {
  .member-layout { flex-direction: column; gap: 24px; }
  .member-layout .member-side { width: 100%; flex: none; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .about-page-grid { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .news-detail-wrap { padding: 26px; }
  .card-box { padding: 24px; }
}
@media (max-width: 768px) {
  .video-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; gap: 6px; }
  .form-row > label { flex: none; text-align: left; padding-top: 0; }
  .form-actions { padding-left: 0; }
  .page-banner { padding: 42px 0; }
  .page-banner h2 { font-size: 23px; }
  .breadcrumb { margin-bottom: 26px; }
  .simple-list li a { flex-direction: column; align-items: flex-start; gap: 4px; }
  .news-detail-title { font-size: 21px; }
  .contact-panel, .contact-form-panel { padding: 24px; }
  .prev-next dd { white-space: normal; }
}

/* ============ 顶部搜索（顶部信息栏内） ============ */
.topbar-in { align-items: center; }
.top-search { display: flex; align-items: center; gap: 0; margin: 0 auto; }
.top-search input {
  width: 190px; height: 26px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .18);
  border-right: 0; border-radius: 3px 0 0 3px; background: rgba(255, 255, 255, .08);
  color: #dfe8f3; font: inherit; font-size: 12.5px; outline: none;
}
.top-search input::placeholder { color: #7d8da2; }
.top-search button {
  height: 26px; padding: 0 14px; border: 1px solid rgba(255, 255, 255, .18); border-left: 0;
  border-radius: 0 3px 3px 0; background: #1c60b8; color: #fff; font-size: 12.5px; cursor: pointer;
  transition: .3s;
}
.top-search button:hover { background: #e87a20; }
@media (max-width: 992px) { .top-search input { width: 140px; } }
@media (max-width: 768px) { .top-search { display: none; } }

/* ============ 导航宽度微调（栏目较多时保持一行） ============ */
@media (min-width: 993px) {
  .header-in { flex-wrap: nowrap; }
  .nav { flex-wrap: nowrap; }
  .nav > a, .nav > .has-sub > .sub-toggle { white-space: nowrap; }
  .nav a { padding: 0 9px; font-size: 15px; }
  .nav a::after { left: 9px; right: 9px; }
  .sub-toggle { padding-right: 14px; }
  .sub-toggle::after { right: 8px; }
  .logo img { height: 46px; }
}
/* 产品分类按钮更紧凑，10 个分类一行放得下 */
.product-tabs { gap: 8px; }
.product-tabs button { padding: 6px 15px; font-size: 14px; }

/* ============ 列表页左右布局 ============ */
.list-layout { display: flex; gap: 32px; align-items: flex-start; }
.list-side { flex: 0 0 240px; }
.list-main { flex: 1; min-width: 0; }
.list-main .product-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 992px) {
  .list-layout { flex-direction: column; gap: 24px; }
  .list-side { width: 100%; flex: none; }
  .list-main .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .list-main .product-grid { grid-template-columns: 1fr; }
}

/* ============ 下拉菜单定位 ============ */
/* left 参与过渡会让贴边微调出现“滑动”延迟，这里只过渡透明度/位移Y */
.submenu { transition: opacity .28s, visibility .28s, transform .28s; }
/* ============ 视频播放器（自定义控制条 / 加载进度 / 水印） ============ */
.player-box {
  position: relative; width: 100%; max-width: 420px; margin: 0 auto;
  aspect-ratio: 9 / 16; max-height: 74vh;
  background: #000; border-radius: 10px; overflow: hidden;
}
.player-bg {
  position: absolute; inset: -24px; z-index: 0;
  background-size: cover; background-position: center; background-color: #0a1626;
  filter: blur(24px) saturate(1.15); opacity: .5;
}
.player-poster {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: contain;
}
.player-box video {
  position: relative; z-index: 2;
  display: block; width: 100%; height: 100%; max-height: none;
  object-fit: contain; background: transparent;
}
.player-watermark {
  position: absolute; top: 12px; right: 12px; height: 26px; width: auto;
  opacity: .92; pointer-events: none; z-index: 4;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .45));
}
.player-loading {
  position: absolute; inset: 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  gap: 10px; padding-bottom: 96px;
  background: rgba(0, 0, 0, .16); color: #fff; transition: opacity .35s;
  pointer-events: none; text-shadow: 0 1px 4px rgba(0, 0, 0, .6);
}
.player-loading.hide { opacity: 0; visibility: hidden; }
.player-spinner {
  width: 34px; height: 34px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .25); border-top-color: #e87a20;
  animation: pspin 1s linear infinite;
}
@keyframes pspin { to { transform: rotate(360deg); } }
.player-loading-txt { font-size: 13px; letter-spacing: 1px; }
.player-loading-txt b { color: #ffb877; font-weight: 600; }
.player-loading-bar {
  width: 180px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden;
}
.player-loading-bar i { display: block; width: 0; height: 100%; background: #e87a20; transition: width .2s; }

.player-bigplay {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 74px; height: 74px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(28, 96, 184, .85); color: #fff; cursor: pointer; z-index: 5;
  display: flex; align-items: center; justify-content: center; transition: .3s;
}
.player-bigplay:hover { background: #e87a20; }
.player-bigplay.hide { opacity: 0; visibility: hidden; }

.player-bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 6;
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, .75), rgba(0, 0, 0, 0));
  opacity: 1; transition: opacity .3s;
}
.player-box.bar-hide .player-bar { opacity: 0; pointer-events: none; }
.pc-btn {
  width: 30px; height: 30px; padding: 0; border: 0; border-radius: 4px;
  background: transparent; color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.pc-btn:hover { background: rgba(255, 255, 255, .16); }
.pc-btn svg { width: 18px; height: 18px; fill: currentColor; }
.pc-time {
  color: #e6eef8; font-size: 12.5px; min-width: 92px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.pc-track {
  position: relative; flex: 1; height: 5px; border-radius: 3px;
  background: rgba(255, 255, 255, .25); cursor: pointer;
}
.pc-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; }
.pc-buffered { width: 0; background: rgba(255, 255, 255, .45); }
.pc-played { width: 0; background: #e87a20; }

/* ============ 手机端：产品列表 / 详情布局修正 ============ */
@media (max-width: 992px) {
  .detail-layout { flex-direction: column; align-items: stretch; gap: 26px; }
  .detail-info, .detail-img { width: 100%; }
  .list-layout { align-items: stretch; }
  .list-main { width: 100%; }
  .member-layout { align-items: stretch; }
  .member-main { width: 100%; }
}
@media (max-width: 768px) {
  .container { max-width: 94%; }
  .detail-img { padding: 12px; }
  .detail-info h1 { font-size: 22px; }
  .detail-specs li span { flex: 0 0 78px; }
  .tab-nav button { padding: 12px 10px; }
  .side-nav .side-head { padding: 12px 16px; font-size: 15px; }
  .side-nav ul { display: grid; grid-template-columns: 1fr 1fr; }
  .side-nav li { border-right: 1px solid #e8edf4; }
  .side-nav li:nth-child(2n) { border-right: 0; }
  .side-nav li a { padding: 11px 14px; font-size: 14px; }
  .side-nav li a::before { display: none; }
.player-box { max-width: 100%; max-height: none; border-radius: 8px; }
  .player-watermark { height: 18px; top: 8px; right: 8px; }
  .player-bigplay { width: 56px; height: 56px; }
  .player-bar { padding: 8px 10px; gap: 6px; }
  .pc-time { min-width: 76px; font-size: 11.5px; }
  .pc-btn { width: 26px; height: 26px; }
  .pc-btn svg { width: 16px; height: 16px; }
  .player-loading-bar { width: 140px; }
}