:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --surface-strong: #eef6f3;
  --border: #e2e8f0;
  --text: #172033;
  --muted: #64748b;
  --green: #3fb984;
  --green-dark: #2f8f68;
  --blue: #4568f0;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(63, 185, 132, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 54%, #f7fafc 100%);
  font-family: Inter, Arial, "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 64px;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.brand {
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
}

.brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-width: 0;
}

.site-nav a {
  min-height: 34px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #475569;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--green-dark);
  background: #f0fdf7;
}

.site-nav .login-link {
  margin-left: 8px;
  color: #ffffff;
  background: var(--green);
}

.site-nav .login-link:hover {
  color: #ffffff;
  background: var(--green-dark);
}

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 86px 24px 72px;
}

.hero {
  min-height: 500px;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-copy {
  max-width: 840px;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  color: #111827;
  font-size: 62px;
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 900;
}

.hero p {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions a {
  min-height: 44px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 800;
}

.primary-action {
  color: #ffffff;
  background: var(--green);
  box-shadow: 0 10px 28px rgba(63, 185, 132, 0.24);
}

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

.secondary-action {
  color: #334155;
  background: #f1f5f9;
}

.secondary-action:hover {
  background: #e2e8f0;
}

.feature-section,
.docs-section {
  padding: 54px 0 10px;
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-heading span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
}

.section-heading h2 {
  margin: 10px 0 0;
  color: #111827;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0;
}

.feature-grid,
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-item,
.doc-link {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.feature-item {
  min-height: 190px;
  padding: 24px;
}

.feature-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--surface-strong);
  font-size: 13px;
  font-weight: 900;
}

.feature-item h3 {
  margin: 18px 0 10px;
  color: #111827;
  font-size: 20px;
}

.feature-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  font-size: 15px;
}

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

.doc-link {
  min-height: 148px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.doc-link:hover {
  border-color: rgba(63, 185, 132, 0.52);
  transform: translateY(-2px);
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.11);
}

.doc-link strong {
  color: #111827;
  font-size: 18px;
}

.doc-link span {
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.doc-empty {
  grid-column: 1 / -1;
  padding: 22px;
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: #ffffff;
  line-height: 1.8;
  font-size: 15px;
}

.site-footer {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: 13px;
}

.site-footer a {
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    height: auto;
    min-height: 64px;
    padding: 14px 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  main {
    padding-top: 56px;
  }

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

  .feature-grid,
  .docs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
    font-size: 15px;
  }

  .site-nav a {
    padding: 0 10px;
    font-size: 13px;
  }

  .hero {
    min-height: 430px;
    text-align: left;
    place-items: start;
  }

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

  .hero p {
    font-size: 16px;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .section-heading {
    text-align: left;
  }

  .feature-grid,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
