/* 仅首页：浅色实验室底 + 霓虹粉点缀。不改文案，覆盖 index.css 的深色主题。 */

body.home-lab {
  --lab-bg: #f9f9f9;
  --lab-surface: #ffffff;
  --lab-tint: #f3f3f4;
  --lab-ink: #1a1c1c;
  --lab-muted: #666666;
  --lab-heavy: #333333;
  --lab-pink: #ff2d78;
  --lab-pink-deep: #b7004f;
  --lab-cyan: #00ffcc;
  --lab-yellow: #ffe04a;
  --lab-night: #0a0a12;
  --lab-border: rgba(26, 28, 28, 0.1);
  --lab-glow: 0 10px 30px -10px rgba(255, 45, 120, 0.3);
  font-family: Inter, "Microsoft YaHei", "微软雅黑", sans-serif;
  background-color: var(--lab-bg);
  background-image:
    linear-gradient(rgba(26, 28, 28, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 28, 28, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  color: var(--lab-ink);
}

body.home-lab h1,
body.home-lab h2,
body.home-lab h3,
body.home-lab h4,
body.home-lab h5,
body.home-lab h6 {
  font-family: Sora, Inter, "Microsoft YaHei", sans-serif;
  color: var(--lab-ink);
  letter-spacing: -0.02em;
}

body.home-lab p,
body.home-lab li,
body.home-lab span {
  color: var(--lab-muted);
}

body.home-lab .bg-light,
body.home-lab .about-section,
body.home-lab .news-section,
body.home-lab .core-section,
body.home-lab .process-section,
body.home-lab .advantage-section,
body.home-lab .service-section,
body.home-lab .project-section,
body.home-lab .ai-case-showcase {
  background: var(--lab-bg) !important;
}

body.home-lab .core-section,
body.home-lab .process-section,
body.home-lab .project-section,
body.home-lab .ai-case-showcase {
  background: var(--lab-tint) !important;
}

body.home-lab .service-section,
body.home-lab .advantage-section,
body.home-lab .about-section,
body.home-lab .news-section,
body.home-lab .core-section,
body.home-lab .process-section,
body.home-lab .project-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

body.home-lab .service-section > .container > h2,
body.home-lab .project-section > .container > h2,
body.home-lab .advantage-section > .container > h2,
body.home-lab .core-section > .container > h2,
body.home-lab .about-section > .container > h2,
body.home-lab .process-section > .container > h2,
body.home-lab .news-section > .container > h2 {
  font-weight: 700;
  font-size: 32px;
  margin-bottom: 12px !important;
}

body.home-lab .service-section > .container > p,
body.home-lab .project-section > .container > p.text-center,
body.home-lab .advantage-section > .container > p,
body.home-lab .about-section > .container > p.text-center.mb-5,
body.home-lab .process-section > .container > p,
body.home-lab .news-section > .container > p.text-center {
  color: var(--lab-muted) !important;
  font-size: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* —— 导航：玻璃白 —— */
body.home-lab .navbar,
body.home-lab .navbar[style] {
  background: rgba(255, 255, 255, 0.86) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--lab-border);
  padding: 0.65rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

body.home-lab .navbar.is-scrolled,
body.home-lab .navbar.is-scrolled[style] {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 8px 24px rgba(10, 10, 18, 0.06);
}

body.home-lab .nav_list .nav-link {
  color: var(--lab-heavy) !important;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 6px;
  padding: 0.45rem 0.2rem;
  position: relative;
}

body.home-lab .nav_list .nav-link:hover,
body.home-lab .nav_list .nav-item.active .nav-link {
  color: var(--lab-pink) !important;
}

body.home-lab .nav_list .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--lab-pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

body.home-lab .nav_list .nav-link:hover::after,
body.home-lab .nav_list .nav-item.active .nav-link::after {
  transform: scaleX(1);
}

body.home-lab .nav_list .nav-link[href^="tel:"] {
  border: 2px solid var(--lab-pink);
  border-radius: 4px;
  padding: 6px 14px;
  margin-left: 10px;
  color: var(--lab-pink-deep) !important;
}

body.home-lab .nav_list .nav-link[href^="tel:"]::after {
  display: none;
}

body.home-lab .nav_list .nav-link[href^="tel:"]:hover {
  background: var(--lab-pink);
  color: #fff !important;
  box-shadow: var(--lab-glow);
}

body.home-lab .nav_list .lang-switch {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 10px;
  padding: 6px 14px;
  border: 2px solid var(--lab-pink);
  border-radius: 4px;
  background: transparent;
  list-style: none;
  white-space: nowrap;
  line-height: 1.2;
  color: var(--lab-pink-deep) !important;
}

body.home-lab .nav_list .lang-switch:hover {
  box-shadow: var(--lab-glow);
}

body.home-lab .nav_list .lang-switch-link {
  color: var(--lab-pink-deep) !important;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0 6px;
  text-decoration: none;
}

body.home-lab .nav_list .lang-switch-link.is-active,
body.home-lab .nav_list .lang-switch-link:hover {
  color: var(--lab-pink) !important;
  text-decoration: none;
}

body.home-lab .nav_list .lang-switch-sep {
  color: var(--lab-pink) !important;
  opacity: 0.45;
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 991px) {
  body.home-lab .nav_list .lang-switch {
    margin: 8px 0 4px;
    align-self: flex-start;
  }
}

body.home-lab .navbar-dark .navbar-toggler {
  border-color: rgba(26, 28, 28, 0.25);
}

body.home-lab .navbar-dark .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26,28,28,0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body.home-lab .d_menu {
  background: #fff;
  border: 1px solid var(--lab-border);
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(10, 10, 18, 0.08);
  padding: 6px 0;
}

body.home-lab .d_items {
  color: var(--lab-heavy) !important;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 13px;
}

body.home-lab .d_items:hover {
  background: rgba(255, 45, 120, 0.08);
  color: var(--lab-pink) !important;
}

/* —— 轮播：浅色实验室实拍，标题深色可读 —— */
body.home-lab .carousel-slide {
  position: relative;
  overflow: hidden;
  background-color: #f3f3f4 !important;
  background-image: none !important;
  height: 560px;
}

body.home-lab .carousel-slide::before {
  content: "";
  position: absolute;
  inset: -10%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.04);
  will-change: transform;
}

body.home-lab .carousel-item.active .carousel-slide::before {
  animation: labKenBurns 14s ease-out forwards;
}

body.home-index #carouselExampleIndicators {
  --hero-parallax-bg: 0px;
  --hero-parallax-caption: 0px;
  --hero-mouse-x: 0px;
  --hero-mouse-y: 0px;
  --hero-caption-mouse-x: 0px;
  --hero-caption-mouse-y: 0px;
  --hero-parallax-fade: 1;
}

body.home-index #carouselExampleIndicators.is-hero-interactive .carousel-slide::before {
  animation: none !important;
}

