:root {
  --ink: #121a32;
  --text: #26324d;
  --muted: #68758f;
  --line: #e9eef7;
  --blue: #62bef6;
  --blue-deep: #337ff0;
  --pink: #ff5f91;
  --pink-deep: #ec4077;
  --soft: #f6faff;
  --card: #ffffff;
  --shadow: 0 24px 68px rgba(43, 86, 143, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  background: #fff;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(155deg, rgba(240, 248, 255, .96) 0%, rgba(255, 255, 255, .96) 42%, rgba(255, 246, 251, .9) 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page-shell {
  overflow: hidden;
}

.cursor-light {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2;
  width: 320px;
  height: 320px;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(var(--cursor-x, -400px), var(--cursor-y, -400px), 0);
  transition: opacity .25s ease;
  background: radial-gradient(circle, rgba(98, 190, 246, .14), rgba(255, 95, 145, .08) 48%, transparent 70%);
}

.cursor-light.is-active {
  opacity: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 0 clamp(22px, 6vw, 86px);
  border-bottom: 1px solid rgba(232, 238, 247, .8);
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  grid-template-columns: repeat(2, 12px);
  grid-template-rows: repeat(2, 12px);
  gap: 4px;
}

.brand-mark i {
  display: block;
  border-radius: 4px;
  background: var(--blue);
  box-shadow: 0 8px 18px rgba(98, 190, 246, .22);
}

.brand-mark i:first-child,
.brand-mark i:last-child {
  background: var(--pink);
  box-shadow: 0 8px 18px rgba(255, 95, 145, .24);
}

.brand-name {
  color: var(--pink);
  font-size: 22px;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 46px);
  color: #2b354d;
  font-size: 15px;
  font-weight: 700;
}

.nav a {
  position: relative;
  padding: 27px 0 24px;
  transition: color .24s ease;
}

.nav a::after {
  position: absolute;
  left: 50%;
  bottom: 17px;
  width: 0;
  height: 2px;
  content: "";
  border-radius: 999px;
  background: var(--pink);
  transform: translateX(-50%);
  transition: width .24s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--pink);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.header-cta,
.primary-btn,
.video-btn,
.learn-more,
.back-top,
.menu-toggle {
  font: inherit;
}

.header-cta,
.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--pink), #ff7fa8);
  box-shadow: 0 16px 32px rgba(255, 95, 145, .27);
  cursor: pointer;
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
}

.header-cta:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(255, 95, 145, .32);
  filter: saturate(1.06);
}

.primary-btn.small {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14px;
}

.video-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 23px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #26324d;
  font-weight: 800;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 14px 34px rgba(31, 74, 128, .08);
  transition: transform .24s ease, border-color .24s ease;
}

.video-btn i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-style: normal;
  font-size: 12px;
  background: var(--blue);
}

.video-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(98, 190, 246, .55);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #f2f7ff;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  content: "";
  border-radius: 999px;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  padding: clamp(42px, 7vw, 86px) clamp(22px, 6vw, 86px) 58px;
}

.hero::before {
  position: absolute;
  right: 0;
  top: 0;
  width: 62vw;
  height: 100%;
  content: "";
  opacity: .86;
  background:
    linear-gradient(132deg, transparent 0 22%, rgba(98, 190, 246, .13) 22% 70%, rgba(255, 95, 145, .10) 70% 100%);
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-inner,
.section,
.client-inner,
.metric-band,
.footer-inner,
.footer-bottom {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(380px, 1.08fr);
  align-items: center;
  gap: clamp(38px, 7vw, 90px);
}

.hero-copy h1 {
  margin: 0;
  color: #15213b;
  font-size: clamp(48px, 5.7vw, 76px);
  line-height: 1.09;
  font-weight: 900;
}

.hero-copy h1 span {
  color: var(--pink);
}

.lead {
  margin: 28px 0 0;
  max-width: 620px;
  color: #53627c;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.85;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 40px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  perspective: 1000px;
}

.hero-image-wrap {
  position: relative;
  width: min(560px, 92%);
  aspect-ratio: 1 / 1.04;
  border-radius: 42% 58% 54% 46% / 46% 45% 55% 54%;
  background:
    linear-gradient(140deg, rgba(98, 190, 246, .2), rgba(255, 95, 145, .18)),
    #eff8ff;
  box-shadow: 0 36px 90px rgba(43, 86, 143, .18);
  transform: rotate(-2deg);
  animation: heroFloat 7s ease-in-out infinite;
}

.hero-image-wrap::before,
.hero-image-wrap::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-image-wrap::before {
  inset: 9%;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: inherit;
}

.hero-image-wrap::after {
  left: 10%;
  right: 8%;
  bottom: 2%;
  height: 18%;
  border-radius: 50%;
  background: rgba(40, 76, 124, .14);
  filter: blur(18px);
}

.hero-image-wrap img {
  position: absolute;
  left: 50%;
  bottom: -4%;
  width: 92%;
  max-height: 112%;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 28px 34px rgba(27, 47, 86, .2));
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  min-width: 142px;
  border: 1px solid rgba(255, 255, 255, .85);
  border-radius: 18px;
  color: #26324d;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 20px 48px rgba(36, 83, 138, .13);
  backdrop-filter: blur(12px);
  animation: chipFloat 5.8s ease-in-out infinite;
}

