/* ========== 全局重置与基础样式 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Microsoft YaHei", "微软雅黑", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}

a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e60012;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border: 0;
}

.container {
    width: 1200px;
    max-width: 90%;
    margin: 0 auto;
}

/* 主色调：海康红 */
:root {
    --main-color: #e60012;
    --main-color-dark: #c5000f;
    --text-dark: #1a1a1a;
    --text-gray: #666;
    --text-light: #999;
    --bg-gray: #f5f5f5;
    --border-color: #e8e8e8;
}

/* ========== 顶部工具栏 ========== */
.top-bar {
    background: #f0f0f0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 12px;
    color: #888;
    height: 32px;
    line-height: 32px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .top-links a {
    color: #888;
    margin-left: 18px;
}

.top-bar .top-links a:hover {
    color: var(--main-color);
}

.top-bar .welcome {
    color: #888;
}

/* ========== 主导航栏 ========== */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 66px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo .logo-image {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.logo .logo-text {
    display: flex;
    flex-direction: column;
}

.logo .logo-text .cn {
    font-size: 15px;
    font-weight: bold;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.logo .logo-text .en {
    font-size: 9px;
    color: var(--text-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav > li > a {
    display: block;
    padding: 0 16px;
    line-height: 66px;
    font-size: 15px;
    color: var(--text-dark);
    position: relative;
    white-space: nowrap;
}

.nav > li > a:hover,
.nav > li.active > a {
    color: var(--main-color);
}

.nav > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--main-color);
    transition: width 0.3s ease;
}

.nav > li > a:hover::after,
.nav > li.active > a::after {
    width: 40px;
}

/* 下拉菜单 */
.nav .has-dropdown {
    position: relative;
}

.nav .dropdown {
    position: absolute;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 220px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 10px 0;
}

.nav .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    top: 76px;
}

.nav .dropdown li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    transition: all 0.2s;
}

.nav .dropdown li a:hover {
    color: var(--main-color);
    background: #fafafa;
    padding-left: 30px;
}

/* ========== 轮播图下方搜索框 ========== */
.banner-search {
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.banner-search-form {
    display: flex;
    align-items: center;
    max-width: 700px;
    margin: 0 auto;
    border: 2px solid var(--main-color);
    border-radius: 8px;
    overflow: hidden;
}

.banner-search-icon {
    padding: 0 14px;
    font-size: 18px;
    color: var(--text-light);
}

.banner-search-input {
    flex: 1;
    padding: 12px 0;
    border: none;
    outline: none;
    font-size: 15px;
    background: #fff;
    color: var(--text-dark);
}

.banner-search-btn {
    padding: 12px 32px;
    border: none;
    background: var(--main-color);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.banner-search-btn:hover {
    background: #c50010;
}

@media (max-width: 768px) {
    .banner-search-input {
        font-size: 13px;
    }

    .banner-search-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* ========== 搜索结果页 ========== */
.search-empty {
    text-align: center;
    padding: 60px 20px;
}

.search-empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.search-empty p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.search-tip {
    font-size: 14px !important;
    color: var(--text-dark) !important;
    margin-top: 20px !important;
}

.search-suggest {
    list-style: none;
    padding: 0;
    max-width: 300px;
    margin: 10px auto 0;
}

.search-suggest li {
    font-size: 13px;
    color: var(--text-light);
    padding: 4px 0;
}

.search-summary {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding: 12px 20px;
    background: #f5f5f5;
    border-radius: 6px;
}

.search-summary strong {
    color: var(--main-color);
}

.search-section {
    margin-bottom: 40px;
}

.search-section-title {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 3px solid var(--main-color);
}

/* ========== 防伪查询页 ========== */
.verify-box {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.verify-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.verify-box h2 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.verify-desc {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.verify-form {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.verify-input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s;
}

.verify-input:focus {
    border-color: var(--main-color);
}

.verify-btn {
    padding: 12px 28px;
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.verify-btn:hover {
    background: #c50010;
}

.verify-result {
    max-width: 700px;
    margin: 0 auto 40px;
    border-radius: 12px;
    overflow: hidden;
}

.verify-success {
    background: #fff;
    border: 1px solid #e8e8e8;
}

.verify-error {
    background: #fff5f5;
    border: 1px solid #ffccc7;
    text-align: center;
    padding: 40px 20px;
}

.verify-error .vr-icon {
    font-size: 56px;
    margin-bottom: 16px;
}

.verify-error h3 {
    font-size: 20px;
    color: var(--main-color);
    margin-bottom: 8px;
}

.verify-error p {
    font-size: 15px;
    color: var(--text-light);
}

.vr-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 30px;
    background: linear-gradient(135deg, #f0fff0, #e8f8e8);
    border-bottom: 2px solid #e8e8e8;
}

.vr-header .vr-icon {
    font-size: 48px;
}

.vr-header h3 {
    font-size: 22px;
    color: #2ba940;
    margin-bottom: 4px;
}

.vr-header p {
    font-size: 13px;
    color: var(--text-light);
}

.vr-info {
    padding: 24px 30px;
}

.verify-table {
    width: 100%;
    border-collapse: collapse;
}

.verify-table th {
    width: 120px;
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: normal;
    color: var(--text-light);
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
}

.verify-table td {
    padding: 12px 16px;
    font-size: 15px;
    color: var(--text-dark);
    border-bottom: 1px solid #f0f0f0;
}

.verify-table tr:last-child th,
.verify-table tr:last-child td {
    border-bottom: none;
}

.vr-detail-btn {
    display: inline-block;
    margin: 0 30px 24px;
    padding: 10px 24px;
    background: var(--main-color);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.3s;
}

.vr-detail-btn:hover {
    background: #c50010;
}

.verify-tips {
    max-width: 700px;
    margin: 0 auto;
    background: #fffbe6;
    border: 1px solid #ffe58f;
    border-radius: 8px;
    padding: 20px 24px;
}

.verify-tips h3 {
    font-size: 16px;
    color: #d48806;
    margin-bottom: 12px;
}

.verify-tips ul {
    list-style: none;
    padding: 0;
}

.verify-tips li {
    font-size: 14px;
    color: var(--text-dark);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.verify-tips li::before {
    content: "•";
    color: #d48806;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .verify-form {
        flex-direction: column;
    }

    .verify-input {
        width: 100%;
    }

    .vr-header {
        flex-direction: column;
        text-align: center;
    }
}

/* ========== 轮播图 ========== */
.banner {
    position: relative;
    height: 520px;
    overflow: hidden;
}

.banner .slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.banner .slide.active {
    opacity: 1;
}

.banner .slide .slide-content {
    width: 1200px;
    max-width: 90%;
    color: #fff;
    text-align: left;
    z-index: 2;
}

.banner .slide h2 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
    animation: fadeInUp 0.8s ease;
}

.banner .slide p {
    font-size: 22px;
    margin-bottom: 32px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.banner .slide .btn {
    display: inline-block;
    padding: 14px 38px;
    background: var(--main-color);
    color: #fff;
    font-size: 16px;
    border-radius: 4px;
    border: 2px solid var(--main-color);
    transition: all 0.3s ease;
    animation: fadeInUp 1.2s ease;
}

.banner .slide .btn:hover {
    background: transparent;
    color: #fff;
}

.banner .slide .btn.outline {
    background: transparent;
    border-color: #fff;
}

.banner .slide .btn.outline:hover {
    background: #fff;
    color: var(--text-dark);
}

/* 轮播控制点 */
.banner .dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.banner .dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.banner .dots .dot.active {
    background: var(--main-color);
    width: 32px;
    border-radius: 6px;
}

/* 轮播箭头 */
.banner .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    transition: all 0.3s;
    z-index: 3;
    user-select: none;
}

.banner .arrow:hover {
    background: var(--main-color);
}

.banner .arrow.prev {
    left: 30px;
}

.banner .arrow.next {
    right: 30px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== 通用板块 ========== */
.section {
    padding: 70px 0;
}

.section-gray {
    background: var(--bg-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 34px;
    color: var(--text-dark);
    font-weight: bold;
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--main-color);
}

.section-title p {
    font-size: 16px;
    color: var(--text-gray);
    margin-top: 22px;
}

/* ========== 产品分类网格 ========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.product-card .card-img {
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-card .card-img .icon {
    font-size: 64px;
    color: var(--main-color);
    transition: transform 0.4s ease;
}

.product-card:hover .card-img .icon {
    transform: scale(1.15);
}

.product-card .card-body {
    padding: 22px;
    text-align: center;
}

.product-card .card-body h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-card .card-body p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
}

.product-card .card-link {
    display: inline-block;
    margin-top: 14px;
    color: var(--main-color);
    font-size: 13px;
}

.product-card .card-link:hover {
    color: var(--main-color-dark);
}

/* ========== 解决方案板块 ========== */
.solution-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.solution-card {
    position: relative;
    height: 280px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

.solution-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
    transition: background 0.3s;
}

.solution-card:hover::before {
    background: linear-gradient(180deg, rgba(230, 0, 18, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
}

.solution-card .sol-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: #fff;
    z-index: 2;
}

.solution-card .sol-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.solution-card .sol-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 12px;
}

.solution-card .sol-content .more {
    color: #fff;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s;
}

.solution-card:hover .sol-content .more {
    opacity: 1;
    transform: translateY(0);
}

/* ========== 优势板块 ========== */
.advantage-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
}

.advantage-item .adv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--main-color), #ff5050);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 36px;
    box-shadow: 0 6px 18px rgba(230, 0, 18, 0.3);
}

.advantage-item h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.advantage-item p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========== 数据统计 ========== */
.stat-section {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 60px 0;
    color: #fff;
}

.stat-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item .stat-num {
    font-size: 48px;
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 10px;
}

.stat-item .stat-num .plus {
    font-size: 28px;
}

.stat-item .stat-label {
    font-size: 15px;
    color: #ccc;
}

/* ========== 新闻板块 ========== */
.news-wrap {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.news-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.news-tab {
    padding: 12px 28px;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-gray);
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.news-tab.active {
    color: var(--main-color);
    border-bottom-color: var(--main-color);
    font-weight: bold;
}

.news-list .news-item {
    display: flex;
    padding: 18px 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s;
}

.news-list .news-item:hover {
    padding-left: 8px;
}

.news-list .news-item .news-date {
    width: 80px;
    text-align: center;
    border-right: 1px solid #eee;
    margin-right: 20px;
    flex-shrink: 0;
}

.news-list .news-item .news-date .day {
    font-size: 26px;
    color: var(--text-dark);
    font-weight: bold;
    line-height: 1;
}

.news-list .news-item .news-date .ym {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.news-list .news-item .news-info {
    flex: 1;
}

.news-list .news-item .news-info h4 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-list .news-item:hover .news-info h4 {
    color: var(--main-color);
}

.news-list .news-item .news-info p {
    font-size: 13px;
    color: var(--text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.news-feature {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 320px;
    background-size: cover;
    background-position: center;
}

.news-feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85) 100%);
}

.news-feature .nf-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: #fff;
    z-index: 2;
}

.news-feature .nf-content .tag {
    display: inline-block;
    padding: 3px 12px;
    background: var(--main-color);
    font-size: 12px;
    border-radius: 3px;
    margin-bottom: 12px;
}

.news-feature .nf-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-feature .nf-content p {
    font-size: 13px;
    opacity: 0.9;
}

/* ========== 联系板块 ========== */
.contact-section {
    background: linear-gradient(135deg, var(--main-color), var(--main-color-dark));
    color: #fff;
    padding: 60px 0;
}

.contact-section .contact-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-section .contact-text h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.contact-section .contact-text p {
    font-size: 16px;
    opacity: 0.9;
}

.contact-section .contact-btn {
    padding: 14px 40px;
    background: #fff;
    color: var(--main-color);
    font-size: 16px;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s;
}

.contact-section .contact-btn:hover {
    background: var(--text-dark);
    color: #fff;
}

/* ========== 联系人表格 ========== */
.contact-table-wrap {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.contact-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
    background: #fff;
}

.contact-table thead tr {
    background: var(--main-color);
}

.contact-table th {
    padding: 16px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
}

.contact-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-dark);
}

.contact-table tbody tr:hover {
    background: #fafafa;
}

.contact-table tbody tr:last-child td {
    border-bottom: none;
}

.ct-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background: var(--main-color);
    border-radius: 12px;
}

.ct-badge-blue {
    background: #1890ff;
}

.ct-badge-green {
    background: #52c41a;
}

.ct-badge-orange {
    background: #fa8c16;
}

.ct-phone {
    color: var(--main-color);
    font-weight: 600;
    text-decoration: none;
}

.ct-phone:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .contact-table {
        font-size: 13px;
    }

    .contact-table th,
    .contact-table td {
        padding: 10px 12px;
    }
}

