/* =========================================================
   Global
========================================================= */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* 屏幕阅读器/SEO 仅可见（用于隐藏的 h1 等） */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body {

    margin: 0;

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        "PingFang SC",
        "Microsoft YaHei",
        Arial,
        sans-serif;

    color: #172033;

    background: #f6f8fb;
}


/* =========================================================
   Header
========================================================= */

.header {

    height: 64px;

    background: rgba(255,255,255,.94);

    border-bottom:
        1px solid #e8edf3;

    display: flex;

    align-items: center;

    position: sticky;

    top: 0;

    z-index: 100;

    backdrop-filter: blur(12px);
}


.header-inner {

    width:
        min(1240px, calc(100% - 40px));

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.logo {

    font-size: 20px;

    font-weight: 800;

    color: #1d4ed8;
}


.logo span {
    color: #172033;
}


.nav {

    display: flex;

    gap: 30px;
}


.nav a {

    color: #667085;

    text-decoration: none;

    font-size: 14px;
}


.nav a:hover {
    color: #2563eb;
}


/* =========================================================
   Container
========================================================= */

.container {

    width:
        min(1240px, calc(100% - 40px));

    margin: auto;
}


/* =========================================================
   Hero
========================================================= */

.hero {

    padding:
        16px 0 9px;
}


.hero h1 {

    margin:
        0 0 6px;

    font-size: 27px;

    letter-spacing: -.8px;

    color: #101828;
}


.hero p {

    margin: 0;

    font-size: 14px;

    color: #667085;
}


/* =========================================================
   Workspace
========================================================= */

.workspace {

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(440px, .95fr);

    gap: 18px;
}


/* =========================================================
   Card
========================================================= */

.card {

    background: #fff;

    border:
        1px solid #e7ecf2;

    border-radius: 18px;

    box-shadow:
        0 8px 30px
        rgba(30,50,80,.055);
}


/* =========================================================
   Mouse Card
========================================================= */

.mouse-card {

    min-height: 440px;

    padding: 22px;

    position: relative;

    overflow: hidden;

    user-select: none;
}


.card-title {

    margin: 0;

    font-size: 16px;

    font-weight: 700;
}


.card-subtitle {

    margin-top: 5px;

    font-size: 12px;

    color: #98a2b3;
}


/* =========================================================
   Mouse Stage
========================================================= */

.mouse-stage {

    height: 292px;

    position: relative;

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;
}


.mouse-area {

    width: 100%;

    height: 100%;

    min-height: 282px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: visible;

    perspective: 900px;

    perspective-origin: 50% 50%;
}


/* =========================================================
   3D Mouse Wrapper
========================================================= */

.mouse-3d-wrapper {

    position: relative;

    width: 178px;

    height: 270px;

    transform-style: preserve-3d;

    transform:
        rotateX(0deg)
        rotateY(0deg)
        rotateZ(0deg);

    transition:
        transform .08s linear;

    will-change: transform;

    z-index: 5;
}


/* =========================================================
   Real Mouse
========================================================= */

.real-mouse {

    width: 178px;

    height: 270px;

    position: relative;

    border-radius:
        88px 88px
        72px 72px;

    background:
        linear-gradient(
            112deg,
            #ffffff 0%,
            #f8fafc 28%,
            #e8edf3 65%,
            #d8e0e9 100%
        );

    border:
        1px solid #cfd8e3;

    box-shadow:

        0 28px 45px
        rgba(36,58,88,.18),

        0 8px 16px
        rgba(36,58,88,.08),

        inset 7px 5px 13px
        rgba(255,255,255,.9),

        inset -10px -15px 22px
        rgba(105,125,148,.10);

    transform:
        translateY(-3px);

    transition:
        box-shadow .15s ease;

    transform-style: preserve-3d;

    z-index: 5;
}


/* =========================================================
   Mouse Shadow
========================================================= */

.mouse-3d-wrapper::before {

    content: "";

    position: absolute;

    left: 50%;

    bottom: -10px;

    width: 128px;

    height: 23px;

    transform:
        translateX(-50%)
        translateZ(-15px);

    background:
        rgba(60,80,105,.15);

    filter:
        blur(13px);

    border-radius: 50%;

    pointer-events: none;
}


/* =========================================================
   Highlight
========================================================= */

.real-mouse::after {

    content: "";

    position: absolute;

    left: 18px;

    top: 13px;

    width: 65px;

    height: 105px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.72),
            rgba(255,255,255,0)
        );

    transform:
        rotate(-17deg)
        translateZ(4px);

    pointer-events: none;

    z-index: 20;
}


