.product-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 14% 8%, rgba(109, 211, 206, 0.22), transparent 30%),
        radial-gradient(circle at 86% 10%, rgba(79, 140, 255, 0.16), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7fafc 50%, #ffffff 100%);
}

.product-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.product-hero,
.product-detail-hero {
    padding: 34px 0 10px;
}

.back-home {
    display: inline-flex;
    margin-bottom: 24px;
    color: #4f8cff;
    font-weight: 700;
}

.back-home:hover {
    text-decoration: underline;
}

.eyebrow {
    margin: 0 0 14px;
    color: #4f8cff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.product-hero h1,
.product-detail-hero h1 {
    margin: 0;
    color: #1f2a37;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.05em;
}

.product-hero-desc,
.product-detail-summary {
    max-width: 760px;
    margin: 20px 0 0;
    color: #64748b;
    font-size: 18px;
    line-height: 1.8;
}

.product-list-section,
.product-content-section {
    padding: 28px 0 86px;
}

.category-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.category-strip-title {
    color: #334155;
    font-weight: 800;
}

.category-pill {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    color: #2f6fe8;
    background: rgba(79, 140, 255, 0.10);
    font-size: 13px;
    font-weight: 700;
}

.product-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.product-list-card {
    position: relative;
    min-height: 310px;
    padding: 28px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
    transition: 0.22s ease;
}

.product-list-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 140, 255, 0.36);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
}

.product-list-card-featured {
    border-color: rgba(79, 140, 255, 0.42);
}

.product-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    color: #ffffff;
    background: #4f8cff;
    font-size: 12px;
    font-weight: 800;
}

.product-card-icon,
.product-detail-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(109, 211, 206, 0.22), rgba(79, 140, 255, 0.18));
    font-size: 26px;
}

.product-list-card-media {
    margin-bottom: 18px;
}

/* 修改软件图片尺寸 */
.product-list-card-media-image {
    width: 54px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.product-list-card-image {
    display: block;
    width: 54px;
    height: 54px;
    border-radius: inherit;
    object-fit: cover;
}

.product-list-card-media-icon {
    width: 54px;
    height: 54px;
}

.product-card-meta,
.product-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.product-card-meta span,
.product-detail-meta span {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: #f1f5f9;
}

.product-list-card h2 {
    margin: 18px 0 0;
    font-size: 24px;
    line-height: 1.32;
    letter-spacing: -0.03em;
}

.product-list-card h2 a:hover {
    color: #2f6fe8;
}

.product-list-card p {
    margin: 14px 0 0;
    color: #64748b;
    line-height: 1.75;
}

.product-read-more {
    display: inline-flex;
    margin-top: 24px;
    color: #2f6fe8;
    font-weight: 800;
}

.product-read-more:hover {
    text-decoration: underline;
}

.empty-product {
    padding: 54px 28px;
    text-align: center;
    border: 1px dashed rgba(148, 163, 184, 0.62);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
}

.empty-product h2 {
    margin: 0;
    font-size: 24px;
}

.empty-product p {
    margin: 10px 0 0;
    color: #64748b;
}

.product-detail-container {
    max-width: 880px;
}

.product-detail-icon {
    margin-bottom: 22px;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.product-primary-btn,
.product-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 800;
}

.product-primary-btn {
    color: #ffffff;
    background: linear-gradient(135deg, #4f8cff, #6dd3ce);
    box-shadow: 0 12px 28px rgba(79, 140, 255, 0.24);
}

.product-secondary-btn {
    color: #2f6fe8;
    background: rgba(79, 140, 255, 0.10);
}

.product-detail-card {
    padding: clamp(28px, 5vw, 48px);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.07);
}

.product-detail-card h2 {
    margin: 0;
    color: #1f2a37;
    font-size: 28px;
    letter-spacing: -0.035em;
}

.product-description {
    margin-top: 18px;
    color: #334155;
    font-size: 17px;
    line-height: 1.9;
}

.product-description img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px auto;
    border-radius: 18px;
}

