/* ==========================================================================
   九彩云官网首页（AI 版）— 依据 2026 设计稿重制
   仅用于 index.html
   ========================================================================== */

:root {
  --ai-red: #d6222a;
  --ai-red-dark: #b81b22;
  --ai-ink: #26262a;
  --ai-ink-2: #3a3b40;
  --ai-muted: #7d818c;
  --ai-muted-2: #9b9fa9;
  --ai-line: #ececf0;
  --ai-card: #f9f9fa;
  --ai-dark: #24262d;
  --ai-radius: 16px;
  --ai-container: 1736px;
  --ai-shadow: 0 18px 50px rgba(36, 38, 45, 0.08);
  --ai-shadow-sm: 0 10px 26px rgba(36, 38, 45, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.ai-home {
  margin: 0;
  color: var(--ai-ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.ai-home img {
  display: block;
  max-width: 100%;
  height: auto;
}

.ai-home a {
  color: inherit;
  text-decoration: none;
}

.ai-home a.ai-btn--primary {
  color: #fff;
}

.ai-home a.ai-btn--primary:hover {
  color: #fff;
}

.ai-home a.ai-btn--ghost {
  color: var(--ai-red);
}

.ai-home a.ai-header__phone {
  color: var(--ai-red);
}

.ai-home a.ai-header__phone:hover {
  color: var(--ai-red-dark);
}

.ai-home ul,
.ai-home ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ai-home h1,
.ai-home h2,
.ai-home h3,
.ai-home h4,
.ai-home p {
  margin: 0;
}

.ai-home button,
.ai-home input {
  font: inherit;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.ai-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 500px;
  background:
    linear-gradient(104deg, #f4f5f8 0%, #f7f8fa 30%, #fbfcfd 52%, #ffffff 74%),
    #fff;
  overflow: hidden;
}

@media (min-width: 1025px) {
  .ai-hero.is-ai-slide {
    background: url("../images/index/hero-bg.png") right center / cover no-repeat;
  }

  .ai-hero.is-ai-slide .ai-hero__slide:first-child img {
    visibility: hidden;
  }
}

.ai-hero__art {
  position: absolute;
  top: 0;
  right: 0;
  width: 48%;
  max-width: 920px;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.ai-hero__slider {
  aspect-ratio: 920 / 474;
  overflow: hidden;
}

.ai-hero__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-hero__slide {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

.ai-hero__slide img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: right center;
}

/* 旧首页插图源图边缘直接被裁断，用渐隐遮罩让断口融入浅色背景 */
.ai-hero__slide--blend img {
  -webkit-mask-image:
    linear-gradient(to right, #000 90%, transparent 100%),
    linear-gradient(to bottom, #000 94%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, #000 90%, transparent 100%),
    linear-gradient(to bottom, #000 94%, transparent 100%);
  mask-composite: intersect;
}

.ai-hero__inner {
  position: relative;
  z-index: 1;
}

.ai-hero__copies {
  display: grid;
}

.ai-hero__copy {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  max-width: 900px;
  padding: 64px 0 52px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

.ai-hero__copy.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease;
}

.ai-hero h1 {
  color: #26262a;
  font-size: 62px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: 0.5px;
}

.ai-hero h1 .ai-red {
  color: var(--ai-red);
  background: linear-gradient(96deg, #ff5f6d 0%, #ef3b45 46%, #d6222a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ai-hero__desc {
  max-width: 880px;
  color: #6e7280;
  font-size: 18px;
  line-height: 1.75;
}

/* 需高于 .ai-home p 的 margin:0 */
.ai-hero__copy .ai-hero__desc {
  margin: 18px 0 56px;
}

.ai-hero__actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: auto;
}

.ai-hero__actions .ai-btn {
  min-width: 184px;
  height: 64px;
  padding: 0 42px;
  font-size: 17px;
}

.ai-home .ai-hero__actions .ai-btn--ghost {
  color: #3a3b40;
  background: #fff;
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(36, 38, 45, 0.06);
}

.ai-home .ai-hero__actions .ai-btn--ghost:hover {
  color: var(--ai-red);
  border-color: transparent;
}

.ai-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-50%);
}

.ai-hero__dots button {
  width: 34px;
  height: 4px;
  padding: 0;
  border: 0;
  background: #dcdde2;
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.ai-hero__dots button.on {
  width: 42px;
  background: var(--ai-red);
}

/* --------------------------------------------------------------------------
   区块通用
   -------------------------------------------------------------------------- */
.ai-section {
  padding: 96px 0;
}

.ai-sec-head {
  text-align: center;
}

.ai-sec-head h2 {
  color: #2b2b2f;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1px;
}

.ai-sec-head p {
  margin-top: 14px;
  color: #8a8e99;
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   AI 驱动流程智能升级
   -------------------------------------------------------------------------- */
.ai-upgrade {
  padding-top: 84px;
  padding-bottom: 56px;
}

.ai-upgrade .ai-sec-head {
  margin-bottom: 58px;
}

.ai-grid {
  display: grid;
  gap: 28px;
}

.ai-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ai-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.ai-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  padding: 46px 40px 0;
  background: var(--ai-card);
  border-radius: var(--ai-radius);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ai-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--ai-shadow);
}

.ai-card__head {
  position: relative;
  z-index: 1;
  padding-right: 62px;
}

.ai-card__head h3 {
  color: #2a2a2e;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
}

.ai-card__head p {
  margin-top: 10px;
  color: #7d818c;
  font-size: 15px;
}

.ai-card__icon {
  position: absolute;
  top: 40px;
  right: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  color: var(--ai-red);
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(214, 34, 42, 0.14);
}

.ai-card__icon img {
  width: 28px;
  height: 28px;
}

.ai-card__art {
  width: calc(100% + 80px);
  max-width: none;
  margin: auto -40px 0;
}

.ai-card--wide {
  min-height: 378px;
  padding: 42px 50px 0;
}

.ai-card--wide .ai-card__art {
  width: calc(100% + 100px);
  max-width: none;
  margin: auto -50px 0;
}

.ai-card--industry {
  position: relative;
  background: var(--ai-card) url("../images/index/ai-5.webp") no-repeat right bottom / 73% auto;
}

.ai-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 44px;
}

/* --------------------------------------------------------------------------
   数据和 AI 驱动的企业人工智能体
   -------------------------------------------------------------------------- */
.ai-agent-sec {
  padding-top: 64px;
}

.ai-agent-sec .ai-sec-head {
  margin-bottom: 32px;
}

.ai-diagram {
  position: relative;
}

.ai-diagram img {
  width: 100%;
  max-width: 1650px;
  margin: 0 auto;
}

.ai-diagram__hint {
  display: none;
}

/* --------------------------------------------------------------------------
   AI 赋能产品体系
   -------------------------------------------------------------------------- */
.ai-products {
  padding: 88px 0 96px;
  background:
    radial-gradient(1200px 500px at 12% 0%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(1000px 460px at 100% 100%, #ffffff 0%, rgba(255, 255, 255, 0) 62%),
    #f6f7f9;
}

.ai-products .ai-sec-head {
  margin-bottom: 56px;
}

.ai-products__grid {
  gap: 30px;
}

.ai-prod {
  display: flex;
  align-items: center;
  gap: 34px;
  min-height: 210px;
  padding: 34px 40px;
  background: #fff;
  border: 1px solid rgba(236, 236, 240, 0.9);
  border-radius: var(--ai-radius);
  box-shadow: 0 12px 34px rgba(36, 38, 45, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ai-prod:hover {
  transform: translateY(-4px);
  box-shadow: var(--ai-shadow);
}

.ai-prod__icon {
  flex: 0 0 auto;
  width: 124px;
  height: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-prod__icon img {
  max-width: 100%;
  max-height: 100%;
}

.ai-prod__body h3 {
  color: #26262a;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
}

.ai-prod__body p {
  margin-top: 8px;
  color: #858995;
  font-size: 14px;
  line-height: 1.7;
}

.ai-prod__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 7px 22px;
  border: 1px solid #e6e6ea;
  border-radius: 999px;
  color: #6c707c;
  font-size: 13px;
  background: #fbfbfc;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.ai-prod__link svg {
  width: 13px;
  height: 13px;
}

.ai-prod__link:hover {
  color: var(--ai-red);
  border-color: rgba(214, 34, 42, 0.4);
  background: #fff;
}

/* --------------------------------------------------------------------------
   多维流程管理理论 MPM
   -------------------------------------------------------------------------- */
.ai-mpm {
  padding: 72px 0 64px;
}

.ai-mpm .ai-sec-head {
  margin-bottom: 40px;
}

.ai-mpm__art {
  width: 100%;
  max-width: 1615px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   客户 logo
   -------------------------------------------------------------------------- */
.ai-customers {
  padding: 72px 0;
}

.ai-customers .ai-sec-head {
  margin-bottom: 48px;
}

.ai-customers .ai-sec-head p {
  margin-top: 12px;
  color: #8a8e99;
  font-size: 15px;
}

.ai-logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 30px 32px;
}

.ai-client {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #ececf0;
  border-radius: 4px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ai-client:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(36, 38, 45, 0.08);
}

.ai-client img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.ai-cta {
  position: relative;
  padding: 78px 0 70px;
  background:
    radial-gradient(760px 340px at 12% 0%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 62%),
    radial-gradient(900px 420px at 88% 8%, rgba(226, 231, 253, 0.95), rgba(226, 231, 253, 0) 66%),
    radial-gradient(700px 320px at 55% 115%, rgba(233, 228, 250, 0.85), rgba(233, 228, 250, 0) 70%),
    linear-gradient(108deg, #edf3fe 0%, #e9f0fd 46%, #f3f1fb 100%);
  overflow: hidden;
}

.ai-cta::before,
.ai-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ai-cta::before {
  width: 620px;
  height: 620px;
  left: -260px;
  bottom: -420px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 66%);
}

.ai-cta::after {
  width: 760px;
  height: 520px;
  right: -280px;
  top: -300px;
  background: radial-gradient(circle, rgba(217, 224, 252, 0.75), rgba(217, 224, 252, 0) 66%);
}

.ai-cta .ai-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.ai-cta h2 {
  color: #26262a;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 1px;
}

.ai-cta__form {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 560px;
  height: 74px;
  margin: 36px auto 0;
  padding: 6px 6px 6px 30px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 18px 44px rgba(70, 84, 148, 0.14);
}

.ai-cta__form input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #33343a;
  font-size: 16px;
}

.ai-cta__form input::placeholder {
  color: #9b9fa9;
}

.ai-cta__form .ai-btn {
  flex: 0 0 auto;
  height: 62px;
  min-width: 154px;
  font-size: 16px;
}

.ai-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  max-width: 1240px;
  margin: 58px auto 0;
  text-align: left;
}

.ai-benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.ai-benefit__icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--ai-red);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(214, 34, 42, 0.16);
  border-radius: 50%;
}

.ai-benefit__icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.ai-benefit__text b {
  display: block;
  color: #2a2b30;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.ai-benefit__text span {
  display: block;
  margin-top: 2px;
  color: #7a7f8c;
  font-size: 13px;
  line-height: 1.6;
}


/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1600px) {


  .ai-hero h1 {
    font-size: 56px;
  }

  .ai-hero__copy {
    max-width: 760px;
  }

  .ai-hero__desc {
    max-width: 740px;
  }

  .ai-prod {
    gap: 26px;
    padding: 30px 32px;
  }

  .ai-prod__icon {
    width: 110px;
    height: 110px;
  }


}

@media (max-width: 1360px) {

  .ai-hero h1 {
    font-size: 50px;
  }

  .ai-hero__copy {
    max-width: 640px;
  }

  .ai-hero__desc {
    max-width: 620px;
  }

  .ai-prod__body h3 {
    font-size: 22px;
  }

  .ai-prod__icon {
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 1180px) {

  .ai-hero__art {
    width: 50%;
    opacity: 0.92;
  }

  .ai-hero__copy {
    max-width: 500px;
  }

  .ai-hero__desc {
    max-width: 480px;
  }

  .ai-hero h1 {
    font-size: 44px;
  }

  .ai-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ai-products__grid .ai-prod:last-child {
    grid-column: span 2;
  }

  .ai-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

}

@media (max-width: 1024px) {

  .ai-hero {
    display: block;
    min-height: 0;
    padding-bottom: 26px;
  }

  .ai-hero__art {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
  }

  .ai-hero__slide {
    justify-content: center;
  }

  .ai-hero__slide img {
    object-position: center;
  }

  .ai-hero__copy {
    max-width: 100%;
    padding: 48px 0 12px;
  }

  .ai-hero h1 {
    font-size: 42px;
  }

  .ai-hero__desc {
    font-size: 17px;
  }

  .ai-hero__dots {
    position: static;
    justify-content: center;
    margin-top: 8px;
    transform: none;
  }

  .ai-section {
    padding: 72px 0;
  }

  .ai-sec-head h2 {
    font-size: 32px;
  }

  .ai-sec-head p {
    font-size: 15px;
  }

  .ai-diagram,
  .ai-mpm__art-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }

  .ai-diagram img {
    min-width: 1100px;
  }

  .ai-mpm__art {
    min-width: 880px;
  }

  .ai-diagram__hint {
    display: block;
    margin-top: 10px;
    color: #a0a4ae;
    font-size: 12px;
    text-align: center;
  }

}

@media (max-width: 768px) {

  .ai-hero h1 {
    font-size: 34px;
    line-height: 1.32;
    letter-spacing: 0;
  }

  .ai-hero__desc {
    font-size: 15px;
  }

  .ai-hero__copy .ai-hero__desc {
    margin: 14px 0 36px;
  }

  .ai-hero__actions {
    gap: 14px;
    margin-top: auto;
  }

  .ai-hero__actions .ai-btn {
    min-width: 148px;
    height: 54px;
    padding: 0 28px;
    font-size: 16px;
  }


  .ai-section,
  .ai-upgrade,
  .ai-products,
  .ai-mpm,
  .ai-customers {
    padding: 56px 0;
  }

  .ai-sec-head h2 {
    font-size: 26px;
  }

  .ai-sec-head p {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.7;
  }

  .ai-upgrade .ai-sec-head,
  .ai-products .ai-sec-head,
  .ai-agent-sec .ai-sec-head,
  .ai-customers .ai-sec-head {
    margin-bottom: 34px;
  }

  .ai-grid,
  .ai-grid--2,
  .ai-grid--3,
  .ai-products__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-top: 18px;
  }

  .ai-products__grid {
    margin-top: 0;
  }

  .ai-products__grid .ai-prod:last-child {
    grid-column: auto;
  }

  .ai-card,
  .ai-card--wide {
    min-height: 0;
    padding: 32px 26px 0;
  }

  .ai-card__head {
    padding-right: 50px;
  }

  .ai-card__head h3 {
    font-size: 20px;
  }

  .ai-card__icon {
    top: 28px;
    right: 24px;
    width: 46px;
    height: 46px;
  }

  .ai-card__icon img {
    width: 24px;
    height: 24px;
  }

  .ai-card__art,
  .ai-card--wide .ai-card__art {
    width: calc(100% + 52px);
    margin: 18px -26px 0;
  }

  .ai-card--industry {
    min-height: 0;
    padding-bottom: 47%;
    background-position: right bottom;
  }

  .ai-actions {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
  }

  .ai-prod {
    gap: 18px;
    min-height: 0;
    padding: 24px 22px;
  }

  .ai-prod__icon {
    width: 76px;
    height: 76px;
  }

  .ai-prod__body h3 {
    font-size: 19px;
  }

  .ai-prod__body p {
    font-size: 13px;
  }

  .ai-prod__link {
    margin-top: 12px;
    padding: 6px 16px;
  }

  .ai-diagram img {
    min-width: 920px;
  }

  .ai-mpm__art {
    min-width: 720px;
  }

  .ai-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .ai-client {
    height: 82px;
    padding: 10px;
  }

  .ai-cta {
    padding: 54px 0 50px;
  }

  .ai-cta h2 {
    font-size: 27px;
  }

  .ai-cta__form {
    height: 62px;
    margin-top: 26px;
    padding: 5px 5px 5px 20px;
  }

  .ai-cta__form input {
    font-size: 14px;
  }

  .ai-cta__form .ai-btn {
    min-width: 116px;
    height: 52px;
    padding: 0 20px;
    font-size: 15px;
  }

  .ai-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    margin-top: 38px;
  }

  .ai-benefit__icon {
    width: 40px;
    height: 40px;
  }

  .ai-benefit__text b {
    font-size: 14px;
  }

  .ai-benefit__text span {
    font-size: 12px;
  }

}

@media (max-width: 480px) {
  .ai-hero h1 {
    font-size: 26px;
  }


  .ai-benefits {
    grid-template-columns: minmax(0, 1fr);
  }

  .ai-cta__form {
    height: auto;
    padding: 12px;
    border-radius: 20px;
    flex-direction: column;
    gap: 10px;
  }

  .ai-cta__form input {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    text-align: center;
  }

  .ai-cta__form .ai-btn {
    width: 100%;
  }
}
