/* 重置样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Noto Sans SC', 'Noto Sans JP', sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Hero 区域 */
.hero {
  position: relative;
  width: 100%;
  height: calc(92vh - 80px);
  min-height: 724px;
  overflow: hidden;
}

/* 轮播容器 */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* 轮播项 */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg-img,
.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 播放按钮 - 只在视频slide显示 */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s, opacity 0.3s;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-btn img {
  width: 100%;
  height: 100%;
}

.play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

/* 轮播指示器 */
.hero-indicators {
  position: absolute;
  bottom: 40px;
  right: 120px;
  z-index: 15;
  display: flex;
  gap: 12px;
}

.indicator {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s;
}

.indicator.active {
  background: rgba(255, 255, 255, 0.9);
}
/* 顶部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 40px 0;
  transition: background 0.3s, padding 0.3s, backdrop-filter 0.3s;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
}

.header.scrolled {
  background: rgba(32, 32, 47, 0.45);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 20px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 24px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
  transition: opacity 0.3s;
}

.nav-link:hover {
  opacity: 0.8;
}

.consult-btn {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 13px;
  background: rgba(18, 163, 161, 0.54);
  box-shadow: inset 0 0 3px 0 rgba(190, 255, 255, 0.25);
  color: #8dfbfa;
  font-size: 16px;
  text-decoration: none;
  border: none;
  opacity: 0.88;
  transition: background 0.3s;
  white-space: nowrap;
}

.consult-btn:hover {
  background: rgba(18, 163, 161, 0.7);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  cursor: pointer;
  font-family: inherit;
}

.lang-toggle[data-lang="en"] {
  background: rgba(255, 142, 18, 0.78);
  color: #fff2d8;
}

/* 主内容区域 */
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  padding-top: 320px;
}

.hero-subtitle {
  font-size: 26px;
  letter-spacing: 2.6px;
  margin-bottom: 20px;
  font-weight: normal;
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-size: 64px;
  letter-spacing: 6.4px;
  line-height: 1.44;
  font-weight: bold;
}

/* 播放按钮 - 只在视频slide显示 */

/* 播放按钮 - 只在视频slide显示 */
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s, opacity 0.3s;
}

.play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.play-btn img {
  width: 100%;
  height: 100%;
}

.play-btn.hidden {
  opacity: 0;
  pointer-events: none;
}

/* 底部进度条 - 右下角 */
.hero-progress {
  position: absolute;
  bottom: 122px;
  right: 48px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-num {
  font-size: 10px;
  letter-spacing: 1px;
}

.progress-bar {
  width: 483px;
  height: 2px;
  background: rgba(217, 217, 217, 0.3);
  border-radius: 10px;
  position: relative;
}

.progress-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 160px;
  height: 2px;
  background: rgba(217, 217, 217, 0.88);
  border-radius: 10px;
  transition: left 0.8s ease-in-out, width 0.8s ease-in-out;
}

/* 左右切换箭头 */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow-left {
  left: 40px;
}

.hero-arrow-right {
  right: 40px;
}


/* ========== 第五屏：产品及技术获得多方权威认可 ========== */
.certifications {
  position: relative;
  width: 100%;
  min-height: 688px;
  background: #20202F;
  overflow: hidden;
  padding: 69px 0 80px;
}

.certifications-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
}

.certifications-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 标题 */
.certifications-title {
  position: relative;
  z-index: 2;
  font-size: 32px;
  letter-spacing: 3.2px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  margin-bottom: 70px;
}

/* 证书轮播容器 */
.certifications-carousel-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 448px;
  overflow: visible;
  perspective: 1400px;
}

/* 证书轮播轨道 */
.certifications-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
}

/* 证书卡片 - 默认隐藏状态 */
.cert-card {
  position: absolute;
  width: 234px;
  height: 332px;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  cursor: pointer;
  left: 50%;
  top: 50%;
  margin-left: -117px;
  margin-top: -166px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: translateX(0) translateY(0) scale(0.6) translateZ(-300px);
  z-index: 1;
  pointer-events: none;
}

/* 中间卡片 - 最大最亮，居中 */
.cert-card.center {
  width: 316px;
  height: 448px;
  opacity: 1;
  transform: translateX(-50%) translateY(-50%) scale(1) translateZ(80px);
  z-index: 10;
  left: 50%;
  top: 50%;
  margin-left: 0;
  margin-top: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
}

/* 左侧第一张 - 与中间卡片部分重叠 */
.cert-card.left-1 {
  opacity: 0.85;
  transform: translateX(calc(-50% - 220px)) translateY(-50%) scale(0.88) translateZ(20px);
  z-index: 7;
  left: 50%;
  top: 50%;
  margin-left: 0;
  margin-top: 0;
  pointer-events: auto;
}

/* 左侧第二张 */
.cert-card.left-2 {
  opacity: 0.65;
  transform: translateX(calc(-50% - 390px)) translateY(-50%) scale(0.76) translateZ(-60px);
  z-index: 5;
  left: 50%;
  top: 50%;
  margin-left: 0;
  margin-top: 0;
  pointer-events: auto;
}