body.home-index #carouselExampleIndicators.is-hero-interactive .carousel-item.active .carousel-slide::before {
  transform: scale(1.16) translate3d(
    var(--hero-mouse-x, 0px),
    calc(var(--hero-parallax-bg, 0px) + var(--hero-mouse-y, 0px)),
    0
  );
}

body.home-index #carouselExampleIndicators.is-parallax-scrolling .carousel-item.active .carousel-slide::before {
  transform: scale(1.2) translate3d(
    var(--hero-mouse-x, 0px),
    calc(var(--hero-parallax-bg, 0px) + var(--hero-mouse-y, 0px)),
    0
  );
}

body.home-index .carousel-caption {
  opacity: var(--hero-parallax-fade, 1);
  transform: translate3d(
    var(--hero-caption-mouse-x, 0px),
    calc(-50% + var(--hero-parallax-caption, 0px) + var(--hero-caption-mouse-y, 0px)),
    0
  );
}

body.home-lab .carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(249, 249, 249, 0.55) 42%, rgba(249, 249, 249, 0.78) 100%),
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.38), transparent 58%);
}

body.home-lab .carousel-caption h1,
body.home-lab .carousel-caption h2,
body.home-lab .carousel-caption .brand-tagline {
  color: var(--lab-ink) !important;
  font-family: Sora, Inter, "Microsoft YaHei", sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 #fff, 0 8px 24px rgba(255, 255, 255, 0.85);
}

body.home-lab .slide1::before {
  background-image: url("../img/banners/lab-banner1.jpg");
}

body.home-lab .slide2::before {
  background-image: url("../img/banners/lab-banner2.jpg");
}

body.home-lab .slide3::before {
  background-image: url("../img/banners/lab-banner3.jpg");
}

@supports (background-image: image-set(url("x.webp") type("image/webp"))) {
  body.home-lab .slide1::before {
    background-image: image-set(
      url("../img/banners/lab-banner1.webp") type("image/webp"),
      url("../img/banners/lab-banner1.jpg") type("image/jpeg")
    );
  }
  body.home-lab .slide2::before {
    background-image: image-set(
      url("../img/banners/lab-banner2.webp") type("image/webp"),
      url("../img/banners/lab-banner2.jpg") type("image/jpeg")
    );
  }
  body.home-lab .slide3::before {
    background-image: image-set(
      url("../img/banners/lab-banner3.webp") type("image/webp"),
      url("../img/banners/lab-banner3.jpg") type("image/jpeg")
    );
  }
}

@supports (background-image: image-set(url("x.avif") type("image/avif"))) {
  body.home-lab .slide1::before {
    background-image: image-set(
      url("../img/banners/lab-banner1.avif") type("image/avif"),
      url("../img/banners/lab-banner1.webp") type("image/webp"),
      url("../img/banners/lab-banner1.jpg") type("image/jpeg")
    );
  }
  body.home-lab .slide2::before {
    background-image: image-set(
      url("../img/banners/lab-banner2.avif") type("image/avif"),
      url("../img/banners/lab-banner2.webp") type("image/webp"),
      url("../img/banners/lab-banner2.jpg") type("image/jpeg")
    );
  }
  body.home-lab .slide3::before {
    background-image: image-set(
      url("../img/banners/lab-banner3.avif") type("image/avif"),
      url("../img/banners/lab-banner3.webp") type("image/webp"),
      url("../img/banners/lab-banner3.jpg") type("image/jpeg")
    );
  }
}

body.home-lab .carousel-caption {
  text-shadow: none;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 2;
}

