/*
 * xr0069 — 深圳市豪瑞斯精密五金机械有限公司（hruis）
 * 样式来源：src/index.css（静态化副本）
 * 修改说明：
 *   1) 原第 1 行 Google Fonts @import 改为在 HTML <head> 中以 <link> 引入；
 *   2) body 字体补充 PingFang SC / Microsoft YaHei 回退；
 *   3) 文末追加「图标尺寸」与「内联样式类化」两节，
 *      用于替代源码 JSX 中的内联 style 与 lucide 图标 size 属性。
 * 动画约定：沿用源码 .reveal / .reveal.active 机制（JS 由 IntersectionObserver 触发）。
 */

:root {
  --primary: #1b5ff4;
  --primary-hover: #104bd2;
  --text-main: #222222;
  --text-muted: #666666;
  --text-light: #999999;
  --bg-light: #f4f6fb;
  --bg-dark: #0b1121;
  --border: #eaedf4;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,0.05);
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif; color: var(--text-main); line-height: 1.6; background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button, input { outline: none; border: none; font-family: inherit; }
button { cursor: pointer; background: none; transition: var(--transition); }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-bg { background-color: var(--bg-light); }

.sec-title { font-size: 32px; font-weight: 700; color: var(--text-main); margin-bottom: 8px; position: relative; }
.sec-subtitle { font-size: 15px; color: var(--text-muted); margin-bottom: 40px; display: flex; justify-content: space-between; align-items: center; }
.sec-subtitle .more { color: var(--primary); display: flex; align-items: center; gap: 4px; font-weight: 500; font-size: 14px; }
.sec-subtitle .more:hover { color: var(--primary-hover); transform: translateX(5px); }

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* Header */
.header { position: fixed; top: 0; left: 0; width: 100%; background: var(--white); box-shadow: 0 2px 15px rgba(0,0,0,0.05); z-index: 1000; height: 80px; display: flex; align-items: center; }
.header .container { display: flex; justify-content: space-between; align-items: center; height: 100%; }
.logo { font-size: 28px; font-weight: 900; color: #e60012; font-style: italic; display: flex; align-items: center; }
.logo span { font-size: 14px; font-style: normal; margin-left: 2px; position: relative; top: -10px; }

.nav-wrap { display: flex; align-items: center; height: 100%; }
.nav-list { display: flex; height: 100%; }
.nav-item { margin: 0 18px; position: relative; display: flex; align-items: center; height: 100%; }
.nav-link { font-size: 15px; font-weight: 700; color: var(--text-main); display: flex; align-items: center; height: 100%; position: relative; }
.nav-link:hover, .nav-item.active .nav-link { color: var(--primary); }
.nav-link::after { content: ''; position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: var(--primary); transition: var(--transition); border-radius: 2px; }
.nav-link:hover::after, .nav-item.active .nav-link::after { width: 100%; }

.dropdown-menu { position: absolute; top: calc(100% - 15px); left: 50%; transform: translateX(-50%) translateY(10px); background: var(--white); box-shadow: var(--shadow); border-radius: 8px; min-width: 120px; opacity: 0; visibility: hidden; transition: var(--transition); padding: 10px 0; z-index: 10; }
.nav-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown-item { padding: 10px 20px; display: block; font-size: 14px; color: var(--text-main); text-align: center; }
.dropdown-item:hover { background: var(--bg-light); color: var(--primary); }

.lang-item { position: relative; display: flex; align-items: center; height: 100%; margin-right: 15px; }
.lang-item .dropdown-menu { left: auto; right: -10px; transform: translateX(0) translateY(10px); }
.lang-item:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(0) translateY(0); }

.header-right { display: flex; align-items: center; gap: 20px; }
.action-icon { font-size: 20px; color: var(--text-main); cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: var(--transition); }
.action-icon:hover { background: var(--bg-light); color: var(--primary); }
.contact-phone { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 16px; }
.contact-phone svg { color: var(--primary); }
.btn-primary { background: var(--primary); color: var(--white); padding: 10px 24px; border-radius: 4px; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(27,95,244,0.3); }
.btn-outline { background: var(--white); color: var(--text-main); border: 1px solid var(--border); padding: 10px 24px; border-radius: 4px; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }
.btn-outline:hover { background: var(--bg-light); }
.mobile-toggle { display: none; font-size: 24px; cursor: pointer; }

/* Search Modal */
.search-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(5px); }
.search-modal.active { opacity: 1; visibility: visible; }
.search-box { width: 100%; max-width: 600px; position: relative; transform: translateY(-20px); transition: var(--transition); padding: 0 20px; }
.search-modal.active .search-box { transform: translateY(0); }
.search-input { width: 100%; padding: 20px 60px 20px 20px; font-size: 18px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.search-btn { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--primary); background: none; }
.close-search { position: absolute; top: 30px; right: 30px; color: var(--white); cursor: pointer; transition: var(--transition); z-index: 10; }
.close-search:hover { transform: rotate(90deg); }