/* 左侧第三张 */
.cert-card.left-3 {
  opacity: 0.4;
  transform: translateX(calc(-50% - 530px)) translateY(-50%) scale(0.64) translateZ(-140px);
  z-index: 3;
  left: 50%;
  top: 50%;
  margin-left: 0;
  margin-top: 0;
  pointer-events: auto;
}

/* 右侧第一张 - 与中间卡片部分重叠 */
.cert-card.right-1 {
  opacity: 0.85;
  transform: translateX(calc(-50% + 220px)) translateY(-50%) scale(0.88) translateZ(20px);
  z-index: 7;
  left: 50%;
  top: 50%;
  margin-left: 0;
  margin-top: 0;
  pointer-events: auto;
}

/* 右侧第二张 */
.cert-card.right-2 {
  opacity: 0.65;
  transform: translateX(calc(-50% + 390px)) translateY(-50%) scale(0.76) translateZ(-60px);
  z-index: 5;
  left: 50%;
  top: 50%;
  margin-left: 0;
  margin-top: 0;
  pointer-events: auto;
}

/* 右侧第三张 */
.cert-card.right-3 {
  opacity: 0.4;
  transform: translateX(calc(-50% + 530px)) translateY(-50%) scale(0.64) translateZ(-140px);
  z-index: 3;
  left: 50%;
  top: 50%;
  margin-left: 0;
  margin-top: 0;
  pointer-events: auto;
}

/* 隐藏的卡片 */
.cert-card.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(-50%) scale(0.5) translateZ(-300px);
  pointer-events: none;
  z-index: 1;
  left: 50%;
  top: 50%;
  margin-left: 0;
  margin-top: 0;
}

.cert-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 左右切换箭头 */
.cert-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}

.cert-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.cert-arrow-left {
  left: 80px;
}

.cert-arrow-right {
  right: 80px;
}

/* 底部指示器 */
.cert-indicators {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 15px;
}

.cert-indicator {
  width: 29px;
  height: 4px;
  background: rgba(255, 255, 255, 0.17);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s;
}

.cert-indicator.active {
  background: #12A3A1;
}


/* ========== 滚动动画 ========== */
.scroll-animate {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animate.js-scroll-animate {
  opacity: 0;
  transform: translateY(50px);
}

.scroll-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* ========== 第二屏：产品展示 ========== */
.products {
  position: relative;
  width: 100%;
  min-height: 716px;
  background: #C1D8F7;
  overflow: hidden;
}

.products-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.products-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 标题区域 */
.products-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 32px;
  padding-top: 110px;
}

.products-line {
  width: 330px;
  height: 2px;
  background: rgba(217, 217, 217, 0.3);
  border-radius: 10px;
}

.products-title-area {
  text-align: center;
}

.products-title-gradient {
  font-size: 32px;
  letter-spacing: 3.2px;
  background: linear-gradient(to right, #fff, #ff8e12);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  margin-bottom: 8px;
}

.products-subtitle {
  font-size: 32px;
  letter-spacing: 3.2px;
  color: #fff;
  margin-bottom: 10px;
}

.products-number {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 103px;
  letter-spacing: 10.3px;
  color: #384451;
  line-height: 1.05;
  margin-bottom: 10px;
}

.products-desc {
  font-size: 32px;
  letter-spacing: 3.2px;
  color: #384451;
  line-height: 1.8;
}

/* Tab 切换 */
.products-tab {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.tab-bg {
  display: flex;
  align-items: center;
  width: 614px;
  height: 62px;
  border-radius: 31px;
  background: rgba(217, 217, 217, 0.1);
  box-shadow: inset 0 0 6px 0 rgba(255, 255, 255, 0.54);
  overflow: hidden;
  padding: 4px;
}

.tab-btn {
  flex: 1;
  height: 54px;
  border-radius: 31px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  letter-spacing: 1.8px;
  color: #fff;
  cursor: pointer;
  transition: background 0.3s;
}

.tab-btn.active {
  background: #ff8e12;
}

.tab-btn:not(.active):hover {
  background: rgba(255, 255, 255, 0.08);
}

/* 产品卡片 */
.products-cards {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 32px;
  padding: 0 120px;
}

/* Tab 面板切换 */
.tab-panel {
  display: none;
}

.tab-panel.active {
  display: flex;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-card {
  width: 235px;
  height: 358px;
  background: rgba(0, 255, 251, 0.06);
  box-shadow: inset -3px 0 5px 0 rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: all 0.3s;
}

.product-card.card-active {
  background: linear-gradient(to top, rgba(0, 170, 255, 0.48), rgba(126, 216, 215, 0.09) 47%, rgba(0, 255, 251, 0.54));
  box-shadow: inset -3px 0 5px 0 rgba(255, 255, 255, 0.25);
}

/* 图片容器 - 固定高度 */
.card-icon,
.card-image {
  position: relative;
  margin-bottom: 20px;
  transition: opacity 0.3s;
}

/* 默认显示小图标 */
.card-icon {
  width: 76px;
  height: 76px;
  opacity: 1;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* 默认隐藏大图 */
.card-image {
  width: 178px;
  height: 185px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* hover 时隐藏小图标，显示大图 */
.product-card:hover .card-icon,
.product-card.card-active .card-icon {
  opacity: 0;
}

.product-card:hover .card-image,
.product-card.card-active .card-image {
  opacity: 1;
}

.card-name {
  font-size: 18px;
  letter-spacing: 1.8px;
  color: #fff;
  white-space: nowrap;
}

/* 默认隐藏"更多"按钮 */
.card-more-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 6px 24px;
  border-radius: 31px;
  background: #ff8e12;
  color: #fff;
  font-size: 14px;
  letter-spacing: 1.4px;
  text-decoration: none;
  transition: background 0.3s, opacity 0.3s;
  opacity: 0;
}

.card-more-btn:hover {
  background: #e67d00;
}

/* hover 时显示"更多"按钮 */
.product-card:hover .card-more-btn,
.product-card.card-active .card-more-btn {
  opacity: 1;
}


/* 软件系列文字图标 */
.card-icon-text {
  font-size: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
}

#tab-software .product-card:not(.software-card) {
  display: none;
}

#tab-software .software-card {
  justify-content: flex-end;
  padding-bottom: 34px;
}

#tab-software .software-card .card-image {
  opacity: 1;
  pointer-events: auto;
}

.software-card-image {
  position: absolute;
  top: 42px;
  left: 50%;
  width: 148px;
  height: 154px;
  transform: translateX(-50%);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.software-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: rgba(255, 255, 255, 0.0);
}

#tab-software .software-card:hover .card-image,
#tab-software .software-card.card-active .card-image {
  opacity: 1;
  transform: translateX(-50%);
}


