:root {
  --ink: #0c2e34;
  --teal: #0f5c66;
  --sea: #1a8f82;
  --foam: #d9efe9;
  --sand: #f3ebe0;
  --amber: #c47a12;
  --amber-deep: #9a5c0a;
  --mist: #eef6f4;
  --line: rgba(15, 70, 78, 0.12);
  --card: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 50px rgba(12, 46, 52, 0.12);
  --radius: 22px;
  --max: 1120px;
  --font-display: "ZCOOL XiaoWei", "Songti SC", serif;
  --font-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 72px;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.75;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(26, 143, 130, 0.18), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(196, 122, 18, 0.12), transparent 55%),
    linear-gradient(180deg, #f7faf8 0%, var(--mist) 38%, var(--sand) 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--amber-deep);
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 250, 248, 0.94);
  backdrop-filter: blur(12px);
}

.nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--sea);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  font: inherit;
  cursor: pointer;
}

.hero {
  padding: 2.6rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  line-height: 1.18;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
}

.hero-copy .lead {
  font-size: 1.08rem;
  color: rgba(12, 46, 52, 0.82);
  margin: 0 0 1.4rem;
  max-width: 34em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--amber-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(154, 92, 10, 0.28);
}

.btn-primary:hover {
  color: #fff;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--ink);
}

.phone-stage {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
}

.phone {
  width: min(240px, 58vw);
  aspect-ratio: 9 / 19.2;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid rgba(12, 46, 52, 0.18);
  box-shadow: var(--shadow);
  background: #111;
  position: absolute;
}

.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.phone-back {
  transform: translate(-18%, 6%) rotate(-8deg);
  z-index: 1;
  animation: floatA 5.5s ease-in-out infinite;
}

.phone-front {
  transform: translate(18%, -4%) rotate(7deg);
  z-index: 2;
  animation: floatB 4.8s ease-in-out infinite;
}

@keyframes floatA {
  0%, 100% { transform: translate(-18%, 6%) rotate(-8deg); }
  50% { transform: translate(-18%, 2%) rotate(-6deg); }
}

@keyframes floatB {
  0%, 100% { transform: translate(18%, -4%) rotate(7deg); }
  50% { transform: translate(18%, 1%) rotate(5deg); }
}

.section {
  padding: 2.8rem 0;
}

.section-head {
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 0.55rem;
}

.section-head p {
  margin: 0;
  color: rgba(12, 46, 52, 0.78);
  max-width: 48em;
}

.prose {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 8px 30px rgba(12, 46, 52, 0.05);
}

.prose h2,
.prose h3 {
  font-family: var(--font-display);
  margin-top: 1.6rem;
}

.prose h2:first-child,
.prose h3:first-child {
  margin-top: 0;
}

.prose p {
  margin: 0.85rem 0;
}

.prose ul,
.prose ol {
  padding-left: 1.2rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature .shot {
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #123;
}

.feature .shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.feature .body {
  padding: 0.95rem 1rem 1.15rem;
}

.feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.feature p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(12, 46, 52, 0.78);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.5rem;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 1.05fr 0.95fr;
}

.split .visual {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: #0f2f34;
}

.split .visual img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  object-position: top center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  counter-reset: step;
}

.step {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.1rem;
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: var(--sea);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(12, 46, 52, 0.78);
}

.faq details {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 0.6rem 0 0.15rem;
  color: rgba(12, 46, 52, 0.8);
}

.crumb {
  font-size: 0.9rem;
  color: rgba(12, 46, 52, 0.65);
  margin: 1rem 0 0;
}

.page-hero {
  padding: 1.8rem 0 0.4rem;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 0.35rem 0 0.6rem;
}

.page-hero p {
  margin: 0;
  max-width: 46em;
  color: rgba(12, 46, 52, 0.8);
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 92, 102, 0.08), rgba(12, 46, 52, 0.12));
  padding: 2rem 0 1.4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.4rem;
}

.site-footer h3 {
  font-family: var(--font-display);
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
}

.site-footer p,
.site-footer li {
  font-size: 0.92rem;
  color: rgba(12, 46, 52, 0.78);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li + li {
  margin-top: 0.35rem;
}

.site-footer a {
  text-decoration: none;
  color: inherit;
}

.site-footer a:hover {
  color: var(--teal);
}

.copyright {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: rgba(12, 46, 52, 0.65);
}

.error-box {
  text-align: center;
  padding: 4rem 1rem 5rem;
}

.error-box h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0 0 0.6rem;
}

.error-box p {
  max-width: 32em;
  margin: 0 auto 1.4rem;
}

.toc-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
}

.toc-inline a {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.88rem;
  color: var(--ink);
}

.toc-inline a:hover {
  border-color: var(--sea);
  color: var(--sea);
}

@media (max-width: 960px) {
  .hero,
  .split,
  .split.reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .phone-stage {
    min-height: 420px;
    order: -1;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 210;
    width: 100%;
    flex-direction: column;
    gap: 0.55rem;
    margin: 0;
    padding: 0.75rem 1rem 1rem;
    background: rgba(247, 250, 248, 0.98);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(12, 46, 52, 0.12);
  }

  .nav-links.open {
    display: flex;
    position: absolute;
  }

  .nav-bar {
    flex-wrap: nowrap;
  }

  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .phone {
    width: min(190px, 46vw);
  }

  .phone-stage {
    min-height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-back,
  .phone-front,
  .feature,
  .btn {
    animation: none;
    transition: none;
  }
}

/* 顶部广告一排小图标 */
.ads-sticky {
  position: sticky;
  top: 72px;
  z-index: 90;
  background: rgba(248, 252, 251, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 70, 78, 0.08);
}

#ads-rail {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-start;
  gap: 6px 8px;
  margin: 0;
  padding: 8px 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

#ads-rail::-webkit-scrollbar {
  display: none;
}

#ads-rail > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 56px;
  flex: 0 0 56px;
  box-sizing: border-box;
}

#ads-rail figure {
  margin: 0;
}

#ads-rail img {
  width: 52px;
  height: 52px;
  max-width: 52px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(24, 24, 24, 0.1);
  display: block;
  border: none;
}

#ads-rail a {
  display: inline-block;
  text-decoration: none;
  border-radius: 14px;
}

#ads-rail .caption {
  height: 14px;
  font-size: 10px;
  line-height: 14px;
  color: #666;
  text-align: center;
  max-width: 56px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 3px;
}
