:root {
  --fpx-brand: rgb(66,59,140);
  --fpx-brand-dark: #17133f;
  --fpx-text: #202124;
  --fpx-muted: #6f7685;
  --fpx-soft: rgba(66,59,140,0.08);
  --fpx-border: rgba(66,59,140,0.16);
  --fpx-surface: #ffffff;
  --fpx-shadow: 0 18px 50px rgba(24,22,63,0.09);
  --fpx-radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--fpx-text);
  overflow-x: hidden;
}

a,
i,
cite,
em,
var,
address,
dfn,
ol,
li,
ul {
  text-transform: none;
}

.top-header-infor ul li,
.top-header-infor ul li a {
  text-transform: none;
}

.header-logo a,
.footer-logo a {
  color: #040334;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: 700;
}

.header-menu > ul {
  display: flex;
  justify-content: flex-end;
  gap: 34px;
  margin: 0;
}

.header-menu > ul > li {
  margin: 0;
}

.header-menu > ul > li > a {
  white-space: nowrap;
}

.brand-logo-bg {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--fpx-brand);
  display: inline-grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(66,59,140,0.18);
}

.brand-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 7px;
}

.header-logo .brand-mark,
.footer-logo .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgb(66,59,140);
  color: #fff;
  display: inline-grid;
  place-items: center;
  font-size: 18px;
}

.footer-logo a {
  color: #fff;
}

.footer-logo .brand-logo-bg {
  background: #fff;
}

.hero-section {
  height: auto;
  min-height: 790px;
  padding: 145px 0 128px;
  background:
    radial-gradient(circle at 20% 20%, rgba(66,59,140,0.2), transparent 32%),
    linear-gradient(110deg, #f6f4ff 0%, #ffffff 48%, #eef8ff 100%);
  overflow: hidden;
}

.hero-content {
  text-align: left;
}

.hero-content h4 {
  color: var(--fpx-brand);
  margin-bottom: 18px;
}

.hero-content h4:before,
.hero-content h4:after {
  display: none;
}

.hero-content h1 {
  color: var(--fpx-brand-dark);
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
  max-width: 820px;
}

.hero-content p.hero-desc {
  color: var(--fpx-muted);
  font-size: 19px;
  line-height: 1.85;
  width: auto;
  max-width: 560px;
  margin: 26px 0 0;
  padding: 0;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.hero-actions .solar-button {
  margin-top: 0;
}

.hero-actions .solar-button a,
.ghost-button a {
  min-width: 176px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 6px;
  padding: 0 30px;
  font-size: 18px;
}

.solar-button a,
.ghost-button a {
  min-height: 48px;
}

.solar-button a:focus-visible,
.ghost-button a:focus-visible,
.header-menu ul li a:focus-visible {
  outline: 3px solid rgba(66,59,140,0.28);
  outline-offset: 3px;
}

.hero-actions .solar-button i {
  display: inline-grid;
  place-items: center;
  line-height: 1;
  flex: 0 0 auto;
}

.ghost-button a {
  color: var(--fpx-brand);
  border: 2px solid rgba(66,59,140,0.28);
  font-weight: 700;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-tags span {
  color: #332d76;
  background: var(--fpx-soft);
  border: 1px solid rgba(66,59,140,0.14);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
}

.hero-phone-stage {
  position: relative;
  min-height: 580px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  transform: none;
}

.phone-mockup {
  position: relative;
  width: min(348px, 72vw);
  aspect-ratio: 932 / 1863;
  filter: drop-shadow(0 30px 70px rgba(24,22,63,0.22));
}

.phone-frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.phone-screen {
  position: absolute;
  z-index: 2;
  left: 5.36%;
  top: 2.15%;
  width: 89.27%;
  height: 94.55%;
  object-fit: cover;
  object-position: top;
  border-radius: 34px;
  background: #fff;
}

.about-box-icon i {
  color: var(--fpx-brand);
  font-size: 30px;
  line-height: 72px;
}

#problem.about-section {
  padding: 112px 0 118px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 75%, rgba(66,59,140,0.1), transparent 34%),
    linear-gradient(180deg, #f7f5ff 0%, #ffffff 100%);
}

#problem .section-title.problem-title {
  max-width: 1000px;
  margin: 0 auto 58px;
}

#problem .section-title h1 {
  line-height: 1.16;
  font-size: 48px;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

#problem .section-title h4 {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--fpx-brand);
}

#problem .section-title h4:before {
  content: "";
  position: static;
  display: inline-block;
  width: 46px;
  height: 2px;
  background: var(--fpx-brand);
}

