/* Site-specific layout/interaction styles (keep Bootstrap as layout framework). */
/* MENU_REV: MENU_REV_20260322_02 */
/* FIGMA_MENU_NODE: 341-55 — MCP 2026-03-22: 1920×91; up-logo 175/20 188×51; menu-text 704/30 1041×30; 行宽 1570=188+341+1041; 侧留白 175px; svg-o5rm7 */
/* FOOTER_REV: FOOTER_FIGMA_388-2 — MCP 388:2: 434:1740 gap 30px; 友链440:2072 + 网站建设430:778 */
/* FIGMA_FOOTER_NODE: 388-2 */

:root {
  --site-bg: #ffffff;
  /* Figma 341:55；菜单字号 +20%：24px、列 96px、menu 栏 1137、整行 1666、侧留白 127 */
  --figma-menu-h: 91px;
  --figma-logo-w: 188px;
  --figma-logo-nav-gap: 341px; /* 704 - 175 - 188 */
  --figma-menu-text-w: 1137px;
  --figma-menu-text-h: 44px; /* 含字→下划线间距，避免裁切 */
  --figma-nav-item-w: 96px;
  --figma-nav-gap: 80px;
  --figma-nav-font: 24px;
  --figma-content-row-w: 1666px; /* 188 + 341 + 1137 */
  --figma-menu-pad-x: 127px;
  /* 选中态下划线与文字间距：在约 6px 基础上增大 20% */
  --site-nav-text-underline-gap: calc(6px * 1.2);
  --figma-nav-text: #0c111b;
  --figma-nav-active: #9333ea;
  --figma-logo-text: #131b3a;
}

/* 顶栏需完整可见：避免横向裁切；页面级横向滚动由各区块控制 */
html {
  overflow-x: auto;
}

/* 全站与首页一致：整页缩小 33%（显示为原尺寸的 67%）。若需缩放到 33% 尺寸，将 0.67 改为 0.33 */
/* SITE_PAGE_SCALE: SITE_SHRINK_33PCT_UNIFIED_20260322 */
body {
  overflow-x: auto;
  zoom: 0.67;
}

.site-container {
  max-width: 1920px;
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}

@media (max-width: 1100px) {
  .site-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Fixed header: always on top, independent of scroll. */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  overflow: visible; /* 语言下拉在顶栏外展开 */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(12, 17, 27, 0.08);
}

/* —— Header / 顶栏菜单 Figma 341:55 —— */
.site-header .site-nav-link,
.site-logo-wordmark {
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
}

/* 内容块 1570 = 188 + 341 + 1041；宽屏侧内边距与 Figma 175px 等效居中 */
.site-header-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  min-height: 91px;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: max(12px, min(var(--figma-menu-pad-x), calc((100vw - var(--figma-content-row-w)) / 2)));
  padding-right: max(12px, min(var(--figma-menu-pad-x), calc((100vw - var(--figma-content-row-w)) / 2)));
  position: relative;
  overflow: visible; /* 语言下拉不被裁切 */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  /* 341/1920≈17.76vw：窄屏随宽度收缩 Logo↔菜单 间距 */
  gap: clamp(20px, 17.76vw, var(--figma-logo-nav-gap));
}

/* Figma 317:817 up-logo-title 188×51 */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 188px;
  min-height: 51px;
  min-width: 0;
  max-width: 100%;
  text-decoration: none;
  color: inherit;
}

/* Frame 127：48×49，设计稿 top 1px → 用 flex 对齐等效 */
.site-logo-mark-wrap {
  width: 48px;
  height: 49px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  margin-top: 1px;
}

/* Figma 341:104 Frame 127 → 导出 SVG 单图 48×49（旧 PNG 雪碧图已弃用） */
.site-logo-mark {
  display: block;
  width: 48px;
  height: 49px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}

.site-logo-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  color: var(--figma-logo-text);
  max-width: 130px;
  min-width: 0;
}

