/* ============================================================
   店宝易点 — 响应式样式表 v2.0
   四级断点：1200px(小桌面) | 1024px(平板横屏) | 768px(平板竖屏/手机横屏) | 480px(手机竖屏)
   ============================================================ */

/* ==================== 1200px — 小屏桌面 / 大平板 ==================== */
@media (max-width: 1200px) {
  .container { padding: 0 20px; }
  .hero-text h1 { font-size: 2.8rem; }
  .hero-content { gap: 36px; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; gap: 36px; }
  .footer-wave svg { height: 50px; }
}


/* ==================== 1024px — 平板横屏 ==================== */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }

  /* 导航栏 — 紧凑间距 */
  .header-inner { height: 66px; gap: 10px; }
  .nav-list { gap: 2px; }
  .nav-list a { padding: 8px 12px; font-size: .86rem; }
  .nav-list a i { font-size: .95rem; }
  .logo { font-size: 1.2rem; }
  .header-login-btn { font-size: .82rem; padding: 7px 16px; }

  /* Hero */
  body { padding-top: 64px; }
  .hero { min-height: calc(100vh - 64px); padding: 60px 0; }
  .hero-content { gap: 30px; }
  .hero-text h1 { font-size: 2.5rem; }
  .hero-text p { font-size: 1.08rem; }

  /* 区块 */
  .section { padding: 60px 0; }
  .section-title { font-size: 2rem; }
  .solution-grid { gap: 20px; }

  /* 页脚 */
  .footer { padding: 0 0 20px; }
  .footer-container { padding: 48px 20px 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-col h4 { font-size: 1rem; }
  .footer-wave svg { height: 40px; }
  .footer-bottom { font-size: .8rem; }
}


