:root {
  --section-width: 1194px;
  --bg: #f9f9f9;
  --white: #ffffff;
  --muted: #9b9b9b;
  --line: #808080;
  --blue: #00a6ff;
  --blue-soft: #3fbcff;
  --shadow-card: 0 4px 30px 4px rgba(87, 87, 87, 0.2);
  --header-shadow: 0 0 20px rgba(20, 49, 84, 0.08);
  --nav-active-bar: #3fbcff;
}

body {
  background: var(--bg);
}

.page-shell {
  width: 100%;
}

.page-main {
  width: 100%;
}

.section-inner,
.footer-inner,
.hero-inner {
  width: var(--content-width);
  margin: 0 auto;
}

.hero-section {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;
  background: #9b9b9b url("../assets/home/hero.png") center top / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.14) 39%, rgba(255, 255, 255, 0) 68%);
}

.hero-inner {
  position: relative;
  height: 100%;
}

.hero-content {
  width: 599px;
  padding-top: 203px;
  /* margin-left: 150px; */
}

.hero-content h1 {
  margin: 0;
  font-family: "Alimama ShuHeiTi", "Microsoft YaHei", sans-serif;
  font-size: 85px;
  line-height: 119px;
  font-weight: 700;
}

.hero-content p {
  margin: 23px 0 77px;
  font-size: 24px;
  line-height: 34px;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 141px;
  height: 43px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.pill-button::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 12px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.pill-button:hover {
  transform: translateY(-1px);
}

.pill-button-primary {
  min-width: 196px;
  height: 60px;
  padding: 0 38px;
  background: var(--blue-soft);
  color: #fff;
  font-size: 25px;
}

.pill-button-primary::after {
  width: 10px;
  height: 10px;
  margin-left: 18px;
  border-width: 2.5px;
}

.pill-button-outline {
  border: 1px solid var(--line);
  color: #616161;
  font-size: 18px;
  background: transparent;
}

.pill-button-large {
  min-width: 169px;
  height: 52px;
  padding: 0 32px;
  font-size: 21.6px;
}

.section {
  width: 100%;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.section-heading h2 {
  margin: 0;
  font-family: "Microsoft YaHei", sans-serif;
  font-size: 48px;
  line-height: 64px;
  font-weight: 600;
}

.section-heading span {
  width: 78px;
  height: 8px;
  background: var(--blue);
}

.section-heading-tight {
  gap: 12px;
}

.products-section {
  padding-top: 72px;
}

.products-section .section-inner {
  /* width: var(--content-width); */
}

.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 602px;
  padding: 45px 123px 0;
}

.product-row-reverse {
  flex-direction: row-reverse;
}

.product-row .product-visual {
  margin-right: -123px;
}

.product-row-reverse .product-visual {
  margin-left: -123px;
  margin-right: 0;
}

.product-copy {
  width: 420px;
}

.product-row:not(.product-row-reverse) .product-copy {
  width: 415px;
}

.product-copy h3 {
  margin: 0 0 4px;
  font-size: 40px;
  line-height: 56px;
  font-weight: 500;
}

.product-copy h4 {
  margin: 0 0 20px;
  font-size: 22px;
  line-height: 31px;
  font-weight: 400;
}

.product-copy p {
  margin: 0 0 25px;
  color: var(--muted);
  font-size: 16px;
  line-height: 30px;
}

.product-visual {
  position: relative;
  width: 836px;
  height: 504px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  display: flex;
  align-items: center;
}

.shadow-card {
  box-shadow: var(--shadow-card);
}

.product-visual img {
  display: block;
  /* object-fit: contain; */
  margin: 0 auto;
  width: 714px;
  /* height: 400px; */
  border-radius: 9px;
}
.product-writing img{
  display: block;
  width: 100% !important;
}

.product-visual-ai .ai-decor {
  position: absolute;
  object-fit: contain;
}

.ai-decor-left {
  left: 0;
  top: 182px;
  width: 210px;
  height: 82px;
}

.ai-decor-top {
  left: 64px;
  top: 18px;
  width: 235px;
  height: 87px;
}

.ai-decor-right {
  left: 491px;
  top: 135px;
  width: 264px;
  height: 98px;
}

.ai-decor-bottom {
  left: 491px;
  top: 405px;
  width: 264px;
  height: 99px;
}

.ai-decor-center {
  left: 302px;
  top: 259px;
  width: 285px;
  height: 247px;
}

.advantages-section {
  padding: 47px 0 74px;
  background: var(--white);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 156px);
  justify-content: space-between;
  gap: 40px;
  width: 1115px;
  margin: 72px auto 0;
}

.advantage-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advantage-item img {
  width: 156px;
  height: 156px;
  object-fit: contain;
}

.advantage-item p {
  margin: 34px 0 0;
  font-size: 26px;
  line-height: 36px;
  font-weight: 500;
}

.solutions-section {
  padding: 63px 0 56px;
  background: var(--white);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 290px);
  gap: 33px;
  width: 1259px;
  margin: 102px auto 0;
}

.solution-card {
  position: relative;
  height: 432px;
  overflow: hidden;
  border-radius: 10px;
  background: #dfe6ef;
}

.solution-card-link {
  display: block;
  width: 100%;
  height: 100%;
}

.solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.solution-card span {
  position: absolute;
  left: 14px;
  bottom: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 106px;
  height: 32px;
  padding: 0 14px;
  border-radius: 30px;
  background: var(--white);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.solution-card:hover img {
  transform: scale(1.03);
}

.solution-card-software {
  background: linear-gradient(180deg, #13a0bb 0%, #133163 76.923%);
}

.solutions-section .pill-button-large {
  /* display: flex; */
  margin: 72px auto 0;
}

.partners-section {
  padding: 20px 0 88px;
  background: white;
}

.section-inner-partners {
  width: 1440px;
}

.logo-marquee {
  width: 1382px;
  margin: 48px auto 0;
  overflow: hidden;
  position: relative;
}

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

.logo-marquee::before {
  left: 0;
  /* background: linear-gradient(90deg, var(--bg) 0%, rgba(249, 249, 249, 0) 100%); */
}

.logo-marquee::after {
  right: 0;
  /* background: linear-gradient(270deg, var(--bg) 0%, rgba(249, 249, 249, 0) 100%); */
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 12px  0px;
  animation: marquee-left 34s linear infinite;
}

.logo-marquee-right .logo-track {
  animation-name: marquee-right;
}

.logo-strip {
  /* width: 1368px;
  height: 102px;
  border-radius: 16px;
  background-color: #fff;
  background-image: url("../assets/home/customer-2.png");
  background-repeat: no-repeat;
  background-size: 1381px auto; */
  width: 1235px;
    height: 212px;
    /* border-radius: 16px; */
    /* background-color: #fff; */
    background-image: url(../assets/home/customer-2.png);
    background-repeat: no-repeat;
    background-size: 1290px auto;
}

.logo-strip-schools{
  /* width: 1440px;
  height: 372px;
  border-radius: 16px;
  background-color: #fff;
  background-image: url("../assets/home/scroll-3.png");
  background-repeat: no-repeat;
  background-size: 1440px 372px; */
  width: 1399px;
    height: 315px;
    border-radius: 16px;
    background-color: #fff;
    background-image: url(../assets/home/scroll-3.png);
    background-repeat: no-repeat;
    background-size: 1403px 315px;
}

.logo-strip-clients {
  /* background-position: center -208px; */
}

.logo-strip-schools {
  /* background-position: center -362px; */
}

.section-heading-schools {
  margin-top: 54px;
}

.product-writing{
  margin-left: -123px;
  img{
    display: block;
    width: 714px;
  }
}

.site-footer {
  width: 100%;
  background: var(--footer);
  color: #fff;
}

.footer-column-about {
  align-items: flex-start;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 16px));
  }
}

@keyframes marquee-right {
  from {
    transform: translateX(calc(-50% - 16px));
  }

  to {
    transform: translateX(0);
  }
}


@media (max-width: 1440px) {
  body {
    min-width: 0;
  }

  .site-header,
  .page-main,
  .site-footer,
  .header-inner,
  .hero-inner,
  .section-inner,
  .footer-inner,
  .section-inner-partners {
    width: 100%;
    /* min-width: 1200px; */
  }





  .solution-card{
    /* height: 230px; */
  }

  .header-inner,
  .footer-inner {
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero-content {
    margin-left: 32px;
  }

  .product-row {
    padding-left: 32px !important;
    padding-right: 32px;
    gap: 32px;
  }

  .product-copy,
  .product-row:not(.product-row-reverse) .product-copy {
    width: 34%;
  }

  .product-visual {
    width: 58%;
    margin-right: 6px !important;
  }
  .product-row-reverse .product-visual{
    margin-left: 6px;
  }

  .advantages-grid {
    width: min(100%, 900px);
  }



  .solutions-grid {
    width: min(100%, 1210px);
    grid-template-columns: repeat(4, minmax(260px, 1fr));
    padding: 0 32px;
  }

  .logo-marquee {
    width: calc(100% - 58px);
  }

  .logo-strip {
    width: 1000px;
    background-size: 1006px auto;
  }
}

.product-visual-ai{
  background: transparent;
  /* width: 714px; */
  img{
    display: block;
    width: 100%;
  }
}

/* @media (max-width: 900px) {
  .site-header {
    position: static;
    height: auto;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 12px;
  }

  .site-nav {
    width: 100%;
    gap: 18px;
    flex-wrap: wrap;
  }

  .nav-link {
    height: auto;
    padding-bottom: 8px;
  }

  .hero-section {
    height: 420px;
    background-position: center;
  }

  .hero-content {
    width: calc(100% - 40px);
    margin-left: 20px;
    padding-top: 72px;
  }

  .hero-content h1 {
    font-size: 52px;
    line-height: 1.2;
  }

  .hero-content p {
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 28px;
  }

  .product-row,
  .product-row-reverse {
    flex-direction: column;
    min-height: auto;
    padding-top: 48px;
  }

  .product-copy,
  .product-row:not(.product-row-reverse) .product-copy,
  .product-visual {
    width: 100%;
  }

  .product-visual {
    height: auto;
    min-height: 240px;
    padding: 18px;
  }

  .product-visual img,
  .product-visual-ai .ai-decor {
    position: static;
    width: 100%;
    height: auto;
  }

  .product-visual-ai {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-items: center;
  }

  .product-visual-ai .ai-decor-center {
    grid-column: 1 / -1;
  }

  .advantages-grid,
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .logo-marquee {
    width: calc(100% - 24px);
  }

  .logo-strip {
    height: 92px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    padding: 32px 24px 48px;
  }

  .footer-column h3 {
    margin-top: 0;
  }
} */

.align-center{
  text-align: center;
}

#product-ai,#product-squirrel{
  padding-left: 10px;
}

#product-courseware,#product-writing{
  padding-right: 10px;
}

#product-writing{
  padding-bottom: 110px;
}

#product-ai{
  padding-bottom: 20px;
}