/* ========================================
   科技风主样式文件 - 参考 TP-Link 经销商网站风格
   配色：深蓝 #0a1628 / 科技蓝 #0066cc / 亮蓝 #00aaff / 白色
   ======================================== */

/* ---------- 基础重置 ---------- */
html {
    font-size: 14px;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #f5f7fa;
}
a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    color: #0066cc;
    text-decoration: none;
}
ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}
p, dl, dt, dd {
    margin: 0;
    padding: 0;
}
img {
    max-width: 100%;
    height: auto;
}

/* ---------- 颜色变量（兼容旧浏览器用 class） ---------- */
.text-primary-blue { color: #0066cc; }
.text-light-blue { color: #00aaff; }
.text-dark { color: #0a1628; }
.text-gray { color: #666; }
.text-light-gray { color: #999; }
.bg-dark-blue { background-color: #0a1628; }
.bg-tech-blue { background-color: #0066cc; }
.bg-light-blue { background-color: #e8f4fd; }
.bg-light-gray { background-color: #f5f7fa; }

/* ---------- 顶部导航栏 - TP-Link 白底蓝字风格 ---------- */
.navbar-tplink {
    background: #fff;
    padding: 0;
    min-height: 60px;
    border-bottom: 1px solid #e8ecf0;
    position: sticky;
    top: 0;
    z-index: 1050;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.navbar-tplink .navbar-brand {
    color: #0066cc;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 10px 0;
}
.navbar-tplink .navbar-brand img {
    height: 36px;
}
.navbar-tplink .navbar-brand:hover {
    opacity: 0.85;
}
/* 文字Logo样式 */
.text-logo {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-decoration: none;
}
.text-logo .logo-text {
    font-size: 22px;
    font-weight: 800;
    color: #0066cc;
    letter-spacing: 3px;
}
.text-logo .logo-sub {
    font-size: 10px;
    color: #888;
    letter-spacing: 1.5px;
    font-weight: 400;
    margin-top: 2px;
}
.text-logo:hover {
    text-decoration: none;
}
.text-logo:hover .logo-text {
    color: #0052a3;
}
.navbar-tplink .nav-link {
    color: #333;
    font-size: 15px;
    padding: 18px 24px !important;
    transition: color 0.3s;
    position: relative;
    letter-spacing: 1px;
    font-weight: 500;
}
.navbar-tplink .nav-link:hover {
    color: #0066cc;
}
.navbar-tplink .nav-item.active .nav-link {
    color: #0066cc;
}
.navbar-tplink .nav-item.active .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 3px;
    background: #0066cc;
    border-radius: 2px;
}
.navbar-tplink .navbar-toggler {
    border-color: #ddd;
    padding: 6px 10px;
    color: #333;
}
.navbar-tplink .navbar-toggler i {
    font-size: 20px;
    color: #333;
}

/* ---------- 轮播图 ---------- */
.hero-slider {
    position: relative;
    overflow: hidden;
}
.hero-slider .swiper-slide {
    height: 520px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.hero-slider .slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(10,22,40,0.7) 0%, rgba(0,102,204,0.3) 100%);
}
.hero-slider .slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
}
.hero-slider .slide-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.hero-slider .slide-desc {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.8;
}
.hero-slider .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}
.hero-slider .swiper-pagination-bullet-active {
    background: #00aaff;
    opacity: 1;
}
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
    color: #fff;
    background: rgba(0,0,0,0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
    font-size: 20px;
}

/* ---------- 快捷入口 ---------- */
.quick-entry {
    background: #fff;
    padding: 40px 0;
    border-bottom: 1px solid #e8ecf0;
}
.quick-entry-item {
    text-align: center;
    padding: 20px 10px;
    transition: all 0.3s;
    border-radius: 8px;
}
.quick-entry-item:hover {
    background: #f0f7ff;
    transform: translateY(-3px);
}
.quick-entry-item .icon-box {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #0066cc, #00aaff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
}
.quick-entry-item .entry-title {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

/* ---------- 板块标题 ---------- */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header .section-title {
    font-size: 30px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.section-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0066cc, #00aaff);
    border-radius: 2px;
}
.section-header .section-subtitle {
    font-size: 15px;
    color: #999;
    margin-top: 16px;
}

/* ---------- 分类标签 ---------- */
.category-tabs {
    text-align: center;
    margin-bottom: 30px;
}
.category-tabs .tab-btn {
    display: inline-block;
    padding: 8px 24px;
    margin: 4px;
    border: 1px solid #ddd;
    border-radius: 20px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
    background: #fff;
}
.category-tabs .tab-btn:hover,
.category-tabs .tab-btn.active {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

/* ---------- 方案卡片 ---------- */
.solution-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #e8ecf0;
}
.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,102,204,0.15);
    border-color: #0066cc;
}
.solution-card .card-img {
    height: 200px;
    overflow: hidden;
}
.solution-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.solution-card:hover .card-img img {
    transform: scale(1.05);
}
.solution-card .card-body {
    padding: 20px;
}
.solution-card .card-title {
    font-size: 17px;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 10px;
}
.solution-card .card-text {
    font-size: 13px;
    color: #888;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.solution-card .card-link {
    display: inline-block;
    margin-top: 12px;
    color: #0066cc;
    font-size: 14px;
    font-weight: 500;
}
.solution-card .card-link:hover {
    color: #00aaff;
}

/* ---------- 产品卡片 ---------- */
.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #e8ecf0;
    text-align: center;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,102,204,0.15);
    border-color: #0066cc;
}
.product-card .card-img {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f9fafb;
}
.product-card .card-img img {
    max-height: 160px;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.5s;
}
.product-card:hover .card-img img {
    transform: scale(1.05);
}
.product-card .card-body {
    padding: 16px;
}
.product-card .card-title {
    font-size: 14px;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card .card-price {
    color: #e74c3c;
    font-size: 16px;
    font-weight: 700;
}
.product-card .card-tags {
    margin-top: 8px;
}
.product-card .card-tags .badge {
    font-size: 12px;
    font-weight: 400;
    padding: 3px 8px;
}

/* ---------- TP-Link 风格产品卡片 ---------- */
.tplink-product-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
}
.tplink-product-card:hover {
    border-color: #0066cc;
    box-shadow: 0 4px 16px rgba(0,102,204,0.12);
    transform: translateY(-3px);
}
.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.product-card-link:hover {
    text-decoration: none;
    color: inherit;
}
.tplink-product-card .product-card-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f9fafb;
    position: relative;
    overflow: hidden;
}
.tplink-product-card .product-card-img img {
    max-height: 140px;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.4s;
}
.tplink-product-card:hover .product-card-img img {
    transform: scale(1.05);
}
/* 无图片占位 */
.product-no-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e8ecf0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0bec5;
    font-size: 32px;
}
/* 新品角标 */
.product-badge-new {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 500;
}
/* 产品信息区 */
.tplink-product-card .product-card-info {
    padding: 12px 14px 16px;
    border-top: 1px solid #f0f2f5;
}
.tplink-product-card .product-model {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tplink-product-card .product-desc {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tplink-product-card .product-price {
    font-size: 14px;
    color: #e74c3c;
    font-weight: 700;
    margin-bottom: 0;
}
.tplink-product-card .product-price-empty {
    color: #bbb;
    font-weight: 400;
    font-size: 12px;
}

/* ---------- 产品列表页 - TP-Link 风格 ---------- */
.product-list-page {
    padding: 30px 0 60px;
    background: #f5f7fa;
    min-height: 600px;
}
/* 顶部筛选区 - 分类标签在上方 */
.product-filter-top {
    background: #fff;
    border-radius: 6px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.filter-row {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f2f5;
}
.filter-row:last-child {
    border-bottom: none;
}
.filter-label {
    width: 80px;
    flex-shrink: 0;
    font-size: 14px;
    color: #888;
    line-height: 32px;
    font-weight: 500;
}
.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-tag {
    display: inline-block;
    padding: 6px 16px;
    font-size: 13px;
    color: #555;
    background: #f5f7fa;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.filter-tag:hover {
    color: #0066cc;
    background: #e8f0fe;
    text-decoration: none;
}
.filter-tag.active {
    color: #fff;
    background: #0066cc;
    font-weight: 500;
}
/* 左侧筛选栏（备用） */
.product-filter-sidebar {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    position: sticky;
    top: 80px;
}
.filter-title {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
    margin-bottom: 12px;
}
.filter-title i {
    color: #0066cc;
    margin-right: 6px;
}
.filter-category,
.filter-type {
    list-style: none;
    padding: 0;
    margin: 0;
}
.filter-category li,
.filter-type li {
    margin-bottom: 2px;
}
.filter-category li a,
.filter-type li a {
    display: block;
    padding: 8px 12px;
    color: #555;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.2s;
    text-decoration: none;
}
.filter-category li a:hover,
.filter-type li a:hover {
    background: #f0f5ff;
    color: #0066cc;
}
.filter-category li.active a,
.filter-type li a.active {
    background: #e8f0fe;
    color: #0066cc;
    font-weight: 600;
}
/* 咨询购买 */
.filter-contact {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.filter-contact .contact-info {
    font-size: 14px;
    color: #555;
    margin: 10px 0;
}
.filter-contact .contact-info i {
    color: #0066cc;
    margin-right: 6px;
}
.btn-contact-us {
    display: block;
    text-align: center;
    padding: 10px;
    background: #0066cc;
    color: #fff;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-contact-us:hover {
    background: #0052a3;
    color: #fff;
    text-decoration: none;
}
/* 产品列表头部 */
.product-list-header {
    margin-bottom: 20px;
}
.product-list-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}
.product-list-desc {
    font-size: 14px;
    color: #888;
}
/* 产品网格 */
.product-grid {
    margin-bottom: 20px;
}
/* 分页 */
.product-pagination {
    text-align: center;
    padding: 20px 0;
}
.product-pagination .no-data {
    padding: 60px 0;
    text-align: center;
    color: #bbb;
}
.product-pagination .no-data i {
    font-size: 48px;
    display: block;
    margin-bottom: 12px;
}
/* 搜索框 */
.product-search-box {
    margin-top: 20px;
}
.search-input-wrap {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}
.search-input-wrap input {
    flex: 1;
    height: 40px;
    border: 1px solid #d0d7de;
    border-right: none;
    border-radius: 4px 0 0 4px;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
}
.search-input-wrap input:focus {
    border-color: #0066cc;
}
.search-input-wrap button {
    width: 50px;
    height: 40px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}
.search-input-wrap button:hover {
    background: #0052a3;
}

/* ---------- 产品详情页 - TP-Link 风格 ---------- */
.product-detail-page {
    padding: 30px 0 60px;
    background: #f5f7fa;
}
/* 产品概览区 */
.product-overview {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
/* 产品图片区 */
.product-gallery .gallery-main {
    text-align: center;
    background: #f9fafb;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 12px;
}
.product-gallery .gallery-main img {
    max-height: 350px;
    max-width: 100%;
    object-fit: contain;
}
.product-no-img-lg {
    padding: 80px 0;
    text-align: center;
    color: #ccc;
}
.product-no-img-lg i {
    font-size: 64px;
    display: block;
    margin-bottom: 12px;
}
/* 缩略图列表 */
.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.gallery-thumbs .thumb-item {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border: 2px solid #e8ecf0;
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    transition: border-color 0.2s;
}
.gallery-thumbs .thumb-item.active,
.gallery-thumbs .thumb-item:hover {
    border-color: #0066cc;
}
.gallery-thumbs .thumb-item img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
/* 产品信息区 */
.product-info {
    padding-left: 20px;
}
.product-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.product-detail-subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
}
/* 产品参数列表 */
.product-meta-list {
    background: #f9fafb;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 20px;
}
.product-meta-list .meta-item {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}
.product-meta-list .meta-item:last-child {
    border-bottom: none;
}
.product-meta-list .meta-label {
    width: 80px;
    color: #888;
    flex-shrink: 0;
}
.product-meta-list .meta-value {
    color: #333;
}
.product-price-highlight {
    color: #e74c3c !important;
    font-weight: 700;
    font-size: 18px !important;
}
/* 操作按钮 */
.product-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}
.btn-action-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 32px;
    background: #0066cc;
    color: #fff;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s;
}
.btn-action-primary:hover {
    background: #0052a3;
    color: #fff;
    text-decoration: none;
}
.btn-action-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #fff;
    color: #0066cc;
    border: 1px solid #0066cc;
    border-radius: 4px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-action-secondary:hover {
    background: #e8f0fe;
    text-decoration: none;
    color: #0052a3;
}
.btn-action-secondary i {
    margin-right: 6px;
}

/* Tab 切换 */
.product-detail-content {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    overflow: hidden;
}
.detail-tabs {
    display: flex;
    border-bottom: 1px solid #e8ecf0;
    background: #fafbfc;
}
.detail-tab {
    padding: 14px 28px;
    font-size: 15px;
    color: #555;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    cursor: pointer;
}
.detail-tab:hover {
    color: #0066cc;
}
.detail-tab.active {
    color: #0066cc;
    font-weight: 600;
    border-bottom-color: #0066cc;
    background: #fff;
}
.detail-tab-content {
    display: none;
    padding: 30px;
}
.detail-tab-content.active {
    display: block;
}
.detail-content-body {
    line-height: 1.8;
    color: #444;
    font-size: 15px;
}
.detail-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 10px 0;
}
/* 参数表格 */
.params-table-wrap {
    font-size: 14px;
}
.params-table-wrap table {
    width: 100%;
    border-collapse: collapse;
}
.params-table-wrap th,
.params-table-wrap td {
    padding: 10px 16px;
    border: 1px solid #e8ecf0;
    text-align: left;
}
.params-table-wrap th {
    background: #f5f7fa;
    font-weight: 600;
    color: #333;
    width: 150px;
}
.params-table-wrap td {
    color: #555;
}
/* 上一篇/下一篇 */
.product-nav-prevnext {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
    gap: 20px;
}
.product-nav-prevnext .prev-next-item {
    flex: 1;
}
.product-nav-prevnext .prev-next-item a {
    display: block;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 4px;
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: all 0.2s;
}
.product-nav-prevnext .prev-next-item a:hover {
    border-color: #0066cc;
    color: #0066cc;
}

/* ---------- 响应式 - 产品页 ---------- */
@media (max-width: 991px) {
    .product-info {
        padding-left: 0;
        margin-top: 20px;
    }
    .product-filter-sidebar {
        position: static;
        margin-bottom: 20px;
    }
    .product-overview {
        padding: 20px;
    }
    .product-detail-title {
        font-size: 20px;
    }
    .product-actions {
        flex-direction: column;
    }
    .btn-action-primary,
    .btn-action-secondary {
        text-align: center;
        justify-content: center;
    }
}
@media (max-width: 575px) {
    .tplink-product-card .product-card-img {
        height: 140px;
    }
    .product-gallery .gallery-main img {
        max-height: 250px;
    }
    .detail-tab {
        padding: 10px 16px;
        font-size: 14px;
    }
    .product-nav-prevnext {
        flex-direction: column;
    }
}

/* ---------- 案例卡片 ---------- */
.case-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    height: 100%;
    border: 1px solid #e8ecf0;
}
.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,102,204,0.15);
}
.case-card .card-img {
    height: 220px;
    overflow: hidden;
}
.case-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.case-card:hover .card-img img {
    transform: scale(1.05);
}
.case-card .card-body {
    padding: 20px;
}
.case-card .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 8px;
}
.case-card .card-text {
    font-size: 13px;
    color: #888;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.case-card .card-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #e8f4fd;
    color: #0066cc;
    border-radius: 12px;
    font-size: 12px;
    margin-top: 8px;
}

