/* 新科官网前台样式 - 按 www.xinke.net.cn 模板复刻 */
:root {
  --xk-primary: #00589e;
  --xk-primary-dark: #023294;
  --xk-accent: #00589e;
  --xk-red: #fa0000;
  --xk-text: #333;
  --xk-muted: #666;
  --xk-light: #f5f7fa;
  --xk-border: #e5e8ef;
  --xk-white: #fff;
  --xk-header-h: 80px;
  --xk-gray: #707070;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--xk-text);
  background: #fff;
  font-size: 14px;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; transition: .25s; }
a:hover { color: var(--xk-primary); }
img { max-width: 100%; height: auto; vertical-align: middle; border: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,h5,p { margin: 0; }
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.clearfix::after { content: ""; display: block; clear: both; }

/* ========== Header ========== */
.xk-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.98);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
  height: var(--xk-header-h);
}
.xk-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1440px;
}
.xk-logo {
  display: flex;
  align-items: center;
  height: 60px;
  flex-shrink: 0;
}
.xk-logo img { height: 48px; width: auto; }
.xk-nav {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
}
.xk-nav > li {
  position: relative;
  height: 100%;
}
.xk-nav > li > a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  font-size: 15px;
  color: #333;
  white-space: nowrap;
  font-weight: 400;
}
.xk-nav > li > a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--xk-red);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}
.xk-nav > li:hover > a,
.xk-nav > li.active > a {
  color: var(--xk-primary-dark);
}
.xk-nav > li:hover > a::after,
.xk-nav > li.active > a::after {
  width: calc(100% - 24px);
}
.xk-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: 8px 0;
  z-index: 20;
}
.xk-nav > li:hover .dropdown { display: block; }
.xk-nav .dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: #444;
}
.xk-nav .dropdown a:hover {
  background: var(--xk-light);
  color: var(--xk-primary);
}
.xk-lang-item {
  display: flex;
  align-items: center;
  margin-left: 4px;
}
.xk-nav > li.xk-lang-item > a.xk-lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  padding: 4px 12px;
  margin: 0;
  border: 1px solid var(--xk-primary);
  border-radius: 2px;
  color: var(--xk-primary);
  font-size: 13px;
  line-height: 1.4;
  white-space: nowrap;
}
.xk-nav > li.xk-lang-item > a.xk-lang:hover {
  background: var(--xk-primary);
  color: #fff;
}
.xk-nav > li.xk-lang-item:hover > a.xk-lang::after,
.xk-nav > li.xk-lang-item > a.xk-lang::after {
  display: none !important;
}
.xk-menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  cursor: pointer;
  color: var(--xk-primary);
  padding: 8px;
}

/* ========== Main ========== */
.xk-main { padding-top: var(--xk-header-h); min-height: 60vh; }

/* ========== Banner ========== */
.xk-banner {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: #0a2a4a;
}
.xk-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s;
  background-size: cover;
  background-position: center;
}
.xk-banner-slide.active { opacity: 1; z-index: 1; }
.xk-banner-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 10px;
}
.xk-banner-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
}
.xk-banner-dots span.active { background: #fff; }
.xk-scroll-down {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: #fff;
  font-size: 12px;
  letter-spacing: 2px;
  text-align: center;
  animation: bounce 2s infinite;
  text-transform: lowercase;
}
.xk-scroll-down i {
  display: block;
  margin-top: 6px;
  font-style: normal;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ========== Section common ========== */
.xk-section {
  padding: 70px 0;
}
.xk-section-title {
  text-align: center;
  margin-bottom: 40px;
}
.xk-section-title .en {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: var(--xk-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.2;
  font-family: "Oswald", "Microsoft YaHei", sans-serif;
}
.xk-section-title .zh {
  display: block;
  margin-top: 4px;
  font-size: 26px;
  color: var(--xk-primary);
  font-weight: 400;
  line-height: 2;
  position: relative;
}
.xk-section-title .zh::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--xk-red);
  margin: 6px auto 0;
}
.xk-section-title-left {
  text-align: left;
  margin-bottom: 24px;
}
.xk-section-title-left .zh::after {
  margin-left: 0;
  margin-right: auto;
}

/* ========== Product categories (tabs) ========== */
.xk-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto 40px;
  gap: 0;
}
.xk-cat-tab {
  flex: 1 1 25%;
  min-width: 120px;
  text-align: center;
  padding: 14px 10px;
  font-size: 16px;
  color: var(--xk-gray);
  line-height: 1.5;
  transition: color .3s;
  border-bottom: 2px solid transparent;
}
.xk-cat-tab:hover {
  color: var(--xk-primary);
  border-bottom-color: var(--xk-red);
}