body.home-lab .carousel-caption.lab-caption-in {
  animation: labCaptionIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

body.home-lab .carousel-caption h1.brand-tagline {
  font-size: clamp(1.28rem, 3.1vw, 2.35rem);
  line-height: 1.28;
  max-width: 18em;
  margin-left: auto;
  margin-right: auto;
}

body.home-lab .carousel-caption h3,
body.home-lab .carousel-caption .brand-subtitle {
  color: var(--lab-pink) !important;
  font-family: Sora, Inter, "Microsoft YaHei", sans-serif;
  font-weight: 700;
}

body.home-lab .carousel-caption p,
body.home-lab .carousel-caption .brand-slogan {
  color: var(--lab-heavy) !important;
  font-style: normal;
}

body.home-lab .carousel-indicators li {
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: rgba(26, 28, 28, 0.22);
  transition: width 0.3s ease, background 0.3s ease;
}

body.home-lab .carousel-indicators .active {
  width: 36px;
  background: var(--lab-pink);
}

body.home-lab .carousel-control-prev-icon,
body.home-lab .carousel-control-next-icon {
  filter: invert(1) brightness(0.25);
}

/* —— 卡片通用 —— */
body.home-lab .service-card,
body.home-lab .project-card,
body.home-lab .core-card,
body.home-lab .advantage-card,
body.home-lab .news-card,
body.home-lab .about-block {
  background: var(--lab-surface) !important;
  border: 1px solid var(--lab-border);
  border-radius: 4px;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.home-lab .service-card:hover,
body.home-lab .project-card:hover,
body.home-lab .core-card:hover,
body.home-lab .advantage-card:hover,
body.home-lab .news-card:hover {
  border-color: var(--lab-pink);
  box-shadow: var(--lab-glow);
  transform: translateY(-2px);
}

body.home-lab .service-card h4,
body.home-lab .project-card h5,
body.home-lab .core-card h4,
body.home-lab .advantage-card h4,
body.home-lab .news-card h5,
body.home-lab .about-block h3,
body.home-lab .process-item h5,
body.home-lab .case-title-row h5 {
  color: var(--lab-ink) !important;
}

body.home-lab .service-card p,
body.home-lab .core-card p,
body.home-lab .advantage-card p,
body.home-lab .news-card p,
body.home-lab .about-block p,
body.home-lab .case-background,
body.home-lab .case-upgrade {
  color: var(--lab-muted) !important;
}

body.home-lab .case-background strong,
body.home-lab .case-upgrade strong {
  color: var(--lab-ink) !important;
  font-family: "Space Grotesk", Inter, sans-serif;
}

body.home-lab .service-icon,
body.home-lab .core-icon,
body.home-lab .advantage-icon {
  color: var(--lab-pink-deep) !important;
}

body.home-lab .service-icon,
body.home-lab .core-icon,
body.home-lab .advantage-icon {
  width: 56px;
  height: 56px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffe4ec;
  border-radius: 4px;
}

body.home-lab .service-section .col-lg-3:nth-child(2) .service-icon,
body.home-lab .advantage-section .col-md-3:nth-child(2) .advantage-icon,
body.home-lab .core-section .col-md-3:nth-child(2) .core-icon {
  background: #d9fff6;
  color: #006b54 !important;
}

body.home-lab .service-section .col-lg-3:nth-child(3) .service-icon,
body.home-lab .advantage-section .col-md-3:nth-child(3) .advantage-icon,
body.home-lab .core-section .col-md-3:nth-child(3) .core-icon {
  background: #e8f1ff;
  color: #2563eb !important;
}

body.home-lab .service-section .col-lg-3:nth-child(4) .service-icon,
body.home-lab .advantage-section .col-md-3:nth-child(4) .advantage-icon,
body.home-lab .core-section .col-md-3:nth-child(4) .core-icon {
  background: #fff6c7;
  color: #6e5e00 !important;
}

body.home-lab .service-icon i,
body.home-lab .core-icon i,
body.home-lab .advantage-icon i {
  color: inherit !important;
}

body.home-lab .service-section .service-card-link {
  max-width: none;
}

body.home-lab .service-section .service-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  min-height: 372px;
  border-radius: 8px;
  padding: 32px 22px 22px;
  text-align: center;
}

body.home-lab .service-section .service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: var(--lab-pink);
}

body.home-lab .service-section .col-lg-3:nth-child(2) .service-card::before {
  background: var(--lab-cyan);
}

body.home-lab .service-section .col-lg-3:nth-child(3) .service-card::before {
  background: #2563eb;
}

body.home-lab .service-section .col-lg-3:nth-child(4) .service-card::before {
  background: var(--lab-yellow);
}

body.home-lab .service-section .col-lg-4:nth-child(5) .service-card::before,
body.home-lab .service-section .col-md-6:nth-child(5) .service-card::before {
  background: #7c3aed;
}

body.home-lab .service-section .col-lg-4:nth-child(6) .service-card::before,
body.home-lab .service-section .col-md-6:nth-child(6) .service-card::before {
  background: #ea580c;
}

body.home-lab .service-section .col-lg-4:nth-child(5) .service-card-cta,
body.home-lab .service-section .col-md-6:nth-child(5) .service-card-cta {
  color: #7c3aed;
}

body.home-lab .service-section .col-lg-4:nth-child(6) .service-card-cta,
body.home-lab .service-section .col-md-6:nth-child(6) .service-card-cta {
  color: #c2410c;
}

body.home-lab .service-section .col-lg-4:nth-child(5) .service-card:hover,
body.home-lab .service-section .col-md-6:nth-child(5) .service-card:hover {
  border-color: #7c3aed;
}