/* ---------- 新闻卡片 ---------- */
.news-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s;
    border: 1px solid #e8ecf0;
}
.news-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border-color: #0066cc;
}
.news-card .news-date {
    color: #999;
    font-size: 13px;
    margin-bottom: 6px;
}
.news-card .news-title {
    font-size: 17px;
    font-weight: 600;
    color: #0a1628;
    margin-bottom: 8px;
}
.news-card .news-title a:hover {
    color: #0066cc;
}
.news-card .news-summary {
    font-size: 14px;
    color: #888;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- 底部 ---------- */
.footer-tech {
    background: #0a1628;
    color: rgba(255,255,255,0.7);
    padding: 50px 0 0;
}
.footer-tech h5 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}
.footer-tech h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #00aaff;
}
.footer-tech ul li {
    margin-bottom: 10px;
}
.footer-tech ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: color 0.3s;
}
.footer-tech ul li a:hover {
    color: #00aaff;
}
.footer-tech .footer-contact li {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}
.footer-tech .footer-contact li i {
    color: #00aaff;
    margin-right: 8px;
    width: 16px;
    text-align: center;
}
.footer-tech .footer-qrcode {
    text-align: center;
}
.footer-tech .footer-qrcode img {
    width: 120px;
    height: 120px;
}
.footer-tech .footer-qrcode p {
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}
.footer-bottom a {
    color: rgba(255,255,255,0.4);
}
.footer-bottom a:hover {
    color: #00aaff;
}