#problem .section-title h4:after {
  content: "";
  position: static;
  display: inline-block;
  width: 46px;
  height: 2px;
  background: var(--fpx-brand);
}

#problem p.desc-one {
  width: 100%;
  max-width: 820px;
  color: #6f7685;
  line-height: 1.85;
  font-size: 18px;
  margin-left: auto;
  margin-right: auto;
}

.problem-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.problem-card {
  min-height: 370px;
  padding: 56px 34px 42px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--fpx-shadow);
  border: 1px solid rgba(66,59,140,0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.problem-card-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--fpx-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 34px;
  margin-bottom: 44px;
  box-shadow: 0 16px 34px rgba(66,59,140,0.22);
}

.problem-card h4 {
  color: var(--fpx-text);
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 22px;
}

.problem-card p {
  color: var(--fpx-muted);
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 24px;
}

.problem-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: auto;
  padding: 0 6px;
  color: var(--fpx-brand);
  font-size: 17px;
  font-weight: 700;
  border-bottom: 2px solid rgba(66,59,140,0.22);
}

.problem-card-link:hover {
  color: var(--fpx-brand-dark);
  border-color: var(--fpx-brand);
}

.source-section {
  padding: 116px 0 124px;
  background:
    radial-gradient(circle at 50% 8%, rgba(66,59,140,0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8f7ff 100%);
  overflow: hidden;
}

.source-title {
  max-width: 940px;
  margin: 0 auto 44px;
}

.source-title h4 {
  color: var(--fpx-brand);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.source-title h4:before,
.source-title h4:after {
  content: "";
  position: static;
  display: inline-block;
  width: 46px;
  height: 2px;
  background: var(--fpx-brand);
}

.source-title h1 {
  color: var(--fpx-brand-dark);
  font-size: 48px;
  line-height: 1.18;
  letter-spacing: 0;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.source-title p.desc-one {
  width: 100%;
  color: var(--fpx-muted);
  font-size: 18px;
  line-height: 1.85;
  max-width: 840px;
  margin: 0 auto;
}

.source-optimizations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 38px;
}

.source-optimization {
  min-height: 214px;
  padding: 30px 30px 28px;
  border-radius: 26px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(66,59,140,0.09);
  box-shadow: 0 18px 48px rgba(24,22,63,0.075);
}

.source-optimization i {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: rgba(66,59,140,0.1);
  color: #fff;
  display: grid;
  place-items: center;
  color: var(--fpx-brand);
  font-size: 24px;
  margin-bottom: 24px;
}

.source-optimization h4 {
  color: var(--fpx-brand-dark);
  font-size: 24px;
  line-height: 1.35;
  margin-bottom: 12px;
}

.source-optimization p {
  color: var(--fpx-muted);
  font-size: 17px;
  line-height: 1.72;
  margin: 0;
}

.source-logo-panel {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 36px 26px;
  border-radius: 34px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(66,59,140,0.08);
  box-shadow: 0 22px 62px rgba(24,22,63,0.07);
  overflow: hidden;
}

.source-logo-panel:before,
.source-logo-panel:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.source-logo-panel:before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0));
}

.source-logo-panel:after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255,255,255,0));
}

.source-logo-strip {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 16px;
  position: relative;
  z-index: 1;
}

.source-logo-strip + .source-logo-strip {
  margin-top: 16px;
  transform: translateX(42px);
}

.source-logo-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 13px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(24,22,63,0.065);
  border: 1px solid rgba(66,59,140,0.06);
}

.source-logo-panel > p {
  color: var(--fpx-muted);
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
  margin: 24px auto 0;
  max-width: 640px;
}

.fpx-section-kicker {
  color: var(--fpx-brand);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.fpx-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.fpx-card {
  background: #fff;
  border-radius: var(--fpx-radius);
  padding: 28px 24px;
  min-height: 240px;
  box-shadow: var(--fpx-shadow);
  border: 1px solid rgba(66,59,140,0.08);
}

.fpx-card i {
  color: var(--fpx-brand);
  font-size: 34px;
  margin-bottom: 20px;
}

.fpx-card h4 {
  color: var(--fpx-brand-dark);
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 14px;
}

.fpx-card p,
.scene-card p,
.flow-box p,
.article-card p {
  color: var(--fpx-muted);
  line-height: 1.75;
}

.scene-section {
  padding: 110px 0 80px;
  background: rgba(66,59,140,0.06);
}

.scene-feature-row {
  justify-content: center;
}

.col-lg-5th {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.scene-card {
  background: #fff;
  border-radius: 22px;
  padding: 30px 24px;
  height: 100%;
  border-top: 4px solid var(--fpx-brand);
  box-shadow: var(--fpx-shadow);
  display: flex;
  flex-direction: column;
}

.scene-card i {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--fpx-brand);
  background: rgba(66,59,140,0.09);
  font-size: 24px;
  margin-bottom: 24px;
}

.scene-card h4 {
  color: var(--fpx-brand-dark);
  font-size: 21px;
  line-height: 1.3;
  margin-bottom: 12px;
}

.scene-card-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 42px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--fpx-brand);
  font-size: 16px;
  font-weight: 700;
  border-bottom: 2px solid rgba(66,59,140,0.22);
}

