/* =========================================
   home.css — 首页专属样式
   ========================================= */

/* 注册自定义属性，使渐变颜色可动画 */
@property --overlay-c1 {
  syntax: '<color>';
  inherits: false;
  initial-value: rgba(139, 92, 246, 0.6);
}
@property --overlay-c2 {
  syntax: '<color>';
  inherits: false;
  initial-value: rgba(99, 102, 241, 0.3);
}

/* ==========================================
   Hero Section
   ========================================== */
.hero {
  position: relative;
  width: 100%;
  height: 47.5rem;
  overflow: hidden;
  background: #fff url('/static/yunzhi/assets/banenr_bj211-4eaa68af81567b4fe4e2c848c3088fd2.jpg') center center / cover no-repeat;
  background-size: cover;
  transition: background-image 0.6s ease;
}
@media (max-width: 1024px) { .hero { height: 42.5rem; } }
@media (max-width: 640px)  { .hero { height: 34rem; } }
@media (max-width: 480px)  { .hero { height: 30rem; } }

/* 渐变蒙版 — 缓慢变色 */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.2;
  background: linear-gradient(135deg, var(--overlay-c1), var(--overlay-c2));
  animation: overlayShift 10s ease-in-out infinite;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

@keyframes overlayShift {
  0%, 100% {
    --overlay-c1: rgba(139, 92, 246, 0.6);   /* 紫 */
    --overlay-c2: rgba(99, 102, 241, 0.3);    /* 靛蓝 */
  }
  25% {
    --overlay-c1: rgba(59, 130, 246, 0.5);    /* 蓝 */
    --overlay-c2: rgba(167, 139, 250, 0.3);   /* 淡紫 */
  }
  50% {
    --overlay-c1: rgba(168, 85, 247, 0.5);    /* 亮紫 */
    --overlay-c2: rgba(56, 189, 248, 0.25);   /* 天蓝 */
  }
  75% {
    --overlay-c1: rgba(79, 70, 229, 0.5);     /* 深靛 */
    --overlay-c2: rgba(196, 181, 253, 0.3);   /* 薰衣草 */
  }
}

/* Slide wrapper */
.hero__slides {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
}
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* Slide inner content */
.hero__slide-inner {
  max-width: 50rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}
/* 文字初始状态 - 透明且在下方 */
.hero__title {
  font-family: var(--font-sans-en);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero__subtitle {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 37.5rem;
  margin: 0 auto 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  transition-delay: 0.15s;
}
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition-delay: 0.3s;
}

