:root {
  --brand: #ff4d5c;
  --brand-deep: #e62e50;
  --brand-2: #7a5cff;
  --brand-soft: rgba(255, 77, 92, .1);
  --brand-2-soft: rgba(122, 92, 255, .1);
  --ink: #1a1a1a;
  --muted: #666;
  --line: #ece4ee;
  --bg: #fff;
  --bg-soft: #faf6f9;
  --shadow: 0 12px 40px rgba(40, 20, 46, .08);
  --radius: 16px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.12rem; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff; display: grid; place-items: center; font-size: .76rem; font-weight: 800;
  letter-spacing: -.02em;
}
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-links > a {
  padding: 8px 12px; border-radius: 8px; color: #333; font-size: .93rem;
}
.nav-links > a:hover, .nav-links > a.on { color: var(--brand-deep); }
.nav-links > a.on { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; transition: .2s; font-family: inherit;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(120deg, var(--brand), var(--brand-deep)); color: #fff; }
.btn-primary:hover { filter: brightness(.96); }
.btn-outline { background: #fff; border-color: var(--brand); color: var(--brand-deep); }
.btn-outline:hover { background: var(--brand-soft); }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }

.hero {
  padding: 48px 0 88px; overflow: hidden;
  background:
    radial-gradient(700px 380px at 82% 16%, rgba(122, 92, 255, .13), transparent 60%),
    radial-gradient(520px 300px at 8% 84%, rgba(255, 77, 92, .09), transparent 55%),
    linear-gradient(180deg, #fbf3f6 0%, #fff 72%);
}
.hero-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero-tabs button {
  border: 0; background: #fff; color: #555; padding: 8px 18px; border-radius: 999px;
  font: inherit; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.hero-tabs button.on { background: #17121d; color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; }
.hero h1 { margin: 0 0 14px; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.22; letter-spacing: -.02em; }
.hero .sub { margin: 0 0 12px; color: var(--brand-deep); font-weight: 600; font-size: 1.05rem; }
.hero .lead { margin: 0 0 24px; color: var(--muted); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-art { min-height: 330px; animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.stats-wrap { margin-top: -48px; position: relative; z-index: 2; }
.stats {
  background: #fff; border-radius: 20px; box-shadow: var(--shadow);
  padding: 28px 20px 24px; text-align: center;
}
.stats h2 { margin: 0 0 22px; font-size: 1.35rem; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat .num { font-size: 1.55rem; font-weight: 800; color: #1b1b2f; line-height: 1.2; }
.stat p { margin: 8px 0 0; color: var(--muted); font-size: .92rem; }
.stat-ico {
  width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-2-soft), var(--brand-soft));
  color: var(--brand-deep);
  display: grid; place-items: center; font-weight: 800;
}

section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.sec-title {
  text-align: center; margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.8vw, 2rem); letter-spacing: -.02em;
}
.sec-desc { text-align: center; color: var(--muted); margin: 0 auto 36px; max-width: 44em; }
.sec-note { text-align: center; color: var(--muted); font-size: .86rem; margin: 20px auto 0; max-width: 44em; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 6px 24px rgba(0, 0, 0, .03);
}
.card h3 { margin: 0 0 10px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: .92rem; }
.card:hover { border-color: rgba(255, 77, 92, .35); }

.role-tag {
  display: inline-block; background: var(--brand-2-soft); color: #5b3df0;
  border-radius: 999px; padding: 4px 12px; font-size: .8rem !important; font-weight: 600;
  margin: 2px 0 10px !important;
}
.mini-list { margin: 14px 0 0; list-style: none; border-top: 1px dashed var(--line); padding-top: 12px; }
.mini-list li { padding: 4px 0; font-size: .86rem; color: #555; }
.mini-list span {
  display: block; font-weight: 700; color: var(--brand-deep); font-size: .78rem;
  margin-bottom: 1px;
}

.flow-num {
  width: 36px; height: 36px; margin: 0 0 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff; display: grid; place-items: center; font-weight: 800;
}
.flow-item { text-align: left; }

.pay-cards .pay-card { border-top: 4px solid transparent; background:
  linear-gradient(180deg, #fff 0%, #fff 100%); }
.pay-cards .pay-card { border-top-color: var(--brand); }
.pay-cards .pay-card h3 { color: #14101c; }
.pay-cards .pay-card .formula {
  font-weight: 700; color: #1b1b2f; font-size: 1rem; line-height: 1.5;
  margin: 4px 0 12px; background: var(--bg-soft); padding: 12px 14px; border-radius: 12px;
}
.pay-card .formula em {
  display: block; font-style: normal; font-weight: 800; color: var(--brand-deep); margin-top: 6px;
}

.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 40px 0 24px; }
.tabs button {
  border: 0; background: transparent; padding: 10px 22px; font: inherit;
  color: #888; cursor: pointer; border-radius: 12px; font-weight: 600;
}
.tabs button.on { background: #fff; color: var(--brand-deep); box-shadow: var(--shadow); }

.grade { display: none; }
.grade.on { display: block; }
.grade-lead { text-align: center; color: var(--muted); margin: 0 0 20px; }
.grade-foot {
  text-align: center; color: var(--muted); font-size: .86rem; margin: 18px auto 0; max-width: 46em;
}

.gtable {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.gtable th, .gtable td { padding: 13px 18px; text-align: left; font-size: .93rem; }
.gtable thead th { background: #17121d; color: #fff; font-weight: 600; }
.gtable tbody tr:nth-child(even) { background: var(--bg-soft); }
.gtable td:first-child { font-weight: 700; color: #1b1b2f; white-space: nowrap; }

.pill {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: .76rem; font-weight: 700; margin-right: 8px; min-width: 30px; text-align: center;
}
.pill.grade-s { background: rgba(255, 138, 0, .16); color: #d97a00; }
.pill.grade-a { background: rgba(122, 92, 255, .14); color: #5b3df0; }
.pill.grade-b { background: rgba(0, 158, 116, .14); color: #009e74; }
.pill.grade-c { background: rgba(242, 159, 5, .16); color: #b07a06; }
.pill.grade-d { background: rgba(255, 77, 92, .14); color: #d62b46; }

.grade-grid { margin-top: 4px; }
.gcard {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px; text-align: left;
}
.gcard b { display: block; margin-bottom: 6px; color: var(--brand-deep); font-size: 1rem; }
.gcard p { margin: 0; color: var(--muted); font-size: .9rem; }

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-size: 1.2rem; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 10px 0 0; color: var(--muted); }

.cta-band {
  background: linear-gradient(120deg, #241b33, #7a2a52 55%, #e62e50);
  color: #fff; border-radius: 24px; padding: 46px 28px; text-align: center;
}
.cta-band h2 { margin: 0 0 10px; }
.cta-band p { margin: 0 0 22px; opacity: .9; }
.cta-band .btn-primary { background: #fff; color: var(--brand-deep); }
.cta-note { font-size: .82rem; opacity: .72 !important; margin: 18px 0 0 !important; }

footer { background: #16101c; color: #b7a9c0; padding: 48px 0 28px; font-size: .88rem; }
footer a:hover { color: #fff; }
.foot-main {
  display: grid;
  grid-template-columns: minmax(160px, 1.1fr) minmax(280px, 2fr) minmax(220px, 1.15fr);
  gap: 36px 40px; align-items: start; margin-bottom: 28px;
}
.foot-brand h4, .foot-cols h4, .foot-contact-meta strong {
  color: #fff; margin: 0 0 12px; font-size: .95rem;
}
.foot-brand p { margin: 0 0 8px; line-height: 1.6; }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.foot-cols ul { list-style: none; }
.foot-cols li { margin: 8px 0; }
.foot-contact {
  display: flex; align-items: center; gap: 14px;
  padding: 14px; border: 1px solid #32263c; border-radius: 14px;
  background: rgba(255, 255, 255, .03); min-height: 140px;
}
.foot-contact-meta { min-width: 0; }
.foot-contact-meta p { margin: 0 0 12px; line-height: 1.55; color: #b7a9c0; }
.foot-cta { display: inline-flex; align-items: center; color: #ffa7b2 !important; font-size: .82rem; font-weight: 600; }
.foot-cta:hover { color: #fff !important; }
.copy {
  border-top: 1px solid #32263c; padding-top: 16px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: #8b7a95; font-size: .8rem;
}

@media (max-width: 960px) {
  .hero-grid, .grid-2, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .foot-main { grid-template-columns: 1fr 1fr; }
  .foot-contact { grid-column: 1 / -1; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .hero-grid, .grid-2, .grid-3, .grid-4, .stats-grid { grid-template-columns: 1fr; }
  .foot-main, .foot-cols { grid-template-columns: 1fr; }
  .foot-contact { grid-column: auto; }
  .hero { padding: 32px 0 72px; }
}
