/* ==========================================================================
   嗨购海外仓系统 — 简约商务风格
   ========================================================================== */

:root {
  --ink: #16161a;
  --ink-2: #2a2a30;
  --muted: #777;
  --line: #e8e8ea;
  --bg: #fafafa;
  --card: #ffffff;
  --accent: #e8590c;
  --accent-2: #ff8c3a;
  --radius: 8px;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "PingFang SC","Microsoft YaHei","Helvetica Neue",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif; color: var(--ink); background: var(--bg); line-height: 1.8; font-size: 15px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* 头部 */
.site-header { position: sticky; top: 0; z-index: 200; background: rgba(250,250,250,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 14px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.5px; white-space: nowrap; flex: none; }
.brand .logo-mark { width: 34px; height: 34px; border-radius: 6px; flex: none; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 16px; font-weight: 800; }
.brand em { font-style: normal; color: var(--accent); }
.main-nav > ul { display: flex; align-items: center; gap: 0; flex-wrap: nowrap; }
.main-nav > ul > li { flex: none; }
.main-nav > ul > li > a { display: block; padding: 9px 12px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.main-nav > ul > li > a:hover, .main-nav > ul > li > a.active { color: var(--accent); }
.header-cta { background: var(--ink); color: #fff; padding: 9px 20px; border-radius: 6px; font-weight: 700; font-size: 14px; white-space: nowrap; transition: background .2s; }
.header-cta:hover { background: var(--accent); }
.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--ink); cursor: pointer; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: 6px; font-size: 15px; font-weight: 700; cursor: pointer; border: none; transition: background .2s, color .2s; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* Hero（极简大标题） */
.hero { padding: 96px 0 72px; text-align: center; }
.hero .kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.hero h1 { font-size: 58px; line-height: 1.14; font-weight: 800; letter-spacing: -2px; color: var(--ink); margin-bottom: 22px; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { font-size: 17px; color: var(--muted); max-width: 620px; margin: 0 auto 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 64px; justify-content: center; flex-wrap: wrap; padding-top: 40px; border-top: 1px solid var(--line); }
.hero-stats .stat b { display: block; font-size: 40px; font-weight: 800; color: var(--ink); line-height: 1; }
.hero-stats .stat b em { font-style: normal; color: var(--accent); }
.hero-stats .stat span { font-size: 13px; color: var(--muted); }

/* 通用 */
.section { padding: 80px 0; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.sec-head .kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.sec-head h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; color: var(--ink); margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 15.5px; }

/* 功能卡（极简列表式） */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feat-card { background: var(--card); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 32px 28px; transition: background .2s; }
.feat-card:hover { background: #f4f4f5; }
.feat-card .num { display: block; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.feat-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.feat-card p { font-size: 13.5px; color: var(--muted); }

/* 特点（编号行） */
.spec-list { display: grid; gap: 0; }
.spec-item { display: flex; align-items: center; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.spec-item:last-child { border-bottom: none; }
.spec-item .no { flex: none; font-size: 28px; font-weight: 800; color: var(--line); width: 60px; }
.spec-item b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 3px; }
.spec-item p { font-size: 13.5px; color: var(--muted); }

/* 价格 */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; gap: 20px; align-items: stretch; }
.price-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; text-align: center; display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--ink); }
.price-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.price-card .amount { font-size: 36px; font-weight: 800; color: var(--ink); margin-bottom: 20px; }
.price-card .amount small { font-size: 15px; color: var(--muted); }
.price-card ul { text-align: left; margin-bottom: 24px; display: grid; gap: 9px; }
.price-card ul li { font-size: 13.5px; color: var(--muted); padding-left: 20px; position: relative; }
.price-card ul li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }
.price-card .btn { margin-top: auto; }

/* FAQ */
.faq { display: grid; gap: 0; max-width: 800px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); background: transparent; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; color: var(--ink); font-size: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--accent); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 0 20px; color: var(--muted); font-size: 14px; }

/* 联系 */
.contact { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; }
.contact h2 { font-size: 34px; font-weight: 800; color: var(--ink); margin-bottom: 14px; }
.contact h2 em { font-style: normal; color: var(--accent); }
.contact .lead { color: var(--muted); margin-bottom: 28px; }
.contact-info { display: grid; gap: 0; }
.contact-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-row b { font-size: 14px; color: var(--muted); font-weight: 500; width: 80px; flex: none; }
.contact-row .val { font-size: 16px; font-weight: 700; color: var(--ink); }
.contact-qr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }
.contact-qr img { width: 180px; margin: 0 auto 14px; border-radius: 10px; }
.contact-qr b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
.contact-qr p { color: var(--muted); font-size: 13px; }

/* 页脚 */
.footer { background: #141416; color: #9a9aa0; padding: 44px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 32px; padding-bottom: 30px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer p { font-size: 13px; color: #9a9aa0; }
.footer ul li { margin-bottom: 9px; font-size: 13px; }
.footer ul li a:hover { color: #fff; }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid #2a2a2e; padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #7a7a80; }
.footer-bottom a { color: #9a9aa0; }
.footer-bottom a:hover { color: #fff; }

.float-wx { position: fixed; right: 22px; bottom: 22px; z-index: 300; }
.wx-fab { width: 58px; height: 58px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; line-height: 1.2; text-align: center; cursor: pointer; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.wx-pop { position: absolute; right: 0; bottom: 70px; width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; text-align: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s; box-shadow: 0 20px 50px rgba(0,0,0,.15); }
.wx-pop.show { opacity: 1; visibility: visible; transform: translateY(0); }
.wx-pop img { width: 150px; margin: 0 auto 12px; border-radius: 10px; }
.wx-pop b { display: block; color: var(--ink); font-size: 14px; }
.wx-pop p { font-size: 12.5px; color: var(--muted); }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); z-index: 400; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.show { display: flex; }
.modal { position: relative; background: #fff; border-radius: 12px; max-width: 380px; width: 100%; padding: 34px 30px 28px; text-align: center; box-shadow: 0 40px 90px rgba(0,0,0,.3); animation: mp .25s ease; }
@keyframes mp { from { transform: scale(.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-close { position: absolute; top: 14px; right: 16px; border: none; background: #f2f2f3; color: #555; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 16px; }
.modal h3 { color: var(--ink); font-size: 21px; font-weight: 800; margin-bottom: 6px; }
.modal .sub { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.modal-qr { width: 180px; margin: 0 auto 16px; border-radius: 12px; border: 1px solid var(--line); }
.modal-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 11px 15px; margin-bottom: 10px; font-size: 14px; color: var(--muted); }
.modal-row .val { font-weight: 700; color: var(--accent); font-size: 16px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 38px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 0 0 0 auto; width: 82%; max-width: 340px; background: #fff; z-index: 250; padding: 24px; transform: translateX(100%); transition: transform .3s; box-shadow: 0 20px 60px rgba(0,0,0,.2); overflow-y: auto; }
  .main-nav.open { transform: translateX(0); }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 240; opacity: 0; visibility: hidden; transition: .3s; }
  .nav-overlay.show { opacity: 1; visibility: visible; }
  .contact-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .sec-head h2 { font-size: 28px; }
  .section { padding: 56px 0; }
  .hero h1 { font-size: 30px; }
  .hero-stats { gap: 32px; }
  .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .spec-item { gap: 16px; }
}

.center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 28px; }
