/* ============================================================================
   竹易付 · 落地页 (assets/css/landing.css)  移动端优先
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --lp-brand: #10b981;
  --lp-brand-600: #059669;
  --lp-brand-700: #047857;
  --lp-brand-50: #ecfdf5;
  --lp-grad: linear-gradient(135deg, #34d399 0%, #059669 100%);
  --lp-ink: #0f172a;
  --lp-ink-2: #334155;
  --lp-ink-3: #64748b;
  --lp-line: #e4ebe8;
  --lp-bg: #f7fbf9;
  --lp-radius: 20px;
  --lp-shadow: 0 18px 46px rgba(15, 23, 42, .08);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--lp-ink-2);
  background: var(--lp-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; border: 0; }
h1, h2, h3, h4 { margin: 0; color: var(--lp-ink); line-height: 1.3; letter-spacing: -.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.lp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------------------
   顶部导航
   --------------------------------------------------------------------------- */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(228, 235, 232, .9);
}
.lp-nav-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 64px;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}
.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 800;
  color: var(--lp-ink);
  letter-spacing: -.02em;
  white-space: nowrap;
  min-width: 0;
}
.lp-brand .lp-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 11px;
  background: var(--lp-grad);
  box-shadow: 0 6px 16px rgba(5, 150, 105, .3);
}
.lp-brand .lp-logo svg { width: 20px; height: 20px; }
.lp-brand span { overflow: hidden; text-overflow: ellipsis; }

.lp-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 18px;
}
.lp-nav-links a {
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--lp-ink-3);
  transition: color .18s, background .18s;
}
.lp-nav-links a:hover { color: var(--lp-brand-700); background: var(--lp-brand-50); }

/* 仅移动端菜单内显示（桌面端隐藏，桌面已有按钮） */
.lp-nav-links .lp-nav-mobile-only { display: none; }

.lp-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .16s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.lp-btn-ghost {
  color: var(--lp-ink-2);
  background: #fff;
  border: 1.5px solid var(--lp-line);
}
.lp-btn-ghost:hover { border-color: #a7f3d0; color: var(--lp-brand-700); background: var(--lp-brand-50); }

.lp-btn-primary {
  color: #fff;
  background: var(--lp-grad);
  box-shadow: 0 8px 20px rgba(5, 150, 105, .28);
}
.lp-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgba(5, 150, 105, .36); color: #fff; }

.lp-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--lp-line);
  border-radius: 11px;
  background: #fff;
  color: var(--lp-ink-2);
  font-size: 16px;
  cursor: pointer;
}

/* ---------------------------------------------------------------------------
   英雄区
   --------------------------------------------------------------------------- */