/* 文字动画状态 - 通过 JS 添加此类触发动画 */
.hero__slide.is-animated .hero__title,
.hero__slide.is-animated .hero__subtitle,
.hero__slide.is-animated .hero__buttons {
  opacity: 1;
  transform: translateY(0);
}
.hero__btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 9rem;
  padding: 0.875rem 0;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s;
}
.hero__btn-primary:hover { background: #1f2937; }
.hero__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 9rem;
  padding: 0.875rem 0;
  border-radius: 999px;
  background: #fff;
  color: var(--color-text-primary);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid #d1d5db;
  transition: background 0.2s, border-color 0.2s;
}
.hero__btn-secondary:hover { background: #f9fafb; border-color: #9ca3af; }

/* Pagination dots */
.hero__pagination {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero__dot {
  height: 0.5rem;
  border-radius: 999px;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
  width: 0.5rem;
  padding: 0;
}
.hero__dot.is-active { width: 2.5rem; background: #111827; }
.hero__dot:hover:not(.is-active) { background: #9ca3af; }

/* 主题切换器 */
.hero-theme-switcher {
  display:none;
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 30;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.375rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-theme-btn {
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
  white-space: nowrap;
}
.hero-theme-btn:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
}
.hero-theme-btn.is-active {
  background: rgba(255,255,255,0.9);
  color: #111827;
  font-weight: 600;
}
@media (max-width: 640px) {
  .hero-theme-switcher {
    top: auto;
    bottom: 5rem;
    right: 50%;
    transform: translateX(50%);
  }
  .hero__slide-inner { padding: 0 20px; }
  .hero__subtitle { margin-bottom: 28px; }
}
@media (max-width: 480px) {
  .hero__slide-inner { padding: 0 16px; }
  .hero__subtitle { margin-bottom: 20px; }
  .hero__buttons { gap: 0.625rem; }
}

/* ==========================================
   共用轮播 Section（大模型 / 产品 / 方案）
   ========================================== */
.home-carousel-section {
  padding: 3.75rem 0;
  overflow: hidden;
}
.home-carousel-section--alt { background: rgba(248,250,252,0.6); }
.home-carousel-section--white { background: #fff; }

/* ==========================================
   统一的 Section Header 样式
   ========================================== */
.home-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom:2.5rem;
  gap: 1rem;
}
.home-section-header.on{
  margin-bottom: 0.5rem;
}
.home-section-header__title {
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}
.home-section-header__desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}
.home-section-header__more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0 1.5rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.home-section-header__more:hover {
  background: var(--color-primary);
  color: #fff;
}
.home-section-header__more svg { width: 0.875rem; height: 0.875rem; }
.home-carousel-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-top: 0.25rem;
}
.home-carousel-nav__btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  background: transparent;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.home-carousel-nav__btn:hover:not(:disabled) {
  border-color: #374151;
  color: #111827;
}
.home-carousel-nav__btn:disabled,
.home-carousel-nav__btn.swiper-button-disabled {
  border-color: #e5e7eb;
  color: #d1d5db;
  cursor: not-allowed;
  pointer-events: none;
}
.home-carousel-nav__btn svg { width: 1rem; height: 1rem; }

/* Scroll wrapper - 只做视口裁剪，不裁剪垂直方向（阴影可溢出） */
.home-carousel-scroll {
  overflow: hidden;
  padding: 12px 16px 20px;
  margin: -12px -16px -20px;
}

/* Scroll track - 由 Swiper 管理 transform */
.home-carousel-track {
  display: flex;
}
.home-carousel-item {
  flex-shrink: 0;
  scroll-snap-align: start;
}
/* AI 产品矩阵：卡片固定宽度 320，由 Swiper 按视口自适应能放几张就放几张 */
.home-products-feature-section .home-carousel-item {
  width: 320px;
}

/* ==========================================
   Model Cards - MiniMax 风格渐变卡片
   ========================================== */
.model-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 26.875rem;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.model-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 渐变卡片样式 */
.model-card--gradient {
  position: relative;
}

.model-card__gradient-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* 图片背景卡片样式 */
.model-card--image {
  position: relative;
}

.model-card__img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
}

.model-card--image .model-card__content {
  background: rgba(247,247,247,0.95);
  padding-top: 1.5rem;
  color: #1f2937;
}

/* 图片区域大标题 */
.model-card__img-headline {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 1.5rem;
  z-index: 5;
  font-size: clamp(1.25rem, 5vw, 2.25rem);
  font-weight: 700;
  color: rgba(30, 40, 80, 0.72);
  letter-spacing: 0.06em;
  line-height: 1;
  pointer-events: none;
}

.model-card--image .model-card__title {
  text-shadow: none;
  font-size: 1.25rem;
}

.model-card--image .model-card__subtitle {
  opacity: 0.7;
  font-size: 0.875rem;
}

/* 大模型矩阵配色：浅色系为主，深色系为辅，统一在紫蓝色谱内 */
/* 承接Banner淡雅紫蓝，自然过渡至下方AI产品矩阵的极浅色底 */
.model-card--medical .model-card__gradient-bg {
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 60%, #7dd3fc 100%);
}

.model-card--asr .model-card__gradient-bg {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 60%, #93c5fd 100%);
}

.model-card--tts .model-card__gradient-bg {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 60%, #c4b5fd 100%);
}

.model-card--ocr .model-card__gradient-bg {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 60%, #a5b4fc 100%);
}

.model-card--shanhai .model-card__gradient-bg {
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 60%, #c4b5fd 100%);
}

.model-card--clone .model-card__gradient-bg {
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 60%, #ddd6fe 100%);
}

/* 装饰图形 */
.model-card__deco {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

/* 标签 */
.model-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(8px);
  color: #374151;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.6);
}

.model-card__badge--new {
  background: rgba(255,255,255,0.9);
  color: #1f2937;
}

/* 卡片内容 */
.model-card__content {
  position: relative;
  z-index: 10;
  margin-top: auto;
  padding: 1.5rem;
  color: #1f2937;
}

.model-card__title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  white-space: nowrap;
}

.model-card__subtitle {
  font-size: 0.875rem;
  opacity: 0.85;
  font-weight: 500;
}

/* 旧版卡片兼容 */
.model-card__image {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.model-card__new {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #fff;
  color: #374151;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  letter-spacing: 0.1em;
  box-shadow: var(--shadow-sm);
}

.model-card__type-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(255,255,255,0.85);
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

.model-card__body {
  padding: 1rem 1.25rem;
}

.model-card__name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.375rem;
}

