/* 臻康 · App 下载落地页 */

:root {
  --ink: #152018;
  --ink-soft: #3a4a3c;
  --muted: #6b7a6c;
  --paper: #f4f7ef;
  --leaf-0: #c5db9a;
  --leaf-1: #8fbc5c;
  --leaf-2: #5f9138;
  --leaf-3: #3f6b24;
  --glow: rgba(95, 145, 56, 0.35);
  --line: rgba(21, 32, 24, 0.08);
  --font-display: "Fraunces", "Noto Serif SC", "Songti SC", serif;
  --font-body: "Manrope", "PingFang SC", "Microsoft YaHei", sans-serif;
  --max: 1120px;
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* —— Nav —— */
.site-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px 0;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-nav.is-solid {
  background: rgba(244, 247, 239, 0.88);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  line-height: 0;
}

.brand__logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 6px 16px var(--glow);
  background: rgba(255, 255, 255, 0.12);
}

/** 导航文字 Logo：缩小高度，与左侧 icon 垂直居中 */
.brand__wordmark {
  display: block;
  height: 30px;
  max-height: 30px;
  width: auto;
  max-width:100px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  margin: 0;
  align-self: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.nav-links a {
  opacity: 0.85;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--leaf-3);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-cta:hover {
  background: var(--leaf-3);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(197, 219, 154, 0.45), transparent 55%),
    radial-gradient(ellipse 70% 50% at 85% 10%, rgba(143, 188, 92, 0.35), transparent 50%),
    linear-gradient(155deg, #6fa045 0%, #4f8530 42%, #2f5a1c 100%);
}

.hero__mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  pointer-events: none;
  animation: meshDrift 28s linear infinite;
}

.hero__orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
  filter: blur(2px);
  animation: orbFloat 9s ease-in-out infinite;
  pointer-events: none;
}

.hero__orb--a {
  top: 8%;
  right: 8%;
}

.hero__orb--b {
  width: 280px;
  height: 280px;
  bottom: 18%;
  left: -60px;
  animation-delay: -3s;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 96px 0 48px;
}

.hero__kicker {
  margin: 0 0 14px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.78);
  animation: riseIn 0.9s ease both;
}

.hero__brand {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 5.6rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  margin: 0 0 14px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  animation: riseIn 0.9s ease 0.05s both;
}

.hero__lead {
  max-width: 36ch;
  margin: 0 0 16px;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  font-weight: 650;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  animation: riseIn 0.9s ease 0.12s both;
}

.hero__sub {
  margin: 0 0 16px;
  max-width: 52ch;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  animation: riseIn 0.9s ease 0.2s both;
}

.hero__tags {
  margin: 0 0 28px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
  animation: riseIn 0.9s ease 0.26s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: riseIn 0.9s ease 0.32s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: #fff;
  color: var(--leaf-3);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.btn__icon {
  width: 18px;
  height: 18px;
}

.hero__hint {
  margin-top: 18px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  animation: riseIn 0.9s ease 0.4s both;
}

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

.section--alt {
  background: #ebf1e2;
}

.section__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--leaf-2);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section__title {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.5vw, 2.45rem);
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: 0.02em;
  max-width: 16ch;
}

.section__title--wide {
  max-width: 22ch;
}

.section__desc {
  margin: 0 0 40px;
  max-width: 48ch;
  color: var(--muted);
}

.section__desc--wide {
  max-width: 68ch;
}

.subhead {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
}

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

.mission-item {
  padding-top: 8px;
  border-top: 2px solid var(--leaf-1);
}

.mission-item h3 {
  margin: 16px 0 10px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 650;
}

.mission-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.mission-item__tag {
  display: inline-block;
  margin-top: 16px;
  color: var(--leaf-3);
  font-size: 0.82rem;
  font-weight: 700;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(95, 145, 56, 0.12);
  color: var(--leaf-3);
  font-size: 0.8rem;
  font-weight: 700;
}

