/* ================================================
   khot.cn - 科鸿特 全新高级动效 v3.0
   添加更多视觉增强效果
   ================================================ */

/* ── 1. 渐变文字动画 ── */
.text-gradient {
    background: linear-gradient(135deg, #2563EB, #7c3aed, #06b6d4, #2563EB);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite;
}
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── 2. 玻璃态光晕卡片 ── */
.glass-card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 48px rgba(37,99,235,0.12);
    border-color: rgba(37,99,235,0.2);
}
.dark .glass-card,
.theme-dark .glass-card {
    background: rgba(30,41,59,0.6);
    border-color: rgba(255,255,255,0.08);
}

/* ── 3. 视差滚动容器 ── */
.parallax-section {
    position: relative;
    overflow: hidden;
}
.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 140%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    z-index: 0;
}
.parallax-content {
    position: relative;
    z-index: 1;
}

/* ── 4. 悬停放大镜效果 ── */
.img-zoom-hover {
    overflow: hidden;
    border-radius: 12px;
}
.img-zoom-hover img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.img-zoom-hover:hover img {
    transform: scale(1.08);
}

/* ── 5. 浮动上滑入场 ── */
.rise-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.rise-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── 6. 缩放入场 ── */
.zoom-in {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.zoom-in.revealed {
    opacity: 1;
    transform: scale(1);
}

/* ── 7. 左侧滑入 ── */
.slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.slide-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ── 8. 右侧滑入 ── */
.slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.slide-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ── 9. NOTIFICATION / 消息弹窗 ── */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-width: 360px;
    backdrop-filter: blur(8px);
}
.toast.show { transform: translateX(0); }
.toast-success { background: rgba(34,197,94,0.95); color: #fff; }
.toast-info { background: rgba(37,99,235,0.95); color: #fff; }
.toast-warning { background: rgba(245,158,11,0.95); color: #fff; }

/* ── 10. 脉冲光晕按钮 ── */
.btn-glow {
    position: relative;
    overflow: hidden;
}
.btn-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    border-radius: 50%;
    pointer-events: none;
}
.btn-glow:hover::before {
    width: 300px;
    height: 300px;
}

/* ── 11. 网格背景 ── */
.grid-bg {
    background-image:
        linear-gradient(rgba(37,99,235,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37,99,235,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}
/* ── 21. 鼠标全屏炫光 ── */
.mouse-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 60%);
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    will-change: left, top;
}
.dark .mouse-glow {
    background: radial-gradient(circle, rgba(96,165,250,0.08) 0%, transparent 60%);
}
.mouse-glow-hidden .mouse-glow {
    display: none;
}

/* ── 22. 可关闭通知条 ── */
.site-notice {
    background: linear-gradient(135deg, #2563EB, #7c3aed);
    color: #fff;
    padding: 10px 16px;
    text-align: center;
    font-size: 14px;
    position: relative;
    transition: transform 0.4s ease, opacity 0.4s ease;
}
.site-notice a {
    color: #fff;
    text-decoration: underline;
    font-weight: 600;
}
.site-notice.notice-hidden {
    transform: translateY(-100%);
    opacity: 0;
}
.notice-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.notice-close:hover {
    background: rgba(255,255,255,0.35);
}

/* ── 23. 页面加载完成标记 ── */
html.page-loaded .preloader {
    opacity: 0;
    pointer-events: none;
}

/* ── 24. 圆角磨砂按钮 ── */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-modern-primary {
    background: linear-gradient(135deg, #2563EB, #7c3aed);
    color: #fff;
    box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,99,235,0.4);
}
.btn-modern-outline {
    background: transparent;
    color: #2563EB;
    border: 1.5px solid #2563EB;
}
.btn-modern-outline:hover {
    background: rgba(37,99,235,0.06);
    transform: translateY(-2px);
}

/* ── 25. 性能优化：降低动画对低端设备的压力 ── */
@media (prefers-reduced-motion: reduce) {
    .mouse-glow { display: none; }
    .parallax-bg { transform: none !important; }
    .rise-up, .zoom-in, .slide-left, .slide-right { 
        opacity: 1 !important;
        transform: none !important;
    }
    .news-ticker-inner { animation: none; }
}

/* ── 12. 数字跳动动画 ── */
.count-up-visible .count-up-anim {
    animation: countPop 0.4s ease-out;
}

/* ── 13. 滚动进度增强 ── */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563EB, #7c3aed, #06b6d4);
    z-index: 99999;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(37,99,235,0.4);
}

/* ── 14. 加载骨架屏 ── */
.skeleton {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s infinite;
    border-radius: 8px;
}
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── 15. 发光边框卡片 ── */
.glow-border {
    position: relative;
    isolation: isolate;
}
.glow-border::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient(
        from 0deg at 50% 50%,
        transparent,
        rgba(37,99,235,0.3),
        transparent 30%,
        rgba(124,58,237,0.3) 50%,
        transparent 60%,
        rgba(6,182,212,0.3) 80%,
        transparent
    );
    z-index: -1;
    animation: glow-rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s;
}
.glow-border:hover::before {
    opacity: 1;
}
@keyframes glow-rotate {
    to { transform: rotate(360deg); }
}

/* ── 16. 新闻滚动条（ticker） ── */
.news-ticker-wrap {
    background: linear-gradient(90deg, #1e293b, #334155);
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
}
.news-ticker-inner {
    display: flex;
    white-space: nowrap;
    animation: ticker-scroll 40s linear infinite;
}
.news-ticker-inner:hover {
    animation-play-state: paused;
}
.news-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 48px;
    font-size: 13px;
    color: #94a3b8;
}
.news-ticker-item .ticker-tag {
    background: #2563EB;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}
.news-ticker-item a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s;
}
.news-ticker-item a:hover { color: #60a5fa; }
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── 17. 暗色模式适配 ── */
.dark .skeleton {
    background: linear-gradient(90deg, #334155 25%, #475569 50%, #334155 75%);
}
.dark .glass-card {
    background: rgba(30,41,59,0.7);
    border-color: rgba(255,255,255,0.06);
}

/* ── 18. 磁性悬停按钮增强 ── */
.magnetic-hover {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.magnetic-hover:hover {
    transform: scale(1.05);
}

/* ── 19. 霓虹发光文字 ── */
.text-neon {
    text-shadow: 
        0 0 7px rgba(37,99,235,0.6),
        0 0 20px rgba(37,99,235,0.3),
        0 0 40px rgba(37,99,235,0.1);
}

/* ── 20. 图片懒加载模糊渐入 ── */
img.lazy-blur {
    filter: blur(10px);
    transition: filter 0.5s ease;
}
img.lazy-blur.loaded {
    filter: blur(0);
}

/* ── 自适应优化 ── */
@media (max-width: 768px) {
    .news-ticker-item {
        font-size: 12px;
        margin-right: 24px;
    }
    .glass-card {
        backdrop-filter: blur(8px);
    }
}

/* ════════════════════════════════════════════
   v3.1 新增动效
   ════════════════════════════════════════════ */

/* ── 26. 科技扫描线 ── */
.scan-line {
    position: relative;
    overflow: hidden;
}
.scan-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(180deg, transparent, rgba(37,99,235,0.08), transparent);
    animation: scanMove 3s ease-in-out infinite;
    pointer-events: none;
}
@keyframes scanMove {
    0%   { top: -60%; }
    100% { top: 110%; }
}
.theme-dark .scan-line::after {
    background: linear-gradient(180deg, transparent, rgba(96,165,250,0.06), transparent);
}

/* ── 27. 交错入场序列（用于产品网格、文章列表等多项元素） ── */
.stagger-group {
    --stagger-delay: 0.05s;
}
.stagger-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.stagger-group.visible .stagger-item,
.stagger-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.stagger-group.visible .stagger-item:nth-child(1)  { transition-delay: calc(var(--stagger-delay) * 0); }
.stagger-group.visible .stagger-item:nth-child(2)  { transition-delay: calc(var(--stagger-delay) * 1); }
.stagger-group.visible .stagger-item:nth-child(3)  { transition-delay: calc(var(--stagger-delay) * 2); }
.stagger-group.visible .stagger-item:nth-child(4)  { transition-delay: calc(var(--stagger-delay) * 3); }
.stagger-group.visible .stagger-item:nth-child(5)  { transition-delay: calc(var(--stagger-delay) * 4); }
.stagger-group.visible .stagger-item:nth-child(6)  { transition-delay: calc(var(--stagger-delay) * 5); }
.stagger-group.visible .stagger-item:nth-child(7)  { transition-delay: calc(var(--stagger-delay) * 6); }
.stagger-group.visible .stagger-item:nth-child(8)  { transition-delay: calc(var(--stagger-delay) * 7); }
.stagger-group.visible .stagger-item:nth-child(9)  { transition-delay: calc(var(--stagger-delay) * 8); }
.stagger-group.visible .stagger-item:nth-child(10) { transition-delay: calc(var(--stagger-delay) * 9); }
.stagger-group.visible .stagger-item:nth-child(11) { transition-delay: calc(var(--stagger-delay) * 10); }
.stagger-group.visible .stagger-item:nth-child(12) { transition-delay: calc(var(--stagger-delay) * 11); }

/* ── 28. 轨道环绕点 ── */
.orbit-container {
    position: relative;
}
.orbit-ring {
    position: absolute;
    border: 1px solid rgba(37,99,235,0.12);
    border-radius: 50%;
    pointer-events: none;
    animation: orbitSpin 20s linear infinite;
}
.orbit-ring:nth-child(1) { width: 120px; height: 120px; top: 50%; left: 50%; margin: -60px 0 0 -60px; }
.orbit-ring:nth-child(2) { width: 180px; height: 180px; top: 50%; left: 50%; margin: -90px 0 0 -90px; animation-duration: 30s; animation-direction: reverse; }
.orbit-ring:nth-child(3) { width: 240px; height: 240px; top: 50%; left: 50%; margin: -120px 0 0 -120px; animation-duration: 40s; }
.orbit-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #2563EB;
    border-radius: 50%;
    top: -3px;
    left: 50%;
    margin-left: -3px;
    box-shadow: 0 0 6px rgba(37,99,235,0.5);
}
@keyframes orbitSpin {
    to { transform: rotate(360deg); }
}

/* ── 29. 卡片科技边框（产品列表使用） ── */
.card-tech-border {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
}
.card-tech-border::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, #2563EB, #7c3aed, transparent);
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.card-tech-border:hover::before {
    left: 100%;
}
.card-tech-border::after {
    content: '';
    position: absolute;
    top: -100%; left: 0;
    width: 2px; height: 100%;
    background: linear-gradient(180deg, transparent, #2563EB, transparent);
    transition: top 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.1s;
}
.card-tech-border:hover::after {
    top: 100%;
}

/* ── 30. 光晕脉冲边框 ── */
.glow-ring-pulse {
    position: relative;
}
.glow-ring-pulse::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    border: 1.5px solid rgba(37,99,235,0.3);
    opacity: 0;
    animation: ringPulse 2s ease-out infinite;
    pointer-events: none;
}
@keyframes ringPulse {
    0%   { opacity: 0; transform: scale(0.95); }
    30%  { opacity: 0.6; }
    70%  { opacity: 0.2; }
    100% { opacity: 0; transform: scale(1.08); }
}

/* ── 31. 底部光晕线条 ── */
.glow-underline {
    display: inline-block;
    position: relative;
}
.glow-underline::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2.5px;
    border-radius: 2px;
    background: linear-gradient(90deg, #2563EB, #7c3aed);
    box-shadow: 0 0 10px rgba(37,99,235,0.4);
}

/* ── 32. 响应式视差速度优化 ── */
@media (max-width: 768px) {
    .parallax-bg {
        transform: none !important;
    }
    .orbit-ring { display: none; }
}

/* ════════════════════════════════════════════
   v3.2 全新高级动效（2026-06-18）
   ════════════════════════════════════════════ */

/* ── 33. 水流光效遮罩 ── */
.shimmer-mask {
    position: relative;
    overflow: hidden;
}
.shimmer-mask::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.1) 25%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0.1) 75%, 
        transparent 100%);
    transform: skewX(-25deg);
    animation: shimmerSlide 3s ease-in-out infinite;
    pointer-events: none;
}
.theme-dark .shimmer-mask::after {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(96,165,250,0.05) 25%, 
        rgba(96,165,250,0.12) 50%, 
        rgba(96,165,250,0.05) 75%, 
        transparent 100%);
}
@keyframes shimmerSlide {
    0% { left: -150%; }
    100% { left: 200%; }
}

