:root {
    --ink: #14212b;
    --muted: #5f6b73;
    --blue: #123d5a;
    --blue2: #1d5b83;
    --orange: #f59e0b;
    --paper: #f4f6f7;
    --line: #dce3e7;
    --white: #fff;
    --dark: #0d202d;
    --shadow: 0 18px 45px rgba(15, 35, 48, .09)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: min(1180px, 92%);
    margin: auto
}

.topbar {
    background: #091a25;
    color: #bed0dc;
    font-size: 13px
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0
}

.topbar a {
    color: #fff
}

.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid var(--line)
}

.nav-wrap {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--blue);
    font-weight: 900;
    font-size: 21px
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--orange);
    color: #111;
    clip-path: polygon(25% 0, 100% 0, 75% 100%, 0 100%)
}

.nav {
    display: flex;
    align-items: center;
    gap: 24px
}

.nav>a,
.product-trigger {
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: 0;
    background: none;
    padding: 25px 0;
    color: #2e3c46
}

.nav > a:hover,
.nav > a.active,
.nav > div.active > .product-trigger,
.nav > div.active > .product-trigger span,
.nav > div.product-menu:hover > .product-trigger,
.nav > div.product-menu:hover > .product-trigger span {
    color: var(--blue2);
}

.quote-btn {
    padding: 11px 18px !important;
    background: var(--orange) !important;
    color: #151515 !important;
    border-radius: 8px
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: white;
    padding: 8px 12px;
    border-radius: 8px
}

.product-menu {
    position: relative
}

.product-mega {
    display: none;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: 80px;
    width: min(780px, 92%);
    max-height: min(64vh, 460px);
    overflow: auto;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px
}

.product-menu.open .product-mega {
    display: grid
}

.mega-link {
    border: 1px solid var(--line);
    padding: 12px;
    border-radius: 8px;
    transition: .2s;
    background: #fff
}

.mega-link:hover {
    border-color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(15, 35, 48, .08)
}

.mega-link strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: 15px;
    line-height: 1.3
}

.mega-link strong em {
    font-style: normal;
    font-size: 11px;
    padding: 2px 6px;
    background: #edf2f4;
    color: #5a6a74;
    border-radius: 999px
}

.mega-link span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 6px;
    line-height: 1.5
}

.home-hero,
.page-hero {
    background: linear-gradient(115deg, #e9eef0 0%, #fff 58%, #dce6eb 100%);
    overflow: hidden
}

.home-inner {
    min-height: 620px;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    align-items: center;
    gap: 50px
}

.kicker,
.home-kicker {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2.2px;
    color: var(--orange);
    text-transform: uppercase
}

.home-title {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.08;
    margin: 15px 0 22px
}

.home-title em {
    font-style: normal;
    color: var(--blue)
}

.home-desc {
    font-size: 18px;
    color: #4c5a63;
    max-width: 720px
}

.home-actions {
    display: flex;
    gap: 12px;
    margin: 30px 0
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer
}

.btn-primary {
    background: var(--orange);
    color: #171717
}

.btn-dark {
    background: #101f29;
    color: white
}

.btn-outline {
    border: 1px solid #8fa1ac;
    background: transparent;
    color: var(--ink)
}

.trust {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    font-size: 13px;
    font-weight: 700;
    color: #43535d
}

.industrial-visual {
    min-height: 410px;
    border-radius: 8px;
    position: relative;
    background: var(--blue);
    box-shadow: var(--shadow);
    padding: 34px;
    color: #fff
}

.industrial-visual:after {
    content: "";
    position: absolute;
    inset: 28px;
    background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(255, 255, 255, .045) 12px 14px)
}

.visual-ring {
    position: absolute;
    width: 230px;
    height: 230px;
    border: 32px solid #b8c4ca;
    border-radius: 50%;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 0 0 8px #71828c, 0 14px 30px #07151e80
}

.visual-copy {
    position: absolute;
    left: 34px;
    bottom: 30px;
    z-index: 2
}

.visual-copy strong {
    display: block;
    font-size: 24px
}

.visual-copy span {
    color: #bcd0dc
}

