@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700;900&family=ZCOOL+XiaoWei&display=swap');

:root {
  --ink: #101828;
  --muted: #5b6b7c;
  --line: rgba(16, 24, 40, .1);
  --blue: #2f6fed;
  --blue-deep: #1d4ed8;
  --red: #e11d2e;
  --card: #ffffff;
  --max: 1120px;
  --radius: 20px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "ZCOOL XiaoWei", "Noto Sans SC", "PingFang SC", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: #eef1f6;
  line-height: 1.65;
  position: relative;
  isolation: isolate;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(225, 29, 46, .14), transparent 52%),
    radial-gradient(820px 540px at 0% 35%, rgba(47, 111, 237, .16), transparent 55%),
    linear-gradient(180deg, #dde5f2 0%, #eef1f6 42%, #e8ecf3 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .6;
  background-image:
    repeating-linear-gradient(
      -18deg,
      transparent 0,
      transparent 18px,
      rgba(15, 40, 90, .04) 18px,
      rgba(15, 40, 90, .04) 19px
    );
}

img { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .7rem; letter-spacing: -.03em; }
p { margin: 0 0 1rem; color: var(--muted); }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.top {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(10, 22, 40, .82);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.top-inner {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: 66px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
  white-space: nowrap;
}
.logo img { border-radius: 9px; box-shadow: 0 0 0 2px rgba(255,255,255,.18); }
.logo:hover { color: #fff; }

.nav-scroll {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.25) transparent;
  mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 14px), transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 14px), transparent);
}
.nav-scroll::-webkit-scrollbar { height: 3px; }
.nav-scroll::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.25);
  border-radius: 999px;
}
.nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  width: max-content;
  min-height: 44px;
  padding: 0 .15rem 2px 0;
}
.nav a {
  color: rgba(255,255,255,.72);
  font-weight: 600;
  font-size: .94rem;
  padding: .45rem .72rem;
  border-radius: 8px;
  white-space: nowrap;
  scroll-snap-align: start;
  flex-shrink: 0;
}
.nav a:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}
.nav a.is-on {
  color: #fff;
  font-weight: 800;
  background: rgba(225, 29, 46, .28);
}
.nav-dl {
  margin-left: .35rem;
  padding: .45rem 1rem !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: var(--red) !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: .9rem !important;
  box-shadow: 0 8px 22px rgba(225, 29, 46, .35);
}
.nav-dl:hover {
  background: #c41222 !important;
  color: #fff !important;
}

