/* ==========================================================================
   hruis 豪瑞斯 - 统一样式表
   合并来源（按原引入顺序）：
     src/index.css（单文件，含 :root 变量、全站组件与响应式）
   注意：
     - 已移除 @import "tailwindcss"（项目未使用 Tailwind 原子类）
     - 追加「Motion 替代」与「图标尺寸」分节：
       原 src 中入场动画由 motion/react 的 FadeIn/Counter 以内联样式实现，
       静态版改为 [data-reveal] + .is-visible（JS 由 IntersectionObserver 触发）；
       原 lucide-react 图标改为 Font Awesome，尺寸由本表控制。
   ========================================================================== */

:root {
  --primary: #0d52e9;
  --primary-hover: #0b43c6;
  --dark: #040914;
  --dark-blue: #0a1121;
  --light-gray: #f5f7fa;
  --text-main: #333333;
  --text-muted: #666666;
  --text-light: #999999;
  --border: #e5e7eb;
}

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

/* ===== Motion 替代：滚动揭示（原 motion/react FadeIn） ===== */
[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; will-change: opacity, transform; }
[data-reveal="down"] { transform: translateY(-40px); }
[data-reveal="left"] { transform: translateX(40px); }
[data-reveal="right"] { transform: translateX(-40px); }
[data-reveal].is-visible { opacity: 1; transform: translate(0, 0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ===== 图标尺寸（对应原 lucide size 属性，由 CSS 统一控制） ===== */
.nav-link .fa-chevron-down, .lang-toggle .fa-chevron-down { font-size: 14px; }
.icon-btn .fa-magnifying-glass { font-size: 18px; }
.mobile-search-btn .fa-magnifying-glass { font-size: 22px; }
.mobile-menu-btn .fa-solid { font-size: 28px; }
.mobile-nav-link .fa-chevron-down { font-size: 18px; transition: transform 0.3s; }
.mobile-nav-item.active .mobile-nav-link .fa-chevron-down { transform: rotate(180deg); }
.contact-phone .icon { font-size: 16px; }
.play-btn .fa-play { font-size: 28px; }
.hero-feature-icon .fa-solid { font-size: 24px; line-height: 1; }
.product-btn .fa-arrow-right { font-size: 20px; }
.view-all-link .fa-arrow-right, .module-link .fa-arrow-right, .news-row-link .fa-arrow-right { font-size: 14px; }
.adv-icon-wrap .fa-solid { font-size: 24px; line-height: 1; }
.about-feat-icon .fa-solid { font-size: 20px; line-height: 1; }
.culture-icon .fa-solid { font-size: 32px; line-height: 1; }
.contact-info-icon .fa-solid { font-size: 24px; line-height: 1; }
.contact-item .contact-icon { font-size: 18px; }
.social-icon .fa-solid { font-size: 16px; }
.search-close .fa-xmark { font-size: 40px; }
.search-btn .fa-magnifying-glass { font-size: 32px; }
.toolbar-icon { font-size: 20px; }
.faq-question .fa-chevron-right { font-size: 16px; margin-right: 8px; vertical-align: middle; display: inline-block; }
.faq-icon { font-size: 18px; }
.news-row-date .fa-calendar-days { font-size: 14px; display: inline; margin-right: 5px; vertical-align: -2px; }
.article-meta .fa-solid { font-size: 14px; }
.page-btn .fa-solid { font-size: 16px; }

/* ===== 原内联样式的类化（联系页地图卡片 / 详情页视频占位 / 各内页） ===== */
.map-card { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,0.9); padding: 20px 30px; border-radius: 8px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.map-card .fa-location-dot { font-size: 32px; color: var(--primary); margin: 0 auto 10px; display: block; }
.map-card h3 { margin: 0 0 5px; font-size: 18px; color: #333; }
.map-card p { margin: 0; font-size: 14px; color: #666; }
.pd-video-placeholder { background: #f5f5f5; padding: 100px; text-align: center; border-radius: 8px; }
.pd-video-placeholder .fa-play { font-size: 48px; color: var(--primary); margin: 0 auto 20px; cursor: pointer; display: block; }
.why-section { background: #f8f9fa; }
.faq-page-section { background: var(--light-gray); }
.faq-page-container { max-width: 800px; }
.faq-page-section .faq-item { margin-bottom: 15px; }
.article-section { background: var(--light-gray); }
.app-domain-card { display: flex; gap: 40px; margin-bottom: 60px; align-items: center; }
.app-domain-card.reverse { flex-direction: row-reverse; }
.app-domain-img { flex: 1; height: 350px; border-radius: 8px; overflow: hidden; }
.app-domain-img img { width: 100%; height: 100%; object-fit: cover; }
.app-domain-content { flex: 1; padding: 0 20px; }
.app-domain-content h3 { font-size: 28px; color: var(--dark); margin-bottom: 20px; }
.app-domain-items { list-style: none; padding: 0; margin: 0 0 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.app-domain-items li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--text-main); }
.app-domain-items li .fa-circle-check { color: var(--primary); font-size: 18px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; position: relative; }
.section-title { font-size: 32px; font-weight: 600; margin-bottom: 10px; color: var(--text-main); }
.section-subtitle { font-size: 16px; color: var(--text-muted); }
.section-dark-text .section-title { color: #fff; }
.section-dark-text .section-subtitle { color: #aaa; }
.view-all-link { position: absolute; right: 0; bottom: 0; color: var(--primary); font-size: 14px; display: flex; align-items: center; gap: 4px; }
.view-all-link:hover { color: var(--primary-hover); }

/* Header */
.site-header { background-color: var(--dark); color: #fff; position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.05); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.header-logo { font-size: 28px; font-weight: 700; font-style: italic; color: #fff; display: flex; align-items: center; }
.header-logo span { color: var(--primary); font-style: normal; font-size: 14px; vertical-align: top; margin-left: 2px;}

.main-nav { display: flex; gap: 30px; height: 100%; }
.nav-item { position: relative; display: flex; align-items: center; height: 80px; }
.nav-link { font-size: 15px; display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-link:hover, .nav-item.active .nav-link { color: var(--primary); }
.nav-item::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background-color: var(--primary); transition: width 0.3s; }
.nav-item:hover::after, .nav-item.active::after { width: 100%; }

.submenu { position: absolute; top: 80px; left: 0; background-color: #fff; color: var(--text-main); min-width: 160px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); border-radius: 4px; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; }
.nav-item:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu li a { display: block; padding: 12px 20px; font-size: 14px; border-bottom: 1px solid var(--light-gray); }
.submenu li a:hover { background-color: var(--light-gray); color: var(--primary); }

.header-right { display: flex; align-items: center; gap: 20px; }
.lang-dropdown-wrapper { position: relative; padding: 10px 0; }
.lang-toggle { display: flex; align-items: center; gap: 5px; font-size: 14px; cursor: pointer; transition: color 0.3s;}
.lang-toggle:hover { color: var(--primary); }
.lang-menu { position: absolute; top: 100%; right: 0; background: #fff; color: var(--text-main); box-shadow: 0 4px 12px rgba(0,0,0,0.1); border-radius: 4px; opacity: 0; visibility: hidden; transition: all 0.2s; min-width: 120px; z-index: 10; }
.lang-dropdown-wrapper:hover .lang-menu { opacity: 1; visibility: visible; }
.lang-menu div, .lang-menu a { display: block; padding: 10px 15px; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.lang-menu div:hover, .lang-menu a:hover { background: var(--light-gray); color: var(--primary); }
.lang-menu div.active { color: var(--primary); font-weight: bold; }

.icon-btn { color: #fff; cursor: pointer; display: flex; align-items: center; transition: color 0.3s; }
.icon-btn:hover { color: var(--primary); }
.contact-phone { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.contact-phone .icon { color: var(--primary); }
.quote-btn { background-color: var(--primary); color: #fff; padding: 8px 24px; border-radius: 4px; font-size: 14px; font-weight: 500; transition: background 0.3s; }
.quote-btn:hover { background-color: var(--primary-hover); }

.mobile-menu-btn { display: none; color: #fff; cursor: pointer; }

/* Hero（2026-09-16 一图一文改造：slide 变 wrapper，文字随图切换） */
.hero-section { background-color: var(--dark); color: #fff; position: relative; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease-in-out; z-index: 0; pointer-events: none; display: flex; align-items: center; }
.hero-slide.active { position: relative; opacity: 1; pointer-events: auto; padding: 140px 0 160px; }
.hero-slide img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.4; z-index: 0; }
.hero-content { position: relative; z-index: 1; max-width: 800px; width: 100%; }
.hero-title { font-size: 56px; font-weight: 700; margin-bottom: 20px; letter-spacing: 2px; }
.hero-subtitle { font-size: 20px; color: #ccc; margin-bottom: 50px; }
.hero-features { display: flex; gap: 40px; margin-bottom: 60px; }
.hero-feature-item { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero-feature-icon { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; color: var(--primary); background-color: rgba(255,255,255,0.05); transition: all 0.3s; }
.hero-feature-item:hover .hero-feature-icon { background-color: var(--primary); color: #fff; border-color: var(--primary); }
.hero-feature-text { font-size: 14px; }
.hero-actions { display: flex; gap: 20px; }
.hero-slider-dots { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 12px; }
.hero-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: all 0.3s; }
.hero-dot.active { background: var(--primary); width: 35px; border-radius: 6px; }
.btn-primary { background-color: var(--primary); color: #fff; padding: 12px 36px; border-radius: 4px; font-size: 16px; transition: background 0.3s; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary:hover { background-color: var(--primary-hover); }
.btn-outline { background-color: transparent; color: #fff; border: 1px solid #fff; padding: 12px 36px; border-radius: 4px; font-size: 16px; transition: all 0.3s; display: inline-flex; align-items: center; justify-content: center; }
.btn-outline:hover { background-color: #fff; color: var(--dark); }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: 4px; padding: 30px 20px; text-align: center; transition: all 0.3s; cursor: pointer; }
.product-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.08); transform: translateY(-5px); border-color: transparent; }
.product-img { height: 160px; object-fit: contain; margin: 0 auto 20px; transition: transform 0.3s; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-name { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.product-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 25px; }
.product-btn { background-color: var(--primary); color: #fff; width: 40px; height: 40px; border-radius: 4px; display: flex; align-items: center; justify-content: center; margin: 0 auto; transition: background 0.3s; }
.product-card:hover .product-btn { background-color: var(--primary-hover); }

/* Advantages */
.advantages-section { position: relative; background-image: url('../images/bg.jpg'); background-size: cover; background-position: center; background-attachment: fixed; color: #fff; }
.advantages-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 17, 33, 0.85); z-index: 0; }
.advantages-section .container { position: relative; z-index: 1; }
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
.adv-card { background-color: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.05); padding: 30px 25px; border-radius: 4px; display: flex; flex-direction: row; align-items: flex-start; gap: 18px; transition: all 0.3s; }
.adv-card:hover { transform: translateY(-5px); background-color: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.1); }
.adv-icon-wrap { width: 45px; height: 45px; flex-shrink: 0; border-radius: 50%; background-color: var(--primary); display: flex; align-items: center; justify-content: center; }
.adv-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.adv-desc { font-size: 13px; color: #aaa; line-height: 1.8; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 10px; position: relative; }
.stat-item:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 15%; height: 70%; width: 1px; background: rgba(255,255,255,0.1); }
.stat-num { font-size: 40px; font-weight: 700; color: #fff; display: flex; align-items: center; }
.stat-num span { color: var(--primary); margin-left: 2px; }
.stat-label { font-size: 14px; color: #aaa; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-video { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.about-video img { width: 100%; display: block; transition: transform 0.5s; }
.about-video:hover img { transform: scale(1.03); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; background-color: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s; z-index: 2; }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.1); background-color: var(--primary-hover); }
.about-label { color: var(--primary); font-weight: 600; margin-bottom: 15px; display: inline-block; font-size: 18px;}
.about-title { font-size: 32px; font-weight: 700; margin-bottom: 25px; line-height: 1.4; }
.about-desc { color: var(--text-muted); margin-bottom: 35px; font-size: 15px; line-height: 1.8;}
.about-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.about-feat-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.about-feat-icon { color: var(--primary); background: var(--light-gray); padding: 12px; border-radius: 50%; transition: all 0.3s; }
.about-feat-item:hover .about-feat-icon { background: var(--primary); color: #fff; transform: translateY(-5px); }
.about-feat-title { font-size: 14px; font-weight: 600; }
.about-feat-desc { font-size: 12px; color: var(--text-light); }

/* Solutions */
.solutions-section { position: relative; background-image: url('../images/bg2.jpg'); background-size: cover; background-position: center; background-attachment: fixed; color: #fff; }
.solutions-section::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 17, 33, 0.9); z-index: 0; }
.solutions-section .container { position: relative; z-index: 1; }
.solution-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.solution-card { position: relative; border-radius: 4px; overflow: hidden; height: 280px; cursor: pointer; }
.solution-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.solution-card:hover .solution-img { transform: scale(1.1); }
.solution-overlay { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 25px 20px; }
.solution-title { font-size: 18px; font-weight: 600; margin-bottom: 8px; transform: translateY(10px); transition: transform 0.3s; }
.solution-desc { font-size: 13px; color: #ccc; opacity: 0; transform: translateY(10px); transition: all 0.3s; line-height: 1.5; }
.solution-card:hover .solution-title { transform: translateY(0); color: var(--primary); }
.solution-card:hover .solution-desc { opacity: 1; transform: translateY(0); }
.solution-btn-wrap { text-align: center; margin-top: 50px; }

/* News & FAQ */
.news-faq-section { background-color: var(--light-gray); }
.news-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.module-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; border-bottom: 1px solid var(--border); padding-bottom: 15px;}
.module-title { font-size: 24px; font-weight: 600; position: relative; padding-bottom: 12px; margin-bottom: 8px; }
.module-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--primary); }
.module-subtitle { font-size: 14px; color: var(--text-muted); margin-top: 0; }
.module-link { color: var(--primary); font-size: 14px; display: flex; align-items: center; gap: 4px; }
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-item { display: flex; gap: 20px; background: #fff; padding: 20px; border-radius: 4px; transition: all 0.3s; cursor: pointer; border: 1px solid transparent; }
.news-item:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.05); border-color: rgba(13,82,233,0.1); transform: translateX(5px); }
.news-date { background-color: var(--primary); color: #fff; width: 65px; height: 65px; border-radius: 4px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.news-day { font-size: 26px; font-weight: 700; line-height: 1; }
.news-year { font-size: 11px; margin-top: 4px; opacity: 0.8;}
.news-content h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; transition: color 0.3s; line-height: 1.4;}
.news-item:hover .news-content h4 { color: var(--primary); }
.news-content p { font-size: 14px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.6;}
.faq-list { display: flex; flex-direction: column; gap: 15px; }
.faq-item { background: #fff; border-radius: 4px; overflow: hidden; border: 1px solid var(--border); transition: all 0.3s;}
.faq-item:hover { border-color: rgba(13,82,233,0.3); }
.faq-question { padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 15px; cursor: pointer; transition: color 0.3s; }
.faq-question:hover, .faq-item.active .faq-question { color: var(--primary); }
.faq-icon { color: var(--text-light); transition: transform 0.3s; }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-in-out; font-size: 14px; color: var(--text-muted); line-height: 1.7; background: #fafafa; }
.faq-answer-inner { padding: 15px 20px 20px; border-top: 1px solid var(--border); }
.faq-item.active .faq-answer { max-height: 300px; }

/* CTA */
.cta-section { background-image: url('../images/cta.jpg'); background-size: cover; background-position: center; position: relative; padding: 100px 0; color: #fff; }
.cta-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(10, 17, 33, 0.85); }
.cta-content { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; text-align: left; }
.cta-text { flex: 1; }
.cta-title { font-size: 36px; font-weight: 700; margin-bottom: 15px; }
.cta-desc { font-size: 18px; color: #ccc; margin-bottom: 0; }

/* Inner Pages Banner */
.page-banner { position: relative; height: 350px; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; }
.page-banner-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(10, 17, 33, 0.7); }
.page-banner-content { position: relative; z-index: 1; }
.page-banner-title { font-size: 40px; font-weight: 700; letter-spacing: 2px; }

/* Contact Page */
.contact-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: flex-start; }
.contact-info-card, .contact-form-card { background: #fff; padding: 40px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.contact-card-title { font-size: 24px; font-weight: 600; margin-bottom: 15px; color: var(--dark); }
.contact-card-desc { color: var(--text-muted); margin-bottom: 30px; font-size: 15px; line-height: 1.6; }
.contact-info-list { display: flex; flex-direction: column; gap: 25px; }
.contact-info-item { display: flex; gap: 15px; }
.contact-info-icon { width: 50px; height: 50px; border-radius: 50%; background: rgba(13, 82, 233, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item h4 { font-size: 16px; font-weight: 600; margin-bottom: 5px; color: var(--dark); }
.contact-info-item p { font-size: 14px; color: var(--text-muted); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { width: 100%; }
.form-control { width: 100%; padding: 15px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; transition: border-color 0.3s; background-color: #fafafa; font-family: inherit; }
.form-control:focus { outline: none; border-color: var(--primary); background-color: #fff; }
.w-full { width: 100%; }

/* Footer */
.site-footer { background-color: #040914; color: #999; padding: 80px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 3fr 1.5fr 1.5fr 1.5fr 2.5fr; gap: 40px; margin-bottom: 60px; }
.footer-logo { font-size: 32px; font-weight: 700; font-style: italic; color: #fff; margin-bottom: 20px; display: inline-block;}
.footer-logo span { color: var(--primary); font-style: normal; font-size: 16px; vertical-align: top;}
.footer-desc { margin-bottom: 25px; line-height: 1.8; font-size: 13px;}
.social-icons { display: flex; gap: 15px; }
.social-icon { width: 36px; height: 36px; border-radius: 4px; background-color: rgba(255,255,255,0.05); display: flex; align-items: center; justify-content: center; color: #fff; transition: all 0.3s; }
.social-icon:hover { background-color: var(--primary); transform: translateY(-3px); }
.footer-title { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 25px; position: relative;}
.footer-title::after { content: ''; position: absolute; left: 0; bottom: -10px; width: 30px; height: 2px; background: var(--primary); }
.footer-links { display: flex; flex-direction: column; gap: 15px; }
.footer-links a { transition: color 0.3s; display: inline-block; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; gap: 15px; align-items: flex-start; }
.contact-icon { color: var(--primary); margin-top: 2px; }
.footer-qr-group { display: flex; gap: 20px; margin-top: 25px; }
.qr-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.qr-img { width: 90px; height: 90px; background-color: #fff; padding: 5px; border-radius: 4px; }
.qr-label { font-size: 12px; color: #999; }
.friendly-links { border-top: 1px solid rgba(255,255,255,0.05); padding: 25px 0 0; margin-top: 40px; display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }
.friendly-links span { color: #fff; font-weight: 500; }
.friendly-links a { color: #999; transition: color 0.3s; }
.friendly-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding: 25px 0; text-align: center; font-size: 13px; display: flex; justify-content: space-between; align-items: center; margin-top: 25px; }
.footer-bottom-links { display: flex; gap: 25px; }
.footer-bottom-links a:hover { color: #fff; }

/* Modals & Overlays */
.search-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(4, 9, 20, 0.95); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.3s; backdrop-filter: blur(5px); }
.search-modal.active { opacity: 1; visibility: visible; }
.search-close { position: absolute; top: 40px; right: 40px; color: #fff; cursor: pointer; transition: transform 0.3s; }
.search-close:hover { transform: scale(1.1) rotate(90deg); color: var(--primary); }
.search-box { width: 100%; max-width: 700px; position: relative; transform: translateY(20px); transition: transform 0.4s; padding: 0 20px;}
.search-modal.active .search-box { transform: translateY(0); }
.search-input { width: 100%; background: transparent; border: none; border-bottom: 2px solid rgba(255,255,255,0.3); padding: 15px 60px 15px 0; font-size: 28px; color: #fff; outline: none; transition: border-color 0.3s; }
.search-input:focus { border-color: var(--primary); }
.search-btn { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: #fff; background: none; border: none; cursor: pointer; transition: color 0.3s; }
.search-btn:hover { color: var(--primary); }

.floating-toolbar { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 99; display: flex; flex-direction: column; gap: 10px; }
.toolbar-item { width: 50px; height: 50px; background-color: #fff; border-radius: 4px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-main); cursor: pointer; transition: all 0.3s; position: relative; font-size: 11px; }
.toolbar-item:hover { background-color: var(--primary); color: #fff; }
.toolbar-tooltip { position: absolute; right: 65px; background-color: var(--primary); color: #fff; padding: 8px 15px; border-radius: 4px; font-size: 13px; white-space: nowrap; opacity: 0; visibility: hidden; transform: translateX(10px); transition: all 0.3s; }
.toolbar-tooltip::after { content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%); border-left: 6px solid var(--primary); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.toolbar-item:hover .toolbar-tooltip { opacity: 1; visibility: visible; transform: translateX(0); }

.mobile-nav-overlay { position: fixed; top: 80px; left: 0; width: 100%; height: calc(100vh - 80px); background-color: #fff; z-index: 99; overflow-y: auto; display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.3s ease; }
.mobile-nav-overlay.active { transform: translateX(0); }
.mobile-nav-container { padding: 20px; }
.mobile-nav-item { border-bottom: 1px solid var(--border); }
.mobile-nav-link { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 16px; color: var(--text-main); font-weight: 500; cursor: pointer; }
.mobile-submenu { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-in-out; background-color: #fafafa; border-radius: 4px;}
.mobile-nav-item.active .mobile-submenu { max-height: 400px; margin-bottom: 15px;}
.mobile-submenu li a { display: block; padding: 12px 20px; font-size: 14px; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.mobile-lang-wrap { padding: 20px 0; border-bottom: 1px solid var(--border); display: flex; gap: 15px;}
.mobile-lang-btn { padding: 8px 15px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px; background: #fff;}
.mobile-lang-btn.active { background: var(--primary); color: #fff; border-color: var(--primary);}

@media (max-width: 1200px) {
  .hero-title { font-size: 48px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (max-width: 992px) {
  .adv-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .about-grid, .news-faq-grid { grid-template-columns: 1fr; }
  .about-video { max-width: 600px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .main-nav, .header-right { display: none; }
  .mobile-menu-btn { display: block; }
  .hero-title { font-size: 36px; }
  .hero-features { flex-direction: column; gap: 20px; align-items: flex-start; }
  .hero-feature-item { flex-direction: row; }
  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .floating-toolbar { display: none; }
  .footer-bottom { flex-direction: column; gap: 15px; }
  .stats-grid .stat-item:not(:last-child)::after { display: none; }
  .cta-content { flex-direction: column; text-align: center; gap: 30px; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 480px) {
  .product-grid, .adv-grid, .stats-grid, .solution-grid, .about-features { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; } /* 2026-09-17：原 column 导致小屏按钮堆叠一行一个，改为一行两个 */
  .hero-title { font-size: 28px; }
}

/* Products Page Enrich */
.category-filter { display: flex; justify-content: center; gap: 15px; margin-bottom: 40px; flex-wrap: wrap; }
.cat-btn { padding: 10px 24px; border-radius: 30px; border: 1px solid var(--border); background: #fff; cursor: pointer; transition: all 0.3s; font-size: 15px; color: var(--text-main); }
.cat-btn:hover, .cat-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 50px; }
.page-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); background: #fff; border-radius: 4px; cursor: pointer; transition: all 0.3s; color: var(--text-main); }
.page-btn:hover, .page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn.disabled { opacity: 0.5; cursor: not-allowed; }

/* About Page Enrich */
.culture-section { background: var(--light-gray); }
.culture-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.culture-card { background: #fff; padding: 40px; text-align: center; border-radius: 8px; transition: transform 0.3s; border: 1px solid var(--border); }
.culture-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.culture-icon { width: 70px; height: 70px; margin: 0 auto 20px; background: rgba(13, 82, 233, 0.1); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.culture-title { font-size: 20px; font-weight: 600; margin-bottom: 15px; color: var(--dark); }
.culture-desc { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 40px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border); transform: translateX(-50%); }
.timeline-item { position: relative; margin-bottom: 50px; width: 50%; padding-right: 40px; text-align: right; }
.timeline-item:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 40px; text-align: left; }
.timeline-dot { position: absolute; right: -11px; top: 0; width: 20px; height: 20px; background: var(--primary); border: 4px solid #fff; border-radius: 50%; box-shadow: 0 0 0 4px rgba(13,82,233,0.2); z-index: 2;}
.timeline-item:nth-child(even) .timeline-dot { left: -9px; right: auto; }
.timeline-date { font-size: 24px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.timeline-content { background: #fff; padding: 25px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); text-align: left;}
.timeline-content h4 { font-size: 18px; margin-bottom: 10px; font-weight: 600; color: var(--dark); }
.timeline-content p { color: var(--text-muted); font-size: 14px; margin: 0; }

/* Contact Map */
.map-container { width: 100%; height: 400px; background: #e5e5e5; border-radius: 8px; margin-bottom: 40px; overflow: hidden; position: relative; border: 1px solid var(--border); }
.map-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-muted); position: relative; }
.map-overlay-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }

/* Product Detail Page */
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 60px; align-items: flex-start;}
.pd-gallery-main { width: 100%; height: 400px; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; padding: 20px; background: #fff;}
.pd-gallery-main img { max-height: 100%; object-fit: contain; }
.pd-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.pd-thumb { height: 80px; border: 1px solid var(--border); background: #fff; border-radius: 4px; cursor: pointer; transition: all 0.3s; padding: 5px; }
.pd-thumb.active { border-color: var(--primary); }
.pd-thumb img { width: 100%; height: 100%; object-fit: contain; }

.pd-info-title { font-size: 32px; font-weight: 700; margin-bottom: 15px; color: var(--dark); }
.pd-info-desc { color: var(--text-muted); font-size: 15px; line-height: 1.8; margin-bottom: 25px; }
.pd-tags { display: flex; gap: 10px; margin-bottom: 25px; }
.pd-tag { background: rgba(13,82,233,0.08); color: var(--primary); padding: 5px 12px; font-size: 13px; border-radius: 4px; font-weight: 500; }
.pd-specs-list { margin-bottom: 40px; border-top: 1px solid var(--border); }
.pd-spec-item { display: flex; padding: 15px 0; border-bottom: 1px solid var(--border); }
.pd-spec-label { width: 120px; color: var(--text-muted); font-size: 15px; }
.pd-spec-val { font-weight: 500; font-size: 15px; color: var(--dark); }
.pd-actions { display: flex; gap: 20px; }

.pd-tabs { border-bottom: 1px solid var(--border); display: flex; gap: 40px; margin-bottom: 30px; }
.pd-tab { padding: 15px 0; font-size: 18px; font-weight: 600; color: var(--text-muted); cursor: pointer; position: relative; }
.pd-tab.active { color: var(--primary); }
.pd-tab.active::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 3px; background: var(--primary); }
.pd-tab-content { font-size: 15px; color: var(--text-muted); line-height: 1.8; min-height: 300px; }
.pd-tab-content img { border-radius: 8px; margin: 20px 0; max-width: 100%;}

/* News Page */
.news-page-list { display: flex; flex-direction: column; gap: 30px; }
.news-row { display: flex; gap: 30px; background: #fff; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: all 0.3s; cursor: pointer; text-decoration: none;}
.news-row:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.08); transform: translateY(-5px); border-color: rgba(13,82,233,0.2); }
.news-row-img { width: 350px; flex-shrink: 0; overflow: hidden; }
.news-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.news-row:hover .news-row-img img { transform: scale(1.05); }
.news-row-body { padding: 30px 30px 30px 0; display: flex; flex-direction: column; justify-content: center; }
.news-row-date { font-size: 14px; color: var(--primary); font-weight: 600; margin-bottom: 10px; }
.news-row-title { font-size: 22px; font-weight: 600; margin-bottom: 15px; transition: color 0.3s; color: var(--dark); }
.news-row:hover .news-row-title { color: var(--primary); }
.news-row-desc { color: var(--text-muted); line-height: 1.6; font-size: 15px; margin-bottom: 20px; }
.news-row-link { display: inline-flex; align-items: center; gap: 5px; color: var(--primary); font-size: 14px; font-weight: 500; }

/* News Detail */
.article-container {margin: 0 auto; background: #fff; padding: 50px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); border: 1px solid var(--border); }
.article-header { text-align: center; margin-bottom: 40px; border-bottom: 1px solid var(--border); padding-bottom: 30px; }
.article-title { font-size: 32px; font-weight: 700; margin-bottom: 20px; color: var(--dark); }
.article-meta { display: flex; justify-content: center; gap: 30px; color: var(--text-muted); font-size: 14px; }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-content { font-size: 16px; color: #444; line-height: 2; }
.article-content p { margin-bottom: 20px; }
.article-content img { border-radius: 8px; margin: 30px 0; max-width: 100%; }
.article-nav { display: flex; justify-content: space-between; margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border); }
.article-nav a { display: flex; align-items: center; gap: 8px; color: var(--text-main); font-weight: 500; transition: color 0.3s; text-decoration: none; }
.article-nav a:hover { color: var(--primary); }

/* Navigation Active override */
.nav-item.active .nav-link, .mobile-nav-item.active-mobile > .mobile-nav-link > a { color: var(--primary); font-weight: 600; }

@media (max-width: 992px) {
  .culture-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-layout { grid-template-columns: 1fr; }
  .timeline::before { left: 30px; }
  .timeline-item { width: 100%; padding-left: 70px !important; padding-right: 0 !important; margin-left: 0 !important; text-align: left; }
  .timeline-dot { left: 21px !important; right: auto !important; }
  .news-row { flex-direction: column; }
  .news-row-img { width: 100%; height: 250px; }
  .news-row-body { padding: 20px; }
  .article-container { padding: 30px 20px; }
}
@media (max-width: 768px) {
  .culture-grid { grid-template-columns: 1fr; }
  .pd-tabs { gap: 20px; overflow-x: auto; white-space: nowrap; padding-bottom: 5px; }
}

@media (max-width: 768px) {
  .app-domain-card { flex-direction: column !important; gap: 20px !important; }
  .app-domain-img { height: 250px !important; width: 100%; }
}

/* Mobile Header Actions */
.mobile-actions-wrapper { display: none; }
@media (max-width: 768px) {
  .mobile-actions-wrapper { display: flex; align-items: center; gap: 15px; }
  .mobile-lang-wrapper .lang-toggle { font-size: 14px; }
  .mobile-search-btn { display: flex; }
  .mobile-menu-btn { display: block; }
}


/* ==========================================================================
   Auto-extracted inline styles supplement
   ========================================================================== */

.btn-outline {
  color: var(--dark);
  border-color: var(--border);
}

/* ===== 卡片链接与列表页布局增强 ===== */
.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: 160px; object-fit: contain; }
.product-name a { color: inherit; text-decoration: none; transition: color .2s ease; }
.product-card:hover .product-name 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-domain-content h3 a { color: inherit; text-decoration: none; transition: color .2s ease; }
.app-domain-card:hover .app-domain-content h3 a { color: var(--primary); }
.news-item h4 a { color: inherit; text-decoration: none; }
.faq-detail-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--primary); margin: 0 20px 15px; }
.faq-detail-link:hover { text-decoration: underline; }
.faq-item.active .faq-answer { max-height: 600px; }
.product-grid--page { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1200px) {
  .product-grid--page { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .product-grid--page { grid-template-columns: 1fr; }
}

/* ===== 内联样式提取 ===== */
.nf-container { text-align: center; padding: 80px 20px; }
.nf-code { font-size: 120px; font-weight: 800; color: #0d52e9; line-height: 1; }
.nf-title { font-size: 28px; font-weight: 700; color: #040914; margin: 30px 0 15px; }
.nf-desc { color: #666; font-size: 16px; margin-bottom: 40px; }
.nf-hot { margin-top: 50px; font-size: 14px; color: #666; }
.nf-hot-link { color: #0d52e9; margin: 0 10px; text-decoration: none; }
.page-banner--dark { background-color: #0d52e9; }
.page-banner-sub { color: #fff; margin-top: 10px; }

/* ===== 系统分页 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: #fff; 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: #fff; }
ul.pagination li:first-child a { cursor: default; background: var(--light-gray); color: var(--text-light); border-color: transparent; }
ul.pagination li:first-child a:hover { background: var(--light-gray); color: var(--text-light); border-color: transparent; }

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

/* ===== Logo 图片样式（header/footer 文字 logo 替换为 {SITE_LOGO} 图片，2026-09-15 补充） ===== */
.header-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, #0d52e9); color: #fff; font-size: 20px; border-radius: 4px; 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: 4px; 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: 8px; 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, #0d52e9); }
  .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-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; }
}
