.agent-main .base-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  border: 1px solid var(--border);
  border-top: none;
  border-bottom: none;
}

.base-content h2 {
  margin-bottom: 40px;
}

.base-content p.desc {
  margin-bottom: 40px;
  text-align: center;
  padding: 0 20px;
}

.agent-main .performance-content.base-content {
  padding-bottom: 0;
}

.agent-main .performance-content .feature-container {
  display: flex;
  align-items: center;
  width: 100%;
  /* gap: 40px; */
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.agent-main .performance-content .feature-right {
  width: 100%;
  min-height: 440px;
  flex: 1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
}

.agent-main .feature-right .action-item {
  padding: 45px 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  flex: 1;
}
.agent-main .feature-right .action-item:not(:last-child) {
  border-bottom: 1px solid var(--border);
}

.agent-main .feature-right .action-item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.agent-main .feature-right .action-item-title h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--black);
}

.agent-main .feature-right p > strong {
  color: var(--black);
}
.agent-main .feature-right p {
  color: var(--text);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  display: none;
}





.agent-main .feature-right .action-item-title .arrow-svg {
  width: 14px;
  height: 16px;
  color: #000000;
  transform: rotate(180deg);
  transition: all 0.3s ease;
}
.agent-main .feature-right .action-item.active {
  background-color: #00c7d20d;
  padding: 40px;
}
.agent-main .feature-right .action-item.active p {
  display: block;
}
.agent-main .feature-right .action-item.active .action-item-title .arrow-svg {
  color: #00dfff;
  transform: rotate(0deg);
}
.agent-main .feature-right .action-item:not(.active):hover {
  background-color: #00c7d205;
}
.agent-main .feature-right .action-item.active .item-content {
  display: flex;
}

.agent-main .feature-right .item-content {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-top: 10px;
}

.feature-right .item-content .content-list h3 {
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--black);
}

.feature-right .item-content .content-list p {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  letter-spacing: 0;
}

