:root {
  --primary: #3566f6;
  --primary-dark: #2346ad;
  --text: #1f2a44;
  --muted: #68738d;
  --bg: #f6f8fc;
  --white: #ffffff;
  --line: #e7ecf5;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  scroll-behavior: smooth;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), #6f93ff);
  color: var(--white);
}

.brand-text {
  font-size: 0.98rem;
}

.nav {
  display: flex;
  gap: 1.2rem;
  font-size: 0.92rem;
  color: var(--muted);
}

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

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  color: var(--text);
}

.hero {
  padding: 4.2rem 0;
  background: radial-gradient(circle at 20% 10%, #eaf0ff 0%, #f6f8fc 45%, #f6f8fc 100%);
}

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

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.3;
}

.hero-desc {
  margin: 1.2rem 0;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin: 1.4rem 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1.1rem;
  border-radius: 10px;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-light {
  background: var(--white);
  border: 1px solid var(--line);
}

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

.hero-metrics div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem;
}

.hero-metrics strong {
  display: block;
  font-size: 1.15rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 10px 30px rgba(34, 62, 120, 0.08);
}

.hero-card h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.8;
}

.link-arrow {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--primary);
  font-weight: 600;
}

.section {
  padding: 4.2rem 0;
}

.section-alt {
  background: #f0f4fb;
}

.section-title {
  margin: 0;
  font-size: 1.7rem;
}

.section-subtitle {
  margin: 0.9rem 0 1.5rem;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 1rem;
}

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

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

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

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

.profile small {
  color: var(--primary);
  display: inline-block;
  margin-top: 0.6rem;
  font-weight: 600;
}

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

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #6f93ff);
  font-weight: 700;
}

.step h3 {
  margin: 0.8rem 0 0.5rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.site-footer {
  background: #172139;
  color: #d8deed;
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1rem;
}

.site-footer h3,
.site-footer h4 {
  color: #ffffff;
  margin-top: 0;
}

.site-footer p {
  margin: 0.4rem 0;
  line-height: 1.7;
}

.site-footer a {
  color: #d8deed;
}

.site-footer a:hover {
  color: #ffffff;
}

.copyright {
  text-align: center;
  margin-top: 1.4rem;
  font-size: 0.86rem;
  color: #a9b4d4;
}

@media (max-width: 980px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .process,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    align-items: start;
  }
}

@media (max-width: 760px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    right: 4%;
    top: 68px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(20, 35, 70, 0.1);
    flex-direction: column;
    padding: 0.8rem;
    min-width: 180px;
  }

  .nav.open {
    display: flex;
  }

  .hero-grid,
  .grid-4,
  .grid-3,
  .process,
  .footer-grid,
  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .section {
    padding: 3rem 0;
  }
}
