/**
 * 首页主题 — 聚合支付 / Fintech Landing
 */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --home-primary: #0369a1;
  --home-primary-dark: #0f172a;
  --home-accent: #0ea5e9;
  --home-bg: #f8fafc;
  --home-surface: #ffffff;
  --home-text: #0f172a;
  --home-muted: #475569;
  --home-border: #e2e8f0;
  --home-radius: 12px;
  --home-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --home-font: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --home-container: 1140px;
  --home-gutter: clamp(1rem, 3vw, 1.5rem);
  --home-header-h: 64px;
  --home-section-py: clamp(3.5rem, 6vw, 5rem);
}

body.landing {
  font-family: var(--home-font);
  color: var(--home-text);
  background: var(--home-bg);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--home-header-h);
  scroll-padding-top: calc(var(--home-header-h) + 0.5rem);
}

/* 统一内容宽度，覆盖 main.css 固定 1200/960px */
body.landing .container {
  width: 100% !important;
  max-width: var(--home-container) !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: var(--home-gutter) !important;
  padding-right: var(--home-gutter) !important;
  box-sizing: border-box !important;
}

body.landing .row::before,
body.landing .row::after {
  display: none;
}

/* Header */
body.landing #header,
body.landing #header.alt {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--home-header-h);
  min-height: var(--home-header-h);
  line-height: normal;
  display: block;
  padding: 0;
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--home-border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
  z-index: 10000;
}

.home-header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.5rem;
  width: 100%;
  max-width: var(--home-container);
  height: var(--home-header-h);
  margin: 0 auto;
  padding: 0 var(--home-gutter);
  box-sizing: border-box;
}

body.landing #header h1,
body.landing #header nav {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  height: auto !important;
  line-height: normal !important;
  margin: 0;
  flex-shrink: 0;
}

body.landing #header nav#nav {
  flex: 1 1 auto;
  min-width: 0;
  margin-left: 0.5rem;
}

body.landing #header nav#nav > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  text-align: left;
}

body.landing #header nav#navRight {
  margin-left: auto;
  flex-shrink: 0;
}

body.landing #header nav#navRight > ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

body.landing #header nav > ul > li {
  vertical-align: middle;
}

body.landing #header nav > ul > li a:not(.button) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#header h1 {
  margin: 0;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--home-primary-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

.site-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--home-primary) 0%, var(--home-accent) 100%);
  box-shadow: 0 4px 12px rgba(3, 105, 161, 0.35);
}

#header nav > ul > li a:not(.button) {
  color: var(--home-muted) !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

#header nav > ul > li a:not(.button):hover {
  color: var(--home-primary) !important;
}

#header .button.login_btn,
#header .button.register_btn {
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}

#header .button.login_btn {
  background: var(--home-primary) !important;
}

#header .button.register_btn {
  background: var(--home-primary-dark) !important;
}

#header .button:hover {
  opacity: 1 !important;
}

#header nav > ul > li a:not(.button) {
  cursor: pointer;
  border-radius: 8px;
  padding: 0.4em 0.85em !important;
}

#header nav > ul > li a:not(.button):hover {
  background: #f0f9ff;
}

/* 移动端菜单按钮与下拉面板 */
.home-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.home-nav-toggle-bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--home-primary-dark);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.home-nav-open .home-nav-toggle {
  border-color: var(--home-primary);
  background: #f0f9ff;
}

body.home-nav-open .home-nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.home-nav-open .home-nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.home-nav-open .home-nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.home-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(15, 23, 42, 0.45);
}

body.home-nav-open .home-nav-overlay {
  display: block;
}

.home-nav-drawer {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--home-header-height, 56px);
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid var(--home-border);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  padding: 12px 16px 16px;
}

body.home-nav-open .home-nav-drawer {
  display: block;
}

body.home-nav-open {
  overflow: hidden;
}

.home-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 12px;
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  overflow: hidden;
}

.home-nav-links a {
  display: block;
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--home-text) !important;
  text-decoration: none;
  border-bottom: 1px solid var(--home-border);
  transition: background 0.15s ease, color 0.15s ease;
}

.home-nav-links a:last-child {
  border-bottom: none;
}

