/* =====================================================
   恒佑健康管理 — 官网样式
   主题色: 健康绿 #2A7F5C / 翠绿 #5BBC8A / 暖橙 #FF7B54
   风格: 现代、温暖、专业
   ===================================================== */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'PingFang SC', 'HarmonyOS Sans SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4, h5, p { margin: 0; }

/* ---------- Tokens ---------- */
:root {
  /* 主色 —— 健康绿系 */
  --primary:        #2A7F5C;
  --primary-strong: #1F5F44;
  --primary-light:  #5BBC8A;
  --primary-tint:   #E8F5EE;
  --primary-tint-2: #F0F9F4;

  /* 辅助色 —— 暖橙、蓝色 */
  --accent:  #FF7B54;
  --info:    #4A90E2;

  /* 中性 */
  --text:        #1A3A2E;
  --text-soft:   #4A5A52;
  --text-muted:  #6B7C75;
  --line:        #E2EAE5;
  --bg:          #FFFFFF;
  --bg-soft:     #F7FAF8;
  --bg-section:  #F2F7F4;

  /* 阴影 */
  --shadow-sm: 0 4px 12px rgba(42, 127, 92, 0.06);
  --shadow:    0 8px 24px rgba(42, 127, 92, 0.10);
  --shadow-lg: 0 16px 40px rgba(42, 127, 92, 0.14);

  /* 圆角 */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  /* 容器 */
  --max-w: 1200px;

  /* 过渡 */
  --t: 0.25s cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--primary);
  background: var(--primary-tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  line-height: 1.3;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-lead {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all var(--t);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 20px rgba(42, 127, 92, 0.25);
}

.btn-primary:hover {
  background: var(--primary-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(42, 127, 92, 0.32);
}

.btn-ghost {
  color: var(--primary);
  background: var(--primary-tint);
}

.btn-ghost:hover {
  background: #D9EBE0;
  transform: translateY(-2px);
}

.btn-block { width: 100%; padding: 16px; font-size: 16px; }

/* =====================================================
   顶部导航栏
   ===================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: all var(--t);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

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

.brand-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
}

.brand-icon svg { width: 100%; height: 100%; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 17px;
  color: var(--text);
  letter-spacing: 0.04em;
}

.brand-text em {
  font-size: 10px;
  font-style: normal;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 10px 16px;
  font-size: 15px;
  color: var(--text-soft);
  border-radius: 8px;
  transition: color var(--t);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover { color: var(--primary); }

.nav-link.active { color: var(--primary); font-weight: 600; }

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 16px; right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.badge-soon {
  font-size: 10px;
  font-weight: 600;
  background: #FFE9DD;
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: all var(--t);
}

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

.nav-cta-mobile { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--t);
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   Hero
   ===================================================== */
.hero {
  position: relative;
  padding: 140px 0 0;
  background: linear-gradient(160deg, #F0F9F4 0%, #FFFFFF 60%);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-blob {
  position: absolute;
  width: 540px;
  height: 540px;
  top: -120px;
  right: -120px;
  filter: blur(10px);
  opacity: .9;
  animation: float 8s ease-in-out infinite;
}

.hero-blob-2 {
  top: auto;
  bottom: -200px;
  right: auto;
  left: -180px;
  width: 480px;
  height: 480px;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(20px, -20px) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 80px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  color: var(--primary);
  letter-spacing: 0.2em;
  background: var(--primary-tint);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  font-weight: 600;
}

.hero-title {
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.6rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-dot { color: var(--primary-light); }

.hero-accent {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
  font-size: 15px;
}

.hp-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(91, 188, 138, 0.18);
  flex-shrink: 0;
}

/* Hero visual */
.hero-visual {
  position: relative;
  height: 460px;
  perspective: 1000px;
}

.hv-card {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 16px;
  transition: transform 0.4s ease;
}

.hv-card svg { width: 100%; height: 100%; }

.hv-card-main {
  top: 30px;
  left: 0;
  right: 30px;
  height: 240px;
  animation: popUp 0.8s ease 0.2s both;
}

.hv-card-sub {
  height: 80px;
  animation: popUp 0.8s ease both;
}

.hv-card-1 {
  top: 290px;
  left: 0;
  width: 200px;
  animation-delay: 0.4s;
}

.hv-card-2 {
  top: 300px;
  left: 220px;
  width: 220px;
  height: 90px;
  animation-delay: 0.5s;
}

.hv-card-3 {
  top: 10px;
  right: 0;
  width: 200px;
  animation-delay: 0.6s;
}

@keyframes popUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero:hover .hv-card-main { transform: translateY(-6px); }

/* Hero stats */
.hero-stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(10px);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 36px 24px;
}

.stat {
  text-align: center;
}

.stat strong {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.stat span {
  color: var(--primary-light);
  font-weight: 600;
  font-size: 1.4rem;
  margin-left: 2px;
}

.stat p {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* =====================================================
   About
   ===================================================== */
.about { background: var(--bg-soft); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-text .section-title { margin-bottom: 16px; }

.about-features {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 32px;
}

.af { padding-right: 8px; }

.af-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-light);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.af h4 {
  font-size: 18px;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 6px;
}

.af p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =====================================================
   Services
   ===================================================== */
.services { background: #fff; }

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

.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-tint);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card-feature {
  background: linear-gradient(160deg, var(--primary-tint) 0%, #fff 70%);
  border-color: var(--primary-tint);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 22px;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 700;
}

.service-desc {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 15px;
}

.service-points {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.service-points li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--text-soft);
}

.service-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}

.service-link {
  font-weight: 600;
  color: var(--primary);
  font-size: 14px;
  transition: gap var(--t);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link:hover { gap: 8px; }

/* =====================================================
   Products
   ===================================================== */
.products { background: var(--bg-soft); }

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
}

.p-tab {
  padding: 10px 22px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-soft);
  transition: all var(--t);
}

.p-tab:hover {
  color: var(--primary);
  border-color: var(--primary-light);
}

.p-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

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

.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all var(--t);
  display: none;
}

.product-card.show { display: block; }

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--primary-tint);
}