/* Hero */
.hero { position: relative; padding-top: 160px; padding-bottom: 100px; min-height: 700px; display: flex; align-items: center; overflow: hidden; }
/* 2026-09-16 一图一文改造：slide 变 wrapper（内含背景 + 文字层），图与文字一起切换 */
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease-in-out; display: flex; align-items: center; pointer-events: none; padding-top: 160px; padding-bottom: 100px; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.hero-slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0) 100%); z-index: 1; }
.hero-slide .container { position: relative; z-index: 2; }
.hero-dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(0,0,0,0.2); cursor: pointer; transition: var(--transition); }
.hero-dot.active { background: var(--primary); width: 30px; border-radius: 6px; }
.hero-content { max-width: 650px; }
.hero-title { font-size: 52px; font-weight: 900; color: #111; margin-bottom: 20px; line-height: 1.2; letter-spacing: 2px; }
.hero-subtitle { font-size: 20px; color: #444; margin-bottom: 50px; }
.hero-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 50px; }
.hero-feature { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.hf-icon { width: 60px; height: 60px; border-radius: 50%; background: var(--white); color: var(--primary); display: flex; align-items: center; justify-content: center; box-shadow: 0 5px 15px rgba(0,0,0,0.08); transition: var(--transition); }
.hero-feature:hover .hf-icon { background: var(--primary); color: var(--white); transform: translateY(-5px); }
.hf-text { font-size: 15px; font-weight: 700; color: #333; }
.hero-btns { display: flex; gap: 20px; }

/* Products */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: var(--transition); padding: 30px 20px; text-align: center; position: relative; }
.product-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: transparent; }
.product-img { width: 100%; height: 180px; object-fit: contain; margin-bottom: 25px; transition: transform 0.5s; }
.product-card:hover .product-img { transform: scale(1.1); }
.product-title { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.product-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.product-btn { position: absolute; bottom: 20px; right: 20px; width: 36px; height: 36px; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; border-radius: 4px; transition: var(--transition); opacity: 0; transform: translateY(10px); }
.product-card:hover .product-btn { opacity: 1; transform: translateY(0); }

/* Stats */
.stats-section { background: var(--primary); color: var(--white); padding: 60px 0; position: relative; overflow: hidden; }
.stats-section::before { content: ''; position: absolute; inset: 0; background: url('../images/cubes.png'); opacity: 0.2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 1; }
.stat-item { text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px; background: rgba(255,255,255,0.2); }
.stat-icon { font-size: 40px; margin-bottom: 15px; }
.stat-num { font-size: 40px; font-weight: 900; line-height: 1; margin-bottom: 5px; }
.stat-text { font-size: 15px; opacity: 0.9; }

/* Why Us */
.why-wrap { display: flex; gap: 60px; align-items: center; }
.why-left { flex: 1; position: relative; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.why-video-img { width: 100%; display: block; transition: transform 0.8s ease; }
.why-left:hover .why-video-img { transform: scale(1.05); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; background: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 24px; transition: var(--transition); box-shadow: 0 0 0 10px rgba(27,95,244,0.3); z-index: 2; }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 15px rgba(27,95,244,0.2); }
.why-right { flex: 1; }
.why-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 40px; line-height: 1.8; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-bottom: 30px; }
.why-item { display: flex; gap: 15px; }
.why-icon { width: 50px; height: 50px; flex-shrink: 0; background: var(--bg-light); color: var(--primary); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 24px; transition: var(--transition); }
.why-item:hover .why-icon { background: var(--primary); color: var(--white); transform: rotateY(180deg); }
.why-info { display: flex; flex-direction: column; gap: 5px; }
.why-title { font-weight: 700; font-size: 16px; color: var(--text-main); }
.why-text { font-size: 13px; color: var(--text-muted); }

/* Solutions */
.solutions-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.solution-card { border-radius: 8px; overflow: hidden; position: relative; height: 280px; cursor: pointer; }
.solution-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.solution-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 25px 20px; transition: var(--transition); }
.solution-card:hover .solution-img { transform: scale(1.1); }
.solution-card:hover .solution-overlay { background: rgba(0,0,0,0.6); }
.solution-title { color: var(--white); font-size: 18px; font-weight: 700; margin-bottom: 5px; transform: translateY(10px); transition: var(--transition); }
.solution-desc { color: rgba(255,255,255,0.8); font-size: 13px; opacity: 0; transform: translateY(10px); transition: var(--transition); }
.solution-card:hover .solution-title { transform: translateY(0); color: var(--primary); }
.solution-card:hover .solution-desc { opacity: 1; transform: translateY(0); }