body.home-lab .service-section .col-lg-4:nth-child(6) .service-card:hover,
body.home-lab .service-section .col-md-6:nth-child(6) .service-card:hover {
  border-color: #ea580c;
}

body.home-lab .service-section .service-card h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 4px 0 10px;
}

body.home-lab .service-section .service-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin: 0 0 16px;
  min-height: 4.6em;
}

body.home-lab .service-section .service-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 0 0 16px;
  min-height: 0;
}

body.home-lab .service-section .service-keywords .keyword-tag:nth-child(3) {
  grid-column: auto;
}

body.home-lab .service-section .service-card-cta {
  color: var(--lab-pink);
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-top: auto;
}

body.home-lab .service-section .service-card-cta::after {
  content: " →";
}

body.home-lab .service-section .col-lg-3:nth-child(2) .service-card-cta {
  color: #006b54;
}

body.home-lab .service-section .col-lg-3:nth-child(3) .service-card-cta {
  color: #2563eb;
}

body.home-lab .service-section .col-lg-3:nth-child(4) .service-card-cta {
  color: #6e5e00;
}

body.home-lab .service-section .service-card:hover {
  border-color: var(--lab-pink);
}

body.home-lab .service-section .col-lg-3:nth-child(2) .service-card:hover {
  border-color: #00b894;
}

body.home-lab .service-section .col-lg-3:nth-child(3) .service-card:hover {
  border-color: #2563eb;
}

body.home-lab .service-section .col-lg-3:nth-child(4) .service-card:hover {
  border-color: #c6aa0a;
}

/* —— 案例 —— */
body.home-lab .ai-case-showcase .project-card {
  border-radius: 4px;
  padding: 12px 12px 16px;
  box-shadow: none;
}

body.home-lab .ai-case-showcase .project-image {
  border-radius: 4px;
  border: none;
  height: 210px;
}

body.home-lab .case-title-row h5 {
  font-size: 1.35rem;
  font-weight: 700;
}

body.home-lab .keyword-tag,
body.home-lab .case-industry-tag {
  background: var(--lab-pink);
  box-shadow: none;
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0.06em;
  border-radius: 4px;
  color: #fff;
}

body.home-lab .case-industry-tag {
  top: 14px;
  left: 14px;
  right: auto;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 0 100%);
}

body.home-lab .ai-case-showcase .row > div:nth-child(4n+2) .case-industry-tag {
  background: #00b894;
}

body.home-lab .ai-case-showcase .row > div:nth-child(4n+3) .case-industry-tag {
  background: #2563eb;
}

body.home-lab .ai-case-showcase .row > div:nth-child(4n+4) .case-industry-tag {
  background: #c6aa0a;
}

body.home-lab .service-section .keyword-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0 !important;
  padding: 4px 10px;
  color: var(--lab-pink-deep) !important;
  background: #ffe4ec !important;
  border: 1px solid rgba(183, 0, 79, 0.14);
  border-radius: 999px;
  box-shadow: none;
  text-shadow: none;
  font-family: "Space Grotesk", Inter, "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: nowrap;
  clip-path: none;
}

body.home-lab .service-section .col-lg-3:nth-child(2) .keyword-tag {
  color: #006b54 !important;
  background: #d9fff6 !important;
  border-color: rgba(0, 107, 84, 0.16);
}

body.home-lab .service-section .col-lg-3:nth-child(3) .keyword-tag {
  color: #2563eb !important;
  background: #e8f1ff !important;
  border-color: rgba(37, 99, 235, 0.16);
}

body.home-lab .service-section .col-lg-3:nth-child(4) .keyword-tag {
  color: #6e5e00 !important;
  background: #fff6c7 !important;
  border-color: rgba(110, 94, 0, 0.18);
}

body.home-lab .service-section .keyword-tag:hover {
  transform: none;
  box-shadow: none;
  filter: brightness(0.97);
}

body.home-lab .ai-case-showcase .case-result {
  background: var(--lab-pink);
  box-shadow: var(--lab-glow);
  border-radius: 4px;
  color: #fff;
}

body.home-lab .ai-case-showcase .case-result,
body.home-lab .ai-case-showcase .case-result span,
body.home-lab .ai-case-showcase .case-result strong,
body.home-lab .ai-case-showcase .case-result i {
  color: #fff !important;
}

body.home-lab .ai-case-showcase .case-result a {
  color: #fff !important;
}

body.home-lab .case-cta-btn {
  background: #fff;
  color: var(--lab-pink-deep) !important;
  border: 2px solid var(--lab-pink);
  border-radius: 4px;
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0.04em;
}

body.home-lab .case-cta-btn:hover {
  background: var(--lab-pink);
  color: #fff !important;
  box-shadow: var(--lab-glow);
  opacity: 1;
}

body.home-lab a.case-cta-btn.home-cases-more {
  display: inline-block;
  width: auto;
  min-width: 240px;
  background: #fff;
  color: var(--lab-pink-deep) !important;
  border: 2px solid var(--lab-pink);
  border-radius: 4px;
}

body.home-lab a.case-cta-btn.home-cases-more:hover {
  background: var(--lab-pink);
  color: #fff !important;
}

