/* ============================================================
   移动端独立样式 (≤820px) — 不缩放桌面, 重排为手机专属结构
   商城 / 用户控制台共用
   ============================================================ */
@media (max-width:820px){
  /* ---- 基础节奏 ---- */
  html{-webkit-text-size-adjust:100%}
  body{background:#f5f8fc;padding-bottom:76px;padding-bottom:calc(76px + env(safe-area-inset-bottom))}
  .container{padding-inline:16px}

  /* ---- 顶部工具条:整条隐藏(手机上不占高) ---- */
  .util{display:none}

  /* ---- 主导航:56px 轻量白条 ---- */
  .main-nav{height:56px;background:#fff;border-bottom:1px solid #e8eef7}
  .main-nav .container{height:56px;gap:10px}
  .brand{font-size:16.5px;gap:8px}
  .brand .brand-mark,.brand .mk{width:28px;height:28px;padding:2px;border-radius:6px;box-shadow:none}
  .brand small{font-size:8px;letter-spacing:.14em}
  .nav-links{display:none!important}
  .nav-actions{display:flex!important;margin-left:auto;gap:8px}
  .nav-actions .btn{height:34px;padding:0 12px;font-size:12.5px;border-radius:2px}
  .nav-util{display:none}
  .nav-burger{display:flex!important;width:44px;height:44px;margin-left:6px}
  .nav-burger i{width:18px;height:2px;background:#22344c}
  .nav-links.open{display:flex!important;flex-direction:column;align-items:stretch;position:absolute;left:0;right:0;top:56px;bottom:auto;height:calc(100dvh - 56px);overflow-y:auto;padding:0 16px 24px;background:#fff;box-shadow:0 1px 0 #e8eef7;z-index:1001}
  .nav-links.open a{padding:16px 4px;font-size:16px;border-bottom:1px solid #eef3fa}

  /* ---- hero:竖排卡片式,插图退为背景氛围 ---- */
  .hero{min-height:0}
  .hero-inner{grid-template-columns:1fr;min-height:0;padding-block:24px 26px;gap:0}
  .hero-rail{display:none}
  .hero-stage{min-height:0}
  .hero-copy{position:static!important;inset:auto!important;display:none;padding:0}
  .hero-copy.is-active{display:block}
  .hv-side{width:100%;top:0;bottom:auto;height:170px;opacity:.42;overflow:hidden}
  .v-arch .a1{width:520px;height:520px;left:82%;top:200px;border-width:30px}
  .v-arch .a2{width:440px;height:440px;left:82%;top:200px;border-width:24px}
  .v-arch .a3{width:380px;height:380px;left:82%;top:200px;border-width:20px}
  .v-arch .a4{display:none}
  .v-db .db,.v-rack .rk{transform:scale(.52) translateY(-50%);transform-origin:right center}
  .hero-eyebrow{margin-bottom:14px;font-size:12px}
  .hero-eyebrow .eb-tag{padding:3px 8px;font-size:10px}
  .hero-copy h1{font-size:27px;line-height:1.2;letter-spacing:-.02em;margin-bottom:12px}
  .hero-copy p.lead{font-size:13.5px;line-height:1.75;margin-bottom:20px;max-width:none}
  .hero-cta{flex-direction:column;gap:10px}
  .btn-hero,.btn-hero-ghost{flex:none;width:100%;justify-content:center;height:46px;padding:0 14px;font-size:14px;min-width:0}
  .hero-checks{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:18px;font-size:12px}

  /* ---- 平台动态:横向滑动卡 ---- */
  .news-strip{border-bottom:1px solid var(--line)}
  .news-strip .container{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:12px 16px}
  .news-strip .ns-label{display:none}
  .news-item{flex:0 0 236px;scroll-snap-align:start;padding:14px 16px 16px;border:1px solid #e8eef7}
  .news-item:last-child{margin-right:0}

  /* ---- 服务保障:2x2 ---- */
  .service-strip{padding-block:28px}
  .service-strip .ss-head{margin-bottom:18px}
  .ss-grid{grid-template-columns:1fr 1fr;gap:0}
  .ss-cell{padding:16px 4px;border-right:0;border-bottom:1px solid #eef3fa}
  .ss-cell:last-child{border-bottom:0}
  .ss-cell .ss-num{font-size:24px}

  /* ---- 通用 section ---- */
  .section{padding-block:36px}
  .section-head h2,.sec-head h2{font-size:20px}
  .section-head p,.sec-head p{font-size:13px}

  /* ---- 套餐卡:单列,大主图,通栏按钮 ---- */
  .plan-grid{grid-template-columns:1fr;gap:14px}
  .plan-card{padding:20px 18px 18px;border-radius:0}
  .plan-card .plan-icon{width:38px;height:38px;margin-bottom:14px}
  .plan-card h3{font-size:16px}
  .plan-card .plan-sub{min-height:0;margin-bottom:14px;font-size:12.5px}
  .plan-card .plan-price{margin-bottom:16px}
  .plan-card .plan-price .num{font-size:34px}
  .plan-card .plan-specs{gap:8px;margin-bottom:18px;font-size:12.5px}
  .plan-card .plan-cta .btn{width:100%;height:46px;font-size:14px}

  /* ---- 行业/优势 ---- */
  .solution-grid,.adv-grid{grid-template-columns:1fr;gap:12px}
  .sol-item{padding:18px}
  .adv-item{padding:24px 18px;text-align:left}
  .adv-item .adv-ico{width:44px;height:44px;margin:0 0 12px}
  .adv-item .adv-ping{top:18px;right:18px}

  /* ---- FAQ ---- */
  .faq-item summary{padding:16px 18px;font-size:14px}
  .faq-item .faq-a{padding:0 18px 16px;font-size:13px}

  /* ---- 页脚:精简为品牌 + 单行版权 ---- */
  .site-footer .foot-top{padding-block:28px}
  .site-footer .foot-cols{grid-template-columns:1fr 1fr;gap:22px}
  .site-footer .foot-brand{grid-column:1/-1}
  .site-footer .foot-brand p{margin-top:10px;font-size:12px;line-height:1.7;max-width:none}
  .site-footer h5{font-size:13px;margin-bottom:12px}
  .site-footer .foot-link{gap:9px}
  .site-footer .foot-link a{font-size:12.5px}
  .site-footer .foot-bottom{padding-block:16px;font-size:11.5px;line-height:1.6;flex-direction:column;align-items:flex-start;gap:6px}

  /* ---- 页头(套餐/结算) ---- */
  .page-head .container{grid-template-columns:1fr;padding-block:26px;gap:0}
  .page-head h1{font-size:24px;margin-bottom:8px}
  .page-head p{font-size:13px;line-height:1.7}
  .ph-steps{display:none}
  .checkout-grid{grid-template-columns:1fr!important;gap:16px}
  .summary .sum-head{padding:16px 18px;font-size:14px}
  .buy-tip{padding:18px;margin-top:24px}

  /* ---- 用户控制台 ---- */
  .welcome .container{padding-block:24px 26px;gap:16px}
  .welcome h1{font-size:22px;margin-bottom:8px}
  .welcome .meta{gap:12px;font-size:11.5px}
  .welcome .ops{width:100%;gap:10px}
  .wbtn{flex:1;justify-content:center;height:44px;padding:0 12px;font-size:13px}
  .console-zone{padding-block:16px 24px}
  .gg-bar{margin-top:16px;padding:11px 13px;font-size:12.5px}
  .usage-grid{grid-template-columns:1fr;gap:12px;margin-bottom:16px}
  .usage-card{padding:16px 18px}
  .usage-card .uc-nums b{font-size:23px}
  .menu-card{margin-bottom:16px}
  .menu-card .mc-hd{padding:13px 16px;font-size:14px}
  .fn-groups{grid-template-columns:1fr}
  .fn-group{padding:16px;border-right:0}
  .fn-group h4{font-size:11px;margin-bottom:10px}
  .fn-grid{grid-template-columns:repeat(3,1fr);gap:8px}
  .fn-it{padding:12px 4px 10px;font-size:11.5px;gap:6px}
  .fn-it svg{width:18px;height:18px}
  .info-grid{grid-template-columns:1fr;gap:12px}
  .info-card .ic-hd{padding:13px 16px;font-size:14px}
  .info-card .ic-bd{padding:6px 16px 14px}
  .kv-r{padding:11px 0;font-size:12.5px}
  .kv-r b{width:80px;font-size:12px}
  .kv-r .v{font-size:12px}

  /* ---- 移动端底部主导航(独立结构) ---- */
  .mb-nav{position:fixed;left:0;right:0;bottom:0;z-index:1200;display:flex;align-items:stretch;height:calc(60px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:rgba(255,255,255,.97);backdrop-filter:blur(12px);border-top:1px solid #e4ebf5}
  .mb-nav a{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10.5px;color:#7a8ba3;text-decoration:none;position:relative;transition:color .18s}
  .mb-nav a svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:square;stroke-linejoin:round}
  .mb-nav a.on{color:#0b4ccc;font-weight:600}
  .mb-nav a.on::before{content:"";position:absolute;top:0;left:50%;transform:translateX(-50%);width:26px;height:2px;background:#0b4ccc}
  .mb-nav a:active{background:#f4f8ff}
}
@media (min-width:821px){
  .mb-nav{display:none}
}
@media (max-width:380px){
  .nav-actions .btn-primary{display:none}
  .brand{font-size:15px}
}
@media (max-width:820px){
  .nav-user{gap:8px}
  .nav-user .who{gap:6px}
  .nav-user .who span:not(.avatar){display:none}
  .btn-quit{width:38px;height:38px;min-width:38px;min-height:38px;padding:0;display:grid;place-items:center;border:1px solid #e2eaf5;background:#fff;color:#4a5e76}
  .btn-quit svg{width:18px;height:18px}
  .btn-quit .quit-lbl{display:none}
}