.product-thumb {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  position: relative;
}

.product-thumb svg { width: 50%; height: auto; }

.p-grad-1 { background: linear-gradient(135deg, #E8F5EE, #D2EBDC); }
.p-grad-2 { background: linear-gradient(135deg, #E0F0FF, #D2EBE0); }
.p-grad-3 { background: linear-gradient(135deg, #FFF0E8, #E8F5EE); }
.p-grad-4 { background: linear-gradient(135deg, #E8F5EE, #E0F0FF); }
.p-grad-5 { background: linear-gradient(135deg, #F0F9F4, #E0F0FF); }
.p-grad-6 { background: linear-gradient(135deg, #FFE9DD, #F0F9F4); }

.product-body {
  padding: 22px;
}

.product-body .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-tint);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.06em;
}

.product-body h4 {
  font-size: 17px;
  color: var(--text);
  font-weight: 700;
  margin-bottom: 6px;
}

.product-body p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.65;
}

.product-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--t);
}

.product-link:hover { gap: 8px; }

/* 真实产品大卡片 */
.product-grid-real { grid-template-columns: repeat(2, 1fr); }

.product-card-large {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  padding: 24px;
  align-items: center;
}

.product-card-large .product-body { padding: 12px 18px 12px 0; }

.product-card-large .product-body h4 {
  font-size: 22px;
  margin-bottom: 2px;
}

.product-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  margin-bottom: 16px;
}

.product-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.product-points li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--text-soft);
}

.product-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-light);
  font-weight: 700;
}

/* 产品图库 */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pg-main {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #F0F9F4, #E8F5EE);
  border: 1px solid var(--line);
}

.pg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.pg-image.active { opacity: 1; }

.pg-thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.pg-thumb {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  background: #fff;
  padding: 0;
  transition: all var(--t);
  flex-shrink: 0;
}

.pg-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.pg-thumb:hover,
.pg-thumb.active {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.product-tip {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 32px;
}

/* =====================================================
   Companion (建设中)
   ===================================================== */
.companion {
  background: linear-gradient(135deg, #1F5F44 0%, #2A7F5C 50%, #3A9D74 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.companion::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.07) 1px, transparent 1px),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px, 60px 60px;
  pointer-events: none;
}

.companion-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.companion-text .section-eyebrow {
  background: rgba(255,255,255,.15);
  color: #fff;
}

.companion-text .section-title {
  color: #fff;
  margin-bottom: 18px;
}

.companion-text p {
  font-size: 16px;
  color: rgba(255,255,255,.85);
  max-width: 480px;
  margin-bottom: 36px;
}

.badge-construction {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 123, 84, 0.18);
  color: #FFC8B1;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 123, 84, 0.3);
}

.bc-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.8); }
}

