/* ==========================================================================
   NovaPay 单页官网 — 仿写自 qbitnetwork.com 首页风格（非 1:1 复刻）
   ========================================================================== */

:root {
  --bg-light: #eef7f7;          /* 浅青底 */
  --bg-lighter: #f7fcfc;
  --bg-dark: #2f2f2f;           /* 深灰板块 */
  --ink: #1f2e38;               /* 近黑标题 */
  --body: #3b4d59;              /* 正文 */
  --muted: #5e6970;             /* 次要文字 */
  --teal: #1dc3be;              /* 品牌青 */
  --teal-deep: #5f8b8b;
  --mint: #99faff;              /* 深色板上的亮青 */
  --grad-cta: linear-gradient(135deg, #9bf8ff 0%, #c2fba8 100%);
  --radius: 12px;
  --container: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial,
          sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;           /* 首屏插画向右溢出 */
  -webkit-font-smoothing: antialiased;
}

img { display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: var(--container);
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 按钮 ---------- */

.btn {
  display: inline-block;
  border-radius: var(--radius);
  padding: 12px 36px;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background-color .2s;
}

.btn-primary { background: #000; color: #fff; }
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.btn-outline {
  background: transparent;
  color: #000;
  border: 1px solid #000;
}
.btn-outline:hover { background: rgba(0, 0, 0, .05); }

.btn-sm { padding: 8px 24px; font-size: 14px; }

/* ---------- 带箭头的文字链 ---------- */

.arrow-link {
  display: inline-flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--teal-deep);
}
.arrow-link::after { content: "→"; margin-left: .35em; transition: margin .25s; }
.arrow-link:hover::after { margin-left: .6em; }

.arrow-link-light { color: var(--mint); }

/* ==========================================================================
   顶部导航
   ========================================================================== */

.site-header { background: var(--bg-light); }

.header-inner {
  height: 96px;
  display: flex;
  align-items: center;
}

.logo { display: inline-flex; align-items: center; gap: 10px; }

.logo-mark {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
  background: #fff;
  padding: 4px;
}

.logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .02em;
}

.main-nav { display: flex; gap: 56px; margin-left: 110px; }

.main-nav a {
  position: relative;
  padding: 38px 2px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

/* 悬停时的青色下划线 */
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 0;
  height: 4px;
  border-radius: 2px;
  background: var(--teal);
  transition: width .25s;
}
.main-nav a:hover::after { width: 28px; }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 24px; }

.icon-btn {
  background: none;
  border: none;
  color: var(--ink);
  cursor: pointer;
  padding: 6px;
  display: grid;
  place-items: center;
}
.icon-btn:hover { color: var(--teal); }

.login-link { font-size: 16px; font-weight: 600; color: var(--ink); }
.login-link:hover { color: var(--teal); }

/* ==========================================================================
   首屏
   ========================================================================== */

.hero {
  position: relative;
  background: var(--bg-light);
  overflow: hidden;
}

.hero-inner { position: relative; padding: 150px 0 130px; min-height: 860px; }

.hero-copy { max-width: 620px; }

.hero-copy h1 {
  font-size: 68px;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: .01em;
  background: linear-gradient(135deg, #1dc3be 0%, #5f8b8b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy p {
  margin-top: 28px;
  max-width: 560px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--body);
  border-left: 3px solid var(--teal);
  padding-left: 20px;
}

.hero-actions { margin-top: 56px; display: flex; gap: 32px; }

/* 右侧装饰底与产品图（向右溢出裁切） */
.hero-bg {
  position: absolute;
  top: 64px;
  right: -240px;
  height: 780px;
  width: auto;
}
.hero-mockup {
  position: absolute;
  top: 205px;
  right: -240px;
  height: 620px;
  width: auto;
}

/* ==========================================================================
   客户 logo
   ========================================================================== */

.clients { background: var(--bg-light); padding-bottom: 110px; }

.clients-title {
  font-size: 22px;
  font-weight: 600;
  color: var(--teal-deep);
  margin-bottom: 48px;
}

.clients-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.clients-row + .clients-row { margin-top: 40px; }
.clients-row img { height: 64px; width: auto; opacity: .9; }

/* ==========================================================================
   深色：全球网络
   ========================================================================== */

.network { background: var(--bg-dark); overflow: hidden; }

.network-inner { position: relative; padding: 110px 0 120px; }

.network h2 {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
}

.network-sub {
  margin-top: 28px;
  font-size: 20px;
  color: rgba(255, 255, 255, .82);
}

