/* LaoBiz home — Business Intelligence Platform */

.home-platform {
  --home-ink: #0f1c1c;
  --home-muted: #5b6b6b;
  --home-line: #dce5e5;
  --home-soft: #f3f6f6;
  --home-card: #ffffff;
  --home-jade: #0d4f52;
  --home-jade-deep: #083538;
  --home-jade-mid: #127074;
  --home-gold: #c9a227;
  background: linear-gradient(180deg, #eef3f3 0%, #f7f9f9 28%, #eef2f4 100%);
  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(155deg, #062f2f 0%, #0a4545 42%, #0f5f5a 78%, #14666b 100%);
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.home-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 20%, transparent 75%);
}

.home-hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -80px;
  top: -120px;
  background: radial-gradient(circle, rgba(201,162,39,.28), transparent 65%);
  animation: home-glow 8s ease-in-out infinite alternate;
}

.home-hero-map {
  position: absolute;
  right: 4%;
  top: 18%;
  width: min(360px, 38vw);
  height: min(360px, 38vw);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(circle at 45% 42%, rgba(255,255,255,.16) 0 3px, transparent 4px),
    radial-gradient(circle at 58% 55%, rgba(255,232,163,.55) 0 4px, transparent 5px),
    radial-gradient(circle at 38% 62%, rgba(255,255,255,.2) 0 2px, transparent 3px),
    radial-gradient(circle at 62% 38%, rgba(255,255,255,.14) 0 2px, transparent 3px),
    conic-gradient(from 210deg, transparent 0 40%, rgba(255,255,255,.06) 40% 55%, transparent 55%);
  opacity: .85;
  animation: home-map-pulse 6s ease-in-out infinite;
}

@keyframes home-glow {
  from { transform: translate3d(0,0,0) scale(1); opacity: .8; }
  to { transform: translate3d(-24px, 18px, 0) scale(1.08); opacity: 1; }
}

@keyframes home-map-pulse {
  0%, 100% { transform: scale(1); opacity: .75; }
  50% { transform: scale(1.04); opacity: .95; }
}

.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);
  transform: translateY(-1px);
}

/* 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: 16px;
  padding: 22px 18px;
  box-shadow: 0 10px 28px rgba(13,79,82,.06);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.home-stat-card:hover {
  transform: translateY(-2px);
  border-color: #9fc9c6;
  box-shadow: 0 14px 32px rgba(13,79,82,.1);
}

.home-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--home-jade-mid), var(--home-gold));
}

.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 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: #9fc9c6;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13,79,82,.08);
}

.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: 18px;
  padding: 26px 24px 22px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(15,28,28,.04);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.home-feature-card:hover {
  transform: translateY(-3px);
  border-color: #b7d5d4;
  box-shadow: 0 16px 36px rgba(13,79,82,.1);
}

.home-feature-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(13,79,82,.1), rgba(18,112,116,.06));
  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-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.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 {
  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;
}

.home-ip-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  background: var(--home-card);
  border: 1px solid var(--home-line);
  border-radius: 12px;
  padding: 12px;
}

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

.home-ip-thumb img {
  max-width: 100%;
  max-height: 72px;
  object-fit: contain;
}

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

.home-ip-kind {
  margin: 0 0 4px;
  font-size: .72rem;
  color: var(--home-muted);
}

.home-ip-body h3 {
  margin: 0;
  font-size: .9rem;
  line-height: 1.4;
}

.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:
    radial-gradient(ellipse 60% 80% at 90% 20%, rgba(201,162,39,.18), transparent 55%),
    linear-gradient(160deg, #083538 0%, #0d4f52 48%, #115e59 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,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 22px 20px;
  backdrop-filter: blur(8px);
}

.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: #9fc9c6;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(13,79,82,.08);
}

.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;
  }
}