.lp-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 72px;
  background:
    radial-gradient(760px 400px at 78% 8%, rgba(52, 211, 153, .20) 0%, rgba(52, 211, 153, 0) 62%),
    radial-gradient(620px 360px at 6% 96%, rgba(96, 165, 250, .14) 0%, rgba(96, 165, 250, 0) 64%),
    linear-gradient(180deg, #ffffff 0%, #f4fbf8 100%);
}
.lp-hero-inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 48px;
  align-items: center;
}
.lp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid #d7f0e4;
  color: var(--lp-brand-700);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(5, 150, 105, .1);
  margin-bottom: 20px;
}
.lp-hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lp-brand);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, .18);
}
.lp-hero h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.03em;
  margin-bottom: 18px;
}
.lp-hero h1 .grad {
  background: var(--lp-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.lp-hero-sub {
  font-size: 16.5px;
  color: var(--lp-ink-3);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 28px;
}
.lp-hero-sub strong { color: var(--lp-brand-700); font-weight: 700; }

.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.lp-hero-actions .lp-btn { min-height: 50px; padding: 0 28px; font-size: 15.5px; border-radius: 14px; }

.lp-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding-top: 24px;
  border-top: 1px dashed #dfe9e5;
}
.lp-stat .num {
  font-size: 24px;
  font-weight: 800;
  color: var(--lp-ink);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.lp-stat .num em { font-style: normal; color: var(--lp-brand-600); font-size: 15px; margin-left: 2px; }
.lp-stat .lbl { font-size: 13px; color: var(--lp-ink-3); margin-top: 2px; }

/* 手机 / 支付卡片示意（纯 CSS，无外链图片） */
.lp-hero-visual { position: relative; display: flex; justify-content: center; }
.lp-phone {
  position: relative;
  width: 300px;
  max-width: 100%;
  border-radius: 34px;
  padding: 14px;
  background: linear-gradient(160deg, #0f2e23 0%, #123a2c 100%);
  box-shadow: 0 30px 70px -20px rgba(9, 40, 30, .5), 0 0 0 1px rgba(255, 255, 255, .06) inset;
}
.lp-phone::before {
  content: "";
  position: absolute;
  left: 50%; top: 8px;
  transform: translateX(-50%);
  width: 78px; height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, .18);
}
.lp-phone-screen {
  border-radius: 24px;
  background: #f6faf8;
  padding: 26px 16px 18px;
  min-height: 380px;
  display: flex;
  flex-direction: column;
}
.lp-phone-title {
  font-size: 12.5px;
  color: var(--lp-ink-3);
  text-align: center;
  margin-bottom: 4px;
}
.lp-phone-amount {
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  color: var(--lp-ink);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.lp-phone-amount small { font-size: 16px; margin-right: 2px; color: var(--lp-ink-3); }

.lp-phone-rows { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.lp-phone-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1.5px solid #e7eeea;
  font-size: 13px;
  color: var(--lp-ink-2);
  font-weight: 600;
}
.lp-phone-row .ico {
  width: 24px; height: 24px;
  flex: 0 0 24px;
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #fff; font-weight: 700;
}
.lp-phone-row .ico.alipay { background: #1677ff; }
.lp-phone-row .ico.wx { background: #07c160; }
.lp-phone-row .ico.bank { background: #f59e0b; }
.lp-phone-row .ok { margin-left: auto; color: var(--lp-brand-600); font-size: 13px; }

.lp-phone-pay {
  margin-top: auto;
  height: 46px;
  border-radius: 14px;
  background: var(--lp-grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(5, 150, 105, .3);
}

.lp-float-card {
  position: absolute;
  right: -26px;
  top: 84px;
  background: #fff;
  border-radius: 15px;
  padding: 11px 15px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, .14);
  border: 1px solid #eef3f0;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: lpFloat 4.5s ease-in-out infinite;
}
.lp-float-card .fc-ico {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--lp-brand-50);
  color: var(--lp-brand-600);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.lp-float-card .fc-t { font-size: 12px; color: var(--lp-ink-3); line-height: 1.3; }
.lp-float-card .fc-v { font-size: 14px; font-weight: 800; color: var(--lp-ink); line-height: 1.3; }
@keyframes lpFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------------------------------------------------------------------------
   渠道条
   --------------------------------------------------------------------------- */
.lp-channels {
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
  background: #fff;
  padding: 22px 0;
}
.lp-channels-inner {
  display: flex;
  align-items: center;
  gap: 14px 34px;
  flex-wrap: wrap;
  justify-content: center;
}
.lp-channels-label {
  font-size: 13px;
  color: var(--lp-ink-3);
  font-weight: 600;
  letter-spacing: .04em;
}
.lp-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--lp-ink-2);
  padding: 7px 15px;
  border-radius: 30px;
  background: #f7fbf9;
  border: 1px solid #e9f1ed;
}
.lp-chip i { font-size: 14px; }

/* ---------------------------------------------------------------------------
   通用区块
   --------------------------------------------------------------------------- */
.lp-section { padding: 76px 0; }
.lp-section.alt { background: #fff; }
.lp-section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.lp-section-head .eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lp-brand-600);
  background: var(--lp-brand-50);
  border-radius: 30px;
  padding: 5px 14px;
  margin-bottom: 14px;
}
.lp-section-head h2 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -.025em;
  margin-bottom: 12px;
}
.lp-section-head p { font-size: 15.5px; color: var(--lp-ink-3); line-height: 1.8; }

/* 功能卡片 */
.lp-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.lp-card {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 26px 22px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.lp-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lp-shadow);
  border-color: #c9ebdb;
}
.lp-card .lp-card-ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  color: #fff;
  background: var(--lp-grad);
  box-shadow: 0 8px 18px rgba(5, 150, 105, .26);
  margin-bottom: 16px;
}
.lp-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.lp-card p { font-size: 14px; color: var(--lp-ink-3); line-height: 1.75; }

