/* roulang page: index */
:root {
  --ink: #0F172A;
  --text: #334155;
  --muted: #64748B;
  --line: #E2E8F0;
  --paper: #FFFFFF;
  --mist: #F8FAFC;
  --teal: #0D9488;
  --teal-dark: #0F766E;
  --blue: #2563EB;
  --night: #0B0F19;
  --shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 18px 40px -18px rgba(15, 23, 42, 0.28);
  --radius: 12px;
  --header: 72px;
  --max: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(13, 148, 136, 0.18); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.topbar {
  background: var(--ink);
  color: #CBD5E1;
  font-size: 13px;
  letter-spacing: 0.01em;
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar a { color: #E2E8F0; }
.topbar a:hover { color: #fff; }
.top-status { display: inline-flex; align-items: center; gap: 8px; }
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2DD4BF;
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.15);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}
.nav-wrap {
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--ink);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -0.03em;
}
.brand-name span { color: var(--muted); font-size: 12px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #475569;
  font-size: 14px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--ink); background: #F1F5F9; }
.nav-links a.active { color: var(--teal-dark); background: rgba(13, 148, 136, 0.1); font-weight: 650; }
.nav-cta, .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.nav-cta, .btn-primary {
  background: var(--ink);
  color: #fff;
  font-weight: 650;
  font-size: 14px;
}
.nav-cta:hover, .btn-primary:hover { background: #1E293B; box-shadow: var(--shadow-lg); }
.btn-ghost {
  background: transparent;
  color: #E2E8F0;
  border-color: rgba(255,255,255,0.22);
}
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn:active, .nav-cta:active { transform: translateY(1px); }
.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-btn span { width: 16px; height: 1.5px; background: var(--ink); display: block; }
.hero {
  position: relative;
  color: #E2E8F0;
  background:
    linear-gradient(100deg, rgba(11, 15, 25, 0.94) 0%, rgba(11, 15, 25, 0.82) 48%, rgba(11, 15, 25, 0.55) 100%),
    url("/assets/images/7326169dc4599b72.webp") center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(255,255,255,0.08);
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 58px 0 64px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #99F6E4;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero h1 {
  margin-top: 14px;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 760;
}
.hero-lead {
  margin-top: 18px;
  max-width: 640px;
  color: #CBD5E1;
  font-size: 16px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.code-card {
  background: rgba(8, 12, 22, 0.78);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 24px 60px -28px rgba(0,0,0,0.65);
  overflow: hidden;
}
.code-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #94A3B8;
  font-size: 12px;
}
.dots { display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; display: block; background: #334155; }
.dots i:nth-child(1) { background: #FB7185; }
.dots i:nth-child(2) { background: #FBBF24; }
.dots i:nth-child(3) { background: #34D399; }
.code-card pre {
  margin: 0;
  padding: 18px 18px 20px;
  overflow: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #E2E8F0;
}
.tok-k { color: #5EEAD4; }
.tok-s { color: #93C5FD; }
.tok-n { color: #FDE68A; }
.code-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 14px;
  color: #94A3B8;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
}
section { padding: 92px 0; }
.section-mist { background: var(--mist); }
.section-tight { padding: 28px 0; }
.sec-kicker {
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.08em;
}
.sec-title {
  margin-top: 8px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 760;
}
.sec-lead { margin-top: 14px; max-width: 760px; color: var(--text); }
.bento {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-areas:
    "pay credit aml"
    "pay account promo"
    "cross cross promo";
  gap: 16px;
}
.tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  min-height: 148px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.tile:hover { border-color: rgba(13,148,136,.55); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tile h3 { color: var(--ink); font-size: 18px; letter-spacing: -0.02em; }
.tile p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.tile-pay { grid-area: pay; background:
  linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.88)),
  url("/assets/images/a1b8d2a13041968b.webp") center/cover; }
.tile-credit { grid-area: credit; }
.tile-aml { grid-area: aml; }
.tile-account { grid-area: account; }
.tile-promo { grid-area: promo; }
.tile-cross { grid-area: cross; }
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}
.pick-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 18px;
}
.pick-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.pick-card img { width: 100%; height: 230px; object-fit: cover; }
.pick-body { padding: 20px 22px 22px; }
.pick-body h3 { color: var(--ink); font-size: 22px; letter-spacing: -0.02em; }
.pick-body p { margin-top: 8px; color: var(--text); }
.pick-side { display: grid; gap: 18px; }
.pick-side .pick-card img { height: 112px; }
.proto { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.news-list { margin-top: 28px; display: grid; gap: 14px; }
.news-item {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: border-color .2s ease, transform .2s ease;
}
.news-item:hover { border-color: #99F6E4; transform: translateX(3px); }
.news-item img { width: 100%; height: 118px; object-fit: cover; border-radius: 10px; }
.news-meta { color: var(--teal-dark); font-size: 12px; font-weight: 750; letter-spacing: 0.06em; }
.news-item h3 { margin-top: 4px; color: var(--ink); font-size: 18px; }
.news-item p { margin-top: 6px; color: var(--muted); font-size: 14px; }
.rank-list { margin-top: 28px; display: grid; gap: 12px; }
.rank-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 72px;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.rank-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 20px;
  color: var(--ink);
  font-weight: 720;
}
.rank-row strong { color: var(--ink); display: block; }
.rank-row p { color: var(--muted); font-size: 14px; }
.meter { margin-top: 8px; height: 6px; background: #E2E8F0; border-radius: 99px; overflow: hidden; }
.meter span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--blue)); border-radius: inherit; }
.rank-val { text-align: right; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--ink); font-weight: 700; }
.section-dark {
  position: relative;
  color: #CBD5E1;
  background:
    linear-gradient(180deg, rgba(11,15,25,.92), rgba(11,15,25,.88)),
    url("/assets/images/0f3eaf90e3e1f810.webp") center/cover no-repeat;
}
.section-dark .sec-title, .section-dark h3 { color: #fff; }
.section-dark .sec-kicker { color: #5EEAD4; }
.case-list { margin-top: 30px; display: grid; gap: 22px; }
.case-item {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
}
.case-item:nth-child(even) { grid-template-columns: minmax(0, 1fr) 280px; }
.case-item:nth-child(even) img { order: 2; }
.case-item img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; }
.case-item h3 { font-size: 22px; letter-spacing: -0.02em; }
.case-item p { margin-top: 8px; }
.stat-inline { margin-top: 12px; display: flex; gap: 18px; flex-wrap: wrap; color: #99F6E4; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.partner-grid { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.partner-item {
  min-height: 64px;
  min-width: 180px;
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px dashed #CBD5E1;
  background: #fff;
}
.partner-item strong { color: var(--ink); font-size: 15px; }
.partner-item span { color: var(--muted); font-size: 13px; }
.assure {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.assure-item {
  min-height: 88px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
}
.assure-item strong { display: block; color: var(--ink); }
.assure-item span { color: var(--muted); font-size: 13px; }
.step-list {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  position: relative;
}
.step-item {
  background: var(--mist);
  border-radius: 16px;
  padding: 20px 18px 18px;
  border: 1px solid var(--line);
  min-height: 210px;
}
.step-no {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--teal-dark);
  font-weight: 760;
}
.step-item h3 { margin-top: 10px; color: var(--ink); font-size: 18px; }
.step-item p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.metric-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.metric-item { padding: 8px 8px 0 0; border-top: 2px solid var(--ink); }
.metric-num {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: clamp(32px, 4vw, 46px);
  color: var(--ink);
  letter-spacing: -0.04em;
  font-weight: 720;
  line-height: 1.1;
}
.metric-item p { margin-top: 8px; color: var(--muted); }
.quote-grid { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-card {
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.stars { color: var(--teal); letter-spacing: 2px; font-size: 14px; }
.quote-card q { display: block; margin-top: 12px; color: var(--ink); font-size: 18px; line-height: 1.7; quotes: none; }
.quote-card footer { margin-top: 16px; color: var(--muted); font-size: 13px; }
.scene-list { margin-top: 26px; display: grid; }
.scene-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.scene-row h3 { color: var(--ink); font-size: 20px; }
.scene-row p { color: var(--text); }
.split { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.split-col {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  min-height: 100%;
}
.split-col img { width: 100%; height: 190px; object-fit: cover; }
.split-copy { padding: 20px 22px 24px; }
.split-col h3 { color: var(--ink); font-size: 22px; }
.split-copy p { margin-top: 8px; }
.before { background: #F8FAFC; }
.after { background: #F0FDFA; border-color: #99F6E4; }
.trial {
  background:
    linear-gradient(110deg, rgba(15,23,42,.94), rgba(15,23,42,.82)),
    url("/assets/images/c962713e6622d730.webp") center/cover no-repeat;
  color: #CBD5E1;
}
.trial .sec-title { color: #fff; }
.trial .sec-kicker { color: #5EEAD4; }
.trial-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.form {
  background: rgba(255,255,255,0.96);
  color: var(--text);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { color: var(--ink); font-size: 13px; font-weight: 700; }
.field input, .field select {
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid #CBD5E1;
  background: #fff;
  padding: 0 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:hover, .field select:hover { border-color: #94A3B8; }
.field input:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(13,148,136,.12); outline: none; }
.form .btn { width: 100%; background: var(--teal); }
.form .btn:hover { background: var(--teal-dark); }
.form-tip { min-height: 24px; font-size: 13px; color: var(--muted); }
.form-tip.ok { color: var(--teal-dark); }
.form-tip.err { color: #BE123C; }
.site-footer { background: #F8FAFC; border-top: 1px solid var(--line); padding: 56px 0 28px; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr; gap: 28px; }
.foot-title { color: var(--ink); font-size: 15px; font-weight: 750; margin-bottom: 12px; }
.foot-links { display: grid; gap: 8px; }
.foot-links a { min-height: 32px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--teal-dark); }
.copyright { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 1024px) {
  .menu-btn { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { border-radius: 10px; }
  .nav-cta { display: none; }
  .bento, .pick-grid, .metric-grid, .step-list, .assure, .quote-grid, .split, .trial-grid, .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bento { grid-template-areas: "pay credit" "aml account" "promo cross"; }
  .tile-pay { grid-area: pay; }
  .case-item, .case-item:nth-child(even) { grid-template-columns: 1fr; }
  .case-item:nth-child(even) img { order: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; padding: 42px 0 48px; }
}
@media (max-width: 768px) {
  section { padding: 68px 0; }
  .topbar-inner { min-height: 44px; font-size: 12px; }
  .hide-sm { display: none; }
  .bento, .pick-grid, .metric-grid, .step-list, .assure, .quote-grid, .split, .trial-grid, .foot-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .bento { grid-template-areas: "pay" "credit" "aml" "account" "promo" "cross"; }
  .news-item, .rank-row, .scene-row { grid-template-columns: 1fr; }
  .news-item img { height: 180px; }
  .rank-val { text-align: left; }
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .hero h1 { font-size: 32px; }
}
@media (max-width: 520px) {
  .hero-actions .btn, .form .btn { width: 100%; }
  .pick-card img { height: 180px; }
  .metric-num { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
