.foundationProject {
  overflow: hidden;
}

.foundationProject .product-banner {
  width: 100%;
  height: 60vw;
  min-height: 300px;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  background: #0b1e9a;
}

.foundationProject .product-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(108deg, #3514eb 0%, #1d28c7 28%, #071c8f 100%);
}

.foundationProject .product-inner::before {
  content: "";
  position: absolute;
  left: -8%;
  top: -28%;
  width: 46%;
  height: 110%;
  background: radial-gradient(circle, rgba(136, 45, 255, 0.42), rgba(136, 45, 255, 0) 68%);
  pointer-events: none;
}

.foundationProject .product-inner::after {
  content: "";
  position: absolute;
  right: 6%;
  bottom: -18%;
  width: 46%;
  height: 70%;
  background: radial-gradient(circle, rgba(0, 157, 255, 0.2), rgba(0, 157, 255, 0) 70%);
  pointer-events: none;
}

.foundationProject .banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 70px;
  position: relative;
  z-index: 1;
}

.foundationProject .banner-inner-list {
  width: 52%;
  box-sizing: border-box;
}

.foundationProject .banner-inner h1 {
  margin: 0 0 11px;
  font-weight: 800;
  font-size: 40px;
  color: #fff;
  line-height: 52px;
  letter-spacing: 3px;
}

.foundationProject .banner-inner h2 {
  margin: 0 0 22px;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  line-height: 32px;
}

.foundationProject .banner-inner p {
  margin: 0;
  max-width: 650px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 32px;
}

.foundationProject .banner-inner-list-icon {
  position: absolute;
  right: -40px;
  bottom: 0;
  width: 48%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.foundationProject .banner-inner-list-icon img {
  display: block;
  width: auto;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 24px 42px rgba(0, 10, 80, 0.28));
}

.foundationProject-enhanced .banner-inner-list-icon {
  transform: translate3d(0, var(--foundation-icon-y, 0px), 0);
}

.foundationProject-enhanced .product-inner::before {
  transform: translate3d(var(--foundation-glow-x, 0px), 0, 0);
}

.project-pain-points {
  padding: 70px 0;
  background: #f8f9ff;
}

.project-section-heading {
  margin-bottom: 40px;
  text-align: center;
}

.project-section-heading h2 {
  margin: 0 0 16px;
  font-weight: bold;
  font-size: 30px;
  color: #333333e3;
  line-height: 42px;
}

.project-section-heading p {
  margin: 0;
  font-size: 18px;
  color: #666666;
  line-height: 25px;
}

.project-pain-point-grid {
  display: grid;
  grid-template-columns: repeat(3, 380px);
  justify-content: center;
  gap: 20px;
}

.project-pain-point-card {
  width: 380px;
  height: 128px;
  padding: 20px 20px 20px 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  box-shadow: 0 2px 12px 0 rgba(72, 104, 249, 0.11);
  border-radius: 6px;
  border: 1px solid #d6e2f3;
  box-sizing: border-box;
}

.project-pain-point-icon {
  width: 70px;
  height: 70px;
  flex: 0 0 70px;
}

