@charset "utf-8";
/* 微信收款商业版 风格前端主题 —— 首页
   Designed for 彩虹易支付 template/wxbiz
*/

:root{
  --wx-green:#07C160;
  --wx-green-2:#0BD06C;
  --wx-green-dark:#06AD56;
  --wx-green-soft:#E9F9F1;
  --wx-ink:#131313;
  --wx-ink-2:#3C3F44;
  --wx-sub:#8B909A;
  --wx-line:#EFF1F4;
  --wx-bg:#F3F5F7;
  --wx-card:#FFFFFF;
  --wx-blue:#576B95;
  --wx-radius:16px;
  --wx-shadow:0 8px 24px rgba(17,24,39,.06);
}

*{ -webkit-tap-highlight-color:transparent; }
html,body{ margin:0; padding:0; }
body.wx-page{
  background:var(--wx-bg);
  color:var(--wx-ink);
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Helvetica Neue","Microsoft YaHei",sans-serif;
  font-size:15px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  padding-bottom:74px;
}
a{ text-decoration:none; color:inherit; }
img{ max-width:100%; border:0; }
table{ border-collapse:collapse; }

/* ============ 顶部绿幕 ============ */
.wx-hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(140deg,#06B457 0%, #07C160 45%, #16CE77 100%);
  color:#fff;
  padding:18px 0 74px;
  border-radius:0 0 26px 26px;
}
.wx-hero::before{
  content:""; position:absolute; right:-70px; top:-90px;
  width:260px; height:260px; border-radius:50%;
  background:rgba(255,255,255,.10);
}
.wx-hero::after{
  content:""; position:absolute; left:-60px; bottom:-120px;
  width:220px; height:220px; border-radius:50%;
  background:rgba(255,255,255,.08);
}
.wx-wrap{ position:relative; z-index:2; max-width:1040px; margin:0 auto; padding:0 18px; }