.site-logo-zh {
  font-size: 28px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-logo-en {
  display: block;
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: 0;
  margin-top: 0;
  white-space: nowrap;
}

/* Figma 341:54 menu-text：1041×30；窄屏用 clamp 压缩间距，保持单行不换行 */
.site-header .site-nav-row {
  overflow: visible;
}

.site-nav-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: clamp(12px, 4.17vw, var(--figma-nav-gap));
  width: auto;
  min-width: 0;
  max-width: 100%;
  height: var(--figma-menu-text-h);
  flex: 0 1 auto;
  box-sizing: border-box;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.site-header .site-container {
  max-width: 1920px;
  padding-left: 0;
  padding-right: 0;
}

.site-footer .site-container {
  max-width: 1920px;
  padding-left: 0;
  padding-right: 0;
}

.site-header .site-logo {
  position: static;
}

.site-header .site-nav {
  position: static;
  display: contents;
}

/* 设计稿基础上菜单字 +20%（约 24px / 行高约 30px）；下划线与字间距见 --site-nav-text-underline-gap */
.site-header .site-nav-link {
  font-size: clamp(19px, 1.5vw, 24px);
  line-height: 30px;
  font-weight: 400 !important;
  letter-spacing: 0;
  color: var(--figma-nav-text) !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center; /* ensure text/underline align in fixed-width menu cells */
  min-height: calc(36px + var(--site-nav-text-underline-gap));
  height: auto;
  padding: 0;
  padding-bottom: var(--site-nav-text-underline-gap);
  text-decoration: none; /* remove browser default underline */
  box-sizing: border-box;
  flex: 0 1 auto;
  width: auto;
  min-width: 0;
  max-width: 7.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-header .site-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px; /* underline thickness；与字距离 = padding-bottom 段 */
  background: currentColor;
  opacity: 0;
  border-radius: 1px;
}

.site-header .site-nav-link.is-active::after {
  opacity: 1;
}

/* 激活项：紫色 + 粗体 + 下划线 */
.site-header .site-nav-link.is-active {
  color: var(--figma-nav-active) !important;
  font-weight: 700 !important;
}

/* 必须为定位锚点，否则 .site-lang-menu 会相对顶栏错位 */
.site-header .site-lang {
  position: relative;
  z-index: 3100;
  flex: 0 0 auto;
  flex-shrink: 0;
  /* 多语种入口隐藏（保留 HTML / i18n，仅不展示） */
  display: none !important;
}

.site-lang {
  position: relative;
}

.site-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px; /* Figma 184:71 国旗与箭头间距 */
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  box-sizing: border-box;
}

.site-lang-btn:active {
  transform: translateY(1px);
}

.site-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: auto;
  right: 0;
  min-width: 180px;
  margin: 0;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(12, 17, 27, 0.12);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(12, 17, 27, 0.12);
  overflow: hidden;
  display: none;
  z-index: 5000;
}

.site-lang-menu.is-open {
  display: block;
}

.site-lang-item {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: #0c111b;
  font-weight: 500;
  text-align: left;
  font-size: 17px; /* 14px × 1.2 */
  line-height: 1.2;
  white-space: nowrap;
}

.site-header [data-lang-current] {
  font-size: 17px;
  line-height: 1;
  color: #0c111b;
}

.site-lang-menu .lang-flag {
  width: 18px;
  height: 18px;
}

.site-lang-menu .lang-flag-img {
  width: 28px; /* rectangle flag in dropdown */
  height: 18px;
  border-radius: 2px;
}

.lang-flag-img {
  width: 32px;
  height: 23px;
  display: block;
  border-radius: 2px;
  object-fit: cover;
}

/* 顶栏：Figma 185:74 CN 42×30 */
.lang-flag-img--bar {
  width: 42px;
  height: 30px;
  flex-shrink: 0;
}

