:root {
  --ink: #1a2332;
  --ink-soft: rgba(26, 35, 50, 0.72);
  --ink-mute: rgba(26, 35, 50, 0.48);
  --line: rgba(26, 35, 50, 0.08);
  --bg: #f6faf9;
  --bg-deep: #e8f3f0;
  --surface: #ffffff;
  --brand: #3ec9b0;
  --brand-2: #4b7ef0;
  --brand-deep: #3d6ae8;
  --cta: #2f6bff;
  --cta-press: #2458d6;
  --radius: 20px;
  --max: 1120px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

a { color: inherit; }

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

.wrap {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

/* —— 顶栏 —— */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: saturate(1.2) blur(14px);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  background: rgba(246, 250, 249, 0.86);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.nav.is-solid {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 20px;
  flex-shrink: 0;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 8px 18px rgba(75, 126, 240, 0.25);
  background: transparent;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.logo-text {
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  color: var(--ink-soft);
}

.nav-links a {
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.nav-links a.is-active {
  color: var(--cta);
  font-weight: 650;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(47, 107, 255, 0.28);
  transition: background 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.nav-cta:hover { background: var(--cta-press); }
.nav-cta:active { transform: scale(0.98); }

/* —— 页面通用 —— */
.page-hero {
  padding: 48px 0 36px;
  text-align: center;
  background:
    radial-gradient(700px 320px at 80% 10%, rgba(62, 201, 176, 0.18), transparent 60%),
    radial-gradient(600px 300px at 10% 90%, rgba(75, 126, 240, 0.12), transparent 55%),
    linear-gradient(180deg, #f8fcfb 0%, var(--bg) 100%);
}

.page-hero h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-hero .lead {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.5vw, 17px);
  max-width: 36em;
  margin-inline: auto;
  line-height: 1.7;
}

.section {
  padding: 56px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-head p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 15px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: 0 14px 32px rgba(70, 110, 150, 0.06);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47, 107, 255, 0.28);
}

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

.btn-ghost {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn-ghost:hover { background: #fff; }

.btn:active { transform: scale(0.98); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.notice {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--ink-mute);
  line-height: 1.65;
  text-align: center;
  max-width: 48em;
  margin-inline: auto;
}

/* —— Footer —— */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 28px 0 max(36px, env(safe-area-inset-bottom));
  background: #fff;
  flex-shrink: 0;
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.footer-brand {
  font-weight: 800;
  letter-spacing: 0.12em;
  background: linear-gradient(180deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  font-size: 13px;
  color: var(--ink-mute);
}

.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--cta); }

.beian {
  display: inline-block;
  font-size: 12px;
  color: rgba(26, 35, 50, 0.35);
  text-decoration: none;
  text-align: center;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
}