.model-card__name {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

.model-card__arrow {
  width: 1rem;
  height: 1rem;
  color: #d1d5db;
  transition: color 0.2s;
}

.model-card:hover .model-card__arrow { color: #6b7280; }

.model-card__desc {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================
   Product Cards (colored vertical)
   ========================================== */
.product-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 26.875rem;
  cursor: pointer;
  user-select: none;
  display: block;
  text-decoration: none;
}
.product-card__bg {
  position: absolute;
  inset: 0;
}
.product-card__new {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,255,255,0.9);
  color: #1f2937;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  z-index: 1;
  letter-spacing: 0.08em;
}
.product-card__dot {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  z-index: 1;
}
.product-card__ring-1 {
  position: absolute;
  top: 2rem;
  left: 50%;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  border: 0.0625rem solid rgba(255,255,255,0.2);
  transform: translateX(-50%);
  z-index: 1;
}
.product-card__ring-2 {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  border: 0.0625rem solid rgba(255,255,255,0.1);
  transform: translateX(-50%);
  z-index: 1;
}
.product-card__name {
  position: absolute;
  top: 3rem;
  left: 1.25rem;
  right: 1.25rem;
  font-size: clamp(1.125rem, 4.5vw, 1.875rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  z-index: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.product-card__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-card__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.product-card__arrow-circle {
  margin-left: 0.75rem;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 0.0625rem solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.product-card:hover .product-card__arrow-circle { background: rgba(255,255,255,0.2); }
.product-card__arrow-circle svg { width: 0.875rem; height: 0.875rem; color: #fff; }

/* 图片背景卡片样式 - 智谱风格 */
.product-card--image .product-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.product-card--image .product-card__footer--dark {
  background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.8) 60%, transparent 100%);
  padding-top: 3rem;
}
.product-card--image .product-card__desc--dark {
  color: #374151;
  font-weight: 500;
}
.product-card--image .product-card__arrow-circle--dark {
  border-color: rgba(55, 65, 81, 0.4);
}
.product-card--image .product-card__arrow-circle--dark svg {
  color: #374151;
}
.product-card--image:hover .product-card__arrow-circle--dark {
  background: rgba(55, 65, 81, 0.1);
}

/* ==========================================
   Solutions Cards - MiniMax 风格渐变卡片
   ========================================== */
.solution-card {
  border-radius: var(--radius-xl);
  height: 26.875rem;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: all .3s cubic-bezier(0, 0, .5, 1);
}

.solution-card:hover {
  box-shadow: 2px 4px 16px #00000029;
  transform: scale3d(1.01, 1.01, 1.01);
}

/* 渐变卡片样式 */
.solution-card--gradient {
  position: relative;
}

.solution-card__gradient-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

/* 图片背景卡片样式 */
.solution-card--image {
  position: relative;
  height: auto;
  background: #fff;
  border: 1px solid #f0f0f0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.solution-card--image:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  transform: translateY(-3px);
}

.solution-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.solution-card__img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.solution-card--image:hover .solution-card__img-bg {
  transform: scale(1.04);
}

/* 内容区 — 纯白，结构化布局 */
.solution-card--image .solution-card__content {
  background: #fff;
  padding: 1.125rem 1.25rem 1.25rem;
  color: #1f2937;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* badge — 彩色填充，内容区左上 */
.solution-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  margin-bottom: 0.625rem;
}
.solution-card__badge--medical  { background: #dcfce7; color: #15803d; }
.solution-card__badge--transport { background: #dbeafe; color: #1d4ed8; }
.solution-card__badge--cockpit  { background: #f3e8ff; color: #7e22ce; }
.solution-card__badge--marketing { background: #fff7ed; color: #c2410c; }
.solution-card__badge--edu      { background: #fef9c3; color: #a16207; }
.solution-card__badge--iot      { background: #e0f2fe; color: #0369a1; }

.solution-card--image .solution-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  margin: 0 0 0.5rem;
}

.solution-card--image .solution-card__subtitle {
  font-size: 0.8125rem;
  line-height: 1.65;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 0.875rem;
  flex: 1;
}

/* 了解方案链接 */
.solution-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  transition: gap 0.2s;
}
.solution-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}
.solution-card--image:hover .solution-card__link {
  gap: 7px;
}
.solution-card--image:hover .solution-card__link svg {
  transform: translateX(2px);
}



/* 各场景渐变配色 */
.solution-card--medical .solution-card__gradient-bg {
  background: linear-gradient(135deg, #14b8a6 0%, #0d9488 50%, #0f766e 100%);
}

.solution-card--transport .solution-card__gradient-bg {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #4338ca 100%);
}

.solution-card--cockpit .solution-card__gradient-bg {
  background: linear-gradient(135deg, #ec4899 0%, #db2777 50%, #be185d 100%);
}

.solution-card--marketing .solution-card__gradient-bg {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 50%, #c2410c 100%);
}

.solution-card--academy .solution-card__gradient-bg {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #0369a1 100%);
}

/* 装饰图形 */
.solution-card__deco {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

/* 标签 */
.solution-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  background: rgba(255,255,255,0.95);
  color: #111827;
  font-size: 12px;
  line-height: 22px;
  font-weight: 400;
  padding: 0 10px;
  height: 22px;
  min-width: 48px;
  text-align: center;
  border-radius: 999px;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 卡片内容 */
.solution-card__content {
  position: relative;
  z-index: 10;
  margin-top: auto;
  padding: 1.5rem;
  color: #fff;
}

.solution-card__title {
  font-family: var(--font-sans-en);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.solution-card__subtitle {
  font-family: var(--font-sans-en);
  font-size: 0.875rem;
  opacity: 0.9;
  font-weight: 500;
}

/* 旧版兼容 */
.solution-card__image {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  overflow: hidden;
}
.solution-card__overlay {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}
.solution-card__icon {
  position: relative;
  z-index: 1;
  width: 6rem;
  height: 6rem;
  border-radius: 1.5rem;
  opacity: 0.6;
}
.solution-card__body {
  
}
.solution-card__name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.375rem;
}
.solution-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-primary);
  transition: color 0.2s;
}
.solution-card:hover .solution-card__name { color: var(--color-primary); }
.solution-card__arrow {
  width: 1rem;
  height: 1rem;
  color: #9ca3af;
  transition: color 0.2s;
}
.solution-card:hover .solution-card__arrow { color: var(--color-primary); }

/* ==========================================
   Logo Scroll Wall
   ========================================== */
.home-logo-section {
  padding: 3.75rem 0;
}
.logo-scroll-wrapper {
  position: relative;
  overflow: hidden;
}
.logo-scroll-row {
  position: relative;
  overflow: visible;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}
.logo-scroll-row:last-child { margin-bottom: 0; }
.logo-scroll-track {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: max-content;
}
.logo-scroll-track--left  { animation: logoLeft  80s linear infinite; }
.logo-scroll-track--right { animation: logoRight 100s linear infinite; }
.logo-scroll-track--left2 { animation: logoLeft  120s linear infinite; }
.logo-scroll-track:hover  { animation-play-state: paused; }
@keyframes logoLeft  { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }
@keyframes logoRight { from { transform: translateX(-33.333%); } to { transform: translateX(0); } }

.logo-item {
  flex-shrink: 0;
  width: 13rem;
  height: 5rem;
  background: #fff;
  border: 0.0625rem solid #f3f4f6;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo-item:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.625rem 1.5rem -0.25rem rgba(0, 0, 0, 0.08), 0 0.25rem 0.5rem -0.125rem rgba(0, 0, 0, 0.04);
}
.logo-item img {
  max-height: 2.5rem;
  max-width: 9rem;
  object-fit: contain;
  opacity: 1;
}
.logo-fade-left {
  position: absolute;
  inset-y: 0;
  left: 0;
  width: 8rem;
  background: linear-gradient(to right, rgba(248,250,252,1), transparent);
  pointer-events: none;
  z-index: 1;
}
.logo-fade-right {
  position: absolute;
  inset-y: 0;
  right: 0;
  width: 8rem;
  background: linear-gradient(to left, rgba(248,250,252,1), transparent);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================
   Company / Stats Section
   ========================================== */
.home-company-section {
  padding: 3.75rem 0;
  background: #fff;
}

/* 上半：左标题区 + 右两段文字 */
.home-company-top {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem 4rem;
  align-items: start;
  margin-bottom: 2rem;
}
@media (max-width: 1024px) {
  .home-company-top { grid-template-columns: 1fr; gap: 1.5rem; }
}

.home-company-name {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 0.625rem;
  line-height: 1.2;
}
.home-company-slogan {
  font-size: 0.9375rem;
  color: var(--color-primary);
  font-weight: 500;
  line-height: 1.6;
}

.home-company-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.home-company-text p {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin: 0;
}

/* 分割线 */
.home-company-divider {
  height: 1px;
  background: #e5e7eb;
  margin-bottom: 2rem;
}

/* 下半：四项数据横排，竖线分隔 */
.home-company-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 640px) {
  .home-company-stats { grid-template-columns: repeat(2, 1fr); row-gap: 1.5rem; }
}

.home-company-stat {
  padding: 0.25rem 2rem 0.25rem 0;
  border-right: 1px solid #e5e7eb;
  text-align: left;
}
.home-company-stat:last-child {
  border-right: none;
  padding-left: 2rem;
  padding-right: 0;
}
.home-company-stat:not(:first-child):not(:last-child) {
  padding-left: 2rem;
}
@media (max-width: 640px) {
  .home-company-stat { border-right: none; padding: 0; }
}

.home-company-stat__value {
  font-family: var(--font-num);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.1;
  margin-bottom: 0.375rem;
}
.home-company-stat__label {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  font-weight: 400;
}
.home-company-stat__note {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 400;
  line-height: 1.5;
  margin-top: 0.375rem;
}

/* ==========================================
   Home News Section
   ========================================== */
.home-news-section {
  padding: 3.75rem 0;
  background: rgba(248,250,252,0.6);
}
.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1024px) { .home-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .home-news-grid { grid-template-columns: 1fr; } }

.home-news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0.0625rem solid #f3f4f6;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  transition: all .3s cubic-bezier(0, 0, .5, 1);
}
.home-news-card:hover {
  border-color: rgba(26,79,196,0.3);
  box-shadow: 2px 4px 16px #00000029;
  transform: scale3d(1.005, 1.005, 1.005);
}
.home-news-card__image {
  overflow: hidden;
  background: var(--color-bg-muted);
}
.home-news-card__image img {
  width: 100%;
  height: 100%;
}
.home-news-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.home-news-card__date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 400;
  margin-bottom: 0.625rem;
}
.home-news-card__title {
  font-family: var(--font-sans-en);
  font-size: 1.25rem; /* 20px */
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1.4;
  height: calc(1.25rem * 1.4 * 2);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}
.home-news-card:hover .home-news-card__title { color: var(--color-primary); }
.home-news-card__excerpt {
  font-family: var(--font-sans-en);
  font-size: 0.875rem; /* 14px */
  color: var(--color-text-secondary);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.home-news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 0.0625rem solid #f3f4f6;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-accent);
}
.home-news-card__link svg { width: 0.875rem; height: 0.875rem; }

/* ==========================================
   CTA Section
   ========================================== */
/* 注意：.home-cta 样式已移至 components.css，供全站共用 */

/* ==========================================
   大模型矩阵 V2 - MiniMax风格卡片
   ========================================== */

/* 大模型矩阵专用区域样式 */
.home-models-section {
  padding: 3.75rem 0;
  background: #f8fafc;
  overflow: hidden;
}

/* 卡片容器 — perspective 外壳 */
.model-card-v2 {
  position: relative;
  border-radius: 20px;
  height: 430px;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  perspective: 1000px;
}

/* 正面 */
.model-card-v2 .flip-front {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform .7s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
}

/* 背面：初始旋转 180deg 藏在背后 */
.model-card-v2 .flip-back {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: rotateY(180deg);
  transition: transform .7s cubic-bezier(.4, 0, .2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 26px;
  /* 默认背景，各模型类覆盖 */
  background: linear-gradient(135deg, #1e3a5f, #0a1929);
}

/* 悬停：正面翻走，背面翻来 */
.model-card-v2:hover .flip-front {
  transform: rotateY(-180deg);
}
.model-card-v2:hover .flip-back {
  transform: rotateY(0deg);
}

/* 背景图容器 */
.model-card-v2__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.model-card-v2__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 渐变遮罩 */
.model-card-v2__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.35) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.05) 60%,
    transparent 80%
  );
}

/* ---- 背面内容样式 ---- */
.fb-tag {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: rgba(255,255,255,.6);
}
.fb-title {
  font-family: var(--font-sans-en);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.1;
}
.fb-ver {
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255,255,255,.5);
  margin-bottom: 18px;
}
.fb-desc {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255,255,255,.75);
  margin-bottom: 22px;
  flex: 1;
}
.fb-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.fb-stat {
  text-align: center;
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,.1);
}
.fb-stat-val {
  font-family: var(--font-num);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.fb-stat-lbl {
  font-size: 10px;
  margin-top: 3px;
  letter-spacing: 1px;
  color: rgba(255,255,255,.55);
}
.fb-link {
  display: block;
  text-align: center;
  padding: 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: opacity .2s;
}
.fb-link:hover { opacity: .82; }

/* 遮罩保持不变，无hover变化 */

/* NEW标签 - 右上角 */
.model-card-v2__badge-new {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  background: rgba(255,255,255,0.95);
  color: #111827;
  font-size: 12px;
  line-height: 22px;
  font-weight: 700;
  padding: 0 10px;
  height: 22px;
  min-width: 48px;
  text-align: center;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* 内容容器 - 左下角定位 */
.model-card-v2__content {
  position: relative;
  z-index: 3;
  margin-top: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* 大标题区 - MiniMax风格 */
.model-card-v2__headline {
  font-family: var(--font-sans-en);
  margin-bottom: auto;
  padding-bottom: 60px;
}

.model-card-v2__model {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.model-card-v2__version {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* 底部信息行：desc + arrow 同行 */
.model-card-v2__footer {
  display: flex;
  /*align-items: flex-end;*/
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}

/* 完整名称 + 标签 */
.model-card-v2__fullname {
  font-family: var(--font-sans-en);
  font-size: 1.25rem; /* 20px */
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 8px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.model-card-v2__fullname-icon {
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.model-card-v2__tag {
  display: inline-block;
  vertical-align: top;
  background: rgba(0,0,0,0.35);
  padding: 0.1875rem 0.5rem; /* 3px 8px */
  border-radius: 0.25rem; /* 4px */
  font-size: 0.6875rem; /* 11px */
  font-weight: 500;
  margin-left: 0.375rem; /* 6px */
  margin-top: 0.1875rem; /* 3px */
  letter-spacing: 0.02em;
}

/* 描述文字 - 固定两行 */
.model-card-v2__desc {
  font-size: 0.875rem; /* 14px */
  line-height: 1.6;
  height: calc(0.875rem * 1.6 * 2); /* 固定高度 = 14px * 1.6 * 2行 */
  opacity: 0.92;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 箭头按钮 - 白底黑箭头 */
.model-card-v2__arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.model-card-v2__arrow svg {
  width: 13px;
  height: 13px;
  stroke: #111;
  stroke-width: 2.5;
}

/* ==========================================
   各模型专属配色微调 + 背面渐变色
   ========================================== */

/* 正面 text-shadow */
.model-card-v2--ocr  .model-card-v2__model,
.model-card-v2--ocr  .model-card-v2__version { text-shadow: 0 2px 8px rgba(99,102,241,0.5); }
.model-card-v2--asr  .model-card-v2__model,
.model-card-v2--asr  .model-card-v2__version { text-shadow: 0 2px 8px rgba(59,130,246,0.5); }
.model-card-v2--tts  .model-card-v2__model,
.model-card-v2--tts  .model-card-v2__version { text-shadow: 0 2px 8px rgba(139,92,246,0.5); }
.model-card-v2--clone .model-card-v2__model,
.model-card-v2--clone .model-card-v2__version { text-shadow: 0 2px 8px rgba(236,72,153,0.5); }
.model-card-v2--medical .model-card-v2__model,
.model-card-v2--medical .model-card-v2__version { text-shadow: 0 2px 8px rgba(16,185,129,0.5); }

/* 各模型背面渐变色 */
.model-card-v2--ocr    .flip-back { background: linear-gradient(135deg, #1e3a5f, #0a1929); }
.model-card-v2--asr    .flip-back { background: linear-gradient(135deg, #1a2e4a, #071422); }
.model-card-v2--tts    .flip-back { background: linear-gradient(135deg, #2d1b4e, #0e0820); }
.model-card-v2--clone  .flip-back { background: linear-gradient(135deg, #3d1a3a, #150010); }
.model-card-v2--medical .flip-back { background: linear-gradient(135deg, #1a3325, #060f0a); }

/* 各模型 fb-tag / fb-ver / fb-link 主题色 */
.model-card-v2--ocr    .fb-tag, .model-card-v2--ocr    .fb-ver { color: #60a5fa; }
.model-card-v2--ocr    .fb-link { background: #2563eb; }
.model-card-v2--asr    .fb-tag, .model-card-v2--asr    .fb-ver { color: #7dd3fc; }
.model-card-v2--asr    .fb-link { background: #0284c7; }
.model-card-v2--tts    .fb-tag, .model-card-v2--tts    .fb-ver { color: #c084fc; }
.model-card-v2--tts    .fb-link { background: #9333ea; }
.model-card-v2--clone  .fb-tag, .model-card-v2--clone  .fb-ver { color: #f0abfc; }
.model-card-v2--clone  .fb-link { background: #a21caf; }
.model-card-v2--medical .fb-tag, .model-card-v2--medical .fb-ver { color: #4ade80; }
.model-card-v2--medical .fb-link { background: #16a34a; }

/* ==========================================
   响应式适配
   ========================================== */

@media (max-width: 768px) {
  .model-card-v2 { height: 360px; }
  .model-card-v2__content { padding: 20px; }
  .model-card-v2__headline { padding-bottom: 40px; }
  .model-card-v2__model, .model-card-v2__version { font-size: 32px; }
  .fb-title { font-size: 24px; }
  .flip-back { padding: 22px 20px; }
}

@media (max-width: 480px) {
  .model-card-v2 {
    height: 300px;
  }
  
  .model-card-v2__model,
  .model-card-v2__version {
    font-size: 26px;
  }
}

/* ==========================================
   AI产品矩阵 V2 - 智谱风格
   ========================================== */

/* 产品矩阵区域 */
.home-products-section {
  padding: 3.75rem 0;
  background: #fff;
  overflow: hidden;
}

/* 产品卡片 V2 */
/* AI产品矩阵 - 纯图片卡片：固定 320 x 420 */
.product-card-v2 {
  display: block;
  position: relative;
  width: 320px;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
}


.product-card-v2__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.product-card-v2 {
  transition: all .3s cubic-bezier(0, 0, .5, 1);
}

.product-card-v2:hover {
  box-shadow: 2px 4px 24px #00000029;
  transform: scale3d(1.01, 1.01, 1.01);
}

/* 移动端固定高度已移除，卡片由图片原始尺寸撑开 */

/* ==========================================
   大模型矩阵 Tab + Grid 布局
   ========================================== */

.hm-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.hm-header__left { flex: 1; min-width: 0; }

.hm-tabs {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.25rem;
  flex-shrink: 0;
}
.hm-tab {
  padding: 0.4375rem 1rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.hm-tab:hover { color: #111827; }
.hm-tab.is-active {
  background: #111827;
  color: #fff;
}

.hm-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.hm-grid__item {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.hm-grid__item.is-hidden {
  display: none;
}

.hm-footer {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.hm-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.6875rem 2rem;
  border-radius: 999px;
  border: 1.5px solid #d1d5db;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.hm-footer__link:hover {
  border-color: #111827;
  color: #111827;
  background: #f9fafb;
}
.hm-footer__link svg { width: 0.875rem; height: 0.875rem; }

@media (max-width: 1380px) and (min-width: 1025px) {
  .hm-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .hm-grid { grid-template-columns: repeat(2, 1fr); }
  .hm-tabs { gap: 0.25rem; }
  .hm-tab { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }
}
@media (max-width: 640px) {
  .hm-header { flex-direction: column; align-items: flex-start; }
  .hm-tabs { overflow-x: auto; width: 100%; border-radius: 12px; padding: 0.25rem 0.375rem; }
  .hm-grid { grid-template-columns: 1fr; }
}

/* ==========================================
   AI产品矩阵 — 新版布局
   ========================================== */

.hp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.hp-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1.25rem;
}

/* 通用卡片壳 */
.hp-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hp-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hp-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.70) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.05) 75%,
    transparent 100%
  );
  z-index: 1;
}

.hp-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  background: rgba(255,255,255,0.95);
  color: #111827;
  font-size: 11px;
  font-weight: 700;
  padding: 0 10px;
  height: 22px;
  line-height: 22px;
  border-radius: 999px;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.hp-card__body {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 1.5rem;
  color: #fff;
}

.hp-card__meta {
  margin-bottom: 0.5rem;
}

.hp-card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.hp-card__tag--blue   { background: rgba(59,130,246,0.3); color: #bfdbfe; border: 1px solid rgba(96,165,250,0.4); }
.hp-card__tag--purple { background: rgba(139,92,246,0.3); color: #ddd6fe; border: 1px solid rgba(167,139,250,0.4); }
.hp-card__tag--green  { background: rgba(16,185,129,0.3); color: #a7f3d0; border: 1px solid rgba(52,211,153,0.4); }
.hp-card__tag--orange { background: rgba(249,115,22,0.3); color: #fed7aa; border: 1px solid rgba(251,146,60,0.4); }

.hp-card__name {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.625rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hp-card__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  opacity: 0.85;
  margin-bottom: 1.125rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hp-card__actions {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}
.hp-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5625rem 1.375rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.hp-card__btn--primary {
  background: #fff;
  color: #111827;
  border: 1.5px solid #fff;
}
.hp-card__btn--primary:hover { background: #f3f4f6; }
.hp-card__btn--ghost {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.hp-card__btn--ghost:hover { background: rgba(255,255,255,0.25); }

.hp-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s, gap 0.2s;
}
.hp-card__link svg { width: 14px; height: 14px; }
.hp-card:hover .hp-card__link { color: #fff; gap: 7px; }

/* 大卡尺寸 */
.hp-card--featured {
  height: 440px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hp-card--featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

/* 标准卡 */
.hp-card--std {
  height: 210px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hp-card--std:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}
.hp-card--std .hp-card__name { font-size: 1.125rem; }
.hp-card--std .hp-card__body { padding: 1.125rem 1.25rem; }

/* 小卡横排 */
.hp-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.hp-mini {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 14px;
  padding: 1rem 1.125rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.hp-mini:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-1px);
}
.hp-mini__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hp-mini__icon img { opacity: 0.7; }
.hp-mini__content { flex: 1; min-width: 0; }
.hp-mini__top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.hp-mini__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
}
.hp-mini__tag {
  font-size: 10px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}
.hp-mini__tag--blue   { background: #dbeafe; color: #1d4ed8; }
.hp-mini__tag--purple { background: #ede9fe; color: #6d28d9; }
.hp-mini__tag--green  { background: #dcfce7; color: #15803d; }
.hp-mini__tag--orange { background: #fff7ed; color: #c2410c; }
.hp-mini__desc {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hp-mini__arrow {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.hp-mini__arrow svg { width: 14px; height: 14px; }
.hp-mini:hover .hp-mini__arrow {
  border-color: #111827;
  color: #111827;
  background: #f9fafb;
}

@media (max-width: 1200px) {
  .hp-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .hp-layout { grid-template-columns: 1fr; }
  .hp-side { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .hp-card--featured { height: 360px; }
  .hp-card--std { height: 240px; }
}
@media (max-width: 640px) {
  .hp-side { grid-template-columns: 1fr; }
  .hp-row { grid-template-columns: 1fr; }
  .hp-card--featured { height: 320px; }
  .hp-card--std { height: 200px; }
}

/* ==========================================
   场景落地 — 左Tab + 右展示 联动面板
   ========================================== */

.home-scene-section {
  padding: 3.75rem 0;
  background: rgba(248,250,252,0.6);
}

.hs-panel {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* 左侧 Tab 列表 */
.hs-tabs {
  display: flex;
  flex-direction: column;
  padding: 0.5rem;
  gap: 0.25rem;
  border-right: 1px solid #f0f0f0;
  background: #fafafa;
}
.hs-tab {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-radius: 12px;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, color 0.2s;
  color: #4b5563;
}
.hs-tab:hover { background: #f3f4f6; color: #111827; }
.hs-tab.is-active {
  background: #111827;
  color: #fff;
}
.hs-tab__icon { font-size: 1.125rem; flex-shrink: 0; line-height: 1; }
.hs-tab__label { flex: 1; font-size: 0.9375rem; font-weight: 500; }
.hs-tab__arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.2s;
}
.hs-tab.is-active .hs-tab__arrow { opacity: 1; }

/* 右侧展示区 */
.hs-display {
  overflow: hidden;
}
.hs-pane {
  display: none;
  grid-template-columns: 1fr 1fr;
}
.hs-pane.is-active {
  display: grid;
  animation: hsPaneFade 0.35s ease;
}
@keyframes hsPaneFade {
  from { opacity: 0; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.hs-pane__img-wrap {
  position: relative;
  overflow: hidden;
}
.hs-pane__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}
.hs-pane:hover .hs-pane__img { transform: scale(1.04); }

.hs-pane__info {
  display: flex;
  flex-direction: column;
  padding: 2.25rem 2rem;
}

.hs-pane__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}
.hs-pane__badge--medical   { background: #dcfce7; color: #15803d; }
.hs-pane__badge--transport { background: #dbeafe; color: #1d4ed8; }
.hs-pane__badge--cockpit   { background: #f3e8ff; color: #7e22ce; }
.hs-pane__badge--marketing { background: #fff7ed; color: #c2410c; }
.hs-pane__badge--edu       { background: #fef9c3; color: #a16207; }
.hs-pane__badge--iot       { background: #e0f2fe; color: #0369a1; }

.hs-pane__title {
  font-size: 1.625rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.875rem;
  line-height: 1.25;
}
.hs-pane__desc {
  font-size: 0.9375rem;
  color: #4b5563;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.hs-pane__features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.hs-pane__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.6;
}
.hs-pane__features li::before {
  content: '✓';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.hs-pane__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
  transition: gap 0.2s;
}
.hs-pane__cta svg { width: 14px; height: 14px; transition: transform 0.2s; }
.hs-pane__cta:hover { gap: 0.625rem; }
.hs-pane__cta:hover svg { transform: translateX(3px); }

@media (max-width: 1024px) {
  .hs-panel { grid-template-columns: 180px 1fr; }
  .hs-pane__info { padding: 1.75rem 1.5rem; }
  .hs-pane__title { font-size: 1.375rem; }
}
@media (max-width: 768px) {
  .hs-panel {
    grid-template-columns: 1fr;
    border-radius: 16px;
  }
  .hs-tabs {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 0.5rem 0.75rem;
    gap: 0.375rem;
    -webkit-overflow-scrolling: touch;
  }
  .hs-tab {
    flex-shrink: 0;
    padding: 0.5rem 0.875rem;
    gap: 0.375rem;
  }
  .hs-tab__arrow { display: none; }
  .hs-pane { grid-template-columns: 1fr; }
  .hs-pane__img-wrap { height: 200px; }
  .hs-pane__info { padding: 1.25rem; }
}
