/* 全局设置和基本样式 */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #333;
    --accent-color: #0066ff;
    --card-bg: #ffffff;
    --text-color: #333;
    --bg-color: #f5f5f5;
    --section-spacing: 2rem;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.4;
    min-width: 320px;
}

/* 头部 */
.site-header,
header {
    background-color: #fff;
    padding: 1rem 0.75rem 0.85rem;
    text-align: center;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-brand h1,
header h1 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.header-brand h1::before,
header h1::before {
    content: "🎧 ";
}

.header-brand .subtitle,
header .subtitle {
    font-size: 0.78rem;
    color: #888;
}

/* 导航：单行四 Tab */
.site-nav,
.tab-nav {
    display: flex;
    max-width: 420px;
    margin: 0.75rem auto 0;
    padding: 0.25rem;
    background: linear-gradient(180deg, #f8f9fb 0%, #eef1f5 100%);
    border-radius: 0.875rem;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-item,
.nav-tab,
.nav-pill,
.tab-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.5rem 0.25rem;
    min-height: 3.1rem;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    border-radius: 0.625rem;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
    line-height: 1.1;
    -webkit-tap-highlight-color: transparent;
}

.nav-item-icon {
    font-size: 1.2rem;
    line-height: 1;
    filter: grayscale(0.15);
    transition: filter 0.2s, transform 0.15s;
}

.nav-item-label {
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.nav-item.active,
.nav-tab.active,
.nav-pill.active,
.tab-link.active {
    background: #fff;
    color: var(--accent-color);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.12);
}

.nav-item.active .nav-item-icon {
    filter: none;
    transform: scale(1.05);
}

.nav-item:hover:not(.active),
.nav-tab:not(.active):hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.65);
}

.nav-item:active:not(.active) {
    transform: scale(0.97);
}

/* 品牌介绍 */
.brand-intro {
    background: linear-gradient(135deg, #fff, #f8f9fa);
    padding: 1.5rem 1rem;
    margin: var(--section-spacing) auto;
    text-align: center;
    max-width: 800px;
}

.brand-intro h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.brand-intro h2::before {
    content: "✨ ";
}

.brand-intro p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

/* 产品特色 */
.features {
    padding: 0 1rem;
    margin-bottom: var(--section-spacing);
}

.features h2 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.features h2::before {
    content: "🌟 ";
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    background: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.feature-item h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.feature-item p {
    font-size: 0.85rem;
    color: #666;
}

/* 主体内容 */
main,
.home-main {
    width: 100%;
    padding: 0.75rem;
    max-width: 720px;
    margin: 0 auto;
}

/* 首页推荐引导 */
.home-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #0066ff 0%, #3385ff 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 0.75rem;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.28);
    transition: transform 0.15s, box-shadow 0.15s;
}

.home-cta:active {
    transform: scale(0.98);
}

.home-cta-icon {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.home-cta-text {
    flex: 1;
    text-align: left;
    line-height: 1.3;
}

.home-cta-text strong {
    display: block;
    font-size: 0.92rem;
    margin-bottom: 0.1rem;
}

.home-cta-text small {
    font-size: 0.72rem;
    opacity: 0.9;
}

.home-cta-arrow {
    font-size: 1.1rem;
    opacity: 0.85;
    flex-shrink: 0;
}

/* 首页列表下方：去购买 */
.home-buy-btn {
    display: block;
    width: 100%;
    margin-top: 0.85rem;
    padding: 0.75rem 1rem;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 2rem;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.22);
    transition: transform 0.15s, box-shadow 0.15s;
}

.home-buy-btn:active {
    transform: scale(0.98);
}

/* 去购买弹层 */
.buy-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.buy-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.buy-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.buy-modal-card {
    position: relative;
    z-index: 1;
    width: min(17.5rem, 100%);
    padding: 1.35rem 1.15rem 1.25rem;
    background: #fff;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    animation: buyModalIn 0.28s ease;
}

@keyframes buyModalIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.buy-modal-close {
    position: absolute;
    top: 0.45rem;
    right: 0.55rem;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    color: #999;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    font-family: inherit;
}

.buy-modal-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.buy-modal-hint {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 0.85rem;
}

.buy-modal-qr {
    width: min(11.5rem, 72vw);
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 0.5rem;
    background: #f8f9fb;
}

/* 首页快捷入口 */
.home-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}