.network-art { position: relative; margin-top: 56px; }

.network-map {
  position: relative;
  z-index: 1;
  height: 430px;
  width: auto;
}

.network-side {
  position: absolute;
  top: 40px;
  right: -340px;
  height: 780px;
  width: auto;
}

/* ==========================================================================
   生態合作伙伴
   ========================================================================== */

.partners {
  background: var(--bg-light);
  padding: 110px 0 16px;
}

.partners h2 {
  margin: 10px 0 0;
  font-size: 52px;
  line-height: 1.34;
  font-weight: 700;
  color: var(--ink);
}

.partners-sub {
  margin-top: 16px;
  font-size: 20px;
  color: var(--muted);
}

.partners-head { max-width: 620px; }

.partners-head h2 em {
  display: inline-block;
  margin-left: .18em;
  font-style: normal;
  background: linear-gradient(135deg, #1dc3be 0%, #5f8b8b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.partners-row {
  margin-top: 64px;
  display: flex;
  align-items: center;
  gap: 96px;
}

.partners-copy { flex: 0 0 480px; max-width: 480px; }

.partner-logo {
  height: 88px;
  width: auto;
  border-radius: var(--radius);
  margin-bottom: 28px;
}

.partners-copy h3 {
  margin: 0;
  font-size: 42px;
  line-height: 1.34;
  font-weight: 700;
  color: var(--ink);
}

.partners-copy p {
  margin-top: 20px;
  font-size: 19px;
  line-height: 1.7;
  color: var(--body);
}

.partners-points {
  margin-top: 32px;
  display: grid;
  gap: 22px;
}

.partners-points .point {
  padding-left: 20px;
  border-left: 3px solid var(--teal);
}

.partners-points .point h4 { font-size: 20px; font-weight: 600; color: var(--ink); }
.partners-points .point p { margin-top: 6px; font-size: 16px; color: var(--muted); }

.partners-copy .arrow-link { margin-top: 36px; }

.partners-art {
  flex: 0 0 520px;
  max-width: 520px;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* ==========================================================================
   三大产品板块
   ========================================================================== */

.features { background: var(--bg-light); padding: 16px 0 10px; }

.feature-row {
  display: flex;
  align-items: center;
  gap: 96px;
  margin-bottom: 110px;
}
.feature-row.reverse { flex-direction: row-reverse; }

.feature-copy { flex: 0 0 560px; max-width: 560px; }

.eyebrow {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--teal-deep);
}

.feature-copy h3 {
  margin: 10px 0 40px;
  font-size: 46px;
  line-height: 1.34;
  font-weight: 700;
  color: var(--ink);
}

.feature-points { display: grid; gap: 32px; }

.point h4 { font-size: 22px; font-weight: 600; color: var(--ink); }
.point p { margin-top: 10px; font-size: 18px; color: var(--muted); }
.feature-copy .arrow-link { margin-top: 36px; }

.feature-img {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
   深色：安全合规
   ========================================================================== */

.security { background: var(--bg-dark); padding: 110px 0 120px; }

.security h2 { font-size: 52px; font-weight: 700; color: #fff; }

.security-sub {
  margin: 28px 0 32px;
  font-size: 18px;
  color: rgba(255, 255, 255, .8);
}

.security-cards {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.security-card {
  padding: 28px 36px 36px;
  border-radius: 8px;
  background: rgba(240, 245, 245, .06);
  transition: background-color .25s;
}
.security-card:hover { background: rgba(240, 245, 245, .1); }

.security-card img { width: 48px; height: 48px; }

.security-card h3 {
  margin: 16px 0 10px;
  font-size: 22px;
  font-weight: 600;
  color: #fff;
}

.security-card p { font-size: 18px; color: rgba(255, 255, 255, .7); }

/* ==========================================================================
   渐变 CTA
   ========================================================================== */

.cta { background: var(--grad-cta); }

.cta-inner {
  padding: 88px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta h2 { font-size: 42px; font-weight: 700; color: #000; }

.cta-inner .btn {
  margin-left: auto;
  padding: 14px 40px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  background: #000;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}
.cta-inner .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .28);
}

/* ==========================================================================
   页脚
   ========================================================================== */

.site-footer { background: var(--bg-light); }

.footer-main {
  padding: 80px 0 60px;
  display: flex;
  gap: 64px;
}

.footer-brand { flex: 0 0 300px; }

.footer-brand h3 {
  margin: 40px 0 14px;
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
}

.footer-brand p { font-size: 16px; color: var(--body); margin-bottom: 22px; }

.footer-cols { margin-left: auto; display: flex; gap: 64px; }

.footer-col { display: flex; flex-direction: column; gap: 20px; }

.footer-col h4 { font-size: 16px; font-weight: 600; color: var(--ink); }

.footer-col a { font-size: 14px; color: var(--body); }
.footer-col a:hover { color: var(--teal); }

.footer-bottom { background: var(--bg-lighter); padding: 20px 0; }

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.lang-pill {
  padding: 6px 14px;
  border: 1px solid var(--teal-deep);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--teal-deep);
  cursor: pointer;
  user-select: none;
}

.social { display: flex; gap: 8px; }

.social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #dde9e9;
  color: #46605f;
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: background-color .25s, color .25s;
}
.social a:hover { background: #000; color: #fff; }

.copyright { font-size: 14px; color: #aeb4b8; text-align: center; }

/* ==========================================================================
   响应式（简单降级）
   ========================================================================== */

@media (max-width: 1400px) {
  .hero-mockup, .hero-bg { right: -320px; }
  .network-side { right: -420px; }
}

@media (max-width: 1000px) {
  .main-nav {
    gap: 24px;
    margin-left: auto;
  }
  .header-inner { height: 80px; }

  .hero-inner { padding-top: 80px; }
  .hero-copy h1 { font-size: 48px; }
  .hero-bg { display: none; }
  .hero-mockup {
    position: static;
    height: auto;
    max-width: 100%;
    margin-top: 48px;
  }

  .clients-row img { height: 44px; }

  .network { display: none; }
  .network h2, .security h2 { font-size: 36px; }
  .partners h2 { font-size: 36px; }
  .partners-row { flex-direction: column; gap: 48px; }
  .partners-copy { flex-basis: auto; }
  .partners-copy h3 { font-size: 34px; }
  .partners-art { flex: 0 0 100%; max-width: 100%; }

  .feature-row, .feature-row.reverse {
    flex-direction: column;
    gap: 48px;
  }
  .feature-copy { flex-basis: auto; }
  .feature-copy h3 { font-size: 34px; }

  .security-cards { grid-template-columns: 1fr; }

  .cta-inner { flex-direction: column; align-items: flex-start; padding: 64px 0; }
  .cta h2 { font-size: 30px; }

  .footer-main { flex-direction: column; }
  .footer-cols { margin-left: 0; flex-wrap: wrap; gap: 40px 56px; }

  .footer-bottom-inner { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }

  .header-inner { height: 68px; }
  .main-nav { gap: 16px; margin-left: 16px; }
  .main-nav a { padding: 0; font-size: 15px; }
  .main-nav a::after { bottom: -6px; }
  .logo-mark { width: 40px; height: 40px; padding: 3px; }
  .logo-text { font-size: 18px; }

  .hero-inner { padding: 48px 0 56px; min-height: 0; }
  .hero-copy h1 { font-size: 34px; line-height: 1.35; }
  .hero-copy p { margin-top: 18px; font-size: 16px; }
  .hero-actions { margin-top: 32px; flex-direction: column; gap: 16px; }
  .hero-actions .btn { width: 100%; }
  .hero-mockup { margin-top: 36px; }

  .network h2, .security h2 { font-size: 28px; }
  .network-sub { font-size: 15px; }

  .partners { padding: 72px 0 16px; }
  .partners h2 { font-size: 28px; }
  .partners-sub { font-size: 15px; }

  .partners-row { gap: 32px; }
  .partner-logo { height: 64px; margin-bottom: 20px; }
  .partners-copy h3 { font-size: 26px; }
  .partners-copy p { font-size: 16px; }
  .partners-points { margin-top: 24px; gap: 16px; }
  .partners-points .point h4 { font-size: 17px; }
  .partners-points .point p { font-size: 15px; }
  .partners-art { flex: 0 0 100%; max-width: 100%; }

  .features { padding: 16px 0 10px; }
  .feature-row { gap: 36px; margin-bottom: 72px; }
  .feature-copy h3 { font-size: 28px; }
  .point h4 { font-size: 18px; }
  .point p { font-size: 15px; }

  .security { padding: 72px 0 80px; }
  .security-sub { font-size: 15px; }
  .security-card { padding: 24px 24px 30px; }
  .security-card h3 { font-size: 18px; }
  .security-card p { font-size: 15px; }

  .cta-inner { padding: 56px 0; }
  .cta h2 { font-size: 26px; }

  .footer-main { padding: 48px 0 40px; }
}