.float-note {
    position: absolute;
    right: -20px;
    top: 28px;
    z-index: 3;
    background: var(--orange);
    color: #151515;
    padding: 16px 20px;
    border-radius: 8px;
    font-weight: 900
}

.page-hero {
    padding: 20px 0
}

.page-hero h1 {
    font-size: 48px;
    margin: 10px 0 6px
}

.breadcrumb {
    font-size: 13px;
    color: #63727b
}

.section {
    padding: 18px 0
}

.section.white {
    background: #fff
}

.section.dark {
    background: var(--dark);
    color: #fff
}

.section.dark .section-title {
    color: #fff
}

.section.dark .section-desc,
.section.dark p {
    color: #b6c7d2
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px
}

.section-title {
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.25;
    margin: 8px 0;
    color: var(--blue)
}

.section-desc,
.section-intro {
    color: var(--muted);
    max-width: 760px
}

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 2px
}

.feature-grid,
.app-grid,
.product-grid,
.contact-grid,
.detail-layout,
.about-grid {
    display: grid;
    gap: 22px
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr)
}

.grid-3,
.product-grid {
    grid-template-columns: repeat(3, 1fr)
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr)
}

.feature-grid {
    grid-template-columns: repeat(3, 1fr)
}

.app-grid {
    grid-template-columns: repeat(5, 1fr)
}

.contact-grid {
    grid-template-columns: .8fr 1.2fr
}

.detail-layout,
.about-grid {
    grid-template-columns: 1fr 1fr
}

.card,
.info-card,
.feature,
.contact-card{
    background: #fff;
    border: 1px solid var(--line);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 35, 48, .05)
}

.card h3,
.info-card h3,
.feature h3 {
    color: var(--blue);
    margin: 8px 0
}

.feature {
    background: transparent;
    border-color: #29414f;
    box-shadow: none
}

.feature-num,
.product-code {
    font-size: 12px;
    color: var(--orange);
    font-weight: 900;
    letter-spacing: 1px
}

.product-card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: .2s;
    overflow: hidden
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #e3a125
}

.product-img,
.cover {
    height: 300px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #d9e1e5, #f8fafb);
    position: relative;
    overflow: hidden;
}

.product-img img,
.cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;   /* 建立层叠顺序 */
    z-index: 1;            /* 确保图片在圆圈之上 */
}

.product-img:before,
.cover:before {
    content: "";
    position: absolute;    /* 关键：脱离网格布局 */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 112px;
    height: 112px;
    border: 20px solid #8597a2;
    border-radius: 50%;
    box-shadow: inset 0 0 0 5px #c5cfd4;
    z-index: 0;             /* 压在图片下面 */
}

.product-body,
.info {
    padding: 22px
}

.product-body h3,
.info h3 {
    margin: 6px 0;
    color: var(--blue);
    font-size: 20px
}

.product-meta {
    color: var(--muted);
    font-size: 14px
}

.product-tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin: 15px 0
}

.product-tags span,
.badge {
    font-size: 9px;
    background: #edf2f4;
    border-radius: 8px;
    padding: 5px 8px;
    color: #44545e
}

.product-more {
    font-size: 13px;
    font-weight: 900;
    color: var(--blue2)
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 34px
}

.pagination a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: #fff;
    border: 1px solid var(--line)
}

.pagination a.active {
    background: var(--blue);
    color: white
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    margin-top: 30px
}

.stat {
    padding: 18px 10px 0
}

.stat strong {
    font-size: 25px;
    color: var(--orange);
    display: block
}

.about-visual {
    min-height: 390px;
    background: var(--blue);
    border-radius: 8px;
    color: white;
    display: grid;
    place-items: center;
    text-align: center;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 2px
}

.cta-strip {
    background: var(--orange);
    padding: 48px 0
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
    color: #000;
    flex-wrap: wrap
}

.cta-inner h2 {
    font-size: 34px;
    margin: 0
}

.cta-inner p {
    margin: 5px 0 0
}


.detail-gallery {
    background: #fff;
    border: 1px solid var(--line);
    padding: 20px;
}

