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

/* ---------- 案例页 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;
    width: 1400px;
    margin: 0 auto;
    /* gap: 172px; */
}

.case-hero-left {
    flex: 0 1 677px;
    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: 60px;
    font-weight: 700;
    line-height: 1.06em;
    color: #303133;
    letter-spacing: 3%;
}
.case-hero-title .blue-title {
    color: rgba(37, 110, 255, 1);
}

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

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

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

.case-hero-image-wrap {
    width: 551px;
    height: 450px;
    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: contain;
}

/* ---------- 行业痛点区域 ---------- */
.industry-pain-points {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
}
.industry-pain-points-image {
    width: 468px;
    height: 280.8px;
    border-radius: 10px;
    object-fit: contain;
}
.industry-pain-points-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 17.9px 0px;
}
.industry-pain-point-item {
    position: relative;
    padding-left: 26px;
    line-height: 25px;
    font-size: 16px;
    color: rgba(96, 98, 102, 1);
}
.industry-pain-point-item::before {
    content: '';
    position: absolute;
    top: 7.5px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-image: url('./assets/images/solution/industry-pain-point-indicator-icon.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* ---------- 验证价值（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: 1400px) {
    .case-hero-content-v2 {
        /* padding-top: 100px; */
        /* padding-bottom: 60px; */
    }
    .case-hero-layout {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: 100%;
        padding: 0px 24px;
    }
    .case-hero-left {
        flex: 0 1 auto;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    .case-hero-right {
        height: fit-content;
        flex: 0 1 auto;
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .case-hero-image-wrap {
        /* width: 100%; */
        /* max-width: 660px; */
        height: 450px;
        aspect-ratio: 660 / 370;
    }


    .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: 1200px) {
    .industry-pain-points {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}

@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-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;
}

/* ==========================================================================
   方案优势 - 深色透明卡片
   ========================================================================== */
.solution-advantages-section {
    background: transparent;
}

.solution-advantages-section .section-block {
    padding: 80px 0;
}

.solution-advantages-title-group .section-title-en,
.solution-advantages-title-group .section-title {
    color: var(--color-text-dark);
}

.solution-advantages-title-group .section-title-line {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(153, 153, 153, 1) 50%,
        rgba(255, 255, 255, 0) 100%);
}

.solution-advantages-grid {
    display: grid;
    grid-template-columns: repeat(5, 261px);
    gap: 23px;
    justify-content: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.solution-advantage-card {
    width: 261px;
    height: 310px;
    padding: 28px 24px;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
}

.solution-advantage-card:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

.solution-advantage-num {
    font-family: var(--font-pingfang);
    font-size: 48px;
    font-weight: 400;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-text-dark);
    margin-bottom: auto;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
}

.solution-advantage-title {
    font-family: var(--font-pingfang);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4em;
    color: var(--color-text-dark);
    margin-bottom: 12px;
}

.solution-advantage-desc {
    font-family: var(--font-pingfang);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6em;
    color: var(--color-text-gray);
}

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

    .solution-advantages-grid {
        grid-template-columns: repeat(3, 261px);
    }
}

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

    .solution-advantages-grid {
        grid-template-columns: repeat(2, 261px);
    }
}