/* ---------- 面包屑导航 ---------- */
/* ---------- 页面 Banner ---------- */
.page-banner {
    position: relative;
    height: 260px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 40, 100, 0.75), rgba(0, 102, 204, 0.55));
    z-index: 1;
}
.page-banner .banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}
.page-banner .banner-title {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 4px;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.page-banner .banner-subtitle {
    font-size: 16px;
    font-weight: 400;
    margin-top: 10px;
    opacity: 0.85;
    letter-spacing: 2px;
}
@media (max-width: 768px) {
    .page-banner {
        height: 180px;
    }
    .page-banner .banner-title {
        font-size: 24px;
        letter-spacing: 2px;
    }
    .page-banner .banner-subtitle {
        font-size: 14px;
    }
}

.breadcrumb-tech {
    background: #f5f7fa;
    padding: 15px 0;
    border-bottom: 1px solid #e8ecf0;
}
.breadcrumb-tech .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}
.breadcrumb-tech .breadcrumb-item {
    font-size: 14px;
    color: #999;
}
.breadcrumb-tech .breadcrumb-item a {
    color: #666;
}
.breadcrumb-tech .breadcrumb-item a:hover {
    color: #0066cc;
}
.breadcrumb-tech .breadcrumb-item.active {
    color: #0066cc;
}