.home-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.7rem;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 0.65rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.home-action:hover {
    border-color: #cce0ff;
    transform: translateY(-1px);
}

.home-action-primary {
    background: linear-gradient(135deg, #0066ff, #3385ff);
    border-color: transparent;
    color: #fff;
}

.home-action-primary small {
    color: rgba(255, 255, 255, 0.85);
}

.home-action-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.home-action-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.home-action-text strong {
    font-size: 0.72rem;
    line-height: 1.3;
}

.home-action-text small {
    font-size: 0.62rem;
    color: #888;
    line-height: 1.3;
}

main h2 {
    text-align: center;
    font-size: 1rem;
    margin: 1rem 0 1.5rem;
    color: var(--primary-color);
}

main h2::before {
    content: "🌟";
}

/* 保持原有的产品网格样式不变 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
    width: 100%;
}

.product-card {
    background: var(--card-bg);
    border-radius: 0.65rem;
    padding: 0;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #eef0f3;
}

.product-card-media {
    background: linear-gradient(180deg, #f8faff 0%, #fff 100%);
    padding: 0.75rem 0.5rem 0.5rem;
}

.product-card img {
    width: 80%;
    max-width: 100px;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.product-card-body {
    padding: 0 0.65rem;
    flex: 1;
}

.product-card h2 {
    font-size: 0.88rem;
    color: var(--primary-color);
    margin-bottom: 0.15rem;
    font-weight: 600;
}

.product-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.2rem;
}

/* 可展开价格 */
.price-toggle {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding: 0.35rem 0.5rem;
    margin-bottom: 0.25rem;
    background: #f0f7ff;
    border: 1px dashed #b3d4ff;
    border-radius: 0.45rem;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s, border-color 0.2s;
}

.price-toggle:hover {
    background: #e3efff;
    border-color: var(--accent-color);
}

.price-toggle[aria-expanded="true"] {
    background: #e3efff;
    border-style: solid;
    border-color: var(--accent-color);
    margin-bottom: 0.35rem;
}

.price-toggle-main {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-color);
}

.price-toggle-hint {
    font-size: 0.62rem;
    color: #888;
    font-weight: 400;
}

.price-toggle[aria-expanded="true"] .price-toggle-hint::after {
    content: " · 收起";
}

.price-detail {
    width: 100%;
    text-align: left;
    margin-bottom: 0.35rem;
    animation: priceSlide 0.25s ease;
}

@keyframes priceSlide {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.price-variant {
    background: #f8fafc;
    border: 1px solid #eef0f3;
    border-radius: 0.4rem;
    padding: 0.4rem 0.5rem;
    margin-bottom: 0.35rem;
}

.price-variant:last-child {
    margin-bottom: 0;
}

.price-variant-hot {
    border-color: #cce0ff;
    background: #f0f7ff;
}

.variant-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.15rem;
}

.variant-row strong {
    font-size: 0.72rem;
    color: var(--primary-color);
}

.variant-price {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--accent-color);
}

.price-variant p {
    font-size: 0.62rem;
    color: #777;
    line-height: 1.45;
    margin: 0;
}

.product-chip {
    font-size: 0.65rem;
    font-weight: 500;
    color: #888;
    margin-left: 0.15rem;
}

.product-desc {
    font-size: 0.68rem;
    color: #888;
    margin-bottom: 0.45rem;
    line-height: 1.35;
}

.product-card .learn-more {
    margin: 0 0.65rem 0.65rem;
    display: block;
    text-align: center;
    padding: 0.4rem 0.5rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 1rem;
    text-decoration: none;
    font-size: 0.78rem;
}