.project-pain-point-icon img {
  display: block;
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.project-pain-point-card h3 {
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 18px;
  color: #333333e3;
  line-height: 25px;
}

.project-pain-point-card p {
  margin: 0;
  font-size: 14px;
  color: #999999;
  line-height: 24px;
}

.project-roles {
  padding: 70px 0;
  background: #ffffff;
}

.project-role-grid {
  display: grid;
  grid-template-columns: repeat(4, 276px);
  justify-content: center;
  gap: 24px;
}

.project-role-card {
  position: relative;
  width: 276px;
  height: 194px;
  padding: 22px 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #e5ebfd 0%, #f7faff 100%);
  border-radius: 6px;
  border: 1px solid #e0e7ff;
  box-sizing: border-box;
}

.project-role-card:nth-child(1) {
  background: linear-gradient(180deg, #edf3ff 0%, #f6f8ff 100%);
  border-color: #d9e4ff;
}

.project-role-card:nth-child(2) {
  background: linear-gradient(180deg, #f0efff 0%, #f8f7ff 100%);
  border-color: #e0dcff;
}

.project-role-card:nth-child(3) {
  background: linear-gradient(180deg, #eafcff 0%, #f4fdff 100%);
  border-color: #cfeef3;
}

.project-role-card:nth-child(4) {
  background: linear-gradient(180deg, #eaf6ff 0%, #f3f9ff 100%);
  border-color: #d3e8f8;
}

.project-role-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px;
  font-weight: 800;
  font-size: 18px;
  color: #2158c8;
  line-height: 30px;
}

.project-role-card:nth-child(2) h3 {
  color: #6846d8;
}

.project-role-card:nth-child(3) h3 {
  color: #18a7c5;
}

.project-role-card:nth-child(4) h3 {
  color: #2474d5;
}

.project-role-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 226px;
  font-size: 14px;
  color: #798397;
  line-height: 24px;
}

.project-role-card > img {
  position: absolute;
  right: 15px;
  bottom: 0;
  width: 110px;
  height: 91px;
  object-fit: contain;
  z-index: 0;
}

.project-process {
  padding: 70px 0;
  background: #2c51f5;
}

.project-section-heading-light h2,
.project-section-heading-light p {
  color: #ffffff;
}

.project-section-heading-light p {
  opacity: 0.72;
}

.project-process-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  position: relative;
}

.project-process-list::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 6.25%;
  right: 6.25%;
  border-top: 2px dashed rgba(255, 255, 255, 0.32);
  transform: scaleX(0);
  transform-origin: left center;
  animation: project-process-line 1.4s 0.35s ease-out forwards;
}

@keyframes project-process-line {
  to { transform: scaleX(1); }
}

.project-process-item {
  position: relative;
  z-index: 1;
  padding: 0 9px;
  text-align: center;
}

.project-process-icon {
  position: relative;
  width: 66px;
  height: 66px;
  margin: 0 auto;
}

.project-process-icon img {
  display: block;
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.project-process-icon span {
  position: absolute;
  z-index: 2;
  top: -6px;
  left: -7px;
  min-width: 22px;
  height: 22px;
  padding: 0 3px;
  border-radius: 11px;
  background: #20c7ed;
  color: #ffffff;
  font-size: 11px;
  line-height: 22px;
  box-sizing: border-box;
}

.project-process-item h3 {
  margin: 12px 0 8px;
  font-weight: 800;
  font-size: 16px;
  color: #ffffff;
  line-height: 22px;
}

.project-process-item p {
  margin: 0 auto;
  max-width: 126px;
  font-size: 14px;
  color: #ffffff;
  line-height: 24px;
  opacity: 0.7;
}

.project-modules {
  padding: 70px 0;
  background: #f8f9ff;
}

.project-module-grid {
  display: grid;
  grid-template-columns: repeat(7, 160px);
  justify-content: center;
  gap: 20px;
}

.project-module-card {
  width: 160px;
  height: 234px;
  padding: 20px 14px 14px;
  background: #ffffff;
  border-radius: 8px;
  box-sizing: border-box;
  text-align: center;
}

.project-module-card > img {
  display: block;
  float: none;
  width: 42px;
  height: 42px;
  margin: 0 auto 9px;
  object-fit: contain;
}

.project-module-card h3 {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 18px;
  color: #246bff;
  line-height: 25px;
}

.project-module-card p {
  margin: 0;
  font-size: 13px;
  color: #999999;
  line-height: 22px;
}

.project-module-card div {
  margin-top: 8px;
  padding-top: 9px;
  border-top: 1px solid #dce6ff;
  font-size: 13px;
  color: #333333e3;
  line-height: 24px;
}

.project-capabilities {
  padding: 70px 0;
  background: #ffffff;
}

.project-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 390px);
  justify-content: space-between;
  gap: 20px;
}