/* ---------- 分页 ---------- */
.pagination-tech {
    text-align: center;
    padding: 30px 0;
}
.page-num {
    display: inline-block;
    min-width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s;
}
.page-num:hover {
    border-color: #0066cc;
    color: #0066cc;
}
.page-num-current {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}
.page-num-current:hover {
    color: #fff;
}

/* ---------- 内容详情页 ---------- */
.detail-page {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    margin: 30px 0;
}
.detail-page .detail-title {
    font-size: 26px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 16px;
}
.detail-page .detail-meta {
    color: #999;
    font-size: 14px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8ecf0;
}
.detail-page .detail-meta span {
    margin-right: 20px;
}
.detail-page .detail-content {
    color: #555;
    line-height: 2;
    font-size: 15px;
}
.detail-page .detail-content img {
    max-width: 100%;
    border-radius: 4px;
    margin: 15px 0;
}

/* ---------- 侧边栏 ---------- */
.sidebar {
    background: #fff;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
}
.sidebar:first-child {
    margin-top: 30px;
}
.sidebar .sidebar-title {
    font-size: 18px;
    font-weight: 600;
    color: #0a1628;
    padding-bottom: 12px;
    border-bottom: 2px solid #0066cc;
    margin-bottom: 16px;
}
.sidebar .sidebar-nav li {
    margin-bottom: 2px;
}
.sidebar .sidebar-nav li a {
    display: block;
    padding: 10px 16px;
    color: #555;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
}
.sidebar .sidebar-nav li a:hover,
.sidebar .sidebar-nav li.active a {
    background: #e8f4fd;
    color: #0066cc;
}

