/* ========== 全局重置 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

:root {
  --primary: #3a8a5a;
  --primary-dark: #2d6b45;
  --primary-light: #E8F0EA;
  --primary-50: #F2F6F3;
  --text: #1A1A1A;
  --text-2: #555;
  --text-3: #999;
  --text-4: #BBB;
  --bg: #FFFFFF;
  --bg-2: #F7F8FA;
  --bg-3: #FAFBFC;
  --border: #ECEEF0;
  --border-2: #F0F2F5;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', 'Source Han Sans SC', 'Noto Sans CJK SC',
    'WenQuanYi Micro Hei', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-3);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== 导航 ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

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

.nav-menu a {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1;
  color: var(--text-2);
  transition: color 0.15s;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-menu a:hover { color: var(--text); }
.nav-menu a.active { color: var(--primary); font-weight: 600; }

.nav-menu a.nav-cta,
.nav-drawer a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 7px 14px;
  background: var(--primary);
  color: white !important;
  border-radius: 20px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  margin-left: 4px;
  transition: background 0.2s, transform 0.15s;
}
.nav-menu a.nav-cta:hover,
.nav-drawer a.nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.nav-drawer a.nav-cta {
  margin-top: 8px;
  margin-left: 0;
  text-align: center;
  justify-content: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: 0.2s;
}

.nav-drawer { display: none; }

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-drawer {
    display: flex;
    flex-direction: column;
    background: white;
    padding: 12px 24px 20px;
    border-top: 1px solid var(--border);
    gap: 14px;
  }
  .nav.open .nav-drawer a { color: var(--text-2); font-size: 15px; }
}

/* ========== Hero ========== */
.hero {
  padding: 96px 0 56px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, var(--primary-50) 0%, transparent 70%),
    linear-gradient(180deg, var(--primary-50) 0%, var(--bg-3) 100%);
  position: relative;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: white;
  border: 1px solid var(--primary-light);
  color: var(--primary-dark);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}

.hero h1 .accent {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 3px;
  z-index: -1;
}

.hero-sub {
  font-size: 18px;
  color: var(--text-2);
  margin-bottom: 8px;
  font-weight: 500;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-3);
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.18s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(58, 138, 90, 0.30);
}

.btn-ghost {
  background: white;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ========== 通用 section ========== */
.section {
  padding: 64px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.section-title p {
  font-size: 15px;
  color: var(--text-3);
}

/* ========== 苗苗入园 ========== */
.product {
  background: white;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.product-info h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

/* v1.4.87: 版本号副标 (置于 h2 苗苗入园 正下方) */
.product-info .version-line {
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  font-family: ui-monospace, 'SF Mono', Menlo, Monaco, Consolas, monospace;
}

/* v1.4.87: 小程序二维码 (用户上传了 12cm 官方码) */
.mp-qrcode {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}
.mp-qrcode-img {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  background: #fff;
  padding: 4px;
  box-sizing: border-box;
}

.product-info .desc {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 24px;
}

.product-info .product-story {
  background: linear-gradient(135deg, #f0f7f3, #e8f4ec);
  border-left: 3px solid var(--primary);
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 18px;
  font-style: italic;
}
.product-info .product-story strong { color: var(--primary-dark); font-weight: 600; }

.product-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
}

.product-features .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: bold;
  margin-top: 1px;
}

/* 8 个核心功能 · 2 列卡片网格 */
.product-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.product-feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: all 0.2s ease;
}

.product-feature-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.product-feature-icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 1px;
}

.product-feature-body {
  flex: 1;
  min-width: 0;
}

.product-feature-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1.4;
}

.product-feature-desc {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.6;
}

/* 4 套方案宽卡（占 2 列） */
.product-feature-card-wide {
  grid-column: 1 / -1;
}

/* 4 套方案小表 */
.product-plan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
  margin-top: 8px;
  background: white;
  border-radius: 6px;
  overflow: hidden;
}
.product-plan-table th,
.product-plan-table td {
  padding: 7px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border-2);
  color: var(--text-2);
}
.product-plan-table thead th {
  background: var(--primary-50);
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 12.5px;
  border-bottom: 2px solid var(--primary-light);
}
.product-plan-table tbody td:first-child {
  font-weight: 600;
  color: var(--text);
  background: var(--primary-50);
  width: 80px;
}
.product-plan-table tbody tr:last-child td { border-bottom: none; }

/* CTA 块（CTA 文案 + 二维码） */
.product-cta-block {
  margin-top: 18px;
  text-align: center;
}

