:root {
  --bg: #eaf2fb;
  --text: #0f1f45;
  --muted: #5f6d85;
  --blue: #1f5dff;
  --blue2: #4db7ff;
  --card: #f6f9ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  overflow-x: hidden;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #f4f8fe;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.snap-section {
  position: relative;
  width: 100%;
}

.hero {
  padding-top: 76px;
  background:url("img/yanmo/bg1.png") no-repeat right top #F5FAFF ;
  position: relative;
}
.hero:after{
  content: '';
  position: absolute;
}

.hero-inner {
  min-height: 520px;
  align-items: center;
  position: relative;
  z-index: 9;
}
.hero-copy{
  margin:120px 0;
}
.hero-copy h1 {
  font-size: 58px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
  display: inline-block;
  position: relative;
  padding-bottom: 20px;
}

.hero-copy h1 span {
  color: #1f5fff;
  z-index: 3;
}
.hero-copy h1 span.hero-title-main{
  color:#0E1724;
  position: relative;
  z-index: 9;
}
.hero-stroke {
  width: 340px;
  height: 29px;
  margin: 0;
  position: absolute;
  overflow: hidden;
  right: -6px;
  bottom: 18px;
  z-index: 2;
  pointer-events: none;
}

.hero-stroke img {
  width: 100%;
  height: 100%;
  /*object-fit: contain;*/
  /*clip-path: inset(0 100% 0 0);*/
  animation: lineWrite 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s forwards;
}

.hero-stroke::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 3px;
  height: 100%;
  /*background: linear-gradient(180deg, #3cc7ff, #2570ff);*/
  opacity: 0;
  transform: translateX(0);
  animation: penCursor 1.25s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s;
}

.hero-copy p {
  font-size: 20px;
  color: #435169;
  white-space: nowrap;
  line-height: 1.7;
  margin-bottom: 16px;
}

.hero-issues-title {
  font-size: 13px!important;
  font-weight: 700;
  color: #0E105E!important;
  margin-bottom: 10px;
}

.hero-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 8px 14px;
  margin-bottom: 22px;
  max-width: 600px;
}

.hero-points li {
  font-size: 14px;
  color: #0F67EB;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-points .iconfont {
  color: #1f5dff;
  font-size: 13px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  min-width: 166px;
  height: 52px;
  padding: 0 24px;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  background: #1f5dff;
  transition: transform 0.2s ease, background 0.2s ease;
  position: relative;
  z-index: 999;
}

.cta-btn:hover {
  transform: translateY(-1px);
  background: #1a52e6;
}

.cta-btn.mini {
  margin: 28px auto 0;
  padding: 10px 28px;
  font-size: 16px;
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 58%;
  transform: translateY(-50%);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  animation: heroFloat 4.2s ease-in-out infinite;
}
.hero-visual img{
  width: 50%;
}
.ability {
  padding: 68px 0;
  background: #F0FBFF;
}

.ability.alt {
  background: #e9f2ff;
}

.ability h2 {
  font-size: 36px;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 34px;
}

.ability-row {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: 26px;
}

.ability-row.reverse {
  grid-template-columns: 1.12fr 0.88fr;
}

.ability-text ul {
  list-style: none;
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 0;
}

.ability-text ul::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: url("img/yanmo/line.png") center / contain no-repeat;
}

.ability-text li strong {
  display: block;
  color: #0e224f;
  font-size: 20px;
  margin-bottom: 6px;
}

.ability-text li span {
  color: #60708a;
  font-size: 16px;
  line-height: 1.7;
}

/* Sentence-by-sentence reveal for ability copy blocks */
.ability-text li {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  padding-left: 34px;
  margin:8px 0;
}

.ability-row.reverse .ability-text li {
  transform: translateX(20px);
}

.ability-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  background: url("img/yanmo/check.png") center / contain no-repeat;
}

.motion-reveal.in-view .ability-text li {
  opacity: 1;
  transform: translateX(0);
}

.motion-reveal.in-view .ability-text li:nth-child(1) { transition-delay: 0.08s; }
.motion-reveal.in-view .ability-text li:nth-child(2) { transition-delay: 0.18s; }
.motion-reveal.in-view .ability-text li:nth-child(3) { transition-delay: 0.28s; }
.motion-reveal.in-view .ability-text li:nth-child(4) { transition-delay: 0.38s; }
.motion-reveal.in-view .ability-text li:nth-child(5) { transition-delay: 0.48s; }
.motion-reveal.in-view .ability-text li:nth-child(6) { transition-delay: 0.58s; }

.ability-shot {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(28, 74, 160, 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ability-shot:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(28, 74, 160, 0.2);
}

.industry {
  padding: 72px 0 78px;
  background: linear-gradient(180deg, #3485FD 0%, #BBF7FF 100%)
}

.industry h2 {
  font-size: 36px;
  color: #fff;
  text-align: center;
  margin-bottom: 26px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.industry-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  min-height: 250px;
  cursor: pointer;
}

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

.industry-card:hover img {
  transform: scale(1.06);
}

.mask {
  position: absolute;
  inset: 0;
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, rgba(11, 23, 53, 0.02), rgba(8, 16, 34, 0.52));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.3s ease;
}

.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mask h3 {
  font-size: 24px;
  margin-bottom: 0;
  line-height: 1.1;
  position: relative;
  padding-bottom: 12px;
}

.mask h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.96));
  transition: background 0.26s ease;
}

