/* 内嵌思源黑体子集（仅含本页用字） */
@font-face {
    font-family: 'Source Han Sans SC Web';
    src: url('../fonts/SourceHanSansSC-Regular-subset.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Source Han Sans SC Web';
    src: url('../fonts/SourceHanSansSC-Medium-subset.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Source Han Sans SC Web';
    src: url('../fonts/SourceHanSansSC-Bold-subset.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

/* 智算一体机产品详情（3500B/A、9508B/A）
   主红 #8E332A，页面底 #f7f7f7，白卡片 + 轻投影，区块标题深色 #333 */
.computing-power-detail-page {
    color: #222;
    background: #fff;
    font-family: 'Source Han Sans SC Web', "思源黑体", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.computing-power-detail-page .head {
    position: relative;
    z-index: 20;
    background: #fff;
}

.computing-power-detail-page .rightNav {
    position: fixed;
    right: 10px;
    bottom: 50px;
    z-index: 1000;
}

.cpd-wrap {
    max-width: 1240px;
    margin: 0 auto;
}

.computing-power-detail-page main {
    background: #f7f7f7;
}

/* 面包屑：智算一体机解决方案 / 产品详情 */
.cpd-crumb {
    padding: 16px 0 0;
    color: #999;
    font-size: 14px;
    line-height: 1;
}

.cpd-crumb a {
    color: #999;
    text-decoration: none;
}

.cpd-crumb a:hover {
    color: #8e332a;
}

.cpd-crumb .cpd-crumb-current {
    color: #8e332a;
}

.cpd-crumb-sep {
    margin: 0 8px;
    color: #bbb;
}

.cpd-intro {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 20px 8px;
}

.cpd-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 62px 20px 8px;
}

.cpd-intro > h1,
.cpd-section > h2,
.cpd-spec-section h2 {
    margin: 0 0 30px;
    color: #333;
    font-family: 'Source Han Sans SC Web', "思源黑体", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 8px;
    text-align: left;
}

/* 产品简介：居中标题 + 红色短下划线 */
.cpd-intro > h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 8px;
    text-indent: 8px;
    text-align: center;
}

.cpd-intro > h1::after {
    display: block;
    width: 96px;
    height: 3px;
    margin: 14px auto 0;
    background: #8e332a;
    content: '';
}

.cpd-section > h2::before,
.cpd-spec-section h2::before {
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 12px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid #8e332a;
    vertical-align: 2px;
    content: '';
}

/* 产品简介：白卡片、左图右文、图文垂直居中 */
.cpd-intro-body {
    display: flex;
    align-items: center;
    gap: 56px;
    padding: 40px 48px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.cpd-product-image {
    display: flex;
    flex: 0 0 380px;
    align-items: center;
    justify-content: center;
}

.cpd-product-image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.cpd-intro-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 0;
    box-sizing: border-box;
    background: transparent;
    box-shadow: none;
}

.cpd-intro-copy h2 {
    margin: 0 0 20px;
    color: #111;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
}

.cpd-intro-copy p {
    margin: 0;
    font-family: 'Source Han Sans SC Web', "思源黑体", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    line-height: 1.7;
    letter-spacing: normal;
    text-align: left;
}

/* 产品特征：编号与标题同行，标题深色 */
.cpd-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
}

.cpd-feature-grid article {
    display: flex;
    height: 100%;
    min-height: 0;
    flex-direction: column;
    padding: 18px 14px 14px 24px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.cpd-feature-head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 18px;
}

.cpd-feature-grid .cpd-num {
    color: #8e332a;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cpd-feature-grid h3 {
    margin: 0;
    color: #333;
    font-size: 17px;
    font-weight: 700;
}

.cpd-feature-grid ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.cpd-feature-grid li {
    position: relative;
    margin-bottom: 8px;
    padding-left: 15px;
    font-family: 'Source Han Sans SC Web', "思源黑体", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #333;
    line-height: 1.55;
    letter-spacing: normal;
}

.cpd-feature-grid li:last-child {
    margin-bottom: 0;
}

.cpd-feature-grid li::before {
    position: absolute;
    top: 7px;
    left: 0;
    width: 5px;
    height: 5px;
    background: #404040;
    content: '';
}

/* AI大模型（私有化部署）：品牌居左，模型列表左对齐排布 */
.cpd-ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 448px);
    justify-content: flex-start;
    gap: 20px;
}

