/* 万象罗盘 SEO 优化样式 */

/* 关键词强调样式 */
.seo-keywords {
    font-weight: 600;
    color: #1e40af;
}

.highlight-precision {
    color: #dc2626;
    font-weight: 700;
}

/* 结构化内容样式 */
.feature-highlight {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* 搜索引擎友好的隐藏文本 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
    font-size: 14px;
    color: #6b7280;
}

.breadcrumb a {
    color: #3b82f6;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb-separator::before {
    content: ">";
    margin: 0 4px;
    color: #9ca3af;
}

/* Schema.org 微数据样式 */
.review-schema {
    border-left: 4px solid #10b981;
    padding-left: 16px;
    margin: 16px 0;
}

.rating-stars {
    color: #fbbf24;
    font-size: 18px;
    margin-right: 8px;
}

/* 性能优化 - 关键CSS内联 */
.above-fold {
    contain: layout style;
}

/* 图片优化 */
.responsive-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

/* 字体优化 */
.font-display-swap {
    font-display: swap;
}

/* Core Web Vitals 优化 */
.layout-stable {
    aspect-ratio: 16/9;
    contain: layout;
}

/* 压缩和缓存提示 */
.cacheable-content {
    will-change: auto;
}

/* 移动端 SEO 优化 */
@media (max-width: 768px) {
    .mobile-seo-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .mobile-seo-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* 打印样式优化 */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-friendly {
        color: #000 !important;
        background: #fff !important;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    .high-contrast {
        border: 2px solid currentColor;
    }
}

/* 减少动画偏好支持 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 深色模式 SEO 优化 */
@media (prefers-color-scheme: dark) {
    .dark-mode-seo {
        color: #f3f4f6;
        background-color: #1f2937;
    }
}