/* ==================== 768px — 平板竖屏 / 手机横屏 ==================== */
@media (max-width: 768px) {
  /* === 全局 === */
  .container { padding: 0 16px; }

  /* === 导航栏 === */
  .header-inner { height: 60px; }
  body { padding-top: 60px; }

  /* 隐藏桌面菜单，显示汉堡按钮 */
  .nav-list {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--surface);
    padding: 8px 12px 16px;
    box-shadow: 0 20px 40px var(--shadow-heavy, rgba(0,0,0,.15));
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 16px 16px;
    z-index: 999;
    animation: slideDown .3s cubic-bezier(.22,1,.36,1);
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-list.active { display: flex; }
  .nav-list li { width: 100%; }
  .nav-list a {
    width: 100%; padding: 13px 16px; font-size: .95rem;
    border-radius: 10px; justify-content: flex-start; gap: 12px;
    animation: mNavFadeIn .35s cubic-bezier(.22,1,.36,1) both;
  }
  .nav-list li:nth-child(1) a { animation-delay: .03s; }
  .nav-list li:nth-child(2) a { animation-delay: .08s; }
  .nav-list li:nth-child(3) a { animation-delay: .13s; }
  .nav-list li:nth-child(4) a { animation-delay: .18s; }
  .nav-list li:nth-child(5) a { animation-delay: .23s; }
  .nav-list li:nth-child(6) a { animation-delay: .28s; }
  .nav-list li:nth-child(7) a { animation-delay: .33s; }
  @keyframes mNavFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-list a::after,
  .nav-list a .nav-indicator { display: none; }
  .nav-list a:hover { background: var(--primary-soft); }
  .nav-list a.active { background: var(--primary-light); }
  .nav-list a i { font-size: 1.05rem; width: 22px; text-align: center; }

  .mobile-menu-btn { display: flex; }
  .header-login-btn { display: none; }

  /* 手机端显示登录链接 */
  .desktop-hide { display: block; }
  .mobile-nav-overlay.show { display: block; }

  /* === Hero === */
  .hero { min-height: calc(100vh - 60px); padding: 50px 0 40px; }
  .hero-content { flex-direction: column; text-align: center; gap: 30px; }
  .hero-text h1 { font-size: 2rem; line-height: 1.3; }
  .hero-text p { font-size: 1rem; max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-mockup { width: 100%; }

  /* === 区块 === */
  .section { padding: 50px 0; }
  .section-title { font-size: 1.7rem; }
  .section-desc { font-size: .92rem; max-width: 450px; margin-bottom: 36px; }

  /* 功能分类 — 2列 */
  .feature-categories { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-card { padding: 22px 12px; }
  .cat-card i { font-size: 1.6rem; }

  /* 解决方案 — 单列 */
  .solution-grid { grid-template-columns: 1fr; gap: 20px; }

  /* 价格 — 单列 */
  .pricing-grid { grid-template-columns: 1fr; gap: 16px; }

  /* 信任条 */
  .trust-logos { gap: 24px; }
  .trust-logos span { font-size: 1rem; }

  /* CTA */
  .cta-card { padding: 36px 20px; }
  .cta-btns { flex-direction: column; align-items: center; }

  /* === 页脚 — 单列 === */
  .footer { padding: 0 0 20px; }
  .footer-container { padding: 40px 16px 0; }
  .footer-wave svg { height: 30px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; }
  .footer-col { text-align: center; }
  .footer-col h4 { justify-content: center; font-size: 1rem; }
  .footer-col h4::after { left: 50%; transform: translateX(-50%); }
  .footer-col:hover h4::after { left: 50%; transform: translateX(-50%); }
  .footer-col ul li a:hover { transform: translateX(0) scale(1.03); }
  .footer-col ul li a::before { left: 50%; transform: translateX(-50%); }
  .footer-col ul li a:hover::before { left: 50%; transform: translateX(-50%); }
  .footer-brand-col { align-items: center; }
  .footer-qrcode { width: 80px; height: 80px; margin: 5px auto; }
  .footer-col a:hover { transform: none; }
  .footer-bottom {
    flex-direction: column; text-align: center;
    align-items: center; gap: 8px;
    font-size: .78rem; padding-top: 16px;
  }
  .footer-bottom-left,
  .footer-bottom-right { justify-content: center; }
  .footer-contact-item { justify-content: center; }
}


/* ==================== 480px — 手机竖屏 ==================== */
@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .header-inner { height: 56px; }
  body { padding-top: 56px; }

  .nav-list { top: 56px; max-height: calc(100vh - 56px); padding: 6px 10px 14px; }
  .nav-list a { padding: 12px 14px; font-size: .9rem; }
  .nav-list a i { font-size: 1rem; }

  .logo { font-size: 1.1rem; }
  .logo img { height: 28px; }

  /* 导航指示器隐藏 */
  .nav-list a.active::after { display: none; }

  /* Hero */
  .hero { min-height: calc(100vh - 56px); padding: 40px 0 36px; }
  .hero-text h1 { font-size: 1.7rem; }
  .hero-text p { font-size: .92rem; }
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { width: 100%; }

  /* 区块 */
  .section { padding: 40px 0; }
  .section-title { font-size: 1.5rem; }
  .section-desc { font-size: .88rem; margin-bottom: 28px; }
  .feature-categories { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* 卡片 */
  .solution-card, .pricing-card { border-radius: 16px; }
  .card-body { padding: 16px; }
  .tag { font-size: .75rem; padding: 4px 10px; }

  /* 按钮 */
  .btn { font-size: .88rem; padding: 10px 22px; }
  .btn-xl { font-size: .95rem; padding: 12px 28px; }

  /* 页脚 */
  .footer { padding: 0 0 16px; }
  .footer-container { padding: 32px 14px 0; }
  .footer-wave svg { height: 24px; }
  .footer-main { gap: 22px; }
  .footer-site-title { font-size: 1.35rem; }
  .footer-col h4 { font-size: .95rem; margin-bottom: 12px; }
  .footer-desc { font-size: .82rem; }
  .footer-copyright { font-size: .76rem; margin-top: 14px; }
  .footer-bottom { font-size: .74rem; padding-top: 14px; }
  .footer-bottom-left,
  .footer-bottom-right { flex-direction: column; gap: 4px; }
  .footer-contact-item { padding: 8px 12px; font-size: .82rem; }

  /* 下载卡片 */
  .down-card { width: 100%; padding: 28px 20px; }
  .down-card i { font-size: 2.2rem; }
}