/* =========================================================
   Left Button
========================================================= */

.mouse-left {

    position: absolute;

    left: 2px;

    top: 2px;

    width: 50%;

    height: 103px;

    border: 0;

    border-radius:
        84px 0 0 18px;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #f5f7fa 60%,
            #e8edf2 100%
        );

    border-right:
        1px solid #d6dee7;

    border-bottom:
        1px solid #dce3ea;

    cursor: pointer;

    z-index: 8;

    transition: .08s;

    transform:
        translateZ(3px);
}


/* =========================================================
   Right Button
========================================================= */

.mouse-right {

    position: absolute;

    right: 2px;

    top: 2px;

    width: 50%;

    height: 103px;

    border: 0;

    border-radius:
        0 84px 18px 0;

    background:
        linear-gradient(
            215deg,
            #ffffff 0%,
            #f5f7fa 60%,
            #e8edf2 100%
        );

    border-left:
        1px solid #d6dee7;

    border-bottom:
        1px solid #dce3ea;

    cursor: pointer;

    z-index: 8;

    transition: .08s;

    transform:
        translateZ(3px);
}


.mouse-left.active,
.mouse-right.active {

    background:
        linear-gradient(
            145deg,
            #dbeafe,
            #bfdbfe
        );

    box-shadow:
        inset 0 0 25px
        rgba(59,130,246,.26);
}


/* =========================================================
   Center Divider
========================================================= */

.mouse-center-line {

    position: absolute;

    left: 50%;

    top: 8px;

    width: 1px;

    height: 94px;

    transform:
        translateX(-50%)
        translateZ(5px);

    background:
        linear-gradient(
            transparent,
            #c8d1dc 15%,
            #c8d1dc 80%,
            transparent
        );

    z-index: 12;

    pointer-events: none;
}


/* =========================================================
   Wheel
========================================================= */

.mouse-wheel-zone {

    position: absolute;

    left: 50%;

    top: 31px;

    width: 24px;

    height: 43px;

    transform:
        translateX(-50%)
        translateZ(8px);

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 12px;

    background:
        rgba(205,214,224,.48);

    box-shadow:

        inset 0 0 0 1px
        rgba(150,164,180,.3),

        0 2px 5px
        rgba(60,80,105,.08);

    z-index: 15;

    transition: .12s;
}


.wheel-rubber {

    width: 11px;

    height: 29px;

    border-radius: 7px;

    background:
        linear-gradient(
            90deg,
            #7e8b9c,
            #b1bbc7 50%,
            #707d8e
        );

    border:
        1px solid #687587;

    box-shadow:

        inset 1px 0 2px
        rgba(255,255,255,.35),

        inset -1px 0 2px
        rgba(0,0,0,.15);

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 3px;
}


.wheel-rubber span {

    width: 7px;

    height: 2px;

    border-radius: 2px;

    background:
        rgba(255,255,255,.48);
}


.mouse-wheel-zone.active {

    background:
        rgba(139,92,246,.13);

    box-shadow:

        0 0 17px
        rgba(139,92,246,.25),

        inset 0 0 0 1px
        rgba(139,92,246,.35);
}


.mouse-wheel-zone.active
.wheel-rubber {

    background:
        linear-gradient(
            90deg,
            #6941c6,
            #9b7ce5,
            #6941c6
        );

    border-color:
        #6941c6;
}


/* =========================================================
   Side Buttons

   注意：
   上方 = 前进
   下方 = 后退

========================================================= */