/* ========== 第三屏：走进智慧食堂 ========== */
.smart-canteen {
  position: relative;
  width: 100%;
  min-height: 844px;
  background: #fff;
  overflow: hidden;
  padding: 49px 0 0;
}

.smart-canteen-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.smart-canteen-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 标题区域 */
.smart-canteen-header {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 34px;
}

.smart-canteen-title {
  font-size: 32px;
  letter-spacing: 3.2px;
  color: #303839;
  font-weight: bold;
  margin-bottom: 23px;
}

.smart-canteen-subtitle {
  font-size: 16px;
  letter-spacing: 1.6px;
  color: #303839;
}

/* 服务卡片网格 */
.smart-canteen-grid {
  position: relative;
  z-index: 2;
  max-width: 1095px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 195px);
  gap: 47px 152.5px;
  justify-content: center;
  padding: 0 120px;
}

/* 服务卡片 */
.service-card {
  width: 195px;
  height: 206px;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* 左侧图标线条 */
.service-icon {
  position: absolute;
  left: 0;
  top: 36px;
  width: 1px;
  height: 170px;
  background: linear-gradient(180deg, #11A6A4 0%, #12A3A1 100%);
  border-radius: 2px;
}

.service-icon::before {
  content: '';
  position: absolute;
  top: 119px;
  left: 8px;
  width: 9px;
  height: 9px;
  background: #11A6A4;
  border-radius: 50%;
}

.service-icon::after {
  content: '';
  position: absolute;
  top: 115px;
  left: 4px;
  width: 17.2px;
  height: 17.2px;
  border: 2px solid #12A3A1;
  border-radius: 50%;
}

/* 服务内容 */
.service-content {
  margin-left: 36px;
  position: relative;
}

.service-title {
  font-size: 18px;
  letter-spacing: 1.8px;
  color: #FF8E12;
  font-weight: bold;
  margin-bottom: 15px;
  margin-top: 0;
}

/* 内容背景框 */
.service-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 35px;
  width: 159px;
  height: 70px;
  background: rgba(0, 15, 15, 0.2);
  backdrop-filter: blur(9px);
  box-shadow: inset 0px 2px 2px 0px rgba(255, 255, 255, 0.25);
  border-radius: 6px;
  z-index: -1;
}

/* 顶部橙色线条 */
.service-content::after {
  content: '';
  position: absolute;
  left: 0;
  top: 25px;
  width: 159px;
  height: 3px;
  background: rgba(18, 163, 161, 0.2);
  backdrop-filter: blur(9px);
  border-radius: 2px;
}

.service-device {
  font-size: 12px;
  letter-spacing: 1.2px;
  color: #fff;
  margin-bottom: 7px;
  padding-left: 8px;
}

.service-desc {
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 1.2;
  color: rgba(255, 255, 255, 0.66);
  padding-left: 8px;
  max-width: 146px;
}


/* ========== 第四屏：案例展示 ========== */
.case-showcase {
  position: relative;
  width: 100%;
  min-height: 742px;
  background: #20202F;
  background: linear-gradient(180deg, rgba(0, 223, 220, 0.42) 0%, rgba(0, 53, 80, 0.42) 100%);
  overflow: hidden;
  padding: 80px 0 0;
}

.case-showcase-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
}

.case-showcase-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 左侧装饰线 */
.case-left-line {
  position: absolute;
  left: 254px;
  top: 87px;
  width: 0;
  height: 567px;
  border-left: 1px solid rgba(236, 236, 236, 0.2);
  z-index: 1;
}