.scene-card-link:hover {
  color: var(--fpx-brand-dark);
  border-color: var(--fpx-brand);
}

@media (min-width: 768px) {
  .col-lg-5th {
    flex: 0 0 20%;
    max-width: 20%;
  }
}

.flow-section {
  padding: 112px 0 126px;
}

.flow-replace-section {
  position: relative;
  padding: 112px 0 126px;
  background:
    radial-gradient(circle at 18% 30%, rgba(66,59,140,0.09), transparent 32%),
    linear-gradient(180deg, #f7f6ff 0%, #ffffff 100%);
}

.section-anchor {
  position: absolute;
  top: -96px;
}

.flow-box {
  position: relative;
  padding: 30px 26px;
  background: #fff;
  border-radius: 12px;
  min-height: 260px;
  box-shadow: 0 16px 45px rgba(24,22,63,0.08);
}

.flow-number {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgb(66,59,140);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}

.flow-box h4 {
  color: #17133f;
  line-height: 1.3;
  margin-bottom: 12px;
}

.flow-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  max-width: 1180px;
  margin: 12px auto 0;
}

.flow-demo-item {
  text-align: center;
}

.flow-phone-card {
  position: relative;
  width: min(100%, 232px);
  aspect-ratio: 932 / 1863;
  margin: 0 auto;
  filter: drop-shadow(0 18px 45px rgba(24,22,63,0.14));
}

.flow-phone-frame {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.flow-phone-screen {
  position: absolute;
  z-index: 2;
  left: 5.36%;
  top: 2.15%;
  width: 89.27%;
  height: 94.55%;
  object-fit: cover;
  object-position: top;
  border-radius: 26px;
  background: #fff;
}

.flow-demo-item h3 {
  margin-top: 24px;
  color: var(--fpx-brand-dark);
  font-size: 28px;
  line-height: 1.2;
}

.flow-arrow {
  color: var(--fpx-brand);
  font-size: 34px;
  text-align: center;
}

.testimonial-section {
  padding: 112px 0 104px;
  background:
    radial-gradient(circle at 18% 20%, rgba(66,59,140,0.09), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7f6ff 100%);
  overflow: hidden;
}

.testimonial-marquee {
  position: relative;
  margin-top: 18px;
  overflow: hidden;
}

.testimonial-marquee:before,
.testimonial-marquee:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 170px;
  z-index: 2;
  pointer-events: none;
}

.testimonial-marquee:before {
  left: 0;
  background: linear-gradient(90deg, #f7f6ff, rgba(247,246,255,0));
}

.testimonial-marquee:after {
  right: 0;
  background: linear-gradient(270deg, #f7f6ff, rgba(247,246,255,0));
}

.testimonial-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: testimonial-scroll 38s linear infinite;
}

.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
}

.testimonial-card {
  flex: 0 0 380px;
  min-height: 210px;
  padding: 30px;
  border-radius: 24px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(66,59,140,0.09);
  box-shadow: 0 18px 46px rgba(24,22,63,0.08);
  display: flex;
  flex-direction: column;
}

.testimonial-card p {
  color: var(--fpx-brand-dark);
  font-size: 20px;
  line-height: 1.65;
  margin: 0 0 28px;
}

.testimonial-card div {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.testimonial-card strong {
  color: var(--fpx-brand-dark);
  font-size: 18px;
}

.testimonial-card span {
  color: var(--fpx-brand);
  font-weight: 700;
  background: rgba(66,59,140,0.08);
  border-radius: 999px;
  padding: 7px 12px;
}

@keyframes testimonial-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 11px));
  }
}

.article-section {
  padding: 110px 0;
}

