/* 在线展厅 — 设计稿样式 */
.sc-page {
    background: #f4f4f4;
    padding-bottom: 2.5rem;
    color: #1a1a1a;
}

/* —— Hero —— */
.sc-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 80% at 88% 35%, rgba(255, 220, 60, 0.22), transparent 62%),
        linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    border-bottom: 1px solid #ececec;
}
.sc-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 1.5rem 2rem;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.sc-hero-copy h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 900;
    line-height: 1.15;
    color: #111;
}
.sc-hero-copy p {
    margin: 0;
    max-width: 34rem;
    color: #666;
    font-size: 1rem;
    line-height: 1.65;
}
.sc-hero-search {
    grid-column: 1 / -1;
    display: flex;
    align-items: stretch;
    max-width: 100%;
    border: 1px solid #e3e3e3;
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
}
.sc-hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0.95rem 1.25rem;
    font-size: 0.95rem;
    outline: none;
    color: #222;
}
.sc-hero-search button {
    flex-shrink: 0;
    border: 0;
    background: #333;
    color: #fff;
    font-weight: 800;
    padding: 0 1.75rem;
    cursor: pointer;
    transition: background 0.2s;
}
.sc-hero-search button:hover { background: #111; }
.sc-hero-deco {
    position: absolute;
    right: 0;
    top: 0;
    width: min(42vw, 520px);
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background:
        radial-gradient(circle at 70% 35%, rgba(255, 240, 0, 0.35), transparent 45%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='320' viewBox='0 0 420 320'%3E%3Cpath d='M40 260 C120 180 200 300 320 120' fill='none' stroke='%23f0d040' stroke-width='3' opacity='.45'/%3E%3Cpath d='M80 280 C180 200 260 280 380 160' fill='none' stroke='%23ffe566' stroke-width='2' opacity='.35'/%3E%3Crect x='290' y='48' width='56' height='56' rx='10' fill='%23fff000' opacity='.75' transform='rotate(18 318 76)'/%3E%3Crect x='330' y='120' width='44' height='44' rx='8' fill='%23fff8b0' opacity='.85' transform='rotate(-12 352 142)'/%3E%3Crect x='250' y='130' width='36' height='36' rx='7' fill='%23ffe566' opacity='.65' transform='rotate(25 268 148)'/%3E%3C/svg%3E") no-repeat right center / contain;
}

/* —— 主内容白卡片 —— */
.sc-panel {
    margin-top: 1rem;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px;
    padding: 1.25rem clamp(1rem, 2.5vw, 1.75rem) 1.75rem;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.04);
}

/* —— 三类统计卡 —— */
.sc-type-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.1rem;
}
.sc-type-stat {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    border: 1px solid #efefef;
    border-radius: 14px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.sc-type-stat:hover {
    border-color: #e6d800;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}
.sc-type-stat.is-active {
    border-color: #fff000;
    box-shadow: 0 0 0 2px rgba(255, 240, 0, 0.35);
}
.sc-type-stat .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.sc-type-stat .icon-all { background: #fff8e1; }
.sc-type-stat .icon-brand { background: #e3f2fd; }
.sc-type-stat .icon-mfr { background: #e8f5e9; }
.sc-type-stat .label {
    display: block;
    color: #888;
    font-size: 0.82rem;
    font-weight: 700;
}
.sc-type-stat .value {
    display: block;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.2;
    color: #111;
}

/* —— 产品分类筛选 —— */
.sc-cat-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1rem;
}
.sc-cat-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid #e5e5e5;
    background: #fff;
    color: #444;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    transition: background 0.2s, border-color 0.2s;
}
.sc-cat-btn:hover {
    border-color: #e6d800;
    background: #fffef0;
}
.sc-cat-btn.is-active {
    background: #fff000;
    border-color: #fff000;
    color: #111;
}
.sc-cat-btn .count {
    font-size: 0.78rem;
    font-weight: 800;
    opacity: 0.75;
}

/* —— 平台数据条 —— */
.sc-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: #fff;
}
.sc-metrics div {
    padding: 0.75rem 0.5rem;
    text-align: center;
    border-right: 1px solid #f0f0f0;
}
.sc-metrics div:last-child { border-right: 0; }
.sc-metrics span {
    display: block;
    color: #888;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}
.sc-metrics b {
    display: block;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 900;
    line-height: 1.2;
    color: #111;
}
.sc-metrics b.is-hot { color: #e53935; }
.sc-metrics b.is-gold { color: #c9a800; }

/* —— 企业卡片网格 —— */
.sc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.sc-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ececec;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.sc-card:hover {
    border-color: #fff000;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}
.sc-card-main {
    display: flex;
    gap: 1rem;
    padding: 1rem 1rem 0.85rem;
    align-items: flex-start;
}
.sc-card-logo {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    border-radius: 12px;
    background: #ececec;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.sc-card-logo span {
    font-size: 1.35rem;
    font-weight: 900;
    color: #666;
    line-height: 1.1;
    text-align: center;
    padding: 0.25rem;
}
.sc-card-logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sc-card-info {
    flex: 1;
    min-width: 0;
}
.sc-card-info h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    font-weight: 800;
    color: #111;
    line-height: 1.35;
}
.sc-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.45rem;
}
.sc-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
}
.sc-badge-type {
    background: #fff000;
    color: #333;
}
.sc-badge-booth {
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    color: #666;
    border-radius: 999px;
}
.sc-card-phone {
    margin: 0;
    font-size: 0.84rem;
    color: #666;
}
.sc-card-phone strong {
    color: #888;
    font-weight: 700;
}
.sc-card-cases {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0 1rem 1rem;
}
.sc-case-slot {
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    background: #ececec;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: #999;
}
.sc-case-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: #888;
    font-size: 0.95rem;
}
.sc-pager {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
    font-size: 0.9rem;
}
.sc-pager a {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #fff000;
    color: #111;
    font-weight: 800;
    text-decoration: none;
}

/* —— 响应式 —— */
@media (max-width: 960px) {
    .sc-hero-inner {
        grid-template-columns: 1fr;
    }
    .sc-hero-deco {
        opacity: 0.45;
        width: 55vw;
    }
    .sc-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .sc-metrics div:nth-child(3) { border-right: 0; }
    .sc-metrics div:nth-child(4),
    .sc-metrics div:nth-child(5) {
        border-top: 1px solid #f0f0f0;
    }
}
@media (max-width: 720px) {
    .sc-type-stats {
        grid-template-columns: 1fr;
    }
    .sc-grid {
        grid-template-columns: 1fr;
    }
    .sc-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sc-metrics div:nth-child(2n) { border-right: 0; }
    .sc-metrics div:nth-child(n+3) { border-top: 1px solid #f0f0f0; }
    .sc-card-main {
        flex-direction: column;
        align-items: stretch;
    }
    .sc-card-logo {
        width: 100%;
        height: 120px;
        flex-basis: auto;
    }
}