/* 主图容器：放大镜相关的所有内容都被限制在这个盒子里 */
.detail-main-image {
    position: relative;
    width: 390px;
    height: 390px;
    overflow: hidden;
    /* 关键：子元素超出部分直接裁掉，不会影响外部布局 */
    border: 1px solid var(--line);
    cursor: crosshair;
    background: #f7f9fa;
}

.detail-main-image img#mainImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 鼠标悬浮时跟随的取景框 */
.zoom-lens {
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid rgba(0, 0, 0, .35);
    background: rgba(255, 255, 255, .35);
    pointer-events: none;
    display: none;
}

/* 放大结果面板：固定在大图内部右下角，绝对不超出 390x390 的范围 */
.zoom-result {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    height: 55%;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--line), 0 6px 18px rgba(0, 0, 0, .25);
    background-repeat: no-repeat;
    background-color: #fff;
    display: none;
    pointer-events: none;
    z-index: 5;
}

.detail-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 14px;
}

.thumb-item {
    width: 80px;
    height: 80px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    transition: border-color .2s;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: var(--accent, #2a6f8f);
}

/* 触屏设备没有 hover，直接关闭放大功能，只保留点击切图 */
@media (hover: none) {

    .zoom-result,
    .zoom-lens {
        display: none !important;
    }
}

.detail-summary {
    background: #fff;
    border: 1px solid var(--line);
    padding: 30px
}

.detail-summary h1 {
    font-size: 38px;
    line-height: 1.2;
    margin: 8px 0
}

.lead {
    font-size: 17px;
    color: #50606a
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0
}

.spec-table th,
.spec-table td {
    padding: 8px;
    border-bottom: 1px solid var(--line);
    text-align: left
}

.spec-table th {
    width: 36%;
    color: #5b6972
}

.detail-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 30px 0;

    position: sticky;
    top: 70px;
    z-index: 1;

    background: #fff;
    padding: 10px 0;
}

.detail-nav a {
    background: #e9eef0;
    padding: 9px 13px;
    font-size: 13px;
    font-weight: 700;
}

.content-block {
    background: #fff;
    border: 1px solid var(--line);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px
}

.content-block h2 {
    color: var(--blue);
    font-size: 28px
}

.check-list {
    padding: 0;
    list-style: none
}

.check-list li {
    padding: 9px 0 9px 28px;
    position: relative;
    border-bottom: 1px solid #edf0f2
}

.check-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #e49100;
    font-weight: 900
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 15px 0
}

.faq summary {
    cursor: pointer;
    font-weight: 800;
    color: var(--blue)
}

.contact-cards {
    display: grid;
    gap: 12px
}

.contact-card small {
    display: block;
    color: var(--orange);
    font-weight: 900
}

.contact-card strong {
    display: block;
    font-size: 18px
}

.form {
    display: grid;
    gap: 14px
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.field.full {
    grid-column: 1/-1
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 5px
}

.form-panel {
    background: #fff;
    border: 1px solid var(--line);
    padding: 10px 10px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15, 35, 48, .06)
}

.form-panel h2 {
    margin: 0 0 14px;
    font-size: 1.1rem
}

.form {
    display: grid;
    gap: 5px
}

.form label {
    font-size: 12px;
    font-weight: 600;
    color: #5a6b74;
    margin-bottom: -4px;
    letter-spacing: .2px
}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #cbd5db;
    background: #fafcfd;
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease
}

.form input::placeholder,
.form textarea::placeholder {
    color: #9aa7ad;
    font-size: 13.5px
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    outline: none;
    border-color: #4a90a4;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(74, 144, 164, .12)
}

.form textarea {
    border-radius: 6px;
    min-height: 90px;
    resize: vertical;
    line-height: 1.45
}

.footer {
    background: #091a25;
    color: #b9cbd6;
    font-size: 0.8rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 35px;
    padding: 55px 0 35px
}

.footer h4 {
    color: #fff;
    margin-top: 0
}

.footer a {
    display: block;
    margin: 8px 0
}

.footer-bottom {
    padding: 16px 0;
    border-top: 1px solid #243945;
    font-size: 13px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 8px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}


.footer-links a:hover {
    color: #fff;
}

