:root {
    --brand-blue: #3f5bd8;
    --brand-blue-dark: #1d3da8;
    --text: #121212;
    --muted: #707070;
    --line: #d7d9df;
    --paper: #ffffff;
    --soft: #f5f6fa;
    --sidebar-width: 196px;
    --header-height: 150px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.site-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    background: #fff;
    border-bottom: 1px solid #f1f1f1;
    position: relative;
    z-index: 20;
}
.brand img { width: 136px; height: auto; }
.menu-toggle {
    width: 54px;
    height: 54px;
    border: 0;
    background: transparent;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
}
.menu-toggle span {
    display: block;
    width: 30px;
    height: 4px;
    border-radius: 4px;
    background: var(--brand-blue-dark);
}

.drawer-mask {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.35);
    opacity: 0;
    visibility: hidden;
    transition: .25s;
    z-index: 90;
}
.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 84vw);
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: .25s;
    z-index: 100;
    padding: 28px;
    box-shadow: -12px 0 40px rgba(0,0,0,.16);
}
.drawer.is-open { transform: translateX(0); }
.drawer-mask.is-open { opacity: 1; visibility: visible; }
.drawer-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; font-size:22px; }
.drawer-head button { font-size:34px; line-height:1; border:0; background:transparent; cursor:pointer; }
.drawer > a { display:block; padding:16px 4px; border-bottom:1px solid #ececf0; font-size:18px; }
.drawer > a:hover { color: var(--brand-blue); }

.page-layout {
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    align-items: stretch;
    min-height: calc(100vh - var(--header-height));
}
.category-sidebar {
    background: var(--brand-blue);
    padding: 48px 20px 80px;
    min-height: 100%;
}
.category-link {
    display: block;
    color: #fff;
    font-size: 28px;
    line-height: 1.32;
    padding: 19px 0 24px;
    margin-bottom: 20px;
    position: relative;
    letter-spacing: .5px;
}
.category-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 12px;
    width: 0;
    height: 3px;
    background: #fff;
    transition: .2s;
}
.category-link:hover::after,
.category-link.is-active::after { width: 104px; }

