/* =====================================================================
 * 鼠标特效 + 轻量 UI 打磨（2026-10）
 * 视觉方向：Organic / 暖光余烬 —— 与正麦朱红品牌一致，不抢内容可读性。
 * ===================================================================== */

#zmCursorFx {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 60;
    opacity: 0.85;
    mix-blend-mode: normal;
}

/* 与可交互控件的呼应：悬停时控件轻微发光（由 JS 添加/移除） */
.fx-hover {
    box-shadow: 0 0 0 1px rgba(212, 56, 13, 0.18), 0 10px 30px -12px rgba(212, 56, 13, 0.45) !important;
    transition: box-shadow 220ms cubic-bezier(0.22, 0.61, 0.36, 1) !important;
}

/* ---------- 轻量 UI 打磨（不改结构，只增强状态与节奏） ---------- */
:root {
    --fx-brand: #D4380D;
    --fx-amber: #F59E0B;
    --fx-ember: #FB923C;
}

.btn, .btn-primary, button[type="submit"], .nav-cta {
    transition: transform 160ms cubic-bezier(0.22, 0.61, 0.36, 1),
                box-shadow 200ms cubic-bezier(0.22, 0.61, 0.36, 1),
                background-color 160ms ease, color 160ms ease;
}
.btn:hover, button[type="submit"]:hover, .nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px -14px rgba(212, 56, 13, 0.55);
}
.btn:active, button[type="submit"]:active, .nav-cta:active {
    transform: translateY(0) scale(0.995);
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid rgba(212, 56, 13, 0.55);
    outline-offset: 2px;
    border-radius: 4px;
}
.product-card, .news-card, .feature-card, .about-carousel-slide, .msg-item {
    transition: transform 220ms cubic-bezier(0.22, 0.61, 0.36, 1),
                box-shadow 220ms cubic-bezier(0.22, 0.61, 0.36, 1);
}
.product-card:hover, .news-card:hover, .feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -22px rgba(28, 25, 23, 0.35);
}
img { image-rendering: auto; }

@media (prefers-reduced-motion: reduce) {
    .fx-hover, .btn, .product-card, .news-card, .feature-card { transition: none !important; }
}
