/* ============================================
   手机端样式 v5
   ============================================ */

#mobile-view {
  display: none;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c2c2c;
  background: #f3f4f6;
  min-height: 100vh;
  padding-bottom: 100px;
}

@media screen and (max-width: 1024px) {
  body.m-mobile .lx-editor-mask { display: none !important; }
  body.m-mobile .body-initial > *:not([data-lx-section-name*="顶部导航"]) { display: none !important; }
  body.m-mobile .body-initial > div:not(.section-element):not(.lx-editor-mask) { display: none !important; }

  body.m-mobile .body-initial { padding: 0 !important; margin: 0 !important; }
  body.m-mobile .section-element { padding: 0 !important; margin: 0 !important; }

  body.m-mobile [data-lx-section-name*="顶部导航"] {
    display: block !important;
    position: fixed !important;
    top: 0; left: 0; right: 0;
    margin: 0 !important; padding: 0 !important;
    z-index: 1000 !important;
  }
  body.m-mobile #hyc-local-nav {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    z-index: 1001 !important;
  }
  body.m-mobile .silex-id-1781171283369-10 {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    margin: 0 !important; padding: 0 !important;
    z-index: 1001 !important;
  }

  /* 只隐藏汉堡菜单按钮，保留联系我们 */
  body.m-mobile .nav-hamburger { display: none !important; }

  /* 联系我们按钮居中偏右 */
  body.m-mobile #hyc-local-nav .nav-inner { justify-content: space-between !important; padding: 0 24px !important; max-width: 100vw !important; width: 100% !important; }
  body.m-mobile #hyc-local-nav .nav-logo img { height: 44px !important; }
  body.m-mobile #hyc-local-nav .nav-actions { height: auto !important; margin-right: 60px !important; }

  body.m-mobile #backToTop { display: none !important; }
  body.m-mobile #wxFloat { display: none !important; }
  body.m-mobile [data-lx-section-name*="底部悬浮"],
  body.m-mobile #bottomContactFixed,
  body.m-mobile .silex-id-1709113471667-47,
  body.m-mobile .silex-id-1709113471668-54 { display: none !important; }

  #mobile-view { display: block !important; padding-top: 56px; }

  /* 移动端隐藏 PC 底部栏（改用 #mobile-view 内的 .m-foot） */
  body.m-mobile .site-footer { display: none !important; }
}

/* 平板(769-1024)居中容器，避免内容被拉得过宽 */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  body.m-mobile #mobile-view {
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.04);
  }
}