/* ========== 产品详情页 ========== */
.product-detail {
    max-width: 1200px;
    margin: 0 auto;
}

.pd-header {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.pd-image {
    border-radius: 10px;
    overflow: hidden;
}

.pd-image-placeholder {
    height: 360px;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
}

.pd-image-placeholder .icon {
    font-size: 80px;
    color: var(--main-color);
    margin-bottom: 16px;
}

.pd-image-placeholder p {
    color: var(--text-light);
    font-size: 14px;
}

.pd-info h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.pd-model {
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 12px;
}

.pd-model span {
    color: var(--main-color);
    font-weight: bold;
    font-family: "Consolas", monospace;
}

.pd-category {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.pd-category span {
    color: var(--text-gray);
}

.pd-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    padding: 16px 20px;
    background: var(--bg-gray);
    border-radius: 6px;
    margin-bottom: 24px;
    border-left: 4px solid var(--main-color);
}

.pd-actions {
    display: flex;
    gap: 16px;
}

.pd-btn-primary {
    display: inline-block;
    padding: 12px 36px;
    background: var(--main-color);
    color: #fff;
    border-radius: 6px;
    font-size: 15px;
    transition: background 0.3s ease;
}

.pd-btn-primary:hover {
    background: var(--main-color-dark);
    color: #fff;
}

.pd-btn-secondary {
    display: inline-block;
    padding: 12px 36px;
    background: #fff;
    color: var(--text-dark);
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.pd-btn-secondary:hover {
    border-color: var(--main-color);
    color: var(--main-color);
}

.pd-params {
    margin-bottom: 50px;
}

.pd-section-title {
    text-align: center;
    margin-bottom: 30px;
}

.pd-section-title h2 {
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.pd-section-line {
    display: block;
    width: 50px;
    height: 3px;
    background: var(--main-color);
    margin: 0 auto;
    border-radius: 2px;
}

.pd-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    background: var(--bg-gray);
    padding: 6px;
    border-radius: 8px;
}

.pd-tab {
    padding: 10px 22px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-gray);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.pd-tab:hover {
    color: var(--main-color);
    background: #fff;
}

.pd-tab.active {
    color: #fff;
    background: var(--main-color);
    font-weight: bold;
}

.pd-tab-panel {
    display: none;
}

.pd-tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.pd-param-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pd-param-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.pd-param-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pd-param-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
    border-bottom: 2px solid var(--main-color);
}

.pd-param-icon {
    font-size: 20px;
    color: var(--main-color);
}

.pd-param-card-header h3 {
    font-size: 16px;
    color: var(--text-dark);
    font-weight: bold;
}

.pd-param-list {
    padding: 16px 20px;
}

.pd-param-list li {
    position: relative;
    padding: 8px 0 8px 20px;
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    border-bottom: 1px dashed #f0f0f0;
}

.pd-param-list li:last-child {
    border-bottom: none;
}

.pd-param-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 6px;
    height: 6px;
    background: var(--main-color);
    border-radius: 50%;
}

