:root {
  --bg: #f6f8f7;
  --panel: #ffffff;
  --panel-soft: #eef7f1;
  --text: #17231f;
  --muted: #63706b;
  --line: #dce5e1;
  --green: #08b66b;
  --green-dark: #057d4c;
  --dark: #10221b;
  --blue: #2f6fed;
  --shadow: 0 24px 70px rgba(16, 34, 27, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 72px);
  background: rgba(246, 248, 247, 0.88);
  border-bottom: 1px solid rgba(220, 229, 225, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

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

.site-nav a {
  padding: 8px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
}

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

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.nav-toggle span {
  display: block;
  width: 17px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 2px;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: 58px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(54px, 8vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  max-width: 720px;
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.35;
}

.hero-subtitle {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: 28px;
  font-weight: 700;
}

.hero-text {
  max-width: 650px;
  margin-bottom: 30px;
  color: #41504a;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button.primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 26px rgba(8, 182, 107, 0.25);
}

.button.ghost {
  background: var(--panel);
  border-color: var(--line);
  color: var(--dark);
}

.button.disabled {
  background: #edf2f0;
  color: #87928e;
  cursor: not-allowed;
}

.platform-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform-row span,
.site-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  background: #e6f4ec;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.product-panel {
  overflow: hidden;
  border: 1px solid #cfe0d9;
  border-radius: 8px;
  background: #fdfefe;
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: #f8fbfa;
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cad8d2;
}

.window-bar strong {
  margin-left: 8px;
  color: #66736e;
  font-size: 13px;
}

.app-preview {
  display: grid;
  grid-template-columns: 94px 1fr;
  min-height: 390px;
  background: linear-gradient(135deg, #ffffff 0%, #eff8f3 100%);
}

.app-preview aside {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 14px;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.app-preview aside b,
.app-preview aside span {
  padding: 9px 10px;
  border-radius: 8px;
}

.app-preview aside b {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.preview-main {
  padding: 24px;
}

.input-card,
.task-row,
.file-row {
  border: 1px solid #d9e7e1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

.input-card {
  padding: 18px;
}

.input-card label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
}

.fake-input {
  overflow: hidden;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9fbfa;
  color: #4e5d57;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.inline-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 12px;
}

.inline-actions span,
.inline-actions b,
.file-row button,
.file-actions button {
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 700;
}

.inline-actions b {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.task-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 13px 14px;
}

.task-row p,
.file-row p,
.file-info p {
  margin: 0;
}

.task-row strong {
  color: var(--green-dark);
}

.progress {
  overflow: hidden;
  height: 8px;
  margin: 12px 2px 18px;
  border-radius: 999px;
  background: #dcebe4;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.file-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
}

.thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 182, 107, 0.9), rgba(47, 111, 237, 0.8)),
    #dcebe4;
}

.file-row span,
.file-info p,
.path {
  color: var(--muted);
  font-size: 12px;
}

.intro-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metric {
  padding: 28px;
  background: var(--panel);
}

.metric strong {
  display: block;
  margin-bottom: 6px;
  font-size: 28px;
}

.metric span {
  color: var(--muted);
}

.section-title {
  margin-bottom: 34px;
}

.section-title h2 {
  margin-bottom: 0;
}

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

.feature-grid article,
.download-grid article,
.steps article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.feature-grid p,
.download-grid p,
.steps p,
.member-section p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 30px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #e6f4ec;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
}

.workflow {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1120px) / 2));
  padding-left: max(20px, calc((100vw - 1120px) / 2));
  background: #10221b;
  color: #fff;
}

.workflow .eyebrow {
  color: #7ee0aa;
}

.workflow .steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.workflow .steps article {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.steps span {
  display: inline-block;
  margin-bottom: 24px;
  color: #7ee0aa;
  font-size: 14px;
  font-weight: 800;
}

.workflow .steps p {
  color: rgba(255, 255, 255, 0.7);
}

.member-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 46px;
  align-items: start;
}

.member-note {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 13px;
  border: 1px solid #cfe8da;
  border-radius: 8px;
  background: #f1fbf5;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 700;
}

.price-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.price-card {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.price-card.highlighted {
  border-color: rgba(8, 182, 107, 0.55);
  background: #f1fbf5;
  box-shadow: inset 0 3px 0 var(--green);
}

.price-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.price-card strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--green-dark);
  font-size: 34px;
  line-height: 1;
}

.price-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list.compact {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.check-list li {
  position: relative;
  padding: 16px 18px 16px 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.check-list li::before {
  position: absolute;
  top: 17px;
  left: 18px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  content: "✓";
  font-size: 12px;
  line-height: 17px;
  text-align: center;
}

.file-showcase {
  padding-top: 20px;
}

.file-list-demo {
  display: grid;
  gap: 12px;
}

.file-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.file-item .thumb {
  width: 64px;
  height: 64px;
}

.soft-green {
  background: linear-gradient(135deg, #08b66b, #78d9a1);
}

.soft-blue {
  background: linear-gradient(135deg, #2f6fed, #86b6ff);
}

.title-line {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
  margin-bottom: 4px;
}

.title-line h3 {
  overflow: hidden;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.site-pill.small {
  height: 22px;
  padding: 0 7px;
  font-size: 11px;
}

.path {
  display: block;
  overflow: hidden;
  margin-top: 3px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.file-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.download-section {
  padding-top: 40px;
}

.download-grid article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.download-grid p {
  margin-bottom: 12px;
}

.package-meta {
  display: block;
  min-height: 18px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.download-grid .button {
  margin-top: auto;
}

.faq-section {
  padding-top: 40px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
}

.faq-list p {
  padding: 0 20px 20px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer div {
  display: grid;
  gap: 2px;
}

.site-footer strong {
  color: var(--text);
}

.site-footer p {
  margin: 0;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--green-dark);
  box-shadow: 0 12px 28px rgba(16, 34, 27, 0.14);
  cursor: pointer;
}

.back-top.visible {
  display: block;
}

@media (max-width: 980px) {
  .hero,
  .member-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 54px;
  }

  .product-panel {
    max-width: 720px;
  }

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

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

@media (max-width: 720px) {
  .site-header {
    height: 64px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 64px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 12px 14px;
  }

  .section {
    width: min(100% - 28px, 1120px);
    padding: 58px 0;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 54px;
  }

  .hero-subtitle {
    font-size: 23px;
  }

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

  .app-preview {
    grid-template-columns: 1fr;
  }

  .app-preview aside {
    flex-direction: row;
    padding: 12px;
  }

  .preview-main {
    padding: 16px;
  }

  .feature-grid,
  .download-grid,
  .workflow .steps {
    grid-template-columns: 1fr;
  }

  .price-panel {
    grid-template-columns: 1fr;
  }

  .file-item {
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: start;
  }

  .file-item .thumb {
    width: 52px;
    height: 52px;
  }

  .file-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .file-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .file-row button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