.disrupt {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.disrupt h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.disrupt p {
  margin: 0 0 12px;
  max-width: 68ch;
  color: var(--ink-soft);
  line-height: 1.75;
}

.disrupt p:last-child {
  margin-bottom: 0;
}

/* —— Timeline —— */
.timeline {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.timeline__item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}

.timeline__item:last-child {
  border-bottom: 0;
}

.timeline__num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--leaf-1);
  line-height: 1;
}

.timeline__num::before {
  content: counter(step, decimal-leading-zero);
}

.timeline__body h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.timeline__body p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.timeline__body p:last-child {
  margin-bottom: 0;
}

.timeline__meta {
  color: var(--leaf-3) !important;
  font-weight: 700;
  font-size: 0.88rem !important;
}

.timeline__example {
  margin-top: 6px !important;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(95, 145, 56, 0.08);
  color: var(--ink-soft) !important;
  font-size: 0.88rem !important;
}

.table-wrap {
  margin-top: 40px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
}

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

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

.compare-table th {
  background: rgba(95, 145, 56, 0.1);
  color: var(--ink);
  font-weight: 700;
}

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

.compare-table td:first-child {
  font-weight: 650;
  white-space: nowrap;
}

.compare-table td:last-child {
  color: var(--leaf-3);
  font-weight: 600;
}

/* —— Pillars —— */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pillar {
  padding: 8px 4px 0 0;
}

.pillar__index {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--leaf-1);
  line-height: 1;
}

.pillar h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.pillar p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

.compliance {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.compliance h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.4rem;
}

.compliance > p {
  margin: 0 0 24px;
  max-width: 72ch;
  color: var(--ink-soft);
  line-height: 1.75;
}

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

.compliance__grid h4 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.compliance__grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* —— Risk —— */
.risk {
  max-width: 820px;
}

.risk ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--ink-soft);
  line-height: 1.7;
}

.risk li + li {
  margin-top: 10px;
}

.risk__note,
.risk__audience {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
}

.promise {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.promise h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.promise p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

.join__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 48px;
  margin-top: 8px;
}

.join__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--leaf-3);
  line-height: 1.1;
}

.join__stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* —— Final CTA —— */
.finale {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  color: #fff;
  background: linear-gradient(145deg, #6fa045 0%, #3f6b24 100%);
  text-align: center;
}

.finale::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto;
  height: 60%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16), transparent 70%);
  animation: orbFloat 10s ease-in-out infinite;
  pointer-events: none;
}

.finale__inner {
  position: relative;
  z-index: 1;
}

.finale h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.06em;
}

.finale p {
  margin: 0 auto 28px;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.82);
}

.finale .btn--primary {
  animation: softPulse 2.8s ease-in-out infinite;
}

.finale__legal {
  margin: 28px auto 0 !important;
  max-width: 56ch !important;
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.62) !important;
}

.stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px 48px;
  margin-top: 40px;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}

.stat span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
}

/* —— Footer —— */
.site-footer {
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
  background: #e4ebd8;
}

.site-footer p {
  margin: 0;
}

.site-footer p + p {
  margin-top: 6px;
}

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
}

@keyframes meshDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(48px, 48px, 0);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  }
  50% {
    box-shadow: 0 14px 40px rgba(255, 255, 255, 0.28), 0 12px 32px rgba(0, 0, 0, 0.18);
  }
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .mission-grid,
  .pillars,
  .compliance__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    left: 20px;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 16px;
    background: rgba(244, 247, 239, 0.98);
    box-shadow: 0 12px 40px rgba(21, 32, 24, 0.12);
  }

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

  .nav-links .nav-cta {
    text-align: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .mission-grid,
  .pillars,
  .compliance__grid {
    grid-template-columns: 1fr;
  }

  .timeline__item {
    grid-template-columns: 56px 1fr;
  }

  .hero__inner {
    padding: 88px 0 40px;
  }

  .section {
    padding: 64px 0;
  }

  .section__title--wide {
    max-width: none;
  }
}
