:root {
  --bg: #f6faf8;
  --surface: #ffffff;
  --surface-soft: #eef7f4;
  --ink: #0d1b2a;
  --muted: #526170;
  --line: #d8e5e1;
  --teal: #009b88;
  --teal-strong: #007c70;
  --blue: #2563eb;
  --gold: #c88719;
  --shadow: 0 20px 60px rgba(18, 44, 57, 0.12);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Segoe UI",
    Arial,
    sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  height: 72px;
  padding: 0 40px;
  border-bottom: 1px solid rgba(216, 229, 225, 0.8);
  background: rgba(246, 250, 248, 0.88);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  box-shadow: 0 12px 28px rgba(18, 44, 57, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
  font-weight: 700;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(0, 155, 136, 0.3);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 124, 112, 0.14);
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  content: "";
  position: absolute;
  display: block;
  border-radius: 999px;
  background: var(--teal);
}

.brand-mark::before {
  width: 18px;
  height: 3px;
  transform: rotate(30deg);
}

.brand-mark::after {
  width: 18px;
  height: 3px;
  transform: rotate(-30deg);
}

.brand-mark span {
  width: 6px;
  height: 6px;
  background: var(--gold);
}

.brand-text {
  font-size: 18px;
}

.site-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  min-width: 64px;
  padding: 10px 14px;
  border-radius: 8px;
  color: #324454;
  font-size: 15px;
  text-align: center;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-strong);
  background: rgba(0, 155, 136, 0.08);
  outline: none;
}

.header-download,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.header-download {
  min-width: 126px;
  padding: 0 16px;
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 12px 28px rgba(0, 124, 112, 0.2);
}

.header-download:hover,
.button-primary:hover {
  background: var(--teal-strong);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--surface);
}

.hero {
  position: relative;
  min-height: 680px;
  padding: 124px 40px 108px;
  overflow: hidden;
  background-color: #eaf5f1;
  background-image:
    linear-gradient(90deg, rgba(246, 250, 248, 0.97) 0%, rgba(246, 250, 248, 0.9) 38%, rgba(246, 250, 248, 0.56) 68%, rgba(246, 250, 248, 0.34) 100%),
    url("./assets/hero-dashboard.png");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: var(--line);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 24%, rgba(0, 155, 136, 0.12), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(246, 250, 248, 0.72) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-kicker,
.section-label {
  margin: 0 0 16px;
  color: var(--teal-strong);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: 68px;
  line-height: 1.05;
  font-weight: 800;
}

.hero-copy {
  max-width: 650px;
  margin: 24px 0 0;
  color: #344657;
  font-size: 20px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  min-width: 164px;
  padding: 0 22px;
  border: 1px solid transparent;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

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

.button-primary {
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 18px 40px rgba(0, 124, 112, 0.22);
}

.button-secondary {
  color: #142638;
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(13, 27, 42, 0.12);
}

.button-secondary:hover {
  border-color: rgba(0, 155, 136, 0.34);
  color: var(--teal-strong);
  background: #ffffff;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(216, 229, 225, 0.9);
  border-radius: 8px;
  color: #435567;
  background: rgba(255, 255, 255, 0.72);
}

.hero-meta strong {
  margin-left: 4px;
  color: var(--ink);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: var(--container);
  margin: -46px auto 0;
  position: relative;
  z-index: 3;
  padding: 0 20px;
}

.metric {
  min-height: 112px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 50px rgba(18, 44, 57, 0.08);
}

.metric:first-child {
  border-radius: 8px 0 0 8px;
}

.metric:last-child {
  border-radius: 0 8px 8px 0;
}

.metric strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 14px;
}

.section,
.download-band {
  padding: 96px 40px;
}

.section-alt {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-section {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 54px;
  max-width: var(--container);
  margin: 0 auto;
}

.section-copy h2,
.section-heading h2,
.download-copy h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.2;
}

.section-heading {
  max-width: var(--container);
  margin: 0 auto 40px;
}

.intro-grid,
.feature-grid {
  display: grid;
  gap: 18px;
}

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

.scenario-card,
.feature-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.scenario-card {
  min-height: 254px;
  padding: 26px;
}

.card-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 8px;
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card-icon-teal {
  color: var(--teal-strong);
  background: rgba(0, 155, 136, 0.1);
}

.card-icon-blue {
  color: var(--blue);
  background: rgba(37, 99, 235, 0.1);
}

.card-icon-gold {
  color: var(--gold);
  background: rgba(200, 135, 25, 0.12);
}

.scenario-card h3,
.feature-card h3,
.workflow-list h3,
.download-panel h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.scenario-card p,
.feature-card p,
.workflow-list p,
.download-copy p,
.download-panel p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container);
  margin: 0 auto;
}

