/**
 * Acropi / AcropiV2 深色 UI
 * 通过变量重映射 + 硬编码白底覆写，统一成 site-dark 玻璃语言
 */

body.site-dark {
    --primary-color: #5b9cff;
    --secondary-color: #3d7aef;
    --accent-color: #7eb0ff;
    --text-color: #e8eef8;
    --light-gray: rgba(255, 255, 255, 0.04);
    --medium-gray: rgba(255, 255, 255, 0.1);
    --dark-gray: rgba(190, 205, 230, 0.72);
    --white: rgba(12, 20, 36, 0.88);
    background: var(--sd-bg) !important;
    color: var(--sd-text) !important;
}

body.site-dark .product-banner {
    background: #050b16 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* 板子图保持高可见度，仅轻微压暗以便标题叠字 */
body.site-dark .banner-bg {
    opacity: 0.95 !important;
    filter: saturate(1.05) brightness(0.92);
}

body.site-dark .banner-shade {
    background:
        linear-gradient(180deg, rgba(5, 11, 22, 0.22) 0%, rgba(5, 11, 22, 0.05) 40%, rgba(5, 11, 22, 0.82) 100%),
        radial-gradient(ellipse 65% 50% at 50% 30%, rgba(91, 156, 255, 0.14), transparent 70%);
}

body.site-dark .banner-content h1 {
    color: #f2f7ff !important;
    letter-spacing: -0.03em;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}

body.site-dark .tagline {
    color: rgba(200, 218, 245, 0.9) !important;
}

/* 内容区 */
body.site-dark .product-overview,
body.site-dark .product-specs,
body.site-dark .product-features,
body.site-dark .product-applications,
body.site-dark .product-gallery,
body.site-dark .download-section,
body.site-dark .related-products {
    background: transparent !important;
    background-color: transparent !important;
}

body.site-dark .product-specs,
body.site-dark .product-features {
    background: rgba(255, 255, 255, 0.02) !important;
}

body.site-dark .section-header h2 {
    color: #f2f7ff !important;
}

body.site-dark .section-header .underline,
body.site-dark .underline {
    background: linear-gradient(90deg, var(--sd-accent), transparent) !important;
    background-color: transparent !important;
}

body.site-dark .product-description p,
body.site-dark .overview-content p {
    color: var(--sd-muted) !important;
}

body.site-dark .highlight-item,
body.site-dark .feature-item,
body.site-dark .feature-card,
body.site-dark .app-card,
body.site-dark .download-card,
body.site-dark .related-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
    border-radius: 14px;
}

body.site-dark .highlight-item:hover,
body.site-dark .feature-item:hover,
body.site-dark .app-card:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(120, 170, 255, 0.35) !important;
}

body.site-dark .highlight-icon {
    background: rgba(91, 156, 255, 0.14) !important;
    color: #9ec4ff !important;
}

body.site-dark .highlight-text h3,
body.site-dark .feature-item h3,
body.site-dark .app-card h3 {
    color: #f2f7ff !important;
}

body.site-dark .highlight-text p,
body.site-dark .feature-item p,
body.site-dark .app-card p {
    color: var(--sd-muted) !important;
}

body.site-dark .product-image,
body.site-dark .gallery-item {
    background: rgba(0, 0, 0, 0.28) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
}

/* 参数表 */
body.site-dark .specs-table,
body.site-dark .specs-table table,
body.site-dark table {
    background: rgba(12, 20, 36, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

body.site-dark .specs-table th,
body.site-dark table th {
    background: rgba(91, 156, 255, 0.1) !important;
    color: #9ec4ff !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.site-dark .specs-table td,
body.site-dark table td {
    color: var(--sd-muted) !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
    background: transparent !important;
}

body.site-dark .specs-table tr:nth-child(even) td,
body.site-dark table tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.02) !important;
}

/* CTA / 下载按钮 */
body.site-dark .btn,
body.site-dark .download-btn,
body.site-dark .cta-btn {
    background: transparent !important;
    border: 1px solid rgba(120, 170, 255, 0.45) !important;
    color: #e8eef8 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

body.site-dark .btn:hover,
body.site-dark .download-btn:hover,
body.site-dark .cta-btn:hover {
    background: rgba(91, 156, 255, 0.2) !important;
    border-color: rgba(155, 196, 255, 0.7) !important;
    color: #fff !important;
}

body.site-dark .back-to-top {
    background: rgba(12, 20, 36, 0.85);
    border: 1px solid rgba(120, 170, 255, 0.28);
    color: var(--sd-text);
}

/* 场景 / 相关产品 / 说明书区 */
body.site-dark .application-scenarios,
body.site-dark .related-products,
body.site-dark .product-features,
body.site-dark .product-specs,
body.site-dark .product-overview {
    background-color: transparent !important;
    background: transparent !important;
}

/* 手册预览/下载 —— 压过 linear-gradient(#f8f9fa,#e9ecef) */
body.site-dark .manual-download {
    background: rgba(255, 255, 255, 0.04) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-left: 3px solid #5b9cff !important;
    border-radius: 14px !important;
    box-shadow: none !important;
}

body.site-dark .download-note {
    color: rgba(190, 205, 230, 0.72) !important;
    background: transparent !important;
}

body.site-dark .feature-item,
body.site-dark .scenario-item,
body.site-dark .related-product,
body.site-dark .highlight-item {
    background-color: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
}

body.site-dark .feature-item:hover,
body.site-dark .scenario-item:hover,
body.site-dark .related-product:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(120, 170, 255, 0.35) !important;
}

body.site-dark .feature-icon,
body.site-dark .highlight-icon {
    background-color: rgba(91, 156, 255, 0.14) !important;
    color: #9ec4ff !important;
}

body.site-dark .feature-details h3,
body.site-dark .scenario-item h3,
body.site-dark .related-product h3 {
    color: #f2f7ff !important;
}

body.site-dark .feature-details p,
body.site-dark .scenario-item p {
    color: var(--sd-muted) !important;
}

body.site-dark .scenario-image,
body.site-dark .product-img {
    background: rgba(0, 0, 0, 0.3) !important;
}

body.site-dark .view-details {
    background-color: transparent !important;
    border: 1px solid rgba(120, 170, 255, 0.4);
    color: #c8daf5 !important;
    border-radius: 999px;
}

body.site-dark .view-details:hover {
    background-color: rgba(91, 156, 255, 0.2) !important;
    color: #fff !important;
}

body.site-dark .preview-btn,
body.site-dark .download-btn {
    background: transparent !important;
    background-image: none !important;
    border: 1px solid rgba(120, 170, 255, 0.45) !important;
    color: #e8eef8 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

body.site-dark .preview-btn:hover,
body.site-dark .download-btn:hover {
    background: rgba(91, 156, 255, 0.2) !important;
    background-image: none !important;
    border-color: rgba(155, 196, 255, 0.7) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(59, 120, 230, 0.2) !important;
}

body.site-dark .preview-btn i,
body.site-dark .download-btn i {
    color: inherit !important;
}

body.site-dark .specs-table table {
    background-color: rgba(12, 20, 36, 0.75) !important;
}

body.site-dark .specs-table tr:hover {
    background-color: rgba(91, 156, 255, 0.08) !important;
}
