/* 屿泽款库 · 桌面站点样式（首页 / 查款入口） */
:root {
  --main: #5b8cff;
  --sub: #7ec8ff;
  --primary: #2f6bff;
  --primary-2: #56b4ff;
  --text: #1b2437;
  --soft: #4f5b70;
  --muted: #8b97ad;
  --line: rgba(140, 165, 210, .22);
  --card: rgba(255, 255, 255, .82);
  --shadow: 0 18px 44px -18px rgba(110, 140, 200, .45);
}

* { box-sizing: border-box; }

html, body { max-width: 100%; overflow-x: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(91, 140, 255, .38), transparent 62%),
    radial-gradient(ellipse 60% 45% at 100% 8%, rgba(126, 200, 255, .34), transparent 60%),
    linear-gradient(180deg, #f2f7ff 0%, #f4f9ff 46%, #eef5ff 100%);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.container { width: min(1160px, 92vw); margin: 0 auto; }

/* ---------- 顶栏 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 8px 30px -22px rgba(90, 120, 180, .6);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 66px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; letter-spacing: -.2px; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--main), var(--sub));
  box-shadow: 0 8px 18px -8px rgba(60, 115, 240, .9);
}
.logo-mark svg { width: 19px; height: 19px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.nav a {
  padding: 8px 13px; border-radius: 10px; font-size: 14px; color: var(--soft);
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--primary); background: rgba(91, 140, 255, .14); }
.nav a.active { color: var(--primary); font-weight: 700; background: rgba(91, 140, 255, .16); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }
.header-user { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--soft); }
.header-user .avatar { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--main), var(--sub)); display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; overflow: hidden; }
.header-user .avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; padding: 0 17px; border: 1px solid transparent; border-radius: 11px;
  font-size: 13.5px; font-weight: 600; font-family: inherit; cursor: pointer;
  color: var(--soft); background: rgba(255, 255, 255, .9);
  transition: transform .22s cubic-bezier(.4, 0, .2, 1), box-shadow .22s, background .22s, color .22s;
}
.btn svg { width: 17px; height: 17px; }
.btn-sm { height: 32px; padding: 0 13px; font-size: 12.5px; border-radius: 9px; }
.btn-lg { height: 46px; padding: 0 24px; font-size: 14.5px; border-radius: 13px; }
.btn-primary {
  color: #fff; border: none;
  background: linear-gradient(100deg, var(--main), var(--sub));
  box-shadow: 0 10px 24px -10px rgba(60, 115, 240, .95);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(60, 115, 240, 1); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  color: var(--primary); border: 1.5px solid rgba(91, 140, 255, .45);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 20px -14px rgba(60, 115, 240, .8);
}
.btn-ghost:hover { transform: translateY(-2px); background: rgba(91, 140, 255, .14); border-color: var(--primary); }
.btn-neutral { color: var(--soft); border: 1px solid var(--line); }

/* ---------- 主区域 ---------- */
.main-content { padding: 30px 0 62px; }

/* ---------- 首屏 ---------- */
.home-hero {
  position: relative; overflow: hidden; margin-bottom: 40px;
  padding: 62px 44px 58px; border-radius: 26px; text-align: center;
  background: radial-gradient(ellipse 80% 130% at 0% 0%, rgba(91, 140, 255, .34), transparent 58%),
              radial-gradient(ellipse 90% 110% at 100% 100%, rgba(126, 200, 255, .30), transparent 62%),
              rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.home-hero::before, .home-hero::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none;
}
.home-hero::before { top: -42%; right: -12%; width: 520px; height: 520px; background: radial-gradient(circle, rgba(91, 140, 255, .55), transparent 70%); }
.home-hero::after { bottom: -50%; left: -10%; width: 460px; height: 460px; background: radial-gradient(circle, rgba(126, 200, 255, .45), transparent 70%); }
.home-hero-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.home-hero-badge {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 20px;
  padding: 6px 15px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--primary);
  background: rgba(255, 255, 255, .86); border: 1px solid rgba(91, 140, 255, .32);
  box-shadow: 0 4px 14px -8px rgba(60, 115, 240, .7);
}
.home-hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px rgba(91, 140, 255, .24); }
.home-hero h1 {
  margin: 0 0 16px; font-size: 38px; line-height: 1.28; font-weight: 800; letter-spacing: -.8px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2f6bff 55%, #4fa8ff 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.home-hero p { margin: 0 auto 30px; max-width: 640px; font-size: 15.5px; line-height: 1.8; color: var(--soft); }
.home-hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }

