/* MiCount 统一页脚样式 */
.micount-footer {
  color: #e5e7eb;
  background: #111827;
}

.micount-footer--primary {
  margin-top: 0;
}

.micount-footer__main {
  padding: 2.5rem 0 1.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.micount-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) and (max-width: 1199px) {
  .micount-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .micount-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .micount-footer__grid {
    grid-template-columns: 1.05fr repeat(4, minmax(0, 1fr));
    gap: 1.5rem 1.75rem;
  }
}

.micount-footer__brand-head {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.micount-footer__brand-head:hover .micount-footer__brand-name {
  color: #10b981;
}

.micount-footer__brand img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
}

.micount-footer__brand-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.2s;
}

.micount-footer__tagline {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #9ca3af;
  margin: 0.75rem 0 1rem;
  max-width: 22rem;
}

.micount-footer__contact {
  font-size: 0.875rem;
  color: #9ca3af;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.micount-footer__contact i {
  color: #10b981;
  width: 1.1rem;
}

.micount-footer__brand-links {
  margin-top: 0.6rem;
  padding-top: 0.55rem;
  border-top: 1px solid #374151;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.7rem;
}

.micount-footer__brand-link {
  font-size: 0.75rem;
  color: #9ca3af;
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.15s;
}

.micount-footer__brand-link:hover {
  color: #fff;
}

.micount-footer__brand-link--featured {
  color: #10b981;
  font-weight: 600;
}

.micount-footer__brand-link--featured:hover {
  color: #34d399;
}

.micount-footer__col-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid #374151;
}

.micount-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.micount-footer__links a {
  color: #9ca3af;
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.2s;
}

.micount-footer__links a:hover {
  color: #fff;
}

.micount-footer__ecosystem {
  padding: 0.5rem 0;
  background: #064e3b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.micount-footer__eco-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  font-size: 0.6875rem;
  line-height: 1.35;
}

.micount-footer__eco-bar--dark {
  font-size: 0.6875rem;
}

.micount-footer__eco-brand {
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
  padding-right: 0.75rem;
  margin-right: 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.micount-footer__eco-seg {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
  padding-right: 0.75rem;
  margin-right: 0.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.micount-footer__eco-seg:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.micount-footer__eco-labels {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 0.35rem;
  flex-shrink: 0;
}

.micount-footer__eco-l1 {
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.micount-footer__eco-l2 {
  font-size: 0.625rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
}

.micount-footer__eco-l2::before {
  content: "·";
  margin-right: 0.25rem;
  opacity: 0.6;
}

.micount-footer__eco-inline {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.55rem;
}

.micount-footer__eco-link {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.6875rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.micount-footer__eco-link:hover {
  color: #fff;
}

.micount-footer__eco-link[href^="http"]::after {
  content: "↗";
  font-size: 0.5rem;
  margin-left: 0.1rem;
  opacity: 0.45;
  vertical-align: super;
}

@media (max-width: 767px) {
  .micount-footer__eco-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .micount-footer__eco-brand {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
  }

  .micount-footer__eco-seg {
    border-right: none;
    margin-right: 0;
    padding-right: 0;
    width: 100%;
  }
}

.micount-footer__social {
  padding: 1.25rem 0 1rem;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.micount-footer__qr-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.micount-footer__qr-card {
  text-align: center;
}

.micount-footer__qr-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.6rem;
}

.micount-footer__qr-title i {
  color: #10b981;
  margin-right: 0.35rem;
}

.micount-footer__qr-img {
  background: #fff;
  padding: 0.5rem;
  border-radius: 0.75rem;
  display: inline-block;
}

.micount-footer__qr-img img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: 0.35rem;
}

@media (min-width: 768px) {
  .micount-footer__qr-img img {
    width: 6.5rem;
    height: 6.5rem;
  }
}

.micount-footer__bottom {
  padding: 1rem 0 1.25rem;
  background: #0b1220;
  border-top: 1px solid #1f2937;
  text-align: center;
}

.micount-footer__seo {
  max-width: 42rem;
  margin: 0 auto 0.75rem;
  font-size: 0.6875rem;
  line-height: 1.6;
  color: #6b7280;
}

.micount-footer__seo p {
  margin: 0;
}

.micount-footer__seo strong {
  color: #9ca3af;
  font-weight: 500;
}

.micount-footer__seo-brand {
  color: #94a3b8;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.micount-footer__seo-brand:hover {
  color: #10b981;
  border-bottom-color: rgba(16, 185, 129, 0.45);
}

.micount-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.3rem 0.7rem;
  font-size: 0.6875rem;
  color: #6b7280;
  margin: 0 0 0.45rem;
}

.micount-footer__meta--policy {
  margin-bottom: 0.65rem;
}

.micount-footer__meta a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s;
}

.micount-footer__meta a:hover {
  color: #10b981;
}

.micount-footer__i18n-grid {
  display: inline-grid;
  grid-template-columns: repeat(6, minmax(2.35rem, 1fr));
  gap: 0.25rem;
  max-width: 20rem;
  margin: 0 auto;
  padding: 0.35rem;
  background: rgba(31, 41, 55, 0.55);
  border: 1px solid #374151;
  border-radius: 0.5rem;
}

@media (min-width: 480px) {
  .micount-footer__i18n-grid {
    grid-template-columns: repeat(12, minmax(2.35rem, 1fr));
    max-width: 100%;
  }
}

.micount-footer__lang {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 1.65rem;
  padding: 0.2rem 0.35rem;
  font-size: 0.625rem;
  font-weight: 500;
  border-radius: 0.35rem;
  text-decoration: none;
  color: #d1d5db;
  transition: background 0.2s, color 0.2s;
}

.micount-footer__lang:hover {
  background: #374151;
  color: #fff;
}

.micount-footer__lang.is-active {
  background: #10b981;
  color: #fff;
  font-weight: 600;
}

/* biz / minimal tiers */
.micount-footer--biz .micount-footer__main {
  padding-top: 2.5rem;
}

.micount-footer--minimal {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8125rem;
  color: #9ca3af;
}

.micount-footer--minimal a {
  color: #94a3b8;
  text-decoration: none;
}

.micount-footer--minimal a:hover {
  color: #10b981;
}
