:root {
  --ink: #13201b;
  --muted: #5d6c65;
  --line: #dce5df;
  --paper: #fbfdfb;
  --panel: #ffffff;
  --green: #2f7d56;
  --green-dark: #1f5f41;
  --aqua: #1b7f8c;
  --sun: #f0b84f;
  --shadow: 0 18px 50px rgba(19, 32, 27, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(251, 253, 251, 0.92);
  border-bottom: 1px solid rgba(220, 229, 223, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--aqua));
  border-radius: 8px;
  font-size: 13px;
  letter-spacing: 0;
}

.main-nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--muted);
  font-size: 15px;
}

.main-nav a:hover {
  color: var(--green-dark);
}

.nav-action,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-action,
.primary-button {
  color: #fff;
  background: var(--green-dark);
}

.secondary-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.86);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 78px) 80px;
}

.hero picture,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture {
  z-index: 0;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(251, 253, 251, 0.94) 0%, rgba(251, 253, 251, 0.76) 35%, rgba(251, 253, 251, 0.18) 72%),
    linear-gradient(180deg, rgba(19, 32, 27, 0.03), rgba(19, 32, 27, 0.16));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--aqua);
  font-size: 14px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.hero-copy,
.section-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-mini-program {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  max-width: 520px;
  margin-top: 24px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.hero-mini-program img {
  display: block;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  border-radius: 6px;
  border: 1px solid rgba(220, 229, 223, 0.8);
}

.hero-mini-program div {
  display: grid;
  gap: 4px;
}

.hero-mini-program strong {
  font-size: 16px;
  line-height: 1.35;
}

.hero-mini-program span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 84px clamp(20px, 6vw, 78px);
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.metric {
  min-height: 150px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 28px;
  background: var(--paper);
}

.metric strong {
  font-size: 38px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.product-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card,
.blog-card,
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(19, 32, 27, 0.06);
}

.product-card {
  min-height: 265px;
  padding: 28px;
}

.card-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 28px;
  color: #fff;
  background: var(--green);
  border-radius: 8px;
  font-weight: 800;
}

.product-card p,
.blog-card p,
.step p {
  color: var(--muted);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: #eef6f2;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(220, 229, 223, 0.9);
  border-radius: 8px;
}

.step span {
  grid-row: span 2;
  color: var(--green);
  font-weight: 800;
}

.blog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -10px 0 28px;
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover {
  color: #fff;
  background: var(--aqua);
  border-color: var(--aqua);
}

.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 24px;
}

.blog-card time,
.blog-tag {
  color: var(--aqua);
  font-size: 13px;
  font-weight: 800;
}

.blog-card h3 {
  margin-top: 14px;
}

.blog-card a {
  margin-top: auto;
  color: var(--green-dark);
  font-weight: 800;
}