.product-cta-text {
  font-size: 14px;
  color: var(--primary-dark);
  font-weight: 600;
  background: linear-gradient(135deg, var(--primary-50), #e8f4ec);
  border: 1px solid var(--primary-light);
  padding: 10px 18px;
  border-radius: 8px;
  display: inline-block;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

/* 响应式：768 以下变单列 */
@media (max-width: 768px) {
  .product-features-grid {
    grid-template-columns: 1fr;
  }
}

.product-feature-table-wrap {
  margin-bottom: 24px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.product-feature-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-2);
}
.product-feature-table th,
.product-feature-table td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-2);
}
.product-feature-table thead th {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  border-bottom: none;
}
.product-feature-table tbody td:first-child {
  width: 64px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-50);
  white-space: nowrap;
  text-align: center;
}
.product-feature-table tbody tr:last-child td { border-bottom: none; }

.product-status {
  background: var(--primary-50);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.product-status h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--primary-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.product-status ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-status li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-2);
}

.status-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 7px;
}

.dot-on { background: var(--primary); }
.dot-warn { background: #d97706; box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15); }

.notify-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.notify-hint {
  font-size: 13px;
  color: var(--text-3);
}

.notify-hint strong {
  color: var(--primary-dark);
  font-family: ui-monospace, 'SF Mono', Menlo, Monaco, Consolas, monospace;
  font-weight: 600;
}

/* ========== 微信二维码卡 ========== */
.qr-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
  background: var(--primary-50);
  border: 1px solid var(--primary-light);
  border-radius: var(--radius);
  max-width: 480px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.qr-card:hover {
  background: #E8F2EB;
  border-color: var(--primary);
}

.qr-card-img {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 8px;
  padding: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

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

.qr-card-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.qr-card-info p {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 2px;
  line-height: 1.5;
}

.qr-card-info p strong {
  color: var(--primary-dark);
  font-family: ui-monospace, 'SF Mono', Menlo, Monaco, Consolas, monospace;
  font-weight: 600;
}

.qr-card-hint {
  font-size: 12px !important;
  color: var(--text-3) !important;
  margin-top: 6px !important;
}

@media (max-width: 480px) {
  .qr-card {
    flex-direction: column;
    text-align: center;
    padding: 18px;
  }
}

/* 手机展示 · 2x2 静态网格 */
.phone-frame {
  position: sticky;
  top: 90px;
}

.mp-screenshots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mp-shot {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
}

.mp-shot:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.mp-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  object-position: top;
}

.mp-shot figcaption {
  padding: 8px 10px;
  font-size: 11.5px;
  color: var(--text-2);
  text-align: center;
  border-top: 1px solid var(--border);
  background: var(--bg);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .phone-frame { position: relative; top: 0; }
}

/* ========== 在做的事 ========== */
.services {
  background: var(--bg-3);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.service-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  margin-bottom: 8px;
  flex: 1;
}

.service-card .service-note {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-2);
  font-size: 12px;
  color: var(--text-3);
}

.service-card .service-note strong {
  color: var(--primary-dark);
  font-weight: 600;
}

.service-card .service-case {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-3);
  font-style: italic;
  opacity: 0.85;
  line-height: 1.5;
}

/* PDF 下载按钮 */
.service-pdf-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--primary-50);
  border: 1px solid var(--primary-light);
  border-radius: 10px;
  text-decoration: none;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.service-pdf-link:hover {
  background: #E0EEDF;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.service-pdf-link .pdf-ico {
  font-size: 18px;
  flex-shrink: 0;
}

.service-pdf-link .pdf-text {
  flex: 1;
  line-height: 1.4;
}