/* ===== Hero ===== */
.m-hero {
  position: relative;
  background:
    radial-gradient(circle at 15% 10%, rgba(240,10,30,0.06) 0%, transparent 60%),
    radial-gradient(circle at 85% 90%, rgba(240,10,30,0.04) 0%, transparent 50%),
    linear-gradient(180deg, #fef5f7 0%, #fff 100%);
  padding: 22px 20px 24px;
  text-align: center;
  overflow: hidden;
}
.m-hero::after {
  content: ""; position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff4364, #ff8a5b, #ff4364);
  opacity: 0.5;
}
.m-hero > * { position: relative; }
.m-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, #e60012, #ff4364);
  color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 4px 14px; border-radius: 20px;
  margin-bottom: 10px;
  box-shadow: 0 3px 10px rgba(230,0,18,0.2);
}
.m-hero h1 {
  font-size: 24px; font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px; line-height: 1.3;
}
.m-hero-desc {
  font-size: 13px; color: #888;
  margin: 0 0 14px; line-height: 1.5;
}
.m-hero-phones {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.m-hero-phone {
  display: inline-flex; align-items: center;
  font-size: 14px; font-weight: 500; color: #1a1a1a;
  text-decoration: none;
  background: #fff;
  padding: 8px 16px; border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.m-hero-phone-label {
  font-weight: 700; color: #1a1a1a;
  margin-right: 4px;
}

/* ===== Section 通用 ===== */
.m-section {
  background: #fff;
  margin-top: 10px;
  padding: 22px 16px;
}
.m-section-title {
  font-size: 18px; font-weight: 700;
  color: #1a1a1a; margin: 0 0 4px;
  text-align: center;
}
.m-section-subtitle {
  font-size: 13px; color: #aaa;
  text-align: center; margin: 0 0 18px;
}

/* ===== 产品卡片 ===== */
.m-products-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.m-product-card {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  padding: 16px 12px 14px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform 0.2s;
}
.m-product-card:active { transform: scale(0.97); }
.m-product-icon-img {
  width: 48px; height: 48px;
  margin: 0 auto 8px;
  display: block;
  object-fit: contain;
}
.m-product-name {
  font-size: 15px; font-weight: 700;
  color: #1a1a1a; margin-bottom: 2px;
}
.m-product-tagline {
  font-size: 10px; color: #e60012;
  font-weight: 600; margin-bottom: 6px;
}
.m-product-desc {
  font-size: 11px; color: #888;
  line-height: 1.4;
}

/* ===== 功能亮点（SVG 图标） ===== */
.m-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px 4px;
  text-align: center;
}
.m-feat-icon {
  width: 48px; height: 48px;
  margin: 0 auto 8px;
  background: linear-gradient(135deg, #fef2f4, #fff);
  border: 1px solid #fddde2;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.m-feat-icon svg { width: 26px; height: 26px; }
.m-feat-name {
  font-size: 13px; font-weight: 600;
  color: #333; margin-bottom: 3px;
}
.m-feat-desc {
  font-size: 11px; color: #aaa;
}

/* ===== 客户案例 ===== */
.m-case-tabs {
  display: flex; gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 14px;
}
.m-case-tab {
  flex-shrink: 0;
  padding: 7px 18px; border-radius: 20px;
  font-size: 12px; color: #666;
  background: #f5f5f7; cursor: pointer;
  border: 1px solid #eee; white-space: nowrap;
}
.m-case-tab.active {
  background: linear-gradient(135deg, #e60012, #ff4364);
  color: #fff; border-color: transparent;
  font-weight: 600;
}
.m-case-card {
  background: #f9fafb;
  border: 1px solid #eee;
  border-radius: 10px; padding: 14px;
  margin-bottom: 8px;
  border-left: 3px solid #e60012;
}
.m-case-card.hidden { display: none; }
.m-case-title {
  font-size: 14px; font-weight: 600;
  color: #222; margin-bottom: 5px;
  line-height: 1.3;
}
.m-case-desc {
  font-size: 12px; color: #777;
  line-height: 1.5; margin-bottom: 6px;
}
.m-case-company {
  font-size: 11px; color: #aaa;
}

/* ===== 服务支持（SVG 图标） ===== */
.m-service-grid {
  display: flex; text-align: center;
}
.m-service-item {
  flex: 1; padding: 6px 2px;
}
.m-service-icon {
  width: 44px; height: 44px;
  margin: 0 auto 6px;
  background: linear-gradient(135deg, #fef2f4, #fff);
  border: 1px solid #fddde2;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.m-service-icon svg { width: 22px; height: 22px; }
.m-service-name {
  font-size: 11px; color: #555; line-height: 1.3;
}

/* ===== 底部固定栏 ===== */
.m-bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 14px 12px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.06);
  z-index: 9999;
  display: flex; gap: 10px;
  align-items: center;
}
.m-bottom-btn {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  padding: 13px 0;
  border-radius: 28px;
  font-size: 15px; font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  background: linear-gradient(135deg, #ff4364, #e60012);
  color: #fff;
  box-shadow: 0 4px 14px rgba(230,0,18,0.3);
}
.m-bottom-btn:active { transform: scale(0.96); }
.m-bottom-btn:nth-child(2) {
  background: linear-gradient(135deg, #e60012, #c40010);
}

/* ===== 移动端底部栏（备案号 / 版权 / sitemap） ===== */
.m-foot {
  margin-top: 10px;
  padding: 18px 16px 10px;
  text-align: center;
  background: #1e1e1e;
  border-top: 1px solid #333;
}
.m-foot-copy { font-size: 12px; color: #888; line-height: 1.6; }
.m-foot-links { margin-top: 8px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.m-foot-links a { font-size: 12px; color: #999; text-decoration: none; }
.m-foot-links a:active, .m-foot-links a:hover { color: #ff5555; }

/* ===== 免费申请试用表单 ===== */
.m-apply-section {
  background: linear-gradient(180deg, #fff5f6 0%, #fff 100%);
}
.m-apply-form { margin-top: 8px; }
.m-apply-field {
  display: flex; align-items: center;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 0 14px;
  margin-bottom: 12px;
  height: 48px;
  transition: border-color 0.2s;
}
.m-apply-field:focus-within { border-color: #e60012; }
.m-apply-icon {
  width: 22px; height: 22px;
  display: flex; align-items: center; justify-content: center;
  margin-right: 10px; flex-shrink: 0;
}
.m-apply-icon svg { width: 100%; height: 100%; display: block; }
.m-apply-field input {
  flex: 1; border: none; outline: none;
  background: transparent;
  font-size: 15px; color: #333;
  height: 100%; font-family: inherit;
  -webkit-appearance: none; appearance: none;
}
.m-apply-field input::placeholder { color: #bbb; }
.m-apply-submit {
  width: 100%; height: 48px;
  border: none; border-radius: 24px;
  background: linear-gradient(135deg, #ff4364, #e60012);
  color: #fff; font-size: 16px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 14px rgba(230,0,18,0.3);
  transition: all 0.2s; margin-top: 4px;
}
.m-apply-submit:active { transform: scale(0.97); }
.m-apply-submit:disabled { opacity: 0.6; }

/* ===== 移动端弹窗 ===== */
.m-modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 100100;
  display: flex; align-items: center; justify-content: center;
  padding: 0 32px;
}
.m-modal-box {
  background: #fff; border-radius: 16px;
  padding: 28px 24px 20px;
  width: 100%; max-width: 300px;
  text-align: center;
  animation: m-modal-in 0.25s ease;
}
@keyframes m-modal-in {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.m-modal-icon { width: 56px; height: 56px; margin: 0 auto 12px; }
.m-modal-icon svg { width: 100%; height: 100%; display: block; }
.m-modal-title { font-size: 17px; font-weight: 700; color: #1a1a1a; margin: 0 0 8px; }
.m-modal-msg { font-size: 14px; color: #666; line-height: 1.5; margin: 0 0 18px; }
.m-modal-btn {
  display: inline-block;
  min-width: 120px; height: 40px; line-height: 40px;
  padding: 0 24px; border: none; border-radius: 20px;
  background: linear-gradient(180deg, #ff4364, #e60012);
  color: #fff; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: inherit;
}
.m-modal-btn:active { transform: scale(0.96); }