.mouse-side {

    position: absolute;

    left: -5px;

    width: 6px;

    height: 34px;

    padding: 0;

    border-radius:
        4px 2px 2px 4px;

    border:
        1px solid #b9c4d0;

    background:
        linear-gradient(
            90deg,
            #aeb9c6,
            #dce3ea
        );

    box-shadow:

        -1px 2px 4px
        rgba(35,55,80,.12),

        inset 1px 1px 2px
        rgba(255,255,255,.8);

    cursor: pointer;

    z-index: 10;

    transition: .08s;

    transform:
        translateZ(4px);
}


/*
    上方侧键 = 前进
*/

.mouse-forward {

    top: 125px;
}


/*
    下方侧键 = 后退
*/

.mouse-back {

    top: 166px;
}


.mouse-side.active {

    background:
        linear-gradient(
            90deg,
            #3b82f6,
            #93c5fd
        );

    border-color:
        #3b82f6;

    box-shadow:
        -2px 0 9px
        rgba(59,130,246,.45);
}


/* =========================================================
   LED
========================================================= */

.mouse-light {

    position: absolute;

    left: 50%;

    bottom: 19px;

    width: 65px;

    height: 4px;

    transform:
        translateX(-50%)
        translateZ(3px);

    border-radius: 50%;

    background: #60a5fa;

    opacity: .22;

    filter: blur(3px);

    box-shadow:
        0 0 13px
        rgba(59,130,246,.5);
}


/* =========================================================
   Scroll Animation
========================================================= */

.scroll-indicator {

    position: absolute;

    left: 50%;

    width: 32px;

    height: 32px;

    transform:
        translateX(-50%);

    display: flex;

    align-items: center;

    justify-content: center;

    color: #7c3aed;

    font-size: 20px;

    font-weight: 700;

    opacity: 0;

    pointer-events: none;

    z-index: 30;
}


.scroll-up {
    top: 12px;
}


.scroll-down {
    top: 112px;
}


.scroll-up.active {

    animation:
        scrollUpAnimation .7s ease;
}


.scroll-down.active {

    animation:
        scrollDownAnimation .7s ease;
}


@keyframes scrollUpAnimation {

    0% {

        opacity: 0;

        transform:
            translate(-50%, 12px);
    }

    30% {
        opacity: 1;
    }

    100% {

        opacity: 0;

        transform:
            translate(-50%, -18px);
    }
}


@keyframes scrollDownAnimation {

    0% {

        opacity: 0;

        transform:
            translate(-50%, -12px);
    }

    30% {
        opacity: 1;
    }

    100% {

        opacity: 0;

        transform:
            translate(-50%, 18px);
    }
}


/* =========================================================
   Key Stats
========================================================= */

.key-stats {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 6px;
}


.key-stat {

    padding:
        6px 4px;

    text-align: center;

    border-radius: 10px;

    background: #f8fafc;

    border:
        1px solid #edf1f5;
}


.key-stat-name {

    font-size: 10px;

    color: #667085;
}


.key-stat-number {

    margin-top: 2px;

    font-size: 16px;

    font-weight: 700;

    color: #172033;
}


/* =========================================================
   Tools
========================================================= */

.tools-card {

    padding: 20px;

    /* 让内部 4 个测试卡片在右侧大方框内上下居中 */
    display: flex;

    flex-direction: column;

    justify-content: center;
}


.tools-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 14px;
}


.tools-title {

    font-size: 16px;

    font-weight: 700;
}


.tools-tip {

    font-size: 11px;

    color: #98a2b3;
}


.tools-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 12px;
}


.tool {

    min-height: 185px;

    border:
        1px solid #e8edf3;

    border-radius: 15px;

    padding: 15px;

    position: relative;

    overflow: hidden;

    background: #fff;

    transition: .2s;
}


.tool:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(30,50,80,.07);
}


.tool-rate {
    border-top: 3px solid #22c55e;
}


.tool-double {
    border-top: 3px solid #f59e0b;
}


.tool-cps {
    border-top: 3px solid #8b5cf6;
}


.tool-smooth {
    border-top: 3px solid #3b82f6;
}


