:root {
  --ink: #142029;
  --muted: #5f6f7a;
  --line: #dce5e8;
  --paper: #ffffff;
  --mist: #f4f8f8;
  --teal: #00a99d;
  --blue: #1769e0;
  --amber: #ff9d2e;
  --green: #5aa65a;
  --radius: 8px;
  --shadow: 0 18px 50px rgba(20, 32, 41, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(220, 229, 232, 0.82);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #43535d;
  font-size: 15px;
}

.nav-links a {
  padding: 22px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  border-color: var(--blue);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid var(--blue);
  color: #fff;
  background: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

.button.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 35%, rgba(255, 255, 255, 0.18) 70%),
    url("software-development-hero.png") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}

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

.hero-copy {
  width: min(610px, 100%);
  position: relative;
  z-index: 1;
  padding: 70px 0 112px;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: 0;
}

.lead {
  color: #43535d;
  font-size: 20px;
  line-height: 1.8;
}

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

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-contact a {
  border: 1px solid rgba(23, 105, 224, 0.22);
  border-radius: 999px;
  padding: 7px 12px;
  color: #244a5a;
  background: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(20, 32, 41, 0.06);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 42px;
}

.stat {
  border-left: 3px solid var(--teal);
  padding-left: 14px;
}

.stat strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  padding: 86px 0;
}

.section.compact {
  padding: 46px 0 76px;
}

.section.alt {
  background: var(--mist);
}

.section.dark {
  color: #eef8f8;
  background:
    linear-gradient(135deg, rgba(18, 49, 58, 0.98), rgba(20, 32, 41, 0.98)),
    radial-gradient(circle at 80% 20%, rgba(0, 169, 157, 0.34), transparent 34%);
}

.section.dark .section-head p,
.section.dark .card p {
  color: rgba(238, 248, 248, 0.72);
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.2;
}

.section-head p {
  color: var(--muted);
}

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

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

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

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

.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  padding: 26px;
  box-shadow: 0 8px 28px rgba(20, 32, 41, 0.05);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

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

.product-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 18px;
  background: #f7fafb;
}

.product-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-shot.contain img {
  object-fit: contain;
  padding: 12px;
  background: #fff;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 28px;
}

.section-spacer {
  height: 24px;
}

.showcase-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.showcase-panel img {
  width: 100%;
  border-radius: 8px;
}

.showcase-stack {
  display: grid;
  gap: 14px;
}

.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 8px;
}

.screenshot-grid figure {
  min-width: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 32, 41, 0.06);
}

.screenshot-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.screenshot-grid figcaption {
  padding: 10px 12px 12px;
  color: var(--muted);
  font-size: 14px;
}

.mini-shot {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}

.mini-shot img {
  width: 110px;
  height: 78px;
  object-fit: cover;
  border-radius: 8px;
  background: #f7fafb;
}

.mini-shot strong {
  display: block;
  margin-bottom: 4px;
}

.mini-shot span {
  color: var(--muted);
  font-size: 14px;
}

.signal-board {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
  align-items: center;
  border: 1px solid rgba(0, 169, 157, 0.22);
  border-radius: 8px;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(244, 248, 248, 0.94), rgba(255, 255, 255, 0.98)),
    linear-gradient(90deg, rgba(0, 169, 157, 0.08), rgba(23, 105, 224, 0.08));
  box-shadow: var(--shadow);
}

.signal-copy h2 {
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.22;
}

.signal-copy p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.signal-flow {
  display: grid;
  grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
  align-items: center;
  gap: 0;
}

.flow-node {
  min-height: 88px;
  display: grid;
  place-items: center;
  border: 1px solid #cfe3e3;
  border-radius: 8px;
  color: #244a5a;
  background: #fff;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 12px 28px rgba(20, 32, 41, 0.08);
}

.flow-node.hot {
  color: #fff;
  border-color: var(--teal);
  background: linear-gradient(135deg, var(--teal), #20c7ba);
}

.flow-node.blue {
  color: #fff;
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue), #4c8ef2);
}

.flow-line {
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.tech-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.tech-card span {
  display: inline-flex;
  margin-bottom: 24px;
  color: #7ce2db;
  font-weight: 900;
}

.tech-card h3 {
  margin-bottom: 10px;
}

.tech-card p {
  margin-bottom: 0;
  color: rgba(238, 248, 248, 0.72);
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.partner-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 32, 41, 0.06);
}

