:root {
  --bg: #f4fbff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #173243;
  --muted: #617885;
  --line: rgba(49, 121, 158, 0.16);
  --brand: #1c85c8;
  --brand-deep: #166392;
  --accent: #58c7d6;
  --sun: #ffd56a;
  --leaf: #82c784;
  --shadow: 0 20px 46px rgba(33, 103, 143, 0.12);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 1160px;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, #eaf8ff 0%, #fbfeff 34%, #eef9ff 100%);
  line-height: 1.7;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(238, 249, 255, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 66px;
  height: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.08rem;
  font-weight: 900;
}

.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: #426b80;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--brand);
}

.hero {
  position: relative;
  padding: 56px 0 76px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(244, 251, 255, 0.98) 0%, rgba(244, 251, 255, 0.86) 50%, rgba(244, 251, 255, 0.62) 100%),
    url("https://images.unsplash.com/photo-1494526585095-c41746248156?w=1800&q=80&fit=crop") center/cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(232, 249, 255, 0.88)),
    linear-gradient(135deg, rgba(255, 213, 106, 0.18), rgba(88, 199, 214, 0.1));
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(244, 251, 255, 0), #f7fcff 92%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 42px;
  align-items: center;
  min-height: 610px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-tag,
.panel-label {
  margin: 0 0 12px;
  color: var(--brand-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 900;
}

.hero h1,
.section h2 {
  margin: 0;
  color: #123247;
  line-height: 1.18;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(2.55rem, 5vw, 4.85rem);
  font-weight: 900;
}

.hero h1 span {
  display: block;
}

.hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  color: #4f6b7d;
  font-size: 1.08rem;
}

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

.hero-highlights span,
.software-bullets span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(28, 133, 200, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  color: #1e678d;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  padding: 13px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(28, 133, 200, 0.24);
}

.button-secondary {
  border-color: rgba(28, 133, 200, 0.24);
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-deep);
}

.hero-panel {
  display: grid;
  gap: 14px;
  align-content: start;
}