/* —— 项目案例 PC：Bento 大卡 + 图上叠字 —— */
@media (min-width: 992px) {
  body.home-lab .ai-case-showcase .row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: minmax(290px, auto);
    gap: 20px;
    margin-left: 0;
    margin-right: 0;
  }

  body.home-lab .ai-case-showcase .row > [class*="col-"] {
    display: flex;
    flex-direction: column;
    flex: none;
    width: auto;
    max-width: none;
    padding: 0;
    margin: 0 !important;
    height: 100%;
  }

  body.home-lab .ai-case-showcase .row > :nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1 / span 2;
  }

  body.home-lab .ai-case-showcase .project-card {
    position: relative;
    flex: 1 1 auto;
    height: 100%;
    min-height: 290px;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: #0a0a12 !important;
    border: none;
    border-radius: 8px;
  }

  body.home-lab .ai-case-showcase .ai-case-card {
    padding-top: 0;
  }

  body.home-lab .ai-case-showcase .project-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: 100% !important;
    margin: 0 !important;
    border: none;
    border-radius: 0;
  }

  body.home-lab .ai-case-showcase .project-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(10, 10, 18, 0.94) 0%,
      rgba(10, 10, 18, 0.55) 42%,
      rgba(10, 10, 18, 0.12) 72%,
      transparent 100%
    );
    pointer-events: none;
  }

  body.home-lab .ai-case-showcase .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  body.home-lab .ai-case-showcase .case-industry-tag {
    top: 18px;
    left: 18px;
  }

  body.home-lab .ai-case-showcase .case-title-row,
  body.home-lab .ai-case-showcase .case-content {
    position: relative;
    z-index: 1;
    padding-left: 20px;
    padding-right: 20px;
  }

  body.home-lab .ai-case-showcase .case-title-row {
    margin-bottom: 4px;
  }

  body.home-lab .ai-case-showcase .case-content {
    flex: none;
    padding-bottom: 18px;
  }

  body.home-lab .ai-case-showcase .project-card h5,
  body.home-lab .ai-case-showcase .case-title-row h5 {
    color: #fff !important;
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 0;
  }

  body.home-lab .ai-case-showcase .case-background,
  body.home-lab .ai-case-showcase .case-upgrade {
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 8px;
  }

  body.home-lab .ai-case-showcase .case-background strong,
  body.home-lab .ai-case-showcase .case-upgrade strong {
    color: #fff !important;
  }

  body.home-lab .ai-case-showcase .project-card .case-cta-btn {
    width: auto;
    align-self: flex-start;
    min-height: 0;
    padding: 7px 14px;
    line-height: 1.3;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
  }

  body.home-lab .ai-case-showcase .project-card .case-cta-btn:hover {
    background: var(--lab-pink);
    border-color: var(--lab-pink);
    color: #fff !important;
  }

  body.home-lab .ai-case-showcase .project-card:hover,
  body.home-lab .ai-case-showcase .project-card.lab-reveal.is-in:hover {
    transform: none;
    border-color: transparent;
    box-shadow: 0 0 28px rgba(255, 45, 120, 0.28);
  }

  /* 右侧与下方小卡：保留标题、交付与入口，避免 290px 格子塞满长文 */
  body.home-lab .ai-case-showcase .row > :nth-child(n+2) .case-background,
  body.home-lab .ai-case-showcase .row > :nth-child(n+2) .case-result {
    display: none;
  }

  body.home-lab .ai-case-showcase .row > :nth-child(n+2) .case-upgrade {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
  }

  /* 特色大卡：完整文案 + 结果条 */
  body.home-lab .ai-case-showcase .row > :nth-child(1) .case-title-row,
  body.home-lab .ai-case-showcase .row > :nth-child(1) .case-content {
    padding-left: 32px;
    padding-right: 32px;
  }

  body.home-lab .ai-case-showcase .row > :nth-child(1) .case-content {
    padding-bottom: 28px;
  }

  body.home-lab .ai-case-showcase .row > :nth-child(1) .case-title-row h5 {
    font-size: 2rem;
    margin-bottom: 8px;
  }

  body.home-lab .ai-case-showcase .row > :nth-child(1) .case-background,
  body.home-lab .ai-case-showcase .row > :nth-child(1) .case-upgrade {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 36em;
  }

  body.home-lab .ai-case-showcase .row > :nth-child(1) .case-result {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    border-radius: 0 4px 4px 0;
    border-left: 4px solid #00e0b3;
    backdrop-filter: blur(10px);
    min-height: 0;
    margin-top: 8px;
    margin-bottom: 16px;
  }

  body.home-lab .ai-case-showcase .row > :nth-child(1) .case-result,
  body.home-lab .ai-case-showcase .row > :nth-child(1) .case-result span,
  body.home-lab .ai-case-showcase .row > :nth-child(1) .case-result strong,
  body.home-lab .ai-case-showcase .row > :nth-child(1) .case-result i,
  body.home-lab .ai-case-showcase .row > :nth-child(1) .case-result a {
    color: #fff !important;
  }

  body.home-lab .ai-case-showcase .row > :nth-child(1) .case-result strong {
    color: #00e0b3 !important;
  }

  body.home-lab .ai-case-showcase .row > :nth-child(1) .project-card .case-cta-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
}

/* —— 优势 / 核心 —— */
body.home-lab .advantage-card {
  background: transparent !important;
  border: none;
  box-shadow: none;
  padding: 12px 10px 8px;
}

body.home-lab .advantage-card:hover {
  border: none;
  box-shadow: none;
  transform: none;
}