.footer-links a+a::before {
    content: "·";
    margin: 0 8px;
    color: #aaa;
    vertical-align: middle;
}


/**多语言**/
.lang-switch {
    position: relative;
    display: inline-block;
    width: 132px;
    font-family: Arial, sans-serif;
}

.lang-current {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    cursor: pointer;
    background: #fff;
    font-size: 15px;
    box-sizing: border-box;
    border-radius: 8px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    font-size: 13px;
    border: 1px solid #ddd;
    background: #fff;
    display: none;
    z-index: 999;
    box-sizing: border-box;
    margin: 0;
    padding: 4px 0;
}

.lang-switch.open .lang-dropdown {
    display: block;
}

.lang-dropdown a {
    display: block;
    margin: 0;
    padding: 1px 22px;
    text-decoration: none;
    color: #333;
}

.lang-dropdown a:hover {
    background: #f5f5f5;
}

.lang-dropdown a.active {
    background: #007bff;
    color: #fff;
}

@media(max-width:900px) {
    .topbar .container {
        display: block
    }

    .nav-wrap {
        height: 66px
    }

    .menu-toggle {
        display: block
    }

    .nav {
        display: none;
        position: absolute;
        top: 66px;
        left: 0;
        width: 100%;
        padding: 18px 4%;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        box-shadow: var(--shadow)
    }

    .nav.show {
        display: flex
    }

    .nav>a,
    .product-trigger {
        padding: 8px 0;
        text-align: left
    }

    .product-mega {
        position: static;
        transform: none;
        width: 100%;
        max-height: none;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        box-shadow: none;
        padding: 8px;
        margin-top: 5px;
        border-radius: 8px
    }

    .home-inner,
    .detail-layout,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .home-inner {
        padding: 55px 0
    }

    .industrial-visual {
        min-height: 350px
    }

    .grid-3,
    .grid-4,
    .feature-grid,
    .product-grid,
    .footer-main {
        grid-template-columns: 1fr 1fr
    }

    .app-grid {
        grid-template-columns: repeat(2, 1fr)
    }


    .section-head {
        align-items: start;
        flex-direction: column
    }

    .stats {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:600px) {

    .grid-2,
    .grid-3,
    .grid-4,
    .feature-grid,
    .product-grid,
    .footer-main,
    .form-grid {
        grid-template-columns: 1fr
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .home-title {
        font-size: 42px
    }

    .page-hero h1 {
        font-size: 38px
    }

    .detail-summary h1 {
        font-size: 31px
    }

    .home-actions {
        flex-direction: column
    }

    .btn {
        width: 100%;
    }

    .float-note {
        right: 0
    }

    .cta-inner .btn {
        width: auto
    }
}

.product-mega span {
    font-size: 9px;
}


/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    padding: 0;
    flex-wrap: wrap;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 30px;
    padding: 0 14px;
    border: 1px solid #d9dde3;
    border-radius: 6px;
    background-color: #ffffff;
    color: #4a5568;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.page-btn:hover:not([disabled]) {
    border-color: #1d4e89;
    color: #1d4e89;
    background-color: #f0f5fa;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(29, 78, 137, 0.15);
}

.page-btn.active {
    background-color: #1d4e89;
    border-color: #1d4e89;
    color: #ffffff;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(29, 78, 137, 0.3);
    cursor: default;
}

.page-btn[disabled] {
    color: #c0c4cc;
    border-color: #e4e7ed;
    background-color: #f7f8fa;
    cursor: not-allowed;
    pointer-events: none;
}

/* Prev/Next 按钮稍作区分 */
.page-btn[data-page="prev"],
.page-btn[data-page="next"] {
    font-weight: 600;
    color: #1d4e89;
    border-color: #1d4e89;
}

.page-btn[data-page="prev"]:hover,
.page-btn[data-page="next"]:hover {
    background-color: #1d4e89;
    color: #ffffff;
}

/* 移动端适配 */
@media (max-width: 480px) {
    .pagination {
        gap: 6px;
    }

    .page-btn {
        min-width: 34px;
        height: 34px;
        padding: 0 10px;
        font-size: 13px;
    }
}