/* 带绝对定位按钮的卡片，底部预留按钮专区，避免文字被按钮遮挡 */
.tool-rate,
.tool-double,
.tool-cps {
    padding-bottom: 52px;
}


/* 双击检测：醒目的操作提示横幅 */
.tool-double .tool-info.double-hint {
    margin-top: 10px;
    padding: 8px 10px;
    min-height: 40px;
    display: flex;
    align-items: center;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    color: #92400e;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.5;
}

.tool-double .tool-info.double-hint.warn,
.tool-double .tool-info.warn {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}


.tool-name {

    margin: 0;

    font-size: 14px;

    font-weight: 700;
}


.tool-desc {

    margin-top: 3px;

    color: #98a2b3;

    font-size: 11px;
}


.tool-value {

    margin-top: 16px;

    font-size: 30px;

    font-weight: 800;

    letter-spacing: -1px;
}


.tool-unit {

    margin-left: 4px;

    font-size: 12px;

    color: #667085;

    font-weight: 500;
}


.tool-info {

    margin-top: 5px;

    font-size: 11px;

    color: #98a2b3;
}


.tool-btn {

    position: absolute;

    right: 14px;

    bottom: 14px;

    height: 32px;

    padding:
        0 14px;

    border: 0;

    border-radius: 8px;

    background: #eff6ff;

    color: #2563eb;

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;
}


.tool-btn:hover {

    background: #dbeafe;
}

/* ---- 测试进度条 / 脉冲 / 等级 / 双击区 / 平滑画布 ---- */

.tool-progress {
    display: none;
    position: absolute;
    left: 14px;
    right: 80px;
    bottom: 18px;
    height: 4px;
    border-radius: 2px;
    background: #f2f4f7;
    overflow: hidden;
}

.tool-progress-bar {
    height: 100%;
    width: 0;
    border-radius: 2px;
    background: #2563eb;
    transition: width .08s linear;
}

.tool-progress-bar.cps {
    background: #8b5cf6;
}

.tool-progress-bar.rate {
    background: #0ea5e9;
}

.rate-pulse {
    position: absolute;
    left: 16px;
    top: 92px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0ea5e9;
    opacity: 0;
}

.rate-pulse.pulsing {
    animation: ratePulse .4s ease-out;
}

@keyframes ratePulse {
    0% { opacity: .9; transform: scale(1); }
    100% { opacity: 0; transform: scale(2.4); }
}

.tool-level {
    display: none;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #667085;
}

.tool-level.show {
    display: block;
}

.tool-level.lv-good {
    color: #16a34a;
}

.tool-level.lv-normal {
    color: #475467;
}

.double-pad {
    margin-top: 12px;
    height: 52px;
    border: 2px dashed #f59e0b;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    background: #fffbeb;
    transition: background .15s;
}

.double-pad:active {
    background: #fef3c7;
}

.tool-info.warn {
    color: #dc2626;
    font-weight: 600;
}

.smooth-canvas {
    margin-top: 12px;
    width: 100%;
    height: 110px;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    background: #f8fafc;
    cursor: crosshair;
    touch-action: none;
}

.tool-smooth .tool-btn {
    position: static;
    display: block;
    width: 100%;
    margin-top: 10px;
    background: #eff6ff;
}

.tool-percent {
    margin-left: 8px;
    font-size: 13px;
    font-weight: 800;
    color: #3b82f6;
    background: #eff6ff;
    padding: 1px 8px;
    border-radius: 999px;
    vertical-align: middle;
}

.tool-cps.cps-active {
    outline: 2px solid #8b5cf6;
    outline-offset: -2px;
}


/* =========================================================
   Smooth
========================================================= */

.smooth-line {

    position: absolute;

    left: 15px;

    right: 15px;

    bottom: 55px;

    height: 45px;

    overflow: hidden;
}


.smooth-line svg {

    width: 100%;

    height: 100%;
}


.smooth-path {

    fill: none;

    stroke: #3b82f6;

    stroke-width: 2;

    stroke-linecap: round;

    stroke-dasharray: 120;

    stroke-dashoffset: 120;

    transition:
        stroke-dashoffset .3s;
}


