/*
Theme Name: 紫虹智曜 Zihongzhiyao
Theme URI: https://zihongzhiyao.cn
Description: 上海紫虹智曜科技有限公司官网主题（空天地一体化低空安全防控体系）。产品与资讯后台可编辑。
Author: 苏州跨麦 / 定制开发
Version: 2.0.0
Text Domain: zihongzhiyao
*/

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* 浅色为默认 */
    --c-bg: #ffffff;
    --c-surface: #f5f5f7;
    --c-surface-2: #ececf0;
    --c-surface-3: #e2e2e8;
    --c-line: rgba(0,0,0,.09);
    --c-line-hover: rgba(0,0,0,.2);
    --c-text: #0d0d0f;
    --c-text-2: rgba(13,13,15,.62);
    --c-text-3: rgba(13,13,15,.4);
    --c-brand: #7c3aed;
    --c-brand-hover: #6d28d9;
}

/* 强调区块：客户要求全站不出现黑色，原深色区改浅蓝 */
.on-dark {
    --c-bg: #eaf1fa;
    --c-surface: #ffffff;
    --c-surface-2: #f4f8fd;
    --c-surface-3: #e2ebf6;
    --c-line: rgba(15,40,75,.10);
    --c-line-hover: rgba(15,40,75,.22);
    --c-text: #0f284b;
    --c-text-2: rgba(15,40,75,.66);
    --c-text-3: rgba(15,40,75,.45);
    background: var(--c-bg);
    color: var(--c-text);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

::selection { background: var(--c-brand); color: #fff; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #eee; }
::-webkit-scrollbar-thumb { background: #bbb; border-radius: 3px; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 64px; }
@media (max-width: 1024px) { .wrap { padding: 0 40px; } }
@media (max-width: 640px)  { .wrap { padding: 0 26px; } }


/* ---------- header（始终深色实心，对标源站黑色导航条） ---------- */

header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: 68px;
    display: flex;
    align-items: center;
    background: #eaf1fa;
    border-bottom: 1px solid rgba(15,40,75,.12);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.logo-mark img { width: 32px; height: 32px; object-fit: contain; display: block; }
.logo-name { font-weight: 700; font-size: 17px; letter-spacing: .5px; color: #0f284b; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-item > a,
.main-nav > a {
    display: flex; align-items: center; gap: 5px;
    font-size: 14px; color: rgba(15,40,75,.72);
    padding: 22px 16px;
    transition: color .2s;
}
.nav-item > a:hover, .main-nav > a:hover { color: #0f284b; }
.nav-item > a .caret {
    width: 0; height: 0;
    border-left: 4px solid transparent; border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform .2s;
}
.nav-item:hover > a .caret { transform: rotate(180deg); }

/* 下拉 */
.drop {
    position: absolute; top: 100%; left: 8px;
    min-width: 178px;
    background: #ffffff;
    border: 1px solid rgba(15,40,75,.12);
    border-radius: 8px;
    padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .2s, transform .2s, visibility .2s;
    box-shadow: 0 16px 40px rgba(15,40,75,.14);
}
.nav-item:hover .drop { opacity: 1; visibility: visible; transform: none; }
.drop a {
    display: block;
    font-size: 13.5px; color: rgba(15,40,75,.7);
    padding: 9px 12px; border-radius: 6px;
    transition: color .18s, background .18s;
}
.drop a:hover { color: #0f284b; background: rgba(15,40,75,.06); }

.main-nav .cta-btn {
    margin-left: 12px;
    font-size: 13px; font-weight: 500;
    color: #fff !important; background: var(--c-brand);
    padding: 9px 22px !important;
    border-radius: 6px;
}
.main-nav .cta-btn:hover { background: var(--c-brand-hover); }

.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.mobile-menu-btn span { display: block; width: 20px; height: 1.5px; background: #0f284b; margin: 4px 0; }

@media (max-width: 900px) {
    .mobile-menu-btn { display: block; }
    .main-nav {
        position: fixed; top: 0; right: -100%;
        width: 285px; height: 100vh;
        background: #ffffff;
        flex-direction: column; align-items: stretch;
        padding: 76px 20px 32px;
        gap: 2px; overflow-y: auto;
        transition: right .35s cubic-bezier(.4,0,.2,1);
        box-shadow: -10px 0 40px rgba(15,40,75,.16);
    }
    .main-nav.open { right: 0; }
    .nav-item > a, .main-nav > a { padding: 13px 8px; font-size: 15px; }
    .nav-item > a .caret { margin-left: auto; }
    .drop {
        position: static; opacity: 1; visibility: visible; transform: none;
        background: none; border: none; box-shadow: none;
        padding: 0 0 6px 14px; min-width: 0;
    }
    .drop a { font-size: 13.5px; padding: 8px 8px; }
    .main-nav .cta-btn { margin: 14px 8px 0; text-align: center; }
}


/* ---------- hero（客户要求：不要太大；纯深底 + 左文右装备图） ---------- */

.hero {
    position: relative;
    min-height: 560px;
    margin-top: 68px;
    background: #ffffff;
    display: flex; align-items: center;
    overflow: hidden;
    padding: 56px 0;
}
.hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--c-line);
}
.hero-figs {
    position: absolute; right: 6%; top: 50%; transform: translateY(-50%);
    width: 38%; max-width: 520px; height: 76%;
    pointer-events: none;
}
.hero-fig {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .8s ease;
}
.hero-fig.active { opacity: 1; }
.hero-fig img { max-width: 100%; max-height: 100%; object-fit: contain; }

.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-label {
    font-size: 12px; font-weight: 600; letter-spacing: 3px;
    color: var(--c-brand); text-transform: uppercase; margin-bottom: 16px;
}
.hero-title {
    font-weight: 800;
    font-size: clamp(28px, 3.5vw, 46px);
    line-height: 1.2; letter-spacing: -.01em;
    color: var(--c-text); max-width: 540px; margin-bottom: 14px;
}
.hero-desc {
    font-size: 16px; line-height: 1.75;
    color: var(--c-text-2);
    max-width: 440px; margin-bottom: 30px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: inherit; font-size: 14px; font-weight: 500;
    color: #fff; background: var(--c-brand);
    border: none; padding: 13px 30px; border-radius: 6px;
    cursor: pointer; transition: background .2s;
}
.btn-primary:hover { background: var(--c-brand-hover); }

.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: inherit; font-size: 14px;
    color: var(--c-text-2); background: none;
    border: 1px solid var(--c-line-hover);
    padding: 13px 30px; border-radius: 6px;
    cursor: pointer; transition: border-color .2s, color .2s;
}
.btn-secondary:hover { border-color: var(--c-text); color: var(--c-text); }

.slide-nav { position: absolute; left: 60px; bottom: 34px; z-index: 3; display: flex; gap: 10px; }
.slide-dot {
    width: 30px; height: 30px; border-radius: 50%;
    border: 1px solid var(--c-line-hover);
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; color: var(--c-text-3);
    cursor: pointer; background: none; transition: all .25s;
}
.slide-dot.active { border-color: var(--c-brand); color: #fff; background: var(--c-brand); }

@media (max-width: 900px) {
    .hero {
        flex-direction: column; align-items: stretch;
        padding: 40px 0 74px; min-height: 0;
    }
    .hero-content { order: 1; }
    .hero-figs {
        order: 2; position: relative; right: auto; top: auto; transform: none;
        width: 100%; max-width: none; height: 220px; margin: 28px 0 0;
    }
    .hero-title { max-width: none; font-size: clamp(26px, 7.2vw, 38px); }
    .hero-desc { max-width: none; }
    .slide-nav { left: 20px; bottom: 22px; }
}

/* ---------- 通用板块 ---------- */

.section { padding: 104px 0; }
@media (max-width: 640px) { .section { padding: 64px 0; } }

.section-eyebrow {
    font-size: 12px; font-weight: 600; letter-spacing: 3px;
    color: var(--c-brand); text-transform: uppercase; margin-bottom: 12px;
}
.section-heading {
    font-weight: 800; font-size: clamp(25px, 3vw, 38px);
    line-height: 1.25; letter-spacing: -.01em; color: var(--c-text);
}
.section-text { font-size: 15px; line-height: 1.85; color: var(--c-text-2); max-width: 560px; margin-top: 14px; }
.section-header { margin-bottom: 48px; }


/* ---------- 应用场景（彩色平色卡，源站彩色格调） ---------- */

.scene-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scene-card {
    display: flex; color: #fff;
    position: relative; overflow: hidden;
    border-radius: 10px; aspect-ratio: 3/2;
    padding: 26px; display: flex; flex-direction: column; justify-content: flex-end;
    transition: transform .3s;
}
.scene-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.14); }
.scene-card .scene-ico {
    position: absolute; right: -10px; top: -6px;
    width: 62%; opacity: .22;
    filter: brightness(0) invert(1);
    pointer-events: none;
}
.scene-arrow {
    position: absolute; right: 22px; top: 20px;
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,.18); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; transition: background .25s, transform .25s;
}
.scene-card:hover .scene-arrow { background: rgba(255,255,255,.34); transform: translateX(3px); }
.scene-name { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 6px; position: relative; }
.scene-desc { font-size: 13px; color: rgba(255,255,255,.82); line-height: 1.65; position: relative; }
.sc-1 { background: #b45309; }
.sc-2 { background: #334155; }
.sc-3 { background: #0e7490; }
.sc-4 { background: #0f766e; }
.sc-5 { background: #1e40af; }
.sc-6 { background: #86198f; }
@media (max-width: 900px) { .scene-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .scene-grid { grid-template-columns: 1fr; } }


/* ---------- 先锋介绍区（地面先锋 / 空中之眼） ---------- */

.pioneer { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pioneer.reverse .pio-media { order: 2; }
.pio-media { display: flex; align-items: center; justify-content: center; }
.pio-media img { max-width: 100%; max-height: 380px; object-fit: contain; }
.pio-chips { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.pio-chip {
    border: 1px solid var(--c-line); border-radius: 8px;
    padding: 14px 16px; min-width: 108px; background: var(--c-bg);
}
.pio-chip strong { display: block; font-size: 13px; font-weight: 600; color: var(--c-text); margin-bottom: 3px; }
.pio-chip span { font-size: 12px; color: var(--c-text-3); }
@media (max-width: 860px) {
    .pioneer { grid-template-columns: 1fr; gap: 32px; }
    .pioneer.reverse .pio-media { order: 0; }
}


/* ---------- 数据统计（源站竖排大数字质感） ---------- */

.stats-rows { border-top: 1px solid var(--c-line); }
.stat-row {
    display: grid; grid-template-columns: 320px 1fr;
    gap: 40px; align-items: center;
    padding: 34px 0; border-bottom: 1px solid var(--c-line);
}
.stat-num { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--c-text); }
.stat-num span { color: var(--c-brand); font-size: .46em; margin-left: 2px; vertical-align: .12em; }
.stat-cap { font-size: clamp(18px, 2.1vw, 26px); font-weight: 700; color: var(--c-text-3); margin-top: 4px; letter-spacing: .5px; }
.stat-desc { font-size: 14px; line-height: 1.8; color: var(--c-text-2); }
@media (max-width: 760px) { .stat-row { grid-template-columns: 1fr; gap: 10px; } }


/* ---------- 合作伙伴 ---------- */

.partner-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 12px; }
.partner-cell {
    height: 74px; border: 1px dashed var(--c-line-hover); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; color: var(--c-text-3); background: var(--c-surface);
}
@media (max-width: 760px) { .partner-row { grid-template-columns: repeat(2, 1fr); } }


/* ---------- 产品（深色区） ---------- */

.filter-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-bar button {
    font-family: inherit; font-size: 13px;
    padding: 7px 18px; border-radius: 100px;
    border: 1px solid var(--c-line-hover); background: none;
    color: var(--c-text-2); cursor: pointer; transition: .2s;
}
.filter-bar button:hover { color: var(--c-text); }
.filter-bar button.active { background: var(--c-text); color: var(--c-bg); border-color: var(--c-text); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 16px; }
.product-card {
    background: var(--c-surface); border: 1px solid var(--c-line);
    border-radius: 10px; overflow: hidden; transition: border-color .25s, transform .25s;
}
.product-card:hover { border-color: var(--c-line-hover); transform: translateY(-3px); }
.product-thumb {
    aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
    padding: 26px; background: #ffffff; overflow: hidden;
}
.product-thumb img { max-width: 84%; max-height: 84%; object-fit: contain; transition: transform .4s cubic-bezier(.4,0,.2,1); }
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-thumb.is-placeholder .ph-model { font-size: 20px; font-weight: 700; letter-spacing: 1px; color: var(--c-text-3); }
.product-body { padding: 20px 22px 24px; }
.product-type { font-size: 11px; letter-spacing: 2px; color: var(--c-text-3); margin-bottom: 6px; }
.product-name { font-size: 19px; font-weight: 700; letter-spacing: .5px; margin-bottom: 8px; color: var(--c-text); }
.product-info { font-size: 13px; color: var(--c-text-2); line-height: 1.65; }
.product-link { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: var(--c-brand); margin-top: 14px; transition: gap .2s; }
.on-dark .product-link { color: var(--c-brand); }
.product-link:hover { gap: 8px; }


/* ---------- 关于我们 ---------- */

.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-photo { position: relative; border-radius: 10px; overflow: hidden; background: var(--c-surface); }
.about-photo img { width: 100%; filter: brightness(.8); }
.about-badge { position: absolute; bottom: 22px; left: 22px; background: var(--c-brand); padding: 14px 20px; border-radius: 8px; }
.about-badge strong { font-weight: 800; font-size: 28px; display: block; line-height: 1; color: #fff; }
.about-badge span { font-size: 12px; color: rgba(255,255,255,.78); margin-top: 4px; display: block; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.feature-item { padding: 18px; border: 1px solid var(--c-line); border-radius: 8px; transition: border-color .2s; }
.feature-item:hover { border-color: var(--c-line-hover); }
.feature-item h4 { font-size: 14px; font-weight: 600; margin-bottom: 4px; color: var(--c-text); }
.feature-item p { font-size: 13px; color: var(--c-text-2); line-height: 1.55; }
@media (max-width: 860px) { .about-layout { grid-template-columns: 1fr; gap: 36px; } }


/* ---------- 联系 ---------- */

.contact-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.contact-card {
    display: flex; align-items: center; gap: 16px;
    padding: 17px 20px; border: 1px solid var(--c-line);
    border-radius: 8px; transition: border-color .2s;
}
.contact-card:hover { border-color: var(--c-line-hover); }
.contact-card .icon {
    width: 40px; height: 40px; border-radius: 8px; background: var(--c-surface);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-card .icon svg { width: 18px; height: 18px; stroke: var(--c-brand); stroke-width: 1.5; fill: none; }
.contact-card .label { font-size: 11px; color: var(--c-text-3); margin-bottom: 2px; }
.contact-card .value { font-size: 15px; font-weight: 500; color: var(--c-text); }

.inquiry-form { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 12px; padding: 34px; }
.inquiry-form h3 { font-size: 20px; font-weight: 700; margin-bottom: 4px; color: var(--c-text); }
.inquiry-form .subtitle { font-size: 13px; color: var(--c-text-2); margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; color: var(--c-text-2); margin-bottom: 6px; }
.field input, .field textarea {
    width: 100%; padding: 11px 13px;
    background: var(--c-bg); border: 1px solid var(--c-line);
    border-radius: 6px; color: var(--c-text);
    font-family: inherit; font-size: 14px; outline: none; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--c-brand); }
.field input::placeholder, .field textarea::placeholder { color: var(--c-text-3); }
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.submit-btn {
    width: 100%; padding: 13px;
    font-family: inherit; font-size: 14px; font-weight: 500;
    color: #fff; background: var(--c-brand);
    border: none; border-radius: 6px; cursor: pointer; transition: background .2s;
}
.submit-btn:hover { background: var(--c-brand-hover); }
.form-ok {
    color: #15803d; font-size: 14px; background: #f0fdf4;
    border: 1px solid #bbf7d0; border-radius: 6px;
    padding: 11px 13px; margin-bottom: 16px;
}
@media (max-width: 860px) {
    .contact-layout { grid-template-columns: 1fr; gap: 36px; }
    .inquiry-form { padding: 24px 20px; }
    .field-row { grid-template-columns: 1fr; }
}


/* ---------- 紫色 CTA 大色块 ---------- */

.cta-band { background: var(--c-brand); padding: 74px 0; text-align: center; }
.cta-band img { width: 52px; margin: 0 auto 18px; }
.cta-band h2 { font-size: clamp(26px, 3.6vw, 44px); font-weight: 800; color: #fff; line-height: 1.35; margin-bottom: 14px; }
.cta-band p { font-size: 15px; color: rgba(255,255,255,.82); max-width: 620px; margin: 0 auto 28px; line-height: 1.8; }
.cta-band .btn-dark {
    display: inline-block; background: #ffffff; color: var(--c-brand);
    font-size: 14px; font-weight: 500; padding: 14px 34px; border-radius: 6px;
    transition: opacity .2s;
}
.cta-band .btn-dark:hover { opacity: .84; }


/* ---------- footer ---------- */

.site-footer { padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 44px; margin-bottom: 42px; }
.footer-about { font-size: 13px; color: var(--c-text-2); line-height: 1.75; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; color: var(--c-text-2); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 13px; color: var(--c-text-3); transition: color .2s; }
.footer-col a:hover { color: var(--c-text); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 22px; border-top: 1px solid var(--c-line);
    font-size: 12px; color: var(--c-text-3); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--c-text-3); transition: color .2s; }
.footer-bottom a:hover { color: var(--c-text-2); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }


/* ---------- 产品详情 / 内容页 / 资讯 / 404 ---------- */

.pd-wrap { padding-top: 132px; padding-bottom: 96px; }
.pd-top { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd-media {
    background: #ffffff; border-radius: 12px; aspect-ratio: 4/3;
    display: flex; align-items: center; justify-content: center; padding: 36px; overflow: hidden;
}
.pd-media img { max-width: 88%; max-height: 88%; object-fit: contain; }
.pd-media.is-placeholder .ph-model { font-size: 24px; font-weight: 700; color: rgba(0,0,0,.28); }
.pd-cat { font-size: 12px; letter-spacing: 2px; color: var(--c-brand); margin-bottom: 10px; }
.pd-title { font-weight: 800; font-size: 34px; letter-spacing: .5px; margin-bottom: 14px; }
.pd-intro { font-size: 16px; line-height: 1.8; color: var(--c-text-2); margin-bottom: 24px; }
.spec-table { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 40px; font-size: 14px; }
.spec-table caption { text-align: left; font-size: 18px; font-weight: 700; margin-bottom: 16px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--c-line); vertical-align: top; word-break: break-word; overflow-wrap: anywhere; }
.spec-table th { width: 34%; color: var(--c-text-2); font-weight: 500; background: var(--c-surface); }
@media (max-width: 860px) {
    .pd-top { grid-template-columns: 1fr; gap: 28px; }
    .spec-table { font-size: 13px; }
    .spec-table th { width: 36%; }
    .spec-table th, .spec-table td { padding: 11px 12px; }
}

.page-wrap { padding-top: 132px; padding-bottom: 96px; }
.page-title { font-weight: 800; font-size: clamp(26px, 3.2vw, 38px); margin-bottom: 14px; }
.page-content { font-size: 15px; line-height: 1.9; color: var(--c-text-2); }
.page-content h3 { color: var(--c-text); font-size: 18px; font-weight: 700; margin: 26px 0 8px; }
.page-content p { margin-bottom: 12px; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.news-card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: 10px; overflow: hidden; transition: border-color .25s, transform .25s; }
.news-card:hover { border-color: var(--c-line-hover); transform: translateY(-3px); }
.news-thumb { aspect-ratio: 16/9; overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 22px; }
.news-date { font-size: 12px; color: var(--c-text-3); letter-spacing: 1px; margin-bottom: 8px; }
.news-title { font-size: 18px; font-weight: 700; line-height: 1.45; margin-bottom: 10px; color: var(--c-text); }
.news-ex { font-size: 13px; color: var(--c-text-2); line-height: 1.7; margin-bottom: 12px; }
.news-hero { border-radius: 10px; overflow: hidden; margin: 20px 0; }

.pagination, .nav-links { margin-top: 44px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--c-line); border-radius: 6px; color: var(--c-text-2); font-size: 14px; }
.page-numbers.current { background: var(--c-brand); border-color: var(--c-brand); color: #fff; }

.err-404 { text-align: center; padding: 180px 0 130px; }
.err-404 .code { font-size: 84px; font-weight: 800; color: var(--c-brand); line-height: 1; }


/* scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1); }
.reveal.show { opacity: 1; transform: none; }


/* ---------- 关于我们（无图版） ---------- */
.about-head { max-width: 760px; margin-bottom: 40px; }
.about-head .section-text { max-width: none; margin-bottom: 18px; }
.features-grid.features-4 { grid-template-columns: repeat(4, 1fr); margin-top: 0; }
@media (max-width: 1000px) { .features-grid.features-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .features-grid.features-4 { grid-template-columns: 1fr; } }

/* ---------- 场景详情页 ---------- */
.sector-hero { margin-top: 68px; padding: 56px 0 52px; color: #fff; overflow: hidden; }
.sector-hero-inner { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; }
.sector-hero-fig { display: flex; align-items: center; justify-content: center; }
.sector-hero-fig img { max-width: 100%; max-height: 230px; object-fit: contain; }
@media (max-width: 760px) {
    .sector-hero-inner { grid-template-columns: 1fr; gap: 18px; }
    .sector-hero-fig { justify-content: flex-start; }
    .sector-hero-fig img { max-height: 160px; }
}
.sector-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.sector-title { font-size: clamp(28px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 12px; }
.sector-lead { font-size: 16px; line-height: 1.8; color: rgba(255,255,255,.88); max-width: 720px; }
.sector-body { padding-top: 52px; padding-bottom: 96px; }
.sector-photo { border-radius: 12px; overflow: hidden; margin-bottom: 30px; }
.sector-photo img { width: 100%; }
.sector-rel-title { font-size: 18px; font-weight: 700; margin: 26px 0 8px; }
.sector-cta { margin-top: 26px; }


/* 场景卡上的装备小图 */
/* 场景卡：客户英文站的实景背景图 */
.scene-card.has-bg { background-size: cover; background-position: center; }
.scene-mask {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(8,10,16,.22) 0%, rgba(8,10,16,.62) 58%, rgba(8,10,16,.86) 100%);
}
.scene-card .scene-name, .scene-card .scene-desc { position: relative; z-index: 1; }
.scene-card .scene-arrow { z-index: 2; }


/* 产品图未加载时的占位（避免白底看起来像图坏了） */
.product-thumb { position: relative; }
.product-thumb img { position: relative; z-index: 1; background: #fff; }


/* ---------- 场景详情 hero：实景背景 ---------- */
.sector-hero.has-bg { background-size: cover; background-position: center; position: relative; }
.sector-hero-mask {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(8,10,16,.86) 0%, rgba(8,10,16,.66) 52%, rgba(8,10,16,.42) 100%);
}
.sector-hero.has-bg .sector-hero-inner { position: relative; z-index: 1; }
.sector-hero-inner { display: block; }
.sector-hero.has-bg { padding: 92px 0 82px; }
@media (max-width: 760px) { .sector-hero.has-bg { padding: 60px 0 54px; } }

/* ---------- 比较方案表格 ---------- */
.table-scroll { overflow-x: auto; margin: 22px 0 8px; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 760px; }
.compare-table th, .compare-table td {
    text-align: left; padding: 14px 16px;
    border-bottom: 1px solid var(--c-line); vertical-align: top;
}
.compare-table thead th { background: var(--c-surface); font-weight: 600; color: var(--c-text); white-space: nowrap; }
.compare-table td { color: var(--c-text-2); }
.compare-table td strong { color: var(--c-text); display: block; }
.compare-table td .en { font-size: 12px; color: var(--c-text-3); display: block; margin-top: 2px; }
.compare-table tbody tr:hover { background: rgba(124,58,237,.04); }

@media (max-width: 760px) {
    .table-scroll { overflow-x: visible; }
    .compare-table { min-width: 0; }
    .compare-table thead { display: none; }
    .compare-table tbody tr {
        display: block; border: 1px solid var(--c-line);
        border-radius: 10px; padding: 6px 14px; margin-bottom: 14px;
    }
    .compare-table td { display: flex; gap: 12px; border-bottom: 1px dashed var(--c-line); padding: 10px 0; }
    .compare-table tbody tr td:last-child { border-bottom: 0; }
    .compare-table td::before {
        content: attr(data-label);
        flex: 0 0 84px; color: var(--c-text-3); font-size: 13px;
    }
}


/* ---------- 产品亮点四方框（对标手册 PPT 版式） ---------- */
.hl-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 12px; margin: 4px 0 28px;
}
.hl-box {
    border: 1px solid var(--c-line); border-radius: 10px;
    background: var(--c-surface);
    padding: 18px 16px; min-height: 76px;
    display: flex; align-items: center;
    font-size: 14px; font-weight: 600; line-height: 1.5;
    color: var(--c-text);
    transition: border-color .2s, transform .2s;
}
.hl-box:hover { border-color: var(--c-brand); transform: translateY(-2px); }
@media (max-width: 520px) { .hl-grid { grid-template-columns: 1fr; } .hl-box { min-height: 0; padding: 14px 16px; } }


/* ---------- 公安业务应用（手册 P22） ---------- */
.police-lead {
    background: var(--c-surface); border-left: 3px solid var(--c-brand);
    padding: 16px 20px; border-radius: 0 8px 8px 0;
    font-size: 15px; line-height: 1.8; color: var(--c-text); margin: 8px 0 26px;
}
.police-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.police-item { border: 1px solid var(--c-line); border-radius: 10px; padding: 22px; transition: border-color .2s; }
.police-item:hover { border-color: var(--c-brand); }
.police-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--c-text); }
.police-item p { font-size: 14px; line-height: 1.75; color: var(--c-text-2); }
@media (max-width: 720px) { .police-grid { grid-template-columns: 1fr; } }


/* 产品分类归档页的分类说明（可放富文本） */
.cat-desc { margin-top: 14px; font-size: 15px; line-height: 1.85; color: var(--c-text-2); }
.cat-desc h3 { font-size: 18px; font-weight: 700; color: var(--c-text); margin: 26px 0 8px; }
.cat-desc p { margin-bottom: 10px; }