.case-left-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: var(--case-line-top, 0px);
  width: 0;
  height: 185px;
  border-left: 2px solid #12A3A1;
  transition: top 0.5s ease;
}

/* 标题 */
.case-title {
  position: relative;
  z-index: 2;
  font-size: 32px;
  letter-spacing: 3.2px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  margin-bottom: 50px;
  margin-left: 313px;
}

/* 左侧 Tab 菜单 */
.case-tabs {
  position: absolute;
  left: 121px;
  top: 87px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.case-tab {
  width: 106px;
  height: 184px;
  border-radius: 10px;
  background: rgba(246, 246, 246, 0.18);
  backdrop-filter: blur(20px);
  box-shadow: inset 0px 4px 4px 0px rgba(255, 255, 255, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}

.case-tab span {
  font-size: 16px;
  letter-spacing: 1.6px;
  color: rgba(255, 255, 255, 0.49);
  transition: color 0.3s;
}

.case-tab.active {
  background: rgba(18, 163, 161, 0.87);
}

.case-tab.active span {
  color: #fff;
}

/* 右侧横向轮播容器 */
.case-carousel-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 520px;
  margin-left: 313px;
  overflow: visible;
  perspective: 1200px;
}

.case-group {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.case-group.active {
  opacity: 1;
  pointer-events: auto;
}

/* 横向轮播轨道 */
.case-carousel {
  position: relative;
  width: 100%;
  height: 458px;
}

/* 卡片 - 泳道式布局 */
.case-card {
  position: absolute;
  width: 758px;
  height: 399px;
  border-radius: 23px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.3;
  transform: scale(0.8) translateX(0) rotateY(0deg);
  cursor: pointer;
  left: 50%;
  top: 50%;
  margin-left: -379px;
  margin-top: -199.5px;
}

/* 中间卡片 */
.case-card.center {
  width: 870px;
  height: 458px;
  opacity: 1;
  transform: scale(1) translateX(0) rotateY(0deg) translateZ(0);
  z-index: 10;
  margin-left: -435px;
  margin-top: -229px;
}

/* 左侧第一张 */
.case-card.left-1 {
  opacity: 0.6;
  transform: scale(0.85) translateX(-450px) rotateY(25deg) translateZ(-100px);
  z-index: 5;
}

/* 左侧第二张 */
.case-card.left-2 {
  opacity: 0.3;
  transform: scale(0.75) translateX(-750px) rotateY(35deg) translateZ(-200px);
  z-index: 3;
}

/* 右侧第一张 */
.case-card.right-1 {
  opacity: 0.6;
  transform: scale(0.85) translateX(450px) rotateY(-25deg) translateZ(-100px);
  z-index: 5;
}

/* 右侧第二张 */
.case-card.right-2 {
  opacity: 0.3;
  transform: scale(0.75) translateX(750px) rotateY(-35deg) translateZ(-200px);
  z-index: 3;
}

/* 隐藏的卡片 */
.case-card.hidden {
  opacity: 0;
  transform: scale(0.5) translateX(0) rotateY(0deg) translateZ(-300px);
  pointer-events: none;
  z-index: 1;
}

.case-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 播放按钮 */
.case-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 90px;
  cursor: pointer;
  transition: transform 0.3s;
}

.case-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.case-play-btn circle {
  filter: drop-shadow(0 0 5px rgba(207, 252, 255, 0.5));
}

/* 底部指示器 */
.case-indicators {
  position: absolute;
  bottom: 59px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 15px;
}

.case-indicator {
  width: 29px;
  height: 4px;
  background: rgba(255, 255, 255, 0.17);
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s;
}

.case-indicator.active {
  background: #12A3A1;
}

/* 左右切换箭头 */
.case-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}

.case-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.case-arrow-left {
  left: 260px;
}

.case-arrow-right {
  right: 40px;
}


/* ========== 第六屏：走进米果 ========== */
.about {
  position: relative;
  width: 100%;
  background: #0d1a2e;
  padding: 60px 120px;
  display: flex;
  justify-content: center;
}

.about-inner {
  width: 100%;
  max-width: 1200px;
  border: 1px solid rgba(18, 163, 161, 0.4);
  border-radius: 16px;
  background: rgba(10, 20, 40, 0.6);
  backdrop-filter: blur(10px);
  padding: 56px 64px 48px;
  box-shadow: 0 0 40px rgba(18, 163, 161, 0.08), inset 0 0 60px rgba(18, 163, 161, 0.04);
}

.about-title {
  font-size: 32px;
  letter-spacing: 3.2px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  margin-bottom: 32px;
}

.about-text {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 16px;
}

.about-text:last-of-type {
  margin-bottom: 40px;
}

/* 数据统计卡片行 */
.about-stats {
  display: flex;
  gap: 20px;
}

.about-stat-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(18, 163, 161, 0.25);
  border-radius: 10px;
  padding: 28px 20px 24px;
  text-align: center;
  backdrop-filter: blur(6px);
  transition: background 0.3s, border-color 0.3s;
}

.about-stat-card:hover {
  background: rgba(18, 163, 161, 0.12);
  border-color: rgba(18, 163, 161, 0.5);
}