.smooth-active .smooth-path {

    stroke-dashoffset: 0;
}


/* =========================================================
   Log
========================================================= */

.log-card {

    margin-top: 18px;

    padding:
        18px 20px;

    min-height: 225px;
}


.log-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 12px;
}


.log-title {

    font-size: 15px;

    font-weight: 700;
}


.log-clear {

    border: 0;

    background: transparent;

    color: #667085;

    font-size: 12px;

    cursor: pointer;
}


.log-clear:hover {

    color: #ef4444;
}


.log-list {

    height: 165px;

    overflow-y: auto;

    border:
        1px solid #edf1f5;

    border-radius: 10px;

    background: #fbfcfd;
}


/* 实时操作记录内嵌到可视化卡片下方 */
.mouse-log {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
}

.mouse-log .log-list {
    height: 150px;
}


.log-item {

    min-height: 33px;

    padding:
        0 12px;

    display: grid;

    grid-template-columns:
        76px
        72px
        1fr
        auto;

    align-items: center;

    border-bottom:
        1px solid #eef1f4;

    font-size: 12px;

    animation:
        logIn .18s ease;
}


.log-item:last-child {
    border-bottom: 0;
}


@keyframes logIn {

    from {

        opacity: 0;

        transform:
            translateY(-5px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


.log-time {

    color: #98a2b3;

    font-variant-numeric:
        tabular-nums;
}


.log-dot {

    display: inline-flex;

    align-items: center;

    gap: 5px;

    font-weight: 600;
}


.log-dot::before {

    content: "";

    width: 6px;

    height: 6px;

    border-radius: 50%;

    background: #94a3b8;
}


.log-type {

    color: #475467;
}


.log-detail {

    color: #667085;

    text-align: right;

    font-variant-numeric:
        tabular-nums;
}


.log-left .log-dot {
    color: #2563eb;
}


.log-left .log-dot::before {
    background: #2563eb;
}


.log-right .log-dot {
    color: #f59e0b;
}


.log-right .log-dot::before {
    background: #f59e0b;
}


.log-wheel .log-dot {
    color: #8b5cf6;
}


.log-wheel .log-dot::before {
    background: #8b5cf6;
}


.log-side .log-dot {
    color: #0ea5e9;
}


.log-side .log-dot::before {
    background: #0ea5e9;
}

.log-wheel-up .log-dot {
    color: #16a34a;
}

.log-wheel-up .log-dot::before {
    background: #16a34a;
}

.log-wheel-down .log-dot {
    color: #dc2626;
}

.log-wheel-down .log-dot::before {
    background: #dc2626;
}

.log-side-back .log-dot {
    color: #db2777;
}

.log-side-back .log-dot::before {
    background: #db2777;
}

.log-side-forward .log-dot {
    color: #0d9488;
}

.log-side-forward .log-dot::before {
    background: #0d9488;
}

.log-middle .log-dot {
    color: #7c3aed;
}

.log-middle .log-dot::before {
    background: #7c3aed;
}


/* =========================================================
   SEO
========================================================= */

.seo-section {

    margin-top: 45px;

    padding-bottom: 60px;
}


.seo-section h2 {

    font-size: 22px;

    margin:
        0 0 12px;
}


.seo-section p {

    line-height: 1.9;

    color: #667085;

    font-size: 14px;
}


.feature-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 14px;

    margin-top: 20px;
}


.feature {

    padding: 20px;

    background: #fff;

    border:
        1px solid #e7ecf2;

    border-radius: 14px;
}


.feature h3 {

    margin:
        0 0 8px;

    font-size: 15px;
}


.feature p {

    margin: 0;

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   FAQ
========================================================= */

.faq-list {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid #e7ecf2;
    border-radius: 14px;
    padding: 16px 18px;
}

.faq-q {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #101828;
}

.faq-a {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.7;
    color: #667085;
}


/* =========================================================
   Responsive
========================================================= */

@media (max-width: 900px) {

    .workspace {

        grid-template-columns:
            1fr;
    }

    .tools-card {
        order: 2;
    }

    .mouse-card {
        order: 1;
    }

    .feature-grid {

        grid-template-columns:
            1fr 1fr;
    }
}


@media (max-width: 600px) {

    .container,
    .header-inner {

        width:
            min(100% - 24px, 1240px);
    }

    .nav {
        display: none;
    }

    .hero h1 {
        font-size: 23px;
    }

    .tools-grid {
        grid-template-columns:
            1fr;
    }

    .key-stats {
        gap: 4px;
    }

    .key-stat-number {
        font-size: 14px;
    }

    .log-item {

        grid-template-columns:
            68px
            60px
            1fr
            auto;

        font-size: 11px;
    }

    .feature-grid {

        grid-template-columns:
            1fr;
    }

}


/* =========================================================
   Reduced Motion
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mouse-3d-wrapper {

        transition: none;
    }

    .log-item {

        animation: none;
    }

}


.site-footer {
    margin-top: 28px;
    border-top: 1px solid #e8edf3;
    background: #fff;
}

.footer-inner {
    width: min(1240px, calc(100% - 40px));
    margin: auto;
    padding: 22px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.footer-brand {
    font-size: 14px;
    font-weight: 700;
    color: #1d4ed8;
}

.footer-nav {
    display: flex;
    gap: 22px;
}

.footer-nav a {
    color: #667085;
    text-decoration: none;
    font-size: 13px;
}

.footer-nav a:hover {
    color: #2563eb;
}

.footer-copy {
    width: 100%;
    margin: 6px 0 0;
    font-size: 12px;
    color: #98a2b3;
}

/* =========================================================
   新增 SEO 内容区（目录 / 指标详解 / 选购 / 术语 / 品牌）
========================================================= */

.seo-toc {
    margin: 30px 0 8px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e7ecf2;
    border-radius: 14px;
}

.seo-toc h2 {
    margin: 0 0 12px;
    font-size: 16px;
    color: #111827;
}

.seo-toc ol {
    margin: 0;
    padding-left: 22px;
    columns: 2;
    column-gap: 32px;
}

.seo-toc li {
    margin: 5px 0;
    font-size: 14px;
}

.seo-toc a {
    color: #1d4ed8;
    text-decoration: none;
}

.seo-toc a:hover {
    text-decoration: underline;
}

#guide h2 {
    font-size: 22px;
    margin: 38px 0 12px;
    color: #111827;
}

#guide h3 {
    font-size: 17px;
    margin: 24px 0 8px;
    color: #111827;
}

/* 还原 feature 卡片内 h3 的原有样式，避免被 #guide h3 覆盖 */
#guide .feature h3 {
    font-size: 15px;
    margin: 0 0 8px;
    color: #111827;
}