.service-pdf-link .pdf-arrow {
  font-size: 16px;
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(3) { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(3) { grid-column: auto; max-width: none; }
}

/* ========== 关于 ========== */
.about-sec {
  background: white;
}

.section-kicker {
  text-align: center;
  font-size: 13.5px;
  color: var(--primary);
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.04em;
  margin: 0 auto 6px;
  max-width: 720px;
}

.about-lead {
  text-align: center;
  font-size: 15px;
  color: var(--text-2);
  max-width: 720px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

.about-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto 36px;
}

.about-service {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.about-service:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.about-service h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.about-service .about-service-tag {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.5;
}

.about-service .about-service-desc {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.7;
}
.about-service .about-service-desc strong { color: var(--primary-dark); font-weight: 600; }

@media (max-width: 768px) {
  .about-services { grid-template-columns: 1fr; gap: 14px; }
}

.timeline {
  margin: 0 auto 32px;
  padding: 32px 28px 20px;
  list-style: none;
  position: relative;
  background: var(--bg-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  max-width: 720px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 149px;
  top: 50px;
  bottom: 30px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary-light), var(--primary) 50%, var(--primary-light));
  border-radius: 1px;
}

.tl-item {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  padding: 16px 0;
  position: relative;
}

.tl-item::before {
  content: '';
  position: absolute;
  left: 142px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
}

.tl-year {
  flex-shrink: 0;
  width: 130px;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding-right: 8px;
}

.tl-text {
  flex: 1;
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 1.7;
  padding-top: 0;
  font-weight: 500;
}

.about-foot {
  text-align: center;
  font-size: 14px;
  color: var(--text-2);
  max-width: 720px;
  margin: 0 auto;
}

.about-foot strong {
  color: var(--primary-dark);
  font-weight: 600;
}

/* ========== Footer ========== */

/* ========== Footer ========== */
.footer {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 13px;
}

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

/* ========== FAB 悬浮联系入口 ========== */
.contact-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.contact-fab-trigger {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(58, 138, 90, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-fab-trigger:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(58, 138, 90, 0.42);
}

.contact-fab .fab-icon-close { display: none; }
.contact-fab.is-open .fab-icon-chat { display: none; }
.contact-fab.is-open .fab-icon-close { display: block; }
.contact-fab.is-open .contact-fab-trigger { background: var(--primary-dark); }

.contact-fab-popover {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
  padding: 18px 20px;
  opacity: 0;
  transform: translateY(8px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform-origin: bottom right;
}

.contact-fab.is-open .contact-fab-popover {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.fab-popover-header {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-2);
}

.fab-popover-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.fab-popover-label {
  font-size: 12px;
  color: var(--text-3);
  font-weight: 600;
  width: 32px;
  flex-shrink: 0;
}

.fab-popover-value {
  flex: 1;
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  font-family: ui-monospace, 'SF Mono', Menlo, Monaco, Consolas, monospace;
  text-decoration: none;
  word-break: break-all;
}

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

.contact-fab.is-near-footer {
  opacity: 0.45;
  transition: opacity 0.25s ease;
}

.contact-fab.is-near-footer:hover { opacity: 1; }

@media (max-width: 480px) {
  .contact-fab { bottom: 16px; right: 16px; }
  .contact-fab-trigger { width: 52px; height: 52px; }
  .contact-fab-popover { bottom: 66px; width: calc(100vw - 32px); }
}

/* ========== 淡入动画 ========== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .hero { padding: 80px 0 40px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 15px; }
  .section { padding: 48px 0; }
  .section-title h2 { font-size: 26px; }
  .product-info h2 { font-size: 26px; }
  .timeline { padding: 24px 20px 16px; }
  .tl-item { gap: 32px; }
  .tl-year { width: 96px; font-size: 13px; padding-right: 8px; }
  .tl-item::before { left: 100px; }
  .timeline::before { left: 107px; }
  .contact-card { padding: 32px 24px; }
  .contact-card h2 { font-size: 22px; }
}

/* ========== Hero 副标第 2 行 ========== */
.hero-sub-sub {
  font-size: 14px;
  color: var(--text-3);
  margin-bottom: 24px;
  margin-top: -4px;
}

/* ========== 苗苗入园 callout (合规提示) ========== */
.product-callout {
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.65;
  border-left: 3px solid;
}

.product-callout strong { display: block; margin-bottom: 6px; font-size: 13px; }
.product-callout p { margin: 0; color: var(--text-2); }

.product-callout-warn {
  background: #fff8ed;
  border-color: #f59e0b;
  color: #92400e;
}
.product-callout-warn p { color: #78350f; }

.product-callout-info {
  background: var(--primary-50);
  border-color: var(--primary);
  color: var(--primary-dark);
}
.product-callout-info p { color: var(--text-2); }

.product-privacy-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-2);
  text-align: center;
}
.product-privacy-note strong { color: var(--primary-dark); }

/* ========== 手机截图痛点小字 ========== */
.phone-pain-points {
  margin-top: 20px;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.phone-pain-points p { margin-bottom: 6px; }
.phone-pain-points strong { color: var(--primary-dark); }

/* ========== 微信二维码卡（增强） ========== */
.qr-card-tip {
  font-size: 11px !important;
  color: var(--text-3) !important;
  margin-top: 8px !important;
}
.contact-link-inline {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.contact-link-inline:hover { color: var(--primary); }

/* ========== 服务卡：优势 / 场景 / 流程 / CTA 提示 ========== */
.service-advantages {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0;
  padding: 0;
}
.service-advantages li {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
}
.service-advantages strong { color: var(--primary-dark); }

.service-scenario,
.service-process {
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 6px;
}
.service-scenario strong,
.service-process strong { color: var(--primary-dark); }

.service-cta-hint {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-2);
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.5;
}
.service-cta-hint strong { color: var(--primary-dark); }

/* ========== FAQ 区块 ========== */
.faq-sec {
  background: white;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
.faq-group h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}
.faq-group details {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 10px;
  transition: border-color 0.15s;
}
.faq-group details[open] {
  border-color: var(--primary);
  background: var(--primary-50);
}
.faq-group summary {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  outline: none;
  list-style: none;
  position: relative;
  padding-right: 24px;
}
.faq-group summary::-webkit-details-marker { display: none; }
.faq-group summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  font-size: 18px;
  color: var(--primary);
  font-weight: 400;
  line-height: 1;
}
.faq-group details[open] summary::after { content: '−'; }
.faq-group details p {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
}
.faq-group details strong { color: var(--primary-dark); }

@media (max-width: 768px) {
  .faq-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ========== Footer 升级 ========== */
.footer-meta {
  font-size: 12px;
  color: var(--text-4);
  margin-top: 4px;
}
.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
}
.footer-links a { color: var(--text-2); transition: color 0.15s; }
.footer-links a:hover { color: var(--primary); }
.dot-sep { color: var(--text-4); }
.footer-hint {
  font-size: 11px;
  color: var(--text-4);
  margin-top: 8px;
  font-style: italic;
}

/* ========== 法律占位区块 ========== */
.legal-placeholder {
  background: var(--bg-3);
  padding: 32px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.legal-placeholder h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.legal-placeholder p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}
.legal-placeholder strong { color: var(--text-2); }

/* ========== Fab 弹层增强 ========== */
.fab-popover-sub {
  font-size: 11px;
  color: var(--text-3);
  margin-bottom: 12px;
  line-height: 1.5;
}
.fab-popover-sub strong { color: var(--primary-dark); }

.fab-popover-copy {
  flex-shrink: 0;
  padding: 3px 8px;
  font-size: 11px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s;
  min-width: 36px;
}
.fab-popover-copy:hover { background: var(--primary-dark); }
.fab-popover-copy.is-copied { background: #16a34a; }

.fab-popover-placeholder {
  color: var(--text-4);
  font-style: italic;
  font-size: 12px;
}

.fab-popover-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-2);
}
.fab-popover-tags-title {
  font-size: 11px;
  color: var(--text-3);
  margin: 0 0 8px;
  font-weight: 600;
}
.fab-popover-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.fab-tag {
  font-size: 10px;
  padding: 3px 8px;
  background: var(--primary-50);
  color: var(--primary-dark);
  border-radius: 100px;
  font-weight: 500;
  border: 1px solid var(--primary-light);
}

/* ========== 合作企业实拍案例 section (v30) ========== */
.cases-sec {
  background: white;
}

.cases-tabs {
  display: flex;
  gap: 8px;
  max-width: 800px;
  margin: 0 auto 24px;
  border-bottom: 1px solid var(--border);
}
.cases-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-2);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.15s, border-color 0.15s;
  font-family: inherit;
}
.cases-tab:hover { color: var(--primary); }
.cases-tab.is-active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 600;
}