.read-button {
  align-self: flex-start;
  min-height: 38px;
  margin-top: auto;
  padding: 0 0;
  color: var(--green-dark);
  background: transparent;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(30px, 6vw, 80px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  color: var(--muted);
}

.contact-list a {
  color: var(--green-dark);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 26px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(27, 127, 140, 0.13);
}

.form-button {
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px clamp(20px, 6vw, 78px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: 86vh;
    padding-top: 112px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(251, 253, 251, 0.96), rgba(251, 253, 251, 0.72) 56%, rgba(251, 253, 251, 0.2));
  }

  .intro-band,
  .product-grid,
  .blog-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) and (min-height: 1200px) {
  .hero {
    min-height: 860px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 64px;
  }

  .brand span:last-child {
    display: none;
  }

  .nav-action {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-copy,
  .section-copy {
    font-size: 16px;
  }

  .metric {
    min-height: 118px;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* =========================================================
   成长记 growLog 产品体验区
   ========================================================= */

.hero-tagline {
  margin: -8px 0 22px;
  color: var(--green-dark);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
}

.product-card--featured {
  position: relative;
  border-color: var(--green);
  box-shadow: 0 14px 36px rgba(47, 125, 86, 0.14);
}

.card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  color: #fff;
  background: var(--green);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.product-card-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--green-dark);
  font-weight: 800;
}

.product-card-link:hover {
  text-decoration: underline;
}

.growlog-section {
  background:
    linear-gradient(180deg, #f3f8f4 0%, var(--paper) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.growlog-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.growlog-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.app-shot-stack {
  position: relative;
  width: min(100%, 560px);
  min-height: 660px;
}

.app-shot {
  position: absolute;
  margin: 0;
  background: #fffdf7;
  border: 1px solid rgba(220, 229, 223, 0.9);
  border-radius: 30px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.app-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.app-shot figcaption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  color: #fff;
  background: rgba(19, 32, 27, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 800;
}

.app-shot--primary {
  z-index: 2;
  top: 24px;
  left: 0;
  width: 286px;
  transform: rotate(-2deg);
}

.app-shot--secondary {
  z-index: 1;
  top: 94px;
  right: 0;
  width: 248px;
  opacity: 0.98;
  transform: rotate(3deg);
}

.phone-frame {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 610px;
  padding: 12px;
  background: linear-gradient(160deg, #2a3a35 0%, #13201b 100%);
  border-radius: 40px;
  box-shadow: var(--shadow);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  background: #f6f8f7;
  border-radius: 28px;
  overflow: hidden;
}

.phone-screen-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  padding: 20px 18px;
}

.phone-screen-bar {
  width: 50px;
  height: 4px;
  margin: 0 auto 8px;
  background: var(--line);
  border-radius: 2px;
}

.phone-screen-header {
  display: grid;
  gap: 2px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.phone-screen-header span {
  font-size: 16px;
  font-weight: 800;
  color: var(--ink);
}

.phone-screen-header small {
  color: var(--muted);
  font-size: 11px;
}

.phone-health {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
  background: #eaf5ee;
  border: 1px solid rgba(47, 125, 86, 0.18);
  border-radius: 8px;
}

.phone-health strong {
  color: var(--green-dark);
  font-size: 18px;
}

.phone-health span {
  color: var(--muted);
  font-size: 11px;
}

.phone-screen-stat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 8px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
}

.phone-screen-label {
  grid-column: 1 / -1;
  color: var(--muted);
}

.phone-screen-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-dark);
}

.phone-screen-value--warn {
  color: #c97a0a;
}

.phone-screen-state {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}

.phone-screen-state--ok {
  color: var(--green-dark);
  background: rgba(47, 125, 86, 0.12);
}

.phone-screen-state--warn {
  color: #b85d00;
  background: rgba(240, 184, 79, 0.22);
}

.phone-screen-cta {
  margin-top: auto;
  padding: 12px;
  text-align: center;
  color: #fff;
  background: var(--green-dark);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.phone-log {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.phone-log strong {
  color: var(--ink);
  font-size: 13px;
}

.phone-log span {
  color: var(--muted);
  font-size: 11px;
}

.phone-shadow {
  position: absolute;
  bottom: -24px;
  left: 50%;
  z-index: 1;
  width: 220px;
  height: 28px;
  background: radial-gradient(ellipse at center, rgba(19, 32, 27, 0.28) 0%, rgba(19, 32, 27, 0) 70%);
  transform: translateX(-50%);
  filter: blur(6px);
}

.growlog-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.growlog-value-grid article {
  display: grid;
  gap: 8px;
  min-height: 132px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.growlog-value-grid strong {
  font-size: 18px;
  color: var(--ink);
}

.growlog-value-grid span {
  font-size: 14px;
  color: var(--muted);
}

.growlog-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
}

.growlog-flow span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: var(--green-dark);
  background: #fff;
  border: 1px solid rgba(47, 125, 86, 0.22);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.growlog-flow span:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -14px;
  color: var(--muted);
  font-weight: 700;
}

.growlog-qr-card {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 18px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(19, 32, 27, 0.08);
}

.growlog-qr-card img {
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 6px;
}

.growlog-qr-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.growlog-qr-info strong {
  font-size: 17px;
  color: var(--ink);
}

.growlog-qr-info span {
  font-size: 14px;
  color: var(--green-dark);
  font-weight: 700;
}

.growlog-qr-info small {
  font-size: 12px;
  color: var(--muted);
}

/* =========================================================
   Footer QR 缩略图
   ========================================================= */

.site-footer-right {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer-tagline {
  color: var(--muted);
}

.footer-qr-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 14px;
  transition: opacity 0.15s ease;
}

.footer-qr-link:hover {
  opacity: 0.75;
}

.footer-qr-link img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

/* =========================================================
   Contact 表单 select 字段
   ========================================================= */

.contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%235d6c65' d='M6 8L0 0h12z'/></svg>") no-repeat right 14px center;
  background-size: 10px 6px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  cursor: pointer;
}

.contact-form select:focus {
  border-color: var(--aqua);
  box-shadow: 0 0 0 3px rgba(27, 127, 140, 0.13);
}

/* =========================================================
   悬浮二维码按钮 (右下角)
   ========================================================= */

.floating-qr {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.floating-qr-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 14px;
  min-height: 48px;
  color: #fff;
  background: var(--green-dark);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(31, 95, 65, 0.36);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.floating-qr-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(31, 95, 65, 0.45);
}

.floating-qr-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.floating-qr-label {
  font-size: 14px;
}

.floating-qr-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 18px 18px 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(19, 32, 27, 0.22);
  text-align: center;
  animation: qr-pop 0.18s ease-out;
}