.product-card p:not(.product-price):not(.product-desc) {
    font-size: 0.68rem;
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.learn-more {
    background-color: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    text-decoration: none;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* 产品特征标签 */
.product-features {
    display: flex;
    gap: 0.35rem;
    margin: 0 0 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.product-features span {
    background: #f0f7ff;
    color: var(--accent-color);
    padding: 0.15rem 0.45rem;
    border-radius: 1rem;
    font-size: 0.65rem;
}

/* 页脚 */
footer {
    background: #fff;
    padding: 1.5rem 1rem;
    text-align: center;
    margin-top: var(--section-spacing);
    box-shadow: 0 -2px 4px rgba(0,0,0,0.05);
}

footer p {
    color: #666;
    font-size: 0.8rem;
    line-height: 1.6;
}

footer p:first-child::before {
    content: "🎼 ";
}

/* 响应式设计 */
@media screen and (min-width: 375px) {
    main {
        padding: 0.8rem;
    }

    .product-grid {
        gap: 0.8rem;
    }

    .product-card {
        padding: 0.8rem;
    }
}

@media screen and (min-width: 768px) {
    .site-header,
    header {
        padding: 1.25rem 1.5rem 1rem;
    }

    .header-brand h1,
    header h1 {
        font-size: 1.6rem;
    }

    .site-nav,
    .tab-nav {
        max-width: 480px;
    }

    .nav-item,
    .nav-tab {
        font-size: 0.75rem;
        padding: 0.5rem 0.35rem;
    }

    .nav-item-icon {
        font-size: 1.25rem;
    }

    .home-actions {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .home-action-text strong {
        font-size: 0.85rem;
    }

    .home-action-text small {
        font-size: 0.72rem;
    }

    .brand-intro,
    .features {
        padding: 2rem;
    }

    main,
    .home-main {
        padding: 1.25rem;
        max-width: 900px;
    }

    .product-grid {
        gap: 1rem;
    }

    .product-card h2 {
        font-size: 1rem;
    }

    .product-desc {
        font-size: 0.75rem;
    }

    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 标签导航（兼容旧页面） */
.download-list {
    max-width: 800px;
    margin: 2rem auto;
    padding: 1rem;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.download-name {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.download-btn {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    flex-shrink: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.download-btn:hover {
    background: #0052cc;
    transform: translateY(-1px);
}

/* 查看更多页面 */
.more-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 50vh;
    padding: 2rem;
}

.more-btn {
    background: var(--accent-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 2rem;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.more-btn:hover {
    background: #0052cc;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0,0,0,0.15);
}

/* ===================================== */
/*             产品详情页样式             */
/* ===================================== */

.product-detail-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

.product-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-gallery img {
    width: 100%;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-info, .product-specs {
    background: var(--card-bg);
    padding: 1rem; /* 减小内边距 */
    border-radius: 0.5rem;
    margin-bottom: 1.5rem; /* 减小底部外边距 */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.product-info h2, .product-specs h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.product-info p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #555;
}

.highlight {
    font-weight: 600;
    color: var(--accent-color);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* 减小最小宽度以容纳更多列 */
    gap: 0.5rem; /* 减小网格间距 */
}

.spec-item {
    background: #f8f9fa;
    padding: 0.8rem; /* 减小内边距 */
    border-radius: 0.25rem;
}

.spec-item h3 {
    font-size: 0.85rem; /* 稍微减小标题字体 */
    color: #666;
    margin-bottom: 0.3rem;
}

.spec-item p {
    font-size: 0.9rem; /* 稍微减小参数字体 */
    color: var(--text-color);
}

.highlight-param {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1rem;
}

.back-link-container {
    text-align: center;
    margin: 2rem 0;
}

.back-link {
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.back-link:hover {
    background-color: #0052cc;
    transform: translateY(-2px);
}

@media screen and (min-width: 768px) {
    .product-gallery {
        grid-template-columns: 2fr 1fr;
        align-items: center;
    }
}
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: tabFadeIn 0.28s ease;
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#home.tab-content.active {
    display: block;
}

/* ===================================== */
/*             款式对比页样式             */
/* ===================================== */

.compare-page .header-brand h1::before {
    content: "📋 ";
}

.compare-main {
    max-width: 900px;
    margin: 0 auto;
    padding: 0.8rem;
}

/* 快速结论 */
.compare-quick {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2744 100%);
    color: #fff;
    border-radius: 0.85rem;
    padding: 1rem 1rem 0.85rem;
    margin-bottom: 1rem;
}

.compare-quick h2 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #fff;
    border-bottom: none;
    padding-bottom: 0;
}

.compare-quick h2::before {
    content: "⚡ ";
}

.compare-quick-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 0.75rem;
}

.quick-conclusions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.quick-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.55rem;
    color: #fff;
    text-decoration: none;
    font-size: 0.8rem;
    transition: background 0.15s;
}

.quick-row:hover {
    background: rgba(255, 255, 255, 0.16);
}

.quick-scene {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.35;
}

.quick-arrow {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.9rem;
}

.quick-pick {
    text-align: right;
    font-weight: 600;
    line-height: 1.35;
}

.quick-pick em {
    font-style: normal;
    color: #7ec8ff;
    font-weight: 700;
}

.compare-intro {
    background: linear-gradient(135deg, #fff, #f0f7ff);
    padding: 1rem;
    border-radius: 0.5rem;
    margin: 1rem 0;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #444;
    border-left: 4px solid var(--accent-color);
}

.compare-section {
    margin-bottom: 1.5rem;
}

.compare-section h2 {
    font-size: 1.05rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #e8f0fe;
}

.compare-section h2::before {
    content: "▸ ";
    color: var(--accent-color);
}

.compare-note,
.compare-tip {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

.compare-tip {
    background: #fffbe6;
    padding: 0.6rem 0.8rem;
    border-radius: 0.4rem;
    border-left: 3px solid #faad14;
}

.pick-cards {
    display: grid;
    gap: 0.6rem;
}

.pick-card {
    background: #fff;
    padding: 0.8rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.pick-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #555;
    margin-top: 0.4rem;
}

.pick-tag {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-weight: 600;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -0.2rem;
    padding: 0.2rem;
}

.compare-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: #fff;
    border-radius: 0.5rem;
    overflow: hidden;
    font-size: 0.78rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.compare-table th,
.compare-table td {
    padding: 0.55rem 0.45rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.4;
}

.compare-table th {
    background: #f8f9fa;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.75rem;
}

.compare-table td:first-child,
.compare-table th:first-child {
    text-align: left;
    font-weight: 500;
    color: #666;
    background: #fafafa;
    position: sticky;
    left: 0;
    z-index: 1;
}

.compare-table th:first-child {
    background: #f0f0f0;
}

.cell-yes { color: #52c41a; font-weight: 600; }
.cell-no { color: #999; }
.cell-partial { color: #fa8c16; font-weight: 500; }
.cell-price { color: var(--accent-color); font-weight: 700; font-size: 0.95em; }

.rank-list {
    padding-left: 1.2rem;
    font-size: 0.85rem;
    line-height: 1.9;
    color: #444;
}

.rank-list li strong {
    color: var(--accent-color);
}

.rank-note {
    font-size: 0.75rem;
    color: #888;
    font-weight: normal;
}

.model-card {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    scroll-margin-top: 5.5rem;
}

.model-card.model-highlight {
    animation: modelHighlight 2s ease;
}

@keyframes modelHighlight {
    0%, 100% { box-shadow: 0 1px 3px rgba(0,0,0,0.06); }
    20%, 60% { box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.35), 0 4px 16px rgba(0, 102, 255, 0.15); }
}

.model-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.model-header h3 {
    font-size: 1rem;
    color: var(--primary-color);
}

.chip-badge {
    font-size: 0.7rem;
    background: #f0f7ff;
    color: var(--accent-color);
    padding: 0.15rem 0.5rem;
    border-radius: 1rem;
}

.model-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0.6rem;
}

.model-features {
    padding-left: 1.1rem;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 0.6rem;
}

.article-link {
    display: inline-block;
    font-size: 0.8rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.article-link:hover {
    text-decoration: underline;
}

.compare-alert {
    background: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.notice-list {
    padding-left: 1.1rem;
    font-size: 0.85rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.compare-banner {
    display: block;
    background: linear-gradient(90deg, #0066ff, #3385ff);
    color: #fff;
    text-align: center;
    padding: 0.7rem 1rem;
    margin: 0.5rem 0.8rem 0;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,102,255,0.25);
}

.compare-banner:hover {
    opacity: 0.92;
}

.compare-banner-secondary {
    background: linear-gradient(90deg, #5a67d8, #7c8aff);
    box-shadow: 0 2px 8px rgba(90, 103, 216, 0.25);
    margin-top: 0.5rem;
}

/* ===================================== */
/*             一键推荐页样式             */
/* ===================================== */

.recommend-page .header-brand h1::before {
    content: "🎯 ";
}

.rec-main {
    max-width: 520px;
    margin: 0 auto;
    padding: 1rem 0.8rem 2rem;
    min-height: 60vh;
}

.rec-progress {
    height: 4px;
    background: #e8ecf0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.rec-progress-bar {
    height: 100%;
    width: 25%;
    background: var(--accent-color);
    border-radius: 2px;
    transition: width 0.35s ease;
}

.rec-step-label {
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 1rem;
}

.rec-step {
    display: none;
    animation: recFadeIn 0.3s ease;
}

.rec-step.active {
    display: block;
}

@keyframes recFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.rec-question {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
    line-height: 1.4;
}

.rec-hint {
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 1rem;
}

.rec-options {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.rec-option {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 2px solid #e8ecf0;
    border-radius: 0.65rem;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    font-family: inherit;
}

.rec-option:hover {
    border-color: #b3d4ff;
    background: #fafcff;
}

.rec-option.selected {
    border-color: var(--accent-color);
    background: #f0f7ff;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.12);
}

.rec-option-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 2rem;
    text-align: center;
}

.rec-option-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.rec-option-text strong {
    font-size: 0.9rem;
    color: var(--primary-color);
}

.rec-option-text small {
    font-size: 0.72rem;
    color: #888;
}

.rec-back {
    margin-top: 1.25rem;
    background: none;
    border: none;
    color: #888;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 0.5rem 0;
    font-family: inherit;
}

.rec-back:hover {
    color: var(--accent-color);
}

/* 结果页 */
.rec-result-badge {
    display: inline-block;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
}

.rec-summary {
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.rec-result-card {
    background: #fff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.1);
    border: 1px solid #e8f0fe;
    margin-bottom: 1.25rem;
}

.rec-result-img-wrap {
    background: linear-gradient(180deg, #f0f7ff 0%, #fff 100%);
    padding: 1.25rem;
    text-align: center;
}

.rec-result-img-wrap img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.rec-result-body {
    padding: 1rem 1.1rem 1.25rem;
}

.rec-result-tag {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rec-result-body h2 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin: 0.25rem 0 0.15rem;
}

.rec-result-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.35rem;
}

.rec-result-meta {
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 0.75rem;
}

.rec-reasons {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.rec-reasons li {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.6;
    padding: 0.35rem 0 0.35rem 1.1rem;
    position: relative;
}

.rec-reasons li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.75rem;
}

.rec-alt {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 0.65rem;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
}

.rec-alt h3 {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 0.35rem;
}

.rec-alt-note {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 0.65rem;
}

.rec-alt-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
}

.rec-alt-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.rec-alt-card div {
    flex: 1;
    min-width: 0;
}

.rec-alt-card strong {
    display: block;
    font-size: 0.82rem;
    color: var(--primary-color);
}

.rec-alt-card span {
    font-size: 0.72rem;
    color: #888;
}

.rec-alt-card a {
    font-size: 0.78rem;
    color: var(--accent-color);
    white-space: nowrap;
    text-decoration: none;
}

.rec-btn-buy {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, #0066ff 0%, #3385ff 100%);
    color: #fff;
    border: none;
    border-radius: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.28);
    transition: transform 0.15s, box-shadow 0.15s;
}

.rec-btn-buy:active {
    transform: scale(0.98);
}

.rec-actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.rec-btn-secondary {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 0.65rem 1rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 2rem;
    font-size: 0.82rem;
    color: #555;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: all 0.2s;
}

.rec-btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

@media screen and (min-width: 768px) {
    .rec-main {
        padding: 1.5rem 1rem 3rem;
    }

    .rec-question {
        font-size: 1.3rem;
    }

    .rec-result-img-wrap img {
        width: 140px;
    }

    .compare-main {
        padding: 1.5rem;
    }

    .pick-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .compare-table {
        font-size: 0.85rem;
    }

    .compare-section h2 {
        font-size: 1.15rem;
    }
}