.content-area {
    padding: 0 28px 56px 29px;
    min-width: 0;
}
.content-heading {
    margin: 0;
    padding: 28px 0 18px;
    font-size: 30px;
    font-weight: 600;
}
.product-grid { display:block; }
.product-card {
    min-height: 214px;
    border: 1px solid #cfd2d9;
    margin: 0 0 29px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
    transition: transform .18s ease, box-shadow .18s ease;
}
.product-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(26,36,85,.12); }
.product-card-link {
    min-height: 214px;
    display: grid;
    grid-template-columns: 190px minmax(0,1fr);
    align-items: center;
    padding: 18px 28px 18px 20px;
}
.product-card-media {
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
}
.product-card-media img {
    width: 116px;
    max-height: 158px;
    object-fit: contain;
}
.product-card-body { min-width:0; }
.product-card-title {
    font-size: 28px;
    line-height: 1.4;
    font-weight: 500;
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-card-subtitle {
    font-size: 23px;
    line-height: 1.4;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-card-more {
    font-size: 22px;
    margin-top: 2px;
    display: inline-block;
}
.empty-state { padding:60px 20px; text-align:center; color:var(--muted); }

.inner-page { padding: 30px; }
.page-card {
    max-width: 1080px;
    margin: 0 auto;
    border: 1px solid var(--line);
    background:#fff;
    padding: 34px;
    box-shadow:0 8px 26px rgba(0,0,0,.05);
}
.page-card h1 { margin-top:0; font-size:34px; }
.page-card h2 { color:var(--brand-blue-dark); }
.breadcrumbs { color:#6b6f7b; margin-bottom:22px; font-size:15px; }
.breadcrumbs a:hover { color:var(--brand-blue); }

.product-detail {
    display:grid;
    grid-template-columns:minmax(260px, 390px) minmax(0,1fr);
    gap:48px;
    align-items:start;
}
.product-detail-image {
    background:#fafafa;
    border:1px solid var(--line);
    min-height:430px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.product-detail-image img { max-width:72%; max-height:360px; }
.product-detail h1 { font-size:34px; line-height:1.35; margin:0 0 8px; }
.product-detail .subtitle { font-size:20px; color:#34373f; margin:0 0 22px; }
.product-detail .summary { color:#555b66; font-size:17px; }
.product-badge { display:inline-block; padding:5px 12px; color:#fff; background:var(--brand-blue); border-radius:999px; font-size:14px; margin-bottom:18px; }
.product-actions { margin-top:26px; display:flex; gap:12px; flex-wrap:wrap; }
.button {
    display:inline-flex;
    justify-content:center;
    align-items:center;
    border-radius:3px;
    border:1px solid var(--brand-blue);
    padding:11px 22px;
    background:var(--brand-blue);
    color:#fff;
    cursor:pointer;
}
.button.secondary { background:#fff; color:var(--brand-blue); }
.product-description { margin-top:42px; padding-top:30px; border-top:1px solid var(--line); }

.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-group { margin-bottom:18px; }
.form-group.full { grid-column:1 / -1; }
.form-group label { display:block; margin-bottom:7px; font-weight:600; }
.form-control {
    width:100%;
    border:1px solid #cfd2d9;
    border-radius:3px;
    padding:12px 13px;
    background:#fff;
}
textarea.form-control { min-height:150px; resize:vertical; }
.notice { background:#f3f6ff; color:#29408d; border-left:4px solid var(--brand-blue); padding:13px 15px; margin-bottom:20px; }
.success-box { background:#ecf8ef; color:#176326; border:1px solid #bfe0c6; padding:13px 15px; margin-bottom:20px; }
.error-box { background:#fff0f0; color:#9a1b1b; border:1px solid #edc2c2; padding:13px 15px; margin-bottom:20px; }
.verify-result { margin-top:22px; padding:18px; border:1px dashed var(--line); background:#fafafa; }

.back-to-top {
    position: fixed;
    right: 0;
    bottom: 180px;
    width: 82px;
    height: 82px;
    border: 0;
    background: rgba(201,204,213,.82);
    cursor: pointer;
    z-index: 25;
    opacity:0;
    pointer-events:none;
    transition:.2s;
}
.back-to-top.is-visible { opacity:1; pointer-events:auto; }
.back-to-top span,
.back-to-top span::before {
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    content:"";
}
.back-to-top span { width:32px; height:18px; bottom:25px; background:#fff; border-radius:2px; }
.back-to-top span::before { top:-16px; width:0; height:0; border-left:18px solid transparent; border-right:18px solid transparent; border-bottom:18px solid #fff; }

.site-footer {
    padding:28px 20px;
    text-align:center;
    color:#6d707a;
    background:#f5f6f8;
    font-size:14px;
}
.site-footer p { margin:4px 0; }
.site-footer-links a { margin:0 9px; }
.site-footer-links a:hover { color:var(--brand-blue); }

@media (min-width: 1100px) {
    :root { --header-height: 108px; --sidebar-width: 240px; }
    .site-header { padding:0 55px; }
    .brand img { width:150px; }
    .page-layout { max-width:1440px; margin:0 auto; }
    .category-sidebar { padding-left:34px; padding-right:34px; }
    .category-link { font-size:25px; }
    .content-area { padding:28px 46px 70px; }
    .product-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
    .product-card { margin:0; }
    .product-card-link { grid-template-columns:150px minmax(0,1fr); }
    .product-card-title { font-size:22px; white-space:normal; }
    .product-card-subtitle { font-size:17px; }
    .product-card-more { font-size:16px; }
}

@media (max-width: 760px) {
    :root { --header-height: 92px; --sidebar-width: 145px; }
    .site-header { padding:0 16px; }
    .brand img { width:112px; }
    .menu-toggle { width:44px; height:44px; }
    .menu-toggle span { width:27px; height:3px; }
    .category-sidebar { padding:30px 14px 50px; }
    .category-link { font-size:20px; padding:13px 0 20px; margin-bottom:12px; }
    .category-link::after { bottom:9px; }
    .content-area { padding:0 14px 40px; }
    .product-card { min-height:168px; margin-bottom:18px; }
    .product-card-link { min-height:168px; grid-template-columns:115px minmax(0,1fr); padding:12px 14px 12px 8px; }
    .product-card-media img { width:86px; max-height:125px; }
    .product-card-title { font-size:20px; white-space:normal; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
    .product-card-subtitle { font-size:16px; }
    .product-card-more { font-size:16px; }
    .back-to-top { width:58px; height:58px; bottom:90px; }
    .back-to-top span { width:24px; height:13px; bottom:17px; }
    .back-to-top span::before { top:-12px; border-left-width:13px; border-right-width:13px; border-bottom-width:13px; }
    .inner-page { padding:16px; }
    .page-card { padding:22px; }
    .product-detail { grid-template-columns:1fr; gap:26px; }
    .product-detail-image { min-height:300px; }
    .product-detail h1 { font-size:27px; }
    .form-grid { grid-template-columns:1fr; }
}

@media (max-width: 520px) {
    .page-layout { grid-template-columns:1fr; }
    .category-sidebar {
        position:sticky;
        top:0;
        z-index:15;
        display:flex;
        overflow-x:auto;
        min-height:auto;
        padding:0 12px;
        gap:18px;
        white-space:nowrap;
    }
    .category-link { flex:0 0 auto; font-size:16px; margin:0; padding:13px 0 15px; }
    .category-link::after { bottom:6px; }
    .product-card-link { grid-template-columns:98px minmax(0,1fr); }
    .product-card-title { font-size:18px; }
    .product-card-subtitle, .product-card-more { font-size:14px; }
}

/* Old-site product detail layout reconstructed from the supplied page capture. */
.official-product-page {
    width: min(1230px, calc(100% - 64px));
    margin: 36px auto 0;
    padding-bottom: 64px;
}
.official-product-hero {
    display: grid;
    grid-template-columns: minmax(0, 685px) minmax(360px, 1fr);
    gap: 34px;
    align-items: start;
}
.official-product-visual {
    width: 100%;
    aspect-ratio: 1.225 / 1;
    background: #f4f4f4;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.official-product-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.official-product-copy {
    padding: 0 0 0 0;
}
.official-product-copy h1 {
    margin: -5px 0 24px;
    font-size: 31px;
    line-height: 1.17;
    font-weight: 500;
    letter-spacing: -.4px;
}
.official-features {
    color: #727272;
    font-size: 17px;
    line-height: 1.45;
}
.official-features p { margin: 0 0 8px; }
.official-certifications {
    margin: 34px 0 54px;
    width: 390px;
    max-width: 100%;
}
.official-certifications img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
.official-product-meta {
    margin: 0;
    width: 100%;
    max-width: 470px;
}
.official-product-meta > div {
    display: grid;
    grid-template-columns: 198px 1fr;
    align-items: center;
    min-height: 63px;
    border-bottom: 1px solid #d1d1d1;
    color: #555;
    font-size: 16px;
}
.official-product-meta dt,
.official-product-meta dd { margin: 0; }
.official-product-meta dd { color: #222; }
.official-product-slogan {
    margin: 62px 0 42px;
    color: #173caa;
    text-align: center;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: 1px;
}
.official-product-notes {
    background: #fafafa;
    padding: 44px 78px 28px;
    min-height: 345px;
}
.official-note-block { margin: 0 0 25px; }
.official-note-block h3 {
    margin: 0 0 8px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 500;
}
.official-note-block p {
    margin: 0;
    color: #a0a0a0;
    font-size: 16px;
    line-height: 1.7;
}
.official-video-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 168px;
    height: 36px;
    padding: 0 20px;
    margin-top: 3px;
    border-radius: 999px;
    background: #2847ad;
    color: #fff;
    font-size: 15px;
}
.official-video-button:hover { background: #183998; }
.simple-error {
    width: min(980px, calc(100% - 40px));
    margin: 60px auto;
    padding: 40px;
    border: 1px solid #ddd;
}

@media (min-width: 1100px) {
    .product-grid { display: block; }
    .product-card { margin: 0 0 24px; }
    .product-card-link { grid-template-columns: 180px minmax(0,1fr); }
    .product-card-title { font-size: 25px; white-space: nowrap; }
    .product-card-subtitle { font-size: 20px; }
    .product-card-more { font-size: 18px; }
}

@media (max-width: 900px) {
    .official-product-page { width: min(100% - 34px, 760px); margin-top: 22px; }
    .official-product-hero { grid-template-columns: 1fr; gap: 28px; }
    .official-product-copy h1 { font-size: 28px; }
    .official-certifications { margin: 25px 0 30px; }
    .official-product-meta { max-width: none; }
    .official-product-slogan { margin: 45px 0 30px; font-size: 30px; }
    .official-product-notes { padding: 34px 38px 28px; }
}

@media (max-width: 560px) {
    .official-product-page { width: calc(100% - 24px); margin-top: 14px; }
    .official-product-copy h1 { font-size: 24px; margin-bottom: 18px; }
    .official-features { font-size: 15px; }
    .official-certifications { width: 330px; margin: 22px 0 25px; }
    .official-product-meta > div { grid-template-columns: 145px 1fr; min-height: 54px; font-size: 15px; }
    .official-product-slogan { margin: 36px 0 24px; font-size: 25px; }
    .official-product-notes { padding: 28px 22px 24px; }
    .official-note-block h3 { font-size: 18px; }
    .official-note-block p { font-size: 14px; }
}

/* Video dialog */
.official-video-button {
    border: 0;
    cursor: pointer;
    font-family: inherit;
}
.video-modal[hidden] { display: none; }
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
}
.video-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .66);
}
.video-modal-panel {
    position: relative;
    z-index: 1;
    width: min(900px, 96vw);
    max-height: 90vh;
    overflow: auto;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}
.video-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 22px;
    border-bottom: 1px solid #e7e7e7;
}
.video-modal-head h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}
.video-modal-head button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f2f2f2;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}
.video-modal-content {
    min-height: 260px;
    padding: 20px;
    background: #111;
}
.video-modal-content video,
.video-modal-content iframe {
    display: block;
    width: 100%;
    min-height: min(56vw, 500px);
    border: 0;
    background: #000;
}
.video-empty {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 260px;
    padding: 32px;
    text-align: center;
    color: #555;
    background: #fff;
}
.video-empty strong {
    display: block;
    margin-bottom: 10px;
    color: #173caa;
    font-size: 22px;
}
.video-empty p { margin: 0; line-height: 1.8; }

/* News */
.news-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.news-list {
    display: grid;
    gap: 22px;
    margin-top: 28px;
}
.news-card {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 26px;
    padding: 22px;
    border: 1px solid #e3e3e3;
    background: #fff;
}
.news-cover {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f5f5f5;
}
.news-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card-body h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.4;
}
.news-card-body h2 a { color: #222; }
.news-card-body time,
.article-meta {
    color: #999;
    font-size: 14px;
}
.news-card-body p {
    margin: 14px 0;
    color: #666;
    line-height: 1.8;
}
.news-more { color: #2847ad; font-weight: 600; }
.article-cover {
    display: block;
    width: 100%;
    max-height: 560px;
    margin: 26px 0;
    object-fit: cover;
}
.article-page h1 { margin-bottom: 12px; }

@media (max-width: 700px) {
    .video-modal { padding: 10px; }
    .video-modal-content { padding: 8px; min-height: 220px; }
    .video-modal-content video,
    .video-modal-content iframe { min-height: 220px; }
    .news-card { grid-template-columns: 1fr; padding: 16px; }
    .news-card-body h2 { font-size: 20px; }
}
