.wx-footer.home-footer,
.wx-footer.home-footer * { box-sizing: border-box; }
.wx-footer.home-footer {
  --footer-ink: #f7f4ff; --footer-muted: #c4bfdc; --footer-soft: #a9a2ca;
  --footer-line: rgba(218,207,255,.19); --footer-accent: #c5a7ff;
  position: relative; isolation: isolate; overflow: hidden; padding: 54px 0 20px;
  color: var(--footer-ink);
  background: radial-gradient(ellipse at 3% 100%,rgba(117,91,198,.26),transparent 37%),
    radial-gradient(ellipse at 100% 0%,rgba(112,92,174,.15),transparent 36%),
    linear-gradient(115deg,#302b4f 0%,#292541 48%,#26223f 100%);
  font-family: inherit;
}
.wx-footer.home-footer::before,.wx-footer.home-footer::after {
  content:""; position:absolute; z-index:-1; pointer-events:none;
  border:1px solid rgba(203,185,255,.09); border-radius:50%;
}
.wx-footer.home-footer::before { width:780px;height:780px;left:-470px;bottom:-590px;box-shadow:0 0 0 40px rgba(203,185,255,.025),0 0 0 92px rgba(203,185,255,.02); }
.wx-footer.home-footer::after { width:490px;height:490px;right:-385px;top:-365px;box-shadow:0 0 0 36px rgba(203,185,255,.025); }
.wx-footer.home-footer .wrap { width:min(1620px,calc(100% - 80px));margin-inline:auto; }
.wx-footer.home-footer a { color:inherit;text-decoration:none; }
.wx-footer.home-footer a:focus-visible,.wx-footer.home-footer button:focus-visible { outline:2px solid #d9c8ff;outline-offset:4px; }
.wx-footer.home-footer .footer-proof {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-height:108px;padding:20px 28px;
  border:1px solid var(--footer-line);border-radius:23px;background:rgba(255,255,255,.045);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035);
}
.wx-footer.home-footer .footer-proof-item { display:flex;align-items:center;gap:16px;min-width:0;padding:0 30px; }
.wx-footer.home-footer .footer-proof-item+.footer-proof-item { border-left:1px solid var(--footer-line); }
.wx-footer.home-footer .footer-proof-item:first-child { padding-left:12px; }
.wx-footer.home-footer .footer-proof-item:last-child { padding-right:8px; }
.wx-footer.home-footer .footer-proof-icon {
  display:grid;flex:0 0 54px;width:54px;height:54px;place-items:center;color:#d0baff;
  border-radius:17px;background:rgba(209,190,255,.12);
}
.wx-footer.home-footer .footer-proof-icon svg { width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.wx-footer.home-footer .footer-proof-item b,.wx-footer.home-footer .footer-proof-item small { display:block; }
.wx-footer.home-footer .footer-proof-item b { margin-bottom:6px;font-size:17px;font-weight:650;letter-spacing:.01em; }
.wx-footer.home-footer .footer-proof-item small { color:var(--footer-muted);font-size:13px;line-height:1.55; }
.wx-footer.home-footer .footer-main {
  display:grid;grid-template-columns:minmax(220px,1.28fr) repeat(3,minmax(105px,.72fr)) minmax(330px,1.45fr);
  gap:clamp(22px,3vw,56px);align-items:start;padding:46px 0 42px;
}
.wx-footer.home-footer .footer-brand .wx-logo {
  display:block;position:relative;flex:0 0 194px;width:194px;height:54px;overflow:hidden;margin:0 0 19px;
}
.wx-footer.home-footer .footer-brand .wx-logo img {
  display:block;position:absolute;width:117.65%;height:200%;max-width:none;max-height:none;left:-9.18%;top:-51%;
  object-fit:contain;object-position:center;
  filter:brightness(0) invert(1);
}
.wx-footer.home-footer .footer-brand p { margin:0;color:#d1cde2;font-size:15px;line-height:1.9; }
.wx-footer.home-footer .footer-brand-note { display:inline-flex;align-items:center;gap:9px;margin-top:21px;color:var(--footer-muted);font-size:12px; }
.wx-footer.home-footer .footer-brand-note i { width:9px;height:9px;border-radius:50%;background:#c5a7ff;box-shadow:0 0 0 5px rgba(197,167,255,.13); }
.wx-footer.home-footer .footer-links { display:flex;flex-direction:column;align-items:flex-start;gap:15px;padding-top:4px; }
.wx-footer.home-footer .footer-links>b { display:flex;align-items:center;gap:9px;margin-bottom:3px;color:#fff;font-size:16px; }
.wx-footer.home-footer .footer-links>b span { color:#c5a7ff;font-size:13px; }
.wx-footer.home-footer .footer-links a { display:inline-flex;align-items:center;gap:5px;color:var(--footer-muted);font-size:14px;line-height:1.45;transition:color .18s ease,transform .18s ease; }
.wx-footer.home-footer .footer-links a span { opacity:0;color:var(--footer-accent);transition:opacity .18s ease; }
.wx-footer.home-footer .footer-links a:hover { color:#fff;transform:translateX(2px); }
.wx-footer.home-footer .footer-links a:hover span { opacity:1; }
.wx-footer.home-footer .footer-contact {
  min-width:0;padding:25px 26px 22px;border:1px solid var(--footer-line);border-radius:22px;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.035));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045);
}
.wx-footer.home-footer .footer-contact-kicker { color:#d1baff;font-size:10px;font-weight:750;letter-spacing:.17em; }
.wx-footer.home-footer .footer-contact h2 { margin:11px 0 5px;color:#fff;font-size:23px;line-height:1.3; }
.wx-footer.home-footer .footer-contact>p { margin:0 0 18px;color:var(--footer-muted);font-size:13px;line-height:1.65; }
.wx-footer.home-footer .footer-contact-cta {
  display:flex;width:100%;min-height:52px;align-items:center;justify-content:space-between;padding:0 18px;border:0;border-radius:13px;
  color:#28213e;background:linear-gradient(105deg,#d6c3ff 0%,#bca0ff 100%);box-shadow:0 10px 24px rgba(15,9,37,.18);
  font:inherit;font-size:15px;font-weight:700;cursor:pointer;transition:transform .18s ease,filter .18s ease;
}
.wx-footer.home-footer .footer-contact-cta:hover { transform:translateY(-2px);filter:brightness(1.06); }
.wx-footer.home-footer .footer-contact-cta span { font-size:19px; }
.wx-footer.home-footer .footer-qr-list { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:18px;padding-top:17px;border-top:1px solid var(--footer-line); }
.wx-footer.home-footer .footer-qr-item { display:flex;min-width:0;align-items:center;gap:9px; }
.wx-footer.home-footer .footer-qr-code {
  display:block;flex:0 0 72px;width:72px;height:72px;padding:4px;border:1px solid rgba(255,255,255,.72);
  border-radius:11px;background:#fff;overflow:hidden;
}
.wx-footer.home-footer .footer-qr-code img { display:block;width:100%;height:100%;object-fit:contain; }
.wx-footer.home-footer .footer-qr-item b,.wx-footer.home-footer .footer-qr-item small { display:block; }
.wx-footer.home-footer .footer-qr-item b { margin-bottom:4px;color:#f4f0ff;font-size:12px;white-space:nowrap; }
.wx-footer.home-footer .footer-qr-item small { color:var(--footer-muted);font-size:10px;line-height:1.45; }
.wx-footer.home-footer .footer-bottom { display:flex;min-height:54px;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--footer-line);color:var(--footer-soft); }
.wx-footer.home-footer .footer-bottom small,.wx-footer.home-footer .footer-bottom a,.wx-footer.home-footer .footer-bottom .footer-icp { color:inherit;font-size:12px; }
.wx-footer.home-footer .footer-bottom>div { display:flex;align-items:center;gap:25px; }
.wx-footer.home-footer .footer-bottom a:hover { color:#fff; }
.wx-footer.home-footer .footer-bottom .back-top {
  display:grid;width:42px;height:42px;place-items:center;border:1px solid var(--footer-line);border-radius:13px;
  color:#dacaff;font-size:21px;transition:background .18s ease,transform .18s ease;
}
.wx-footer.home-footer .footer-bottom .back-top:hover { transform:translateY(-2px);background:rgba(255,255,255,.08); }
.wx-qr-dialog-code { display:grid;justify-items:center;gap:10px;margin:20px 0 0; }
.wx-qr-dialog-code img { display:block;width:min(260px,72vw);height:auto;padding:8px;border:1px solid var(--border);border-radius:14px;background:#fff;object-fit:contain; }
.wx-qr-dialog-code figcaption { color:var(--muted);font-size:13px;text-align:center; }
@media(max-width:1240px) {
  .wx-footer.home-footer .footer-main { grid-template-columns:minmax(210px,1.25fr) repeat(3,minmax(95px,.65fr)); }
  .wx-footer.home-footer .footer-contact { grid-column:1/-1;display:grid;grid-template-columns:minmax(220px,.85fr) minmax(260px,1.1fr);column-gap:28px;align-items:center; }
  .wx-footer.home-footer .footer-contact-kicker,.wx-footer.home-footer .footer-contact h2,.wx-footer.home-footer .footer-contact>p { grid-column:1; }
  .wx-footer.home-footer .footer-contact-kicker { align-self:end; }
  .wx-footer.home-footer .footer-contact h2 { margin-top:5px; }
  .wx-footer.home-footer .footer-contact>p { margin-bottom:0; }
  .wx-footer.home-footer .footer-contact-cta,.wx-footer.home-footer .footer-qr-list { grid-column:2; }
  .wx-footer.home-footer .footer-contact-cta { grid-row:1/span 2; }
  .wx-footer.home-footer .footer-qr-list { grid-row:3; }
}
@media(max-width:900px) {
  .wx-footer.home-footer { padding-top:36px; }
  .wx-footer.home-footer .wrap { width:min(calc(100% - 40px),720px); }
  .wx-footer.home-footer .footer-proof { padding:16px 12px; }
  .wx-footer.home-footer .footer-proof-item { gap:11px;padding:0 13px; }
  .wx-footer.home-footer .footer-proof-icon { flex-basis:46px;width:46px;height:46px;border-radius:14px; }
  .wx-footer.home-footer .footer-proof-item b { font-size:14px; }
  .wx-footer.home-footer .footer-proof-item small { font-size:11px; }
  .wx-footer.home-footer .footer-main { grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 22px;padding:34px 0; }
  .wx-footer.home-footer .footer-brand { grid-column:1/-1; }
  .wx-footer.home-footer .footer-brand .wx-logo { margin-bottom:12px; }
  .wx-footer.home-footer .footer-brand p br { display:none; }
  .wx-footer.home-footer .footer-brand-note { margin-top:13px; }
  .wx-footer.home-footer .footer-contact { grid-column:1/-1;grid-template-columns:1fr;gap:0; }
  .wx-footer.home-footer .footer-contact-kicker,.wx-footer.home-footer .footer-contact h2,.wx-footer.home-footer .footer-contact>p,.wx-footer.home-footer .footer-contact-cta,.wx-footer.home-footer .footer-qr-list { grid-column:1;grid-row:auto; }
  .wx-footer.home-footer .footer-contact h2 { margin:8px 0 5px; }
  .wx-footer.home-footer .footer-contact>p { margin-bottom:16px; }
}
@media(max-width:600px) {
  .wx-footer.home-footer { padding:28px 0 12px; }
  .wx-footer.home-footer .wrap { width:calc(100% - 32px); }
  .wx-footer.home-footer .footer-proof { grid-template-columns:1fr;gap:0;padding:6px 15px;border-radius:18px; }
  .wx-footer.home-footer .footer-proof-item,.wx-footer.home-footer .footer-proof-item:first-child,.wx-footer.home-footer .footer-proof-item:last-child { min-height:72px;padding:10px 2px; }
  .wx-footer.home-footer .footer-proof-item+.footer-proof-item { border-top:1px solid var(--footer-line);border-left:0; }
  .wx-footer.home-footer .footer-proof-icon { flex-basis:42px;width:42px;height:42px; }
  .wx-footer.home-footer .footer-proof-item b { font-size:14px; }
  .wx-footer.home-footer .footer-proof-item small { font-size:11px; }
  .wx-footer.home-footer .footer-main { grid-template-columns:repeat(2,minmax(0,1fr));gap:25px 16px;padding:28px 0; }
  .wx-footer.home-footer .footer-brand { grid-column:1/-1; }
  .wx-footer.home-footer .footer-links { gap:12px; }
  .wx-footer.home-footer .footer-links>b { font-size:14px; }
  .wx-footer.home-footer .footer-links a { font-size:12px; }
  .wx-footer.home-footer .footer-contact { padding:20px 17px 16px;border-radius:18px; }
  .wx-footer.home-footer .footer-contact h2 { font-size:21px; }
  .wx-footer.home-footer .footer-qr-list { gap:8px; }
  .wx-footer.home-footer .footer-qr-item { align-items:flex-start;gap:6px; }
  .wx-footer.home-footer .footer-qr-code { flex-basis:66px;width:66px;height:66px;padding:3px; }
  .wx-footer.home-footer .footer-qr-item b { font-size:10px;white-space:normal; }
  .wx-footer.home-footer .footer-qr-item small { font-size:9px; }
  .wx-footer.home-footer .footer-bottom { align-items:flex-start;flex-direction:column;gap:13px;padding-top:15px; }
  .wx-footer.home-footer .footer-bottom>div { width:100%;flex-wrap:wrap;gap:13px 18px; }
  .wx-footer.home-footer .footer-bottom .back-top { margin-left:auto; }
}
@media(max-width:380px) {
  .wx-footer.home-footer .footer-main { gap:22px 10px; }
  .wx-footer.home-footer .footer-qr-list { grid-template-columns:1fr; }
  .wx-footer.home-footer .footer-qr-code { flex-basis:72px;width:72px;height:72px; }
  .wx-footer.home-footer .footer-bottom .footer-icp { flex-basis:100%; }
}

/* Contact details and original QR images shared by every page. */
.wx-footer.home-footer .footer-contact { display:block; min-width:0; padding:0; border:0; border-radius:0; background:none; box-shadow:none; }
.wx-footer.home-footer .footer-contact h2 { margin:0 0 18px; color:#fff; font-size:24px; line-height:1.3; }
.wx-footer.home-footer .footer-contact-details p { margin:0 0 9px; color:#f4f0ff; font-size:15px; line-height:1.55; overflow-wrap:anywhere; }
.wx-footer.home-footer .footer-contact-details a { color:inherit; text-decoration:none; }
.wx-footer.home-footer .footer-contact-details a:hover { text-decoration:underline; }
.wx-footer.home-footer .footer-qr-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; max-width:340px; margin:20px 0 0; padding:0; border:0; }
.wx-footer.home-footer .footer-qr-item { display:flex; flex-direction:column; align-items:center; gap:8px; min-width:0; }
.wx-footer.home-footer .footer-qr-code { display:block; width:100%; height:auto; aspect-ratio:1; padding:4px; background:#fff; border:0; border-radius:8px; overflow:hidden; }
.wx-footer.home-footer .footer-qr-code img { display:block; width:100%; height:100%; object-fit:contain; }
.wx-footer.home-footer .footer-qr-item b { margin:0; color:#fff; font-size:14px; font-weight:600; white-space:nowrap; }
@media(max-width:1100px) { .wx-footer.home-footer .footer-contact { display:block; } }
@media(max-width:420px) { .wx-footer.home-footer .footer-contact { padding:0; } .wx-footer.home-footer .footer-qr-list { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; } .wx-footer.home-footer .footer-qr-code { width:100%; height:auto; } }

/* The QR cards use the original images; keep a clear white margin for scanning. */
.wx-footer.home-footer {
  background:radial-gradient(ellipse at 5% 110%,rgba(99,68,219,.3),transparent 40%),
    radial-gradient(ellipse at 100% 100%,rgba(101,67,222,.25),transparent 38%),
    linear-gradient(115deg,#252043,#1d1b3d 58%,#282053);
}
.wx-footer.home-footer .footer-contact-details { display:grid;grid-template-columns:minmax(0,1fr);gap:0; }
.wx-footer.home-footer .footer-contact-details p { display:flex;align-items:center;gap:10px;margin:0 0 10px; }
.wx-footer.home-footer .footer-contact-details p > span:last-child { white-space:nowrap;overflow-wrap:normal; }
.wx-footer.home-footer .footer-contact-icon { display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:50%;color:#eeeaff;background:rgba(116,99,235,.38); }
.wx-footer.home-footer .footer-contact-icon svg { width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round; }
.wx-footer.home-footer .footer-qr-list { max-width:420px;gap:16px;margin-top:18px; }
.wx-footer.home-footer .footer-qr-item { gap:0;padding:10px 10px 12px;border-radius:9px;background:#fff; }
.wx-footer.home-footer .footer-qr-code { flex:none;width:100%;aspect-ratio:1;height:auto;padding:0;border-radius:0; }
.wx-footer.home-footer .footer-qr-item--wechat .footer-qr-code img { transform:scale(1.12); }
.wx-footer.home-footer .footer-qr-item b { margin:3px 0 0;color:#171739;font-size:15px;line-height:1.3; }
@media(min-width:1241px) {
  .wx-footer.home-footer .footer-main { grid-template-columns:minmax(200px,1.2fr) repeat(3,minmax(90px,.65fr)) minmax(350px,1.65fr);gap:clamp(20px,2.4vw,44px); }
  .wx-footer.home-footer .footer-contact { border-left:1px solid var(--footer-line);padding-left:30px; }
}
@media(max-width:600px) {
  .wx-footer.home-footer .footer-qr-list { max-width:360px; }
  .wx-footer.home-footer .footer-qr-item { align-items:center;padding:8px; }
  .wx-footer.home-footer .footer-qr-item b { font-size:13px; }
}
