/* ==========================================================================
   某国家级科研机构 案例详情页独有样式
   ========================================================================== */

/* ---------- 案例页 Hero ---------- */
.case-hero {
    height: auto;
    min-height: 500px;
    padding-bottom: 0px;
}

.case-hero-content {
    padding-top: 100px;
}

.case-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.case-name {
    font-family: var(--font-pingfang);
    font-size: 42px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-text-dark);
    text-align: center;
}

.case-product {
    font-family: var(--font-pingfang);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4em;
    color: var(--color-primary);
}

.case-desc {
    font-family: var(--font-pingfang);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6em;
    color: var(--color-text-gray);
    text-align: center;
    max-width: 900px;
}

/* ---------- 案例图表区域 ---------- */
.case-chart-section {
    width: 100%;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.case-chart-section img {
    max-width: 100%;
    height: auto;
}

/* ---------- 痛点&解决方案区域 ---------- */
.pain-solution-cards {
    display: flex;
    gap: 24px;
    width: 100%;
    justify-content: center;
    margin-bottom: 60px;
}

.pain-solution-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px 28px;
    width: 688px;
    background: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 10px;
}

.pain-solution-title {
    font-family: var(--font-pingfang);
    font-size: 22px;
    font-weight: 500;
    line-height: 1.4em;
    color: var(--color-text-dark);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.pain-solution-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pain-solution-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pain-solution-bullet {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    margin-top: 8px;
    border-radius: 50%;
    background: var(--color-primary);
}

.pain-solution-text {
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6em;
    color: var(--color-text-dark);
}

/* ---------- 验证价值区域 ---------- */
.value-cards-row {
    display: flex;
    gap: 24px;
    width: 100%;
    justify-content: center;
}

.value-card-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 28px 24px;
    width: 450px;
    background: var(--color-bg-light-blue);
    border-radius: 10px;
}

.value-card-item-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 50%;
}

.value-card-item-text {
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6em;
    color: var(--color-text-dark);
}

/* ==========================================================================
   案例详情页新版式（Figma 节点 80-4490：某精密装备全球领先企业）
   ========================================================================== */

/* ---------- Hero 区域 ---------- */
.case-hero {
    background: #F8FAFF;
}

.case-hero .hero-bg {
    /* display: none; */
}

.case-hero-content-v2 {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 115px 0px;
}

