:root {
  --brand: #2bb673;
  --brand-deep: #1a8f56;
  --brand-soft: #d8f5e6;
  --ink: #14201a;
  --muted: #5a6b62;
  --bg: #eef6f1;
  --bg-2: #f7fbf8;
  --surface: #ffffff;
  --line: rgba(20, 32, 26, 0.1);
  --danger: #c45c26;
  --shadow: 0 12px 40px rgba(20, 32, 26, 0.08);
  --radius: 18px;
  --max: 1080px;
  --float-h: 72px;
  --font-display: "ZCOOL KuHei", "PingFang SC", "Microsoft YaHei", sans-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;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(43, 182, 115, 0.18), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(43, 182, 115, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 45%, #fff 100%);
  line-height: 1.7;
  min-height: 100vh;
  padding-bottom: calc(var(--float-h) + 28px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand);
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(238, 246, 241, 0.86);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  background: #111;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 0.92rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-deep);
}

/* Hero */
.hero {
  padding: 36px 0 20px;
}

.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    min-height: min(72vh, 640px);
  }
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-deep);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  line-height: 1.15;
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}

.hero h1 .en {
  display: block;
  margin-top: 6px;
  font-size: 0.42em;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 36em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  border: 2px solid transparent;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-android {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px rgba(43, 182, 115, 0.35);
}

.btn-android:hover {
  background: var(--brand-deep);
  color: #fff;
}

.btn-ios {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 32, 26, 0.22);
}

.btn-ios:hover {
  background: #000;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand-deep);
}

.stats-line {
  font-size: 0.92rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  padding: 8px 14px;
  border-radius: 999px;
}

.stats-line strong {
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  animation: floaty 5s ease-in-out infinite;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12% 18%;
  background: radial-gradient(circle, rgba(43, 182, 115, 0.35), transparent 70%);
  filter: blur(8px);
  z-index: 0;
}

.hero-visual img {
  position: relative;
  z-index: 1;
  width: min(320px, 78vw);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Sections */
.section {
  padding: 48px 0;
}

.section-head {
  margin-bottom: 22px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 4vw, 2rem);
  margin: 0 0 8px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  max-width: 40em;
}

.feature-list {
  display: grid;
  gap: 14px;
}

@media (min-width: 720px) {
  .feature-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 22px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  font-weight: 800;
}

.step h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 800px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }
}

.shot {
  aspect-ratio: 9 / 16;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, #1a1f1c, #2bb67333),
    #111;
  box-shadow: var(--shadow);
  position: relative;
}

.shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot-fallback {
  height: 100%;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.content-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}

.content-block h2,
.content-block h3 {
  font-family: var(--font-display);
}

.content-block p,
.content-block li {
  color: var(--muted);
}

.content-block ul {
  padding-left: 1.2em;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud a {
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 0.9rem;
  font-weight: 600;
}

.tag-cloud a:hover {
  background: var(--brand);
  color: #fff;
}

.disclaimer {
  margin: 28px 0 0;
  padding: 16px 18px;
  border-left: 4px solid var(--danger);
  background: #fff6f0;
  color: #6b3a1f;
  border-radius: 0 12px 12px 0;
  font-weight: 600;
}

/* Footer */
.site-footer {
  margin-top: 40px;
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.footer-warn {
  font-size: clamp(1rem, 3.2vw, 1.15rem);
  font-weight: 800;
  color: var(--danger);
  background: #fff1e8;
  border: 2px solid #f0b48a;
  border-radius: 14px;
  padding: 16px 18px;
  text-align: center;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--brand-deep);
}

/* Floating bar */
.float-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  transform: translateY(110%);
  transition: transform 0.28s ease;
  background: rgba(20, 32, 26, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  min-height: var(--float-h);
}

.float-bar.show {
  transform: translateY(0);
}

.float-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--float-h);
  padding: 10px 0;
}

.float-text {
  color: #fff;
  font-size: 0.92rem;
  line-height: 1.35;
}

.float-text small {
  display: block;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
}

.float-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.float-actions .btn {
  min-height: 42px;
  padding: 0 14px;
  font-size: 0.92rem;
  border-radius: 12px;
}

@media (max-width: 560px) {
  .nav-links {
    display: none;
  }

  .float-text {
    display: none;
  }

  .float-actions {
    width: 100%;
  }

  .float-actions .btn {
    flex: 1;
  }
}

/* Page article */
.page-hero {
  padding: 34px 0 10px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin: 0 0 10px;
  line-height: 1.2;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 42em;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--brand-deep);
}

.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 1.4em 0 0.5em;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ol,
.prose ul {
  padding-left: 1.25em;
}

.faq-item + .faq-item {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.faq-item h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.related-box {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.related-box h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 12px;
}

.related-box .tag-cloud {
  margin-top: 4px;
}