/* News & FAQ */
.nf-wrap { display: flex; gap: 60px; }
.news-col { flex: 1; }
.faq-col { flex: 1; }
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-item { display: flex; gap: 20px; padding: 20px; border-radius: 8px; border: 1px solid var(--border); transition: var(--transition); background: var(--white); align-items: center; cursor: pointer; }
.news-item:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-5px); }
.news-date { background: var(--primary); color: var(--white); width: 70px; height: 70px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.news-day { font-size: 24px; font-weight: 700; line-height: 1; margin-bottom: 4px; }
.news-ym { font-size: 12px; opacity: 0.9; }
.news-content { flex: 1; }
.news-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; transition: var(--transition); }
.news-item:hover .news-title { color: var(--primary); }
.news-desc { font-size: 13px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }

.faq-list { display: flex; flex-direction: column; gap: 15px; }
.faq-item { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: var(--transition); background: var(--white); }
.faq-header { padding: 18px 25px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; font-size: 15px; transition: var(--transition); }
.faq-header:hover { color: var(--primary); }
.faq-icon { color: var(--primary); font-size: 20px; font-weight: 300; transition: transform 0.3s ease; }
.faq-item.active { border-color: var(--primary); box-shadow: 0 5px 15px rgba(27,95,244,0.1); }
.faq-item.active .faq-header { color: var(--primary); }
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; background: #fafafa; }
.faq-content { padding: 15px 25px 25px; font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* Partners */
.partners-wrap { display: flex; align-items: center; gap: 40px; }
.partners-title-col { flex-shrink: 0; padding-right: 40px; border-right: 1px solid var(--border); }
.partners-title { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 5px; }
.partners-subtitle { font-size: 13px; color: var(--text-muted); }
.partners-grid { flex: 1; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; }
.partner-logo { transition: var(--transition); cursor: pointer; opacity: 0.7; display: flex; align-items: center; }
.partner-logo img { filter: grayscale(100%); transition: var(--transition); }
.partner-logo:hover { opacity: 1; transform: scale(1.05); }
.partner-logo:hover img { filter: grayscale(0%); }

/* CTA */
.cta-section { background: url('../images/cta.jpg') center/cover no-repeat; position: relative; padding: 80px 0; color: var(--white); }
.cta-section::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,17,33,0.95) 0%, rgba(11,17,33,0.8) 100%); }
.cta-wrap { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; }
.cta-title { font-size: 36px; font-weight: 700; margin-bottom: 15px; }
.cta-desc { font-size: 16px; opacity: 0.9; }