.cases-panels { max-width: 1100px; margin: 0 auto; }
.cases-panel { display: none; }
.cases-panel.is-active { display: block; }

.cases-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-light) transparent;
}
.cases-grid::-webkit-scrollbar { height: 6px; }
.cases-grid::-webkit-scrollbar-track { background: transparent; }
.cases-grid::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 3px;
}
.cases-grid > * { scroll-snap-align: start; flex-shrink: 0; }

.case-card {
  width: 460px;
  max-width: 80vw;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
}
.case-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}
.case-card-img {
  flex-shrink: 0;
  width: 200px;
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.case-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-card-body {
  flex: 1;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.case-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.case-card-desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  margin-bottom: 12px;
}
.case-card-meta {
  font-size: 12px;
  color: var(--text-3);
  padding-top: 10px;
  border-top: 1px dashed var(--border);
}

.case-empty, .cases-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-3);
  font-size: 14px;
  background: var(--bg-3);
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
}
.cases-empty p { margin: 6px 0; }
.cases-empty p strong { color: var(--text-2); }

.cases-hint {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  margin: 24px auto 12px;
}

.cases-cta {
  text-align: center;
  margin-top: 8px;
}
.cases-quote-btn {
  font-size: 15px;
  padding: 12px 32px;
  min-width: 200px;
}

@media (max-width: 768px) {
  .case-card { width: 320px; flex-direction: column; }
  .case-card-img { width: 100%; height: 200px; }
}

