.bbai-mobile-nav,
.bbai-mobile-doc-shell {
  display: none;
}

@media (max-width: 820px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  a,
  button,
  input,
  select,
  textarea,
  [role="button"] {
    min-height: 44px;
  }

  button,
  [role="button"] {
    min-width: 44px;
  }

  img,
  video,
  canvas {
    max-width: 100% !important;
    height: auto;
  }

  .bbai-mobile-nav {
    position: relative;
    z-index: 80;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px;
    background: #fff;
    border-bottom: 1px solid #dfe5ee;
    box-shadow: 0 8px 24px rgba(20, 45, 80, 0.07);
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  }

  .bbai-mobile-nav strong {
    color: #0d2852;
    font-size: 14px;
    line-height: 1.4;
  }

  .bbai-mobile-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: #18345f;
    border: 1px solid #dfe6f0;
    border-radius: 10px;
    background: #f8faff;
    font-size: 15px;
    font-weight: 750;
    text-decoration: none;
  }

  .bbai-mobile-nav a::after {
    content: "→";
    color: #2468e8;
  }

  body.bbai-doc-mobile > main > :not(.bbai-mobile-doc-shell),
  body.bbai-doc-mobile #main > :not(.bbai-mobile-doc-shell) {
    display: none !important;
  }

  body.bbai-doc-mobile .site-header,
  body.bbai-doc-mobile .product-menu,
  body.bbai-doc-mobile .nav-toggle {
    display: none !important;
  }

  .bbai-mobile-doc-shell {
    display: block;
    overflow: hidden;
    color: #17243b;
    background: #f5f7fb;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.7;
  }

  .bbai-mobile-doc-shell *,
  .bbai-mobile-doc-shell *::before,
  .bbai-mobile-doc-shell *::after {
    box-sizing: border-box;
  }

  .bbai-mobile-section {
    width: min(100% - 28px, 680px);
    margin: 0 auto;
    padding: 44px 0;
  }

  .bbai-mobile-section + .bbai-mobile-section {
    border-top: 1px solid #dfe5ee;
  }

  .bbai-mobile-eyebrow {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 5px 10px;
    color: #1d5ed3;
    border: 1px solid #bfd1f3;
    border-radius: 999px;
    background: #edf4ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .bbai-mobile-hero {
    padding-top: 30px;
    padding-bottom: 48px;
    background:
      radial-gradient(480px 260px at 95% 0%, rgba(41, 105, 231, 0.16), transparent 65%),
      linear-gradient(180deg, #fff 0%, #f5f8ff 100%);
  }

  .bbai-mobile-hero h1 {
    margin: 16px 0 14px;
    color: #0b1f3d;
    font-size: clamp(30px, 8.5vw, 38px);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.035em;
  }

  .bbai-mobile-hero h1 span {
    color: #2468e8;
  }

  .bbai-mobile-lead {
    margin: 0;
    color: #4b5c75;
    font-size: 16px;
    line-height: 1.8;
  }

  .bbai-mobile-hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
  }

  .bbai-mobile-button {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    color: #fff;
    border: 0;
    border-radius: 10px;
    background: #2468e8;
    box-shadow: 0 10px 26px rgba(36, 104, 232, 0.22);
    font: inherit;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
  }

  .bbai-mobile-button.secondary {
    color: #19416f;
    border: 1px solid #cad6e7;
    background: #fff;
    box-shadow: none;
  }

  .bbai-mobile-cockpit {
    margin-top: 24px;
    padding: 16px;
    color: #eef5ff;
    border-radius: 16px;
    background: linear-gradient(150deg, #0b1d38, #122b51);
    box-shadow: 0 20px 42px rgba(10, 34, 72, 0.2);
  }

  .bbai-mobile-cockpit-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 800;
  }

  .bbai-mobile-cockpit-head i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #52d28a;
    box-shadow: 0 0 0 4px rgba(82, 210, 138, 0.15);
  }

  .bbai-mobile-kpis {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .bbai-mobile-kpi {
    min-height: 70px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 11px;
    background: rgba(255,255,255,0.055);
  }

  .bbai-mobile-kpi span {
    display: block;
    color: #9fb5d4;
    font-size: 12px;
  }

  .bbai-mobile-kpi b {
    display: block;
    margin-top: 3px;
    color: #fff;
    font-size: 22px;
    line-height: 1.3;
  }

  .bbai-mobile-kpi b.alert {
    color: #ffbc63;
  }

  .bbai-mobile-title {
    margin: 14px 0 8px;
    color: #102442;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.35;
    letter-spacing: -0.025em;
  }

  .bbai-mobile-subtitle {
    margin: 0 0 22px;
    color: #62718a;
    font-size: 15px;
  }

  .bbai-mobile-card {
    padding: 22px 18px;
    border: 1px solid #dce4ef;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(21, 50, 86, 0.06);
  }

  .bbai-mobile-card + .bbai-mobile-card {
    margin-top: 12px;
  }

  .bbai-mobile-card h3 {
    margin: 0;
    color: #102442;
    font-size: 22px;
    line-height: 1.4;
  }

  .bbai-mobile-card .price {
    display: block;
    margin: 10px 0;
    color: #2468e8;
    font-size: 30px;
    font-weight: 900;
  }

  .bbai-mobile-card ul {
    margin: 12px 0 18px;
    padding: 0;
    list-style: none;
  }

  .bbai-mobile-card li {
    position: relative;
    margin-top: 9px;
    padding-left: 22px;
    color: #41536f;
    font-size: 15px;
  }

  .bbai-mobile-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #17894f;
    font-weight: 900;
  }

  .bbai-mobile-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin: 0 -14px;
    padding: 0 14px 12px;
    scrollbar-width: none;
  }

  .bbai-mobile-tabs::-webkit-scrollbar {
    display: none;
  }

  .bbai-mobile-tabs button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 14px;
    color: #3a4e69;
    border: 1px solid #d4deeb;
    border-radius: 999px;
    background: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
  }

  .bbai-mobile-tabs button[aria-selected="true"] {
    color: #fff;
    border-color: #2468e8;
    background: #2468e8;
  }

  .bbai-mobile-industry-panel {
    padding: 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #dce4ef;
  }

  .bbai-mobile-industry-panel[hidden] {
    display: none;
  }

  .bbai-mobile-industry-panel strong {
    color: #b42318;
  }

  .bbai-mobile-partner {
    padding: 26px 20px;
    color: #fff;
    border-radius: 16px;
    background: linear-gradient(145deg, #112a4d, #0b1b32);
  }

  .bbai-mobile-partner .commission {
    display: block;
    margin: 16px 0;
    color: #ffd26a;
    font-size: clamp(32px, 10vw, 46px);
    font-weight: 950;
    line-height: 1.2;
  }

  .bbai-mobile-steps {
    display: grid;
    gap: 10px;
    margin: 18px 0;
  }

  .bbai-mobile-steps div {
    padding: 13px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    font-size: 15px;
  }

  .bbai-mobile-trust {
    display: grid;
    gap: 10px;
  }

  .bbai-mobile-trust article {
    padding: 16px;
    border-left: 4px solid #2468e8;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(21, 50, 86, 0.05);
  }

  .bbai-mobile-trust strong {
    display: block;
    color: #102442;
    font-size: 17px;
  }

  .bbai-mobile-trust p {
    margin: 5px 0 0;
    color: #5b6b82;
    font-size: 14px;
  }

  .bbai-mobile-security {
    margin-top: 12px;
    padding: 16px;
    color: #19416f;
    border: 1px solid #bcd1ef;
    border-radius: 10px;
    background: #edf5ff;
    font-size: 14px;
  }

  .bbai-mobile-version {
    display: block;
    margin-bottom: 12px;
    color: #66758b;
    font-size: 13px;
    font-weight: 700;
  }

  .bbai-mobile-sticky-cta {
    position: fixed;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 14px;
    z-index: 100;
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 12px;
    background: #2468e8;
    box-shadow: 0 12px 32px rgba(17, 51, 108, 0.28);
    font-size: 16px;
    font-weight: 850;
    text-decoration: none;
  }

  body.bbai-doc-mobile {
    padding-bottom: 82px;
  }
}