.cpd-ai-card {
    display: flex;
    align-items: center;
    min-height: 144px;
    padding: 26px 40px;
    box-sizing: border-box;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.cpd-ai-brand {
    display: flex;
    flex: 0 0 42%;
    align-items: center;
    gap: 12px;
}

.cpd-ai-brand img {
    display: block;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.cpd-ai-brand strong {
    color: #222;
    font-size: 18px;
    font-weight: 700;
}

.cpd-ai-card ul {
    flex: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cpd-ai-card li {
    position: relative;
    padding-left: 14px;
    color: #333;
    font-size: 14px;
    line-height: 1.9;
}

.cpd-ai-card li::before {
    position: absolute;
    top: 11px;
    left: 0;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #222;
    content: '';
}

/* 应用场景：红色描边圆角图标框 + 右上角编号 + 左下角名称 */
.cpd-scene-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 24px;
}

.cpd-scene-grid article {
    position: relative;
    min-height: 140px;
    padding: 22px 20px 20px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.cpd-scene-grid span {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #8e332a;
    font-size: 15px;
    font-weight: 600;
}

.cpd-icon {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(142, 51, 42, 0.45);
    border-radius: 8px;
}

.cpd-icon img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.cpd-scene-grid strong {
    display: block;
    margin-top: 16px;
    color: #111;
    font-family: 'Source Han Sans SC Web', "思源黑体", "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 24px;
    font-weight: 500;
    text-align: left;
}

/* 产品规格 */
.cpd-spec-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 62px 20px 80px;
    background: none;
}

.cpd-spec-section h2 {
    margin: 0 0 26px;
}

.cpd-spec-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

.cpd-spec-table th,
.cpd-spec-table td {
    padding: 13px 24px;
    border-bottom: 1px solid #f3f3f3;
    text-align: left;
    font-size: 14px;
    line-height: 1.6;
}

.cpd-spec-table th {
    width: 185px;
    color: #999;
    font-weight: 400;
    background: #fff;
}

.cpd-spec-table td {
    color: #333;
    font-weight: 400;
}

.cpd-spec-table tr:last-child th,
.cpd-spec-table tr:last-child td {
    border-bottom: 0;
}

.cpd-related {
    padding-bottom: 80px;
}

.cpd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.cpd-related-grid a {
    display: flex;
    min-height: 190px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    padding: 22px 20px 24px;
    color: #1d344f;
    background: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    text-decoration: none;
}

.cpd-related-grid img {
    display: block;
    width: auto;
    height: auto;
    max-width: 240px;
    max-height: 130px;
    object-fit: contain;
}

.cpd-related-grid strong {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 500;
}

.cpd-related-grid a:hover strong {
    color: #2d71db;
}

@media (min-width: 1200px) {
    .cpd-feature-grid li {
        white-space: nowrap;
        font-size: 12px;
    }
}

@media (min-width: 1440px) {
    .cpd-feature-grid li {
        font-size: 13px;
    }
}

@media (max-width: 1199px) {
    .cpd-feature-grid li {
        white-space: normal;
    }
}

@media (max-width: 900px) {
    .cpd-intro-body {
        display: block;
        padding: 28px 24px;
    }

    .cpd-product-image {
        flex-basis: auto;
        max-width: 100%;
        padding: 0 0 20px;
    }

    .cpd-intro-copy {
        min-height: 0;
        padding: 0;
    }

    .cpd-intro-copy,
    .cpd-feature-grid article,
    .cpd-ai-card,
    .cpd-scene-grid article {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cpd-feature-grid,
    .cpd-scene-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cpd-ai-grid {
        grid-template-columns: 1fr;
    }

    .cpd-related-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .cpd-feature-grid,
    .cpd-ai-grid,
    .cpd-scene-grid,
    .cpd-related-grid {
        grid-template-columns: 1fr;
    }

    .cpd-spec-table th {
        width: 96px;
        padding: 12px;
    }

    .cpd-spec-table td {
        padding: 12px;
    }
}