/* 大胆首屏 */
.hero {
  position: relative;
  padding: 4.2rem 0 4.5rem;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #07111f 0%, #12233d 48%, #1a0a12 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 420px at 85% 20%, rgba(47, 111, 237, .48), transparent 60%),
    radial-gradient(560px 380px at 10% 90%, rgba(225, 29, 46, .4), transparent 55%),
    repeating-linear-gradient(
      115deg,
      transparent 0 26px,
      rgba(255,255,255,.04) 26px 27px
    );
  animation: hero-bg-shift 16s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: "ID PHOTO";
  position: absolute;
  right: -2%;
  bottom: 4%;
  font-family: var(--display);
  font-size: clamp(4rem, 14vw, 9.5rem);
  line-height: .85;
  letter-spacing: .04em;
  color: rgba(255,255,255,.055);
  white-space: nowrap;
  transform: rotate(-8deg);
  user-select: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.2rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  margin: 0 0 1rem;
  padding: .35rem .8rem;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: #fff;
  background: rgba(225, 29, 46, .95);
  border-radius: 999px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 400;
  max-width: none;
  margin-bottom: .9rem;
  color: #fff;
  text-shadow: 0 12px 40px rgba(0,0,0,.35);
  animation: hero-title-in .8s ease both;
}
.lead {
  font-size: 1.15rem;
  max-width: 32rem;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,.84);
  line-height: 1.7;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.4rem;
}
.hero-tags span {
  padding: .35rem .75rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: .75rem 1.4rem;
  border-radius: 999px; font-weight: 800; border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-main {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 32px rgba(225, 29, 46, .4);
}
.btn-main:hover { background: #c41222; color: #fff; }
.hero .btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.hero .btn-ghost:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: #fff;
}
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { color: var(--blue-deep); border-color: rgba(47,111,237,.35); }
.hint {
  margin-top: 1.1rem;
  font-size: .85rem;
  color: rgba(255,255,255,.45);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
}
.hero-orbit {
  position: absolute;
  width: min(92%, 420px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,.22);
  background:
    radial-gradient(circle at 30% 30%, rgba(47,111,237,.35), transparent 45%),
    radial-gradient(circle at 70% 70%, rgba(225,29,46,.28), transparent 48%);
  animation: orbit-spin 28s linear infinite;
}
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 16px;
  z-index: 0;
  box-shadow: 0 22px 50px rgba(0,0,0,.35);
}
.hero-visual::before {
  width: 118px;
  height: 150px;
  left: 2%;
  top: 10%;
  background: #1d4ed8;
  transform: rotate(-16deg);
  animation: card-tilt 7s ease-in-out infinite;
}
.hero-visual::after {
  width: 100px;
  height: 128px;
  right: 0;
  bottom: 12%;
  background: #e11d2e;
  transform: rotate(14deg);
  animation: card-tilt 8s ease-in-out infinite reverse;
}
.phone {
  position: relative;
  z-index: 2;
  width: min(100%, 290px);
  border-radius: 30px;
  padding: 11px;
  background: #05080f;
  box-shadow:
    0 40px 80px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.08);
  transform: rotate(-5deg);
  animation: phone-bob 5.5s ease-in-out infinite;
}
.phone img { border-radius: 22px; }
.hero-icon {
  position: absolute;
  right: 6%;
  bottom: 6%;
  z-index: 3;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,.4);
  transform: rotate(9deg);
  animation: icon-pop 6s ease-in-out infinite;
}
.hero-stamp {
  position: absolute;
  left: 4%;
  bottom: 18%;
  z-index: 3;
  padding: .55rem .9rem;
  border: 2px solid rgba(255,255,255,.85);
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  font-size: .92rem;
  letter-spacing: .12em;
  transform: rotate(-12deg);
  background: rgba(225, 29, 46, .55);
  backdrop-filter: blur(4px);
  animation: stamp-pulse 4.5s ease-in-out infinite;
}