/* 优势（左边图标 + 文案） */
.lp-adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.lp-adv {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  padding: 24px 22px;
  transition: transform .22s, box-shadow .22s, border-color .22s;
}
.lp-adv:hover { transform: translateY(-3px); box-shadow: var(--lp-shadow); border-color: #c9ebdb; }
.lp-adv .lp-adv-ico {
  flex: 0 0 46px;
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  background: var(--lp-brand-50);
  color: var(--lp-brand-600);
}
.lp-adv h4 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; }
.lp-adv p { font-size: 14px; color: var(--lp-ink-3); line-height: 1.75; }

/* CTA */
.lp-cta {
  margin: 0 auto 76px;
  max-width: 1160px;
  padding: 0 20px;
}
.lp-cta-inner {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 52px 40px;
  background: linear-gradient(135deg, #0f2e23 0%, #12513c 55%, #0d6b4c 100%);
  text-align: center;
  color: #fff;
}
.lp-cta-inner::after {
  content: "";
  position: absolute;
  right: -80px; top: -90px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(52, 211, 153, .18);
}
.lp-cta-inner::before {
  content: "";
  position: absolute;
  left: -70px; bottom: -110px;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: rgba(96, 165, 250, .12);
}
.lp-cta h2 { color: #fff; font-size: 30px; font-weight: 800; margin-bottom: 12px; position: relative; }
.lp-cta p { color: rgba(255, 255, 255, .82); font-size: 15.5px; margin-bottom: 26px; position: relative; }
.lp-cta .lp-btn { position: relative; min-height: 50px; padding: 0 30px; font-size: 15.5px; border-radius: 14px; }
.lp-cta .lp-btn-primary { background: #fff; color: var(--lp-brand-700); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }
.lp-cta .lp-btn-primary:hover { color: var(--lp-brand-700); background: #f2fdf8; }
.lp-cta .lp-btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff; }
.lp-cta .lp-btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .5); }

/* ---------------------------------------------------------------------------
   页脚
   --------------------------------------------------------------------------- */
.lp-footer {
  background: #0c2a20;
  color: #a9bdb6;
  padding: 56px 0 26px;
}
.lp-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.lp-footer h5 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .02em;
}
.lp-footer p { margin: 0 0 9px; font-size: 13.5px; line-height: 1.7; }
.lp-footer a { color: #a9bdb6; transition: color .18s; }
.lp-footer a:hover { color: #6ee7b7; }
.lp-footer .lp-f-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.lp-footer .lp-f-brand .lp-logo {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--lp-grad);
  display: flex; align-items: center; justify-content: center;
}
.lp-footer .lp-f-brand .lp-logo svg { width: 18px; height: 18px; }
.lp-footer .lp-f-brand strong { color: #fff; font-size: 16px; font-weight: 800; }
.lp-footer .lp-f-desc { font-size: 13px; color: #8fa8a0; line-height: 1.8; max-width: 300px; }
.lp-qr { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.lp-qr img { width: 108px; height: 108px; border-radius: 12px; background: #fff; padding: 6px; object-fit: contain; }
.lp-qr span { font-size: 12.5px; color: #8fa8a0; }
.lp-copy {
  padding-top: 20px;
  text-align: center;
  font-size: 12.5px;
  color: #7d938c;
  line-height: 1.9;
}
.lp-copy a { color: #8fa8a0; }

/* ---------------------------------------------------------------------------
   响应式
   --------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .lp-hero h1 { font-size: 38px; }
  .lp-cards { grid-template-columns: repeat(2, 1fr); }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 860px) {
  .lp-nav-links { display: none; }
  .lp-nav-toggle { display: flex; margin-left: auto; }
  .lp-nav-actions { margin-left: 0; }
  .lp-nav-actions .lp-btn-ghost { display: none; }

  /* 移动端展开菜单 */
  .lp-nav-links.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 16px 16px;
    background: #fff;
    border-bottom: 1px solid var(--lp-line);
    box-shadow: 0 14px 30px rgba(15, 23, 42, .08);
    margin: 0;
  }
  .lp-nav-links.open a { padding: 13px 14px; border-radius: 11px; font-size: 15px; }
  .lp-nav-links.open .lp-nav-mobile-only {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
    padding: 13px 14px;
    border-radius: 11px;
    background: var(--lp-brand-50);
    color: var(--lp-brand-700);
    font-weight: 700;
  }

  .lp-hero { padding: 40px 0 48px; }
  .lp-hero-inner { grid-template-columns: 1fr; gap: 38px; }
  .lp-hero h1 { font-size: 32px; }
  .lp-hero-sub { font-size: 15.5px; }
  .lp-hero-visual { order: 2; }
  .lp-hero-stats { gap: 22px; }
  .lp-phone { width: 270px; }
  .lp-phone-screen { min-height: 340px; }
  /* 小屏空间有限，浮卡会遮挡金额，直接隐藏 */
  .lp-float-card { display: none; }

  .lp-section { padding: 52px 0; }
  .lp-section-head { margin-bottom: 32px; }
  .lp-section-head h2 { font-size: 25px; }
  .lp-section-head p { font-size: 14.5px; }

  .lp-adv-grid { grid-template-columns: 1fr; }
  .lp-cta { margin-bottom: 52px; padding: 0 16px; }
  .lp-cta-inner { padding: 38px 22px; border-radius: 22px; }
  .lp-cta h2 { font-size: 24px; }
  .lp-cta p { font-size: 14.5px; }

  .lp-footer { padding: 40px 0 22px; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .lp-wrap { padding: 0 16px; }
}

@media (max-width: 520px) {
  .lp-nav-inner { height: 58px; padding: 0 14px; gap: 10px; }
  .lp-brand { font-size: 15.5px; }
  .lp-brand .lp-logo { width: 30px; height: 30px; flex-basis: 30px; border-radius: 10px; }
  .lp-nav-links.open { top: 58px; }
  .lp-btn { min-height: 38px; padding: 0 15px; font-size: 13.5px; border-radius: 10px; }
  .lp-nav-actions .lp-btn-primary { min-height: 36px; padding: 0 14px; font-size: 13px; }

  .lp-hero h1 { font-size: 27px; line-height: 1.28; }
  .lp-hero-badge { font-size: 12px; padding: 5px 12px; margin-bottom: 15px; }
  .lp-hero-actions { gap: 10px; margin-bottom: 26px; }
  .lp-hero-actions .lp-btn { flex: 1 1 100%; min-height: 46px; font-size: 15px; }
  .lp-hero-stats { gap: 18px; padding-top: 20px; }
  .lp-stat { flex: 1 1 calc(50% - 18px); }
  .lp-stat .num { font-size: 21px; }

  .lp-cards { grid-template-columns: 1fr; gap: 14px; }
  .lp-card { padding: 20px 18px; border-radius: 16px; }
  .lp-adv { padding: 18px; border-radius: 16px; }
  .lp-channels { padding: 16px 0; }
  .lp-channels-inner { gap: 10px 12px; }
  .lp-chip { font-size: 12.5px; padding: 6px 12px; }

  .lp-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .lp-qr { align-items: flex-start; }
}
