/* ===== 页面主体 ===== */
.page-body {
    background: #f7f8fa;
}

.page-body .container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}

/* 面包屑导航 */

.nav-crumbs {
    width: 100%;
    min-height: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 14px;
    color: #666;
    font-size: 14px;
    line-height: 14px;
}

.nav-crumbs .icon-crumbs {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background: url(../images/icon-crumbs.png) center/contain no-repeat;
    flex-shrink: 0;
}

.nav-crumbs .crumb-label {
    color: #666;
}

/* 白色整体卡片 */
.soft-card {
    display: flex;
    flex: 1;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    gap: 30px;
}

/* ===== 软件详情主区 ===== */
.soft-card .soft-detail {
    flex: 1;
    padding: 20px;
}

/* 软件头部 */
.soft-card .soft-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    padding-top: 10px;
}
.soft-card  .soft-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.soft-card .soft-icon img {
    width: 100%;
    height: 100%;
}

.soft-card .soft-icon-popup {
    position: absolute;
    top: 42px;
    left: 42px;
    width: 300px;
    height: 300px;
    padding: 0;
    border: 1px solid #4182e1;
    background: #fff;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.soft-card .soft-icon-popup img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.soft-card .soft-icon:hover .soft-icon-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.soft-card .soft-header-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.soft-card .soft-name {
    font-size: 24px;
    color: #040404;
    font-weight: 400;
}
.soft-card .soft-version-tag {
    font-size: 14px;
    color: #999;
}
.soft-card .badge-safe {
    width: 90px;
    height: 28px;
    margin-left: 24px;
    vertical-align: middle;
    display: inline-flex;
}
/* 二维码 */
.soft-card .qr-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    flex-shrink: 0;
}
.soft-card .qr-thumb {
    width: 24px;
    height: 24px;
    margin-left: 24px;
}
.soft-card .qr-thumb img {
    width: 100%;
    height: 100%;
}
.soft-card .qr-popup {
    display: none;
    width: 120px;
    height: 120px;
    position: absolute;
    top: 0;
    left: calc(100% + 10px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px;
    z-index: 999;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.soft-card .qr-popup img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.soft-card .qr-wrap:hover .qr-popup {
    display: flex;
}

/* 信息表格 */
.soft-card .soft-info {
    margin-top: 4px;
}
.soft-card .info-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #f5f5f5;
    padding: 20px 0 6px 0;
}
.soft-card .info-row-av {
    grid-template-columns: 2fr 1fr !important;
}
.soft-card .info-cell {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}
.soft-card .info-label {
    color: #999;
    white-space: nowrap;
}
.soft-card .info-value {
    color: #444;
}

/* 杀毒检测 */
.soft-card .antivirus-row {
    display: flex;
    align-items: center;
    gap: 30px;
}
.soft-card .av-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
}
.soft-card .av-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}
.soft-card .av-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 星级 */
.soft-card .stars {
    display: inline-flex;
    gap: 2px;
    align-items: center;
}
.soft-card .star {
    width: 17px;
    height: 16px;
    display: inline-block;
    flex-shrink: 0;
    background-image: url(../images/icon-star.png);
    background-size: 16px 31px;
    background-repeat: no-repeat;
    background-position: 0 -16px;
}
.soft-card .star.empty {
    background-position: 0 0;
}

/* 平台按钮 */
.soft-card .platform-btns {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    flex-wrap: wrap;
}
.soft-card .platform-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 102px;
    height: 42px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    background: #fff;
    transition:
            border-color 0.2s,
            color 0.2s;
    font-family: inherit;
    text-decoration: 0 none;
}
.soft-card .platform-btn:hover {
    color: #ff5a60;
}

/* 下载按钮 */
.soft-card .download-btns {
    display: flex;
    gap: 20px;
    margin-top: 22px;
    align-items: flex-end;
}
.soft-card .btn-instant {
    width: 166px;
    height: 74px;
    line-height: 74px;
    background: #ff9543;
    color: #fff;
    text-align: center;
    border: none;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 700;
    text-decoration: 0 none;
    cursor: pointer;
    transition: background 0.2s;
    letter-spacing: 2px;
    font-family: inherit;
}
.soft-card .btn-instant:hover {
    opacity: 0.9;
    color: #fff !important;
}
.soft-card .btn-safe {
    width: 250px;
    height: 74px;
    background: #3cc474;
    color: #fff;
    text-decoration: 0 none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: inherit;
}
.soft-card .btn-safe img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    margin-right: 4px;
}
.soft-card .btn-safe .btn-safe-text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.soft-card .btn-safe:hover {
    opacity: 0.9;
    color: #fff !important;
}
.soft-card .btn-safe-main {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
}
.soft-card .btn-safe-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1;
}

.soft-card .btn-gray {
    display: block;
    /*width: 250px;*/
    height: 70px;
    line-height: 70px;
    padding: 0 20px;
    text-align: center;
    font-size: 18px;
    color: #fff;
    background: #9d9d9d;
    border-radius: 10px;
    cursor: not-allowed;
}

/* ===== 右侧推荐 ===== */
.soft-card .sidebar {
    width: 270px;
    flex-shrink: 0;
    padding: 20px;
}
.soft-card .sidebar-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    color: #333;
    padding-top: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 4px;
}
.soft-card .title-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}
.soft-card .title-icon img {
    width: 100%;
    height: 100%;
}
.soft-card .rec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    cursor: pointer;
    text-decoration: none;
}
.soft-card .rec-item:last-child {
    border-bottom: none;
}
.soft-card .rec-item:hover .rec-name {
    color: #4182e1;
}
.soft-card .rec-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    object-fit: cover;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.soft-card .rec-info {
    flex: 1;
}
.soft-card .rec-name {
    font-size: 16px;
    color: #101010;
    font-weight: 500;
    display: block;
    margin-bottom: 7px;
    transition: color 0.2s;
    line-height: 22px;
}
.soft-card .rec-meta {
    font-size: 14px;
    color: #999;
}
.soft-card .sidebar-footer {
    text-align: center;
    margin-top: 6px;
    font-size: 11px;
    color: #ccc;
}


