:root {
  --ink: #14213d;
  --muted: #5e6b78;
  --line: #d8e2e7;
  --paper: #ffffff;
  --soft: #f5f8f8;
  --teal: #087b67;
  --teal-2: #0da79b;
  --blue: #1769aa;
  --amber: #f0a933;
  --dark: #0c2631;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(12, 38, 49, 0.92);
  color: #fff;
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  min-height: 48px;
}

.brand-logo {
  width: 154px;
  height: auto;
  border-radius: 6px;
  filter: brightness(1.18) contrast(1.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  min-width: 82px;
  height: 42px;
  padding: 0 14px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.hero {
  min-height: 520px;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 78% 30%, rgba(var(--hero-accent), 0.3), rgba(var(--hero-accent), 0) 24%),
    radial-gradient(circle at 88% 78%, rgba(240, 169, 51, 0.16), rgba(240, 169, 51, 0) 26%),
    linear-gradient(115deg, rgba(3, 73, 62, 0.98), rgba(10, 38, 49, 0.96) 46%, rgba(18, 45, 70, 0.98));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 72% 38%, rgba(255, 255, 255, 0.14) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 48%, rgba(255, 255, 255, 0.12) 0 2px, transparent 3px),
    radial-gradient(circle at 66% 58%, rgba(255, 255, 255, 0.12) 0 2px, transparent 3px);
  background-size: 84px 84px, 84px 84px, 100% 100%, 100% 100%, 100% 100%;
  mask-image: linear-gradient(90deg, transparent, #000 38%, #000);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 74%, #fff 100%),
    linear-gradient(135deg, transparent 0 48%, rgba(var(--hero-accent), 0.18) 48.2% 48.8%, transparent 49%),
    linear-gradient(150deg, transparent 0 55%, rgba(255, 255, 255, 0.1) 55.2% 55.6%, transparent 56%);
  pointer-events: none;
}

.hero-home {
  --hero-accent: 13, 167, 155;
}

.hero-software {
  --hero-accent: 30, 119, 196;
  background:
    radial-gradient(circle at 72% 28%, rgba(30, 119, 196, 0.36), rgba(30, 119, 196, 0) 24%),
    radial-gradient(circle at 88% 76%, rgba(13, 167, 155, 0.18), rgba(13, 167, 155, 0) 28%),
    linear-gradient(115deg, rgba(7, 43, 72, 0.98), rgba(9, 52, 67, 0.96) 48%, rgba(14, 32, 58, 0.98));
}

.hero-hardware {
  --hero-accent: 240, 169, 51;
  background:
    radial-gradient(circle at 76% 32%, rgba(240, 169, 51, 0.28), rgba(240, 169, 51, 0) 24%),
    radial-gradient(circle at 90% 78%, rgba(13, 167, 155, 0.2), rgba(13, 167, 155, 0) 26%),
    linear-gradient(115deg, rgba(17, 58, 52, 0.98), rgba(12, 38, 49, 0.97) 48%, rgba(50, 42, 28, 0.98));
}

.hero-cases {
  --hero-accent: 104, 196, 174;
  background:
    radial-gradient(circle at 76% 30%, rgba(104, 196, 174, 0.32), rgba(104, 196, 174, 0) 24%),
    radial-gradient(circle at 88% 74%, rgba(23, 105, 170, 0.26), rgba(23, 105, 170, 0) 28%),
    linear-gradient(115deg, rgba(14, 55, 48, 0.98), rgba(12, 38, 49, 0.97) 48%, rgba(13, 46, 64, 0.98));
}

.hero-inner,
.section-inner,
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 84px 0 96px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--amber);
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: 56px;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  background: var(--teal-2);
  color: #fff;
  font-weight: 800;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.band {
  padding: 84px 0;
}

.band.alt {
  background: var(--soft);
}

.band.dark {
  background: var(--dark);
  color: #fff;
}

.section-title {
  max-width: 780px;
  margin: 0 0 36px;
}

.section-title.center {
  max-width: 980px;
  margin-inline: auto;
  text-align: center;
}

.kicker {
  color: var(--teal);
  font-weight: 800;
  margin-bottom: 8px;
}

.section-title h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0;
}

.section-title p {
  margin: 14px 0 0;
  color: var(--muted);
}

.dark .section-title p,
.dark .muted,
.dark .metric-label {
  color: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: center;
}

.lead {
  font-size: 18px;
  color: #273747;
}

.image-frame {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-gallery {
  position: relative;
  overflow: visible;
}

.office-gallery .office-main {
  aspect-ratio: 10 / 7;
  object-position: center;
  border-radius: 8px;
}

.culture-fade {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: min(42%, 260px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: #0d2730;
  box-shadow: 0 14px 34px rgba(6, 27, 34, 0.28);
}

.culture-label {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(8, 30, 38, 0.72);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.culture-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  animation: culture-fade 48s infinite;
}

.culture-slide:nth-of-type(2) {
  animation-delay: 0s;
}

.culture-slide:nth-of-type(3) {
  animation-delay: 6s;
}

.culture-slide:nth-of-type(4) {
  animation-delay: 12s;
}

.culture-slide:nth-of-type(5) {
  animation-delay: 18s;
}

.culture-slide:nth-of-type(6) {
  animation-delay: 24s;
}

.culture-slide:nth-of-type(7) {
  animation-delay: 30s;
}

.culture-slide:nth-of-type(8) {
  animation-delay: 36s;
}

.culture-slide:nth-of-type(9) {
  animation-delay: 42s;
}

.culture-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.culture-slide::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(180deg, rgba(5, 22, 28, 0), rgba(5, 22, 28, 0.72));
}

.culture-slide em {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 10px;
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.38);
}