/* ========== Product cards ========== */
.xk-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.xk-product-card {
  background: #fff;
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.xk-product-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
  transform: translateY(-4px);
}
.xk-product-card .thumb {
  position: relative;
  overflow: hidden;
  background: #f0f2f5;
  padding-bottom: 75%;
  height: 0;
}
.xk-product-card .thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .5s;
}
.xk-product-card:hover .thumb img { transform: scale(1.05); }
.xk-product-card .info {
  padding: 16px 10px 20px;
  text-align: center;
}
.xk-product-card .info .detail-link {
  font-size: 13px;
  color: var(--xk-primary);
  margin-bottom: 8px;
}
.xk-product-card .info h3 {
  font-size: 16px;
  font-weight: 400;
  color: #333;
  line-height: 1.5;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color .3s;
  min-height: auto;
}
.xk-product-card:hover .info h3 { color: var(--xk-primary); }

/* ========== More button ========== */
.xk-more-btn {
  display: inline-block;
  margin-top: 40px;
  width: 180px;
  padding: 10px 0;
  border: 1px solid var(--xk-primary);
  color: var(--xk-primary);
  font-size: 14px;
  letter-spacing: 1px;
  text-align: center;
  background: transparent;
  position: relative;
  overflow: hidden;
  transition: color .3s, border-color .3s, background .3s;
}
.xk-more-btn:hover {
  background: var(--xk-red);
  border-color: var(--xk-red);
  color: #fff;
}
.xk-section .text-center { text-align: center; }

/* ========== About home ========== */
.xk-about-home {
  background: #fff;
}
.xk-about-top {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 50px;
}
.xk-about-text p {
  color: var(--xk-muted);
  text-align: justify;
  margin-bottom: 24px;
  font-size: 14px;
  line-height: 1.9;
}
.xk-about-text .xk-more-btn {
  margin-top: 10px;
}
.xk-about-hero {
  overflow: hidden;
}
.xk-about-hero img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Stats - red numbers like template */
.xk-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0 50px;
  padding: 30px 0;
}
.xk-stat {
  text-align: center;
  padding: 10px;
}
.xk-stat .num {
  font-size: 40px;
  font-weight: 700;
  color: var(--xk-red);
  line-height: 1.2;
}
.xk-stat .num small {
  font-size: 16px;
  font-weight: 500;
  margin-left: 4px;
  color: var(--xk-red);
}
.xk-stat .label {
  margin-top: 10px;
  font-size: 14px;
  color: var(--xk-muted);
}

/* Pillars with side images */
.xk-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.xk-pillar {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  align-items: center;
}
.xk-pillar:nth-child(even) {
  direction: rtl;
}
.xk-pillar:nth-child(even) > * {
  direction: ltr;
}
.xk-pillar-body h4 {
  font-size: 22px;
  color: var(--xk-primary);
  margin-bottom: 8px;
  font-weight: 700;
}
.xk-pillar-body .sub {
  font-size: 15px;
  color: #333;
  margin-bottom: 4px;
}
.xk-pillar-body .sub-en {
  font-size: 13px;
  color: #999;
  margin-bottom: 16px;
  font-style: italic;
}
.xk-pillar-body ul li {
  position: relative;
  padding-left: 16px;
  font-size: 14px;
  color: var(--xk-muted);
  margin-bottom: 8px;
  line-height: 1.7;
}
.xk-pillar-body ul li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--xk-red);
  font-size: 10px;
  top: 4px;
}
.xk-pillar-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* ========== News home ========== */
.xk-section-news {
  background: var(--xk-light);
}
.xk-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.xk-news-card {
  background: #fff;
  overflow: hidden;
  transition: box-shadow .3s;
  display: block;
}
.xk-news-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.xk-news-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 8px;
}
.xk-news-meta .date-short {
  font-size: 18px;
  font-weight: 600;
  color: var(--xk-primary);
  letter-spacing: 1px;
}
.xk-news-meta .arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--xk-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--xk-primary);
  font-size: 16px;
  transition: all .3s;
}
.xk-news-card:hover .arrow {
  background: var(--xk-primary);
  color: #fff;
}
.xk-news-main {
  display: flex;
  flex-direction: column;
}
.xk-news-main .body {
  padding: 8px 18px 14px;
  order: 1;
}
.xk-news-main .thumb {
  height: 180px;
  overflow: hidden;
  background: #eee;
  order: 2;
}
.xk-news-main .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.xk-news-card:hover .thumb img { transform: scale(1.05); }
.xk-news-main h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  color: #222;
  height: 45px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 8px;
}
.xk-news-main .date {
  color: #999;
  font-size: 13px;
}

