body {
  --cyan: #3ea8d4;
  --bg: #f3f6fa;
  --surface: #f7fafc;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  font-family: -apple-system, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.intro-lock {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
.eyebrow {
  color: var(--blue);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}
.sec-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

#intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: radial-gradient(800px 500px at 50% 40%, #dbe9ff, #f4f8ff 70%);
  transition: opacity 0.7s ease;
}
#intro.hide {
  opacity: 0;
  pointer-events: none;
}
.intro-logo {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 34px;
  color: #fff;
  opacity: 0;
  animation: logoIn 0.7s 0.15s cubic-bezier(0.2, 1.4, 0.4, 1) forwards;
  box-shadow: 0 0 40px var(--cyan2-50);
}
@keyframes logoIn {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.intro-name {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--deep);
  line-height: 1;
  clip-path: inset(0 100% 0 0);
  animation: handwrite 1.1s 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.intro-tag {
  font-family: "Dancing Script", cursive;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
  clip-path: inset(0 100% 0 0);
  animation: handwrite 1s 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes handwrite {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

.page {
  position: relative;
  padding: 80px 0 72px;
}
.page-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero {
  position: relative;
  padding: 64px 0 0;
  background-color: #fff;
}
nav {
  border-bottom: 0;
}
.hero-carousel {
  aspect-ratio: 1920 / 556;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease,
    visibility 0.6s;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
}
.hs-1 {
  background-color: #eef4fa;
  background-image: url("../images/home/hero-platform.webp?v=20261016");
}
.hs-2 {
  background-color: #f4f7fe;
  background-image: url("../images/home/hero-connect.webp?v=20261016");
}
.hs-3 {
  background-color: #eef4fa;
  background-image: url("../images/home/hero-tech.webp?v=20261016");
}
.hs-4 {
  background-color: #020817;
  background-image: url("../images/home/hero-brand.webp?v=20261016");
}
.hero-carousel .yz-prev,
.hero-carousel .yz-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 37, 64, 0.42);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition: background 0.25s;
  z-index: 4;
}
.hero-carousel .yz-prev {
  left: 24px;
}
.hero-carousel .yz-next {
  right: 24px;
}
.hero-carousel .yz-prev:hover,
.hero-carousel .yz-next:hover {
  background: rgba(10, 37, 64, 0.65);
}
.hero-carousel .yz-prev svg,
.hero-carousel .yz-next svg {
  width: 20px;
  height: 20px;
  display: block;
}
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 4;
}
.hero-dots .dot {
  width: 20px;
  height: 3px;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(10, 37, 64, 0.2);
  cursor: pointer;
  transition:
    width 0.3s ease,
    background 0.3s ease;
}
.hero-dots .dot.active {
  width: 42px;
  background: #fff;
}
.pb2 {
  background-color: #fafbfd;
  background-image: url("../images/home/products-wave-light.webp");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}
.pb3 {
  background-color: #01000f;
  background-image: url("../images/home/dev-bg.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.page .wrap {
  position: relative;
  z-index: 1;
}
footer {
  margin-top: 0;
}
.foot-grid a {
  display: block;
  color: var(--deep);
  font-size: 14px;
  margin-bottom: 9px;
  background: linear-gradient(
    90deg,
    var(--deep) 0%,
    var(--deep) 40%,
    var(--cyan) 50%,
    var(--deep) 60%,
    var(--deep) 100%
  );
  background-size: 240% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: none;
}
.foot-grid a:hover {
  animation: footShine 1.3s ease;
}
.foot-grid .foot-links a:hover {
  animation: footShine 1.3s ease;
}
@keyframes footShine {
  from {
    background-position: 100% 0;
  }
  to {
    background-position: 0 0;
  }
}
.foot-bot {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 16px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
  gap: 16px;
  text-align: center;
}

@media (max-width: 900px) {
  .page {
    justify-content: flex-start;
    overflow-y: auto;
  }
}
@media (max-width: 480px) {
  .eyebrow {
    letter-spacing: 2px;
    margin-bottom: 8px;
  }
}

.page-auto {
  padding: 60px 0;
}
.core-page {
  background: #fff;
}
.dev-wrap,
.core-wrap {
  padding: 0;
}
.core-products,
.dev-ecosystem {
  text-align: center;
}
.core-products .eyebrow,
.dev-ecosystem .eyebrow {
  margin-bottom: 8px;
}
.core-products .sec-title,
.dev-ecosystem .sec-title {
  margin-bottom: 6px;
}
.core-products .sec-sub,
.dev-ecosystem .sec-sub {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 40px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 274px));
  justify-content: space-between;
  text-align: left;
  max-width: 1090px;
  margin-left: auto;
  margin-right: auto;
}
.biz-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 0;
  text-decoration: none;
  transition: transform 0.25s ease;
}
.biz-card:hover {
  transform: translateY(-4px);
}
.biz-img {
  display: block;
  width: 100%;
  aspect-ratio: 274 / 230;
  object-fit: contain;
  padding: 10% 0;
  background: #f2f6fa;
  border: 0;
  border-radius: 8px;
  transition: box-shadow 0.25s ease;
}
.biz-card:hover .biz-img {
  box-shadow: 0 16px 32px rgba(21, 101, 216, 0.14);
}
.biz-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 14px 0 0;
}
.biz-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
  color: #0e1726;
}
.biz-card p {
  margin: 0;
  padding-right: 24px;
  color: #5b6b82;
  font-size: 14px;
  line-height: 1.7;
}
.biz-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 22px;
}
.biz-tags span {
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #f2f2f2;
  color: var(--blue);
}