/* ---------- 区块 ---------- */
.home-section { margin-bottom: 38px; }
.home-section-head { text-align: center; margin-bottom: 26px; }
.home-section-head h2 { margin: 0 0 8px; font-size: 25px; font-weight: 800; letter-spacing: -.4px; }
.home-section-head p { margin: 0; font-size: 13.5px; color: var(--muted); }
.home-benefit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.home-benefit-card {
  position: relative; overflow: hidden; padding: 26px 22px; text-align: center; border-radius: 18px;
  background: var(--card); border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: 0 12px 34px -22px rgba(130, 115, 190, .55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: transform .3s ease, box-shadow .3s ease;
}
.home-benefit-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2.5px;
  background: linear-gradient(90deg, transparent, var(--main) 30%, var(--sub) 70%, transparent);
  opacity: .8;
}
.home-benefit-card:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -24px rgba(130, 115, 190, .8); }
.home-benefit-icon {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 15px; display: grid; place-items: center;
  color: var(--primary); background: linear-gradient(135deg, rgba(91, 140, 255, .24), rgba(126, 200, 255, .24));
  border: 1px solid rgba(91, 140, 255, .26);
}
.home-benefit-icon svg { width: 24px; height: 24px; }
.home-benefit-card h3 { margin: 0 0 7px; font-size: 16px; font-weight: 700; }
.home-benefit-card p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* ---------- 底部行动区 ---------- */
.home-cta {
  position: relative; overflow: hidden; padding: 42px 30px; border-radius: 22px; text-align: center;
  background: radial-gradient(ellipse 80% 120% at 100% 0%, rgba(91, 140, 255, .34), transparent 60%),
              linear-gradient(135deg, rgba(236, 244, 255, .96), rgba(240, 248, 255, .96));
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: var(--shadow);
}
.home-cta h3 { position: relative; margin: 0 0 10px; font-size: 21px; font-weight: 800; }
.home-cta p { position: relative; margin: 0 0 20px; font-size: 13.5px; color: var(--soft); }

/* ---------- 查款入口卡 ---------- */
.sc-wrap { min-height: 62vh; display: flex; align-items: center; justify-content: center; padding: 32px 0; }
.sc-card {
  position: relative; overflow: hidden; width: min(460px, 100%); padding: 42px 38px 34px; text-align: center;
  border-radius: 24px; background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: var(--shadow), inset 0 1px 0 #fff;
}
.sc-card::before { content: ''; position: absolute; top: -90px; right: -70px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 140, 255, .45), transparent 70%); filter: blur(40px); pointer-events: none; }
.sc-card::after { content: ''; position: absolute; bottom: -100px; left: -70px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(126, 200, 255, .4), transparent 70%); filter: blur(40px); pointer-events: none; }
.sc-icon {
  position: relative; z-index: 1; width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--main), var(--sub));
  box-shadow: 0 14px 30px -10px rgba(60, 115, 240, .9), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.sc-icon svg { width: 32px; height: 32px; }
