.mobile-container,
.phoneheader,
.dian {
  display: none;
}

@media screen and (min-width: 320px) and (max-width: 800px) {
  .wrap {
    width: 92.5%;
  }

  header.pc-header {
    display: none;
  }

  .dian {
    display: block;
    height: 70px;
  }

  /* 移动顶栏：参照热数，固定 px */
  .phoneheader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: #fff;
    z-index: 999;
    box-shadow: none;
    padding: 0 25px;
    box-sizing: border-box;
  }

  .phoneheader .logo {
    width: 44px;
    flex-shrink: 0;
  }

  .phoneheader .logo a {
    display: block;
    line-height: 0;
  }

  .phoneheader .logo .logo-mobile-icon {
    display: block;
    width: 44px;
    height: 40px;
    object-fit: contain;
  }

  .phoneheader .pheader-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }

  .phoneheader-lang {
    display: none;
  }

  .phoneheader .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 44px;
    height: 44px;
    margin-right: -12px;
  }

  .phoneheader .menu img {
    width: 20px;
    height: auto;
    display: block;
    object-fit: contain;
    filter: brightness(0);
  }

  .mobile-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 18, 69, 0.45);
    z-index: 99999;
  }

  .mobile-container .mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    padding: 0;
    overflow-y: auto;
    box-shadow: -6px 0 32px rgba(0, 18, 69, 0.12);
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 18px;
  }

  .mobile-nav-logo {
    display: block;
    width: 140px;
    flex-shrink: 0;
    line-height: 0;
  }

  .mobile-nav-logo img {
    width: 100%;
    height: auto;
    display: block;
  }

  .mobile-nav-close {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    margin: -6px -6px -6px 0;
    border: none;
    padding: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav-close:active {
    background: #f3f4f6;
  }

  .mobile-nav-close img {
    width: 12px;
    display: block;
  }

  .mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 8px 0 40px;
  }

  .mobile-nav-list > li {
    margin: 0;
    padding: 0;
    border-bottom: none;
    line-height: normal;
  }

  .mobile-nav-list > li > a {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition:
      background 0.2s ease,
      color 0.2s ease;
  }

  .mobile-nav-list > li > a:active {
    background: #f8f9fc;
  }

  .mobile-nav-list > li.nav-active > a,
  .mobile-nav-list > li > a:hover {
    color: #009dde;
  }

  .mobile-nav .sub {
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-nav li.has-sub.is-open > .sub {
    display: block;
  }

  .mobile-nav .sub > li {
    border-bottom: none;
    line-height: normal;
    padding-left: 0;
  }

  .mobile-nav .sub > li > a {
    display: block;
    text-align: left;
    padding: 12px 30px 12px 44px;
    font-size: 13px;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.7);
  }

  .mobile-nav-list > li.nav-lang {
    padding: 0;
    border-top: 1px solid #eeeeee;
    margin-top: 8px;
  }

  .mobile-nav .nav-lang__toggle,
  .mobile-nav .nav-lang__menu button,
  .mobile-nav .nav-lang__menu a.js-lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 20px 30px;
    border: 0;
    background: transparent;
    color: #1a1a1a;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
  }

  .mobile-nav .nav-lang__toggle {
    min-height: 0;
    font-size: 14px;
    line-height: 1.4;
  }

  .mobile-nav .nav-lang__menu {
    display: none;
    margin: 0;
    padding: 0 0 8px;
    list-style: none;
  }

  .mobile-nav .nav-lang__menu li {
    padding: 0;
    border-bottom: none;
    line-height: normal;
  }

  .mobile-nav .nav-lang.is-open .nav-lang__menu {
    display: block;
  }

  .mobile-nav .nav-lang__menu button,
  .mobile-nav .nav-lang__menu a.js-lang-option {
    min-height: 0;
    padding: 12px 30px 12px 44px;
    font-size: 13px;
    font-weight: 400;
  }

  .mobile-nav .nav-lang__menu button.is-active,
  .mobile-nav .nav-lang__menu button:hover,
  .mobile-nav .nav-lang__menu a.js-lang-option.is-active,
  .mobile-nav .nav-lang__menu a.js-lang-option:hover {
    color: #009dde;
  }

  .mobile-nav .nav-lang img {
    display: block;
    width: 16px;
    height: 11px;
    flex-shrink: 0;
    object-fit: contain;
  }
}

/* ===== 布局壳断点（参照热数：跳档，不流体缩字号）===== */

/* ≥801：顶栏按 Figma 42:4345，左右锁 40px */
@media screen and (min-width: 801px) {
  .pc-header .header-wrap {
    padding: 0 40px;
  }

  .pc-header .logo {
    width: 262px;
    height: 40px;
  }
  .pc-header .header-navs {
    gap: 40px;
  }

  .pc-header .header-navs a {
    font-size: 16px;
    letter-spacing: -0.08px;
  }

  .pc-header .header-sub a {
    font-size: 14px;
  }

  .pc-header .header-lang__menu > li > a,
  .pc-header .header-lang__menu > li > button {
    font-size: 14px;
  }
}