#guide ul {
    margin: 8px 0 0;
    padding-left: 22px;
    color: #667085;
    font-size: 14px;
    line-height: 1.9;
}

#guide ul li {
    margin: 5px 0;
}

#guide a {
    color: #1d4ed8;
    text-decoration: none;
}

#guide a:hover {
    text-decoration: underline;
}

/* 步骤卡 / 数据表格 / 示意图 */
#guide .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0 6px;
}

#guide .step {
    background: #fff;
    border: 1px solid #e7ecf2;
    border-radius: 14px;
    padding: 16px 18px;
}

#guide .step-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #1d4ed8;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 10px;
}

#guide .step h3 {
    margin: 0 0 6px;
    font-size: 15px;
    color: #111827;
}

#guide .step p {
    margin: 0;
    font-size: 13px;
    color: #667085;
    line-height: 1.7;
}

#guide .seo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 4px;
    font-size: 13px;
    line-height: 1.7;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    color: #475569;
}

#guide .seo-table th,
#guide .seo-table td {
    text-align: left;
    padding: 9px 12px;
    border: 1px solid #eef2f7;
}

#guide .seo-table th {
    background: #f8fafc;
    color: #334155;
    font-weight: 600;
}

#guide .seo-fig {
    margin: 14px 0 4px;
    padding: 12px 12px 8px;
    background: #f8fafc;
    border: 1px solid #e7ecf2;
    border-radius: 12px;
    text-align: center;
}