/* ---------- 留言表单 ---------- */
.contact-form {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
}
.contact-form .form-control {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 10px 16px;
    font-size: 14px;
    transition: border-color 0.3s;
}
.contact-form .form-control:focus {
    border-color: #0066cc;
    box-shadow: 0 0 0 0.2rem rgba(0,102,204,0.15);
}
.contact-form .btn-submit {
    background: linear-gradient(135deg, #0066cc, #00aaff);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s;
}
.contact-form .btn-submit:hover {
    background: linear-gradient(135deg, #0055aa, #0099dd);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,102,204,0.3);
}

/* ---------- 搜索框 ---------- */
.search-box {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 20px;
}
.search-box .form-control {
    border-radius: 20px 0 0 20px;
    border: 2px solid #0066cc;
    padding: 10px 20px;
}
.search-box .btn {
    border-radius: 0 20px 20px 0;
    background: #0066cc;
    color: #fff;
    border: 2px solid #0066cc;
    padding: 10px 24px;
}

/* ---------- 标签页 ---------- */
.tag-cloud {
    padding: 10px 0;
}
.tag-cloud a {
    display: inline-block;
    padding: 5px 14px;
    margin: 3px;
    background: #f5f7fa;
    color: #666;
    border-radius: 16px;
    font-size: 13px;
    transition: all 0.3s;
}
.tag-cloud a:hover {
    background: #0066cc;
    color: #fff;
}

/* ---------- 回到顶部 ---------- */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: #0066cc;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 44px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
}
.back-to-top.show {
    opacity: 1;
}
.back-to-top:hover {
    background: #0055aa;
    transform: translateY(-3px);
}

/* ---------- 在线客服 ---------- */
.online-service {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 999;
}
.online-service .service-btn {
    width: 50px;
    height: 50px;
    background: #0066cc;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,102,204,0.3);
    transition: all 0.3s;
}
.online-service .service-btn:hover {
    background: #0055aa;
    transform: scale(1.1);
}
.online-service .service-panel {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 220px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    padding: 20px;
    display: none;
}
.online-service:hover .service-panel {
    display: block;
}
.online-service .service-panel h6 {
    font-size: 15px;
    color: #0a1628;
    margin-bottom: 12px;
}
.online-service .service-panel p {
    font-size: 13px;
    color: #666;
    margin-bottom: 8px;
}

/* ---------- 通用区块间距 ---------- */
.section-padding {
    padding: 60px 0;
}
.section-bg-white {
    background: #fff;
}
.section-bg-gray {
    background: #f5f7fa;
}
.section-bg-dark {
    background: #0a1628;
    color: #fff;
}

/* ---------- 关于我们板块 - 渐变蓝背景，和底部菜单区分开 ---------- */
.about-section {
    background: #f0f6ff;
    color: #333;
    position: relative;
    overflow: hidden;
}
/* 装饰性背景圆圈 */
.about-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.06);
}
.about-section::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.04);
}
/* 关于我们图片 */
.about-img {
    max-height: 320px;
    border-radius: 12px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.3);
    width: auto;
    max-width: 100%;
}
/* 关于我们文字区域 */
.about-text-wrap {
    padding-left: 30px;
}
.about-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 0;
    color: #0a1628;
}
.about-line {
    width: 50px;
    height: 3px;
    background: #0066cc;
    border-radius: 2px;
    margin: 16px 0 20px;
}
.about-desc {
    color: #555;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 24px;
}
.btn-about-more {
    display: inline-block;
    padding: 10px 28px;
    background: #0066cc;
    color: #fff;
    border: 1px solid #0066cc;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-about-more:hover {
    background: #0052a3;
    color: #fff;
    text-decoration: none;
}
@media (max-width: 991px) {
    .about-text-wrap {
        padding-left: 0;
        text-align: center;
    }
    .about-line {
        margin: 16px auto 20px;
    }
}

