/* 官网样式 —— 零依赖,固定浅色主题(hero 深色)。
   大气 = 深海蓝渐变 + 大字排版 + 充足留白 + 品牌纸飞机意象。 */

:root {
  --blue: #1668DC;
  --blue-bright: #38A6FF;
  --blue-deep: #0A1F44;
  --blue-mid: #123A7C;
  --ink: #1C1C28;
  --muted: #6B6B7B;
  --bg: #FFFFFF;
  --bg-soft: #F5F7FB;
  --border: #E6E9F2;
  --radius: 14px;
  --maxw: 1120px;
  --shadow-sm: 0 1px 2px rgba(10, 31, 68, .06), 0 4px 12px rgba(10, 31, 68, .06);
  --shadow-lg: 0 8px 30px rgba(10, 31, 68, .14);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font: 16px/1.7 system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 780px; }

/* ==== 按钮 ==== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 14px 32px; font-size: 17px; border-radius: 12px; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 2px 10px rgba(22, 104, 220, .3); }
.btn-primary:hover { background: #0E57BD; box-shadow: 0 4px 16px rgba(22, 104, 220, .4); }

.btn-ghost { color: var(--ink); border: 1px solid var(--border); background: #fff; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn-hero { background: #fff; color: var(--blue); box-shadow: 0 4px 20px rgba(0, 0, 0, .18); }
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0, 0, 0, .24); }

.btn-hero-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.btn-hero-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* ==== 顶栏 ==== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.site-header.scrolled { border-bottom-color: var(--border); background: rgba(255, 255, 255, .94); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  height: 68px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-icon { width: 34px; height: 34px; flex: none; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1.12; }
.brand-text b { font-size: 17px; font-weight: 700; letter-spacing: .5px; }
.brand-text i { font-style: normal; font-size: 10.5px; font-weight: 600; opacity: .68; letter-spacing: 1.4px; }

.site-nav { display: flex; gap: 26px; margin-left: 8px; }
.site-nav a { font-size: 15px; color: var(--muted); font-weight: 500; transition: color .15s; }
.site-nav a:hover { color: var(--blue); }

.header-cta { margin-left: auto; display: flex; gap: 10px; }

/* ==== Hero ==== */

.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(56, 166, 255, .38), transparent 60%),
    radial-gradient(700px 420px at -8% 108%, rgba(56, 166, 255, .22), transparent 60%),
    linear-gradient(128deg, var(--blue-deep) 0%, var(--blue-mid) 52%, var(--blue) 100%);
  overflow: hidden;
}
.hero::before {
  /* 细网格纹理,拉开层次 */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 78%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9), transparent 78%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 40px;
  padding-top: 92px;
  padding-bottom: 148px;
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .08);
  font-size: 13.5px;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(36px, 5.6vw, 62px);
  line-height: 1.16;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, .84);
  max-width: 34em;
  margin-bottom: 34px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .62); }

/* hero 右侧视觉:大纸飞机 + 三张漂浮卡片 */

.hero-visual { position: relative; height: 420px; }

.hero-plane {
  position: absolute;
  right: -30px;
  top: 6px;
  width: 330px;
  height: 330px;
  transform: rotate(-8deg);
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  animation: floaty 6s ease-in-out infinite;
}
.float-card .fc-body { display: flex; flex-direction: column; line-height: 1.35; }
.float-card .fc-body b { font-size: 14.5px; font-weight: 700; }
.float-card .fc-body i { font-style: normal; font-size: 12.5px; color: var(--muted); }

.card-merchant { left: 4px; top: 58px; animation-delay: 0s; }
.card-merchant .fc-logo {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #38A6FF, #1668DC);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.card-merchant .fc-rate {
  margin-left: 8px;
  background: #E8F1FD;
  color: var(--blue);
  font-weight: 700;
  font-size: 13.5px;
  padding: 4px 10px;
  border-radius: 999px;
}

.card-cashback { right: 22px; top: 186px; animation-delay: 1.8s; }
.card-cashback .fc-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #1F9D55;
  box-shadow: 0 0 0 5px rgba(31, 157, 85, .16);
}

.card-withdraw { left: 46px; bottom: 24px; animation-delay: 3.2s; }
.card-withdraw .fc-check {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: #1F9D55;
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* hero 底部弧形过渡 */
.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 72px;
  background: var(--bg);
  clip-path: ellipse(120% 100% at 50% 100%);
}

/* ==== 数据带(上移压住 hero)==== */

