:root {
  --bg: #f6f8ff;
  --surface: #ffffff;
  --text: #1c2a4a;
  --muted: #607093;
  --brand: #7fa8ff;
  --brand-strong: #5f89f7;
  --line: #dce4f5;
  --card: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, #f2f7ff 0%, transparent 40%),
    radial-gradient(circle at 100% 10%, #eef1ff 0%, transparent 35%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

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

.container {
  width: 80%;
  max-width: none;
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid #e8eefb;
}

.nav-wrap {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 0.6rem;
  background: linear-gradient(135deg, #92b6ff, #b7b8ff);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.58rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: transparent;
  padding: 0.45rem 0.7rem;
}

.hero {
  padding: 6.5rem 0 4.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.hero-content {
  animation: fadeUp 700ms ease-out both;
}

.kicker {
  color: #7e96c4;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 4.3vw, 3.4rem);
  line-height: 1.16;
}

.hero-desc {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 40ch;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  padding: 0.68rem 1.1rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(122, 153, 228, 0.24);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #ffffff;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--text);
  background: #f6f9ff;
}

.hero-panel {
  position: relative;
  padding: 1.35rem 1.25rem 1.35rem;
  border-radius: 20px;
  border: 1px solid rgba(124, 156, 235, 0.22);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, #f3f7ff 55%, #eef3ff 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 24px 48px rgba(90, 118, 200, 0.12);
  animation: fadeUp 850ms ease-out both;
  animation-delay: 120ms;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(146, 182, 255, 0.5), rgba(183, 184, 255, 0.25), transparent 65%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-panel::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -15%;
  width: 55%;
  height: 55%;
  background: radial-gradient(circle, rgba(145, 180, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-panel-header {
  position: relative;
  z-index: 1;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(220, 228, 245, 0.95);
}

.hero-panel-header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(102deg, #1c2a4a 0%, #3d5a9e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-panel-sub {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 36ch;
}

.hero-capabilities {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.hero-cap {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0;
  padding: 0.72rem 0.78rem;
  border-radius: 14px;
  border: 1px solid rgba(220, 232, 252, 0.95);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.hero-cap:hover {
  transform: translateY(-2px);
  border-color: rgba(146, 182, 255, 0.45);
  box-shadow: 0 10px 28px rgba(100, 130, 210, 0.1);
}

.hero-cap-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  color: var(--brand-strong);
  background: linear-gradient(145deg, rgba(127, 168, 255, 0.2), rgba(127, 168, 255, 0.06));
}

.hero-cap-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.hero-cap-body h3 {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.hero-cap-body p {
  margin: 0.28rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--muted);
}

.section {
  padding: 4.2rem 0;
}

.section.alt {
  background: linear-gradient(180deg, #fbfcff, #f4f7ff);
  border-top: 1px solid #eaf0fb;
  border-bottom: 1px solid #eaf0fb;
}

.section h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section-intro {
  color: var(--muted);
  max-width: 64ch;
}

.stats,
.cards,
.cases,
.partners-list {
  margin-top: 1.7rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stats article,
.card,
.cases article,
.partners-list article,
.news-list article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: var(--card);
  box-shadow: 0 8px 24px rgba(128, 150, 199, 0.08);
  transition: transform 0.24s ease, border-color 0.24s ease;
}

.stats article:hover,
.card:hover,
.cases article:hover,
.partners-list article:hover,
.news-list article:hover {
  transform: translateY(-4px);
  border-color: #b7c9ef;
}

.stats h3 {
  margin: 0;
  font-size: 1.7rem;
}

.stats p,
.card p,
.cases p,
.partners-list p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.partners-list h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

.news-list {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.8rem;
}

.news-list time {
  color: #6f89be;
  font-size: 0.9rem;
}

.news-list p {
  margin: 0.28rem 0 0;
  color: var(--text);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.contact-info {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.contact-form {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: linear-gradient(160deg, #ffffff, #f5f8ff);
}

.contact-form label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 600;
  font-size: 0.94rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--text);
  padding: 0.62rem 0.68rem;
}

.form-notice {
  min-height: 1.2rem;
  margin: 0.7rem 0 0;
  color: #6f89be;
}

.footer {
  border-top: 1px solid #e7eefb;
  padding: 1.25rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-copy {
  margin: 0;
}

.footer-beian {
  margin: 0;
}

.footer-beian a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-beian a:hover {
  color: var(--brand-strong);
  border-bottom-color: rgba(95, 137, 247, 0.35);
}

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 8px 24px rgba(95, 137, 247, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease,
    box-shadow 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top.visible:hover {
  box-shadow: 0 10px 28px rgba(95, 137, 247, 0.45);
  transform: translateY(-2px);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--brand-strong);
  outline-offset: 3px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 920px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

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

  .partners-list {
    grid-template-columns: 1fr 1fr;
    max-width: none;
  }
}

@media (max-width: 720px) {
  .container {
    width: 92%;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    right: 4%;
    top: 72px;
    min-width: 200px;
    padding: 0.7rem;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
  }

  .nav.open {
    display: flex;
  }

  .stats,
  .cards,
  .cases,
  .partners-list {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