.agent-main .performance-content .feature-left {
  /* width: 600px; */
  flex: 1;
  height: 400px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.agent-main .performance-content .feature-left img {
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
  /* position: absolute;
  top: 50%;
  left: 40px;
  transform: translate(0, -50%);
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
  z-index: 1; */
}

.agent-main .performance-content .feature-left img.active {
  opacity: 1;
  z-index: 2;
}

.agent-main .performance-content .feature-left img.fade-in,
.agent-main .performance-content .feature-left img.fade-out {
  display: none;
}

.agent-main .impact-section {
  padding: 120px 0 60px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.agent-main .impact-section .impact-content {
  background-color: var(--black);
  background-image: url("../images/compute/compute-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.agent-main .impact-section .impact-content h2 {
  font-weight: 700;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--white);
}

.agent-main .impact-section .impact-content .card-content {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
}

.impact-content .card-content .card-item {
  padding: 40px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background-color: var(--white);
  border-radius: 4px;
}

.impact-content .card-content .card-item h3 {
  font-weight: 700;
  font-size: 56px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: var(--black);
}

.impact-content .card-content .card-item h3 span {
  font-size: 24px;
}

.impact-content .card-content .card-item h5 {
  font-weight: 600;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  text-align: center;
  color: var(--black);
}

.impact-content .card-content .card-item p {
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0;
  text-align: center;
  color: var(--text);
}

.agent-main .values-content .card-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-content: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.values-content .card-content .card-item {
  padding: 40px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.values-content .card-content .card-item img {
  width: 32px;
  height: 32px;
}
.values-content .card-content .card-item .info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.values-content .card-content .card-item .info h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0;
  color: var(--black);
}
.values-content .card-content .card-item .info p {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--text);
}

.values-content .card-content .card-item:nth-child(3n) {
  border-right: none;
}

.values-content .card-content .card-item:nth-last-child(-n + 3) {
  border-bottom: none;
}

@media screen and (max-width: 1280px) {
  .agent-main .performance-content .feature-left {
    padding: 20px;
  }
  .agent-main .performance-content .feature-left img {
    width: 80%;
  }
  .agent-main .impact-section .impact-content {
    padding: 60px 20px;
  }
  .agent-main .impact-section .impact-content .card-content {
    width: 100%;
    overflow: hidden;
  }
  .agent-main .pricing-content {
    gap: 40px;
  }
}

@media screen and (max-width: 1024px) {
  .agent-main .pricing-content {
    padding: 60px 20px;
  }
}


@media screen and (max-width: 960px) {
  .agent-main .performance-content .feature-container {
    display: flex;
  }
  .featureCarousel {
    display: none;
  }
  .agent-main .performance-content .feature-left img {
    width: 100%;
  }
  .agent-main .performance-content .feature-container {
    flex-direction: column;
    gap: 60px;
    /* padding: 60px 20px; */
  }
  .base-content h2,
  .base-content p.desc {
    padding: 0 20px;
    text-align: center;
  }
  .agent-main .feature-right .action-item,
  .agent-main .feature-right .action-item.active {
    padding: 40px 20px;
  }
  .impact-content .card-content .card-item {
    padding: 40px 0;
  }
  .values-content .card-content .card-item {
    padding: 40px 20px;
  }
  .agent-main .pricing-content {
    flex-direction: column;
  }
  .agent-main .pricing-content .pricing-right {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
}

@media screen and (max-width: 680px) {
  .agent-main .impact-section .impact-content {
    padding: 60px 15px;
  }
  .agent-main .impact-section .impact-content .card-content {
    grid-template-columns: repeat(1, 1fr);
  }
  .agent-main .values-content .card-content {
    grid-template-columns: repeat(1, 1fr);
  }
  .values-content .card-content .card-item {
    padding: 40px 15px;
  }
  .values-content .card-content .card-item:not(:last-child) {
    border-bottom: 1px solid var(--border);
    border-right: none;
  }
  .agent-main .pricing-content {
    padding: 60px 15px;
  }
}

.agent-main.wf-main .main-hero.product-hero.slogan-hero {
  container-type: inline-size;
  margin-top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 520px;
  height: auto;
  padding: 100px 40px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    #000 url("../images/compute/compute-bg.png") center / cover no-repeat;
  text-align: center;
  gap: 0;
}
.agent-main.wf-main .slogan-hero h1 {
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: min(62px, 6.2cqw);
  white-space: nowrap;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-align: center;
}
@media (max-width: 680px) {
  .agent-main.wf-main .slogan-hero h1 { font-size: 5.8cqw; }
  .agent-main.wf-main .main-hero.product-hero.slogan-hero {
    min-height: 380px;
    padding: 80px 20px;
  }
}

/* Footer shared appearance with AlphaDojo. */
.footer-bottom-banner .bottom-banner-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 50px;
  background-color: #000;
  background-image: url("../images/home/faq-banner-bg.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  text-align: center;
}
@media (max-width: 680px) {
  .footer-bottom-banner .bottom-banner-content {
    padding: 60px 20px;
  }
}
.footer-bottom-banner .bottom-banner-content h3 {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(28px, 3.3vw, 40px);
  line-height: 1.2;
  text-align: center;
}

/* Remove the footer banner's inherited outer whitespace. */
.bottom-banner.footer-bottom-banner {
  padding: 0;
  width: 100%;
  max-width: none;
  margin: 0;
}
/* Keep the dark footer open, with only a copyright divider. */
.bottom-banner.footer-bottom-banner,
.footer-bottom-banner + footer.wf-footer,
.footer-bottom-banner + footer.wf-footer .wf-footer-container,
.footer-bottom-banner + footer.wf-footer .wf-footer-top,
.footer-bottom-banner + footer.wf-footer .wf-footer-main {
  border: 0;
}
.footer-bottom-banner + footer.wf-footer .wf-footer-bottom {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
/* Reduce the empty black space above the footer logo. */
.footer-bottom-banner + footer.wf-footer .wf-footer-container {
  padding-top: 60px;
}
.footer-bottom-banner + footer.wf-footer .wf-footer-top {
  padding-top: 0;
}

/* Product-page entry above each capability section. */
.agent-main .product-guide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: stretch;
  gap: 24px;
  margin: -60px 0 48px;
  padding: 28px 40px;
  border-bottom: 1px solid var(--border);
  background: transparent;
  color: var(--black, #000);
  text-decoration: none;
  transition: background-color 180ms ease;
}
.agent-main .product-guide-separated {
  border-top: 1px solid var(--border, #eee);
}
.agent-main .product-guide-logo {
  display: block;
  width: 210px;
  height: 36px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0);
}
.agent-main .product-guide-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.agent-main .product-guide-link svg {
  flex-shrink: 0;
  transition: transform 180ms ease;
}
.agent-main .product-guide:hover {
  background: rgba(0, 0, 0, 0.025);
}
.agent-main .product-guide:hover .product-guide-link {
  color: var(--black, #000);
}
.agent-main .product-guide:hover .product-guide-link svg {
  transform: translateX(4px);
}
.agent-main .product-guide:focus-visible {
  outline: 2px solid var(--black, #000);
  outline-offset: -4px;
}
@media (max-width: 680px) {
  .agent-main .product-guide {
    margin-top: -60px;
    margin-bottom: 32px;
    padding: 24px 20px;
    flex-wrap: wrap;
    gap: 20px;
  }
  .agent-main .product-guide-logo {
    width: 168px;
    height: 29px;
  }
  .agent-main .product-guide-link {
    font-size: 14px;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .agent-main .product-guide,
  .agent-main .product-guide-link svg {
    transition: none;
  }
}

/* Align homepage capability headings with the product entry logos. */
.agent-main .performance-content > .product-guide + h2 {
  align-self: stretch;
  margin-left: 0;
  margin-right: 0;
  padding-left: 40px;
  padding-right: 40px;
  text-align: left;
}
@media (max-width: 680px) {
  .agent-main .performance-content > .product-guide + h2 {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* Keep each product introduction beside its logo when space allows. */
.agent-main .product-guide-brand {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 28px;
}
.agent-main .product-guide-brand .product-guide-logo {
  flex-shrink: 0;
}
.agent-main .product-guide-description {
  max-width: 460px;
  color: #555;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
.agent-main .product-guide-link {
  flex-shrink: 0;
}
@media (max-width: 960px) {
  .agent-main .product-guide-brand {
    gap: 20px;
    flex-wrap: wrap;
  }
}
@media (max-width: 680px) {
  .agent-main .product-guide-brand {
    flex-basis: 100%;
    gap: 14px;
  }
  .agent-main .product-guide-description {
    flex-basis: 100%;
    font-size: 14px;
  }
}


/* Product introductions now directly precede the capability content. */
.agent-main .performance-content > .product-guide {
  margin-bottom: 0;
  border-bottom: 0;
}

/* Product testimonials, matching the product detail pages. */

.agent-main .community-content.voices {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  padding: 60px 0;
  border: 1px solid #EEEEEE;
  border-bottom: none;
  border-top: none;
  overflow: hidden;
}



.agent-main .voices {
  position: relative;
}

.agent-main .voices .voices-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}
.agent-main .voices .voices-scroll-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.agent-main .voices .voices-card {
  display: flex;
  flex-wrap: nowrap;
  width: max-content; /* 关键：确保容器宽度由子项撑开 */
}

.agent-main .voices .card-item {
  width: 360px;
  border: 1px solid var(--border);
  /* border-radius: 8px; */
  padding: 40px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  flex-shrink: 0;
}
.agent-main .voices .card-item:not(:last-child) {
  border-right: none;
}

.agent-main .voices .card-item .card-item-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.agent-main .voices .card-item .card-item-top img {
  width: 32px;
  height: 20px;
}

.agent-main .voices .card-item .card-item-top p {
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0%;
  color: var(--text);
}

.agent-main .voices .card-item .card-item-bottom {
  display: flex;
  align-items: center;
  gap: 12px;
}

.agent-main .voices .card-item .card-item-bottom .avatar {
  width: 32px;
  height: 32px;
  border-radius: 100%;
  overflow: hidden;
  flex-shrink: 0;
  object-fit: cover;
}

.agent-main .voices .card-item .card-item-bottom .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-main .voices .card-item .card-item-bottom .info {
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.agent-main .voices .card-item .card-item-bottom .info .name {
  font-weight: 800;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--black);
}

.agent-main .voices .card-item .card-item-bottom .info .company {
  font-weight: 400;
  font-size: 12px;
  color: var(--text);
}

.agent-main .voices .card-item .card-item-bottom .info .info-img {
  width: 30px;
  height: 20px;
  rotate: -180deg;
  opacity: 0.1;
  position: absolute;
  bottom: 0;
  right: 0;
}


/* Keep the homepage card styling, adapted to two visible testimonials. */
.agent-main .voices .voices-scroll-wrapper { overflow-x: visible; }
.agent-main .voices .voices-card { width: 100%; }
.agent-main .voices .card-item { width: 50%; min-width: 0; }
.agent-main .voices .card-item p { margin: 0; }
@media (max-width: 680px) {
  .agent-main .community-content.voices { padding: 60px 0; gap: 0; }
  .agent-main .voices .voices-card { flex-direction: column; }
  .agent-main .voices .card-item { width: 100%; }
  .agent-main .voices .card-item:not(:last-child) {
    border-right: 1px solid var(--border);
    border-bottom: none;
  }
}


.agent-main .voices .voices-research-notice {
  align-self: stretch;
  max-width: none;
  margin: 16px 24px 0;
  font-size: 12px;
  line-height: 1.6;
  color: #999;
  text-align: left;
  text-wrap: pretty;
}
@media (max-width: 680px) {
  .agent-main .voices .voices-research-notice {
    margin-right: 20px;
    margin-left: 20px;
  }
}


.agent-main .voices > h2 {
  align-self: stretch;
  width: 100%;
  margin: 0 0 32px;
  padding: 8px 40px;
  text-align: left;
  line-height: 1.25;
}
@media (max-width: 960px) {
  .agent-main .voices > h2 {
    padding: 8px 20px;
    margin-bottom: 28px;
  }
}
@media (max-width: 680px) {
  .agent-main .voices > h2 {
    padding: 4px 20px;
    margin-bottom: 24px;
  }
}

/* Short company introduction following both product testimonial sections. */
.agent-main .home-about {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.6fr);
  gap: 64px;
  padding: 64px 40px 80px;
  border: 1px solid var(--border);
  border-bottom: 0;
}
.agent-main .home-about h2 {
  margin: 0 0 24px;
  text-align: left;
  line-height: 1.25;
}
.agent-main .home-about-copy p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}
.agent-main .home-about-copy .home-about-lead {
  margin-bottom: 20px;
  color: var(--black);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.45;
}
.agent-main .home-about-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--black);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.agent-main .home-about-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.agent-main .home-about-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
@media (max-width: 960px) {
  .agent-main .home-about {
    padding: 48px 20px 60px;
    gap: 32px;
  }
}
@media (max-width: 680px) {
  .agent-main .home-about {
    grid-template-columns: minmax(0, 1fr);
  }
  .agent-main .home-about h2 {
    margin-bottom: 20px;
  }
}