/* ========== Page banner ========== */
.xk-page-banner {
  height: 220px;
  background: linear-gradient(135deg, #00589e 0%, #023294 100%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
}
.xk-page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 90, .5);
}
.xk-page-banner .container {
  position: relative;
  z-index: 1;
  color: #fff;
}
.xk-page-banner h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 8px;
}
.xk-page-banner p {
  font-size: 14px;
  opacity: .85;
  max-width: 600px;
}

/* ========== Inner layout ========== */
.xk-inner {
  padding: 40px 0 60px;
}
.xk-inner-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
}
.xk-side {
  background: #fff;
  border: 1px solid var(--xk-border);
  border-radius: 0;
  overflow: hidden;
  align-self: start;
}
.xk-side h3 {
  background: var(--xk-primary);
  color: #fff;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 500;
}
.xk-side a {
  display: block;
  padding: 12px 20px;
  border-bottom: 1px solid var(--xk-border);
  color: #444;
  font-size: 14px;
}
.xk-side a:hover,
.xk-side a.active {
  color: var(--xk-primary);
  background: var(--xk-light);
  border-left: 3px solid var(--xk-red);
  padding-left: 17px;
}
.xk-content {
  background: #fff;
  border: 1px solid var(--xk-border);
  padding: 30px;
  min-height: 400px;
}
.xk-breadcrumb {
  font-size: 13px;
  color: #999;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--xk-border);
}
.xk-breadcrumb a { color: #666; }
.xk-content-title {
  font-size: 22px;
  color: var(--xk-primary);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--xk-red);
  display: inline-block;
}
.xk-article {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}
.xk-article h3 {
  font-size: 18px;
  color: var(--xk-primary);
  margin: 24px 0 12px;
}
.xk-article p { margin-bottom: 14px; text-align: justify; }
.xk-article img { margin: 12px 0; }

/* ========== Cases ========== */
.xk-case-group {
  margin-bottom: 32px;
}
.xk-case-group h3 {
  font-size: 18px;
  color: var(--xk-primary);
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--xk-red);
}
.xk-case-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
}
.xk-case-list li {
  padding: 8px 0 8px 16px;
  position: relative;
  color: #555;
  border-bottom: 1px dashed #eee;
  font-size: 14px;
}
.xk-case-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--xk-primary);
}

/* ========== Contact ========== */
.xk-contact-info {
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 2;
}
.xk-contact-info p { margin-bottom: 6px; }
.xk-sales-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
.xk-sales-table th,
.xk-sales-table td {
  border: 1px solid var(--xk-border);
  padding: 12px 14px;
  text-align: left;
  font-size: 14px;
}
.xk-sales-table th {
  background: var(--xk-light);
  color: var(--xk-primary);
  font-weight: 600;
}
.xk-sales-table tr:hover td { background: #fafbfd; }

/* ========== Form ========== */
.xk-form .form-group {
  margin-bottom: 18px;
}
.xk-form label {
  display: block;
  margin-bottom: 6px;
  color: #444;
  font-weight: 500;
}
.xk-form input,
.xk-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color .2s;
}
.xk-form input:focus,
.xk-form textarea:focus {
  outline: none;
  border-color: var(--xk-primary);
}
.xk-form .btn-submit {
  display: inline-block;
  padding: 12px 48px;
  background: var(--xk-primary);
  color: #fff;
  border: 0;
  border-radius: 3px;
  font-size: 15px;
  cursor: pointer;
}
.xk-form .btn-submit:hover { background: var(--xk-primary-dark); }
.xk-form-tip {
  color: var(--xk-muted);
  margin-bottom: 24px;
  font-size: 14px;
}

