/* ============================================================
   pay.boseway.com 聚合支付网关 - 官方落地页原生样式
   仅原生 CSS，零第三方依赖，支持桌面/平板/手机自适应
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
                 "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #2c3e50;
    line-height: 1.7;
    background: #fff;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- 导航栏 ---------- */
.lp-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #eef1f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    z-index: 100;
}
.lp-nav .brand { font-weight: 700; font-size: 17px; color: #1f2430; }
.lp-nav .brand .dot { color: #2b6cb0; }
.lp-nav ul { display: flex; gap: 28px; }
.lp-nav ul a { color: #4a5568; font-size: 14px; font-weight: 500; transition: color .15s; }
.lp-nav ul a:hover { color: #2b6cb0; }
.lp-nav .nav-cta {
    background: #2b6cb0;
    color: #fff;
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    transition: background .15s;
}
.lp-nav .nav-cta:hover { background: #2c5282; }

/* ---------- Hero ---------- */
.lp-hero {
    padding: 150px 5vw 90px;
    text-align: center;
    background:
        radial-gradient(80% 60% at 50% -10%, rgba(43,108,176,.14), transparent),
        linear-gradient(180deg, #f7fafd 0%, #fff 100%);
}
.lp-hero h1 { font-size: 44px; font-weight: 800; line-height: 1.25; color: #1f2430; margin-bottom: 18px; }
.lp-hero h1 .hl { color: #2b6cb0; }
.lp-hero .sub { font-size: 19px; color: #5a6472; max-width: 720px; margin: 0 auto 34px; }
.lp-hero .cta-group { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.lp-hero .btn-hero {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 13px 30px; border-radius: 28px; font-size: 16px; font-weight: 600;
}
.btn-primary-hero { background: #2b6cb0; color: #fff; box-shadow: 0 8px 20px rgba(43,108,176,.3); }
.btn-primary-hero:hover { background: #2c5282; }
.btn-ghost-hero { background: #fff; color: #2b6cb0; border: 2px solid #2b6cb0; }
.btn-ghost-hero:hover { background: #f0f6ff; }
.lp-hero .metrics {
    margin-top: 54px;
    display: flex; justify-content: center; gap: 44px; flex-wrap: wrap;
}
.lp-hero .metric { text-align: center; }
.lp-hero .metric .num { font-size: 30px; font-weight: 800; color: #2b6cb0; }
.lp-hero .metric .lab { font-size: 13px; color: #8a90a0; }

/* ---------- 区块通用 ---------- */
.lp-section { padding: 80px 5vw; }
.lp-section.alt { background: #f7fafd; }
.lp-title { font-size: 30px; font-weight: 800; color: #1f2430; text-align: center; margin-bottom: 12px; }
.lp-desc { text-align: center; color: #6a7482; max-width: 640px; margin: 0 auto 46px; }

/* ---------- 特性 / 能力 ---------- */
.lp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1100px; margin: 0 auto; }
.lp-feature {
    background: #fff; border: 1px solid #e7eaf0; border-radius: 12px;
    padding: 26px; transition: transform .2s, box-shadow .2s;
}
.lp-feature:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(31,36,48,.08); }
.lp-feature .ico { font-size: 30px; }
.lp-feature h3 { font-size: 17px; margin: 12px 0 8px; color: #1f2430; }
.lp-feature p { font-size: 14px; color: #6a7482; }

/* ---------- 支持通道 ---------- */
.lp-channels { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.lp-channel {
    background: #fff; border: 1px solid #e7eaf0; border-radius: 12px;
    padding: 22px 30px; text-align: center; min-width: 180px;
}
.lp-channel .logo { font-size: 34px; }
.lp-channel h4 { margin: 10px 0 4px; font-size: 16px; }
.lp-channel span { font-size: 13px; color: #8a90a0; }

/* ---------- 接入流程 ---------- */
.lp-steps { display: flex; align-items: flex-start; gap: 24px; max-width: 1000px; margin: 0 auto; }
.lp-step { flex: 1; text-align: center; }
.lp-step .n {
    width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%;
    background: #2b6cb0; color: #fff; font-weight: 700; font-size: 20px;
    display: flex; align-items: center; justify-content: center;
}
.lp-step h4 { font-size: 16px; margin-bottom: 8px; color: #1f2430; }
.lp-step p { font-size: 13px; color: #6a7482; }

/* ---------- API 快速接入 ---------- */
.lp-code {
    max-width: 760px; margin: 0 auto;
    background: #1f2430; border-radius: 12px; overflow: hidden;
}
.lp-code .bar { padding: 10px 16px; background: #2a3040; color: #8a8f9a; font-size: 12px; display: flex; gap: 8px; }
.lp-code .bar i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.lp-code .bar i:nth-child(1){background:#f56565}
.lp-code .bar i:nth-child(2){background:#ecc94b}
.lp-code .bar i:nth-child(3){background:#38a169}
.lp-code pre { padding: 20px; color: #dbe0e8; font-size: 13px; overflow-x: auto; }
.lp-code .k { color: #63b3ed; }
.lp-code .s { color: #9ae6b4; }
.lp-code .c { color: #8a8f9a; }

/* ---------- CTA ---------- */
.lp-cta { text-align: center; background: linear-gradient(135deg, #1f2430, #2b6cb0); color: #fff; padding: 70px 5vw; }
.lp-cta h2 { font-size: 28px; font-weight: 800; margin-bottom: 12px; }
.lp-cta p { opacity: .85; margin-bottom: 28px; }
.lp-cta .btn-cta {
    background: #fff; color: #2b6cb0; padding: 13px 34px; border-radius: 28px;
    font-weight: 700; font-size: 16px;
}

/* ---------- 页脚 ---------- */
.lp-footer { background: #12141b; color: #8a8f9a; padding: 40px 5vw 24px; text-align: center; }
.lp-footer .links { display: flex; justify-content: center; gap: 24px; margin-bottom: 14px; flex-wrap: wrap; }
.lp-footer .links a { color: #b6bac4; font-size: 13px; }
.lp-footer .links a:hover { color: #fff; }
.lp-footer p { font-size: 12px; }

/* ---------- 移动端适配 ---------- */
@media (max-width: 900px) {
    .lp-nav ul { display: none; }
    .lp-hero h1 { font-size: 32px; }
    .lp-hero .sub { font-size: 16px; }
    .lp-grid { grid-template-columns: repeat(2, 1fr); }
    .lp-title { font-size: 25px; }
}
@media (max-width: 560px) {
    .lp-hero { padding: 120px 5vw 60px; }
    .lp-grid { grid-template-columns: 1fr; }
    .lp-steps { flex-direction: column; }
    .lp-hero .metrics { gap: 24px; }
}
