/* ============================================================
   LinkUp 官网 · 移动端适配
   原站桌面版是固定 1200px 布局，无 media query。
   这里补充响应式规则，保持同一套设计语言。
   ============================================================ */

@media (max-width: 900px) {

  html, body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }

  /* 页面容器：去掉右侧滚动条补偿 */
  .page-home {
    padding-right: 0 !important;
    max-width: 100% !important;
  }

  /* ---------- 所有 section：竖排、auto 高度 ---------- */
  .section {
    height: auto !important;
    min-height: 0 !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 48px 20px !important;
    gap: 28px !important;
    background-size: cover !important;
  }

  .section .flex-left,
  .section .flex-right {
    width: 100% !important;
    max-width: 480px !important;
    order: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* ---------- 首屏 ---------- */
  .section-1 {
    padding: 64px 20px 44px !important;
    justify-content: flex-start !important;
  }

  .section-1 .flex-left .logo {
    width: 92px !important;
    height: 92px !important;
    border-radius: 14px !important;
  }

  .section-1 .flex-left .slogan {
    height: 46px !important;
    width: auto !important;
    margin-top: 20px !important;
  }

  .section-1 .flex-left .desc {
    height: 34px !important;
    width: auto !important;
    margin-top: 8px !important;
  }

  .section-1 .flex-left .left-download {
    margin-top: 22px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .section-1 .flex-left .left-download .download-icon {
    width: 128px !important;
    height: 44px !important;
  }

  .section-1 .flex-left .left-download .icon-left {
    margin-left: 0 !important;
  }

  /* 手机端不显示二维码按钮 */
  .section-1 .flex-left .left-download .qrcode-wrap {
    display: none !important;
  }

  .section-1 .flex-left .left-download .qrcode-wrap .btn-qrcode {
    width: 44px !important;
    height: 44px !important;
    background-size: contain !important;
  }

  /* 移动端点按展开二维码（hover 在触屏无效） */
  .section-1 .flex-left .left-download .qrcode-wrap .qrcode {
    width: 150px !important;
  }

  .section-1 .flex-left .left-download .qrcode-wrap:active .qrcode,
  .section-1 .flex-left .left-download .qrcode-wrap:focus-within .qrcode {
    display: block !important;
  }

  /* 首屏右侧手机图 */
  .section-1 .flex-right {
    margin-top: 8px !important;
    position: relative !important;
  }

  .section-1 .flex-right .img {
    height: auto !important;
    width: 100% !important;
    max-width: 430px !important;
  }

  /* 隐藏装饰元素，避免小屏错位 */
  .section-1 .flex-right .right-plant,
  .section-1 .flex-right .right-bottom-line,
  .section-1 .flex-right .right-line {
    display: none !important;
  }

  /* ---------- 文案 ---------- */
  .section .flex-left .img-title,
  .section .flex-right .img-title {
    font-size: 23px !important;
    font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    letter-spacing: -.3px !important;
    color: #324058 !important;
  }

  .section .flex-left .img-text .text-title,
  .section .flex-right .img-text .text-title {
    font-size: 17px !important;
    margin: 20px 0 8px !important;
    font-weight: 700 !important;
    color: #324058 !important;
  }

  .section .flex-left .img-text .text-detail,
  .section .flex-right .img-text .text-detail {
    font-size: 13.5px !important;
    line-height: 1.75 !important;
    color: #99a0ac !important;
    font-weight: 400 !important;
  }

  .section .flex-left .img-tip,
  .section .flex-right .img-tip {
    font-size: 11px !important;
    line-height: 1.7 !important;
    margin-top: 14px !important;
    color: #9aa1ad !important;
  }

  /* ---------- 功能图 ---------- */
  .section .flex-left .img,
  .section .flex-right .img {
    width: 100% !important;
    max-width: 420px !important;
    height: auto !important;
  }

  .section-double .flex-right,
  .section-single .flex-right,
  .section-single .flex-left {
    margin-left: 0 !important;
    width: 100% !important;
  }

  /* ---------- 页脚 ---------- */
  .footer-wrap {
    height: auto !important;
    padding: 30px 20px 34px !important;
  }

  .footer-wrap .footer {
    width: 100% !important;
    max-width: 480px !important;
    flex-direction: column !important;
    gap: 16px !important;
    padding-top: 0 !important;
  }

  .footer-wrap .flex-right {
    margin-left: 0 !important;
  }

  .footer-wrap p {
    font-size: 12px !important;
    line-height: 2 !important;
    text-align: center !important;
    word-break: break-all !important;
  }

  .footer-wrap .flex-right p {
    text-align: center !important;
  }
}

/* 超窄屏进一步压缩 */
@media (max-width: 400px) {
  .section {
    padding: 38px 16px !important;
  }
  .section .flex-left .img-title,
  .section .flex-right .img-title {
    font-size: 20px !important;
  }
  .section-1 .flex-left .logo {
    width: 78px !important;
    height: 78px !important;
  }
  .section-1 .flex-left .left-download .download-icon {
    width: 118px !important;
    height: 40px !important;
  }
}
