/* 漫蛙 · whats.net.cn — 水雾青移动端落地页 */
:root {
  --ink: #15252c;
  --ink-soft: #3d5560;
  --mist: #e8f4f2;
  --mist-2: #f4faf8;
  --pool: #1f8a7a;
  --pool-deep: #0f5c52;
  --ripple: #7ed6c4;
  --coral: #e85d4c;
  --coral-deep: #c94434;
  --line: rgba(21, 37, 44, 0.1);
  --warn: #7a4a12;
  --warn-bg: #fff3df;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --float-h: 72px;
  --radius: 12px;
  --font-display: "ZCOOL XiaoWei", "LXGW WenKai", "PingFang SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--mist-2);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(126, 214, 196, 0.45), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(31, 138, 122, 0.18), transparent 50%),
    linear-gradient(180deg, #dceeea 0%, var(--mist-2) 28%, #f7fbfa 100%);
  background-attachment: fixed;
  line-height: 1.7;
  min-height: 100vh;
  padding-bottom: calc(var(--float-h) + var(--safe-bottom) + 16px);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pool-deep);
  text-decoration: none;
}

a:hover {
  color: var(--coral-deep);
}

.container {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

/* —— 顶栏 —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 10px 0;
  backdrop-filter: blur(14px);
  background: rgba(244, 250, 248, 0.82);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  min-width: 0;
  flex: 1 1 auto;
}

.brand span {
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 40px;
  padding: 0 12px;
  background: var(--pool);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle:active {
  background: var(--pool-deep);
}

.nav-toggle-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 15px;
}

.nav-toggle-bars i {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-inner.is-open .nav-toggle-bars i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.header-inner.is-open .nav-toggle-bars i:nth-child(2) {
  opacity: 0;
}

.header-inner.is-open .nav-toggle-bars i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a {
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a.active {
  color: var(--pool-deep);
  border-bottom-color: var(--ripple);
}

@media (max-width: 819px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .header-inner.is-open .nav {
    display: flex;
    animation: riseIn 0.22s ease both;
  }

  .nav a {
    display: block;
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav a.active {
    background: rgba(31, 138, 122, 0.1);
    border-bottom-color: transparent;
    border-radius: 8px;
    padding-left: 12px;
  }
}

@media (min-width: 820px) {
  .nav-toggle {
    display: none !important;
  }

  .nav {
    display: flex !important;
  }
}

/* —— Hero：全幅水雾场 —— */
.hero-stage {
  position: relative;
  width: 100%;
  margin: 0;
  min-height: min(92vh, 720px);
  display: grid;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 30%, rgba(126, 214, 196, 0.55), transparent 42%),
    linear-gradient(155deg, #0f5c52 0%, #1f8a7a 42%, #2aa894 70%, #7ed6c4 100%);
}

.hero-stage.container {
  width: 100%;
  max-width: none;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.1) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 85% 70%, rgba(255, 255, 255, 0.08) 0 2px, transparent 3px);
  background-size: 120px 120px, 80px 80px, 100px 100px;
  opacity: 0.9;
  pointer-events: none;
  animation: driftDots 18s linear infinite;
}

.hero-grid {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  min-height: inherit;
  gap: 8px;
  padding: 36px 0 28px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  color: #fff;
}

.hero-kicker {
  display: none;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 18vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.12em;
  color: #fff;
  text-shadow: 0 8px 28px rgba(15, 92, 82, 0.35);
  animation: brandIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-brand em {
  font-style: normal;
  color: #dffaf3;
}

.hero h1 {
  font-size: clamp(1.05rem, 3.6vw, 1.28rem);
  font-weight: 700;
  line-height: 1.4;
  max-width: 20em;
  color: rgba(255, 255, 255, 0.95);
  animation: riseIn 0.65s ease 0.1s both;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
  max-width: 30em;
  animation: riseIn 0.65s ease 0.18s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
  animation: riseIn 0.65s ease 0.26s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
  font-size: 0.98rem;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none !important;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.btn > span {
  display: inline-block;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-android {
  background: var(--coral);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(232, 93, 76, 0.35);
}

.btn-android:hover {
  background: var(--coral-deep);
}

.btn-ios {
  background: rgba(255, 255, 255, 0.96);
  color: var(--pool-deep) !important;
  box-shadow: 0 10px 24px rgba(15, 92, 82, 0.2);
}

.btn-ios:hover {
  background: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--pool-deep) !important;
  border: 1.5px solid rgba(15, 92, 82, 0.35);
  box-shadow: none;
}

.article .btn-ios,
.float-dl .btn-ios {
  background: var(--ink);
  color: #fff !important;
}

.article .btn-android,
.float-dl .btn-android {
  background: var(--coral);
  color: #fff !important;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 12px 0 8px;
}

.sfx {
  display: none;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: min(72%, 300px);
  border-radius: 28%;
  filter: drop-shadow(0 18px 36px rgba(8, 40, 36, 0.4));
  animation: floatSoft 4.5s ease-in-out infinite;
}

.hero-art::before {
  content: "";
  position: absolute;
  width: min(78%, 280px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  animation: pulseRing 4.5s ease-in-out infinite;
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes pulseRing {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.05); opacity: 0.25; }
}

@keyframes brandIn {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes driftDots {
  from { background-position: 0 0, 0 0, 0 0; }
  to { background-position: 40px 60px, -30px 40px, 20px -50px; }
}

/* —— 章节 —— */
.chapter {
  margin: 40px auto;
}

.chapter-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}

.chapter-no {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--pool);
  letter-spacing: 0.08em;
}

.chapter-head h2,
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 5vw, 2rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: var(--ink);
}