.home-nav-links a:hover,
.home-nav-links a:active {
  background: #f0f9ff;
  color: var(--home-primary) !important;
}

.home-nav-actions {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.home-nav-actions .button {
  flex: 1 1 0;
  display: block !important;
  text-align: center;
  height: 2.75em !important;
  line-height: 2.75em !important;
  padding: 0 0.5em !important;
  margin: 0 !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  white-space: nowrap;
}

.home-nav-actions .login_btn {
  background: var(--home-primary) !important;
  color: #fff !important;
}

.home-nav-actions .register_btn {
  background: var(--home-primary-dark) !important;
  color: #fff !important;
}

/* Hero — 勿用 background-image:none，否则会清掉渐变导致白底白字 */
body.landing .home-hero,
body.landing .cd-fixed-bg.cd-bg-1,
body.landing .banner.cd-bg-1,
body.landing #banner.banner {
  background-color: #0f172a !important;
  background-image: linear-gradient(145deg, #0f172a 0%, #1e3a5f 42%, #0369a1 100%) !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-attachment: scroll !important;
  min-height: auto;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem) !important;
  margin-top: 0;
}

body.landing,
body.landing html {
  height: auto;
  min-height: 100%;
}

body.landing #page-wrapper {
  padding-top: 0;
  height: auto;
  min-height: 100%;
}

body.landing .banner {
  color: #fff;
  padding: 0 !important;
}

/* Hero 双栏 */
body.landing #banner .container.hero-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  align-items: center;
  column-gap: clamp(2rem, 5vw, 4rem);
  row-gap: 2rem;
}

body.landing #banner .container.hero-layout > * {
  float: none !important;
  clear: none !important;
}

body.landing #banner .container.hero-layout::before,
body.landing #banner .container.hero-layout::after {
  display: none !important;
}

body.landing .hero-copy,
body.landing .banner .banner_text {
  float: none !important;
  width: auto !important;
  max-width: none;
  margin: 0 !important;
  padding: 0;
  text-align: left;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}

body.landing .hero-eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #7dd3fc !important;
  line-height: 1.4;
}

body.landing .hero-title,
body.landing .banner .banner_text h1,
body.landing .banner .banner_text h1,
body.landing .banner .banner_text h2 {
  margin: 0 0 1.125rem !important;
  padding: 0;
  font-size: clamp(1.875rem, 3.6vw, 2.625rem) !important;
  font-weight: 700;
  line-height: 1.2 !important;
  color: #fff !important;
}

body.landing .hero-lead,
body.landing .banner .banner_text p {
  margin: 0 !important;
  max-width: 34em;
  font-size: 1.0625rem !important;
  line-height: 1.75 !important;
  color: rgba(255, 255, 255, 0.9) !important;
}

body.landing .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.5rem;
}

body.landing .hero-cta,
body.landing .banner .button.alt {
  display: inline-block;
  margin: 0 !important;
  height: auto !important;
  line-height: 2.75em !important;
  background: #fff !important;
  color: var(--home-primary) !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  padding: 0 1.75rem !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body.landing .hero-cta-secondary {
  display: inline-block;
  margin: 0 !important;
  padding: 0 1.25rem !important;
  height: auto !important;
  line-height: 2.75em !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

body.landing .hero-cta:hover,
body.landing .banner .button.alt:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  background: #fff !important;
  color: var(--home-primary) !important;
}

body.landing .hero-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
  color: #fff !important;
}

body.landing .hero-media,
body.landing .banner_img {
  float: none !important;
  width: 100% !important;
  max-width: 360px;
  margin: 0 !important;
  justify-self: end;
  align-self: center;
  text-align: center;
}

@media (min-width: 981px) {
  body.landing .hero-copy,
  body.landing #banner .banner_text {
    justify-self: start;
    align-self: center;
    max-width: 520px;
    width: 100% !important;
    padding-left: 0;
  }

  body.landing .hero-title,
  body.landing .banner .banner_text h1,
body.landing .banner .banner_text h2 {
    font-size: clamp(1.875rem, 3vw, 2.5rem) !important;
  }

  body.landing .hero-media,
  body.landing #banner .banner_img {
    max-width: 340px;
    justify-self: end;
  }
}