body.home-lab .core-card {
  padding: 28px 18px 24px;
  height: 100%;
}

body.home-lab .advantage-icon i.fa-3x,
body.home-lab .core-icon i.fa-3x,
body.home-lab .service-icon i.fa-3x {
  font-size: 1.35rem !important;
  width: auto;
  height: auto;
  line-height: 1;
}

/* —— 关于 —— */
body.home-lab .about-section > .container > p.text-center.mb-5 {
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0.28em;
  font-size: 13px;
  font-weight: 600;
  color: var(--lab-pink) !important;
  margin-bottom: 20px !important;
}

body.home-lab .about-section .col-md-8 {
  color: var(--lab-heavy) !important;
  font-size: 18px;
  line-height: 1.8;
}

body.home-lab .about-section .col-md-8,
body.home-lab .about-section p.col-md-8 {
  color: var(--lab-heavy) !important;
}

/* —— 流程数字描边 —— */
body.home-lab .process-section .process-board {
  position: relative;
}

body.home-lab .process-section .process-board::before {
  content: "";
  position: absolute;
  top: 52px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 45, 120, 0.28), transparent);
  pointer-events: none;
}

body.home-lab .process-section .process-number {
  width: 64px;
  height: 64px;
  color: transparent !important;
  -webkit-text-stroke: 1.5px var(--lab-pink);
  text-shadow: 0 0 12px rgba(255, 45, 120, 0.25);
  font-family: Sora, sans-serif;
  font-weight: 800;
  font-size: 1.85rem;
  background: var(--lab-surface) !important;
  border: 1px solid rgba(255, 45, 120, 0.35);
  border-radius: 4px;
  position: relative;
  z-index: 1;
}

body.home-lab .process-item h5 {
  color: var(--lab-ink) !important;
  font-size: 0.95rem;
  font-weight: 600;
}

/* —— 资讯 —— */
body.home-lab .news-card {
  padding: 28px 24px;
  height: 100%;
}

body.home-lab .news-section .row > .col-md-4:first-child .news-card {
  background: #ffe4ec !important;
  border-color: rgba(255, 45, 120, 0.22);
}

body.home-lab .news-card h5 a {
  color: var(--lab-ink);
  text-decoration: none;
}

body.home-lab .news-card h5 a:hover {
  color: var(--lab-pink);
}

body.home-lab .news-date,
body.home-lab .news-date a {
  color: var(--lab-muted) !important;
  font-family: "Space Grotesk", Inter, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
}

body.home-lab .news-date a {
  color: var(--lab-pink) !important;
}

body.home-lab .news-section a[href="/blog/"] {
  color: var(--lab-pink);
  font-weight: 600;
}

/* —— 联系 / 页脚：深色收口 —— */
body.home-lab .contact-section {
  background: var(--lab-night) !important;
  color: #f0f1f1 !important;
}

body.home-lab .contact-section h3 {
  color: #fff !important;
  font-weight: 700;
}

body.home-lab .contact-section p,
body.home-lab .contact-section i,
body.home-lab .contact-section .small {
  color: #c8c8d0 !important;
}

body.home-lab .contact-section i {
  color: var(--lab-pink) !important;
  margin-right: 8px;
}

body.home-lab .contact-section form {
  background: transparent;
  border: none;
  padding: 0;
}

body.home-lab .contact-section .form-control {
  background: transparent;
  color: #fff;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0;
  padding-left: 0;
}

body.home-lab .contact-section .form-control:focus {
  box-shadow: none;
  border-bottom-color: var(--lab-pink);
}

body.home-lab .contact-section .form-control::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

body.home-lab .contact-section .btn-primary,
body.home-lab .btn-primary {
  background: var(--lab-pink);
  border: 2px solid var(--lab-pink);
  border-radius: 4px;
  font-family: "Space Grotesk", Inter, sans-serif;
  letter-spacing: 0.04em;
  padding: 10px 24px;
}

body.home-lab .contact-section .btn-primary:hover,
body.home-lab .btn-primary:hover {
  background: var(--lab-pink-deep);
  border-color: var(--lab-pink-deep);
  box-shadow: var(--lab-glow);
}

body.home-lab .contact-section picture {
  display: block;
  width: 200px;
  max-width: 100%;
  line-height: 0;
}

body.home-lab .contact-qr-image {
  display: block;
  width: 200px;
  height: auto !important;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border: 1px solid rgba(255, 45, 120, 0.35);
}

body.home-lab .footer,
body.home-lab .footer.bg-black {
  background: #05050a !important;
  border-top: 1px solid rgba(255, 45, 120, 0.18);
}

body.home-lab .footer p,
body.home-lab .footer a {
  color: #9a9aa8 !important;
}

body.home-lab .footer-seo-links a:hover,
body.home-lab .footer a:hover {
  color: var(--lab-pink) !important;
}

@media (max-width: 991px) {
  body.home-lab .navbar-collapse {
    background: #fff;
    border: 1px solid var(--lab-border);
    border-radius: 4px;
    margin-top: 8px;
    padding: 8px 12px 12px;
  }

  body.home-lab .nav_list .nav-item:last-child .nav-link {
    display: inline-block;
    margin: 8px 0 4px;
  }
}