/* Footer */
.footer { background: var(--bg-dark); color: #8892b0; padding-top: 80px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { font-size: 32px; font-weight: 900; color: #e60012; font-style: italic; margin-bottom: 25px; display: inline-block; }
.footer-logo span { font-size: 12px; color: #fff; font-style: normal; margin-left: 2px; position: relative; top: -10px; }
.footer-desc { font-size: 14px; line-height: 1.8; margin-bottom: 25px; max-width: 300px; }
.footer-socials { display: flex; gap: 15px; }
.social-icon { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: #fff; transition: var(--transition); cursor: pointer; }
.social-icon:hover { background: var(--primary); transform: translateY(-3px); }

.footer-col-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 25px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 14px; transition: var(--transition); }
.footer-links a:hover { color: var(--primary); transform: translateX(5px); }

.footer-contact li { display: flex; gap: 12px; margin-bottom: 15px; font-size: 14px; align-items: flex-start; }
.footer-contact svg { color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.qr-code { margin-top: 25px; width: 110px; height: 110px; background: #fff; padding: 5px; border-radius: 4px; }

.friendly-links { border-top: 1px solid rgba(255,255,255,0.05); padding: 25px 0 0; display: flex; flex-wrap: wrap; gap: 15px; font-size: 13px; align-items: center; margin-bottom: 25px; }
.fl-label { color: #fff; font-weight: 500; margin-right: 5px; }
.friendly-links a { color: #8892b0; transition: var(--transition); }
.friendly-links a:hover { color: #fff; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 25px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { transition: var(--transition); }
.footer-bottom-links a:hover { color: #fff; }

/* Mobile Menu Base (Hidden on Desktop) */
.mobile-menu-overlay, .mobile-menu { display: none; }

/* Inner Pages */
.inner-page { min-height: 80vh; }
.page-banner { padding: 180px 0 100px; background: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat; color: var(--white); text-align: center; position: relative; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: rgba(0,25,80,0.8); }
.page-banner .container { position: relative; z-index: 2; }
.page-banner-title { font-size: 42px; font-weight: 700; margin-bottom: 20px; letter-spacing: 2px; }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 15px; opacity: 0.8; font-weight: 300; }
.breadcrumb a { color: var(--white); transition: var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.contact-page-wrap { padding: 40px 0; }
.contact-page-wrap h4 { margin-bottom: 5px; }

/* Categories & Pagination */
.category-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 15px; margin-bottom: 50px; }
.cat-tab { padding: 10px 25px; border-radius: 30px; border: 1px solid var(--border); background: var(--white); color: var(--text-muted); font-size: 15px; cursor: pointer; transition: var(--transition); }
.cat-tab:hover, .cat-tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); box-shadow: 0 5px 15px rgba(27,95,244,0.2); }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 60px; }
.page-item { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); background: var(--white); border-radius: 4px; cursor: pointer; transition: var(--transition); color: var(--text-main); }
.page-item:hover, .page-item.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Details */
.detail-wrap { padding: 60px 0; max-width: 900px; margin: 0 auto; }
.detail-header { text-align: center; margin-bottom: 40px; border-bottom: 1px solid var(--border); padding-bottom: 30px; }
.detail-title { font-size: 32px; font-weight: 700; margin-bottom: 15px; color: var(--text-main); }
.detail-meta { font-size: 14px; color: var(--text-muted); display: flex; justify-content: center; gap: 20px; }
.rich-text { font-size: 16px; line-height: 1.8; color: var(--text-main); }
.rich-text img { max-width: 100%; border-radius: 8px; margin: 30px 0; }
.rich-text p { margin-bottom: 20px; }
.rich-text h3 { margin: 30px 0 15px; font-size: 22px; color: var(--text-dark); }
.product-detail-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.product-detail-img { width: 100%; border-radius: 8px; border: 1px solid var(--border); padding: 20px; }
.pd-title { font-size: 32px; font-weight: 700; margin-bottom: 20px; }
.pd-desc { font-size: 16px; color: var(--text-muted); margin-bottom: 30px; line-height: 1.8; }
.pd-specs { list-style: none; margin-bottom: 30px; }
.pd-specs li { padding: 12px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.pd-specs span.lbl { color: var(--text-muted); }
.pd-specs span.val { font-weight: 500; }

/* Applications Feature Layout */
.app-feature-row { display: flex; align-items: center; gap: 60px; margin-bottom: 80px; }
.app-feature-row:nth-child(even) { flex-direction: row-reverse; }
.app-feature-img { flex: 1; width: 100%; min-width: 300px; }
.app-feature-img img { width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.08); display: block; }
.app-feature-content { flex: 1; min-width: 300px; }
.app-feature-title { font-size: 32px; font-weight: 700; margin-bottom: 20px; color: var(--text-main); }
.app-feature-desc { font-size: 16px; color: var(--text-muted); line-height: 1.8; margin-bottom: 30px; }
.app-feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.app-feature-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--text-dark); }

/* Responsive */
@media (max-width: 1200px) {
  .hero-features { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
}

@media (max-width: 991px) {
  .nav-wrap, .header-right .btn-primary, .header-right .contact-phone { display: none; }
  .mobile-toggle { display: block; color: var(--text-main); }
  .why-wrap { flex-direction: column; }
  .nf-wrap { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .stat-item:not(:last-child)::after { display: none; }
  .cta-wrap { flex-direction: column; text-align: center; gap: 30px; }
  .contact-page-wrap { grid-template-columns: 1fr !important; }
  .product-detail-hero { grid-template-columns: 1fr; gap: 30px; }
  .app-feature-row, .app-feature-row:nth-child(even) { flex-direction: column; gap: 30px; margin-bottom: 60px; }
  .app-feature-list { grid-template-columns: 1fr; }
  .partners-wrap { flex-direction: column; align-items: flex-start; gap: 20px; }
  .partners-title-col { border-right: none; padding-right: 0; padding-bottom: 20px; border-bottom: 1px solid var(--border); width: 100%; }
  
  .mobile-menu-overlay { display: block; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 1001; opacity: 0; visibility: hidden; transition: var(--transition); }
  .mobile-menu-overlay.active { opacity: 1; visibility: visible; }
  .mobile-menu { display: flex; position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: var(--white); z-index: 1002; transition: all 0.4s ease; flex-direction: column; overflow-y: auto; box-shadow: -5px 0 30px rgba(0,0,0,0.1); }
  .mobile-menu.active { right: 0; }
  .mobile-menu-header { padding: 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
  .mobile-menu-close { font-size: 24px; cursor: pointer; color: var(--text-muted); transition: var(--transition); }
  .mobile-menu-close:hover { color: var(--primary); transform: rotate(90deg); }
  .mobile-nav { padding: 20px 0; }
  .mobile-nav-item { border-bottom: 1px solid var(--border); }
  .mobile-nav-link { padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 700; color: var(--text-main); cursor: pointer; }
  .mobile-nav-item.active .mobile-nav-link { color: var(--primary); }
  .mobile-nav-sub { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; background: var(--bg-light); }
  .mobile-nav-item.active .mobile-nav-sub { max-height: 250px; }
  .mobile-nav-sub a { display: block; padding: 12px 40px; font-size: 14px; color: var(--text-muted); border-bottom: 1px solid #eaeaea; }
  .mobile-nav-sub a:last-child { border-bottom: none; }
  .mobile-contact { padding: 20px; border-top: 1px solid var(--border); margin-top: auto; }
  .mobile-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; font-weight: 700; font-size: 15px; }
  .mobile-contact-item svg { color: var(--primary); }
  .mobile-contact .btn-primary { width: 100%; display: flex; }
}

@media (max-width: 767px) {
  .hero-title { font-size: 36px; }
  .products-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
}

/* =====================================================
   图标尺寸（替代 JSX 中 lucide <Icon size={..} />）
   ===================================================== */
.nav-link .fa-chevron-down { font-size: 14px; margin-left: 4px; }
.action-icon .fa-solid { font-size: 20px; }
.contact-phone .fa-phone { font-size: 18px; }
.mobile-toggle .fa-solid { font-size: 24px; }
.close-search .fa-xmark { font-size: 40px; }
.search-btn .fa-magnifying-glass { font-size: 24px; }
.mobile-menu-close .fa-xmark { font-size: 24px; }
.mobile-nav-link .fa-chevron-down { font-size: 16px; }
.mobile-contact-item .fa-phone { font-size: 18px; }
.hf-icon .fa-solid { font-size: 28px; }
.play-btn .fa-play { font-size: 24px; }
.btn-primary .fa-arrow-right { font-size: 16px; }
.product-btn .fa-arrow-right { font-size: 20px; }
.sec-subtitle .more .fa-chevron-right { font-size: 16px; }
.social-icon .fa-solid { font-size: 18px; }
.footer-contact .fa-solid { font-size: 18px; }
.news-arrow { color: var(--primary); }
.news-arrow .fa-chevron-right { font-size: 24px; }
.breadcrumb .fa-chevron-right { font-size: 14px; }
.app-feature-list .fa-circle-check { font-size: 20px; color: var(--primary); }
.contact-info-ic .fa-solid { font-size: 20px; }
.detail-meta .fa-solid { font-size: 14px; display: inline; margin-right: 4px; position: relative; top: 2px; }

/* =====================================================
   内联样式类化（替代 JSX 中的 style={{...}}）
   ===================================================== */

/* 产品详情页 */
.params-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.params-table tr { border-bottom: 1px solid var(--border); background: transparent; }
.params-table tr:nth-child(odd) { background: var(--bg-light); }
.params-table td { padding: 15px 20px; }
.params-table td.k { font-weight: 500; width: 30%; }
.params-table td.v { color: var(--text-muted); }
.detail-img { width: 100%; height: 400px; object-fit: cover; border-radius: 8px; margin: 30px 0; }
.pd-inquire-btn { padding: 15px 40px; font-size: 16px; }

/* 解决方案页（卡片强制展示描述） */
.solutions-page .solution-card { height: 320px; }
.solutions-page .solution-title { font-size: 22px; }
.solutions-page .solution-desc { opacity: 1; transform: none; margin-top: 10px; line-height: 1.6; }
.sec-header-center { text-align: center; margin-bottom: 60px; }
.sec-header-center .sec-subtitle { justify-content: center; max-width: 600px; margin: 0 auto 40px; }

/* 新闻列表页 */
.news-container { max-width: 900px; }
.news-page .news-title { font-size: 18px; margin-bottom: 10px; }
.news-page .news-desc { font-size: 14px; color: var(--text-muted); -webkit-line-clamp: unset; }

/* 关于我们页 */
.about-why { margin-bottom: 80px; }
.about-why .why-video-img { height: 100%; }
.about-why .why-grid { margin-top: 30px; }
.honor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.honor-card { border: 1px solid var(--border); padding: 20px; border-radius: 8px; text-align: center; }
.honor-thumb { width: 100%; height: 180px; background: var(--bg-light); margin-bottom: 15px; display: flex; align-items: center; justify-content: center; color: var(--text-light); border: 1px dashed #ccc; }
.honor-title { font-size: 15px; }

/* 联系我们页 */
.contact-page-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info-lead { color: var(--text-muted); margin-bottom: 30px; line-height: 1.6; }
.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 15px; }
.contact-info-ic { width: 40px; height: 40px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); flex-shrink: 0; }
.contact-info-item h4 { font-weight: 600; margin-bottom: 5px; color: var(--text-main); }
.contact-info-item p { color: var(--text-muted); }
.contact-info-item p.addr { line-height: 1.5; }
.contact-follow { margin-top: 40px; }
.contact-follow h4 { font-weight: 600; margin-bottom: 15px; color: var(--text-main); }
.contact-follow-row { display: flex; gap: 15px; }
.contact-follow-card { width: 100px; text-align: center; }
.contact-follow-card img { width: 100%; margin-bottom: 5px; border-radius: 4px; }
.contact-follow-card span { font-size: 12px; color: var(--text-muted); }
.contact-form-card { background: #fff; padding: 40px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.contact-form-card h3 { font-size: 24px; font-weight: 600; margin-bottom: 25px; color: var(--text-main); }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-input { width: 100%; padding: 15px; border: 1px solid var(--border); border-radius: 6px; outline: none; font-family: inherit; }
textarea.form-input { resize: vertical; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-submit { width: 100%; padding: 15px; font-size: 16px; border-radius: 6px; margin-top: 10px; }

/* 其他 */
.why-em { color: var(--primary); font-weight: 700; font-size: 18px; }
.text-center { text-align: center; }
.applications-head { margin-bottom: 0; }
.applications-head .sec-subtitle { justify-content: center; text-align: center; margin-bottom: 80px; }
.partners-section { padding: 40px 0 !important; }
.partner-logo img { height: 35px; object-fit: contain; }
.cta-big-btn { font-size: 16px; padding: 15px 40px; }

/* ===== 卡片链接与列表页布局增强 ===== */
.img-link { display: block; width: 100%; height: 100%; }
.img-link img { width: 100%; height: 100%; object-fit: cover; }
.product-card .img-link { height: auto; }
.product-card .img-link img { height: 180px; object-fit: contain; }
.app-feature-img .img-link { height: auto; }
.app-feature-img .img-link img { height: auto; }
.product-title a { color: inherit; text-decoration: none; transition: color .2s ease; }
.product-card:hover .product-title a { color: var(--primary); }
.solution-title a { color: inherit; text-decoration: none; }
.solution-card .solution-overlay { pointer-events: none; }
.solution-card .solution-overlay a { pointer-events: auto; }
.app-feature-title a { color: inherit; text-decoration: none; transition: color .2s ease; }
.app-feature-row:hover .app-feature-title a { color: var(--primary); }
.faq-detail-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--primary); margin: 0 25px 20px; }
.faq-detail-link:hover { text-decoration: underline; }
.faq-item.active .faq-body { max-height: 600px !important; }
.products-grid--page { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1200px) {
  .products-grid--page { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .products-grid--page { grid-template-columns: 1fr; }
}

/* ===== 内联样式提取 ===== */
.nf-container { text-align: center; padding: 100px 20px; }
.nf-code { font-size: 120px; font-weight: 700; line-height: 1; color: var(--primary); letter-spacing: 5px; }
.nf-title { margin-top: 30px; }
.nf-subtitle { display: block; text-align: center; }
.nf-hot { margin-top: 50px; display: flex; justify-content: center; align-items: center; gap: 15px; flex-wrap: wrap; }
.nf-hot-link { padding: 8px 18px; border: 1px solid var(--border); border-radius: 30px; color: var(--text-main); font-size: 14px; }
.page-banner--dark { background: var(--primary); }
.page-banner-sub { color: rgba(255,255,255,0.85); font-size: 15px; font-weight: 300; margin-bottom: 20px; }

/* ===== 系统分页 ul.pagination 适配 ===== */
ul.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; list-style: none; padding: 0; margin: 40px 0 0; }
ul.pagination li { list-style: none; }
ul.pagination li a { display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 14px; border: 1px solid var(--border); border-radius: 4px; background: var(--white); color: var(--text-main); font-size: 14px; text-decoration: none; transition: all .2s ease; }
ul.pagination li a:hover { color: var(--primary); border-color: var(--primary); }
ul.pagination li.active a { background: var(--primary); border-color: var(--primary); color: var(--white); }
ul.pagination li:first-child a { cursor: default; background: var(--bg-light); color: var(--text-light); border-color: transparent; }
ul.pagination li:first-child a:hover { background: var(--bg-light); color: var(--text-light); border-color: transparent; }

/* ===== 富文本内容表格样式（后台编辑器 {$content} 内 <table>，2026-09-15 补充） ===== */
.why-desc, .rich-text { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.why-desc table, .rich-text table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; line-height: 1.7; }
.why-desc table th, .why-desc table td, .rich-text table th, .rich-text table td { border: 1px solid var(--border, #eaedf4); padding: 12px 15px; text-align: left; vertical-align: middle; word-break: break-word; }
.why-desc table th, .rich-text table th { background: var(--primary, #1b5ff4); color: #fff; font-weight: 600; }
.why-desc table tbody tr:nth-child(even), .rich-text table tbody tr:nth-child(even) { background: var(--bg-light, #f4f6fb); }

/* ===== Logo 图片样式（header/footer 文字 logo 替换为 {SITE_LOGO} 图片，2026-09-15 补充） ===== */
.logo img, .footer-logo img { max-height: 40px; width: auto; }

/* ===== Hero 轮播文字入场（active 时重播，2026-09-16 一图一文改造补充） ===== */
.hero-slide .hero-content > * { opacity: 0; transform: translateY(30px); }
.hero-slide.active .hero-content > * { animation: heroTextUp .8s ease forwards; }
.hero-slide.active .hero-content > *:nth-child(2) { animation-delay: .1s; }
.hero-slide.active .hero-content > *:nth-child(3) { animation-delay: .2s; }
.hero-slide.active .hero-content > *:nth-child(4) { animation-delay: .3s; }
.hero-slide.active .hero-content > *:nth-child(5) { animation-delay: .4s; }
@keyframes heroTextUp { to { opacity: 1; transform: translateY(0); } }

/* ===== 悬浮按钮组与手机端底部悬浮栏 ===== */
.site-float { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 900; display: flex; flex-direction: column; gap: 2px; }
.site-float__item { position: relative; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--primary, #1b5ff4); color: #fff; font-size: 20px; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; border: none; }
.site-float__item:hover { filter: brightness(0.88); }
.site-float__item--top { opacity: 0; visibility: hidden; pointer-events: none; }
.site-float__item--top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.site-float__pop { position: absolute; right: 60px; top: 50%; transform: translateY(-50%) translateX(10px); background: #fff; color: #333; box-shadow: 0 4px 16px rgba(0,0,0,0.15); border-radius: 8px; padding: 12px 18px; font-size: 16px; font-weight: 600; white-space: nowrap; opacity: 0; visibility: hidden; transition: all 0.3s ease; width: max-content; }
.site-float__item:hover .site-float__pop { opacity: 1; visibility: visible; transform: translateY(-50%) translateX(0); }
.site-float__pop--wechat { padding: 10px; text-align: center; font-weight: 400; }
.site-float__pop--wechat img { width: 130px; height: auto; max-width: none; }
.site-float__pop--wechat p { font-size: 12px; margin-top: 6px; color: #666; }

.mobile-dock { display: none; }
.qr-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; }
.qr-modal[hidden] { display: none; }
.qr-modal__mask { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.qr-modal__box { position: relative; background: #fff; border-radius: 10px; padding: 24px; text-align: center; }
.qr-modal__box img { width: 200px; height: auto; max-width: none; }
.qr-modal__box p { margin-top: 10px; font-size: 14px; color: #666; }
.qr-modal__close { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: #999; font-size: 18px; background: none; border: none; }

@media (max-width: 768px) {
  .site-float { display: none; }
  .mobile-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; display: flex; background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,0.08); }
  .mobile-dock__item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 8px 0 8px; color: #666; font-size: 12px; text-decoration: none; }
  .mobile-dock__item i { font-size: 18px; color: var(--primary, #1b5ff4); }
  .mobile-dock__item span { line-height: 1.2; }
  body { padding-bottom: 56px; }
}

/* ===== 手机端 Hero 适配（高度跟随背景图比例版，2026-09-17 替换原 580px 定高方案） ===== */
@media (max-width: 768px) {
  /* 容器高度 = 背景图等比高度（hdtp 幻灯建议图 1920×800 → 12:5；比例一致时图片零裁切） */
  .hero, .hero-section { height: auto !important; min-height: 0 !important; aspect-ratio: 12 / 5; overflow: hidden; }
  /* 背景图铺满居中（替代原 contain 贴顶白底） */
  .hero-slide-bg, .hero__slide-bg, .hero__bg-image, .slide-bg {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent;
  }
  .hero-slide > img, .hero__slide > img, img.hero__bg {
    position: absolute; top: 0; left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center center;
  }
  /* 删除原白色渐变 ::after（图片下缘融白） */
  .hero-slide::after, .hero__slide::after, .hero__bg-slide::after { content: none !important; }
  /* 取消原上下 padding，文字层恢复覆盖在图片上 */
  .hero-slide, .hero__slide, .hero__bg-slide { padding-top: 0 !important; padding-bottom: 0 !important; }
  /* 文字紧凑适配 */
  .hero-title, .hero__title, .hero-main-heading { font-size: 22px !important; line-height: 1.25 !important; }
  .hero-subtitle, .hero__subtitle { font-size: 13px !important; line-height: 1.4 !important; }
  /* 次要内容隐藏：features 图标块、desc 辅助段、装饰大字（375px 宽下容器仅约 156px 高，放不下） */
  .hero-features, .hero__features, .hero__desc, .hero__bg-text { display: none !important; }
  /* 按钮恢复显示并缩小（原方案被整体隐藏） */
  .hero-btns, .hero-actions, .hero__actions, .hero__buttons { display: flex !important; gap: 10px; }
  .hero-btns a, .hero-actions a, .hero__actions a, .hero__buttons a { padding: 8px 18px; font-size: 13px; }
}