.floating-card strong {
  flex: 1;
  font-size: 13px;
  font-weight: 900;
}

.floating-card b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  color: #fff;
  background: var(--blue);
}

.card-design {
  top: 13%;
  left: 2%;
}

.card-video {
  top: 42%;
  right: 0;
  animation-delay: -1.5s;
}

.card-video b {
  background: var(--pink);
}

.card-develop {
  left: 9%;
  bottom: 14%;
  animation-delay: -2.8s;
}

.client-strip {
  padding: 28px clamp(22px, 6vw, 86px) 12px;
}

.client-inner {
  padding: 22px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 16px 42px rgba(33, 76, 132, .07);
}

.client-inner p {
  margin: 0 0 20px;
  color: #8a96aa;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
}

.logos {
  display: grid;
  grid-template-columns: repeat(8, minmax(92px, 1fr));
  gap: 14px;
  align-items: center;
}

.logos img {
  width: 100%;
  height: 52px;
  padding: 11px 14px;
  border: 1px solid rgba(232, 238, 247, .9);
  border-radius: 14px;
  background: #fff;
  object-fit: contain;
  filter: saturate(.85);
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
}

.logos img:hover {
  transform: translateY(-4px);
  filter: saturate(1.1);
  box-shadow: 0 16px 30px rgba(36, 83, 138, .11);
}

.section {
  padding: clamp(74px, 9vw, 112px) 0;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 46px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--pink);
  font-size: 14px;
  font-weight: 900;
}

.section-title h2,
.section-head h2,
.cta-panel h2 {
  margin: 0;
  color: #17233d;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.25;
  font-weight: 900;
}

.section-title > p:last-child,
.section-head p,
.cta-panel p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.service-card,
.case-card,
.about-copy,
.about-list,
.cta-panel {
  border: 1px solid rgba(232, 238, 247, .9);
  background: rgba(255, 255, 255, .9);
  box-shadow: var(--shadow);
}

.service-card {
  position: relative;
  min-height: 310px;
  padding: 34px 30px;
  border-radius: 24px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(145deg, rgba(98, 190, 246, .13), rgba(255, 95, 145, .12));
  transition: opacity .25s ease;
}

.service-card:hover {
  border-color: rgba(98, 190, 246, .35);
  box-shadow: 0 30px 76px rgba(43, 86, 143, .18);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  margin-bottom: 24px;
  border-radius: 20px;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), #87d4ff);
  box-shadow: 0 16px 32px rgba(98, 190, 246, .28);
}

.service-icon.icon-pink {
  background: linear-gradient(135deg, var(--pink), #ff91b5);
  box-shadow: 0 16px 32px rgba(255, 95, 145, .28);
}

.service-card h3,
.case-card h3,
.about-list h3 {
  margin: 0 0 14px;
  color: #17233d;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 900;
}

.service-card p,
.case-card p,
.about-copy p,
.about-list p,
.footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  color: var(--blue-deep);
  font-weight: 900;
}

.learn-more.pink,
.case-card:nth-child(2) .learn-more {
  color: var(--pink);
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 48px clamp(24px, 5vw, 62px);
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(120deg, #55c4f5 0%, #7c9dff 48%, #ff69a0 100%);
  box-shadow: 0 28px 70px rgba(98, 132, 235, .25);
}

.metric-band div {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
}

.metric-band i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  font-style: normal;
  background: rgba(255, 255, 255, .18);
}