.pd-no-params {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-gray);
    border-radius: 10px;
    margin-bottom: 50px;
}

.pd-no-params p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 24px;
}

.pd-related {
    margin-bottom: 20px;
}

.pd-related h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: center;
}

.pd-related-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pd-related-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: var(--bg-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pd-related-item:hover {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.pd-related-icon {
    font-size: 40px;
    color: var(--main-color);
    margin-bottom: 12px;
}

.pd-related-name {
    font-size: 14px;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .pd-header {
        grid-template-columns: 1fr;
    }

    .pd-param-grid {
        grid-template-columns: 1fr;
    }

    .pd-related-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .pd-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .pd-tab {
        white-space: nowrap;
    }
}

/* ========== 页脚 ========== */
.footer {
    background: #1a1a1a;
    color: #999;
    padding: 60px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #333;
}

.footer-col h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 22px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #999;
    font-size: 13px;
}

.footer-col ul li a:hover {
    color: var(--main-color);
}

.footer-col .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.footer-col .footer-logo .footer-logo-image {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.footer-col .footer-logo .cn {
    font-size: 17px;
    color: #fff;
    font-weight: bold;
}

.footer-col p {
    font-size: 13px;
    line-height: 1.9;
    color: #888;
}

.footer-col .contact-info li {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 13px;
    color: #999;
}

.footer-col .contact-info li .ic {
    color: var(--main-color);
    flex-shrink: 0;
}

.footer-bottom {
    padding: 22px 0;
    text-align: center;
    font-size: 13px;
    color: #666;
}

.footer-bottom a {
    color: #666;
    margin: 0 6px;
}

.footer-bottom a:hover {
    color: var(--main-color);
}

/* ========== 页面banner ========== */
.page-banner {
    height: 280px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.page-banner .pb-content {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 40px;
    margin-bottom: 12px;
    font-weight: bold;
}

.page-banner p {
    font-size: 16px;
    opacity: 0.9;
}

.breadcrumb {
    background: var(--bg-gray);
    padding: 14px 0;
    font-size: 13px;
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb a {
    color: var(--text-gray);
}

.breadcrumb a:hover {
    color: var(--main-color);
}

.breadcrumb .sep {
    margin: 0 8px;
    color: #ccc;
}

/* ========== 关于我们页 ========== */
.about-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-intro .intro-text h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-intro .intro-text p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.9;
    margin-bottom: 16px;
    text-align: justify;
}

.about-intro .intro-img {
    height: 240px;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-intro .intro-img video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 40px 40px;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--main-color);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--main-color);
}

.timeline-item:nth-child(odd)::before {
    right: -7px;
}

.timeline-item:nth-child(even)::before {
    left: -7px;
}

.timeline-item .tl-year {
    font-size: 22px;
    color: var(--main-color);
    font-weight: bold;
    margin-bottom: 8px;
}

.timeline-item .tl-title {
    font-size: 17px;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: bold;
}

.timeline-item .tl-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========== 产品页 ========== */
.product-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.product-filter .filter-btn {
    padding: 8px 24px;
    border: 1px solid var(--border-color);
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s;
}

.product-filter .filter-btn:hover,
.product-filter .filter-btn.active {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}

/* ========== 联系我们页 ========== */
.contact-page {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-box {
    padding: 30px;
    background: var(--bg-gray);
    border-radius: 8px;
}

.contact-info-box h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--main-color);
    display: inline-block;
}