.stat-number {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 48px;
  color: #12A3A1;
  line-height: 1.1;
  margin-bottom: 10px;
}

.stat-unit {
  font-size: 28px;
  color: #12A3A1;
}

.stat-label {
  font-size: 16px;
  letter-spacing: 1.6px;
  color: rgba(255, 255, 255, 0.8);
}


/* ========== 第七屏：Footer ========== */
.footer {
  width: 100%;
  background: #0d1a2e;
}

/* 第一行：Logo + 社交图标 */
.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 28px 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-en {
  font-size: 10px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

.footer-logo-cn {
  font-size: 18px;
  letter-spacing: 2px;
  color: #12A3A1;
  font-weight: bold;
  line-height: 1.4;
}

.footer-slogan {
  font-size: 14px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 20px;
}

.footer-social {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-social-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
  text-decoration: none;
}

.footer-social-icon:hover {
  background: rgba(18, 163, 161, 0.3);
}

.footer-social-qrcode {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%) translateY(8px);
  width: 120px;
  height: 120px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(12, 28, 35, 0.95);
  border: 1px solid rgba(96, 237, 235, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 20;
}

.footer-social-qrcode::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 12px;
  height: 12px;
  background: rgba(12, 28, 35, 0.95);
  border-right: 1px solid rgba(96, 237, 235, 0.22);
  border-bottom: 1px solid rgba(96, 237, 235, 0.22);
  transform: translateX(-50%) rotate(45deg);
}

.footer-social-qrcode img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #fff;
}

.footer-social-icon:hover .footer-social-qrcode {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* 第二行：导航 + 二维码 */
.footer-mid {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-mid-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 120px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  align-content: flex-start;
  flex: 1;
}

.footer-nav-link {
  font-size: 14px;
  letter-spacing: 1.4px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
}

.footer-nav-link:hover {
  color: #12A3A1;
}

.footer-qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.footer-qrcode-img {
  width: 100px;
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-qrcode-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-qrcode-text {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
  line-height: 1.8;
}

/* 第三行：版权条 */
.footer-bottom {
  background: #12A3A1;
  padding: 14px 120px;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-icp {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  transition: opacity 0.3s;
}

.footer-icp:hover {
  opacity: 0.7;
}


/* ========== 悬浮联系浮标 ========== */
.float-contact {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.float-contact-panel {
  width: 89px;
  background: rgba(255, 255, 255, 0.17);
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
  border-radius: 10px;
  box-shadow: inset 0px 2px 10px 0px rgba(255, 255, 255, 0.54);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 0;
}

.float-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 0;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s;
  width: 100%;
}

.float-item:hover {
  opacity: 0.75;
}

.float-item-phone {
  position: relative;
  overflow: visible;
}

.float-phone-bubble {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  min-width: 150px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(12, 28, 35, 0.92);
  border: 1px solid rgba(96, 237, 235, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 20;
}

.float-phone-bubble::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  width: 12px;
  height: 12px;
  background: rgba(12, 28, 35, 0.92);
  border-top: 1px solid rgba(96, 237, 235, 0.22);
  border-right: 1px solid rgba(96, 237, 235, 0.22);
  transform: translateY(-50%) rotate(45deg);
}

.float-item-phone:hover .float-phone-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.float-item-wechat {
  position: relative;
  overflow: visible;
}

.float-wechat-bubble {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  padding: 12px;
  border-radius: 12px;
  background: rgba(12, 28, 35, 0.94);
  border: 1px solid rgba(96, 237, 235, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 20;
}

.float-wechat-bubble::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  width: 12px;
  height: 12px;
  background: rgba(12, 28, 35, 0.94);
  border-top: 1px solid rgba(96, 237, 235, 0.22);
  border-right: 1px solid rgba(96, 237, 235, 0.22);
  transform: translateY(-50%) rotate(45deg);
}

.float-item-wechat:hover .float-wechat-bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.float-wechat-label {
  font-size: 11px;
  line-height: 1.2;
  color: rgba(186, 255, 255, 0.62);
  white-space: nowrap;
}

.float-wechat-code {
  width: 108px;
  height: 108px;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-wechat-code img{
  width: 100%;
  height: 100%;
}

.float-phone-label {
  font-size: 11px;
  line-height: 1.2;
  color: rgba(186, 255, 255, 0.62);
  white-space: nowrap;
}

.float-phone-number {
  font-size: 16px;
  line-height: 1.2;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.float-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-item span {
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #12A3A1;
  white-space: nowrap;
}

.float-divider {
  width: 70px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.float-top {
  width: 89px;
  height: 48px;
  background: #12A3A1;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background 0.3s, opacity 0.3s;
  opacity: 0;
  pointer-events: none;
}

.float-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.float-top:hover {
  background: #0e8a88;
}
/* ========== 悬浮卡片：算法展示 ========== */
.suspension-cards {
  position: absolute;
  top: calc(92vh - 12px);
  left: 50%;
  transform: translate(-50%, -96%);
  width: 100%;
  max-width: 1440px;
  padding: 0 120px;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 20px;
  z-index: 50;
  pointer-events: none;
}

.suspension-cards > * {
  pointer-events: auto;
  text-align: center;
}

.suspension-card {
  display: block;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: auto;
  aspect-ratio: 180 / 144;
  border-radius: 8.19px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  will-change: transform, box-shadow;
  color: inherit;
  text-decoration: none;
}

.suspension-card:hover {
  transform: scale(1.08) translateY(-5px);
  box-shadow: 0 15px 40px rgba(10, 161, 255, 0.4);
}

/* 增强卡片背景的鼠标经过效果 */
.suspension-card-bg {
  transition: filter 0.3s ease;
}

/* 增强图片的鼠标经过效果 */
.suspension-card-image {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 增强标题的鼠标经过效果 */
.suspension-card-title {
  transition: transform 0.3s ease;
}

.suspension-card-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(49.17px);
  border-radius: 8.19px;
  z-index: 1;
}

/* 渐变背景效果 */
.suspension-card:nth-child(1) .suspension-card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 93% 86%, rgba(43, 11, 253,0.02) 0%, rgba(0, 132, 255, 0) 100%),
  radial-gradient(circle at 15% 16%, rgba(94, 0, 245, 0.2) 0%, rgba(80, 66, 233, 0) 100%);
  border-radius: 8.19px;
  z-index: -1;
}

.suspension-card:nth-child(2) .suspension-card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 93% 86%, rgba(0, 72, 255, 0.02) 0%, rgba(0, 132, 255, 0) 100%),
  radial-gradient(circle at 15% 16%, rgba(0, 245, 241, 0.2) 0%, rgba(80, 66, 233, 0) 100%);
  border-radius: 8.19px;
  z-index: -1;
}

.suspension-card:nth-child(3) .suspension-card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 93% 86%, rgba(11, 253, 225, 0.02) 0%, rgba(0, 132, 255, 0) 100%),
  radial-gradient(circle at 15% 16%, rgba(0, 159, 245, 0.2) 0%, rgba(80, 66, 233, 0) 100%);
  border-radius: 8.19px;
  z-index: -1;
}