.section-lead,
.chapter-lead {
  color: var(--ink-soft);
  margin: 6px 0 20px;
  max-width: 40em;
  font-size: 0.95rem;
}

/* 特点：轻分隔，无卡片感 */
.panels {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}

.panel {
  padding: 22px 4px 22px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.panel-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  color: var(--pool);
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 0;
}

.panel h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.panel p {
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.panel-wide {
  background: transparent;
}

/* 步骤 */
.strip {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.strip-cell {
  padding: 4px 0 8px;
  border-left: 3px solid var(--ripple);
  padding-left: 16px;
}

.strip-cell .num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--pool);
  margin-bottom: 4px;
}

.strip-cell h3 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.strip-cell p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* FAQ */
.faq details {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
  padding: 14px 0;
  box-shadow: none;
  position: relative;
}

.faq details::after {
  display: none;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-body);
  font-size: 1rem;
  list-style: none;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  color: var(--pool);
  font-weight: 800;
}

.faq details[open] summary::before {
  content: "–";
}

.faq details[open] summary {
  color: var(--pool-deep);
  margin-bottom: 8px;
}

.faq p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding-left: 1.2em;
}

/* 关键词 */
.kw-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kw-cloud a,
.kw-tag {
  display: inline-block;
  padding: 7px 12px;
  background: rgba(31, 138, 122, 0.08);
  color: var(--pool-deep);
  border: 1px solid rgba(31, 138, 122, 0.18);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: none;
  transform: none;
}

.kw-cloud a:nth-child(2n),
.kw-cloud a:nth-child(3n) {
  transform: none;
  background: rgba(31, 138, 122, 0.08);
}

.kw-cloud a:hover {
  background: var(--pool);
  color: #fff;
  border-color: var(--pool);
}

.kw-tag {
  margin: 0 6px 8px 0;
}

/* 子页文章 */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 18px 0 12px;
  font-weight: 600;
}

.article {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: none;
  padding: 24px 18px;
  margin-bottom: 24px;
}

.article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5.5vw, 2.15rem);
  margin-bottom: 14px;
  line-height: 1.25;
  color: var(--ink);
  text-shadow: none;
}

.article h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 24px 0 10px;
  padding-left: 0;
  border-left: none;
  color: var(--pool-deep);
}

.article p,
.article li {
  color: var(--ink-soft);
  margin-bottom: 10px;
  font-size: 0.96rem;
}

.article ul,
.article ol {
  padding-left: 1.2em;
  margin-bottom: 12px;
}

.article .cta-row {
  margin-top: 18px;
}

.disclaimer,
.footer-disclaimer {
  margin: 18px 0 0;
  padding: 14px 16px;
  background: var(--warn-bg);
  border: 1px solid rgba(122, 74, 18, 0.25);
  border-radius: var(--radius);
  color: var(--warn);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.02em;
  text-align: center;
  box-shadow: none;
}

/* Footer */
.site-footer {
  margin-top: 36px;
  padding: 28px 0 20px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, transparent, rgba(31, 138, 122, 0.06));
}

.footer-stats {
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-stats span {
  color: var(--pool-deep);
  background: rgba(126, 214, 196, 0.35);
  padding: 1px 8px;
  border-radius: 6px;
  border: none;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 14px 0 12px;
  font-size: 0.86rem;
  font-weight: 700;
}

.footer-meta {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.8rem;
}

/* 悬浮下载 */
.float-dl {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  transform: translateY(110%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 0 12px calc(10px + var(--safe-bottom));
}

.float-dl.show {
  transform: translateY(0);
}

.float-inner {
  width: min(480px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 10px;
  background: rgba(244, 250, 248, 0.94);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 28px rgba(21, 37, 44, 0.12);
  clip-path: none;
}

.float-dl .btn {
  min-height: 44px;
  width: 100%;
  font-size: 0.92rem;
  box-shadow: none;
}

.section {
  padding: 8px 0 28px;
}

/* 软件截图 */
.shot-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(148px, 40%);
  gap: 14px;
  overflow-x: auto;
  padding: 4px 2px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.shot {
  margin: 0;
  scroll-snap-align: start;
  border: none;
  background: #0d2420;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(15, 92, 82, 0.18);
  transform: none;
  animation: riseIn 0.55s ease both;
}

.shot:nth-child(2) { animation-delay: 0.06s; }
.shot:nth-child(3) { animation-delay: 0.12s; }
.shot:nth-child(4) { animation-delay: 0.18s; }

.shot:nth-child(2n),
.shot:nth-child(3n) {
  transform: none;
}

.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
}

@media (min-width: 820px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 48px 0;
  }

  .hero-art {
    min-height: 420px;
  }

  .panels {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    border-top: none;
  }

  .panel {
    border-bottom: none;
    padding: 0 8px 0 0;
  }

  .panel + .panel {
    border-left: 1px solid var(--line);
    padding-left: 28px;
  }

  .strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .article {
    padding: 36px 42px;
  }

  .shot-rail {
    grid-auto-flow: unset;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-columns: unset;
    overflow: visible;
  }
}
