:root {
    --progress-duration: 6500ms;
  }

/* Inria Sans (for headings/cards) */
@import url('https://fonts.googleapis.com/css2?family=Inria+Sans:wght@400;600;700;800&display=swap');

  body, html {
    margin: 0;
    padding: 0;
    background: #000;
    font-family: "Inter", Arial, sans-serif;
    overflow-x: hidden;
  }

  /* 顶部导航栏 */
  body {
    padding-top: 100px;
  }

  .mars-top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to right, #FFFFFF, #ECEDEE);
    z-index: 9999;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  }

  .mars-top-nav__inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 25px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
  }

  .mars-top-nav__brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
  }

  .mars-top-nav__logo {
    max-height: 45px;
    width: auto;
    display: block;
  }

  .mars-top-nav__links {
    display: flex;
    align-items: center;
    gap: 28px;
    flex: 1;
    justify-content: right;
    font-family: "Inter", sans-serif;
  }

  .mars-top-nav__link {
    text-decoration: none;
    color: #111111;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.3px;
  }

  .mars-top-nav__link.is-active {
    color: #C69C6D;
  }

  .mars-top-nav__link:hover,
  .mars-top-nav__link:focus-visible {
    color: #C69C6D;
  }

  .mars-top-nav__cta {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 30px;
    border-radius: 6px;
    background: #D0B07F;
    color: #000000;
    font-family: "Inter", sans-serif;
    font-weight: 800;
    font-size: 16px;
  }

  .mars-top-nav__cta:hover {
    filter: brightness(0.98);
  }

  @media (max-width: 768px) {
    body {
      padding-top: 60px;
    }

    .mars-top-nav {
      height: 60px;
    }

    .mars-top-nav__inner {
      padding: 0 16px;
    }

    .mars-top-nav__links {
      display: none;
    }

    .mars-top-nav__logo {
      height: 24px;
    }

    .mars-top-nav__cta {
      display: none;
    }

    .mars-top-nav__burger {
      display: inline-flex !important;
    }
  }

  /* Burger button (mobile) */
  .mars-top-nav__burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
  }

  .mars-top-nav__burgerIcon {
    width: 22px;
    height: 2px;
    background: #111;
    position: relative;
    display: block;
    border-radius: 2px;
  }

  .mars-top-nav__burgerIcon::before,
  .mars-top-nav__burgerIcon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #111;
    border-radius: 2px;
  }

  .mars-top-nav__burgerIcon::before {
    top: -7px;
  }

  .mars-top-nav__burgerIcon::after {
    top: 7px;
  }

  /* Mobile dropdown panel */
  .mars-top-nav__mobile-panel {
    display: none;
  }

  @media (max-width: 768px) {
    .mars-top-nav__mobile-panel {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 60px;
      left: 0;
      right: 0;
      background: #ffffff;
      z-index: 9998;
      padding: 16px 20px 20px;
      gap: 18px;
      transform: translateY(-8px);
      opacity: 0;
      pointer-events: none;
      transition: transform 180ms ease, opacity 180ms ease;
    }

    .mars-top-nav.is-open .mars-top-nav__mobile-panel {
      transform: translateY(0);
      opacity: 1;
      pointer-events: auto;
    }

    .mars-top-nav__mobile-link {
      text-decoration: none;
      color: #111111;
      font-family: "Raleway", sans-serif;
      font-weight: 700;
      font-size: 18px;
    }

    .mars-top-nav__mobile-link.is-active {
      color: #C69C6D;
    }

    .mars-top-nav__mobile-link:hover,
    .mars-top-nav__mobile-link:focus-visible {
      color: #C69C6D;
    }

    .mars-top-nav__mobile-cta {
      margin-top: 6px;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      height: 44px;
      border-radius: 6px;
      background: #D0B07F;
      color: #000000;
      font-family: "Raleway", sans-serif;
      font-weight: 800;
      font-size: 16px;
    }
  }

  .about {
    position: relative;
    width: 100%;
    padding-top: 100px;
    padding-bottom: 75px;
    color: #fff;
    background: #1E1C26;
  }

  .about__inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .about__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 80px;
  }

  .about__left {
  }

  .about__pill {
    display: inline-flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background: #A61DB5;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 18px;
  }

  .about__headline {
    margin: 0;
    font-family: "Raleway", "Inter", Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(40px, 2.2vw, 49.5px);
    line-height: 1.5;
    background: linear-gradient(to right, #FFFFFF, #999999);
    -webkit-background-clip: text;
    color: transparent;
  }

  .about__headline span {
    display: block;
  }

  .about__right {
    flex: 0 0 58%;
    min-width: 0;
    padding-top: 6px;
  }

  .about__text {
    padding-top: 70px;
    color: #D8D7D7;
    font-size: clamp(17px, 1vw, 20px);
    line-height: 1.85;
    font-weight: 400;
    max-width: 100%;
  }

  .about__text:last-child {
    margin-bottom: 0;
  }

  .about__divider {
    margin: clamp(60px, 6vw, 100px) 0 clamp(40px, 4vw, 64px) 0;
    height: 10px;
    width: 100%;
    background: #AA1EB5;
  }

  .about__stats {
    display: flex;
    justify-content: space-between;
    text-align: center;
  }

  .about__statValue {
    font-family: "Inter", Arial, sans-serif;
    font-size: clamp(50px, 4vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    color: #AA1EB5;
  }

  .about__statTitle {
    margin-top: 10px;
    font-size: clamp(26px, 2vw, 36px);
    font-weight: 700;
    color: #AA1EB5;
  }

  .about__statSub {
    margin-top: 10px;
    font-size: clamp(20px, 1.6vw, 30px);
    line-height: 1.6;
    color: #FFFFFF;
  }

  .hero-slider {
    position: relative;
    height: 792px;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    overflow: hidden;
  }

  .slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: flex-start;
    padding: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
  }

  .slide.active {
    opacity: 1;
  }

  .slide-content {
    width: 660px;
    max-width: 100%;
    color: #fff;
    padding-top: 110px;
  }

  .slide-image {
    align-self: flex-start;
  }

  .hero-slider-tag {
    color: #A61DB5;
    letter-spacing: 4px;
    font-size: 24.75px;
    font-weight: 600;
    font-family: "Raleway", SemiBold;
    margin-bottom: 16px;
  }

  .title {
    font-size: 45.38px;
    font-weight: 700;
    font-family: "Raleway", Bold;
    line-height: 1.2;
    margin-bottom: 25px;
  }

  .title-line {
    display: block;
    background: linear-gradient(90deg, #ffffff 0%, #999999 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }

  .title-line-nowrap {
    white-space: nowrap;
  }

  .desc {
    color: #FFFFFF;
    font-size: 21.45px;
    font-family: "Raleway", Regular;
    font-weight: 400;
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 40px;
  }

  .btn {
    background: linear-gradient(90deg, #a61db5, #382ab7);
    width: 157.57px;
    height: 41.25px;
    border-radius: 8px;
    font-size: 18px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
  }

  .slide-image {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .slide-image-mobile-only {
    display: none;
  }

  .slide-image img {
    width: 80%;
    object-fit: contain;
  }

  .slider-tabs {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    color: #bbb;
    font-size: 14px;
    gap: 32px;
  }

  .tab {
    flex: 1;
    padding-top: 0;
  }

  .tab.active {
    color: #fff;
  }

  .progress {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
    margin-bottom: 12px;
  }

  .progress-fill {
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(120deg, #c135ff, #6e48ff);
    transition: none;
  }

  .tab-title {
    font-weight: 298px;
    font-size: 13.2px;
    line-height: 19px;
  }

  .tab-title-big {
    font-weight: 298px;
    font-size: 29px;
    line-height: 41px;
  }

  .tab-sub {
    font-size: 13.2px;
    color: #999;
    line-height: 20.6px;
    font-family: "Raleway", "Regular";
  }

  /* 当前轮播对应 tab：文字和未填充进度条都纯白 */
  .tab.active .tab-title,
  .tab.active .tab-sub {
    color: #ffffff;
  }

  .tab.active .progress {
    background: #ffffff;
  }

  .bottom-bg::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 145.2px; /* 遮罩图高度 */
    background-image: url('./assets/Rectangle-346243773-scaled.webp');
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

  .top-bg::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 145.2px; /* 遮罩图高度 */
      background-image: url('./assets/Rectangle-346243772-scaled.webp');
      background-size: cover;
      background-position: bottom center;
      background-repeat: no-repeat;
  }


   /* ========== 主体（仅在 features 内生效，避免影响轮播/关于区）========== */
   .features-inline-body {
    font-family: 'Inter', sans-serif;
    background: #1E1C26;
    color: #fff;
}

/* 只重置 features 区域，避免全局 * 会破坏其它模块 */
.features-inline-body * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ========== 容器 ========== */
.features-container {
    width: 100%;
    padding-top: clamp(60px, 5vw, 100px);
    display: flex;
    justify-content: center;
    padding-bottom: clamp(60px, 8vw, 100px);
}

.features-content {
    width: 1320px;
    max-width: calc(100% - 80px);
}

/* ========== Header ========== */
.features-header {
    text-align: center;
    margin-bottom: clamp(40px, 5vw, 57px);
}

.features-label {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 4px;
    color: #A61DB5;
    margin-bottom: 20px;
}

.features-title {
    font-size: 48px;
    font-weight: 500;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

/* ========== 卡片布局 ========== */
.features-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-row {
    display: flex;
    gap: 20px;
}

.top-row,
.bottom-row {
    gap: 14px;
}

/* ========== 卡片基础 ========== */
.feature-card {
    flex: 1;
    background: #1D1E24;
    border: 1px solid #34363E;
    border-radius: 16px;
    padding: clamp(20px, 2.5vw, 35px);
    display: flex;
    flex-direction: column;
    min-height: 320px;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.feature-card:hover {
    box-shadow: 0 4px 20px rgba(52,54,62,0.2);
}

.large-card,
.small-card {
    flex: 1;
}

/* ========== 文字 ========== */
.card-title {
    font-size: clamp(20px, 2.2vw, 31px);
    margin-bottom: 16px;
    background: linear-gradient(to right, #A61DB5, #382AB7, #2A3FA8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-description {
    font-size: clamp(16px, 1vw, 19px);
    font-weight: 400;
    line-height: 1.6;
    color: #D8D7D7;
    flex: 1;
}

/* ========== 标签 ========== */
.card-tags {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag,
.tag-active {
    font-size: clamp(12px, 0.9vw, 16.5px);
    padding: 0 clamp(10px, 1vw, 16px);
    height: clamp(26px, 2vw, 33px);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
}

.tag {
    background: rgba(99,106,182,0.1);
    color: #DDD6FF;
}

.tag-active {
    background: linear-gradient(to right,#7723B6,#A61DB5);
    color: #fff;
}

/* ========== 图片区域 ========== */
.card-graphic,
.workflow-image,
.analytics-image {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.card-graphic img,
.workflow-image img,
.analytics-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========== Icons ========== */
.card-icons {
    display: flex;
    gap: 16px;
    margin-top: auto;
    align-items: flex-end;
}

.icon-image {
    width: 100%;
    height: auto;
    padding-top: 64px;
}

/* ========== 合作伙伴文字 ========== */
.partner-text {
    margin-top: clamp(80px, 10vw, 155px);
    text-align: center;
}

.partner-text span {
    font-weight: 600;
    font-size: 26.67px;
    text-transform: uppercase;
}


/* ===== Glow Effect ===== */
.feature-card::before {
    content: "";
    position: absolute;
    inset: -18%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
        circle at var(--x, 50%) var(--y, 120%),
        rgba(238,109,255,0.6),
        rgba(143,44,157,0.45) 25%,
        rgba(50,0,71,0.32) 45%,
        rgba(30,28,38,0.2) 60%,
        transparent 70%
    );
    filter: blur(55px);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-card:hover::before {
    opacity: 0.95;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}


  /* 针对中等宽度（约 1200px）做轻量适配：留白稍微大一点，图片略缩小 */
  @media screen and (max-width: 1450px) and (min-width: 1200px) {
  .hero-slider {
    padding-left: clamp(24px, 4vw, 40px);
    padding-right: clamp(24px, 4vw, 40px);
    box-sizing: border-box;
    width: calc(100% - 80px);
  }
  .title-line {
    font-size: 40px;
  }
}

  /* 手机端：由于 slide 是 absolute，父容器需要高度；这里给更充足的高度+更紧凑的排版，避免“挤” */
/* 手机端：由于 slide 是 absolute，父容器需要高度；这里给更充足的高度+更紧凑的排版，避免“挤” */
@media screen and (max-width: 768px) {
    .hero-slider .slide.slide-mobile-inline-media {
      background-image: none !important;
    }

    .hero-slider {
      max-width: 100%;
      height: 700px;
      width: calc(100% - 40px);
    }

    .about {
      padding-top: 72px;
      padding-bottom: 56px;
    }

    .about__inner {
      padding: 0 20px;
    }

    .about__pill {
      font-size: 15px;
    }

    .about__top {
      flex-direction: column;
      gap: 24px;
    }

    .about__left {
      flex-basis: auto;
      max-width: 100%;
    }

    .about__headline {
      font-size: 25px;
    }

    .about__right {
      padding-top: 0;
    }

    .about__text {
      padding: 20px 0 0 0;
      max-width: 100%;
      font-size: 15px;
    }

    .about__divider {
      margin-top: 28px;
      height: 5px;
      margin: 30px 0 30px 0;;
    }

    .about__stats {
      grid-template-columns: 1fr;
      gap: 26px;
      margin-top: 28px;
    }

    .about__statValue {
      font-size: 25px;
    }
    .about__statTitle {
      font-size: 20px;
    }
    .about__statSub {
      font-size: 10px;
    }

    .slide {
      flex-direction: column;
      align-items: flex-start;
      background-size: contain;       /* 手机端背景图整体缩小显示完全 */
      background-position: top center;
    }

    .slide-content {
      width: 100%;
      padding: 52px 0 0;
    }

    .hero-slider .tag {
      letter-spacing: 1.5px;
    }

    .title {
      font-size: 26px;
      margin-bottom: 12px;
    }

    .desc {
      font-size: 15px;
      margin-bottom: 18px;
    }

    .slide-image {
      width: 100%;
      justify-content: center;
    }

    .slide-image-mobile-only {
      display: flex;
    }

    .slide-image img {
      width: min(100%, 420px) !important;
      height: auto !important;
    }

    .slider-tabs {
      width: 100%;
      bottom: 1px;
      gap: 12px;
      overflow-x: auto;
      padding-bottom: 6px;
    }
    
     .tab-title,
  .tab-title-big,
  .tab-sub {
    display: none;
  }
  
  .top-bg::after {
    height: 48px; /* 刚好覆盖滚动条 */
    background-size: cover;
    background-position: bottom center;
  }
  
  .bottom-bg::after {
    height: 78px; /* 刚好覆盖滚动条 */
    background-size: cover;
    background-position: bottom center;
  }

  .card-row {
    flex-direction: column;
}


.features-title {
  font-size: 35px;
}
  
  }

/* ========== Services Carousel (Below features) ========== */
.services {
  width: 100%;
  padding: 75px 0 100px;
  color: #fff;
  background-color: #1E1C26;
}

.services__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.services__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.services__heading {
  flex: 0 0 65%;
}

.services__pill {
  display: inline-flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    background: #A61DB5;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.2px;
    margin-bottom: 18px;;
}

.services__title {
  margin: 0;
    font-family: "Raleway", "Inter", Arial, sans-serif;
    font-weight: 700;
    font-size: clamp(40px, 2.2vw, 49.5px);
    line-height: 1.3;
    background: linear-gradient(to right, #FFFFFF, #999999);
    -webkit-background-clip: text;
    color: transparent;
}

.services__title span {
  display: block;
}

.services__description {
  padding-top: 70px;
    color: #FFFFFF;
    font-size: clamp(19px, 1vw, 24px);
    line-height: 1.55;
    max-width: 100%;
    font-family: "Inter", Arial, sans-serif;
    text-align: justify;
}

/* .services__description::after {
  content: "";
  display: inline-block;
  width: 100%;
} */

.services-carousel {
  position: relative;
  margin-top: 100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  --services-card-width: min(900px, 100%);
}

.services-carousel-phone {
  display: none;
  position: relative;
  margin-top: 100px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  --services-card-width: min(900px, 100%);
}

.services-viewport {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden
}

.services-viewport-phone {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden
}

.services-track {
  display: flex;
  height: 100%;
  width: max-content;
  transform: translateX(0);
  will-change: transform;
  animation: none; /* 由 JS 通过 requestAnimationFrame 控制，避免无缝衔接跳帧 */
  gap:40px;
}

.services-track-phone {
  display: flex;
  height: 100%;
  width: 100%;
  transform: translateX(0);
  transition: transform 0.3s ease;
  will-change: transform;
  gap: 12px;
}

.services-dots-phone {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.services-dot-phone {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.services-dot-phone.is-active {
  background: #A61DB5;
}


@keyframes services-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--services-distance-negative, -2000px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-track {
    animation: none;
  }
}

.services-card {
  position: relative;
  flex: 0 0 var(--services-card-width, 900px);
  width: var(--services-card-width, 900px);
  height: 100%;
  box-sizing: border-box; /* 保证 padding=48px 在卡片内部 */
  border-radius: 22px;
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  column-gap: 48px; /* 左侧内容与右侧图片之间间距 */
  padding: 48px;
  opacity: 1;
  transform: none;
  margin: 0;
  max-width: none;
  flex-shrink:0;
}

.services-card--1 {
  background: #A61DB5;
}

.services-card--2 {
  background: #6325B6;
}

.services-card--3 {
  background: #7723B6;
}

.services-card--4 {
  background: #C880D0;
}

.services-card__content {
  flex: 1 1 auto;
  max-width: none;
  display: flex;
  flex-direction: column;
  min-width: 0; /* 配合 gap，防止内容把卡片撑开 */
}

.services-card__title {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Inter", Arial, sans-serif;
  font-size: 56px;
  line-height: 1.35;
  font-weight: 700;
}

.services-card__title span {
  display: block;
}

.services-card__kicker {
  margin-top: auto;
  font-family: "Raleway", Arial, sans-serif;
  font-size: 22px;
  letter-spacing: 4px;
  font-weight: 700;
}

.services-card--1 .services-card__kicker,
.services-card--2 .services-card__kicker,
.services-card--3 .services-card__kicker,
.services-card--4 .services-card__kicker {
  color: #000;
}

.services-card__text {
  margin-top: auto;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.5;
  font-family: "Inter", Arial, sans-serif;
  font-weight: 400;
}

.services-card__btn {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 104px;
  padding:10px 22px;
  border-radius: 999px;
  /* background: #000; */
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-family: "Inter", Arial, sans-serif;
  font-size: 22px;
}



.services-card__media {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 0; /* 间距交给 services-card 的 column-gap */
  flex: 0 0 auto;
  min-width: 0; /* 防止图片撑破右侧间距 */
}

.services-card__media img {
  height: auto;
  max-width: 300px;
  max-height: 400px;;
  border-radius: 22px;
  display: block;
  object-fit: cover;
  box-sizing: border-box;
  max-width: 100%;
}

@media screen and (max-width: 900px) {
  .services-carousel {
    display: none;
  }

  .services-carousel-phone {
    display: block;
    padding: 0 20px;
    box-sizing: border-box;
  }

  .services-viewport-phone {
    padding: 0;
  }

  .services-dots-phone {
    display: flex;
  }

  .services__inner {
    padding: 0 16px;
  }

  .services__header {
    flex-direction: column;
    gap: 24px;
  }

  .services__heading {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .services-carousel {
    height: 540px;
  }

  .services-card {
    /* 手机端自动滚动效果要屏蔽 min-width: 100%;*/
    min-width: 100%;
    padding: 28px 20px;
  }

  .services-card__content {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .services-card {
    flex-direction: column;
    gap: 20px;
  }

  .services-card__media {
    padding-left: 0;
  }
}

@media screen and (max-width: 768px) {
  .services {
    padding: 56px 0 38px;
  }

  .services__inner {
    padding: 0 20px;
  }

  .services__pill {
    font-size: 15px;
    padding: 8px 10px;
    margin-bottom: 14px;
  }

  .services__title {
    font-size: 28px;
    line-height: 1.25;
  }

  .services__description {
    padding-top: 0;
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
  }

  .services-carousel {
    margin-top: 34px;
    height: auto;
    --services-card-width: calc(100vw - 40px);
  }

  .services-carousel-phone {
    margin-top: 34px;
    height: auto;
    --services-card-width: calc(100vw - 40px);
  }

  .services-track {
    gap: 16px;
  }

  /*手机端自动滚动效果*/
  /* .services-card {
    width: var(--services-card-width);
    flex: 0 0 var(--services-card-width);
    border-radius: 16px;
    padding: 24px 18px;
    column-gap: 0;
    row-gap: 14px;
  } */

  .services-card {
    width: 100%;
    flex: 0 0 100%;
    border-radius: 16px;
    padding: 24px 18px;
    column-gap: 0;
    row-gap: 14px;
  }

  .services-card__title {
    font-size: 31px;
    line-height: 1.2;
  }

  .services-card__kicker {
    margin-top: 8px;
    font-size: 13px;
    letter-spacing: 2px;
  }

  .services-card__text {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 12px;
  }

  .services-card__btn {
    margin-top: 14px;
    gap: 14px;
    font-size: 15px;
    padding: 9px 16px;
  }

  .services-card__media {
    width: 100%;
    justify-content: center;
  }

  .services-card__media img {
    width: auto;
    max-width: 100%;
    border-radius: 14px;
  }
}

@media screen and (max-width: 480px) {
  .services__title {
    font-size: 25px;
  }

  .services-card__title {
    font-size: 27px;
  }

  .services-carousel {
    --services-card-width: calc(100vw - 32px);
    height: auto;
  }

  .services-carousel-phone {
    --services-card-width: calc(100vw - 32px);
    height: auto;
  }

  .services__inner {
    padding: 0 16px;
  }

  .services-track {
    gap: 12px;
  }

  .services-card {
    padding: 20px 14px;
  }
}

/* ========== Performance Metrics Section ========== */
.performance {
  width: 100%;
  padding: 100px 0 110px;
  background-color: #1E1C26;
}

.performance__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.performance__title {
  margin: 0;
  text-align: center;
  font-family: "Inria Sans", "Inter", Arial, sans-serif;
  font-size: clamp(34px, 2.8vw, 49px);
  line-height: 1.12;
  font-weight: 700;
  background: linear-gradient(to right, #ffffff, #a2a2a8);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.performance__title span {
  display: block;
}

.performance__grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, clamp(240px, 22vw, 300px));
  justify-content: space-between; /* 左右贴边，中间 gap 自动 */
  column-gap: 0;
  row-gap: 0;
}

.performance-card {
  max-width: 300px;
  height: auto;
  aspect-ratio: 300 / 280; /* 保持 300x280 等比 */
  border-radius: 18px;
  border: 1px solid #A61DB5;
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box; /* max-width 含 padding，外层宽度不超过 300px */
}

.performance-card__index {
  align-self: flex-end;
  font-family: "Inria Sans", "Inter", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(45px, 2.3vw, 50px);
  line-height: 1;
  /* 左端与背景更融合，右端更紫更亮 */
  background: linear-gradient(
    90deg,
    rgba(30, 28, 38, 1) 0%,
    rgba(166, 29, 181, 0.35) 20%,
    rgba(185, 30, 255, 0.95) 100%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.performance-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  justify-content: flex-end; /* 数字和文字都贴到底部 */
}

.performance-card__value {
  font-family: 'Inria Sans', sans-serif;
  font-size: clamp(32px, 2.2vw, 41px);
  line-height: 1.1;
  font-weight: bold;
  color: #A61DB5;
}

.performance-card__value span {
  font-size: 0.33em;
  vertical-align: middle;
}

.performance-card__label {
  margin-top: 10px; /* 数字与文字之间的间距 */
  font-family: "Inria Sans", "Inter", Arial, sans-serif;
  font-size: clamp(13px, 0.9vw, 19px);
  line-height: 1.25;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.4px;
}



@media screen and (max-width: 768px) {
  .performance {
    padding: 50px 0 90px;
  }

  .performance__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .performance-card {
    height: auto;
    max-height: none;
    aspect-ratio : 5 / 3;
  }
}

/* ========== Building Trust Two Images ========== */
.building-trust {
  width: 100%;
  padding: 50px 0 100px;
  background: linear-gradient(
    to bottom,
    #1E1C26 0%,
    #1A1822 15%,
    #14121C 30%,
    #111016 35%,
    #0C0A0F 80%,
    #060408 100%
  );
}

.building-trust__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.building-trust__grid {
  display: flex;
  gap: 0;
  align-items: flex-start;
}

.building-trust__panel {
  border-radius: 22px;
  background: #1E1C26;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.building-trust__img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  max-width: min(540px, 100%);
  max-height: min(911px, 100%);
}

.building-trust__img--left {
  max-width: min(540px, 100%);
  max-height: min(911px, 100%);
}

.building-trust__img--right {
  max-width: min(780px, 100%);
  max-height: min(911px, 100%);
}

@media screen and (max-width: 900px) {
  .building-trust__inner {
    padding: 0 16px;
  }

  .building-trust__grid {
    flex-direction: column;
    gap: 20px;
  }

  .building-trust__panel {
    border-radius: 18px;
  }

  /* 手机模式：只展示右侧图 */
  .building-trust__panel--left {
    display: none;
  }
}

/* ========== Financial Expertise Banner ========== */
.fin-banner {
  width: 100%;
  padding: 50px 0 100px;
  background: #060408;
}

.fin-banner__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.fin-banner__title {
  margin: 0;
  font-family: "Raleway", "Inter", sans-serif;
  font-weight: 700;
  font-size: 41px;
  line-height: 1.25;
  background: linear-gradient(to right, #FFFFFF, #999999);
  -webkit-background-clip: text;
  color: transparent;
  flex: 0 0 40%;
}

.fin-banner__title span {
  display: block;
}

.fin-banner__text {
  max-width: 730px;
  font-family: "Inter", sans-serif;
  font-size: clamp(15px, 3vw, 20px);
  line-height: 1.9;
  color: #FFFFFF;
  font-weight: 300;
  padding-left: 20px;
}

@media screen and (max-width: 900px) {
  .fin-banner {
    padding: 50px 0 30px;
  }

  .fin-banner__inner {
    padding: 0 20px;
    flex-direction: column;
    gap: 16px;
  }

  .fin-banner__title {
    font-size: 28px;
  }

  .fin-banner__text {
    max-width: 100%;
    padding-left: 0;
  }
}

/* ========== Case Studies Carousel ========== */
.case-studies-container {
  width: 100%;
  padding: 50px 0 100px;
}

.case-studies {
  max-width: none;
  padding: 0;
  margin: 0;
}

.case-studies__header {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
  margin-bottom: 100px;
}

.case-studies__pill {
  text-align: center;
  font-family: "Raleway", "Inter", sans-serif;
  font-size: 20px;
  letter-spacing: 4px;
  color: #A61DB5;
  font-weight: 600;
  margin-bottom: 10px;
}

.case-studies__title {
  text-align: center;
  margin: 0;
  font-size: clamp(32px, 3vw, 48px);
  font-family: "Inter", sans-serif;
  font-weight: 500;
  background: linear-gradient(to right, #FFFFFF, #9D9D9D);
  -webkit-background-clip: text;
  color: transparent;
}

.case-studies__desc {
  margin: 16px auto 0;
  color: #FFFFFF;
  font-size: clamp(18px, 3vw, 24px);
  line-height: 1.7;
  font-weight: 400;
  font-family: "Inter", sans-serif;
}

.case-studies__viewport,.case-studies__viewport-phone {
  max-width: none;
  margin: 0;
  width: 100%;
  overflow: hidden;
}

.case-studies__track,.case-studies__track-phone {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
  will-change: transform;
}

/* 最后一页→第一页：更长、略减速的过渡，视觉上像沿反方向「倒回」到第一张 */
.case-studies__track.case-studies__track--rewind {
  transition: transform 0.55s cubic-bezier(0.25, 0.9, 0.35, 1);
}

.case-studies__track img,.case-studies__track-phone img {
  display: block;
  flex: 0 0 var(--caseSlideW, 100%);
  width: var(--caseSlideW, 100%);
  height: auto;
  max-width: none;
  transform: none;
}


.case-studies__dots,.case-studies__dots-phone {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.case-studies__dot,.case-studies__dot-phone {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.case-studies__dot.is-active,.case-studies__dot-phone.is-active {
  background: #A61DB5;
}

/* 默认桌面端：仅显示桌面轮播 */
.case-studies__viewport-phone,
.case-studies__dots-phone {
  display: none;
}

@media (max-width: 1400px) {

  .case-studies__viewport {
    padding-right: 0;
  }

}

@media screen and (max-width: 900px) {
  /* 手机端：仅显示手机轮播 */
  .case-studies__viewport,
  .case-studies__dots {
    display: none;
  }

  .case-studies__viewport-phone,
  .case-studies__dots-phone {
    display: block;
  }

  .case-studies__dots-phone {
    display: flex;
  }

  .case-studies {
    padding: 0 20px;
  }

  .case-studies__desc {
    font-size: 15px;
    line-height: 1.6;
  }

  .case-studies-container {
    padding: 25px 0 50px;
  }

  .case-studies__header {
    margin-bottom: 50px;
  }

  .case-studies__dot,.case-studies__dot-phone {
    width: 12px;
    height: 12px;
  }


  .case-studies__track,.case-studies__track-phone {
    gap: 0 !important;
  }


  /* 手机端：每张图占满一屏，不做左右露出 */
  .case-studies__track img,.case-studies__track-phone img  {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
}

 /*按键容器*/
    .service-cta-container-div{
        width: 1320px;
        max-width: calc(100% - 80px);
        margin: 50px auto 100px;
    }
    .service-cta-container {
     
      padding: 60px 40px;   /* 永远用 padding 控制左右留白 */
      box-sizing: border-box;
    
      background: linear-gradient(90deg, #A61DB5 0%, #382AB7 100%);
      border-radius: 10px;
    
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 40px;
    }

    
    .service-cta-text {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

     /*按键左边文字*/
    .service-cta-text-line {
      font-family: 'Raleway', sans-serif;
      font-weight: 700;
      font-size: 41.25px;
      color: #000000;
      line-height: 1.2;
      transition: color 220ms ease;
    }

    /*按键*/
    .service-cta-btn {
      width: 240px;
      height: 70px;
      background: #000000;
      color: #ffffff;
      border: none;
      border-radius: 10px;
      font-family: 'Raleway', sans-serif;
      font-weight: 700;
      font-size: 20px;
      padding: 0;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      white-space: nowrap;
      transition: background-color 220ms ease, color 220ms ease, transform 180ms ease;
    }

    /*按键箭头*/
    .service-cta-btn-arrow {
      display: inline-block;
      flex-shrink: 0;
    }

    .service-cta-btn-arrow img {
      width: 21px;
      height: 21px;
      display: block;
    }

    /* Hover 效果 */
    .service-cta-container:has(.service-cta-btn:hover) .service-cta-text-line,
    .service-cta-container:has(.service-cta-btn:focus-visible) .service-cta-text-line {
      color: #ffffff;
    }

    .service-cta-container:has(.service-cta-btn:hover) .service-cta-btn,
    .service-cta-container:has(.service-cta-btn:focus-visible) .service-cta-btn {
      background: #ffffff;
      color: #000000;
    }

@media (max-width: 1100px) {

  .service-cta-container {
    flex-direction: column;
    text-align: center;
    padding: 50px 32px;   /* 只改 padding，不改 width */
    margin: 80px auto 0;
  }

  .service-cta-text-line {
    font-size: 32px;
  }

}

@media (max-width: 768px) {

  .service-cta-container-div{
    margin: 0 auto 50px;
}

  .service-cta-container {
    padding: 40px 20px;   /* 手机安全区 */
    margin: 0 auto 0;
  }

  .service-cta-text-line {
    font-size: 24px;
  }
}

/*轮播图 slider*/
.publications-container {
  width: 100%;
  padding: 50px 0 50px;
}

.carousel-container {
  width: 1320px;
  max-width: calc(100% - 80px);
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.section-header {
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: #7723B6;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 16.5px;
  color: #bbb;
  line-height: 1.5;
  max-width: 800px;
}

.carousel-wrapper {
  display: flex;
  transition: transform .5s ease-in-out;
  justify-content: space-between;
}

.carousel-item {
  flex: 0 0 calc((100% - 60px) / 4);
  aspect-ratio: 318.25 / 292;
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
}

.carousel-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: linear-gradient(to top, #1A1A1A 0%, rgba(26, 26, 26, 0.9) 50%, rgba(26, 26, 26, 0) 100%);
  z-index: 2;
}

.carousel-title {
  width: 306px;
  font-size: 21.45px;
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.carousel-title a {
  color: inherit;
  text-decoration: none;
}

.carousel-title a:hover {
  color: #A061F6;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin: 50px 0 0 0; /* 上 左右 下 */
    gap: 10px;
}

.carousel-btn {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: none;
  background-color: #A061F6;
  opacity: 0.3;
  cursor: pointer;
  transition: all .3s;
}

.carousel-btn.active {
  opacity: 1;
}

.carousel-btn:hover {
  opacity: 0.7;
}

.nav-arrows {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 10;
}

.nav-prev {
  left: 30px;
}

.nav-next {
  right: 10px;
}

.nav-prev::before,
.nav-next::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-right: solid 3px #fff;
  border-bottom: solid 3px #fff;
  opacity: 1;
}

.nav-prev::before {
  transform: rotate(135deg);
}

.nav-next::before {
  transform: rotate(-45deg);
}

.loading {
  text-align: center;
  padding: 40px;
  color: #fff;
  font-size: 18px;
}

.error {
  text-align: center;
  padding: 40px;
  color: #ff6b6b;
  font-size: 18px;
}

@media (max-width: 900px) {
  .carousel-wrapper {
    display: block;
  }

}


 /* Footer Styles */
 .mars-footer-container * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.mars-footer-container {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #181625;
}

.mars-footer {
  width: 1520px;
  background: #232226;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    margin: auto 0;
    padding: 0;
    width: 100vw;
}

.mars-footer-main {
  display: flex;
    border-bottom: 1px solid #181625;
    flex-wrap: wrap;
}

.mars-footer-main-left {
  display: flex;
    flex: 5.5;
    padding: 40px;
    background: #232226;
    justify-content: right;
}

.mars-footer-main-right {
  flex: 4.5;
    min-height: 100%;
    background-image: url('./assets/Rectangle10.webp');
    background-position: right top;
    background-size: auto;
    background-repeat: no-repeat;
    background-size: 100% 120%;
}


.mars-footer-logo {
    width: 295px;
    height: 45.85px !important;
}

.mars-footer-slogan {
  color: #7723B6;
  font-family: 'Roboto', sans-serif;
  margin: 25px 0;
  font-size: 20px;
  font-weight: 600;
}

.mars-footer-follow-text {
  color: #fff;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 600;
  margin-bottom: 9px;
}

.mars-footer-social {
  display: flex;
  gap: 16px;
}

.mars-footer-icon {
  height: 28px;
  width: 28px;
  background: #fff1;
  border-radius: 6px;
}

.mars-footer-info-section {
  padding: 0 98px;
}

.mars-office-title {
  font-weight: 700;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #7723B6;
}

.mars-company-name {
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
  display: block;
  margin-top: 1px;
  margin-bottom: 2px;
}

.mars-office-address {
  font-size: 14px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
  line-height: 1.4;
  display: block;
  margin-top: 1px;
}

.mars-office-section-vietnam {
  margin-top: 20px;
}

.mars-footer-link-section {
}

.mars-footer-link-section h4 {
  color: #7723B6;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin-bottom: 14px;
  margin-top: 8px;
  line-height: 1.2;
}

.mars-footer-link-section a {
  color: #fff;
  text-decoration: underline;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  margin-bottom: 20px;
  display: block;
  line-height: 0.9;
}

.mars-footer-cta-section {
  margin: 50px;
}

.cta-text {
  font-size: 30px;
  font-weight: 700;
  color: #7723B6;
}

.cta-text span {
  font-size: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #fff;
}

.mars-footer-cta-btn {
  background: #7723B6;
  color: #081011;
  border: none;
  border-radius: 9px;
  width: 190px;
  height: 50px;
  font-size: 18px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  margin-top: 20px;
  cursor: pointer;
  transition: filter 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mars-footer-cta-btn:hover {
  filter: brightness(1.1);
}

.mars-footer-bottom {
  background: #000000;
  text-align: center;
  font-size: 15px;
  padding: 14px 0;
  color: #b6b5bd;
}

.mars-footer-bottom-main{
    display: flex;
    text-align: left;
}

.mars-footer-bottom-main-left{
    flex: 5.5;
    text-align: center;
    padding: 0 40px;
}

.mars-footer-bottom span {
  margin: 6px 8px 6px 0;
}
.mars-footer-policy-links {
    flex: 4.5;
}

.mars-footer-policy-links a {
  color: #fff;
  text-decoration: underline;
  margin: 0 2px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .mars-footer-main {
    flex-direction: column;
    padding: 34px 10vw 22px 10vw;
  }
  
  .mars-footer-logo-section,
  .mars-footer-info-section,
  .mars-footer-link-section,
  .mars-footer-cta-section {
    min-width: 160px;
    margin-bottom: 10px;
    padding: 0;
    text-align: center;
  }
  
  .mars-footer-bottom {
    flex-direction: column;
    padding: 10px 3vw;
  }
}

/* Hide footer on phone screens */
@media (max-width: 768px) {
  .mars-footer {
    display: none !important;
  }
}