/* 呼云微信客户端自动化产品页 */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,500;0,9..40,700;1,9..40,500&family=Noto+Sans+SC:wght@400;500;700&display=swap");

:root {
  --wx-ink: #0b1f2a;
  --wx-deep: #123846;
  --wx-green: #12b56a;
  --wx-mint: #3ddc97;
  --wx-foam: #e8f8f1;
  --wx-sand: #f4f1ea;
  --wx-line: rgba(18, 56, 70, 0.12);
  --wx-text: #24343c;
  --wx-mute: #5d6f78;
}

.wx-page {
  font-family: "Noto Sans SC", "DM Sans", system-ui, sans-serif;
  color: var(--wx-text);
  background: #f7faf8;
}

.wx-page h1,
.wx-page h2,
.wx-page h3 {
  font-family: "DM Sans", "Noto Sans SC", sans-serif;
  letter-spacing: -0.02em;
}

.wx-hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(61, 220, 151, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 45% at 88% 8%, rgba(18, 181, 106, 0.22), transparent 50%),
    linear-gradient(160deg, #0b1f2a 0%, #123846 52%, #0d3328 100%);
  color: #fff;
}

.wx-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}

.wx-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 120px 24px 64px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.wx-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 24px;
}

.wx-brand__mark {
  font-size: clamp(36px, 4.6vw, 52px);
  font-weight: 700;
  line-height: 1;
}

.wx-brand__tag {
  font-size: 14px;
  font-weight: 500;
  color: var(--wx-mint);
  border: 1px solid rgba(61, 220, 151, 0.45);
  padding: 4px 10px;
  border-radius: 999px;
}

.wx-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.22;
  margin: 0 0 18px;
  max-width: 12em;
}

.wx-hero__lead {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34em;
  margin: 0 0 28px;
}

.wx-hero__actions,
.wx-cta__actions,
.wx-try__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.wx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease;
}

.wx-btn:hover {
  transform: translateY(-2px);
}

.wx-btn--primary {
  background: var(--wx-mint);
  color: #062019;
}

.wx-btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.wx-btn--dark {
  background: var(--wx-ink);
  color: #fff;
}

.wx-btn--outline {
  background: transparent;
  color: var(--wx-deep);
  border: 1px solid var(--wx-line);
}

.wx-window {
  background: #f5f6f7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.38);
  color: #191919;
}

.wx-window__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #ededed;
  font-size: 13px;
  font-weight: 600;
}

.wx-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
}

.wx-dot:first-child { background: #ff5f57; }
.wx-dot:nth-child(2) { background: #febc2e; }
.wx-dot:nth-child(3) { background: #28c840; }

.wx-window__body {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 340px;
}

.wx-sessions {
  background: #f7f7f7;
  border-right: 1px solid #e6e6e6;
  padding: 8px 0;
}

.wx-session {
  padding: 12px 14px;
  font-size: 13px;
}

.wx-session strong,
.wx-session span {
  display: block;
}

.wx-session span {
  margin-top: 4px;
  color: #8a8a8a;
  font-size: 12px;
}

.wx-session--on {
  background: #fff;
}

.wx-chat {
  padding: 16px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #ededed;
}

.wx-bubble {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}

.wx-bubble--peer {
  align-self: flex-start;
  background: #fff;
}

.wx-bubble--me {
  align-self: flex-end;
  background: #95ec69;
}

.wx-sync {
  margin-top: auto;
  align-self: center;
  font-size: 12px;
  color: #5d6f78;
  background: rgba(255, 255, 255, 0.72);
  padding: 4px 10px;
  border-radius: 999px;
}

.wx-section {
  padding: 88px 0;
}

.wx-section--foam { background: var(--wx-foam); }
.wx-section--sand { background: var(--wx-sand); }

.wx-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.wx-section__head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.wx-section__head h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 12px;
  color: var(--wx-ink);
}

.wx-section__head p {
  margin: 0;
  color: var(--wx-mute);
  font-size: 16px;
  line-height: 1.7;
}

.wx-caps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.wx-cap,
.wx-scene,
.wx-fit {
  background: #fff;
}

.wx-cap {
  padding: 28px 24px 26px;
  border-top: 3px solid var(--wx-green);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wx-cap:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11, 31, 42, 0.08);
}

.wx-cap__no {
  font-size: 13px;
  font-weight: 700;
  color: var(--wx-green);
  margin-bottom: 14px;
}

.wx-cap h3,
.wx-scene h3,
.wx-fit h3 {
  margin: 0 0 10px;
  color: var(--wx-ink);
}

.wx-cap h3 { font-size: 20px; }

.wx-cap p,
.wx-scene p,
.wx-fit p,
.wx-note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--wx-mute);
}

.wx-arch {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.wx-arch__node {
  background: #fff;
  border: 1px solid var(--wx-line);
  padding: 28px 20px;
  text-align: center;
}

.wx-arch__node strong {
  display: block;
  font-size: 18px;
  color: var(--wx-ink);
  margin-bottom: 8px;
}

.wx-arch__node span {
  font-size: 13px;
  color: var(--wx-mute);
  line-height: 1.6;
}

.wx-arch__arrow {
  color: var(--wx-green);
  font-size: 22px;
  font-weight: 700;
}

.wx-scenes,
.wx-fits {
  display: grid;
  gap: 18px;
}

.wx-scenes { grid-template-columns: repeat(4, 1fr); }
.wx-fits { grid-template-columns: repeat(3, 1fr); }

.wx-scene,
.wx-fit {
  padding: 24px 20px;
}

.wx-scene { border-left: 3px solid var(--wx-deep); }
.wx-fit { border-top: 3px solid var(--wx-mint); }

.wx-scene h3,
.wx-fit h3 { font-size: 17px; }

.wx-note {
  margin-top: 28px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--wx-line);
}

.wx-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--wx-ink);
}

.wx-cta {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(61, 220, 151, 0.22), transparent 50%),
    linear-gradient(135deg, var(--wx-ink), var(--wx-deep));
  color: #fff;
  text-align: center;
  padding: 72px 24px;
}

.wx-cta h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 32px);
}

.wx-cta p {
  margin: 0 auto 28px;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.wx-cta__actions { justify-content: center; }

@media (max-width: 960px) {
  .wx-hero__inner,
  .wx-arch {
    grid-template-columns: 1fr;
  }
  .wx-hero__inner { padding-top: 108px; }
  .wx-caps,
  .wx-scenes,
  .wx-fits { grid-template-columns: 1fr 1fr; }
  .wx-arch__arrow {
    transform: rotate(90deg);
    justify-self: center;
  }
  .wx-window { max-width: 460px; }
}

@media (max-width: 640px) {
  .wx-caps,
  .wx-scenes,
  .wx-fits,
  .wx-window__body { grid-template-columns: 1fr; }
  .wx-sessions { display: none; }
  .wx-hero { min-height: auto; }
  .wx-section { padding: 64px 0; }
}
