/* 背景渐变色取自 logo 主色调 */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'PingFang SC', 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
  background: #D9F4FF;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 92vh;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 150px 0 150px;
  box-sizing: border-box;
  gap: 0px;
}

.left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}

.title-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.inline-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 0.7em;
  align-self: center;
}

.title {
  font-size: 2.5rem !important;
  font-weight: 200;
  color: #1a3c6b;
  font-family: 'Montserrat', 'PingFang SC', 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.subtitle {
  font-size: 1.6rem;
  color: #2186AD;
  font-family: 'Montserrat', 'PingFang SC', 'Helvetica Neue', Arial, 'Microsoft YaHei', sans-serif;
  font-weight: 200;
  margin-bottom: 2em;
  margin-top: 0em;
  width: 450px;
}

.qrcode-section {
  margin-top: 1em;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 0em 0.8em 1.2em 0.8em;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.qrcode-tip {
  font-size: 1rem;
  color: #1a3c6b;
  margin-bottom: 0.8em;
  letter-spacing: 0.05em;
  font-weight: 200;
}

.qrcode-img {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
  background: #fff;
  transition: transform 0.22s cubic-bezier(.22, 1, .36, 1), box-shadow 0.22s cubic-bezier(.22, 1, .36, 1);
  cursor: pointer;
}

.qrcode-img:hover {
  transform: scale(1.7) translateY(-8px);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.18);
  z-index: 10;
}

.right {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0 0 0;
}

.logo-img {
  width: 260px;
  max-width: 90vw;
  height: auto;
  border-radius: 26px;
  background: none;
  padding: 0;
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.06);
}

/* 设备展示区域样式 */
.device-showcase {
  position: relative;
  width: 600px;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* 移动端优化 */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.device-img {
  position: absolute;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.3s ease;
}

/* MacBook 图片 - 最底层，最大 */
.macbook-img {
  width: 500px;
  height: auto;
  z-index: 1;
  bottom: 0;
  left: 25%;
}

/* iPad 图片 - 中间层，中等大小，压住MacBook */
.ipad-img {
  width: 300px;
  height: auto;
  z-index: 2;
  bottom: 0;
  left: 5%;
}

/* iPhone 图片 - 最顶层，最小，压住iPad */
.iphone-img {
  width: 80px;
  height: auto;
  z-index: 3;
  bottom: 0;
  left: 0;
}


.footer-beian {
  width: 100%;
  text-align: center;
  margin-bottom: 36px;
  margin-top: 18px;
  font-size: 0.85rem;
  color: #7a8fa6;
  letter-spacing: 0.04em;
  font-weight: 200;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.gongan-link {
  display: inline-flex;
  align-items: center;
  color: #7a8fa6;
  text-decoration: none;
  margin-left: 4px;
}

.gongan-link:hover {
  color: #2186AD;
  text-decoration: underline;
}

.gongan-icon {
  width: 20px;
  height: 20px;
  margin-right: 2px;
  vertical-align: middle;
  display: inline-block;
}

.beian-sep {
  margin: 0 6px;
  color: #b0b0b0;
}

.beian-link {
  color: #7a8fa6;
  text-decoration: none;
  transition: color 0.2s;
}

.beian-link:hover {
  color: #2186AD;
  text-decoration: underline;
}

.qrcode-tip-pc {
  display: inline;
}

.qrcode-tip-mobile {
  display: none;
}

.sousou-img {
  align-self: center;
  margin-left: 16px;
  height: 38px;
}

.footer-beian-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.sousou-img-mobile {
  display: none;
}

@media (max-width: 1200px) {
  .sousou-img-pc {
    display: none;
  }

  .sousou-img-mobile {
    display: block;
    margin: 0 auto 0 auto;
    height: 32px;
    max-width: 96vw;
    text-align: center;
    position: static;
  }
}

@media (max-width: 600px) {
  .sousou-img-mobile {
    margin: 0 auto 0 auto;
    height: 32px;
    max-width: 96vw;
  }
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .container {
    flex-direction: column;
    align-items: stretch;
    padding: 34px 0 56px 0;
    min-height: 80vh;
  }

  .left,
  .right {
    max-width: 100%;
    padding: 0;
    align-items: center;
  }

  .left {
    margin-bottom: 10%;
  }

  .right {
    padding: 20px 0;
  }

  .title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.1rem;
    padding: 0 50px 0 50px;
    text-align: center;
    width: 450px;
  }

  .logo-img {
    width: 220px;
  }

  .device-showcase {
    width: 80%;
    height: 320px;
    margin: 20px 0;
  }

  .macbook-img {
    width: 80%;
    height: auto;
    z-index: 1;
    bottom: 0;
    left: 20%;
  }

  .ipad-img {
    width: 45%;
    height: auto;
    z-index: 2;
    bottom: 0;
    left: 5%;
  }

  .iphone-img {
    width: 12%;
    height: auto;
    z-index: 3;
    bottom: 0;
    left: 0;
  }

  .qrcode-section {
    margin-top: 0.5em;
  }

  .qrcode-tip-pc {
    display: none;
  }

  .qrcode-tip-mobile {
    display: inline;
  }
}

@media (max-width: 600px) {
  .title {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.1rem;
    padding: 0 5% 0 5%;
    text-align: center;
    width: 70%;
  }

  .logo-img {
    width: 220px;
  }

  .device-showcase {
    width: 80%;
    height: 170px;
    margin: 0px 0;
  }

  .macbook-img {
    width: 80%;
    height: auto;
    z-index: 1;
    bottom: 0;
    left: 20%;
  }

  .ipad-img {
    width: 45%;
    height: auto;
    z-index: 2;
    bottom: 0;
    left: 5%;
  }

  .iphone-img {
    width: 12%;
    height: auto;
    z-index: 3;
    bottom: 0;
    left: 0;
  }
}

@media (max-width: 1200px) {
  .qrcode-img:hover {
    transform: none;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.08);
    z-index: auto;
  }
}

@media (max-width: 1200px) {
  .footer-beian {
    flex-direction: column;
    gap: 2px;
    font-size: 0.92rem;
  }

  .beian-sep {
    display: none;
  }
}

@media (max-width: 1200px) {
  .title {
    font-size: 2.5rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 600px) {
  .title {
    font-size: 2.5rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}