.project-capability-card {
  position: relative;
  width: 390px;
  height: 430px;
  padding: 31px 24px 20px;
  overflow: hidden;
  border: 1px solid #d7e3ff;
  border-radius: 12px;
  background: linear-gradient(180deg, #dce8ff 0%, #f4f7ff 100%);
  box-sizing: border-box;
  text-align: center;
}

.project-capability-card:nth-child(2) {
  border-color: #cdebf1;
  background: linear-gradient(180deg, #d9f5f8 0%, #f2fbfc 100%);
}

.project-capability-card:nth-child(3) {
  border-color: #dfd8ff;
  background: linear-gradient(180deg, #e9e3ff 0%, #f8f5ff 100%);
}

.project-capability-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 12px;
  font-weight: 800;
  font-size: 18px;
  color: #2f7ae9;
  line-height: 25px;
}

.project-capability-card:nth-child(2) h3 {
  color: #20a8c4;
}

.project-capability-card:nth-child(3) h3 {
  color: #6840d3;
}

.project-capability-card > p {
  position: relative;
  z-index: 1;
  margin: 0 0 19px;
  font-size: 14px;
  color: #999999;
  line-height: 24px;
}

.project-capability-main {
  display: block;
  float: none;
  width: 342px;
  height: 178px;
  object-fit: contain;
}

.project-capability-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 22px;
}

.project-capability-features > div {
  min-width: 0;
  text-align: center;
}

.project-capability-features img {
  display: block;
  float: none;
  width: 48px;
  height: 48px;
  margin: 0 auto 5px;
  object-fit: contain;
}

.project-capability-features span {
  display: block;
  white-space: nowrap;
  font-size: 11px;
  color: #798397;
  line-height: 20px;
}

.project-capability-phones {
  height: 153px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 5px;
  margin-top: 34px;
}

.project-capability-phones img {
  display: block;
  float: none;
  width: 74px;
  height: 153px;
  object-fit: contain;
}

.project-capability-mobile-features {
  margin-top: 32px;
}

.project-capability-decoration {
  position: absolute;
  top: 19px;
  right: 0;
  width: 101px;
  height: 118px;
  object-fit: contain;
}

.project-platform-flow {
  width: 342px;
  margin-top: 20px;
}

.project-platform-flow-top {
  display: grid;
  grid-template-columns: 1fr 12px 1fr 12px 1fr;
  align-items: center;
  gap: 3px;
}

.project-platform-flow-top span {
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bdaaff;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.62);
  font-weight: 600;
  font-size: 11px;
  color: #6742d2;
  line-height: 16px;
  white-space: nowrap;
}

.project-platform-flow-top span.is-primary {
  border-color: #6840d3;
  background: #6840d3;
  color: #ffffff;
}

.project-platform-flow-top img {
  display: block;
  float: none;
  width: 12px;
  height: 6px;
  object-fit: contain;
}

.project-platform-flow-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 6px;
}

.project-platform-flow-bottom div {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-platform-flow-bottom img {
  display: block;
  float: none;
  width: 12px;
  height: 17px;
  object-fit: contain;
}

.project-platform-flow-bottom span {
  margin-top: 4px;
  font-weight: 600;
  font-size: 12px;
  color: #6840d3;
  line-height: 18px;
}

.project-school-cases {
  padding: 70px 0;
  background: #f8f9ff;
}

.project-school-case-grid {
  display: grid;
  grid-template-columns: repeat(4, 280px);
  justify-content: center;
  gap: 24px;
}

.project-school-case {
  width: 280px;
}

.project-school-case > img {
  display: block;
  float: none;
  width: 280px;
  height: 134px;
  border-radius: 6px;
  object-fit: cover;
}

.project-school-case h3 {
  margin: 16px 0 5px;
  font-weight: bold;
  font-size: 16px;
  color: #333333e3;
  line-height: 21px;
}

.project-school-case p {
  margin: 0;
  font-size: 14px;
  color: #666666;
  line-height: 24px;
}

/* 桌面端交互反馈 */
@media (hover: hover) and (pointer: fine) {
  .project-pain-point-card,
  .project-role-card,
  .project-module-card,
  .project-capability-card,
  .project-school-case {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  }

  .project-pain-point-card:hover {
    transform: translateY(-6px);
    border-color: #aabfff;
    box-shadow: 0 14px 30px rgba(72, 104, 249, 0.16);
  }

  .project-pain-point-card:hover .project-pain-point-icon img,
  .project-module-card:hover > img,
  .project-capability-features > div:hover img {
    transform: translateY(-3px) scale(1.06);
  }

  .project-role-card:hover,
  .project-module-card:hover {
    transform: translateY(-7px);
    border-color: rgba(87, 120, 249, 0.32);
    box-shadow: 0 16px 34px rgba(62, 91, 205, 0.13);
  }

  .project-role-card:hover > img {
    transform: translate(-3px, -2px) scale(1.06);
  }

  .project-process-item:hover .project-process-icon {
    transform: translateY(-5px) scale(1.06);
  }

  .project-process-item:hover .project-process-icon span {
    box-shadow: 0 4px 12px rgba(0, 205, 244, 0.42);
  }

  .project-capability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(62, 91, 205, 0.15);
  }

  .project-capability-card:hover .project-capability-main,
  .project-capability-card:hover .project-capability-phones {
    transform: scale(1.018);
  }

  .project-school-case:hover {
    transform: translateY(-5px);
  }

  .project-school-case:hover > img {
    transform: scale(1.035);
    box-shadow: 0 14px 28px rgba(50, 74, 151, 0.18);
  }
}