.dev-ecosystem {
  width: 100%;
  max-width: 1090px;
  margin: 0 auto;
}
.dev-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}
.dev-page .sec-title,
.dev-page .sec-sub {
  color: #000;
}
.dev-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 30px 32px;
  border-radius: 20px;
  color: #fff;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.dev-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.dev-wm {
  position: absolute;
  right: -26px;
  bottom: -34px;
  width: 220px;
  height: 220px;
  color: #fff;
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.dev-icon,
.dev-body {
  position: relative;
  z-index: 1;
}
.dev-icon {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition: transform 0.25s ease;
}
.dev-card:hover .dev-icon {
  transform: scale(1.08) rotate(-4deg);
}
.dev-icon svg {
  width: 46px;
  height: 46px;
  color: #fff;
}
.dev-orange {
  background: linear-gradient(135deg, #ff9a2e 0%, #ff7a45 100%);
}
.dev-blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
}
.dev-card h3 {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #fff;
}
.dev-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}
.dev-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(4px);
  transition: background 0.2s ease;
}
.dev-card:hover .dev-btn {
  background: rgba(255, 255, 255, 0.34);
}
@media (max-width: 900px) {
  .core-wrap,
  .dev-wrap {
    padding: 0 16px;
  }
  .dev-card {
    gap: 18px;
    padding: 24px 22px;
  }
  .dev-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }
  .dev-icon svg {
    width: 36px;
    height: 36px;
  }
}
@media (max-width: 680px) {
  .core-wrap,
  .dev-wrap {
    padding: 0 16px;
  }
  .biz-card h3 {
    font-size: 18px;
  }
  .biz-body {
    padding: 18px 0 0;
  }
  .dev-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 18px;
  }
  .dev-icon {
    width: 72px;
    height: 72px;
  }
  .dev-icon svg {
    width: 40px;
    height: 40px;
  }
  .dev-btn {
    margin-top: 12px;
  }
}

.page-news {
  background: #ffffff;
}

.page-news .wrap {
  max-width: none;
}
.page-news .sec-title {
  text-align: center;
  margin-bottom: 40px;
}
.news-carousel {
  position: relative;
}
.news-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 0 10px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}
.news-track.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}
.news-track::-webkit-scrollbar {
  display: none;
}
.news-card {
  flex: 0 0 393px;
  width: 393px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: url("../images/home/news-bg.webp") center / cover no-repeat #0a101f;
  color: #fff;
  text-decoration: none;
  box-sizing: border-box;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 160, 233, 0.25);
}
.news-img {
  display: block;
  width: 100%;
  height: 192px;
  max-height: 192px;
  object-fit: contain;
  flex: 0 0 192px;
  padding: 12px 16px 0;
  box-sizing: border-box;

  margin-bottom: -11px;
}
.news-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 18px 14px;
  box-sizing: border-box;
  pointer-events: none;
}
.news-name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  color: #000000;
  margin-bottom: 5px;
}
.news-desc {
  font-size: 11px;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.88);

  display: flex;
  flex-direction: column;
  gap: 2px;
}
.news-tags {
  display: none;
}
.news-tags span {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
}
.news-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
}
.news-dots i {
  width: 9px;
  height: 3px;
  border-radius: 2px;
  background: var(--deep-18);
  cursor: pointer;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}
.news-dots i.on {
  width: 26px;
  background: var(--deep);
}

.news-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 37, 64, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.news-carousel.is-scrollable .news-arrow {
  display: flex;
}
.news-arrow:hover {
  background: rgba(10, 37, 64, 0.78);
}
.news-arrow[hidden] {
  display: none;
}
.news-arrow svg {
  width: 20px;
  height: 20px;
  display: block;
}

.news-arrow.n-prev {
  left: 12px;
}
.news-arrow.n-next {
  right: 12px;
}

@media (max-width: 900px) {
  .news-arrow {
    top: auto;
    bottom: -52px;
    transform: none;
    width: 34px;
    height: 34px;
    background: rgba(10, 37, 64, 0.06);
    box-shadow: 0 0 0 1px var(--deep-18);
    color: var(--deep);
  }
  .news-arrow:hover {
    background: rgba(10, 37, 64, 0.12);
  }
  .news-arrow svg {
    width: 16px;
    height: 16px;
  }
  .news-arrow.n-prev {
    left: 0;
  }
  .news-arrow.n-next {
    right: 0;
  }
}

@media (min-width: 901px) {
  .news-carousel {
    --news-gap: 24px;
    --news-row: calc(100% - var(--news-gap) * 4);
  }
  .news-carousel.is-quad {
    --news-row: calc(100% - var(--news-gap) * 3);
  }
  .news-carousel.is-quad .news-track,
  .news-carousel.is-overflow .news-track {
    padding-inline: calc(var(--news-row) / 22);
    scroll-padding-inline: calc(var(--news-row) / 22);
  }
  .news-carousel.is-quad .news-card {
    flex: 0 0 calc(var(--news-row) / 4);
    width: auto;
  }
  .news-carousel.is-overflow .news-card {
    flex: 0 0 calc(var(--news-row) / 4);
    width: auto;
  }
}