.feature-card {
  min-height: 220px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(238, 247, 244, 0.72), rgba(255, 255, 255, 0) 58%),
    #ffffff;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 28px;
  margin-bottom: 34px;
  border-radius: 8px;
  color: var(--teal-strong);
  background: rgba(0, 155, 136, 0.1);
  font-size: 13px;
  font-weight: 800;
}

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

.workflow-section .section-heading {
  margin-left: 0;
  margin-right: 0;
}

.workflow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.workflow-list li {
  display: flex;
  gap: 18px;
  min-height: 168px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
}

.workflow-list li > span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--ink);
  font-weight: 800;
}

.download-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.65fr);
  gap: 56px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0, 155, 136, 0.1), transparent 36%),
    #edf7f4;
}

.download-copy,
.download-panel {
  width: 100%;
  max-width: 560px;
}

.download-copy {
  justify-self: end;
}

.download-panel {
  padding: 30px;
  border: 1px solid rgba(0, 155, 136, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.download-panel-main {
  margin-bottom: 24px;
}

.download-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  margin-bottom: 18px;
  border-radius: 8px;
  color: var(--teal-strong);
  background: rgba(0, 155, 136, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.button-wide {
  width: 100%;
}

.noscript-link {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.noscript-link a {
  color: var(--teal-strong);
  text-decoration: underline;
}

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

.release-section .section-heading {
  margin-left: 0;
  margin-right: 0;
}

.release-grid {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.4fr;
  gap: 18px;
}

.release-item {
  min-height: 114px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.release-item span {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
}

.release-item strong {
  display: block;
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.35;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #ffffff;
  font-size: 14px;
}

@media (max-width: 1120px) {
  .intro-section {
    grid-template-columns: 1fr;
  }

  .intro-grid,
  .feature-grid,
  .workflow-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-band {
    grid-template-columns: 1fr;
  }

  .download-copy,
  .download-panel {
    justify-self: center;
    max-width: 760px;
  }

  .release-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    height: 64px;
    padding: 0 18px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: fixed;
    inset: 64px 12px auto;
    display: none;
    justify-self: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    min-width: 0;
    text-align: left;
  }

  .header-download {
    display: none;
  }

  .hero {
    min-height: 560px;
    padding: 92px 22px 76px;
    background-image:
      linear-gradient(180deg, rgba(246, 250, 248, 0.98) 0%, rgba(246, 250, 248, 0.9) 52%, rgba(246, 250, 248, 0.68) 100%),
      url("./assets/hero-dashboard.png");
    background-position: center bottom;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-copy {
    font-size: 17px;
    line-height: 1.75;
  }

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

  .button {
    width: 100%;
  }

  .metric-strip {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
    padding: 0;
  }

  .metric,
  .metric:first-child,
  .metric:last-child {
    border-radius: 0;
    box-shadow: none;
  }

  .section,
  .download-band {
    padding: 68px 22px;
  }

  .section-copy h2,
  .section-heading h2,
  .download-copy h2 {
    font-size: 32px;
  }

  .intro-grid,
  .feature-grid,
  .workflow-list,
  .release-grid {
    grid-template-columns: 1fr;
  }

  .download-band {
    gap: 30px;
  }

  .download-panel {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    padding: 28px 22px;
  }
}

@media (max-width: 460px) {
  .brand {
    min-width: 0;
  }

  .brand-text {
    font-size: 17px;
  }

  .hero {
    min-height: 548px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .metric-strip {
    grid-template-columns: 1fr;
  }

  .metric {
    min-height: 96px;
  }
}
