/* 小富富网络演示站 v8 */
:root {
  --bg: #07050f;
  --brand: #9b8cff;
  --brand2: #6a56f0;
  --gold: #e8cda8;
  --text: #f8f5ff;
  --muted: rgba(248,245,255,.64);
  --line: rgba(255,255,255,.12);
  --font: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --pad: clamp(8px, 1.2vh, 14px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html, body { height: 100%; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font: inherit; }

.fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.orb {
  position: absolute; border-radius: 50%; filter: blur(64px); opacity: .9;
  animation: drift 20s ease-in-out infinite alternate;
}
.orb.a { width: 42vmax; height: 42vmax; top: -16%; left: -12%; background: radial-gradient(circle, rgba(155,140,255,.45), transparent 68%); }
.orb.b { width: 36vmax; height: 36vmax; right: -14%; bottom: -18%; background: radial-gradient(circle, rgba(232,205,168,.12), transparent 70%); animation-delay: -8s; }
@keyframes drift {
  from { transform: translate(0,0) scale(1); }
  to { transform: translate(2%, 3%) scale(1.04); }
}

.app {
  position: relative;
  z-index: 1;
  width: min(1120px, 100%);
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100dvh;
  padding:
    max(var(--pad), env(safe-area-inset-top))
    max(var(--pad), env(safe-area-inset-right))
    max(var(--pad), env(safe-area-inset-bottom))
    max(var(--pad), env(safe-area-inset-left));
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(6px, 1vh, 10px);
}

.hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.logo img {
  width: 38px; height: 38px; border-radius: 11px; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
}
.logo span { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.logo strong {
  font-size: clamp(.95rem, 2.2vw, 1.08rem);
  letter-spacing: .04em;
  white-space: nowrap;
}
.logo em {
  font-style: normal; margin-top: 2px;
  font-size: .55rem; letter-spacing: .22em; color: var(--gold);
}
.badge {
  flex-shrink: 0;
  font-size: .68rem; color: var(--muted);
  border: 1px solid var(--line); background: rgba(255,255,255,.04);
  padding: 6px 11px; border-radius: 999px; white-space: nowrap;
}

.main { min-height: 0; display: flex; }
.card {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 40fr) minmax(0, 60fr);
  border-radius: clamp(14px, 1.8vw, 22px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(14, 11, 28, .88);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}

/* 宣传图铺满，去掉黑边 */
.banner {
  position: relative;
  min-height: 0;
  background: #0c0a16;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease;
  z-index: 0;
}
.slide.on { opacity: 1; visibility: visible; z-index: 1; }
.banner-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 铺满无黑框 */
  object-position: center;
}
.slide.fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 70% 60% at 70% 30%, rgba(155,140,255,.35), transparent 55%),
    linear-gradient(145deg, #1a1433, #080612 60%);
}
.fallback-txt { text-align: center; padding: 16px; }
.fallback-txt strong {
  display: block;
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  letter-spacing: .1em;
}
.fallback-txt span {
  display: block; margin-top: 6px; color: var(--muted); font-size: .82rem;
}
.dots {
  position: absolute; z-index: 5; left: 50%; bottom: 8px;
  transform: translateX(-50%); display: flex; gap: 6px;
}
.dots button {
  width: 18px; height: 3px; border: 0; border-radius: 2px;
  background: rgba(255,255,255,.4); cursor: pointer; padding: 0;
}
.dots button.on { width: 28px; background: var(--gold); }

.body {
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(10px, 1.8vh, 18px) clamp(12px, 2vw, 24px);
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(6px, 1vh, 10px);
}
.brand-row img {
  width: clamp(44px, 5.5vh, 56px);
  height: clamp(44px, 5.5vh, 56px);
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 10px 24px rgba(106,86,240,.4);
}
.brand-row h1 {
  font-size: clamp(1.15rem, 3vh, 1.75rem);
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1.2;
}
.brand-row p {
  margin-top: 4px;
  font-size: clamp(.52rem, 1.1vh, .66rem);
  letter-spacing: .26em;
  color: var(--gold);
}

.body h2 {
  font-size: clamp(.98rem, 2.4vh, 1.35rem);
  font-weight: 700;
  margin-bottom: 4px;
}
.lead {
  color: var(--muted);
  font-size: clamp(.8rem, 1.6vh, .92rem);
  margin-bottom: clamp(10px, 1.6vh, 16px);
}

.btns {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: clamp(10px, 1.5vh, 14px);
}
.cta {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  min-height: clamp(58px, 7.5vh, 72px);
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  overflow: hidden;
  font-weight: 700;
  transition: transform .18s, box-shadow .18s, filter .18s;
  -webkit-tap-highlight-color: transparent;
}
.cta small {
  font-size: .68rem;
  letter-spacing: .14em;
  opacity: .85;
  font-weight: 600;
}
.cta span {
  font-size: clamp(.95rem, 1.8vh, 1.08rem);
  font-weight: 800;
  letter-spacing: .04em;
}
.cta::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.2), transparent 70%);
  transform: translateX(-130%);
  transition: transform .55s;
}
.cta:hover::after, .cta:focus-visible::after { transform: translateX(130%); }
.cta:hover, .cta:focus-visible { transform: translateY(-3px) scale(1.01); outline: none; }
.cta:active { transform: scale(.98); }