/* ========== News list ========== */
.xk-news-list .item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--xk-border);
}
.xk-news-list .item .thumb {
  flex: 0 0 200px;
  height: 130px;
  overflow: hidden;
  background: #eee;
}
.xk-news-list .item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.xk-news-list .item .meta { flex: 1; }
.xk-news-list .item .date {
  color: var(--xk-primary);
  font-size: 13px;
  margin-bottom: 8px;
}
.xk-news-list .item h3 {
  font-size: 17px;
  margin-bottom: 10px;
  color: #222;
}
.xk-news-list .item h3:hover { color: var(--xk-primary); }
.xk-news-list .item p {
  color: #888;
  font-size: 13px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.xk-news-detail .date {
  color: #999;
  margin-bottom: 20px;
  font-size: 13px;
}
.xk-news-nav {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--xk-border);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #666;
}
.xk-news-nav a:hover { color: var(--xk-primary); }

/* ========== Pagination ========== */
.xk-pagination {
  margin-top: 30px;
  text-align: center;
}
.xk-pagination ul,
.xk-pagination .pagination {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}
.xk-pagination li a,
.xk-pagination li span,
.pagination > li > a,
.pagination > li > span {
  display: inline-block;
  min-width: 36px;
  height: 36px;
  line-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--xk-border);
  color: #555;
  border-radius: 3px;
  text-decoration: none;
}
.xk-pagination li.active span,
.xk-pagination li a:hover,
.pagination > .active > span,
.pagination > li > a:hover {
  background: var(--xk-primary);
  border-color: var(--xk-primary);
  color: #fff;
}

/* ========== Video ========== */
.xk-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.xk-video-card {
  border: 1px solid var(--xk-border);
  overflow: hidden;
}
.xk-video-card .thumb {
  position: relative;
  height: 180px;
  background: #111;
}
.xk-video-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
}
.xk-video-card .play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--xk-primary);
}
.xk-video-card h3 {
  padding: 14px;
  font-size: 15px;
  text-align: center;
}

/* ========== Product detail ========== */
.xk-product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.xk-product-detail .gallery {
  background: #f7f8fa;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  padding: 20px;
}
.xk-product-detail .gallery img {
  max-height: 360px;
  object-fit: contain;
}
.xk-product-detail .info h1 {
  font-size: 24px;
  color: var(--xk-primary);
  margin-bottom: 16px;
}
.xk-product-detail .info .summary {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.8;
}
.xk-related {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--xk-border);
}
.xk-related h3 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--xk-primary);
}

/* ========== Footer ========== */
.xk-footer {
  background: #0c1e33;
  color: rgba(255,255,255,.75);
  padding: 50px 0 0;
  font-size: 13px;
}
.xk-footer a { color: rgba(255,255,255,.75); }
.xk-footer a:hover { color: #fff; }
.xk-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.xk-footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 18px;
  font-weight: 500;
}
.xk-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 24px;
}
.xk-footer-nav .col h5 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 500;
}
.xk-footer-nav .col a {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  opacity: .8;
}
.xk-footer-side h4 {
  margin-bottom: 12px;
}
.xk-footer-contact p {
  margin-bottom: 10px;
  line-height: 1.6;
}
.xk-footer-qr {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}
.xk-footer-qr .item {
  text-align: center;
}
.xk-footer-qr img {
  width: 100px;
  height: 100px;
  background: #fff;
  padding: 4px;
}
.xk-footer-qr span {
  display: block;
  margin-top: 8px;
  font-size: 12px;
}
.xk-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.5);
}

/* ========== Download list ========== */
.xk-download-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.xk-download-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--xk-border);
  background: #fff;
  transition: box-shadow .25s;
}
.xk-download-item:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.xk-download-item .icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #00589e, #023294);
  display: flex;
  align-items: center;
  justify-content: center;
}
.xk-download-item .icon .ext {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
}
.xk-download-item .meta {
  flex: 1;
  min-width: 0;
}
.xk-download-item .meta h3 {
  font-size: 16px;
  color: #222;
  margin-bottom: 6px;
}
.xk-download-item .meta p {
  color: #888;
  font-size: 13px;
  margin-bottom: 8px;
  line-height: 1.5;
}
.xk-download-item .attrs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: #999;
}
.xk-download-item .action {
  flex: 0 0 auto;
}
.xk-download-item .action .xk-more-btn {
  margin-top: 0;
  padding: 10px 0;
  width: 120px;
}

/* ========== Empty ========== */
.xk-empty {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
  .xk-nav > li > a { padding: 0 8px; font-size: 14px; }
}