.contact-info-box .ci-item {
    display: flex;
    gap: 16px;
    margin-bottom: 22px;
}

.contact-info-box .ci-item .ic {
    width: 44px;
    height: 44px;
    background: var(--main-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-info-box .ci-item .ci-text h4 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-info-box .ci-item .ci-text p {
    font-size: 14px;
    color: var(--text-gray);
}

.contact-form {
    padding: 30px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.contact-form h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: var(--text-dark);
}

.form-group .required {
    color: var(--main-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--main-color);
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    display: inline-block;
    padding: 12px 40px;
    background: var(--main-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--main-color-dark);
}

/* 地图 */
.map-box {
    margin-top: 40px;
    height: 360px;
    background: var(--bg-gray);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 18px;
}

/* ========== 案例页 ========== */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.case-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    cursor: pointer;
}

.case-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.case-card .case-img {
    height: 220px;
    background: linear-gradient(135deg, #f0f0f0, #d8d8d8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    font-size: 56px;
}

.case-card .case-body {
    padding: 22px;
}

.case-card .case-body .case-tag {
    display: inline-block;
    padding: 3px 10px;
    background: #fff0f0;
    color: var(--main-color);
    font-size: 12px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.case-card .case-body h3 {
    font-size: 17px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.case-card .case-body p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========== 分页 ========== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: var(--text-gray);
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}

/* ========== 返回顶部 ========== */
.back-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    background: var(--main-color);
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 14px rgba(230, 0, 18, 0.4);
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: var(--main-color-dark);
    transform: translateY(-4px);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .container {
        max-width: 92%;
    }

    .product-grid,
    .advantage-list,
    .stat-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-list,
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-wrap,
    .about-intro,
    .contact-page {
        grid-template-columns: 1fr;
    }

    .nav > li > a {
        padding: 0 14px;
        font-size: 15px;
    }

    .banner .slide h2 {
        font-size: 36px;
    }

    .banner .slide p {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .header .container {
        height: 60px;
    }

    .nav {
        display: none;
    }

    .top-bar {
        display: none;
    }

    .banner {
        height: 360px;
    }

    .banner .slide h2 {
        font-size: 26px;
    }

    .banner .slide p {
        font-size: 15px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title h2 {
        font-size: 26px;
    }

    .product-grid,
    .advantage-list,
    .stat-list,
    .solution-list,
    .case-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .stat-item .stat-num {
        font-size: 36px;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        width: 100%;
        padding-left: 30px;
        padding-right: 0;
        text-align: left !important;
        left: 0 !important;
    }

    .timeline-item::before {
        left: -7px !important;
        right: auto !important;
    }
}