@media (max-width: 768px) {
  body.home-lab .service-section,
  body.home-lab .project-section,
  body.home-lab .advantage-section,
  body.home-lab .core-section,
  body.home-lab .about-section,
  body.home-lab .process-section,
  body.home-lab .news-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  body.home-lab .service-section .row > [class*="col-"] {
    margin-bottom: 8px !important;
  }

  body.home-lab .service-section .service-card {
    min-height: 0;
    height: auto;
    padding: 14px 12px 10px;
  }

  body.home-lab .service-section .service-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 6px !important;
  }

  body.home-lab .service-section .service-icon i {
    font-size: 1.05rem !important;
  }

  body.home-lab .service-section .service-card h4 {
    font-size: 1rem;
    margin: 0 0 4px;
  }

  body.home-lab .service-section .service-card p {
    flex: none;
    min-height: 0;
    font-size: 0.78rem;
    line-height: 1.45;
    margin: 0 0 6px !important;
  }

  body.home-lab .service-section .service-keywords {
    margin: 0 0 6px;
    gap: 4px;
  }

  body.home-lab .service-section .keyword-tag {
    min-width: 0;
    padding: 3px 6px;
    font-size: 0.66rem;
  }

  body.home-lab .service-section .service-card-cta {
    margin-top: 0;
    font-size: 0.74rem;
  }

  body.home-lab .process-section .process-board::before {
    display: none;
  }
}

/* —— 交互动画 —— */
@keyframes labKenBurns {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(1.2%, -1%, 0); }
}

@keyframes labCaptionIn {
  from {
    opacity: 0;
    transform: translateY(calc(-50% + 28px));
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}

@keyframes labFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes labOrb {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(8%, 12%, 0) scale(1.15); }
}

body.home-lab::before {
  content: "";
  position: fixed;
  width: 46vw;
  height: 46vw;
  max-width: 560px;
  max-height: 560px;
  right: -8vw;
  top: 18vh;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(255, 45, 120, 0.09), transparent 64%);
  animation: labOrb 18s ease-in-out infinite;
}

body.home-lab nav,
body.home-lab .carousel,
body.home-lab section,
body.home-lab footer {
  position: relative;
  z-index: 1;
}

body.home-lab .lab-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body.home-lab .lab-reveal.is-in {
  opacity: 1;
  transform: none;
}

body.home-lab .row > [class*="col-"]:nth-child(1) .lab-reveal { transition-delay: 0.04s; }
body.home-lab .row > [class*="col-"]:nth-child(2) .lab-reveal { transition-delay: 0.1s; }
body.home-lab .row > [class*="col-"]:nth-child(3) .lab-reveal { transition-delay: 0.16s; }
body.home-lab .row > [class*="col-"]:nth-child(4) .lab-reveal { transition-delay: 0.22s; }
body.home-lab .row > [class*="col-"]:nth-child(5) .lab-reveal { transition-delay: 0.08s; }
body.home-lab .row > [class*="col-"]:nth-child(6) .lab-reveal { transition-delay: 0.14s; }

body.home-lab .service-icon,
body.home-lab .advantage-icon,
body.home-lab .core-icon {
  animation: labFloat 4.8s ease-in-out infinite;
}

body.home-lab .service-section .col-lg-3:nth-child(2) .service-icon,
body.home-lab .advantage-section .col-md-3:nth-child(2) .advantage-icon,
body.home-lab .core-section .col-md-3:nth-child(2) .core-icon {
  animation-delay: 0.4s;
}

body.home-lab .service-section .col-lg-3:nth-child(3) .service-icon,
body.home-lab .advantage-section .col-md-3:nth-child(3) .advantage-icon,
body.home-lab .core-section .col-md-3:nth-child(3) .core-icon {
  animation-delay: 0.8s;
}

body.home-lab .service-section .col-lg-3:nth-child(4) .service-icon,
body.home-lab .advantage-section .col-md-3:nth-child(4) .advantage-icon,
body.home-lab .core-section .col-md-3:nth-child(4) .core-icon {
  animation-delay: 1.2s;
}

body.home-lab .ai-case-showcase .project-image img {
  transform: scale(1);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

body.home-lab .project-card:hover .project-image img {
  transform: scale(1.07);
}

body.home-lab .service-card.lab-reveal.is-in:hover,
body.home-lab .project-card.lab-reveal.is-in:hover,
body.home-lab .core-card.lab-reveal.is-in:hover,
body.home-lab .news-card.lab-reveal.is-in:hover {
  transform: translateY(-6px);
}

body.home-lab .process-item.lab-reveal.is-in:hover .process-number {
  transform: translateY(-4px);
  box-shadow: var(--lab-glow);
}

body.home-lab .process-number {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body.home-lab .case-cta-btn,
body.home-lab .contact-section .btn-primary,
body.home-lab .btn-primary {
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.home-lab .case-cta-btn::after,
body.home-lab .contact-section .btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.45) 50%, transparent 65%);
  transform: translateX(-130%);
  transition: transform 0.55s ease;
  pointer-events: none;
}

body.home-lab .case-cta-btn:hover::after,
body.home-lab .contact-section .btn-primary:hover::after {
  transform: translateX(130%);
}

body.home-lab .case-cta-btn:hover,
body.home-lab .contact-section .btn-primary:hover {
  transform: translateY(-2px);
}

body.home-lab .contact-section .form-control {
  transition: border-bottom-color 0.2s ease, box-shadow 0.2s ease;
}