/* 801 ~ 1023：wrap 92.5%（热数同档思路）+ 字号 px */
@media screen and (min-width: 801px) and (max-width: 1023px) {
  .wrap {
    width: 92.5%;
  }

  .scale-stats,
  .about-intro,
  .sol-services,
  .sol-hardware,
  .sol-partners,
  .contact-info,
  .contact-main {
    padding-left: 0;
    padding-right: 0;
  }

  .scale-stats__inner,
  .about-intro__inner,
  .sol-services__inner,
  .sol-hardware__inner,
  .sol-partners__inner,
  .contact-info__inner,
  .contact-main__inner,
  .cta-invite {
    width: 92.5%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .sol-plans__inner,
  .sol-plans__carousel,
  .sol-plans__carousel:not(.swiper-initialized) .sol-plans__list {
    width: 100%;
    max-width: none;
  }

  .sol-services__carousel:not(.swiper-initialized) .sol-services__track {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-intro {
    padding-left: 40px;
    padding-right: 40px;
  }

  .about-intro__inner {
    width: 100%;
    gap: 48px;
  }

  .about-intro__media {
    width: 480px;
    height: 300px;
  }

  .site-footer__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 60px 40px;
  }

  /* 字号 px（桌面稿量，跳档不缩放） */
  .banner__title {
    font-size: 64px;
    letter-spacing: 6.4px;
  }

  .banner__subtitle {
    font-size: 24px;
    letter-spacing: 2.4px;
  }

  .scale-stats__title,
  .about-intro__title,
  .sol-section-title,
  .sol-hardware__title,
  .sol-partners__title,
  .cta-invite__title {
    font-size: 36px;
  }

  .scale-stats__num {
    font-size: 56px;
  }

  .scale-stats__label,
  .about-intro__desc,
  .sol-service-card__desc,
  .sol-hw-tab__desc,
  .contact-info__value,
  .site-footer__icp,
  .site-footer__list a {
    font-size: 14px;
  }

  .sol-service-card__title,
  .sol-plan-card__title,
  .sol-hw-tab__name,
  .site-footer__heading {
    font-size: 20px;
  }

  .pc-header .logo {
    width: 200px;
    height: 30px;
  }

  .pc-header .header-right,
  .pc-header .header-navs {
    gap: 28px;
  }
}

/* 1024 ~ 1279：wrap 80% + 字号 px */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .wrap {
    width: 80%;
  }

  .scale-stats,
  .about-intro,
  .sol-services,
  .sol-hardware,
  .sol-partners,
  .contact-info,
  .contact-main {
    padding-left: 0;
    padding-right: 0;
  }

  .scale-stats__inner,
  .about-intro__inner,
  .sol-services__inner,
  .sol-hardware__inner,
  .sol-partners__inner,
  .contact-info__inner,
  .contact-main__inner,
  .cta-invite {
    width: 80%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .sol-plans__inner,
  .sol-plans__carousel,
  .sol-plans__carousel:not(.swiper-initialized) .sol-plans__list {
    width: 100%;
    max-width: none;
  }

  .sol-services__carousel:not(.swiper-initialized) .sol-services__track {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-intro {
    padding-left: 40px;
    padding-right: 40px;
  }

  .about-intro__inner {
    width: 100%;
    gap: 64px;
  }

  .about-intro__media {
    width: 520px;
    height: 325px;
  }

  .site-footer__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 60px 40px;
  }

  .banner__title {
    font-size: 72px;
    letter-spacing: 7.2px;
  }

  .banner__subtitle {
    font-size: 28px;
    letter-spacing: 2.8px;
  }

  .scale-stats__title,
  .about-intro__title,
  .sol-section-title,
  .sol-hardware__title,
  .sol-partners__title,
  .cta-invite__title {
    font-size: 40px;
  }

  .scale-stats__num {
    font-size: 64px;
  }

  .scale-stats__label,
  .about-intro__desc,
  .sol-service-card__desc,
  .sol-hw-tab__desc,
  .contact-info__value,
  .site-footer__icp,
  .site-footer__list a {
    font-size: 15px;
  }

  .sol-service-card__title,
  .sol-plan-card__title,
  .sol-hw-tab__name,
  .site-footer__heading {
    font-size: 22px;
  }
}

/* ≥1280：锁 1216 安全区；顶栏仍 40px；页脚/Banner 通栏；服务 3 列 */
@media screen and (min-width: 1280px) {
  .scale-stats,
  .about-intro,
  .sol-services,
  .sol-hardware,
  .sol-partners,
  .contact-info,
  .contact-main {
    padding-left: 0;
    padding-right: 0;
  }

  .scale-stats__inner,
  .about-intro__inner,
  .sol-services__inner,
  .sol-hardware__inner,
  .sol-partners__inner,
  .contact-info__inner,
  .contact-main__inner {
    width: 12.16rem;
    max-width: calc(100% - 80px);
    margin-left: auto;
    margin-right: auto;
  }

  .cta-invite {
    width: 12.16rem;
    max-width: calc(100% - 80px);
  }

  .sol-services__carousel:not(.swiper-initialized) .sol-services__track {
    grid-template-columns: repeat(3, 1fr);
  }

  .site-footer__inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0.6rem max(40px, calc((100% - 12.16rem) / 2));
  }

  .pc-header .header-wrap {
    padding: 0 40px;
  }
}

body.is-nav-open {
  overflow: hidden;
}

@media screen and (min-width: 320px) and (max-width: 800px) {
  .phoneheader .menu {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wow {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