.image-frame.soft-shadow {
  box-shadow: 0 18px 46px rgba(14, 57, 65, 0.16);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -52px;
  position: relative;
  z-index: 2;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.stat {
  min-height: 136px;
  padding: 24px;
  background: #fff;
}

.stat strong {
  display: block;
  color: var(--teal);
  font-size: 34px;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 22px;
}

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

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 24px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: 0;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card.accent {
  border-top: 4px solid var(--teal-2);
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: #e8f5f3;
  color: var(--teal);
  font-weight: 900;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 8px 12px;
  border: 1px solid #c7ded9;
  border-radius: 999px;
  background: #fff;
  color: #25524d;
  font-weight: 700;
}

.media-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.media-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e6eeee;
}

.media-card .content {
  padding: 20px;
}

.media-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.media-card p {
  margin: 0;
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 24px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--amber);
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.metric {
  padding: 22px;
  border-left: 4px solid var(--amber);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
}

.metric-value {
  display: block;
  color: var(--amber);
  font-size: 38px;
  line-height: 1;
  font-weight: 900;
}

.metric-label {
  display: block;
  margin-top: 10px;
}

.agent-showcase {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #eef8f6);
  box-shadow: 0 18px 46px rgba(14, 57, 65, 0.1);
}

.agent-track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding: 22px;
  animation: agent-scroll 32s linear infinite;
}

.agent-showcase:hover .agent-track {
  animation-play-state: paused;
}

.agent-card {
  width: 380px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid #c9dedb;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.agent-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #e6eeee;
}

.agent-card div {
  padding: 18px;
}

.agent-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--teal);
  font-weight: 900;
}

.agent-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.agent-card p {
  margin: 0;
  color: var(--muted);
}

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

@keyframes culture-fade {
  0%,
  12% {
    opacity: 1;
  }

  16%,
  100% {
    opacity: 0;
  }
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.timeline-item::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 14px;
  color: var(--teal-2);
  font-weight: 900;
  font-size: 24px;
}

.case-list {
  columns: 2;
  column-gap: 42px;
  margin: 0;
  padding-left: 20px;
}

.case-list li {
  break-inside: avoid;
  margin-bottom: 10px;
}

.service-map {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(8, 123, 103, 0.1), rgba(23, 105, 170, 0.08)),
    #fff;
  color: var(--ink);
}

.service-map-head {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.service-map-head span {
  display: block;
  color: var(--teal);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
}

.service-map-head strong {
  display: block;
  margin-top: 6px;
  font-size: 28px;
  line-height: 1.25;
}

.service-map-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.service-map-grid div {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c8ded9;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  color: #17453f;
  font-weight: 800;
}

.service-map-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
}

.service-map-flow span {
  white-space: nowrap;
}

.service-map-flow i {
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, var(--teal-2), var(--blue));
}

.ecosystem-panel {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.ecosystem-head {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.ecosystem-head span {
  display: block;
  color: var(--amber);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0;
}

.ecosystem-head strong {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: 26px;
  line-height: 1.25;
}

.ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.ecosystem-grid div {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
}

.footer {
  padding: 42px 0 24px;
  background: #071a22;
  color: #fff;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-meta {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.footer-meta span,
.footer-meta a {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border-radius: 999px;
}

.footer-meta span {
  padding: 0 12px;
  border: 1px solid rgba(13, 167, 155, 0.35);
  color: rgba(255, 255, 255, 0.86);
  background: rgba(13, 167, 155, 0.12);
  font-weight: 800;
}

.footer-meta a {
  color: rgba(255, 255, 255, 0.66);
}

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

@media (max-width: 960px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 500px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .split,
  .grid.two,
  .grid.three,
  .grid.four,
  .stat-strip,
  .metric-row,
  .timeline {
    grid-template-columns: 1fr 1fr;
  }

  .case-list {
    columns: 1;
  }

  .service-map-grid {
    grid-template-columns: 1fr;
  }

  .agent-card {
    width: 330px;
  }

  .culture-fade {
    right: -18px;
    bottom: -22px;
    width: min(46%, 260px);
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 460px;
  }

  .hero-inner {
    padding: 62px 0 76px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 17px;
  }

  .band {
    padding: 58px 0;
  }

  .section-title h2 {
    font-size: 26px;
  }

  .split,
  .grid.two,
  .grid.three,
  .grid.four,
  .stat-strip,
  .metric-row,
  .timeline {
    grid-template-columns: 1fr;
  }

  .stat-strip {
    margin-top: 0;
  }

  .agent-track {
    animation-duration: 40s;
    padding: 16px;
  }

  .agent-card {
    width: 280px;
  }

  .culture-fade {
    right: -8px;
    bottom: -12px;
    width: 54%;
  }

  .culture-label {
    top: 8px;
    left: 8px;
    font-size: 11px;
  }

  .culture-slide em {
    left: 10px;
    bottom: 8px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .culture-slide {
    animation: none;
  }

  .culture-slide:nth-of-type(2) {
    opacity: 1;
  }
}