.card-head .iconfont {
  font-size: 24px;
  opacity: 0.9;
  transition: transform 0.26s ease, opacity 0.26s ease;
}

.mask p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.55;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: opacity 0.28s ease, transform 0.28s ease, max-height 0.28s ease;
}

.industry-card:hover .mask {
  background: linear-gradient(180deg, rgba(8, 16, 34, 0.66), rgba(8, 16, 34, 0.72));
}

.industry-card:hover .mask p {
  opacity: 0.95;
  max-height: 84px;
  transform: translateY(0);
}

.industry-card:hover .card-head .iconfont {
  transform: translate(2px, -2px);
  opacity: 1;
}

.industry-card:hover .mask h3::after {
  background: linear-gradient(90deg, #2f83ff, #16c1ff);
}

.industry-use {
  display: block;
  width: fit-content;
  margin: 48px auto 0;
}

.industry-use img {
  width: 180px;
  height: auto;
  display: block;
}

.workflow {
  padding: 70px 0 76px;
  background: url("img/yanmo/jlbg2.png") no-repeat right top, linear-gradient(180deg, #f4f8ff 0%, #eff4ff 100%);
  background-size: 80% auto;
}

.workflow h2 {
  font-size: 36px;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 30px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 100px;
}

.work-card {
  border-radius: 20px;
  overflow: hidden;
  background: #f3f5fb;
  box-shadow: 0 12px 28px rgba(41, 87, 176, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(41, 87, 176, 0.16);
}

.work-cover {
  width: 100%;
  min-height: 178px;
  background: #dce8fb;
  overflow: hidden;
}

.work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s ease;
}

.work-card:hover .work-cover img {
  transform: scale(1.08);
}

.work-body {
  padding: 18px 16px 18px;
}

.work-body h4 {
  font-size: 18px;
  line-height: 1.2;
  color: #0f1f45;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.work-body h4 .iconfont {
  font-size: 16px;
  color: #ffbe2f;
  transform: translateY(-1px);
}

.work-title-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex: 0 0 16px;
  transform: translateY(-1px);
}

.work-body ul {
  list-style: none;
  display: grid;
  gap: 7px;
}

.work-body li {
  position: relative;
  padding-left: 14px;
  color: #5a6884;
  font-size: 14px;
  line-height: 1.6;
}

.work-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2d78ff;
}

.workflow h3 {
  font-size: 40px;
  text-align: center;
  margin-bottom: 24px;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.app-card {
  position: relative;
  width: 100%;
  min-width: 0;
  cursor: pointer;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.3s ease;
  perspective: 1100px;
  background: transparent;
  box-shadow: none;
}

.app-card:hover {
  transform: translateY(-6px);
}

.app-flip {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.62s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.app-card:hover .app-flip {
  transform: rotateY(180deg);
}

.app-card-link {
  position: absolute;
  inset: 0;
  z-index: 6;
  text-decoration: none;
  border-radius: inherit;
}

.app-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.app-back {
  transform: rotateY(180deg);
}

.site-footer {
  background: #f5f7fb;
}

.footer-inner {
  padding-top: 8px;
}

.footer-top {
  min-height: 0;
  display: grid;
  grid-template-columns: 220px 1fr 2fr;
  gap: 24px;
  align-items: start;
  padding: 8px 0 10px;
}

.footer-logo img {
  width: 86px;
  margin-top: 0;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: #121f41;
  margin-bottom: 10px;
}

.footer-col p {
  font-size: 14px;
  color: #435169;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.footer-links a {
  text-decoration: none;
  font-size: 14px;
  color: #4a5c82;
  transition: color 0.22s ease;
}

.footer-links a:hover {
  color: #1b4fff;
}

.footer-bottom {
  margin-top: 6px;
  border-top: 1px solid #E4EEF9;
}

.footer-bottom-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: normal;
}

.footer-bottom-inner span {
  font-size: 14px;
  color: #C3CAD4;
  white-space: nowrap;
}

.motion-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.motion-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFloat {
  0% { transform: translateY(-50%) translateY(0); }
  50% { transform: translateY(-50%) translateY(-8px); }
  100% { transform: translateY(-50%) translateY(0); }
}

@keyframes lineWrite {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes penCursor {
  0% { opacity: 0; transform: translateX(-238px); }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { opacity: 0; transform: translateX(0); }
}


@media (max-width: 1080px) {
  .hero-inner,
  .ability-row,
  .ability-row.reverse {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .ability h2,
  .industry h2,
  .workflow h2,
  .workflow h3 {
    font-size: 34px;
  }

  .hero-points {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .hero-stroke {
    width: 182px;
    height: 18px;
    right: -4px;
    bottom: 2px;
  }

  .industry-grid,
  .workflow-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
  }

  .footer-col h4,
  .footer-links a,
  .footer-col p {
    font-size: 14px;
  }

  .footer-links {
    gap: 16px;
    flex-wrap: wrap;
  }

  .footer-bottom-inner {
    min-height: auto;
    padding: 10px 0;
    display: grid;
    gap: 6px;
    justify-content: start;
  }

  .footer-bottom-inner span {
    white-space: normal;
  }

  .work-body h4 {
    font-size: 26px;
  }

  .work-body li {
    font-size: 13px;
  }
}
@media (max-width: 767px) {
  .hero-visual{
    top: auto;
    bottom:-10%;
  }
  .app-card{
    min-height: 200px;
  }
}