.suspension-card:nth-child(4) .suspension-card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 93% 86%, rgba(43, 11, 253, 0.02) 0%, rgba(0, 132, 255, 0) 100%),
  radial-gradient(circle at 15% 16%, rgba(0, 245, 241, 0.2) 0%, rgba(80, 66, 233, 0) 100%);
  border-radius: 8.19px;
  z-index: -1;
}

.suspension-card:nth-child(5) .suspension-card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 93% 86%, rgba(43, 11, 253, 0.02) 0%, rgba(0, 132, 255, 0) 100%),
  radial-gradient(circle at 15% 16%, rgba(0, 245, 241, 0.2) 0%, rgba(80, 66, 233, 0) 100%);
  border-radius: 8.19px;
  z-index: -1;
}

.suspension-card:nth-child(6) .suspension-card-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 93% 86%, rgba(43, 11, 253, 0.02) 0%, rgba(98, 179, 255, 1) 100%),
  radial-gradient(circle at 15% 16%, rgba(0, 245, 208, 0.2) 0%, rgba(80, 66, 233, 0.27) 100%);
  border-radius: 8.19px;
  z-index: -1;
}

/* 内发光效果 */
.suspension-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 10.65px rgba(255, 255, 255, 0.46);
  border-radius: 8.19px;
  pointer-events: none;
}

.suspension-card-icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  opacity: 0.3;
}

.suspension-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 20px;
}

.suspension-card-image {
  position: absolute;
  top: 7.46px;
  left: 50%;
  transform: translateX(-50%);
  width: 104.54px;
  height: 100.29px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 3;
}

.suspension-card-image::before {
  content: '';
  position: absolute;
  inset: 0;
  /*background: rgba(255,255,255,0.54);*/

}

.suspension-card-image img {
  width: 80%;
  height: 80%;
  object-fit: cover;
  /*transform: scale(1.5);*/
  transform-origin: center center;
  text-align: center;
}

