:root {
  --bg: #f7f9fc;
  --bg-2: #fff;
  --ink: #1d2129;
  --ink-soft: #4e5969;
  --line: #e5e6eb;
  --navy: #0b2b5c;
  --blue: #165dff;
  --blue-2: #4080ff;
  --white: #fff;
  --shadow: 0 20px 48px rgba(11, 43, 92, 0.1);
  --radius: 16px;
  --max: 1160px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg-2);
  line-height: 1.65;
}

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

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

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(11, 43, 92, 0.06);
}

.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}

.logo-mark {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.logo small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}

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

.nav a:hover,
.nav a.is-active {
  color: var(--blue);
}

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 8px;
}

.nav-cta:hover {
  filter: brightness(1.06);
}

.menu-btn {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  min-height: 40px;
  padding: 8px 12px;
  cursor: pointer;
}

.hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(900px 420px at 80% 0%, #e8f0ff 0%, transparent 70%),
    linear-gradient(#fff, #f7f9fc);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
}

.kicker {
  color: var(--blue);
  font-weight: 600;
  font-size: 14px;
}

h1 {
  margin: 12px 0 16px;
  font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 34em;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

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

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 8px 20px rgba(22, 93, 255, 0.28);
}

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

.hero-art {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.dash-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
}

.dash-toolbar strong {
  color: var(--navy);
}

.dash-toolbar span {
  color: var(--ink-soft);
  font-size: 12px;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.dash-kpis div {
  background: #f7f9fc;
  border-radius: 12px;
  padding: 10px 10px 6px;
}

.dash-kpis span {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
}

.dash-kpis b {
  display: block;
  margin: 2px 0 0;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.spark {
  display: block;
  width: 100%;
  height: 22px;
  margin-top: 2px;
}

.dash-main,
.dash-bottom {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 10px;
  margin-top: 10px;
}

.dash-chart,
.dash-side,
.dash-bars-panel,
.dash-rank {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.dash-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--navy);
}

.dash-chart-head span {
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 12px;
}

.legend {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 400;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.legend i,
.dash-side i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.c1 { background: #165dff; }
.c2 { background: #4080ff; }
.c3 { background: #c9d8ff; }
.c4 { background: #ff7d00; }

.line-chart {
  display: block;
  width: 100%;
  height: 148px;
  margin-top: 4px;
}

.line-chart .axis {
  fill: #86909c;
  font-size: 10px;
}

.dash-side strong {
  display: block;
  font-size: 13px;
  color: var(--navy);
  margin-bottom: 8px;
}

.dash-donut-wrap {
  position: relative;
  width: 104px;
  height: 104px;
  margin: 0 auto 8px;
}

.dash-ring {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: conic-gradient(#165dff 0 46%, #4080ff 46% 78%, #c9d8ff 78% 100%);
  mask: radial-gradient(farthest-side, transparent 58%, #000 59%);
  -webkit-mask: radial-gradient(farthest-side, transparent 58%, #000 59%);
}

.dash-donut-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  color: var(--navy);
}

.dash-donut-label b {
  font-size: 18px;
  line-height: 1;
}

.dash-donut-label small {
  color: var(--ink-soft);
  font-size: 11px;
}

.dash-side ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  color: var(--ink-soft);
}

.dash-side li {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.dash-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 92px;
  margin-top: 10px;
}

.dash-bars div {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  justify-content: flex-end;
}

.dash-bars i {
  display: block;
  width: 100%;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #4080ff, #165dff);
}

.dash-bars span {
  margin-top: 6px;
  font-size: 11px;
  color: var(--ink-soft);
}

.dash-rank ol {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.dash-rank li {
  display: grid;
  grid-template-columns: 64px 1fr 28px;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-soft);
}

.dash-rank b {
  height: 8px;
  border-radius: 99px;
  background: #e8f0ff;
  position: relative;
  overflow: hidden;
}

.dash-rank li:nth-child(1) b::after { width: 92%; }
.dash-rank li:nth-child(2) b::after { width: 86%; }
.dash-rank li:nth-child(3) b::after { width: 81%; }
.dash-rank li:nth-child(4) b::after { width: 74%; }

.dash-rank b::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  background: linear-gradient(90deg, #165dff, #4080ff);
  border-radius: 99px;
}

.dash-rank em {
  font-style: normal;
  color: var(--navy);
  font-weight: 700;
  text-align: right;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 28px 0 0;
  margin: 0;
  list-style: none;
}

.chips li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--ink-soft);
}

section {
  padding: 80px 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

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

.section-head h2,
.about-intro h2,
.cta-band h2 {
  margin: 8px 0;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--navy);
}

.section-head p {
  margin: 0 auto;
  max-width: 42em;
  color: var(--ink-soft);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card,
.why article,
.contact-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover,
.why article:hover,
.contact-card:hover {
  transform: translateY(-3px);
  border-color: #c9d8ff;
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
}

.card p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0;
}

.ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #e8f0ff;
  color: var(--blue);
  font-weight: 700;
}

.alt {
  background: var(--bg);
}

.why {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.why article {
  padding: 28px;
}

.why h3 {
  margin: 10px 0 8px;
}

.why p {
  margin: 0;
  color: var(--ink-soft);
}

.num {
  font-size: 13px;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.about-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 56px;
}

.about-intro p {
  color: var(--ink-soft);
  margin: 12px 0 0;
  max-width: 40em;
}

.about-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.about-points li {
  background: var(--bg);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--ink-soft);
}

.about-points strong {
  display: block;
  color: var(--navy);
  margin-bottom: 2px;
}

.audience-head {
  margin-bottom: 28px;
}

.audience-head h2 {
  font-size: clamp(22px, 2.4vw, 28px);
}

.cta-band {
  margin-top: 40px;
  background: linear-gradient(135deg, #0b2b5c, #165dff);
  color: #fff;
  border-radius: 20px;
  padding: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-band h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(22px, 2.4vw, 28px);
}

.cta-band p {
  margin: 6px 0 0;
  opacity: 0.86;
}

.cta-band .btn-primary {
  background: #fff;
  color: var(--navy);
}

.contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  text-align: center;
  display: block;
  color: inherit;
}

.contact-card .ico {
  margin: 0 auto;
}

.contact-card h3 {
  margin: 10px 0 6px;
}

.contact-card p {
  margin: 0;
  color: var(--ink-soft);
}

.footer {
  background: #0b1d38;
  color: #c9d3e3;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer h4 {
  color: #fff;
  margin: 0 0 12px;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li + li {
  margin-top: 6px;
}

.footer a:hover {
  color: #fff;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 18px;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
}

.copyright {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

@media (max-width: 960px) {
  .hero-grid,
  .cards-3,
  .why,
  .contact-grid,
  .footer-grid,
  .about-intro,
  .dash-kpis,
  .dash-main,
  .dash-bottom {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 10px 4px;
  }

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

  .hero-grid,
  .cards-3,
  .why,
  .contact-grid,
  .footer-grid,
  .about-intro,
  .dash-kpis,
  .dash-main,
  .dash-bottom {
    grid-template-columns: 1fr;
  }
}

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

  .btn,
  .card,
  .why article,
  .contact-card {
    transition: none;
  }

  .btn:hover,
  .card:hover,
  .why article:hover,
  .contact-card:hover {
    transform: none;
  }
}