/* ---------- 查看更多按钮 ---------- */
.btn-more {
    display: inline-block;
    padding: 10px 32px;
    border: 1px solid #0066cc;
    color: #0066cc;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
}
.btn-more:hover {
    background: #0066cc;
    color: #fff;
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .hero-slider .swiper-slide {
        height: 380px;
    }
    .hero-slider .slide-title {
        font-size: 26px;
    }
    .hero-slider .slide-desc {
        font-size: 15px;
    }
    .hero-slider .slide-content {
        padding: 0 30px;
    }
    .section-header .section-title {
        font-size: 24px;
    }
    .section-padding {
        padding: 40px 0;
    }
}

@media (max-width: 768px) {
    .hero-slider .swiper-slide {
        height: 300px;
    }
    .hero-slider .slide-title {
        font-size: 22px;
    }
    .hero-slider .slide-desc {
        font-size: 14px;
    }
    .hero-slider .slide-content {
        padding: 0 20px;
    }
    .section-header .section-title {
        font-size: 20px;
    }
    .detail-page {
        padding: 20px;
    }
    .detail-page .detail-title {
        font-size: 20px;
    }
    .navbar-tech .nav-link {
        padding: 10px 16px !important;
    }
    .back-to-top {
        bottom: 20px;
        right: 15px;
        width: 38px;
        height: 38px;
        line-height: 38px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .hero-slider .swiper-slide {
        height: 240px;
    }
    .hero-slider .slide-title {
        font-size: 18px;
    }
    .section-padding {
        padding: 30px 0;
    }
    .contact-form {
        padding: 20px;
    }
    .page-num {
        display: none;
    }
}

/* ---------- 内容页通用 ---------- */
.pages {
    min-height: 400px;
}
.content {
    color: #555;
    line-height: 2;
    font-size: 15px;
}
.content img,
.content iframe {
    max-width: 100% !important;
}
.content li {
    list-style: disc outside none;
    margin-left: 20px;
}

/* ---------- 空数据提示 ---------- */
.no-data {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 16px;
}