.banner_img .ie_img {
  display: none;
}

.hero-visual {
  position: relative;
}

.hero-device {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-radius: 28px;
  padding: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-device-screen {
  background: var(--home-surface);
  border-radius: 18px;
  padding: 1.25rem;
  min-height: 0;
}

.hero-device-screen img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-device-screen p {
  text-align: center;
  color: var(--home-muted);
  font-size: 0.85rem;
  margin-top: 0.75rem;
}

.hero-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #fff;
  color: var(--home-primary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: var(--home-shadow);
}

/* Sections */
.home-section,
body.landing .cd-scrolling-bg {
  padding: var(--home-section-py) 0 !important;
}

.cd-scrolling-bg.bg_white {
  background: var(--home-surface) !important;
}

.cd-scrolling-bg.bg_gary {
  background: var(--home-bg) !important;
}

.home-section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

.home-section-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: var(--home-text);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.home-section-head p {
  margin: 0;
  color: var(--home-muted);
  line-height: 1.7;
  font-size: 1.05rem;
}

.home-section-head--light h2,
.home-section-head--light p {
  color: #fff !important;
}

.home-section-head--light p {
  color: rgba(255, 255, 255, 0.82) !important;
}

.feature-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
}

.feature-icon-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.feature-icon-item {
  text-align: center;
  padding: 1.35rem 1rem;
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cd-scrolling-bg.bg_gary .feature-icon-item {
  background: var(--home-surface);
}

.feature-icon-item:hover {
  border-color: #bfdbfe;
  box-shadow: var(--home-shadow);
}

.feature-icon-item > i {
  font-size: 2rem;
  color: var(--home-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.feature-icon-item > i.feature-pay-icon {
  font-size: 0;
  width: 2rem;
  height: 2rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 0;
  background-color: currentColor;
  -webkit-mask: url(/assets/pay/icon/alipay.svg) center / contain no-repeat;
  mask: url(/assets/pay/icon/alipay.svg) center / contain no-repeat;
}

.feature-icon-item span {
  font-size: 0.9rem;
  color: var(--home-muted);
  font-weight: 500;
}

.cd-scrolling-bg .image.align-center img {
  display: none;
}

/* Advantages */
.home-advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-advantage-card {
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-advantage-card:hover {
  box-shadow: var(--home-shadow);
  border-color: #bfdbfe;
}

.home-advantage-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--home-text);
  margin: 0 0 0.5rem;
}

.home-advantage-card p {
  color: var(--home-muted);
  line-height: 1.65;
  margin: 0;
  font-size: 0.95rem;
}

.advantage_icon {
  width: 48px;
  height: 48px;
  margin: 0 0 1rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage_icon i {
  font-size: 1.35rem;
  color: var(--home-primary);
}

@media (min-width: 981px) {
  .home-advantages-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* CTA bottom */
.home-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.home-cta-register {
  margin: 0 !important;
}

.home-cta-register .button {
  cursor: pointer;
}

.cd-scrolling-bg.bottom_bg,
.home-section--cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0369a1 100%) !important;
}

.know_more {
  display: block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--home-radius);
  padding: 1.5rem;
  text-decoration: none;
  color: #fff !important;
  transition: background 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  height: 100%;
}

.know_more:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

.know_more h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.know_more p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
}

body.landing .know_more:before,
body.landing a.know_more:before {
  display: none !important;
  content: none !important;
}

body.landing .know_more .fa {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  color: #7dd3fc !important;
  margin-bottom: 0.65rem;
}

body.landing .konw_morebox {
  background: transparent !important;
  padding: 0 !important;
}

body.landing a.know_more,
body.landing .know_more {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  border-radius: var(--home-radius) !important;
  margin: 0 !important;
  text-align: left !important;
}

body.landing .bottom-cta-title,
body.landing .cd-scrolling-bg.bottom_bg h2 {
  color: #fff !important;
}

.bottom_bg .button.big.alt {
  background: #fff !important;
  color: var(--home-primary) !important;
  border: none !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
}

/* Footer */
.footer {
  background: var(--home-primary-dark) !important;
  padding: 3rem 0 2rem !important;
}

