/**
 * 无人机产品详情深色 UI（travel / carry / education）
 * 对齐首页深色玻璃语言；压过 drone-detail.css 的浅灰渐变区块
 */

body.site-dark {
    --primary-bg: #050b16;
    --secondary-bg: rgba(12, 20, 36, 0.92);
    --border-color: rgba(255, 255, 255, 0.1);
    --neutral-800: #e8eef8;
    --neutral-600: rgba(190, 205, 230, 0.72);
    background: var(--sd-bg, #050b16) !important;
    color: var(--sd-text, #e8eef8);
}

body.site-dark .drone-detail-main {
    background: var(--sd-bg, #050b16) !important;
}

/* ---------- Hero ---------- */
body.site-dark .hero-section {
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(91, 156, 255, 0.14), transparent 55%),
        linear-gradient(180deg, #07101e 0%, var(--sd-bg) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.site-dark .hero-content h1 {
    color: #f2f7ff !important;
    letter-spacing: -0.03em;
}

body.site-dark .hero-description {
    color: rgba(190, 205, 230, 0.78) !important;
}

body.site-dark .btn-primary {
    background: transparent !important;
    border: 1px solid rgba(120, 170, 255, 0.5) !important;
    color: #e8eef8 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

body.site-dark .btn-primary:hover {
    background: rgba(91, 156, 255, 0.22) !important;
    border-color: rgba(155, 196, 255, 0.75) !important;
    color: #fff !important;
}

body.site-dark .btn-secondary {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: rgba(200, 218, 245, 0.9) !important;
    border-radius: 999px !important;
}

body.site-dark .btn-secondary:hover {
    border-color: rgba(120, 170, 255, 0.45) !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.04) !important;
}

/* ---------- 通用区块头 ---------- */
body.site-dark .section-header h2 {
    color: #f2f7ff !important;
}

body.site-dark .section-header h2::after {
    background: linear-gradient(90deg, var(--sd-accent), transparent) !important;
}

body.site-dark .section-header p {
    color: var(--sd-muted) !important;
}

/* ---------- 浅色区块 → 深色 ---------- */
body.site-dark .features-section,
body.site-dark .gallery-section,
body.site-dark .tech-specs,
body.site-dark .specs-section,
body.site-dark .applications-section,
body.site-dark .use-cases-section,
body.site-dark .customization-section,
body.site-dark .process-section,
body.site-dark .cta-section,
body.site-dark .contact-cta,
body.site-dark .custom-section {
    background: transparent !important;
    background-image: none !important;
}

body.site-dark .features-section {
    background: rgba(255, 255, 255, 0.02) !important;
}

body.site-dark .tech-specs,
body.site-dark .specs-section {
    background: rgba(0, 0, 0, 0.2) !important;
}

/* ---------- 卡片 ---------- */
body.site-dark .feature-card,
body.site-dark .spec-card,
body.site-dark .gallery-item,
body.site-dark .application-card,
body.site-dark .use-case-card,
body.site-dark .option-card,
body.site-dark .process-step,
body.site-dark .tech-specs .spec-group,
body.site-dark .spec-item,
body.site-dark .custom-card {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
    color: var(--sd-text);
    backdrop-filter: blur(12px);
}

body.site-dark .feature-card:hover,
body.site-dark .spec-card:hover,
body.site-dark .gallery-item:hover,
body.site-dark .application-card:hover,
body.site-dark .use-case-card:hover,
body.site-dark .option-card:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(120, 170, 255, 0.35) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35) !important;
    transform: translateY(-6px);
}

body.site-dark .feature-card h3,
body.site-dark .spec-card h3,
body.site-dark .spec-item h4,
body.site-dark .application-card h3,
body.site-dark .use-case-card h3,
body.site-dark .option-card h3,
body.site-dark .process-step h3 {
    color: #f2f7ff !important;
}

body.site-dark .feature-card p,
body.site-dark .spec-card p,
body.site-dark .spec-item p,
body.site-dark .spec-value,
body.site-dark .application-card p,
body.site-dark .use-case-card p,
body.site-dark .option-card p,
body.site-dark .process-step p {
    color: var(--sd-muted) !important;
}

body.site-dark .feature-icon {
    background: rgba(91, 156, 255, 0.12) !important;
    border: 1px solid rgba(120, 170, 255, 0.2);
}

body.site-dark .feature-icon img {
    filter: brightness(0) invert(1) opacity(0.85);
}

body.site-dark .gallery-item {
    overflow: hidden;
    border-radius: 14px;
}

body.site-dark .gallery-item img {
    background: rgba(0, 0, 0, 0.35);
}

body.site-dark .use-case-image {
    background: rgba(0, 0, 0, 0.35) !important;
}

body.site-dark .use-case-content,
body.site-dark .option-card {
    background: transparent !important;
}

body.site-dark .option-card ul li {
    color: var(--sd-muted) !important;
}

body.site-dark .option-card h3::after {
    background: linear-gradient(90deg, var(--sd-accent), transparent) !important;
}

body.site-dark .specs-section,
body.site-dark .use-cases-section,
body.site-dark .customization-section {
    background: rgba(255, 255, 255, 0.02) !important;
}

/* 规格表外框 —— 穿越机/载物机白框根因 */
body.site-dark .specs-table-container {
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

body.site-dark .specs-image img {
    background: rgba(0, 0, 0, 0.35) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

body.site-dark .specs-container,
body.site-dark .specs-rows {
    background: transparent !important;
}

body.site-dark .gallery-section {
    background: transparent !important;
    background-image: none !important;
}

/* 规格表 / 列表 */
body.site-dark .specs-table,
body.site-dark table {
    background: transparent !important;
    color: var(--sd-text);
}

body.site-dark .specs-table th,
body.site-dark .specs-table td,
body.site-dark table th,
body.site-dark table td {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.site-dark .specs-table th,
body.site-dark table th {
    color: #c8daf5 !important;
    background: rgba(91, 156, 255, 0.12) !important;
}

body.site-dark .specs-table td,
body.site-dark table td {
    color: #e8eef8 !important;
}

body.site-dark .specs-table tr:hover {
    background: rgba(91, 156, 255, 0.08) !important;
}

body.site-dark .spec-list li,
body.site-dark .check-list li {
    color: var(--sd-muted) !important;
}

body.site-dark .cta-section,
body.site-dark .contact-cta {
    background:
        radial-gradient(ellipse 70% 80% at 50% 50%, rgba(91, 156, 255, 0.12), transparent 70%),
        rgba(0, 0, 0, 0.25) !important;
}

body.site-dark .cta-section h2,
body.site-dark .contact-cta h2 {
    color: #f2f7ff !important;
}

body.site-dark .cta-section p,
body.site-dark .contact-cta p {
    color: var(--sd-muted) !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);
}

/* PDF 预览/下载区 —— 写死浅灰渐变白底根因 */
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;
    box-shadow: none !important;
    border-radius: 14px !important;
}

body.site-dark .download-actions {
    background: transparent !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;
    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 .download-note {
    color: rgba(190, 205, 230, 0.72) !important;
    background: transparent !important;
}