.hero-photo {
  width: 100%;
  height: clamp(280px, 34vw, 430px);
  object-fit: cover;
  object-position: center;
  border: 8px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel-card {
  padding: 18px;
  border: 1px solid rgba(28, 133, 200, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 28px rgba(33, 103, 143, 0.08);
}

.panel-value {
  margin: 0;
  color: #34596d;
}

.section {
  padding: 86px 0;
}

.section-intro {
  background: #f7fcff;
}

.section-sky {
  background: linear-gradient(180deg, #eaf8ff 0%, #ffffff 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: 56px;
  align-items: start;
}

.section h2 {
  max-width: 780px;
  font-size: clamp(1.85rem, 3vw, 3.05rem);
  font-weight: 900;
}

.section-copy p,
.card p,
.case-card p,
.software-copy p,
.process-step p,
.contact-copy p,
.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.section-copy p+p,
.contact-copy p+p {
  margin-top: 16px;
}

.section-head {
  max-width: 820px;
}

#services .section-head {
  max-width: none;
}

#services-title {
  max-width: 1500px;
  font-size: clamp(34px, 3.4vw, 64px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.stats-band {
  padding: 48px 0;
  background:
    linear-gradient(135deg, rgba(22, 99, 146, 0.94), rgba(60, 186, 203, 0.88)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?w=1500&q=80&fit=crop") center/cover;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
}

.stat-item {
  min-height: 160px;
  padding: 28px 18px;
  background: rgba(255, 255, 255, 0.12);
  text-align: center;
}

.stat-icon {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.8rem;
}

.stat-value {
  margin: 10px 0 2px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 900;
}

.stat-label {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(28, 133, 200, 0.14);
  border-radius: 8px;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.card-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border: 1px solid rgba(28, 133, 200, 0.18);
  border-radius: 8px;
  background: #eef9ff;
}

.card-icon {
  color: var(--brand);
  font-size: 1.2rem;
}

.card h3,
.case-card h3,
.process-step h3 {
  margin: 0 0 10px;
  color: #173243;
  font-size: 1.1rem;
}

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

.case-card {
  overflow: hidden;
  border: 1px solid rgba(28, 133, 200, 0.16);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(33, 103, 143, 0.08);
}

.case-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  border-bottom: 1px solid rgba(28, 133, 200, 0.1);
}

.case-body {
  padding: 24px;
}

.case-type {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  border: 1px solid rgba(130, 199, 132, 0.36);
  border-radius: 4px;
  background: rgba(130, 199, 132, 0.08);
  color: #4a8c4e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
}

.software-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: 38px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(28, 133, 200, 0.16);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #edf9ff);
  box-shadow: var(--shadow);
}

.software-copy>p {
  margin-top: 18px;
}

.badge-icon {
  color: var(--leaf);
}

.software-visual img {
  width: 100%;
  height: clamp(260px, 32vw, 420px);
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.process-wrap {
  display: grid;
  gap: 34px;
}

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

.process-step {
  min-height: 220px;
  padding: 24px;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(33, 103, 143, 0.08);
}

.process-number {
  display: block;
  margin-bottom: 28px;
  color: rgba(28, 133, 200, 0.42);
  font-size: 1.9rem;
  font-weight: 900;
}

.section-contact {
  padding-bottom: 104px;
  background: linear-gradient(180deg, #ffffff 0%, #e9f8ff 100%);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: start;
  padding: 42px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(236, 249, 255, 0.96)),
    url("https://images.unsplash.com/photo-1518005020951-eccb494ad742?w=1200&q=80&fit=crop") center/cover;
  box-shadow: var(--shadow);
}

.contact-line {
  padding-top: 18px;
  font-weight: 900;
  color: var(--brand-deep);
}

.request-form {
  display: grid;
  gap: 14px;
}

.request-form label {
  display: grid;
  gap: 8px;
  color: #2c5e78;
  font-weight: 800;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(28, 133, 200, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  font: inherit;
}

.request-form textarea {
  min-height: 110px;
  resize: vertical;
}

.request-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231c85c8' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.field-required {
  color: #d94f4f;
  font-style: normal;
  font-weight: 900;
}

.form-success {
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(32, 172, 144, 0.12);
  border: 1px solid rgba(32, 172, 144, 0.35);
  color: #1a7a62;
  font-weight: 800;
}

.form-success.hidden {
  display: none;
}

.btn-dev-leads {
  margin-top: 18px;
  padding: 7px 14px;
  border: 1px dashed rgba(28, 133, 200, 0.35);
  border-radius: 6px;
  background: transparent;
  color: #8aafcc;
  font-size: 0.78rem;
  cursor: pointer;
  opacity: 0.7;
}

.btn-dev-leads:hover {
  opacity: 1;
}

.request-form button {
  width: fit-content;
  margin-top: 8px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f7fcff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 34px 0 42px;
}

.footer-brand {
  display: grid;
  gap: 4px;
}

.footer-company {
  color: var(--text);
  font-size: 0.94rem;
}

.footer-tagline {
  font-size: 0.78rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.footer-legal {
  text-align: right;
  font-size: 0.76rem;
}

.footer-admin-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.70rem;
  opacity: 0.38;
  text-decoration: none;
}

.footer-admin-link:hover {
  opacity: 0.85;
}

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

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

@media (max-width: 980px) and (min-width: 681px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
    gap: 26px;
    min-height: 520px;
  }

  .section-grid,
  .software-panel,
  .contact-panel {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  }

  .hero-photo {
    height: 320px;
  }

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

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

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

  .process-step {
    padding: 18px;
  }
}

@media (max-width: 760px) and (min-width: 681px) {

  .hero-inner,
  .section-grid,
  .software-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

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

  .hero-photo {
    display: none;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .site-header {
    position: static;
    background: rgba(246, 252, 255, 0.96);
  }

  .header-inner {
    min-height: 0;
    padding: 12px 0;
    flex-direction: column;
    gap: 10px;
  }

  .brand-mark {
    width: 58px;
  }

  .brand-text strong {
    font-size: 1rem;
  }

  .nav {
    justify-content: center;
    gap: 8px 12px;
    font-size: 0.86rem;
  }

  .hero {
    padding: 36px 0 48px;
    background:
      linear-gradient(180deg, #eaf8ff 0%, #ffffff 68%, #f7fcff 100%);
  }

  .hero::before {
    background:
      linear-gradient(145deg, rgba(255, 213, 106, 0.18), rgba(88, 199, 214, 0.08) 42%, rgba(255, 255, 255, 0.72));
  }

  .hero::after {
    height: 68px;
  }

  .hero-copy {
    max-width: none;
  }

  .eyebrow,
  .section-tag,
  .panel-label {
    font-size: 0.76rem;
    letter-spacing: 0.04em;
  }

  .case-type {
    font-size: 0.73rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 2.75rem);
    line-height: 1.2;
  }

  .hero-text {
    margin-top: 18px;
    font-size: 0.98rem;
  }

  .hero-highlights,
  .hero-actions,
  .software-bullets {
    gap: 10px;
    margin-top: 22px;
  }

  .hero-highlights span,
  .software-bullets span {
    padding: 7px 10px;
    font-size: 0.86rem;
  }

  .hero-panel {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .section h2 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .stats-band {
    padding: 28px 0;
  }

  .cards,
  .case-grid,
  .process-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .software-panel,
  .contact-panel {
    padding: 22px;
  }

  .case-image {
    height: 190px;
  }

  .software-visual img {
    height: 210px;
  }

  .card,
  .process-step {
    min-height: 0;
  }

  .request-form button,
  .btn-dev-leads {
    width: 100%;
  }
}