/* ============================================
   微信扫码订货会管理系统 - 官网营销样式
   ============================================ */

/* ---------- 首页 Hero ---------- */
.hero {
  background: linear-gradient(135deg, #0f1f4d 0%, #1a56db 55%, #07c160 130%);
  color: #fff; padding: 90px 0 120px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.hero::before {
  content: ""; position: absolute; right: 80px; bottom: -160px;
  width: 320px; height: 320px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.hero-inner { display: flex; align-items: center; gap: 60px; position: relative; z-index: 1; }
.hero-text { flex: 1; }
.hero-text h1 { font-size: 42px; line-height: 1.3; font-weight: 700; margin-bottom: 20px; }
.hero-text h1 .hl { color: #7ef0b0; }
.hero-text p { font-size: 16px; color: rgba(255, 255, 255, 0.85); margin-bottom: 32px; line-height: 1.9; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-btns .btn-wx { background: #fff; color: var(--primary); }
.hero-btns .btn-wx:hover { background: #f0f2f5; }
.hero-btns .btn-outline { border-color: rgba(255, 255, 255, 0.5); color: #fff; background: transparent; }
.hero-btns .btn-outline:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.hero-stats { display: flex; gap: 40px; margin-top: 40px; }
.hero-stats .num { font-size: 26px; font-weight: 700; }
.hero-stats .label { font-size: 13px; color: rgba(255, 255, 255, 0.75); margin-top: 4px; }
.hero-phone {
  flex: 0 0 300px; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 24px;
  padding: 20px; backdrop-filter: blur(8px);
}
.hero-phone .screen {
  background: #fff; border-radius: 14px; color: var(--ink);
  padding: 14px; min-height: 420px;
}
.hero-phone .screen-head { display: flex; align-items: center; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.hero-phone .screen-head .dot { width: 10px; height: 10px; border-radius: 50%; }
.hero-phone .qr-wrap { text-align: center; padding: 16px 0 8px; }
.hero-phone .qr {
  width: 140px; height: 140px; margin: 0 auto; border: 1px solid var(--line);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  background: #fff; font-size: 12px; color: var(--ink-3);
}
.hero-phone .screen-item { display: flex; justify-content: space-between; padding: 10px 4px; border-bottom: 1px dashed var(--line); font-size: 13px; }
.hero-phone .screen-tip { text-align: center; font-size: 12px; color: var(--ink-3); margin-top: 10px; }

/* ---------- 信任条 ---------- */
.trust-bar { background: #fff; border-bottom: 1px solid var(--line); }
.trust-bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-size: 13px; color: var(--ink-2); flex-wrap: wrap; gap: 10px; }
.trust-bar .item { display: flex; align-items: center; gap: 6px; }
.trust-bar .item b { color: var(--primary); }

/* ---------- 通用区块 ---------- */
.section { padding: 56px 0; }
.section-alt { background: #fff; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.section-head .eyebrow { color: var(--primary); font-size: 13px; font-weight: 500; letter-spacing: 2px; }
.section-head h2 { font-size: 30px; font-weight: 700; margin: 8px 0 12px; }
.section-head p { color: var(--ink-2); font-size: 15px; }

/* ---------- 优势卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px 18px; transition: all 0.25s; }
.feature-card:hover { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); transform: translateY(-4px); border-color: transparent; }
.feature-card .icon {
  width: 42px; height: 42px; border-radius: 10px; font-size: 20px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.feature-card p { color: var(--ink-2); font-size: 13px; line-height: 1.7; }

/* ---------- ERP 无缝对接横条 ---------- */
.erp-section { background: linear-gradient(135deg, #0b7a43, #06b25a); padding: 26px 0; }
.erp-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.erp-head { flex: 1; min-width: 240px; }
.erp-head h2 { color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.erp-head p { color: rgba(255, 255, 255, 0.85); font-size: 13px; line-height: 1.7; }
.erp-grid { display: flex; gap: 10px; flex-wrap: wrap; }
.erp-item { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; padding: 7px 14px 7px 7px; font-size: 13.5px; font-weight: 600; color: #fff; transition: all 0.25s; }
.erp-item:hover { background: rgba(255, 255, 255, 0.24); transform: translateY(-2px); }
.erp-logo { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: #0b7a43; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }

/* 首页 ERP 吸底（仅当页面高度不超过视口时固定到底部） */
#erpBar.fixed-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

/* ---------- 产品页 ERP 亮点 ---------- */
.erp-feature { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 36px 32px; box-shadow: var(--shadow); }
.erp-feature-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.erp-feature h3 { font-size: 22px; }
.erp-feature-top p { color: var(--ink-2); font-size: 14px; line-height: 1.7; margin-top: 6px; max-width: 620px; }
.erp-feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.erp-feature-item { display: flex; align-items: center; gap: 10px; background: #f7faf8; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.erp-feature-item:hover { border-color: rgba(7, 193, 96, 0.45); }
.erp-feature-item .erp-logo { width: 32px; height: 32px; border-radius: 8px; }
.erp-feature-bottom { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px dashed var(--line); }

/* ---------- 价格页购买区域（双栏） ---------- */
.buy-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1000px; margin: 0 auto; align-items: start; }
.buy-panel { background: #fafbfc; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.buy-panel > h3 { font-size: 18px; margin-bottom: 6px; }
.buy-panel > .buy-sub { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.buy-panel .alert { font-size: 13px; }
.price-btns { display: flex; gap: 12px; margin: 18px 0 6px; }
.price-btns .btn { flex: 1; }
.buy-steps { display: flex; flex-direction: column; gap: 10px; }
.buy-step { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; text-align: left; }
.buy-step:hover { border-color: rgba(7, 193, 96, 0.45); }
.buy-num { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.buy-step b { display: block; font-size: 14px; margin-bottom: 2px; }
.buy-step p { font-size: 12px; color: var(--ink-3); margin: 0; line-height: 1.6; }
@media (max-width: 900px) { .buy-layout { grid-template-columns: 1fr; } }

/* ---------- 下单弹窗（价格页） ---------- */
.modal-mask { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15, 23, 42, 0.6); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.modal-box { width: 100%; max-width: 580px; background: #fff; border-radius: 20px; padding: 36px; max-height: 92vh; overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25); }
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-head h3 { font-size: 22px; }
.modal-head .sub { font-size: 13px; color: var(--ink-3); font-weight: 400; margin-top: 4px; }
.modal-close { width: 32px; height: 32px; border: none; background: #f2f3f5; border-radius: 50%; font-size: 18px; line-height: 1; color: var(--ink-2); cursor: pointer; }
.modal-close:hover { background: #e5e6eb; }
.order-steps { display: flex; gap: 10px; margin-bottom: 26px; }
.order-steps .step { flex: 1; text-align: center; font-size: 13px; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 8px 0; }
.order-steps .step.active { color: var(--wx-green); border-color: var(--primary); background: rgba(7, 193, 96, 0.08); font-weight: 600; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.order-product { display: flex; justify-content: space-between; align-items: center; background: #fafbfc; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; font-size: 14px; }
.order-product b { color: var(--danger); font-size: 16px; }
@media (max-width: 480px) { .form-grid { grid-template-columns: 1fr; } }
.pay-badge { display: flex; align-items: center; gap: 10px; background: #f6fdf8; border: 1px solid rgba(7, 193, 96, 0.4); border-radius: 10px; padding: 12px 14px; font-size: 15px; font-weight: 600; color: var(--ink); }
.wx-logo { width: 30px; height: 30px; border-radius: 8px; background: #07c160; color: #fff; font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pay-badge-tag { margin-left: auto; font-size: 12px; font-weight: 400; color: var(--primary); background: rgba(7, 193, 96, 0.1); border-radius: 999px; padding: 2px 10px; }
.form-tip { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.order-row { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.order-row b { word-break: break-all; text-align: right; }
.order-total { border-bottom: none; }
.order-total b { font-size: 20px; }
.order-actions { display: flex; gap: 12px; margin-top: 22px; }
.order-actions .btn { flex: 1; }
.pay-box { text-align: center; padding: 12px 0; }
.pay-title { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; color: var(--ink-2); }
.pay-title .wx-logo { width: 34px; height: 34px; border-radius: 10px; font-size: 18px; }
.pay-amount { font-size: 44px; font-weight: 700; color: var(--ink); margin: 16px 0 8px; }
.pay-amount small { font-size: 18px; font-weight: 400; color: var(--ink-3); }
.pay-tip { font-size: 13px; color: var(--ink-3); margin-bottom: 24px; }
.pay-secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--ink-3); margin-top: 14px; }
.pay-success { text-align: center; padding: 16px 0; }
.pay-success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--wx-green); color: #fff; font-size: 32px; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.pay-success h3 { font-size: 20px; margin-bottom: 10px; }
.pay-success-tip { font-size: 13px; color: var(--ink-2); line-height: 1.9; margin-bottom: 22px; }
@media (max-width: 560px) { .buy-steps { flex-direction: column; } }
.erp-feature-bottom .item { flex: 1; min-width: 200px; }
.erp-feature-bottom b { display: block; font-size: 14px; margin-bottom: 4px; }
.erp-feature-bottom span { color: var(--ink-2); font-size: 13px; line-height: 1.7; }
@media (max-width: 900px) { .erp-feature-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 产品/功能双屏 ---------- */
.product-rows { display: flex; flex-direction: column; gap: 60px; }
.product-row { display: flex; align-items: center; gap: 60px; }
.product-row.reverse { flex-direction: row-reverse; }
.product-info { flex: 1; }
.product-info .tag { margin-bottom: 12px; }
.product-info h3 { font-size: 26px; margin-bottom: 16px; }
.product-info p { color: var(--ink-2); line-height: 1.9; margin-bottom: 20px; }
.product-points li { display: flex; gap: 10px; padding: 8px 0; color: var(--ink); font-size: 14px; }
.product-points li::before { content: "✓"; color: var(--wx-green); font-weight: 700; }
.product-visual { flex: 1; background: linear-gradient(135deg, #eef2ff, #f0fdf4); border-radius: 16px; padding: 40px; display: flex; align-items: center; justify-content: center; min-height: 320px; }
.product-visual .mock { width: 100%; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: 16px; }

/* ---------- 流程 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { text-align: center; padding: 24px 16px; position: relative; }
.step .num {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--wx-green)); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700;
}
.step h4 { font-size: 15px; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--ink-2); line-height: 1.7; }

/* ---------- 用户反馈 ---------- */
.feedback-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feedback-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.feedback-card .quote { color: var(--ink-2); font-size: 13.5px; line-height: 1.8; margin-bottom: 16px; }
.feedback-card .who { display: flex; align-items: center; gap: 12px; }
.feedback-card .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--wx-green)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; }
.feedback-card .name { font-weight: 600; font-size: 14px; }
.feedback-card .role { font-size: 12px; color: var(--ink-3); }

/* ---------- 价格 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 28px; position: relative; display: flex; flex-direction: column; }
.price-card.hot { border: 2px solid var(--primary); box-shadow: 0 8px 30px rgba(26, 86, 219, 0.12); }
.price-card .flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; font-size: 12px; padding: 4px 14px; border-radius: 20px; font-weight: 500;
}
.price-card h3 { font-size: 18px; }
.price-card .price-val { font-size: 40px; font-weight: 700; color: var(--primary); margin: 16px 0 4px; }
.price-card .price-val small { font-size: 14px; font-weight: 400; color: var(--ink-3); }
.price-card .price-desc { font-size: 13px; color: var(--ink-3); margin-bottom: 20px; }
.price-card ul { flex: 1; margin-bottom: 24px; }
.price-card ul li { padding: 7px 0; font-size: 13.5px; color: var(--ink-2); display: flex; gap: 8px; }
.price-card ul li::before { content: "✓"; color: var(--wx-green); font-weight: 700; }
.price-card .btn { width: 100%; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: all 0.25s; }
.case-card:hover { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08); transform: translateY(-4px); }
.case-card .case-pic { height: 150px; background-size: cover; background-position: center; position: relative; }
.case-card .case-pic .brand { position: absolute; left: 12px; bottom: 10px; background: rgba(0, 0, 0, 0.55); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 4px; }
.case-card .case-body { padding: 16px; }
.case-card .case-body h4 { font-size: 15px; margin-bottom: 8px; }
.case-card .case-body p { font-size: 13px; color: var(--ink-2); line-height: 1.7; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(135deg, #0f1f4d, #1a56db); color: #fff; text-align: center; padding: 60px 0; }
.cta h2 { font-size: 28px; margin-bottom: 12px; }
.cta p { color: rgba(255, 255, 255, 0.85); margin-bottom: 28px; }
.cta .btn { height: 48px; padding: 0 40px; font-size: 16px; }

/* ---------- 子页 Hero ---------- */
.page-hero { background: linear-gradient(135deg, #0f1f4d, #1a56db); color: #fff; padding: 56px 0; }
.page-hero h1 { font-size: 30px; margin-bottom: 10px; }
.page-hero p { color: rgba(255, 255, 255, 0.85); font-size: 15px; max-width: 640px; }

/* ---------- 内容排版 ---------- */
.doc { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 40px; }
.doc h2 { font-size: 22px; margin: 32px 0 14px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 17px; margin: 24px 0 10px; }
.doc p { color: var(--ink-2); line-height: 1.9; margin-bottom: 12px; }
.doc ul, .doc ol { margin: 0 0 14px 20px; }
.doc ul li, .doc ol li { color: var(--ink-2); line-height: 1.9; margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.doc th, .doc td { border: 1px solid var(--line); padding: 10px 12px; font-size: 13.5px; text-align: left; }
.doc th { background: #fafbfc; }

/* ---------- FAQ ---------- */
.faq-list .faq-item { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 18px 20px; font-weight: 500; font-size: 15px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 20px; color: var(--primary); }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-body { padding: 0 20px 18px; color: var(--ink-2); line-height: 1.9; font-size: 14px; }

/* ---------- 新闻卡片 ---------- */
.news-list .news-item { display: flex; gap: 20px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px; margin-bottom: 16px; transition: all 0.2s; }
.news-list .news-item:hover { box-shadow: var(--shadow); }
.news-item .news-date { flex: 0 0 64px; text-align: center; border-right: 1px solid var(--line); padding-right: 20px; }
.news-item .news-date b { display: block; font-size: 22px; color: var(--primary); }
.news-item .news-date span { font-size: 12px; color: var(--ink-3); }
.news-item h3 { font-size: 16px; margin-bottom: 6px; }
.news-item h3 a:hover { color: var(--primary); }
.news-item p { font-size: 13px; color: var(--ink-2); }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; text-align: center; }
.about-card .icon { font-size: 34px; margin-bottom: 12px; }
.about-card h3 { font-size: 15px; margin-bottom: 8px; }
.about-card p { font-size: 13px; color: var(--ink-2); line-height: 1.7; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 28px; display: flex; gap: 20px; flex-wrap: wrap; }
.contact-card .item { flex: 1; min-width: 200px; }
.contact-card .item b { display: block; font-size: 14px; margin-bottom: 6px; color: var(--primary); }
.contact-card .item p { font-size: 14px; color: var(--ink-2); }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .feature-grid, .feedback-grid, .case-grid, .price-grid, .about-grid { grid-template-columns: repeat(2, 1fr); }
  .erp-inner { flex-direction: column; text-align: center; }
  .erp-grid { justify-content: center; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .product-row, .product-row.reverse { flex-direction: column; gap: 32px; }
  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-phone { flex: none; width: 280px; }
  .hero-text h1 { font-size: 32px; }
}
@media (max-width: 640px) {
  .feature-grid, .feedback-grid, .case-grid, .price-grid, .about-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .doc { padding: 20px; }
  .news-item { flex-direction: column; }
  .news-item .news-date { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 10px; text-align: left; }
}

/* ---------- 移动端专属适配（<= 600px） ---------- */
@media (max-width: 600px) {
  :root { --nav-h: 54px; }

  /* Hero：缩小文案与留白，统计改为两列网格 */
  .hero { padding: 48px 0 64px; }
  .hero-text h1 { font-size: 26px; line-height: 1.35; }
  .hero-text p { font-size: 14px; line-height: 1.8; margin-bottom: 24px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .hero-stats {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 18px 12px; margin-top: 28px;
  }
  .hero-stats > div { text-align: center; }
  .hero-stats .num { font-size: 22px; }
  .hero-phone { width: 100%; max-width: 300px; margin: 0 auto; }

  /* 信任条：纵向堆叠，隐藏冗余分隔，居中 */
  .trust-bar-inner { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 0; }
  .trust-bar .item { font-size: 12.5px; line-height: 1.5; }

  /* 区块标题与间距收紧 */
  .section { padding: 40px 0; }
  .section-head { margin: 0 auto 24px; }
  .section-head h2 { font-size: 22px; }
  .section-head p { font-size: 14px; line-height: 1.7; }

  /* 产品双栏：图文上下排列时视觉收紧 */
  .product-row { gap: 20px; }
  .product-info h3 { font-size: 20px; }
  .product-visual { padding: 24px 16px; min-height: 0; }

  /* 反馈卡内边距收紧 */
  .feedback-card { padding: 20px 16px; }

  /* CTA 标题缩放 */
  .cta { padding: 44px 0; }
  .cta h2 { font-size: 22px; }
  .cta .btn { width: 100%; max-width: 320px; }

  /* 页脚：单列堆叠，列间距收紧 */
  .footer { padding: 32px 0 0; }
  .footer-inner { flex-direction: column; gap: 24px; }
  .footer-inner > div:not(:first-child) { border-top: 1px solid #2e3138; padding-top: 20px; }
  .footer-bottom { font-size: 11.5px; }

  /* ---------- 购买弹窗：手机端接近全屏 ---------- */
  .modal-mask { padding: 0; align-items: flex-end; }
  .modal-box {
    max-width: 100%; border-radius: 18px 18px 0 0;
    max-height: 94vh; padding: 22px 18px calc(22px + env(safe-area-inset-bottom, 0px));
  }
  .modal-head h3 { font-size: 19px; }
  .modal-head .sub { font-size: 12px; }
  .modal-close { width: 36px; height: 36px; font-size: 20px; }
  .order-steps { gap: 6px; margin-bottom: 20px; }
  .order-steps .step { font-size: 11px; padding: 7px 0; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .order-actions { flex-direction: column; gap: 10px; margin-top: 18px; }
  .order-actions .btn { width: 100%; }
  .pay-amount { font-size: 36px; }
  .pay-amount small { font-size: 16px; }
  .order-row { font-size: 13px; gap: 10px; }

  /* ---------- 登录/注册表单：手机端收紧 ---------- */
  .auth-wrap { margin: 24px auto 0; padding: 0 12px; }
  .auth-card { padding: 24px 18px; border-radius: 14px; }
  .auth-card h1 { font-size: 20px; }
  .auth-card .sub { font-size: 12px; margin-bottom: 22px; }
  .form-label { font-size: 13px; }
  .form-input { font-size: 16px; padding: 13px 14px; } /* 16px 避免 iOS 聚焦缩放 */
  .result-box { padding: 6px 16px; }
  .auth-tips { font-size: 11.5px; }
}

/* 超小屏（<= 360px）进一步压缩 */
@media (max-width: 360px) {
  .hero-text h1 { font-size: 23px; }
  .section-head h2 { font-size: 20px; }
  .hero-phone { padding: 14px; }
  .hero-phone .screen { min-height: 0; }
}
