/* 彩虹易支付 Pro 风格 - 仿制样式 */
@font-face{
  font-family:'HarmonyOS Sans SC';
  src:url('/assets/fonts/HarmonyOS_Sans_SC.woff2') format('woff2');
  font-weight:300 700;font-style:normal;font-display:swap;
}
* { margin:0; padding:0; box-sizing:border-box; }
:root{
  --primary:#409eff;
  --primary-dark:#337ecc;
  --text:#333;
  --muted:#7a7f87;
  --line:#eef1f5;
  --bg-soft:#f4f9ff;
}
html{ font-size:16px; -webkit-text-size-adjust:100%; }
body{
  font-family:'HarmonyOS Sans SC',-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;
  color:var(--text); background:#fff; line-height:1.7; -webkit-font-smoothing:antialiased;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:inline-block; }
.container{ width:100%; max-width:1100px; margin:0 auto; padding:0 24px; }

/* ===== 顶部导航 ===== */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  height:64px; background:rgba(255,255,255,.96); border-bottom:1px solid var(--line);
  box-shadow:0 1px 6px rgba(0,0,0,.03);
}
.site-header .container{ height:100%; display:flex; align-items:center; }
.logo img{ height:40px; display:block; }
.nav{ display:flex; margin-left:48px; }
.nav a{ padding:0 18px; font-size:14px; color:#555; line-height:64px; transition:color .2s; }
.nav a:hover{ color:var(--primary); }
.nav-right{ margin-left:auto; display:flex; align-items:center; gap:10px; }
.nav-right .login{ font-size:14px; color:#555; padding:8px 12px; }
.nav-right .login:hover{ color:var(--primary); }
.btn{
  display:inline-block; border:none; cursor:pointer; font-size:14px;
  padding:9px 22px; border-radius:4px; transition:all .2s; line-height:1.4;
}
.btn-primary{ background:var(--primary); color:#fff; }
.btn-primary:hover{ background:var(--primary-dark); box-shadow:0 4px 12px rgba(64,158,255,.35); }
.menu-toggle{ display:none; margin-left:auto; font-size:24px; background:none; border:none; cursor:pointer; color:#555; }

/* ===== 首屏 ===== */
.hero{ padding-top:64px; background:#fff; }
.hero .container{ display:flex; align-items:center; min-height:520px; gap:40px; }
.hero-copy{ flex:1; padding:60px 0; }
.hero-copy h1{ font-size:42px; font-weight:700; color:#222; letter-spacing:1px; margin-bottom:24px; }
.hero-copy p.desc{ font-size:16px; color:var(--muted); line-height:2; max-width:420px; margin-bottom:36px; }
.hero-copy .btn-primary{ font-size:16px; padding:13px 34px; }
.hero-art{ flex:1; text-align:center; }
.hero-art img{ max-width:520px; width:100%; }

/* ===== 服务特色区 ===== */
.service{ background:var(--bg-soft); padding:80px 0; }
.service-item{ display:flex; align-items:center; gap:60px; }
.service-item + .service-item{ margin-top:80px; }
.service-item.reverse{ flex-direction:row-reverse; }
.service-copy{ flex:1; }
.service-copy .icon{ width:56px; height:56px; margin-bottom:20px; }
.service-copy h3{ font-size:26px; color:#222; margin-bottom:18px; }
.service-copy p{ font-size:15px; color:var(--muted); line-height:2; }
.service-art{ flex:1; text-align:center; }
.service-art img{ max-width:480px; width:100%; }

/* ===== 支付渠道 ===== */
.channels{ padding:80px 0; background:#fff; text-align:center; }
.channels h2{ font-size:30px; color:#222; margin-bottom:14px; }
.channels .sub{ color:var(--muted); font-size:15px; margin-bottom:50px; }
.channel-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:20px; }
.channel-card{
  background:#fff; border:1px solid var(--line); border-radius:10px; padding:32px 16px;
  transition:all .25s;
}
.channel-card:hover{ transform:translateY(-6px); box-shadow:0 12px 30px rgba(0,0,0,.08); border-color:var(--primary); }
.channel-card .ci{
  width:64px; height:64px; line-height:64px; margin:0 auto 14px;
  font-size:30px; font-weight:700; border-radius:50%; color:#fff !important;
}
.channel-card:nth-child(1) .ci{ background:#1aad19; }
.channel-card:nth-child(2) .ci{ background:#409eff; }
.channel-card:nth-child(3) .ci{ background:#12b7f5; }
.channel-card:nth-child(4) .ci{ background:#e4393c; }
/* 真实支付品牌图片图标 */
.channel-card .ci-img{background:#fff!important;border:1px solid #eef1f5;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 10px rgba(0,0,0,.05);}
.channel-card .ci-img img{width:38px;height:38px;object-fit:contain;display:block;}
.channel-card .ci-img.wechat img{width:40px;height:40px;}
.channel-card h4{ font-size:17px; color:#333; margin-bottom:6px; }
.channel-card p{ font-size:13px; color:var(--muted); }

/* ===== 联系我们 ===== */
.contact{ background:linear-gradient(135deg,#eef5ff 0%,#f9fcff 100%); padding:70px 0; }
.contact .container{ display:flex; align-items:center; gap:50px; }
.contact-art{ flex:1; text-align:center; }
.contact-art img{ max-width:460px; width:100%; }
.contact-copy{ flex:1; }
.contact-copy h3{ font-size:30px; color:#222; margin-bottom:14px; }
.contact-copy p{ font-size:16px; color:var(--muted); margin-bottom:28px; }

/* ===== 页脚 ===== */
.site-footer{ background:#1f2733; color:#aab2bd; padding:50px 0 30px; }
.footer-grid{ display:flex; gap:60px; flex-wrap:wrap; }
.footer-col h5{ color:#fff; font-size:15px; margin-bottom:18px; }
.footer-col a{ display:block; font-size:13px; padding:5px 0; }
.footer-col a:hover{ color:var(--primary); }
.footer-bottom{ text-align:center; border-top:1px solid rgba(255,255,255,.08); margin-top:40px; padding-top:22px; font-size:13px; color:#6b7480; }

/* ===== 响应式 ===== */
@media (max-width:860px){
  .nav, .nav-right{ display:none; }
  .menu-toggle{ display:block; }
  .site-header.open .nav{ display:flex; position:absolute; top:64px; left:0; right:0; background:#fff; flex-direction:column; margin:0; box-shadow:0 8px 16px rgba(0,0,0,.08); }
  .site-header.open .nav a{ line-height:46px; padding:0 24px; }
  .site-header.open .nav-right{ display:flex; position:absolute; top:calc(64px + 184px); left:0; right:0; background:#fff; padding:12px 24px; }
  .hero .container{ flex-direction:column; text-align:center; padding-top:40px; }
  .hero-copy{ padding:40px 0 10px; }
  .hero-copy h1{ font-size:32px; }
  .hero-copy p.desc{ margin-left:auto; margin-right:auto; }
  .service-item, .service-item.reverse{ flex-direction:column; gap:20px; }
  .service-item + .service-item{ margin-top:56px; }
  .channel-grid{ grid-template-columns:repeat(2,1fr); }
  .contact .container{ flex-direction:column; }
}
