/* LaoBiz home — Business Intelligence Platform */

.home-platform {
  --home-ink: var(--ink, #173536);
  --home-muted: var(--muted, #647676);
  --home-line: var(--border, #DCE7E4);
  --home-soft: var(--surface, #EDF4F2);
  --home-card: #ffffff;
  --home-jade: var(--jade, #075B5B);
  --home-jade-deep: var(--jade-dark, #064747);
  --home-jade-mid: var(--jade-light, #168486);
  --home-gold: var(--gold, #C6A13A);
  background: var(--bg, #F4F8F7);
  color: var(--home-ink);
  overflow: clip;
}

.home-platform .container {
  width: min(1320px, calc(100% - 40px));
  margin-inline: auto;
}

.home-section {
  padding: 56px 0;
}

.home-section-head {
  margin-bottom: 28px;
  max-width: 820px;
}

.home-section-head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}

.home-eyebrow {
  margin: 0 0 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--home-jade-mid);
}

.home-section h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--home-ink);
}

.home-section-sub {
  margin: 0;
  color: var(--home-muted);
  font-size: .95rem;
  line-height: 1.65;
}

.home-section-sub-en {
  margin: 0 0 8px;
  color: var(--home-jade-mid);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .01em;
}

.home-section-more {
  flex-shrink: 0;
  color: var(--home-jade);
  font-weight: 650;
  text-decoration: none;
  font-size: .9rem;
  white-space: nowrap;
}

.home-section-more:hover {
  text-decoration: underline;
}

/* —— Hero — 商业信息平台风格，去网格/发光/雷达图 —— */
.home-hero {
  position: relative;
  padding: 48px 0 40px;
  color: #fff;
  background: linear-gradient(180deg, var(--home-jade-deep) 0%, var(--home-jade) 100%);
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.10));
}

/* Legacy装饰节点：全部隐去，避免 AI SaaS 感 */
.home-hero-grid,
.home-hero-glow,
.home-hero-map { display: none; }

.home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: min(980px, 100%);
  animation: home-rise .7s cubic-bezier(.22,1,.36,1) both;
}

@keyframes home-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.78);
}

.home-kicker-mark {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(201,162,39,.2);
  border: 1px solid rgba(201,162,39,.45);
  color: #ffe8a3;
  font-weight: 700;
  letter-spacing: .06em;
}

.home-hero-title {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
}

.home-hero-en {
  margin: 0 0 14px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #ffe8a3;
  font-weight: 560;
  letter-spacing: .01em;
}

.home-hero-lead {
  margin: 0 0 6px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255,255,255,.92);
  max-width: 46em;
}

.home-hero-lead-en {
  margin: 0 0 22px;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  line-height: 1.55;
}

/* Search */
.home-search {
  margin-top: 8px;
}

.home-search-tabs {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 10px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.12);
}

.home-search-tab {
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.78);
  font: inherit;
  font-size: .84rem;
  font-weight: 650;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

.home-search-tab.is-active {
  background: #fff;
  color: var(--home-jade-deep);
}

.home-search-label {
  margin: 0 0 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

.home-search-row {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
}

.home-search-row input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #132222;
  font-size: 1rem;
  padding: 12px 14px;
  outline: none;
}

.home-search-row input::placeholder {
  color: #7a8a8a;
}

.home-search-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 10px 20px;
  min-width: 108px;
  line-height: 1.15;
}

.home-search-btn-en {
  font-size: .7rem;
  opacity: .9;
  font-weight: 600;
}

.home-hot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}

.home-hot-label {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  margin-right: 4px;
}

.home-hot-chip {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #fff;
  text-decoration: none;
  font-size: .82rem;
  transition: background .2s, transform .2s;
}

.home-hot-chip span[lang="en"] {
  color: rgba(255,232,163,.9);
  font-size: .72rem;
}

.home-hot-chip:hover {
  background: rgba(255,255,255,.18);
}