/* ========== FAB 重构 (v30) - AI 智能客服 ========== */
.fab-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.fab-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

body.fab-lock { overflow: hidden; }

.contact-fab-popover {
  position: fixed;
  right: 24px;
  bottom: 88px;
  width: 340px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 120px);
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 20px 20px 18px;
  z-index: 999;
  display: none;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: transform 0.2s, opacity 0.2s;
}
.contact-fab.is-open .contact-fab-popover {
  display: flex;
  transform: translateY(0) scale(1);
  opacity: 1;
}

.fab-popover-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  width: 28px;
  height: 28px;
  font-size: 22px;
  line-height: 1;
  color: var(--text-3);
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.15s;
  font-family: inherit;
  padding: 0;
}
.fab-popover-close:hover { background: var(--bg-3); color: var(--text); }

.fab-popover-header {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding-right: 28px;
  line-height: 1.4;
}

.fab-ai-launch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, transform 0.15s;
}
.fab-ai-launch:hover { background: var(--primary-dark); transform: translateY(-1px); }
.fab-ai-launch svg { flex-shrink: 0; }

.fab-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-2);
}
.fab-section-minor { opacity: 0.7; }

.fab-wechat-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.fab-wechat-label {
  font-size: 12px;
  color: var(--text-3);
  flex-shrink: 0;
}
.fab-wechat-value {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fab-copy-btn {
  flex-shrink: 0;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.fab-copy-btn:hover { background: var(--primary-dark); }
.fab-copy-btn.is-copied { background: var(--primary-dark); }
.fab-copy-btn-mini {
  background: var(--bg-3);
  color: var(--text-2);
  border: 1px solid var(--border);
}
.fab-copy-btn-mini:hover { background: var(--border-2); }

.fab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.fab-tag-btn {
  background: var(--bg-3);
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.fab-tag-btn:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary-light);
}
.fab-tag-btn.is-copied {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.fab-minor-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.fab-minor-label {
  color: var(--text-3);
  flex-shrink: 0;
}
.fab-minor-value {
  flex: 1;
  color: var(--text-2);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.fab-minor-placeholder { color: var(--text-3); font-style: italic; font-family: inherit; }

/* ========== AI 聊天窗口 ========== */
.fab-ai-window {
  position: fixed;
  right: 24px;
  bottom: 88px;
  width: 380px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 120px);
  height: 540px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.95);
  opacity: 0;
  transition: transform 0.2s, opacity 0.2s;
}
.fab-ai-window.is-open {
  display: flex;
  transform: translateY(0) scale(1);
  opacity: 1;
}

.fab-ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--primary);
  color: white;
  font-size: 14.5px;
  font-weight: 600;
  flex-shrink: 0;
}
.fab-ai-close {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  transition: background 0.15s;
}
.fab-ai-close:hover { background: rgba(255, 255, 255, 0.3); }

.fab-ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-3);
}

.fab-ai-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.55;
  word-wrap: break-word;
  white-space: pre-wrap;
}
.fab-ai-msg-bot {
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.fab-ai-msg-user {
  background: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.fab-ai-msg-bot strong { color: var(--primary-dark); font-weight: 600; }

.fab-ai-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 14px 6px;
  background: white;
  border-top: 1px solid var(--border-2);
  flex-shrink: 0;
}
.fab-ai-quick-btn {
  background: var(--bg-3);
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.fab-ai-quick-btn:hover { background: var(--primary-light); color: var(--primary-dark); }

.fab-ai-form {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px 10px;
  background: white;
  flex-shrink: 0;
}
.fab-ai-input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s;
}
.fab-ai-input:focus { border-color: var(--primary); }
.fab-ai-send {
  background: var(--primary);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.15s;
}
.fab-ai-send:hover { background: var(--primary-dark); }
.fab-ai-send svg { stroke: white; }

.fab-ai-hint {
  margin: 0;
  padding: 6px 14px 10px;
  font-size: 11.5px;
  color: var(--text-3);
  background: white;
  text-align: center;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .contact-fab-popover, .fab-ai-window {
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }
}

/* ========== Case 图片放大 lightbox (v31 补回) ========== */
.works-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 32px;
  cursor: zoom-out;
}
.works-lightbox.is-open {
  display: flex;
  cursor: zoom-out;
}
.works-lightbox-img {
  max-width: 92vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.works-lightbox-cap {
  margin-top: 18px;
  color: white;
  font-size: 14px;
  text-align: center;
  letter-spacing: 0.02em;
  opacity: 0.85;
}
.works-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 24px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}
.works-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