.product-description a {
    color: #2f6fe8;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.product-description code {
    padding: 2px 6px;
    border-radius: 8px;
    color: #0f172a;
    background: rgba(15, 23, 42, 0.08);
    font-family: Consolas, "SFMono-Regular", Menlo, Monaco, "Courier New", monospace;
    font-size: 0.92em;
}

.product-description pre {
    margin: 22px 0;
    padding: 18px 20px;
    overflow-x: auto;
    border-radius: 18px;
    background: #0f172a;
}

.product-description pre code {
    display: block;
    padding: 0;
    color: #e5e7eb;
    background: transparent;
    font-size: 14px;
    line-height: 1.8;
    white-space: pre;
}

.product-description blockquote {
    margin: 24px 0;
    padding: 16px 20px;
    border-left: 5px solid #6dd3ce;
    border-radius: 16px;
    color: #475569;
    background: rgba(109, 211, 206, 0.10);
}

.product-description table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 22px 0;
    overflow-x: auto;
    border-collapse: collapse;
}

.product-description th,
.product-description td {
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.product-description p {
    margin: 0 0 14px;
}

.product-muted {
    margin: 18px 0 0;
    color: #64748b;
}

.product-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 34px;
}

.product-info-item {
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
}

.product-info-item strong {
    display: block;
    color: #1f2a37;
    font-size: 14px;
}

.product-info-item span {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 14px;
    word-break: break-word;
}

@media (max-width: 900px) {
    .product-list-grid,
    .product-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-hero,
    .product-detail-hero {
        padding: 30px 0 10px;
    }
}

@media (max-width: 640px) {
    .product-container {
        width: min(100% - 28px, 1120px);
    }

    .product-list-grid,
    .product-info-grid {
        grid-template-columns: 1fr;
    }

    .product-list-card {
        min-height: auto;
    }

    .product-detail-card {
        padding: 26px 20px;
        border-radius: 22px;
    }
}

.product-list-section {
    scroll-margin-top: 96px;
}

.category-pill {
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: 0.2s ease;
}

.category-pill:hover,
.category-pill-active {
    color: #ffffff;
    background: linear-gradient(135deg, #4f8cff, #6dd3ce);
    box-shadow: 0 10px 22px rgba(79, 140, 255, 0.18);
    text-decoration: none;
}

.product-list-shell {
    position: relative;
}

.product-page-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 104px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    border-radius: 999px;
    color: #2f6fe8;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.10);
    font-size: 54px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    transition: 0.2s ease;
}

.product-page-arrow:hover {
    color: #ffffff;
    background: linear-gradient(135deg, #4f8cff, #6dd3ce);
    text-decoration: none;
    transform: translateY(-50%) scale(1.04);
}

.product-page-arrow-left {
    left: -34px;
}

.product-page-arrow-right {
    right: -34px;
}

@media (max-width: 900px) {
    .product-page-arrow {
        width: 48px;
        height: 82px;
        font-size: 42px;
    }

    .product-page-arrow-left {
        left: -16px;
    }

    .product-page-arrow-right {
        right: -16px;
    }
}

@media (max-width: 640px) {
    .product-page-arrow {
        position: fixed;
        top: 54%;
        width: 42px;
        height: 68px;
        font-size: 36px;
        opacity: 0;
        pointer-events: none;
        background: rgba(255, 255, 255, 0.58);
        transform: translateY(-50%);
    }

    .product-page-arrow:hover {
        opacity: 0.92;
        transform: translateY(-50%) scale(1.04);
    }

    .product-page-arrow-left {
        left: 8px;
    }

    .product-page-arrow-right {
        right: 8px;
    }

    body.product-arrows-visible .product-page-arrow {
        opacity: 0.68;
        pointer-events: auto;
    }
}