/* ── 35. 3D透视卡片 ── */
.card-tilt-3d {
    perspective: 1000px;
}
.card-tilt-inner {
    transition: transform 0.3s cubic-bezier(0.03, 0.98, 0.52, 0.99);
    transform-style: preserve-3d;
}

/* ── 37. 悬浮社交按钮呼吸动画 ── */
.float-breathe {
    animation: floatBreathe 3s ease-in-out infinite;
}
.float-breathe:nth-child(2) { animation-delay: 0.5s; }
.float-breathe:nth-child(3) { animation-delay: 1s; }
@keyframes floatBreathe {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ── 38. 科鸿特品牌渐变脉冲 ── */
.brand-pulse {
    background: linear-gradient(135deg, #2563EB, #06b6d4, #7c3aed, #2563EB);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: brandGradient 6s ease infinite;
}
@keyframes brandGradient {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

/* ── 40. 页面平滑滚动 ── */
html {
    scroll-behavior: smooth;
}

/* ── 41. 产品价格跳动强调 ── */
.price-emphasis {
    display: inline-block;
    animation: pricePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pricePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

/* ── 42. 科技六边形网格背景 ── */
.hex-grid-bg {
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(37,99,235,0.03) 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, rgba(124,58,237,0.03) 1px, transparent 1px);
    background-size: 30px 30px, 30px 30px;
}

/* ── 43. 淡入放大入场（特强效果） ── */
.fade-scale-in {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.fade-scale-in.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* ── 45. 卡片浮动阴影 ── */
.card-float {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
}
.card-float:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12), 0 8px 16px rgba(37,99,235,0.08);
}
.theme-dark .card-float:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 8px 16px rgba(37,99,235,0.06);
}

/* ── 47. 移动端底部安全区适配 ── */
@supports (padding-top: env(safe-area-inset-top)) {
    .site-header {
        padding-top: env(safe-area-inset-top, 0);
    }
    .site-footer {
        padding-bottom: env(safe-area-inset-bottom, 0);
    }
}

/* ── 48. 点击反馈微动效 ── */
.click-feedback:active {
    transform: scale(0.96);
    transition: transform 0.08s ease;
}

/* ── 50. 品牌光晕轮廓按钮 ── */
.btn-halo {
    position: relative;
    z-index: 1;
}
.btn-halo::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: conic-gradient(from var(--angle, 0deg), #2563EB, #7c3aed, #06b6d4, #2563EB);
    z-index: -1;
    animation: haloSpin 3s linear infinite;
    opacity: 0.4;
}
.btn-halo::after {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: calc(0.75rem - 1px);
    background: inherit;
    z-index: -1;
}
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes haloSpin {
    to { --angle: 360deg; }
}

/* ── 52. 导航悬停下滑线增强 ── */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2563EB, #06b6d4);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}
.nav-link:hover::after {
    width: 100%;
}
.nav-link.active::after {
    width: 100%;
}

/* ── 53. 滚动至顶按钮 ── */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563EB, #1d4ed8);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
    z-index: 9998;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.scroll-top-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
}
@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* ── 54. 渐进增强：打印样式 ── */

