/* ===== 首页专用样式 ===== */
:root{
  --hp-blue:#3f63e8;
  --hp-blue-d:#2b4fd0;
  --hp-ink:#1d2537;
  --hp-muted:#7c879e;
  --hp-line:#e6ebf5;
  --hp-orange:#ff8a1f;
  --hp-yellow:#ffd347;
}
body.hp-body{margin:0;background:#f3f5f9;color:var(--hp-ink);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
.hp-wrap{width:1180px;max-width:calc(100% - 40px);margin:0 auto}

/* 顶部信息条 */
.hp-top{background:#2a2d33;color:#c9d0dc;font-size:13px;height:40px;display:flex;align-items:center}
.hp-top-in{display:flex;justify-content:space-between;gap:20px}
.hp-top-in span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* 白色导航 */
.hp-head{background:#fff;border-bottom:1px solid #eef1f6;height:92px;display:flex;align-items:center}
.hp-head-in{display:flex;align-items:center;justify-content:space-between;gap:24px}
.hp-logo{display:flex;align-items:center;gap:12px;text-decoration:none;color:var(--hp-ink)}
.hp-logo-mark{width:46px;height:46px;border-radius:12px;display:block;object-fit:contain;flex:0 0 46px;box-shadow:0 8px 20px rgba(7,16,29,.16)}
.hp-logo-txt b{display:block;font-size:26px;letter-spacing:.5px;line-height:1.1}
.hp-logo-txt b i{color:var(--hp-orange);font-style:normal;font-size:14px;font-weight:500;letter-spacing:0;margin-left:4px;vertical-align:2px}
.hp-logo-txt small{display:block;color:#8b95a8;font-size:12px;letter-spacing:.5px;margin-top:2px}
.hp-nav{display:flex;align-items:center;gap:38px}
.hp-nav a{text-decoration:none;color:#4b566d;font-size:16px;padding:32px 0 30px;position:relative}
.hp-nav a:hover{color:#1f2a3f}
.hp-nav a.on{color:#1f2a3f;font-weight:600}
.hp-nav a.on::after{content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:22px;width:34px;height:3px;border-radius:2px;background:var(--hp-orange)}

/* 蓝色首屏 */
.hp-hero{position:relative;background:linear-gradient(120deg,#3d61e4 0%,#4b70ee 55%,#5d83f4 100%);padding:52px 0 0;overflow:visible}
.hp-hero-bg{position:absolute;inset:0;pointer-events:none;overflow:hidden;
  background-image:radial-gradient(rgba(255,255,255,.14) 1px,transparent 1px);
  background-size:16px 16px;
  mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 82%,transparent 100%);
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 18%,#000 82%,transparent 100%);
}
.hp-stars{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}
.hp-hero-bg::before{content:"";position:absolute;left:-120px;top:-80px;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.16),transparent 65%)}
.hp-hero-bg::after{content:"";position:absolute;right:-140px;bottom:-180px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(20,45,160,.28),transparent 66%)}
.hp-hero-in{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 350px;gap:60px;align-items:start;padding-bottom:26px}
.hp-hero-left h1{margin:8px 0 10px;color:#fff;font-size:46px;line-height:1.18;letter-spacing:1px;font-weight:800}
.hp-hero-left h1 em{font-style:normal;color:var(--hp-yellow)}
.hp-sub{color:rgba(255,255,255,.86);font-size:15px;margin:0 0 30px;line-height:1.8;max-width:620px}
.hp-notice{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.30);border-radius:12px;padding:20px 24px 16px;max-width:650px;backdrop-filter:blur(3px);box-shadow:0 14px 36px rgba(18,40,120,.16)}
.hp-notice-h{display:flex;align-items:center;gap:10px;color:#fff;font-size:18px;font-weight:700;margin-bottom:10px}
.hp-bell{font-size:20px}
.hp-notice-row{color:rgba(255,255,255,.92);font-size:14px;line-height:1.75;padding:5px 0;border-top:1px dashed rgba(255,255,255,.22)}
.hp-notice-row:first-of-type{border-top:0}

/* 全球支付网络地球仪 */
.hp-globe-panel{position:relative;max-width:650px;height:320px;margin-top:-2px;overflow:visible}
#hp-globe{display:block;width:100%;height:100%}

/* 登录卡片 */
.hp-login-card{position:relative;background:#fff;border-top:4px solid #ffb02e;border-radius:4px;padding:26px 30px 22px;box-shadow:0 22px 46px rgba(16,37,120,.22);margin-top:0}
.hp-login-deco{display:none;position:absolute;right:16px;top:12px;width:34px;height:34px;opacity:.9;
  background:linear-gradient(#ffcf6a,#ff9d1c);border-radius:4px;
  -webkit-mask-image:linear-gradient(45deg,transparent 48%,#000 49%),linear-gradient(45deg,#000 55%,transparent 56%);
  mask-image:linear-gradient(45deg,transparent 48%,#000 49%),linear-gradient(45deg,#000 55%,transparent 56%);
}
.hp-login-card h2{margin:2px 0 4px;text-align:center;color:#2f57df;font-size:20px;font-weight:700}
.hp-login-tip{text-align:center;color:#98a2b3;font-size:12px;margin:0 0 18px}
.hp-form{display:grid;gap:14px}
.hp-input{display:flex;align-items:center;gap:10px;height:44px;border:1px solid #dfe5f0;border-radius:6px;padding:0 12px;background:#fff;min-width:0;box-sizing:border-box}
.hp-input:focus-within{border-color:#9bb6f8;box-shadow:0 0 0 3px rgba(43,89,214,.12)}
.hp-input svg{width:18px;height:18px;stroke:#9aa5b8;fill:none;stroke-width:1.8;flex:0 0 18px}
.hp-input input{flex:1;width:100%;min-width:0;border:0;outline:0;font:inherit;font-size:14px;color:#25314a;background:transparent;box-sizing:border-box}
.hp-login-btn{display:flex;align-items:center;justify-content:center;height:44px;border:0;border-radius:6px;background:linear-gradient(180deg,#4d77f0,#2b59d6);color:#fff;font:inherit;font-size:16px;font-weight:600;text-decoration:none;cursor:pointer;box-shadow:0 8px 18px rgba(43,89,214,.24)}
.hp-login-btn:hover{background:linear-gradient(180deg,#5c84f5,#2450c8)}
.hp-login-links{display:flex;justify-content:space-between;margin-top:14px;font-size:12px;flex-wrap:wrap;gap:8px}
.hp-login-links a{color:#8b95a8;text-decoration:none}
.hp-login-links a:hover{color:#2b59d6}
.hp-user{display:flex;align-items:center;gap:12px;padding:12px;border:1px solid #eef1f6;border-radius:10px;background:#f8faff;margin:10px 0 16px}
.hp-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#5b86ff,#2b59d6);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700}
.hp-user b{display:block;font-size:15px}
.hp-user small{color:#98a2b3;font-size:12px}

/* 三项特性 */
.hp-features{position:relative;z-index:2;margin-top:34px;transform:translateY(46px);background:#fff;border-radius:12px;box-shadow:0 18px 40px rgba(20,38,110,.12);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:24px 10px}
.hp-feature{display:flex;gap:16px;padding:8px 24px;align-items:center}
.hp-feature+.hp-feature{border-left:1px dashed #edf1f8}
.hp-f-ico{width:64px;height:64px;border-radius:16px;display:flex;align-items:center;justify-content:center;flex:0 0 64px}
.hp-f-ico svg{width:40px;height:40px;fill:none;stroke:#2b59d6;stroke-width:1.7}
.hp-f-ico.blue{background:#eef3ff}
.hp-f-ico.green{background:#eafaf2}.hp-f-ico.green svg{stroke:#16a35f}
.hp-f-ico.orange{background:#fff4e8}.hp-f-ico.orange svg{stroke:#f08a1d}
.hp-feature b{font-size:16px;display:block;margin-bottom:6px}
.hp-feature p{margin:0;color:#7c879e;font-size:13px;line-height:1.65}

/* 公告与客服 */
.hp-section{padding:76px 0 0}
.hp-sec-h{display:flex;align-items:baseline;gap:12px;margin-bottom:18px}
.hp-sec-h h2{margin:0;font-size:24px}
.hp-sec-h span{color:#8b95a8;font-size:13px}
.hp-sec-h.center{display:block;text-align:center}
.hp-sec-h.center h2{margin-bottom:8px}
.hp-news{background:#fff;border:1px solid var(--hp-line);border-radius:12px;padding:6px 24px;box-shadow:0 10px 26px rgba(24,40,80,.05)}
.hp-news-item{display:grid;grid-template-columns:110px minmax(0,1fr);gap:18px;padding:18px 0;border-top:1px dashed #edf1f8;color:#4b566d;font-size:14px;line-height:1.8}
.hp-news-item:first-child{border-top:0}
.hp-news-item time{color:#98a2b3;font-size:13px}
.hp-kefu{padding-bottom:80px;overflow:hidden}
.hp-kefu .hp-sec-h{position:relative;z-index:2}
.hp-kefu-title{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:8px}
.hp-kefu-title h2{margin:0}
.hp-kefu-portrait{width:48px;height:48px;flex:0 0 48px;padding:0;display:inline-flex;align-items:center;justify-content:center;border:2px solid #fff;border-radius:50%;background:#eef4ff;cursor:pointer;overflow:hidden;box-shadow:0 6px 16px rgba(43,89,214,.15),0 0 0 1px rgba(43,89,214,.16);transition:transform .2s ease,box-shadow .2s ease}
.hp-kefu-portrait img{width:100%;height:100%;object-fit:cover;object-position:50% 50%;border-radius:50%;display:block}
.hp-kefu-portrait:hover{transform:translateY(-2px);box-shadow:0 9px 20px rgba(43,89,214,.22),0 0 0 1px rgba(43,89,214,.24)}
.hp-kefu-portrait:active{transform:scale(.95)}
.hp-kefu-portrait:focus-visible{outline:3px solid rgba(43,89,214,.34);outline-offset:3px}
.hp-kefu-portrait.is-shaking{animation:hpKefuPortraitShake .52s cubic-bezier(.36,.07,.19,.97)}
@keyframes hpKefuPortraitShake{
  0%,100%{transform:rotate(0) translateY(0)}
  18%{transform:rotate(-4deg) translate(-1px,-1px)}
  36%{transform:rotate(3.5deg) translate(1px,0)}
  54%{transform:rotate(-3deg) translate(-1px,0)}
  72%{transform:rotate(2deg) translate(1px,0)}
  88%{transform:rotate(-1deg) translate(0,0)}
}
@media (max-width:760px){
  .hp-kefu-portrait{width:40px;height:40px;flex-basis:40px}
}
@media (prefers-reduced-motion:reduce){
  .hp-kefu-portrait.is-shaking{animation:none}
}
.hp-kefu-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:22px;margin-top:26px}
.hp-kefu-card{display:flex;gap:16px;align-items:center;width:360px;background:#fff;border:1px solid #eef1f6;border-radius:12px;padding:22px;box-shadow:0 12px 28px rgba(24,40,80,.07);transition:.18s;will-change:transform,opacity,filter}
.hp-kefu-card:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(24,40,80,.12)}
.hp-kefu-grid.is-armed:not(.is-in) .hp-kefu-card{opacity:0;transform:translate3d(var(--kefu-x,0),var(--kefu-y,0),0) rotate(var(--kefu-r,0deg)) scale(.84);filter:blur(5px)}
.hp-kefu-grid.is-armed.is-in .hp-kefu-card{animation:hpKefuCardIn 1.25s cubic-bezier(.2,.72,.28,1) backwards;animation-delay:var(--kefu-delay,0ms)}
@keyframes hpKefuCardIn{
  0%{opacity:0;transform:translate3d(var(--kefu-x,0),var(--kefu-y,0),0) rotate(var(--kefu-r,0deg)) scale(.84);filter:blur(5px)}
  62%{opacity:1;filter:blur(0)}
  100%{opacity:1;transform:translate3d(0,0,0) rotate(0) scale(1);filter:blur(0)}
}
.hp-kefu-avatar{width:84px;height:84px;border-radius:50%;background:linear-gradient(135deg,#eef3ff,#dbe6ff);display:flex;align-items:center;justify-content:center;flex:0 0 84px;color:#2b59d6}
.hp-kefu-grid.is-armed.is-in .hp-kefu-avatar{animation:hpKefuAvatarIn .92s cubic-bezier(.18,.9,.24,1) backwards;animation-delay:calc(var(--kefu-delay,0ms) + 150ms)}
@keyframes hpKefuAvatarIn{
  0%{opacity:.25;transform:translate3d(var(--kefu-ax,0),var(--kefu-ay,0),0) rotate(var(--kefu-ar,0deg)) scale(.4)}
  58%{opacity:1;transform:translate3d(0,0,0) rotate(0) scale(1.06)}
  100%{opacity:1;transform:translate3d(0,0,0) rotate(0) scale(1)}
}
@media (prefers-reduced-motion:reduce){
  .hp-kefu-grid.is-armed:not(.is-in) .hp-kefu-card{opacity:1;transform:none;filter:none}
  .hp-kefu-grid.is-armed.is-in .hp-kefu-card,.hp-kefu-grid.is-armed.is-in .hp-kefu-avatar{animation:none}
}
.hp-kefu-avatar svg{width:56px;height:56px;fill:none;stroke:#2b59d6;stroke-width:1.6}
.hp-kefu-info b{font-size:15px}
.hp-kefu-info div{color:#4b566d;font-size:14px;margin-top:4px}
.hp-qq{display:inline-block;margin-top:8px;padding:3px 10px;border:1px solid #dbe2ee;border-radius:5px;color:#3c4a5e;font-size:12px;text-decoration:none;background:#fff}
.hp-qq:hover{border-color:#9bb6f8;color:#2b59d6}
.hp-kefu-card.has-qr{width:440px;align-items:flex-start}
.hp-kefu-qr{flex:0 0 104px;text-align:center}
.hp-kefu-qr img{width:104px;height:104px;object-fit:contain;border:1px solid #e3e8f2;border-radius:8px;background:#fff;display:block}
.hp-kefu-qr small{display:block;color:#98a2b3;font-size:11px;margin-top:6px;white-space:nowrap}
@media(max-width:980px){.hp-kefu-card.has-qr{width:420px}}
@media(max-width:760px){
  .hp-kefu-card.has-qr{width:100%}
  .hp-kefu-qr{flex:0 0 88px}
  .hp-kefu-qr img{width:88px;height:88px}
}

.hp-foot{background:#20242b;color:#aeb8c8;padding:26px 0 30px;font-size:13px}
.hp-foot-sub{color:#79839a;margin-top:6px;line-height:1.7}

/* 登录切换与验证码 / 二维码 */
.hp-tabs{display:flex;border-bottom:1px solid #eef1f6;margin:0 0 16px}
.hp-tabs button{flex:1;background:none;border:0;font:inherit;font-size:15px;color:#98a2b3;padding:8px 0 12px;cursor:pointer;position:relative}
.hp-tabs button.on{color:#2b59d6;font-weight:600}
.hp-tabs button.on::after{content:"";position:absolute;left:50%;transform:translateX(-50%);bottom:-1px;width:64px;height:2px;background:#2b59d6}
.hp-cap{display:flex;gap:10px;align-items:center}
.hp-cap-img{width:104px;height:44px;border:1px solid #dfe5f0;border-radius:6px;cursor:pointer;object-fit:cover;background:#eaf2ff}
.hp-qr-panel{text-align:center;padding:2px 0 0}
.hp-qr-box{width:190px;height:190px;margin:16px auto 10px;border:1px solid #eef1f6;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#fff;transition:.2s}
.hp-qr-box.expired{opacity:.30}
.hp-qr-box canvas{display:block}
.hp-qr-loading{color:#98a2b3;font-size:13px}
.hp-qr-tip{font-size:13px;color:#5d6a7d;line-height:1.7}
.hp-qr-tip.bad{color:#a11d1d}
.hp-qr-refresh{display:inline-block;margin-top:8px;font-size:12px;color:#2b59d6;text-decoration:none}
.hp-qr-refresh:hover{text-decoration:underline}

@media(max-width:980px){
  .hp-wrap{max-width:calc(100% - 32px)}
  .hp-hero-in{grid-template-columns:minmax(0,1fr) 330px;gap:30px}
  .hp-nav{gap:20px}
  .hp-nav a{font-size:14px}
  .hp-logo-txt b{font-size:22px}
  .hp-features{padding:18px 4px}
  .hp-feature{padding:6px 12px;gap:10px}
  .hp-f-ico{width:52px;height:52px;flex-basis:52px}
  .hp-f-ico svg{width:34px;height:34px}
  .hp-feature b{font-size:14px}
  .hp-feature p{font-size:12px}
  .hp-kefu-card{width:330px}
}
@media(max-width:760px){
  .hp-top{height:auto;padding:8px 0}
  .hp-top-in{flex-wrap:wrap;gap:4px;font-size:12px}
  .hp-head{height:auto;padding:12px 0}
  .hp-head-in{flex-wrap:wrap;gap:12px}
  .hp-nav{width:100%;overflow:auto;gap:18px}
  .hp-nav a{padding:6px 0 8px;font-size:14px}
  .hp-nav a.on::after{bottom:2px;width:26px}
  .hp-hero{padding-top:26px}
  .hp-hero-in{grid-template-columns:1fr}
  .hp-hero-left h1{font-size:30px}
  .hp-sub{font-size:13px}
  .hp-notice{max-width:none}
  .hp-globe-panel{max-width:none;height:300px}
  .hp-login-card{margin-top:10px}
  .hp-features{grid-template-columns:1fr;transform:none;margin-top:18px;padding:14px}
  .hp-feature+.hp-feature{border-left:0;border-top:1px dashed #edf1f8;margin-top:6px;padding-top:14px}
  .hp-section{padding-top:46px}
  .hp-news-item{grid-template-columns:1fr;gap:4px}
  .hp-kefu-card{width:100%}
  .hp-kefu{padding-bottom:50px}
}