.home-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  margin-bottom: 0.5rem;
}

.footer_link--contact {
  grid-column: span 1;
}

.footer .footer_link a {
  cursor: pointer;
}

@media (max-width: 736px) {
  .home-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-icon-grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .feature-icon-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.footer .footer_link h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.footer .footer_link p,
.footer .footer_link a {
  color: rgba(248, 250, 252, 0.75) !important;
  font-size: 0.9rem;
  line-height: 1.8;
  transition: color 0.2s ease;
}

.footer .footer_link a:hover {
  color: #fff !important;
}

.footer .align-center > p {
  color: rgba(248, 250, 252, 0.5) !important;
  font-size: 0.85rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .icon.fa-qq,
.footer .icon.fa-envelope,
.footer .icon.fa-map-marker {
  color: var(--home-accent);
  margin-right: 6px;
}

@media (max-width: 980px) {
  .feature-icon-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-icon-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }

  .home-cta-grid {
    grid-template-columns: 1fr;
  }

  body.landing #banner .container.hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  body.landing .hero-copy,
  body.landing #banner .banner_text {
    text-align: center;
    order: 2;
    padding-left: 0 !important;
    max-width: none;
    justify-self: center;
  }

  body.landing .hero-lead {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.landing .hero-media,
  body.landing .banner_img {
    order: 1;
    justify-self: center;
    max-width: 280px;
  }

  body.landing .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 736px) {
  body.landing .cd-fixed-bg.cd-bg-1,
  body.landing .banner.cd-bg-1,
  body.landing #banner.banner {
    padding: 5rem 0 2.5rem !important;
  }

  body.landing #banner .container.hero-layout {
    padding: 0 1rem;
    gap: 1.5rem;
  }

  body.landing .hero-title,
  body.landing .banner .banner_text h1,
body.landing .banner .banner_text h2 {
    font-size: 1.5rem !important;
  }

  body.landing .hero-lead {
    font-size: 0.95rem !important;
  }

}

/* 平板/手机：隐藏顶栏原导航，显示菜单按钮 */
@media (max-width: 980px) {
  :root {
    --home-header-height: 56px;
  }

  body.landing {
    padding-top: var(--home-header-height);
  }

  body.landing #header,
  #header {
    height: var(--home-header-height, 56px);
    min-height: var(--home-header-height, 56px);
    padding: 0 !important;
  }

  .home-header-inner {
    height: var(--home-header-height, 56px);
    gap: 0.75rem;
  }

  body.landing #header h1,
  #header h1 {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    position: static !important;
  }

  .site-logo-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #header nav#nav,
  #header nav#navRight {
    display: none !important;
  }

  .home-nav-toggle {
    display: flex;
    margin-left: auto;
  }
}

/* 覆盖 main.css 在窄屏下对 banner 的 padding / margin */
@media screen and (max-width: 980px) and (orientation: portrait) {
  body.landing .banner,
  body.landing .cd-fixed-bg.banner {
    padding: 5rem 0 2.5rem !important;
  }

  body.landing .banner .banner_text {
    margin: 0 auto 1.5rem !important;
    width: 100% !important;
    float: none !important;
  }

  body.landing .banner_img {
    width: 100% !important;
    float: none !important;
  }
}

/* 覆盖 main.css 全局浅色字色，避免深色/浅色区块文字不可见 */
body.landing {
  color: var(--home-text);
}

body.landing .home-section-head h2,
body.landing .home-advantage-card h4 {
  color: var(--home-text) !important;
}

body.landing .home-section-head p,
body.landing .home-advantage-card p,
body.landing .feature-icon-item span {
  color: var(--home-muted) !important;
}

body.landing .banner,
body.landing .banner .banner_text {
  color: #fff;
}

body.landing .hero-lead,
body.landing .hero-eyebrow,
body.landing .banner .banner_text p,
body.landing .banner .banner_text p span {
  color: rgba(255, 255, 255, 0.9) !important;
}

body.landing .hero-eyebrow {
  color: #7dd3fc !important;
}

body.landing .banner .button.alt {
  color: var(--home-primary) !important;
}

