:root {
  --brand: #2ec4b6;
  --brand-deep: #1a9e92;
  --brand-soft: #e8f8f6;
  --ink: #1f2a2e;
  --ink-muted: #5c6b73;
  --ink-faint: #8a969c;
  --wash-top: #e5f7f4;
  --wash-mid: #f3faf8;
  --wash-bottom: #fff6eb;
  --surface: #fffffff8;
  --line: rgba(46, 196, 182, 0.14);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(31, 42, 46, 0.06);
  --font: "Nunito", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(circle at 90% -10%, rgba(46, 196, 182, 0.22), transparent 42%),
    radial-gradient(circle at 0% 20%, rgba(240, 160, 96, 0.12), transparent 36%),
    linear-gradient(165deg, var(--wash-top), var(--wash-mid) 46%, var(--wash-bottom));
  min-height: 100vh;
  line-height: 1.6;
}

a {
  color: var(--brand-deep);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  object-fit: contain;
  background: var(--brand-soft);
  display: block;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--ink-muted);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--brand-deep);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
}

.hero {
  padding: 72px 0 48px;
}

.hero-inner {
  display: grid;
  gap: 28px;
  align-items: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--brand-deep);
  font-weight: 800;
}

.hero-copy .slogan {
  margin: 14px 0 0;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  color: var(--ink);
  font-weight: 700;
}

.hero-copy .lead {
  margin: 14px 0 0;
  max-width: 36rem;
  color: var(--ink-muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  border: none;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--brand-deep);
  border: 1px solid var(--line);
}

.btn[disabled],
.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.hero-visual {
  justify-self: center;
  width: min(420px, 92vw);
}

.phone-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  min-height: 320px;
}

.phone-frame {
  position: absolute;
  width: min(220px, 48vw);
  aspect-ratio: 9 / 18;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(160deg, #1f2a2e, #2c3a40);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-frame--back {
  left: 0;
  top: 8%;
  transform: rotate(-8deg);
  z-index: 1;
}

.phone-frame--front {
  right: 0;
  top: 0;
  transform: rotate(6deg);
  z-index: 2;
}

.phone-screen-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  background: #f7fffd;
}

@media (prefers-reduced-motion: no-preference) {
  .phone-frame--back {
    animation: phone-tilt-back 5.5s ease-in-out infinite alternate;
  }

  .phone-frame--front {
    animation: phone-tilt-front 5.5s ease-in-out infinite alternate;
  }
}

@keyframes phone-tilt-back {
  from { transform: rotate(-8deg) translateY(0); }
  to { transform: rotate(-5deg) translateY(6px); }
}

@keyframes phone-tilt-front {
  from { transform: rotate(6deg) translateY(0); }
  to { transform: rotate(3deg) translateY(-6px); }
}

.section {
  padding: 28px 0 56px;
}

.section-title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-desc {
  margin: 0 0 24px;
  color: var(--ink-muted);
  max-width: 40rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 0;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--ink-muted);
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-bottom: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.report-showcase {
  margin-top: 0;
}

.report-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: end;
}

.report-shot {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.report-shot img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 28px rgba(26, 158, 146, 0.12);
}

.report-shot figcaption {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.qr-box {
  width: 160px;
  height: 160px;
  border-radius: 16px;
  border: 1px dashed rgba(46, 196, 182, 0.45);
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px;
}

.qr-box .qr-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  border-radius: 16px;
  display: block;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.download-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.download-card h2 {
  margin: 0;
  font-size: 1.2rem;
}

.download-card .btn {
  align-self: flex-start;
}

.download-card .qr-box {
  margin-top: 8px;
}

.download-qr-hint {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
}

.wechat-banner {
  background: #fff7ed;
  color: #9a3412;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 700;
  border-bottom: 1px solid rgba(249, 115, 22, 0.25);
}

.wechat-open-mask {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 23, 0.55);
  display: grid;
  place-items: start end;
  padding: 12px 16px;
}

.wechat-open-mask[hidden] {
  display: none;
}

.wechat-open-card {
  width: min(360px, 100%);
  margin-top: 8px;
  background: #fff;
  border-radius: 20px;
  padding: 20px 20px 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.wechat-open-arrow {
  margin: 0 0 8px;
  text-align: right;
  color: var(--brand-deep);
  font-weight: 800;
}

.wechat-open-card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.wechat-open-card p,
.wechat-open-card ol {
  margin: 0 0 12px;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.wechat-open-card ol {
  padding-left: 1.2em;
}

.wechat-open-card .btn {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}

.legal-list {
  margin: 12px 0 0;
  padding-left: 1.2em;
  color: var(--ink-muted);
}

.legal-list li + li {
  margin-top: 8px;
}

.legal-prose {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.legal-prose h2 {
  margin: 1.6em 0 0.5em;
  font-size: 1.2rem;
}

.legal-prose h2:first-child {
  margin-top: 0;
}

.legal-prose p,
.legal-prose li {
  color: var(--ink-muted);
}

.legal-prose ul {
  padding-left: 1.2em;
}

@media (max-width: 860px) {
  .download-grid {
    grid-template-columns: 1fr;
  }
}

.muted {
  color: var(--ink-muted);
}

.page-hero {
  padding: 48px 0 12px;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.page-hero p {
  margin: 10px 0 0;
  color: var(--ink-muted);
  max-width: 40rem;
}

.prose {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.prose h2 {
  margin: 1.6em 0 0.5em;
  font-size: 1.2rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink-muted);
}

.prose ul {
  padding-left: 1.2em;
}

.site-footer {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  padding: 28px 0 36px;
  color: var(--ink-muted);
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 20px;
}

.footer-brand {
  font-weight: 800;
  color: var(--brand-deep);
  font-size: 1.05rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: var(--ink-muted);
  font-weight: 600;
}

.footer-meta {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
}

.footer-meta a {
  color: var(--ink-muted);
}

@media (min-width: 860px) {
  .hero-inner {
    grid-template-columns: 1.05fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 68px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px 16px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .grid-3,
  .grid-2,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .report-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .report-shot img {
    max-height: 240px;
  }

  .hero {
    padding-top: 40px;
  }

  .hero-visual {
    width: min(360px, 94vw);
  }

  .phone-stack {
    min-height: 280px;
  }

  .phone-frame {
    width: min(180px, 44vw);
  }
}