.floating-qr-panel[hidden] {
  display: none;
}

.floating-qr-panel img {
  display: block;
  width: 180px;
  height: 180px;
  border-radius: 6px;
}

.floating-qr-title {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
}

.floating-qr-sub {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.floating-qr-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 24px;
  height: 24px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.floating-qr-close:hover {
  color: var(--ink);
}

@keyframes qr-pop {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .growlog-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .growlog-visual {
    order: 2;
  }

  .growlog-content {
    order: 1;
  }

  .growlog-qr-card {
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .hero-mini-program {
    background: rgba(255, 255, 255, 0.88);
  }

  .growlog-value-grid {
    grid-template-columns: 1fr;
  }

  .app-shot-stack {
    width: min(100%, 560px);
    min-height: 560px;
    margin: 0 auto;
  }

  .app-shot--primary {
    left: 8%;
    width: min(58vw, 300px);
  }

  .app-shot--secondary {
    right: 8%;
    width: min(50vw, 260px);
  }
}

@media (max-width: 560px) {
  .app-shot-stack {
    min-height: 500px;
  }

  .app-shot {
    border-radius: 22px;
  }

  .app-shot--primary {
    top: 12px;
    left: 0;
    width: 58%;
  }

  .app-shot--secondary {
    top: 70px;
    right: 0;
    width: 52%;
  }

  .app-shot figcaption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    min-height: 30px;
    font-size: 11px;
  }

  .phone-frame {
    width: min(280px, 100%);
    height: 560px;
  }

  .hero-tagline {
    font-size: 13px;
    margin: -4px 0 18px;
  }

  .card-badge {
    font-size: 10px;
    padding: 3px 8px;
  }

  .site-footer-right {
    justify-content: flex-start;
    gap: 12px;
  }

  .site-footer-tagline {
    display: none;
  }

  .floating-qr {
    right: 12px;
    bottom: 12px;
  }

  .floating-qr-label {
    display: none;
  }

  .floating-qr-trigger {
    padding: 0;
    width: 48px;
    justify-content: center;
  }

  .floating-qr-panel img {
    width: 150px;
    height: 150px;
  }

  .hero-mini-program {
    align-items: flex-start;
    width: 100%;
    padding: 12px;
  }

  .hero-mini-program img {
    width: 72px;
    height: 72px;
  }

  .hero-mini-program strong {
    font-size: 14px;
  }

  .growlog-flow {
    display: grid;
    grid-template-columns: 1fr;
  }

  .growlog-flow span:not(:last-child)::after {
    content: "";
  }
}