.case-hero-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.case-hero-left {
    flex: 0 1 666px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.case-hero-label {
    font-family: var(--font-pingfang);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.4em;
    color: #303133;
    letter-spacing: 0.03em;
}

.case-hero-title {
    font-family: var(--font-pingfang);
    font-size: 66px;
    font-weight: 700;
    line-height: 1.06em;
    color: #303133;
    letter-spacing: 3%;
}

.case-hero-title-accent {
    /* color: var(--color-primary); */
}

.case-hero-desc {
    font-family: var(--font-pingfang);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4em;
    color: #606266;
    letter-spacing: 0.03em;
    max-width: 643px;
}

.case-hero-right {
    flex: 0 0 660px;
}

.case-hero-image-wrap {
    width: 660px;
    height: 370px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(37, 110, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-hero-image-wrap.is-placeholder::after {
    content: '示意图占位';
    font-family: var(--font-pingfang);
    font-size: 16px;
    color: #909399;
}

.case-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- 业务痛点&解决方案 关系图 ---------- */
.pain-solution-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.ps-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 0 0 317px;
}

.ps-card {
    padding: 24px;
    border: 1px solid #E9E9E9;
    border-radius: 10px;
    background: #FFFFFF;
}

.ps-card p {
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6em;
    letter-spacing: 0.03em;
}

.ps-col-pain .ps-card p {
    color: #606266;
}

.ps-col-solution .ps-card p {
    color: #303133;
}

.ps-card strong {
    font-weight: 500;
    color: #303133;
}

.ps-center {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.ps-center img {
    width: 100%;
    max-width: 570px;
    height: auto;
}

.ps-center.is-placeholder {
    width: 100%;
    max-width: 570px;
    aspect-ratio: 570 / 324;
    background: #F8FAFF;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-center.is-placeholder::after {
    content: '关系图占位';
    font-family: var(--font-pingfang);
    font-size: 14px;
    color: #909399;
}

/* ---------- 验证价值（4 列卡片） ---------- */
.value-cards-row-v2 {
    gap: 24px;
}

.value-card-item-v2 {
    width: 332px;
    min-height: 200px;
    padding: 32px 24px;
    justify-content: space-between;
    background: transparent;
    border: 1px solid #E9E9E9;
    border-radius: 10px;
}

.value-card-item-v2 .value-card-item-text {
    color: #606266;
}

.value-card-item-v2 .value-card-item-text strong {
    font-weight: 500;
    color: #303133;
}

.value-icon-v2 {
    width: 48px;
    height: 48px;
}

/* ---------- 关键成果 引用 ---------- */
.key-results-section {
    padding-bottom: 0;
}

.key-results-quote {
    display: flex;
    align-items: flex-start;
    gap: 112px;
    width: 100%;
    max-width: 1400px;
    padding: 48px;
    background: #F8FAFF;
    border-radius: 10px;
}

.key-results-quote-mark {
    width: 75px;
    height: auto;
    flex-shrink: 0;
}

.key-results-quote-text {
    flex: 1;
    font-family: var(--font-pingfang);
    font-size: 22px;
    font-weight: 400;
    line-height: 40px;
    color: #303133;
    letter-spacing: 0.03em;
}

/* ==========================================================================
   响应式布局
   ========================================================================== */
@media (max-width: 1440px) {
    .case-hero-right {
        flex: 0 0 520px;
    }
    .case-hero-image-wrap {
        width: 520px;
        height: 292px;
    }
    .case-hero-title {
        /* font-size: 34px; */
    }
    .case-hero-label {
        /* font-size: 34px; */
    }
}

@media (max-width: 1200px) {
    .case-hero-content-v2 {
        /* padding-top: 100px; */
        /* padding-bottom: 60px; */
    }
    .case-hero-layout {
        flex-direction: column;
        align-items: flex-start;
    }
    .case-hero-left {
        flex: 0 0 auto;
        max-width: 100%;
    }
    .case-hero-right {
        flex: 0 0 auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .case-hero-image-wrap {
        width: 100%;
        max-width: 660px;
        height: auto;
        aspect-ratio: 660 / 370;
    }

    .pain-solution-diagram {
        flex-wrap: wrap;
        justify-content: center;
    }
    .ps-col {
        flex: 0 0 calc(50% - 12px);
        min-width: 280px;
    }
    .ps-center {
        order: 3;
        flex: 1 1 100%;
        margin-top: 20px;
    }

    .value-cards-row-v2 {
        flex-wrap: wrap;
    }
    .value-card-item-v2 {
        width: calc(50% - 12px);
        min-width: 280px;
        flex: 1 1 auto;
    }

    .key-results-quote {
        gap: 24px;
        padding: 40px;
    }
    .key-results-quote-mark {
        width: 60px;
    }
    .key-results-quote-text {
        font-size: 18px;
        line-height: 32px;
    }
}

@media (max-width: 768px) {
    .case-hero-content-v2 {
        /* padding-top: 60px; */
        /* padding-bottom: 40px; */
    }
    .case-hero-label {
        /* font-size: 34px; */
    }
    .case-hero-title {
        /* font-size: 34px; */
    }
    .case-hero-desc {
        font-size: 16px;
    }
    .case-hero-image-wrap {
        aspect-ratio: 660 / 370;
    }

    .ps-col {
        flex: 1 1 100%;
        width: 100%;
    }
    .ps-card p {
        font-size: 15px;
    }

    .value-cards-row-v2 {
        flex-direction: column;
        align-items: center;
    }
    .value-card-item-v2 {
        width: 100%;
        max-width: 450px;
        min-height: auto;
    }

    .key-results-quote {
        gap: 16px;
        padding: 24px;
    }
    .key-results-quote-mark {
        width: 48px;
    }
    .key-results-quote-text {
        font-size: 16px;
        line-height: 28px;
    }
}

/* ==========================================================================
   验证价值 - 图片风格卡片
   ========================================================================== */
.vvalue-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(332px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    background: transparent;
}

.vvalue-card {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 332px;
    padding: 32px 24px;
    background: #FFFFFF;
    border: 1px solid rgba(233, 233, 233, 1);
    border-radius: 10px;
}

.vvalue-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F5F5;
    border-radius: 10px;
}

.vvalue-icon svg {
    width: 24px;
    height: 24px;
}

.vvalue-text {
    font-family: var(--font-pingfang);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6em;
    color: #303133;
}

.vvalue-text strong {
    font-weight: 500;
    color: #303133;
}

@media (max-width: 1399px) {
    .vvalue-grid {
        grid-template-columns: repeat(2, minmax(332px, 1fr));
    }
}

@media (max-width: 719px) {
    .vvalue-grid {
        grid-template-columns: minmax(332px, 1fr);
    }
}
