/**
 * index.html · #cases 企业采购案例
 * v=20260613
 */

#cases {
    padding: 2rem 0 2.5rem;
    background: #fff;
}

.cases-head {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

.cases-trust-bar {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #047857;
    margin: 0 0 0.5rem;
}

.cases-trust-bar span {
    color: #cbd5e1;
    font-weight: 400;
}

.cases-head h2 {
    font-size: clamp(1.25rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #1d2129;
    margin: 0 0 0.5rem;
}

.cases-desc {
    font-size: 0.9375rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.cases-feature {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .cases-feature {
        grid-template-columns: 1.15fr 0.85fr;
    }
}

.cases-feature__body {
    padding: 1rem 1.125rem;
}

.cases-tag {
    display: inline-block;
    padding: 0.2rem 0.625rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #047857;
    background: rgba(16, 185, 129, 0.1);
    margin-bottom: 0.625rem;
}

.cases-feature h3 {
    font-size: clamp(1rem, 2vw, 1.375rem);
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.cases-feature__lead {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 0.6rem;
}

.cases-bullets {
    list-style: none;
    margin: 0 0 0.65rem;
    padding: 0;
}

.cases-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.45;
}

.cases-bullets li + li {
    margin-top: 0.35rem;
}

.cases-bullets li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    margin-top: 0.45rem;
    flex-shrink: 0;
}

.cases-kpi-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.cases-kpi strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 800;
    color: #047857;
    line-height: 1.1;
}

.cases-kpi span {
    font-size: 0.6875rem;
    color: #94a3b8;
}

.cases-feature__media {
    background: #f8fafc;
    overflow: hidden;
}

.cases-feature__media--panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.125rem;
    min-height: 9rem;
    background: linear-gradient(145deg, #f0fdf4 0%, #f8fafc 55%, #eff6ff 100%);
    border-top: 1px solid #e5e7eb;
}

@media (min-width: 1024px) {
    .cases-feature__media--panel {
        align-self: stretch;
        min-height: 0;
        border-top: none;
        border-left: 1px solid #e5e7eb;
    }
}

.cases-feature__panel {
    width: 100%;
    max-width: 15rem;
    text-align: center;
}

.cases-feature__panel-logo {
    display: block;
    width: auto;
    height: 1.75rem;
    max-width: 7.5rem;
    margin: 0 auto 0.5rem;
    object-fit: contain;
}

.cases-feature__panel-platform {
    margin: 0 0 0.2rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
}

.cases-feature__panel-scene {
    margin: 0 0 0.625rem;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}

.cases-feature__panel-points {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0.5rem 0.625rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(16, 185, 129, 0.15);
    border-radius: 8px;
    text-align: left;
}

.cases-feature__panel-points li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: #475569;
    line-height: 1.4;
}

.cases-feature__panel-points li + li {
    margin-top: 0.3rem;
}

.cases-feature__panel-points li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #10b981;
    margin-top: 0.4rem;
    flex-shrink: 0;
}

.cases-feature__panel-badge {
    display: inline-block;
    margin: 0;
    padding: 0.25rem 0.625rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 9999px;
    line-height: 1.3;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
}

@media (min-width: 768px) {
    .cases-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

.cases-card {
    display: block;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.cases-card:hover {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.08);
}

.cases-card__thumb {
    height: 5rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cases-card__thumb {
        height: 7.5rem;
    }
}

.cases-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cases-card__body {
    padding: 0.625rem 0.75rem 0.75rem;
}

.cases-card h3 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0.35rem 0 0.25rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .cases-card h3 {
        font-size: 0.9375rem;
    }
}

.cases-card p {
    font-size: 0.6875rem;
    color: #64748b;
    line-height: 1.45;
    margin: 0 0 0.35rem;
}

.cases-card__more {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #059669;
}

.cases-foot {
    text-align: center;
    margin: 1rem 0 0;
}

.cases-foot a {
    font-size: 0.875rem;
    font-weight: 600;
    color: #047857;
    text-decoration: none;
}

.cases-foot a:hover {
    text-decoration: underline;
}

@media (max-width: 639px) {
    #cases {
        padding-top: 1.25rem;
        padding-bottom: 1.5rem;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }
}