.article-card {
  padding: 28px;
  border-radius: var(--fpx-radius);
  background: #fff;
  box-shadow: var(--fpx-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.article-card .tag {
  color: var(--fpx-brand);
  font-weight: 700;
  margin-bottom: 12px;
}

.article-card h4 {
  color: var(--fpx-brand-dark);
  line-height: 1.35;
  margin-bottom: 12px;
}

.article-card p {
  margin-bottom: 28px;
}

.article-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  margin-top: auto;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--fpx-brand);
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(66,59,140,0.18);
}

.article-more:hover {
  color: #fff;
  background: var(--fpx-brand-dark);
}

.article-card .article-more {
  color: #888888;
  background: #fff;
  border: 1px solid #888888;
  box-shadow: none;
}

.article-card .article-more:hover {
  color: #888888;
  background: #fff;
  border-color: #888888;
}

.article-more-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.download-section {
  padding: 110px 0;
  background:
    linear-gradient(120deg, rgba(28,24,68,0.96), rgba(66,59,140,0.92)),
    url("/static/image/call-do-bg.jpg") center/cover no-repeat;
}

.download-section .section-title h1,
.download-section .section-title h4,
.download-section .section-title p {
  color: #fff;
}

.download-section .section-title p {
  opacity: 0.86;
}

.footer-section {
  background: rgb(28,24,68);
}

.footer-widget-menu ul li a,
.footer-contact-content p,
.footer-widget-desc p,
.footer-widget-desc-2 p {
  text-transform: none;
}

@media (max-width: 991px) {
  .mobile-menu .header-menu > ul {
    display: block;
  }

  .hero-section {
    min-height: auto;
    padding: 135px 0 96px;
  }

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

  .hero-phone-stage {
    margin-top: 50px;
    justify-content: center;
    transform: none;
  }

  .phone-mockup {
    width: min(340px, 70vw);
  }

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

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

  .source-logo-panel {
    margin-top: 0;
  }

  .source-optimizations {
    grid-template-columns: 1fr;
  }

  .source-logo-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .source-logo-strip img:nth-child(n+7) {
    display: none;
  }

  .flow-demo-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 420px;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .flow-phone-card {
    width: min(100%, 260px);
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .hero-section {
    padding: 118px 0 78px;
  }

  .hero-content h1 {
    font-size: 36px;
    line-height: 1.16;
  }

  .hero-content p.hero-desc {
    font-size: 17px;
    line-height: 1.75;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .solar-button,
  .ghost-button {
    width: 100%;
  }

  .hero-actions .solar-button a,
  .ghost-button a {
    width: 100%;
    min-width: 0;
  }

  .hero-phone-stage {
    min-height: auto;
  }

  .phone-mockup {
    width: min(320px, 82vw);
  }

  .fpx-card-grid {
    grid-template-columns: 1fr;
  }

  #problem .section-title h1 {
    font-size: 34px;
  }

  .problem-card-grid {
    grid-template-columns: 1fr;
  }

  .problem-card {
    min-height: auto;
    padding: 42px 26px 36px;
  }

  .problem-card-icon {
    margin-bottom: 28px;
  }

  #problem p.desc-one,
  .problem-card p {
    font-size: 16px;
  }

  .flow-demo-item h3 {
    font-size: 26px;
  }

  .flow-section,
  .flow-replace-section,
  .source-section,
  .testimonial-section,
  .article-section,
  .download-section,
  #problem.about-section {
    padding-top: 82px;
    padding-bottom: 82px;
  }
}

@media (max-width: 575px) {
  .source-title h1 {
    font-size: 32px;
  }

  .source-logo-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .source-logo-panel:before,
  .source-logo-panel:after {
    width: 40px;
  }

  .source-logo-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .source-logo-strip + .source-logo-strip {
    transform: none;
  }

  .source-logo-strip img:nth-child(n+7) {
    display: block;
  }

  .source-logo-strip img {
    padding: 10px;
    border-radius: 16px;
  }

  .testimonial-marquee:before,
  .testimonial-marquee:after {
    width: 44px;
  }

  .testimonial-card {
    flex-basis: 300px;
    min-height: 210px;
    padding: 26px;
  }

  .testimonial-card p {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .hero-content h1 {
    font-size: 32px;
  }

  .hero-tags span {
    width: 100%;
    text-align: center;
  }

  .phone-mockup {
    width: min(292px, 86vw);
  }

  .flow-phone-card {
    width: min(100%, 236px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    padding: 0 16px;
  }

  .testimonial-card[aria-hidden="true"] {
    display: none;
  }
}