.suspension-card-title {
  position: absolute;
  bottom: 18px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  background: linear-gradient(90deg, rgb(8 32 39) 0%, rgb(97 117 123) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  z-index: 4;
  padding: 0 10px;
  white-space: nowrap;
}

.suspension-card-button {
  position: absolute;
  bottom: 72.4px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 69.65px;
  height: 22.75px;
  border-radius: 25.4px;
  background: linear-gradient(90deg, rgba(255, 133, 0, 0) 0%, rgba(255, 139, 11, 1) 49%, rgba(255, 133, 0, 0) 100%);
  border: 0.82px solid;
  border-image: linear-gradient(90deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 1) 45%, rgba(255, 255, 255, 0.2) 100%) 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 11.47px;
  color: #FFFFFF;
  z-index: 5;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, background, box-shadow;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.suspension-card:hover .suspension-card-button,
.suspension-card:focus-within .suspension-card-button {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.suspension-card-button:hover {
  background: linear-gradient(90deg, rgba(255, 133, 0, 0) 0%, rgba(255, 159, 11, 1) 49%, rgba(255, 133, 0, 0) 100%);
  transform: translateX(-50%) translateY(0) scale(1.1);
  box-shadow: 0 0 15px rgba(255, 139, 11, 0.6);
}

/* 响应式调整 */
@media (max-width: 1400px) {
  .suspension-cards {
    gap: 15px;
    padding: 0 80px;
    max-width: 1200px;
  }

  .suspension-card {
    width: 160px;
    height: 128px;
  }

  .suspension-card-image {
    width: 92px;
    height: 88px;
    top: 10px;
    text-align: center;
  }

  .suspension-card-title {
    font-size: 13px;
    bottom: 15px;
  }

  .suspension-card-button {
    width: 62px;
    height: 20px;
    font-size: 10px;
    bottom: 65px;
  }
}

@media (max-width: 1200px) {
  .suspension-cards {
    flex-wrap: nowrap;
    gap: 20px;
    padding: 0 60px;
    max-width: 1000px;
  }
}

@media (max-width: 992px) {
  .suspension-cards {
    padding: 0 40px;
    max-width: 800px;
  }

  .suspension-card-image {
    width: 80px;
    height: 76px;
    top: 12px;
    text-align: center;
  }

  .suspension-card-title {
    font-size: 12px;
    bottom: 12px;
  }

  .suspension-card-button {
    width: 55px;
    height: 18px;
    font-size: 9px;
    bottom: 55px;
  }
}

@media (max-width: 768px) {
  .suspension-cards {
    padding: 0 20px;
    gap: 15px;
    max-width: 600px;
  }

  .suspension-card-image {
    width: 70px;
    height: 66px;
    top: 15px;
  }

  .suspension-card-title {
    font-size: 11px;
    bottom: 10px;
  }

  .suspension-card-button {
    width: 50px;
    height: 16px;
    font-size: 8px;
    bottom: 50px;
  }
}

@media (max-width: 576px) {
  .suspension-cards {
    padding: 0 10px;
    gap: 10px;
    max-width: 400px;
  }

  .suspension-card-image {
    width: 60px;
    height: 56px;
    top: 18px;
  }

  .suspension-card-title {
    font-size: 10px;
    bottom: 8px;
  }

  .suspension-card-button {
    width: 45px;
    height: 14px;
    font-size: 7px;
    bottom: 45px;
  }
}

/* 确保悬浮卡片在所有情况下都显示 */
@media (max-height: 600px) {
  .suspension-cards {
    /* 在小高度屏幕上仍然显示，但调整位置 */
    top: 40% !important;
  }
}

.message-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 300;
}

.message-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.message-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 19, 28, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.message-modal-dialog {
  position: relative;
  width: min(420px, calc(100vw - 32px));
  padding: 32px 24px 24px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(236, 248, 249, 0.96) 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  z-index: 1;
}

.message-modal-dialog.is-shaking {
  animation: messageModalShake 0.42s ease;
}

@keyframes messageModalShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(9px); }
  60% { transform: translateX(-7px); }
  80% { transform: translateX(5px); }
}

.message-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(18, 163, 161, 0.12);
  color: #0b5f60;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.message-modal-title {
  margin: 0 0 20px;
  font-size: 24px;
  color: #10393b;
  text-align: center;
}

.message-modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.message-modal-label {
  font-size: 14px;
  color: #215456;
}

.message-modal-input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(18, 163, 161, 0.24);
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  color: #143a3c;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.message-modal-input:focus {
  border-color: #12A3A1;
  box-shadow: 0 0 0 3px rgba(18, 163, 161, 0.14);
}

.message-modal-textarea {
  min-height: 108px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.6;
  font-family: inherit;
}

.message-modal-submit {
  margin-top: 8px;
  height: 46px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg, #12A3A1 0%, #0d7f7d 100%);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.message-modal-submit:hover {
  opacity: 0.92;
}

.me-project {
  position: relative;
  height: 620px;
  overflow: hidden;
}

.me-project .me-mask {
  position: absolute;
  inset: 0;
  background: rgba(9, 18, 38, 0.42);
  z-index: 1;
}

.me-bg-images {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: blur(12px);
  transform: scale(1.02);
}