body.landing .hero-device-screen,
body.landing .hero-device-screen p {
  color: var(--home-muted) !important;
}

body.landing .cd-scrolling-bg.bottom_bg .know_more,
body.landing .cd-scrolling-bg.bottom_bg .know_more h4,
body.landing .cd-scrolling-bg.bottom_bg .know_more p {
  color: #fff !important;
}

body.landing .cd-scrolling-bg.bottom_bg .know_more p {
  color: rgba(255, 255, 255, 0.82) !important;
}

body.landing .bottom_bg .button.big.alt {
  color: var(--home-primary) !important;
}

body.landing #header .button.login_btn,
body.landing #header .button.register_btn {
  color: #fff !important;
}

body.landing .footer .footer_link h5 {
  color: #fff !important;
}

body.landing .footer .footer_link p,
body.landing .footer .footer_link a {
  color: rgba(248, 250, 252, 0.78) !important;
}

body.landing .footer .footer_link a:hover {
  color: #fff !important;
}

body.landing .footer .align-center > p {
  color: rgba(248, 250, 252, 0.55) !important;
}

@media (prefers-reduced-motion: reduce) {
  .banner .button.alt,
  .hero-cta-secondary,
  #header .button,
  .know_more,
  .home-advantage-card,
  .feature-icon-item {
    transition: none !important;
  }
}

/* —— 功能介绍 / 协议等内页 —— */
body.landing .api_doc {
  display: block;
  width: 100% !important;
  max-width: var(--home-container) !important;
  padding: 1.5rem var(--home-gutter) 3rem !important;
  box-sizing: border-box;
}

body.landing .api_doc::before,
body.landing .api_doc::after {
  display: none;
}

body.landing .api_doc_bar {
  position: static !important;
  left: auto !important;
  top: auto !important;
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 0 1.5rem !important;
  background: var(--home-bg);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem !important;
  box-sizing: border-box;
}

body.landing .api_doc_bar dl {
  display: none;
}

body.landing .api_doc_nav-link {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--home-muted);
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

body.landing .api_doc_nav-link:hover,
body.landing .api_doc_nav-link.active {
  color: var(--home-primary);
  background: #f0f9ff;
  border-color: #bae6fd;
}

body.landing .api_doc_content {
  padding-left: 0 !important;
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  box-sizing: border-box;
}

body.landing .api_block {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--home-border);
}

body.landing .api_block:last-child {
  border-bottom: none;
}

body.landing .api_block h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--home-primary-dark);
  margin: 0 0 1.25rem;
}

body.landing .api_block h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.75rem;
  color: var(--home-text);
}

body.landing .api_block p {
  color: var(--home-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

body.landing .api_doc_img,
body.landing .api_doc_content img {
  display: block;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  margin: 1rem auto 1.5rem;
  border-radius: var(--home-radius);
}

body.landing .api_doc .fund_text {
  background: var(--home-surface);
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  padding: 1.5rem 1rem;
  margin-bottom: 1rem;
  height: 100%;
  box-sizing: border-box;
}

body.landing .api_doc .icon.round_icon.round_border {
  background-color: #fff;
  border-color: var(--home-primary);
}

body.landing .api_doc .icon.round_icon.round_border:before {
  color: var(--home-primary);
}

@media (min-width: 981px) {
  body.landing .api_doc {
    display: grid;
    grid-template-columns: 200px 1fr;
    column-gap: 2rem;
    align-items: start;
  }

  body.landing .api_doc_bar {
    position: sticky !important;
    top: calc(var(--home-header-h) + 1rem);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    margin-bottom: 0 !important;
  }

  body.landing .api_doc_nav-link {
    white-space: normal;
    text-align: left;
  }
}

@media (max-width: 980px) {
  body.landing .api_doc_bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }

  body.landing .api_doc .row {
    margin-left: 0 !important;
    margin-top: 0 !important;
  }

  body.landing .api_doc .row > [class*="u"] {
    width: 100% !important;
    clear: both !important;
    margin-left: 0 !important;
    padding-top: 1rem !important;
  }
}

@media (max-width: 736px) {
  body.landing .api_doc {
    padding-top: 1rem !important;
    padding-bottom: 2rem !important;
  }
}