.companion-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.companion-points li {
  display: flex;
  gap: 16px;
}

.cp-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}

.companion-points h4 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 4px;
  font-weight: 700;
}

.companion-points p {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  margin-bottom: 0;
}

.companion-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.companion-cta .btn-primary {
  background: #fff;
  color: var(--primary-strong);
  box-shadow: 0 8px 20px rgba(0,0,0,.18);
}

.companion-cta .btn-primary:hover {
  background: var(--primary-tint);
}

.companion-cta .btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
}

.companion-cta .btn-ghost:hover {
  background: rgba(255,255,255,.2);
}

.cv-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,.25);
  overflow: hidden;
  color: var(--text);
  transform: rotate(1deg);
}

.cv-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.cv-dot { width: 10px; height: 10px; border-radius: 50%; }
.cv-dot-r { background: #FF6B6B; }
.cv-dot-y { background: #FFD93D; }
.cv-dot-g { background: #6BCB77; }

.cv-title {
  margin-left: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.cv-body { padding: 26px 24px 20px; }

.cv-step {
  display: grid;
  grid-template-columns: 60px 100px 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.cs-time {
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
}

.cs-label {
  font-size: 13px;
  color: var(--text-soft);
}

.cs-bar {
  height: 8px;
  background: var(--primary-tint);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.cs-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  border-radius: 999px;
  width: var(--w, 50%);
  animation: fillBar 1.8s ease forwards;
}

.cs-bar-accent::after { background: linear-gradient(90deg, var(--primary), var(--accent)); }

@keyframes fillBar {
  from { width: 0; }
}

.cv-foot {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

/* =====================================================
   Why
   ===================================================== */
.why { background: #fff; }

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

.why-item {
  padding: 32px 28px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid transparent;
  transition: all var(--t);
}

.why-item:hover {
  background: #fff;
  border-color: var(--primary-tint);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.why-icon { width: 56px; height: 56px; margin-bottom: 18px; }
.why-icon svg { width: 100%; height: 100%; }

.why-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.why-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =====================================================
   Contact
   ===================================================== */
.contact { background: var(--bg-soft); }

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info .section-title { margin-bottom: 16px; }

.contact-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.ci-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--primary-tint);
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.contact-list h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.contact-list p {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.contact-form h3 {
  font-size: 22px;
  color: var(--text);
  margin-bottom: 6px;
  font-weight: 700;
}

.form-tip {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 8px;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
  transition: all var(--t);
  background: var(--bg-soft);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(42, 127, 92, 0.08);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  cursor: pointer;
}

.chip input { display: none; }

.chip span {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-soft);
  background: #fff;
  transition: all var(--t);
}

.chip:hover span { border-color: var(--primary-light); }

.chip input:checked + span {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.form-foot {
  margin-top: 14px;
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.6;
}

.form-success {
  margin-top: 16px;
  padding: 12px;
  background: var(--primary-tint);
  color: var(--primary-strong);
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  background: #15342A;
  color: rgba(255,255,255,.7);
}

.footer-grid {
  padding: 64px 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text em { color: rgba(255,255,255,.5); }

.footer-desc {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.8;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,.6);
  padding: 6px 0;
  transition: color var(--t);
}

.footer-col a:hover { color: var(--primary-light); }

.footer-col p {
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-col .muted { font-size: 12px; opacity: .6; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.muted { color: rgba(255,255,255,.5); }

/* =====================================================
   Back to top
   ===================================================== */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(42, 127, 92, 0.36);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t);
  z-index: 50;
}

.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { background: var(--primary-strong); transform: translateY(-4px); }

/* =====================================================
   Reveal animation
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.8,.2,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 1100px) {
  .hero-inner { gap: 40px; }
  .hero-visual { height: 420px; }
  .hv-card-main { height: 220px; }
}

@media (max-width: 960px) {
  .section { padding: 72px 0; }

  .nav-menu {
    position: fixed;
    inset: 72px 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 4px;
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(.2, .8, .2, 1);
    box-shadow: 0 12px 28px rgba(0,0,0,.06);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }

  .nav-menu.open { transform: translateY(0); }

  .nav-link {
    padding: 14px 16px;
    border-radius: 10px;
  }

  .nav-link.active { background: var(--primary-tint); }
  .nav-link.active::after { display: none; }

  .nav-cta-mobile {
    display: block;
    margin-top: 12px;
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
  }

  .nav-cta { display: none; }

  .menu-toggle { display: flex; }

  /* Hero */
  .hero { padding-top: 120px; }
  .hero-inner {
    grid-template-columns: 1fr;
    padding-bottom: 60px;
  }
  .hero-visual {
    height: 380px;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Services */
  .service-grid { grid-template-columns: 1fr; }

  /* Products */
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid-real { grid-template-columns: 1fr; }
  .product-card-large {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }
  .product-card-large .product-body { padding: 0; }

  /* Companion */
  .companion-wrap {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Why */
  .why-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact */
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }

  .brand-text em { display: none; }

  .hero { padding-top: 100px; }
  .hero-cta .btn { width: 100%; }

  .stats-grid { padding: 28px 18px; }

  .about-features { grid-template-columns: 1fr; }

  .product-grid { grid-template-columns: 1fr; }
  .product-card-large {
    padding: 18px;
    gap: 16px;
  }
  .pg-main { aspect-ratio: 4 / 3; }
  .product-card-large .product-body { padding-top: 6px; }

  .why-grid { grid-template-columns: 1fr; }

  .contact-form { padding: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }
  .footer-brand { grid-column: 1 / -1; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .back-top { right: 16px; bottom: 16px; }

  /* Hero visual compact */
  .hero-visual {
    height: 340px;
    transform: scale(0.92);
  }
  .hv-card-1, .hv-card-3 { display: none; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.5rem; }
}

/* =====================================================
   服务流程 / 常见问题 / 法务页 / 页脚补充信息
   ===================================================== */

/* ---------- 服务流程 ---------- */
.flow { background: var(--bg-soft); }

.flow-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

/* 步骤之间的虚线连接 */
.flow-list::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary-light) 0 10px, transparent 10px 20px);
  opacity: .55;
  z-index: 0;
}

.flow-item {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}

.flow-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.flow-num {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 16px;
  box-shadow: 0 0 0 6px #fff;
}

.flow-item h4 { font-size: 17px; color: var(--text); margin-bottom: 10px; }
.flow-item p { font-size: 14px; line-height: 1.75; color: var(--text-soft); }

.flow-tag {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  color: var(--primary);
  background: var(--primary-tint-2);
  border: 1px dashed rgba(42, 127, 92, .28);
  border-radius: 999px;
  padding: 4px 12px;
}

/* ---------- 常见问题 ---------- */
.faq { background: var(--bg-section); }
.faq-wrap .section-head { margin-bottom: 40px; }

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--t), box-shadow var(--t);
}

.faq-item[open] {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 58px 18px 22px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  position: relative;
  transition: color var(--t);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-tint);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  transition: all var(--t);
}

.faq-item[open] summary::after {
  content: "−";
  background: var(--primary);
  color: #fff;
}

.faq-item summary:hover { color: var(--primary); }

.faq-body {
  padding: 16px 22px 20px;
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--text-soft);
  border-top: 1px dashed var(--line);
}

.faq-body a { color: var(--primary); border-bottom: 1px solid rgba(42, 127, 92, .3); }
.faq-body strong { color: var(--primary-strong); }

/* ---------- 页脚补充:官网 / 邮箱 / 法务链接 / 备案 ---------- */
.footer-contact {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

.footer-contact a { color: var(--primary-light); }
.footer-contact a:hover { text-decoration: underline; }

.footer-legal-links {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

.footer-legal-links a { color: rgba(255, 255, 255, .62); }
.footer-legal-links a:hover { color: #fff; }

.footer-filing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer-filing a { color: rgba(255, 255, 255, .55); }
.footer-filing a:hover { color: #fff; text-decoration: underline; }

/* =====================================================
   法务页(隐私政策 / 服务条款)
   ===================================================== */
.legal-hero {
  padding: 140px 0 48px;
  background: linear-gradient(180deg, var(--primary-tint-2), #fff);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem);
  color: var(--text);
  margin-bottom: 12px;
}

.legal-hero .legal-sub { font-size: 14px; color: var(--text-muted); line-height: 1.8; }

.legal-crumb { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.legal-crumb a { color: var(--primary); }

.legal-body { padding: 56px 0 80px; }
.legal-doc { max-width: 820px; margin: 0 auto; }

.legal-doc h2 {
  font-size: 19px;
  color: var(--text);
  margin: 38px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--primary-light);
}

.legal-doc h2:first-of-type { margin-top: 0; }

.legal-doc h3 { font-size: 16px; color: var(--text); margin: 22px 0 10px; }

.legal-doc p,
.legal-doc li { font-size: 14.5px; line-height: 1.9; color: var(--text-soft); }

.legal-doc p + p { margin-top: 12px; }

.legal-doc ul { margin-top: 10px; }

.legal-doc ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.legal-doc ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-light);
}

.legal-doc a { color: var(--primary); border-bottom: 1px solid rgba(42, 127, 92, .3); }

.legal-note {
  background: var(--primary-tint-2);
  border: 1px solid rgba(42, 127, 92, .18);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-soft);
}

.legal-meta {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
}

.legal-back {
  display: inline-block;
  margin-top: 28px;
  font-size: 14px;
  color: var(--primary);
  font-weight: 600;
}

@media (max-width: 960px) {
  .flow-list { grid-template-columns: repeat(2, 1fr); }
  .flow-list::before { display: none; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 640px) {
  .flow-list { grid-template-columns: 1fr; }
  .faq-item summary { padding: 16px 52px 16px 18px; font-size: 15px; }
  .legal-hero { padding: 116px 0 36px; }
  .legal-body { padding: 40px 0 64px; }
}

/* 导航项增加到 7 个后，中等宽度下收紧间距，避免拥挤换行 */
@media (min-width: 961px) and (max-width: 1140px) {
  .nav-link { padding: 10px 11px; font-size: 14px; }
  .nav-cta { padding: 10px 16px; }
  .nav-wrap { gap: 14px; }
}

/* =====================================================
   品牌 LOGO(真实公司标识)
   ===================================================== */
.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

/* 页脚为深色背景,LOGO 放白色圆角卡片上保证对比度 */
.footer-brand-card {
  background: #fff;
  padding: 9px 16px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.footer-brand-card .brand-logo { height: 36px; }

@media (max-width: 640px) {
  .brand-logo { height: 38px; }
  .nav-wrap { gap: 10px; }
  .footer-brand-card .brand-logo { height: 32px; }
}

/* =====================================================
   企业微信客服二维码弹窗
   ===================================================== */
.qr-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

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

.qr-mask {
  position: absolute;
  inset: 0;
  background: rgba(12, 32, 24, .55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .28s ease;
}

.qr-modal.show .qr-mask { opacity: 1; }

.qr-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 26px 24px;
  box-shadow: 0 30px 70px rgba(12, 32, 24, .28);
  text-align: center;
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .28s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}

.qr-modal.show .qr-card { opacity: 1; transform: translateY(0) scale(1); }

.qr-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all var(--t);
}

.qr-close:hover { background: var(--primary-tint); color: var(--primary); }

.qr-eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--primary);
  background: var(--primary-tint);
  padding: 5px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.qr-card h3 {
  margin-top: 14px;
  font-size: 19px;
  color: var(--text);
  letter-spacing: .01em;
}

.qr-sub {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-muted);
}

.qr-box {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 20px auto 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
}

.qr-box img { width: 100%; height: 100%; object-fit: contain; display: block; }

.qr-missing { display: none; }

.qr-modal.qr-missing-state .qr-box img { display: none; }

.qr-modal.qr-missing-state .qr-missing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  text-align: center;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.qr-missing svg { width: 40px; height: 40px; opacity: .75; }
.qr-missing strong { color: var(--text); font-size: 14px; }

.qr-missing code {
  background: var(--primary-tint);
  color: var(--primary);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
}

.qr-tips {
  margin: 20px auto 0;
  max-width: 300px;
  display: grid;
  gap: 8px;
  text-align: left;
}

.qr-tips li {
  position: relative;
  padding-left: 16px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-soft);
}

.qr-tips li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-light);
}

.qr-tips a { color: var(--primary); }

.qr-foot {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.65;
  color: var(--text-muted);
}

.qr-foot a { color: var(--primary); }

body.qr-open { overflow: hidden; }

@media (max-width: 640px) {
  .qr-card { padding: 26px 20px 20px; border-radius: var(--radius); }
  .qr-box { width: 200px; height: 200px; }
  .qr-card h3 { font-size: 17px; }
}