.me-project-section-title {
  position: absolute;
  z-index: 2;
  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: #f5f8ff;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 600;
  letter-spacing: 4px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.me-project-con {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 31%;
  transform: translate(-50%, -50%);
  width: min(88vw, 980px);
  text-align: center;
  pointer-events: none;
}

.me-project-tiltle {
  margin: 0;
  font-size: clamp(26px, 3vw, 52px);
  line-height: 1.35;
  color: #fff;
  font-weight: 500;
  letter-spacing: 1px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.me-project-rotation {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(94vw, 1120px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.me-project-rotation .me-project-bolck {
  position: relative;
  height: 210px;
  border-radius: 12px;
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 2px solid transparent;
  box-shadow: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.me-project-rotation .me-project-bolck:hover {
  transform: translateY(-3px);
}

.me-project-rotation .me-project-bolck img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  flex: 0 0 160px;
}

.me-project-active {
  border-color: transparent !important;
  box-shadow: none;
}

.me-project-active img {
  outline: 2px solid #1ec7ca;
  outline-offset: 0;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.24), 0 0 0 1px rgba(30, 199, 202, 0.2);
}

.me-project-number {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  color: #fff;
  font-size: 16px;
  line-height: 30px;
  text-align: center;
  background: rgba(88, 88, 88, 0.18);
  backdrop-filter: blur(4px);
}

.me-mini-title {
  position: static;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  width: 100%;
  height: 2.7em;
  max-height: 2.7em;
  margin-top: 10px;
  padding: 0 8px;
  color: #fff;
  font-size: 15px;
  line-height: 1.35em;
  text-align: center;
  background: transparent;
  flex: 0 0 2.7em;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}

.me-project-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #2eb7bc !important;
  border: none !important;
  overflow: hidden;
}

.me-project-more a {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: clamp(18px, 1.6vw, 26px);
  text-decoration: none;
}

@media (max-width: 991px) {
  .me-project {
    height: auto;
    min-height: 540px;
    padding-bottom: 24px;
  }

  .me-project-con {
    top: 28%;
    width: min(92vw, 760px);
  }

  .me-project-rotation {
    position: relative;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(94vw, 1120px);
    margin: 320px auto 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
  }

  .me-project-rotation .me-project-bolck {
    height: 160px;
  }

  .me-project-rotation .me-project-bolck img {
    height: 118px;
    flex-basis: 118px;
  }

  .me-mini-title {
    height: 2.7em;
    max-height: 2.7em;
    flex-basis: 2.7em;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.35em;
  }
}

@media (max-width: 640px) {
  .me-project {
    min-height: 480px;
  }

  .me-project-con {
    top: 24%;
  }

  .me-project-tiltle {
    font-size: 24px;
  }

  .me-project-rotation {
    width: calc(100vw - 16px);
    margin-top: 260px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }

  .me-project-rotation .me-project-bolck {
    height: 116px;
  }

  .me-project-rotation .me-project-bolck img {
    height: 86px;
    flex-basis: 86px;
  }

  .me-mini-title {
    font-size: 11px;
    padding: 0 4px;
    height: 2.7em;
    max-height: 2.7em;
    flex-basis: 2.7em;
    margin-top: 8px;
    line-height: 1.35em;
  }

  .me-project-number {
    width: 24px;
    height: 24px;
    line-height: 22px;
    font-size: 12px;
    left: 8px;
    top: 8px;
  }

  .me-project-more a {
    font-size: 16px;
  }
}

@media (min-width: 1680px) {
  .hero {
    min-height: 820px;
  }

  .header-inner,
  .hero-content,
  .footer-top-inner,
  .footer-mid-inner {
    max-width: 1720px;
    padding-left: 160px;
    padding-right: 160px;
  }

  .hero-content {
    padding-top: clamp(320px, 28vh, 420px);
  }

  .hero-subtitle {
    font-size: 30px;
  }

  .hero-title {
    font-size: 76px;
    letter-spacing: 7px;
  }

  .hero-progress {
    right: 72px;
    bottom: 136px;
  }

  .progress-bar {
    width: min(36vw, 720px);
  }

  .hero-arrow-left {
    left: 56px;
  }

  .hero-arrow-right {
    right: 56px;
  }

  .suspension-cards {
    top: calc(92vh + 8px);
    max-width: 1720px;
    padding: 0 160px;
    gap: 28px;
  }

  .suspension-card-title {
    font-size: 18px;
  }

  .suspension-card-button {
    width: 82px;
    height: 28px;
    font-size: 13px;
  }

  .products {
    min-height: 780px;
  }

  .products-header {
    gap: 48px;
    padding-top: 128px;
  }

  .products-line {
    width: min(20vw, 420px);
  }

  .products-title-gradient,
  .products-subtitle,
  .smart-canteen-title,
  .about-title {
    font-size: 36px;
  }

  .products-desc {
    font-size: 34px;
  }

  .products-cards {
    max-width: 1760px;
    margin: 40px auto 0;
    padding: 0 160px;
    gap: 12px;
  }

  .product-card {
    width: min(15vw, 272px);
    height: min(24vw, 390px);
  }

  .smart-canteen-grid {
    max-width: 1440px;
    grid-template-columns: repeat(3, minmax(220px, 280px));
    gap: 56px 180px;
    padding: 0 160px 48px;
  }

  .service-card {
    width: 100%;
    height: 220px;
  }

  .about {
    padding: 80px 160px;
  }

  .about-inner {
    max-width: 1440px;
    padding: 64px 72px 56px;
  }
}

@media (min-width: 2200px) {
  .header-inner,
  .hero-content,
  .footer-top-inner,
  .footer-mid-inner,
  .suspension-cards {
    max-width: 1920px;
  }

  .hero-content {
    padding-top: clamp(340px, 30vh, 460px);
  }

  .hero-title {
    font-size: 88px;
  }

  .products-cards {
    max-width: 1920px;
    gap: 20px;
  }

  .product-card {
    width: min(14vw, 296px);
    height: min(23vw, 420px);
  }

  .smart-canteen-grid {
    max-width: 1560px;
    grid-template-columns: repeat(3, minmax(240px, 320px));
    gap: 64px 220px;
  }

  .about-inner {
    max-width: 1560px;
  }
}