.cta-main {
  background: linear-gradient(135deg, #a794ff, #6a56f0 55%, #4f3fd0);
  box-shadow: 0 12px 28px rgba(106,86,240,.55), 0 0 0 1px rgba(255,255,255,.12) inset;
  color: #fff;
}
.cta-sub {
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.06));
  border-color: rgba(155,140,255,.45);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.cta-agent {
  background: linear-gradient(135deg, rgba(232,205,168,.4), rgba(232,205,168,.12));
  border-color: rgba(232,205,168,.55);
  color: #fff4e4;
  box-shadow: 0 8px 20px rgba(232,205,168,.12);
}
.cta-build {
  background: linear-gradient(135deg, rgba(120,220,180,.22), rgba(255,255,255,.06));
  border-color: rgba(120,220,180,.4);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}

.feats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,.22);
}
.feats li {
  padding: clamp(8px, 1.2vh, 11px) clamp(8px, 1vw, 12px);
  border-right: 1px solid var(--line);
}
.feats li:last-child { border-right: 0; }
.feats b {
  display: block; color: var(--gold);
  font-size: .62rem; letter-spacing: .12em; margin-bottom: 2px;
}
.feats strong {
  display: block;
  font-size: clamp(.8rem, 1.35vh, .9rem);
  margin-bottom: 2px;
}
.feats span {
  display: block; color: var(--muted);
  font-size: clamp(.68rem, 1.1vh, .78rem);
}

.ft {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .7rem;
  min-height: 24px;
}
.ft-l { display: inline-flex; align-items: center; gap: 6px; }
.ft-l img { width: 20px; height: 20px; border-radius: 6px; object-fit: cover; }
.ft-r { display: flex; gap: 10px; flex-wrap: wrap; }
.ft-r a { color: var(--gold); }

.anim {
  opacity: 0;
  transform: translateY(10px);
  animation: up .55s cubic-bezier(.22,1,.36,1) forwards;
}
.d1 { animation-delay: .06s; }
.d2 { animation-delay: .1s; }
.d3 { animation-delay: .14s; }
.d4 { animation-delay: .18s; }
@keyframes up { to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .btns { grid-template-columns: 1fr 1fr; }
  .feats { grid-template-columns: 1fr 1fr; }
  .feats li:nth-child(2n) { border-right: 0; }
  .feats li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .card { grid-template-rows: minmax(0, 36fr) minmax(0, 64fr); }
}

@media (max-width: 720px) {
  body { height: auto; overflow-y: auto; }
  .app {
    height: auto;
    min-height: 100dvh;
    grid-template-rows: auto auto auto;
  }
  .badge { display: none; }
  .card {
    display: flex;
    flex-direction: column;
  }
  .banner {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 44vw;
    min-height: 150px;
    flex-shrink: 0;
  }
  .body { overflow: visible; padding: 14px 12px 12px; }
  .btns { gap: 8px; }
  .cta { min-height: 58px; padding: 12px; }
  .cta span { font-size: .95rem; }
  .feats span { display: none; }
  .ft {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }
  .ft-r { justify-content: center; }
}

@media (max-width: 420px) {
  .btns { grid-template-columns: 1fr; }
  .feats { grid-template-columns: 1fr; }
  .feats li {
    border-right: 0 !important;
    border-bottom: 1px solid var(--line);
  }
  .feats li:last-child { border-bottom: 0; }
  .feats span { display: block; }
  .logo em { letter-spacing: .12em; }
  .brand-row h1 { font-size: 1.15rem; }
}

@media (min-width: 721px) and (max-height: 760px) {
  .card { grid-template-rows: minmax(0, 34fr) minmax(0, 66fr); }
  .feats span { display: none; }
  .cta { min-height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  .orb, .anim, .slide { animation: none !important; transition: none !important; }
  .anim { opacity: 1; transform: none; }
}