#guide .seo-fig svg {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

#guide .seo-fig figcaption {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}

@media (max-width: 720px) {
    #guide .steps {
        grid-template-columns: 1fr;
    }
}

.seo-callout {
    margin-top: 16px;
    padding: 13px 16px;
    background: #eef4ff;
    border-left: 3px solid #1d4ed8;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.8;
    color: #1e3a8a;
}

/* ============================================================
   支持检测的鼠标故障项目（带图卡片，利于搜索结果多图展示）
============================================================ */
.fault-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin: 22px 0;
}

.fault-card {
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: var(--card);
    transition: transform .2s ease, box-shadow .2s ease;
}

.fault-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .10);
}

.fault-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: #eef2f7;
}

.fault-body {
    padding: 14px 16px 18px;
}

.fault-body h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: var(--ink);
}

.fault-body p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 1024px) {
    .fault-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 720px) {
    .fault-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .seo-toc ol {
        columns: 1;
    }
}

/* =========================================================
   指标卡 / 价值条 / 卡片美化（SEO 内容视觉增强）
========================================================= */
.metric-card {
    display: flex;
    gap: 18px;
    margin: 18px 0;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e7ecf2;
    border-left: 4px solid #1d4ed8;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: box-shadow .2s, transform .2s;
}
.metric-card:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}
.metric-stat {
    flex: 0 0 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    padding-right: 14px;
    border-right: 1px solid #eef2f7;
}
.metric-stat-num {
    font-size: 30px;
    font-weight: 800;
    color: #1d4ed8;
    line-height: 1.1;
    letter-spacing: -.5px;
}
.metric-stat-num em {
    font-style: normal;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-left: 2px;
}
.metric-stat-label {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}
.metric-body { flex: 1; min-width: 0; }
.metric-body h3 { margin-top: 0; }

.value-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 14px 0 6px;
}
.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 14px 8px;
    background: linear-gradient(135deg, #eef4ff, #f8fafc);
    border: 1px solid #e7ecf2;
    border-radius: 12px;
}
.value-num { font-size: 20px; font-weight: 800; color: #1d4ed8; }
.value-label { font-size: 13px; color: #475569; }

.feature { transition: box-shadow .2s, transform .2s; }
.feature:hover {
    box-shadow: 0 6px 18px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}
#guide .seo-table th { background: #1d4ed8; color: #fff; font-weight: 600; }
#guide .seo-table tr:nth-child(even) td { background: #f8fafc; }
#guide .seo-table tr:hover td { background: #eef4ff; }

@media (max-width: 640px) {
    .metric-card { flex-direction: column; }
    .metric-stat {
        flex: 0 0 auto;
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
        border-right: 0;
        border-bottom: 1px solid #eef2f7;
        padding: 0 0 10px;
    }
    .value-strip { grid-template-columns: 1fr; }
}

/* =========================================================
   官方正版徽标
========================================================= */

.official-badge {
    margin-top: 10px;
    font-size: 12px;
    color: #1d4ed8;
}

.official-badge a {
    color: #1d4ed8;
    text-decoration: none;
}

.official-badge a:hover {
    text-decoration: underline;
}

/* =========================================================
   区块广告（菜单与测试区之间，横向展示）
========================================================= */

.block-ads {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 10px;
    margin: -5.4px 0 9px;
}

.block-ad {
    background: #fff;
    border: 1px solid #e7ecf2;
    border-radius: 12px;
    padding: 0;
    height: 100px;
    min-height: 100px;
    max-height: 100px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.block-ad a {
    display: block;
    width: 100%;
    height: 100%;
}

.block-ad img,
.block-ad > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 720px) {
    .block-ads {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 横幅容器与横幅图片（原内联 style 外链化，统一由 css 控制） */
.banner-zone {
    text-align: center;
    background: #0f172a;
    padding: 6px 0;
}
.banner-zone-bottom {
    margin-top: 24px;
}
.banner img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}
