/**
 * 沧云小工程 / 沧云客连通 落地页移动端适配
 * 保证与 PC 端相同模块完整展示，仅改为纵向堆叠
 */

@media (max-width: 768px) {
  html,
  body.main-body {
    overflow-x: hidden;
  }

  .main-body .theme-epms-landing,
  .main-body .theme-klt-landing {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .theme-epms-landing .container,
  .theme-klt-landing .container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
  }

  /* ===== 沧云小工程 ===== */
  .theme-epms-landing .epms-hero {
    padding: 4.5rem 0 3rem;
  }

  .theme-epms-landing .epms-hero h1 {
    font-size: 1.625rem;
  }

  .theme-epms-landing .epms-hero-lead {
    font-size: 0.9375rem;
    padding: 0 0.25rem;
  }

  .theme-epms-landing .epms-hero-actions,
  .theme-epms-landing .epms-landing-cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .theme-epms-landing .epms-hero-actions a,
  .theme-epms-landing .epms-landing-cta-actions .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .theme-epms-landing .epms-serves-module,
  .theme-epms-landing .epms-method,
  .theme-epms-landing .epms-platform,
  .theme-epms-landing .epms-cases,
  .theme-epms-landing .epms-landing-cta {
    padding: 3rem 0;
  }

  .main-body .theme-epms-landing .container.epms-serves-item {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    min-height: 0 !important;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .theme-epms-landing .epms-serves-item .epms-serves-copy {
    order: 1;
    width: 100%;
  }

  .theme-epms-landing .epms-serves-item .epms-serves-visual {
    order: 2;
    width: 100%;
    min-height: 0;
  }

  .theme-epms-landing .epms-serves-copy h2 {
    font-size: 1.375rem;
  }

  .theme-epms-landing .epms-module-num {
    font-size: 3.5rem;
  }

  .theme-epms-landing .epms-mock {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .theme-epms-landing .epms-mock-table {
    font-size: 11px;
  }

  .theme-epms-landing .epms-mock-table th,
  .theme-epms-landing .epms-mock-table td {
    padding: 6px 8px;
  }

  .theme-epms-landing .epms-cases-head {
    text-align: center;
  }

  .theme-epms-landing .epms-cases-head .epms-section-title,
  .theme-epms-landing .epms-platform-sub {
    padding: 0 0.25rem;
  }

  .theme-epms-landing .epms-platform-card {
    min-height: 0;
    padding: 1.5rem 1rem;
  }

  .theme-epms-landing .epms-case-card {
    flex-direction: column;
  }

  .theme-epms-landing .epms-case-thumb {
    width: 100%;
    min-height: 120px;
  }

  /* ===== 沧云客连通 ===== */
  .theme-klt-landing .klt-hero {
    padding: 4.5rem 0 3rem;
  }

  .theme-klt-landing .klt-hero h1 {
    font-size: 1.75rem;
  }

  .theme-klt-landing .klt-hero-sub,
  .theme-klt-landing .klt-hero-lead {
    font-size: 0.9375rem;
    padding: 0 0.25rem;
  }

  .theme-klt-landing .klt-hero-visual {
    min-height: 260px;
    width: 100%;
    overflow: hidden;
    margin-top: 0.5rem;
  }

  .theme-klt-landing .klt-hero-orbit {
    width: min(260px, 78vw);
    height: min(260px, 78vw);
    margin: 0 auto;
  }

  .theme-klt-landing .klt-hero-float {
    font-size: 11px;
    padding: 4px 8px;
    white-space: nowrap;
  }

  .theme-klt-landing .klt-hero-float--1 {
    top: 8%;
    right: 0;
    left: auto;
  }

  .theme-klt-landing .klt-hero-float--2 {
    bottom: 12%;
    left: 0;
  }

  .theme-klt-landing .klt-hero-float--3 {
    top: 42%;
    left: 0;
  }

  .theme-klt-landing .klt-hero-actions,
  .theme-klt-landing .klt-cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .theme-klt-landing .klt-hero-actions a,
  .theme-klt-landing .klt-cta-actions a {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .theme-klt-landing .klt-feat,
  .theme-klt-landing .klt-why,
  .theme-klt-landing .klt-reviews,
  .theme-klt-landing .klt-faq {
    padding: 3rem 0;
  }

  .theme-klt-landing .klt-feat-inner {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem;
  }

  .theme-klt-landing .klt-feat--reverse .klt-feat-inner,
  .theme-klt-landing .klt-feat--reverse .klt-feat-inner > * {
    direction: ltr;
  }

  .theme-klt-landing .klt-feat-copy {
    order: 1;
    width: 100%;
  }

  .theme-klt-landing .klt-visual {
    order: 2;
    width: 100%;
    min-height: 0;
  }

  .theme-klt-landing .klt-visual-panel {
    max-width: 100%;
  }

  .theme-klt-landing .klt-feat-items {
    grid-template-columns: 1fr;
  }

  .theme-klt-landing .klt-phones {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .theme-klt-landing .klt-phone {
    width: 72px;
  }

  .theme-klt-landing .klt-flow-ring {
    transform: scale(0.9);
  }
}

@media (max-width: 480px) {
  .theme-epms-landing .epms-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .theme-epms-landing .epms-stat-num {
    font-size: 1.5rem;
  }

  .theme-klt-landing .klt-pillars {
    gap: 0.75rem;
  }

  .theme-klt-landing .klt-pillar {
    padding: 1rem;
  }
}