/* 顶栏 */
.wx-tabbar-top{ display:flex; align-items:center; justify-content:space-between; }
.wx-brand{ display:flex; align-items:center; gap:10px; }
.wx-logo{
  width:34px; height:34px; border-radius:10px;
  background:#fff; color:var(--wx-green);
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:19px;
  box-shadow:0 4px 12px rgba(0,0,0,.12);
}
.wx-brand-name{ font-size:17px; font-weight:600; letter-spacing:.5px; }
.wx-brand-sub{ display:block; font-size:11px; opacity:.75; margin-top:-2px; letter-spacing:1px; }
.wx-top-links{ display:flex; align-items:center; gap:8px; }
.wx-pill{
  display:inline-flex; align-items:center; justify-content:center;
  height:32px; padding:0 16px; border-radius:16px;
  font-size:13px; border:1px solid rgba(255,255,255,.5); color:#fff;
  background:rgba(255,255,255,.12);
  transition:.2s;
}
.wx-pill.solid{ background:#fff; color:var(--wx-green-dark); border-color:#fff; font-weight:600; }
.wx-pill:active{ transform:scale(.97); }

/* Hero 文案 */
.wx-hero-body{ margin-top:30px; }
.wx-hero-tag{
  display:inline-flex; align-items:center; gap:6px;
  height:26px; padding:0 12px; border-radius:13px;
  background:rgba(255,255,255,.16);
  font-size:12px; letter-spacing:.5px; margin-bottom:14px;
}
.wx-hero-tag i{ width:6px; height:6px; border-radius:50%; background:#B9FFD8; display:inline-block; }
.wx-hero-title{
  font-size:30px; line-height:1.32; font-weight:700; letter-spacing:.5px;
  margin:0 0 10px; max-width:660px;
}
.wx-hero-title em{ font-style:normal; color:#D6FFE7; }
.wx-hero-desc{ font-size:14px; opacity:.86; margin:0 0 22px; max-width:560px; }
.wx-hero-actions{ display:flex; gap:12px; flex-wrap:wrap; }
.wx-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  height:46px; padding:0 26px; border-radius:23px;
  font-size:15px; font-weight:600; border:0; cursor:pointer;
  transition:transform .15s ease, box-shadow .2s;
}
.wx-btn:active{ transform:scale(.98); }
.wx-btn-primary{ background:#fff; color:var(--wx-green-dark); box-shadow:0 8px 20px rgba(4,80,40,.18); }
.wx-btn-ghost{ background:rgba(255,255,255,.14); color:#fff; border:1px solid rgba(255,255,255,.55); }
.wx-btn-green{ background:linear-gradient(135deg,var(--wx-green),var(--wx-green-2)); color:#fff; box-shadow:0 8px 18px rgba(7,193,96,.28); }
.wx-btn-block{ width:100%; }

/* 到账通知浮卡 */
.wx-notify{
  position:relative; z-index:3;
  margin:-54px auto 0;
  max-width:1040px;
  padding:0 18px;
}
.wx-notify-card{
  background:#fff; border-radius:18px; padding:14px 16px;
  display:flex; align-items:center; gap:12px;
  box-shadow:0 12px 30px rgba(17,24,39,.10);
  animation:wxFloat 4.5s ease-in-out infinite;
}
@keyframes wxFloat{ 0%,100%{ transform:translateY(0) } 50%{ transform:translateY(-6px) } }
.wx-notify-icon{
  width:42px; height:42px; border-radius:12px; flex:none;
  background:var(--wx-green-soft); color:var(--wx-green);
  display:flex; align-items:center; justify-content:center; font-size:20px;
}
.wx-notify-main{ flex:1; min-width:0; }
.wx-notify-t{ font-size:15px; font-weight:600; }
.wx-notify-s{ font-size:12px; color:var(--wx-sub); margin-top:2px; }
.wx-notify-amount{ font-size:19px; font-weight:700; color:var(--wx-green); letter-spacing:.3px; }

/* ============ 内容 ============ */
.wx-main{ max-width:1040px; margin:0 auto; padding:24px 18px 0; }

/* 快捷入口 */
.wx-grid4{
  background:#fff; border-radius:var(--wx-radius); box-shadow:var(--wx-shadow);
  padding:18px 10px;
  display:grid; grid-template-columns:repeat(4,1fr); gap:10px;
}
.wx-quick{ display:flex; flex-direction:column; align-items:center; gap:9px; padding:6px 0; border-radius:12px; }
.wx-quick:active{ background:#F7FAF8; }
.wx-quick-ico{
  width:46px; height:46px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:19px; color:var(--wx-green);
  background:var(--wx-green-soft);
}
.wx-quick-ico.blue{ color:#576B95; background:#EDF1FA; }
.wx-quick-ico.orange{ color:#E5830E; background:#FDF3E3; }
.wx-quick-ico.purple{ color:#7460C8; background:#F1EEFC; }
.wx-quick span{ font-size:13px; color:var(--wx-ink-2); }

/* 数据条 */
.wx-stats{
  margin-top:14px; background:#fff; border-radius:var(--wx-radius); box-shadow:var(--wx-shadow);
  display:grid; grid-template-columns:repeat(3,1fr);
  padding:18px 8px;
}
.wx-stat{ text-align:center; position:relative; }
.wx-stat + .wx-stat::before{
  content:""; position:absolute; left:0; top:6px; bottom:6px; width:1px; background:var(--wx-line);
}
.wx-stat-num{ font-size:22px; font-weight:700; letter-spacing:.3px; }
.wx-stat-num small{ font-size:12px; font-weight:500; margin-left:2px; }
.wx-stat-label{ font-size:12px; color:var(--wx-sub); margin-top:2px; }

/* 区块标题 */
.wx-sec-title{
  display:flex; align-items:baseline; justify-content:space-between;
  margin:26px 4px 12px;
}
.wx-sec-title h3{ font-size:17px; margin:0; font-weight:600; letter-spacing:.3px; }
.wx-sec-title a{ font-size:12px; color:var(--wx-sub); }

/* 功能列表卡 */
.wx-card{
  background:#fff; border-radius:var(--wx-radius); box-shadow:var(--wx-shadow); overflow:hidden;
}
.wx-cell{
  display:flex; align-items:center; gap:14px; padding:16px 18px;
  position:relative;
}
.wx-cell + .wx-cell::before{
  content:""; position:absolute; left:64px; right:0; top:0; height:1px; background:var(--wx-line);
}
.wx-cell-ico{
  width:40px; height:40px; border-radius:12px; flex:none;
  display:flex; align-items:center; justify-content:center;
  font-size:17px; background:var(--wx-green-soft); color:var(--wx-green);
}
.wx-cell-bd{ flex:1; min-width:0; }
.wx-cell-t,.wx-cell-s{ display:block; }
.wx-cell-t{ font-size:15px; font-weight:600; }
.wx-cell-s{ font-size:12.5px; color:var(--wx-sub); line-height:1.5; margin-top:2px; }
.wx-cell-arrow{ color:#C8CDD4; font-size:14px; }

/* 特性网格 */
.wx-features{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.wx-feature{
  background:#fff; border-radius:var(--wx-radius); box-shadow:var(--wx-shadow);
  padding:18px;
}
.wx-feature-ico{
  width:38px; height:38px; border-radius:11px; display:flex; align-items:center; justify-content:center;
  background:var(--wx-green-soft); color:var(--wx-green); font-size:16px; margin-bottom:12px;
}
.wx-feature h4{ margin:0 0 6px; font-size:15px; font-weight:600; }
.wx-feature p{ margin:0; font-size:12.5px; color:var(--wx-sub); line-height:1.6; }

/* 通道 */
.wx-partners{
  background:#fff; border-radius:var(--wx-radius); box-shadow:var(--wx-shadow);
  padding:20px 14px; display:grid; grid-template-columns:repeat(4,1fr); gap:10px; align-items:center;
}
.wx-partner{ display:flex; flex-direction:column; align-items:center; gap:8px; }
.wx-partner img{ height:26px; width:auto; object-fit:contain; filter:grayscale(0); }
.wx-partner span{ font-size:12px; color:var(--wx-sub); }

/* CTA */
.wx-cta{
  margin-top:26px; border-radius:20px; padding:26px 22px;
  background:linear-gradient(135deg,#07C160 0%,#0BD06C 60%,#28DA85 100%);
  color:#fff; position:relative; overflow:hidden;
  box-shadow:0 16px 36px rgba(7,193,96,.25);
}
.wx-cta::after{
  content:""; position:absolute; right:-40px; bottom:-70px; width:200px; height:200px; border-radius:50%;
  background:rgba(255,255,255,.12);
}
.wx-cta h3{ margin:0 0 6px; font-size:20px; font-weight:700; }
.wx-cta p{ margin:0 0 18px; font-size:13px; opacity:.88; }
.wx-cta .wx-btn{ background:#fff; color:var(--wx-green-dark); height:44px; }

/* footer */
.wx-footer{ max-width:1040px; margin:30px auto 0; padding:0 18px 30px; color:#9AA0AA; font-size:12px; line-height:1.8; }
.wx-footer-links{ display:flex; flex-wrap:wrap; gap:18px; margin-bottom:10px; }
.wx-footer-links a{ color:#6B7280; }
.wx-footer p{ margin:2px 0; }

/* 底部导航（移动端） */
.wx-tabbar{
  position:fixed; left:0; right:0; bottom:0; z-index:99;
  height:60px; padding-bottom:env(safe-area-inset-bottom);
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  border-top:1px solid var(--wx-line);
  display:grid; grid-template-columns:repeat(4,1fr);
}
.wx-tab{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; color:#8B909A; font-size:11px; }
.wx-tab i{ font-size:18px; }
.wx-tab.active{ color:var(--wx-green); font-weight:600; }

/* ============ 桌面适配 ============ */
@media (min-width:900px){
  body.wx-page{ padding-bottom:0; }
  .wx-hero{ border-radius:0 0 32px 32px; padding:22px 0 86px; }
  .wx-hero-title{ font-size:38px; }
  .wx-hero-desc{ font-size:15px; }
  .wx-main{ padding-top:30px; }
  .wx-grid4{ padding:24px 18px; }
  .wx-quick-ico{ width:56px; height:56px; font-size:23px; }
  .wx-quick span{ font-size:14px; }
  .wx-features{ grid-template-columns:repeat(3,1fr); }
  .wx-tabbar{ display:none; }
  .wx-hero-actions .wx-btn{ height:50px; padding:0 34px; }
}

@media (max-width:380px){
  .wx-hero-title{ font-size:26px; }
  .wx-quick span{ font-size:12px; }
}

/* 桌面端 Hero 右侧数据卡 */
.wx-hero-visual{ display:none; }
@media (min-width:900px){
  .wx-hero{ padding:22px 0 96px; }
  .wx-hero .wx-wrap{ display:block; }
  .wx-hero-body{ max-width:600px; }
  .wx-hero-visual{
    display:block; position:absolute; right:18px; top:96px; width:320px;
    background:#fff; border-radius:22px; padding:20px;
    color:var(--wx-ink);
    box-shadow:0 24px 60px rgba(4,60,30,.22);
  }
  .wx-visual-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
  .wx-visual-head span{ font-size:13px; color:var(--wx-sub); }
  .wx-visual-head b{ font-size:13px; color:var(--wx-green); font-weight:600; }
  .wx-visual-amount{ font-size:34px; font-weight:700; letter-spacing:.5px; }
  .wx-visual-amount small{ font-size:15px; font-weight:600; margin-right:2px; }
  .wx-visual-sub{ font-size:12px; color:var(--wx-sub); margin-top:2px; }
  .wx-visual-bars{ display:flex; align-items:flex-end; gap:6px; height:64px; margin:18px 0 6px; }
  .wx-visual-bars i{ flex:1; background:linear-gradient(180deg,#A8EFC7,#07C160); border-radius:6px 6px 3px 3px; }
  .wx-visual-foot{ display:flex; justify-content:space-between; font-size:11px; color:#B4BAC2; padding-top:10px; border-top:1px solid var(--wx-line); margin-top:12px; }
}