.project-pain-point-icon img,
.project-role-card > img,
.project-process-icon,
.project-process-icon span,
.project-module-card > img,
.project-capability-main,
.project-capability-phones,
.project-capability-features img,
.project-school-case > img {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

@media screen and (max-width: 1200px) {
  .foundationProject .banner-inner h1 { font-size: 34px; line-height: 46px; }
  .foundationProject .banner-inner h2 { font-size: 18px; }
  .foundationProject .banner-inner p { font-size: 16px; line-height: 29px; }
  .project-pain-point-grid { grid-template-columns: repeat(3, minmax(0, 380px)); }
  .project-pain-point-card { width: 100%; }
  .project-role-grid { grid-template-columns: repeat(4, minmax(0, 276px)); }
  .project-role-card { width: 100%; }
  .project-module-grid { grid-template-columns: repeat(4, 160px); }
  .project-capability-grid { grid-template-columns: repeat(2, 390px); row-gap: 24px; }
  .project-school-case-grid { grid-template-columns: repeat(4, minmax(0, 280px)); }
  .project-school-case { width: 100%; }
  .project-school-case > img { width: 100%; }
}

/* iPad 横屏与小型笔记本 */
@media screen and (max-width: 1080px) {
  .foundationProject .inner { padding-left: 28px; padding-right: 28px; }
  .project-pain-point-grid { grid-template-columns: repeat(2, minmax(0, 380px)); }
  .project-role-grid { grid-template-columns: repeat(2, 276px); }
  .project-school-case-grid { grid-template-columns: repeat(2, 280px); row-gap: 34px; }
}

@media screen and (max-width: 960px) {
  .foundationProject .product-banner { height: auto; min-height: 620px; }
  .foundationProject .banner-inner { flex-direction: column; justify-content: center; padding-top: 100px; padding-bottom: 30px; }
  .foundationProject .banner-inner-list { width: 100%; text-align: center; }
  .foundationProject .banner-inner p { margin: 0 auto; }
  .foundationProject .banner-inner-list-icon { position: relative; right: auto; bottom: auto; width: 100%; height: 270px; margin-top: 20px; justify-content: center; }
  .project-pain-point-grid { grid-template-columns: repeat(2, minmax(0, 380px)); }
  .project-role-grid { grid-template-columns: repeat(2, 276px); }
  .project-process-list { grid-template-columns: repeat(4, 1fr); row-gap: 40px; }
  .project-process-list::before { display: none; }
  .project-module-grid { grid-template-columns: repeat(3, 160px); }
  .project-capability-grid { grid-template-columns: 390px; }
  .project-school-case-grid { grid-template-columns: repeat(2, 280px); row-gap: 34px; }
}

/* iPad 竖屏 */
@media screen and (max-width: 820px) {
  .foundationProject .inner { padding-left: 24px; padding-right: 24px; }
  .project-pain-points,
  .project-roles,
  .project-process,
  .project-modules,
  .project-capabilities,
  .project-school-cases { padding-top: 60px; padding-bottom: 60px; }
  .project-section-heading h2 { font-size: 27px; line-height: 39px; }
  .project-section-heading p { font-size: 16px; line-height: 25px; }
  .project-pain-point-grid { gap: 16px; }
  .project-pain-point-card { min-height: 128px; height: auto; }
  .project-module-grid { grid-template-columns: repeat(3, 160px); gap: 18px; }
}

@media screen and (max-width: 600px) {
  .foundationProject .inner { padding-left: 18px; padding-right: 18px; }
  .foundationProject .product-banner { min-height: 640px; }
  .foundationProject .banner-inner { justify-content: flex-start; padding-top: 86px; padding-bottom: 30px; }
  .foundationProject .banner-inner-list { display: flex; flex-direction: column; align-items: center; }
  .foundationProject .banner-inner h1 {
    margin-bottom: 12px;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: 1px;
    text-align: center;
  }
  .foundationProject .banner-inner h2 {
    margin: 0 0 14px !important;
    max-width: 360px;
    font-size: 16px !important;
    line-height: 26px !important;
    text-align: center;
    text-wrap: balance;
  }
  .foundationProject .banner-inner p {
    width: 100%;
    max-width: 440px;
    font-size: 14px !important;
    line-height: 26px !important;
    text-align: left;
  }
  .foundationProject .banner-inner-list-icon {
    height: 100%;
    margin-top: 24px;
  }
  .foundationProject .banner-inner-list-icon img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .project-pain-points { padding: 50px 0; }
  .project-section-heading { margin-bottom: 40px; }
  .project-section-heading h2 { font-size: 24px; line-height: 36px; }
  .project-section-heading p { font-size: 15px; line-height: 24px; }
  .project-pain-point-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-pain-point-card { height: auto; min-height: 128px; padding-right: 14px; }
  .project-roles { padding: 50px 0; }
  .project-role-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-role-card { width: 100%; max-width: 380px; margin: 0 auto; }
  .project-process { padding: 50px 0; }
  .project-process-list { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .project-process-item { padding: 0 6px; }
  .project-process-item p { font-size: 13px; line-height: 22px; }
  .project-module-grid { grid-template-columns: repeat(2, minmax(0, 160px)); gap: 12px; }
  .project-module-card { width: 100%; min-width: 0; }
  .project-capabilities { padding: 50px 0; }
  .project-capability-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-capability-card { width: 100%; max-width: 390px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
  .project-capability-main, .project-platform-flow { max-width: 100%; }
  .project-capability-phones { gap: 2px; }
  .project-capability-phones img { width: 22%; }
  .project-capability-features span { font-size: 11px; }
  .project-school-cases { padding: 50px 0; }
  .project-school-case-grid { grid-template-columns: 1fr; gap: 30px; }
  .project-school-case { width: 100%; max-width: 280px; margin: 0 auto; }
}

@media screen and (max-width: 480px) {
  .project-section-heading h2 { font-size: 22px; line-height: 34px; }
  .project-section-heading p { font-size: 14px; line-height: 23px; }
  .project-pain-point-card { padding: 16px 14px 16px 12px; gap: 10px; }
  .project-pain-point-icon,
  .project-pain-point-icon img { width: 60px; height: 60px; flex-basis: 60px; }
  .project-pain-point-card h3 { font-size: 17px; }
  .project-role-card { min-height: 194px; height: auto; }
  .project-process-list { grid-template-columns: 1fr; row-gap: 28px; }
  .project-process-item p { max-width: 220px; }
  .project-module-card { height: 234px; padding-left: 10px; padding-right: 10px; }
  .project-module-card h3 { font-size: 16px; }
  .project-capability-card { height: auto; min-height: 430px; }
  .project-capability-features { gap: 1px; }
  .project-capability-features img { width: 42px; height: 42px; }
  .project-platform-flow-top span { font-size: 10px; }
}

@media screen and (max-width: 380px) {
  .foundationProject .product-banner { min-height: 680px; }
  .foundationProject .banner-inner h1 { font-size: 25px; line-height: 36px; }
  .foundationProject .banner-inner h2 { max-width: 290px; font-size: 15px !important; line-height: 24px !important; }
  .foundationProject .banner-inner p { font-size: 13px !important; line-height: 24px !important; }
  .foundationProject .banner-inner-list-icon { height: 190px; }
  .project-module-grid { grid-template-columns: 1fr; }
  .project-module-card { margin: 0 auto; }
}

.project-pain-point-card,
.project-role-card,
.project-module-card,
.project-capability-card,
.project-school-case,
.project-pain-point-card img,
.project-role-card img,
.project-module-card img,
.project-capability-card img,
.project-school-case img,
.project-process-icon {
  transition: all 0.2s linear;
}

@media (prefers-reduced-motion: reduce) {
  .foundationProject *,
  .foundationProject *::before,
  .foundationProject *::after { animation: none !important; transition: none !important; }
  .foundationProject [data-aos] { opacity: 1 !important; transform: none !important; }
  .project-process-list::before { animation: none; transform: scaleX(1); }
}