/* Stats */
.home-stats {
  margin-top: -28px;
  padding-top: 0;
  position: relative;
  z-index: 2;
}

.home-stats .home-section-head {
  background: transparent;
  padding-top: 36px;
}

.home-stats-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-stat-card {
  background: var(--home-card);
  border: 1px solid var(--home-line);
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: var(--shadow, 0 1px 3px rgba(20, 55, 55, 0.05));
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, border-color .2s;
}

.home-stat-card:hover {
  border-color: var(--lb-border-strong, #c8d8d5);
  box-shadow: var(--shadow-lg, 0 6px 20px rgba(20, 55, 55, 0.08));
}

.home-stat-card--static {
  cursor: default;
}

.home-stat-card--static:hover {
  transform: none;
  border-color: var(--home-line);
  box-shadow: 0 10px 28px rgba(13,79,82,.06);
}

.home-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--home-jade);
}

.home-stat-value {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--home-jade-deep);
  font-variant-numeric: tabular-nums;
}

.home-stat-label {
  margin: 0;
  font-size: .92rem;
  font-weight: 650;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-stat-label span[lang="en"] {
  font-size: .75rem;
  font-weight: 600;
  color: var(--home-muted);
  letter-spacing: .02em;
}

.home-stats-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.home-stats-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--home-card);
  border: 1px solid var(--home-line);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, background .2s;
}

.home-stats-chip:hover {
  border-color: #9fc9c6;
  background: #f7fbfb;
}

.home-stats-chip--static {
  cursor: default;
}

.home-stats-chip--static:hover {
  border-color: var(--home-line);
  background: var(--home-card);
}

.home-stats-chip strong {
  font-size: .92rem;
  font-weight: 800;
  color: var(--home-jade-deep);
  font-variant-numeric: tabular-nums;
}

.home-stats-chip span {
  font-size: .8rem;
  color: var(--home-muted);
}

/* Resources */
.home-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-resource-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 16px;
  background: var(--home-card);
  border: 1px solid var(--home-line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  min-height: 132px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.home-resource-card:hover {
  border-color: var(--lb-border-strong, #c8d8d5);
  box-shadow: var(--shadow, 0 1px 3px rgba(20, 55, 55, 0.05));
}

.home-resource-badge {
  align-self: flex-start;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(13,79,82,.08);
  color: var(--home-jade);
}

.home-resource-card strong {
  font-size: 1.02rem;
}

.home-resource-card > span:last-child {
  color: var(--home-muted);
  font-size: .84rem;
  line-height: 1.5;
}

.home-formality-row {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--home-line);
}

.home-formality-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.home-formality-list a {
  color: var(--home-ink);
  text-decoration: none;
  font-size: .9rem;
}

.home-formality-list a:hover {
  color: var(--home-jade);
  text-decoration: underline;
}

/* Features */
.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-feature-card {
  background: var(--home-card);
  border: 1px solid var(--home-line);
  border-radius: 14px;
  padding: 26px 24px 22px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  transition: box-shadow .2s, border-color .2s;
}

.home-feature-card:hover {
  border-color: var(--lb-border-strong, #c8d8d5);
  box-shadow: var(--shadow, 0 1px 3px rgba(20, 55, 55, 0.05));
}

.home-feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(7, 91, 91, 0.08);
  color: var(--home-jade);
  margin-bottom: 14px;
}

.home-feature-en {
  margin: 0 0 4px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--home-jade-mid);
  font-weight: 700;
}

.home-feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.home-feature-card > p {
  margin: 0 0 14px;
  color: var(--home-muted);
  line-height: 1.65;
  flex: 1;
}

.home-feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.home-feature-tags li {
  font-size: .75rem;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--home-soft);
  color: #355353;
}

.home-feature-link {
  font-weight: 700;
  color: var(--home-jade);
  text-decoration: none;
}

.home-feature-link:hover {
  text-decoration: underline;
}

