:root {
  --bg: #f3f8ff;
  --bg-elevated: #ffffff;
  --text: #0f2442;
  --text-muted: #526680;
  --line: #dbe6f6;
  --primary: #0d6cf4;
  --primary-deep: #0a49a8;
  --accent: #17a9ff;
  --radius-xl: 24px;
  --radius-md: 14px;
  --shadow-soft: 0 18px 42px rgba(13, 75, 178, 0.12);
  --container: min(1120px, calc(100% - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 4.7rem 0;
  position: relative;
}

.section-head {
  max-width: 680px;
  margin-bottom: 1.8rem;
}

.section-head h2 {
  margin: 0.1rem 0 0.7rem;
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.2;
}

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

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--primary);
  font-weight: 800;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(14px);
  opacity: 0.62;
}

.glow-a {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(23, 169, 255, 0.42) 0%, rgba(23, 169, 255, 0) 70%);
  top: -140px;
  right: -110px;
}

.glow-b {
  width: 390px;
  height: 390px;
  background: radial-gradient(circle, rgba(13, 108, 244, 0.32) 0%, rgba(13, 108, 244, 0) 70%);
  left: -140px;
  top: 35%;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(18, 84, 187, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 84, 187, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.65), transparent 78%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(243, 248, 255, 0.88);
  border-bottom: 1px solid rgba(221, 233, 250, 0.7);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.56rem;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
}

.brand-mark-img {
  display: block;
  height: 34px;
  width: auto;
  border-radius: 8px;
}

.brand-name {
  font-size: 1.22rem;
  letter-spacing: 0.01em;
  color: var(--text);
}

.site-nav {
  display: flex;
  gap: 0.4rem;
}

.nav-link {
  padding: 0.42rem 0.8rem;
  color: var(--text-muted);
  border-radius: 999px;
  font-size: 0.95rem;
  transition: color 220ms ease, background-color 220ms ease;
}

.nav-link:hover {
  color: var(--primary-deep);
  background: rgba(13, 108, 244, 0.1);
}

.nav-link.active {
  color: #ffffff;
  background: linear-gradient(145deg, var(--primary), var(--primary-deep));
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

.hero {
  padding: 5.4rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 1.6rem;
  align-items: stretch;
}

.hero h1 {
  margin: 0.65rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.12;
}

.hero-subtitle {
  max-width: 640px;
  margin: 0;
  font-size: 1.03rem;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 1.2rem;
  font-weight: 700;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--primary-deep));
  box-shadow: 0 12px 24px rgba(13, 108, 244, 0.26);
}

.btn-secondary {
  color: var(--primary-deep);
  background: #ffffff;
  border: 1px solid #c9dcfb;
}

.hero-panel {
  padding: 1.15rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.94), rgba(242, 248, 255, 0.93));
  border: 1px solid #d3e4fb;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.9rem;
}

.metric-card {
  background: var(--bg-elevated);
  border: 1px solid #dce8fb;
  border-radius: var(--radius-md);
  padding: 1rem 1rem 0.9rem;
}

.metric-label {
  margin: 0;
  color: #5a6d86;
  font-size: 0.86rem;
}

.metric-value {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-deep);
}

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

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

.info-card {
  padding: 1.15rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d6e6fb;
  box-shadow: 0 7px 20px rgba(15, 85, 197, 0.09);
}

.info-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
}

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

.case-tag {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--primary-deep);
  background: rgba(13, 108, 244, 0.14);
  margin-bottom: 0.45rem;
}

.about-shell {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 1rem;
}

.about-content p {
  margin-top: 0;
  color: var(--text-muted);
}

.about-side {
  border: 1px solid #d7e7fb;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  padding: 1rem;
}

.about-side h3 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.about-side ul {
  margin: 0;
  padding-left: 1.15rem;
}

.about-side li {
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.contact-box {
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  border: 1px solid #d4e4fb;
  background: linear-gradient(145deg, #ffffff, #edf5ff);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-desc {
  margin: 0.25rem 0 0;
  color: var(--text-muted);
}

.contact-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.2rem 1.05rem;
  border-radius: 999px;
  background: #0f67e5;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(215, 229, 248, 0.95);
  padding: 1.1rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  color: #5b6f89;
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #2f5fa2;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .header-inner {
    height: 68px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 1.25rem;
    left: 1.25rem;
    background: rgba(252, 254, 255, 0.98);
    border: 1px solid #d3e4fb;
    border-radius: 14px;
    padding: 0.55rem;
    box-shadow: 0 14px 34px rgba(14, 82, 190, 0.18);
    display: none;
    flex-direction: column;
    gap: 0.32rem;
  }

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

  .nav-link {
    padding: 0.62rem 0.8rem;
    border-radius: 10px;
  }

  .hero {
    padding-top: 4.4rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
    max-width: 260px;
  }

  .card-grid,
  .card-grid.split {
    grid-template-columns: 1fr;
  }

  .contact-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-mail {
    width: 100%;
  }

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

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
