/**
 * 新租户手机端专用壳层 — 仅 body.mobile-app 生效
 */
body.mobile-app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100dvh;
  background: #eef4fb;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}

body.mobile-app .site-topbar,
body.mobile-app .site-nav,
body.mobile-app .footer,
body.mobile-app .cta .btn-outline,
body.mobile-app .page-index .cta-buttons .btn-outline {
  display: none !important;
}

body.mobile-app .page-index .hero,
body.mobile-app .page-about .about-hero {
  padding-top: calc(3.25rem + env(safe-area-inset-top, 0px));
}

body.mobile-app:has(.mobile-wechat-hint) .page-index .hero,
body.mobile-app:has(.mobile-wechat-hint) .page-about .about-hero {
  padding-top: calc(5.5rem + env(safe-area-inset-top, 0px));
}

body.mobile-app .hero {
  flex-direction: column;
  padding-left: 1rem;
  padding-right: 1rem;
}

body.mobile-app .hero-content,
body.mobile-app .hero-visual {
  width: 100%;
  max-width: 100%;
}

body.mobile-app .hero-title {
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

body.mobile-app .hero-title-welcome {
  font-size: 0.92rem;
  letter-spacing: 0.1em;
}

body.mobile-app .hero-title-main {
  font-size: 1.62rem;
  line-height: 1.32;
}

body.mobile-app .hero-positioning-label {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 0.65rem;
  text-align: center;
}

body.mobile-app .hero-desc--positioning {
  max-width: none;
  font-size: 0.9rem;
  line-height: 1.65;
  text-align: left;
  margin-bottom: 1.25rem;
}

body.mobile-app .hero-highlights-card {
  width: 100%;
  padding: 1.1rem 0.85rem 1rem;
  border-radius: 14px;
}

body.mobile-app .hero-highlights-grid {
  gap: 0.65rem;
}

body.mobile-app .hero-highlight-tile {
  padding: 0.85rem 0.9rem;
}

body.mobile-app .hero-highlight-text {
  font-size: 0.84rem;
  line-height: 1.58;
}

body.mobile-app .page-index .features,
body.mobile-app .page-index .benefits {
  display: none !important;
}

body.mobile-app .page-index .cta--home {
  padding: 1rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  background: transparent;
  box-shadow: none;
}

body.mobile-app .page-index .cta--home .cta-buttons {
  margin: 0;
}

body.mobile-app .page-index .btn-primary--block {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border-radius: 12px;
}

body.mobile-app .hero-stats {
  flex-wrap: wrap;
  gap: 0.75rem;
}

body.mobile-app .stat-divider {
  display: none;
}

body.mobile-app .features-grid {
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding: 0 1rem;
}

body.mobile-app .benefits-container {
  flex-direction: column;
  padding: 0 1rem;
}

body.mobile-app .benefits-image {
  display: none;
}

body.mobile-app .section-header,
body.mobile-app .cta-content {
  padding-left: 1rem;
  padding-right: 1rem;
}

body.mobile-app .page-apply .apply-shell,
body.mobile-app .page-login .login-shell {
  padding-top: calc(3.5rem + env(safe-area-inset-top, 0px));
  padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
}

body.mobile-app:has(.mobile-wechat-hint) .page-apply .apply-shell,
body.mobile-app:has(.mobile-wechat-hint) .page-login .login-shell {
  padding-top: calc(5.75rem + env(safe-area-inset-top, 0px));
}

/* 手机端顶栏 */
.mobile-app-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: calc(0.55rem + env(safe-area-inset-top, 0px)) 0.85rem 0.55rem;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(46, 134, 222, 0.18);
  backdrop-filter: blur(10px);
}

.mobile-app-brand {
  font-weight: 700;
  font-size: 0.95rem;
  color: #1e293b;
  text-decoration: none;
  line-height: 1.2;
}

.mobile-app-brand small {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: #64748b;
}

.mobile-app-header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.mobile-app-header-actions .site-support-btn {
  font-size: 0.75rem;
  padding: 0.35rem 0.55rem;
}

.mobile-app-header-actions .lang-switch {
  scale: 0.9;
}

.mobile-wechat-hint {
  position: sticky;
  top: 0;
  z-index: 700;
  margin: 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.78rem;
  line-height: 1.5;
  color: #991b1b;
  background: #fef2f2;
  border-bottom: 1px solid #fecaca;
}

.mobile-wechat-hint strong {
  color: #7f1d1d;
}