.site-lang-chevron {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Figma 185:77 下 1 — 优先使用内联 SVG；无图时回退三角 */
.site-lang-chevron__icon {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.site-lang-chevron::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #0c111b;
}

.site-lang-chevron--svg::after {
  content: none !important;
  border: 0 !important;
}

.site-header .site-lang .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-lang-item:hover {
  background: rgba(147, 51, 234, 0.08);
}

.lang-flag {
  width: 42px;
  height: 30px;
  border-radius: 4px;
  flex: 0 0 auto;
  border: 1px solid rgba(12, 17, 27, 0.08);
}

.lang-flag.cn {
  background: linear-gradient(#de2910, #c21f0a);
}

.lang-flag.en {
  background: linear-gradient(135deg, #243b6b, #4f7bd7);
}

.lang-flag.ru {
  background: linear-gradient(#ffffff 0 33.33%, #1b65c8 33.33% 66.66%, #d81e31 66.66% 100%);
}

/* 宽屏：与设计比例一致 — 栏宽与 96px 列、24px 字（中文 +20%） */
@media (min-width: 1600px) {
  .site-header-inner {
    gap: var(--figma-logo-nav-gap);
  }

  .site-nav-row {
    width: var(--figma-menu-text-w);
    max-width: var(--figma-menu-text-w);
    flex: 0 0 auto;
    gap: var(--figma-nav-gap);
  }

  body[data-lang="cn"] .site-header .site-nav-link {
    flex: 0 0 var(--figma-nav-item-w);
    width: var(--figma-nav-item-w);
    max-width: var(--figma-nav-item-w);
    font-size: var(--figma-nav-font);
  }
}

/* 英文/俄文：允许略宽，仍保持单行 */
body[data-lang="en"] .site-header .site-nav-link,
body[data-lang="ru"] .site-header .site-nav-link {
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

body[data-lang="en"] .site-nav-row,
body[data-lang="ru"] .site-nav-row {
  /* 英文/俄文菜单项间距在原基础上扩大 80% */
  gap: clamp(14.4px, 2.16vw, 43.2px);
}

body[data-lang="en"] .site-header .site-nav-link {
  font-size: clamp(17px, 1.14vw, 22px);
  line-height: 30px;
}

body[data-lang="ru"] .site-header .site-nav-link {
  font-size: clamp(16px, 1.08vw, 19px);
  line-height: 30px;
}

/* 极窄屏：略减顶栏高度与字号，仍不换行（必要时出现横向滚动条而非裁切） */
@media (max-width: 900px) {
  .site-header-inner {
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px;
  }

  .site-nav-row {
    height: auto;
    min-height: 28px;
  }

  .site-header .site-nav-link {
    line-height: 26px;
    min-height: calc(34px + var(--site-nav-text-underline-gap));
    height: auto;
    padding-bottom: var(--site-nav-text-underline-gap);
  }
}

.site-page {
  padding-top: 91px; /* Figma 341:55 顶栏高度 */
}

/* Banner carousel */
.banner {
  position: relative;
  /* 在当前基础上缩小 10% */
  height: 994px;
  overflow: hidden;
  background: #fff;
}

.banner-slide {
  display: none;
  position: absolute;
  inset: 0;
}

.banner-slide.is-active {
  display: block;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.banner-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 14px;
  pointer-events: none;
}

.banner-btn {
  pointer-events: auto;
  width: 70px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  opacity: 0.85;
}

.banner-btn.is-active {
  opacity: 1;
  box-shadow: 0 10px 30px rgba(147, 51, 234, 0.2);
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin: 0;
  color: var(--site-text);
}

.section-subtitle {
  margin-top: 10px;
  font-size: 16px;
  letter-spacing: 2px;
  color: rgba(12, 17, 27, 0.4);
}

.home-products {
  padding: 56px 0 70px;
}

.home-products-title {
  font-size: 58px;
  font-weight: 800;
  margin: 0;
  color: var(--site-text);
  letter-spacing: 5.8px;
}

.home-products-subtitle {
  margin-top: 12px;
  font-size: 32px;
  letter-spacing: 16px;
  color: rgba(12, 17, 27, 0.4);
}

.home-products-grid {
  margin-top: 30px;
  max-width: 1324px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  grid-template-columns: repeat(3, 422px);
  column-gap: 29px;
  row-gap: 30px;
  justify-content: center;
}

.home-product-card {
  display: block;
  position: relative;
  width: 422px;
  height: 239px;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  background: #f2f2f2;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.home-product-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 0 0 2px rgba(147, 51, 234, 0.55), 0 18px 44px rgba(12, 17, 27, 0.14);
  filter: saturate(1.02);
}

.home-product-card .media {
  position: absolute;
  overflow: hidden;
}

.home-product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-product-card .body {
  position: absolute;
}

.home-product-card .index {
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
  background: linear-gradient(to bottom, #3a79fc 0%, #8939f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-product-card .name {
  margin: 6px 0 0;
  font-weight: 400;
  font-size: 18px;
  color: #131b3a;
}

.home-product-card .desc {
  margin: 8px 0 0;
  font-weight: 400;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.4);
}

/* Card-specific positioning (derived from Figma metadata) */
.home-product-card--p01 .media {
  left: 35.8px;
  top: 20.6px;
  width: 352.2px;
  height: 158.1px;
}
.home-product-card--p01 .body {
  left: 21.7px;
  top: 180.1px;
}

.home-product-card--p02 .media {
  left: 41.65px;
  top: 14.1px;
  width: 337.5px;
  height: 164.9px;
}
.home-product-card--p02 .body {
  left: 22.13px;
  top: 180.1px;
}

.home-product-card--p03 .media {
  left: 67.16px;
  top: 7.91px;
  width: 288.1px;
  height: 180.06px;
}
.home-product-card--p03 .body {
  left: 21.7px;
  top: 181.625px;
}

.home-product-card--p04 .media {
  left: 116.52px;
  top: 13.46px;
  width: 188.76px;
  height: 164.92px;
}
.home-product-card--p04 .body {
  left: 22.13px;
  top: 179.455px;
}

.home-product-card--p05 .media {
  left: 115.0px;
  top: 11.73px;
  width: 192.11px;
  height: 168.096px;
}
.home-product-card--p05 .body {
  left: 21.7px;
  top: 179.896px;
}

.home-product-card--p06 .media {
  left: 145.8px;
  top: 12.816px;
  width: 130.44px;
  height: 161.35px;
}
.home-product-card--p06 .body {
  left: 22.13px;
  top: 180.981px;
}

@media (max-width: 1400px) {
  .home-products-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
  }
  .home-product-card {
    width: auto;
    height: 239px;
  }
  .home-product-card .media {
    /* keep absolute layout but allow overflow clipping */
  }
}

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

.home-about > .site-container {
  max-width: 1324px;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 1100px) {
  .home-about > .site-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.home-about-card {
  position: relative;
  padding: 48px 48px 52px;
  background: #fff;
  border: 1px solid rgba(12, 17, 27, 0.06);
  border-radius: 20px;
  overflow: hidden;
}

.home-about-card .watermark {
  position: absolute;
  right: -40px;
  top: 40px;
  font-size: 72px;
  font-weight: 800;
  color: rgba(0, 0, 0, 0.06);
  letter-spacing: 2px;
  white-space: nowrap;
  pointer-events: none;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 655px;
  gap: 40px;
  align-items: center;
}

@media (max-width: 1100px) {
  .home-about-grid {
    grid-template-columns: 1fr;
  }
}

.brand-line {
  height: 8px;
  width: 125px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0c9be1, #bd2efd);
  margin-bottom: 16px;
}

.home-video {
  width: 100%;
  aspect-ratio: 655 / 363;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0b0b;
}

.home-video img,
.home-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Footer — Figma 388:2 bottom-message */
.site-footer {
  background: #715ba1;
  color: rgba(255, 255, 255, 0.9);
  padding: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

.footer-upper {
  background: #715ba1;
  /* 430:85 Frame 4：1392 宽整体上水平居中 */
  padding: 39.5px clamp(24px, 4vw, 80px) 40px;
  box-sizing: border-box;
  min-height: 298px;
}

.footer-upper-inner {
  max-width: 1920px;
  margin: 0 auto;
}

.footer-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 36px;
  width: 100%;
  max-width: 1392px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  min-height: 0;
}

.footer-brand-wrap {
  box-sizing: border-box;
  flex: 0 0 756px;
  width: 756px;
  max-width: min(756px, 100%);
  min-height: 214px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

@media (max-width: 1400px) {
  .footer-brand-wrap {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }

  .footer-upper {
    padding-left: 48px;
    padding-right: 48px;
    min-height: 0;
  }
}

@media (max-width: 1100px) {
  .footer-upper {
    padding: 32px 24px;
    min-height: 0;
  }

  .footer-top-row {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .footer-links-titles-row {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .footer-right-cluster {
    max-width: 100%;
    gap: 24px;
  }
}

.footer-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0 0 10px;
}

.footer-text {
  font-size: 20px;
  margin: 0 0 6px;
  line-height: 1.4;
}

.footer-meta {
  margin-top: 0;
  background: #4e328a;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  padding: 20px 171px;
  box-sizing: border-box;
}

@media (max-width: 1100px) {
  .footer-meta {
    padding: 20px 24px;
  }

  .footer-meta-inner {
    padding-left: 0;
    padding-right: 0;
  }
}

.footer-icons {
  display: flex;
  gap: 14px;
  margin-top: 18px;
}

.footer-icon {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  background: #5f4695;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.footer-icon img {
  object-fit: contain;
  display: block;
}

/* Figma 388:2 / 336:1066–1072 — 抖音、微信（仅两枚）；图标在 60×60 内偏移与稿一致 */
.footer-social-row .footer-icon {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 9px 0 0 11px;
}
.footer-social-row .footer-icon img {
  width: 42px;
  height: 42px;
}

/* Solutions/About/Contact page common */
.top-hero {
  height: 300px;
  background: linear-gradient(90deg, #4b229a 0%, #3c7cf0 100%);
  position: relative;
  overflow: hidden;
}

.top-hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.top-hero .top-hero-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.top-hero h1 {
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  margin: 0;
  letter-spacing: 4.8px;
}

.content-section {
  padding: 56px 0 70px;
}

/* Products filter */
.products-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.site-filter-btn {
  border: 1px solid rgba(12, 17, 27, 0.12);
  background: #fff;
  color: var(--site-text);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 500;
  cursor: pointer;
}

.site-filter-btn.is-active {
  background: #7e22ce;
  color: #fff;
  border-color: #7e22ce;
}

.products-grid {
  margin: 44px auto 0;
  padding: 0 60px 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 1100px) {
  .products-grid {
    padding: 0 24px 48px;
    grid-template-columns: 1fr 1fr;
  }
}

.products-card {
  border-radius: 10px;
  background: #f9fafb;
  overflow: hidden;
  border: 1px solid rgba(12, 17, 27, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
  text-decoration: none;
}

.products-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(12, 17, 27, 0.12);
}

.products-card .media {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.products-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
}

.products-card .body {
  padding: 18px 18px 22px;
}

.products-card .index {
  font-weight: 700;
  color: #6366f1;
  font-size: 28px;
  line-height: 1;
  margin-bottom: 10px;
}

.products-card .name {
  font-weight: 800;
  color: var(--site-text);
  font-size: 26px;
  line-height: 1.15;
  margin: 0;
}

.products-card .desc {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.4);
}

.is-hidden {
  display: none !important;
}

.top-hero-sub {
  color: #fff;
  margin-top: 10px;
  font-size: 24px;
  letter-spacing: 2.4px;
}

.light-gray-bg {
  background: #f9fafb;
}

.footer-meta-inner {
  width: 100%;
  max-width: 1576px;
  margin: 0 auto;
  padding: 0 83px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 175px;
}

.footer-meta-text {
  font-size: 22px;
  line-height: normal;
  white-space: nowrap;
}

/* Figma 336:1084 等：items-start，左对齐 */
.footer-cols {
  align-self: stretch;
  height: 100%;
  width: 150px;
  max-width: 100%;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 20px;
  justify-content: flex-start;
}

.footer-main-divider {
  border-right: 1px solid #ffffff;
  padding-right: 0;
}

.footer-logo-row {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 30px;
  width: 100%;
}

.footer-message-block {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 509px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-row img {
  width: 217px;
  height: 214px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .footer-main-divider {
    border-right: none !important;
    padding-right: 0;
  }
}

/* Figma 336:1102 message：2 列网格，列间距 8px、行间距 6px */
.footer-contact-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 8px;
  row-gap: 6px;
  align-items: center;
  width: 100%;
  max-width: 509px;
}

.footer-contact-grid img {
  width: 21.077px;
  height: 20px;
  flex-shrink: 0;
  display: block;
}

.footer-contact-grid span {
  font-size: 20px;
  line-height: normal;
  font-weight: 400;
}

/* Left message block — Figma 336-1061 节点 337:2 gap 20px */
.footer-message-block > .footer-title {
  font-size: 30px;
  font-weight: 500;
  line-height: 41px;
  letter-spacing: -1.8px;
  margin: 0 !important;
}

.footer-cols .footer-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

.footer-cols .footer-text {
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
}

/* Figma 388:2 — 434:1740：四标题 + gap 30px + 友链 440:2072 + 网站建设 430:778 */
.footer-right-cluster {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  width: 600px;
  max-width: 100%;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.footer-links-titles-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  width: 100%;
  gap: 0;
}

.footer-nav-title {
  margin: 0;
  padding: 0;
  flex: 0 0 150px;
  width: 150px;
  max-width: 150px;
  box-sizing: border-box;
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  min-height: 30px;
  color: inherit;
}

/* Figma 440:2072 — 友情链接 */
.footer-friendship-link {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  min-height: 30px;
  max-width: 100%;
  margin-top: 120px;
}

.footer-friendship-link a {
  color: inherit;
  text-decoration: none;
  word-break: break-all;
}

.footer-friendship-link a:hover {
  
}

/* Figma 430:778 — 网站建设说明行 */
.footer-site-credit {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 30px;
  min-height: 30px;
  max-width: 100%;
}

.footer-social-row {
  display: flex;
  gap: 0px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

/* 底部图标容器 - 定位基准 */
.footer-icon {
  position: relative;
  display: inline-block;
  margin: 0 12px; /* 图标间距微调 */
  cursor: pointer;
}

/* 二维码悬浮层：放大尺寸、优化样式 */
.footer-icon .qrcode-tip {
  position: absolute;
  bottom: 120%; /* 图标上方距离，避免遮挡 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999; /* 提高层级，确保不被其他元素挡住 */
  background: #ffffff;
  padding: 10px; /* 内边距，给二维码留白边 */
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); /* 更明显的阴影，提升质感 */
  display: none; /* 默认隐藏 */
}

/* 核心：放大二维码图片尺寸 */
.footer-icon .qrcode-tip img {
  width: 140px; /* 从140px放大到200px，可按需调整（180/220都可以） */
  height: auto; /* 等比例缩放，不变形 */
  display: block;
}

/* 鼠标悬浮显示二维码 */
.footer-icon:hover .qrcode-tip {
  display: block;
  animation: fadeIn 0.2s ease-in-out; /* 加淡入动画，更丝滑 */
}

/* 淡入动画，提升体验 */
@keyframes fadeIn {
  from {
	opacity: 0;
	transform: translateX(-50%) translateY(5px);
  }
  to {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
  }
}

/* 给图标加悬浮放大效果，交互更友好 */
.footer-icon > img {
  transition: transform 0.2s ease;
}
.footer-icon:hover > img {
  transform: scale(1.1);
}

.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 58px;
}

.solution-pill {
  display: inline-block;
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 20px;
  font-weight: 700;
}

.solution-pill.orange {
  color: #ce4f1a;
  background: #fff2e3;
}

.solution-pill.blue {
  color: #1d4edd;
  background: #e5f1ff;
}

.solution-title {
  margin: 18px 0 16px;
  font-size: 44px;
  line-height: 1.2;
  font-weight: 800;
  color: #131b3a;
}

.solution-desc {
  font-size: 24px;
  line-height: 1.8;
  color: #000;
}

.solution-metrics {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 198px;
  gap: 16px;
  align-items: start;
}

.solution-check {
  color: #9333ea;
  font-size: 24px;
  line-height: 1.7;
}

.solution-kpi {
  background: #f9fafb;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  padding: 14px 16px;
}

.solution-kpi .num {
  color: #9333ea;
  font-size: 48px;
  font-weight: 600;
}

.solution-kpi .unit {
  color: #9333ea;
  font-size: 24px;
  margin-left: 6px;
}

.solution-kpi .label {
  color: rgba(0, 0, 0, 0.45);
  font-size: 20px;
}

.solution-photo {
  width: 100%;
  border-radius: 10px;
  box-shadow: 4px 6px 8px rgba(0, 0, 0, 0.25);
  display: block;
}

