/* 清理鱼官网 — 独立样式 */
:root {
  --brand: #00c3a0;
  --brand-deep: #00a88c;
  --brand-soft: #e6f8f4;
  --ink: #1a262b;
  --ink-soft: #3a464c;
  --muted: #6b787e;
  --line: #e4eef0;
  --bg: #f4f8f9;
  --white: #ffffff;
  --warn: #ff8a2b;
  --radius: 18px;
  --shadow: 0 18px 48px rgba(18, 40, 44, 0.12);
  --font-display: "Sora", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --wrap: min(1120px, calc(100% - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(20, 40, 45, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--brand-deep);
  letter-spacing: 0.02em;
}

.brand img {
  border-radius: 10px;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover {
  color: var(--brand-deep);
}

/* Buttons */
.btn-download,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-download {
  background: linear-gradient(90deg, #1ad6b4, var(--brand));
  color: var(--white);
  padding: 12px 26px;
  box-shadow: 0 10px 24px rgba(0, 195, 160, 0.28);
}

.btn-download:hover {
  transform: translateY(-2px);
  background: var(--brand-deep);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-ghost {
  border: 1px solid rgba(0, 168, 140, 0.35);
  color: var(--brand-deep);
  background: rgba(255, 255, 255, 0.55);
  padding: 12px 22px;
}

.btn-ghost:hover {
  background: var(--brand-soft);
}

/* Hero — 大气居中首屏 */
.hero {
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 0;
  background: #eef5fb;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.42) 78%, #ffffff 100%),
    url("../images/BG.webp") center top / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding-top: 4px;
  flex-shrink: 0;
}

.hero-logo {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(0, 120, 140, 0.18);
  animation: hero-pop 0.7s ease both;
}

.hero-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #1a2b3a;
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin-bottom: 12px;
  animation: hero-pop 0.7s ease 0.05s both;
}

.hero-badge {
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #ff9a3c, #ff7a1a);
  padding: 5px 12px;
  border-radius: 8px;
  letter-spacing: 0.06em;
  box-shadow: 0 6px 14px rgba(255, 122, 26, 0.28);
  transform: translateY(-6px);
}

.hero-lead {
  color: #5a6b78;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  line-height: 1.7;
  margin: 0 auto 22px;
  max-width: 30em;
  animation: hero-pop 0.7s ease 0.1s both;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 250px;
  padding: 15px 36px;
  border-radius: 999px;
  background: linear-gradient(90deg, #12d4b0, #00c3a0);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 16px 36px rgba(0, 195, 160, 0.36);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  animation: hero-pop 0.7s ease 0.15s both;
}

.btn-hero:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #00c3a0, #00a88c);
  box-shadow: 0 20px 40px rgba(0, 168, 140, 0.4);
}

.win-ico {
  width: 22px;
  height: 22px;
}

.hero-stats {
  margin-top: 20px;
  margin-bottom: 0;
  color: #3d4d58;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  animation: hero-pop 0.7s ease 0.2s both;
}

.hero-stats strong {
  color: #ff7a1a;
  font-weight: 800;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
  display: inline-block;
  min-width: 6em;
  text-align: center;
  margin: 0 6px;
  line-height: 1;
  vertical-align: -3px;
}

/* 上窄下宽：绕顶部旋转，贴紧下载人数，避免上方大空白 */
.hero-stage {
  position: relative;
  z-index: 1;
  width: min(1320px, 100%);
  margin-top: 8px;
  margin-bottom: -36px; /* 底边伸进 strip，二者紧挨 */
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

.hero-shot-wrap {
  position: relative;
  width: 100%;
  max-width: 1280px;
  padding: 0;
  transform-style: preserve-3d;
}

.hero-shot {
  position: relative;
  width: 100%;
  /* origin 在顶部：顶边贴文案，底边朝外更宽 = 上窄下宽，且无上方空洞 */
  transform: perspective(1000px) rotateX(18deg) scale(1.06);
  transform-origin: 50% 0%;
  border-radius: 12px 12px 0 0;
  overflow: visible;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  /* 白底/描边/阴影 = 截图外框，不是 hero-stage 背景 */
  background: #fff;
  box-shadow:
    0 20px 44px rgba(20, 50, 80, 0.16),
    0 48px 80px rgba(20, 50, 80, 0.1);
  border: 1px solid #e2ebf0;
  border-bottom: none;
  animation: hero-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.hero-shot::after {
  display: none;
}

.hero-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 11px 11px 0 0;
}

.hero-ground {
  display: none; /* 与 strip 直接相接，不再留地面阴影空隙 */
}

@keyframes hero-pop {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: perspective(1000px) rotateX(24deg) scale(1.02) translateY(20px);
  }
  to {
    opacity: 1;
    transform: perspective(1000px) rotateX(18deg) scale(1.06) translateY(0);
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 24px 0 0;
    overflow-x: clip;
  }

  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-logo {
    width: 52px;
    height: 52px;
  }

  .hero-stats {
    font-size: 1.15rem;
  }

  .hero-stats strong {
    font-size: 1.85rem;
  }

  .hero-stage {
    /* 不用 100vw（会含滚动条宽度导致视觉偏左），改用 100% 居中 */
    width: 100%;
    max-width: 100%;
    margin: 8px auto -20px;
    padding: 0;
    overflow: visible;
    box-sizing: border-box;
  }

  .hero-shot-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  .hero-shot {
    width: 100%;
    margin: 0 auto;
    /* 旋转轴在底边：下部两侧对齐，上部视觉变窄并居中；不加 scale，图完整可见 */
    transform: perspective(780px) rotateX(14deg);
    transform-origin: 50% 100%;
    border-radius: 10px 10px 0 0;
  }

  .hero-shot img {
    display: block;
    margin: 0 auto;
    border-radius: 9px 9px 0 0;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  @keyframes hero-rise {
    from {
      opacity: 0;
      transform: perspective(780px) rotateX(20deg) translateY(12px);
    }
    to {
      opacity: 1;
      transform: perspective(780px) rotateX(14deg) translateY(0);
    }
  }
}

/* Software UI frames */
.ui-frame {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(18, 40, 44, 0.16);
  border: 1px solid rgba(15, 40, 45, 0.08);
  background: #edf3f4;
}

.ui-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.ui-show {
  padding-top: 72px;
  padding-bottom: 0;
}

.ui-block {
  padding: 48px 0 64px;
}

.ui-block-alt {
  background: var(--bg);
}

.ui-row {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.ui-row-reverse .ui-copy {
  order: 2;
}

.ui-row-reverse .ui-frame {
  order: 1;
}

.ui-copy h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.3;
  margin-bottom: 14px;
}

.ui-copy p {
  color: var(--muted);
  margin-bottom: 22px;
  font-size: 1.02rem;
}

.deep-lines {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.deep-lines h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.deep-lines p {
  color: var(--muted);
  font-size: 0.94rem;
}

@media (max-width: 960px) {
  .ui-row,
  .ui-row-reverse,
  .deep-lines {
    grid-template-columns: 1fr;
  }

  .ui-row-reverse .ui-copy,
  .ui-row-reverse .ui-frame {
    order: initial;
  }
}

/* Pain strip — 盖在上方透视截图之上，避免被挡住 */
.strip {
  position: relative;
  z-index: 5;
  background: var(--ink);
  color: #d7e4e6;
  padding: 72px 0;
}

.strip h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--white);
  margin-bottom: 28px;
}

.pain-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  margin-bottom: 28px;
}

.pain-list li {
  position: relative;
  padding-left: 22px;
  font-size: 1rem;
}

.pain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.strip-punch {
  font-size: 1.08rem;
  max-width: 40em;
  color: #f2fafa;
}

.strip-punch strong {
  color: #7dffd8;
  font-weight: 700;
}

/* Sections */
.section {
  padding: 88px 0;
}

.section-head {
  max-width: 40em;
  margin-bottom: 40px;
}

.eyebrow {
  color: var(--brand-deep);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 12px;
  line-height: 1.25;
}

.section-head p {
  color: var(--muted);
}

.deep {
  background: var(--white);
  border-top: 1px solid var(--line);
}

/* Compare */
.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 0.95rem;
}

.compare-table th,
.compare-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.compare-table thead th {
  background: #f0f7f6;
  font-weight: 700;
}

.compare-table th.hl,
.compare-table td.hl {
  background: rgba(0, 195, 160, 0.08);
  color: var(--brand-deep);
  font-weight: 700;
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-note {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

/* Features */
.features {
  background: linear-gradient(180deg, #ffffff 0%, #eef7f5 100%);
}

.feature-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-bottom: 48px;
}

.feature-rail li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink-soft);
}

.feature-rail img {
  width: 40px;
  height: 40px;
}

.feature-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.feature-showcase img {
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: var(--white);
}

.feature-showcase h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.feature-showcase p {
  color: var(--muted);
  margin-bottom: 22px;
}

/* Article — 公众号阅读感 */
.article-section {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.article-wrap {
  max-width: 720px;
}

.article-head {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.article-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.3;
  margin: 8px 0 14px;
}

.article-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.article-body > p,
.article-body > ul,
.article-body > blockquote,
.article-body > figure,
.article-body > h3 {
  margin-bottom: 1.15em;
}

.article-body h3 {
  font-size: 1.25rem;
  margin-top: 1.8em;
  color: var(--ink);
}

.article-body p,
.article-body li {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.article-body ul {
  padding-left: 1.2em;
  list-style: disc;
}

.article-body li {
  margin-bottom: 0.45em;
}

.article-body strong {
  color: var(--brand-deep);
}

.article-figure {
  margin: 2em 0;
}

.article-figure img {
  width: 100%;
  border-radius: 14px;
  background: var(--bg);
}

.article-figure figcaption {
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}

.article-body blockquote {
  border-left: 4px solid var(--brand);
  padding: 12px 0 12px 18px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.7;
  background: linear-gradient(90deg, rgba(0, 195, 160, 0.08), transparent);
}

.article-cta {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 40px;
  padding: 22px;
  background: var(--brand-soft);
  border-radius: 16px;
}

.article-cta strong {
  display: block;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.article-cta p {
  color: var(--muted);
  margin-bottom: 12px;
  font-size: 0.95rem;
}

/* Download band */
.download-band {
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.12), transparent 40%),
    linear-gradient(120deg, #049f84, #00c3a0 55%, #1ad6b4);
  color: var(--white);
  padding: 64px 0;
}

.download-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.download-band .hero-brand {
  color: #e8fff8;
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.download-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 8px;
}

.download-band p {
  opacity: 0.92;
}

.download-band .btn-download {
  background: var(--white);
  color: var(--brand-deep);
  box-shadow: 0 12px 28px rgba(0, 40, 35, 0.18);
  flex-shrink: 0;
}

.download-band .btn-download:hover {
  background: #f3fffb;
}

/* Footer */
.site-footer {
  background: #132025;
  color: #9db0b6;
  padding: 40px 0 48px;
}

.footer-inner .brand {
  color: #d7ece8;
  margin-bottom: 10px;
}

.footer-note {
  margin-top: 14px;
  font-size: 0.82rem;
  opacity: 0.75;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  align-items: center;
}

.footer-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-note a:hover {
  opacity: 1;
}

/* 下载提示：复制官网到电脑打开 */
.dl-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dl-modal[hidden] {
  display: none;
}

.dl-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 32, 40, 0.55);
  backdrop-filter: blur(2px);
}

.dl-modal-panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 64px rgba(18, 40, 44, 0.28);
  text-align: center;
  animation: dl-pop 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes dl-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.dl-modal-x {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #6b787e;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.dl-modal-panel h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--ink);
  margin: 4px 0 12px;
}

.dl-modal-lead {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 18px;
}

.dl-modal-url {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4vw, 1.35rem);
  font-weight: 700;
  color: var(--brand-deep);
  letter-spacing: 0.02em;
  background: var(--brand-soft);
  border: 1px solid rgba(0, 168, 140, 0.22);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  user-select: all;
  word-break: break-all;
}

.dl-modal-copy {
  width: 100%;
  border: 0;
  cursor: pointer;
  padding: 14px 20px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 800;
}

.dl-modal-tip {
  margin-top: 12px;
  font-size: 0.88rem;
  color: var(--brand-deep);
  font-weight: 600;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .nav {
    display: none;
  }

  .download-inner,
  .ui-row,
  .ui-row-reverse,
  .deep-lines {
    grid-template-columns: 1fr;
  }

  .download-inner {
    display: grid;
  }

  .ui-row-reverse .ui-copy,
  .ui-row-reverse .ui-frame {
    order: initial;
  }

  .pain-list {
    grid-template-columns: 1fr;
  }
}