.stats { margin-top: -74px; position: relative; z-index: 5; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 26px 22px 22px;
  text-align: center;
}
.stat-num {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.stat-label { color: var(--muted); font-size: 14px; }

/* ==== 通用 section ==== */

.section { padding: 96px 0; }
.section-soft { background: var(--bg-soft); }

.section-title {
  font-size: clamp(26px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: .5px;
  text-align: center;
  margin-bottom: 14px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 52px;
  font-size: 16.5px;
}
.section-cta { text-align: center; margin-top: 46px; }
.section-cta-left { margin-top: 34px; }

/* ==== 三步流程 ==== */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  transition: transform .2s, box-shadow .2s;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.step-no {
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 15px;
  font-weight: 800;
  color: var(--border);
  letter-spacing: 1px;
}
.step-icon {
  width: 46px; height: 46px;
  color: var(--blue);
  background: #E8F1FD;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 20px;
}
.step-card h3 { font-size: 19px; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 15px; }

/* ==== 商家墙 ==== */

.merchant-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 16px;
}

.wall-fallback {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 46px 20px;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.m-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.m-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: #C9D7F2; }

.m-logo, .m-fallback {
  grid-row: 1 / 3;
  width: 42px; height: 42px;
  border-radius: 10px;
  object-fit: contain;
}
.m-fallback {
  background: linear-gradient(135deg, #38A6FF, #1668DC);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  display: flex; align-items: center; justify-content: center;
}
.m-name {
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-domain {
  color: var(--muted);
  font-size: 12.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.m-rate {
  grid-column: 1 / 3;
  margin-top: 12px;
  justify-self: start;
  background: #E8F1FD;
  color: var(--blue);
  font-weight: 700;
  font-size: 13px;
  padding: 3px 10px;
  border-radius: 999px;
}

/* ==== 浏览器插件 ==== */

.ext-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.ext-copy .section-title { text-align: left; }

.ext-list { list-style: none; display: flex; flex-direction: column; gap: 22px; margin-top: 34px; }
.ext-list li { display: flex; flex-direction: column; gap: 4px; padding-left: 34px; position: relative; }
.ext-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 5px;
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--blue);
  clip-path: polygon(14% 44%, 0 62%, 40% 100%, 100% 16%, 84% 0%, 40% 66%);
}
.ext-list b { font-size: 16.5px; }
.ext-list span { color: var(--muted); font-size: 15px; }

/* 浏览器窗口 mockup */

.browser-mock {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.bm-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}
.bm-bar i { width: 11px; height: 11px; border-radius: 50%; background: #D9DEE9; }
.bm-url {
  margin-left: 12px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--muted);
  padding: 4px 12px;
}
.bm-body { position: relative; padding: 26px 22px 30px; min-height: 210px; }
.bm-line { height: 13px; border-radius: 6px; background: var(--bg-soft); margin-bottom: 14px; }
.bm-line.w60 { width: 60%; } .bm-line.w80 { width: 80%; } .bm-line.w40 { width: 40%; }

.bm-toast {
  position: absolute;
  right: 18px;
  top: 18px;
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 13px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  animation: floaty 5s ease-in-out infinite;
}
.bm-toast-icon { width: 34px; height: 34px; }
.bm-toast span { display: flex; flex-direction: column; line-height: 1.35; }
.bm-toast b { font-size: 14px; }
.bm-toast i { font-style: normal; font-size: 12px; color: var(--muted); }

/* ==== 信任卡 ==== */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.trust-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s;
}
.trust-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.trust-icon {
  width: 46px; height: 46px;
  color: var(--blue);
  background: #E8F1FD;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 20px;
}
.trust-card h3 { font-size: 18px; margin-bottom: 10px; }
.trust-card p { color: var(--muted); font-size: 15px; }

/* ==== FAQ ==== */

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0 22px;
  transition: border-color .2s;
}
.faq-list details[open] { border-color: #C9D7F2; }

.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 16px;
  padding: 18px 30px 18px 0;
  position: relative;
  user-select: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { color: var(--muted); padding-bottom: 20px; font-size: 15px; }

/* ==== 底部 CTA ==== */

.cta-band {
  margin: 40px 0 0;
  background:
    radial-gradient(900px 400px at 88% -30%, rgba(56, 166, 255, .35), transparent 60%),
    linear-gradient(120deg, var(--blue-deep), var(--blue-mid) 60%, var(--blue));
  color: #fff;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding-top: 72px;
  padding-bottom: 72px;
}
.cta-band h2 { font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; letter-spacing: .5px; }

/* ==== Footer ==== */

.site-footer { background: #081733; color: rgba(255, 255, 255, .78); }

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 52px;
  padding-bottom: 30px;
}
.footer-brand { display: grid; grid-template-columns: 34px auto; column-gap: 10px; align-items: center; }
.footer-brand .brand-text b { color: #fff; }
.footer-tag { grid-column: 1 / 3; margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }

.footer-links { display: flex; gap: 26px; flex-wrap: wrap; padding-top: 6px; }
.footer-links a { font-size: 14.5px; color: rgba(255, 255, 255, .78); transition: color .15s; }
.footer-links a:hover { color: #fff; }

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

/* ==== 入场动效 ==== */

/* 渐进增强:只有 html.js(head 里内联脚本加的)才隐藏待入场元素,
   无 JS 时内容原样可见。 */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
html.js .reveal.on { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .float-card, .bm-toast { animation: none; }
}

/* ==== 响应式 ==== */

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 120px; }
  .hero-visual { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .trust-grid { grid-template-columns: 1fr; }
  .ext-grid { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 72px 0; }
}

@media (max-width: 760px) {
  .site-nav { display: none; }
  .header-inner { gap: 0; }
  .btn-ghost { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat-num { font-size: 19px; }
  .cta-band-inner { justify-content: center; text-align: center; }
}