@media (max-width: 992px) {
  .xk-product-grid { grid-template-columns: repeat(2, 1fr); }
  .xk-news-grid { grid-template-columns: 1fr 1fr; }
  .xk-about-top { grid-template-columns: 1fr; }
  .xk-stats { grid-template-columns: repeat(2, 1fr); }
  .xk-pillar { grid-template-columns: 1fr; }
  .xk-pillar:nth-child(even) { direction: ltr; }
  .xk-inner-layout { grid-template-columns: 1fr; }
  .xk-side { display: flex; flex-wrap: wrap; }
  .xk-side h3 { width: 100%; }
  .xk-side a { border: 0; flex: 1 1 auto; text-align: center; padding: 10px; }
  .xk-product-detail { grid-template-columns: 1fr; }
  .xk-footer-grid { grid-template-columns: 1fr; }
  .xk-footer-nav { grid-template-columns: repeat(2, 1fr); }
  .xk-banner { height: 360px; }
}

@media (max-width: 768px) {
  .xk-menu-toggle { display: block; }
  .xk-nav {
    display: none;
    position: absolute;
    top: var(--xk-header-h);
    left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    max-height: calc(100vh - var(--xk-header-h));
    overflow-y: auto;
    box-shadow: 0 8px 16px rgba(0,0,0,.1);
    padding: 10px 0;
  }
  .xk-nav.open { display: flex; }
  .xk-nav > li { height: auto; }
  .xk-nav > li > a {
    height: auto;
    padding: 12px 20px;
  }
  .xk-nav > li:hover > a::after,
  .xk-nav > li.active > a::after { display: none; }
  .xk-nav .dropdown {
    position: static;
    display: block;
    box-shadow: none;
    background: #f7f8fa;
    padding: 0;
  }
  .xk-nav .dropdown a { padding: 8px 30px; font-size: 13px; }
  .xk-product-grid,
  .xk-news-grid,
  .xk-video-grid,
  .xk-case-list,
  .xk-cat-tabs { grid-template-columns: 1fr; }
  .xk-cat-tabs { flex-direction: column; }
  .xk-cat-tab { flex: none; width: 100%; }
  .xk-news-list .item { flex-direction: column; }
  .xk-news-list .item .thumb { flex: none; width: 100%; }
  .xk-banner { height: 260px; }
  .xk-section-title .en { font-size: 26px; }
  .xk-section-title .zh { font-size: 20px; }
  .xk-download-item {
    flex-wrap: wrap;
  }
  .xk-download-item .action {
    width: 100%;
  }
  .xk-download-item .action .xk-more-btn {
    display: block;
    text-align: center;
    width: 100%;
  }
  .xk-footer-nav { grid-template-columns: 1fr 1fr; }
}

/* ========== 登录/注册区 ========== */
.user-section {
  max-width: 480px;
  margin: 40px auto 60px;
  padding: 0 15px;
}
.user-section .login-main {
  background: #fff;
  border: 1px solid #e5e8ef;
  border-radius: 6px;
  padding: 28px 24px 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.user-section .logon-tab {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.user-section .logon-tab a {
  flex: 1;
  text-align: center;
  padding: 12px 0;
  font-size: 16px;
  color: #666;
}
.user-section .logon-tab a.active {
  color: #00589e;
  border-bottom: 2px solid #00589e;
  font-weight: 600;
}
.user-section .form-group {
  margin-bottom: 18px;
}
.user-section .form-control {
  height: 44px;
  font-size: 15px;
  border-radius: 4px;
}
.user-section .btn-lg {
  height: 46px;
  font-size: 16px;
}

/* 验证码 */
.captcha-text-wrap {
  display: flex;
  align-items: stretch;
  gap: 12px;
}
.captcha-text-wrap .captcha-input {
  flex: 1;
  min-width: 0;
  height: 50px !important;
  font-size: 16px;
  letter-spacing: 2px;
}
.captcha-text-wrap .captcha-img {
  flex: 0 0 180px;
  width: 180px;
  height: 50px;
  object-fit: fill;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  background: #fff;
}
.captcha-group .help-block {
  margin-top: 6px;
}
@media (max-width: 480px) {
  .captcha-text-wrap {
    flex-direction: column;
  }
  .captcha-text-wrap .captcha-img {
    flex: none;
    width: 100%;
    height: 56px;
  }
}