.metric-band strong {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  font-weight: 900;
}

.metric-band span {
  font-weight: 800;
  opacity: .92;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 36px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.case-card {
  overflow: hidden;
  border-radius: 24px;
  transform-style: preserve-3d;
  transition: transform .25s ease, box-shadow .25s ease;
}

.case-card:hover {
  box-shadow: 0 30px 78px rgba(43, 86, 143, .18);
}

.case-card img {
  width: 100%;
  aspect-ratio: 1.45 / 1;
  object-fit: cover;
  background: #eef5ff;
}

.case-body {
  padding: 24px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tags span {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--pink);
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 95, 145, .1);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.about-copy,
.about-list {
  border-radius: 24px;
  padding: 34px;
}

.about-copy p + p {
  margin-top: 18px;
}

.about-list {
  display: grid;
  gap: 18px;
}

.about-list div {
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(246, 250, 255, .95), rgba(255, 247, 251, .92));
}

.about-list h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.cta-section {
  padding-top: 32px;
}

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 390px);
  align-items: center;
  gap: 32px;
  padding: clamp(34px, 6vw, 60px);
  overflow: hidden;
  border-radius: 30px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .96), rgba(246, 251, 255, .92)),
    linear-gradient(120deg, rgba(98, 190, 246, .16), rgba(255, 95, 145, .16));
}

.cta-panel .primary-btn {
  margin-top: 28px;
}

.cta-panel img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(35, 68, 112, .2));
}

.footer {
  margin-top: 40px;
  padding: 58px clamp(22px, 6vw, 86px) 24px;
  color: rgba(255, 255, 255, .78);
  background: #10182b;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(250px, 1.6fr) repeat(3, 1fr);
  gap: 36px;
}

.footer .brand-name,
.footer h3 {
  color: #fff;
}

.footer h3 {
  margin: 0 0 18px;
  font-size: 17px;
}

.footer p {
  color: rgba(255, 255, 255, .68);
}

.footer a:not(.brand) {
  display: block;
  margin: 10px 0;
  color: rgba(255, 255, 255, .68);
  transition: color .2s ease;
}

.footer a:hover {
  color: #fff;
}

.footer-brand {
  margin-bottom: 18px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.socials a {
  display: grid !important;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .52);
  font-size: 14px;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  box-shadow: 0 18px 36px rgba(66, 115, 180, .25);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity .24s ease, transform .24s ease;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .72s ease, transform .72s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-16px) rotate(1deg);
  }
}

@keyframes chipFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 1024px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav {
    position: fixed;
    left: 18px;
    right: 18px;
    top: 84px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 16px;
    border-radius: 14px;
  }

  .nav a::after {
    display: none;
  }

  .nav a:hover,
  .nav a.active {
    background: #fff5f9;
  }

  .menu-toggle {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

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

  .service-grid,
  .case-grid,
  .about-layout,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
    padding: 0 16px;
    gap: 12px;
  }

  .brand-name {
    font-size: 19px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 54px 18px 34px;
  }

  .hero::before {
    width: 100%;
    clip-path: none;
  }

  .hero-copy h1 {
    font-size: clamp(39px, 12vw, 52px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 30px;
  }

  .primary-btn,
  .video-btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 420px;
  }

  .hero-image-wrap {
    width: 88%;
  }

  .floating-card {
    min-width: 116px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .floating-card strong {
    font-size: 11px;
  }

  .floating-card b {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    font-size: 12px;
  }

  .card-design {
    top: 8%;
    left: 0;
  }

  .card-video {
    right: 0;
  }

  .card-develop {
    left: 2%;
    bottom: 12%;
  }

  .client-strip {
    padding: 22px 18px 0;
  }

  .client-inner {
    padding: 18px;
  }

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

  .section {
    padding: 68px 18px;
  }

  .service-grid,
  .case-grid,
  .about-layout,
  .metric-band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .metric-band {
    width: calc(100% - 36px);
    padding: 34px 24px;
  }

  .section-head {
    display: block;
  }

  .section-head .primary-btn {
    margin-top: 22px;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }

  .cta-panel img {
    max-height: 220px;
  }

  .footer {
    padding: 48px 18px 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