.sc-title {
  position: relative; z-index: 1; margin: 0 0 8px; font-size: 23px; font-weight: 800; letter-spacing: -.4px;
  background: linear-gradient(135deg, var(--text), var(--primary));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.sc-desc { position: relative; z-index: 1; margin: 0 0 24px; font-size: 13.5px; line-height: 1.6; color: var(--soft); }
.sc-form { position: relative; z-index: 1; display: flex; gap: 10px; }
.sc-input {
  flex: 1; height: 50px; padding: 0 16px; border-radius: 13px; font-family: inherit; font-size: 15px;
  color: var(--text); background: rgba(255, 255, 255, .95);
  border: 1.5px solid rgba(91, 140, 255, .35); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.sc-input::placeholder { color: #a6b3c8; }
.sc-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(91, 140, 255, .2); }
.sc-btn {
  height: 50px; padding: 0 22px; border: none; border-radius: 13px; cursor: pointer;
  font-family: inherit; font-size: 14.5px; font-weight: 700; color: #fff; white-space: nowrap;
  background: linear-gradient(100deg, var(--main), var(--sub));
  box-shadow: 0 10px 24px -10px rgba(60, 115, 240, .95);
  transition: transform .2s, box-shadow .2s;
}
.sc-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(60, 115, 240, 1); }
.sc-btn:active { transform: translateY(0) scale(.97); }
.sc-foot { position: relative; z-index: 1; margin: 18px 0 0; font-size: 12.5px; color: var(--muted); }
.sc-foot a { color: var(--primary); font-weight: 600; }
.sc-foot a:hover { text-decoration: underline; }

/* ---------- 提示 ---------- */
.alert { padding: 11px 14px; border-radius: 11px; font-size: 13px; line-height: 1.6; margin-bottom: 16px; }
.alert-err { color: #b02a44; background: rgba(255, 120, 150, .12); border: 1px solid rgba(255, 120, 150, .3); }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 22px 0 30px; text-align: center; }
.site-footer p { margin: 0; font-size: 12.5px; color: var(--muted); }

/* ---------- 平台数据 ---------- */
.home-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.home-stat {
  min-width: 122px; padding: 12px 18px; border-radius: 16px; text-align: center;
  background: rgba(255, 255, 255, .72); border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: 0 8px 22px -16px rgba(60, 115, 240, .5);
}
.home-stat b {
  display: block; font-size: 23px; font-weight: 800; letter-spacing: -.4px;
  background: linear-gradient(135deg, #1d4ed8, #4fa8ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.home-stat span { font-size: 12px; color: var(--muted); }

/* ---------- 三步上手 ---------- */
.home-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home-step {
  padding: 26px 22px; border-radius: 18px; background: var(--card);
  border: 1px solid rgba(255, 255, 255, .92);
  box-shadow: 0 12px 34px -24px rgba(60, 115, 240, .5);
}
.home-step .n {
  font-size: 12.5px; font-weight: 800; letter-spacing: 1.5px; color: var(--primary);
  padding: 3px 10px; border-radius: 999px; background: rgba(91, 140, 255, .12);
  display: inline-block;
}
.home-step h3 { margin: 10px 0 6px; font-size: 16px; font-weight: 700; }
.home-step p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* ---------- 入驻权益 ---------- */
.home-split {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: center;
  margin-bottom: 38px; padding: 38px 34px; border-radius: 24px;
  background: radial-gradient(ellipse 80% 120% at 0% 0%, rgba(91, 140, 255, .16), transparent 60%),
              rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .95); box-shadow: var(--shadow);
}
.home-split-info h2 { margin: 14px 0 10px; font-size: 25px; font-weight: 800; letter-spacing: -.4px; }
.home-split-info > p { margin: 0 0 18px; font-size: 13.5px; line-height: 1.8; color: var(--soft); }
.home-split-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.home-split-list li { display: flex; gap: 8px; font-size: 13px; line-height: 1.6; color: var(--soft); }
.home-split-list svg { width: 15px; height: 15px; color: #2f6bff; flex: none; margin-top: 2px; }
.home-split-card {
  border-radius: 18px; overflow: hidden; background: #fff;
  border: 1px solid rgba(226, 236, 255, 1);
  box-shadow: 0 20px 44px -26px rgba(60, 115, 240, .6);
}
.mock-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #f4f8ff; border-bottom: 1px solid #e6efff; }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #c7dcff; }
.mock-body { padding: 16px; }
.mock-row {
  display: flex; align-items: center; gap: 9px; margin-bottom: 8px; padding: 9px 10px;
  border-radius: 10px; background: #f6f9ff; font-size: 13px; color: var(--soft);
}
.mock-row b { margin-left: auto; font-size: 12px; color: var(--primary); font-weight: 700; }
.mock-dot {
  width: 24px; height: 24px; border-radius: 8px; flex: none;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, #5b8cff, #7ec8ff);
}
.mock-dot svg { width: 13px; height: 13px; }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 96px; margin-top: 12px; padding: 10px; border-radius: 12px; background: linear-gradient(180deg, #f6f9ff, #eef5ff); }
.mock-chart i { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #5b8cff, #a9d8ff); }

@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner { height: 60px; gap: 12px; }
  .site-header { box-shadow: 0 6px 20px -18px rgba(60, 115, 240, .7); }
  .home-hero { padding: 32px 18px 30px; border-radius: 18px; margin-bottom: 26px; }
  .home-hero h1 { font-size: 25px; letter-spacing: -.4px; }
  .home-hero p { font-size: 13.5px; margin-bottom: 22px; }
  .home-hero-actions { gap: 9px; }
  .home-hero-actions .btn { flex: 1 1 46%; min-width: 132px; }
  .home-stats { gap: 8px; margin-top: 24px; }
  .home-stat { flex: 1 1 40%; min-width: 0; padding: 10px 12px; border-radius: 13px; }
  .home-stat b { font-size: 18px; }
  .home-steps { grid-template-columns: 1fr; gap: 10px; }
  .home-step { padding: 18px; border-radius: 15px; }
  .home-split { grid-template-columns: 1fr; gap: 18px; padding: 24px 18px; border-radius: 19px; }
  .home-split-info h2 { font-size: 20px; }
  .home-split-list { margin-bottom: 18px; }
  .home-split-card { order: 2; }
  .home-benefit-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .home-benefit-card { padding: 18px 14px; border-radius: 15px; }
  .home-benefit-icon { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 11px; }
  .home-benefit-icon svg { width: 20px; height: 20px; }
  .home-benefit-card h3 { font-size: 14px; }
  .home-benefit-card p { font-size: 12px; }
  .home-section-head h2 { font-size: 20px; }
  .home-cta { padding: 28px 18px; }
  .home-cta h3 { font-size: 18px; }
  .main-content { padding-top: 18px; }
  .sc-card { padding: 34px 22px 28px; border-radius: 20px; }
  .sc-icon { width: 62px; height: 62px; margin-bottom: 15px; }
  .sc-icon svg { width: 28px; height: 28px; }
  .sc-title { font-size: 20px; }
  .sc-form { flex-direction: column; gap: 9px; }
  .sc-input { font-size: 16px; text-align: center; }
  .sc-btn { width: 100%; }
}

@media (max-width: 520px) {
  .header-actions .header-user { display: none; }
  .header-actions .btn { height: 34px; padding: 0 12px; font-size: 12.5px; border-radius: 9px; }
  .header-actions { gap: 6px; }
  .logo { font-size: 15.5px; gap: 7px; }
  .logo-mark { width: 30px; height: 30px; border-radius: 9px; }
  .logo-mark svg { width: 17px; height: 17px; }
  .home-hero h1 { font-size: 23px; }
  /* 4 个入口按钮改为两列等宽，避免整屏竖排又高又散 */
  .home-hero-actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: stretch;
  }
  .home-hero-actions .btn {
    width: 100%; min-width: 0; height: 44px; padding: 0 8px;
    font-size: 13.5px; border-radius: 11px;
  }
  .home-hero-actions .btn svg { width: 15px; height: 15px; }
}

@media (max-width: 359px) {
  .home-hero-actions { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .home-benefit-grid { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 24px; }
}

/* ---------- 动效 ---------- */
@keyframes s-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes s-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes s-pop {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
@keyframes s-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.site-header { animation: s-fade .35s ease both; }
.main-content { animation: s-fade .4s ease both; }

.home-hero-inner > * { animation: s-fade-up .6s cubic-bezier(.22, .8, .3, 1) both; }
.home-hero-inner > *:nth-child(1) { animation-delay: .05s; }
.home-hero-inner > *:nth-child(2) { animation-delay: .12s; }
.home-hero-inner > *:nth-child(3) { animation-delay: .19s; }
.home-hero-inner > *:nth-child(4) { animation-delay: .26s; }

.home-section-head { animation: s-fade-up .5s ease both; }
.home-benefit-card { animation: s-fade-up .5s cubic-bezier(.22, .8, .3, 1) both; transition: transform .25s, box-shadow .25s, border-color .25s; }
.home-benefit-card:nth-child(1) { animation-delay: .06s; }
.home-benefit-card:nth-child(2) { animation-delay: .11s; }
.home-benefit-card:nth-child(3) { animation-delay: .16s; }
.home-benefit-card:nth-child(4) { animation-delay: .21s; }
.home-benefit-card:nth-child(5) { animation-delay: .26s; }
.home-benefit-card:nth-child(6) { animation-delay: .31s; }
.home-benefit-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px -18px rgba(60, 115, 240, .45); border-color: rgba(91, 140, 255, .45); }
.home-benefit-icon { transition: transform .3s; }
.home-benefit-card:hover .home-benefit-icon { transform: scale(1.06) rotate(-3deg); }

.home-cta { animation: s-fade-up .55s ease both; animation-delay: .1s; }
.home-stats { animation: s-fade-up .55s ease both; animation-delay: .24s; }
.home-step { animation: s-fade-up .5s cubic-bezier(.22, .8, .3, 1) both; }
.home-step:nth-child(1) { animation-delay: .06s; }
.home-step:nth-child(2) { animation-delay: .12s; }
.home-step:nth-child(3) { animation-delay: .18s; }
.home-split { animation: s-fade-up .6s ease both; animation-delay: .08s; }
.sc-card { animation: s-pop .55s cubic-bezier(.22, .8, .3, 1) both; }
.sc-icon { animation: s-float 5s ease-in-out infinite; }
.sc-wrap .alert { animation: s-fade-up .45s ease both; animation-delay: .15s; }
.site-footer { animation: s-fade .5s ease both; animation-delay: .1s; }

/* 进入站点时的链接交互 */
.nav a { transition: color .18s, opacity .18s; }
.nav a:hover { opacity: .78; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