body.home-lab .contact-section .form-control:focus {
  box-shadow: 0 6px 18px -12px rgba(255, 45, 120, 0.7);
}

@media (max-width: 768px) {
  body.home-lab .carousel-slide {
    height: 420px;
  }

  body.home-lab .carousel-caption h1.brand-tagline {
    font-size: 1.22rem;
    max-width: 100%;
  }
}

/* —— 首页 Parallax（仅 home-index）—— */
body.home-index .service-section,
body.home-index .project-section,
body.home-index .advantage-section,
body.home-index .core-section,
body.home-index .about-section,
body.home-index .process-section {
  position: relative;
  overflow: hidden;
}

body.home-index .lab-parallax-layer {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(0.5px);
  transition: opacity 0.3s ease;
}

body.home-index .lab-parallax-layer--slow {
  width: min(62vw, 520px);
  height: min(62vw, 520px);
  top: -14%;
  left: -10%;
  background: radial-gradient(circle, rgba(255, 45, 120, 0.24), rgba(255, 45, 120, 0.06) 42%, transparent 72%);
  box-shadow: 0 0 80px rgba(255, 45, 120, 0.12);
}

body.home-index .lab-parallax-layer--fast {
  width: min(46vw, 360px);
  height: min(46vw, 360px);
  bottom: -12%;
  right: -8%;
  background: radial-gradient(circle, rgba(255, 45, 120, 0.18), rgba(255, 45, 120, 0.05) 45%, transparent 72%);
  box-shadow: 0 0 60px rgba(255, 45, 120, 0.1);
}

body.home-index .project-section .lab-parallax-layer--slow,
body.home-index .core-section .lab-parallax-layer--slow,
body.home-index .process-section .lab-parallax-layer--slow {
  background: radial-gradient(circle, rgba(255, 45, 120, 0.16), transparent 68%);
}

body.home-index .lab-cursor-spot {
  position: fixed;
  left: 0;
  top: 0;
  width: 320px;
  height: 320px;
  margin: -160px 0 0 -160px;
  pointer-events: none;
  z-index: 50;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 120, 0.22), rgba(255, 45, 120, 0.06) 38%, transparent 68%);
  opacity: 0;
  transition: opacity 0.35s ease;
  mix-blend-mode: multiply;
  will-change: transform;
}

body.home-index.is-cursor-active .lab-cursor-spot {
  opacity: 1;
}

body.home-index .service-card,
body.home-index .project-card,
body.home-index .advantage-card,
body.home-index .core-card,
body.home-index .news-card,
body.home-index .process-item {
  transform-style: preserve-3d;
  transition: box-shadow 0.25s ease, transform 0.2s ease-out;
}

body.home-index .service-card.is-tilt-active,
body.home-index .project-card.is-tilt-active,
body.home-index .advantage-card.is-tilt-active,
body.home-index .core-card.is-tilt-active,
body.home-index .news-card.is-tilt-active,
body.home-index .process-item.is-tilt-active {
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-8px) scale(1.02);
  box-shadow: 0 22px 48px -18px rgba(255, 45, 120, 0.35), 0 8px 24px -12px rgba(0, 0, 0, 0.12);
}

body.home-index .service-card-link:hover .service-card:not(.is-tilt-active),
body.home-index .project-card:hover:not(.is-tilt-active) {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 18px 40px -16px rgba(255, 45, 120, 0.28);
}

body.home-index .service-section > .container,
body.home-index .project-section > .container,
body.home-index .advantage-section > .container,
body.home-index .core-section > .container,
body.home-index .about-section > .container,
body.home-index .process-section > .container {
  position: relative;
  z-index: 1;
}

body.home-index .lab-parallax-layer.is-parallax-active {
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  body.home-lab::before,
  body.home-lab .carousel-item.active .carousel-slide::before,
  body.home-lab .service-icon,
  body.home-lab .advantage-icon,
  body.home-lab .core-icon,
  body.home-lab .carousel-caption.lab-caption-in {
    animation: none !important;
  }

  body.home-lab .lab-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.home-index .lab-parallax-layer,
  body.home-index .lab-cursor-spot {
    display: none;
  }

  body.home-index .carousel-caption {
    opacity: 1 !important;
    transform: translateY(-50%) !important;
  }

  body.home-index .carousel-slide::before {
    transform: scale(1.04) !important;
  }

  body.home-index .service-card.is-tilt-active,
  body.home-index .project-card.is-tilt-active,
  body.home-index .advantage-card.is-tilt-active,
  body.home-index .core-card.is-tilt-active,
  body.home-index .news-card.is-tilt-active,
  body.home-index .process-item.is-tilt-active {
    transform: none !important;
    box-shadow: none !important;
  }
}

body.home-lab .home-brand-bar {
  background: rgba(255, 45, 120, 0.04);
  border-bottom: 1px solid rgba(255, 45, 120, 0.12);
}

body.home-lab .home-brand-lead {
  color: var(--lab-pink);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

body.home-lab .home-brand-lead strong {
  color: var(--lab-pink-deep);
  font-weight: 700;
}

body.home-lab .home-brand-lead a {
  color: var(--lab-pink);
  text-decoration: underline;
  text-decoration-color: rgba(255, 45, 120, 0.45);
  text-underline-offset: 2px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

body.home-lab .home-brand-lead a:hover {
  color: var(--lab-pink-deep);
  text-decoration-color: var(--lab-pink-deep);
}