.partner-media {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.partner-media img {
  max-width: 150px;
  max-height: 42px;
  object-fit: contain;
}

.partner-media.dark-logo {
  width: 162px;
  border-radius: 8px;
  padding: 8px 12px;
  background: #111820;
}

.partner-media.dark-logo img {
  max-width: 138px;
  max-height: 36px;
}

.partner-logo {
  width: 58px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), #12313a);
  font-size: 15px;
  font-weight: 900;
}

.partner-logo.teal {
  background: linear-gradient(135deg, var(--teal), #12313a);
}

.partner-logo.amber {
  background: linear-gradient(135deg, var(--amber), #ad5b00);
}

.partner-logo.green {
  background: linear-gradient(135deg, var(--green), #1f6b68);
}

.partner-card h3 {
  margin-bottom: 8px;
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag-list span {
  border: 1px solid #cfe3e3;
  border-radius: 999px;
  padding: 5px 10px;
  color: #24585d;
  background: #f2fbfa;
  font-size: 13px;
}

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

.icon.blue {
  background: var(--blue);
}

.icon.amber {
  background: var(--amber);
}

.icon.green {
  background: var(--green);
}

.process {
  counter-reset: step;
}

.process .card {
  position: relative;
  padding-top: 58px;
}

.process .card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 22px;
  left: 26px;
  color: var(--blue);
  font-weight: 900;
}

.banner {
  color: #fff;
  background: linear-gradient(135deg, #12313a, #1769e0 56%, #00a99d);
}

.banner .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.banner p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.banner .button {
  border-color: #fff;
  color: var(--ink);
  background: #fff;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(190px, 1fr));
  gap: 12px;
  min-width: min(480px, 100%);
}

.contact-card {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-card strong {
  color: #fff;
  font-size: 18px;
}

.contact-card a,
.contact-card span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.page-hero {
  padding: 92px 0 68px;
  color: #fff;
  background: linear-gradient(135deg, #12313a, #1769e0 58%, #00a99d);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.86);
  max-width: 780px;
}

.breadcrumbs {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
}

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

.table-row {
  display: grid;
  grid-template-columns: 1.3fr 2fr 1fr;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row strong {
  color: var(--ink);
}

.table-row span,
.table-row p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 46px 0 32px;
  color: #d7e5e8;
  background: #101a1f;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1fr;
  gap: 28px;
}

.site-footer a,
.site-footer p {
  color: #aebfc6;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.copyright {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8fa1a8;
  font-size: 14px;
}

.copyright .beian-link {
  display: inline-block;
  margin-left: 12px;
  color: #b9c9ce;
}

.is-previewable {
  cursor: zoom-in;
}

.is-previewable:focus-visible {
  outline: 3px solid rgba(23, 105, 224, 0.42);
  outline-offset: 4px;
}

.lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px 28px 40px;
  background: rgba(8, 17, 22, 0.86);
  backdrop-filter: blur(10px);
}

.image-lightbox.is-open {
  display: flex;
}

.image-lightbox-img {
  max-width: min(1180px, 94vw);
  max-height: 82vh;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

.image-lightbox-caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  font-size: 14px;
}

.image-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

  .nav-links {
    width: 100%;
    overflow-x: auto;
    gap: 16px;
    padding-bottom: 2px;
  }

  .nav-links a {
    padding: 6px 0;
    white-space: nowrap;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: 680px;
    align-items: flex-start;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 46%, rgba(255, 255, 255, 0.25) 100%),
      url("software-development-hero.png") center bottom / cover no-repeat;
  }

  .hero-copy {
    padding-top: 44px;
  }

  .stats,
  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .signal-board,
  .signal-flow,
  .product-showcase,
  .screenshot-grid,
  .tech-grid,
  .partner-grid,
  .contact-cards,
  .footer-inner,
  .table-row {
    grid-template-columns: 1fr;
  }

  .signal-flow {
    gap: 10px;
  }

  .flow-line {
    width: 3px;
    height: 28px;
    justify-self: center;
  }

  .mini-shot {
    grid-template-columns: 92px 1fr;
  }

  .mini-shot img {
    width: 92px;
    height: 68px;
  }

  .banner .section-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