/* Company showcase */
.home-company-showcase {
  position: relative;
}

.home-company-page[hidden] {
  display: none !important;
}

.home-company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-company-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.home-company-pager-dot,
.home-company-pager-nav {
  appearance: none;
  border: 1px solid var(--home-line);
  background: var(--home-card);
  color: var(--home-jade-deep);
  border-radius: 999px;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}

.home-company-pager-nav {
  font-size: 1.2rem;
  line-height: 1;
  padding: 0;
  width: 36px;
}

.home-company-pager-dot.is-active,
.home-company-pager-dot:hover,
.home-company-pager-nav:hover {
  background: var(--home-jade-deep);
  border-color: var(--home-jade-deep);
  color: #fff;
}

.home-company-card {
  background: var(--home-card);
  border: 1px solid var(--home-line);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  transition: border-color .2s, box-shadow .2s;
}

.home-company-card:hover {
  border-color: #9fc9c6;
  box-shadow: 0 12px 28px rgba(13,79,82,.08);
}

.home-company-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.home-company-status {
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
}

.home-company-tin {
  font-size: .68rem;
  color: var(--home-muted);
  font-family: var(--font-mono);
}

.home-company-name {
  margin: 0 0 4px;
  font-size: .98rem;
  line-height: 1.4;
}

.home-company-name a {
  color: inherit;
  text-decoration: none;
}

.home-company-name a:hover {
  color: var(--home-jade);
}

.home-company-en {
  margin: 0 0 10px;
  font-size: .78rem;
  color: var(--home-muted);
  line-height: 1.4;
}

.home-company-meta {
  margin: 0 0 14px;
  display: grid;
  gap: 6px;
  font-size: .78rem;
}

.home-company-meta div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 6px;
}

.home-company-meta dt {
  color: var(--home-muted);
}

.home-company-meta dd {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-company-cta-zh {
  display: none;
}
.home-company-cta-en {
  display: inline;
}

.home-company-cta {
  margin-top: auto;
  font-size: .82rem;
  font-weight: 700;
  color: var(--home-jade);
  text-decoration: none;
}

.home-company-cta:hover {
  text-decoration: underline;
}

/* IP */
.home-ip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
  align-items: stretch;
}

.home-ip-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: var(--home-card);
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 12px;
  min-width: 0;
  min-height: 96px;
}

.home-ip-thumb {
  box-sizing: border-box;
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  max-width: 72px;
  max-height: 72px;
  display: grid;
  place-items: center;
  background: var(--home-soft);
  border-radius: 8px;
  overflow: hidden;
}

.home-ip-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.home-ip-thumb.is-empty {
  background: repeating-linear-gradient(-45deg, #f4f6f6, #f4f6f6 6px, #e9eeee 6px, #e9eeee 12px);
}

.home-ip-body {
  min-width: 0;
  overflow: hidden;
}

.home-ip-kind {
  margin: 0 0 4px;
  font-size: .72rem;
  color: var(--home-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-ip-body h3 {
  margin: 0;
  font-size: .9rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.home-ip-body h3 a {
  color: inherit;
  text-decoration: none;
}

.home-ip-body h3 a:hover {
  color: var(--home-jade);
}

.home-ip-form {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: var(--home-card);
  border: 1px solid var(--home-line);
  border-radius: 12px;
}

.home-ip-form input {
  flex: 1;
  border: 0;
  outline: none;
  font-size: .95rem;
  padding: 10px 12px;
  color: var(--home-ink);
  background: transparent;
}

/* Visit / premium — 单调品牌深绿 */
.home-visit {
  padding: 64px 0;
  background: linear-gradient(180deg, var(--home-jade-deep) 0%, var(--home-jade) 100%);
  color: #fff;
}

.home-visit-head {
  max-width: 720px;
  margin-bottom: 28px;
}

.home-premium-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201,162,39,.55);
  background: rgba(201,162,39,.16);
  color: #ffe8a3;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.home-visit h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  letter-spacing: -.02em;
  color: #fff;
}

.home-visit-en {
  margin: 0 0 10px;
  color: #ffe8a3;
  font-size: 1.05rem;
  font-weight: 600;
}

.home-visit-lead {
  margin: 0;
  color: rgba(255,255,255,.85);
  line-height: 1.65;
}

.home-visit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.home-visit-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 22px 20px;
}

.home-visit-en-label {
  margin: 0 0 6px;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,232,163,.9);
  font-weight: 700;
}