/* ── 55. 流光扫描线 ── */
.scan-line-glow {
  position: relative;
  overflow: hidden;
}
.scan-line-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 30%, rgba(37,99,235,0.06) 50%, transparent 70%);
  animation: scanGlide 4s linear infinite;
  pointer-events: none;
}
@keyframes scanGlide {
  0%   { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* ── 56. 弹性弹跳按钮效果 ── */
.btn-bounce-hover {
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s;
}
.btn-bounce-hover:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 25px rgba(37,99,235,0.3);
}
.btn-bounce-hover:active {
  transform: scale(0.94);
}

/* ── 57. 骨架屏加载占位 ── */
.skeleton-pulse {
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: skeletonLoad 1.5s ease-in-out infinite;
  border-radius: 6px;
}
.skeleton-pulse-text {
  height: 14px;
  margin-bottom: 10px;
  width: 80%;
}
.skeleton-pulse-title {
  height: 22px;
  margin-bottom: 14px;
  width: 60%;
}
.skeleton-pulse-image {
  height: 200px;
  width: 100%;
  margin-bottom: 16px;
}
@keyframes skeletonLoad {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── 58. 边界渐变浮动卡片 hover 边框 ── */
.glow-border-float {
  position: relative;
}
.glow-border-float::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: conic-gradient(#2563EB 0deg, #7c3aed 90deg, #06b6d4 180deg, transparent 270deg, #2563EB 360deg);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
  animation: borderSpin 3s linear infinite;
}
.glow-border-float:hover::before {
  opacity: 1;
}
.glow-border-float > * {
  position: relative;
  z-index: 1;
}
@keyframes borderSpin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ── 59. 暗色模式切换按钮 (已移至导航栏) ── */
.theme-toggle {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}
.theme-toggle:hover {
  background: rgba(0,0,0,0.04);
  border-color: #d1d5db;
  color: #1e293b;
}
.theme-toggle .theme-icon-sun { display: none; }
.theme-toggle .theme-icon-moon { display: block; }
body.dark-mode .theme-toggle .theme-icon-sun { display: block; }
body.dark-mode .theme-toggle .theme-icon-moon { display: none; }
/* 暗色模式下导航栏按钮（融入深色header，无白色背景） */
body.dark-mode .theme-toggle {
  background: transparent;
  border-color: transparent;
  color: #94a3b8;
}
body.dark-mode .theme-toggle:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: #f1f5f9;
}
/* 手机端隐藏（手机菜单里已有可用的入口） */
@media (max-width: 900px) {
  .theme-toggle { display: none; }
}

/* ── 暗色模式 ── */
body.dark-mode {
  background: #0f172a;
  color: #e2e8f0;
  background-image:
    radial-gradient(ellipse at 15% 20%, rgba(37,99,235,0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 85%, rgba(99,102,241,0.04) 0%, transparent 45%),
    radial-gradient(ellipse at 50% 10%, rgba(37,99,235,0.03) 0%, transparent 50%);
  background-attachment: fixed;
}
body.dark-mode .site-header {
  background: rgba(15,23,42,0.95); border-color: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
}
body.dark-mode .site-header--scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
body.dark-mode .logo-text strong { color: #f1f5f9; }
body.dark-mode .logo-text small { color: #64748b; }
body.dark-mode .nav-link { color: #94a3b8; }
body.dark-mode .nav-link:hover { color: #60a5fa; background: rgba(96,165,250,0.08); }
body.dark-mode .nav-link.active { color: #60a5fa; background: rgba(96,165,250,0.12); }
body.dark-mode .header-phone { color: #94a3b8; }
body.dark-mode .header-phone:hover { color: #60a5fa; }
body.dark-mode .mobile-nav-panel { background: #1e293b; }
body.dark-mode .mobile-nav-link { color: #94a3b8; }
body.dark-mode .mobile-nav-link:hover { color: #60a5fa; }
body.dark-mode .mobile-nav-header { border-color: rgba(255,255,255,0.06); }
body.dark-mode .mobile-logo-text { color: #f1f5f9; }
body.dark-mode .mobile-nav-footer { border-color: rgba(255,255,255,0.06); }
body.dark-mode .mobile-phone-btn { color: #94a3b8; }
body.dark-mode .hero { background: linear-gradient(135deg,#0f172a 0%,#1e293b 50%,#0f172a 100%); }
body.dark-mode .hero__title { color: #f1f5f9; }
body.dark-mode .hero__desc { color: #94a3b8; }
body.dark-mode .section-header__title { color: #f1f5f9; }
body.dark-mode .section-header__desc { color: #94a3b8; }
body.dark-mode .product-card,
body.dark-mode .news-card,
body.dark-mode .advantage-card,
body.dark-mode .contact-form,
body.dark-mode .contact-info,
body.dark-mode .sidebar-card,
body.dark-mode .glass-panel { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .product-card__title,
body.dark-mode .news-card__title { color: #f1f5f9; }
body.dark-mode .product-card__desc,
body.dark-mode .news-card__desc { color: #94a3b8; }
body.dark-mode .product-card__category { color: #60a5fa; }
body.dark-mode .product-card__price { color: #fbbf24; }
body.dark-mode .product-card__link { color: #60a5fa; }
body.dark-mode .filter-btn { background: #1e293b; color: #94a3b8; border-color: rgba(255,255,255,0.08); }
body.dark-mode .filter-btn.active { background: #2563EB; color: #fff; }
body.dark-mode .features-bar { background: #1e293b; }
body.dark-mode .feature-item__title { color: #f1f5f9; }
body.dark-mode .feature-item__desc { color: #94a3b8; }
body.dark-mode .advantages-section { background: #0f172a; }
body.dark-mode .advantage-card h3 { color: #f1f5f9; }
body.dark-mode .advantage-card p { color: #94a3b8; }
body.dark-mode .strength-section { background: #1e293b; }
body.dark-mode .strength-number { color: #60a5fa; }
body.dark-mode .strength-label { color: #94a3b8; }
body.dark-mode .strength-divider { background: rgba(255,255,255,0.06); }
body.dark-mode .cta-section { background: linear-gradient(135deg,#1e3a5f 0%,#0f172a 100%); }
body.dark-mode .cta-title { color: #f1f5f9; }
body.dark-mode .cta-desc { color: #94a3b8; }
body.dark-mode .site-footer { background: #0f172a; border-color: rgba(255,255,255,0.06); }
body.dark-mode .footer-col-title { color: #f1f5f9; }
body.dark-mode .footer-links a { color: #64748b; }
body.dark-mode .footer-links a:hover { color: #60a5fa; }
body.dark-mode .footer-bottom { border-color: rgba(255,255,255,0.06); color: #475569; }
body.dark-mode .footer-social a { background: rgba(255,255,255,0.06); color: #94a3b8; border-color: transparent; }
body.dark-mode .footer-social a:hover { background: #2563EB; color: #fff; }
body.dark-mode .news-ticker-wrap { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .ticker-tag { background: rgba(37,99,235,0.2); color: #60a5fa; }
body.dark-mode .search-form { background: #1e293b; border-color: rgba(255,255,255,0.08); }
body.dark-mode .search-form__input { color: #e2e8f0; }
body.dark-mode .search-form__icon { color: #64748b; }
body.dark-mode .search-form__hot-tag { background: rgba(255,255,255,0.06); color: #94a3b8; }
body.dark-mode .page-hero { background: linear-gradient(135deg,#0f172a,#1e293b); }
body.dark-mode .page-hero__title { color: #f1f5f9; }
body.dark-mode .page-hero__desc { color: #94a3b8; }
body.dark-mode .news-card { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .news-card__badge { background: rgba(37,99,235,0.15)!important; color: #60a5fa!important; }
body.dark-mode .news-card__date { color: #64748b; }
body.dark-mode .back-to-top { background: #1e293b; border-color: rgba(255,255,255,0.08); color: #94a3b8; }
body.dark-mode .back-to-top:hover { background: #2563EB; color: #fff; }
body.dark-mode .social-float-btn { background: #1e293b; border-color: rgba(255,255,255,0.08); color: #94a3b8; }
body.dark-mode .social-float-btn:hover { background: #2563EB; color: #fff; }
body.dark-mode .theme-toggle { background: #1e293b; border-color: rgba(255,255,255,0.08); color: #94a3b8; }
body.dark-mode .theme-toggle:hover { background: #2563EB; color: #fff; }
body.dark-mode .btn--ghost { color: #94a3b8; background: rgba(255,255,255,0.06); }
body.dark-mode .btn--outline { border-color: #60a5fa; color: #60a5fa; }
body.dark-mode .btn--outline:hover { background: #60a5fa; color: #0f172a; }
body.dark-mode .news-section { background: #0f172a!important; }
body.dark-mode .detail-body { color: #cbd5e1; }
body.dark-mode .detail-title { color: #f1f5f9; }
body.dark-mode .form-control { background: #1e293b; border-color: rgba(255,255,255,0.08); color: #e2e8f0; }
body.dark-mode .form-control:focus { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96,165,250,0.1); }

/* ── 暗色模式补充 —— 提高所有文本与背景反差 ── */
/* 页面容器/内容区 */
body.dark-mode .page-content { background: transparent; }
body.dark-mode .page-header { background: linear-gradient(135deg,#0f172a,#1e293b); }
body.dark-mode .page-header-title { color: #f1f5f9; }
body.dark-mode .page-header-desc { color: #94a3b8; }
body.dark-mode .page-header-simple { background: #1e293b; border-color: rgba(255,255,255,0.06); }

/* About 页 */
body.dark-mode .about-content { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .about-content h2 { color: #f1f5f9; }
body.dark-mode .about-content p,
body.dark-mode .about-content li { color: #cbd5e1; }
body.dark-mode .about-text { color: #cbd5e1; }
body.dark-mode .about-info { color: #94a3b8; }

/* 产品详情页 */
body.dark-mode .product-detail-info { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .product-detail-title { color: #f1f5f9; }
body.dark-mode .product-detail-meta { color: #94a3b8; }
body.dark-mode .product-detail-price { color: #fbbf24; }
body.dark-mode .product-price-box { background: #0f172a; border-color: rgba(255,255,255,0.06); color: #cbd5e1; }
body.dark-mode .product-detail-gallery .main-image { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .thumbnail-item { background: #1e293b; border-color: rgba(255,255,255,0.08); }
body.dark-mode .thumbnail-item.active,
body.dark-mode .thumbnail-item:hover { border-color: #60a5fa; }
body.dark-mode .product-detail .product-actions { border-color: rgba(255,255,255,0.06); }
body.dark-mode .product-detail-extra { color: #cbd5e1; }
body.dark-mode .product-detail-extra h3 { color: #f1f5f9; }
body.dark-mode .product-detail-specs dt { color: #94a3b8; }
body.dark-mode .product-detail-specs dd { color: #e2e8f0; }

/* 产品卡片体/脚（跑马灯内） */
body.dark-mode .product-card__body { color: #cbd5e1; }
body.dark-mode .product-card__footer { border-color: rgba(255,255,255,0.06); }

/* 文章/资讯列表 */
body.dark-mode .article-list-item { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .article-list-item h3 { color: #f1f5f9; }
body.dark-mode .article-list-item p { color: #cbd5e1; }
body.dark-mode .article-list-item .article-date { color: #94a3b8; }
body.dark-mode .article-list-item:hover { border-color: #60a5fa; }
body.dark-mode .article-list-body { background: transparent; }
body.dark-mode .article-meta { color: #94a3b8; }
body.dark-mode .article-body { color: #cbd5e1; }

/* 资讯详情 */
body.dark-mode .detail-body p { color: #cbd5e1; }
body.dark-mode .detail-body a { color: #60a5fa; }

/* 面包屑 */
body.dark-mode .breadcrumb a { color: #94a3b8; }
body.dark-mode .breadcrumb a:hover { color: #60a5fa; }
body.dark-mode .breadcrumb .current { color: #e2e8f0; }

/* 分页导航 */
body.dark-mode .pagination button,
body.dark-mode .pagination a {
  background: #1e293b;
  border-color: rgba(255,255,255,0.08);
  color: #cbd5e1;
}
body.dark-mode .pagination button:hover,
body.dark-mode .pagination a:hover {
  background: #334155;
  border-color: #60a5fa;
  color: #f1f5f9;
}
body.dark-mode .pagination .current {
  background: #2563EB;
  border-color: #2563EB;
  color: #fff;
}

/* 侧边栏 */
body.dark-mode .sidebar-widget { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .widget-title { color: #f1f5f9; border-color: rgba(255,255,255,0.08); }
body.dark-mode .widget-desc { color: #94a3b8; }
body.dark-mode .widget-list a { color: #94a3b8; }
body.dark-mode .widget-list a:hover { color: #60a5fa; background: rgba(96,165,250,0.08); }
body.dark-mode .sidebar-cta { background: #1e3a5f; border-color: rgba(96,165,250,0.15); }
body.dark-mode .sidebar-cta p { color: #94a3b8; }
body.dark-mode .sidebar-cta .btn--primary { background: #2563EB; }

/* 联系我们页 */
body.dark-mode .contact-form-wrapper { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .contact-form { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .contact-info-card { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .contact-info-card h3 { color: #f1f5f9; }
body.dark-mode .contact-info-card p { color: #cbd5e1; }
body.dark-mode .contact-info-item { background: #0f172a; border-color: rgba(255,255,255,0.06); }
body.dark-mode .contact-info-item h4 { color: #f1f5f9; }
body.dark-mode .contact-info-item p { color: #cbd5e1; }
body.dark-mode .contact-info-item .info-hint { color: #94a3b8; }
body.dark-mode .contact-info-item.highlight-item { border-color: rgba(96,165,250,0.15); }
body.dark-mode .contact-page-grid .contact-form .form-label { color: #cbd5e1; }
body.dark-mode .contact-form .required-star { color: #f87171; }
body.dark-mode .contact-form-header h3 { color: #f1f5f9; }
body.dark-mode .contact-form-header p { color: #94a3b8; }
body.dark-mode .map-container { border-color: rgba(255,255,255,0.06); }

/* 团队/荣誉/价值卡 */
body.dark-mode .team-card,
body.dark-mode .honor-card,
body.dark-mode .value-card,
body.dark-mode .review-card,
body.dark-mode .stats-card { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .team-card h3,
body.dark-mode .honor-card h3,
body.dark-mode .value-card h3 { color: #f1f5f9; }
body.dark-mode .team-card p,
body.dark-mode .honor-card p,
body.dark-mode .value-card p,
body.dark-mode .review-card p { color: #cbd5e1; }
body.dark-mode .review-card .review-author { color: #94a3b8; }
body.dark-mode .stats-card .stat-number { color: #fbbf24; }
body.dark-mode .stats-card .stat-label { color: #94a3b8; }

/* 技术支援页 */
body.dark-mode .tech-card { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .tech-card h3 { color: #f1f5f9; }
body.dark-mode .tech-card p { color: #cbd5e1; }
body.dark-mode .tech-card .tech-date { color: #94a3b8; }
body.dark-mode .tech-card:hover { border-color: #60a5fa; }
body.dark-mode .tech-detail-content { color: #cbd5e1; }
body.dark-mode .tech-detail-content h2,
body.dark-mode .tech-detail-content h3 { color: #f1f5f9; }

/* 产品分类导航 */
body.dark-mode .category-nav { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .category-nav a { color: #94a3b8; }
body.dark-mode .category-nav a:hover,
body.dark-mode .category-nav a.active { color: #60a5fa; background: rgba(96,165,250,0.08); }

/* 跑马灯/产品轮播 */
body.dark-mode .products-section { background: #0f172a; }
body.dark-mode .products-track > .product-card { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .products-track > .product-card:hover { border-color: #60a5fa; }
body.dark-mode .carousel-arrow { background: #1e293b; border-color: rgba(255,255,255,0.08); color: #94a3b8; }
body.dark-mode .carousel-arrow:hover { border-color: #60a5fa; color: #60a5fa; }
body.dark-mode .carousel-dot { background: #475569; }
body.dark-mode .carousel-dot.active { background: #60a5fa; }
body.dark-mode .cat-tab { background: #1e293b; border-color: rgba(255,255,255,0.08); color: #94a3b8; }
body.dark-mode .cat-tab:hover { border-color: #60a5fa; color: #60a5fa; }
body.dark-mode .cat-tab.active { background: #2563EB; border-color: #2563EB; color: #fff; }

/* 搜索页 */
body.dark-mode .search-result-item { background: #1e293b; border-color: rgba(255,255,255,0.06); }
body.dark-mode .search-result-item h3 { color: #f1f5f9; }
body.dark-mode .search-result-item p { color: #cbd5e1; }
body.dark-mode .search-result-item .search-match { color: #fbbf24; }
body.dark-mode .search-result-count { background: #1e293b; color: #94a3b8; }
body.dark-mode .search-empty h3 { color: #f1f5f9; }
body.dark-mode .search-empty p { color: #94a3b8; }
body.dark-mode .search-empty__tags a { color: #60a5fa; background: rgba(96,165,250,0.08); }

/* 通用文字 */
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 { color: #f1f5f9; }
body.dark-mode p { color: #cbd5e1; }
body.dark-mode a:not(.btn):not(.nav-link):not(.mobile-nav-link):not(.widget-list a):not(.footer-links a):not(.pagination a):not(.breadcrumb a):not(.cat-tab):not(.carousel-dot):not(.search-empty__tags a):not(.carousel-arrow) { color: #60a5fa; }
body.dark-mode a:not(.btn):not(.nav-link):not(.mobile-nav-link):not(.widget-list a):not(.footer-links a):not(.pagination a):not(.breadcrumb a):not(.cat-tab):not(.carousel-dot):not(.search-empty__tags a):not(.carousel-arrow):hover { color: #93c5fd; }

/* 手机菜单 */
body.dark-mode .mobile-nav-overlay { background: rgba(0,0,0,0.6); }
body.dark-mode .mobile-menu-toggle { color: #94a3b8; }
body.dark-mode .mobile-nav-close { color: #94a3b8; }

/* 其他区域 */
body.dark-mode .btn-nav-cta { background: #2563EB; box-shadow: none; }
body.dark-mode .features-bar { background: #0f172a; border-color: rgba(255,255,255,0.06); }
body.dark-mode .news-ticker-wrap { background: #1e293b; border-color: rgba(255,255,255,0.06); color: #cbd5e1; }
body.dark-mode .recently-viewed { background: transparent; }
body.dark-mode .recently-viewed h3 { color: #f1f5f9; }
body.dark-mode .recently-viewed a { color: #94a3b8; }

/* 页脚修正 — 提高对比度 */
body.dark-mode .footer-links a { color: #94a3b8; }
body.dark-mode .footer-bottom { color: #94a3b8; }
body.dark-mode .footer-desc { color: #94a3b8; }
body.dark-mode .footer-qr-text span { color: #64748b; }

/* ── About 页面 — 深色毛玻璃 + 白色文字 ── */
body.dark-mode .about-intro {
  background: rgba(15,23,42,0.92);
  -webkit-backdrop-filter: blur(14px) saturate(170%);
  backdrop-filter: blur(14px) saturate(170%);
}
/* 修复about-intro-content白底卡片 */
body.dark-mode .about-intro-content {
  background: rgba(15,23,42,0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .about-intro-image img {
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .about-image-badge {
  background: rgba(37,99,235,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
/* 修复style.css遗留问题: h2硬编码color:#fff (dark只读) */
.about-intro-content h2 { color: #0f172a !important; }
body.dark-mode .about-intro-content h2 { color: #fff !important; }
.about-intro-content p { color: #475569 !important; }
body.dark-mode .about-intro-content p { color: rgba(255,255,255,0.85) !important; }
body.dark-mode .about-intro-content .section-label { color: #60a5fa; }
body.dark-mode .about-stats { background: transparent; }
.about-stat-item { background: rgba(255,255,255,0.85) !important; }
body.dark-mode .about-stat-item {
  background: rgba(255,255,255,0.08) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,0.10) !important;
}
body.dark-mode .about-stat-item .stat-number { color: #60a5fa; }
body.dark-mode .about-stat-item .stat-label { color: rgba(255,255,255,0.7); }

body.dark-mode .values-section {
  background: rgba(15,23,42,0.40);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
}
body.dark-mode .values-section .section-header__title { color: #fff; }
body.dark-mode .values-section .section-header__desc { color: rgba(255,255,255,0.8); }
body.dark-mode .value-card {
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode .value-card h3 { color: #fff; }
body.dark-mode .value-card p { color: rgba(255,255,255,0.8); }

body.dark-mode .timeline-section {
  background: rgba(15,23,42,0.40);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
}
body.dark-mode .timeline-section .section-header__title { color: #fff; }
body.dark-mode .timeline-year { color: #60a5fa; }
body.dark-mode .timeline-title { color: #fff; }
body.dark-mode .timeline-desc { color: rgba(255,255,255,0.8); }
body.dark-mode .timeline-content {
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,0.08);
}

body.dark-mode .team-section {
  background: rgba(15,23,42,0.40);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
}
body.dark-mode .team-section .section-header__title { color: #fff; }
body.dark-mode .team-card {
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode .team-card-title { color: #fff; }
body.dark-mode .team-card-info { color: rgba(255,255,255,0.7); }

body.dark-mode .honor-card {
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode .honor-card h4 { color: #fff; }

/* 首页各模块 — 深色毛玻璃 + 白色文字 */
body.dark-mode .search-bar-section {
  background: rgba(15,23,42,0.55) !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .search-bar-section .section-header__title,
body.dark-mode .search-bar-section .section-header__desc,
body.dark-mode .search-bar-section h2,
body.dark-mode .search-bar-section .view-all { color: #fff; }

body.dark-mode .news-section {
  background: rgba(15,23,42,0.55) !important;
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
}
body.dark-mode .news-section .section-header__title,
body.dark-mode .news-section .view-all { color: #fff; }
body.dark-mode .news-section .news-card__title { color: #f1f5f9; }
body.dark-mode .news-section .news-card__desc { color: #cbd5e1; }

body.dark-mode .products-section {
  background: rgba(15,23,42,0.55) !important;
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
}
body.dark-mode .products-section .section-header__title,
body.dark-mode .products-section .view-all { color: #fff; }

body.dark-mode .features-bar {
  background: rgba(15,23,42,0.40);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .features-bar .feature-item__title { color: #fff; }
body.dark-mode .features-bar .feature-item__desc { color: #cbd5e1; }

body.dark-mode .advantages-section {
  background: rgba(15,23,42,0.35);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
}
body.dark-mode .advantages-section .section-header__title { color: #fff; }
body.dark-mode .advantages-section .section-header__desc { color: #cbd5e1; }

body.dark-mode .strength-section {
  background: rgba(15,23,42,0.40);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
}
body.dark-mode .strength-section .section-header__title { color: #fff; }
body.dark-mode .strength-section .strength-number { color: #60a5fa; }
body.dark-mode .strength-section .strength-label { color: #cbd5e1; }

body.dark-mode .cta-section {
  background: rgba(15,23,42,0.55);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  backdrop-filter: blur(14px) saturate(180%);
}
body.dark-mode .cta-section .cta-title { color: #fff; }
body.dark-mode .cta-section .cta-desc { color: #cbd5e1; }
body.dark-mode .news-ticker-item { color: #cbd5e1; }

/* 跑马灯产品卡片内元素 */
body.dark-mode .product-card__body { color: #cbd5e1; }
body.dark-mode .product-card__quickview { color: #94a3b8; background: rgba(255,255,255,0.06); }

/* 联系我们页面 — 深色毛玻璃 + 白色文字 */
body.dark-mode .contact-qr-section { background: transparent; }
body.dark-mode .contact-qr-section h4 { color: #fff; }
body.dark-mode .contact-qr-section p { color: rgba(255,255,255,0.7); }
body.dark-mode .qr-placeholder {
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode .map-section { background: transparent; }
body.dark-mode .map-placeholder {
  background: rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode .map-hint { color: rgba(255,255,255,0.7); }
body.dark-mode .map-icon { color: rgba(255,255,255,0.5); }
body.dark-mode .map-overlay-content { background: rgba(15,23,42,0.75); color: rgba(255,255,255,0.9); }
body.dark-mode .map-bg-grid { opacity: 0.15; }
body.dark-mode .email-link { color: #60a5fa; }
body.dark-mode .phone-link { color: #fff; }
body.dark-mode .form-intro { color: rgba(255,255,255,0.7); }
body.dark-mode .form-group .required-star { color: #f87171; }
body.dark-mode .qr-hint { color: rgba(255,255,255,0.5); }

/* section通配 */
body.dark-mode .section-label { color: #60a5fa; }
body.dark-mode .section-title { color: #f1f5f9; }
body.dark-mode .section-desc { color: #94a3b8; }

/* 表格 */
body.dark-mode table { color: #cbd5e1; }
body.dark-mode th { background: #1e293b; color: #f1f5f9; border-color: rgba(255,255,255,0.08); }
body.dark-mode td { border-color: rgba(255,255,255,0.06); }

/* ── 产品详情页剩余白色区域 ── */
body.dark-mode .product-detail-tabs,
body.dark-mode .tab-panel,
body.dark-mode .product-description,
body.dark-mode .product-specs {
  background: rgba(255,255,255,0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9);
}
body.dark-mode .tab-panel { display: none; }
body.dark-mode .tab-panel.active { display: block; }
body.dark-mode .tab-btn {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
}
body.dark-mode .tab-btn.active,
body.dark-mode .tab-btn:hover {
  background: rgba(37,99,235,0.2);
  border-color: #2563EB;
  color: #60a5fa;
}

/* ── 相关产品卡片 ── */
body.dark-mode .related-card {
  background: rgba(255,255,255,0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode .related-card h3,
body.dark-mode .related-card .related-title { color: #fff; }
body.dark-mode .related-card p { color: rgba(255,255,255,0.7); }
body.dark-mode .related-card .related-price { color: #fbbf24; }

/* ── 文章/资讯内容区 ── */
body.dark-mode .article-content {
  background: rgba(255,255,255,0.04);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.9);
}
body.dark-mode .article-content h1,
body.dark-mode .article-content h2,
body.dark-mode .article-content h3 { color: #fff; }

/* ── 规格表格 ── */
body.dark-mode .specs-table,
body.dark-mode .product-specs-table { color: rgba(255,255,255,0.9); }
body.dark-mode .specs-table th,
body.dark-mode .product-specs-table th { background: rgba(255,255,255,0.06); color: #fff; }
body.dark-mode .specs-table td,
body.dark-mode .product-specs-table td { background: rgba(255,255,255,0.02); border-color: rgba(255,255,255,0.06); }

/* ── 详情页内容框全面暗化 ── */

/* 文章详情页主内容框 */
body.dark-mode .article-detail {
  background: rgba(15,23,42,0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .article-detail-title { color: #f1f5f9; }
body.dark-mode .article-detail-meta { color: #94a3b8; }
body.dark-mode .article-detail-header { border-color: rgba(255,255,255,0.06); }
body.dark-mode .article-footer { border-color: rgba(255,255,255,0.06); }

/* 文章标签 */
body.dark-mode .article-tags .tag {
  background: rgba(255,255,255,0.08);
  color: #94a3b8;
}

/* 文章上下篇导航 */
body.dark-mode .article-nav-link {
  background: rgba(15,23,42,0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,0.08);
}
body.dark-mode .nav-direction { color: #64748b; }
body.dark-mode .nav-title { color: #e2e8f0; }
body.dark-mode .article-nav-link:hover {
  border-color: #60a5fa;
  box-shadow: 0 2px 12px rgba(96,165,250,0.15);
}

/* 相关资讯/产品区域背景 */
body.dark-mode .related-section { background: transparent; }
body.dark-mode .related-section .related-title { color: #f1f5f9; }
body.dark-mode .related-card {
  background: rgba(15,23,42,0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-color: rgba(255,255,255,0.08);
}

/* 文章/资讯内容区（详情页内） */
body.dark-mode .article-detail-content.rich-content {
  color: rgba(255,255,255,0.9);
}
body.dark-mode .article-detail-content.rich-content p { color: #cbd5e1; }

/* 产品分享栏边框 */
body.dark-mode .product-detail .article-share-bar {
  border-color: rgba(255,255,255,0.06) !important;
}

/* 产品详情摘要 */
body.dark-mode .product-detail-summary { color: #cbd5e1; }
body.dark-mode .product-detail-summary h3 { color: #f1f5f9; }

/* 产品分类标签 */
body.dark-mode .product-badge-category {
  background: rgba(37,99,235,0.2);
  color: #60a5fa;
}

/* 产品放大镜按钮 */
body.dark-mode .gallery-zoom-btn {
  background: rgba(30,41,59,0.9);
  border-color: rgba(255,255,255,0.08);
  color: #94a3b8;
}
body.dark-mode .gallery-zoom-btn:hover {
  background: #2563EB;
  color: #fff;
  border-color: #2563EB;
}

/* Tab面板标题 */
body.dark-mode .tab-panel-title { color: #f1f5f9; }

/* 丰富内容CTA框 */
body.dark-mode .rich-content-cta {
  background: rgba(255,255,255,0.04);
  border-radius: 12px;
}
body.dark-mode .rich-content-cta p { color: #94a3b8; }

/* 图片放大模态框 */
body.dark-mode #imageZoomModal .modal-content {
  background: #1e293b;
}
body.dark-mode #imageZoomModal .modal-close { color: #94a3b8; }

/* 分享弹窗（JS动态创建） */
body.dark-mode #khtShareModal > div {
  background: #1e293b !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5) !important;
}
body.dark-mode #khtShareModal span[style*="color:#1e293b"],
body.dark-mode #khtShareModal div[style*="color:#1e293b"] { color: #f1f5f9 !important; }
body.dark-mode #khtShareModal div[style*="color:#475569"] { color: #94a3b8 !important; }
body.dark-mode #khtShareModal div[style*="background:#f8fafc"] { background: rgba(255,255,255,0.04) !important; }

/* 产品详情页整体内容框 */
body.dark-mode .product-detail-layout { color: rgba(255,255,255,0.9); }

/* ── animations.css 剩余白色区域 ── */
body.dark-mode .page-loader { background: #0f172a !important; }
body.dark-mode .toast-container .toast { background: #1e293b !important; color: #e2e8f0; }
body.dark-mode .back-to-top { background: #1e293b; border-color: rgba(255,255,255,0.08); color: #94a3b8; }
body.dark-mode .back-to-top:hover { background: #2563EB; color: #fff; }
body.dark-mode .social-float-btn { background: #1e293b; border-color: rgba(255,255,255,0.08); color: #94a3b8; }

/* ── 搜索页 ── */
body.dark-mode .search-form { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.08); }

/* ── 404页 ── */
body.dark-mode .error-page,
body.dark-mode .not-found-page { color: rgba(255,255,255,0.9); }
body.dark-mode .error-page h1,
body.dark-mode .not-found-page h1 { color: #fff; }

/* ── 60. 按钮涟漪效果 ── */
.ripple-btn { position: relative; overflow: hidden; }
.ripple-btn .ripple-effect {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: scale(0); animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ── 61. 滚动进度条修复 ── */
#scrollProgressBar {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #06b6d4);
  z-index: 99999; width: 0;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px rgba(37,99,235,0.5);
}

/* ── 62. 页面入场过渡 ── */
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
main#main-content {
  animation: pageEnter 0.4s ease-out;
}

/* ── 63. 3D 浮动徽标 ── */
.logo-float-3d {
  perspective: 800px;
}
.logo-float-3d img {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.logo-float-3d:hover img {
  transform: rotateY(-8deg) rotateX(5deg) scale(1.05);
}

/* ── 65. 滚动导航高亮 (ScrollSpy) ── */
.nav-spy-active {
    color: #7c3aed !important;
    position: relative;
}
.nav-spy-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #7c3aed, transparent);
    border-radius: 2px;
}

/* ── 65. 磁吸按钮效果 (magnetic-btn) ── */
.btn-magnetic,
.magnetic-btn,
.hero-btn,
.cta-button,
.btn-primary,
.btn-secondary,
.btn-outline {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s ease;
    will-change: transform;
    position: relative;
    z-index: 1;
}
.btn-magnetic:hover,
.magnetic-btn:hover {
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.25);
}

/* ── 66. 应用 shimmer-sweep 到按钮的变体 ── */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}
.btn-shimmer::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    animation: shimmerBtn 3s ease-in-out infinite;
    transform: skewX(-20deg);
    pointer-events: none;
}
@keyframes shimmerBtn {
    0%   { left: -100%; }
    100% { left: 150%; }
}

/* ── 67. 减少动效 (prefers-reduced-motion) ── */
@media (prefers-reduced-motion: reduce) {
  .scan-line-glow::after,
  .skeleton-pulse,
  .glow-border-float::before {
    animation: none !important;
  }
  .glow-border-float::before { opacity: 0 !important; }
  .btn-bounce-hover { transform: none !important; }
  .skeleton-pulse { background: #e2e8f0 !important; }
}
/* ── 68. 语言切换按钮 ── */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.lang-toggle:hover {
  border-color: #2563EB;
  background: #eff6ff;
}
.lang-toggle .lang-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #2563EB;
  letter-spacing: 0.5px;
}
body.dark-mode .lang-toggle {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
}
body.dark-mode .lang-toggle:hover {
  background: rgba(37,99,235,0.2);
  border-color: #2563EB;
}
body.dark-mode .lang-toggle .lang-label {
  color: #60a5fa;
}

/* 手机端语言切换 */
.mobile-lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background: none;
  border: none;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 8px;
}
.mobile-lang-toggle:hover {
  background: rgba(37,99,235,0.06);
  color: #2563EB;
}
body.dark-mode .mobile-lang-toggle {
  color: #94a3b8;
}
body.dark-mode .mobile-lang-toggle:hover {
  background: rgba(37,99,235,0.15);
  color: #60a5fa;
}

/* ── 产品详情毛玻璃按钮 ── */
.product-actions-glass {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}
.glass-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.glass-btn-left {
    background: rgba(37, 99, 235, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 99, 235, 0.20);
    color: #2563EB;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}
.glass-btn-left:hover {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
}
.glass-btn-left:active {
    transform: translateY(0);
}
.glass-btn-right {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(124, 58, 237, 0.12));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: #1e40af;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.10);
}
.glass-btn-right:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(124, 58, 237, 0.20));
    border-color: rgba(37, 99, 235, 0.40);
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.20);
    transform: translateY(-2px);
}
.glass-btn-right:active {
    transform: translateY(0);
}
.glass-btn svg {
    flex-shrink: 0;
}
body.dark-mode .glass-btn-left {
    background: rgba(96, 165, 250, 0.10);
    border-color: rgba(96, 165, 250, 0.18);
    color: #93c5fd;
}
body.dark-mode .glass-btn-left:hover {
    background: rgba(96, 165, 250, 0.20);
    border-color: rgba(96, 165, 250, 0.30);
}
body.dark-mode .glass-btn-right {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.12), rgba(167, 139, 250, 0.10));
    border-color: rgba(96, 165, 250, 0.20);
    color: #bfdbfe;
}
body.dark-mode .glass-btn-right:hover {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.22), rgba(167, 139, 250, 0.18));
    border-color: rgba(96, 165, 250, 0.35);
}
@media (max-width: 480px) {
    .product-actions-glass {
        flex-direction: row;
        gap: 10px;
    }
    .glass-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media print {
    .site-header, .site-footer, .float-consult, .scroll-top-btn,
    .ai-assistant-btn, .ai-chat-panel, .mouse-glow, .hero-particles,
    .news-ticker-wrap, .mobile-nav { display: none !important; }
    body { background: #fff !important; color: #000 !important; }
    a { color: #000 !important; text-decoration: underline !important; }
}