@keyframes hero-bg-shift {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.06) translate(-1.5%, 1%); }
}
@keyframes hero-title-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes phone-bob {
  0%, 100% { transform: rotate(-5deg) translateY(0); }
  50% { transform: rotate(-3deg) translateY(-12px); }
}
@keyframes icon-pop {
  0%, 100% { transform: rotate(9deg) scale(1); }
  50% { transform: rotate(6deg) scale(1.06); }
}
@keyframes stamp-pulse {
  0%, 100% { transform: rotate(-12deg) scale(1); opacity: .95; }
  50% { transform: rotate(-10deg) scale(1.04); opacity: 1; }
}
@keyframes card-tilt {
  0%, 100% { transform: rotate(-16deg) translateY(0); }
  50% { transform: rotate(-12deg) translateY(10px); }
}
@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.section { padding: 3.6rem 0; }
.section-alt {
  background: #0b1526;
  color: #fff;
  border: 0;
  position: relative;
  overflow: hidden;
}
.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 320px at 90% 0%, rgba(47,111,237,.28), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(225,29,46,.2), transparent 55%);
  pointer-events: none;
}
.section-alt .wrap { position: relative; z-index: 1; }
.section-alt h2,
.section-alt .section-desc,
.section-alt figcaption { color: #fff; }
.section-alt .section-desc { color: rgba(255,255,255,.7); }
.section h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 400;
}
.section-desc { margin-bottom: 1.6rem; max-width: 36rem; font-size: 1.05rem; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}
.feature-grid article {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: #fff;
  border: 0;
  border-radius: 22px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 16px 40px rgba(16, 24, 40, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-grid article:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(16, 24, 40, .14);
}
.feature-grid article:nth-child(1) .feature-icon { background: #1d4ed8; color: #fff; }
.feature-grid article:nth-child(2) .feature-icon { background: #e11d2e; color: #fff; }
.feature-grid article:nth-child(3) .feature-icon { background: #0f766e; color: #fff; }
.feature-grid article:nth-child(4) .feature-icon { background: #1e293b; color: #fff; }
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 78px;
  height: 78px;
  border-radius: 20px;
  background: #1d4ed8;
  color: #fff;
}
.feature-icon svg {
  width: 42px;
  height: 42px;
  display: block;
}
.feature-copy { min-width: 0; flex: 1; }
.feature-grid h3 {
  font-size: 1.15rem;
  margin: .15rem 0 .4rem;
  font-weight: 900;
}
.feature-grid p { margin: 0; }

.shot-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.shot {
  margin: 0;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  transition: transform .2s ease;
}
.shot:hover { transform: translateY(-6px) rotate(-1deg); }
.shot img { width: 100%; aspect-ratio: 9 / 19; object-fit: cover; object-position: top; background: #111; }
.shot figcaption {
  padding: .75rem .85rem .9rem;
  font-size: .84rem;
  color: rgba(255,255,255,.72);
}

.softzhu-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.5rem;
  align-items: center;
}
.meta-list {
  list-style: none; padding: 0; margin: 0 0 1.25rem;
}
.meta-list li {
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.meta-list strong {
  display: inline-block;
  min-width: 4.5rem;
  color: var(--ink);
  margin-right: .5rem;
}
.softzhu-card {
  margin: 0;
  background: #fff;
  border: 0;
  border-radius: 20px;
  padding: .85rem;
  box-shadow: 0 22px 50px rgba(16, 24, 40, .14);
  transform: rotate(1.5deg);
}
.softzhu-card img { border-radius: 12px; }

.section-cta { padding-bottom: 3.8rem; }
.cta-box {
  background: linear-gradient(120deg, #e11d2e 0%, #9f1239 42%, #1d4ed8 100%);
  color: #fff;
  border-radius: 28px;
  padding: 2.6rem 1.6rem;
  text-align: center;
  box-shadow: 0 24px 60px rgba(225, 29, 46, .28);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: repeating-linear-gradient(120deg, transparent 0 22px, rgba(255,255,255,.06) 22px 23px);
  pointer-events: none;
}
.cta-box > * { position: relative; z-index: 1; }
.cta-box h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: #fff;
}
.cta-box p {
  color: rgba(255,255,255,.9);
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}
.cta-box .actions { justify-content: center; }
.cta-box .btn-ghost {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.cta-box .btn-ghost:hover { background: rgba(255,255,255,.22); color: #fff; }
.cta-box .btn-main { background: #fff; color: #9f1239; box-shadow: none; }
.cta-box .btn-main:hover { color: #7f1d1d; }

.foot {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 1.75rem;
  background: rgba(255,255,255,.65);
}
.foot-inner {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .88rem; color: var(--muted);
}
.foot p { margin: 0; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--blue-deep); }
.foot-beian {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1.25rem;
  margin-top: .85rem;
  font-size: .82rem;
  color: var(--muted);
}
.foot-beian .police-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.foot-beian img {
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width: 900px) {
  body::after { opacity: .25; }
  .hero-orbit,
  .hero-visual::before,
  .hero-visual::after,
  .hero-stamp,
  .hero-bg::after {
    display: none;
  }
  .hero { padding: 2.4rem 0 2.2rem; }
  .hero-inner, .softzhu-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; font-size: clamp(2.5rem, 11vw, 3.4rem); }
  .hero-visual { order: -1; min-height: 0; margin-bottom: .5rem; }
  .phone {
    width: min(100%, 220px);
    animation: none;
    transform: none;
  }
  .hero-icon {
    width: 72px;
    height: 72px;
    right: 12%;
    bottom: 0;
    animation: none;
  }
  .shot-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: 1fr; }
  .top-inner { gap: .55rem; }
  .logo span { max-width: 7.5em; overflow: hidden; text-overflow: ellipsis; }
  .nav a { padding: .42rem .58rem; font-size: .88rem; }
  .nav-dl { padding: .38rem .8rem !important; font-size: .84rem !important; }
  .article-row { gap: .75rem; padding: 1.2rem 0; }
  .softzhu-card { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg,
  .phone,
  .hero-icon,
  .hero-stamp,
  .hero-orbit,
  .hero-visual::before,
  .hero-visual::after {
    animation: none !important;
  }
}

/* 微信内下载引导 */
.wx-tip[hidden] { display: none !important; }
.wx-tip {
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.wx-tip-mask {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 16, 28, .72);
  cursor: pointer;
}
.wx-tip-panel {
  position: absolute;
  top: 1.1rem;
  right: 1rem;
  left: 1rem;
  max-width: 360px;
  margin-left: auto;
  background: #fff;
  border-radius: 16px;
  padding: 1.25rem 1.2rem 1.15rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}
.wx-tip-arrow {
  position: absolute;
  top: -10px;
  right: 18px;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
}
.wx-tip-panel h2 {
  margin: 0 0 .55rem;
  font-size: 1.15rem;
  color: var(--ink);
}
.wx-tip-panel p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .95rem;
}
.wx-tip-panel strong { color: var(--ink); }
.wx-tip-ok {
  width: 100%;
  border: 0;
  cursor: pointer;
}

/* 软文攻略 */
.articles-page { padding-top: 2.4rem; padding-bottom: 3.5rem; }
.articles-wrap { max-width: 820px; }
.page-head {
  margin-bottom: 2rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  margin: 0 0 .55rem;
  font-family: var(--display);
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  font-weight: 400;
}
.page-head p {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
  max-width: 36rem;
}
.articles-empty {
  padding: 2rem 0;
  color: var(--muted);
}
.article-list {
  display: flex;
  flex-direction: column;
}
.article-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}
.article-list .article-row:first-child {
  padding-top: .25rem;
}
.article-row-main {
  flex: 1;
  min-width: 0;
}
.article-row-main h2,
.article-row-main h3 {
  margin: 0 0 .35rem;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.4;
}
.article-row-main h2 a,
.article-row-main h3 a {
  color: var(--ink);
  text-decoration: none;
}
.article-row-main h2 a:hover,
.article-row-main h3 a:hover {
  color: var(--blue-deep);
}
.article-row-main time {
  display: block;
  margin: 0 0 .55rem;
  font-size: .84rem;
  color: #8a97a8;
  font-variant-numeric: tabular-nums;
}
.article-row-main p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-more {
  flex-shrink: 0;
  margin-top: .15rem;
  color: var(--blue-deep);
  font-weight: 600;
  font-size: .9rem;
  white-space: nowrap;
}
.article-more:hover { color: var(--blue); }
.articles-more-link { margin-top: 1.75rem; }
.pager {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: .5rem;
  color: var(--muted);
  font-size: .94rem;
}
.article-detail { padding-top: 2.2rem; }
.article-detail .eyebrow {
  display: inline-flex;
  background: transparent;
  color: var(--blue-deep);
  padding: 0;
  margin-bottom: .75rem;
}
.article-detail .eyebrow a {
  color: var(--blue-deep);
  text-decoration: none;
  font-weight: 600;
}
.article-detail h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 400;
  margin-bottom: .5rem;
}
.article-meta {
  color: var(--muted);
  font-size: .92rem;
  margin: 0 0 1.6rem;
}
.prose-wrap { max-width: 720px; }
.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink);
}
.article-content h2 {
  font-size: 1.25rem;
  margin: 1.6rem 0 .7rem;
}
.article-content p { margin: 0 0 1.05rem; }
.article-content ul { margin: 0 0 1.05rem; padding-left: 1.2rem; }
.article-content a { color: var(--blue-deep); }
.article-cta {
  margin-top: 2.4rem;
  padding: 1.4rem 1.3rem;
  border-radius: 16px;
  background: rgba(225, 29, 46, .06);
  border: 1px solid rgba(225, 29, 46, .12);
}
.article-cta h2 {
  margin: 0 0 .4rem;
  font-size: 1.15rem;
}
.article-cta p {
  margin: 0 0 1rem;
  color: var(--muted);
}