.home-visit-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.home-visit-card p {
  margin: 0 0 18px;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
  min-height: 3.2em;
}

/* Setup / digital / insights */
.home-setup-grid,
.home-digital-grid,
.home-insights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-setup-card,
.home-digital-card,
.home-insight-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  background: var(--home-card);
  border: 1px solid var(--home-line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  min-height: 128px;
}

.home-setup-card:hover,
.home-digital-card:hover,
.home-insight-card:hover {
  border-color: var(--lb-border-strong, #c8d8d5);
  box-shadow: var(--shadow, 0 1px 3px rgba(20, 55, 55, 0.05));
}

.home-setup-en,
.home-digital-card span[lang="en"],
.home-insight-en {
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--home-jade-mid);
  font-weight: 700;
}

.home-setup-card strong,
.home-digital-card strong,
.home-insight-card strong {
  font-size: 1.02rem;
}

.home-setup-card > span:last-child,
.home-digital-desc,
.home-insight-hint {
  color: var(--home-muted);
  font-size: .84rem;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.home-faq-row {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--home-line);
}

.home-faq-label {
  margin: 0 0 10px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--home-muted);
}

.home-faq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-faq-chips a {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--home-soft);
  color: var(--home-ink);
  text-decoration: none;
  font-size: .84rem;
}

.home-faq-chips a:hover {
  background: #e2ecec;
  color: var(--home-jade);
}

@media (max-width: 1024px) {
  .home-stats-grid,
  .home-company-grid,
  .home-ip-grid,
  .home-setup-grid,
  .home-digital-grid,
  .home-insights-grid,
  .home-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-hero-map {
    opacity: .35;
  }
}

@media (max-width: 760px) {
  .home-section {
    padding: 40px 0;
  }

  .home-section-head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-stats {
    margin-top: -16px;
  }

  .home-stats-grid,
  .home-feature-grid,
  .home-company-grid,
  .home-ip-grid,
  .home-visit-grid,
  .home-setup-grid,
  .home-digital-grid,
  .home-insights-grid,
  .home-resource-grid,
  .home-formality-list {
    grid-template-columns: 1fr;
  }

  .home-search-row {
    flex-direction: column;
  }

  .home-search-btn {
    width: 100%;
  }

  .home-ip-form {
    flex-direction: column;
  }

  .home-hero-map {
    display: none;
  }

  .home-feature-card {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-inner,
  .home-hero-glow,
  .home-hero-map,
  .home-feature-card,
  .home-company-card,
  .home-setup-card,
  .home-digital-card,
  .home-insight-card,
  .home-hot-chip {
    animation: none !important;
    transition: none !important;
  }
}

/* ==== merged: home-perf.v1.css ==== */
/* Home perf helpers — keep below-fold work off the critical path (v1) */
.home-platform > .home-section:not(.home-stats),
.home-platform > .home-m-services {
  content-visibility: auto;
  contain-intrinsic-size: 1px 720px;
}

/* Prefer hero text as LCP candidate: stronger first paint hierarchy */
.home-hero-title {
  content-visibility: visible;
}

@media (max-width: 900px) {
  .home-hero-m-pitch,
  .home-hero-m-name {
    content-visibility: visible;
  }
}

/* Soften decorative hero layers so paint is cheaper */
.home-hero-map {
  will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-glow,
  .home-hero-map {
    animation: none !important;
  }
}
